Skip to content

Commit

Permalink
deploy on pangolin
Browse files Browse the repository at this point in the history
  • Loading branch information
hujw77 committed Feb 6, 2024
1 parent 7cb9b6d commit c8dde82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Forked from

Staking pool for KTON.

## Addresses
| NetWork | KTON Staker Deployment Address |
|-----------|--------------------------------------------|
| Pangolin | 0x0000003f5bA7A4EA41655aDbC89c2A668d449128 |

### API

#### `totalSupply()`
Expand Down
7 changes: 3 additions & 4 deletions bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit c8dde82

Please sign in to comment.