java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.FunctionHeader
- Record Components:
expire
- If not specified - calculated automatically from message_expiration_timeout(), try_index and message_expiration_timeout_grow_factor() (if ABI includes `expire` header). Message expiration timestamp (UNIX time) in seconds.time
- If not specified, `now` is used (if ABI includes `time` header). Message creation time in milliseconds.pubkey
- Encoded in `hex`. If not specified, method fails with exception (if ABI includes `pubkey` header).. Public key is used by the contract to check the signature.
- Enclosing class:
Abi
Includes several hidden function parameters that contract
uses for security, message delivery monitoring and replay protection reasons.
The actual set of header fields depends on the contract's ABI.
If a contract's ABI does not include some headers, then they are not filled. The ABI function header.
-
Constructor Summary
ConstructorsConstructorDescriptionFunctionHeader
(Long expire, BigInteger time, String pubkey) Creates an instance of aFunctionHeader
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.expire()
Returns the value of theexpire
record component.final int
hashCode()
Returns a hash code value for this object.pubkey()
Returns the value of thepubkey
record component.time()
Returns the value of thetime
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
FunctionHeader
-
-
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)
. -
expire
-
time
-
pubkey
-