java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.CallSet
- Record Components:
functionName- Function name that is being called. Or function id encoded as string in hex (starting with 0x).header- If an application omits some header parameters required by the contract's ABI, the library will set the default values for them. Function header.input- Function input parameters according to ABI.
- Enclosing class:
Abi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefunctionNamerecord component.final inthashCode()Returns a hash code value for this object.header()Returns the value of theheaderrecord component.input()Returns the value of theinputrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CallSet
Creates an instance of aCallSetrecord class.- Parameters:
functionName- the value for thefunctionNamerecord componentheader- the value for theheaderrecord componentinput- the value for theinputrecord component
-
-
Method Details
-
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. -
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. -
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). -
functionName
Returns the value of thefunctionNamerecord component.- Returns:
- the value of the
functionNamerecord component
-
header
Returns the value of theheaderrecord component.- Returns:
- the value of the
headerrecord component
-
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-