{ "abi": [ { "inputs": [], "name": "WETH9", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "factory", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "bytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} }, "deployedBytecode": { "object": "0x", "sourceMap": "", "linkReferences": {} }, "methodIdentifiers": { "WETH9()": "4aa4a4fc", "factory()": "c45a0155" }, "rawMetadata": "{\"compiler\":{\"version\":\"0.8.22+commit.4fc1097e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"WETH9\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"WETH9()\":{\"returns\":{\"_0\":\"Returns the address of WETH9\"}},\"factory()\":{\"returns\":{\"_0\":\"Returns the address of the Uniswap V3 factory\"}}},\"title\":\"Immutable state\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Functions that return immutable state of the router\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"lib_uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol\":\"IPeripheryImmutableState\"},\"evmVersion\":\"paris\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"details\":{\"constantOptimizer\":true,\"cse\":true,\"deduplicate\":true,\"inliner\":true,\"jumpdestRemover\":true,\"orderLiterals\":true,\"peephole\":true,\"simpleCounterForLoopUncheckedIncrement\":true,\"yul\":true,\"yulDetails\":{\"optimizerSteps\":\"dhfoD[xarrscLMcCTU]uljmul:fDnTOcmu\",\"stackAllocation\":true}},\"runs\":999999999},\"remappings\":[\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@uniswap/v3-core/=lib_uniswap/v3-core/\",\":@uniswap/v3-periphery/=lib_uniswap/v3-periphery/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":forge-std/=lib/forge-std/src/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":v3-core/=lib_uniswap/v3-core/\",\":v3-periphery/libraries/=lib_uniswap/v3-periphery/contracts/libraries/\"]},\"sources\":{\"lib_uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol\":{\"keccak256\":\"0x7affcfeb5127c0925a71d6a65345e117c33537523aeca7bc98085ead8452519d\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://e16b291294210e71cb0f20cd0afe62ae2dc6878d627f5ccc19c4dc9cd80aec3f\",\"dweb:/ipfs/QmQGitSyBr26nour81BZmpmDMyJpvZRqHQZvnCD1Acb127\"]}},\"version\":1}", "metadata": { "compiler": { "version": "0.8.22+commit.4fc1097e" }, "language": "Solidity", "output": { "abi": [ { "inputs": [], "stateMutability": "view", "type": "function", "name": "WETH9", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ] }, { "inputs": [], "stateMutability": "view", "type": "function", "name": "factory", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ] } ], "devdoc": { "kind": "dev", "methods": { "WETH9()": { "returns": { "_0": "Returns the address of WETH9" } }, "factory()": { "returns": { "_0": "Returns the address of the Uniswap V3 factory" } } }, "version": 1 }, "userdoc": { "kind": "user", "methods": {}, "version": 1 } }, "settings": { "remappings": [ "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "@uniswap/v3-core/=lib_uniswap/v3-core/", "@uniswap/v3-periphery/=lib_uniswap/v3-periphery/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "v3-core/=lib_uniswap/v3-core/", "v3-periphery/libraries/=lib_uniswap/v3-periphery/contracts/libraries/" ], "optimizer": { "runs": 999999999, "details": { "peephole": true, "inliner": true, "jumpdestRemover": true, "orderLiterals": true, "deduplicate": true, "cse": true, "constantOptimizer": true, "yul": true, "yulDetails": { "stackAllocation": true, "optimizerSteps": "dhfoD[xarrscLMcCTU]uljmul:fDnTOcmu" } } }, "metadata": { "bytecodeHash": "ipfs" }, "compilationTarget": { "lib_uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol": "IPeripheryImmutableState" }, "libraries": {} }, "sources": { "lib_uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol": { "keccak256": "0x7affcfeb5127c0925a71d6a65345e117c33537523aeca7bc98085ead8452519d", "urls": [ "bzz-raw://e16b291294210e71cb0f20cd0afe62ae2dc6878d627f5ccc19c4dc9cd80aec3f", "dweb:/ipfs/QmQGitSyBr26nour81BZmpmDMyJpvZRqHQZvnCD1Acb127" ], "license": "GPL-2.0-or-later" } }, "version": 1 }, "ast": { "absolutePath": "lib_uniswap/v3-periphery/contracts/interfaces/IPeripheryImmutableState.sol", "id": 45310, "exportedSymbols": { "IPeripheryImmutableState": [ 45309 ] }, "nodeType": "SourceUnit", "src": "45:374:41", "nodes": [ { "id": 45295, "nodeType": "PragmaDirective", "src": "45:24:41", "nodes": [], "literals": [ "solidity", ">=", "0.5", ".0" ] }, { "id": 45309, "nodeType": "ContractDefinition", "src": "162:256:41", "nodes": [ { "id": 45302, "nodeType": "FunctionDefinition", "src": "265:51:41", "nodes": [], "documentation": { "id": 45297, "nodeType": "StructuredDocumentation", "src": "203:57:41", "text": "@return Returns the address of the Uniswap V3 factory" }, "functionSelector": "c45a0155", "implemented": false, "kind": "function", "modifiers": [], "name": "factory", "nameLocation": "274:7:41", "parameters": { "id": 45298, "nodeType": "ParameterList", "parameters": [], "src": "281:2:41" }, "returnParameters": { "id": 45301, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 45300, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 45302, "src": "307:7:41", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 45299, "name": "address", "nodeType": "ElementaryTypeName", "src": "307:7:41", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "306:9:41" }, "scope": 45309, "stateMutability": "view", "virtual": false, "visibility": "external" }, { "id": 45308, "nodeType": "FunctionDefinition", "src": "367:49:41", "nodes": [], "documentation": { "id": 45303, "nodeType": "StructuredDocumentation", "src": "322:40:41", "text": "@return Returns the address of WETH9" }, "functionSelector": "4aa4a4fc", "implemented": false, "kind": "function", "modifiers": [], "name": "WETH9", "nameLocation": "376:5:41", "parameters": { "id": 45304, "nodeType": "ParameterList", "parameters": [], "src": "381:2:41" }, "returnParameters": { "id": 45307, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 45306, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 45308, "src": "407:7:41", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 45305, "name": "address", "nodeType": "ElementaryTypeName", "src": "407:7:41", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "406:9:41" }, "scope": 45309, "stateMutability": "view", "virtual": false, "visibility": "external" } ], "abstract": false, "baseContracts": [], "canonicalName": "IPeripheryImmutableState", "contractDependencies": [], "contractKind": "interface", "documentation": { "id": 45296, "nodeType": "StructuredDocumentation", "src": "71:91:41", "text": "@title Immutable state\n @notice Functions that return immutable state of the router" }, "fullyImplemented": false, "linearizedBaseContracts": [ 45309 ], "name": "IPeripheryImmutableState", "nameLocation": "172:24:41", "scope": 45310, "usedErrors": [], "usedEvents": [] } ], "license": "GPL-2.0-or-later" }, "id": 41 }