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 aEverWalletTemplate
record class. -
Method Summary
Modifier and TypeMethodDescriptionabi()
Returns the value of theabi
record component.code()
Returns the value of thecode
record component.static TvmCell
CODE()
static ContractAbi
final boolean
Indicates 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 int
hashCode()
Returns a hash code value for this object.final String
toString()
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 aEverWalletTemplate
record class.- Parameters:
code
- the value for thecode
record componentabi
- the value for theabi
record 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.EverSdkException
com.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 thecode
record component.- Returns:
- the value of the
code
record component
-
abi
Returns the value of theabi
record component.- Returns:
- the value of the
abi
record component
-