PtonV2 class

Inheritance

Constructors

PtonV2({InternalAddress? address, PtonGasConstant? 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

createDeployWalletBody({required InternalAddress ownerAddress, InternalAddress? excessAddress, BigInt? queryId}) → Cell
override
createTonTransferBody({required BigInt tonAmount, required InternalAddress refundAddress, Cell? forwardPayload, BigInt? queryId}) → Cell
getDeployWalletTxParams({required InternalAddress ownerAddress, InternalAddress? excessAddress, BigInt? gasAmount, BigInt? queryId}) Future<SenderArguments>
override
getJettonData() Future<({InternalAddress adminAddress, Cell content, bool mintable, BigInt totalSupply, Cell walletCode})>
Returns a jetton data as a record
inherited
getTonTransferTxParams({required BigInt tonAmount, required InternalAddress destinationAddress, required InternalAddress refundAddress, Cell? forwardPayload, BigInt? forwardTonAmount, BigInt? queryId}) Future<SenderArguments>
override
getWalletAddress(InternalAddress owner) Future<InternalAddress>
Returns a jetton wallet address a Future
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendTonTransfer(Sender via, {required BigInt tonAmount, required InternalAddress destinationAddress, required InternalAddress refundAddress, Cell? forwardPayload, BigInt? forwardTonAmount, BigInt? queryId}) Future<void>
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

gasConstants PtonGasConstant
getter/setter pair
staticAddress ↔ InternalAddress
getter/setter pair
version PtonVersion
getter/setter pair