-
Notifications
You must be signed in to change notification settings - Fork 3
/
event.schema.json
46 lines (46 loc) · 1.41 KB
/
event.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"$id": "https://casimir.co/event.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"$comment": "analytics",
"title": "Event",
"type": "object",
"description": "Event schema covers all events emitted by the Casimir contracts (e.g. Factory, Manager, ..)",
"properties": {
"network": {
"type": "string",
"description": "Network type (e.g. mainnet, goerli)"
},
"block_number": {
"type": "integer",
"description": "Block number"
},
"block_hash": {
"type": "string",
"description": "Block hash"
},
"tx_hash": {
"type": "string",
"description": "The transaction hash"
},
"timestamp": {
"type": "integer",
"description": "The timestamp of the log"
},
"contract": {
"type": "string",
"description": "The contract address which emitted the event"
},
"event": {
"type": "string",
"description": "Type of casimir contract event (e.g. StakeDeposit, StakeRebalanced, WithrawalFulfilled)"
},
"sender": {
"type": "string",
"description": "The sender's address"
},
"amount": {
"type": "string",
"description": "The amount transferred in the event"
}
}
}