-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsubgraph.yaml
74 lines (74 loc) · 2.64 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: WrapprFactory
network: mainnet
source:
abi: WrapprFactory
address: "0xA945f46Ca376B18fB34d809ef4F21f9b58AE4C50"
startBlock: 15389606
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Wrappr
abis:
- name: WrapprFactory
file: ./abis/WrapprFactory.json
eventHandlers:
- event: WrapprDeployed(indexed address,string,string,string,uint256,indexed
address)
handler: handleWrapprDeployed
file: ./src/wrappr-factory.ts
templates:
- name: Wrappr
kind: ethereum/contract
network: mainnet
source:
abi: Wrappr
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
file: ./src/wrappr.ts
entities:
- Wrappr
abis:
- name: Wrappr
file: ./abis/Wrappr.json
eventHandlers:
- event: AdminSet(indexed address,indexed address)
handler: handleAdminSet
- event: ApprovalForAll(indexed address,indexed address,bool)
handler: handleApprovalForAll
- event: BaseURIset(indexed address,string)
handler: handleBaseURIset
- event: DelegateChanged(indexed address,indexed address,indexed address,uint256)
handler: handleDelegateChanged
- event: DelegateVotesChanged(indexed address,indexed uint256,uint256,uint256)
handler: handleDelegateVotesChanged
- event: ManagerSet(indexed address,indexed address,bool)
handler: handleManagerSet
- event: MintFeeSet(indexed address,uint256)
handler: handleMintFeeSet
- event: OwnerOfSet(indexed address,indexed address,uint256)
handler: handleOwnerOfSet
- event: PermissionSet(indexed address,uint256,bool)
handler: handlePermissionSet
- event: TransferBatch(indexed address,indexed address,indexed
address,uint256[],uint256[])
handler: handleTransferBatch
- event: TransferSingle(indexed address,indexed address,indexed
address,uint256,uint256)
handler: handleTransferSingle
- event: TransferabilitySet(indexed address,uint256,bool)
handler: handleTransferabilitySet
- event: URI(string,indexed uint256)
handler: handleURI
- event: UserPermissionSet(indexed address,indexed address,uint256,bool)
handler: handleUserPermissionSet
- event: UserURIset(indexed address,indexed address,uint256,string)
handler: handleUserURIset