UNPKG

moonwalkerswap-v2-periphery

Version:
324 lines 10.9 kB
{ "contractName": "IMoonwalkerswapV1Factory", "abi": [ { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "getExchange", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.6.6+commit.6c089d02\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getExchange\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/interfaces/V1/IMoonwalkerswapV1Factory.sol\":\"IMoonwalkerswapV1Factory\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/interfaces/V1/IMoonwalkerswapV1Factory.sol\":{\"keccak256\":\"0xbfb8fca4335994a5042028071385b1d21e186ea3bacc102ec75875bf78e68741\",\"urls\":[\"bzz-raw://1f707903f7366258f445367f29231c910854a47771c2ca21315fd36cdf906b55\",\"dweb:/ipfs/QmXHz64F3abcEVPUaQTYkWbJQNp1xwzyXGhzWaQLsF39rc\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, "sourceMap": "", "deployedSourceMap": "", "source": "pragma solidity >=0.5.0;\n\ninterface IMoonwalkerswapV1Factory {\n function getExchange(address) external view returns (address);\n}\n", "sourcePath": "/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/interfaces/V1/IMoonwalkerswapV1Factory.sol", "ast": { "absolutePath": "/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/interfaces/V1/IMoonwalkerswapV1Factory.sol", "exportedSymbols": { "IMoonwalkerswapV1Factory": [ 4247 ] }, "id": 4248, "nodeType": "SourceUnit", "nodes": [ { "id": 4239, "literals": [ "solidity", ">=", "0.5", ".0" ], "nodeType": "PragmaDirective", "src": "0:24:9" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "id": 4247, "linearizedBaseContracts": [ 4247 ], "name": "IMoonwalkerswapV1Factory", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": null, "functionSelector": "06f2bf62", "id": 4246, "implemented": false, "kind": "function", "modifiers": [], "name": "getExchange", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 4242, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4241, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, "scope": 4246, "src": "88:7:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 4240, "name": "address", "nodeType": "ElementaryTypeName", "src": "88:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "87:9:9" }, "returnParameters": { "id": 4245, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 4244, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, "scope": 4246, "src": "120:7:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 4243, "name": "address", "nodeType": "ElementaryTypeName", "src": "120:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "value": null, "visibility": "internal" } ], "src": "119:9:9" }, "scope": 4247, "src": "67:62:9", "stateMutability": "view", "virtual": false, "visibility": "external" } ], "scope": 4248, "src": "26:105:9" } ], "src": "0:132:9" }, "legacyAST": { "attributes": { "absolutePath": "/Users/warrenmason/Documents/UniswapV3Contracts/Core/LiveContracts/Moonwalkerswap-v2-periphery/contracts/interfaces/V1/IMoonwalkerswapV1Factory.sol", "exportedSymbols": { "IMoonwalkerswapV1Factory": [ 4247 ] } }, "children": [ { "attributes": { "literals": [ "solidity", ">=", "0.5", ".0" ] }, "id": 4239, "name": "PragmaDirective", "src": "0:24:9" }, { "attributes": { "abstract": false, "baseContracts": [ null ], "contractDependencies": [ null ], "contractKind": "interface", "documentation": null, "fullyImplemented": false, "linearizedBaseContracts": [ 4247 ], "name": "IMoonwalkerswapV1Factory", "scope": 4248 }, "children": [ { "attributes": { "body": null, "documentation": null, "functionSelector": "06f2bf62", "implemented": false, "isConstructor": false, "kind": "function", "modifiers": [ null ], "name": "getExchange", "overrides": null, "scope": 4247, "stateMutability": "view", "virtual": false, "visibility": "external" }, "children": [ { "children": [ { "attributes": { "constant": false, "mutability": "mutable", "name": "", "overrides": null, "scope": 4246, "stateVariable": false, "storageLocation": "default", "type": "address", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "address", "stateMutability": "nonpayable", "type": "address" }, "id": 4240, "name": "ElementaryTypeName", "src": "88:7:9" } ], "id": 4241, "name": "VariableDeclaration", "src": "88:7:9" } ], "id": 4242, "name": "ParameterList", "src": "87:9:9" }, { "children": [ { "attributes": { "constant": false, "mutability": "mutable", "name": "", "overrides": null, "scope": 4246, "stateVariable": false, "storageLocation": "default", "type": "address", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "address", "stateMutability": "nonpayable", "type": "address" }, "id": 4243, "name": "ElementaryTypeName", "src": "120:7:9" } ], "id": 4244, "name": "VariableDeclaration", "src": "120:7:9" } ], "id": 4245, "name": "ParameterList", "src": "119:9:9" } ], "id": 4246, "name": "FunctionDefinition", "src": "67:62:9" } ], "id": 4247, "name": "ContractDefinition", "src": "26:105:9" } ], "id": 4248, "name": "SourceUnit", "src": "0:132:9" }, "compiler": { "name": "solc", "version": "0.6.6+commit.6c089d02.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.4.1", "updatedAt": "2022-01-17T23:40:22.200Z", "devdoc": { "methods": {} }, "userdoc": { "methods": {} } }