UNPKG

rubic-sdk

Version:
102 lines 4.29 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AVAX_ABI = void 0; exports.AVAX_ABI = [ { type: 'function', stateMutability: 'view', outputs: [{ type: 'uint256[]', name: 'amounts', internalType: 'uint256[]' }], name: 'getAmountsIn', inputs: [ { type: 'uint256', name: 'amountOut', internalType: 'uint256' }, { type: 'address[]', name: 'path', internalType: 'address[]' } ] }, { type: 'function', stateMutability: 'view', outputs: [{ type: 'uint256[]', name: 'amounts', internalType: 'uint256[]' }], name: 'getAmountsOut', inputs: [ { type: 'uint256', name: 'amountIn', internalType: 'uint256' }, { type: 'address[]', name: 'path', internalType: 'address[]' } ] }, { type: 'function', stateMutability: 'payable', outputs: [{ type: 'uint256[]', name: 'amounts', internalType: 'uint256[]' }], name: 'swapExactAVAXForTokens', inputs: [ { type: 'uint256', name: 'amountOutMin', internalType: 'uint256' }, { type: 'address[]', name: 'path', internalType: 'address[]' }, { type: 'address', name: 'to', internalType: 'address' }, { type: 'uint256', name: 'deadline', internalType: 'uint256' } ] }, { type: 'function', stateMutability: 'payable', outputs: [], name: 'swapExactAVAXForTokensSupportingFeeOnTransferTokens', inputs: [ { type: 'uint256', name: 'amountOutMin', internalType: 'uint256' }, { type: 'address[]', name: 'path', internalType: 'address[]' }, { type: 'address', name: 'to', internalType: 'address' }, { type: 'uint256', name: 'deadline', internalType: 'uint256' } ] }, { type: 'function', stateMutability: 'nonpayable', outputs: [{ type: 'uint256[]', name: 'amounts', internalType: 'uint256[]' }], name: 'swapExactTokensForAVAX', inputs: [ { type: 'uint256', name: 'amountIn', internalType: 'uint256' }, { type: 'uint256', name: 'amountOutMin', internalType: 'uint256' }, { type: 'address[]', name: 'path', internalType: 'address[]' }, { type: 'address', name: 'to', internalType: 'address' }, { type: 'uint256', name: 'deadline', internalType: 'uint256' } ] }, { type: 'function', stateMutability: 'nonpayable', outputs: [], name: 'swapExactTokensForAVAXSupportingFeeOnTransferTokens', inputs: [ { type: 'uint256', name: 'amountIn', internalType: 'uint256' }, { type: 'uint256', name: 'amountOutMin', internalType: 'uint256' }, { type: 'address[]', name: 'path', internalType: 'address[]' }, { type: 'address', name: 'to', internalType: 'address' }, { type: 'uint256', name: 'deadline', internalType: 'uint256' } ] }, { type: 'function', stateMutability: 'nonpayable', outputs: [{ type: 'uint256[]', name: 'amounts', internalType: 'uint256[]' }], name: 'swapExactTokensForTokens', inputs: [ { type: 'uint256', name: 'amountIn', internalType: 'uint256' }, { type: 'uint256', name: 'amountOutMin', internalType: 'uint256' }, { type: 'address[]', name: 'path', internalType: 'address[]' }, { type: 'address', name: 'to', internalType: 'address' }, { type: 'uint256', name: 'deadline', internalType: 'uint256' } ] }, { type: 'function', stateMutability: 'nonpayable', outputs: [], name: 'swapExactTokensForTokensSupportingFeeOnTransferTokens', inputs: [ { type: 'uint256', name: 'amountIn', internalType: 'uint256' }, { type: 'uint256', name: 'amountOutMin', internalType: 'uint256' }, { type: 'address[]', name: 'path', internalType: 'address[]' }, { type: 'address', name: 'to', internalType: 'address' }, { type: 'uint256', name: 'deadline', internalType: 'uint256' } ] } ]; //# sourceMappingURL=avax-abi.js.map