-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph-harmony.yaml
142 lines (142 loc) · 3.79 KB
/
subgraph-harmony.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
131
132
133
134
135
136
137
138
139
140
141
142
specVersion: 0.0.3
description: Liquidity Pool Balances for an Address
repository: https://github.com/apyvision/amm-lp-share
schema:
file: schema.graphql
dataSources:
- kind: ethereum/contract
name: ViperswapFactory
network: mainnet
source:
address: '0x7d02c116b98d0965ba7b642ace0183ad8b8d2196'
abi: Factory
startBlock: 10178693
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/viperswap/factory.ts
entities:
- Pair
- Token
abis:
- name: Factory
file: ./abis/uniswap/factory.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: PairCreated(indexed address,indexed address,address,uint256)
handler: handleNewPair
- kind: ethereum/contract
name: SushiswapFactory
network: mainnet
source:
address: '0xc35dadb65012ec5796536bd9864ed8773abc74c4'
abi: Factory
startBlock: 11256300
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/sushiswap_harmony/factory.ts
entities:
- Pair
- Token
abis:
- name: Factory
file: ./abis/uniswap/factory.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: PairCreated(indexed address,indexed address,address,uint256)
handler: handleNewPair
- kind: ethereum/contract
name: KingdomsFactory
network: mainnet
source:
address: '0x9014B937069918bd319f80e8B3BB4A2cf6FAA5F7'
abi: Factory
startBlock: 16339523
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/kingdoms/factory.ts
entities:
- Pair
- Token
abis:
- name: Factory
file: ./abis/uniswap/factory.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: PairCreated(indexed address,indexed address,address,uint256)
handler: handleNewPair
templates:
- kind: ethereum/contract
name: ViperswapPair
network: mainnet
source:
abi: Pair
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/viperswap/mapping.ts
entities:
- User
- UserLPTransaction
- LiquidityPosition
abis:
- name: Pair
file: ./abis/uniswap/pair.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
- kind: ethereum/contract
name: SushiswapPair
network: mainnet
source:
abi: Pair
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/sushiswap_harmony/mapping.ts
entities:
- User
- UserLPTransaction
- LiquidityPosition
abis:
- name: Pair
file: ./abis/uniswap/pair.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
- kind: ethereum/contract
name: KingdomsPair
network: mainnet
source:
abi: Pair
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/kingdoms/mapping.ts
entities:
- User
- UserLPTransaction
- LiquidityPosition
abis:
- name: Pair
file: ./abis/uniswap/pair.json
- name: ERC20
file: ./abis/ERC20.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer