Skip to main content

TimelockedStakedIota

open class TimelockedStakedIota : Disposable, AutoCloseable, TimelockedStakedIotaInterface

A typed view of an on-chain 0x3::timelocked_staking::TimelockedStakedIota object.

Functions

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
expirationTimestampMsopen override fun expirationTimestampMs(): ULong
Epoch timestamp (ms) of when the lock expires.
idopen override fun id(): ObjectId
The object's ID.
labelopen override fun label(): String?
stakedIotaopen override fun stakedIota(): StakedIota
The wrapped StakedIota carrying the staked principal.
toStringopen override fun toString(): String

Companion object functions

NameSummary
tryFromBcsfun tryFromBcs(bytes: ByteArray): TimelockedStakedIota
Decode from BCS bytes, without validating the on-chain type tag.
tryFromObjectfun tryFromObject(object: Object): TimelockedStakedIota
Decode from an on-chain object, validating its Move type tag.