@etherisc/registry-contracts
Version:
Etherisc's smart contracts for the registry.
173 lines • 5.5 kB
JSON
{
"abi": [
{
"inputs": [],
"name": "implementation",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}
],
"allSourcePaths": {
"11": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.8.2/contracts/proxy/beacon/IBeacon.sol"
},
"ast": {
"absolutePath": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.8.2/contracts/proxy/beacon/IBeacon.sol",
"exportedSymbols": {
"IBeacon": [
18386
]
},
"id": 18387,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 18378,
"literals": [
"solidity",
"^",
"0.8",
".0"
],
"nodeType": "PragmaDirective",
"src": "93:23:11"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IBeacon",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 18379,
"nodeType": "StructuredDocumentation",
"src": "118:79:11",
"text": " @dev This is the interface that {BeaconProxy} expects of its beacon."
},
"fullyImplemented": false,
"id": 18386,
"linearizedBaseContracts": [
18386
],
"name": "IBeacon",
"nameLocation": "208:7:11",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 18380,
"nodeType": "StructuredDocumentation",
"src": "222:162:11",
"text": " @dev Must return an address that can be used as a delegate call target.\n {BeaconProxy} will check that this address is a contract."
},
"functionSelector": "5c60da1b",
"id": 18385,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "implementation",
"nameLocation": "398:14:11",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 18381,
"nodeType": "ParameterList",
"parameters": [],
"src": "412:2:11"
},
"returnParameters": {
"id": 18384,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18383,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 18385,
"src": "438:7:11",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 18382,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "438:7:11",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "437:9:11"
},
"scope": 18386,
"src": "389:58:11",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 18387,
"src": "198:251:11",
"usedErrors": []
}
],
"src": "93:357:11"
},
"bytecode": "",
"bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
"compiler": {
"evm_version": "istanbul",
"optimizer": {
"enabled": true,
"runs": 200
},
"version": "0.8.19+commit.7dd6d404"
},
"contractName": "IBeacon",
"coverageMap": {
"branches": {},
"statements": {}
},
"dependencies": [],
"deployedBytecode": "",
"deployedSourceMap": "",
"language": "Solidity",
"natspec": {
"details": "This is the interface that {BeaconProxy} expects of its beacon.",
"kind": "dev",
"methods": {
"implementation()": {
"details": "Must return an address that can be used as a delegate call target. {BeaconProxy} will check that this address is a contract."
}
},
"version": 1
},
"offset": [
198,
449
],
"opcodes": "",
"pcMap": {},
"sha1": "f3f909be8547c9692255a49b95dc0a9e325e5444",
"source": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeacon {\n /**\n * @dev Must return an address that can be used as a delegate call target.\n *\n * {BeaconProxy} will check that this address is a contract.\n */\n function implementation() external view returns (address);\n}\n",
"sourceMap": "",
"sourcePath": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.8.2/contracts/proxy/beacon/IBeacon.sol",
"type": "interface"
}