The smart contracts are still under development (testing and auditing) and we strongly advise anyone not to deposit anything on the mainnet until we publicly launch the product.
xDVG (VIP DVG) is an ERC20 token that you receive in exchange for staking DVG tokens. The xDVG token is always worth more than a regular DVG token.
DVGUniBot will buy back DVG from UniswapV2, using funds in Treasury wallet or Community wallet, and then send DVG tokens to xDVG smart contract. In the future, we will develop more strategy smart contracts to buy back DVG from more exchanges/swaps.
When you stake your DVG tokens, you “purchase” a share of the xDVG pool. Because xDVG appreciates in value compared to DVG, the amount of xDVG you get for your DVG decreases overtime.
Pay some DVGs. Earn some shares. Locks DVG and mints xDVG.
Claim back your DVGs. Unclocks the staked + gained DVG and burns xDVG.
Ask this smart contract to buy back DVG from UniswapV2, using funds in Treasury wallet or Community wallet, and then send DVG tokens to xDVG smart contract.
Set the wallet address, we will spend its funds to buy back DVG.
Set two amounts:
_minAmount
: the minimum amount of funds in the wallet, only when the amount of funds in the wallet is larger than this minimum amount, can we buy back DVG._amount
: the amount of funds that we will use to buy back DVG.
- Set the token in the wallet that we could use to buy back DVG.
Create an .env file within the folder. It should have these fields:
KOVAN_URL
, MAINNET_URL
, ACCOUNT
, PRIVATE_KEY
, ETHERSCAN_API_KEY
, WALLET_ADDRESS
npx hardhat compile
npx hardhat deploy --network <network> --tags <network>_deploy