yearn / yearn-vaults-v3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Share Management Functions

jmonteer opened this issue · comments

Implement Share Management Functions

Description:
Implement deposit
Implement withdraw
Implement share value functions
Implement ERC20 functions

Dependencies:
NA
Acceptance criteria:
Required functions are implemented
Payment Trigger:
PR is merged
Category:
DEV
Level:
1

commented

Have we decided on 4626?

I believe @jmonteer wants 4626 to be implemented as a wrapper. This will provide flexibility in allowing integrators to either integrate directly with the vault to deposit / withdraw (relevant for withdrawal, since you can select which strategies you wish to withdraw from) or being lazy and integrating through the wrapper.

Yes!

@pandadefi and I discussed this privately but the idea is to leave core code non-compliant and then build a yRouter or yShareToken that is compliant with erc4626