Parameters necessary to initiate an Interest Rate Swap via Voltz Protocol
A Margin Engine address that uniquely identifies an IRS pool on Voltz Protocol
If true, initiate a Fixed Taker Interest Rate Swap, if false initiate a Variable Taker Interest Rate Swap
Notional in underlying tokens of the Interest Rate Swap
The Q64.96 sqrt price limit. If dealing with a variable taker swap, the sqrt price of the vAMM cannot be less than this value. If dealing with a fixed taker swap, the sqrt price cannot be more than this value.
The lower tick of the position for which to add or remove liquidity
The upper tick of the position for which to add or remove liquidity
The delta applied to the margin account of the position in underlying tokens.
This function computes the amount of liquidity received for a given notional amount and price range by:
Calculating the notional amount divided by the square root delta of the upper and lower ticks to get the amount of returned liquidity
A sqrt price representing the first tick boundary
A sqrt price representing the second tick boundary