UNPKG

@towns-protocol/generated

Version:

## How to generate contract types

84 lines (83 loc) 1.5 kB
export default [ { "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": "Unbanned", "inputs": [ { "name": "moderator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "tokenId", "type": "uint256", "indexed": true, "internalType": "uint256" } ], "anonymous": false }, { "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" } ] } ] as const