UNPKG

@etherisc/gif-contracts

Version:

This repository holds the GIF core contracts and tools to develop, test and deploy GIF instances.

171 lines 5.42 kB
{ "abi": [ { "inputs": [], "name": "implementation", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ], "allSourcePaths": { "9": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/proxy/beacon/IBeacon.sol" }, "ast": { "absolutePath": "/home/vscode/.brownie/packages/OpenZeppelin/openzeppelin-contracts@4.7.3/contracts/proxy/beacon/IBeacon.sol", "exportedSymbols": { "IBeacon": [ 28646 ] }, "id": 28647, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { "id": 28638, "literals": [ "solidity", "^", "0.8", ".0" ], "nodeType": "PragmaDirective", "src": "93:23:9" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": { "id": 28639, "nodeType": "StructuredDocumentation", "src": "118:79:9", "text": " @dev This is the interface that {BeaconProxy} expects of its beacon." }, "fullyImplemented": false, "id": 28646, "linearizedBaseContracts": [ 28646 ], "name": "IBeacon", "nameLocation": "208:7:9", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { "id": 28640, "nodeType": "StructuredDocumentation", "src": "222:162:9", "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": 28645, "implemented": false, "kind": "function", "modifiers": [], "name": "implementation", "nameLocation": "398:14:9", "nodeType": "FunctionDefinition", "parameters": { "id": 28641, "nodeType": "ParameterList", "parameters": [], "src": "412:2:9" }, "returnParameters": { "id": 28644, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 28643, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", "scope": 28645, "src": "438:7:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" }, "typeName": { "id": 28642, "name": "address", "nodeType": "ElementaryTypeName", "src": "438:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "visibility": "internal" } ], "src": "437:9:9" }, "scope": 28646, "src": "389:58:9", "stateMutability": "view", "virtual": false, "visibility": "external" } ], "scope": 28647, "src": "198:251:9" } ], "src": "93:357:9" }, "bytecode": "", "bytecodeSha1": "da39a3ee5e6b4b0d3255bfef95601890afd80709", "compiler": { "evm_version": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "version": "0.8.2+commit.661d1103" }, "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.7.3/contracts/proxy/beacon/IBeacon.sol", "type": "interface" }