open-dex/contracts/interfaces/artifacts/build-info/9e317823323247b48fcb71866bb4976e.json
2024-08-24 12:08:46 +03:00

299 lines
10 KiB
JSON

{
"id": "9e317823323247b48fcb71866bb4976e",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.26",
"solcLongVersion": "0.8.26+commit.8a97fa7a",
"input": {
"language": "Solidity",
"sources": {
"contracts/interfaces/IMulticall.sol": {
"content": "// SPDX-License-Identifier: GPL-2.0-or-later\r\npragma solidity >=0.7.5;\r\npragma abicoder v2;\r\n\r\n/// @title Multicall interface\r\n/// @notice Enables calling multiple methods in a single call to the contract\r\ninterface IMulticall {\r\n /// @notice Call multiple functions in the current contract and return the data from all of them if they all succeed\r\n /// @dev The `msg.value` should not be trusted for any method callable from multicall.\r\n /// @param data The encoded function data for each of the calls to make to this contract\r\n /// @return results The results from each of the calls passed in via data\r\n function multicall(bytes[] calldata data) external payable returns (bytes[] memory results);\r\n}\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/interfaces/IMulticall.sol": {
"IMulticall": {
"abi": [
{
"inputs": [
{
"internalType": "bytes[]",
"name": "data",
"type": "bytes[]"
}
],
"name": "multicall",
"outputs": [
{
"internalType": "bytes[]",
"name": "results",
"type": "bytes[]"
}
],
"stateMutability": "payable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {
"multicall(bytes[])": {
"details": "The `msg.value` should not be trusted for any method callable from multicall.",
"params": {
"data": "The encoded function data for each of the calls to make to this contract"
},
"returns": {
"results": "The results from each of the calls passed in via data"
}
}
},
"title": "Multicall interface",
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"multicall(bytes[])": "ac9650d8"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"multicall(bytes[])\":{\"details\":\"The `msg.value` should not be trusted for any method callable from multicall.\",\"params\":{\"data\":\"The encoded function data for each of the calls to make to this contract\"},\"returns\":{\"results\":\"The results from each of the calls passed in via data\"}}},\"title\":\"Multicall interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"multicall(bytes[])\":{\"notice\":\"Call multiple functions in the current contract and return the data from all of them if they all succeed\"}},\"notice\":\"Enables calling multiple methods in a single call to the contract\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/interfaces/IMulticall.sol\":\"IMulticall\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/interfaces/IMulticall.sol\":{\"keccak256\":\"0x76aeef8a8cd237f1bd8fb67f21e1734ba5c294b522c1932ce336f72fe41e5355\",\"license\":\"GPL-2.0-or-later\",\"urls\":[\"bzz-raw://0b577b8f8e1b2767f218d0a1d78f7cc4d7b24ccd01ed7422a7129f9ae465edff\",\"dweb:/ipfs/QmVUzqSeAXf9Urwc1tseh1sW3pNz6z36vEYYYAGTNAnDWf\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {
"multicall(bytes[])": {
"notice": "Call multiple functions in the current contract and return the data from all of them if they all succeed"
}
},
"notice": "Enables calling multiple methods in a single call to the contract",
"version": 1
}
}
}
},
"sources": {
"contracts/interfaces/IMulticall.sol": {
"ast": {
"absolutePath": "contracts/interfaces/IMulticall.sol",
"exportedSymbols": {
"IMulticall": [
14
]
},
"id": 15,
"license": "GPL-2.0-or-later",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
">=",
"0.7",
".5"
],
"nodeType": "PragmaDirective",
"src": "46:24:0"
},
{
"id": 2,
"literals": [
"abicoder",
"v2"
],
"nodeType": "PragmaDirective",
"src": "72:19:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IMulticall",
"contractDependencies": [],
"contractKind": "interface",
"documentation": {
"id": 3,
"nodeType": "StructuredDocumentation",
"src": "95:111:0",
"text": "@title Multicall interface\n @notice Enables calling multiple methods in a single call to the contract"
},
"fullyImplemented": false,
"id": 14,
"linearizedBaseContracts": [
14
],
"name": "IMulticall",
"nameLocation": "216:10:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"documentation": {
"id": 4,
"nodeType": "StructuredDocumentation",
"src": "234:381:0",
"text": "@notice Call multiple functions in the current contract and return the data from all of them if they all succeed\n @dev The `msg.value` should not be trusted for any method callable from multicall.\n @param data The encoded function data for each of the calls to make to this contract\n @return results The results from each of the calls passed in via data"
},
"functionSelector": "ac9650d8",
"id": 13,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "multicall",
"nameLocation": "630:9:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 8,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 7,
"mutability": "mutable",
"name": "data",
"nameLocation": "657:4:0",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "640:21:0",
"stateVariable": false,
"storageLocation": "calldata",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_bytes_calldata_ptr_$dyn_calldata_ptr",
"typeString": "bytes[]"
},
"typeName": {
"baseType": {
"id": 5,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "640:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"id": 6,
"nodeType": "ArrayTypeName",
"src": "640:7:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr",
"typeString": "bytes[]"
}
},
"visibility": "internal"
}
],
"src": "639:23:0"
},
"returnParameters": {
"id": 12,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 11,
"mutability": "mutable",
"name": "results",
"nameLocation": "704:7:0",
"nodeType": "VariableDeclaration",
"scope": 13,
"src": "689:22:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_bytes_memory_ptr_$dyn_memory_ptr",
"typeString": "bytes[]"
},
"typeName": {
"baseType": {
"id": 9,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "689:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"id": 10,
"nodeType": "ArrayTypeName",
"src": "689:7:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_bytes_storage_$dyn_storage_ptr",
"typeString": "bytes[]"
}
},
"visibility": "internal"
}
],
"src": "688:24:0"
},
"scope": 14,
"src": "621:92:0",
"stateMutability": "payable",
"virtual": false,
"visibility": "external"
}
],
"scope": 15,
"src": "206:510:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "46:672:0"
},
"id": 0
}
}
}
}