UNPKG

@towns-protocol/generated

Version:

## How to generate contract types

495 lines (494 loc) 9.11 kB
export default [ { "type": "function", "name": "__PrepayFacet_init", "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "calculateMembershipPrepayFee", "inputs": [ { "name": "supply", "type": "uint256", "internalType": "uint256" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "prepaidMembershipSupply", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "prepayMembership", "inputs": [ { "name": "supply", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "payable" }, { "type": "event", "name": "Approval", "inputs": [ { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "approved", "type": "address", "indexed": true, "internalType": "address" }, { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "ApprovalForAll", "inputs": [ { "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "operator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "approved", "type": "bool", "indexed": false, "internalType": "bool" } ], "anonymous": false }, { "type": "event", "name": "Banned", "inputs": [ { "name": "moderator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "ConsecutiveTransfer", "inputs": [ { "name": "fromTokenId", "type": "uint256", "indexed": true, "internalType": "uint256" }, { "name": "toTokenId", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "from", "type": "address", "indexed": true, "internalType": "address" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" } ], "anonymous": false }, { "type": "event", "name": "Initialized", "inputs": [ { "name": "version", "type": "uint32", "indexed": false, "internalType": "uint32" } ], "anonymous": false }, { "type": "event", "name": "InterfaceAdded", "inputs": [ { "name": "interfaceId", "type": "bytes4", "indexed": true, "internalType": "bytes4" } ], "anonymous": false }, { "type": "event", "name": "InterfaceRemoved", "inputs": [ { "name": "interfaceId", "type": "bytes4", "indexed": true, "internalType": "bytes4" } ], "anonymous": false }, { "type": "event", "name": "OwnershipTransferred", "inputs": [ { "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" } ], "anonymous": false }, { "type": "event", "name": "Paused", "inputs": [ { "name": "account", "type": "address", "indexed": false, "internalType": "address" } ], "anonymous": false }, { "type": "event", "name": "Prepay__Prepaid", "inputs": [ { "name": "supply", "type": "uint256", "indexed": false, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "Transfer", "inputs": [ { "name": "from", "type": "address", "indexed": true, "internalType": "address" }, { "name": "to", "type": "address", "indexed": true, "internalType": "address" }, { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "Unbanned", "inputs": [ { "name": "moderator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" } ], "anonymous": false }, { "type": "event", "name": "Unpaused", "inputs": [ { "name": "account", "type": "address", "indexed": false, "internalType": "address" } ], "anonymous": false }, { "type": "error", "name": "ApprovalCallerNotOwnerNorApproved", "inputs": [] }, { "type": "error", "name": "ApprovalQueryForNonexistentToken", "inputs": [] }, { "type": "error", "name": "BalanceQueryForZeroAddress", "inputs": [] }, { "type": "error", "name": "Banning__AlreadyBanned", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "Banning__CannotBanOwner", "inputs": [] }, { "type": "error", "name": "Banning__CannotBanSelf", "inputs": [] }, { "type": "error", "name": "Banning__InvalidTokenId", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "Banning__NotBanned", "inputs": [ { "name": "tokenId", "type": "uint256", "internalType": "uint256" } ] }, { "type": "error", "name": "Entitlement__InvalidValue", "inputs": [] }, { "type": "error", "name": "Entitlement__NotAllowed", "inputs": [] }, { "type": "error", "name": "Entitlement__NotMember", "inputs": [] }, { "type": "error", "name": "Entitlement__ValueAlreadyExists", "inputs": [] }, { "type": "error", "name": "Initializable_InInitializingState", "inputs": [] }, { "type": "error", "name": "Initializable_NotInInitializingState", "inputs": [] }, { "type": "error", "name": "Introspection_AlreadySupported", "inputs": [] }, { "type": "error", "name": "Introspection_NotSupported", "inputs": [] }, { "type": "error", "name": "MintERC2309QuantityExceedsLimit", "inputs": [] }, { "type": "error", "name": "MintToZeroAddress", "inputs": [] }, { "type": "error", "name": "MintZeroQuantity", "inputs": [] }, { "type": "error", "name": "Ownable__NotOwner", "inputs": [ { "name": "account", "type": "address", "internalType": "address" } ] }, { "type": "error", "name": "Ownable__ZeroAddress", "inputs": [] }, { "type": "error", "name": "OwnerQueryForNonexistentToken", "inputs": [] }, { "type": "error", "name": "OwnershipNotInitializedForExtraData", "inputs": [] }, { "type": "error", "name": "Pausable__NotPaused", "inputs": [] }, { "type": "error", "name": "Pausable__Paused", "inputs": [] }, { "type": "error", "name": "Prepay__InvalidAddress", "inputs": [] }, { "type": "error", "name": "Prepay__InvalidAmount", "inputs": [] }, { "type": "error", "name": "Prepay__InvalidMembership", "inputs": [] }, { "type": "error", "name": "Prepay__InvalidSupplyAmount", "inputs": [] }, { "type": "error", "name": "Reentrancy", "inputs": [] }, { "type": "error", "name": "TransferCallerNotOwnerNorApproved", "inputs": [] }, { "type": "error", "name": "TransferFromIncorrectOwner", "inputs": [] }, { "type": "error", "name": "TransferToNonERC721ReceiverImplementer", "inputs": [] }, { "type": "error", "name": "TransferToZeroAddress", "inputs": [] }, { "type": "error", "name": "URIQueryForNonexistentToken", "inputs": [] } ] as const