@etherisc/registry-contracts
Version:
Etherisc's smart contracts for the registry.
190 lines • 5.53 kB
JSON
{
"abi": [
{
"inputs": [
{
"internalType": "bytes32",
"name": "contractName",
"type": "bytes32"
}
],
"name": "getContract",
"outputs": [
{
"internalType": "address",
"name": "contractAddress",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"allSourcePaths": {
"38": "contracts/registry/IInstanceRegistryFacade.sol"
},
"ast": {
"absolutePath": "contracts/registry/IInstanceRegistryFacade.sol",
"exportedSymbols": {
"IInstanceRegistryFacade": [
4190
]
},
"id": 4191,
"license": "Apache-2.0",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 4182,
"literals": [
"solidity",
"^",
"0.8",
".19"
],
"nodeType": "PragmaDirective",
"src": "39:24:38"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IInstanceRegistryFacade",
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 4190,
"linearizedBaseContracts": [
4190
],
"name": "IInstanceRegistryFacade",
"nameLocation": "76:23:38",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "e16c7d98",
"id": 4189,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getContract",
"nameLocation": "116:11:38",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4185,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4184,
"mutability": "mutable",
"name": "contractName",
"nameLocation": "136:12:38",
"nodeType": "VariableDeclaration",
"scope": 4189,
"src": "128:20:38",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 4183,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "128:7:38",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "127:22:38"
},
"returnParameters": {
"id": 4188,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4187,
"mutability": "mutable",
"name": "contractAddress",
"nameLocation": "205:15:38",
"nodeType": "VariableDeclaration",
"scope": 4189,
"src": "197:23:38",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 4186,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "197:7:38",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "196:25:38"
},
"scope": 4190,
"src": "107:115:38",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 4191,
"src": "66:167:38",
"usedErrors": []
}
],
"src": "39:194:38"
},
"bytecode": "",
"bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
"compiler": {
"evm_version": "istanbul",
"optimizer": {
"enabled": true,
"runs": 200
},
"version": "0.8.19+commit.7dd6d404"
},
"contractName": "IInstanceRegistryFacade",
"coverageMap": {
"branches": {},
"statements": {}
},
"dependencies": [],
"deployedBytecode": "",
"deployedSourceMap": "",
"language": "Solidity",
"natspec": {
"kind": "dev",
"methods": {},
"version": 1
},
"offset": [
66,
233
],
"opcodes": "",
"pcMap": {},
"sha1": "55e90b019ec013f20f6c1d5ffa9a210f47f62085",
"source": "// SPDX-License-Identifier: Apache-2.0\npragma solidity ^0.8.19;\n\n\ninterface IInstanceRegistryFacade {\n\n function getContract(bytes32 contractName)\n external\n view\n returns (address contractAddress);\n \n}",
"sourceMap": "",
"sourcePath": "contracts/registry/IInstanceRegistryFacade.sol",
"type": "interface"
}