183 lines
2.8 KiB
JSON
183 lines
2.8 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": "globalState",
|
|
"outputs": [
|
|
{
|
|
"name": "price",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"name": "tick",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"name": "fee",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"name": "timepointIndex",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"name": "communityFeeToken0",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"name": "communityFeeToken1",
|
|
"type": "uint16"
|
|
},
|
|
{
|
|
"name": "unlocked",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "liquidity",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint128"
|
|
}
|
|
],
|
|
"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": "dataStorageOperator",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "factory",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "totalFeeGrowth0Token",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "totalFeeGrowth1Token",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"name": "recipient",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "zeroToOne",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "amountSpecified",
|
|
"type": "int256"
|
|
},
|
|
{
|
|
"name": "limitSqrtPrice",
|
|
"type": "uint160"
|
|
},
|
|
{
|
|
"name": "data",
|
|
"type": "bytes"
|
|
}
|
|
],
|
|
"name": "swap",
|
|
"outputs": [
|
|
{
|
|
"name": "amount0",
|
|
"type": "int256"
|
|
},
|
|
{
|
|
"name": "amount1",
|
|
"type": "int256"
|
|
}
|
|
],
|
|
"type": "function"
|
|
}
|
|
]
|