Module java4ever.binding
Package tech.deplant.java4ever.binding
Record Class Boc.ParamsOfEncodeStateInit
java.lang.Object
java.lang.Record
tech.deplant.java4ever.binding.Boc.ParamsOfEncodeStateInit
- Record Components:
code
- Contract code BOC encoded as base64 or BOC handledata
- Contract data BOC encoded as base64 or BOC handlelibrary
- Contract library BOC encoded as base64 or BOC handletick
- Specifies the contract ability to handle tick transactions `special.tick` field.tock
- Specifies the contract ability to handle tock transactions `special.tock` field.splitDepth
- Is present and non-zero only in instances of large smart contractsbocCache
- Cache type to put the result. The BOC itself returned if no cache type provided.
- Enclosing class:
Boc
-
Constructor Summary
ConstructorsConstructorDescriptionParamsOfEncodeStateInit
(String code, String data, String library, Boolean tick, Boolean tock, Long splitDepth, Boc.BocCacheType bocCache) Creates an instance of aParamsOfEncodeStateInit
record class. -
Method Summary
Modifier and TypeMethodDescriptionbocCache()
Returns the value of thebocCache
record component.code()
Returns the value of thecode
record component.data()
Returns the value of thedata
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.library()
Returns the value of thelibrary
record component.Returns the value of thesplitDepth
record component.tick()
Returns the value of thetick
record component.tock()
Returns the value of thetock
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ParamsOfEncodeStateInit
public ParamsOfEncodeStateInit(String code, String data, String library, Boolean tick, Boolean tock, Long splitDepth, Boc.BocCacheType bocCache) Creates an instance of aParamsOfEncodeStateInit
record class.- Parameters:
code
- the value for thecode
record componentdata
- the value for thedata
record componentlibrary
- the value for thelibrary
record componenttick
- the value for thetick
record componenttock
- the value for thetock
record componentsplitDepth
- the value for thesplitDepth
record componentbocCache
- the value for thebocCache
record 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)
. -
code
-
data
-
library
-
tick
-
tock
-
splitDepth
Returns the value of thesplitDepth
record component.- Returns:
- the value of the
splitDepth
record component
-
bocCache
-