UNPKG

@ethsub/sol

Version:
301 lines 10.2 kB
{ "contractName": "IBridge", "abi": [ { "inputs": [], "name": "_domainID", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "nonpayable", "type": "function" } ], "metadata": "{\"compiler\":{\"version\":\"0.6.12+commit.27d51765\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"name\":\"_domainID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"ChainSafe Systems.\",\"kind\":\"dev\",\"methods\":{\"_domainID()\":{\"returns\":{\"_0\":\"uint8 The {_domainID} that is currently set for the Bridge contract.\"}}},\"title\":\"Interface for Bridge contract.\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"_domainID()\":{\"notice\":\"Exposing getter for {_domainID} instead of forcing the use of call.\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/interfaces/IBridge.sol\":\"IBridge\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/IBridge.sol\":{\"keccak256\":\"0x78cf12997b6460e6a089da572ad3fb68a9aed9179cf811b96d994e681ca509a1\",\"license\":\"LGPL-3.0-only\",\"urls\":[\"bzz-raw://dea71cd6964b11cebb88b64f953c6deb8f532922ca017d2742b487aa47cc44a1\",\"dweb:/ipfs/QmZ5pDxV969KqYX7vDpqcCGR7SG6WrPwn8W3GzUHqBzYhd\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, "sourceMap": "", "deployedSourceMap": "", "source": "// SPDX-License-Identifier: LGPL-3.0-only\npragma solidity 0.6.12;\n\n/**\n @title Interface for Bridge contract.\n @author ChainSafe Systems.\n */\ninterface IBridge {\n /**\n @notice Exposing getter for {_domainID} instead of forcing the use of call.\n @return uint8 The {_domainID} that is currently set for the Bridge contract.\n */\n function _domainID() external returns (uint8);\n}", "sourcePath": "/home/sigo/w/deer/ethsub/packages/sol/contracts/interfaces/IBridge.sol", "ast": { "absolutePath": "project:/contracts/interfaces/IBridge.sol", "exportedSymbols": { "IBridge": [ 9792 ] }, "id": 9793, "license": "LGPL-3.0-only", "nodeType": "SourceUnit", "nodes": [ { "id": 9784, "literals": [ "solidity", "0.6", ".12" ], "nodeType": "PragmaDirective", "src": "42:23:49" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": { "id": 9785, "nodeType": "StructuredDocumentation", "src": "67:80:49", "text": "@title Interface for Bridge contract.\n@author ChainSafe Systems." }, "fullyImplemented": false, "id": 9792, "linearizedBaseContracts": [ 9792 ], "name": "IBridge", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": { "id": 9786, "nodeType": "StructuredDocumentation", "src": "172:180:49", "text": "@notice Exposing getter for {_domainID} instead of forcing the use of call.\n@return uint8 The {_domainID} that is currently set for the Bridge contract." }, "functionSelector": "9dd694f4", "id": 9791, "implemented": false, "kind": "function", "modifiers": [], "name": "_domainID", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 9787, "nodeType": "ParameterList", "parameters": [], "src": "375:2:49" }, "returnParameters": { "id": 9790, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 9789, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, "scope": 9791, "src": "396:5:49", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" }, "typeName": { "id": 9788, "name": "uint8", "nodeType": "ElementaryTypeName", "src": "396:5:49", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, "value": null, "visibility": "internal" } ], "src": "395:7:49" }, "scope": 9792, "src": "357:46:49", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], "scope": 9793, "src": "148:257:49" } ], "src": "42:363:49" }, "legacyAST": { "attributes": { "absolutePath": "project:/contracts/interfaces/IBridge.sol", "exportedSymbols": { "IBridge": [ 9792 ] }, "license": "LGPL-3.0-only" }, "children": [ { "attributes": { "literals": [ "solidity", "0.6", ".12" ] }, "id": 9784, "name": "PragmaDirective", "src": "42:23:49" }, { "attributes": { "abstract": false, "baseContracts": [ null ], "contractDependencies": [ null ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ 9792 ], "name": "IBridge", "scope": 9793 }, "children": [ { "attributes": { "text": "@title Interface for Bridge contract.\n@author ChainSafe Systems." }, "id": 9785, "name": "StructuredDocumentation", "src": "67:80:49" }, { "attributes": { "body": null, "functionSelector": "9dd694f4", "implemented": false, "isConstructor": false, "kind": "function", "modifiers": [ null ], "name": "_domainID", "overrides": null, "scope": 9792, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, "children": [ { "attributes": { "text": "@notice Exposing getter for {_domainID} instead of forcing the use of call.\n@return uint8 The {_domainID} that is currently set for the Bridge contract." }, "id": 9786, "name": "StructuredDocumentation", "src": "172:180:49" }, { "attributes": { "parameters": [ null ] }, "children": [], "id": 9787, "name": "ParameterList", "src": "375:2:49" }, { "children": [ { "attributes": { "constant": false, "mutability": "mutable", "name": "", "overrides": null, "scope": 9791, "stateVariable": false, "storageLocation": "default", "type": "uint8", "value": null, "visibility": "internal" }, "children": [ { "attributes": { "name": "uint8", "type": "uint8" }, "id": 9788, "name": "ElementaryTypeName", "src": "396:5:49" } ], "id": 9789, "name": "VariableDeclaration", "src": "396:5:49" } ], "id": 9790, "name": "ParameterList", "src": "395:7:49" } ], "id": 9791, "name": "FunctionDefinition", "src": "357:46:49" } ], "id": 9792, "name": "ContractDefinition", "src": "148:257:49" } ], "id": 9793, "name": "SourceUnit", "src": "42:363:49" }, "compiler": { "name": "solc", "version": "0.6.12+commit.27d51765.Emscripten.clang" }, "networks": {}, "schemaVersion": "3.4.3", "updatedAt": "2021-11-29T02:07:34.276Z", "devdoc": { "author": "ChainSafe Systems.", "kind": "dev", "methods": { "_domainID()": { "returns": { "_0": "uint8 The {_domainID} that is currently set for the Bridge contract." } } }, "title": "Interface for Bridge contract.", "version": 1 }, "userdoc": { "kind": "user", "methods": { "_domainID()": { "notice": "Exposing getter for {_domainID} instead of forcing the use of call." } }, "version": 1 } }