Skip to content

Commit

Permalink
add eth deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Sander Pick <sanderpick@gmail.com>
  • Loading branch information
sanderpick committed Jul 14, 2022
1 parent 05ca714 commit d7914c9
Show file tree
Hide file tree
Showing 4 changed files with 292 additions and 5 deletions.
287 changes: 287 additions & 0 deletions .openzeppelin/mainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,287 @@
{
"manifestVersion": "3.2",
"proxies": [
{
"address": "0x8EAa9AE1Ac89B1c8C8a8104D08C045f78Aadb42D",
"txHash": "0xb0458cb2464e6b492dac0868323f10ba6b1316eae9d4dc287da6bb68fc6c8f6e",
"kind": "uups"
}
],
"impls": {
"efebae3f0eed446025e8907ec5fd748d5931333680bcb8489a0cdfd97385ce78": {
"address": "0x098a358e14EddEDecBf074Cb4796074e7de8675e",
"txHash": "0x04406773e4c03db596be1f34efb5e96901571a2dde7c9025e389c438ab18b46c",
"layout": {
"storage": [
{
"label": "_uriParts",
"offset": 0,
"slot": "0",
"type": "t_array(t_string_storage)dyn_storage",
"contract": "URITemplate",
"src": "contracts/utils/URITemplate.sol:13"
},
{
"label": "_initialized",
"offset": 0,
"slot": "1",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "1",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67"
},
{
"label": "__gap",
"offset": 0,
"slot": "2",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
},
{
"label": "_owner",
"offset": 0,
"slot": "52",
"type": "t_address",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
},
{
"label": "__gap",
"offset": 0,
"slot": "53",
"type": "t_array(t_uint256)49_storage",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
},
{
"label": "_paused",
"offset": 0,
"slot": "102",
"type": "t_bool",
"contract": "PausableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:29"
},
{
"label": "__gap",
"offset": 0,
"slot": "103",
"type": "t_array(t_uint256)49_storage",
"contract": "PausableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:116"
},
{
"label": "_status",
"offset": 0,
"slot": "152",
"type": "t_uint256",
"contract": "ReentrancyGuardUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:38"
},
{
"label": "__gap",
"offset": 0,
"slot": "153",
"type": "t_array(t_uint256)49_storage",
"contract": "ReentrancyGuardUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol:74"
},
{
"label": "__gap",
"offset": 0,
"slot": "202",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC165Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41"
},
{
"label": "_defaultRoyaltyInfo",
"offset": 0,
"slot": "252",
"type": "t_struct(RoyaltyInfo)1041_storage",
"contract": "ERC2981Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/common/ERC2981Upgradeable.sol:36"
},
{
"label": "_tokenRoyaltyInfo",
"offset": 0,
"slot": "253",
"type": "t_mapping(t_uint256,t_struct(RoyaltyInfo)1041_storage)",
"contract": "ERC2981Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/common/ERC2981Upgradeable.sol:37"
},
{
"label": "__gap",
"offset": 0,
"slot": "254",
"type": "t_array(t_uint256)48_storage",
"contract": "ERC2981Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/common/ERC2981Upgradeable.sol:123"
},
{
"label": "__gap",
"offset": 0,
"slot": "302",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1967UpgradeUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
},
{
"label": "__gap",
"offset": 0,
"slot": "352",
"type": "t_array(t_uint256)50_storage",
"contract": "UUPSUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:107"
},
{
"label": "maxSupply",
"offset": 0,
"slot": "402",
"type": "t_uint256",
"contract": "TablelandRigs",
"src": "contracts/TablelandRigs.sol:32"
},
{
"label": "mintPrice",
"offset": 0,
"slot": "403",
"type": "t_uint256",
"contract": "TablelandRigs",
"src": "contracts/TablelandRigs.sol:35"
},
{
"label": "beneficiary",
"offset": 0,
"slot": "404",
"type": "t_address_payable",
"contract": "TablelandRigs",
"src": "contracts/TablelandRigs.sol:38"
},
{
"label": "allowlistRoot",
"offset": 0,
"slot": "405",
"type": "t_bytes32",
"contract": "TablelandRigs",
"src": "contracts/TablelandRigs.sol:41"
},
{
"label": "waitlistRoot",
"offset": 0,
"slot": "406",
"type": "t_bytes32",
"contract": "TablelandRigs",
"src": "contracts/TablelandRigs.sol:44"
},
{
"label": "mintPhase",
"offset": 0,
"slot": "407",
"type": "t_enum(MintPhase)2659",
"contract": "TablelandRigs",
"src": "contracts/TablelandRigs.sol:47"
},
{
"label": "_contractInfoURI",
"offset": 0,
"slot": "408",
"type": "t_string_storage",
"contract": "TablelandRigs",
"src": "contracts/TablelandRigs.sol:50"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_address_payable": {
"label": "address payable",
"numberOfBytes": "20"
},
"t_array(t_string_storage)dyn_storage": {
"label": "string[]",
"numberOfBytes": "32"
},
"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_bytes32": {
"label": "bytes32",
"numberOfBytes": "32"
},
"t_enum(MintPhase)2659": {
"label": "enum ITablelandRigs.MintPhase",
"members": [
"CLOSED",
"ALLOWLIST",
"WAITLIST",
"PUBLIC"
],
"numberOfBytes": "1"
},
"t_mapping(t_uint256,t_struct(RoyaltyInfo)1041_storage)": {
"label": "mapping(uint256 => struct ERC2981Upgradeable.RoyaltyInfo)",
"numberOfBytes": "32"
},
"t_string_storage": {
"label": "string",
"numberOfBytes": "32"
},
"t_struct(RoyaltyInfo)1041_storage": {
"label": "struct ERC2981Upgradeable.RoyaltyInfo",
"members": [
{
"label": "receiver",
"type": "t_address",
"offset": 0,
"slot": "0"
},
{
"label": "royaltyFraction",
"type": "t_uint96",
"offset": 20,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
},
"t_uint96": {
"label": "uint96",
"numberOfBytes": "12"
}
}
}
}
}
}
4 changes: 2 additions & 2 deletions deployments.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deployments.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions deployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export interface RigsDeployments {
export const deployments: RigsDeployments = {
// mainnets
ethereum: {
contractAddress: "",
royaltyContractAddress: "",
contractAddress: "0x8EAa9AE1Ac89B1c8C8a8104D08C045f78Aadb42D",
royaltyContractAddress: "0xC36E6696eEAFe95df20748978A4e71103ecAf8BD",
contractTable: "rigs_contract_5_57",
allowlistTable: "rigs_allowlist_5_59",
},
Expand Down

0 comments on commit d7914c9

Please sign in to comment.