Skip to content

Commit

Permalink
fix: deploy dev script
Browse files Browse the repository at this point in the history
  • Loading branch information
marcuspang committed Oct 5, 2023
1 parent abc503d commit 0e733c7
Show file tree
Hide file tree
Showing 13 changed files with 5,682 additions and 89 deletions.
366 changes: 366 additions & 0 deletions .openzeppelin/optimism-goerli.json
Original file line number Diff line number Diff line change
Expand Up @@ -10206,6 +10206,372 @@
}
}
}
},
"2c27507075b584c3b7be8011c82f4181fe00c6ae897be80d9d08114e24fd2c5f": {
"address": "0xF531C48a210befF1273E4bd97b6D0A74f4a78a5f",
"txHash": "0xe24a7b04ee77430c5a3e07723b50fe82d6d026e61470d1215bce97cf32c7dc71",
"layout": {
"solcVersion": "0.8.19",
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:63",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/Initializable.sol:68"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/utils/ContextUpgradeable.sol:36"
},
{
"label": "__gap",
"offset": 0,
"slot": "51",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC165Upgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/utils/introspection/ERC165Upgradeable.sol:41"
},
{
"label": "_balances",
"offset": 0,
"slot": "101",
"type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))",
"contract": "ERC1155Upgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/token/ERC1155/ERC1155Upgradeable.sol:25"
},
{
"label": "_operatorApprovals",
"offset": 0,
"slot": "102",
"type": "t_mapping(t_address,t_mapping(t_address,t_bool))",
"contract": "ERC1155Upgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/token/ERC1155/ERC1155Upgradeable.sol:28"
},
{
"label": "_uri",
"offset": 0,
"slot": "103",
"type": "t_string_storage",
"contract": "ERC1155Upgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/token/ERC1155/ERC1155Upgradeable.sol:31"
},
{
"label": "__gap",
"offset": 0,
"slot": "104",
"type": "t_array(t_uint256)47_storage",
"contract": "ERC1155Upgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/token/ERC1155/ERC1155Upgradeable.sol:508"
},
{
"label": "_roles",
"offset": 0,
"slot": "151",
"type": "t_mapping(t_bytes32,t_struct(RoleData)34_storage)",
"contract": "AccessControlUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/access/AccessControlUpgradeable.sol:62"
},
{
"label": "__gap",
"offset": 0,
"slot": "152",
"type": "t_array(t_uint256)49_storage",
"contract": "AccessControlUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/access/AccessControlUpgradeable.sol:260"
},
{
"label": "_paused",
"offset": 0,
"slot": "201",
"type": "t_bool",
"contract": "PausableUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/security/PausableUpgradeable.sol:29"
},
{
"label": "__gap",
"offset": 0,
"slot": "202",
"type": "t_array(t_uint256)49_storage",
"contract": "PausableUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/security/PausableUpgradeable.sol:116"
},
{
"label": "__gap",
"offset": 0,
"slot": "251",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1155BurnableUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/token/ERC1155/extensions/ERC1155BurnableUpgradeable.sol:44"
},
{
"label": "_totalSupply",
"offset": 0,
"slot": "301",
"type": "t_mapping(t_uint256,t_uint256)",
"contract": "ERC1155SupplyUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/token/ERC1155/extensions/ERC1155SupplyUpgradeable.sol:23"
},
{
"label": "__gap",
"offset": 0,
"slot": "302",
"type": "t_array(t_uint256)49_storage",
"contract": "ERC1155SupplyUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/token/ERC1155/extensions/ERC1155SupplyUpgradeable.sol:76"
},
{
"label": "__gap",
"offset": 0,
"slot": "351",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1967UpgradeUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169"
},
{
"label": "__gap",
"offset": 0,
"slot": "401",
"type": "t_array(t_uint256)50_storage",
"contract": "UUPSUpgradeable",
"src": "lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/UUPSUpgradeable.sol:111"
},
{
"label": "protocolFee",
"offset": 0,
"slot": "451",
"type": "t_uint256",
"contract": "Editions",
"src": "src/Editions/Editions.sol:31"
},
{
"label": "editions",
"offset": 0,
"slot": "452",
"type": "t_mapping(t_uint256,t_struct(Edition)7150_storage)",
"contract": "Editions",
"src": "src/Editions/Editions.sol:33"
},
{
"label": "editionCounter",
"offset": 0,
"slot": "453",
"type": "t_uint256",
"contract": "Editions",
"src": "src/Editions/Editions.sol:35"
},
{
"label": "maximumEditionFee",
"offset": 0,
"slot": "454",
"type": "t_uint256",
"contract": "Editions",
"src": "src/Editions/Editions.sol:37"
},
{
"label": "_beliefs",
"offset": 0,
"slot": "455",
"type": "t_mapping(t_address,t_struct(BitMap)5840_storage)",
"contract": "Beliefs",
"src": "src/Beliefs/Beliefs.sol:14"
},
{
"label": "_believers",
"offset": 0,
"slot": "456",
"type": "t_array(t_address)dyn_storage",
"contract": "Beliefs",
"src": "src/Beliefs/Beliefs.sol:16"
},
{
"label": "balances",
"offset": 0,
"slot": "457",
"type": "t_mapping(t_address,t_uint256)",
"contract": "Beliefs",
"src": "src/Beliefs/Beliefs.sol:18"
},
{
"label": "futureFundFee",
"offset": 0,
"slot": "458",
"type": "t_uint256",
"contract": "Beliefs",
"src": "src/Beliefs/Beliefs.sol:20"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_address)dyn_storage": {
"label": "address[]",
"numberOfBytes": "32"
},
"t_array(t_uint256)47_storage": {
"label": "uint256[47]",
"numberOfBytes": "1504"
},
"t_array(t_uint256)49_storage": {
"label": "uint256[49]",
"numberOfBytes": "1568"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_bytes32": {
"label": "bytes32",
"numberOfBytes": "32"
},
"t_enum(EditionStatus)7136": {
"label": "enum EditionsStructs.EditionStatus",
"members": [
"NotCreated",
"Created",
"Launched",
"Stopped"
],
"numberOfBytes": "1"
},
"t_mapping(t_address,t_bool)": {
"label": "mapping(address => bool)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_mapping(t_address,t_bool))": {
"label": "mapping(address => mapping(address => bool))",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_struct(BitMap)5840_storage)": {
"label": "mapping(address => struct BitMaps.BitMap)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_uint256)": {
"label": "mapping(address => uint256)",
"numberOfBytes": "32"
},
"t_mapping(t_bytes32,t_struct(RoleData)34_storage)": {
"label": "mapping(bytes32 => struct AccessControlUpgradeable.RoleData)",
"numberOfBytes": "32"
},
"t_mapping(t_uint256,t_mapping(t_address,t_uint256))": {
"label": "mapping(uint256 => mapping(address => uint256))",
"numberOfBytes": "32"
},
"t_mapping(t_uint256,t_struct(Edition)7150_storage)": {
"label": "mapping(uint256 => struct EditionsStructs.Edition)",
"numberOfBytes": "32"
},
"t_mapping(t_uint256,t_uint256)": {
"label": "mapping(uint256 => uint256)",
"numberOfBytes": "32"
},
"t_string_storage": {
"label": "string",
"numberOfBytes": "32"
},
"t_struct(BitMap)5840_storage": {
"label": "struct BitMaps.BitMap",
"members": [
{
"label": "_data",
"type": "t_mapping(t_uint256,t_uint256)",
"offset": 0,
"slot": "0"
}
],
"numberOfBytes": "32"
},
"t_struct(Edition)7150_storage": {
"label": "struct EditionsStructs.Edition",
"members": [
{
"label": "status",
"type": "t_enum(EditionStatus)7136",
"offset": 0,
"slot": "0"
},
{
"label": "fee",
"type": "t_uint256",
"offset": 0,
"slot": "1"
},
{
"label": "balance",
"type": "t_uint256",
"offset": 0,
"slot": "2"
},
{
"label": "owner",
"type": "t_address",
"offset": 0,
"slot": "3"
},
{
"label": "id",
"type": "t_string_storage",
"offset": 0,
"slot": "4"
},
{
"label": "briefId",
"type": "t_string_storage",
"offset": 0,
"slot": "5"
}
],
"numberOfBytes": "192"
},
"t_struct(RoleData)34_storage": {
"label": "struct AccessControlUpgradeable.RoleData",
"members": [
{
"label": "members",
"type": "t_mapping(t_address,t_bool)",
"offset": 0,
"slot": "0"
},
{
"label": "adminRole",
"type": "t_bytes32",
"offset": 0,
"slot": "1"
}
],
"numberOfBytes": "64"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
}
}
}
}
}
2 changes: 1 addition & 1 deletion artifacts/src/Beliefs/Beliefs.sol/Beliefs.dbg.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../build-info/2ed725b1f2c7d633afb5e330c951db15.json"
"buildInfo": "../../../build-info/171ad7c7ebd2434e305e5be3a45f38c2.json"
}
26 changes: 4 additions & 22 deletions artifacts/src/Beliefs/Beliefs.sol/Beliefs.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion artifacts/src/Beliefs/LibBeliefs.sol/LibBeliefs.dbg.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"_format": "hh-sol-dbg-1",
"buildInfo": "../../../build-info/2ed725b1f2c7d633afb5e330c951db15.json"
"buildInfo": "../../../build-info/2bfcbf6f668e3ade71dc33a1b81bc2d2.json"
}
4 changes: 2 additions & 2 deletions artifacts/src/Beliefs/LibBeliefs.sol/LibBeliefs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"contractName": "LibBeliefs",
"sourceName": "src/Beliefs/LibBeliefs.sol",
"abi": [],
"bytecode": "0x61059a61003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c806308fe3d071461003a575b600080fd5b81801561004657600080fd5b5061005a610055366004610449565b61005c565b005b600061006960028761049a565b9050600061007860058861049a565b905081846000888152602001908152602001600020600201600082825461009f91906104bc565b9091555050600086815260208590526040812060050180546100c0906104cf565b80601f01602080910402602001604051908101604052809291908181526020018280546100ec906104cf565b80156101395780601f1061010e57610100808354040283529160200191610139565b820191906000526020600020905b81548152906001019060200180831161011c57829003601f168201915b5050505050905060008667ffffffffffffffff81111561015b5761015b610509565b604051908082528060200260200182016040528015610184578160200160208202803683370190505b5090506000805b888110801561019a5750898114155b1561039757600081815260208990526040808220815160c081019092528054829060ff1660038111156101cf576101cf61051f565b60038111156101e0576101e061051f565b8152600182015460208201526002820154604082015260038201546001600160a01b0316606082015260048201805460809092019161021e906104cf565b80601f016020809104026020016040519081016040528092919081815260200182805461024a906104cf565b80156102975780601f1061026c57610100808354040283529160200191610297565b820191906000526020600020905b81548152906001019060200180831161027a57829003601f168201915b505050505081526020016005820180546102b0906104cf565b80601f01602080910402602001604051908101604052809291908181526020018280546102dc906104cf565b80156103295780601f106102fe57610100808354040283529160200191610329565b820191906000526020600020905b81548152906001019060200180831161030c57829003601f168201915b50505050508152505090506103428160a001518661042d565b1561038457806060015184848151811061035e5761035e610535565b6001600160a01b03909216602092830291909101909101526103816001846104bc565b92505b508061038f8161054b565b91505061018b565b8251156104205760006103aa838761049a565b9050600091505b8282101561041e57808860008685815181106103cf576103cf610535565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600082825461040691906104bc565b909155508290506104168161054b565b9250506103b1565b505b5050505050505050505050565b6000818051906020012083805190602001201490505b92915050565b600080600080600060a0868803121561046157600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b634e487b7160e01b600052601160045260246000fd5b6000826104b757634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561044357610443610484565b600181811c908216806104e357607f821691505b60208210810361050357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006001820161055d5761055d610484565b506001019056fea2646970667358221220576eb6251c7fe40d4a02028e14b4423ebf2f73af5c26f3a55dd1c146aa6eafa964736f6c63430008130033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100355760003560e01c806308fe3d071461003a575b600080fd5b81801561004657600080fd5b5061005a610055366004610449565b61005c565b005b600061006960028761049a565b9050600061007860058861049a565b905081846000888152602001908152602001600020600201600082825461009f91906104bc565b9091555050600086815260208590526040812060050180546100c0906104cf565b80601f01602080910402602001604051908101604052809291908181526020018280546100ec906104cf565b80156101395780601f1061010e57610100808354040283529160200191610139565b820191906000526020600020905b81548152906001019060200180831161011c57829003601f168201915b5050505050905060008667ffffffffffffffff81111561015b5761015b610509565b604051908082528060200260200182016040528015610184578160200160208202803683370190505b5090506000805b888110801561019a5750898114155b1561039757600081815260208990526040808220815160c081019092528054829060ff1660038111156101cf576101cf61051f565b60038111156101e0576101e061051f565b8152600182015460208201526002820154604082015260038201546001600160a01b0316606082015260048201805460809092019161021e906104cf565b80601f016020809104026020016040519081016040528092919081815260200182805461024a906104cf565b80156102975780601f1061026c57610100808354040283529160200191610297565b820191906000526020600020905b81548152906001019060200180831161027a57829003601f168201915b505050505081526020016005820180546102b0906104cf565b80601f01602080910402602001604051908101604052809291908181526020018280546102dc906104cf565b80156103295780601f106102fe57610100808354040283529160200191610329565b820191906000526020600020905b81548152906001019060200180831161030c57829003601f168201915b50505050508152505090506103428160a001518661042d565b1561038457806060015184848151811061035e5761035e610535565b6001600160a01b03909216602092830291909101909101526103816001846104bc565b92505b508061038f8161054b565b91505061018b565b8251156104205760006103aa838761049a565b9050600091505b8282101561041e57808860008685815181106103cf576103cf610535565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600082825461040691906104bc565b909155508290506104168161054b565b9250506103b1565b505b5050505050505050505050565b6000818051906020012083805190602001201490505b92915050565b600080600080600060a0868803121561046157600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b634e487b7160e01b600052601160045260246000fd5b6000826104b757634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111561044357610443610484565b600181811c908216806104e357607f821691505b60208210810361050357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006001820161055d5761055d610484565b506001019056fea2646970667358221220576eb6251c7fe40d4a02028e14b4423ebf2f73af5c26f3a55dd1c146aa6eafa964736f6c63430008130033",
"bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e4c83928725e6e2836bd3922ea8d891fec813fa42108397f055587a63a1f495364736f6c63430008130033",
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220e4c83928725e6e2836bd3922ea8d891fec813fa42108397f055587a63a1f495364736f6c63430008130033",
"linkReferences": {},
"deployedLinkReferences": {}
}
Loading

0 comments on commit 0e733c7

Please sign in to comment.