-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph.yaml
130 lines (126 loc) · 3.82 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
specVersion: 0.0.4
schema:
file: schema.graphql
dataSources:
- kind: ethereum/contract
name: Auxo
network: mainnet
source:
address: "0xff030228a046f640143dab19be00009606c89b1d"
abi: IERC20
startBlock: 17040200
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- ERC20Contract
abis:
- name: IERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
- event: Approval(indexed address,indexed address,uint256)
handler: handleApproval
file: ./handlers/erc20.ts
- kind: ethereum/contract
name: ARV
network: mainnet
source:
address: "0x069c0Ed12dB7199c1DdAF73b94de75AAe8061d33"
abi: IERC20
startBlock: 17040200
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- ERC20Contract
abis:
- name: IERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
- event: Approval(indexed address,indexed address,uint256)
handler: handleApproval
file: ./handlers/erc20.ts
- kind: ethereum/contract
name: PRV
network: mainnet
source:
address: "0xc72fbD264b40D88E445bcf82663D63FF21e722AF"
abi: IERC20
startBlock: 17040200
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- ERC20Contract
abis:
- name: IERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
- event: Approval(indexed address,indexed address,uint256)
handler: handleApproval
file: ./handlers/erc20.ts
- kind: ethereum/contract
name: RollStaker
network: mainnet
source:
address: "0x096b4F2253a430F33edc9B8e6A8e1d2fb4faA317"
abi: IRollStaker
startBlock: 17040200
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- RollStakerContract
abis:
- name: IRollStaker
file: ./abis/RollStaker.json
eventHandlers:
- event: Deposited(indexed address,indexed address,indexed uint8,uint256)
handler: handleDeposit
- event: Withdrawn(indexed address,indexed uint8,uint256)
handler: handleWithdraw
- event: Exited(indexed address,indexed uint8)
handler: handleExit
file: ./handlers/rollstaker.ts
- kind: ethereum/contract
name: TokenLocker
network: mainnet
source:
address: "0x3E70FF09C8f53294FFd389a7fcF7276CC3d92e64"
abi: ITokenLocker
startBlock: 17040200
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- TokenLockerContract
abis:
- name: ITokenLocker
file: ./abis/TokenLocker.json
eventHandlers:
- event: Deposited(uint192,uint32,indexed address)
handler: handleDeposited
- event: Withdrawn(uint192,indexed address)
handler: handleWithdrawn
- event: BoostedToMax(uint192,indexed address)
handler: handleBoostedToMax
- event: IncreasedAmount(uint192,indexed address)
handler: handleIncreasedAmount
- event: IncreasedDuration(uint192,uint32,uint32,indexed address)
handler: handleIncreasedDuration
- event: Ejected(uint192,indexed address)
handler: handleEjected
- event: EarlyExit(address,uint256)
handler: handleEarlyExit
file: ./handlers/tokenLocker.ts