updateCollateral() with a positive amount to top up and a negative amount to remove.
Important behavior
- top-ups check USDC allowance
- insufficient allowance throws
ALLOWANCE_INSUFFICIENT - removing collateral increases effective leverage
Add or remove position collateral on Ostium with the Builder SDK.
updateCollateral() with a positive amount to top up and a negative amount to remove.
ALLOWANCE_INSUFFICIENT