-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
122 lines (121 loc) · 3.65 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: Vyper_contract
network: mainnet
source:
address: "0xB93427b83573C8F27a08A909045c3e809610411a"
abi: Vyper_contract
startBlock: 13373452
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- VestingFactory
abis:
- name: Vyper_contract
file: ./abis/Vyper_contract.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: VestingEscrowCreated(indexed address,indexed address,indexed address,address,uint256,uint256,uint256,uint256)
handler: onVestingEscrowCreated
file: ./src/vyper-contract.ts
- kind: ethereum
name: Vyper_contract_yearn
network: mainnet
source:
address: "0x98d3872b4025ABE58C4667216047Fe549378d90f"
abi: Vyper_contract_yearn
startBlock: 13373452
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- VestingFactory
abis:
- name: Vyper_contract_yearn
file: ./abis/Vyper_contract_yearn.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: VestingEscrowCreated(indexed address,indexed address,indexed address,address,uint256,uint256,uint256,uint256)
handler: onVestingEscrowCreated
file: ./src/vyper-contract.ts
- kind: ethereum
name: Factory_v2_old
network: mainnet
source:
address: "0x5fa57626bdaf4584b84d2394ef44f6bd41b37caf"
abi: Factory_v2
startBlock: 19689502
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- VestingFactory
abis:
- name: Factory_v2
file: ./abis/Factory_v2.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: VestingEscrowCreated(indexed address,indexed address,indexed address,address,uint256,uint256,uint256,uint256,bool)
handler: onVestingEscrowCreatedV2
file: ./src/vyper-contract.ts
- kind: ethereum
name: Factory_v2
network: mainnet
source:
address: "0xcf61782465Ff973638143d6492B51A85986aB347"
abi: Factory_v2
startBlock: 19739664
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- VestingFactory
abis:
- name: Factory_v2
file: ./abis/Factory_v2.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: VestingEscrowCreated(indexed address,indexed address,indexed address,address,uint256,uint256,uint256,uint256,bool)
handler: onVestingEscrowCreatedV2
file: ./src/vyper-contract.ts
templates:
- kind: ethereum/contract
name: VestingEscrow
network: mainnet
source:
abi: VestingEscrow
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- VestingEscrow
abis:
- name: VestingEscrow
file: ./abis/Vyper_contract_escrow.json
eventHandlers:
- event: ApplyOwnership(address)
handler: onApplyOwnership
- event: Claim(indexed address,uint256)
handler: onClaim
- event: RugPull(address,uint256)
handler: onRugPull
- event: Revoked(address,address,uint256,uint256)
handler: onRugPull
- event: Disowned(address)
handler: onDisowned
- event: SetOpenClaim(bool)
handler: onSetOpenClaim
file: ./src/vyper-contract-escrow.ts