-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
103 lines (103 loc) · 3.22 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: FeeSplit
network: mainnet
source:
address: "0x51b0efa27ff4f29f8315496f01952377d581ce73"
abi: FeeSplit
startBlock: 15304773
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- FeesTaken
- LPDeposited
- LPWithdrawn
- OwnershipTransferred
abis:
- name: FeeSplit
file: ./abis/FeeSplit.json
- name: ClipperVerifiedExchange
file: ./abis/ClipperVerifiedExchange.json
- name: ERC20
file: ./abis/ERC20.json
- name: AggregatorV3Interface
file: ./abis/AggregatorV3Interface.json
eventHandlers:
- event: FeesTaken(uint256,uint256,uint256)
handler: handleFeesTaken
- event: LPDeposited(indexed address,uint256)
handler: handleLPDeposited
- event: LPWithdrawn(indexed address,uint256,uint256)
handler: handleLPWithdrawn
file: ./src/fee-split.ts
- kind: ethereum
name: ClipperProtocolDeposit
network: mainnet
source:
address: "0x84f4625C3E92b368E403cB002A9bF9bc7a9ae1b9"
abi: ClipperProtocolDeposit
startBlock: 15304773
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- FeesTaken
- LPDeposited
- LPWithdrawn
- OwnershipTransferred
abis:
- name: ClipperProtocolDeposit
file: ./abis/ClipperProtocolDeposit.json
- name: ClipperVerifiedExchange
file: ./abis/ClipperVerifiedExchange.json
- name: ERC20
file: ./abis/ERC20.json
- name: AggregatorV3Interface
file: ./abis/AggregatorV3Interface.json
eventHandlers:
- event: FeesTaken(uint256,uint256,uint256)
handler: handleFeesTaken
- event: LPDeposited(indexed address,uint256,uint256)
handler: handleLPDeposited
- event: LPWithdrawn(indexed address,uint256,uint256)
handler: handleLPWithdrawn
file: ./src/clipper-protocol-deposit.ts
- kind: ethereum
name: SplitFeeFarm
network: mainnet
source:
address: "0xD0454428ecd868A9AC615125FCbDB5Da9027436e"
abi: SplitFeeFarm
startBlock: 17970623
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- FeesTaken
- LPDeposited
- LPWithdrawn
- OwnershipTransferred
abis:
- name: SplitFeeFarm
file: ./abis/SplitFeeFarm.json
- name: ClipperVerifiedExchange
file: ./abis/ClipperVerifiedExchange.json
- name: ERC20
file: ./abis/ERC20.json
- name: AggregatorV3Interface
file: ./abis/AggregatorV3Interface.json
eventHandlers:
- event: FeesTaken(uint256,uint256,uint256)
handler: handleFeesTaken
- event: Deposit(indexed address,indexed address,uint256,uint256)
handler: handleDeposit
- event: Withdraw(indexed address,indexed address,indexed address,uint256,uint256)
handler: handleWithdraw
file: ./src/split-fee-farm.ts