Skip to content

Commit

Permalink
deploy to redbelly mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
hadi-saleh14 committed Jan 21, 2025
1 parent 5b237f0 commit ecba330
Show file tree
Hide file tree
Showing 4 changed files with 825 additions and 835 deletions.
275 changes: 275 additions & 0 deletions .openzeppelin/unknown-151.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,275 @@
{
"manifestVersion": "3.2",
"proxies": [
{
"address": "0x4b11e09dC8b0AE67ba3795205eeAf51a3BBc19fc",
"txHash": "0x2fa2a1bd324f2f9b8daee3674aeabbf85e8078b12c0128eacd7f244e96cd3c04",
"kind": "uups"
}
],
"impls": {
"a402866c7265e7b6e83203718e292c041c55a846b83432b29754626614b70e2f": {
"address": "0x7281630E4346dd4c0B7AE3B4689c1d0102741410",
"txHash": "0x39783228c0fc592a8bcf118ae6e2b44ff7b0fbe09f05326bbd5d483d18957c6d",
"layout": {
"solcVersion": "0.8.4",
"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": "epochs",
"offset": 0,
"slot": "201",
"type": "t_array(t_struct(Epoch)2895_storage)dyn_storage",
"contract": "Reclaim",
"src": "contracts/Reclaim.sol:51"
},
{
"label": "semaphoreAddress",
"offset": 0,
"slot": "202",
"type": "t_address",
"contract": "Reclaim",
"src": "contracts/Reclaim.sol:54"
},
{
"label": "epochDurationS",
"offset": 20,
"slot": "202",
"type": "t_uint32",
"contract": "Reclaim",
"src": "contracts/Reclaim.sol:61"
},
{
"label": "currentEpoch",
"offset": 24,
"slot": "202",
"type": "t_uint32",
"contract": "Reclaim",
"src": "contracts/Reclaim.sol:67"
},
{
"label": "createdGroups",
"offset": 0,
"slot": "203",
"type": "t_mapping(t_uint256,t_bool)",
"contract": "Reclaim",
"src": "contracts/Reclaim.sol:73"
},
{
"label": "isUserMerkelized",
"offset": 0,
"slot": "204",
"type": "t_mapping(t_uint256,t_mapping(t_string_memory_ptr,t_bool))",
"contract": "Reclaim",
"src": "contracts/Reclaim.sol:75"
},
{
"label": "locked",
"offset": 0,
"slot": "205",
"type": "t_bool",
"contract": "Reclaim",
"src": "contracts/Reclaim.sol:83"
},
{
"label": "merkelizedUserParams",
"offset": 0,
"slot": "206",
"type": "t_mapping(t_bytes32,t_bool)",
"contract": "Reclaim",
"src": "contracts/Reclaim.sol:85"
},
{
"label": "dappIdToExternalNullifier",
"offset": 0,
"slot": "207",
"type": "t_mapping(t_bytes32,t_uint256)",
"contract": "Reclaim",
"src": "contracts/Reclaim.sol:87"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_struct(Epoch)2895_storage)dyn_storage": {
"label": "struct Reclaim.Epoch[]",
"numberOfBytes": "32"
},
"t_array(t_struct(Witness)2877_storage)dyn_storage": {
"label": "struct Reclaim.Witness[]",
"numberOfBytes": "32"
},
"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_mapping(t_bytes32,t_bool)": {
"label": "mapping(bytes32 => bool)",
"numberOfBytes": "32"
},
"t_mapping(t_bytes32,t_uint256)": {
"label": "mapping(bytes32 => uint256)",
"numberOfBytes": "32"
},
"t_mapping(t_string_memory_ptr,t_bool)": {
"label": "mapping(string => bool)",
"numberOfBytes": "32"
},
"t_mapping(t_uint256,t_bool)": {
"label": "mapping(uint256 => bool)",
"numberOfBytes": "32"
},
"t_mapping(t_uint256,t_mapping(t_string_memory_ptr,t_bool))": {
"label": "mapping(uint256 => mapping(string => bool))",
"numberOfBytes": "32"
},
"t_string_memory_ptr": {
"label": "string",
"numberOfBytes": "32"
},
"t_string_storage": {
"label": "string",
"numberOfBytes": "32"
},
"t_struct(Epoch)2895_storage": {
"label": "struct Reclaim.Epoch",
"members": [
{
"label": "id",
"type": "t_uint32",
"offset": 0,
"slot": "0"
},
{
"label": "timestampStart",
"type": "t_uint32",
"offset": 4,
"slot": "0"
},
{
"label": "timestampEnd",
"type": "t_uint32",
"offset": 8,
"slot": "0"
},
{
"label": "witnesses",
"type": "t_array(t_struct(Witness)2877_storage)dyn_storage",
"offset": 0,
"slot": "1"
},
{
"label": "minimumWitnessesForClaimCreation",
"type": "t_uint8",
"offset": 0,
"slot": "2"
}
],
"numberOfBytes": "96"
},
"t_struct(Witness)2877_storage": {
"label": "struct Reclaim.Witness",
"members": [
{
"label": "addr",
"type": "t_address",
"offset": 0,
"slot": "0"
},
{
"label": "host",
"type": "t_string_storage",
"offset": 0,
"slot": "1"
}
],
"numberOfBytes": "64"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint32": {
"label": "uint32",
"numberOfBytes": "4"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
},
"namespaces": {}
}
}
}
}
4 changes: 4 additions & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ const config: HardhatUserConfig = {
'bera-testnet': {
accounts: PRIVATE_KEY ? [PRIVATE_KEY]: [],
url: 'https://bartio.rpc.berachain.com/'
},
'redbelly-mainnet': {
accounts: PRIVATE_KEY ? [PRIVATE_KEY]: [],
url: 'https://governors.mainnet.redbelly.network'
}
},
typechain: {
Expand Down
Loading

0 comments on commit ecba330

Please sign in to comment.