From a9bf0f566bf860673a5a198e9756e2bff84ec9fa Mon Sep 17 00:00:00 2001 From: Alain Nicolas Date: Mon, 27 Nov 2023 14:08:49 +0100 Subject: [PATCH] chore: Deploy Verax v6 on Linea (#430) Co-authored-by: ollie <67156692+0xEillo@users.noreply.github.com> --- .github/workflows/smart-contracts.yml | 3 +- contracts/.openzeppelin/arbitrum-goerli.json | 428 +++++++++++++++++- contracts/.openzeppelin/arbitrum-one.json | 428 +++++++++++++++++- contracts/.openzeppelin/unknown-59140.json | 448 ++++++++++++++++++- contracts/.openzeppelin/unknown-59144.json | 428 +++++++++++++++++- contracts/package.json | 2 +- 6 files changed, 1669 insertions(+), 68 deletions(-) diff --git a/.github/workflows/smart-contracts.yml b/.github/workflows/smart-contracts.yml index d2dc973c..6bdce6a2 100644 --- a/.github/workflows/smart-contracts.yml +++ b/.github/workflows/smart-contracts.yml @@ -125,10 +125,11 @@ jobs: uses: actions/checkout@v3 with: submodules: recursive + fetch-depth: 0 - id: check-changes run: | - if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^contracts/'; then + if [ -n "$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | grep '^contracts/')" ]; then echo "::set-output name=changed::true" else echo "::set-output name=changed::false" diff --git a/contracts/.openzeppelin/arbitrum-goerli.json b/contracts/.openzeppelin/arbitrum-goerli.json index 534f7aa6..152719c8 100644 --- a/contracts/.openzeppelin/arbitrum-goerli.json +++ b/contracts/.openzeppelin/arbitrum-goerli.json @@ -881,7 +881,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "AttestationReader", "src": "src/AttestationReader.sol:17" }, @@ -889,7 +889,7 @@ "label": "easRegistry", "offset": 0, "slot": "102", - "type": "t_contract(IEAS)7334", + "type": "t_contract(IEAS)7361", "contract": "AttestationReader", "src": "src/AttestationReader.sol:18" } @@ -911,11 +911,11 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IEAS)7334": { + "t_contract(IEAS)7361": { "label": "contract IEAS", "numberOfBytes": "20" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, @@ -1197,7 +1197,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "ModuleRegistry", "src": "src/ModuleRegistry.sol:19" }, @@ -1205,7 +1205,7 @@ "label": "modules", "offset": 0, "slot": "102", - "type": "t_mapping(t_address,t_struct(Module)8780_storage)", + "type": "t_mapping(t_address,t_struct(Module)8807_storage)", "contract": "ModuleRegistry", "src": "src/ModuleRegistry.sol:21" }, @@ -1239,11 +1239,11 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, - "t_mapping(t_address,t_struct(Module)8780_storage)": { + "t_mapping(t_address,t_struct(Module)8807_storage)": { "label": "mapping(address => struct Module)", "numberOfBytes": "32" }, @@ -1251,7 +1251,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(Module)8780_storage": { + "t_struct(Module)8807_storage": { "label": "struct Module", "members": [ { @@ -1515,7 +1515,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "SchemaRegistry", "src": "src/SchemaRegistry.sol:16" }, @@ -1523,7 +1523,7 @@ "label": "schemas", "offset": 0, "slot": "102", - "type": "t_mapping(t_bytes32,t_struct(Schema)8757_storage)", + "type": "t_mapping(t_bytes32,t_struct(Schema)8784_storage)", "contract": "SchemaRegistry", "src": "src/SchemaRegistry.sol:18" }, @@ -1569,7 +1569,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, @@ -1577,7 +1577,7 @@ "label": "mapping(bytes32 => address)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Schema)8757_storage)": { + "t_mapping(t_bytes32,t_struct(Schema)8784_storage)": { "label": "mapping(bytes32 => struct Schema)", "numberOfBytes": "32" }, @@ -1585,7 +1585,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(Schema)8757_storage": { + "t_struct(Schema)8784_storage": { "label": "struct Schema", "members": [ { @@ -1626,6 +1626,406 @@ }, "namespaces": {} } + }, + "afc9287c19cb1b830999d2016348e104b2143101ed97ea26cf1c1b48849ca551": { + "address": "0xCE644577FF313340532E85da460318BC850A9422", + "txHash": "0x3efbd4fddf90920a289c31ae117e3916df7de09af362624b24b760106a08115b", + "layout": { + "solcVersion": "0.8.21", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" + }, + { + "label": "router", + "offset": 0, + "slot": "101", + "type": "t_contract(IRouter)7410", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:17" + }, + { + "label": "version", + "offset": 20, + "slot": "101", + "type": "t_uint16", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:19" + }, + { + "label": "attestationIdCounter", + "offset": 22, + "slot": "101", + "type": "t_uint32", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:20" + }, + { + "label": "attestations", + "offset": 0, + "slot": "102", + "type": "t_mapping(t_bytes32,t_struct(Attestation)8775_storage)", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:22" + }, + { + "label": "chainPrefix", + "offset": 0, + "slot": "103", + "type": "t_uint256", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:24" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(IRouter)7410": { + "label": "contract IRouter", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_struct(Attestation)8775_storage)": { + "label": "mapping(bytes32 => struct Attestation)", + "numberOfBytes": "32" + }, + "t_struct(Attestation)8775_storage": { + "label": "struct Attestation", + "members": [ + { + "label": "attestationId", + "type": "t_bytes32", + "offset": 0, + "slot": "0" + }, + { + "label": "schemaId", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + }, + { + "label": "replacedBy", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + }, + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "3" + }, + { + "label": "portal", + "type": "t_address", + "offset": 0, + "slot": "4" + }, + { + "label": "attestedDate", + "type": "t_uint64", + "offset": 20, + "slot": "4" + }, + { + "label": "expirationDate", + "type": "t_uint64", + "offset": 0, + "slot": "5" + }, + { + "label": "revocationDate", + "type": "t_uint64", + "offset": 8, + "slot": "5" + }, + { + "label": "version", + "type": "t_uint16", + "offset": 16, + "slot": "5" + }, + { + "label": "revoked", + "type": "t_bool", + "offset": 18, + "slot": "5" + }, + { + "label": "subject", + "type": "t_bytes_storage", + "offset": 0, + "slot": "6" + }, + { + "label": "attestationData", + "type": "t_bytes_storage", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_uint16": { + "label": "uint16", + "numberOfBytes": "2" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint32": { + "label": "uint32", + "numberOfBytes": "4" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "6a363cbbef1041962fe59a76993db35c8e1078fc08b62ce3c7093407d7e8a39d": { + "address": "0x8e141f9836B3dC5a15C9e54Ef42A4188e0B958Fb", + "txHash": "0x68b201065c84e6f2a2124933432647cdf8327775d3a11f1abd20112dcca01348", + "layout": { + "solcVersion": "0.8.21", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" + }, + { + "label": "router", + "offset": 0, + "slot": "101", + "type": "t_contract(IRouter)7410", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:20" + }, + { + "label": "portals", + "offset": 0, + "slot": "102", + "type": "t_mapping(t_address,t_struct(Portal)8800_storage)", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:22" + }, + { + "label": "issuers", + "offset": 0, + "slot": "103", + "type": "t_mapping(t_address,t_bool)", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:24" + }, + { + "label": "portalAddresses", + "offset": 0, + "slot": "104", + "type": "t_array(t_address)dyn_storage", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:26" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_address)dyn_storage": { + "label": "address[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(IRouter)7410": { + "label": "contract IRouter", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_struct(Portal)8800_storage)": { + "label": "mapping(address => struct Portal)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Portal)8800_storage": { + "label": "struct Portal", + "members": [ + { + "label": "id", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "ownerAddress", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "modules", + "type": "t_array(t_address)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "isRevocable", + "type": "t_bool", + "offset": 0, + "slot": "3" + }, + { + "label": "name", + "type": "t_string_storage", + "offset": 0, + "slot": "4" + }, + { + "label": "description", + "type": "t_string_storage", + "offset": 0, + "slot": "5" + }, + { + "label": "ownerName", + "type": "t_string_storage", + "offset": 0, + "slot": "6" + } + ], + "numberOfBytes": "224" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } } } } diff --git a/contracts/.openzeppelin/arbitrum-one.json b/contracts/.openzeppelin/arbitrum-one.json index 513324a5..6c685dff 100644 --- a/contracts/.openzeppelin/arbitrum-one.json +++ b/contracts/.openzeppelin/arbitrum-one.json @@ -906,7 +906,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "AttestationReader", "src": "src/AttestationReader.sol:17" }, @@ -914,7 +914,7 @@ "label": "easRegistry", "offset": 0, "slot": "102", - "type": "t_contract(IEAS)7334", + "type": "t_contract(IEAS)7361", "contract": "AttestationReader", "src": "src/AttestationReader.sol:18" } @@ -936,11 +936,11 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IEAS)7334": { + "t_contract(IEAS)7361": { "label": "contract IEAS", "numberOfBytes": "20" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, @@ -1222,7 +1222,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "ModuleRegistry", "src": "src/ModuleRegistry.sol:19" }, @@ -1230,7 +1230,7 @@ "label": "modules", "offset": 0, "slot": "102", - "type": "t_mapping(t_address,t_struct(Module)8780_storage)", + "type": "t_mapping(t_address,t_struct(Module)8807_storage)", "contract": "ModuleRegistry", "src": "src/ModuleRegistry.sol:21" }, @@ -1264,11 +1264,11 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, - "t_mapping(t_address,t_struct(Module)8780_storage)": { + "t_mapping(t_address,t_struct(Module)8807_storage)": { "label": "mapping(address => struct Module)", "numberOfBytes": "32" }, @@ -1276,7 +1276,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(Module)8780_storage": { + "t_struct(Module)8807_storage": { "label": "struct Module", "members": [ { @@ -1540,7 +1540,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "SchemaRegistry", "src": "src/SchemaRegistry.sol:16" }, @@ -1548,7 +1548,7 @@ "label": "schemas", "offset": 0, "slot": "102", - "type": "t_mapping(t_bytes32,t_struct(Schema)8757_storage)", + "type": "t_mapping(t_bytes32,t_struct(Schema)8784_storage)", "contract": "SchemaRegistry", "src": "src/SchemaRegistry.sol:18" }, @@ -1594,7 +1594,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, @@ -1602,7 +1602,7 @@ "label": "mapping(bytes32 => address)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Schema)8757_storage)": { + "t_mapping(t_bytes32,t_struct(Schema)8784_storage)": { "label": "mapping(bytes32 => struct Schema)", "numberOfBytes": "32" }, @@ -1610,7 +1610,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(Schema)8757_storage": { + "t_struct(Schema)8784_storage": { "label": "struct Schema", "members": [ { @@ -1651,6 +1651,406 @@ }, "namespaces": {} } + }, + "afc9287c19cb1b830999d2016348e104b2143101ed97ea26cf1c1b48849ca551": { + "address": "0x80ce19b4906e59554034ca044e562192A2A091a6", + "txHash": "0x6a50a9decb5fadd58aef7feb29200feab55e8d803e3de161f473a4d94c43af74", + "layout": { + "solcVersion": "0.8.21", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" + }, + { + "label": "router", + "offset": 0, + "slot": "101", + "type": "t_contract(IRouter)7410", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:17" + }, + { + "label": "version", + "offset": 20, + "slot": "101", + "type": "t_uint16", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:19" + }, + { + "label": "attestationIdCounter", + "offset": 22, + "slot": "101", + "type": "t_uint32", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:20" + }, + { + "label": "attestations", + "offset": 0, + "slot": "102", + "type": "t_mapping(t_bytes32,t_struct(Attestation)8775_storage)", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:22" + }, + { + "label": "chainPrefix", + "offset": 0, + "slot": "103", + "type": "t_uint256", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:24" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(IRouter)7410": { + "label": "contract IRouter", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_struct(Attestation)8775_storage)": { + "label": "mapping(bytes32 => struct Attestation)", + "numberOfBytes": "32" + }, + "t_struct(Attestation)8775_storage": { + "label": "struct Attestation", + "members": [ + { + "label": "attestationId", + "type": "t_bytes32", + "offset": 0, + "slot": "0" + }, + { + "label": "schemaId", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + }, + { + "label": "replacedBy", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + }, + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "3" + }, + { + "label": "portal", + "type": "t_address", + "offset": 0, + "slot": "4" + }, + { + "label": "attestedDate", + "type": "t_uint64", + "offset": 20, + "slot": "4" + }, + { + "label": "expirationDate", + "type": "t_uint64", + "offset": 0, + "slot": "5" + }, + { + "label": "revocationDate", + "type": "t_uint64", + "offset": 8, + "slot": "5" + }, + { + "label": "version", + "type": "t_uint16", + "offset": 16, + "slot": "5" + }, + { + "label": "revoked", + "type": "t_bool", + "offset": 18, + "slot": "5" + }, + { + "label": "subject", + "type": "t_bytes_storage", + "offset": 0, + "slot": "6" + }, + { + "label": "attestationData", + "type": "t_bytes_storage", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_uint16": { + "label": "uint16", + "numberOfBytes": "2" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint32": { + "label": "uint32", + "numberOfBytes": "4" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "6a363cbbef1041962fe59a76993db35c8e1078fc08b62ce3c7093407d7e8a39d": { + "address": "0xaC5505713B71728F9e59706aCC53fDB9F1ea9be1", + "txHash": "0x28b24282eab80c2123cb99de8d28ff0bbc320e8da6be9ddd9714e8ebaec42d7b", + "layout": { + "solcVersion": "0.8.21", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" + }, + { + "label": "router", + "offset": 0, + "slot": "101", + "type": "t_contract(IRouter)7410", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:20" + }, + { + "label": "portals", + "offset": 0, + "slot": "102", + "type": "t_mapping(t_address,t_struct(Portal)8800_storage)", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:22" + }, + { + "label": "issuers", + "offset": 0, + "slot": "103", + "type": "t_mapping(t_address,t_bool)", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:24" + }, + { + "label": "portalAddresses", + "offset": 0, + "slot": "104", + "type": "t_array(t_address)dyn_storage", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:26" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_address)dyn_storage": { + "label": "address[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(IRouter)7410": { + "label": "contract IRouter", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_struct(Portal)8800_storage)": { + "label": "mapping(address => struct Portal)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Portal)8800_storage": { + "label": "struct Portal", + "members": [ + { + "label": "id", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "ownerAddress", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "modules", + "type": "t_array(t_address)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "isRevocable", + "type": "t_bool", + "offset": 0, + "slot": "3" + }, + { + "label": "name", + "type": "t_string_storage", + "offset": 0, + "slot": "4" + }, + { + "label": "description", + "type": "t_string_storage", + "offset": 0, + "slot": "5" + }, + { + "label": "ownerName", + "type": "t_string_storage", + "offset": 0, + "slot": "6" + } + ], + "numberOfBytes": "224" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } } } } diff --git a/contracts/.openzeppelin/unknown-59140.json b/contracts/.openzeppelin/unknown-59140.json index 63cd7ab0..0e13c8cd 100644 --- a/contracts/.openzeppelin/unknown-59140.json +++ b/contracts/.openzeppelin/unknown-59140.json @@ -2301,7 +2301,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7679", + "type": "t_contract(IRouter)7410", "contract": "AttestationReader", "src": "src/AttestationReader.sol:17" }, @@ -2309,7 +2309,7 @@ "label": "easRegistry", "offset": 0, "slot": "102", - "type": "t_contract(IEAS)7630", + "type": "t_contract(IEAS)7361", "contract": "AttestationReader", "src": "src/AttestationReader.sol:18" } @@ -2331,11 +2331,11 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IEAS)7630": { + "t_contract(IEAS)7361": { "label": "contract IEAS", "numberOfBytes": "20" }, - "t_contract(IRouter)7679": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, @@ -3090,7 +3090,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7679", + "type": "t_contract(IRouter)7383", "contract": "AttestationRegistry", "src": "src/AttestationRegistry.sol:17" }, @@ -3114,7 +3114,7 @@ "label": "attestations", "offset": 0, "slot": "102", - "type": "t_mapping(t_bytes32,t_struct(Attestation)9044_storage)", + "type": "t_mapping(t_bytes32,t_struct(Attestation)8748_storage)", "contract": "AttestationRegistry", "src": "src/AttestationRegistry.sol:22" } @@ -3144,15 +3144,15 @@ "label": "bytes", "numberOfBytes": "32" }, - "t_contract(IRouter)7679": { + "t_contract(IRouter)7383": { "label": "contract IRouter", "numberOfBytes": "20" }, - "t_mapping(t_bytes32,t_struct(Attestation)9044_storage)": { + "t_mapping(t_bytes32,t_struct(Attestation)8748_storage)": { "label": "mapping(bytes32 => struct Attestation)", "numberOfBytes": "32" }, - "t_struct(Attestation)9044_storage": { + "t_struct(Attestation)8748_storage": { "label": "struct Attestation", "members": [ { @@ -3304,7 +3304,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7679", + "type": "t_contract(IRouter)7410", "contract": "ModuleRegistry", "src": "src/ModuleRegistry.sol:19" }, @@ -3312,7 +3312,7 @@ "label": "modules", "offset": 0, "slot": "102", - "type": "t_mapping(t_address,t_struct(Module)9076_storage)", + "type": "t_mapping(t_address,t_struct(Module)8807_storage)", "contract": "ModuleRegistry", "src": "src/ModuleRegistry.sol:21" }, @@ -3346,11 +3346,11 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IRouter)7679": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, - "t_mapping(t_address,t_struct(Module)9076_storage)": { + "t_mapping(t_address,t_struct(Module)8807_storage)": { "label": "mapping(address => struct Module)", "numberOfBytes": "32" }, @@ -3358,7 +3358,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(Module)9076_storage": { + "t_struct(Module)8807_storage": { "label": "struct Module", "members": [ { @@ -3444,7 +3444,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7679", + "type": "t_contract(IRouter)7383", "contract": "PortalRegistry", "src": "src/PortalRegistry.sol:20" }, @@ -3452,7 +3452,7 @@ "label": "portals", "offset": 0, "slot": "102", - "type": "t_mapping(t_address,t_struct(Portal)9069_storage)", + "type": "t_mapping(t_address,t_struct(Portal)8773_storage)", "contract": "PortalRegistry", "src": "src/PortalRegistry.sol:22" }, @@ -3494,7 +3494,7 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IRouter)7679": { + "t_contract(IRouter)7383": { "label": "contract IRouter", "numberOfBytes": "20" }, @@ -3502,7 +3502,7 @@ "label": "mapping(address => bool)", "numberOfBytes": "32" }, - "t_mapping(t_address,t_struct(Portal)9069_storage)": { + "t_mapping(t_address,t_struct(Portal)8773_storage)": { "label": "mapping(address => struct Portal)", "numberOfBytes": "32" }, @@ -3510,7 +3510,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(Portal)9069_storage": { + "t_struct(Portal)8773_storage": { "label": "struct Portal", "members": [ { @@ -3782,7 +3782,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "SchemaRegistry", "src": "src/SchemaRegistry.sol:16" }, @@ -3790,7 +3790,7 @@ "label": "schemas", "offset": 0, "slot": "102", - "type": "t_mapping(t_bytes32,t_struct(Schema)8757_storage)", + "type": "t_mapping(t_bytes32,t_struct(Schema)8784_storage)", "contract": "SchemaRegistry", "src": "src/SchemaRegistry.sol:18" }, @@ -3836,7 +3836,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, @@ -3844,7 +3844,7 @@ "label": "mapping(bytes32 => address)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Schema)8757_storage)": { + "t_mapping(t_bytes32,t_struct(Schema)8784_storage)": { "label": "mapping(bytes32 => struct Schema)", "numberOfBytes": "32" }, @@ -3852,7 +3852,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(Schema)8757_storage": { + "t_struct(Schema)8784_storage": { "label": "struct Schema", "members": [ { @@ -3893,6 +3893,406 @@ }, "namespaces": {} } + }, + "afc9287c19cb1b830999d2016348e104b2143101ed97ea26cf1c1b48849ca551": { + "address": "0x481Aa81d5393ce071148B02B9AeEbF22f95b46Fd", + "txHash": "0xd4eebbbb6c51e82210c57ed10761d26a17faf1b45ce82d6ce2ec0470c91c37f4", + "layout": { + "solcVersion": "0.8.21", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" + }, + { + "label": "router", + "offset": 0, + "slot": "101", + "type": "t_contract(IRouter)7410", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:17" + }, + { + "label": "version", + "offset": 20, + "slot": "101", + "type": "t_uint16", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:19" + }, + { + "label": "attestationIdCounter", + "offset": 22, + "slot": "101", + "type": "t_uint32", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:20" + }, + { + "label": "attestations", + "offset": 0, + "slot": "102", + "type": "t_mapping(t_bytes32,t_struct(Attestation)8775_storage)", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:22" + }, + { + "label": "chainPrefix", + "offset": 0, + "slot": "103", + "type": "t_uint256", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:24" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(IRouter)7410": { + "label": "contract IRouter", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_struct(Attestation)8775_storage)": { + "label": "mapping(bytes32 => struct Attestation)", + "numberOfBytes": "32" + }, + "t_struct(Attestation)8775_storage": { + "label": "struct Attestation", + "members": [ + { + "label": "attestationId", + "type": "t_bytes32", + "offset": 0, + "slot": "0" + }, + { + "label": "schemaId", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + }, + { + "label": "replacedBy", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + }, + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "3" + }, + { + "label": "portal", + "type": "t_address", + "offset": 0, + "slot": "4" + }, + { + "label": "attestedDate", + "type": "t_uint64", + "offset": 20, + "slot": "4" + }, + { + "label": "expirationDate", + "type": "t_uint64", + "offset": 0, + "slot": "5" + }, + { + "label": "revocationDate", + "type": "t_uint64", + "offset": 8, + "slot": "5" + }, + { + "label": "version", + "type": "t_uint16", + "offset": 16, + "slot": "5" + }, + { + "label": "revoked", + "type": "t_bool", + "offset": 18, + "slot": "5" + }, + { + "label": "subject", + "type": "t_bytes_storage", + "offset": 0, + "slot": "6" + }, + { + "label": "attestationData", + "type": "t_bytes_storage", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_uint16": { + "label": "uint16", + "numberOfBytes": "2" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint32": { + "label": "uint32", + "numberOfBytes": "4" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "6a363cbbef1041962fe59a76993db35c8e1078fc08b62ce3c7093407d7e8a39d": { + "address": "0xFa13B02636d888C46e504C16F267CF87131feB07", + "txHash": "0x7e2b942eeaf02f57120f8027d4bead1fab26ac557839ff5b30057491253991be", + "layout": { + "solcVersion": "0.8.21", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" + }, + { + "label": "router", + "offset": 0, + "slot": "101", + "type": "t_contract(IRouter)7410", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:20" + }, + { + "label": "portals", + "offset": 0, + "slot": "102", + "type": "t_mapping(t_address,t_struct(Portal)8800_storage)", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:22" + }, + { + "label": "issuers", + "offset": 0, + "slot": "103", + "type": "t_mapping(t_address,t_bool)", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:24" + }, + { + "label": "portalAddresses", + "offset": 0, + "slot": "104", + "type": "t_array(t_address)dyn_storage", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:26" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_address)dyn_storage": { + "label": "address[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(IRouter)7410": { + "label": "contract IRouter", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_struct(Portal)8800_storage)": { + "label": "mapping(address => struct Portal)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Portal)8800_storage": { + "label": "struct Portal", + "members": [ + { + "label": "id", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "ownerAddress", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "modules", + "type": "t_array(t_address)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "isRevocable", + "type": "t_bool", + "offset": 0, + "slot": "3" + }, + { + "label": "name", + "type": "t_string_storage", + "offset": 0, + "slot": "4" + }, + { + "label": "description", + "type": "t_string_storage", + "offset": 0, + "slot": "5" + }, + { + "label": "ownerName", + "type": "t_string_storage", + "offset": 0, + "slot": "6" + } + ], + "numberOfBytes": "224" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } } } } diff --git a/contracts/.openzeppelin/unknown-59144.json b/contracts/.openzeppelin/unknown-59144.json index 4a118653..d345b213 100644 --- a/contracts/.openzeppelin/unknown-59144.json +++ b/contracts/.openzeppelin/unknown-59144.json @@ -1949,7 +1949,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "AttestationReader", "src": "src/AttestationReader.sol:17" }, @@ -1957,7 +1957,7 @@ "label": "easRegistry", "offset": 0, "slot": "102", - "type": "t_contract(IEAS)7334", + "type": "t_contract(IEAS)7361", "contract": "AttestationReader", "src": "src/AttestationReader.sol:18" } @@ -1979,11 +1979,11 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IEAS)7334": { + "t_contract(IEAS)7361": { "label": "contract IEAS", "numberOfBytes": "20" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, @@ -2264,7 +2264,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "ModuleRegistry", "src": "src/ModuleRegistry.sol:19" }, @@ -2272,7 +2272,7 @@ "label": "modules", "offset": 0, "slot": "102", - "type": "t_mapping(t_address,t_struct(Module)8780_storage)", + "type": "t_mapping(t_address,t_struct(Module)8807_storage)", "contract": "ModuleRegistry", "src": "src/ModuleRegistry.sol:21" }, @@ -2306,11 +2306,11 @@ "label": "bool", "numberOfBytes": "1" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, - "t_mapping(t_address,t_struct(Module)8780_storage)": { + "t_mapping(t_address,t_struct(Module)8807_storage)": { "label": "mapping(address => struct Module)", "numberOfBytes": "32" }, @@ -2318,7 +2318,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(Module)8780_storage": { + "t_struct(Module)8807_storage": { "label": "struct Module", "members": [ { @@ -2742,7 +2742,7 @@ "label": "router", "offset": 0, "slot": "101", - "type": "t_contract(IRouter)7383", + "type": "t_contract(IRouter)7410", "contract": "SchemaRegistry", "src": "src/SchemaRegistry.sol:16" }, @@ -2750,7 +2750,7 @@ "label": "schemas", "offset": 0, "slot": "102", - "type": "t_mapping(t_bytes32,t_struct(Schema)8757_storage)", + "type": "t_mapping(t_bytes32,t_struct(Schema)8784_storage)", "contract": "SchemaRegistry", "src": "src/SchemaRegistry.sol:18" }, @@ -2796,7 +2796,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IRouter)7383": { + "t_contract(IRouter)7410": { "label": "contract IRouter", "numberOfBytes": "20" }, @@ -2804,7 +2804,7 @@ "label": "mapping(bytes32 => address)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Schema)8757_storage)": { + "t_mapping(t_bytes32,t_struct(Schema)8784_storage)": { "label": "mapping(bytes32 => struct Schema)", "numberOfBytes": "32" }, @@ -2812,7 +2812,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(Schema)8757_storage": { + "t_struct(Schema)8784_storage": { "label": "struct Schema", "members": [ { @@ -2853,6 +2853,406 @@ }, "namespaces": {} } + }, + "afc9287c19cb1b830999d2016348e104b2143101ed97ea26cf1c1b48849ca551": { + "address": "0x23178D693eB5D0cB2b4f2e4a4b4CDca9b063dC89", + "txHash": "0x93e4bec427539e44c5ebfd7f9a319c386d8c3fbfe09c2a15ce20c4f65908c9cc", + "layout": { + "solcVersion": "0.8.21", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" + }, + { + "label": "router", + "offset": 0, + "slot": "101", + "type": "t_contract(IRouter)7410", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:17" + }, + { + "label": "version", + "offset": 20, + "slot": "101", + "type": "t_uint16", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:19" + }, + { + "label": "attestationIdCounter", + "offset": 22, + "slot": "101", + "type": "t_uint32", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:20" + }, + { + "label": "attestations", + "offset": 0, + "slot": "102", + "type": "t_mapping(t_bytes32,t_struct(Attestation)8775_storage)", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:22" + }, + { + "label": "chainPrefix", + "offset": 0, + "slot": "103", + "type": "t_uint256", + "contract": "AttestationRegistry", + "src": "src/AttestationRegistry.sol:24" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(IRouter)7410": { + "label": "contract IRouter", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_struct(Attestation)8775_storage)": { + "label": "mapping(bytes32 => struct Attestation)", + "numberOfBytes": "32" + }, + "t_struct(Attestation)8775_storage": { + "label": "struct Attestation", + "members": [ + { + "label": "attestationId", + "type": "t_bytes32", + "offset": 0, + "slot": "0" + }, + { + "label": "schemaId", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + }, + { + "label": "replacedBy", + "type": "t_bytes32", + "offset": 0, + "slot": "2" + }, + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "3" + }, + { + "label": "portal", + "type": "t_address", + "offset": 0, + "slot": "4" + }, + { + "label": "attestedDate", + "type": "t_uint64", + "offset": 20, + "slot": "4" + }, + { + "label": "expirationDate", + "type": "t_uint64", + "offset": 0, + "slot": "5" + }, + { + "label": "revocationDate", + "type": "t_uint64", + "offset": 8, + "slot": "5" + }, + { + "label": "version", + "type": "t_uint16", + "offset": 16, + "slot": "5" + }, + { + "label": "revoked", + "type": "t_bool", + "offset": 18, + "slot": "5" + }, + { + "label": "subject", + "type": "t_bytes_storage", + "offset": 0, + "slot": "6" + }, + { + "label": "attestationData", + "type": "t_bytes_storage", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_uint16": { + "label": "uint16", + "numberOfBytes": "2" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint32": { + "label": "uint32", + "numberOfBytes": "4" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "6a363cbbef1041962fe59a76993db35c8e1078fc08b62ce3c7093407d7e8a39d": { + "address": "0x7899A2eb994886db853414df7C8dE32515ADC0f5", + "txHash": "0x71ab919518d0e0ebc562a9ee72fe904e00081ed6d8df16e4bd3fef4a5eac26fe", + "layout": { + "solcVersion": "0.8.21", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol:94" + }, + { + "label": "router", + "offset": 0, + "slot": "101", + "type": "t_contract(IRouter)7410", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:20" + }, + { + "label": "portals", + "offset": 0, + "slot": "102", + "type": "t_mapping(t_address,t_struct(Portal)8800_storage)", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:22" + }, + { + "label": "issuers", + "offset": 0, + "slot": "103", + "type": "t_mapping(t_address,t_bool)", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:24" + }, + { + "label": "portalAddresses", + "offset": 0, + "slot": "104", + "type": "t_array(t_address)dyn_storage", + "contract": "PortalRegistry", + "src": "src/PortalRegistry.sol:26" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_address)dyn_storage": { + "label": "address[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_contract(IRouter)7410": { + "label": "contract IRouter", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_struct(Portal)8800_storage)": { + "label": "mapping(address => struct Portal)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Portal)8800_storage": { + "label": "struct Portal", + "members": [ + { + "label": "id", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "ownerAddress", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "modules", + "type": "t_array(t_address)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "isRevocable", + "type": "t_bool", + "offset": 0, + "slot": "3" + }, + { + "label": "name", + "type": "t_string_storage", + "offset": 0, + "slot": "4" + }, + { + "label": "description", + "type": "t_string_storage", + "offset": 0, + "slot": "5" + }, + { + "label": "ownerName", + "type": "t_string_storage", + "offset": 0, + "slot": "6" + } + ], + "numberOfBytes": "224" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } } } } diff --git a/contracts/package.json b/contracts/package.json index 101b71a9..cfc7b932 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -29,7 +29,7 @@ "lint": "pnpm solhint \"{script,src,test}/**/*.sol\"", "reimport": "npx hardhat run script/recreateNetworkFile.ts --network", "test": "forge test", - "upgrade": "npx hardhat run script/upgrade/upgradeEverything.ts --network", + "upgrade:": "npx hardhat run script/upgrade/upgradeEverything.ts --network", "upgrade:force": "npx hardhat run script/upgrade/forceUpgradeEverything.ts --network" }, "devDependencies": {