You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Enhance undelegateValidator: log vault assets and available balance after buffer calculation
* Added buffer option to sonicUndelegate
Set vault buffer to 0.5% for undelegating S from the validator
---------
Co-authored-by: Nicholas Addison <nick@addisonbrown.com.au>
* @param {*} id Validator ID to undelegate from. If not provided, will use the default validator ID.
14
+
* @param {*} amount Amount of wS to undelegate. If not provided, it will be calculated based on available wS, pending withdrawals and the vault buffer.
15
+
* @param {*} bufferPct Percentage of total assets to keep as a buffer for the vault in basis points. 100 = 1%
0 commit comments