From c4c42120478fdc17969a3f3eabb39e3fae1ffd67 Mon Sep 17 00:00:00 2001 From: Tomi_Ohl Date: Fri, 17 May 2024 17:51:09 +0200 Subject: [PATCH] Deploy to all chains --- .gitignore | 1 + .openzeppelin/base.json | 409 +++++++++++++++++++++++++++++++ .openzeppelin/bsc.json | 220 ++++++++++++++++- .openzeppelin/mainnet.json | 220 ++++++++++++++++- .openzeppelin/optimism.json | 220 ++++++++++++++++- .openzeppelin/polygon.json | 220 ++++++++++++++++- .openzeppelin/unknown-25.json | 220 ++++++++++++++++- .openzeppelin/unknown-5000.json | 220 ++++++++++++++++- .openzeppelin/unknown-59144.json | 199 +++++++++++++++ .openzeppelin/unknown-8453.json | 209 ---------------- .upgradable/zkSync-era.json | 199 +++++++++++++++ 11 files changed, 2068 insertions(+), 269 deletions(-) create mode 100644 .openzeppelin/base.json delete mode 100644 .openzeppelin/unknown-8453.json diff --git a/.gitignore b/.gitignore index c21a03f..78cd80e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ typechain #Hardhat files cache* artifacts* +deployments* diff --git a/.openzeppelin/base.json b/.openzeppelin/base.json new file mode 100644 index 0000000..dd2e6d6 --- /dev/null +++ b/.openzeppelin/base.json @@ -0,0 +1,409 @@ +{ + "manifestVersion": "3.2", + "proxies": [ + { + "address": "0x4205e56A69a0130a9e0828D45d0c84e45340a196", + "txHash": "0xa7550bf192845d6e11861afe8bd02e3989bb323e90e17cd4e3dd14919b0288b0", + "kind": "uups" + } + ], + "impls": { + "db621ba457a52498bb334e34303ac90c51d026c208fe64771a9a277b77c33124": { + "address": "0xFFfeD0e63c56944930B9Bb8aB4dEDD5F01A2879a", + "txHash": "0x9109cf4951d581e9215bc63d5c525113e877d18b710f9550b02c01e5204fe22e", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:20" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)6463,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:22" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:26" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)6469_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)6463": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)6463,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)6469_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)6463", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + }, + "4420cc505ef469d86572f190c2e9a578b4f15c4c2645df5124a1a18fb31ab5b4": { + "address": "0x91764561684B0DDD7A43Bc1477C716e16c72DB7d", + "txHash": "0x2ca12adf6694184db2675d8ea6f378373d9e5e79a682cbfee860ff02e7a7b8af", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:21" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)5743,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:24" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:27" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)5768_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)5743": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT", + "CONFIGURABLE_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)5743,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)5768_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)5743", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } + } + } +} diff --git a/.openzeppelin/bsc.json b/.openzeppelin/bsc.json index da1ff55..d2d99fb 100644 --- a/.openzeppelin/bsc.json +++ b/.openzeppelin/bsc.json @@ -53,7 +53,7 @@ "slot": "101", "type": "t_array(t_uint256)50_storage", "contract": "ContextUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" }, { "label": "_owner", @@ -107,7 +107,7 @@ "label": "nftImplementations", "offset": 0, "slot": "252", - "type": "t_mapping(t_enum(ContractType)6448,t_address)", + "type": "t_mapping(t_enum(ContractType)6463,t_address)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:22" }, @@ -115,7 +115,7 @@ "label": "deployedTokenContracts", "offset": 0, "slot": "253", - "type": "t_mapping(t_address,t_array(t_struct(Deployment)6454_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:23" }, @@ -137,7 +137,7 @@ "label": "address payable", "numberOfBytes": "20" }, - "t_array(t_struct(Deployment)6454_storage)dyn_storage": { + "t_array(t_struct(Deployment)6469_storage)dyn_storage": { "label": "struct IGuildRewardNFTFactory.Deployment[]", "numberOfBytes": "32" }, @@ -161,22 +161,22 @@ "label": "bool", "numberOfBytes": "1" }, - "t_enum(ContractType)6448": { + "t_enum(ContractType)6463": { "label": "enum IGuildRewardNFTFactory.ContractType", "members": [ "BASIC_NFT" ], "numberOfBytes": "1" }, - "t_mapping(t_address,t_array(t_struct(Deployment)6454_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)": { "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", "numberOfBytes": "32" }, - "t_mapping(t_enum(ContractType)6448,t_address)": { + "t_mapping(t_enum(ContractType)6463,t_address)": { "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", "numberOfBytes": "32" }, - "t_struct(Deployment)6454_storage": { + "t_struct(Deployment)6469_storage": { "label": "struct IGuildRewardNFTFactory.Deployment", "members": [ { @@ -187,7 +187,7 @@ }, { "label": "contractType", - "type": "t_enum(ContractType)6448", + "type": "t_enum(ContractType)6463", "offset": 20, "slot": "0" } @@ -202,7 +202,207 @@ "label": "uint8", "numberOfBytes": "1" } - } + }, + "namespaces": {} + } + }, + "4420cc505ef469d86572f190c2e9a578b4f15c4c2645df5124a1a18fb31ab5b4": { + "address": "0x84633a9056f210bfaFc7AE16CaE9636811Db19d7", + "txHash": "0xee1e2b33ffca0aa21349038be924f539226be3f30ab46f5c04b0c23a26cc3bcf", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:21" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)5743,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:24" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:27" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)5768_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)5743": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT", + "CONFIGURABLE_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)5743,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)5768_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)5743", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} } } } diff --git a/.openzeppelin/mainnet.json b/.openzeppelin/mainnet.json index fceb3b0..10ff301 100644 --- a/.openzeppelin/mainnet.json +++ b/.openzeppelin/mainnet.json @@ -53,7 +53,7 @@ "slot": "101", "type": "t_array(t_uint256)50_storage", "contract": "ContextUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" }, { "label": "_owner", @@ -107,7 +107,7 @@ "label": "nftImplementations", "offset": 0, "slot": "252", - "type": "t_mapping(t_enum(ContractType)6428,t_address)", + "type": "t_mapping(t_enum(ContractType)6463,t_address)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:22" }, @@ -115,7 +115,7 @@ "label": "deployedTokenContracts", "offset": 0, "slot": "253", - "type": "t_mapping(t_address,t_array(t_struct(Deployment)6434_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:23" }, @@ -137,7 +137,7 @@ "label": "address payable", "numberOfBytes": "20" }, - "t_array(t_struct(Deployment)6434_storage)dyn_storage": { + "t_array(t_struct(Deployment)6469_storage)dyn_storage": { "label": "struct IGuildRewardNFTFactory.Deployment[]", "numberOfBytes": "32" }, @@ -161,22 +161,22 @@ "label": "bool", "numberOfBytes": "1" }, - "t_enum(ContractType)6428": { + "t_enum(ContractType)6463": { "label": "enum IGuildRewardNFTFactory.ContractType", "members": [ "BASIC_NFT" ], "numberOfBytes": "1" }, - "t_mapping(t_address,t_array(t_struct(Deployment)6434_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)": { "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", "numberOfBytes": "32" }, - "t_mapping(t_enum(ContractType)6428,t_address)": { + "t_mapping(t_enum(ContractType)6463,t_address)": { "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", "numberOfBytes": "32" }, - "t_struct(Deployment)6434_storage": { + "t_struct(Deployment)6469_storage": { "label": "struct IGuildRewardNFTFactory.Deployment", "members": [ { @@ -187,7 +187,7 @@ }, { "label": "contractType", - "type": "t_enum(ContractType)6428", + "type": "t_enum(ContractType)6463", "offset": 20, "slot": "0" } @@ -202,7 +202,207 @@ "label": "uint8", "numberOfBytes": "1" } - } + }, + "namespaces": {} + } + }, + "4420cc505ef469d86572f190c2e9a578b4f15c4c2645df5124a1a18fb31ab5b4": { + "address": "0x84633a9056f210bfaFc7AE16CaE9636811Db19d7", + "txHash": "0x74c56ef4d45178706f45ad205140ac088bc4c15c670c09cd647eedf8323ab851", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:21" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)5743,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:24" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:27" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)5768_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)5743": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT", + "CONFIGURABLE_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)5743,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)5768_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)5743", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} } } } diff --git a/.openzeppelin/optimism.json b/.openzeppelin/optimism.json index 52cdf9c..150b34b 100644 --- a/.openzeppelin/optimism.json +++ b/.openzeppelin/optimism.json @@ -53,7 +53,7 @@ "slot": "101", "type": "t_array(t_uint256)50_storage", "contract": "ContextUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" }, { "label": "_owner", @@ -107,7 +107,7 @@ "label": "nftImplementations", "offset": 0, "slot": "252", - "type": "t_mapping(t_enum(ContractType)6428,t_address)", + "type": "t_mapping(t_enum(ContractType)6463,t_address)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:22" }, @@ -115,7 +115,7 @@ "label": "deployedTokenContracts", "offset": 0, "slot": "253", - "type": "t_mapping(t_address,t_array(t_struct(Deployment)6434_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:23" }, @@ -137,7 +137,7 @@ "label": "address payable", "numberOfBytes": "20" }, - "t_array(t_struct(Deployment)6434_storage)dyn_storage": { + "t_array(t_struct(Deployment)6469_storage)dyn_storage": { "label": "struct IGuildRewardNFTFactory.Deployment[]", "numberOfBytes": "32" }, @@ -161,22 +161,22 @@ "label": "bool", "numberOfBytes": "1" }, - "t_enum(ContractType)6428": { + "t_enum(ContractType)6463": { "label": "enum IGuildRewardNFTFactory.ContractType", "members": [ "BASIC_NFT" ], "numberOfBytes": "1" }, - "t_mapping(t_address,t_array(t_struct(Deployment)6434_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)": { "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", "numberOfBytes": "32" }, - "t_mapping(t_enum(ContractType)6428,t_address)": { + "t_mapping(t_enum(ContractType)6463,t_address)": { "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", "numberOfBytes": "32" }, - "t_struct(Deployment)6434_storage": { + "t_struct(Deployment)6469_storage": { "label": "struct IGuildRewardNFTFactory.Deployment", "members": [ { @@ -187,7 +187,7 @@ }, { "label": "contractType", - "type": "t_enum(ContractType)6428", + "type": "t_enum(ContractType)6463", "offset": 20, "slot": "0" } @@ -202,7 +202,207 @@ "label": "uint8", "numberOfBytes": "1" } - } + }, + "namespaces": {} + } + }, + "4420cc505ef469d86572f190c2e9a578b4f15c4c2645df5124a1a18fb31ab5b4": { + "address": "0x91764561684B0DDD7A43Bc1477C716e16c72DB7d", + "txHash": "0xfb38cb6f6fb33111db728fa920282b65204e198ebbaf00511fe638aaa7848435", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:21" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)5743,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:24" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:27" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)5768_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)5743": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT", + "CONFIGURABLE_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)5743,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)5768_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)5743", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} } } } diff --git a/.openzeppelin/polygon.json b/.openzeppelin/polygon.json index ce06ee5..1842b2e 100644 --- a/.openzeppelin/polygon.json +++ b/.openzeppelin/polygon.json @@ -53,7 +53,7 @@ "slot": "101", "type": "t_array(t_uint256)50_storage", "contract": "ContextUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" }, { "label": "_owner", @@ -107,7 +107,7 @@ "label": "nftImplementations", "offset": 0, "slot": "252", - "type": "t_mapping(t_enum(ContractType)6428,t_address)", + "type": "t_mapping(t_enum(ContractType)6463,t_address)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:22" }, @@ -115,7 +115,7 @@ "label": "deployedTokenContracts", "offset": 0, "slot": "253", - "type": "t_mapping(t_address,t_array(t_struct(Deployment)6434_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:23" }, @@ -137,7 +137,7 @@ "label": "address payable", "numberOfBytes": "20" }, - "t_array(t_struct(Deployment)6434_storage)dyn_storage": { + "t_array(t_struct(Deployment)6469_storage)dyn_storage": { "label": "struct IGuildRewardNFTFactory.Deployment[]", "numberOfBytes": "32" }, @@ -161,22 +161,22 @@ "label": "bool", "numberOfBytes": "1" }, - "t_enum(ContractType)6428": { + "t_enum(ContractType)6463": { "label": "enum IGuildRewardNFTFactory.ContractType", "members": [ "BASIC_NFT" ], "numberOfBytes": "1" }, - "t_mapping(t_address,t_array(t_struct(Deployment)6434_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)": { "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", "numberOfBytes": "32" }, - "t_mapping(t_enum(ContractType)6428,t_address)": { + "t_mapping(t_enum(ContractType)6463,t_address)": { "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", "numberOfBytes": "32" }, - "t_struct(Deployment)6434_storage": { + "t_struct(Deployment)6469_storage": { "label": "struct IGuildRewardNFTFactory.Deployment", "members": [ { @@ -187,7 +187,7 @@ }, { "label": "contractType", - "type": "t_enum(ContractType)6428", + "type": "t_enum(ContractType)6463", "offset": 20, "slot": "0" } @@ -202,7 +202,207 @@ "label": "uint8", "numberOfBytes": "1" } - } + }, + "namespaces": {} + } + }, + "4420cc505ef469d86572f190c2e9a578b4f15c4c2645df5124a1a18fb31ab5b4": { + "address": "0x097E05f7a194a30A482CC9616460498980bE79d3", + "txHash": "0x5713c607d4396daac4b13762f7ff6915202e2f93619c25e17761330010090bd6", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:21" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)5743,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:24" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:27" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)5768_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)5743": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT", + "CONFIGURABLE_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)5743,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)5768_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)5743", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} } } } diff --git a/.openzeppelin/unknown-25.json b/.openzeppelin/unknown-25.json index 21243f0..b207cdc 100644 --- a/.openzeppelin/unknown-25.json +++ b/.openzeppelin/unknown-25.json @@ -53,7 +53,7 @@ "slot": "101", "type": "t_array(t_uint256)50_storage", "contract": "ContextUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" }, { "label": "_owner", @@ -107,7 +107,7 @@ "label": "nftImplementations", "offset": 0, "slot": "252", - "type": "t_mapping(t_enum(ContractType)6448,t_address)", + "type": "t_mapping(t_enum(ContractType)6463,t_address)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:22" }, @@ -115,7 +115,7 @@ "label": "deployedTokenContracts", "offset": 0, "slot": "253", - "type": "t_mapping(t_address,t_array(t_struct(Deployment)6454_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:23" }, @@ -137,7 +137,7 @@ "label": "address payable", "numberOfBytes": "20" }, - "t_array(t_struct(Deployment)6454_storage)dyn_storage": { + "t_array(t_struct(Deployment)6469_storage)dyn_storage": { "label": "struct IGuildRewardNFTFactory.Deployment[]", "numberOfBytes": "32" }, @@ -161,22 +161,22 @@ "label": "bool", "numberOfBytes": "1" }, - "t_enum(ContractType)6448": { + "t_enum(ContractType)6463": { "label": "enum IGuildRewardNFTFactory.ContractType", "members": [ "BASIC_NFT" ], "numberOfBytes": "1" }, - "t_mapping(t_address,t_array(t_struct(Deployment)6454_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)": { "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", "numberOfBytes": "32" }, - "t_mapping(t_enum(ContractType)6448,t_address)": { + "t_mapping(t_enum(ContractType)6463,t_address)": { "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", "numberOfBytes": "32" }, - "t_struct(Deployment)6454_storage": { + "t_struct(Deployment)6469_storage": { "label": "struct IGuildRewardNFTFactory.Deployment", "members": [ { @@ -187,7 +187,7 @@ }, { "label": "contractType", - "type": "t_enum(ContractType)6448", + "type": "t_enum(ContractType)6463", "offset": 20, "slot": "0" } @@ -202,7 +202,207 @@ "label": "uint8", "numberOfBytes": "1" } - } + }, + "namespaces": {} + } + }, + "4420cc505ef469d86572f190c2e9a578b4f15c4c2645df5124a1a18fb31ab5b4": { + "address": "0x8c82A71B629DB618847682cD3155e6742304B710", + "txHash": "0xecab890a722d647296898145457fb85935a4ae576b3aec33957954deba8d2c4e", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:21" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)5743,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:24" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:27" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)5768_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)5743": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT", + "CONFIGURABLE_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)5743,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)5768_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)5743", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} } } } diff --git a/.openzeppelin/unknown-5000.json b/.openzeppelin/unknown-5000.json index 8a86933..edba1dd 100644 --- a/.openzeppelin/unknown-5000.json +++ b/.openzeppelin/unknown-5000.json @@ -53,7 +53,7 @@ "slot": "101", "type": "t_array(t_uint256)50_storage", "contract": "ContextUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" }, { "label": "_owner", @@ -107,7 +107,7 @@ "label": "nftImplementations", "offset": 0, "slot": "252", - "type": "t_mapping(t_enum(ContractType)6448,t_address)", + "type": "t_mapping(t_enum(ContractType)6463,t_address)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:22" }, @@ -115,7 +115,7 @@ "label": "deployedTokenContracts", "offset": 0, "slot": "253", - "type": "t_mapping(t_address,t_array(t_struct(Deployment)6454_storage)dyn_storage)", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)", "contract": "GuildRewardNFTFactory", "src": "contracts/GuildRewardNFTFactory.sol:23" }, @@ -137,7 +137,7 @@ "label": "address payable", "numberOfBytes": "20" }, - "t_array(t_struct(Deployment)6454_storage)dyn_storage": { + "t_array(t_struct(Deployment)6469_storage)dyn_storage": { "label": "struct IGuildRewardNFTFactory.Deployment[]", "numberOfBytes": "32" }, @@ -161,22 +161,22 @@ "label": "bool", "numberOfBytes": "1" }, - "t_enum(ContractType)6448": { + "t_enum(ContractType)6463": { "label": "enum IGuildRewardNFTFactory.ContractType", "members": [ "BASIC_NFT" ], "numberOfBytes": "1" }, - "t_mapping(t_address,t_array(t_struct(Deployment)6454_storage)dyn_storage)": { + "t_mapping(t_address,t_array(t_struct(Deployment)6469_storage)dyn_storage)": { "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", "numberOfBytes": "32" }, - "t_mapping(t_enum(ContractType)6448,t_address)": { + "t_mapping(t_enum(ContractType)6463,t_address)": { "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", "numberOfBytes": "32" }, - "t_struct(Deployment)6454_storage": { + "t_struct(Deployment)6469_storage": { "label": "struct IGuildRewardNFTFactory.Deployment", "members": [ { @@ -187,7 +187,7 @@ }, { "label": "contractType", - "type": "t_enum(ContractType)6448", + "type": "t_enum(ContractType)6463", "offset": 20, "slot": "0" } @@ -202,7 +202,207 @@ "label": "uint8", "numberOfBytes": "1" } - } + }, + "namespaces": {} + } + }, + "4420cc505ef469d86572f190c2e9a578b4f15c4c2645df5124a1a18fb31ab5b4": { + "address": "0xe4b4c6a7c6b6396032096C12aDf46B7F14a70F4d", + "txHash": "0xedc1732f24eca9b39c537ffdcc537cfd32e19d130df2f2ca499deb7c360f5a85", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:21" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)5743,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:24" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:27" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)5768_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)5743": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT", + "CONFIGURABLE_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)5743,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)5768_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)5743", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} } } } diff --git a/.openzeppelin/unknown-59144.json b/.openzeppelin/unknown-59144.json index 9cc86ff..efb5917 100644 --- a/.openzeppelin/unknown-59144.json +++ b/.openzeppelin/unknown-59144.json @@ -205,6 +205,205 @@ }, "namespaces": {} } + }, + "4420cc505ef469d86572f190c2e9a578b4f15c4c2645df5124a1a18fb31ab5b4": { + "address": "0x13ec6B98362E43Add08f7CC4f6befd02fa52eE01", + "txHash": "0x34e90d1ff61e0a8043aeb6d3a02b27414b75031361462d014c31d9771ed33979", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:21" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)5743,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:24" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:27" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)5768_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)5743": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT", + "CONFIGURABLE_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)5768_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)5743,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)5768_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)5743", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } } } } diff --git a/.openzeppelin/unknown-8453.json b/.openzeppelin/unknown-8453.json deleted file mode 100644 index f45f407..0000000 --- a/.openzeppelin/unknown-8453.json +++ /dev/null @@ -1,209 +0,0 @@ -{ - "manifestVersion": "3.2", - "proxies": [ - { - "address": "0x4205e56A69a0130a9e0828D45d0c84e45340a196", - "txHash": "0xa7550bf192845d6e11861afe8bd02e3989bb323e90e17cd4e3dd14919b0288b0", - "kind": "uups" - } - ], - "impls": { - "db621ba457a52498bb334e34303ac90c51d026c208fe64771a9a277b77c33124": { - "address": "0xFFfeD0e63c56944930B9Bb8aB4dEDD5F01A2879a", - "txHash": "0x9109cf4951d581e9215bc63d5c525113e877d18b710f9550b02c01e5204fe22e", - "layout": { - "solcVersion": "0.8.19", - "storage": [ - { - "label": "_initialized", - "offset": 0, - "slot": "0", - "type": "t_uint8", - "contract": "Initializable", - "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", - "retypedFrom": "bool" - }, - { - "label": "_initializing", - "offset": 1, - "slot": "0", - "type": "t_bool", - "contract": "Initializable", - "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" - }, - { - "label": "__gap", - "offset": 0, - "slot": "1", - "type": "t_array(t_uint256)50_storage", - "contract": "ERC1967UpgradeUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" - }, - { - "label": "__gap", - "offset": 0, - "slot": "51", - "type": "t_array(t_uint256)50_storage", - "contract": "UUPSUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" - }, - { - "label": "__gap", - "offset": 0, - "slot": "101", - "type": "t_array(t_uint256)50_storage", - "contract": "ContextUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36" - }, - { - "label": "_owner", - "offset": 0, - "slot": "151", - "type": "t_address", - "contract": "OwnableUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" - }, - { - "label": "__gap", - "offset": 0, - "slot": "152", - "type": "t_array(t_uint256)49_storage", - "contract": "OwnableUpgradeable", - "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" - }, - { - "label": "treasury", - "offset": 0, - "slot": "201", - "type": "t_address_payable", - "contract": "TreasuryManager", - "src": "contracts/utils/TreasuryManager.sol:10" - }, - { - "label": "fee", - "offset": 0, - "slot": "202", - "type": "t_uint256", - "contract": "TreasuryManager", - "src": "contracts/utils/TreasuryManager.sol:12" - }, - { - "label": "__gap", - "offset": 0, - "slot": "203", - "type": "t_array(t_uint256)48_storage", - "contract": "TreasuryManager", - "src": "contracts/utils/TreasuryManager.sol:15" - }, - { - "label": "validSigner", - "offset": 0, - "slot": "251", - "type": "t_address", - "contract": "GuildRewardNFTFactory", - "src": "contracts/GuildRewardNFTFactory.sol:20" - }, - { - "label": "nftImplementations", - "offset": 0, - "slot": "252", - "type": "t_mapping(t_enum(ContractType)6428,t_address)", - "contract": "GuildRewardNFTFactory", - "src": "contracts/GuildRewardNFTFactory.sol:22" - }, - { - "label": "deployedTokenContracts", - "offset": 0, - "slot": "253", - "type": "t_mapping(t_address,t_array(t_struct(Deployment)6434_storage)dyn_storage)", - "contract": "GuildRewardNFTFactory", - "src": "contracts/GuildRewardNFTFactory.sol:23" - }, - { - "label": "__gap", - "offset": 0, - "slot": "254", - "type": "t_array(t_uint256)47_storage", - "contract": "GuildRewardNFTFactory", - "src": "contracts/GuildRewardNFTFactory.sol:26" - } - ], - "types": { - "t_address": { - "label": "address", - "numberOfBytes": "20" - }, - "t_address_payable": { - "label": "address payable", - "numberOfBytes": "20" - }, - "t_array(t_struct(Deployment)6434_storage)dyn_storage": { - "label": "struct IGuildRewardNFTFactory.Deployment[]", - "numberOfBytes": "32" - }, - "t_array(t_uint256)47_storage": { - "label": "uint256[47]", - "numberOfBytes": "1504" - }, - "t_array(t_uint256)48_storage": { - "label": "uint256[48]", - "numberOfBytes": "1536" - }, - "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_enum(ContractType)6428": { - "label": "enum IGuildRewardNFTFactory.ContractType", - "members": [ - "BASIC_NFT" - ], - "numberOfBytes": "1" - }, - "t_mapping(t_address,t_array(t_struct(Deployment)6434_storage)dyn_storage)": { - "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", - "numberOfBytes": "32" - }, - "t_mapping(t_enum(ContractType)6428,t_address)": { - "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", - "numberOfBytes": "32" - }, - "t_struct(Deployment)6434_storage": { - "label": "struct IGuildRewardNFTFactory.Deployment", - "members": [ - { - "label": "contractAddress", - "type": "t_address", - "offset": 0, - "slot": "0" - }, - { - "label": "contractType", - "type": "t_enum(ContractType)6428", - "offset": 20, - "slot": "0" - } - ], - "numberOfBytes": "32" - }, - "t_uint256": { - "label": "uint256", - "numberOfBytes": "32" - }, - "t_uint8": { - "label": "uint8", - "numberOfBytes": "1" - } - } - } - } - } -} diff --git a/.upgradable/zkSync-era.json b/.upgradable/zkSync-era.json index 0f306ae..7f2915e 100644 --- a/.upgradable/zkSync-era.json +++ b/.upgradable/zkSync-era.json @@ -205,6 +205,205 @@ }, "namespaces": {} } + }, + "511f2027580bfd4dd52af77f760c5f4b645a28bb922ebc60fcd1923a7e0a6d63": { + "address": "0x288c932011Ef63599c9bff8146016Dd5Ea8cd84e", + "txHash": "0x61090c4f6e99220890dec42ce5b51086b122f5e0f61caf6d47addbc352ef3276", + "layout": { + "solcVersion": "0.8.19", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ERC1967UpgradeUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169" + }, + { + "label": "__gap", + "offset": 0, + "slot": "51", + "type": "t_array(t_uint256)50_storage", + "contract": "UUPSUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111" + }, + { + "label": "__gap", + "offset": 0, + "slot": "101", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "151", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "152", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "treasury", + "offset": 0, + "slot": "201", + "type": "t_address_payable", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:10" + }, + { + "label": "fee", + "offset": 0, + "slot": "202", + "type": "t_uint256", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:12" + }, + { + "label": "__gap", + "offset": 0, + "slot": "203", + "type": "t_array(t_uint256)48_storage", + "contract": "TreasuryManager", + "src": "contracts/utils/TreasuryManager.sol:15" + }, + { + "label": "validSigner", + "offset": 0, + "slot": "251", + "type": "t_address", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:21" + }, + { + "label": "nftImplementations", + "offset": 0, + "slot": "252", + "type": "t_mapping(t_enum(ContractType)7654,t_address)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:23" + }, + { + "label": "deployedTokenContracts", + "offset": 0, + "slot": "253", + "type": "t_mapping(t_address,t_array(t_struct(Deployment)7679_storage)dyn_storage)", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:24" + }, + { + "label": "__gap", + "offset": 0, + "slot": "254", + "type": "t_array(t_uint256)47_storage", + "contract": "GuildRewardNFTFactory", + "src": "contracts/GuildRewardNFTFactory.sol:27" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_address_payable": { + "label": "address payable", + "numberOfBytes": "20" + }, + "t_array(t_struct(Deployment)7679_storage)dyn_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment[]", + "numberOfBytes": "32" + }, + "t_array(t_uint256)47_storage": { + "label": "uint256[47]", + "numberOfBytes": "1504" + }, + "t_array(t_uint256)48_storage": { + "label": "uint256[48]", + "numberOfBytes": "1536" + }, + "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_enum(ContractType)7654": { + "label": "enum IGuildRewardNFTFactory.ContractType", + "members": [ + "BASIC_NFT", + "CONFIGURABLE_NFT" + ], + "numberOfBytes": "1" + }, + "t_mapping(t_address,t_array(t_struct(Deployment)7679_storage)dyn_storage)": { + "label": "mapping(address => struct IGuildRewardNFTFactory.Deployment[])", + "numberOfBytes": "32" + }, + "t_mapping(t_enum(ContractType)7654,t_address)": { + "label": "mapping(enum IGuildRewardNFTFactory.ContractType => address)", + "numberOfBytes": "32" + }, + "t_struct(Deployment)7679_storage": { + "label": "struct IGuildRewardNFTFactory.Deployment", + "members": [ + { + "label": "contractAddress", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "contractType", + "type": "t_enum(ContractType)7654", + "offset": 20, + "slot": "0" + } + ], + "numberOfBytes": "32" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + } + }, + "namespaces": {} + } } } }