From c8dde82eac48742c8a42166106f4a9669bc5f11b Mon Sep 17 00:00:00 2001 From: echo Date: Tue, 6 Feb 2024 16:07:38 +0800 Subject: [PATCH] deploy on pangolin --- README.md | 5 +++++ bin/deploy.sh | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0ddabc8..3c77298 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,11 @@ Forked from Staking pool for KTON. +## Addresses +| NetWork | KTON Staker Deployment Address | +|-----------|--------------------------------------------| +| Pangolin | 0x0000003f5bA7A4EA41655aDbC89c2A668d449128 | + ### API #### `totalSupply()` diff --git a/bin/deploy.sh b/bin/deploy.sh index 4e1c22a..a32a7b3 100644 --- a/bin/deploy.sh +++ b/bin/deploy.sh @@ -3,14 +3,13 @@ set -eo pipefail chain=${1:?} -addr=0x0008434c0517EBf553C647Ec7Da3d0BbA5E91F91 -salt=0x5d841ef605a22850a78ad17b123a5a2943ede365fb3d494384c537e1ea160c3c +addr=0x0000003f5bA7A4EA41655aDbC89c2A668d449128 +salt=0x17c842548b9cc16db52d69e4d2603333bde4d1eea6be3e34959a40cf1b747a7b c3=0x0000000000C76fe1798a428F60b27c6724e03408 deployer=0x0f14341A7f464320319025540E8Fe48Ad0fe5aec KTON=0x0000000000000000000000000000000000000402 -# STAKING_PALLET=0x6d6f646c64612f74727372790000000000000000 -STAKING_PALLET=0x0f14341A7f464320319025540E8Fe48Ad0fe5aec +STAKING_PALLET=0x6d6f646c64612f74727372790000000000000000 bytecode=$(jq -r ".contracts[\"src/KTONStakingRewards.sol\"].KTONStakingRewards.evm.bytecode.object" out/dapp.sol.json) args=$(set -x; ethabi encode params \