diff --git a/.openzeppelin/mainnet.json b/.openzeppelin/mainnet.json index b06c864..a021f12 100644 --- a/.openzeppelin/mainnet.json +++ b/.openzeppelin/mainnet.json @@ -1082,6 +1082,400 @@ ] } } + }, + "8e57015e0d23cd9f03e542c03fb6317ac652ae232fd6c2bb8654aea0b0163ab6": { + "address": "0xFBF614E89Ac79d738BaeF81CE6929897594b7E69", + "txHash": "0x31e4359c402cc3a8175dceecc0ac422972415dd8d9ed22668429ef021477bb77", + "layout": { + "solcVersion": "0.8.23", + "storage": [], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_bytes_storage)dyn_storage": { + "label": "bytes[]", + "numberOfBytes": "32" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(ISPGlobalHook)925": { + "label": "contract ISPGlobalHook", + "numberOfBytes": "20" + }, + "t_contract(ISPHook)939": { + "label": "contract ISPHook", + "numberOfBytes": "20" + }, + "t_enum(DataLocation)987": { + "label": "enum DataLocation", + "members": [ + "ONCHAIN", + "ARWEAVE", + "IPFS", + "CUSTOM" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)": { + "label": "mapping(string => struct OffchainAttestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Attestation)973_storage)": { + "label": "mapping(uint64 => struct Attestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Schema)1011_storage)": { + "label": "mapping(uint64 => struct Schema)", + "numberOfBytes": "32" + }, + "t_string_memory_ptr": { + "label": "string", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Attestation)973_storage": { + "label": "struct Attestation", + "members": [ + { + "label": "schemaId", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "linkedAttestationId", + "type": "t_uint64", + "offset": 8, + "slot": "0" + }, + { + "label": "attestTimestamp", + "type": "t_uint64", + "offset": 16, + "slot": "0" + }, + { + "label": "revokeTimestamp", + "type": "t_uint64", + "offset": 24, + "slot": "0" + }, + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "validUntil", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 28, + "slot": "1" + }, + { + "label": "revoked", + "type": "t_bool", + "offset": 29, + "slot": "1" + }, + { + "label": "recipients", + "type": "t_array(t_bytes_storage)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "data", + "type": "t_bytes_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(InitializableStorage)64_storage": { + "label": "struct Initializable.InitializableStorage", + "members": [ + { + "label": "_initialized", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "_initializing", + "type": "t_bool", + "offset": 8, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OffchainAttestation)979_storage": { + "label": "struct OffchainAttestation", + "members": [ + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OwnableStorage)14_storage": { + "label": "struct OwnableUpgradeable.OwnableStorage", + "members": [ + { + "label": "_owner", + "type": "t_address", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(SPStorage)628_storage": { + "label": "struct SP.SPStorage", + "members": [ + { + "label": "paused", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "offset": 0, + "slot": "1" + }, + { + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "offset": 0, + "slot": "2" + }, + { + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "offset": 0, + "slot": "3" + }, + { + "label": "schemaCounter", + "type": "t_uint64", + "offset": 0, + "slot": "4" + }, + { + "label": "attestationCounter", + "type": "t_uint64", + "offset": 8, + "slot": "4" + }, + { + "label": "initialSchemaCounter", + "type": "t_uint64", + "offset": 16, + "slot": "4" + }, + { + "label": "initialAttestationCounter", + "type": "t_uint64", + "offset": 24, + "slot": "4" + }, + { + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "offset": 0, + "slot": "5" + } + ], + "numberOfBytes": "192" + }, + "t_struct(Schema)1011_storage": { + "label": "struct Schema", + "members": [ + { + "label": "registrant", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "revocable", + "type": "t_bool", + "offset": 20, + "slot": "0" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 21, + "slot": "0" + }, + { + "label": "maxValidFor", + "type": "t_uint64", + "offset": 22, + "slot": "0" + }, + { + "label": "hook", + "type": "t_contract(ISPHook)939", + "offset": 0, + "slot": "1" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "data", + "type": "t_string_storage", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + } + }, + "namespaces": { + "erc7201:ethsign.SP": [ + { + "contract": "SP", + "label": "paused", + "type": "t_bool", + "src": "src/core/SP.sol:19", + "offset": 0, + "slot": "0" + }, + { + "contract": "SP", + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "src": "src/core/SP.sol:20", + "offset": 0, + "slot": "1" + }, + { + "contract": "SP", + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "src": "src/core/SP.sol:21", + "offset": 0, + "slot": "2" + }, + { + "contract": "SP", + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "src": "src/core/SP.sol:22", + "offset": 0, + "slot": "3" + }, + { + "contract": "SP", + "label": "schemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:23", + "offset": 0, + "slot": "4" + }, + { + "contract": "SP", + "label": "attestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:24", + "offset": 8, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialSchemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:25", + "offset": 16, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialAttestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:26", + "offset": 24, + "slot": "4" + }, + { + "contract": "SP", + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "src": "src/core/SP.sol:27", + "offset": 0, + "slot": "5" + } + ], + "erc7201:openzeppelin.storage.Ownable": [ + { + "contract": "OwnableUpgradeable", + "label": "_owner", + "type": "t_address", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:24", + "offset": 0, + "slot": "0" + } + ], + "erc7201:openzeppelin.storage.Initializable": [ + { + "contract": "Initializable", + "label": "_initialized", + "type": "t_uint64", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:69", + "offset": 0, + "slot": "0" + }, + { + "contract": "Initializable", + "label": "_initializing", + "type": "t_bool", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:73", + "offset": 8, + "slot": "0" + } + ] + } + } } } } diff --git a/.openzeppelin/polygon-mumbai.json b/.openzeppelin/polygon-mumbai.json index 3d70c2a..26699c8 100644 --- a/.openzeppelin/polygon-mumbai.json +++ b/.openzeppelin/polygon-mumbai.json @@ -15,6 +15,11 @@ "address": "0x933D37fA836823A101AF23A8B2A0F07C7079b20F", "txHash": "0xc3aae7cfe8ca71b0ba21a86fbdfeec66ce1781d4f0d117c725e5ba6b03b53ebc", "kind": "uups" + }, + { + "address": "0x4665fffdD8b48aDF5bab3621F835C831f0ee36D7", + "txHash": "0xa96a280873e6abe8445b17f6ab6649baf256c73043ee780efdb590743911a4e7", + "kind": "uups" } ], "impls": { @@ -2693,6 +2698,400 @@ ] } } + }, + "8e57015e0d23cd9f03e542c03fb6317ac652ae232fd6c2bb8654aea0b0163ab6": { + "address": "0x97F8ca031f3ac668eef77172A21e5e7F3970F87f", + "txHash": "0xea691366674de6f4301cc85863ad2890a4c6501f5255f1eeec5fdc63cbf7bf0f", + "layout": { + "solcVersion": "0.8.23", + "storage": [], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_bytes_storage)dyn_storage": { + "label": "bytes[]", + "numberOfBytes": "32" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(ISPGlobalHook)925": { + "label": "contract ISPGlobalHook", + "numberOfBytes": "20" + }, + "t_contract(ISPHook)939": { + "label": "contract ISPHook", + "numberOfBytes": "20" + }, + "t_enum(DataLocation)987": { + "label": "enum DataLocation", + "members": [ + "ONCHAIN", + "ARWEAVE", + "IPFS", + "CUSTOM" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)": { + "label": "mapping(string => struct OffchainAttestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Attestation)973_storage)": { + "label": "mapping(uint64 => struct Attestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Schema)1011_storage)": { + "label": "mapping(uint64 => struct Schema)", + "numberOfBytes": "32" + }, + "t_string_memory_ptr": { + "label": "string", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Attestation)973_storage": { + "label": "struct Attestation", + "members": [ + { + "label": "schemaId", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "linkedAttestationId", + "type": "t_uint64", + "offset": 8, + "slot": "0" + }, + { + "label": "attestTimestamp", + "type": "t_uint64", + "offset": 16, + "slot": "0" + }, + { + "label": "revokeTimestamp", + "type": "t_uint64", + "offset": 24, + "slot": "0" + }, + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "validUntil", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 28, + "slot": "1" + }, + { + "label": "revoked", + "type": "t_bool", + "offset": 29, + "slot": "1" + }, + { + "label": "recipients", + "type": "t_array(t_bytes_storage)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "data", + "type": "t_bytes_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(InitializableStorage)64_storage": { + "label": "struct Initializable.InitializableStorage", + "members": [ + { + "label": "_initialized", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "_initializing", + "type": "t_bool", + "offset": 8, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OffchainAttestation)979_storage": { + "label": "struct OffchainAttestation", + "members": [ + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OwnableStorage)14_storage": { + "label": "struct OwnableUpgradeable.OwnableStorage", + "members": [ + { + "label": "_owner", + "type": "t_address", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(SPStorage)628_storage": { + "label": "struct SP.SPStorage", + "members": [ + { + "label": "paused", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "offset": 0, + "slot": "1" + }, + { + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "offset": 0, + "slot": "2" + }, + { + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "offset": 0, + "slot": "3" + }, + { + "label": "schemaCounter", + "type": "t_uint64", + "offset": 0, + "slot": "4" + }, + { + "label": "attestationCounter", + "type": "t_uint64", + "offset": 8, + "slot": "4" + }, + { + "label": "initialSchemaCounter", + "type": "t_uint64", + "offset": 16, + "slot": "4" + }, + { + "label": "initialAttestationCounter", + "type": "t_uint64", + "offset": 24, + "slot": "4" + }, + { + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "offset": 0, + "slot": "5" + } + ], + "numberOfBytes": "192" + }, + "t_struct(Schema)1011_storage": { + "label": "struct Schema", + "members": [ + { + "label": "registrant", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "revocable", + "type": "t_bool", + "offset": 20, + "slot": "0" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 21, + "slot": "0" + }, + { + "label": "maxValidFor", + "type": "t_uint64", + "offset": 22, + "slot": "0" + }, + { + "label": "hook", + "type": "t_contract(ISPHook)939", + "offset": 0, + "slot": "1" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "data", + "type": "t_string_storage", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + } + }, + "namespaces": { + "erc7201:ethsign.SP": [ + { + "contract": "SP", + "label": "paused", + "type": "t_bool", + "src": "src/core/SP.sol:19", + "offset": 0, + "slot": "0" + }, + { + "contract": "SP", + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "src": "src/core/SP.sol:20", + "offset": 0, + "slot": "1" + }, + { + "contract": "SP", + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "src": "src/core/SP.sol:21", + "offset": 0, + "slot": "2" + }, + { + "contract": "SP", + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "src": "src/core/SP.sol:22", + "offset": 0, + "slot": "3" + }, + { + "contract": "SP", + "label": "schemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:23", + "offset": 0, + "slot": "4" + }, + { + "contract": "SP", + "label": "attestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:24", + "offset": 8, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialSchemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:25", + "offset": 16, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialAttestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:26", + "offset": 24, + "slot": "4" + }, + { + "contract": "SP", + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "src": "src/core/SP.sol:27", + "offset": 0, + "slot": "5" + } + ], + "erc7201:openzeppelin.storage.Ownable": [ + { + "contract": "OwnableUpgradeable", + "label": "_owner", + "type": "t_address", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:24", + "offset": 0, + "slot": "0" + } + ], + "erc7201:openzeppelin.storage.Initializable": [ + { + "contract": "Initializable", + "label": "_initialized", + "type": "t_uint64", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:69", + "offset": 0, + "slot": "0" + }, + { + "contract": "Initializable", + "label": "_initializing", + "type": "t_bool", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:73", + "offset": 8, + "slot": "0" + } + ] + } + } } } } diff --git a/.openzeppelin/polygon.json b/.openzeppelin/polygon.json index 2522af1..9dd93d9 100644 --- a/.openzeppelin/polygon.json +++ b/.openzeppelin/polygon.json @@ -1476,6 +1476,400 @@ ] } } + }, + "8e57015e0d23cd9f03e542c03fb6317ac652ae232fd6c2bb8654aea0b0163ab6": { + "address": "0x17A8E5768A1Dc00cb7cf75ACC7f5f033345aeCDE", + "txHash": "0xb2509bb7d64069d7b3669d1635fa878e8c67930fb08a06eff4387c92352ae51f", + "layout": { + "solcVersion": "0.8.23", + "storage": [], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_bytes_storage)dyn_storage": { + "label": "bytes[]", + "numberOfBytes": "32" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(ISPGlobalHook)925": { + "label": "contract ISPGlobalHook", + "numberOfBytes": "20" + }, + "t_contract(ISPHook)939": { + "label": "contract ISPHook", + "numberOfBytes": "20" + }, + "t_enum(DataLocation)987": { + "label": "enum DataLocation", + "members": [ + "ONCHAIN", + "ARWEAVE", + "IPFS", + "CUSTOM" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)": { + "label": "mapping(string => struct OffchainAttestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Attestation)973_storage)": { + "label": "mapping(uint64 => struct Attestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Schema)1011_storage)": { + "label": "mapping(uint64 => struct Schema)", + "numberOfBytes": "32" + }, + "t_string_memory_ptr": { + "label": "string", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Attestation)973_storage": { + "label": "struct Attestation", + "members": [ + { + "label": "schemaId", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "linkedAttestationId", + "type": "t_uint64", + "offset": 8, + "slot": "0" + }, + { + "label": "attestTimestamp", + "type": "t_uint64", + "offset": 16, + "slot": "0" + }, + { + "label": "revokeTimestamp", + "type": "t_uint64", + "offset": 24, + "slot": "0" + }, + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "validUntil", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 28, + "slot": "1" + }, + { + "label": "revoked", + "type": "t_bool", + "offset": 29, + "slot": "1" + }, + { + "label": "recipients", + "type": "t_array(t_bytes_storage)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "data", + "type": "t_bytes_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(InitializableStorage)64_storage": { + "label": "struct Initializable.InitializableStorage", + "members": [ + { + "label": "_initialized", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "_initializing", + "type": "t_bool", + "offset": 8, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OffchainAttestation)979_storage": { + "label": "struct OffchainAttestation", + "members": [ + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OwnableStorage)14_storage": { + "label": "struct OwnableUpgradeable.OwnableStorage", + "members": [ + { + "label": "_owner", + "type": "t_address", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(SPStorage)628_storage": { + "label": "struct SP.SPStorage", + "members": [ + { + "label": "paused", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "offset": 0, + "slot": "1" + }, + { + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "offset": 0, + "slot": "2" + }, + { + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "offset": 0, + "slot": "3" + }, + { + "label": "schemaCounter", + "type": "t_uint64", + "offset": 0, + "slot": "4" + }, + { + "label": "attestationCounter", + "type": "t_uint64", + "offset": 8, + "slot": "4" + }, + { + "label": "initialSchemaCounter", + "type": "t_uint64", + "offset": 16, + "slot": "4" + }, + { + "label": "initialAttestationCounter", + "type": "t_uint64", + "offset": 24, + "slot": "4" + }, + { + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "offset": 0, + "slot": "5" + } + ], + "numberOfBytes": "192" + }, + "t_struct(Schema)1011_storage": { + "label": "struct Schema", + "members": [ + { + "label": "registrant", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "revocable", + "type": "t_bool", + "offset": 20, + "slot": "0" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 21, + "slot": "0" + }, + { + "label": "maxValidFor", + "type": "t_uint64", + "offset": 22, + "slot": "0" + }, + { + "label": "hook", + "type": "t_contract(ISPHook)939", + "offset": 0, + "slot": "1" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "data", + "type": "t_string_storage", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + } + }, + "namespaces": { + "erc7201:ethsign.SP": [ + { + "contract": "SP", + "label": "paused", + "type": "t_bool", + "src": "src/core/SP.sol:19", + "offset": 0, + "slot": "0" + }, + { + "contract": "SP", + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "src": "src/core/SP.sol:20", + "offset": 0, + "slot": "1" + }, + { + "contract": "SP", + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "src": "src/core/SP.sol:21", + "offset": 0, + "slot": "2" + }, + { + "contract": "SP", + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "src": "src/core/SP.sol:22", + "offset": 0, + "slot": "3" + }, + { + "contract": "SP", + "label": "schemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:23", + "offset": 0, + "slot": "4" + }, + { + "contract": "SP", + "label": "attestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:24", + "offset": 8, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialSchemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:25", + "offset": 16, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialAttestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:26", + "offset": 24, + "slot": "4" + }, + { + "contract": "SP", + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "src": "src/core/SP.sol:27", + "offset": 0, + "slot": "5" + } + ], + "erc7201:openzeppelin.storage.Ownable": [ + { + "contract": "OwnableUpgradeable", + "label": "_owner", + "type": "t_address", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:24", + "offset": 0, + "slot": "0" + } + ], + "erc7201:openzeppelin.storage.Initializable": [ + { + "contract": "Initializable", + "label": "_initialized", + "type": "t_uint64", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:69", + "offset": 0, + "slot": "0" + }, + { + "contract": "Initializable", + "label": "_initializing", + "type": "t_bool", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:73", + "offset": 8, + "slot": "0" + } + ] + } + } } } } diff --git a/.openzeppelin/unknown-204.json b/.openzeppelin/unknown-204.json index 16528ef..5fbf651 100644 --- a/.openzeppelin/unknown-204.json +++ b/.openzeppelin/unknown-204.json @@ -1082,6 +1082,400 @@ ] } } + }, + "8e57015e0d23cd9f03e542c03fb6317ac652ae232fd6c2bb8654aea0b0163ab6": { + "address": "0x36e3f7a8C88EE63740b50f7b87c069a74e461f85", + "txHash": "0x0505b46ceb4dcdbfab0b1d19e074f9dce7654df0d340ab2cb4d7f197f914c6c9", + "layout": { + "solcVersion": "0.8.23", + "storage": [], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_bytes_storage)dyn_storage": { + "label": "bytes[]", + "numberOfBytes": "32" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(ISPGlobalHook)925": { + "label": "contract ISPGlobalHook", + "numberOfBytes": "20" + }, + "t_contract(ISPHook)939": { + "label": "contract ISPHook", + "numberOfBytes": "20" + }, + "t_enum(DataLocation)987": { + "label": "enum DataLocation", + "members": [ + "ONCHAIN", + "ARWEAVE", + "IPFS", + "CUSTOM" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)": { + "label": "mapping(string => struct OffchainAttestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Attestation)973_storage)": { + "label": "mapping(uint64 => struct Attestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Schema)1011_storage)": { + "label": "mapping(uint64 => struct Schema)", + "numberOfBytes": "32" + }, + "t_string_memory_ptr": { + "label": "string", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Attestation)973_storage": { + "label": "struct Attestation", + "members": [ + { + "label": "schemaId", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "linkedAttestationId", + "type": "t_uint64", + "offset": 8, + "slot": "0" + }, + { + "label": "attestTimestamp", + "type": "t_uint64", + "offset": 16, + "slot": "0" + }, + { + "label": "revokeTimestamp", + "type": "t_uint64", + "offset": 24, + "slot": "0" + }, + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "validUntil", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 28, + "slot": "1" + }, + { + "label": "revoked", + "type": "t_bool", + "offset": 29, + "slot": "1" + }, + { + "label": "recipients", + "type": "t_array(t_bytes_storage)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "data", + "type": "t_bytes_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(InitializableStorage)64_storage": { + "label": "struct Initializable.InitializableStorage", + "members": [ + { + "label": "_initialized", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "_initializing", + "type": "t_bool", + "offset": 8, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OffchainAttestation)979_storage": { + "label": "struct OffchainAttestation", + "members": [ + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OwnableStorage)14_storage": { + "label": "struct OwnableUpgradeable.OwnableStorage", + "members": [ + { + "label": "_owner", + "type": "t_address", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(SPStorage)628_storage": { + "label": "struct SP.SPStorage", + "members": [ + { + "label": "paused", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "offset": 0, + "slot": "1" + }, + { + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "offset": 0, + "slot": "2" + }, + { + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "offset": 0, + "slot": "3" + }, + { + "label": "schemaCounter", + "type": "t_uint64", + "offset": 0, + "slot": "4" + }, + { + "label": "attestationCounter", + "type": "t_uint64", + "offset": 8, + "slot": "4" + }, + { + "label": "initialSchemaCounter", + "type": "t_uint64", + "offset": 16, + "slot": "4" + }, + { + "label": "initialAttestationCounter", + "type": "t_uint64", + "offset": 24, + "slot": "4" + }, + { + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "offset": 0, + "slot": "5" + } + ], + "numberOfBytes": "192" + }, + "t_struct(Schema)1011_storage": { + "label": "struct Schema", + "members": [ + { + "label": "registrant", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "revocable", + "type": "t_bool", + "offset": 20, + "slot": "0" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 21, + "slot": "0" + }, + { + "label": "maxValidFor", + "type": "t_uint64", + "offset": 22, + "slot": "0" + }, + { + "label": "hook", + "type": "t_contract(ISPHook)939", + "offset": 0, + "slot": "1" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "data", + "type": "t_string_storage", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + } + }, + "namespaces": { + "erc7201:ethsign.SP": [ + { + "contract": "SP", + "label": "paused", + "type": "t_bool", + "src": "src/core/SP.sol:19", + "offset": 0, + "slot": "0" + }, + { + "contract": "SP", + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "src": "src/core/SP.sol:20", + "offset": 0, + "slot": "1" + }, + { + "contract": "SP", + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "src": "src/core/SP.sol:21", + "offset": 0, + "slot": "2" + }, + { + "contract": "SP", + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "src": "src/core/SP.sol:22", + "offset": 0, + "slot": "3" + }, + { + "contract": "SP", + "label": "schemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:23", + "offset": 0, + "slot": "4" + }, + { + "contract": "SP", + "label": "attestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:24", + "offset": 8, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialSchemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:25", + "offset": 16, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialAttestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:26", + "offset": 24, + "slot": "4" + }, + { + "contract": "SP", + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "src": "src/core/SP.sol:27", + "offset": 0, + "slot": "5" + } + ], + "erc7201:openzeppelin.storage.Ownable": [ + { + "contract": "OwnableUpgradeable", + "label": "_owner", + "type": "t_address", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:24", + "offset": 0, + "slot": "0" + } + ], + "erc7201:openzeppelin.storage.Initializable": [ + { + "contract": "Initializable", + "label": "_initialized", + "type": "t_uint64", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:69", + "offset": 0, + "slot": "0" + }, + { + "contract": "Initializable", + "label": "_initializing", + "type": "t_bool", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:73", + "offset": 8, + "slot": "0" + } + ] + } + } } } } diff --git a/.openzeppelin/unknown-5611.json b/.openzeppelin/unknown-5611.json index 9a122e6..f3dd0ac 100644 --- a/.openzeppelin/unknown-5611.json +++ b/.openzeppelin/unknown-5611.json @@ -1419,6 +1419,400 @@ ] } } + }, + "8e57015e0d23cd9f03e542c03fb6317ac652ae232fd6c2bb8654aea0b0163ab6": { + "address": "0x91eEC742c970eF28CE307B53f0b6A7704D63b209", + "txHash": "0x018e47a21051e7e0b89fcca096f70bbc11abf1ddc871ac5ac32e223943f03e78", + "layout": { + "solcVersion": "0.8.23", + "storage": [], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_bytes_storage)dyn_storage": { + "label": "bytes[]", + "numberOfBytes": "32" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(ISPGlobalHook)925": { + "label": "contract ISPGlobalHook", + "numberOfBytes": "20" + }, + "t_contract(ISPHook)939": { + "label": "contract ISPHook", + "numberOfBytes": "20" + }, + "t_enum(DataLocation)987": { + "label": "enum DataLocation", + "members": [ + "ONCHAIN", + "ARWEAVE", + "IPFS", + "CUSTOM" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)": { + "label": "mapping(string => struct OffchainAttestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Attestation)973_storage)": { + "label": "mapping(uint64 => struct Attestation)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint64,t_struct(Schema)1011_storage)": { + "label": "mapping(uint64 => struct Schema)", + "numberOfBytes": "32" + }, + "t_string_memory_ptr": { + "label": "string", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Attestation)973_storage": { + "label": "struct Attestation", + "members": [ + { + "label": "schemaId", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "linkedAttestationId", + "type": "t_uint64", + "offset": 8, + "slot": "0" + }, + { + "label": "attestTimestamp", + "type": "t_uint64", + "offset": 16, + "slot": "0" + }, + { + "label": "revokeTimestamp", + "type": "t_uint64", + "offset": 24, + "slot": "0" + }, + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "validUntil", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 28, + "slot": "1" + }, + { + "label": "revoked", + "type": "t_bool", + "offset": 29, + "slot": "1" + }, + { + "label": "recipients", + "type": "t_array(t_bytes_storage)dyn_storage", + "offset": 0, + "slot": "2" + }, + { + "label": "data", + "type": "t_bytes_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(InitializableStorage)64_storage": { + "label": "struct Initializable.InitializableStorage", + "members": [ + { + "label": "_initialized", + "type": "t_uint64", + "offset": 0, + "slot": "0" + }, + { + "label": "_initializing", + "type": "t_bool", + "offset": 8, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OffchainAttestation)979_storage": { + "label": "struct OffchainAttestation", + "members": [ + { + "label": "attester", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(OwnableStorage)14_storage": { + "label": "struct OwnableUpgradeable.OwnableStorage", + "members": [ + { + "label": "_owner", + "type": "t_address", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(SPStorage)628_storage": { + "label": "struct SP.SPStorage", + "members": [ + { + "label": "paused", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "offset": 0, + "slot": "1" + }, + { + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "offset": 0, + "slot": "2" + }, + { + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "offset": 0, + "slot": "3" + }, + { + "label": "schemaCounter", + "type": "t_uint64", + "offset": 0, + "slot": "4" + }, + { + "label": "attestationCounter", + "type": "t_uint64", + "offset": 8, + "slot": "4" + }, + { + "label": "initialSchemaCounter", + "type": "t_uint64", + "offset": 16, + "slot": "4" + }, + { + "label": "initialAttestationCounter", + "type": "t_uint64", + "offset": 24, + "slot": "4" + }, + { + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "offset": 0, + "slot": "5" + } + ], + "numberOfBytes": "192" + }, + "t_struct(Schema)1011_storage": { + "label": "struct Schema", + "members": [ + { + "label": "registrant", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "revocable", + "type": "t_bool", + "offset": 20, + "slot": "0" + }, + { + "label": "dataLocation", + "type": "t_enum(DataLocation)987", + "offset": 21, + "slot": "0" + }, + { + "label": "maxValidFor", + "type": "t_uint64", + "offset": 22, + "slot": "0" + }, + { + "label": "hook", + "type": "t_contract(ISPHook)939", + "offset": 0, + "slot": "1" + }, + { + "label": "timestamp", + "type": "t_uint64", + "offset": 20, + "slot": "1" + }, + { + "label": "data", + "type": "t_string_storage", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + } + }, + "namespaces": { + "erc7201:ethsign.SP": [ + { + "contract": "SP", + "label": "paused", + "type": "t_bool", + "src": "src/core/SP.sol:19", + "offset": 0, + "slot": "0" + }, + { + "contract": "SP", + "label": "schemaRegistry", + "type": "t_mapping(t_uint64,t_struct(Schema)1011_storage)", + "src": "src/core/SP.sol:20", + "offset": 0, + "slot": "1" + }, + { + "contract": "SP", + "label": "attestationRegistry", + "type": "t_mapping(t_uint64,t_struct(Attestation)973_storage)", + "src": "src/core/SP.sol:21", + "offset": 0, + "slot": "2" + }, + { + "contract": "SP", + "label": "offchainAttestationRegistry", + "type": "t_mapping(t_string_memory_ptr,t_struct(OffchainAttestation)979_storage)", + "src": "src/core/SP.sol:22", + "offset": 0, + "slot": "3" + }, + { + "contract": "SP", + "label": "schemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:23", + "offset": 0, + "slot": "4" + }, + { + "contract": "SP", + "label": "attestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:24", + "offset": 8, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialSchemaCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:25", + "offset": 16, + "slot": "4" + }, + { + "contract": "SP", + "label": "initialAttestationCounter", + "type": "t_uint64", + "src": "src/core/SP.sol:26", + "offset": 24, + "slot": "4" + }, + { + "contract": "SP", + "label": "globalHook", + "type": "t_contract(ISPGlobalHook)925", + "src": "src/core/SP.sol:27", + "offset": 0, + "slot": "5" + } + ], + "erc7201:openzeppelin.storage.Ownable": [ + { + "contract": "OwnableUpgradeable", + "label": "_owner", + "type": "t_address", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:24", + "offset": 0, + "slot": "0" + } + ], + "erc7201:openzeppelin.storage.Initializable": [ + { + "contract": "Initializable", + "label": "_initialized", + "type": "t_uint64", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:69", + "offset": 0, + "slot": "0" + }, + { + "contract": "Initializable", + "label": "_initializing", + "type": "t_bool", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:73", + "offset": 8, + "slot": "0" + } + ] + } + } } } }