-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph.yaml
136 lines (126 loc) · 3.78 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
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
specVersion: 0.0.2
description: Transfer events generated from the root contracts on ethereum
repository: https://github.com/GraphicalDot/rootChainTransfers
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: RootChainManager
network: mainnet
source:
address: "0xA0c68C638235ee32657e8f720a23ceC1bFc77C77"
abi: RootChainManager
startBlock: 10735437
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/mapping/rootchainmanager.ts
entities:
- Rootexit
abis:
- name: RootChainManager
file: ./abis/RootChainManager.json
callHandlers:
- function: exit(bytes)
handler: handleRootChainManagerExits
- kind: ethereum/contract
name: ERC20Predicate
network: mainnet
source:
address: "0x40ec5B33f54e0E8A33A975908C5BA1c14e5BbbDf"
abi: ERC20Predicate
startBlock: 10735445
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/mapping/erc20-predicate.ts
entities:
- Withdrawal
abis:
- name: ERC20Predicate
file: ./abis/ERC20Predicate.json
callHandlers:
- function: exitTokens(address,address,bytes)
handler: handleNewERC20PredicateTransfer
- kind: ethereum/contract
name: ERC721Predicate
network: mainnet
source:
address: "0xE6F45376f64e1F568BD1404C155e5fFD2F80F7AD"
abi: ERC721Predicate
startBlock: 10735454
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/mapping/erc721-predicate.ts
entities:
- Withdrawal
abis:
- name: ERC721Predicate
file: ./abis/ERC721Predicate.json
callHandlers:
- function: exitTokens(address,address,bytes)
handler: handleNewERC721PredicateTransfer
- kind: ethereum/contract
name: ERC1155Predicate
network: mainnet
source:
address: "0x0B9020d4E32990D67559b1317c7BF0C15D6EB88f"
abi: ERC1155Predicate
startBlock: 10735475
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/mapping/erc1155-predicate.ts
entities:
- Withdrawal
abis:
- name: ERC1155Predicate
file: ./abis/ERC1155Predicate.json
callHandlers:
- function: exitTokens(address,address,bytes)
handler: handleNewERC1155PredicateTransfer
- kind: ethereum/contract
name: EtherPredicate
network: mainnet
source:
address: "0x8484Ef722627bf18ca5Ae6BcF031c23E6e922B30"
abi: EtherPredicate
startBlock: 10735538
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/mapping/eth-predicate.ts
entities:
- Withdrawal
abis:
- name: EtherPredicate
file: ./abis/EtherPredicate.json
callHandlers:
- function: exitTokens(address,address,bytes)
handler: handleNewEtherPredicateTransfer
- kind: ethereum/contract
name: MintableERC721Predicate
network: mainnet
source:
address: "0x932532aA4c0174b8453839A6E44eE09Cc615F2b7"
abi: MintableERC721Predicate
startBlock: 10735465
mapping:
kind: ethereum/events
apiVersion: 0.0.4
language: wasm/assemblyscript
file: ./src/mapping/erc721-mintable-predicate.ts
entities:
- Withdrawal
abis:
- name: MintableERC721Predicate
file: ./abis/MintableERC721Predicate.json
callHandlers:
- function: exitTokens(address,address,bytes)
handler: handleNewMintableERC721PredicateTransfer