yearn / yearn-vaults-v3

GNU Affero General Public License v3.0
96 stars 35 forks source link

feat: use cloning for vaults #191

Closed Schlagonia closed 7 months ago

Schlagonia commented 8 months ago

Description

Switch from using blueprints to cloning for lower deployment costs.

Fixes # (issue)

Checklist

fp-crypto commented 8 months ago

Remind me, what's motivating the switch between blueprints and clones? Is there a negative tradeoff to counter the positive of lower deployment cost?

Schlagonia commented 8 months ago

Remind me, what's motivating the switch between blueprints and clones? Is there a negative tradeoff to counter the positive of lower deployment cost?

The main trade off is higher runtime costs. Both from needing a delegatecall. But also mainly from not being able to use Immutables.