-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ed9f8c6
Showing
19 changed files
with
11,722 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Upload subgraph to IPFS | ||
|
||
Build completed: QmUc6XgtL3tzQfod5RrevABY2qoYvoDhs9iVXkxxpPxP88 -> Code for subgraph on IPFS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,205 @@ | ||
[ | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "nftAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | ||
], | ||
"name": "NftMarketplace__AlreadyListed", | ||
"type": "error" | ||
}, | ||
{ "inputs": [], "name": "NftMarketplace__NoProceeds", "type": "error" }, | ||
{ | ||
"inputs": [], | ||
"name": "NftMarketplace__NotApprovedForMarketplace", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "nftAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | ||
], | ||
"name": "NftMarketplace__NotListed", | ||
"type": "error" | ||
}, | ||
{ "inputs": [], "name": "NftMarketplace__NotOwner", "type": "error" }, | ||
{ | ||
"inputs": [], | ||
"name": "NftMarketplace__PriceMustBeAboveZero", | ||
"type": "error" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "nftAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "price", "type": "uint256" } | ||
], | ||
"name": "NftMarketplace__PriceNotMet", | ||
"type": "error" | ||
}, | ||
{ "inputs": [], "name": "NftMarketplace__TransferFailed", "type": "error" }, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "seller", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "nftAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "price", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "ItemBought", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "owner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "nftAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "ItemCanceled", | ||
"type": "event" | ||
}, | ||
{ | ||
"anonymous": false, | ||
"inputs": [ | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "owner", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "address", | ||
"name": "nftAddress", | ||
"type": "address" | ||
}, | ||
{ | ||
"indexed": true, | ||
"internalType": "uint256", | ||
"name": "tokenId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"indexed": false, | ||
"internalType": "uint256", | ||
"name": "price", | ||
"type": "uint256" | ||
} | ||
], | ||
"name": "ItemListed", | ||
"type": "event" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "nftAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | ||
], | ||
"name": "buyItem", | ||
"outputs": [], | ||
"stateMutability": "payable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "nftAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | ||
], | ||
"name": "cancelListing", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "nftAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" } | ||
], | ||
"name": "getListing", | ||
"outputs": [ | ||
{ | ||
"components": [ | ||
{ "internalType": "uint256", "name": "price", "type": "uint256" }, | ||
{ "internalType": "address", "name": "seller", "type": "address" } | ||
], | ||
"internalType": "struct NftMarketplace.Listing", | ||
"name": "", | ||
"type": "tuple" | ||
} | ||
], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "seller", "type": "address" } | ||
], | ||
"name": "getProceeds", | ||
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }], | ||
"stateMutability": "view", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "nftAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "price", "type": "uint256" } | ||
], | ||
"name": "listItem", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [ | ||
{ "internalType": "address", "name": "nftAddress", "type": "address" }, | ||
{ "internalType": "uint256", "name": "tokenId", "type": "uint256" }, | ||
{ "internalType": "uint256", "name": "newPrice", "type": "uint256" } | ||
], | ||
"name": "updateListing", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
}, | ||
{ | ||
"inputs": [], | ||
"name": "withdrawProceeds", | ||
"outputs": [], | ||
"stateMutability": "nonpayable", | ||
"type": "function" | ||
} | ||
] |
Binary file not shown.
Oops, something went wrong.