StakingPoolV1
open class StakingPoolV1 : Disposable, AutoCloseable, StakingPoolV1Interface
A typed view of a 0x3::staking_pool::StakingPoolV1 embedded in a validator.
Functions
| Name | Summary |
|---|---|
| activationEpoch | open override fun activationEpoch(): ULong? The epoch at which this pool became active. None while pre-active; Some(epoch) once active or inactive. |
| close | @Synchronized open override fun close() |
| deactivationEpoch | open override fun deactivationEpoch(): ULong? The epoch at which this pool ceased to be active. None while pre-active or active; Some(epoch) once inactive. |
| destroy | open override fun destroy() |
| exchangeRatesId | open override fun exchangeRatesId(): ObjectId Object ID of the Table holding the exchange-rate history, keyed by epoch. |
| exchangeRatesSize | open override fun exchangeRatesSize(): ULong Number of exchange-rate history entries. The entries themselves are stored in dynamic fields and are not part of this struct's contents. |
| extraFieldsId | open override fun extraFieldsId(): ObjectId Object ID of the Bag holding fields added to this struct after its current on-chain layout was set. |
| id | open override fun id(): ObjectId |
| iotaBalance | open override fun iotaBalance(): ULong The total number of IOTA tokens in this pool, including the rewards and the principal of every StakedIota, in nanos; updated at epoch boundaries. |
| pendingPoolTokenWithdraw | open override fun pendingPoolTokenWithdraw(): ULong Pending pool tokens withdrawn during the current epoch, emptied at epoch boundaries. |
| pendingStake | open override fun pendingStake(): ULong Pending stake amount for this epoch, emptied at epoch boundaries. |
| pendingTotalIotaWithdraw | open override fun pendingTotalIotaWithdraw(): ULong Pending stake withdrawn during the current epoch, including both principal and rewards; emptied at epoch boundaries. |
| poolTokenBalance | open override fun poolTokenBalance(): ULong Total number of pool tokens issued by the pool. |
| rewardsPool | open override fun rewardsPool(): ULong Epoch stake rewards accumulated in the pool, in nanos. |
| toString | open override fun toString(): String |