Record Class Tvm.ExecutionOptions

java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Tvm.ExecutionOptions
Record Components:
blockchainConfig - boc with config
blockTime - time that is used as transaction time
blockLt - block logical time
transactionLt - transaction logical time
chksigAlwaysSucceed - Overrides standard TVM behaviour. If set to `true` then CHKSIG always will return `true`.
Enclosing class:
Tvm

public static record Tvm.ExecutionOptions(String blockchainConfig, Integer blockTime, Long blockLt, Long transactionLt, Boolean chksigAlwaysSucceed) extends Record
  • Constructor Details

    • ExecutionOptions

      public ExecutionOptions(String blockchainConfig, Integer blockTime, Long blockLt, Long transactionLt, Boolean chksigAlwaysSucceed)
      Creates an instance of a ExecutionOptions record class.
      Parameters:
      blockchainConfig - the value for the blockchainConfig record component
      blockTime - the value for the blockTime record component
      blockLt - the value for the blockLt record component
      transactionLt - the value for the transactionLt record component
      chksigAlwaysSucceed - the value for the chksigAlwaysSucceed 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.
    • blockchainConfig

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

      public Integer blockTime()
      Returns the value of the blockTime record component.
      Returns:
      the value of the blockTime record component
    • blockLt

      public Long blockLt()
      Returns the value of the blockLt record component.
      Returns:
      the value of the blockLt record component
    • transactionLt

      public Long transactionLt()
      Returns the value of the transactionLt record component.
      Returns:
      the value of the transactionLt record component
    • chksigAlwaysSucceed

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