@river-build/generated
Version:
## How to generate contract types
407 lines (406 loc) • 7.69 kB
text/typescript
export default [
{
"type": "function",
"name": "__PlatformRequirements_init",
"inputs": [
{
"name": "feeRecipient",
"type": "address",
"internalType": "address"
},
{
"name": "membershipBps",
"type": "uint16",
"internalType": "uint16"
},
{
"name": "membershipFee",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "membershipMintLimit",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "membershipDuration",
"type": "uint64",
"internalType": "uint64"
},
{
"name": "membershipMinPrice",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getDenominator",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "pure"
},
{
"type": "function",
"name": "getFeeRecipient",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getMembershipBps",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint16",
"internalType": "uint16"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getMembershipDuration",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint64",
"internalType": "uint64"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getMembershipFee",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getMembershipMinPrice",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getMembershipMintLimit",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "setFeeRecipient",
"inputs": [
{
"name": "recipient",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setMembershipBps",
"inputs": [
{
"name": "bps",
"type": "uint16",
"internalType": "uint16"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setMembershipDuration",
"inputs": [
{
"name": "duration",
"type": "uint64",
"internalType": "uint64"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setMembershipFee",
"inputs": [
{
"name": "fee",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setMembershipMinPrice",
"inputs": [
{
"name": "minPrice",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setMembershipMintLimit",
"inputs": [
{
"name": "limit",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"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": "PlatformFeeRecipientSet",
"inputs": [
{
"name": "recipient",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PlatformMembershipBpsSet",
"inputs": [
{
"name": "bps",
"type": "uint16",
"indexed": false,
"internalType": "uint16"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PlatformMembershipDurationSet",
"inputs": [
{
"name": "duration",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PlatformMembershipFeeSet",
"inputs": [
{
"name": "fee",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PlatformMembershipMinPriceSet",
"inputs": [
{
"name": "minPrice",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "PlatformMembershipMintLimitSet",
"inputs": [
{
"name": "limit",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"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": "Ownable__NotOwner",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "Ownable__ZeroAddress",
"inputs": []
},
{
"type": "error",
"name": "Platform__InvalidFeeRecipient",
"inputs": []
},
{
"type": "error",
"name": "Platform__InvalidMembershipBps",
"inputs": []
},
{
"type": "error",
"name": "Platform__InvalidMembershipDuration",
"inputs": []
},
{
"type": "error",
"name": "Platform__InvalidMembershipMinPrice",
"inputs": []
},
{
"type": "error",
"name": "Platform__InvalidMembershipMintLimit",
"inputs": []
}
] as const