Skip to content

Commit

Permalink
Updated with arbitrum
Browse files Browse the repository at this point in the history
  • Loading branch information
justincavery committed Mar 18, 2024
1 parent c61edbd commit c3c02fd
Show file tree
Hide file tree
Showing 6 changed files with 3,749 additions and 10 deletions.
14 changes: 7 additions & 7 deletions build/subgraph.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
specVersion: 0.0.5
description: 721-MarketPlace
repository: https://github.com/Data-Nexus/nft-sales-v2
description: 721-tracker
repository: https://github.com/Data-Nexus/NFT-Tracker
schema:
file: schema.graphql
dataSources:
- kind: ethereum/contract
name: IERC721
network: mainnet
network: arbitrum-one
source:
abi: IERC721
startBlock: 5774644
Expand All @@ -20,12 +20,12 @@ dataSources:
- account
abis:
- name: IERC721
file: IERC721\node_modules\@openzeppelin\contracts\build\contracts\IERC721.json
file: IERC721/node_modules/@openzeppelin/contracts/build/contracts/IERC721.json
- name: IERC721Metadata
file: IERC721\node_modules\@openzeppelin\contracts\build\contracts\IERC721Metadata.json
file: IERC721/node_modules/@openzeppelin/contracts/build/contracts/IERC721Metadata.json
- name: Contract721
file: IERC721\abis\Contract721.json
file: IERC721/abis/Contract721.json
eventHandlers:
- event: Transfer(indexed address,indexed address,indexed uint256)
handler: handleTransfer
file: IERC721\IERC721.wasm
file: IERC721/IERC721.wasm
2 changes: 1 addition & 1 deletion generated/IERC721/IERC721.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export class SetApprovalForAllCall__Inputs {
return this._call.inputValues[0].value.toAddress();
}

get _approved(): boolean {
get approved(): boolean {
return this._call.inputValues[1].value.toBoolean();
}
}
Expand Down
2 changes: 1 addition & 1 deletion generated/IERC721/IERC721Metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export class SetApprovalForAllCall__Inputs {
return this._call.inputValues[0].value.toAddress();
}

get _approved(): boolean {
get approved(): boolean {
return this._call.inputValues[1].value.toBoolean();
}
}
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"codegen": "graph codegen",
"build": "graph build",
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ data-nexus/nft-sale",
"deploy-721": "graph deploy --product hosted-service nftx-project/721-arbitrum-data-nexus",
"deploy-1155": "graph deploy --product hosted-service nftx-project/1155-arbitrum-data-nexus",
"create-local": "graph create --node http://localhost:8020/ data-nexus/nft-sale",
"remove-local": "graph remove --node http://localhost:8020/ data-nexus/nft-sale",
"deploy-local": "graph deploy --node http://localhost:8020/ --ipfs http://localhost:5001 data-nexus/nft-sale"
Expand Down
2 changes: 1 addition & 1 deletion subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dataSources:
#### All ERC721 ####
- kind: ethereum/contract
name: IERC721
network: mainnet
network: arbitrum-one
source:
abi: IERC721
startBlock: 5774644
Expand Down
Loading

0 comments on commit c3c02fd

Please sign in to comment.