Record Class Abi.ParamsOfEncodeMessageBody

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfEncodeMessageBody
Record Components:
abi - Contract ABI.
callSet - Must be specified in non deploy message. In case of deploy message contains parameters of constructor. Function call parameters.
isInternal - True if internal message body must be encoded.
signer - Signing parameters.
processingTryIndex - Used in message processing with retries. Encoder uses the provided try index to calculate message expiration time. Expiration timeouts will grow with every retry. Default value is 0. Processing try index.
address - Since ABI version 2.3 destination address of external inbound message is used in message body signature calculation. Should be provided when signed external inbound message body is created. Otherwise can be omitted. Destination address of the message
signatureId - Signature ID to be used in data to sign preparing when CapSignatureWithId capability is enabled
Enclosing class:
Abi

public static record Abi.ParamsOfEncodeMessageBody(Abi.ABI abi, Abi.CallSet callSet, Boolean isInternal, Abi.Signer signer, Integer processingTryIndex, String address, Integer signatureId) extends Record
  • Constructor Details

    • ParamsOfEncodeMessageBody

      public ParamsOfEncodeMessageBody(Abi.ABI abi, Abi.CallSet callSet, Boolean isInternal, Abi.Signer signer, Integer processingTryIndex, String address, Integer signatureId)
      Creates an instance of a ParamsOfEncodeMessageBody record class.
      Parameters:
      abi - the value for the abi record component
      callSet - the value for the callSet record component
      isInternal - the value for the isInternal record component
      signer - the value for the signer record component
      processingTryIndex - the value for the processingTryIndex record component
      address - the value for the address record component
      signatureId - the value for the signatureId 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.
    • abi

      public Abi.ABI abi()
      Returns the value of the abi record component.
      Returns:
      the value of the abi record component
    • callSet

      public Abi.CallSet callSet()
      Returns the value of the callSet record component.
      Returns:
      the value of the callSet record component
    • isInternal

      public Boolean isInternal()
      Returns the value of the isInternal record component.
      Returns:
      the value of the isInternal record component
    • signer

      public Abi.Signer signer()
      Returns the value of the signer record component.
      Returns:
      the value of the signer record component
    • processingTryIndex

      public Integer processingTryIndex()
      Returns the value of the processingTryIndex record component.
      Returns:
      the value of the processingTryIndex record component
    • address

      public String address()
      Returns the value of the address record component.
      Returns:
      the value of the address record component
    • signatureId

      public Integer signatureId()
      Returns the value of the signatureId record component.
      Returns:
      the value of the signatureId record component