BasePoolV2 class

Implementers

Constructors

BasePoolV2(InternalAddress address, [ContractProvider? provider, PoolGasConstant? gasConstants])

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

Methods

createBurnBody({required BigInt amount, Cell? customPayload, BigInt? queryId}) → Cell
createCollectFeesBody({BigInt? queryId}) → Cell
getBurnTxParams({required InternalAddress userWalletAddress, required BigInt amount, Cell? customPayload, BigInt? gasAmount, BigInt? queryId}) Future<SenderArguments>
getCollectFeeTxParams({BigInt? gasAmount, BigInt? queryId}) → SenderArguments
getExpectedOutputs(ContractProvider provider, {required BigInt amount, required InternalAddress jettonWallet}) Future<(BigInt, BigInt, BigInt)>
getJettonData() Future<({InternalAddress adminAddress, Cell content, bool mintable, BigInt totalSupply, Cell walletCode})>
Returns a jetton data as a record
inherited
getJettonWallet(ContractProvider provider, {required InternalAddress ownerAddress}) Future<JettonWallet>
getLpAccount(ContractProvider provider, {required InternalAddress ownerAddress}) Future<LpAccountV2>
getLpAccountAddress({required InternalAddress ownerAddress}) Future<InternalAddress>
getPoolData() Future<CommonPoolData>
getPoolType() Future<DexType>
getWalletAddress(InternalAddress owner) Future<InternalAddress>
Returns a jetton wallet address a Future
inherited
implGetPoolData(ContractProvider provider) Future<({CommonPoolData commonPoolData, TupleReader stack})>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendBurn(Sender via, {required InternalAddress userWalletAddress, required BigInt amount, Cell? customPayload, BigInt? gasAmount, BigInt? queryId}) Future<void>
sendCollectFees(ContractProvider provider, Sender via, {BigInt? gasAmount, BigInt? queryId}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

gasConstants PoolGasConstant
getter/setter pair
version DexVersion
getter/setter pair