java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Tvm.ExecutionOptions
- Record Components:
blockchainConfig- boc with configblockTime- time that is used as transaction timeblockLt- block logical timetransactionLt- transaction logical timechksigAlwaysSucceed- Overrides standard TVM behaviour. If set to `true` then CHKSIG always will return `true`.signatureId- Signature ID to be used in signature verifying instructions when CapSignatureWithId capability is enabled
- Enclosing class:
Tvm
public static record Tvm.ExecutionOptions(String blockchainConfig, Long blockTime, BigInteger blockLt, BigInteger transactionLt, Boolean chksigAlwaysSucceed, Long signatureId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionExecutionOptions(String blockchainConfig, Long blockTime, BigInteger blockLt, BigInteger transactionLt, Boolean chksigAlwaysSucceed, Long signatureId) Creates an instance of aExecutionOptionsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockchainConfigrecord component.blockLt()Returns the value of theblockLtrecord component.Returns the value of theblockTimerecord component.Returns the value of thechksigAlwaysSucceedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesignatureIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionLtrecord component.
-
Constructor Details
-
ExecutionOptions
public ExecutionOptions(String blockchainConfig, Long blockTime, BigInteger blockLt, BigInteger transactionLt, Boolean chksigAlwaysSucceed, Long signatureId) Creates an instance of aExecutionOptionsrecord class.- Parameters:
blockchainConfig- the value for theblockchainConfigrecord componentblockTime- the value for theblockTimerecord componentblockLt- the value for theblockLtrecord componenttransactionLt- the value for thetransactionLtrecord componentchksigAlwaysSucceed- the value for thechksigAlwaysSucceedrecord componentsignatureId- the value for thesignatureIdrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
blockchainConfig
Returns the value of theblockchainConfigrecord component.- Returns:
- the value of the
blockchainConfigrecord component
-
blockTime
-
blockLt
-
transactionLt
Returns the value of thetransactionLtrecord component.- Returns:
- the value of the
transactionLtrecord component
-
chksigAlwaysSucceed
Returns the value of thechksigAlwaysSucceedrecord component.- Returns:
- the value of the
chksigAlwaysSucceedrecord component
-
signatureId
Returns the value of thesignatureIdrecord component.- Returns:
- the value of the
signatureIdrecord component
-