Module java4ever.framework
Record Class TIP4NftTemplate
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.template.TIP4NftTemplate
- All Implemented Interfaces:
Template
Java template class for deploy of TIP4NftContract contract for Everscale blockchain.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTIP4NftTemplate
(ContractAbi abi, Tvc tvc) Creates an instance of aTIP4NftTemplate
record class.TIP4NftTemplate
(Tvc tvc) -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.static ContractAbi
static Tvc
final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.prepareDeploy
(int contextId, int workchainId, Credentials credentials, BigInteger _id, Address owner, Address sendGasTo, BigInteger remainOnNft, String json, BigInteger indexDeployValue, BigInteger indexDestroyValue, TvmCell codeIndex) final String
toString()
Returns a string representation of this record class.tvc()
Returns the value of thetvc
record component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface tech.deplant.java4ever.framework.template.Template
addressFromEncodedTvc, decodeInitialData, decodeInitialPubkey, isDeployed
-
Constructor Details
-
TIP4NftTemplate
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
TIP4NftTemplate
public TIP4NftTemplate() throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
TIP4NftTemplate
Creates an instance of aTIP4NftTemplate
record class.- Parameters:
abi
- the value for theabi
record componenttvc
- the value for thetvc
record component
-
-
Method Details
-
DEFAULT_ABI
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
DEFAULT_TVC
-
prepareDeploy
public DeployHandle<TIP4NftContract> prepareDeploy(int contextId, int workchainId, Credentials credentials, BigInteger _id, Address owner, Address sendGasTo, BigInteger remainOnNft, String json, BigInteger indexDeployValue, BigInteger indexDestroyValue, TvmCell codeIndex) -
toString
-
hashCode
-
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)
. -
abi
Returns the value of theabi
record component. -
tvc
-