-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
205 lines (205 loc) · 7.33 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
specVersion: 1.0.0
description: DSponsor Subgraph on Sepolia network
features:
- fullTextSearch
indexerHints:
prune: auto
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: DSponsorAdmin
network: abstract-testnet
source:
abi: DSponsorAdmin
address: "0xBEA0a4E815e5A8b544712144DA3865a1aa69ECD9"
startBlock: 467642
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AdOffer
- AdParameter
- AdProposal
- CallWithProtocolFee
- CurrentProposal
- FeeUpdate
- NftContract
- OwnershipTransferred
- Token
- UpdateAdProposal
- UpdateAdValidation
- UpdateOffer
- UpdateOfferAdParameter
- UpdateOfferAdmin
- UpdateOfferValidator
abis:
- name: DSponsorAdmin
file: ./abis/DSponsorAdmin.json
- name: DSponsorNFT
file: ./abis/DSponsorNFT.json
eventHandlers:
- event: CallWithProtocolFee(indexed address,indexed
address,uint256,address,address,string)
handler: handleCallWithProtocolFeeDSponsorAdmin
- event: FeeUpdate(address,uint96)
handler: handleFeeUpdateDSponsorAdmin
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferredDSponsorAdmin
- event: UpdateAdProposal(indexed uint256,indexed uint256,indexed
uint256,string,string)
handler: handleUpdateAdProposal
- event: UpdateAdValidation(indexed uint256,indexed uint256,indexed
uint256,string,bool,string)
handler: handleUpdateAdValidation
- event: UpdateOffer(indexed uint256,indexed bool,string,string,indexed
address,address)
handler: handleUpdateOffer
- event: UpdateOfferAdParameter(indexed uint256,indexed bytes32,indexed
bool,string)
handler: handleUpdateOfferAdParameter
- event: UpdateOfferAdmin(indexed uint256,indexed address,indexed bool)
handler: handleUpdateOfferAdmin
- event: UpdateOfferValidator(indexed uint256,indexed address,indexed bool)
handler: handleUpdateOfferValidator
file: ./src/d-sponsor-admin.ts
- kind: ethereum
name: DSponsorNFT
network: abstract-testnet
source:
abi: DSponsorNFT
startBlock: 467642
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- ContractURIUpdated
- Mint
- NftContract
- NftPrice
- OwnershipTransferred
- Token
- TokenPrice
- TokensAllowlist
- TokensAllowlistUpdated
- UpdateDefaultMintPrice
- UpdateMintPrice
- UpdateUser
abis:
- name: DSponsorNFT
file: ./abis/DSponsorNFT.json
eventHandlers:
- event: ContractURIUpdated(string)
handler: handleContractURIUpdated
- event: Mint(uint256,indexed address,indexed address,indexed
address,uint256,string)
handler: handleMint
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: RoyaltySet(address,uint96)
handler: handleRoyaltiesSet
- event: TokensAllowlist(indexed bool)
handler: handleTokensAllowlist
- event: TokensAllowlistUpdated(uint256,indexed bool)
handler: handleTokensAllowlistUpdated
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
- event: UpdateDefaultMintPrice(indexed address,indexed bool,indexed uint256)
handler: handleUpdateDefaultMintPrice
- event: UpdateMintPrice(uint256,indexed address,indexed bool,indexed uint256)
handler: handleUpdateMintPrice
- event: UpdateUser(indexed uint256,indexed address,uint256)
handler: handleUpdateUser
file: ./src/d-sponsor-nft.ts
- kind: ethereum
name: DSponsorMarketplace
network: abstract-testnet
source:
abi: DSponsorMarketplace
address: "0x833721E8651682043CDFcD577Aa2DC5b3D28abC6"
startBlock: 467642
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- CallWithProtocolFee
- FeeUpdate
- OwnershipTransferred
- AcceptedOffer
- AuctionClosed
- CancelledOffer
- ListingAdded
- ListingRemoved
- ListingUpdated
- NewBid
- NewOffer
- NewSale
abis:
- name: DSponsorMarketplace
file: ./abis/DSponsorMarketplace.json
- name: DSponsorNFT
file: ./abis/DSponsorNFT.json
eventHandlers:
- event: CallWithProtocolFee(indexed address,indexed
address,uint256,address,address,string)
handler: handleCallWithProtocolFeeDSponsorMarketplace
- event: FeeUpdate(address,uint96)
handler: handleFeeUpdateDSponsorMarketplace
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferredDSponsorMarketplace
- event: AcceptedOffer(indexed address,indexed uint256,indexed
address,uint256,address,uint256,uint256)
handler: handleAcceptedOffer
- event: AuctionClosed(indexed uint256,indexed address,indexed
bool,address,address)
handler: handleAuctionClosed
- event: CancelledOffer(indexed address,indexed uint256)
handler: handleCancelledOffer
- event: ListingAdded(indexed uint256,indexed address,indexed
address,(uint256,address,address,uint256,uint256,uint256,uint256,address,uint256,uint256,uint8,uint8,uint64,uint8))
handler: handleListingAdded
- event: ListingRemoved(indexed uint256,indexed address)
handler: handleListingRemoved
- event: ListingUpdated(indexed uint256,indexed
address,(uint256,uint256,uint256,address,uint256,uint256,uint64))
handler: handleListingUpdated
- event: NewBid(indexed uint256,uint256,indexed
address,uint256,address,uint256,address,uint256)
handler: handleNewBid
- event: NewOffer(indexed address,indexed uint256,indexed
address,(uint256,uint256,uint256,uint256,uint256,address,address,address,uint8,uint8,uint64,uint8,string))
handler: handleNewOffer
- event: NewSale(indexed uint256,indexed address,indexed
address,address,uint256,uint256)
handler: handleNewSale
file: ./src/d-sponsor-marketplace.ts
templates:
- name: AdOfferMetadata
kind: file/ipfs
mapping:
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/ad-offer-metadata.ts
handler: handleAdOfferMetadata
entities:
- AdOfferMetadata
abis:
- name: DSponsorAdmin
file: ./abis/DSponsorAdmin.json
network: abstract-testnet
- name: NftContractMetadata
kind: file/ipfs
mapping:
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/nft-contract-metadata.ts
handler: handleNftContractMetadata
entities:
- NftContractMetadata
abis:
- name: DSponsorNFT
file: ./abis/DSponsorNFT.json
network: abstract-testnet