Module java4ever.framework
Record Class TIP3TokenWallet
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.contract.TIP3TokenWallet
- All Implemented Interfaces:
Contract
public record TIP3TokenWallet(Sdk sdk, String address, ContractAbi abi, Credentials credentials)
extends Record
implements Contract
Java wrapper class for usage of TIP3TokenWallet contract for Everscale blockchain.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
static final record
static final record
static final record
static final record
-
Constructor Summary
ConstructorsConstructorDescriptionTIP3TokenWallet
(Sdk sdk, String address) TIP3TokenWallet
(Sdk sdk, String address, ContractAbi abi) TIP3TokenWallet
(Sdk sdk, String address, ContractAbi abi, Credentials credentials) Creates an instance of aTIP3TokenWallet
record class.TIP3TokenWallet
(Sdk sdk, String address, Credentials credentials) -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.acceptMint
(BigInteger amount, Address remainingGasTo, Boolean notify, TvmCell payload) acceptTransfer
(BigInteger amount, Address sender, Address remainingGasTo, Boolean notify, TvmCell payload) address()
Returns the value of theaddress
record component.balance()
burn
(BigInteger amount, Address remainingGasTo, Address callbackTo, TvmCell payload) burnByRoot
(BigInteger amount, Address remainingGasTo, Address callbackTo, TvmCell payload) Returns the value of thecredentials
record component.static ContractAbi
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.owner()
root()
sdk()
Returns the value of thesdk
record component.supportsInterface
(Integer interfaceID) final String
toString()
Returns a string representation of this record class.transfer
(BigInteger amount, Address recipient, BigInteger deployWalletValue, Address remainingGasTo, Boolean notify, TvmCell payload) transferToWallet
(BigInteger amount, Address recipientTokenWallet, Address remainingGasTo, Boolean notify, TvmCell payload) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface tech.deplant.java4ever.framework.contract.Contract
account, accountBalance, prepareCall, tvmPubkey
-
Constructor Details
-
TIP3TokenWallet
public TIP3TokenWallet(Sdk sdk, String address) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
TIP3TokenWallet
-
TIP3TokenWallet
public TIP3TokenWallet(Sdk sdk, String address, Credentials credentials) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
TIP3TokenWallet
Creates an instance of aTIP3TokenWallet
record class.- Parameters:
sdk
- the value for thesdk
record componentaddress
- the value for theaddress
record componentabi
- the value for theabi
record componentcredentials
- the value for thecredentials
record component
-
-
Method Details
-
DEFAULT_ABI
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
supportsInterface
public FunctionHandle<TIP3TokenWallet.ResultOfSupportsInterface> supportsInterface(Integer interfaceID) -
destroy
-
burnByRoot
public FunctionHandle<Void> burnByRoot(BigInteger amount, Address remainingGasTo, Address callbackTo, TvmCell payload) -
burn
public FunctionHandle<Void> burn(BigInteger amount, Address remainingGasTo, Address callbackTo, TvmCell payload) -
balance
-
owner
-
root
-
walletCode
-
transfer
public FunctionHandle<Void> transfer(BigInteger amount, Address recipient, BigInteger deployWalletValue, Address remainingGasTo, Boolean notify, TvmCell payload) -
transferToWallet
public FunctionHandle<Void> transferToWallet(BigInteger amount, Address recipientTokenWallet, Address remainingGasTo, Boolean notify, TvmCell payload) -
acceptTransfer
public FunctionHandle<Void> acceptTransfer(BigInteger amount, Address sender, Address remainingGasTo, Boolean notify, TvmCell payload) -
acceptMint
public FunctionHandle<Void> acceptMint(BigInteger amount, Address remainingGasTo, Boolean notify, TvmCell payload) -
sendSurplusGas
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
sdk
Returns the value of thesdk
record component. -
address
Returns the value of theaddress
record component. -
abi
Returns the value of theabi
record component. -
credentials
Returns the value of thecredentials
record component.- Specified by:
credentials
in interfaceContract
- Returns:
- the value of the
credentials
record component
-