UNPKG

@shogun-sdk/money-legos

Version:

Shogun Money Legos: clients and types for quotes, memes, prices, balances, fees, validations, etc.

227 lines (226 loc) 4.21 kB
export const SHOGUN_MULTICALL_V1_ABI = [ { inputs: [ { internalType: 'address', name: 'initialOwner', type: 'address', }, ], stateMutability: 'nonpayable', type: 'constructor', }, { inputs: [ { internalType: 'uint256', name: 'received', type: 'uint256', }, ], name: 'BelowAmountOutMin', type: 'error', }, { inputs: [ { internalType: 'uint256', name: 'index', type: 'uint256', }, { internalType: 'bytes', name: 'errorData', type: 'bytes', }, ], name: 'CallFailed', type: 'error', }, { inputs: [ { internalType: 'uint32', name: 'startIndex', type: 'uint32', }, { internalType: 'uint32', name: 'calldataLength', type: 'uint32', }, ], name: 'InvalidIndex', type: 'error', }, { inputs: [ { internalType: 'address', name: 'owner', type: 'address', }, ], name: 'OwnableInvalidOwner', type: 'error', }, { inputs: [ { internalType: 'address', name: 'account', type: 'address', }, ], name: 'OwnableUnauthorizedAccount', type: 'error', }, { inputs: [ { internalType: 'address', name: 'token', type: 'address', }, ], name: 'SafeERC20FailedOperation', type: 'error', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'previousOwner', type: 'address', }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address', }, ], name: 'OwnershipTransferred', type: 'event', }, { inputs: [ { internalType: 'contract IERC20', name: 'token', type: 'address', }, { internalType: 'address', name: 'receiver', type: 'address', }, ], name: 'emergencyERC20Recover', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address payable', name: 'receiver', type: 'address', }, ], name: 'emergencyEthRecover', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { components: [ { internalType: 'CallParams.Params', name: 'params', type: 'bytes32', }, { internalType: 'address', name: 'target', type: 'address', }, { internalType: 'uint256', name: 'msgValue', type: 'uint256', }, { internalType: 'bytes', name: 'data', type: 'bytes', }, ], internalType: 'struct IShogunMulticallV1.Call[]', name: 'calls', type: 'tuple[]', }, { internalType: 'address', name: 'swapTokenOut', type: 'address', }, { internalType: 'address', name: 'swapDestination', type: 'address', }, { internalType: 'uint256', name: 'swapAmountOutMin', type: 'uint256', }, ], name: 'multicall', outputs: [], stateMutability: 'payable', type: 'function', }, { inputs: [], name: 'owner', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'renounceOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: 'newOwner', type: 'address', }, ], name: 'transferOwnership', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { stateMutability: 'payable', type: 'receive', }, ] as const;