LpAccountV2 class
- Inheritance
-
- Object
- StonfiContract
- LpAccountV2
Constructors
- LpAccountV2.new(InternalAddress address, {LpAccountGasConstant? gasConstants})
- LpAccountV2.create(InternalAddress address)
-
factory
Properties
- abi ↔ ContractABI?
-
getter/setter pairinherited
- address ↔ InternalAddress
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- init ↔ ContractInit?
-
getter/setter pairinherited
- provider ↔ ContractProvider?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stonfiProvider ↔ StonfiContractProvider?
-
getter/setter pairinherited
Methods
-
createDirectAddLiquidityBody(
{required BigInt amount0, required BigInt amount1, required InternalAddress userWalletAddress, BigInt? minimumLpToMint, BigInt? queryId, InternalAddress? refundAddress, InternalAddress? excessesAddress, Cell? customPayload, BigInt? customPayloadForwardGasAmount}) → Cell -
createRefundBody(
{BigInt? queryId, Cell? leftMaybePayload, Cell? rightMaybePayload}) → Cell -
createResetGasBody(
{BigInt? queryId}) → Cell -
getDirectAddLiquidityTxParams(
{required BigInt amount0, required BigInt amount1, required InternalAddress userWalletAddress, BigInt? minimumLpToMint, BigInt? queryId, InternalAddress? refundAddress, InternalAddress? excessesAddress, Cell? customPayload, BigInt? customPayloadForwardGasAmount, BigInt? gasAmount}) → SenderArguments -
getLpAccountData(
) → Future< ({BigInt amount0, BigInt amount1, InternalAddress poolAddress, InternalAddress userAddress})> -
getRefundTxParams(
{BigInt? gasAmount, BigInt? queryId, Cell? leftMaybePayload, Cell? rightMaybePayload}) → SenderArguments -
getResetGasTxParams(
{BigInt? queryId, BigInt? gasAmount}) → SenderArguments -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendDirectAddLiquidity(
Sender via, {required BigInt amount0, required BigInt amount1, required InternalAddress userWalletAddress, BigInt? minimumLpToMint, BigInt? queryId, InternalAddress? refundAddress, InternalAddress? excessesAddress, Cell? customPayload, BigInt? customPayloadForwardGasAmount, BigInt? gasAmount}) → Future< void> -
sendRefund(
ContractProvider provider, Sender via, {BigInt? gasAmount, BigInt? queryId, Cell? leftMaybePayload, Cell? rightMaybePayload}) → Future< void> -
sendResetGas(
ContractProvider provider, Sender via, {BigInt? queryId, BigInt? gasAmount}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- gasConstants ↔ LpAccountGasConstant
-
getter/setter pair
- version ↔ DexVersion
-
getter/setter pair