createProvideLiquidityBody method

Cell createProvideLiquidityBody({
  1. required InternalAddress routerWalletAddress,
  2. required BigInt minLpOut,
})

Implementation

Cell createProvideLiquidityBody({
  required InternalAddress routerWalletAddress,
  required BigInt minLpOut,
}) {
  return beginCell()
      .storeUint(DexOpCodes.PROVIDE_LP.op, 32)
      .storeAddress(routerWalletAddress)
      .storeCoins(minLpOut)
      .endCell();
}