Record Class Abi.DeploySet

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.DeploySet
Record Components:
tvc - Content of TVC file encoded in `base64`.
workchainId - Target workchain for destination address. Default is `0`.
initialData - List of initial values for contract's public variables.
initialPubkey - Optional public key that can be provided in deploy set in order to substitute one in TVM file or provided by Signer. Public key resolving priority:1. Public key from deploy set.2. Public key, specified in TVM file.3. Public key, provided by Signer.
Enclosing class:
Abi

public static record Abi.DeploySet(String tvc, Number workchainId, Map<String,Object> initialData, String initialPubkey) extends Record
  • Constructor Details

    • DeploySet

      public DeploySet(String tvc, Number workchainId, Map<String,Object> initialData, String initialPubkey)
      Creates an instance of a DeploySet record class.
      Parameters:
      tvc - the value for the tvc record component
      workchainId - the value for the workchainId record component
      initialData - the value for the initialData record component
      initialPubkey - the value for the initialPubkey record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • tvc

      public String tvc()
      Returns the value of the tvc record component.
      Returns:
      the value of the tvc record component
    • workchainId

      public Number workchainId()
      Returns the value of the workchainId record component.
      Returns:
      the value of the workchainId record component
    • initialData

      public Map<String,Object> initialData()
      Returns the value of the initialData record component.
      Returns:
      the value of the initialData record component
    • initialPubkey

      public String initialPubkey()
      Returns the value of the initialPubkey record component.
      Returns:
      the value of the initialPubkey record component