-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsubgraph.yaml
88 lines (88 loc) · 2.37 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: MemeCoinFactory
network: base-sepolia
source:
address: "0xb67444e08b5182549Cf1921F2EF63DC3D8b32eed"
abi: MemeCoinFactory
startBlock: 18891387
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Account
- MemeCoin
abis:
- name: MemeCoinFactory
file: ./abis/MemeCoinFactory.json
eventHandlers:
- event: MemeCoinCreated(indexed address,indexed address,string,string,uint256,uint256,address)
handler: handleMemeCoinCreated
file: ./src/meme-coin-factory.ts
- kind: ethereum
name: LiquidityFactory
network: base-sepolia
source:
address: "0x22900c39c0C71D44C3952c67438FD3f8c75ee6EC"
abi: LiquidityFactory
startBlock: 18891383
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Account
abis:
- name: LiquidityFactory
file: ./abis/LiquidityFactory.json
- name: LiquidityPair
file: ./abis/LiquidityPair.json
eventHandlers:
- event: PairCreated(indexed address,indexed address,address)
handler: handlePairCreated
file: ./src/liquidity-factory.ts
templates:
- kind: ethereum
name: MemeCoin
network: base-sepolia
source:
abi: MemeCoin
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Account
- MemeCoin
abis:
- name: MemeCoin
file: ./abis/MemeCoin.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/meme-coin.ts
- kind: ethereum
name: LiquidityPair
network: base-sepolia
source:
abi: LiquidityPair
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Account
- LPToken
abis:
- name: LiquidityPair
file: ./abis/LiquidityPair.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
- event: Sync(uint256,uint256)
handler: handleSync
file: ./src/liquidity-pair.ts