@elasticswap/token

0.0.6 • Public • Published

Deployed Addresses

TIC and Staking

deployed commit 653d1e6

MerklePools (AVAX)

deploy commit 3b38a12

  • Proxy - 0x9b7b70f65ea5266ebd0a0f8435be832d39e71280
  • PoxyAdmin - 0x9368a7d3a59861b528a2528725d55479f02ae135
  • Implementation - 0xbe443274808af7f6daec7ad8ddf39f94f1603246

MerklePoolsForeign (Mainnet)

deploy commit 23cfc6e

  • Proxy - 0xc8d00c0a8d2ec4ec538a82461a7a7f5c3ac99d95
  • PoxyAdmin - 0xbce91a72a03966d27edab52490a5749da5ae916f
  • Implementation - 0x0e5ba9a39A75e6AFdBCFFB422Fda80497F80a88c

MerklePoolsForeign (Goerli)

deploy commit 23cfc6e

  • Proxy - 0xbe62889d7bbb98415123d76d3d862e4482463e52
  • PoxyAdmin - 0x2a3753f6cfbd1eba1ff1cb2ce3d041057236503f
  • Implementation - 0xbd94c4308b02c49295ff33314e6dffe8d19071ea

Mainnet deployment instructions

  1. Update .env file for correct keys and addresses.
  2. Update desired gas price in hardhat (https://snowtrace.io/gastracker)
  3. Deploy contracts to avalanche npx hardhat deploy --network avalanche --export-all ./artifacts/deployments.json
  4. Verify on etherscan npx hardhat --network avalanche etherscan-verify --api-key <APIKEY>
  5. Pre-mine TIC to DAO and mint all TIME tokens HARDHAT_NETWORK="avalanche" node scripts/mintTokens.js
    1. Pre-mine tokens to DAO
    2. Mint DAO Time token to DAO
    3. Mint Team Time token to Team
    4. Mint Pre-Seed Time token to pre-seed
  6. Create initial Sushi pool for TIC <> USDC from DAO and seed round
  7. Add the new Sushi LP address to .env
  8. Create pool for Sushi LP tokens HARDHAT_NETWORK="avalanche" node scripts/createSushiPool.js
  9. Set weights for all pools HARDHAT_NETWORK="avalanche" node scripts/setPoolWeights.js
  10. Confirm pool addresses and weights on snowscan.
  11. Grant admin rights to DAO HARDHAT_NETWORK="avalanche" node scripts/grantAdminToDAO.js
    1. Grant TIC Token admin DAO
    2. Grant DAO Time token admin and minter to DAO
    3. Grant Team Time token admin and minter to DAO
    4. Grant Pre-Seed Time token admin and minter to DAO
  12. Confirm on snowscan correct admin permissions for the DAO for all 4 token contracts.
  13. DAO accept pending governance from StakingPools.sol
  14. Stake DAO time token
  15. From DAO, call setRewardRate to enable staking for initial pools. LP, TIC, DAO
  16. Renounce all rights from deployer address HARDHAT_NETWORK="avalanche" node scripts/renounceRoles.js
  17. Publish all mainnet addresses
  18. When ready from DAO, call setRewardRate to enable staking (~24 hrs later) and set updated pool weights.

Deploying MerklePools.sol with proxy to AVAX

  1. update HH config with correct address for USDC<>TIC ELP address
  2. Confirm the AVAX governance address
  3. Set the correct desired gasPrice in HH config
  4. HARDHAT_NETWORK="avalanche" node scripts/deployMerklePools.js
  5. Transfer ownership of the proxy admin
  6. Create pools

Readme

Keywords

none

Package Sidebar

Install

npm i @elasticswap/token

Weekly Downloads

1

Version

0.0.6

License

GPL-3.0

Unpacked Size

13.8 MB

Total Files

125

Last publish

Collaborators

  • dmvt
  • 0xean