Skip to content

Commit

Permalink
modify addresses of upgraded contracts (#468)
Browse files Browse the repository at this point in the history
  • Loading branch information
portuu3 authored May 12, 2023
1 parent 9bc7b3b commit afbabe4
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 200 deletions.
15 changes: 10 additions & 5 deletions CONTRACTS_LIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
|🟠 Polygon Mumbai (Testnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
|2022/04/25 | HMToken | 0x0376D26246Eb35FF4F9924cF13E6C05fd0bD7Fb4 | N/A |
|2023/03/10 | EscrowFactory | 0x988e5Dec3EBEeD675BEC159f667Ea05A979Cd0CA | 0xA8D927C4DA17A6b71675d2D49dFda4E9eBE58f2d |
|2023/01/26 | Staking | 0x19Fc3e859C1813ac9427a7a78BeB9ae102CE96d3 | 0x7Fd3dF914E7b6Bd96B4c744Df32183b51368Bfac |
|2023/01/26 | RewardPool | 0x295514FC4C812Db24C3277d6D3175956AdEA273C | 0xf0145eD99AC3c4f877aDa7dA4D1E059ec9116BAE |
|2023/05/12 | EscrowFactory | 0xE5f91f23e514877af1dC0471637Bc6D9f19e391D | 0xA8D927C4DA17A6b71675d2D49dFda4E9eBE58f2d |
|2023/05/12 | Staking | 0xE014F35dEa4f0EF07aDABb572AD942c7E52A6d4F | 0x7Fd3dF914E7b6Bd96B4c744Df32183b51368Bfac |
|2023/05/12 | RewardPool | 0x658D49E6582E5374e81691CF862568A94A83ad94 | 0xf0145eD99AC3c4f877aDa7dA4D1E059ec9116BAE |
|2023/01/26 | EthKVStore | 0xD7F61E812e139a5a02eDae9Dfec146E1b8eA3807 | N/A |
|2023/01/26 | Reputation | 0x7B9f9Dc6c157899C1Eb1c6B86f94855cC2F537dF | 0xC522463d36f76b881bE66484e3068F11e7038Ace |

Expand All @@ -31,8 +31,8 @@
|🟠 Goerli (Testnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
|2022/10/12 | HMToken | 0xd3A31D57FDD790725d0F6B78095F62E8CD4ab317 | N/A |
|2023/03/10 | EscrowFactory | 0x558cd800f9F0B02f3B149667bDe003284c867E94 | 0x87469B4f2Fcf37cBd34E54244c0BD4Fa0603664c |
|2023/01/30 | Staking | 0x5e622FF522D81aa426f082bDD95210BC25fCA7Ed | 0xf46B45Df3d956369726d8Bd93Ba33963Ab692920 |
|2023/05/12 | EscrowFactory | 0xeC86BE882235A3414cb137E1E897cBD76C0c4996 | 0x87469B4f2Fcf37cBd34E54244c0BD4Fa0603664c |
|2023/05/12 | Staking | 0x32e27177BA6Ea91cf28dfd91a0Da9822A4b74EcF | 0xf46B45Df3d956369726d8Bd93Ba33963Ab692920 |
|2023/01/30 | RewardPool | 0x6478312bE22FeE34a366d8e945d4dBd97388a306 | 0x0376D26246Eb35FF4F9924cF13E6C05fd0bD7Fb4 |
|2023/01/30 | EthKVStore | 0xc9Fe39c4b6e1d7A2991355Af159956982DADf842 | N/A |
|2023/01/30 | Reputation | 0x1BA4F1d2dA691fF0445345436b9306B29eEd3913 | 0x6B220A6306D8D86C9878A1FBb3F49707b3E2b405 |
Expand Down Expand Up @@ -122,6 +122,9 @@
|2023/01/17 | Staking | 0x76E2EF2E177097E0b296E1e305d69Fe8Bae5f774 | 0xf421fD3eB97982C205966ebB514Ab2E435c6d5B7 |
|2023/01/17 | EthKVStore | 0x459EE403d060B84b5014605D6739cCFed32AFb96 | N/A |
|2023/01/26 | EscrowFactory | 0xd319e761b632E39234E68247D307818a20158890 | 0xA8D927C4DA17A6b71675d2D49dFda4E9eBE58f2d |
|2023/03/10 | EscrowFactory | 0x988e5Dec3EBEeD675BEC159f667Ea05A979Cd0CA | 0xA8D927C4DA17A6b71675d2D49dFda4E9eBE58f2d |
|2023/01/26 | Staking | 0x19Fc3e859C1813ac9427a7a78BeB9ae102CE96d3 | 0x7Fd3dF914E7b6Bd96B4c744Df32183b51368Bfac |
|2023/01/26 | RewardPool | 0x295514FC4C812Db24C3277d6D3175956AdEA273C | 0xf0145eD99AC3c4f877aDa7dA4D1E059ec9116BAE |

|🟠 Binance SC (Testnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
Expand All @@ -134,6 +137,8 @@
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
|2022/10/12 | EscrowFactory | 0xaAe6a2646C1F88763E62e0cD08aD050Ea66AC46F | |
|2023/01/30 | EscrowFactory | 0x5D65C42cF4a140863744889BAd07f246C0211754 | 0x87469B4f2Fcf37cBd34E54244c0BD4Fa0603664c |
|2023/03/10 | EscrowFactory | 0x988e5Dec3EBEeD675BEC159f667Ea05A979Cd0CA | 0xA8D927C4DA17A6b71675d2D49dFda4E9eBE58f2d |
|2023/01/26 | Staking | 0x19Fc3e859C1813ac9427a7a78BeB9ae102CE96d3 | 0x7Fd3dF914E7b6Bd96B4c744Df32183b51368Bfac |

|🟠 Moonbase Alpha (Testnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
Expand Down
188 changes: 24 additions & 164 deletions packages/core/.openzeppelin/goerli.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
}
],
"impls": {
"5065563035da2cf0a9ccc5330af342527e14726240fd88997800b20b51ca7aaf": {
"address": "0x5D65C42cF4a140863744889BAd07f246C0211754",
"1cb8454782117915c3001ebd5d7f9c87143ce61d4554171937514a313fa278c9": {
"address": "0xeC86BE882235A3414cb137E1E897cBD76C0c4996",
"layout": {
"solcVersion": "0.8.9",
"storage": [
Expand Down Expand Up @@ -71,7 +71,7 @@
"slot": "101",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1967UpgradeUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:197"
},
{
"label": "__gap",
Expand Down Expand Up @@ -119,7 +119,7 @@
"slot": "205",
"type": "t_array(t_uint256)46_storage",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:76"
"src": "contracts/EscrowFactory.sol:81"
}
],
"types": {
Expand Down Expand Up @@ -158,9 +158,8 @@
}
}
},
"cae65b8f50337c1dca74ba0eb1370dc1e9494498c41590e1f88603f6d8f1fd84": {
"address": "0x558cd800f9F0B02f3B149667bDe003284c867E94",
"txHash": "0xdd2ca4066f6b98ca875edc50d04f78efd1d562ca908df05bf2c7c3ad39b7aa69",
"5e8a69bf455c4d4eb1c74f64b869edd54a39f8a56cbeb20320f2ec2eca7edd7c": {
"address": "0x32e27177BA6Ea91cf28dfd91a0Da9822A4b74EcF",
"layout": {
"solcVersion": "0.8.9",
"storage": [
Expand Down Expand Up @@ -211,146 +210,7 @@
"slot": "101",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1967UpgradeUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
},
{
"label": "__gap",
"offset": 0,
"slot": "151",
"type": "t_array(t_uint256)50_storage",
"contract": "UUPSUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:107"
},
{
"label": "counter",
"offset": 0,
"slot": "201",
"type": "t_uint256",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:16"
},
{
"label": "escrowCounters",
"offset": 0,
"slot": "202",
"type": "t_mapping(t_address,t_uint256)",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:17"
},
{
"label": "lastEscrow",
"offset": 0,
"slot": "203",
"type": "t_address",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:18"
},
{
"label": "staking",
"offset": 0,
"slot": "204",
"type": "t_address",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:19"
},
{
"label": "__gap",
"offset": 0,
"slot": "205",
"type": "t_array(t_uint256)46_storage",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:76"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_uint256)46_storage": {
"label": "uint256[46]",
"numberOfBytes": "1472"
},
"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_mapping(t_address,t_uint256)": {
"label": "mapping(address => uint256)",
"numberOfBytes": "32"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
}
}
},
"9737c9f30c6de85d6ea5d58b6d97e39fdefcdf6e4ddd6485660bcafb3d7bdf4b": {
"address": "0x5e622FF522D81aa426f082bDD95210BC25fCA7Ed",
"layout": {
"solcVersion": "0.8.9",
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
},
{
"label": "_owner",
"offset": 0,
"slot": "51",
"type": "t_address",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
},
{
"label": "__gap",
"offset": 0,
"slot": "52",
"type": "t_array(t_uint256)49_storage",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
},
{
"label": "__gap",
"offset": 0,
"slot": "101",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1967UpgradeUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:197"
},
{
"label": "__gap",
Expand Down Expand Up @@ -396,7 +256,7 @@
"label": "stakes",
"offset": 0,
"slot": "205",
"type": "t_mapping(t_address,t_struct(Staker)6693_storage)",
"type": "t_mapping(t_address,t_struct(Staker)6260_storage)",
"contract": "Staking",
"src": "contracts/Staking.sol:38"
},
Expand All @@ -412,7 +272,7 @@
"label": "allocations",
"offset": 0,
"slot": "207",
"type": "t_mapping(t_address,t_struct(Allocation)6553_storage)",
"type": "t_mapping(t_address,t_struct(Allocation)6120_storage)",
"contract": "Staking",
"src": "contracts/Staking.sol:44"
},
Expand All @@ -422,7 +282,7 @@
"slot": "208",
"type": "t_array(t_uint256)43_storage",
"contract": "Staking",
"src": "contracts/Staking.sol:581"
"src": "contracts/Staking.sol:592"
}
],
"types": {
Expand Down Expand Up @@ -450,15 +310,15 @@
"label": "bool",
"numberOfBytes": "1"
},
"t_mapping(t_address,t_struct(Allocation)6553_storage)": {
"t_mapping(t_address,t_struct(Allocation)6120_storage)": {
"label": "mapping(address => struct IStaking.Allocation)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_struct(Staker)6693_storage)": {
"t_mapping(t_address,t_struct(Staker)6260_storage)": {
"label": "mapping(address => struct Stakes.Staker)",
"numberOfBytes": "32"
},
"t_struct(Allocation)6553_storage": {
"t_struct(Allocation)6120_storage": {
"label": "struct IStaking.Allocation",
"members": [
{
Expand Down Expand Up @@ -494,7 +354,7 @@
],
"numberOfBytes": "160"
},
"t_struct(Staker)6693_storage": {
"t_struct(Staker)6260_storage": {
"label": "struct Stakes.Staker",
"members": [
{
Expand Down Expand Up @@ -539,7 +399,7 @@
}
}
},
"14ec7e82555dc0398381585da8cdbc43e7a8b6e8fc7e28bd070b1390050b0d2b": {
"d91059c4460d70c3b3ffb7ce20d7a9da68ea609207e70e66fe4843383c9490f3": {
"address": "0x6478312bE22FeE34a366d8e945d4dBd97388a306",
"layout": {
"solcVersion": "0.8.9",
Expand Down Expand Up @@ -591,7 +451,7 @@
"slot": "101",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1967UpgradeUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:197"
},
{
"label": "__gap",
Expand Down Expand Up @@ -629,7 +489,7 @@
"label": "rewards",
"offset": 0,
"slot": "204",
"type": "t_mapping(t_address,t_array(t_struct(Reward)6501_storage)dyn_storage)",
"type": "t_mapping(t_address,t_array(t_struct(Reward)6066_storage)dyn_storage)",
"contract": "RewardPool",
"src": "contracts/RewardPool.sol:30"
},
Expand All @@ -647,15 +507,15 @@
"slot": "206",
"type": "t_array(t_uint256)45_storage",
"contract": "RewardPool",
"src": "contracts/RewardPool.sol:137"
"src": "contracts/RewardPool.sol:146"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_struct(Reward)6501_storage)dyn_storage": {
"t_array(t_struct(Reward)6066_storage)dyn_storage": {
"label": "struct IRewardPool.Reward[]",
"numberOfBytes": "32"
},
Expand All @@ -675,11 +535,11 @@
"label": "bool",
"numberOfBytes": "1"
},
"t_mapping(t_address,t_array(t_struct(Reward)6501_storage)dyn_storage)": {
"t_mapping(t_address,t_array(t_struct(Reward)6066_storage)dyn_storage)": {
"label": "mapping(address => struct IRewardPool.Reward[])",
"numberOfBytes": "32"
},
"t_struct(Reward)6501_storage": {
"t_struct(Reward)6066_storage": {
"label": "struct IRewardPool.Reward",
"members": [
{
Expand Down Expand Up @@ -714,7 +574,7 @@
}
}
},
"b148dedc34d5911109cbf9f0e14d6b386ce6825d935076463b1d21b28a8a576e": {
"81383ba890f9716555953f9dabb3b903305ee77582430e4f64ee13b3ab62a91b": {
"address": "0x1BA4F1d2dA691fF0445345436b9306B29eEd3913",
"layout": {
"solcVersion": "0.8.9",
Expand Down Expand Up @@ -766,7 +626,7 @@
"slot": "101",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1967UpgradeUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:211"
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:197"
},
{
"label": "__gap",
Expand Down Expand Up @@ -806,7 +666,7 @@
"slot": "204",
"type": "t_array(t_uint256)43_storage",
"contract": "Reputation",
"src": "contracts/Reputation.sol:133"
"src": "contracts/Reputation.sol:138"
}
],
"types": {
Expand Down
Loading

2 comments on commit afbabe4

@vercel
Copy link

@vercel vercel bot commented on afbabe4 May 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

fortune-exchange-oracle-server – ./packages/examples/fortune/exchange-oracle/server

fortune-exchange-oracle-server-humanprotocol.vercel.app
fortune-exchange-oracle-server.vercel.app
fortune-exchange-oracle-server-git-develop-humanprotocol.vercel.app

@vercel
Copy link

@vercel vercel bot commented on afbabe4 May 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

fortune-job-launcher-server – ./packages/examples/fortune/launcher/server

fortune-job-launcher-server-git-develop-humanprotocol.vercel.app
fortune-job-launcher-server-humanprotocol.vercel.app
job-launcher-server.vercel.app

Please sign in to comment.