Skip to content

Releases: Opty-Fi/earn-protocol

Vault to rev6

24 Nov 18:26
Compare
Choose a tag to compare

Vault Implementation Revision 6 VaultV6 ABI

Change log

  • Add support for swap step by modifying strategy manager library
  • Remove the requirement to pass minimum amount expected in deposit and withdraw functions
  • The StrategyStep data type replaces isBorrow to isSwap

Registry

Change log

  • Add ability to approve and rate swap pool (replaced creditPool state variables)
  • Add ability to map the approved swap pool to its corresponding swap adapter
  • Remove the borrow from risk profile definition

RiskManager

Change log

  • It is no more a proxy contract
  • Modified the best strategy function by removing is_swap from the risk profile scope

Deployment Activities

opTOKEN_IMPL : https://etherscan.io/address/0x17479f559D26c064fd95F3Ba13E77A3be4d1F576

Vault to rev5

11 Oct 03:42
Compare
Choose a tag to compare

Vault Implementation Revision 5 VaultV5 ABI

Change log

  • Construction parameters only requires registry and set implementation vault name and symbol to opTOKEN_IMPL
  • Remove whitelist for smart contract account
  • Add support for gas less approvals of ERC20 tokens that supports permit (like USDC) and legacy permit (like DAI) method
  • Adds support for EIP712 approvals of the vault tokens
  • Emergency brakes are made gas efficient by not allowing more than one deposit in the same block
  • Withdraw and deposited are restricted when vault is paused
  • Deposit is restricted when vault is shutdown during emergency but withdrawals
  • Add function for claim and harvesting rewards
  • Governance controlled function to give/revoke ERC20 token allowance for the vault
  • User can pass the minimum amount of vault tokens / underlying tokens expected in deposit and withdraw functions
  • Governance can change name and symbol of vault token

Deployment Activities

opTOKEN_IMPL : https://etherscan.io/address/0xBA6d39f9e915947A30b041321D4bF5fBE3177E3A

USDC and WETH Invest Vaults

Save and Earn Vaults

SushiswapPoolAdapterEthereum

CurveswapPoolAdapter

Invest Vaults

SushiswapMasterV2AdapterEthereum

SushiBarAdapter

AaveV1Adapter