Skip to content

Commit fefaf7b

Browse files
committed
feat: add createAtPolygon fields also on matic
- needed for client sdk
1 parent 3639aa1 commit fefaf7b

File tree

1 file changed

+14
-21
lines changed

1 file changed

+14
-21
lines changed

subgraph.yaml

Lines changed: 14 additions & 21 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: "base-sepolia"
15+
network: "matic"
1616
source:
17-
address: "0x10759c35F8dE7E6172BB30e0B10312c1a295aC2F"
17+
address: "0x86935F11C86623deC8a25696E1C19a8659CbF95d"
1818
abi: AavegotchiDiamond
19-
startBlock: 26278630
19+
startBlock: 11500000
2020
mapping:
2121
kind: ethereum/events
2222
apiVersion: 0.0.6
2323
language: wasm/assemblyscript
24-
file: ./src/mappings/baseDiamond.ts
24+
file: ./src/mappings/diamond.ts
2525
entities:
2626
- User
2727
abis:
@@ -173,21 +173,14 @@ 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
183176

184177
- kind: ethereum/contract
185178
name: RealmDiamond
186-
network: "base-sepolia"
179+
network: "matic"
187180
source:
188-
address: "0x37D140074B2f771bEa7ef23288EB87064e45bF8D"
181+
address: "0x1D0360BaC7299C86Ec8E99d0c1C9A95FEfaF2a11"
189182
abi: RealmDiamond
190-
startBlock: 26672392
183+
startBlock: 20667840
191184
mapping:
192185
kind: ethereum/events
193186
apiVersion: 0.0.6
@@ -207,14 +200,14 @@ dataSources:
207200
handler: handleResyncParcel
208201
- event: KinshipBurned(uint256,uint256)
209202
handler: handleKinshipBurned
210-
file: ./src/mappings/baseDiamond.ts
203+
file: ./src/mappings/diamond.ts
211204
- kind: ethereum/contract
212205
name: FAKEGotchisCardDiamond
213-
network: "base-sepolia"
206+
network: "matic"
214207
source:
215-
address: "0xE4E508dab5D7d98f4c06aB6D24bB225588036C9D"
208+
address: "0x9f6BcC63e86D44c46e85564E9383E650dc0b56D7"
216209
abi: IERC1155
217-
startBlock: 26286751
210+
startBlock: 34520146
218211
mapping:
219212
kind: ethereum/events
220213
apiVersion: 0.0.6
@@ -236,11 +229,11 @@ dataSources:
236229
file: ./src/mappings/fakeGotchisCard.ts
237230
- kind: ethereum/contract
238231
name: FAKEGotchisNFTDiamond
239-
network: "base-sepolia"
232+
network: "matic"
240233
source:
241-
address: "0xD0dCC1d1E22D490e5270631787E1866E773b16C7"
234+
address: "0xA4E3513c98b30d4D7cc578d2C328Bd550725D1D0"
242235
abi: IERC721
243-
startBlock: 26286758
236+
startBlock: 34520176
244237
mapping:
245238
kind: ethereum/events
246239
apiVersion: 0.0.6

0 commit comments

Comments
 (0)