UNPKG

@0xsplits/splits-sdk

Version:

SDK for the 0xSplits protocol

242 lines 7.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.passThroughWalletAbi = void 0; exports.passThroughWalletAbi = [ { inputs: [], stateMutability: 'nonpayable', type: 'constructor' }, { inputs: [], name: 'Paused', type: 'error' }, { inputs: [], name: 'Unauthorized', type: 'error' }, { anonymous: false, inputs: [ { components: [ { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' }, ], indexed: false, internalType: 'struct WalletImpl.Call[]', name: 'calls', type: 'tuple[]', }, ], name: 'ExecCalls', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'oldOwner', type: 'address', }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address', }, ], name: 'OwnershipTransferred', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'passThrough', type: 'address', }, { indexed: false, internalType: 'address[]', name: 'tokens', type: 'address[]', }, { indexed: false, internalType: 'uint256[]', name: 'amounts', type: 'uint256[]', }, ], name: 'PassThrough', type: 'event', }, { anonymous: false, inputs: [ { indexed: false, internalType: 'uint256', name: 'amount', type: 'uint256', }, ], name: 'ReceiveETH', type: 'event', }, { anonymous: false, inputs: [ { indexed: false, internalType: 'address', name: 'passThrough', type: 'address', }, ], name: 'SetPassThrough', type: 'event', }, { anonymous: false, inputs: [ { indexed: false, internalType: 'bool', name: 'paused', type: 'bool' }, ], name: 'SetPaused', type: 'event', }, { inputs: [ { components: [ { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'value', type: 'uint256' }, { internalType: 'bytes', name: 'data', type: 'bytes' }, ], internalType: 'struct WalletImpl.Call[]', name: 'calls_', type: 'tuple[]', }, ], name: 'execCalls', outputs: [ { internalType: 'uint256', name: 'blockNumber', type: 'uint256' }, { internalType: 'bytes[]', name: 'returnData', type: 'bytes[]' }, ], stateMutability: 'payable', type: 'function', }, { inputs: [ { components: [ { internalType: 'address', name: 'owner', type: 'address' }, { internalType: 'bool', name: 'paused', type: 'bool' }, { internalType: 'address', name: 'passThrough', type: 'address' }, ], internalType: 'struct PassThroughWalletImpl.InitParams', name: 'params_', type: 'tuple', }, ], name: 'initializer', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '', type: 'address' }, { internalType: 'address', name: '', type: 'address' }, { internalType: 'uint256[]', name: '', type: 'uint256[]' }, { internalType: 'uint256[]', name: '', type: 'uint256[]' }, { internalType: 'bytes', name: '', type: 'bytes' }, ], name: 'onERC1155BatchReceived', outputs: [{ internalType: 'bytes4', name: '', type: 'bytes4' }], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '', type: 'address' }, { internalType: 'address', name: '', type: 'address' }, { internalType: 'uint256', name: '', type: 'uint256' }, { internalType: 'uint256', name: '', type: 'uint256' }, { internalType: 'bytes', name: '', type: 'bytes' }, ], name: 'onERC1155Received', outputs: [{ internalType: 'bytes4', name: '', type: 'bytes4' }], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '', type: 'address' }, { internalType: 'address', name: '', type: 'address' }, { internalType: 'uint256', name: '', type: 'uint256' }, { internalType: 'bytes', name: '', type: 'bytes' }, ], name: 'onERC721Received', outputs: [{ internalType: 'bytes4', name: '', type: 'bytes4' }], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'owner', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'passThrough', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [{ internalType: 'address[]', name: 'tokens_', type: 'address[]' }], name: 'passThroughTokens', outputs: [ { internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }, ], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'passThroughWalletFactory', outputs: [{ internalType: 'address', name: '', type: 'address' }], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'paused', outputs: [{ internalType: 'bool', name: '', type: 'bool' }], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'address', name: 'passThrough_', type: 'address' }, ], name: 'setPassThrough', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'bool', name: 'paused_', type: 'bool' }], name: 'setPaused', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [{ internalType: 'address', name: 'owner_', type: 'address' }], name: 'transferOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, ]; //# sourceMappingURL=passThroughWallet.js.map