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

654 lines
23 KiB
JSON

{
"id": "c55d138d24085f7985fdb645d61036d4",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.26",
"solcLongVersion": "0.8.26+commit.8a97fa7a",
"input": {
"language": "Solidity",
"sources": {
"contracts/interfaces/pool/IUniswapV3PoolImmutables.sol": {
"content": "// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity >=0.5.0;\r\n\r\n/// @title Pool state that never changes\r\n/// @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values\r\ninterface IUniswapV3PoolImmutables {\r\n /// @notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\r\n /// @return The contract address\r\n function factory() external view returns (address);\r\n\r\n /// @notice The first of the two tokens of the pool, sorted by address\r\n /// @return The token contract address\r\n function token0() external view returns (address);\r\n\r\n /// @notice The second of the two tokens of the pool, sorted by address\r\n /// @return The token contract address\r\n function token1() external view returns (address);\r\n\r\n /// @notice The pool's fee in hundredths of a bip, i.e. 1e-6\r\n /// @return The fee\r\n function fee() external view returns (uint24);\r\n\r\n /// @notice The pool tick spacing\r\n /// @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\r\n /// e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\r\n /// This value is an int24 to avoid casting even though it is always positive.\r\n /// @return The tick spacing\r\n function tickSpacing() external view returns (int24);\r\n\r\n /// @notice The maximum amount of position liquidity that can use any tick in the range\r\n /// @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\r\n /// also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\r\n /// @return The max amount of liquidity per tick\r\n function maxLiquidityPerTick() external view returns (uint128);\r\n}\r\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
},
"remappings": []
}
},
"output": {
"contracts": {
"contracts/interfaces/pool/IUniswapV3PoolImmutables.sol": {
"IUniswapV3PoolImmutables": {
"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
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"factory()": "c45a0155",
"fee()": "ddca3f43",
"maxLiquidityPerTick()": "70cf754a",
"tickSpacing()": "d0c93a7c",
"token0()": "0dfe1681",
"token1()": "d21220a7"
}
},
"metadata": "{\"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}",
"storageLayout": {
"storage": [],
"types": null
},
"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
}
}
}
},
"sources": {
"contracts/interfaces/pool/IUniswapV3PoolImmutables.sol": {
"ast": {
"absolutePath": "contracts/interfaces/pool/IUniswapV3PoolImmutables.sol",
"exportedSymbols": {
"IUniswapV3PoolImmutables": [
39
]
},
"id": 40,
"license": "GPL-2.0-or-later",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
">=",
"0.5",
".0"
],
"nodeType": "PragmaDirective",
"src": "46:24:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IUniswapV3PoolImmutables",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 2,
"nodeType": "StructuredDocumentation",
"src": "74:155:0",
"text": "@title Pool state that never changes\n @notice These parameters are fixed for a pool forever, i.e., the methods will always return the same values"
},
"fullyImplemented": false,
"id": 39,
"linearizedBaseContracts": [
39
],
"name": "IUniswapV3PoolImmutables",
"nameLocation": "239:24:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 3,
"nodeType": "StructuredDocumentation",
"src": "271:139:0",
"text": "@notice The contract that deployed the pool, which must adhere to the IUniswapV3Factory interface\n @return The contract address"
},
"functionSelector": "c45a0155",
"id": 8,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "factory",
"nameLocation": "425:7:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4,
"nodeType": "ParameterList",
"parameters": [],
"src": "432:2:0"
},
"returnParameters": {
"id": 7,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 6,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 8,
"src": "458:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 5,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "458:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "457:9:0"
},
"scope": 39,
"src": "416:51:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 9,
"nodeType": "StructuredDocumentation",
"src": "475:114:0",
"text": "@notice The first of the two tokens of the pool, sorted by address\n @return The token contract address"
},
"functionSelector": "0dfe1681",
"id": 14,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "token0",
"nameLocation": "604:6:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 10,
"nodeType": "ParameterList",
"parameters": [],
"src": "610:2:0"
},
"returnParameters": {
"id": 13,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 12,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 14,
"src": "636:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 11,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "636:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "635:9:0"
},
"scope": 39,
"src": "595:50:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 15,
"nodeType": "StructuredDocumentation",
"src": "653:115:0",
"text": "@notice The second of the two tokens of the pool, sorted by address\n @return The token contract address"
},
"functionSelector": "d21220a7",
"id": 20,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "token1",
"nameLocation": "783:6:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 16,
"nodeType": "ParameterList",
"parameters": [],
"src": "789:2:0"
},
"returnParameters": {
"id": 19,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 20,
"src": "815:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 17,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "815:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "814:9:0"
},
"scope": 39,
"src": "774:50:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 21,
"nodeType": "StructuredDocumentation",
"src": "832:85:0",
"text": "@notice The pool's fee in hundredths of a bip, i.e. 1e-6\n @return The fee"
},
"functionSelector": "ddca3f43",
"id": 26,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "fee",
"nameLocation": "932:3:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 22,
"nodeType": "ParameterList",
"parameters": [],
"src": "935:2:0"
},
"returnParameters": {
"id": 25,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 24,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 26,
"src": "961:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint24",
"typeString": "uint24"
},
"typeName": {
"id": 23,
"name": "uint24",
"nodeType": "ElementaryTypeName",
"src": "961:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint24",
"typeString": "uint24"
}
},
"visibility": "internal"
}
],
"src": "960:8:0"
},
"scope": 39,
"src": "923:46:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 27,
"nodeType": "StructuredDocumentation",
"src": "977:362:0",
"text": "@notice The pool tick spacing\n @dev Ticks can only be used at multiples of this value, minimum of 1 and always positive\n e.g.: a tickSpacing of 3 means ticks can be initialized every 3rd tick, i.e., ..., -6, -3, 0, 3, 6, ...\n This value is an int24 to avoid casting even though it is always positive.\n @return The tick spacing"
},
"functionSelector": "d0c93a7c",
"id": 32,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "tickSpacing",
"nameLocation": "1354:11:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 28,
"nodeType": "ParameterList",
"parameters": [],
"src": "1365:2:0"
},
"returnParameters": {
"id": 31,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 30,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 32,
"src": "1391:5:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_int24",
"typeString": "int24"
},
"typeName": {
"id": 29,
"name": "int24",
"nodeType": "ElementaryTypeName",
"src": "1391:5:0",
"typeDescriptions": {
"typeIdentifier": "t_int24",
"typeString": "int24"
}
},
"visibility": "internal"
}
],
"src": "1390:7:0"
},
"scope": 39,
"src": "1345:53:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"documentation": {
"id": 33,
"nodeType": "StructuredDocumentation",
"src": "1406:366:0",
"text": "@notice The maximum amount of position liquidity that can use any tick in the range\n @dev This parameter is enforced per tick to prevent liquidity from overflowing a uint128 at any point, and\n also prevents out-of-range liquidity from being used to prevent adding in-range liquidity to a pool\n @return The max amount of liquidity per tick"
},
"functionSelector": "70cf754a",
"id": 38,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "maxLiquidityPerTick",
"nameLocation": "1787:19:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 34,
"nodeType": "ParameterList",
"parameters": [],
"src": "1806:2:0"
},
"returnParameters": {
"id": 37,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 36,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 38,
"src": "1832:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint128",
"typeString": "uint128"
},
"typeName": {
"id": 35,
"name": "uint128",
"nodeType": "ElementaryTypeName",
"src": "1832:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint128",
"typeString": "uint128"
}
},
"visibility": "internal"
}
],
"src": "1831:9:0"
},
"scope": 39,
"src": "1778:63:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 40,
"src": "229:1615:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "46:1800:0"
},
"id": 0
}
}
}
}