Files
mev-beta/contracts/abis/AlgebraIntegralPool.json

191 lines
2.9 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": "lastFee",
"type": "uint16"
},
{
"name": "pluginConfig",
"type": "uint8"
},
{
"name": "communityFee",
"type": "uint16"
},
{
"name": "unlocked",
"type": "bool"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "fee",
"outputs": [
{
"name": "currentFee",
"type": "uint16"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "feeZto0",
"outputs": [
{
"name": "",
"type": "uint16"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "fee0to1",
"outputs": [
{
"name": "",
"type": "uint16"
}
],
"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": "plugin",
"outputs": [
{
"name": "",
"type": "address"
}
],
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "factory",
"outputs": [
{
"name": "",
"type": "address"
}
],
"type": "function"
},
{
"inputs": [
{
"name": "recipient",
"type": "address"
},
{
"name": "zeroToOne",
"type": "bool"
},
{
"name": "amountRequired",
"type": "int256"
},
{
"name": "limitSqrtPrice",
"type": "uint160"
},
{
"name": "data",
"type": "bytes"
}
],
"name": "swap",
"outputs": [
{
"name": "amount0",
"type": "int256"
},
{
"name": "amount1",
"type": "int256"
}
],
"type": "function"
}
]