Skip to content

Lumerin-protocol/simple-vault

Repository files navigation

Simple Vault contract to migrate from Lumerin Vesting contract

  1. Pre-req install and update local packages
yarn 
  1. Update the .env file with the variables

  2. Deploy the SimpleVault contract (from new owner address)

yarn hardhat run  --network mainnet scripts/0-deploy-vault.ts
  1. Set privatekey in .env file with private key of the owner of old vesting contract

  2. Withdraw all tokens from old vesting contract by using withdraw-lumerin.ts

yarn hardhat run  --network mainnet scripts/1-withdraw-lumerin.ts
  1. Run get-balances.ts to get the addresses and balances of the old vesting contract
yarn hardhat run  --network mainnet scripts/2-get-balances.ts
  1. Check "address-amounts.json" file for the address and amount of tokens to be distributed

  2. Distribute tokens to new vault contract by using distribute-lumerin.ts

yarn hardhat run  --network mainnet scripts/3-distribute-lumerin.ts
  1. Check the new vesting contract for the distributed tokens
yarn hardhat run  --network mainnet scripts/4-check-vault.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors