balancer / balancer-v3-monorepo

GNU General Public License v3.0
37 stars 10 forks source link

Alternative to ERC4626 queries (V2 - Vault primitive queries) #791

Closed joaobrunoah closed 1 month ago

joaobrunoah commented 1 month ago

Description

In #785 we needed to reproduce the whole logic of the wrapUnwrap vault primitive in VaultExtension, so that the queries of ERC4626 buffers are as close as possible from the actual operation. So, this is an alternative to use only Vault and remove the code duplicity from VaultExtension.

Type of change

Checklist:

Issue Resolution

Closes #777 Closes #776