From 5b915b283c42e71032553331c0e054c3c1e35f52 Mon Sep 17 00:00:00 2001 From: Tomi_Ohl Date: Mon, 21 Aug 2023 17:52:32 +0200 Subject: [PATCH] Deploy to ethereum, polygon and base --- .openzeppelin/mainnet.json | 209 ++++++++++++++++++++++++++++++++ .openzeppelin/polygon.json | 209 ++++++++++++++++++++++++++++++++ .openzeppelin/unknown-8453.json | 209 ++++++++++++++++++++++++++++++++ 3 files changed, 627 insertions(+) create mode 100644 .openzeppelin/mainnet.json create mode 100644 .openzeppelin/polygon.json create mode 100644 .openzeppelin/unknown-8453.json diff --git a/.openzeppelin/mainnet.json b/.openzeppelin/mainnet.json new file mode 100644 index 0000000..fceb3b0 --- /dev/null +++ b/.openzeppelin/mainnet.json @@ -0,0 +1,209 @@ +{ + "manifestVersion": "3.2", + "proxies": [ + { + "address": "0x6ee2dD02FBFb71F518827042B6aDca242F1ba0B2", + "txHash": "0x5e8f65bb51025ed2570a7d2a306de5efccdd7431a3657ee3a930866c37a261fb", + "kind": "uups" + } + ], + "impls": { + "db621ba457a52498bb334e34303ac90c51d026c208fe64771a9a277b77c33124": { + "address": "0xc3563655d35397b77228c07a7F5301b0e0Fa417D", + "txHash": "0x28932920b3788303723d4e3cfd427ab568b9c80f50ffdfc9ec2c8278f9662774", + "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/.openzeppelin/polygon.json b/.openzeppelin/polygon.json new file mode 100644 index 0000000..ce06ee5 --- /dev/null +++ b/.openzeppelin/polygon.json @@ -0,0 +1,209 @@ +{ + "manifestVersion": "3.2", + "proxies": [ + { + "address": "0xc1C23618110277ffE6d529816Eb23dE42b24cc33", + "txHash": "0xeaec0242889188472ee0069da54068048147282d60eac7c05f803b308f6445eb", + "kind": "uups" + } + ], + "impls": { + "db621ba457a52498bb334e34303ac90c51d026c208fe64771a9a277b77c33124": { + "address": "0xa1FcD5306D72e8257CD7b70bf06806685d759Ed5", + "txHash": "0xf385f5411409f715c707678692f877874a842edabb6551ef859bea39e6fa4ff0", + "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/.openzeppelin/unknown-8453.json b/.openzeppelin/unknown-8453.json new file mode 100644 index 0000000..f45f407 --- /dev/null +++ b/.openzeppelin/unknown-8453.json @@ -0,0 +1,209 @@ +{ + "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" + } + } + } + } + } +}