@valueswap/v2-periphery
Version:
🎚 Peripheral smart contracts for interacting with Valueswap V2
324 lines • 10.7 kB
JSON
{
"contractName": "IValueswapV1Factory",
"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/second/Documents/work/valueswap-v2-periphery/contracts/interfaces/V1/IValueswapV1Factory.sol\":\"IValueswapV1Factory\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[]},\"sources\":{\"/Users/second/Documents/work/valueswap-v2-periphery/contracts/interfaces/V1/IValueswapV1Factory.sol\":{\"keccak256\":\"0x97cf41f192263151cb96dc3c80d52b155ab550df4814fa66fe7fef808fd2ffab\",\"urls\":[\"bzz-raw://1d67f84c9bcb570a8aaaeb2108a81a454b4516bc67fabfec93f701db30eed84e\",\"dweb:/ipfs/QmYHtYT7E3ftKLdQbCciwjgSipYxt4sr8VVhPyDmLZfC1g\"]}},\"version\":1}",
"bytecode": "0x",
"deployedBytecode": "0x",
"immutableReferences": {},
"sourceMap": "",
"deployedSourceMap": "",
"source": "pragma solidity >=0.5.0;\n\ninterface IValueswapV1Factory {\n function getExchange(address) external view returns (address);\n}\n",
"sourcePath": "/Users/second/Documents/work/valueswap-v2-periphery/contracts/interfaces/V1/IValueswapV1Factory.sol",
"ast": {
"absolutePath": "/Users/second/Documents/work/valueswap-v2-periphery/contracts/interfaces/V1/IValueswapV1Factory.sol",
"exportedSymbols": {
"IValueswapV1Factory": [
5506
]
},
"id": 5507,
"nodeType": "SourceUnit",
"nodes": [
{
"id": 5498,
"literals": [
"solidity",
">=",
"0.5",
".0"
],
"nodeType": "PragmaDirective",
"src": "0:24:14"
},
{
"abstract": false,
"baseContracts": [],
"contractDependencies": [],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"id": 5506,
"linearizedBaseContracts": [
5506
],
"name": "IValueswapV1Factory",
"nodeType": "ContractDefinition",
"nodes": [
{
"body": null,
"documentation": null,
"functionSelector": "06f2bf62",
"id": 5505,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getExchange",
"nodeType": "FunctionDefinition",
"overrides": null,
"parameters": {
"id": 5501,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5500,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 5505,
"src": "83:7:14",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 5499,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "83:7:14",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "82:9:14"
},
"returnParameters": {
"id": 5504,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 5503,
"mutability": "mutable",
"name": "",
"nodeType": "VariableDeclaration",
"overrides": null,
"scope": 5505,
"src": "115:7:14",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 5502,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "115:7:14",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"value": null,
"visibility": "internal"
}
],
"src": "114:9:14"
},
"scope": 5506,
"src": "62:62:14",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 5507,
"src": "26:100:14"
}
],
"src": "0:127:14"
},
"legacyAST": {
"attributes": {
"absolutePath": "/Users/second/Documents/work/valueswap-v2-periphery/contracts/interfaces/V1/IValueswapV1Factory.sol",
"exportedSymbols": {
"IValueswapV1Factory": [
5506
]
}
},
"children": [
{
"attributes": {
"literals": [
"solidity",
">=",
"0.5",
".0"
]
},
"id": 5498,
"name": "PragmaDirective",
"src": "0:24:14"
},
{
"attributes": {
"abstract": false,
"baseContracts": [
null
],
"contractDependencies": [
null
],
"contractKind": "interface",
"documentation": null,
"fullyImplemented": false,
"linearizedBaseContracts": [
5506
],
"name": "IValueswapV1Factory",
"scope": 5507
},
"children": [
{
"attributes": {
"body": null,
"documentation": null,
"functionSelector": "06f2bf62",
"implemented": false,
"isConstructor": false,
"kind": "function",
"modifiers": [
null
],
"name": "getExchange",
"overrides": null,
"scope": 5506,
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
"children": [
{
"children": [
{
"attributes": {
"constant": false,
"mutability": "mutable",
"name": "",
"overrides": null,
"scope": 5505,
"stateVariable": false,
"storageLocation": "default",
"type": "address",
"value": null,
"visibility": "internal"
},
"children": [
{
"attributes": {
"name": "address",
"stateMutability": "nonpayable",
"type": "address"
},
"id": 5499,
"name": "ElementaryTypeName",
"src": "83:7:14"
}
],
"id": 5500,
"name": "VariableDeclaration",
"src": "83:7:14"
}
],
"id": 5501,
"name": "ParameterList",
"src": "82:9:14"
},
{
"children": [
{
"attributes": {
"constant": false,
"mutability": "mutable",
"name": "",
"overrides": null,
"scope": 5505,
"stateVariable": false,
"storageLocation": "default",
"type": "address",
"value": null,
"visibility": "internal"
},
"children": [
{
"attributes": {
"name": "address",
"stateMutability": "nonpayable",
"type": "address"
},
"id": 5502,
"name": "ElementaryTypeName",
"src": "115:7:14"
}
],
"id": 5503,
"name": "VariableDeclaration",
"src": "115:7:14"
}
],
"id": 5504,
"name": "ParameterList",
"src": "114:9:14"
}
],
"id": 5505,
"name": "FunctionDefinition",
"src": "62:62:14"
}
],
"id": 5506,
"name": "ContractDefinition",
"src": "26:100:14"
}
],
"id": 5507,
"name": "SourceUnit",
"src": "0:127:14"
},
"compiler": {
"name": "solc",
"version": "0.6.6+commit.6c089d02.Emscripten.clang"
},
"networks": {},
"schemaVersion": "3.3.3",
"updatedAt": "2021-01-30T15:45:24.169Z",
"devdoc": {
"methods": {}
},
"userdoc": {
"methods": {}
}
}