Module java4ever.framework
Record Class SafeMultisigWallet2Template
java.lang.Object
java.lang.Record
tech.deplant.java4ever.framework.template.SafeMultisigWallet2Template
- All Implemented Interfaces:
Template
public record SafeMultisigWallet2Template(ContractAbi abi, Tvc tvc)
extends Record
implements Template
Java template class for deploy of SafeMultisigWallet2 contract for Everscale blockchain.
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSafeMultisigWallet2Template(ContractAbi abi, Tvc tvc) Creates an instance of aSafeMultisigWallet2Templaterecord class. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.static ContractAbistatic Tvcfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.prepareDeploy(Sdk sdk, Credentials credentials, BigInteger[] owners, Integer reqConfirms, Long lifetime) final StringtoString()Returns a string representation of this record class.tvc()Returns the value of thetvcrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface tech.deplant.java4ever.framework.template.Template
addressFromEncodedTvc, decodeInitialData, decodeInitialPubkey, isDeployed
-
Constructor Details
-
SafeMultisigWallet2Template
public SafeMultisigWallet2Template(Tvc tvc) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
SafeMultisigWallet2Template
public SafeMultisigWallet2Template() throws com.fasterxml.jackson.core.JsonProcessingException- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
SafeMultisigWallet2Template
Creates an instance of aSafeMultisigWallet2Templaterecord class.- Parameters:
abi- the value for theabirecord componenttvc- the value for thetvcrecord component
-
-
Method Details
-
DEFAULT_ABI
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
DEFAULT_TVC
-
prepareDeploy
public DeployHandle<SafeMultisigWallet2> prepareDeploy(Sdk sdk, Credentials credentials, BigInteger[] owners, Integer reqConfirms, Long lifetime) -
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). -
abi
Returns the value of theabirecord component. -
tvc
Returns the value of thetvcrecord component.
-