Module java4ever.framework
Record Class EverWalletTemplate
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.template.EverWalletTemplate
-
Constructor Summary
ConstructorsConstructorDescriptionEverWalletTemplate(TvmCell code, ContractAbi abi) Creates an instance of aEverWalletTemplaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.code()Returns the value of thecoderecord component.static TvmCellCODE()static ContractAbifinal booleanIndicates whether some other object is "equal to" this one.getAddress(int contextId, int wid, String publicKey, BigInteger timestamp) getAddress(int contextId, int wid, TvmCell stateInit) getInitialData(int contextId, String publicKey, BigInteger timestamp) getMessageBody(int contextId, int wid, Credentials keys, BigInteger timestamp, Address to, BigInteger value) getStateInit(int contextId, String publicKey, BigInteger timestamp) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EverWalletTemplate
public EverWalletTemplate() throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
EverWalletTemplate
Creates an instance of aEverWalletTemplaterecord class.- Parameters:
code- the value for thecoderecord componentabi- the value for theabirecord component
-
-
Method Details
-
CODE
-
DEFAULT_ABI
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getInitialData
public TvmCell getInitialData(int contextId, String publicKey, BigInteger timestamp) throws tech.deplant.java4ever.binding.EverSdkException - Throws:
tech.deplant.java4ever.binding.EverSdkException
-
getStateInit
public TvmCell getStateInit(int contextId, String publicKey, BigInteger timestamp) throws tech.deplant.java4ever.binding.EverSdkException - Throws:
tech.deplant.java4ever.binding.EverSdkException
-
getAddress
-
getAddress
public Address getAddress(int contextId, int wid, String publicKey, BigInteger timestamp) throws tech.deplant.java4ever.binding.EverSdkException - Throws:
tech.deplant.java4ever.binding.EverSdkException
-
getMessageBody
public String getMessageBody(int contextId, int wid, Credentials keys, BigInteger timestamp, Address to, BigInteger value) throws tech.deplant.java4ever.binding.EverSdkException, com.fasterxml.jackson.core.JsonProcessingException - Throws:
tech.deplant.java4ever.binding.EverSdkExceptioncom.fasterxml.jackson.core.JsonProcessingException
-
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). -
code
Returns the value of thecoderecord component.- Returns:
- the value of the
coderecord component
-
abi
Returns the value of theabirecord component.- Returns:
- the value of the
abirecord component
-