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
LPs want to know their ratio of idle capital to capital that is being used to back open positions. The calculation for this current lives in React and looks something like this:
// pseudo code// grab the number of withdrawal shares received from a preview max remove liquidity call.const{proceeds: unusedProceeds, withdrawalShares }=previewRemoveLp(balanceOfLpShares);constutilizationRatio=(withdrawalShares/balanceOfLpShares)*100;
LPs want to know their ratio of idle capital to capital that is being used to back open positions. The calculation for this current lives in React and looks something like this:
https://github.com/delvtech/hyperdrive-frontend/blob/48280bb6a12528b11e17c45612fc1fdab3cdd4c2/apps/hyperdrive-trading/src/ui/hyperdrive/lp/hooks/useUtilizationRatio.ts#L7
The text was updated successfully, but these errors were encountered: