public class StakingLedger extends Struct
The ledger of a (bonded) stash
| Constructor and Description |
|---|
StakingLedger(java.lang.Object value) |
| Modifier and Type | Method and Description |
|---|---|
Balance |
getActive()
The total amount of the stash’s balance that will be at stake in any forthcoming rounds
|
AccountId |
getStash()
The stash account whose balance is actually locked and at stake
|
Balance |
getTotal()
The total amount of the stash’s balance that we are currently accounting for.
|
Vector<UnlockChunk> |
getUnlocking()
Any balance that is becoming free, which may eventually be transferred out of the stash (assuming it doesn’t get slashed first)
|
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, withclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizefinalize, getClass, notify, notifyAll, wait, wait, waitgetConstructorCodec, toU8apublic Balance getActive()
The total amount of the stash’s balance that will be at stake in any forthcoming rounds
public AccountId getStash()
The stash account whose balance is actually locked and at stake
public Balance getTotal()
The total amount of the stash’s balance that we are currently accounting for. It’s just active plus all the unlocking balances
public Vector<UnlockChunk> getUnlocking()
Any balance that is becoming free, which may eventually be transferred out of the stash (assuming it doesn’t get slashed first)