-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph-rinkeby.yaml
74 lines (74 loc) · 2.58 KB
/
subgraph-rinkeby.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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: NFTPositionsManager
network: rinkeby
source:
address: '0xC36442b4a4522E871399CD717aBDD847Ab11FE88'
abi: NFTPositionsManager
startBlock: 10936104
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Approval
- ApprovalForAll
- Collect
- DecreaseLiquidity
- IncreaseLiquidity
- Transfer
abis:
- name: NFTPositionsManager
file: ./abis/NFTPositionsManager.json
eventHandlers:
- event: Approval(indexed address,indexed address,indexed uint256)
handler: handleApproval
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: Collect(indexed uint256,address,uint256,uint256)
handler: handleCollect
- event: DecreaseLiquidity(indexed uint256,uint128,uint256,uint256)
handler: handleDecreaseLiquidity
- event: IncreaseLiquidity(indexed uint256,uint128,uint256,uint256)
handler: handleIncreaseLiquidity
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/nft-positions-manager-mapping.ts
- kind: ethereum/contract
name: UniV3Staker
network: rinkeby
source:
address: '0xc462aB5e66067153Bf1B368493E4744C1cA4BeC9'
abi: UniV3Staker
startBlock: 10936104
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- DepositTransferred
- IncentiveCreated
- IncentiveEnded
- RewardClaimed
- TokenStaked
- TokenUnstaked
abis:
- name: UniV3Staker
file: ./abis/UniV3Staker.json
eventHandlers:
- event: DepositTransferred(indexed uint256,indexed address,indexed address)
handler: handleDepositTransferred
- event: IncentiveCreated(indexed address,indexed address,uint256,uint256,address,uint256)
handler: handleIncentiveCreated
- event: IncentiveEnded(indexed bytes32,uint256)
handler: handleIncentiveEnded
- event: RewardClaimed(indexed address,uint256)
handler: handleRewardClaimed
- event: TokenStaked(indexed uint256,indexed bytes32,uint128)
handler: handleTokenStaked
- event: TokenUnstaked(indexed uint256,indexed bytes32)
handler: handleTokenUnstaked
file: ./src/uni-v3-staker-mapping.ts