Skip to content

TIC and associated yield farming contracts

License

Notifications You must be signed in to change notification settings

markeddolphin/token

Repository files navigation

Deployed Addresses

TIC and Staking

deployed commit 653d1e6

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.

About

TIC and associated yield farming contracts

Resources

License

Stars

Watchers

Forks

Packages

No packages published