Skip to content

Commit

Permalink
Merge pull request #1042 from humanprotocol/develop
Browse files Browse the repository at this point in the history
Release 20231011
  • Loading branch information
portuu3 authored Oct 11, 2023
2 parents f9f6469 + a640461 commit 99e1c8a
Show file tree
Hide file tree
Showing 192 changed files with 7,180 additions and 3,508 deletions.
24 changes: 15 additions & 9 deletions .github/workflows/cd-deploy-contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@ jobs:
ETH_MOONBEAM_URL: ${{ secrets.ETH_MOONBEAM_URL }}
ETH_MOONBASE_ALPHA_URL: ${{ secrets.ETH_MOONBASE_ALPHA_URL }}
ETH_MAINNET_URL: ${{ secrets.ETH_MAINNET_URL }}
ETH_FUJI_URL: ${{ secrets.ETH_FUJI_URL }}
ETH_AVALANCHE_URL: ${{ secrets.ETH_AVALANCHE_URL }}
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
POLYGONSCAN_API_KEY: ${{ secrets.POLYGONSCAN_API_KEY }}
BSC_API_KEY: ${{ secrets.BSC_API_KEY }}
MOONSCAN_API_KEY: ${{ secrets.MOONSCAN_API_KEY }}
AVALANCHE_API_KEY: ${{ secrets.AVALANCHE_API_KEY }}
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -52,56 +55,60 @@ jobs:
echo "staking=0xf46B45Df3d956369726d8Bd93Ba33963Ab692920" >> $GITHUB_OUTPUT
echo "reward_pool=0x0376D26246Eb35FF4F9924cF13E6C05fd0bD7Fb4" >> $GITHUB_OUTPUT
echo "private_key=TESTNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
echo "subgraph=goerli-v1" >> $GITHUB_OUTPUT
;;
"polygon")
echo "escrow_factory=0xBDBfD2cC708199C5640C6ECdf3B0F4A4C67AdfcB" >> $GITHUB_OUTPUT
echo "staking=0xcbAd56bE3f504E98bd70875823d3CC0242B7bB29" >> $GITHUB_OUTPUT
echo "reward_pool=0x1371057BAec59944B924A7963F2EeCF43ff94CE4" >> $GITHUB_OUTPUT
echo "private_key=MAINNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
echo "subgraph=polygon-v1" >> $GITHUB_OUTPUT
;;
"polygonMumbai")
echo "escrow_factory=0xA8D927C4DA17A6b71675d2D49dFda4E9eBE58f2d" >> $GITHUB_OUTPUT
echo "staking=0x7Fd3dF914E7b6Bd96B4c744Df32183b51368Bfac" >> $GITHUB_OUTPUT
echo "reward_pool=0xf0145eD99AC3c4f877aDa7dA4D1E059ec9116BAE" >> $GITHUB_OUTPUT
echo "private_key=TESTNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
echo "subgraph=mumbai-v1" >> $GITHUB_OUTPUT
;;
"bsc")
echo "escrow_factory=0x92FD968AcBd521c232f5fB8c33b342923cC72714" >> $GITHUB_OUTPUT
echo "staking=0xdFbB79dC35a3A53741be54a2C9b587d6BafAbd1C" >> $GITHUB_OUTPUT
echo "reward_pool=0xf376443BCc6d4d4D63eeC086bc4A9E4a83878e0e" >> $GITHUB_OUTPUT
echo "private_key=MAINNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
echo "subgraph=bsc-v1" >> $GITHUB_OUTPUT
;;
"bscTestnet")
echo "escrow_factory=0x2bfA592DBDaF434DDcbb893B1916120d181DAD18" >> $GITHUB_OUTPUT
echo "staking=0x5517fE916Fe9F8dB15B0DDc76ebDf0BdDCd4ed18" >> $GITHUB_OUTPUT
echo "reward_pool=0xB0A0500103eCEc431b73F6BAd923F0a2774E6e29" >> $GITHUB_OUTPUT
echo "private_key=TESTNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
echo "subgraph=bsctest-v1" >> $GITHUB_OUTPUT
;;
"moonbeam")
echo "escrow_factory=0xD9c75a1Aa4237BB72a41E5E26bd8384f10c1f55a" >> $GITHUB_OUTPUT
echo "staking=0x05398211bA2046E296fBc9a9D3EB49e3F15C3123" >> $GITHUB_OUTPUT
echo "reward_pool=0x4A5963Dd6792692e9147EdC7659936b96251917a" >> $GITHUB_OUTPUT
echo "private_key=MAINNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
echo "subgraph=moonbeam-v1" >> $GITHUB_OUTPUT
;;
"moonbaseAlpha")
echo "escrow_factory=0x5e622FF522D81aa426f082bDD95210BC25fCA7Ed" >> $GITHUB_OUTPUT
echo "staking=0xBFC7009F3371F93F3B54DdC8caCd02914a37495c" >> $GITHUB_OUTPUT
echo "reward_pool=0xf46B45Df3d956369726d8Bd93Ba33963Ab692920" >> $GITHUB_OUTPUT
echo "private_key=TESTNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
echo "subgraph=moonbase-alpha-v1" >> $GITHUB_OUTPUT
;;
"mainnet")
echo "escrow_factory=0xD9c75a1Aa4237BB72a41E5E26bd8384f10c1f55a" >> $GITHUB_OUTPUT
echo "staking=0x05398211bA2046E296fBc9a9D3EB49e3F15C3123" >> $GITHUB_OUTPUT
echo "reward_pool=0x4A5963Dd6792692e9147EdC7659936b96251917a" >> $GITHUB_OUTPUT
echo "private_key=MAINNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
echo "subgraph=mainnet-v1" >> $GITHUB_OUTPUT
;;
"avalanche")
echo "escrow_factory=0xD9c75a1Aa4237BB72a41E5E26bd8384f10c1f55a" >> $GITHUB_OUTPUT
echo "staking=0x05398211bA2046E296fBc9a9D3EB49e3F15C3123" >> $GITHUB_OUTPUT
echo "reward_pool=0x4A5963Dd6792692e9147EdC7659936b96251917a" >> $GITHUB_OUTPUT
echo "private_key=MAINNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
;;
"avalancheFujiTestnet")
echo "escrow_factory=0x56C2ba540726ED4f46E7a134b6b9Ee9C867FcF92" >> $GITHUB_OUTPUT
echo "staking=0x9890473B0b93E24d6D1a8Dfb739D577C6f25FFd3" >> $GITHUB_OUTPUT
echo "reward_pool=0x5517fE916Fe9F8dB15B0DDc76ebDf0BdDCd4ed18" >> $GITHUB_OUTPUT
echo "private_key=TESTNET_PRIVATE_KEY" >> $GITHUB_OUTPUT
;;
*)
echo "Invalid network"
Expand All @@ -114,7 +121,6 @@ jobs:
working-directory: ./packages/core
env:
PRIVATE_KEY: ${{ secrets[steps.networks.outputs.private_key] }}
SUBGRAPH: ${{ steps.networks.outputs.subgraph }}
DEPLOY_ESCROW_FACTORY: ${{ github.event.inputs.escrowFactory }}
DEPLOY_STAKING: ${{ github.event.inputs.staking }}
DEPLOY_REWARD_POOL: ${{ github.event.inputs.rewardPool }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cd-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ jobs:
graph: moonbase-alpha-v2
- name: mainnet
graph: mainnet-v2
- name: fuji
graph: fuji-v2
- name: avalanche
graph: avalanche-v2
fail-fast: true
max-parallel: 3
steps:
Expand Down
37 changes: 27 additions & 10 deletions CONTRACTS_LIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,20 @@
|🟢 Avalanche (Mainnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
|2022/09/29 | HMToken | 0x12365293cb6477d4fc2686e46bb97e3fb64f1550 | N/A |
|2022/12/03 | EscrowFactory | 0x9767a578ba7a5FA1563c8229943cB01cd8446BB4 | |
| | Staking | | |
| | RewardPool | | |
|2022/11/17 | EthKVStore | 0x4B79eaD28F52eD5686bf0e379717e85fc7aD10Df | N/A |
|2023/10/05 | EscrowFactory | 0xe44D7eb960f24797D36FAdD8a8FfF29C76375Ef0 | 0xD9c75a1Aa4237BB72a41E5E26bd8384f10c1f55a |
|2023/10/05 | Staking | 0xC2163A0928034e020f0d31e1171Ba0D6d9AfFB6c | 0x05398211bA2046E296fBc9a9D3EB49e3F15C3123 |
|2023/10/05 | RewardPool | 0x25E53A6D48A2744273C082e55bA5CCFCfD80f9e1 | 0x4A5963Dd6792692e9147EdC7659936b96251917a |
|2023/10/05 | EthKVStore | 0x70671167176C4934204B1C7e97F5e86695857ef2 | N/A |

|🟠 Avalanche Fuji (Testnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
|2022/10/23 | HMToken | 0x9406d5c635AD22b0d76c75E52De57A2177919ca3 | N/A |
|2022/10/24 | EscrowFactory | 0xfb4469201951C3B9a7F1996c477cb7BDBEcE0A88 | |
| | Staking | | |
| | RewardPool | | |
|2022/10/24 | EthKVStore | 0xd232c1426CF0653cE8a71DC98bCfDf10c471c114 | N/A |
|2023/10/05 | EscrowFactory | 0xD8c35adC3b386d092846a93015220b7Fe8efD938 | 0x56C2ba540726ED4f46E7a134b6b9Ee9C867FcF92 |
|2023/10/05 | Staking | 0x854EC65E9e5e973C458FC2c92F6E0CbD403f5b95 | 0x9890473B0b93E24d6D1a8Dfb739D577C6f25FFd3 |
|2023/10/05 | RewardPool | 0xE3D74BBFa45B4bCa69FF28891fBE392f4B4d4e4d | 0x5517fE916Fe9F8dB15B0DDc76ebDf0BdDCd4ed18 |
|2023/10/05 | EthKVStore | 0x707fb5A5d36BC15275Af3f73262bf9a1D8C470EB | N/A |

|🟢 SKALE Human Protocol Chain (Mainnet) | Contract | Address | Proxy |
|🟢 SKALE Human Protocol Chain (Mainnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
|2023/03/21 | HMToken | 0x6E5FF61Ea88270F6142E0E0eC8cbe9d67476CbCd | N/A |
|2023/03/21 | EscrowFactory | 0xB217a23b77D8E9587609293F3F0570D90bC3793c | 0x319070b49C8d1cC015915D1E7Eb5fd8e22833885 |
Expand Down Expand Up @@ -166,6 +166,23 @@
|2023/02/08 | RewardPool | 0x25E53A6D48A2744273C082e55bA5CCFCfD80f9e1 | 0x4A5963Dd6792692e9147EdC7659936b96251917a |

|🟢 Ethereum (Mainnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
|2023/03/28 | EscrowFactory | 0xe44D7eb960f24797D36FAdD8a8FfF29C76375Ef0 | 0xD9c75a1Aa4237BB72a41E5E26bd8384f10c1f55a |
|2023/03/28 | Staking | 0xC2163A0928034e020f0d31e1171Ba0D6d9AfFB6c | 0x05398211bA2046E296fBc9a9D3EB49e3F15C3123 |
|2023/04/03 | RewardPool | 0x25E53A6D48A2744273C082e55bA5CCFCfD80f9e1 | 0x4A5963Dd6792692e9147EdC7659936b96251917a |
|2023/04/03 | RewardPool | 0x25E53A6D48A2744273C082e55bA5CCFCfD80f9e1 | 0x4A5963Dd6792692e9147EdC7659936b96251917a |

|🟢 Avalanche (Mainnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
|2022/09/29 | HMToken | 0x12365293cb6477d4fc2686e46bb97e3fb64f1550 | N/A |
|2022/12/03 | EscrowFactory | 0x9767a578ba7a5FA1563c8229943cB01cd8446BB4 | |
| | Staking | | |
| | RewardPool | | |
|2022/11/17 | EthKVStore | 0x4B79eaD28F52eD5686bf0e379717e85fc7aD10Df | N/A |

|🟠 Avalanche Fuji (Testnet) | Contract | Address | Proxy |
|----------------------------|----------------|--------------------------------------------|--------------------------------------------|
|2022/10/23 | HMToken | 0x9406d5c635AD22b0d76c75E52De57A2177919ca3 | N/A |
|2022/10/24 | EscrowFactory | 0xfb4469201951C3B9a7F1996c477cb7BDBEcE0A88 | |
| | Staking | | |
| | RewardPool | | |
|2022/10/24 | EthKVStore | 0xd232c1426CF0653cE8a71DC98bCfDf10c471c114 | N/A |
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"jest-environment-jsdom": "^29.3.1",
"lint-staged": "^14.0.1",
"prettier": "^2.7.1",
"ts-jest": "^29.0.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^4.9.3"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/apps/escrow-dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
"openpgp": "^5.10.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-loading-skeleton": "^3.3.1",
"react-redux": "^8.0.5",
"react-router-dom": "^6.4.3",
"react-test-renderer": "^18.2.0",
"recharts": "^2.1.16",
"serve": "^14.1.1",
"swr": "^1.3.0",
"swr": "^2.2.4",
"wagmi": "^0.12.2",
"web-vitals": "^3.1.0"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions packages/apps/escrow-dashboard/src/assets/exchanges/lbank.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

2 comments on commit 99e1c8a

@vercel
Copy link

@vercel vercel bot commented on 99e1c8a Oct 11, 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:

escrow-dashboard – ./packages/apps/escrow-dashboard

escrow-dashboard-humanprotocol.vercel.app
dashboard.humanprotocol.org
escrow-dashboard-git-main-humanprotocol.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 99e1c8a Oct 11, 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:

job-launcher-client – ./packages/apps/job-launcher/client

job-launcher-client-humanprotocol.vercel.app
job-launcher-client-git-main-humanprotocol.vercel.app
job-launcher-client-nine.vercel.app

Please sign in to comment.