UNPKG

@0xsplits/splits-sdk

Version:

SDK for the 0xSplits protocol

315 lines 9.93 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ls1155CloneAbi = void 0; exports.ls1155CloneAbi = [ { inputs: [{ internalType: 'address', name: '_splitMain', type: 'address' }], stateMutability: 'nonpayable', type: 'constructor', }, { inputs: [ { internalType: 'uint256', name: 'accountsLength', type: 'uint256' }, { internalType: 'uint256', name: 'allocationsLength', type: 'uint256' }, ], name: 'InvalidLiquidSplit__AccountsAndAllocationsMismatch', type: 'error', }, { inputs: [ { internalType: 'uint32', name: 'allocationsSum', type: 'uint32' }, ], name: 'InvalidLiquidSplit__InvalidAllocationsSum', type: 'error', }, { inputs: [], name: 'Unauthorized', type: 'error' }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'owner', type: 'address', }, { indexed: true, internalType: 'address', name: 'operator', type: 'address', }, { indexed: false, internalType: 'bool', name: 'approved', type: 'bool' }, ], name: 'ApprovalForAll', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'user', type: 'address' }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address', }, ], name: 'OwnershipTransferred', type: 'event', }, { anonymous: false, inputs: [ { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256', }, ], name: 'ReceiveETH', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'operator', type: 'address', }, { indexed: true, internalType: 'address', name: 'from', type: 'address' }, { indexed: true, internalType: 'address', name: 'to', type: 'address' }, { indexed: false, internalType: 'uint256[]', name: 'ids', type: 'uint256[]', }, { indexed: false, internalType: 'uint256[]', name: 'amounts', type: 'uint256[]', }, ], name: 'TransferBatch', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'operator', type: 'address', }, { indexed: true, internalType: 'address', name: 'from', type: 'address' }, { indexed: true, internalType: 'address', name: 'to', type: 'address' }, { indexed: false, internalType: 'uint256', name: 'id', type: 'uint256' }, { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256', }, ], name: 'TransferSingle', type: 'event', }, { anonymous: false, inputs: [ { indexed: false, internalType: 'string', name: 'value', type: 'string' }, { indexed: true, internalType: 'uint256', name: 'id', type: 'uint256' }, ], name: 'URI', type: 'event', }, { inputs: [], name: 'PERCENTAGE_SCALE', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'SUPPLY_TO_PERCENTAGE', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'TOTAL_SUPPLY', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: '', type: 'address' }, { internalType: 'uint256', name: '', type: 'uint256' }, ], name: 'balanceOf', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address[]', name: 'owners', type: 'address[]' }, { internalType: 'uint256[]', name: 'ids', type: 'uint256[]' }, ], name: 'balanceOfBatch', outputs: [ { internalType: 'uint256[]', name: 'balances', type: 'uint256[]' }, ], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: 'token', type: 'address' }, { internalType: 'address[]', name: 'accounts', type: 'address[]' }, { internalType: 'address', name: 'distributorAddress', type: 'address' }, ], name: 'distributeFunds', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'distributorFee', outputs: [{ internalType: 'uint32', name: '', type: 'uint32' }], stateMutability: 'pure', type: 'function', }, { inputs: [ { internalType: 'address[]', name: 'accounts', type: 'address[]' }, { internalType: 'uint32[]', name: 'initAllocations', type: 'uint32[]' }, { internalType: 'address', name: '_owner', type: 'address' }, ], name: 'initializer', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '', type: 'address' }, { internalType: 'address', name: '', type: 'address' }, ], name: 'isApprovedForAll', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'mintedOnTimestamp', outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], stateMutability: 'pure', type: 'function', }, { inputs: [], name: 'name', outputs: [{ internalType: 'string', name: '', type: 'string' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'owner', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'payoutSplit', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: 'from', type: 'address' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256[]', name: 'ids', type: 'uint256[]' }, { internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }, { internalType: 'bytes', name: 'data', type: 'bytes' }, ], name: 'safeBatchTransferFrom', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: 'from', type: 'address' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'id', type: 'uint256' }, { internalType: 'uint256', name: 'amount', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' }, ], name: 'safeTransferFrom', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'account', type: 'address' }], name: 'scaledPercentBalanceOf', outputs: [{ internalType: 'uint32', name: '', type: 'uint32' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: 'operator', type: 'address' }, { internalType: 'bool', name: 'approved', type: 'bool' }, ], name: 'setApprovalForAll', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'splitMain', outputs: [ { internalType: 'contract ISplitMain', name: '', type: 'address' }, ], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' }], name: 'supportsInterface', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'address', name: 'newOwner', type: 'address' }], name: 'transferOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'uint256', name: '', type: 'uint256' }], name: 'uri', outputs: [{ internalType: 'string', name: '', type: 'string' }], stateMutability: 'view', type: 'function', }, ]; //# sourceMappingURL=ls1155Clone.js.map