ArgPacker
Inherits: IArgPacker
View functions that pack and unpack addLiquidity parameters.
Functions
unpackAddLiquidityArgs
Unpacks packed addLiquidity parameters.
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).
packAddLiquidityArgsArray
Packs addLiquidity paramters array element-wise.
unpackUint88Array
Unpacks sqrtPrice breaks bytes object into array.
packUint88Array
Packs sqrtPrice breaks array with this format: [length, array[0], array[1],..., array[length-1]] where length is 1 byte.
Last updated