morpho-org / morpho-token-upgradeable

Other
7 stars 8 forks source link

refactor inheritance graph #33

Closed MathisGD closed 1 month ago

MathisGD commented 1 month ago

It makes it at tree, and avoid the need for the _udpate override

QGarchery commented 1 month ago

Personally I would only keep the delegation logic in this contract

This is what this PR does, no ? Or you mean that you wouldn't inherit from ERC20Upgradeable ? But I think you have to, because they are linked in the update function