open-dex/contracts/interfaces/pool/artifacts/IUniswapV3PoolImmutables_metadata.json
2024-08-24 12:08:46 +03:00

178 lines
4.0 KiB
JSON

{
"compiler": {
"version": "0.8.26+commit.8a97fa7a"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"name": "factory",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "fee",
"outputs": [
{
"internalType": "uint24",
"name": "",
"type": "uint24"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "maxLiquidityPerTick",
"outputs": [
{
"internalType": "uint128",
"name": "",
"type": "uint128"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "tickSpacing",
"outputs": [
{
"internalType": "int24",
"name": "",
"type": "int24"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "token0",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "token1",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {
"factory()": {
"returns": {
"_0": "The contract address"
}
},
"fee()": {
"returns": {
"_0": "The fee"
}
},
"maxLiquidityPerTick()": {
"details": "This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool",
"returns": {
"_0": "The max amount of liquidity per tick"
}
},
"tickSpacing()": {
"details": "Ticks can only be used at multiples of this value, minimum of 1 and always positive e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ... This value is an int24 to avoid casting even though it is always positive.",
"returns": {
"_0": "The tick spacing"
}
},
"token0()": {
"returns": {
"_0": "The token contract address"
}
},
"token1()": {
"returns": {
"_0": "The token contract address"
}
}
},
"title": "Pool state that never changes",
"version": 1
},
"userdoc": {
"kind": "user",
"methods": {
"factory()": {
"notice": "The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface"
},
"fee()": {
"notice": "The pool's fee in hundredths of a bip, i.e. 1e-6"
},
"maxLiquidityPerTick()": {
"notice": "The maximum amount of position liquidity that can use any tick in the range"
},
"tickSpacing()": {
"notice": "The pool tick spacing"
},
"token0()": {
"notice": "The first of the two tokens of the pool, sorted by address"
},
"token1()": {
"notice": "The second of the two tokens of the pool, sorted by address"
}
},
"notice": "These parameters are fixed for a pool forever, i.e., the methods will always return the same values",
"version": 1
}
},
"settings": {
"compilationTarget": {
"contracts/interfaces/pool/IUniswapV3PoolImmutables.sol": "IUniswapV3PoolImmutables"
},
"evmVersion": "cancun",
"libraries": {},
"metadata": {
"bytecodeHash": "ipfs"
},
"optimizer": {
"enabled": false,
"runs": 200
},
"remappings": []
},
"sources": {
"contracts/interfaces/pool/IUniswapV3PoolImmutables.sol": {
"keccak256": "0x4c110f8100d8bdd61abfa008dc37dc5f98c12b5b25222ac8ac8bf99ced935300",
"license": "GPL-2.0-or-later",
"urls": [
"bzz-raw://ef3fd138626582293a67630e3aeb17065bcc04fb018255ff89c459a81e3bd8da",
"dweb:/ipfs/QmV7q5EoCzNJsZGkozzb55b1iM6F1kinSKrYdARf2ZkCGb"
]
}
},
"version": 1
}