Quote ABI
export quoteABI = [
{
type: 'function',
stateMutability: 'nonpayable',
outputs: [
{ type: 'uint256', name: 'amountOut', internalType: 'uint256' },
{
type: 'uint160[]',
name: 'sqrtPriceX96AfterList',
internalType: 'uint160[]',
},
{
type: 'uint32[]',
name: 'initializedTicksCrossedList',
internalType: 'uint32[]',
},
{
type: 'uint256',
name: 'gasEstimate',
internalType: 'uint256',
},
],
name: 'quoteExactInput',
inputs: [
{ type: 'bytes', name: 'path', internalType: 'bytes' },
{ type: 'uint256', name: 'amountIn', internalType: 'uint256' },
],
},
{
type: 'function',
stateMutability: 'nonpayable',
outputs: [
{ type: 'uint256', name: 'amountIn', internalType: 'uint256' },
{
type: 'uint160[]',
name: 'sqrtPriceX96AfterList',
internalType: 'uint160[]',
},
{
type: 'uint32[]',
name: 'initializedTicksCrossedList',
internalType: 'uint32[]',
},
{
type: 'uint256',
name: 'gasEstimate',
internalType: 'uint256',
},
],
name: 'quoteExactOutput',
inputs: [
{ type: 'bytes', name: 'path', internalType: 'bytes' },
{ type: 'uint256', name: 'amountOut', internalType: 'uint256' },
],
}
] as const
Last updated