kmpworker
Toggle table of contents
0.1.0-beta04
common
Platform filter
common
Switch theme
Search in API
kmpworker
core
/
io.neuralheads.kmpworker.core
/
ChainProgress
Chain
Progress
data
class
ChainProgress
(
val
chainId
:
String
,
val
stepsJson
:
String
,
val
currentStep
:
Int
,
val
totalSteps
:
Int
,
val
status
:
String
,
val
updatedAt
:
Long
)
Snapshot of a chain's current state.
Members
Members & Extensions
Constructors
Chain
Progress
Link copied to clipboard
constructor
(
chainId
:
String
,
stepsJson
:
String
,
currentStep
:
Int
,
totalSteps
:
Int
,
status
:
String
,
updatedAt
:
Long
)
Properties
chain
Id
Link copied to clipboard
val
chainId
:
String
current
Step
Link copied to clipboard
val
currentStep
:
Int
status
Link copied to clipboard
val
status
:
String
steps
Json
Link copied to clipboard
val
stepsJson
:
String
total
Steps
Link copied to clipboard
val
totalSteps
:
Int
updated
At
Link copied to clipboard
val
updatedAt
:
Long
Functions
decode
Step
Ids
Link copied to clipboard
fun
ChainProgress
.
decodeStepIds
(
)
:
List
<
String
>
Returns the step IDs decoded from a
ChainProgress.stepsJson
.