@infy-protocol/sdk
Version:
Lend and rent any ERC721s and ERC1155s on supported mainnet and testnet.
248 lines (247 loc) • 4.42 kB
text/typescript
export const RevenueSharedConfiguratorAbi = [
{
inputs: [
{
internalType: 'address',
name: '_admin',
type: 'address',
},
{
internalType: 'uint256',
name: '_defaultFee',
type: 'uint256',
},
],
stateMutability: 'nonpayable',
type: 'constructor',
},
{
inputs: [],
name: 'admin',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: '_index',
type: 'uint256',
},
],
name: 'allowedNFTsAtIndex',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'allowedNFTsLength',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'defaultFee',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [],
name: 'deployer',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'uint8',
name: 'i',
type: 'uint8',
},
],
name: 'getPaymentOption',
outputs: [
{
internalType: 'address',
name: '',
type: 'address',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_nftAddress',
type: 'address',
},
],
name: 'getProtocolFeeForNFT',
outputs: [
{
internalType: 'uint256',
name: '',
type: 'uint256',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_nftAddress',
type: 'address',
},
],
name: 'isNFTAllowedForRevenueSharedRenting',
outputs: [
{
internalType: 'bool',
name: '',
type: 'bool',
},
],
stateMutability: 'view',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_nftAddress',
type: 'address',
},
],
name: 'removeSeparateProtocolFeeForNFT',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_newAdmin',
type: 'address',
},
],
name: 'setAdmin',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'uint256',
name: '_defaultFee',
type: 'uint256',
},
],
name: 'setDefaultFee',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_nftAddress',
type: 'address',
},
],
name: 'setNFTAllowedForRevenueSharedRenting',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_nftAddress',
type: 'address',
},
],
name: 'setNFTDisallowedForRevenueSharedRenting',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'uint8',
name: '_i',
type: 'uint8',
},
{
internalType: 'address',
name: '_value',
type: 'address',
},
],
name: 'setPaymentOption',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
{
inputs: [
{
internalType: 'address',
name: '_nftAddress',
type: 'address',
},
{
internalType: 'uint256',
name: '_fee',
type: 'uint256',
},
],
name: 'setProtocolFeeForNFT',
outputs: [],
stateMutability: 'nonpayable',
type: 'function',
},
];