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

756 lines
22 KiB
JSON

{
"id": "a1c66de876e9e436ae4526ea1a354341",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.26",
"solcLongVersion": "0.8.26+commit.8a97fa7a",
"input": {
"language": "Solidity",
"sources": {
"contracts/bridges/Structs.sol": {
"content": "// contracts/Structs.sol\n// SPDX-License-Identifier: Apache 2\n\npragma solidity ^0.8.26;\n\n\ninterface Structs {\n\tstruct Provider {\n\t\tuint16 chainId;\n\t\tuint16 governanceChainId;\n\t\tbytes32 governanceContract;\n\t}\n\n\tstruct GuardianSet {\n\t\taddress[] keys;\n\t\tuint32 expirationTime;\n\t}\n\n\tstruct Signature {\n\t\tbytes32 r;\n\t\tbytes32 s;\n\t\tuint8 v;\n\t\tuint8 guardianIndex;\n\t}\n\n\tstruct VM {\n\t\tuint8 version;\n\t\tuint32 timestamp;\n\t\tuint32 nonce;\n\t\tuint16 emitterChainId;\n\t\tbytes32 emitterAddress;\n\t\tuint64 sequence;\n\t\tuint8 consistencyLevel;\n\t\tbytes payload;\n\n\t\tuint32 guardianSetIndex;\n\t\tSignature[] signatures;\n\n\t\tbytes32 hash;\n\t}\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/bridges/Structs.sol": {
"Structs": {
"abi": [],
"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": {}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/bridges/Structs.sol\":\"Structs\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/bridges/Structs.sol\":{\"keccak256\":\"0x5e75a087f74d8de0ca18e8e5ab2cff988d4e20bb643a51e08e2a70540334a53a\",\"license\":\"Apache 2\",\"urls\":[\"bzz-raw://ef3509efdd2065f7c0a01e9463fb66ea5c021a01bad6e115f39ecfcb074ff1f3\",\"dweb:/ipfs/QmdYAwANELc9D9ePCfpBwYE78nVdfMc2uM9CDSqMmsfVzM\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"contracts/bridges/Structs.sol": {
"ast": {
"absolutePath": "contracts/bridges/Structs.sol",
"exportedSymbols": {
"Structs": [
49
]
},
"id": 50,
"license": "Apache 2",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".26"
],
"nodeType": "PragmaDirective",
"src": "63:24:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "Structs",
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": true,
"id": 49,
"linearizedBaseContracts": [
49
],
"name": "Structs",
"nameLocation": "100:7:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"canonicalName": "Structs.Provider",
"id": 8,
"members": [
{
"constant": false,
"id": 3,
"mutability": "mutable",
"name": "chainId",
"nameLocation": "138:7:0",
"nodeType": "VariableDeclaration",
"scope": 8,
"src": "131:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
},
"typeName": {
"id": 2,
"name": "uint16",
"nodeType": "ElementaryTypeName",
"src": "131:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 5,
"mutability": "mutable",
"name": "governanceChainId",
"nameLocation": "156:17:0",
"nodeType": "VariableDeclaration",
"scope": 8,
"src": "149:24:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
},
"typeName": {
"id": 4,
"name": "uint16",
"nodeType": "ElementaryTypeName",
"src": "149:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 7,
"mutability": "mutable",
"name": "governanceContract",
"nameLocation": "185:18:0",
"nodeType": "VariableDeclaration",
"scope": 8,
"src": "177:26:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 6,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "177:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"name": "Provider",
"nameLocation": "118:8:0",
"nodeType": "StructDefinition",
"scope": 49,
"src": "111:96:0",
"visibility": "public"
},
{
"canonicalName": "Structs.GuardianSet",
"id": 14,
"members": [
{
"constant": false,
"id": 11,
"mutability": "mutable",
"name": "keys",
"nameLocation": "243:4:0",
"nodeType": "VariableDeclaration",
"scope": 14,
"src": "233:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
"typeString": "address[]"
},
"typeName": {
"baseType": {
"id": 9,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "233:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"id": 10,
"nodeType": "ArrayTypeName",
"src": "233:9:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
"typeString": "address[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 13,
"mutability": "mutable",
"name": "expirationTime",
"nameLocation": "258:14:0",
"nodeType": "VariableDeclaration",
"scope": 14,
"src": "251:21:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 12,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "251:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"visibility": "internal"
}
],
"name": "GuardianSet",
"nameLocation": "217:11:0",
"nodeType": "StructDefinition",
"scope": 49,
"src": "210:66:0",
"visibility": "public"
},
{
"canonicalName": "Structs.Signature",
"id": 23,
"members": [
{
"constant": false,
"id": 16,
"mutability": "mutable",
"name": "r",
"nameLocation": "308:1:0",
"nodeType": "VariableDeclaration",
"scope": 23,
"src": "300:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 15,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "300:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 18,
"mutability": "mutable",
"name": "s",
"nameLocation": "321:1:0",
"nodeType": "VariableDeclaration",
"scope": 23,
"src": "313:9:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 17,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "313:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 20,
"mutability": "mutable",
"name": "v",
"nameLocation": "332:1:0",
"nodeType": "VariableDeclaration",
"scope": 23,
"src": "326:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 19,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "326:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 22,
"mutability": "mutable",
"name": "guardianIndex",
"nameLocation": "343:13:0",
"nodeType": "VariableDeclaration",
"scope": 23,
"src": "337:19:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 21,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "337:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "internal"
}
],
"name": "Signature",
"nameLocation": "286:9:0",
"nodeType": "StructDefinition",
"scope": 49,
"src": "279:81:0",
"visibility": "public"
},
{
"canonicalName": "Structs.VM",
"id": 48,
"members": [
{
"constant": false,
"id": 25,
"mutability": "mutable",
"name": "version",
"nameLocation": "383:7:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "377:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 24,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "377:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 27,
"mutability": "mutable",
"name": "timestamp",
"nameLocation": "401:9:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "394:16:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 26,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "394:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 29,
"mutability": "mutable",
"name": "nonce",
"nameLocation": "421:5:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "414:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 28,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "414:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 31,
"mutability": "mutable",
"name": "emitterChainId",
"nameLocation": "437:14:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "430:21:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
},
"typeName": {
"id": 30,
"name": "uint16",
"nodeType": "ElementaryTypeName",
"src": "430:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 33,
"mutability": "mutable",
"name": "emitterAddress",
"nameLocation": "463:14:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "455:22:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 32,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "455:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 35,
"mutability": "mutable",
"name": "sequence",
"nameLocation": "488:8:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "481:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
},
"typeName": {
"id": 34,
"name": "uint64",
"nodeType": "ElementaryTypeName",
"src": "481:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 37,
"mutability": "mutable",
"name": "consistencyLevel",
"nameLocation": "506:16:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "500:22:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 36,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "500:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 39,
"mutability": "mutable",
"name": "payload",
"nameLocation": "532:7:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "526:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 38,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "526:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 41,
"mutability": "mutable",
"name": "guardianSetIndex",
"nameLocation": "551:16:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "544:23:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 40,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "544:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 45,
"mutability": "mutable",
"name": "signatures",
"nameLocation": "583:10:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "571:22:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_Signature_$23_storage_$dyn_storage_ptr",
"typeString": "struct Structs.Signature[]"
},
"typeName": {
"baseType": {
"id": 43,
"nodeType": "UserDefinedTypeName",
"pathNode": {
"id": 42,
"name": "Signature",
"nameLocations": [
"571:9:0"
],
"nodeType": "IdentifierPath",
"referencedDeclaration": 23,
"src": "571:9:0"
},
"referencedDeclaration": 23,
"src": "571:9:0",
"typeDescriptions": {
"typeIdentifier": "t_struct$_Signature_$23_storage_ptr",
"typeString": "struct Structs.Signature"
}
},
"id": 44,
"nodeType": "ArrayTypeName",
"src": "571:11:0",
"typeDescriptions": {
"typeIdentifier": "t_array$_t_struct$_Signature_$23_storage_$dyn_storage_ptr",
"typeString": "struct Structs.Signature[]"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 47,
"mutability": "mutable",
"name": "hash",
"nameLocation": "606:4:0",
"nodeType": "VariableDeclaration",
"scope": 48,
"src": "598:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 46,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "598:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"name": "VM",
"nameLocation": "370:2:0",
"nodeType": "StructDefinition",
"scope": 49,
"src": "363:251:0",
"visibility": "public"
}
],
"scope": 50,
"src": "90:526:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "63:553:0"
},
"id": 0
}
}
}
}