IArgPacker
Functions
packAddLiquidityArgs
Packs addLiquidity paramters into a bytes object. The packing is [kind, ticksArray, amountsArray] where the arrays are packed like this: [length, array[0], array[1],..., array[length-1]]. length is 1 byte (256 total possible elements).
unpackAddLiquidityArgs
Unpacks packed addLiquidity parameters.
packAddLiquidityArgsArray
Packs addLiquidity paramters array element-wise.
packUint88Array
Packs sqrtPrice breaks array with this format: [length, array[0], array[1],..., array[length-1]] where length is 1 byte.
unpackUint88Array
Unpacks sqrtPrice breaks bytes object into array.
Last updated