@river-build/generated
Version:
## How to generate contract types
1,913 lines • 67.6 kB
JSON
{
"compiler": {
"version": "0.8.24+commit.e11b9ed9"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"type": "error",
"name": "ApprovalCallerNotOwnerNorApproved"
},
{
"inputs": [],
"type": "error",
"name": "ApprovalQueryForNonexistentToken"
},
{
"inputs": [],
"type": "error",
"name": "BalanceQueryForZeroAddress"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"type": "error",
"name": "Banning__AlreadyBanned"
},
{
"inputs": [],
"type": "error",
"name": "Banning__CannotBanOwner"
},
{
"inputs": [],
"type": "error",
"name": "Banning__CannotBanSelf"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"type": "error",
"name": "Banning__InvalidTokenId"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"type": "error",
"name": "Banning__NotBanned"
},
{
"inputs": [],
"type": "error",
"name": "Dispatcher__TransactionAlreadyExists"
},
{
"inputs": [],
"type": "error",
"name": "ERC5643__DurationZero"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"type": "error",
"name": "ERC5643__InvalidTokenId"
},
{
"inputs": [],
"type": "error",
"name": "ERC5643__NotApprovedOrOwner"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"type": "error",
"name": "ERC5643__SubscriptionNotRenewable"
},
{
"inputs": [],
"type": "error",
"name": "EntitlementGated_InvalidAddress"
},
{
"inputs": [],
"type": "error",
"name": "EntitlementGated_InvalidEntitlement"
},
{
"inputs": [],
"type": "error",
"name": "EntitlementGated_NodeAlreadyVoted"
},
{
"inputs": [],
"type": "error",
"name": "EntitlementGated_NodeNotFound"
},
{
"inputs": [],
"type": "error",
"name": "EntitlementGated_OnlyEntitlementChecker"
},
{
"inputs": [],
"type": "error",
"name": "EntitlementGated_RequestIdNotFound"
},
{
"inputs": [],
"type": "error",
"name": "EntitlementGated_TransactionCheckAlreadyCompleted"
},
{
"inputs": [],
"type": "error",
"name": "EntitlementGated_TransactionCheckAlreadyRegistered"
},
{
"inputs": [],
"type": "error",
"name": "EntitlementGated_TransactionNotRegistered"
},
{
"inputs": [],
"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": "Introspection_AlreadySupported"
},
{
"inputs": [],
"type": "error",
"name": "Introspection_NotSupported"
},
{
"inputs": [],
"type": "error",
"name": "Membership__AlreadyMember"
},
{
"inputs": [],
"type": "error",
"name": "Membership__Banned"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InsufficientAllowance"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InsufficientPayment"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidAddress"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidCurrency"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidDuration"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidFeeRecipient"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidFreeAllocation"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidLimit"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidMaxSupply"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidPayment"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidPrice"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidPricingModule"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidTokenId"
},
{
"inputs": [],
"type": "error",
"name": "Membership__InvalidTransactionType"
},
{
"inputs": [],
"type": "error",
"name": "Membership__MaxSupplyReached"
},
{
"inputs": [],
"type": "error",
"name": "Membership__NotExpired"
},
{
"inputs": [],
"type": "error",
"name": "Membership__PriceTooLow"
},
{
"inputs": [],
"type": "error",
"name": "MintERC2309QuantityExceedsLimit"
},
{
"inputs": [],
"type": "error",
"name": "MintToZeroAddress"
},
{
"inputs": [],
"type": "error",
"name": "MintZeroQuantity"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"type": "error",
"name": "Ownable__NotOwner"
},
{
"inputs": [],
"type": "error",
"name": "Ownable__ZeroAddress"
},
{
"inputs": [],
"type": "error",
"name": "OwnerQueryForNonexistentToken"
},
{
"inputs": [],
"type": "error",
"name": "OwnershipNotInitializedForExtraData"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "fee",
"type": "uint256"
}
],
"type": "error",
"name": "PartnerRegistry__InvalidPartnerFee"
},
{
"inputs": [],
"type": "error",
"name": "PartnerRegistry__InvalidRecipient"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"type": "error",
"name": "PartnerRegistry__NotPartnerAccount"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"type": "error",
"name": "PartnerRegistry__PartnerAlreadyRegistered"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"type": "error",
"name": "PartnerRegistry__PartnerNotActive"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"type": "error",
"name": "PartnerRegistry__PartnerNotRegistered"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "fee",
"type": "uint256"
}
],
"type": "error",
"name": "PartnerRegistry__RegistryFeeNotPaid"
},
{
"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": "Referrals__InvalidBasisPoints"
},
{
"inputs": [],
"type": "error",
"name": "Referrals__InvalidBpsFee"
},
{
"inputs": [],
"type": "error",
"name": "Referrals__InvalidRecipient"
},
{
"inputs": [],
"type": "error",
"name": "Referrals__InvalidReferralCode"
},
{
"inputs": [],
"type": "error",
"name": "Referrals__ReferralAlreadyExists"
},
{
"inputs": [],
"type": "error",
"name": "Roles__EntitlementAlreadyExists"
},
{
"inputs": [],
"type": "error",
"name": "Roles__EntitlementDoesNotExist"
},
{
"inputs": [],
"type": "error",
"name": "Roles__InvalidEntitlementAddress"
},
{
"inputs": [],
"type": "error",
"name": "Roles__InvalidPermission"
},
{
"inputs": [],
"type": "error",
"name": "Roles__PermissionAlreadyExists"
},
{
"inputs": [],
"type": "error",
"name": "Roles__PermissionDoesNotExist"
},
{
"inputs": [],
"type": "error",
"name": "Roles__RoleDoesNotExist"
},
{
"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": [
{
"internalType": "address",
"name": "owner",
"type": "address",
"indexed": true
},
{
"internalType": "address",
"name": "approved",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "Approval",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "owner",
"type": "address",
"indexed": true
},
{
"internalType": "address",
"name": "operator",
"type": "address",
"indexed": true
},
{
"internalType": "bool",
"name": "approved",
"type": "bool",
"indexed": false
}
],
"type": "event",
"name": "ApprovalForAll",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "moderator",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "Banned",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "fromTokenId",
"type": "uint256",
"indexed": true
},
{
"internalType": "uint256",
"name": "toTokenId",
"type": "uint256",
"indexed": false
},
{
"internalType": "address",
"name": "from",
"type": "address",
"indexed": true
},
{
"internalType": "address",
"name": "to",
"type": "address",
"indexed": true
}
],
"type": "event",
"name": "ConsecutiveTransfer",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "defaultBpsFee",
"type": "uint256",
"indexed": false
}
],
"type": "event",
"name": "DefaultBpsFeeUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "transactionId",
"type": "bytes32",
"indexed": true
},
{
"internalType": "enum IEntitlementGatedBase.NodeVoteStatus",
"name": "result",
"type": "uint8",
"indexed": false
}
],
"type": "event",
"name": "EntitlementCheckResultPosted",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint32",
"name": "version",
"type": "uint32",
"indexed": false
}
],
"type": "event",
"name": "Initialized",
"anonymous": false
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4",
"indexed": true
}
],
"type": "event",
"name": "InterfaceAdded",
"anonymous": false
},
{
"inputs": [
{
"internalType": "bytes4",
"name": "interfaceId",
"type": "bytes4",
"indexed": true
}
],
"type": "event",
"name": "InterfaceRemoved",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "maxBpsFee",
"type": "uint256",
"indexed": false
}
],
"type": "event",
"name": "MaxBpsFeeUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "fee",
"type": "uint256",
"indexed": false
}
],
"type": "event",
"name": "MaxPartnerFeeSet",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "currency",
"type": "address",
"indexed": true
}
],
"type": "event",
"name": "MembershipCurrencyUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address",
"indexed": true
}
],
"type": "event",
"name": "MembershipFeeRecipientUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "allocation",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "MembershipFreeAllocationUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "limit",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "MembershipLimitUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "price",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "MembershipPriceUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "MembershipTokenIssued",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address",
"indexed": true
}
],
"type": "event",
"name": "MembershipTokenRejected",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "recipient",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256",
"indexed": false
}
],
"type": "event",
"name": "MembershipWithdrawal",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "previousOwner",
"type": "address",
"indexed": true
},
{
"internalType": "address",
"name": "newOwner",
"type": "address",
"indexed": true
}
],
"type": "event",
"name": "OwnershipTransferred",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address",
"indexed": true
}
],
"type": "event",
"name": "PartnerRegistered",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address",
"indexed": true
}
],
"type": "event",
"name": "PartnerRemoved",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address",
"indexed": true
}
],
"type": "event",
"name": "PartnerUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address",
"indexed": false
}
],
"type": "event",
"name": "Paused",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "updater",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "roleId",
"type": "uint256",
"indexed": true
},
{
"internalType": "bytes32",
"name": "channelId",
"type": "bytes32",
"indexed": true
}
],
"type": "event",
"name": "PermissionsAddedToChannelRole",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "updater",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "roleId",
"type": "uint256",
"indexed": true
},
{
"internalType": "bytes32",
"name": "channelId",
"type": "bytes32",
"indexed": true
}
],
"type": "event",
"name": "PermissionsRemovedFromChannelRole",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "updater",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "roleId",
"type": "uint256",
"indexed": true
},
{
"internalType": "bytes32",
"name": "channelId",
"type": "bytes32",
"indexed": true
}
],
"type": "event",
"name": "PermissionsUpdatedForChannelRole",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "supply",
"type": "uint256",
"indexed": false
}
],
"type": "event",
"name": "Prepay__Prepaid",
"anonymous": false
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "referralCode",
"type": "bytes32",
"indexed": false
},
{
"internalType": "uint256",
"name": "basisPoints",
"type": "uint256",
"indexed": false
},
{
"internalType": "address",
"name": "recipient",
"type": "address",
"indexed": false
}
],
"type": "event",
"name": "ReferralRegistered",
"anonymous": false
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "referralCode",
"type": "bytes32",
"indexed": false
}
],
"type": "event",
"name": "ReferralRemoved",
"anonymous": false
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "referralCode",
"type": "bytes32",
"indexed": false
},
{
"internalType": "uint256",
"name": "basisPoints",
"type": "uint256",
"indexed": false
},
{
"internalType": "address",
"name": "recipient",
"type": "address",
"indexed": false
}
],
"type": "event",
"name": "ReferralUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "fee",
"type": "uint256",
"indexed": false
}
],
"type": "event",
"name": "RegistryFeeSet",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "creator",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "roleId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "RoleCreated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "remover",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "roleId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "RoleRemoved",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "updater",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "roleId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "RoleUpdated",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
"indexed": true
},
{
"internalType": "uint64",
"name": "expiration",
"type": "uint64",
"indexed": false
}
],
"type": "event",
"name": "SubscriptionUpdate",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address",
"indexed": true
},
{
"internalType": "address",
"name": "to",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "Transfer",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "moderator",
"type": "address",
"indexed": true
},
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256",
"indexed": true
}
],
"type": "event",
"name": "Unbanned",
"anonymous": false
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address",
"indexed": false
}
],
"type": "event",
"name": "Unpaused",
"anonymous": false
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"name": "expiresAt",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getMembershipCurrency",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getMembershipDuration",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getMembershipFreeAllocation",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getMembershipImage",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getMembershipLimit",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getMembershipPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getMembershipPricingModule",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
]
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function",
"name": "getMembershipRenewalPrice",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getProtocolFee",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
]
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "getSpaceFactory",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
]
},
{
"inputs": [
{
"internalType": "address",
"name": "receiver",
"type": "address"
}
],
"stateMutability": "payable",
"type": "function",
"name": "joinSpace"
},
{
"inputs": [
{
"internalType": "address",
"name": "receiver",
"type": "address"
},
{
"internalType": "struct IMembershipBase.ReferralTypes",
"name": "referral",
"type": "tuple",
"components": [
{
"internalType": "address",
"name": "partner",
"type": "address"
},
{
"internalType": "address",
"name": "userReferral",
"type": "address"
},
{
"internalType": "string",
"name": "referralCode",
"type": "string"
}
]
}
],
"stateMutability": "payable",
"type": "function",
"name": "joinSpaceWithReferral"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "tokenId",
"type": "uint256"
}
],
"stateMutability": "payable",
"type": "function",
"name": "renewMembership"
},
{
"inputs": [],
"stateMutability": "view",
"type": "function",
"name": "revenue",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
]
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newAllocation",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "setMembershipFreeAllocation"
},
{
"inputs": [
{
"internalType": "string",
"name": "newImage",
"type": "string"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "setMembershipImage"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newLimit",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "setMembershipLimit"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "newPrice",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "setMembershipPrice"
},
{
"inputs": [
{
"internalType": "address",
"name": "pricingModule",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "setMembershipPricingModule"
},
{
"inputs": [
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function",
"name": "withdraw"
}
],
"devdoc": {
"kind": "dev",
"methods": {
"expiresAt(uint256)": {
"params": {
"tokenId": "The token id of the membership"
}
},
"getMembershipCurrency()": {
"returns": {
"_0": "The membership currency"
}
},
"getMembershipDuration()": {
"returns": {
"_0": "The membership duration"
}
},
"getMembershipFreeAllocation()": {
"returns": {
"_0": "The membership free allocation"
}
},
"getMembershipImage()": {
"returns": {
"_0": "The membership image"
}
},
"getMembershipLimit()": {
"returns": {
"_0": "The membership limit"
}
},
"getMembershipPrice()": {
"returns": {
"_0": "The membership price"
}
},
"getMembershipPricingModule()": {
"returns": {
"_0": "The membership pricing module"
}
},
"getMembershipRenewalPrice(uint256)": {
"params": {
"tokenId": "The token id of the membership"
},
"returns": {
"_0": "The membership renewal price"
}
},
"getProtocolFee()": {
"returns": {
"_0": "The protocol fee"
}
},
"getSpaceFactory()": {
"returns": {
"_0": "The space factory"
}
},
"joinSpace(address)": {
"params": {
"receiver": "The address of the receiver"
}
},
"joinSpaceWithReferral(address,(address,address,string))": {
"params": {
"receiver": "The address of the receiver",
"referral": "The referral data"
}
},
"renewMembership(uint256)": {
"params": {
"tokenId": "The token id of the membership"
}
},
"revenue()": {
"returns": {
"_0": "The current balance of funds held by the space"
}
},
"setMembershipFreeAllocation(uint256)": {
"params": {
"newAllocation": "The new membership free allocation"
}
},
"setMembershipLimit(uint256)": {
"params": {
"newLimit": "The new membership limit"
}
},
"setMembershipPrice(uint256)": {
"params": {
"newPrice": "The new membership price"
}
},
"setMembershipPricingModule(address)": {
"params": {
"pricingModule": "The new pricing module"
}
},
"withdraw(address)": {
"params": {
"receiver": "The address to receive the withdrawn funds"
}
}
},
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {
"expiresAt(uint256)": {
"notice": "Return the expiration date of a membership"
},
"getMembershipCurrency()": {
"notice": "Get the membership currency"
},
"getMembershipDuration()": {
"notice": "Get the membership duration"
},
"getMembershipFreeAllocation()": {
"notice": "Get the membership free allocation"
},
"getMembershipImage()": {
"notice": "Get the membership image"
},
"getMembershipLimit()": {
"notice": "Get the membership limit"
},
"getMembershipPrice()": {
"notice": "Get the membership price"
},
"getMembershipPricingModule()": {
"notice": "Get the membership pricing module"
},
"getMembershipRenewalPrice(uint256)": {
"notice": "Get the membership renewal price"
},
"getProtocolFee()": {
"notice": "Get the protocol fee"
},
"getSpaceFactory()": {
"notice": "Get the space factory"
},
"joinSpace(address)": {
"notice": "Join a space"
},
"joinSpaceWithReferral(address,(address,address,string))": {
"notice": "Join a space with a referral"
},
"renewMembership(uint256)": {
"notice": "Renew a space membership"
},
"revenue()": {
"notice": "Get the current balance of funds held by the space"
},
"setMembershipFreeAllocation(uint256)": {
"notice": "Set the membership free allocation"
},
"setMembershipLimit(uint256)": {
"notice": "Set the membership limit"
},
"setMembershipPrice(uint256)": {
"notice": "Set the membership price"
},
"setMembershipPricingModule(address)": {
"notice": "Set the membership pricing module"
},
"withdraw(address)": {
"notice": "Withdraws the balance of the contract"
}
},
"version": 1
}
},
"settings": {
"remappings": [
"@openzeppelin/=node_modules/@openzeppelin/",
"@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/",
"@prb/math/=node_modules/@prb/math/src/",
"@prb/test/=node_modules/@prb/test/src/",
"@river-build/diamond/=node_modules/@river-build/diamond/",
"@solidity/=node_modules/crypto-lib/src/",
"account-abstraction/=node_modules/account-abstraction/contracts/",
"crypto-lib/=node_modules/crypto-lib/src/",
"ds-test/=node_modules/ds-test/src/",
"forge-std/=node_modules/forge-std/src/",
"hardhat-deploy/=node_modules/hardhat-deploy/",
"solady/=node_modules/solady/src/"
],
"optimizer": {
"enabled": true,
"runs": 200
},
"metadata": {
"bytecodeHash": "none",
"appendCBOR": false
},
"compilationTarget": {
"contracts/src/spaces/facets/membership/MembershipFacet.sol": "MembershipFacet"
},
"evmVersion": "paris",
"libraries": {}
},
"sources": {
"contracts/src/airdrop/points/ITownsPoints.sol": {
"keccak256": "0x74efd98d20c068690c7ab7d1cb9da3b479d5b6e8cd77f6a15397dc00bf7cffe3",
"urls": [
"bzz-raw://3347da71749d97cc762da41e39426f9f29360a56ed4c2a4958181ef95ff7cff4",
"dweb:/ipfs/QmaYFT3Vov6K4H64hQefiEzuzTGrcU4yBXiPFSCagdAukE"
],
"license": "MIT"
},
"contracts/src/base/registry/facets/checker/IEntitlementChecker.sol": {
"keccak256": "0x09bb1a23de39267836f97b670edcde8efd72255afd54529f5e6b3b9aa6603e4b",
"urls": [
"bzz-raw://5ef2fb19a74acd625fa47e518cd9a09d182d381e0822a206545febede0bd4a44",
"dweb:/ipfs/Qmb9BSPvBkb2MihJAcPu96R6HeCYGx9QJJZpSy3pfi82GB"
],
"license": "MIT"
},
"contracts/src/diamond/facets/token/ERC5643/ERC5643Base.sol": {
"keccak256": "0x21d3c281732e54c93520a4f2cc72cc5af38c517f2a150ee67aa84704a3d78627",
"urls": [
"bzz-raw://52ce7c061da0142a4d775bb85896410d363d4a28c0275d3171a70872344fc9a4",
"dweb:/ipfs/Qmdwgs3TaC4b83JVn6RG5pJJdCrxb74ZMRqZbYSe5DuqZf"
],
"license": "MIT"
},
"contracts/src/diamond/facets/token/ERC5643/ERC5643Storage.sol": {
"keccak256": "0x68cbff071e6a6a6b91b675af567616799435676fbbbebf4f9226e1226d6128b2",
"urls": [
"bzz-raw://2e2c7aee6ef32477733a50ba667cc510c8c165b9a9e146609b1f800acd0e4832",
"dweb:/ipfs/QmcWAz74x3AR6kpzWdyPWw3iLQ1yHBT3ZVoK6jT7T3LwXq"
],
"license": "MIT"
},
"contracts/src/diamond/facets/token/ERC5643/IERC5643.sol": {
"keccak256": "0x82dfa9b4063600f22326a66626284bc1d2dfad2efd89e5057c820d182298f224",
"urls": [
"bzz-raw://7ab9fc298c8239a7469c1a55d052eb904620e31e5183904b5928cb48f27f1615",
"dweb:/ipfs/QmUn3WWo3s6xDYQosaAURbartVnWAbfUffLjNWR5jrbLjU"
],
"license": "MIT"
},
"contracts/src/diamond/facets/token/ERC721A/ERC721ABase.sol": {
"keccak256": "0x27b65225578e0cd90b90ab4ce91c4dfe621b43a58df227d3fdb0494c8f317d62",
"urls": [
"bzz-raw://70db26d8735dd6b7e7a847712603f793728521ebd05ad8640d6068b395dce3ba",
"dweb:/ipfs/QmYeC1EM3XQWgHjQKpT41TksDFcCzr4Sz8JPRdagFms7mE"
],
"license": "MIT"
},
"contracts/src/diamond/facets/token/ERC721A/ERC721AStorage.sol": {
"keccak256": "0x1f85619c07524883b96fd2f3ca92ea3e2343466c0832cc03f6eb1cbb828896f4",
"urls": [
"bzz-raw://06adf57b874d40a123eb3e7bf89cd7f49d29a93c142b26336263529ccd692e04",
"dweb:/ipfs/QmQAhsfGRBPuBcSE1mqocTvutK9c4NfJPsbN4XQXtbsLey"
],
"license": "MIT"
},
"contracts/src/diamond/facets/token/ERC721A/IERC721A.sol": {
"keccak256": "0xb57dee608d37c98c32ac38fa3c84e77f5962cf39a0697815ad209edf55593782",
"urls": [
"bzz-raw://092750f101ae80c5bace9fd53ae87547a0aac6109cd58290609acd2ef489ce9d",
"dweb:/ipfs/QmREM18vUEQmcmnTSyR4XxHB9Ykqomc9RuCFZcWNiovgbz"
],
"license": "MIT"
},
"contracts/src/factory/facets/architect/pricing/IPricingModules.sol": {
"keccak256": "0xa45fcd2bb5037c0b9b80bb02a3a4bd00fa99598a8d9e0a5ee2dff7a04c670171",
"urls": [
"bzz-raw://15f95100f32791a9aa2e3cc47fb9cd58542e9250834bfc38756012cc4baaa786",
"dweb:/ipfs/QmYGPF6HQLoq5bCgMYW1AyT2Vz1H12Lt8LDdmzTadN5Ppm"
],
"license": "MIT"
},
"contracts/src/factory/facets/partner/IPartnerRegistry.sol": {
"keccak256": "0x1fe0cb9bee78697a459c596df3d69809decda8b0176bcba47bfd7b4c3db4440f",
"urls": [
"bzz-raw://4a0ffc7ccacc24be9dd81545fb6bf2d2b63698c6ac0c54def86aac1513d04dcf",
"dweb:/ipfs/QmRRSWiMV9XyZZdhHR9jo3FdVqHYAB63Egpq8jiabTJdrp"
],
"license": "MIT"
},
"contracts/src/factory/facets/platform/requirements/IPlatformRequirements.sol": {
"keccak256": "0xd1c61d42973382822d0b8256b5d308ad693dfa59240864cce0bec1bd4208e4c6",
"urls": [
"bzz-raw://bff6d50557810f7aa9de451f6ac2b279fe5983eefc0b38ef8be7ebb2ffde0f86",
"dweb:/ipfs/QmS6DXYXtPTfePgtrUxH1vmPycsVoumBQRJZugjGButowT"
],
"license": "MIT"
},
"contracts/src/factory/facets/registry/IImplementationRegistry.sol": {
"keccak256": "0xb447f7654cd152c29718c95983b62e390a59658d7d1a22b97f79d0aee9fb5de7",
"urls": [
"bzz-raw://756a9a38364c01937088ba927f09af2726d2df207eea4e0e2842e3fc66ccd32c",
"dweb:/ipfs/QmbxBRXgtkEQsGtxq1uSM6vX38FkjPq6tpodCdtBmdEmXA"
],
"license": "MIT"
},
"contracts/src/factory/facets/wallet-link/IWalletLink.sol": {
"keccak256": "0xb37a03936a2f15ce5c94fb9925594627cc65cfdd186c14eaff32d299ec569b5f",
"urls": [
"bzz-raw://085ef4945195eae38879c2d84e70a5a2f3cb02e6ad53e8ae37e6dd2591379327",
"dweb:/ipfs/QmRP7RH7sX1MUXFDwacLABBcVdGDoyKm36JbSfDDwXy4EW"
],
"license": "MIT"
},
"contracts/src/factory/facets/wallet-link/libraries/WalletLib.sol": {
"keccak256": "0x7fb08e8176be055adf49a1ce35e17f4cedb78c248c46c96e0583377a4e89b40b",
"urls": [
"bzz-raw://334911ec72def284ac7a61e04d5de12d7018421a756e265e2d0e411e62c097c1",
"dweb:/ipfs/QmbJzoE6Tv91psSSDz8RgcuQKtp7zxCKAhnD3TKWiyiqMP"
],
"license": "MIT"
},
"contracts/src/spaces/entitlements/IEntitlement.sol": {
"keccak256": "0x81712a4b9127000ba341966d99395917dcb4b1305eadeddd1e1ad4e562587fdd",
"urls": [
"bzz-raw://df0fcc9d7ed7489786684f5fa8375b277146969021f96f6a9feb81cb39176eca",
"dweb:/ipfs/QmbxXXeXe6AzXUL8cSoABMx2E2QbRAK2uJXd8TRnDuKSJ8"
],
"license": "MIT"
},
"contracts/src/spaces/entitlements/rule/IRuleEntitlement.sol": {
"keccak256": "0x362d73e7b5a9626ffb3c76ebd7c41cae6240ce0a8d2ec401df345814a39b303b",
"urls": [
"bzz-raw://c750b186885d1af5cda10755c8443629b270d18b221c1054a7e9344adbea7ce4",
"dweb:/ipfs/QmcwkJjGj8PGy43KRRh2c4ggcjBVD65XDsoq8H5LozTeN2"
],
"license": "MIT"
},
"contracts/src/spaces/facets/Entitled.sol": {
"keccak256": "0x50c0480d6968a5ab188da3e7ecdcf8dc099856082c4ff56ecca1c86093ccb39f",
"urls": [
"bzz-raw://aea949b398b3d735a58d5de60402b03edbb7ca39ef29c5b01d515914c3bf5b98",
"dweb:/ipfs/QmNvhewKZouEs7h9xdQyaJhoqrdczjKgweGbuvht7mwvo6"
],
"license": "MIT"
},
"contracts/src/spaces/facets/Permissions.sol": {
"keccak256": "0x0b7ad76893a8b11877f161bf8d6180230190572f8a171ff5b124570be468976e",
"urls": [
"bzz-raw://d21a0dd820441b95a17a5f6681a4a68fdf180fe90aaaa0f3e9e5800b2a247634",
"dweb:/ipfs/QmRVHasadqCqDSZRaRrddJXR23wkbVs9LQ6WcPxfDFH37x"
],
"license": "MIT"
},
"contracts/src/spaces/facets/banning/BanningBase.sol": {
"keccak256": "0x38c44494221f96568f3efb540a8a6c7af141de95f25caf26df6e8a8333f31249",
"urls": [
"bzz-raw://cf1f509347cab5090655ff8272443d18f9716fea5ef27cd86269ccbd2570aa7e",
"dweb:/ipfs/QmbF8StzLRGnVvVXWYBowvdULoPPqQkU5hZR548cnRzuVs"
],
"license": "MIT"
},
"contracts/src/spaces/facets/banning/BanningStorage.sol": {
"keccak256": "0xcfbf5c113056e569abf23158853ff4877744b22a4bf2bf49a282d04dab23ab17",
"urls": [
"bzz-raw://4f825e97ca65c9cd3bd5885d2fa8b8e5f8f0dcbe227dec064abbbab645685fbe",
"dweb:/ipfs/QmXAMntxrjzeNUKh9WcyHvzDmnV89vrJ9PkKRceqxJSxZp"
],
"license": "MIT"
},
"contracts/src/spaces/facets/banning/IBanning.sol": {
"keccak256": "0x350ec182a95a86a41335979cd7212132858c5cfcd366602b2f6cd0ec0694b63e",
"urls": [
"bzz-raw://ecb4ad0c5a1086c38448b3e279733f33edc0cc39648368e5cb43dfff139ff7e8",
"dweb:/ipfs/QmWYfYE8Haqk9kBRxmLijfQSfqbfxf7LB3wQ24d3pG5PE3"
],
"license": "MIT"
},
"contracts/src/spaces/facets/channels/ChannelService.sol": {
"keccak256": "0xd99752d8c031a33e075b257fe1863a269d470c8ad18052cdca6faeb5370d2169",
"urls": [
"bzz-raw://45bdecec56344c7cd8dceb7a47d5c66cd5b2c4e1eb006ed8b222a198e9f41f55",
"dweb:/ipfs/QmSFhLzHvYsYj3Py976SQDqzfSz3nnsyYc7hWBp61WPdjK"
],
"license": "MIT"
},
"contracts/src/spaces/facets/channels/ChannelStorage.sol": {
"keccak256": "0xeb4174513a652b1571b3a92cbefa80e9d450144e8d07bfb29c863d7d9de9313c",
"urls": [
"bzz-raw://6c3b73c84a2b4a56fcc8bd1fbaa0a8896a2dfc62a7fde07b13c6d8b05dcf8fe6",
"dweb:/ipfs/QmRPukfmps5ESAR5saLNLJp6GEg1nNCTq5qChGeAjgtLV4"
],
"license": "MIT"
},
"contracts/src/spaces/facets/delegation/WalletLinkProxyBase.sol": {
"keccak256": "0xffef403556b46744bd1833e5df57b02eb79e010841b16610e1740bc0dac929b2",
"urls": [
"bzz-raw://1afa30929e8c6b0c69528d328774c98789825a8de53e5945a1e95092bee2ad08",
"dweb:/ipfs/QmTbCqLJTBHgcMuFwWSTbrgR7uaASJqwqYuku4YkGzTWW1"
],
"license": "MIT"
},
"contracts/src/spaces/facets/delegation/WalletLinkProxyStorage.sol": {
"keccak256": "0x9667e475b9ad9f1130583840c9b0594a7512f7edd33163b926b3db21f70d9909",
"urls": [
"bzz-raw://d6271ce56258b1e9150378872d250cfaeb4501b5d0288e8f19f02096114c687f",
"dweb:/ipfs/QmXSBA2CpLL9BdvZb994JYStgB9fJfsHwgcke6gsD3zybW"
],
"license": "MIT"
},
"contracts/src/spaces/facets/dispatcher/DispatcherBase.sol": {
"keccak256": "0x581f00f13e7ee541496623d6a95657cd9a8a181f54fff27b05bfbe2b6e5f35f7",
"urls": [
"bzz-raw://6954b3beaecb9ffa0c6c81591e2c2ea66bedc241a4dac6e1152a9c029afa740d",
"dweb:/ipfs/QmUtT8Ji1oB4H6FJQQiVp1v9uQKRrABoP8PzxccvPJ3d9u"
],
"license": "MIT"
},
"contracts/src/spaces/facets/dispatcher/DispatcherStorage.sol": {
"keccak256": "0x0173a174a8241b5fee8610af734f25e92f311e4a66ad08d21c5897cc8895d543",
"urls": [
"bzz-raw://a25813aa9421f1dca29a7013f7d8be1d37d53d97791633c3c822ccb8fb42758a",
"dweb:/ipfs/QmXHKAa6G8pEm3tUsVukLzgZDuEAcsKJwpjkKhR4pRwf5v"
],
"license": "MIT"
},
"contracts/src/spaces/facets/dispatcher/IDis