-
Notifications
You must be signed in to change notification settings - Fork 1
/
subgraph.yaml
98 lines (98 loc) · 2.94 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
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: EditionFactory
network: base
source:
abi: EditionFactory
address: "0x966a22b5196413f350859f176EA139a2658c5A8c"
startBlock: 2329836
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CreatedEdition
abis:
- name: EditionFactory
file: ./abis/EditionFactory.json
- name: Edition
file: ./abis/Edition.json
- name: MultiBatchEdition
file: ./abis/MultiBatchEdition.json
- name: SingleBatchEdition
file: ./abis/SingleBatchEdition.json
eventHandlers:
- event: CreatedEdition(indexed uint256,indexed address,address,string)
handler: handleCreatedEdition
file: ./src/edition-factory.ts
- kind: ethereum
name: CreatorTokenFactory
network: base
source:
abi: CreatorTokenFactory
address: "0xf0eDA9196f34B448eFa3f16eeBD1a60965C64Ff7"
startBlock: 5741608
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CreatorToken
abis:
- name: CreatorTokenFactory
file: ./abis/CreatorTokenFactory.json
- name: CreatorToken
file: ./abis/CreatorToken.json
eventHandlers:
- event: CreatorTokenDeployed(indexed address,indexed address,(string,string,string,address,uint256,uint96,address,uint256,address,address,uint128,uint128,uint128,uint32,bytes32))
handler: handleCreatorToken
file: ./src/creator-token-factory.ts
templates:
- kind: ethereum/contract
name: Edition
network: base
source:
abi: Edition
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- FreeNFTBalance
abis:
- name: Edition
file: ./abis/Edition.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
receipt: true
file: ./src/transfers.ts
- kind: ethereum/contract
name: CreatorTokenNft
network: base
source:
abi: CreatorToken
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CreatorToken
- CreatorTokenNft
abis:
- name: CreatorToken
file: ./abis/CreatorToken.json
eventHandlers:
- event: Bought(indexed address,indexed address,indexed uint256,uint256,uint256,uint256)
handler: handleBought
receipt: false
- event: Sold(indexed address,indexed uint256,uint256,uint256,uint256)
handler: handleSold
receipt: false
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleSent
receipt: false
file: ./src/creator-tokens.ts