Cipher-Zero/contracts/infrastructure/storage/artifacts/build-info/3c9379a6bb0d3d71ce95eff6bb6f31f1.json
2024-09-01 23:29:11 +03:00

424 lines
13 KiB
JSON

{
"id": "3c9379a6bb0d3d71ce95eff6bb6f31f1",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.26",
"solcLongVersion": "0.8.26+commit.8a97fa7a",
"input": {
"language": "Solidity",
"sources": {
"contracts/infrastructure/storage/ITransferStorage.sol": {
"content": "\r\n\r\n// SPDX-License-Identifier: GPL-3.0-only\r\npragma solidity >=0.5.4 <0.9.0;\r\n\r\n/**\r\n * @title ITransferStorage\r\n * @notice TransferStorage interface\r\n */\r\ninterface ITransferStorage {\r\n function setWhitelist(address _wallet, address _target, uint256 _value) external;\r\n\r\n function getWhitelist(address _wallet, address _target) external view returns (uint256);\r\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/infrastructure/storage/ITransferStorage.sol": {
"ITransferStorage": {
"abi": [
{
"inputs": [
{
"internalType": "address",
"name": "_wallet",
"type": "address"
},
{
"internalType": "address",
"name": "_target",
"type": "address"
}
],
"name": "getWhitelist",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_wallet",
"type": "address"
},
{
"internalType": "address",
"name": "_target",
"type": "address"
},
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "setWhitelist",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"title": "ITransferStorage",
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"getWhitelist(address,address)": "13f4a0ea",
"setWhitelist(address,address,uint256)": "80bfbe68"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_wallet\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"}],\"name\":\"getWhitelist\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_wallet\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setWhitelist\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"title\":\"ITransferStorage\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"notice\":\"TransferStorage interface\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/infrastructure/storage/ITransferStorage.sol\":\"ITransferStorage\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/infrastructure/storage/ITransferStorage.sol\":{\"keccak256\":\"0x7e928dd0006ae792605a8503466f824f614b07601e66c149b557784e2144b547\",\"license\":\"GPL-3.0-only\",\"urls\":[\"bzz-raw://7f64e90f038f7665193a510222590700a64d975e6345e0cd09c37d4a306fbf1f\",\"dweb:/ipfs/QmdkKY3JdwbmV3N8u9VDiofrtLSyYaSnqJep2qbSq9Sd4V\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"notice": "TransferStorage interface",
"version": 1
}
}
}
},
"sources": {
"contracts/infrastructure/storage/ITransferStorage.sol": {
"ast": {
"absolutePath": "contracts/infrastructure/storage/ITransferStorage.sol",
"exportedSymbols": {
"ITransferStorage": [
21
]
},
"id": 22,
"license": "GPL-3.0-only",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
">=",
"0.5",
".4",
"<",
"0.9",
".0"
],
"nodeType": "PragmaDirective",
"src": "46:31:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "ITransferStorage",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 2,
"nodeType": "StructuredDocumentation",
"src": "81:74:0",
"text": " @title ITransferStorage\n @notice TransferStorage interface"
},
"fullyImplemented": false,
"id": 21,
"linearizedBaseContracts": [
21
],
"name": "ITransferStorage",
"nameLocation": "167:16:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "80bfbe68",
"id": 11,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "setWhitelist",
"nameLocation": "200:12:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 9,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 4,
"mutability": "mutable",
"name": "_wallet",
"nameLocation": "221:7:0",
"nodeType": "VariableDeclaration",
"scope": 11,
"src": "213:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 3,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "213:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 6,
"mutability": "mutable",
"name": "_target",
"nameLocation": "238:7:0",
"nodeType": "VariableDeclaration",
"scope": 11,
"src": "230:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 5,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "230:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 8,
"mutability": "mutable",
"name": "_value",
"nameLocation": "255:6:0",
"nodeType": "VariableDeclaration",
"scope": 11,
"src": "247:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 7,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "247:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "212:50:0"
},
"returnParameters": {
"id": 10,
"nodeType": "ParameterList",
"parameters": [],
"src": "271:0:0"
},
"scope": 21,
"src": "191:81:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "13f4a0ea",
"id": 20,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWhitelist",
"nameLocation": "289:12:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 16,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 13,
"mutability": "mutable",
"name": "_wallet",
"nameLocation": "310:7:0",
"nodeType": "VariableDeclaration",
"scope": 20,
"src": "302:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 12,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "302:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 15,
"mutability": "mutable",
"name": "_target",
"nameLocation": "327:7:0",
"nodeType": "VariableDeclaration",
"scope": 20,
"src": "319:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 14,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "319:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "301:34:0"
},
"returnParameters": {
"id": 19,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 20,
"src": "359:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 17,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "359:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "358:9:0"
},
"scope": 21,
"src": "280:88:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 22,
"src": "157:214:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "46:325:0"
},
"id": 0
}
}
}
}