Skip to content

Commit

Permalink
sync with nfts
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lima committed Oct 25, 2023
1 parent 82f0405 commit 5a6d6d4
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 7 deletions.
4 changes: 1 addition & 3 deletions subgraph-goerli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- name: ERC721-Chronos-Traveler
- name: ERC721
kind: ethereum
network: goerli
source:
address: '0x450c91d1fe9f3d57b91218f6ff96f7994eec4d32'
abi: ERC721
startBlock: 8099655
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand Down
20 changes: 19 additions & 1 deletion subgraph-mumbai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,25 @@ specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
# There is no "(Chronos) Traveler" on Mumbai
- name: ERC721
kind: ethereum
network: matic
source:
abi: ERC721
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Nft
- Account
abis:
- name: ERC721
file: ./abis/ERC721.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: ./src/erc721/index.ts

- name: ERC7432-Immutable-Roles
kind: ethereum
Expand Down
4 changes: 1 addition & 3 deletions subgraph-polygon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@ specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- name: ERC721-Chronos-Traveler
- name: ERC721
kind: ethereum
network: matic
source:
address: '0xa03C4E40d1fCaa826591007a17Ca929ef8AdBF1C'
abi: ERC721
startBlock: 36796276
mapping:
kind: ethereum/events
apiVersion: 0.0.6
Expand Down

0 comments on commit 5a6d6d4

Please sign in to comment.