rubic-sdk
Version:
Simplify dApp creation
106 lines • 3.09 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.UNICHAIN_UNISWAP_V3_QUOTER_V2_CONTRACT_ABI = void 0;
exports.UNICHAIN_UNISWAP_V3_QUOTER_V2_CONTRACT_ABI = [
{
inputs: [
{
internalType: 'bytes',
name: 'path',
type: 'bytes'
},
{
internalType: 'uint256',
name: 'amountIn',
type: 'uint256'
}
],
name: 'quoteExactInput',
outputs: [
{
internalType: 'uint256',
name: 'amountOut',
type: 'uint256'
},
{
internalType: 'uint160[]',
name: 'sqrtPriceX96AfterList',
type: 'uint160[]'
},
{
internalType: 'uint32[]',
name: 'initializedTicksCrossedList',
type: 'uint32[]'
},
{
internalType: 'uint256',
name: 'gasEstimate',
type: 'uint256'
}
],
stateMutability: 'nonpayable',
type: 'function'
},
{
inputs: [
{
components: [
{
internalType: 'address',
name: 'tokenIn',
type: 'address'
},
{
internalType: 'address',
name: 'tokenOut',
type: 'address'
},
{
internalType: 'uint256',
name: 'amountIn',
type: 'uint256'
},
{
internalType: 'uint24',
name: 'fee',
type: 'uint24'
},
{
internalType: 'uint160',
name: 'sqrtPriceLimitX96',
type: 'uint160'
}
],
internalType: 'struct IQuoterV2.QuoteExactInputSingleParams',
name: 'params',
type: 'tuple'
}
],
name: 'quoteExactInputSingle',
outputs: [
{
internalType: 'uint256',
name: 'amountOut',
type: 'uint256'
},
{
internalType: 'uint160',
name: 'sqrtPriceX96After',
type: 'uint160'
},
{
internalType: 'uint32',
name: 'initializedTicksCrossed',
type: 'uint32'
},
{
internalType: 'uint256',
name: 'gasEstimate',
type: 'uint256'
}
],
stateMutability: 'nonpayable',
type: 'function'
}
];
//# sourceMappingURL=quoter-v2-abi.js.map