-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
76 lines (76 loc) · 2.6 KB
/
subgraph.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Tradescrow
network: klaytn
source:
abi: Tradescrow
address: "0x048E52566Ed00cf840C5b3314a9cA1551A411De9"
startBlock: 138591210
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AdminChanged
- BeaconUpgraded
- FeePaid
- FeeRefunded
- FeeReleased
- FeeUpdated
- Initialized
- Paused
- RoleAdminChanged
- RoleGranted
- RoleRevoked
- TradeAccepted
- TradeCanceled
- TradeCreated
- TradeRejected
- TreasuryUpdated
- Unpaused
- Upgraded
abis:
- name: Tradescrow
file: ./abis/Tradescrow.json
eventHandlers:
- event: AdminChanged(address,address)
handler: handleAdminChanged
- event: BeaconUpgraded(indexed address)
handler: handleBeaconUpgraded
- event: FeePaid(indexed address,uint256)
handler: handleFeePaid
- event: FeeRefunded(indexed address,uint256)
handler: handleFeeRefunded
- event: FeeReleased(uint256)
handler: handleFeeReleased
- event: FeeUpdated(indexed address,address,uint256)
handler: handleFeeUpdated
- event: Initialized(uint8)
handler: handleInitialized
- event: Paused(address)
handler: handlePaused
- event: RoleAdminChanged(indexed bytes32,indexed bytes32,indexed bytes32)
handler: handleRoleAdminChanged
- event: RoleGranted(indexed bytes32,indexed address,indexed address)
handler: handleRoleGranted
- event: RoleRevoked(indexed bytes32,indexed address,indexed address)
handler: handleRoleRevoked
- event: TradeAccepted(indexed address,indexed uint256)
handler: handleTradeAccepted
- event: TradeCanceled(indexed address,indexed uint256)
handler: handleTradeCanceled
- event: TradeCreated(indexed address,indexed uint256,indexed
address,(address,uint256,uint256,uint8)[],(address,uint256,uint256,uint8)[])
handler: handleTradeCreated
- event: TradeRejected(indexed address,indexed uint256)
handler: handleTradeRejected
- event: TreasuryUpdated(indexed address,address)
handler: handleTreasuryUpdated
- event: Unpaused(address)
handler: handleUnpaused
- event: Upgraded(indexed address)
handler: handleUpgraded
file: ./src/tradescrow.ts