UNPKG

rubic-sdk

Version:
128 lines • 5.58 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.muteSwapAbi = void 0; exports.muteSwapAbi = [ { inputs: [ { internalType: 'uint256', name: 'amountIn', type: 'uint256' }, { internalType: 'address', name: 'tokenIn', type: 'address' }, { internalType: 'address', name: 'tokenOut', type: 'address' } ], name: 'getAmountOut', outputs: [ { internalType: 'uint256', name: 'amountOut', type: 'uint256' }, { internalType: 'bool', name: 'stable', type: 'bool' }, { internalType: 'uint256', name: 'fee', type: 'uint256' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'uint256', name: 'amountIn', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'bool[]', name: 'stable', type: 'bool[]' } ], name: 'getAmountsOut', outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'uint256', name: 'amountIn', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' } ], name: 'getAmountsOutExpanded', outputs: [ { internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }, { internalType: 'bool[]', name: 'stable', type: 'bool[]' }, { internalType: 'uint256[]', name: 'fees', type: 'uint256[]' } ], stateMutability: 'view', type: 'function' }, { inputs: [ { internalType: 'uint256', name: 'amountOutMin', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, { internalType: 'bool[]', name: 'stable', type: 'bool[]' } ], name: 'swapExactETHForTokens', outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }], stateMutability: 'payable', type: 'function' }, { inputs: [ { internalType: 'uint256', name: 'amountOutMin', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, { internalType: 'bool[]', name: 'stable', type: 'bool[]' } ], name: 'swapExactETHForTokensSupportingFeeOnTransferTokens', outputs: [], stateMutability: 'payable', type: 'function' }, { inputs: [ { internalType: 'uint256', name: 'amountIn', type: 'uint256' }, { internalType: 'uint256', name: 'amountOutMin', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, { internalType: 'bool[]', name: 'stable', type: 'bool[]' } ], name: 'swapExactTokensForETH', outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'uint256', name: 'amountIn', type: 'uint256' }, { internalType: 'uint256', name: 'amountOutMin', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, { internalType: 'bool[]', name: 'stable', type: 'bool[]' } ], name: 'swapExactTokensForETHSupportingFeeOnTransferTokens', outputs: [], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'uint256', name: 'amountIn', type: 'uint256' }, { internalType: 'uint256', name: 'amountOutMin', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, { internalType: 'bool[]', name: 'stable', type: 'bool[]' } ], name: 'swapExactTokensForTokens', outputs: [{ internalType: 'uint256[]', name: 'amounts', type: 'uint256[]' }], stateMutability: 'nonpayable', type: 'function' }, { inputs: [ { internalType: 'uint256', name: 'amountIn', type: 'uint256' }, { internalType: 'uint256', name: 'amountOutMin', type: 'uint256' }, { internalType: 'address[]', name: 'path', type: 'address[]' }, { internalType: 'address', name: 'to', type: 'address' }, { internalType: 'uint256', name: 'deadline', type: 'uint256' }, { internalType: 'bool[]', name: 'stable', type: 'bool[]' } ], name: 'swapExactTokensForTokensSupportingFeeOnTransferTokens', outputs: [], stateMutability: 'nonpayable', type: 'function' } ]; //# sourceMappingURL=mute-swap-abi.js.map