Cipher-Zero/contracts/cipherzero/interfaces/artifacts/build-info/a8f647e05d428ae5919c770163d7c4c6.json
2024-09-01 23:29:11 +03:00

314 lines
8.8 KiB
JSON

{
"id": "a8f647e05d428ae5919c770163d7c4c6",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.26",
"solcLongVersion": "0.8.26+commit.8a97fa7a",
"input": {
"language": "Solidity",
"sources": {
"contracts/cipherzero/interfaces/IStorage.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\ninterface IStorage {\n function storeData(string calldata _data) external;\n function retrieveData(address _address) external view returns (string memory);\n}\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
},
"remappings": []
}
},
"output": {
"contracts": {
"contracts/cipherzero/interfaces/IStorage.sol": {
"IStorage": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_address",
"type": "address"
}
],
"name": "retrieveData",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "string",
"name": "_data",
"type": "string"
}
],
"name": "storeData",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"retrieveData(address)": "2a77d707",
"storeData(string)": "fb218f5f"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"retrieveData\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_data\",\"type\":\"string\"}],\"name\":\"storeData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/cipherzero/interfaces/IStorage.sol\":\"IStorage\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/cipherzero/interfaces/IStorage.sol\":{\"keccak256\":\"0x20230dc8d7e47941b3bf071e538e0bca6f1a29c34021085d48a487be26d3d6a4\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://eed4596fca67c4de7666708ab8ce8668e173dc56d6693a4787132d70f1ed3159\",\"dweb:/ipfs/QmYENsZkmqUTpFP2yo6Zk9hesNVgUyvF847XCELww6uXmZ\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"contracts/cipherzero/interfaces/IStorage.sol": {
"ast": {
"absolutePath": "contracts/cipherzero/interfaces/IStorage.sol",
"exportedSymbols": {
"IStorage": [
14
]
},
"id": 15,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".26"
],
"nodeType": "PragmaDirective",
"src": "32:24:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IStorage",
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 14,
"linearizedBaseContracts": [
14
],
"name": "IStorage",
"nameLocation": "68:8:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "fb218f5f",
"id": 6,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "storeData",
"nameLocation": "92:9:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 4,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3,
"mutability": "mutable",
"name": "_data",
"nameLocation": "118:5:0",
"nodeType": "VariableDeclaration",
"scope": 6,
"src": "102:21:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_string_calldata_ptr",
"typeString": "string"
},
"typeName": {
"id": 2,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "102:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "101:23:0"
},
"returnParameters": {
"id": 5,
"nodeType": "ParameterList",
"parameters": [],
"src": "133:0:0"
},
"scope": 14,
"src": "83:51:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "2a77d707",
"id": 13,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "retrieveData",
"nameLocation": "148:12:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 9,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 8,
"mutability": "mutable",
"name": "_address",
"nameLocation": "169:8:0",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "161:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 7,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "161:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "160:18:0"
},
"returnParameters": {
"id": 12,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "202:13:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 10,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "202:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "201:15:0"
},
"scope": 14,
"src": "139:78:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 15,
"src": "58:161:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "32:188:0"
},
"id": 0
}
}
}
}