-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsubgraph.zksyncera.yaml
71 lines (70 loc) · 2.28 KB
/
subgraph.zksyncera.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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: ERC20FeeProxy_0_2_0
network: zksync-era
source:
address: "0x6e28Cc56C2E64c9250f39Cb134686C87dB196532"
abi: ERC20FeeProxy_0_2_0
startBlock: 19545285
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Payment
abis:
- name: ERC20FeeProxy_0_2_0
file: ./abis/ERC20FeeProxy-0.2.0.json
eventHandlers:
- event: TransferWithReferenceAndFee(address,address,uint256,indexed bytes,uint256,address)
handler: handleTransferWithReferenceAndFee
receipt: true
file: ./src/erc20FeeProxy.ts
- kind: ethereum/contract
name: EthFeeProxy_0_2_0
network: zksync-era
source:
address: "0xE9A708db0D30409e39810C44cA240fd15cdA9b1a"
abi: EthFeeProxy_0_2_0
startBlock: 19545294
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Payment
abis:
- name: EthFeeProxy_0_2_0
file: ./abis/EthFeeProxy-0.2.0.json
eventHandlers:
- event: TransferWithReferenceAndFee(address,uint256,indexed bytes,uint256,address)
handler: handleTransferWithReferenceAndFee
receipt: true
file: ./src/ethFeeProxy.ts
- kind: ethereum/contract
name: SingleRequestProxyFactory
network: zksync-era
source:
address: "0x9Fd503e723e5EfcCde3183632b443fFF49E68715"
abi: SingleRequestProxyFactory
startBlock: 48690095
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- SingleRequestProxyDeployment
abis:
- name: SingleRequestProxyFactory
file: ./abis/SingleRequestProxyFactory.json
eventHandlers:
- event: ERC20SingleRequestProxyCreated(address,address,address,indexed bytes,address,uint256,address)
handler: handleERC20SingleRequestProxyCreated
receipt: true
- event: EthereumSingleRequestProxyCreated(address,address,indexed bytes,address,uint256,address)
handler: handleEthereumSingleRequestProxyCreated
receipt: true
file: ./src/singleRequestProxyFactory.ts