UNPKG

core-artifacts

Version:

Consist artifacts of the maple protocol

191 lines (190 loc) 6.17 kB
{ "id": "5840235d9506013e8c49946df6dcbeb7", "_format": "hh-sol-build-info-1", "solcVersion": "0.6.11", "solcLongVersion": "0.6.11+commit.5ef660b1", "input": { "language": "Solidity", "sources": { "contracts/core/subfactory/v1/interfaces/ISubFactory.sol": { "content": "// SPDX-License-Identifier: AGPL-3.0-or-later // hevm: flattened sources of contracts/core/subfactory/v1/interfaces/ISubFactory.sol\npragma solidity =0.6.11;\n\n////// contracts/core/subfactory/v1/interfaces/ISubFactory.sol\n/* pragma solidity 0.6.11; */\n\n/// @title SubFactory creates instances downstream of another factory.\ninterface ISubFactory {\n\n /**\n @dev The type of the factory\n */\n function factoryType() external pure returns (uint8);\n\n}\n" } }, "settings": { "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "abi", "evm.bytecode", "evm.deployedBytecode", "evm.methodIdentifiers" ], "": [ "ast" ] } } } }, "output": { "contracts": { "contracts/core/subfactory/v1/interfaces/ISubFactory.sol": { "ISubFactory": { "abi": [ { "inputs": [], "name": "factoryType", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "pure", "type": "function" } ], "evm": { "bytecode": { "linkReferences": {}, "object": "", "opcodes": "", "sourceMap": "" }, "deployedBytecode": { "immutableReferences": {}, "linkReferences": {}, "object": "", "opcodes": "", "sourceMap": "" }, "methodIdentifiers": { "factoryType()": "64e1fd55" } } } } }, "sources": { "contracts/core/subfactory/v1/interfaces/ISubFactory.sol": { "ast": { "absolutePath": "contracts/core/subfactory/v1/interfaces/ISubFactory.sol", "exportedSymbols": { "ISubFactory": [ 9 ] }, "id": 10, "license": "AGPL-3.0-or-later", "nodeType": "SourceUnit", "nodes": [ { "id": 1, "literals": [ "solidity", "=", "0.6", ".11" ], "nodeType": "PragmaDirective", "src": "132:24:0" }, { "abstract": false, "baseContracts": [], "contractDependencies": [], "contractKind": "interface", "documentation": { "id": 2, "nodeType": "StructuredDocumentation", "src": "252:71:0", "text": "@title SubFactory creates instances downstream of another factory." }, "fullyImplemented": false, "id": 9, "linearizedBaseContracts": [ 9 ], "name": "ISubFactory", "nodeType": "ContractDefinition", "nodes": [ { "body": null, "documentation": { "id": 3, "nodeType": "StructuredDocumentation", "src": "352:48:0", "text": "@dev The type of the factory" }, "functionSelector": "64e1fd55", "id": 8, "implemented": false, "kind": "function", "modifiers": [], "name": "factoryType", "nodeType": "FunctionDefinition", "overrides": null, "parameters": { "id": 4, "nodeType": "ParameterList", "parameters": [], "src": "425:2:0" }, "returnParameters": { "id": 7, "nodeType": "ParameterList", "parameters": [ { "constant": false, "id": 6, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", "overrides": null, "scope": 8, "src": "451:5:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" }, "typeName": { "id": 5, "name": "uint8", "nodeType": "ElementaryTypeName", "src": "451:5:0", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, "value": null, "visibility": "internal" } ], "src": "450:7:0" }, "scope": 9, "src": "405:53:0", "stateMutability": "pure", "virtual": false, "visibility": "external" } ], "scope": 10, "src": "323:138:0" } ], "src": "132:330:0" }, "id": 0 } } } }