jito-foundation / restaking

https://docs.restaking.jito.network/
Other
54 stars 5 forks source link

Vault: Add maximum limitations on deposit/withdraw fee and ramp up/down #14

Closed buffalu closed 2 months ago

buffalu commented 2 months ago

The vault needs some encoding around max deposit + withdraw fees. Something in the 5% range seems reasonable.

In addition, to avoid sudden changes in the withdraw/deposit fee, it would be wise to add limitations on how much the deposit/withdraw fees can change within a given time window.