diff --git a/.openzeppelin/unknown-9990.json b/.openzeppelin/unknown-9990.json new file mode 100644 index 00000000..e20734ce --- /dev/null +++ b/.openzeppelin/unknown-9990.json @@ -0,0 +1,2309 @@ +{ + "manifestVersion": "3.2", + "admin": { + "address": "0x2aD96e8E16E8917Ab4104d60606059B6A91133f6", + "txHash": "0x5151ddb4d36521a767f1bcc17f924f0040a3331f309bb3a540d6e7793b6324c8" + }, + "proxies": [ + { + "address": "0x57BF4E0e569406f5f9760BFf314F24ca3BA87963", + "txHash": "0xd62dae7f5ba50751878e4c55de16dd097aa2efc957e89b57d4e8bcfd177fe347", + "kind": "transparent" + }, + { + "address": "0x93605C644181f3dD03A37228528649A76822Fcf1", + "txHash": "0x3e2b689d155f0580cab0a30864c4a36fa08072a02cb3bdd49c27ca085cbc984a", + "kind": "transparent" + }, + { + "address": "0xca8F953c8F97971F7eA4b3659E199422e416cA87", + "txHash": "0x7ffdd2e1122686b1c0e469176dceb10c2a78b94b43d2905c6fc9d6066affcdf8", + "kind": "transparent" + }, + { + "address": "0x605cB0DB42694c14eE2c711D7067b3B972B78a8c", + "txHash": "0x482bc82a0e9c6a605bf29b87de48eed4fabfc30d42eadd8cfdd1eacb93bba395", + "kind": "transparent" + }, + { + "address": "0xED1F1F9092f34e1A9b4FF870213f561d5fc05f5A", + "txHash": "0x21b9a3fc58dbd496c24d6bf5ad8a86292d508472f1fb689abf7928adc2a44cb8", + "kind": "transparent" + }, + { + "address": "0xa785886Adb1B325D1C698d9779D2AFf70Cf37322", + "txHash": "0xd2c85a0ad0a150c7903ce24af58e0ee9348f9a3425dd6879c72b4480669df87a", + "kind": "transparent" + }, + { + "address": "0x1bcA156f746C6Eb8b18d61654293e2Fc5b653fF5", + "txHash": "0x3075496db8f1d2b57bc7b26c1f9c39159dbc72673b395e6f949ac0f2cd521158", + "kind": "transparent" + }, + { + "address": "0x218cd130A50De6c06838EA0F059C0ACd042b4d6b", + "txHash": "0xeb5f447f6d9ff68a8e0c9f87f51ab5f5f9eff5d9a22ff4365fe9fd46227a051c", + "kind": "transparent" + } + ], + "impls": { + "892b6797ed627265a679caf78277fe602443a8fa2c3ac1a5a6090c0027c21052": { + "address": "0xD1Cacdf5fA4C167D7e5F3598415b05809B33764C", + "txHash": "0xc938cad983471194922c29d75eb72dbcbf7333d6aad185e64d87cebbbf80a210", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC165Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41" + }, + { + "label": "_roles", + "offset": 0, + "slot": "151", + "type": "t_mapping(t_bytes32,t_struct(RoleData)34_storage)", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:61" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:259" + }, + { + "label": "marketplaceFee", + "offset": 0, + "slot": "201", + "type": "t_uint256", + "contract": "NeverminedConfig", + "src": "contracts/governance/NeverminedConfig.sol:25" + }, + { + "label": "feeReceiver", + "offset": 0, + "slot": "202", + "type": "t_address", + "contract": "NeverminedConfig", + "src": "contracts/governance/NeverminedConfig.sol:29" + }, + { + "label": "provenanceOff", + "offset": 20, + "slot": "202", + "type": "t_bool", + "contract": "NeverminedConfig", + "src": "contracts/governance/NeverminedConfig.sol:32" + }, + { + "label": "trustedForwarder", + "offset": 0, + "slot": "203", + "type": "t_address", + "contract": "NeverminedConfig", + "src": "contracts/governance/NeverminedConfig.sol:34" + } + ], + "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_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)34_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)", + "numberOfBytes": "32" + }, + "t_struct(RoleData)34_storage": { + "label": "struct AccessControlUpgradeable.RoleData", + "members": [ + { + "label": "members", + "type": "t_mapping(t_address,t_bool)", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "16275ea04ec6a399b470a73b8c3437c16990e2e154606370b11ddc456d12b693": { + "address": "0x34C231880304cCc57585Ae5D523c032bcC13e3A4", + "txHash": "0x7d38a19cc28a4d5cc641b04d4de45630e41f7bacd91fa4a9d8ec11a457b4dc93", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC165Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41" + }, + { + "label": "_roles", + "offset": 0, + "slot": "151", + "type": "t_mapping(t_bytes32,t_struct(RoleData)34_storage)", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:61" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:259" + }, + { + "label": "provenanceRegistry", + "offset": 0, + "slot": "201", + "type": "t_struct(ProvenanceRegistryList)16153_storage", + "contract": "ProvenanceRegistry", + "src": "contracts/registry/ProvenanceRegistry.sol:56" + }, + { + "label": "didRegisterList", + "offset": 0, + "slot": "202", + "type": "t_struct(DIDRegisterList)15288_storage", + "contract": "DIDFactory", + "src": "contracts/registry/DIDFactory.sol:27" + }, + { + "label": "didPermissions", + "offset": 0, + "slot": "203", + "type": "t_mapping(t_bytes32,t_mapping(t_address,t_bool))", + "contract": "DIDFactory", + "src": "contracts/registry/DIDFactory.sol:30" + }, + { + "label": "manager", + "offset": 0, + "slot": "204", + "type": "t_address", + "contract": "DIDFactory", + "src": "contracts/registry/DIDFactory.sol:32" + }, + { + "label": "erc1155", + "offset": 0, + "slot": "205", + "type": "t_contract(NFT1155Upgradeable)20777", + "contract": "DIDRegistry", + "src": "contracts/registry/DIDRegistry.sol:35" + }, + { + "label": "erc721", + "offset": 0, + "slot": "206", + "type": "t_contract(NFT721Upgradeable)21468", + "contract": "DIDRegistry", + "src": "contracts/registry/DIDRegistry.sol:36" + }, + { + "label": "royaltiesCheckers", + "offset": 0, + "slot": "207", + "type": "t_mapping(t_address,t_bool)", + "contract": "DIDRegistry", + "src": "contracts/registry/DIDRegistry.sol:38" + }, + { + "label": "defaultRoyalties", + "offset": 0, + "slot": "208", + "type": "t_contract(StandardRoyalties)16866", + "contract": "DIDRegistry", + "src": "contracts/registry/DIDRegistry.sol:39" + }, + { + "label": "nvmConfig", + "offset": 0, + "slot": "209", + "type": "t_contract(INVMConfig)12655", + "contract": "DIDRegistry", + "src": "contracts/registry/DIDRegistry.sol:41" + } + ], + "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_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_bytes_storage": { + "label": "bytes", + "numberOfBytes": "32" + }, + "t_contract(INVMConfig)12655": { + "label": "contract INVMConfig", + "numberOfBytes": "20" + }, + "t_contract(IRoyaltyScheme)13070": { + "label": "contract IRoyaltyScheme", + "numberOfBytes": "20" + }, + "t_contract(NFT1155Upgradeable)20777": { + "label": "contract NFT1155Upgradeable", + "numberOfBytes": "20" + }, + "t_contract(NFT721Upgradeable)21468": { + "label": "contract NFT721Upgradeable", + "numberOfBytes": "20" + }, + "t_contract(StandardRoyalties)16866": { + "label": "contract StandardRoyalties", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_mapping(t_address,t_bool))": { + "label": "mapping(bytes32 => mapping(address => bool))", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(DIDRegister)15282_storage)": { + "label": "mapping(bytes32 => struct DIDRegistryLibrary.DIDRegister)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Provenance)16147_storage)": { + "label": "mapping(bytes32 => struct ProvenanceRegistry.Provenance)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)34_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(DIDRegister)15282_storage": { + "label": "struct DIDRegistryLibrary.DIDRegister", + "members": [ + { + "label": "owner", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "royalties", + "type": "t_uint8", + "offset": 20, + "slot": "0" + }, + { + "label": "nftInitialized", + "type": "t_bool", + "offset": 21, + "slot": "0" + }, + { + "label": "nftContractAddress", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "creator", + "type": "t_address", + "offset": 0, + "slot": "2" + }, + { + "label": "lastChecksum", + "type": "t_bytes32", + "offset": 0, + "slot": "3" + }, + { + "label": "url", + "type": "t_string_storage", + "offset": 0, + "slot": "4" + }, + { + "label": "lastUpdatedBy", + "type": "t_address", + "offset": 0, + "slot": "5" + }, + { + "label": "blockNumberUpdated", + "type": "t_uint256", + "offset": 0, + "slot": "6" + }, + { + "label": "providers", + "type": "t_array(t_address)dyn_storage", + "offset": 0, + "slot": "7" + }, + { + "label": "delegates", + "type": "t_array(t_address)dyn_storage", + "offset": 0, + "slot": "8" + }, + { + "label": "royaltyRecipient", + "type": "t_address", + "offset": 0, + "slot": "9" + }, + { + "label": "royaltyScheme", + "type": "t_contract(IRoyaltyScheme)13070", + "offset": 0, + "slot": "10" + }, + { + "label": "immutableUrl", + "type": "t_string_storage", + "offset": 0, + "slot": "11" + } + ], + "numberOfBytes": "384" + }, + "t_struct(DIDRegisterList)15288_storage": { + "label": "struct DIDRegistryLibrary.DIDRegisterList", + "members": [ + { + "label": "didRegisters", + "type": "t_mapping(t_bytes32,t_struct(DIDRegister)15282_storage)", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(Provenance)16147_storage": { + "label": "struct ProvenanceRegistry.Provenance", + "members": [ + { + "label": "did", + "type": "t_bytes32", + "offset": 0, + "slot": "0" + }, + { + "label": "relatedDid", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + }, + { + "label": "agentId", + "type": "t_address", + "offset": 0, + "slot": "2" + }, + { + "label": "activityId", + "type": "t_bytes32", + "offset": 0, + "slot": "3" + }, + { + "label": "agentInvolvedId", + "type": "t_address", + "offset": 0, + "slot": "4" + }, + { + "label": "method", + "type": "t_uint8", + "offset": 20, + "slot": "4" + }, + { + "label": "createdBy", + "type": "t_address", + "offset": 0, + "slot": "5" + }, + { + "label": "blockNumberUpdated", + "type": "t_uint256", + "offset": 0, + "slot": "6" + }, + { + "label": "signature", + "type": "t_bytes_storage", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_struct(ProvenanceRegistryList)16153_storage": { + "label": "struct ProvenanceRegistry.ProvenanceRegistryList", + "members": [ + { + "label": "list", + "type": "t_mapping(t_bytes32,t_struct(Provenance)16147_storage)", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(RoleData)34_storage": { + "label": "struct AccessControlUpgradeable.RoleData", + "members": [ + { + "label": "members", + "type": "t_mapping(t_address,t_bool)", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "008194aeb76ab8c710f50c713046918035e3c2654b7b810057790734815c9147": { + "address": "0x7AEa2c1E1b2FB3B4D0e2138D866a2d01D9fE3C1b", + "txHash": "0xcd4ac9b0faacd8dbb80209b731ad36d8bbee85a2719dbc70b0c8fe4687680085", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67" + }, + { + "label": "registry", + "offset": 2, + "slot": "0", + "type": "t_contract(DIDRegistry)15246", + "contract": "StandardRoyalties", + "src": "contracts/royalties/StandardRoyalties.sol:18" + }, + { + "label": "royalties", + "offset": 0, + "slot": "1", + "type": "t_mapping(t_bytes32,t_uint256)", + "contract": "StandardRoyalties", + "src": "contracts/royalties/StandardRoyalties.sol:22" + } + ], + "types": { + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_contract(DIDRegistry)15246": { + "label": "contract DIDRegistry", + "numberOfBytes": "20" + }, + "t_mapping(t_bytes32,t_uint256)": { + "label": "mapping(bytes32 => uint256)", + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "66ef9bbdb5257df506473135d5e11cfcde9a0713e22a81f920de728d8a2f3341": { + "address": "0x1165c7fDb410dc2341989dd42927189CFFA9F2CD", + "txHash": "0xcb23130a4c78d3a4370eb40a42ae67d774299723109e7842ab26188bbab2ec79", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC165Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41" + }, + { + "label": "_balances", + "offset": 0, + "slot": "151", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))", + "contract": "ERC1155Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol:25" + }, + { + "label": "_operatorApprovals", + "offset": 0, + "slot": "152", + "type": "t_mapping(t_address,t_mapping(t_address,t_bool))", + "contract": "ERC1155Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol:28" + }, + { + "label": "_uri", + "offset": 0, + "slot": "153", + "type": "t_string_storage", + "contract": "ERC1155Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol:31" + }, + { + "label": "__gap", + "offset": 0, + "slot": "154", + "type": "t_array(t_uint256)47_storage", + "contract": "ERC1155Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol:528" + }, + { + "label": "_roles", + "offset": 0, + "slot": "201", + "type": "t_mapping(t_bytes32,t_struct(RoleData)34_storage)", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:61" + }, + { + "label": "__gap", + "offset": 0, + "slot": "202", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:259" + }, + { + "label": "_royalties", + "offset": 0, + "slot": "251", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)19006_storage)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:57" + }, + { + "label": "_nftAttributes", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)19015_storage)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:59" + }, + { + "label": "_expiration", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_uint256)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:63" + }, + { + "label": "_contractMetadataUri", + "offset": 0, + "slot": "254", + "type": "t_string_storage", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:66" + }, + { + "label": "nvmConfig", + "offset": 0, + "slot": "255", + "type": "t_address", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:68" + }, + { + "label": "name", + "offset": 0, + "slot": "256", + "type": "t_string_storage", + "contract": "NFT1155Upgradeable", + "src": "contracts/token/erc1155/NFT1155Upgradeable.sol:17" + }, + { + "label": "symbol", + "offset": 0, + "slot": "257", + "type": "t_string_storage", + "contract": "NFT1155Upgradeable", + "src": "contracts/token/erc1155/NFT1155Upgradeable.sol:20" + }, + { + "label": "nftRegistry", + "offset": 0, + "slot": "258", + "type": "t_contract(IExternalRegistry)13050", + "contract": "NFT1155Upgradeable", + "src": "contracts/token/erc1155/NFT1155Upgradeable.sol:22" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "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_contract(IExternalRegistry)13050": { + "label": "contract IExternalRegistry", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_bool))": { + "label": "mapping(address => mapping(address => bool))", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)34_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(NFTAttributes)19015_storage)": { + "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(RoyaltyInfo)19006_storage)": { + "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(NFTAttributes)19015_storage": { + "label": "struct NFTBase.NFTAttributes", + "members": [ + { + "label": "nftInitialized", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "nftSupply", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "mintCap", + "type": "t_uint256", + "offset": 0, + "slot": "2" + }, + { + "label": "nftURI", + "type": "t_string_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RoleData)34_storage": { + "label": "struct AccessControlUpgradeable.RoleData", + "members": [ + { + "label": "members", + "type": "t_mapping(t_address,t_bool)", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(RoyaltyInfo)19006_storage": { + "label": "struct NFTBase.RoyaltyInfo", + "members": [ + { + "label": "receiver", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "royaltyAmount", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "95c2848f38c41b9986375afb2c46947b4b975e7e2d1ca6b535e885fefe99d125": { + "address": "0x83520876CE160d88CEB22E429AC8CeEF0f37E7aa", + "txHash": "0xfd226bfd3342bae00ec6ce5685c36a37b250ea9ede9581fdaf89283f0a977b52", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC165Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41" + }, + { + "label": "_name", + "offset": 0, + "slot": "151", + "type": "t_string_storage", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:25" + }, + { + "label": "_symbol", + "offset": 0, + "slot": "152", + "type": "t_string_storage", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:28" + }, + { + "label": "_owners", + "offset": 0, + "slot": "153", + "type": "t_mapping(t_uint256,t_address)", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:31" + }, + { + "label": "_balances", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_address,t_uint256)", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:34" + }, + { + "label": "_tokenApprovals", + "offset": 0, + "slot": "155", + "type": "t_mapping(t_uint256,t_address)", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:37" + }, + { + "label": "_operatorApprovals", + "offset": 0, + "slot": "156", + "type": "t_mapping(t_address,t_mapping(t_address,t_bool))", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:40" + }, + { + "label": "__gap", + "offset": 0, + "slot": "157", + "type": "t_array(t_uint256)44_storage", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:517" + }, + { + "label": "_roles", + "offset": 0, + "slot": "201", + "type": "t_mapping(t_bytes32,t_struct(RoleData)34_storage)", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:61" + }, + { + "label": "__gap", + "offset": 0, + "slot": "202", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:259" + }, + { + "label": "_royalties", + "offset": 0, + "slot": "251", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)19006_storage)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:57" + }, + { + "label": "_nftAttributes", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)19015_storage)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:59" + }, + { + "label": "_expiration", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_uint256)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:63" + }, + { + "label": "_contractMetadataUri", + "offset": 0, + "slot": "254", + "type": "t_string_storage", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:66" + }, + { + "label": "nvmConfig", + "offset": 0, + "slot": "255", + "type": "t_address", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:68" + }, + { + "label": "_nftContractCap", + "offset": 0, + "slot": "256", + "type": "t_uint256", + "contract": "NFT721Upgradeable", + "src": "contracts/token/erc721/NFT721Upgradeable.sol:18" + }, + { + "label": "nftRegistry", + "offset": 0, + "slot": "257", + "type": "t_contract(IExternalRegistry)13050", + "contract": "NFT721Upgradeable", + "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" + }, + { + "label": "_counterMinted", + "offset": 0, + "slot": "258", + "type": "t_struct(Counter)4781_storage", + "contract": "NFT721Upgradeable", + "src": "contracts/token/erc721/NFT721Upgradeable.sol:25" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)44_storage": { + "label": "uint256[44]", + "numberOfBytes": "1408" + }, + "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_contract(IExternalRegistry)13050": { + "label": "contract IExternalRegistry", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_bool))": { + "label": "mapping(address => mapping(address => bool))", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)34_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_address)": { + "label": "mapping(uint256 => address)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(NFTAttributes)19015_storage)": { + "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(RoyaltyInfo)19006_storage)": { + "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Counter)4781_storage": { + "label": "struct CountersUpgradeable.Counter", + "members": [ + { + "label": "_value", + "type": "t_uint256", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(NFTAttributes)19015_storage": { + "label": "struct NFTBase.NFTAttributes", + "members": [ + { + "label": "nftInitialized", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "nftSupply", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "mintCap", + "type": "t_uint256", + "offset": 0, + "slot": "2" + }, + { + "label": "nftURI", + "type": "t_string_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RoleData)34_storage": { + "label": "struct AccessControlUpgradeable.RoleData", + "members": [ + { + "label": "members", + "type": "t_mapping(t_address,t_bool)", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(RoyaltyInfo)19006_storage": { + "label": "struct NFTBase.RoyaltyInfo", + "members": [ + { + "label": "receiver", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "royaltyAmount", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "289f043618cad820bbb3f983f4a43bfb59eae2d262cf1798bbdc3acb40a2656c": { + "address": "0x283FB6189A477bb68dDE83ca18E977FD0248c4de", + "txHash": "0xb1d5e9047852e3cf877e5c3abf91e21ec37b5a1b28c24a6de7b491998c7fe4af", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC165Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41" + }, + { + "label": "_name", + "offset": 0, + "slot": "151", + "type": "t_string_storage", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:25" + }, + { + "label": "_symbol", + "offset": 0, + "slot": "152", + "type": "t_string_storage", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:28" + }, + { + "label": "_owners", + "offset": 0, + "slot": "153", + "type": "t_mapping(t_uint256,t_address)", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:31" + }, + { + "label": "_balances", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_address,t_uint256)", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:34" + }, + { + "label": "_tokenApprovals", + "offset": 0, + "slot": "155", + "type": "t_mapping(t_uint256,t_address)", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:37" + }, + { + "label": "_operatorApprovals", + "offset": 0, + "slot": "156", + "type": "t_mapping(t_address,t_mapping(t_address,t_bool))", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:40" + }, + { + "label": "__gap", + "offset": 0, + "slot": "157", + "type": "t_array(t_uint256)44_storage", + "contract": "ERC721Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:517" + }, + { + "label": "_roles", + "offset": 0, + "slot": "201", + "type": "t_mapping(t_bytes32,t_struct(RoleData)2646_storage)", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:61" + }, + { + "label": "__gap", + "offset": 0, + "slot": "202", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:259" + }, + { + "label": "_royalties", + "offset": 0, + "slot": "251", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:57" + }, + { + "label": "_nftAttributes", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:59" + }, + { + "label": "_expiration", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_uint256)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:63" + }, + { + "label": "_contractMetadataUri", + "offset": 0, + "slot": "254", + "type": "t_string_storage", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:66" + }, + { + "label": "nvmConfig", + "offset": 0, + "slot": "255", + "type": "t_address", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:68" + }, + { + "label": "_nftContractCap", + "offset": 0, + "slot": "256", + "type": "t_uint256", + "contract": "NFT721Upgradeable", + "src": "contracts/token/erc721/NFT721Upgradeable.sol:18" + }, + { + "label": "nftRegistry", + "offset": 0, + "slot": "257", + "type": "t_contract(IExternalRegistry)26387", + "contract": "NFT721Upgradeable", + "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" + }, + { + "label": "_counterMinted", + "offset": 0, + "slot": "258", + "type": "t_struct(Counter)8119_storage", + "contract": "NFT721Upgradeable", + "src": "contracts/token/erc721/NFT721Upgradeable.sol:25" + }, + { + "label": "_tokens", + "offset": 0, + "slot": "259", + "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)41128_storage)dyn_storage)", + "contract": "NFT721SubscriptionUpgradeable", + "src": "contracts/token/erc721/NFT721SubscriptionUpgradeable.sol:17" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_struct(MintedTokens)41128_storage)dyn_storage": { + "label": "struct NFT721SubscriptionUpgradeable.MintedTokens[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)44_storage": { + "label": "uint256[44]", + "numberOfBytes": "1408" + }, + "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_contract(IExternalRegistry)26387": { + "label": "contract IExternalRegistry", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_array(t_struct(MintedTokens)41128_storage)dyn_storage)": { + "label": "mapping(address => struct NFT721SubscriptionUpgradeable.MintedTokens[])", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_bool))": { + "label": "mapping(address => mapping(address => bool))", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)2646_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_address)": { + "label": "mapping(uint256 => address)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { + "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { + "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(Counter)8119_storage": { + "label": "struct CountersUpgradeable.Counter", + "members": [ + { + "label": "_value", + "type": "t_uint256", + "offset": 0, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_struct(MintedTokens)41128_storage": { + "label": "struct NFT721SubscriptionUpgradeable.MintedTokens", + "members": [ + { + "label": "tokenId", + "type": "t_uint256", + "offset": 0, + "slot": "0" + }, + { + "label": "expirationBlock", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "mintBlock", + "type": "t_uint256", + "offset": 0, + "slot": "2" + } + ], + "numberOfBytes": "96" + }, + "t_struct(NFTAttributes)39083_storage": { + "label": "struct NFTBase.NFTAttributes", + "members": [ + { + "label": "nftInitialized", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "nftSupply", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "mintCap", + "type": "t_uint256", + "offset": 0, + "slot": "2" + }, + { + "label": "nftURI", + "type": "t_string_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RoleData)2646_storage": { + "label": "struct AccessControlUpgradeable.RoleData", + "members": [ + { + "label": "members", + "type": "t_mapping(t_address,t_bool)", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(RoyaltyInfo)39074_storage": { + "label": "struct NFTBase.RoyaltyInfo", + "members": [ + { + "label": "receiver", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "royaltyAmount", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "9996a45f8036b25c0f620dc58562abf24c644a32021a45755be4f2845b7e7a47": { + "address": "0x58f0f540e5AFFD5EBc00c3A2C5D30c51CFBf8adD", + "txHash": "0xd4a9b961cb55fe09e28c192b26962d6d96efa55c9909edf421d5bc1e5d033969", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC165Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41" + }, + { + "label": "_balances", + "offset": 0, + "slot": "151", + "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))", + "contract": "ERC1155Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol:25" + }, + { + "label": "_operatorApprovals", + "offset": 0, + "slot": "152", + "type": "t_mapping(t_address,t_mapping(t_address,t_bool))", + "contract": "ERC1155Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol:28" + }, + { + "label": "_uri", + "offset": 0, + "slot": "153", + "type": "t_string_storage", + "contract": "ERC1155Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol:31" + }, + { + "label": "__gap", + "offset": 0, + "slot": "154", + "type": "t_array(t_uint256)47_storage", + "contract": "ERC1155Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC1155/ERC1155Upgradeable.sol:528" + }, + { + "label": "_roles", + "offset": 0, + "slot": "201", + "type": "t_mapping(t_bytes32,t_struct(RoleData)34_storage)", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:61" + }, + { + "label": "__gap", + "offset": 0, + "slot": "202", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:259" + }, + { + "label": "_royalties", + "offset": 0, + "slot": "251", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)19006_storage)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:57" + }, + { + "label": "_nftAttributes", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)19015_storage)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:59" + }, + { + "label": "_expiration", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_uint256)", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:63" + }, + { + "label": "_contractMetadataUri", + "offset": 0, + "slot": "254", + "type": "t_string_storage", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:66" + }, + { + "label": "nvmConfig", + "offset": 0, + "slot": "255", + "type": "t_address", + "contract": "NFTBase", + "src": "contracts/token/NFTBase.sol:68" + }, + { + "label": "name", + "offset": 0, + "slot": "256", + "type": "t_string_storage", + "contract": "NFT1155Upgradeable", + "src": "contracts/token/erc1155/NFT1155Upgradeable.sol:17" + }, + { + "label": "symbol", + "offset": 0, + "slot": "257", + "type": "t_string_storage", + "contract": "NFT1155Upgradeable", + "src": "contracts/token/erc1155/NFT1155Upgradeable.sol:20" + }, + { + "label": "nftRegistry", + "offset": 0, + "slot": "258", + "type": "t_contract(IExternalRegistry)13050", + "contract": "NFT1155Upgradeable", + "src": "contracts/token/erc1155/NFT1155Upgradeable.sol:22" + }, + { + "label": "_tokens", + "offset": 0, + "slot": "259", + "type": "t_mapping(t_bytes32,t_array(t_struct(MintedTokens)19396_storage)dyn_storage)", + "contract": "NFT1155SubscriptionUpgradeable", + "src": "contracts/token/erc1155/NFT1155SubscriptionUpgradeable.sol:18" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_struct(MintedTokens)19396_storage)dyn_storage": { + "label": "struct NFT1155SubscriptionUpgradeable.MintedTokens[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "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_contract(IExternalRegistry)13050": { + "label": "contract IExternalRegistry", + "numberOfBytes": "20" + }, + "t_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_bool))": { + "label": "mapping(address => mapping(address => bool))", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_array(t_struct(MintedTokens)19396_storage)dyn_storage)": { + "label": "mapping(bytes32 => struct NFT1155SubscriptionUpgradeable.MintedTokens[])", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)34_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": { + "label": "mapping(uint256 => mapping(address => uint256))", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(NFTAttributes)19015_storage)": { + "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", + "numberOfBytes": "32" + }, + "t_mapping(t_uint256,t_struct(RoyaltyInfo)19006_storage)": { + "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(MintedTokens)19396_storage": { + "label": "struct NFT1155SubscriptionUpgradeable.MintedTokens", + "members": [ + { + "label": "amountMinted", + "type": "t_uint256", + "offset": 0, + "slot": "0" + }, + { + "label": "expirationBlock", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "mintBlock", + "type": "t_uint256", + "offset": 0, + "slot": "2" + }, + { + "label": "isMintOps", + "type": "t_bool", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(NFTAttributes)19015_storage": { + "label": "struct NFTBase.NFTAttributes", + "members": [ + { + "label": "nftInitialized", + "type": "t_bool", + "offset": 0, + "slot": "0" + }, + { + "label": "nftSupply", + "type": "t_uint256", + "offset": 0, + "slot": "1" + }, + { + "label": "mintCap", + "type": "t_uint256", + "offset": 0, + "slot": "2" + }, + { + "label": "nftURI", + "type": "t_string_storage", + "offset": 0, + "slot": "3" + } + ], + "numberOfBytes": "128" + }, + "t_struct(RoleData)34_storage": { + "label": "struct AccessControlUpgradeable.RoleData", + "members": [ + { + "label": "members", + "type": "t_mapping(t_address,t_bool)", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_struct(RoyaltyInfo)19006_storage": { + "label": "struct NFTBase.RoyaltyInfo", + "members": [ + { + "label": "receiver", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "royaltyAmount", + "type": "t_uint256", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "25d9e270f90f6912d01aeb604c13f04de53a7b66e27f60d072027cc13a5ec4a9": { + "address": "0x4699896c590695E02619C7f12A8f60c6297e4eA6", + "txHash": "0x0d37da73e8236991c849f0bb397454aa613dbfbb8ebee04d03f8092d6f6158a1", + "layout": { + "solcVersion": "0.8.17", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC165Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41" + }, + { + "label": "_roles", + "offset": 0, + "slot": "101", + "type": "t_mapping(t_bytes32,t_struct(RoleData)2646_storage)", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:61" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "AccessControlUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol:259" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "_balances", + "offset": 0, + "slot": "201", + "type": "t_mapping(t_address,t_uint256)", + "contract": "ERC20Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:37" + }, + { + "label": "_allowances", + "offset": 0, + "slot": "202", + "type": "t_mapping(t_address,t_mapping(t_address,t_uint256))", + "contract": "ERC20Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:39" + }, + { + "label": "_totalSupply", + "offset": 0, + "slot": "203", + "type": "t_uint256", + "contract": "ERC20Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:41" + }, + { + "label": "_name", + "offset": 0, + "slot": "204", + "type": "t_string_storage", + "contract": "ERC20Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:43" + }, + { + "label": "_symbol", + "offset": 0, + "slot": "205", + "type": "t_string_storage", + "contract": "ERC20Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:44" + }, + { + "label": "__gap", + "offset": 0, + "slot": "206", + "type": "t_array(t_uint256)45_storage", + "contract": "ERC20Upgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol:400" + }, + { + "label": "_cap", + "offset": 0, + "slot": "251", + "type": "t_uint256", + "contract": "ERC20CappedUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20CappedUpgradeable.sol:15" + }, + { + "label": "__gap", + "offset": 0, + "slot": "252", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC20CappedUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20CappedUpgradeable.sol:50" + }, + { + "label": "nvmConfig", + "offset": 0, + "slot": "302", + "type": "t_address", + "contract": "NeverminedToken", + "src": "contracts/NeverminedToken.sol:26" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)45_storage": { + "label": "uint256[45]", + "numberOfBytes": "1440" + }, + "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_mapping(t_address,t_bool)": { + "label": "mapping(address => bool)", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_mapping(t_address,t_uint256))": { + "label": "mapping(address => mapping(address => uint256))", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)2646_storage)": { + "label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)", + "numberOfBytes": "32" + }, + "t_string_storage": { + "label": "string", + "numberOfBytes": "32" + }, + "t_struct(RoleData)2646_storage": { + "label": "struct AccessControlUpgradeable.RoleData", + "members": [ + { + "label": "members", + "type": "t_mapping(t_address,t_bool)", + "offset": 0, + "slot": "0" + }, + { + "label": "adminRole", + "type": "t_bytes32", + "offset": 0, + "slot": "1" + } + ], + "numberOfBytes": "64" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + } + } +} diff --git a/hardhat.config.js b/hardhat.config.js index d8eab843..438a0ee4 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -166,6 +166,15 @@ module.exports = { from: '0x73943d14131268F23b721E668911bCDDEcA9da62', gasPrice: 1200000000 + }, + 'peaq-agung': { + url: url || 'https://rpcpc1-qa.agung.peaq.network', + accounts, + chainId: 9990, + // skipDryRun: true, + from: '0x73943d14131268F23b721E668911bCDDEcA9da62' + // gasPrice: 1200000000 + }, 'neon-devnet': { url: url || 'https://devnet.neonevm.org', diff --git a/package.json b/package.json index 62aaf79d..2004e1ae 100644 --- a/package.json +++ b/package.json @@ -44,6 +44,7 @@ "deploy:arbitrum-one": "export NETWORK=arbitrum-one&&export TESTNET=false&&yarn deploy --network arbitrum-one", "deploy:optimism": "export NETWORK=optimism && export TESTNET=false&&yarn deploy --network optimism", "deploy:base": "export NETWORK=base&&export TESTNET=false&&yarn deploy --network base", + "deploy:peaq-agung": "export NETWORK=peaq-agung && export TESTNET=true && yarn deploy --network peaq-agung", "deploy:neon-devnet": "export NETWORK=neon-devnet&&export TESTNET=true&&yarn deploy --network neon-devnet", "deploy:neon-mainnet": "export NETWORK=neon-mainnet&&export TESTNET=false&&yarn deploy --network neon-mainnet", "deploy:mumbai": "export NETWORK=mumbai&&export TESTNET=true&&yarn deploy --network mumbai", @@ -71,6 +72,7 @@ "upgrade:optimism": "export NETWORK=optimism&&yarn run upgrade --network optimism", "upgrade:base": "export NETWORK=base&&yarn run upgrade --network base", "upgrade:celo-mainnet": "export NETWORK=celo&&yarn run upgrade --network celo", + "upgrade:peaq-agung": "export NETWORK=peaq-agung && export TESTNET=true && yarn run upgrade --network peaq-agung ", "test": "hardhat test", "test:unit": "hardhat test $(find test/unit -name '*.*s')", "test:integration": "hardhat test $(find test/int -name '*.*s')", diff --git a/scripts/download_artifacts.sh b/scripts/download_artifacts.sh index 7ee1cdb8..8ff88233 100755 --- a/scripts/download_artifacts.sh +++ b/scripts/download_artifacts.sh @@ -27,6 +27,7 @@ NETWORKS_MAP=( ["gnosis"]="100" ["matic"]="137" ["base"]="8453" + ["peaq-agung"]="9990" ["chiado"]="10200" ["arbitrum-one"]="42161" ["celo-alfajores"]="44787" diff --git a/scripts/upload_artifacts_gs.sh b/scripts/upload_artifacts_gs.sh index 2286bcec..46950bb2 100755 --- a/scripts/upload_artifacts_gs.sh +++ b/scripts/upload_artifacts_gs.sh @@ -46,6 +46,7 @@ NETWORKS_MAP=( ["arbitrum-one"]="42161" ["celo-alfajores"]="44787" ["hyperspace"]="3141" + ["peaq-agung"]="9990" ["celo"]="42220" ["mumbai"]="80001" ["arbitrum-sepolia"]="421614"