Create contracts for auto-compounding vaults of zilliqa staking rewards - these would allow zilliqa stakers to reinvest their $zil staking rewards back into staking.
Staking $zil yields both $zil and $gzil, the vault would reinvest earned $zil into the staking contract and give the $gzil back to the users so that they can use it to vote on various governance proposals.
The vault will work very similar to yVaults like yUSD wherein, users who deposit $zil get vault token called bzil. The amount of $bzil received by the user is calculated based on the number of $zil in the vault and current $bzil price.
Deliverables:
Vault contract - The main contract that auto-compounds $zil staking rewards
UI - Simple UI that allows users to deposit and withdraw $zil from the vault contract and mint/burn $bzil accordingly.
Provide documentations for said implementation and its relevant test cases.
Bounty task:
Create contracts for auto-compounding vaults of zilliqa staking rewards - these would allow zilliqa stakers to reinvest their $zil staking rewards back into staking.
Staking $zil yields both $zil and $gzil, the vault would reinvest earned $zil into the staking contract and give the $gzil back to the users so that they can use it to vote on various governance proposals.
The vault will work very similar to yVaults like yUSD wherein, users who deposit $zil get vault token called bzil. The amount of $bzil received by the user is calculated based on the number of $zil in the vault and current $bzil price.
Deliverables:
Vault contract - The main contract that auto-compounds $zil staking rewards
UI - Simple UI that allows users to deposit and withdraw $zil from the vault contract and mint/burn $bzil accordingly.
Provide documentations for said implementation and its relevant test cases.
Relevant Links:
Yearn vaults : https://yearn.finance/vaults
YFI documentation and understanding yVault ROI : https://docs.yearn.finance/, https://docs.yearn.finance/how-to-guides/how-to-understand-yvault-roi
Bounty help list: Getting Started on Zilliqa: https://dev.zilliqa.com/docs/dev/dev-started-introduction
Zilliqa API documentation: https://dev.zilliqa.com/docs/apis/api-introduction
Scilla Language Documentation: https://scilla.readthedocs.io/en/latest/
Zilliqa Developers' Channels:
Discord Group : https://discord.com/invite/XMRE9tt
Telegram Group : https://t.me/ZilliqaDevs