Releases: Opty-Fi/earn-protocol
Releases · Opty-Fi/earn-protocol
Refactored AAVE Vault (Ethereum) Deployment
v0.0.1-beta.5 chore(deploy🚀): aAVE to mainnet
Refactored NEWO Vault (Ethereum) Deployment
v0.0.1-beta.4 chore(deploy): nEWO 🚀 to mainnet
Refactored Vault Polygon Deployment
Merge pull request #302 from Opty-Fi/feat/polygon-deployment feat/polygon-deployment
Refactored Vault Mumbai Deployment
Merge pull request #307 from Opty-Fi/mumbai chore(deploy): mumbai 🚀
Refactored Vault Ethereum Deployment
Vault Implementation Revision 3 VaultV3 ABI
Change log
- Add whitelists for account and smart contracts at Vault level instead of Registry
- Rebalance does not charge fees to the vault
- Vault configuration is now bit banging style using
vaultConfiguration
- bit 0-15 deposit fee in underlying token without decimals
- bit 16-31 deposit fee in basis points
- bit 32-47 withdrawal fee in underlying token without decimals
- bit 48-63 withdrawal fee in basis points
- bit 64-79 max vault value jump allowed in basis points (standard deviation allowed for vault value)
- bit 80-239 vault fee collection address
- bit 240-247 risk profile code
- bit 248 emergency shutdown flag
- bit 249 pause flag (deposit/withdraw is pause when bit is unset, unpause otherwise)
- bit 250 white list state flag
- Charge flat and/or percentage fees on deposit and withdraw
- Removes the queuing mechanism for deposit and withdraw requests. User will get the vault tokens burnt/minted right away
- Replace discontinue with emergency shutdown.
- The StrategyManager is now public library instead of contract
- Removed
getPricePerFullShareWrite()
function - The vault mint and burns vault tokens now on PPS
Alpha launch (With Bug fixes)
Bug fixes
- Made
executeCodes()
to have internal visibility - Cleaned up
ChiDeployer.sol
Contract Deployments
Mainnet App | Kovan Testnet App | Website | Docs | Discord | Twitter | Medium
Beta launch
Vault Implementation Revision 2 VaultV2 ABI
Change log
- Removed unused functions from
ChiDeployer.sol
Bug fixes
- Made
executeCodes()
to have internal visibility
Deployment activities
- Deployed WETH vault
Contract Deployments
Mainnet App | Kovan Testnet App | Website | Docs | Discord | Twitter | Medium
Alpha launch
Vault Implementation Revision 1 VaultV1 ABI
- Accepts protocol registry address , vault token name, vault token symbol, vault token riskProfileName, and vault token riskProfileSymbol during construction
- Accepts protocol registry address , vault token name, vault token symbol, vault token riskProfileName, and vault token riskProfileSymbol during initialization from VaultProxy contract
- It can be paused and discontinued by governance
- Rebalance will only work if vault is unpaused and not discontinued
- Any user can rebalance the vault.
- If designated operator rebalances the vault then the vault will pay the gas fees to the operator account.
- Vault can harvest rewards
- User can either deposit all amount w/o rebalance , some amount w/o rebalance, all amount w/ rebalance and/or some amount w/ rebalance.
- If user deposits/withdraw amount w/ rebalance, then the vault tokens are minted/burnt right away; the deposit/withdraw request is queued and minted/burnt during next rebalance otherwise
- User can pay for withdraw and deposit using CHI tokens
- The vault is paused by default and can be unpaused and/or discontinued.
- When the vault is paused, it exits from current strategy as well as deposit and withdraw are restricted.
- When the vault is discontinued, the deposit is restricted but withdraw
- The vault restricts new deposits after the TVL limit is reached
- The vault also makes changes to OPTY accruals only if OPTY token address is non zero
- Vault will restrict rebalance, deposit and withdraw via emergency brake mechanism if the PPS deviation within the same exceeds
maxVaultValueJump
- Vault enforces permissioned deposit and withdraw when whitelist state is enforced via governance.
- Vault enforces minimum amount as well as cap on user deposits
- Vault can return price per full share including the strategy that might include a write call
- The vault implements fee sharing mechanism with its partners during user withdraw
- Governance controlled functionality to arbitrary execute any code.
Deployment activities
Mainnet App | Kovan Testnet App | Website | Docs | Discord | Twitter | Medium