755 lines
24 KiB
JSON
755 lines
24 KiB
JSON
{
|
|
"id": "b55ad95307b136c836adc9a0bc70b9f6",
|
|
"_format": "hh-sol-build-info-1",
|
|
"solcVersion": "0.8.26",
|
|
"solcLongVersion": "0.8.26+commit.8a97fa7a",
|
|
"input": {
|
|
"language": "Solidity",
|
|
"sources": {
|
|
"contracts/base/PeripheryImmutableState.sol": {
|
|
"content": "// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity =0.8.26;\r\n\r\nimport '../interfaces/IPeripheryImmutableState.sol';\r\n\r\n/// @title Immutable state\r\n/// @notice Immutable state used by periphery contracts\r\nabstract contract PeripheryImmutableState is IPeripheryImmutableState {\r\n /// @inheritdoc IPeripheryImmutableState\r\n address public immutable override factory;\r\n /// @inheritdoc IPeripheryImmutableState\r\n address public immutable override WETH9;\r\n\r\n constructor(address _factory, address _WETH9) {\r\n factory = _factory;\r\n WETH9 = _WETH9;\r\n }\r\n}\r\n"
|
|
},
|
|
"contracts/interfaces/IPeripheryImmutableState.sol": {
|
|
"content": "// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity >=0.5.0;\r\n\r\n/// @title Immutable state\r\n/// @notice Functions that return immutable state of the router\r\ninterface IPeripheryImmutableState {\r\n /// @return Returns the address of the Uniswap V3 factory\r\n function factory() external view returns (address);\r\n\r\n /// @return Returns the address of WETH9\r\n function WETH9() external view returns (address);\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/base/PeripheryImmutableState.sol": {
|
|
"PeripheryImmutableState": {
|
|
"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": {},
|
|
"stateVariables": {
|
|
"WETH9": {
|
|
"return": "Returns the address of WETH9",
|
|
"returns": {
|
|
"_0": "Returns the address of WETH9"
|
|
}
|
|
},
|
|
"factory": {
|
|
"return": "Returns the address of the Uniswap V3 factory",
|
|
"returns": {
|
|
"_0": "Returns the address of the Uniswap V3 factory"
|
|
}
|
|
}
|
|
},
|
|
"title": "Immutable state",
|
|
"version": 1
|
|
},
|
|
"evm": {
|
|
"assembly": "",
|
|
"bytecode": {
|
|
"functionDebugData": {},
|
|
"generatedSources": [],
|
|
"linkReferences": {},
|
|
"object": "",
|
|
"opcodes": "",
|
|
"sourceMap": ""
|
|
},
|
|
"deployedBytecode": {
|
|
"functionDebugData": {},
|
|
"generatedSources": [],
|
|
"immutableReferences": {},
|
|
"linkReferences": {},
|
|
"object": "",
|
|
"opcodes": "",
|
|
"sourceMap": ""
|
|
},
|
|
"gasEstimates": null,
|
|
"legacyAssembly": null,
|
|
"methodIdentifiers": {
|
|
"WETH9()": "4aa4a4fc",
|
|
"factory()": "c45a0155"
|
|
}
|
|
},
|
|
"metadata": "{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"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\":{},\"stateVariables\":{\"WETH9\":{\"return\":\"Returns the address of WETH9\",\"returns\":{\"_0\":\"Returns the address of WETH9\"}},\"factory\":{\"return\":\"Returns the address of the Uniswap V3 factory\",\"returns\":{\"_0\":\"Returns the address of the Uniswap V3 factory\"}}},\"title\":\"Immutable state\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"Immutable state used by periphery contracts\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/base/PeripheryImmutableState.sol\":\"PeripheryImmutableState\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/base/PeripheryImmutableState.sol\":{\"keccak256\":\"0x04488a49f7026e7dbf7ed43518d5da3f4158975d002dc0209561792e25ed7c80\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://ec747c304a69d530ef3d3d2da6caef48f276a00eabe2f47079db2f4b14d86e00\",\"dweb:/ipfs/QmVBhtwsAB6FkV3FZkzM2nVruTmVJU4bwz5LxUStwLvECs\"]},\"contracts/interfaces/IPeripheryImmutableState.sol\":{\"keccak256\":\"0x23bb9671c6188fe826d384acb88182efc75c55ee7b6e7c5792de8f26581f0390\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://eb0b086015acc6d97e15e71a406e5ba393d188df878c71eaeb98b6ce4c99a353\",\"dweb:/ipfs/QmWvXDAjebKmEJcvoB7S7e981zcvLvMLT11BLZZMf7D2rL\"]}},\"version\":1}",
|
|
"storageLayout": {
|
|
"storage": [],
|
|
"types": null
|
|
},
|
|
"userdoc": {
|
|
"kind": "user",
|
|
"methods": {},
|
|
"notice": "Immutable state used by periphery contracts",
|
|
"version": 1
|
|
}
|
|
}
|
|
},
|
|
"contracts/interfaces/IPeripheryImmutableState.sol": {
|
|
"IPeripheryImmutableState": {
|
|
"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
|
|
},
|
|
"evm": {
|
|
"assembly": "",
|
|
"bytecode": {
|
|
"functionDebugData": {},
|
|
"generatedSources": [],
|
|
"linkReferences": {},
|
|
"object": "",
|
|
"opcodes": "",
|
|
"sourceMap": ""
|
|
},
|
|
"deployedBytecode": {
|
|
"functionDebugData": {},
|
|
"generatedSources": [],
|
|
"immutableReferences": {},
|
|
"linkReferences": {},
|
|
"object": "",
|
|
"opcodes": "",
|
|
"sourceMap": ""
|
|
},
|
|
"gasEstimates": null,
|
|
"legacyAssembly": null,
|
|
"methodIdentifiers": {
|
|
"WETH9()": "4aa4a4fc",
|
|
"factory()": "c45a0155"
|
|
}
|
|
},
|
|
"metadata": "{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"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\":{\"contracts/interfaces/IPeripheryImmutableState.sol\":\"IPeripheryImmutableState\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IPeripheryImmutableState.sol\":{\"keccak256\":\"0x23bb9671c6188fe826d384acb88182efc75c55ee7b6e7c5792de8f26581f0390\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://eb0b086015acc6d97e15e71a406e5ba393d188df878c71eaeb98b6ce4c99a353\",\"dweb:/ipfs/QmWvXDAjebKmEJcvoB7S7e981zcvLvMLT11BLZZMf7D2rL\"]}},\"version\":1}",
|
|
"storageLayout": {
|
|
"storage": [],
|
|
"types": null
|
|
},
|
|
"userdoc": {
|
|
"kind": "user",
|
|
"methods": {},
|
|
"notice": "Functions that return immutable state of the router",
|
|
"version": 1
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"sources": {
|
|
"contracts/base/PeripheryImmutableState.sol": {
|
|
"ast": {
|
|
"absolutePath": "contracts/base/PeripheryImmutableState.sol",
|
|
"exportedSymbols": {
|
|
"IPeripheryImmutableState": [
|
|
46
|
|
],
|
|
"PeripheryImmutableState": [
|
|
30
|
|
]
|
|
},
|
|
"id": 31,
|
|
"license": "GPL-2.0-or-later",
|
|
"nodeType": "SourceUnit",
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"literals": [
|
|
"solidity",
|
|
"=",
|
|
"0.8",
|
|
".26"
|
|
],
|
|
"nodeType": "PragmaDirective",
|
|
"src": "46:24:0"
|
|
},
|
|
{
|
|
"absolutePath": "contracts/interfaces/IPeripheryImmutableState.sol",
|
|
"file": "../interfaces/IPeripheryImmutableState.sol",
|
|
"id": 2,
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "ImportDirective",
|
|
"scope": 31,
|
|
"sourceUnit": 47,
|
|
"src": "74:52:0",
|
|
"symbolAliases": [],
|
|
"unitAlias": ""
|
|
},
|
|
{
|
|
"abstract": true,
|
|
"baseContracts": [
|
|
{
|
|
"baseName": {
|
|
"id": 4,
|
|
"name": "IPeripheryImmutableState",
|
|
"nameLocations": [
|
|
"260:24:0"
|
|
],
|
|
"nodeType": "IdentifierPath",
|
|
"referencedDeclaration": 46,
|
|
"src": "260:24:0"
|
|
},
|
|
"id": 5,
|
|
"nodeType": "InheritanceSpecifier",
|
|
"src": "260:24:0"
|
|
}
|
|
],
|
|
"canonicalName": "PeripheryImmutableState",
|
|
"contractDependencies": [],
|
|
"contractKind": "contract",
|
|
"documentation": {
|
|
"id": 3,
|
|
"nodeType": "StructuredDocumentation",
|
|
"src": "130:85:0",
|
|
"text": "@title Immutable state\n @notice Immutable state used by periphery contracts"
|
|
},
|
|
"fullyImplemented": true,
|
|
"id": 30,
|
|
"linearizedBaseContracts": [
|
|
30,
|
|
46
|
|
],
|
|
"name": "PeripheryImmutableState",
|
|
"nameLocation": "233:23:0",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes": [
|
|
{
|
|
"baseFunctions": [
|
|
39
|
|
],
|
|
"constant": false,
|
|
"documentation": {
|
|
"id": 6,
|
|
"nodeType": "StructuredDocumentation",
|
|
"src": "292:40:0",
|
|
"text": "@inheritdoc IPeripheryImmutableState"
|
|
},
|
|
"functionSelector": "c45a0155",
|
|
"id": 9,
|
|
"mutability": "immutable",
|
|
"name": "factory",
|
|
"nameLocation": "372:7:0",
|
|
"nodeType": "VariableDeclaration",
|
|
"overrides": {
|
|
"id": 8,
|
|
"nodeType": "OverrideSpecifier",
|
|
"overrides": [],
|
|
"src": "363:8:0"
|
|
},
|
|
"scope": 30,
|
|
"src": "338:41:0",
|
|
"stateVariable": true,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 7,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "338:7:0",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"baseFunctions": [
|
|
45
|
|
],
|
|
"constant": false,
|
|
"documentation": {
|
|
"id": 10,
|
|
"nodeType": "StructuredDocumentation",
|
|
"src": "386:40:0",
|
|
"text": "@inheritdoc IPeripheryImmutableState"
|
|
},
|
|
"functionSelector": "4aa4a4fc",
|
|
"id": 13,
|
|
"mutability": "immutable",
|
|
"name": "WETH9",
|
|
"nameLocation": "466:5:0",
|
|
"nodeType": "VariableDeclaration",
|
|
"overrides": {
|
|
"id": 12,
|
|
"nodeType": "OverrideSpecifier",
|
|
"overrides": [],
|
|
"src": "457:8:0"
|
|
},
|
|
"scope": 30,
|
|
"src": "432:39:0",
|
|
"stateVariable": true,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 11,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "432:7:0",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "public"
|
|
},
|
|
{
|
|
"body": {
|
|
"id": 28,
|
|
"nodeType": "Block",
|
|
"src": "526:62:0",
|
|
"statements": [
|
|
{
|
|
"expression": {
|
|
"id": 22,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"leftHandSide": {
|
|
"id": 20,
|
|
"name": "factory",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 9,
|
|
"src": "537:7:0",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"nodeType": "Assignment",
|
|
"operator": "=",
|
|
"rightHandSide": {
|
|
"id": 21,
|
|
"name": "_factory",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 15,
|
|
"src": "547:8:0",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"src": "537:18:0",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"id": 23,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "537:18:0"
|
|
},
|
|
{
|
|
"expression": {
|
|
"id": 26,
|
|
"isConstant": false,
|
|
"isLValue": false,
|
|
"isPure": false,
|
|
"lValueRequested": false,
|
|
"leftHandSide": {
|
|
"id": 24,
|
|
"name": "WETH9",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 13,
|
|
"src": "566:5:0",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"nodeType": "Assignment",
|
|
"operator": "=",
|
|
"rightHandSide": {
|
|
"id": 25,
|
|
"name": "_WETH9",
|
|
"nodeType": "Identifier",
|
|
"overloadedDeclarations": [],
|
|
"referencedDeclaration": 17,
|
|
"src": "574:6:0",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"src": "566:14:0",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"id": 27,
|
|
"nodeType": "ExpressionStatement",
|
|
"src": "566:14:0"
|
|
}
|
|
]
|
|
},
|
|
"id": 29,
|
|
"implemented": true,
|
|
"kind": "constructor",
|
|
"modifiers": [],
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 18,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 15,
|
|
"mutability": "mutable",
|
|
"name": "_factory",
|
|
"nameLocation": "500:8:0",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 29,
|
|
"src": "492:16:0",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 14,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "492:7:0",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"id": 17,
|
|
"mutability": "mutable",
|
|
"name": "_WETH9",
|
|
"nameLocation": "518:6:0",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 29,
|
|
"src": "510:14:0",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 16,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "510:7:0",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "491:34:0"
|
|
},
|
|
"returnParameters": {
|
|
"id": 19,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "526:0:0"
|
|
},
|
|
"scope": 30,
|
|
"src": "480:108:0",
|
|
"stateMutability": "nonpayable",
|
|
"virtual": false,
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"scope": 31,
|
|
"src": "215:376:0",
|
|
"usedErrors": [],
|
|
"usedEvents": []
|
|
}
|
|
],
|
|
"src": "46:547:0"
|
|
},
|
|
"id": 0
|
|
},
|
|
"contracts/interfaces/IPeripheryImmutableState.sol": {
|
|
"ast": {
|
|
"absolutePath": "contracts/interfaces/IPeripheryImmutableState.sol",
|
|
"exportedSymbols": {
|
|
"IPeripheryImmutableState": [
|
|
46
|
|
]
|
|
},
|
|
"id": 47,
|
|
"license": "GPL-2.0-or-later",
|
|
"nodeType": "SourceUnit",
|
|
"nodes": [
|
|
{
|
|
"id": 32,
|
|
"literals": [
|
|
"solidity",
|
|
">=",
|
|
"0.5",
|
|
".0"
|
|
],
|
|
"nodeType": "PragmaDirective",
|
|
"src": "46:24:1"
|
|
},
|
|
{
|
|
"abstract": false,
|
|
"baseContracts": [],
|
|
"canonicalName": "IPeripheryImmutableState",
|
|
"contractDependencies": [],
|
|
"contractKind": "interface",
|
|
"documentation": {
|
|
"id": 33,
|
|
"nodeType": "StructuredDocumentation",
|
|
"src": "74:93:1",
|
|
"text": "@title Immutable state\n @notice Functions that return immutable state of the router"
|
|
},
|
|
"fullyImplemented": false,
|
|
"id": 46,
|
|
"linearizedBaseContracts": [
|
|
46
|
|
],
|
|
"name": "IPeripheryImmutableState",
|
|
"nameLocation": "177:24:1",
|
|
"nodeType": "ContractDefinition",
|
|
"nodes": [
|
|
{
|
|
"documentation": {
|
|
"id": 34,
|
|
"nodeType": "StructuredDocumentation",
|
|
"src": "209:57:1",
|
|
"text": "@return Returns the address of the Uniswap V3 factory"
|
|
},
|
|
"functionSelector": "c45a0155",
|
|
"id": 39,
|
|
"implemented": false,
|
|
"kind": "function",
|
|
"modifiers": [],
|
|
"name": "factory",
|
|
"nameLocation": "281:7:1",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 35,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "288:2:1"
|
|
},
|
|
"returnParameters": {
|
|
"id": 38,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 37,
|
|
"mutability": "mutable",
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 39,
|
|
"src": "314:7:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 36,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "314:7:1",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "313:9:1"
|
|
},
|
|
"scope": 46,
|
|
"src": "272:51:1",
|
|
"stateMutability": "view",
|
|
"virtual": false,
|
|
"visibility": "external"
|
|
},
|
|
{
|
|
"documentation": {
|
|
"id": 40,
|
|
"nodeType": "StructuredDocumentation",
|
|
"src": "331:40:1",
|
|
"text": "@return Returns the address of WETH9"
|
|
},
|
|
"functionSelector": "4aa4a4fc",
|
|
"id": 45,
|
|
"implemented": false,
|
|
"kind": "function",
|
|
"modifiers": [],
|
|
"name": "WETH9",
|
|
"nameLocation": "386:5:1",
|
|
"nodeType": "FunctionDefinition",
|
|
"parameters": {
|
|
"id": 41,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [],
|
|
"src": "391:2:1"
|
|
},
|
|
"returnParameters": {
|
|
"id": 44,
|
|
"nodeType": "ParameterList",
|
|
"parameters": [
|
|
{
|
|
"constant": false,
|
|
"id": 43,
|
|
"mutability": "mutable",
|
|
"name": "",
|
|
"nameLocation": "-1:-1:-1",
|
|
"nodeType": "VariableDeclaration",
|
|
"scope": 45,
|
|
"src": "417:7:1",
|
|
"stateVariable": false,
|
|
"storageLocation": "default",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
},
|
|
"typeName": {
|
|
"id": 42,
|
|
"name": "address",
|
|
"nodeType": "ElementaryTypeName",
|
|
"src": "417:7:1",
|
|
"stateMutability": "nonpayable",
|
|
"typeDescriptions": {
|
|
"typeIdentifier": "t_address",
|
|
"typeString": "address"
|
|
}
|
|
},
|
|
"visibility": "internal"
|
|
}
|
|
],
|
|
"src": "416:9:1"
|
|
},
|
|
"scope": 46,
|
|
"src": "377:49:1",
|
|
"stateMutability": "view",
|
|
"virtual": false,
|
|
"visibility": "external"
|
|
}
|
|
],
|
|
"scope": 47,
|
|
"src": "167:262:1",
|
|
"usedErrors": [],
|
|
"usedEvents": []
|
|
}
|
|
],
|
|
"src": "46:385:1"
|
|
},
|
|
"id": 1
|
|
}
|
|
}
|
|
}
|
|
} |