This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
73 lines (72 loc) · 2.16 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
specVersion: 0.0.2
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: LiquidityMigration
network: mainnet
source:
address: "0x0092DECCA5E2f26466289011ad41465763BeA4cE"
abi: LiquidityMigration
startBlock: 13773899
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Created
- Migrated
- OwnershipTransferred
- Refunded
- Staked
abis:
- name: LiquidityMigration
file: ./abis/LiquidityMigration.json
- name: ERC20
file: ./abis/ERC20.json
- name: ERC20SymbolBytes
file: ./abis/ERC20SymbolBytes.json
- name: ERC20NameBytes
file: ./abis/ERC20NameBytes.json
eventHandlers:
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: Staked(address,address,uint256,address)
handler: handleStaked
- event: Refunded(address,uint256,address)
handler: handleRefunded
file: ./src/mapping.ts
- kind: ethereum/contract
name: LiquidityMigrationV2
network: mainnet
source:
address: "0x0c6D898ac945E493D25751Ea43BE2c8Beb881D8C"
abi: LiquidityMigration
startBlock: 13910225
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Created
- Migrated
- OwnershipTransferred
- Refunded
- Staked
abis:
- name: LiquidityMigration
file: ./abis/LiquidityMigration.json
- name: ERC20
file: ./abis/ERC20.json
- name: ERC20SymbolBytes
file: ./abis/ERC20SymbolBytes.json
- name: ERC20NameBytes
file: ./abis/ERC20NameBytes.json
eventHandlers:
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: Staked(address,address,uint256,address)
handler: handleStaked
- event: Refunded(address,uint256,address)
handler: handleRefunded
file: ./src/mapping.ts