getSingleSideProvideLiquidityJettonTxParams method
Future<SenderArguments>
getSingleSideProvideLiquidityJettonTxParams({
- required InternalAddress userWalletAddress,
- required InternalAddress sendTokenAddress,
- required InternalAddress otherTokenAddress,
- required BigInt sendAmount,
- required BigInt minLpOut,
- InternalAddress? refundAddress,
- InternalAddress? excessesAddress,
- Cell? customPayload,
- BigInt? customPayloadForwardGasAmount,
- BigInt? gasAmount,
- BigInt? forwardGasAmount,
- BigInt? queryId,
Implementation
Future<SenderArguments> getSingleSideProvideLiquidityJettonTxParams({
required InternalAddress userWalletAddress,
required InternalAddress sendTokenAddress,
required InternalAddress otherTokenAddress,
required BigInt sendAmount,
required BigInt minLpOut,
InternalAddress? refundAddress,
InternalAddress? excessesAddress,
Cell? customPayload,
BigInt? customPayloadForwardGasAmount,
BigInt? gasAmount,
BigInt? forwardGasAmount,
BigInt? queryId,
}) async {
return implGetProvideLiquidityJettonTxParams(
userWalletAddress: userWalletAddress,
sendTokenAddress: sendTokenAddress,
otherTokenAddress: otherTokenAddress,
sendAmount: sendAmount,
minLpOut: minLpOut,
excessesAddress: excessesAddress,
customPayload: customPayload,
customPayloadForwardGasAmount: customPayloadForwardGasAmount,
refundAddress: refundAddress,
bothPositive: false,
queryId: queryId,
gasAmount: gasAmount ?? gasConstants.singleSideProvideLpJetton.gasAmount!,
forwardGasAmount: forwardGasAmount ??
gasConstants.singleSideProvideLpJetton.forwardGasAmount,
);
}