Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Abi.ParamsOfDecodeInitialData
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Abi.ParamsOfDecodeInitialData
- Record Components:
abi- Initial data is decoded if this parameter is provided Contract ABI.data- Data BOC or BOC handleallowPartial- Flag allowing partial BOC decoding when ABI doesn't describe the full body BOC. Controls decoder behaviour when after decoding all described in ABI params there are some data left in BOC: `true` - return decoded values `false` - return error of incomplete BOC deserialization (default)
- Enclosing class:
Abi
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfDecodeInitialData(Abi.ABI abi, String data, Boolean allowPartial) Creates an instance of aParamsOfDecodeInitialDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionabi()Returns the value of theabirecord component.Returns the value of theallowPartialrecord component.data()Returns the value of thedatarecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfDecodeInitialData
Creates an instance of aParamsOfDecodeInitialDatarecord class.- Parameters:
abi- the value for theabirecord componentdata- the value for thedatarecord componentallowPartial- the value for theallowPartialrecord 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). -
abi
-
data
-
allowPartial
Returns the value of theallowPartialrecord component.- Returns:
- the value of the
allowPartialrecord component
-