Skip to content

Commit 6b399e6

Browse files
committed
fix: handle claimedat
1 parent fefaf7b commit 6b399e6

File tree

1 file changed

+23
-14
lines changed

1 file changed

+23
-14
lines changed

subgraph.yaml

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ schema:
1212
dataSources:
1313
- kind: ethereum/contract
1414
name: AavegotchiDiamond
15-
network: "matic"
15+
network: "base-sepolia"
1616
source:
17-
address: "0x86935F11C86623deC8a25696E1C19a8659CbF95d"
17+
address: "0x10759c35F8dE7E6172BB30e0B10312c1a295aC2F"
1818
abi: AavegotchiDiamond
19-
startBlock: 11500000
19+
startBlock: 26278630
2020
mapping:
2121
kind: ethereum/events
2222
apiVersion: 0.0.6
2323
language: wasm/assemblyscript
24-
file: ./src/mappings/diamond.ts
24+
file: ./src/mappings/baseDiamond.ts
2525
entities:
2626
- User
2727
abis:
@@ -173,14 +173,23 @@ dataSources:
173173
handler: handleWearablesConfigCreated
174174
- event: WearablesConfigUpdated(indexed address,indexed uint256,indexed uint16,uint16[16])
175175
handler: handleWearablesConfigUpdated
176+
177+
- event: AavegotchiHistory((uint256,string,uint256,uint256[],uint256,uint256))
178+
handler: handleAavegotchiHistory
179+
- event: PortalData((uint256,address,uint256,address,(uint8,uint256,int16[6],address,uint256,uint16)[],string,uint256,uint256,uint256,uint256,uint256,uint256[],uint256))
180+
handler: handlePortalData
181+
- event: ResyncAavegotchis(uint256)
182+
handler: handleResyncAavegotchis
183+
- event: ClaimedAt(uint256,uint256)
184+
handler: handleClaimedAt
176185

177186
- kind: ethereum/contract
178187
name: RealmDiamond
179-
network: "matic"
188+
network: "base-sepolia"
180189
source:
181-
address: "0x1D0360BaC7299C86Ec8E99d0c1C9A95FEfaF2a11"
190+
address: "0x37D140074B2f771bEa7ef23288EB87064e45bF8D"
182191
abi: RealmDiamond
183-
startBlock: 20667840
192+
startBlock: 26672392
184193
mapping:
185194
kind: ethereum/events
186195
apiVersion: 0.0.6
@@ -200,14 +209,14 @@ dataSources:
200209
handler: handleResyncParcel
201210
- event: KinshipBurned(uint256,uint256)
202211
handler: handleKinshipBurned
203-
file: ./src/mappings/diamond.ts
212+
file: ./src/mappings/baseDiamond.ts
204213
- kind: ethereum/contract
205214
name: FAKEGotchisCardDiamond
206-
network: "matic"
215+
network: "base-sepolia"
207216
source:
208-
address: "0x9f6BcC63e86D44c46e85564E9383E650dc0b56D7"
217+
address: "0xE4E508dab5D7d98f4c06aB6D24bB225588036C9D"
209218
abi: IERC1155
210-
startBlock: 34520146
219+
startBlock: 26286751
211220
mapping:
212221
kind: ethereum/events
213222
apiVersion: 0.0.6
@@ -229,11 +238,11 @@ dataSources:
229238
file: ./src/mappings/fakeGotchisCard.ts
230239
- kind: ethereum/contract
231240
name: FAKEGotchisNFTDiamond
232-
network: "matic"
241+
network: "base-sepolia"
233242
source:
234-
address: "0xA4E3513c98b30d4D7cc578d2C328Bd550725D1D0"
243+
address: "0xD0dCC1d1E22D490e5270631787E1866E773b16C7"
235244
abi: IERC721
236-
startBlock: 34520176
245+
startBlock: 26286758
237246
mapping:
238247
kind: ethereum/events
239248
apiVersion: 0.0.6

0 commit comments

Comments
 (0)