-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
45 lines (45 loc) · 1.19 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
specVersion: 1.0.0
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: ChatterPayWalletFactory
network: scroll-sepolia
source:
address: "0x5904ea48b047d32cc6febacdce227f383cb954bc"
abi: ChatterPayWalletFactory
startBlock: 6107455
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Wallet
abis:
- name: ChatterPayWalletFactory
file: ./abis/ChatterPayWalletFactory.json
eventHandlers:
- event: ProxyCreated(indexed address,indexed address)
handler: handleProxyCreated
file: ./src/chatter-pay-wallet-factory.ts
templates:
- name: ChatterPay
kind: ethereum/contract
network: scroll-sepolia
source:
abi: ChatterPay
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/chatterpay.ts
entities:
- Execution
abis:
- name: ChatterPay
file: ./abis/ChatterPay.json
eventHandlers:
- event: Execution(indexed address,indexed address,indexed uint256,bytes)
handler: handleExecution