getSingleSideProvideLiquidityTonTxParams method
Future<SenderArguments>
getSingleSideProvideLiquidityTonTxParams({
- required InternalAddress userWalletAddress,
- required Pton proxyTon,
- required InternalAddress otherTokenAddress,
- required BigInt sendAmount,
- required BigInt minLpOut,
- InternalAddress? refundAddress,
- InternalAddress? excessesAddress,
- bool bothPositive = false,
- Cell? customPayload,
- BigInt? customPayloadForwardGasAmount,
- BigInt? forwardGasAmount,
- BigInt? queryId,
Implementation
Future<SenderArguments> getSingleSideProvideLiquidityTonTxParams({
required InternalAddress userWalletAddress,
required Pton proxyTon,
required InternalAddress otherTokenAddress,
required BigInt sendAmount,
required BigInt minLpOut,
InternalAddress? refundAddress,
InternalAddress? excessesAddress,
bool bothPositive = false,
Cell? customPayload,
BigInt? customPayloadForwardGasAmount,
BigInt? forwardGasAmount,
BigInt? queryId,
}) async {
return implGetProvideLiquidityTonTxParams(
bothPositive: false,
refundAddress: refundAddress,
customPayloadForwardGasAmount: customPayloadForwardGasAmount,
customPayload: customPayload,
excessesAddress: excessesAddress,
userWalletAddress: userWalletAddress,
proxyTon: proxyTon,
otherTokenAddress: otherTokenAddress,
sendAmount: sendAmount,
minLpOut: minLpOut,
queryId: queryId,
forwardGasAmount: forwardGasAmount ??
gasConstants.singleSideProvideLpJetton.forwardGasAmount,
);
}