Created
September 12, 2023 22:20
-
-
Save jcurbelo/fadf5e6e73f8c10141cb706b86bc018f to your computer and use it in GitHub Desktop.
edition-abi
This file contains hidden or 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
[ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "string", | |
"name": "tokenURI", | |
"type": "string" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "price", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "maxQuantity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "maxPerWallet", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "maxPerMint", | |
"type": "uint256" | |
} | |
], | |
"name": "createEdition", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "editionMintFee", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "editionRevenue", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "editionsCount", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "editionId", | |
"type": "uint256" | |
} | |
], | |
"name": "getEdition", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "string", | |
"name": "tokenURI", | |
"type": "string" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "merkleRoot", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "price", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "quantity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "maxQuantity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "maxPerWallet", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "maxPerMint", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "nonce", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "signer", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "active", | |
"type": "bool" | |
} | |
], | |
"internalType": "struct EditionStorage.Edition", | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "editionId", | |
"type": "uint256" | |
} | |
], | |
"name": "getEditionPrice", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "recipient", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "editionId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "quantity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32[]", | |
"name": "proof", | |
"type": "bytes32[]" | |
} | |
], | |
"name": "mintEdition", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "editionId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "active", | |
"type": "bool" | |
} | |
], | |
"name": "setEditionActive", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "editionId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "merkleRoot", | |
"type": "bytes32" | |
} | |
], | |
"name": "setEditionMerkleRoot", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "editionId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "signer", | |
"type": "address" | |
} | |
], | |
"name": "setEditionSigner", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "editionId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "string", | |
"name": "tokenURI", | |
"type": "string" | |
} | |
], | |
"name": "setEditionTokenURI", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "editionId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "price", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "maxQuantity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "maxPerWallet", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "maxPerMint", | |
"type": "uint256" | |
} | |
], | |
"name": "updateEdition", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "owner_", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "admin_", | |
"type": "address" | |
}, | |
{ | |
"internalType": "string", | |
"name": "name_", | |
"type": "string" | |
}, | |
{ | |
"internalType": "string", | |
"name": "symbol_", | |
"type": "string" | |
}, | |
{ | |
"internalType": "address", | |
"name": "royalty_", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint16", | |
"name": "royaltyBps_", | |
"type": "uint16" | |
} | |
], | |
"name": "_initialize", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "operator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
} | |
], | |
"name": "approve", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
} | |
], | |
"name": "balanceOf", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "_functionSelector", | |
"type": "bytes4" | |
} | |
], | |
"name": "facetAddress", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "facetAddress_", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "facetAddresses", | |
"outputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "facetAddresses_", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_facet", | |
"type": "address" | |
} | |
], | |
"name": "facetFunctionSelectors", | |
"outputs": [ | |
{ | |
"internalType": "bytes4[]", | |
"name": "_facetFunctionSelectors", | |
"type": "bytes4[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "facets", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "facetAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes4[]", | |
"name": "functionSelectors", | |
"type": "bytes4[]" | |
} | |
], | |
"internalType": "struct IDiamondLoupe.Facet[]", | |
"name": "facets_", | |
"type": "tuple[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "name", | |
"type": "bytes32" | |
} | |
], | |
"name": "getApp", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "address", | |
"name": "implementation", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes4", | |
"name": "interfaceId", | |
"type": "bytes4" | |
}, | |
{ | |
"internalType": "bytes4[]", | |
"name": "selectors", | |
"type": "bytes4[]" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "version", | |
"type": "uint8" | |
} | |
], | |
"internalType": "struct INiftyKitAppRegistry.App", | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
} | |
], | |
"name": "getApproved", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getMintSigner", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "roles", | |
"type": "uint256" | |
} | |
], | |
"name": "grantRoles", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "name", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "data", | |
"type": "bytes" | |
} | |
], | |
"name": "installApp", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "name", | |
"type": "bytes32" | |
} | |
], | |
"name": "installApp", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "operator", | |
"type": "address" | |
} | |
], | |
"name": "isApprovedForAll", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "name", | |
"outputs": [ | |
{ | |
"internalType": "string", | |
"name": "", | |
"type": "string" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "owner", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "result", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
} | |
], | |
"name": "ownerOf", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "name", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeApp", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "name", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "data", | |
"type": "bytes" | |
} | |
], | |
"name": "removeApp", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "renounceOwnership", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "roles", | |
"type": "uint256" | |
} | |
], | |
"name": "renounceRoles", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "roles", | |
"type": "uint256" | |
} | |
], | |
"name": "revokeRoles", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "rolesOf", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "roles", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "salePrice", | |
"type": "uint256" | |
} | |
], | |
"name": "royaltyInfo", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
} | |
], | |
"name": "safeTransferFrom", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "data", | |
"type": "bytes" | |
} | |
], | |
"name": "safeTransferFrom", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "operator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approved", | |
"type": "bool" | |
} | |
], | |
"name": "setApprovalForAll", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "string", | |
"name": "newBaseURI", | |
"type": "string" | |
} | |
], | |
"name": "setBaseURI", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "signer_", | |
"type": "address" | |
} | |
], | |
"name": "setMintSigner", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newTreasury", | |
"type": "address" | |
} | |
], | |
"name": "setTreasury", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "trustedForwarder", | |
"type": "address" | |
} | |
], | |
"name": "setTrustedForwarder", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes4", | |
"name": "interfaceId", | |
"type": "bytes4" | |
} | |
], | |
"name": "supportsInterface", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "symbol", | |
"outputs": [ | |
{ | |
"internalType": "string", | |
"name": "", | |
"type": "string" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
} | |
], | |
"name": "tokenURI", | |
"outputs": [ | |
{ | |
"internalType": "string", | |
"name": "", | |
"type": "string" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "totalSupply", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "tokenId", | |
"type": "uint256" | |
} | |
], | |
"name": "transferFrom", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "transferOwnership", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "treasury", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "withdraw", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment