@river-build/generated
Version:
## How to generate contract types
628 lines (627 loc) • 12.1 kB
text/typescript
export default [
{
"type": "function",
"name": "addEntitlementModule",
"inputs": [
{
"name": "entitlement",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "addImmutableEntitlements",
"inputs": [
{
"name": "entitlements",
"type": "address[]",
"internalType": "address[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getEntitlement",
"inputs": [
{
"name": "entitlement",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "tuple",
"internalType": "struct IEntitlementsManagerBase.Entitlement",
"components": [
{
"name": "name",
"type": "string",
"internalType": "string"
},
{
"name": "moduleAddress",
"type": "address",
"internalType": "address"
},
{
"name": "moduleType",
"type": "string",
"internalType": "string"
},
{
"name": "isImmutable",
"type": "bool",
"internalType": "bool"
}
]
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getEntitlements",
"inputs": [],
"outputs": [
{
"name": "",
"type": "tuple[]",
"internalType": "struct IEntitlementsManagerBase.Entitlement[]",
"components": [
{
"name": "name",
"type": "string",
"internalType": "string"
},
{
"name": "moduleAddress",
"type": "address",
"internalType": "address"
},
{
"name": "moduleType",
"type": "string",
"internalType": "string"
},
{
"name": "isImmutable",
"type": "bool",
"internalType": "bool"
}
]
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "isEntitledToChannel",
"inputs": [
{
"name": "channelId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "user",
"type": "address",
"internalType": "address"
},
{
"name": "permission",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "isEntitledToSpace",
"inputs": [
{
"name": "user",
"type": "address",
"internalType": "address"
},
{
"name": "permission",
"type": "string",
"internalType": "string"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "removeEntitlementModule",
"inputs": [
{
"name": "entitlement",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"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": "EntitlementModuleAdded",
"inputs": [
{
"name": "caller",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "entitlement",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "EntitlementModuleRemoved",
"inputs": [
{
"name": "caller",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "entitlement",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"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": "SubscriptionUpdate",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "expiration",
"type": "uint64",
"indexed": false,
"internalType": "uint64"
}
],
"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": "ERC5643__DurationZero",
"inputs": []
},
{
"type": "error",
"name": "ERC5643__InvalidTokenId",
"inputs": [
{
"name": "tokenId",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"type": "error",
"name": "ERC5643__NotApprovedOrOwner",
"inputs": []
},
{
"type": "error",
"name": "ERC5643__SubscriptionNotRenewable",
"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": "EntitlementsService__EntitlementAlreadyExists",
"inputs": []
},
{
"type": "error",
"name": "EntitlementsService__EntitlementDoesNotExist",
"inputs": []
},
{
"type": "error",
"name": "EntitlementsService__ImmutableEntitlement",
"inputs": []
},
{
"type": "error",
"name": "EntitlementsService__InvalidEntitlementAddress",
"inputs": []
},
{
"type": "error",
"name": "EntitlementsService__InvalidEntitlementInterface",
"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": "TransferCallerNotOwnerNorApproved",
"inputs": []
},
{
"type": "error",
"name": "TransferFromIncorrectOwner",
"inputs": []
},
{
"type": "error",
"name": "TransferToNonERC721ReceiverImplementer",
"inputs": []
},
{
"type": "error",
"name": "TransferToZeroAddress",
"inputs": []
},
{
"type": "error",
"name": "URIQueryForNonexistentToken",
"inputs": []
}
] as const