Record Class Abi.ParamsOfEncodeInternalMessage

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfEncodeInternalMessage
Record Components:
abi - Contract ABI. Can be None if both deploy_set and call_set are None.
address - Target address the message will be sent to. Must be specified in case of non-deploy message.
srcAddress - Source address of the message.
deploySet - Deploy parameters. Must be specified in case of deploy message.
callSet - Function call parameters. Must be specified in case of non-deploy message.

In case of deploy message it is optional and contains parametersof the functions that will to be called upon deploy transaction.

value - Value in nanotokens to be sent with message.
bounce - Flag of bounceable message. Default is true.
enableIhr - Enable Instant Hypercube Routing for the message. Default is false.
Enclosing class:
Abi

public static record Abi.ParamsOfEncodeInternalMessage(Abi.ABI abi, String address, String srcAddress, Abi.DeploySet deploySet, Abi.CallSet callSet, String value, Boolean bounce, Boolean enableIhr) extends Record
  • Constructor Details

    • ParamsOfEncodeInternalMessage

      public ParamsOfEncodeInternalMessage(Abi.ABI abi, String address, String srcAddress, Abi.DeploySet deploySet, Abi.CallSet callSet, String value, Boolean bounce, Boolean enableIhr)
      Creates an instance of a ParamsOfEncodeInternalMessage record class.
      Parameters:
      abi - the value for the abi record component
      address - the value for the address record component
      srcAddress - the value for the srcAddress record component
      deploySet - the value for the deploySet record component
      callSet - the value for the callSet record component
      value - the value for the value record component
      bounce - the value for the bounce record component
      enableIhr - the value for the enableIhr 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
    • address

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

      public String srcAddress()
      Returns the value of the srcAddress record component.
      Returns:
      the value of the srcAddress record component
    • deploySet

      public Abi.DeploySet deploySet()
      Returns the value of the deploySet record component.
      Returns:
      the value of the deploySet record component
    • callSet

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

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

      public Boolean bounce()
      Returns the value of the bounce record component.
      Returns:
      the value of the bounce record component
    • enableIhr

      public Boolean enableIhr()
      Returns the value of the enableIhr record component.
      Returns:
      the value of the enableIhr record component