257 lines
4.1 KiB
JSON
257 lines
4.1 KiB
JSON
[
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "token0",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "token1",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "fee",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint24"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "tickSpacing",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "int24"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "maxLiquidityPerTick",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "slot0",
|
|
"outputs": [
|
|
{
|
|
"name": "sqrtPriceX96",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"name": "tick",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"name": "observationIndex",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"name": "observationCardinality",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"name": "observationCardinalityNext",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"name": "feeProtocol",
|
|
"type": "uint8"
|
|
},
|
|
{
|
|
"name": "unlocked",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "feeGrowthGlobal0X128",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "feeGrowthGlobal1X128",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "liquidity",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "",
|
|
"type": "int24"
|
|
}
|
|
],
|
|
"name": "ticks",
|
|
"outputs": [
|
|
{
|
|
"name": "liquidityGross",
|
|
"type": "uint128"
|
|
},
|
|
{
|
|
"name": "liquidityNet",
|
|
"type": "int128"
|
|
},
|
|
{
|
|
"name": "feeGrowthOutside0X128",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"name": "feeGrowthOutside1X128",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"name": "tickCumulativeOutside",
|
|
"type": "int56"
|
|
},
|
|
{
|
|
"name": "secondsPerLiquidityOutsideX128",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"name": "secondsOutside",
|
|
"type": "uint32"
|
|
},
|
|
{
|
|
"name": "initialized",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "observations",
|
|
"outputs": [
|
|
{
|
|
"name": "blockTimestamp",
|
|
"type": "uint32"
|
|
},
|
|
{
|
|
"name": "tickCumulative",
|
|
"type": "int56"
|
|
},
|
|
{
|
|
"name": "secondsPerLiquidityCumulativeX128",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"name": "initialized",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "factory",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "zeroForOne",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "amountSpecified",
|
|
"type": "int256"
|
|
},
|
|
{
|
|
"name": "sqrtPriceLimitX96",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": "bytes"
|
|
}
|
|
],
|
|
"name": "swap",
|
|
"outputs": [
|
|
{
|
|
"name": "amount0",
|
|
"type": "int256"
|
|
},
|
|
{
|
|
"name": "amount1",
|
|
"type": "int256"
|
|
}
|
|
],
|
|
"type": "function"
|
|
}
|
|
]
|