RouterV2 class

Inheritance

Constructors

RouterV2({required InternalAddress address})

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

createCrossProvideLiquidityBody({required InternalAddress routerWalletAddress, required BigInt minLpOut, required InternalAddress receiverAddress, required InternalAddress refundAddress, bool bothPositive = false, InternalAddress? excessesAddress, Cell? customPayload, BigInt? customPayloadForwardGasAmount}) → Cell
inherited
createCrossSwapBody({required InternalAddress askJettonWalletAddress, required InternalAddress receiverAddress, required BigInt minAskAmount, required InternalAddress refundAddress, InternalAddress? excessesAddress, Cell? customPayload, BigInt? customPayloadForwardGasAmount, Cell? refundPayload, BigInt? refundForwardGasAmount, InternalAddress? referralAddress, BigInt? referralValue}) → Cell
inherited
createProvideLiquidityBody({required InternalAddress routerWalletAddress, required BigInt minLpOut, required InternalAddress receiverAddress, required InternalAddress refundAddress, bool bothPositive = false, InternalAddress? excessesAddress, Cell? customPayload, BigInt? customPayloadForwardGasAmount}) → Cell
inherited
createSwapBody({required InternalAddress askJettonWalletAddress, required InternalAddress receiverAddress, required BigInt minAskAmount, required InternalAddress refundAddress, InternalAddress? excessesAddress, Cell? customPayload, BigInt? customPayloadForwardGasAmount, Cell? refundPayload, BigInt? refundForwardGasAmount, InternalAddress? referralAddress, BigInt? referralValue}) → Cell
inherited
getPool({required InternalAddress token0, required InternalAddress token1}) Future<PoolV2>
inherited
getPoolAddress({required InternalAddress token0, required InternalAddress token1}) Future<InternalAddress>
inherited
getPoolAddressByJettonMinters({required InternalAddress token0, required InternalAddress token1}) Future<InternalAddress>
inherited
getProvideLiquidityJettonTxParams({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}) Future<SenderArguments>
inherited
getProvideLiquidityTonTxParams({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}) Future<SenderArguments>
inherited
getRouterData() Future<({InternalAddress adminAddress, DexType dexType, bool isLocked, Cell jettonLpWalletCode, Cell lpAccountCode, Cell poolCode, int routerId, Cell tempUpgrade, Cell vaultCode})>
inherited
getRouterVersion() Future<({String development, int major, int minor})>
inherited
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}) Future<SenderArguments>
inherited
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}) Future<SenderArguments>
inherited
getSwapJettonToJettonTxParams({required InternalAddress userWalletAddress, required InternalAddress offerJettonAddress, required InternalAddress askJettonAddress, required BigInt offerAmount, required BigInt minAskAmount, InternalAddress? refundAddress, InternalAddress? excessesAddress, InternalAddress? referralAddress, BigInt? referralValue, Cell? customPayload, BigInt? customPayloadForwardGasAmount, Cell? refundPayload, BigInt? refundForwardGasAmount, BigInt? gasAmount, BigInt? forwardGasAmount, BigInt? queryId}) Future<SenderArguments>
inherited
getSwapJettonToTonTxParams({required InternalAddress userWalletAddress, required InternalAddress offerJettonAddress, required Pton proxyTon, required BigInt offerAmount, required BigInt minAskAmount, InternalAddress? refundAddress, InternalAddress? excessesAddress, InternalAddress? referralAddress, BigInt? referralValue, Cell? customPayload, BigInt? customPayloadForwardGasAmount, Cell? refundPayload, BigInt? refundForwardGasAmount, BigInt? gasAmount, BigInt? forwardGasAmount, BigInt? queryId}) Future<SenderArguments>
inherited
getSwapTonToJettonTxParams({required InternalAddress userWalletAddress, required Pton proxyTon, required InternalAddress askJettonAddress, required BigInt offerAmount, required BigInt minAskAmount, InternalAddress? refundAddress, InternalAddress? excessesAddress, InternalAddress? referralAddress, BigInt? referralValue, Cell? customPayload, BigInt? customPayloadForwardGasAmount, Cell? refundPayload, BigInt? refundForwardGasAmount, BigInt? gasAmount, BigInt? forwardGasAmount, BigInt? queryId}) Future<SenderArguments>
inherited
getVault({required InternalAddress user, required InternalAddress tokenWallet}) Future<VaultV2>
inherited
getVaultAddress({required InternalAddress user, required InternalAddress tokenWallet}) Future<InternalAddress>
inherited
implGetProvideLiquidityJettonTxParams({required InternalAddress userWalletAddress, required InternalAddress sendTokenAddress, required InternalAddress otherTokenAddress, required BigInt sendAmount, required BigInt minLpOut, required BigInt gasAmount, required BigInt forwardGasAmount, bool bothPositive = false, InternalAddress? refundAddress, InternalAddress? excessesAddress, Cell? customPayload, BigInt? customPayloadForwardGasAmount, BigInt? queryId}) Future<SenderArguments>
inherited
implGetProvideLiquidityTonTxParams({required InternalAddress userWalletAddress, required Pton proxyTon, required InternalAddress otherTokenAddress, required BigInt sendAmount, required BigInt minLpOut, required BigInt forwardGasAmount, InternalAddress? refundAddress, InternalAddress? excessesAddress, bool bothPositive = false, Cell? customPayload, BigInt? customPayloadForwardGasAmount, BigInt? queryId}) Future<SenderArguments>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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