Vault to rev5
dhruvinparikh
released this
11 Oct 03:42
·
116 commits
to master
since this release
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