Module java4ever.framework
Record Class TIP3TokenRoot
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.contract.TIP3TokenRoot
- All Implemented Interfaces:
Contract
public record TIP3TokenRoot(Sdk sdk, String address, ContractAbi abi, Credentials credentials)
extends Record
implements Contract
Java wrapper class for usage of TIP3TokenRoot contract for Everscale blockchain.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionTIP3TokenRoot(Sdk sdk, String address) TIP3TokenRoot(Sdk sdk, String address, ContractAbi abi) TIP3TokenRoot(Sdk sdk, String address, ContractAbi abi, Credentials credentials) Creates an instance of aTIP3TokenRootrecord class.TIP3TokenRoot(Sdk sdk, String address, Credentials credentials) -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.acceptBurn(BigInteger amount, Address walletOwner, Address remainingGasTo, Address callbackTo, TvmCell payload) address()Returns the value of theaddressrecord component.burnTokens(BigInteger amount, Address walletOwner, Address remainingGasTo, Address callbackTo, TvmCell payload) Returns the value of thecredentialsrecord component.decimals()static ContractAbideployWallet(Address walletOwner, BigInteger deployWalletValue) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.mint(BigInteger amount, Address recipient, BigInteger deployWalletValue, Address remainingGasTo, Boolean notify, TvmCell payload) name()sdk()Returns the value of thesdkrecord component.setBurnPaused(Boolean paused) supportsInterface(Integer interfaceID) symbol()final StringtoString()Returns a string representation of this record class.transferOwnership(Address newOwner, Address remainingGasTo, Map<Address, Map<String, Object>> callbacks) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tech.deplant.java4ever.framework.contract.Contract
account, accountBalance, decodeMessageBoc, prepareCall, tvmPubkey
-
Constructor Details
-
TIP3TokenRoot
public TIP3TokenRoot(Sdk sdk, String address) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
TIP3TokenRoot
-
TIP3TokenRoot
public TIP3TokenRoot(Sdk sdk, String address, Credentials credentials) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
TIP3TokenRoot
Creates an instance of aTIP3TokenRootrecord class.- Parameters:
sdk- the value for thesdkrecord componentaddress- the value for theaddressrecord componentabi- the value for theabirecord componentcredentials- the value for thecredentialsrecord component
-
-
Method Details
-
DEFAULT_ABI
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
supportsInterface
public FunctionHandle<TIP3TokenRoot.ResultOfSupportsInterface> supportsInterface(Integer interfaceID) -
disableMint
-
mintDisabled
-
burnTokens
public FunctionHandle<Void> burnTokens(BigInteger amount, Address walletOwner, Address remainingGasTo, Address callbackTo, TvmCell payload) -
disableBurnByRoot
-
burnByRootDisabled
-
burnPaused
-
setBurnPaused
-
transferOwnership
-
name
-
symbol
-
decimals
-
totalSupply
-
walletCode
-
rootOwner
-
walletOf
-
deployWallet
public FunctionHandle<TIP3TokenRoot.ResultOfDeployWallet> deployWallet(Address walletOwner, BigInteger deployWalletValue) -
mint
public FunctionHandle<Void> mint(BigInteger amount, Address recipient, BigInteger deployWalletValue, Address remainingGasTo, Boolean notify, TvmCell payload) -
acceptBurn
public FunctionHandle<Void> acceptBurn(BigInteger amount, Address walletOwner, Address remainingGasTo, Address callbackTo, 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 thesdkrecord component. -
address
Returns the value of theaddressrecord component. -
abi
Returns the value of theabirecord component. -
credentials
Returns the value of thecredentialsrecord component.- Specified by:
credentialsin interfaceContract- Returns:
- the value of the
credentialsrecord component
-