diff --git a/.openzeppelin/polygon-mumbai.json b/.openzeppelin/polygon-mumbai.json index 911db6e2..99e9e300 100644 --- a/.openzeppelin/polygon-mumbai.json +++ b/.openzeppelin/polygon-mumbai.json @@ -637,7 +637,7 @@ "label": "provenanceRegistry", "offset": 0, "slot": "201", - "type": "t_struct(ProvenanceRegistryList)32626_storage", + "type": "t_struct(ProvenanceRegistryList)32635_storage", "contract": "ProvenanceRegistry", "src": "contracts/registry/ProvenanceRegistry.sol:56" }, @@ -645,7 +645,7 @@ "label": "didRegisterList", "offset": 0, "slot": "202", - "type": "t_struct(DIDRegisterList)31761_storage", + "type": "t_struct(DIDRegisterList)31770_storage", "contract": "DIDFactory", "src": "contracts/registry/DIDFactory.sol:27" }, @@ -669,7 +669,7 @@ "label": "erc1155", "offset": 0, "slot": "205", - "type": "t_contract(NFT1155Upgradeable)40815", + "type": "t_contract(NFT1155Upgradeable)40878", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:35" }, @@ -677,7 +677,7 @@ "label": "erc721", "offset": 0, "slot": "206", - "type": "t_contract(NFT721Upgradeable)41826", + "type": "t_contract(NFT721Upgradeable)41889", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:36" }, @@ -693,7 +693,7 @@ "label": "defaultRoyalties", "offset": 0, "slot": "208", - "type": "t_contract(StandardRoyalties)33953", + "type": "t_contract(StandardRoyalties)33962", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:39" }, @@ -739,19 +739,19 @@ "label": "contract INVMConfig", "numberOfBytes": "20" }, - "t_contract(IRoyaltyScheme)26418": { + "t_contract(IRoyaltyScheme)26427": { "label": "contract IRoyaltyScheme", "numberOfBytes": "20" }, - "t_contract(NFT1155Upgradeable)40815": { + "t_contract(NFT1155Upgradeable)40878": { "label": "contract NFT1155Upgradeable", "numberOfBytes": "20" }, - "t_contract(NFT721Upgradeable)41826": { + "t_contract(NFT721Upgradeable)41889": { "label": "contract NFT721Upgradeable", "numberOfBytes": "20" }, - "t_contract(StandardRoyalties)33953": { + "t_contract(StandardRoyalties)33962": { "label": "contract StandardRoyalties", "numberOfBytes": "20" }, @@ -763,11 +763,11 @@ "label": "mapping(bytes32 => mapping(address => bool))", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)": { + "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)": { "label": "mapping(bytes32 => struct DIDRegistryLibrary.DIDRegister)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)": { + "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)": { "label": "mapping(bytes32 => struct ProvenanceRegistry.Provenance)", "numberOfBytes": "32" }, @@ -779,7 +779,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(DIDRegister)31755_storage": { + "t_struct(DIDRegister)31764_storage": { "label": "struct DIDRegistryLibrary.DIDRegister", "members": [ { @@ -856,7 +856,7 @@ }, { "label": "royaltyScheme", - "type": "t_contract(IRoyaltyScheme)26418", + "type": "t_contract(IRoyaltyScheme)26427", "offset": 0, "slot": "10" }, @@ -869,19 +869,19 @@ ], "numberOfBytes": "384" }, - "t_struct(DIDRegisterList)31761_storage": { + "t_struct(DIDRegisterList)31770_storage": { "label": "struct DIDRegistryLibrary.DIDRegisterList", "members": [ { "label": "didRegisters", - "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)", + "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)", "offset": 0, "slot": "0" } ], "numberOfBytes": "32" }, - "t_struct(Provenance)32620_storage": { + "t_struct(Provenance)32629_storage": { "label": "struct ProvenanceRegistry.Provenance", "members": [ { @@ -941,12 +941,12 @@ ], "numberOfBytes": "256" }, - "t_struct(ProvenanceRegistryList)32626_storage": { + "t_struct(ProvenanceRegistryList)32635_storage": { "label": "struct ProvenanceRegistry.ProvenanceRegistryList", "members": [ { "label": "list", - "type": "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)", + "type": "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)", "offset": 0, "slot": "0" } @@ -1010,7 +1010,7 @@ "label": "registry", "offset": 2, "slot": "0", - "type": "t_contract(DIDRegistry)31719", + "type": "t_contract(DIDRegistry)31728", "contract": "StandardRoyalties", "src": "contracts/royalties/StandardRoyalties.sol:18" }, @@ -1032,7 +1032,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(DIDRegistry)31719": { + "t_contract(DIDRegistry)31728": { "label": "contract DIDRegistry", "numberOfBytes": "20" }, @@ -1831,7 +1831,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -1839,7 +1839,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -1879,7 +1879,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -1895,7 +1895,7 @@ "label": "_tokens", "offset": 0, "slot": "259", - "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)", "contract": "NFT721SubscriptionUpgradeable", "src": "contracts/token/erc721/NFT721SubscriptionUpgradeable.sol:17" } @@ -1905,7 +1905,7 @@ "label": "address", "numberOfBytes": "20" }, - "t_array(t_struct(MintedTokens)40828_storage)dyn_storage": { + "t_array(t_struct(MintedTokens)40891_storage)dyn_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens[]", "numberOfBytes": "32" }, @@ -1929,11 +1929,11 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, - "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)": { "label": "mapping(address => struct NFT721SubscriptionUpgradeable.MintedTokens[])", "numberOfBytes": "32" }, @@ -1957,11 +1957,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -1981,7 +1981,7 @@ ], "numberOfBytes": "32" }, - "t_struct(MintedTokens)40828_storage": { + "t_struct(MintedTokens)40891_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens", "members": [ { @@ -2005,7 +2005,7 @@ ], "numberOfBytes": "96" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -2053,7 +2053,7 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "t_struct(RoyaltyInfo)39074_storage": { "label": "struct NFTBase.RoyaltyInfo", "members": [ { @@ -3093,7 +3093,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -3101,7 +3101,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -3141,7 +3141,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -3179,7 +3179,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, @@ -3203,11 +3203,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -3227,7 +3227,7 @@ ], "numberOfBytes": "32" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -3275,7 +3275,667 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "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": {} + } + }, + "66ef9bbdb5257df506473135d5e11cfcde9a0713e22a81f920de728d8a2f3341": { + "address": "0x6B1a2B356AD77C1c3C33Feb8F20E4FA769C7dE91", + "txHash": "0x8656efd45a241f143f52ea8267fa4337733395888dccad8d3f4b52ce74ed08de", + "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)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": "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)26387", + "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)26387": { + "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)2646_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)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(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": {} + } + }, + "4b3648dde9e84e4b4f562e2d6e281f3bf8de7c16dfd1fa9cf35df011a4872feb": { + "address": "0xd99e294f0474d99Ad897A7912C197F153b7eDa19", + "txHash": "0xccf877cbf2d782e34daca8bea1923113acb9565a1684dfecef327d3345ed4966", + "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)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": "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)26387", + "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)39464_storage)dyn_storage)", + "contract": "NFT1155SubscriptionUpgradeable", + "src": "contracts/token/erc1155/NFT1155SubscriptionUpgradeable.sol:18" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_struct(MintedTokens)39464_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)26387": { + "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)39464_storage)dyn_storage)": { + "label": "mapping(bytes32 => struct NFT1155SubscriptionUpgradeable.MintedTokens[])", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)2646_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)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(MintedTokens)39464_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)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": [ { diff --git a/.openzeppelin/polygon.json b/.openzeppelin/polygon.json index 57b03891..acad784c 100644 --- a/.openzeppelin/polygon.json +++ b/.openzeppelin/polygon.json @@ -8764,7 +8764,7 @@ "label": "provenanceRegistry", "offset": 0, "slot": "201", - "type": "t_struct(ProvenanceRegistryList)32626_storage", + "type": "t_struct(ProvenanceRegistryList)32635_storage", "contract": "ProvenanceRegistry", "src": "contracts/registry/ProvenanceRegistry.sol:56" }, @@ -8772,7 +8772,7 @@ "label": "didRegisterList", "offset": 0, "slot": "202", - "type": "t_struct(DIDRegisterList)31761_storage", + "type": "t_struct(DIDRegisterList)31770_storage", "contract": "DIDFactory", "src": "contracts/registry/DIDFactory.sol:27" }, @@ -8796,7 +8796,7 @@ "label": "erc1155", "offset": 0, "slot": "205", - "type": "t_contract(NFT1155Upgradeable)40815", + "type": "t_contract(NFT1155Upgradeable)40878", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:35" }, @@ -8804,7 +8804,7 @@ "label": "erc721", "offset": 0, "slot": "206", - "type": "t_contract(NFT721Upgradeable)41826", + "type": "t_contract(NFT721Upgradeable)41889", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:36" }, @@ -8820,7 +8820,7 @@ "label": "defaultRoyalties", "offset": 0, "slot": "208", - "type": "t_contract(StandardRoyalties)33953", + "type": "t_contract(StandardRoyalties)33962", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:39" }, @@ -8866,19 +8866,19 @@ "label": "contract INVMConfig", "numberOfBytes": "20" }, - "t_contract(IRoyaltyScheme)26418": { + "t_contract(IRoyaltyScheme)26427": { "label": "contract IRoyaltyScheme", "numberOfBytes": "20" }, - "t_contract(NFT1155Upgradeable)40815": { + "t_contract(NFT1155Upgradeable)40878": { "label": "contract NFT1155Upgradeable", "numberOfBytes": "20" }, - "t_contract(NFT721Upgradeable)41826": { + "t_contract(NFT721Upgradeable)41889": { "label": "contract NFT721Upgradeable", "numberOfBytes": "20" }, - "t_contract(StandardRoyalties)33953": { + "t_contract(StandardRoyalties)33962": { "label": "contract StandardRoyalties", "numberOfBytes": "20" }, @@ -8890,11 +8890,11 @@ "label": "mapping(bytes32 => mapping(address => bool))", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)": { + "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)": { "label": "mapping(bytes32 => struct DIDRegistryLibrary.DIDRegister)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)": { + "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)": { "label": "mapping(bytes32 => struct ProvenanceRegistry.Provenance)", "numberOfBytes": "32" }, @@ -8906,7 +8906,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(DIDRegister)31755_storage": { + "t_struct(DIDRegister)31764_storage": { "label": "struct DIDRegistryLibrary.DIDRegister", "members": [ { @@ -8983,7 +8983,7 @@ }, { "label": "royaltyScheme", - "type": "t_contract(IRoyaltyScheme)26418", + "type": "t_contract(IRoyaltyScheme)26427", "offset": 0, "slot": "10" }, @@ -8996,19 +8996,19 @@ ], "numberOfBytes": "384" }, - "t_struct(DIDRegisterList)31761_storage": { + "t_struct(DIDRegisterList)31770_storage": { "label": "struct DIDRegistryLibrary.DIDRegisterList", "members": [ { "label": "didRegisters", - "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)", + "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)", "offset": 0, "slot": "0" } ], "numberOfBytes": "32" }, - "t_struct(Provenance)32620_storage": { + "t_struct(Provenance)32629_storage": { "label": "struct ProvenanceRegistry.Provenance", "members": [ { @@ -9068,12 +9068,12 @@ ], "numberOfBytes": "256" }, - "t_struct(ProvenanceRegistryList)32626_storage": { + "t_struct(ProvenanceRegistryList)32635_storage": { "label": "struct ProvenanceRegistry.ProvenanceRegistryList", "members": [ { "label": "list", - "type": "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)", + "type": "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)", "offset": 0, "slot": "0" } @@ -9137,7 +9137,7 @@ "label": "registry", "offset": 2, "slot": "0", - "type": "t_contract(DIDRegistry)31719", + "type": "t_contract(DIDRegistry)31728", "contract": "StandardRoyalties", "src": "contracts/royalties/StandardRoyalties.sol:18" }, @@ -9159,7 +9159,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(DIDRegistry)31719": { + "t_contract(DIDRegistry)31728": { "label": "contract DIDRegistry", "numberOfBytes": "20" }, @@ -9960,7 +9960,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -9968,7 +9968,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -10008,7 +10008,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -10024,7 +10024,7 @@ "label": "_tokens", "offset": 0, "slot": "259", - "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)", "contract": "NFT721SubscriptionUpgradeable", "src": "contracts/token/erc721/NFT721SubscriptionUpgradeable.sol:17" } @@ -10034,7 +10034,7 @@ "label": "address", "numberOfBytes": "20" }, - "t_array(t_struct(MintedTokens)40828_storage)dyn_storage": { + "t_array(t_struct(MintedTokens)40891_storage)dyn_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens[]", "numberOfBytes": "32" }, @@ -10058,11 +10058,11 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, - "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)": { "label": "mapping(address => struct NFT721SubscriptionUpgradeable.MintedTokens[])", "numberOfBytes": "32" }, @@ -10086,11 +10086,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -10110,7 +10110,7 @@ ], "numberOfBytes": "32" }, - "t_struct(MintedTokens)40828_storage": { + "t_struct(MintedTokens)40891_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens", "members": [ { @@ -10134,7 +10134,7 @@ ], "numberOfBytes": "96" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -10182,7 +10182,7 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "t_struct(RoyaltyInfo)39074_storage": { "label": "struct NFTBase.RoyaltyInfo", "members": [ { @@ -11356,7 +11356,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -11364,7 +11364,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -11404,7 +11404,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -11442,7 +11442,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, @@ -11466,11 +11466,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -11490,7 +11490,7 @@ ], "numberOfBytes": "32" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -11538,7 +11538,667 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "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": {} + } + }, + "66ef9bbdb5257df506473135d5e11cfcde9a0713e22a81f920de728d8a2f3341": { + "address": "0xE3Db193E0f37aB52826A613a795DefC31dc5EEfd", + "txHash": "0x59d8a3820d0b50869f08d9642624f3ac04e731497cb70003017b527d15eed3cf", + "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)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": "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)26387", + "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)26387": { + "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)2646_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)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(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": {} + } + }, + "4b3648dde9e84e4b4f562e2d6e281f3bf8de7c16dfd1fa9cf35df011a4872feb": { + "address": "0xBcc1073bf8Ba78B13A4a3cD02ee1a16D5a731DF3", + "txHash": "0x6ad2cca037d7dd44b2743b601b68359fe04c0a3261f89f8b347ed6310c57ce58", + "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)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": "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)26387", + "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)39464_storage)dyn_storage)", + "contract": "NFT1155SubscriptionUpgradeable", + "src": "contracts/token/erc1155/NFT1155SubscriptionUpgradeable.sol:18" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_struct(MintedTokens)39464_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)26387": { + "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)39464_storage)dyn_storage)": { + "label": "mapping(bytes32 => struct NFT1155SubscriptionUpgradeable.MintedTokens[])", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)2646_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)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(MintedTokens)39464_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)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": [ { diff --git a/.openzeppelin/unknown-137.json b/.openzeppelin/unknown-137.json index 57b03891..acad784c 100644 --- a/.openzeppelin/unknown-137.json +++ b/.openzeppelin/unknown-137.json @@ -8764,7 +8764,7 @@ "label": "provenanceRegistry", "offset": 0, "slot": "201", - "type": "t_struct(ProvenanceRegistryList)32626_storage", + "type": "t_struct(ProvenanceRegistryList)32635_storage", "contract": "ProvenanceRegistry", "src": "contracts/registry/ProvenanceRegistry.sol:56" }, @@ -8772,7 +8772,7 @@ "label": "didRegisterList", "offset": 0, "slot": "202", - "type": "t_struct(DIDRegisterList)31761_storage", + "type": "t_struct(DIDRegisterList)31770_storage", "contract": "DIDFactory", "src": "contracts/registry/DIDFactory.sol:27" }, @@ -8796,7 +8796,7 @@ "label": "erc1155", "offset": 0, "slot": "205", - "type": "t_contract(NFT1155Upgradeable)40815", + "type": "t_contract(NFT1155Upgradeable)40878", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:35" }, @@ -8804,7 +8804,7 @@ "label": "erc721", "offset": 0, "slot": "206", - "type": "t_contract(NFT721Upgradeable)41826", + "type": "t_contract(NFT721Upgradeable)41889", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:36" }, @@ -8820,7 +8820,7 @@ "label": "defaultRoyalties", "offset": 0, "slot": "208", - "type": "t_contract(StandardRoyalties)33953", + "type": "t_contract(StandardRoyalties)33962", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:39" }, @@ -8866,19 +8866,19 @@ "label": "contract INVMConfig", "numberOfBytes": "20" }, - "t_contract(IRoyaltyScheme)26418": { + "t_contract(IRoyaltyScheme)26427": { "label": "contract IRoyaltyScheme", "numberOfBytes": "20" }, - "t_contract(NFT1155Upgradeable)40815": { + "t_contract(NFT1155Upgradeable)40878": { "label": "contract NFT1155Upgradeable", "numberOfBytes": "20" }, - "t_contract(NFT721Upgradeable)41826": { + "t_contract(NFT721Upgradeable)41889": { "label": "contract NFT721Upgradeable", "numberOfBytes": "20" }, - "t_contract(StandardRoyalties)33953": { + "t_contract(StandardRoyalties)33962": { "label": "contract StandardRoyalties", "numberOfBytes": "20" }, @@ -8890,11 +8890,11 @@ "label": "mapping(bytes32 => mapping(address => bool))", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)": { + "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)": { "label": "mapping(bytes32 => struct DIDRegistryLibrary.DIDRegister)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)": { + "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)": { "label": "mapping(bytes32 => struct ProvenanceRegistry.Provenance)", "numberOfBytes": "32" }, @@ -8906,7 +8906,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(DIDRegister)31755_storage": { + "t_struct(DIDRegister)31764_storage": { "label": "struct DIDRegistryLibrary.DIDRegister", "members": [ { @@ -8983,7 +8983,7 @@ }, { "label": "royaltyScheme", - "type": "t_contract(IRoyaltyScheme)26418", + "type": "t_contract(IRoyaltyScheme)26427", "offset": 0, "slot": "10" }, @@ -8996,19 +8996,19 @@ ], "numberOfBytes": "384" }, - "t_struct(DIDRegisterList)31761_storage": { + "t_struct(DIDRegisterList)31770_storage": { "label": "struct DIDRegistryLibrary.DIDRegisterList", "members": [ { "label": "didRegisters", - "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)", + "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)", "offset": 0, "slot": "0" } ], "numberOfBytes": "32" }, - "t_struct(Provenance)32620_storage": { + "t_struct(Provenance)32629_storage": { "label": "struct ProvenanceRegistry.Provenance", "members": [ { @@ -9068,12 +9068,12 @@ ], "numberOfBytes": "256" }, - "t_struct(ProvenanceRegistryList)32626_storage": { + "t_struct(ProvenanceRegistryList)32635_storage": { "label": "struct ProvenanceRegistry.ProvenanceRegistryList", "members": [ { "label": "list", - "type": "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)", + "type": "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)", "offset": 0, "slot": "0" } @@ -9137,7 +9137,7 @@ "label": "registry", "offset": 2, "slot": "0", - "type": "t_contract(DIDRegistry)31719", + "type": "t_contract(DIDRegistry)31728", "contract": "StandardRoyalties", "src": "contracts/royalties/StandardRoyalties.sol:18" }, @@ -9159,7 +9159,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(DIDRegistry)31719": { + "t_contract(DIDRegistry)31728": { "label": "contract DIDRegistry", "numberOfBytes": "20" }, @@ -9960,7 +9960,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -9968,7 +9968,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -10008,7 +10008,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -10024,7 +10024,7 @@ "label": "_tokens", "offset": 0, "slot": "259", - "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)", "contract": "NFT721SubscriptionUpgradeable", "src": "contracts/token/erc721/NFT721SubscriptionUpgradeable.sol:17" } @@ -10034,7 +10034,7 @@ "label": "address", "numberOfBytes": "20" }, - "t_array(t_struct(MintedTokens)40828_storage)dyn_storage": { + "t_array(t_struct(MintedTokens)40891_storage)dyn_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens[]", "numberOfBytes": "32" }, @@ -10058,11 +10058,11 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, - "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)": { "label": "mapping(address => struct NFT721SubscriptionUpgradeable.MintedTokens[])", "numberOfBytes": "32" }, @@ -10086,11 +10086,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -10110,7 +10110,7 @@ ], "numberOfBytes": "32" }, - "t_struct(MintedTokens)40828_storage": { + "t_struct(MintedTokens)40891_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens", "members": [ { @@ -10134,7 +10134,7 @@ ], "numberOfBytes": "96" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -10182,7 +10182,7 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "t_struct(RoyaltyInfo)39074_storage": { "label": "struct NFTBase.RoyaltyInfo", "members": [ { @@ -11356,7 +11356,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -11364,7 +11364,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -11404,7 +11404,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -11442,7 +11442,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, @@ -11466,11 +11466,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -11490,7 +11490,7 @@ ], "numberOfBytes": "32" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -11538,7 +11538,667 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "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": {} + } + }, + "66ef9bbdb5257df506473135d5e11cfcde9a0713e22a81f920de728d8a2f3341": { + "address": "0xE3Db193E0f37aB52826A613a795DefC31dc5EEfd", + "txHash": "0x59d8a3820d0b50869f08d9642624f3ac04e731497cb70003017b527d15eed3cf", + "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)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": "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)26387", + "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)26387": { + "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)2646_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)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(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": {} + } + }, + "4b3648dde9e84e4b4f562e2d6e281f3bf8de7c16dfd1fa9cf35df011a4872feb": { + "address": "0xBcc1073bf8Ba78B13A4a3cD02ee1a16D5a731DF3", + "txHash": "0x6ad2cca037d7dd44b2743b601b68359fe04c0a3261f89f8b347ed6310c57ce58", + "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)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": "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)26387", + "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)39464_storage)dyn_storage)", + "contract": "NFT1155SubscriptionUpgradeable", + "src": "contracts/token/erc1155/NFT1155SubscriptionUpgradeable.sol:18" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_struct(MintedTokens)39464_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)26387": { + "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)39464_storage)dyn_storage)": { + "label": "mapping(bytes32 => struct NFT1155SubscriptionUpgradeable.MintedTokens[])", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)2646_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)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(MintedTokens)39464_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)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": [ { diff --git a/.openzeppelin/unknown-137.json.public b/.openzeppelin/unknown-137.json.public index 57b03891..acad784c 100644 --- a/.openzeppelin/unknown-137.json.public +++ b/.openzeppelin/unknown-137.json.public @@ -8764,7 +8764,7 @@ "label": "provenanceRegistry", "offset": 0, "slot": "201", - "type": "t_struct(ProvenanceRegistryList)32626_storage", + "type": "t_struct(ProvenanceRegistryList)32635_storage", "contract": "ProvenanceRegistry", "src": "contracts/registry/ProvenanceRegistry.sol:56" }, @@ -8772,7 +8772,7 @@ "label": "didRegisterList", "offset": 0, "slot": "202", - "type": "t_struct(DIDRegisterList)31761_storage", + "type": "t_struct(DIDRegisterList)31770_storage", "contract": "DIDFactory", "src": "contracts/registry/DIDFactory.sol:27" }, @@ -8796,7 +8796,7 @@ "label": "erc1155", "offset": 0, "slot": "205", - "type": "t_contract(NFT1155Upgradeable)40815", + "type": "t_contract(NFT1155Upgradeable)40878", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:35" }, @@ -8804,7 +8804,7 @@ "label": "erc721", "offset": 0, "slot": "206", - "type": "t_contract(NFT721Upgradeable)41826", + "type": "t_contract(NFT721Upgradeable)41889", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:36" }, @@ -8820,7 +8820,7 @@ "label": "defaultRoyalties", "offset": 0, "slot": "208", - "type": "t_contract(StandardRoyalties)33953", + "type": "t_contract(StandardRoyalties)33962", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:39" }, @@ -8866,19 +8866,19 @@ "label": "contract INVMConfig", "numberOfBytes": "20" }, - "t_contract(IRoyaltyScheme)26418": { + "t_contract(IRoyaltyScheme)26427": { "label": "contract IRoyaltyScheme", "numberOfBytes": "20" }, - "t_contract(NFT1155Upgradeable)40815": { + "t_contract(NFT1155Upgradeable)40878": { "label": "contract NFT1155Upgradeable", "numberOfBytes": "20" }, - "t_contract(NFT721Upgradeable)41826": { + "t_contract(NFT721Upgradeable)41889": { "label": "contract NFT721Upgradeable", "numberOfBytes": "20" }, - "t_contract(StandardRoyalties)33953": { + "t_contract(StandardRoyalties)33962": { "label": "contract StandardRoyalties", "numberOfBytes": "20" }, @@ -8890,11 +8890,11 @@ "label": "mapping(bytes32 => mapping(address => bool))", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)": { + "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)": { "label": "mapping(bytes32 => struct DIDRegistryLibrary.DIDRegister)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)": { + "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)": { "label": "mapping(bytes32 => struct ProvenanceRegistry.Provenance)", "numberOfBytes": "32" }, @@ -8906,7 +8906,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(DIDRegister)31755_storage": { + "t_struct(DIDRegister)31764_storage": { "label": "struct DIDRegistryLibrary.DIDRegister", "members": [ { @@ -8983,7 +8983,7 @@ }, { "label": "royaltyScheme", - "type": "t_contract(IRoyaltyScheme)26418", + "type": "t_contract(IRoyaltyScheme)26427", "offset": 0, "slot": "10" }, @@ -8996,19 +8996,19 @@ ], "numberOfBytes": "384" }, - "t_struct(DIDRegisterList)31761_storage": { + "t_struct(DIDRegisterList)31770_storage": { "label": "struct DIDRegistryLibrary.DIDRegisterList", "members": [ { "label": "didRegisters", - "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)", + "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)", "offset": 0, "slot": "0" } ], "numberOfBytes": "32" }, - "t_struct(Provenance)32620_storage": { + "t_struct(Provenance)32629_storage": { "label": "struct ProvenanceRegistry.Provenance", "members": [ { @@ -9068,12 +9068,12 @@ ], "numberOfBytes": "256" }, - "t_struct(ProvenanceRegistryList)32626_storage": { + "t_struct(ProvenanceRegistryList)32635_storage": { "label": "struct ProvenanceRegistry.ProvenanceRegistryList", "members": [ { "label": "list", - "type": "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)", + "type": "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)", "offset": 0, "slot": "0" } @@ -9137,7 +9137,7 @@ "label": "registry", "offset": 2, "slot": "0", - "type": "t_contract(DIDRegistry)31719", + "type": "t_contract(DIDRegistry)31728", "contract": "StandardRoyalties", "src": "contracts/royalties/StandardRoyalties.sol:18" }, @@ -9159,7 +9159,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(DIDRegistry)31719": { + "t_contract(DIDRegistry)31728": { "label": "contract DIDRegistry", "numberOfBytes": "20" }, @@ -9960,7 +9960,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -9968,7 +9968,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -10008,7 +10008,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -10024,7 +10024,7 @@ "label": "_tokens", "offset": 0, "slot": "259", - "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)", "contract": "NFT721SubscriptionUpgradeable", "src": "contracts/token/erc721/NFT721SubscriptionUpgradeable.sol:17" } @@ -10034,7 +10034,7 @@ "label": "address", "numberOfBytes": "20" }, - "t_array(t_struct(MintedTokens)40828_storage)dyn_storage": { + "t_array(t_struct(MintedTokens)40891_storage)dyn_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens[]", "numberOfBytes": "32" }, @@ -10058,11 +10058,11 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, - "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)": { "label": "mapping(address => struct NFT721SubscriptionUpgradeable.MintedTokens[])", "numberOfBytes": "32" }, @@ -10086,11 +10086,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -10110,7 +10110,7 @@ ], "numberOfBytes": "32" }, - "t_struct(MintedTokens)40828_storage": { + "t_struct(MintedTokens)40891_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens", "members": [ { @@ -10134,7 +10134,7 @@ ], "numberOfBytes": "96" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -10182,7 +10182,7 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "t_struct(RoyaltyInfo)39074_storage": { "label": "struct NFTBase.RoyaltyInfo", "members": [ { @@ -11356,7 +11356,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -11364,7 +11364,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -11404,7 +11404,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -11442,7 +11442,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, @@ -11466,11 +11466,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -11490,7 +11490,7 @@ ], "numberOfBytes": "32" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -11538,7 +11538,667 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "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": {} + } + }, + "66ef9bbdb5257df506473135d5e11cfcde9a0713e22a81f920de728d8a2f3341": { + "address": "0xE3Db193E0f37aB52826A613a795DefC31dc5EEfd", + "txHash": "0x59d8a3820d0b50869f08d9642624f3ac04e731497cb70003017b527d15eed3cf", + "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)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": "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)26387", + "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)26387": { + "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)2646_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)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(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": {} + } + }, + "4b3648dde9e84e4b4f562e2d6e281f3bf8de7c16dfd1fa9cf35df011a4872feb": { + "address": "0xBcc1073bf8Ba78B13A4a3cD02ee1a16D5a731DF3", + "txHash": "0x6ad2cca037d7dd44b2743b601b68359fe04c0a3261f89f8b347ed6310c57ce58", + "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)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": "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)26387", + "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)39464_storage)dyn_storage)", + "contract": "NFT1155SubscriptionUpgradeable", + "src": "contracts/token/erc1155/NFT1155SubscriptionUpgradeable.sol:18" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_struct(MintedTokens)39464_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)26387": { + "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)39464_storage)dyn_storage)": { + "label": "mapping(bytes32 => struct NFT1155SubscriptionUpgradeable.MintedTokens[])", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)2646_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)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(MintedTokens)39464_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)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": [ { diff --git a/.openzeppelin/unknown-80001.json b/.openzeppelin/unknown-80001.json index 911db6e2..99e9e300 100644 --- a/.openzeppelin/unknown-80001.json +++ b/.openzeppelin/unknown-80001.json @@ -637,7 +637,7 @@ "label": "provenanceRegistry", "offset": 0, "slot": "201", - "type": "t_struct(ProvenanceRegistryList)32626_storage", + "type": "t_struct(ProvenanceRegistryList)32635_storage", "contract": "ProvenanceRegistry", "src": "contracts/registry/ProvenanceRegistry.sol:56" }, @@ -645,7 +645,7 @@ "label": "didRegisterList", "offset": 0, "slot": "202", - "type": "t_struct(DIDRegisterList)31761_storage", + "type": "t_struct(DIDRegisterList)31770_storage", "contract": "DIDFactory", "src": "contracts/registry/DIDFactory.sol:27" }, @@ -669,7 +669,7 @@ "label": "erc1155", "offset": 0, "slot": "205", - "type": "t_contract(NFT1155Upgradeable)40815", + "type": "t_contract(NFT1155Upgradeable)40878", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:35" }, @@ -677,7 +677,7 @@ "label": "erc721", "offset": 0, "slot": "206", - "type": "t_contract(NFT721Upgradeable)41826", + "type": "t_contract(NFT721Upgradeable)41889", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:36" }, @@ -693,7 +693,7 @@ "label": "defaultRoyalties", "offset": 0, "slot": "208", - "type": "t_contract(StandardRoyalties)33953", + "type": "t_contract(StandardRoyalties)33962", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:39" }, @@ -739,19 +739,19 @@ "label": "contract INVMConfig", "numberOfBytes": "20" }, - "t_contract(IRoyaltyScheme)26418": { + "t_contract(IRoyaltyScheme)26427": { "label": "contract IRoyaltyScheme", "numberOfBytes": "20" }, - "t_contract(NFT1155Upgradeable)40815": { + "t_contract(NFT1155Upgradeable)40878": { "label": "contract NFT1155Upgradeable", "numberOfBytes": "20" }, - "t_contract(NFT721Upgradeable)41826": { + "t_contract(NFT721Upgradeable)41889": { "label": "contract NFT721Upgradeable", "numberOfBytes": "20" }, - "t_contract(StandardRoyalties)33953": { + "t_contract(StandardRoyalties)33962": { "label": "contract StandardRoyalties", "numberOfBytes": "20" }, @@ -763,11 +763,11 @@ "label": "mapping(bytes32 => mapping(address => bool))", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)": { + "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)": { "label": "mapping(bytes32 => struct DIDRegistryLibrary.DIDRegister)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)": { + "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)": { "label": "mapping(bytes32 => struct ProvenanceRegistry.Provenance)", "numberOfBytes": "32" }, @@ -779,7 +779,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(DIDRegister)31755_storage": { + "t_struct(DIDRegister)31764_storage": { "label": "struct DIDRegistryLibrary.DIDRegister", "members": [ { @@ -856,7 +856,7 @@ }, { "label": "royaltyScheme", - "type": "t_contract(IRoyaltyScheme)26418", + "type": "t_contract(IRoyaltyScheme)26427", "offset": 0, "slot": "10" }, @@ -869,19 +869,19 @@ ], "numberOfBytes": "384" }, - "t_struct(DIDRegisterList)31761_storage": { + "t_struct(DIDRegisterList)31770_storage": { "label": "struct DIDRegistryLibrary.DIDRegisterList", "members": [ { "label": "didRegisters", - "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)", + "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)", "offset": 0, "slot": "0" } ], "numberOfBytes": "32" }, - "t_struct(Provenance)32620_storage": { + "t_struct(Provenance)32629_storage": { "label": "struct ProvenanceRegistry.Provenance", "members": [ { @@ -941,12 +941,12 @@ ], "numberOfBytes": "256" }, - "t_struct(ProvenanceRegistryList)32626_storage": { + "t_struct(ProvenanceRegistryList)32635_storage": { "label": "struct ProvenanceRegistry.ProvenanceRegistryList", "members": [ { "label": "list", - "type": "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)", + "type": "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)", "offset": 0, "slot": "0" } @@ -1010,7 +1010,7 @@ "label": "registry", "offset": 2, "slot": "0", - "type": "t_contract(DIDRegistry)31719", + "type": "t_contract(DIDRegistry)31728", "contract": "StandardRoyalties", "src": "contracts/royalties/StandardRoyalties.sol:18" }, @@ -1032,7 +1032,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(DIDRegistry)31719": { + "t_contract(DIDRegistry)31728": { "label": "contract DIDRegistry", "numberOfBytes": "20" }, @@ -1831,7 +1831,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -1839,7 +1839,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -1879,7 +1879,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -1895,7 +1895,7 @@ "label": "_tokens", "offset": 0, "slot": "259", - "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)", "contract": "NFT721SubscriptionUpgradeable", "src": "contracts/token/erc721/NFT721SubscriptionUpgradeable.sol:17" } @@ -1905,7 +1905,7 @@ "label": "address", "numberOfBytes": "20" }, - "t_array(t_struct(MintedTokens)40828_storage)dyn_storage": { + "t_array(t_struct(MintedTokens)40891_storage)dyn_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens[]", "numberOfBytes": "32" }, @@ -1929,11 +1929,11 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, - "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)": { "label": "mapping(address => struct NFT721SubscriptionUpgradeable.MintedTokens[])", "numberOfBytes": "32" }, @@ -1957,11 +1957,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -1981,7 +1981,7 @@ ], "numberOfBytes": "32" }, - "t_struct(MintedTokens)40828_storage": { + "t_struct(MintedTokens)40891_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens", "members": [ { @@ -2005,7 +2005,7 @@ ], "numberOfBytes": "96" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -2053,7 +2053,7 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "t_struct(RoyaltyInfo)39074_storage": { "label": "struct NFTBase.RoyaltyInfo", "members": [ { @@ -3093,7 +3093,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -3101,7 +3101,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -3141,7 +3141,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -3179,7 +3179,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, @@ -3203,11 +3203,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -3227,7 +3227,7 @@ ], "numberOfBytes": "32" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -3275,7 +3275,667 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "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": {} + } + }, + "66ef9bbdb5257df506473135d5e11cfcde9a0713e22a81f920de728d8a2f3341": { + "address": "0x6B1a2B356AD77C1c3C33Feb8F20E4FA769C7dE91", + "txHash": "0x8656efd45a241f143f52ea8267fa4337733395888dccad8d3f4b52ce74ed08de", + "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)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": "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)26387", + "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)26387": { + "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)2646_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)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(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": {} + } + }, + "4b3648dde9e84e4b4f562e2d6e281f3bf8de7c16dfd1fa9cf35df011a4872feb": { + "address": "0xd99e294f0474d99Ad897A7912C197F153b7eDa19", + "txHash": "0xccf877cbf2d782e34daca8bea1923113acb9565a1684dfecef327d3345ed4966", + "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)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": "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)26387", + "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)39464_storage)dyn_storage)", + "contract": "NFT1155SubscriptionUpgradeable", + "src": "contracts/token/erc1155/NFT1155SubscriptionUpgradeable.sol:18" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_struct(MintedTokens)39464_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)26387": { + "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)39464_storage)dyn_storage)": { + "label": "mapping(bytes32 => struct NFT1155SubscriptionUpgradeable.MintedTokens[])", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)2646_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)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(MintedTokens)39464_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)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": [ { diff --git a/.openzeppelin/unknown-80001.json.public b/.openzeppelin/unknown-80001.json.public index 911db6e2..99e9e300 100644 --- a/.openzeppelin/unknown-80001.json.public +++ b/.openzeppelin/unknown-80001.json.public @@ -637,7 +637,7 @@ "label": "provenanceRegistry", "offset": 0, "slot": "201", - "type": "t_struct(ProvenanceRegistryList)32626_storage", + "type": "t_struct(ProvenanceRegistryList)32635_storage", "contract": "ProvenanceRegistry", "src": "contracts/registry/ProvenanceRegistry.sol:56" }, @@ -645,7 +645,7 @@ "label": "didRegisterList", "offset": 0, "slot": "202", - "type": "t_struct(DIDRegisterList)31761_storage", + "type": "t_struct(DIDRegisterList)31770_storage", "contract": "DIDFactory", "src": "contracts/registry/DIDFactory.sol:27" }, @@ -669,7 +669,7 @@ "label": "erc1155", "offset": 0, "slot": "205", - "type": "t_contract(NFT1155Upgradeable)40815", + "type": "t_contract(NFT1155Upgradeable)40878", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:35" }, @@ -677,7 +677,7 @@ "label": "erc721", "offset": 0, "slot": "206", - "type": "t_contract(NFT721Upgradeable)41826", + "type": "t_contract(NFT721Upgradeable)41889", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:36" }, @@ -693,7 +693,7 @@ "label": "defaultRoyalties", "offset": 0, "slot": "208", - "type": "t_contract(StandardRoyalties)33953", + "type": "t_contract(StandardRoyalties)33962", "contract": "DIDRegistry", "src": "contracts/registry/DIDRegistry.sol:39" }, @@ -739,19 +739,19 @@ "label": "contract INVMConfig", "numberOfBytes": "20" }, - "t_contract(IRoyaltyScheme)26418": { + "t_contract(IRoyaltyScheme)26427": { "label": "contract IRoyaltyScheme", "numberOfBytes": "20" }, - "t_contract(NFT1155Upgradeable)40815": { + "t_contract(NFT1155Upgradeable)40878": { "label": "contract NFT1155Upgradeable", "numberOfBytes": "20" }, - "t_contract(NFT721Upgradeable)41826": { + "t_contract(NFT721Upgradeable)41889": { "label": "contract NFT721Upgradeable", "numberOfBytes": "20" }, - "t_contract(StandardRoyalties)33953": { + "t_contract(StandardRoyalties)33962": { "label": "contract StandardRoyalties", "numberOfBytes": "20" }, @@ -763,11 +763,11 @@ "label": "mapping(bytes32 => mapping(address => bool))", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)": { + "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)": { "label": "mapping(bytes32 => struct DIDRegistryLibrary.DIDRegister)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)": { + "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)": { "label": "mapping(bytes32 => struct ProvenanceRegistry.Provenance)", "numberOfBytes": "32" }, @@ -779,7 +779,7 @@ "label": "string", "numberOfBytes": "32" }, - "t_struct(DIDRegister)31755_storage": { + "t_struct(DIDRegister)31764_storage": { "label": "struct DIDRegistryLibrary.DIDRegister", "members": [ { @@ -856,7 +856,7 @@ }, { "label": "royaltyScheme", - "type": "t_contract(IRoyaltyScheme)26418", + "type": "t_contract(IRoyaltyScheme)26427", "offset": 0, "slot": "10" }, @@ -869,19 +869,19 @@ ], "numberOfBytes": "384" }, - "t_struct(DIDRegisterList)31761_storage": { + "t_struct(DIDRegisterList)31770_storage": { "label": "struct DIDRegistryLibrary.DIDRegisterList", "members": [ { "label": "didRegisters", - "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31755_storage)", + "type": "t_mapping(t_bytes32,t_struct(DIDRegister)31764_storage)", "offset": 0, "slot": "0" } ], "numberOfBytes": "32" }, - "t_struct(Provenance)32620_storage": { + "t_struct(Provenance)32629_storage": { "label": "struct ProvenanceRegistry.Provenance", "members": [ { @@ -941,12 +941,12 @@ ], "numberOfBytes": "256" }, - "t_struct(ProvenanceRegistryList)32626_storage": { + "t_struct(ProvenanceRegistryList)32635_storage": { "label": "struct ProvenanceRegistry.ProvenanceRegistryList", "members": [ { "label": "list", - "type": "t_mapping(t_bytes32,t_struct(Provenance)32620_storage)", + "type": "t_mapping(t_bytes32,t_struct(Provenance)32629_storage)", "offset": 0, "slot": "0" } @@ -1010,7 +1010,7 @@ "label": "registry", "offset": 2, "slot": "0", - "type": "t_contract(DIDRegistry)31719", + "type": "t_contract(DIDRegistry)31728", "contract": "StandardRoyalties", "src": "contracts/royalties/StandardRoyalties.sol:18" }, @@ -1032,7 +1032,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(DIDRegistry)31719": { + "t_contract(DIDRegistry)31728": { "label": "contract DIDRegistry", "numberOfBytes": "20" }, @@ -1831,7 +1831,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -1839,7 +1839,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -1879,7 +1879,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -1895,7 +1895,7 @@ "label": "_tokens", "offset": 0, "slot": "259", - "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)", "contract": "NFT721SubscriptionUpgradeable", "src": "contracts/token/erc721/NFT721SubscriptionUpgradeable.sol:17" } @@ -1905,7 +1905,7 @@ "label": "address", "numberOfBytes": "20" }, - "t_array(t_struct(MintedTokens)40828_storage)dyn_storage": { + "t_array(t_struct(MintedTokens)40891_storage)dyn_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens[]", "numberOfBytes": "32" }, @@ -1929,11 +1929,11 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, - "t_mapping(t_address,t_array(t_struct(MintedTokens)40828_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(MintedTokens)40891_storage)dyn_storage)": { "label": "mapping(address => struct NFT721SubscriptionUpgradeable.MintedTokens[])", "numberOfBytes": "32" }, @@ -1957,11 +1957,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -1981,7 +1981,7 @@ ], "numberOfBytes": "32" }, - "t_struct(MintedTokens)40828_storage": { + "t_struct(MintedTokens)40891_storage": { "label": "struct NFT721SubscriptionUpgradeable.MintedTokens", "members": [ { @@ -2005,7 +2005,7 @@ ], "numberOfBytes": "96" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -2053,7 +2053,7 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "t_struct(RoyaltyInfo)39074_storage": { "label": "struct NFTBase.RoyaltyInfo", "members": [ { @@ -3093,7 +3093,7 @@ "label": "_royalties", "offset": 0, "slot": "251", - "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)", + "type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:57" }, @@ -3101,7 +3101,7 @@ "label": "_nftAttributes", "offset": 0, "slot": "252", - "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)", + "type": "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)", "contract": "NFTBase", "src": "contracts/token/NFTBase.sol:59" }, @@ -3141,7 +3141,7 @@ "label": "nftRegistry", "offset": 0, "slot": "257", - "type": "t_contract(IExternalRegistry)26378", + "type": "t_contract(IExternalRegistry)26387", "contract": "NFT721Upgradeable", "src": "contracts/token/erc721/NFT721Upgradeable.sol:20" }, @@ -3179,7 +3179,7 @@ "label": "bytes32", "numberOfBytes": "32" }, - "t_contract(IExternalRegistry)26378": { + "t_contract(IExternalRegistry)26387": { "label": "contract IExternalRegistry", "numberOfBytes": "20" }, @@ -3203,11 +3203,11 @@ "label": "mapping(uint256 => address)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(NFTAttributes)39074_storage)": { + "t_mapping(t_uint256,t_struct(NFTAttributes)39083_storage)": { "label": "mapping(uint256 => struct NFTBase.NFTAttributes)", "numberOfBytes": "32" }, - "t_mapping(t_uint256,t_struct(RoyaltyInfo)39065_storage)": { + "t_mapping(t_uint256,t_struct(RoyaltyInfo)39074_storage)": { "label": "mapping(uint256 => struct NFTBase.RoyaltyInfo)", "numberOfBytes": "32" }, @@ -3227,7 +3227,7 @@ ], "numberOfBytes": "32" }, - "t_struct(NFTAttributes)39074_storage": { + "t_struct(NFTAttributes)39083_storage": { "label": "struct NFTBase.NFTAttributes", "members": [ { @@ -3275,7 +3275,667 @@ ], "numberOfBytes": "64" }, - "t_struct(RoyaltyInfo)39065_storage": { + "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": {} + } + }, + "66ef9bbdb5257df506473135d5e11cfcde9a0713e22a81f920de728d8a2f3341": { + "address": "0x6B1a2B356AD77C1c3C33Feb8F20E4FA769C7dE91", + "txHash": "0x8656efd45a241f143f52ea8267fa4337733395888dccad8d3f4b52ce74ed08de", + "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)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": "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)26387", + "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)26387": { + "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)2646_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)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(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": {} + } + }, + "4b3648dde9e84e4b4f562e2d6e281f3bf8de7c16dfd1fa9cf35df011a4872feb": { + "address": "0xd99e294f0474d99Ad897A7912C197F153b7eDa19", + "txHash": "0xccf877cbf2d782e34daca8bea1923113acb9565a1684dfecef327d3345ed4966", + "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)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": "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)26387", + "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)39464_storage)dyn_storage)", + "contract": "NFT1155SubscriptionUpgradeable", + "src": "contracts/token/erc1155/NFT1155SubscriptionUpgradeable.sol:18" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_struct(MintedTokens)39464_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)26387": { + "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)39464_storage)dyn_storage)": { + "label": "mapping(bytes32 => struct NFT1155SubscriptionUpgradeable.MintedTokens[])", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(RoleData)2646_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)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(MintedTokens)39464_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)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": [ { diff --git a/hardhat.config.js b/hardhat.config.js index 8cc60c16..463960ad 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -238,7 +238,7 @@ module.exports = { }, // Polygon: matic mainnet matic: { - url: url || 'https://polygon-mainnet.infura.io/v3/d61e640c4d2c4079b775e99ca0cfcc32', + url: url || `https://polygon-mainnet.infura.io/v3/${process.env.INFURA_TOKEN}`, chainId: 137, accounts, confirmations: 2, diff --git a/scripts/contracts/verify-contracts.js b/scripts/contracts/verify-contracts.js index cfffd703..0024c110 100755 --- a/scripts/contracts/verify-contracts.js +++ b/scripts/contracts/verify-contracts.js @@ -7,7 +7,7 @@ const defaultToVerify = require('../deploy/contracts-verify.json') // Map of network names which are different in hardhat const networksMap = {} networksMap['arbitrum-one'] = 'arbitrum-one' -networksMap['gnosis'] = 'gnosis' +networksMap.gnosis = 'gnosis' /** * This script verify all the contracts source code for a given version, network & tag name