Package org.polkadot.types.type
Class UnlockChunk
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,Codec>
-
- org.polkadot.types.codec.Struct
-
- org.polkadot.types.type.UnlockChunk
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,Codec>,Codec
public class UnlockChunk extends Struct
Just a Balance/BlockNumber tuple to encode when a chunk of funds will be unlocked- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnlockChunk(java.lang.Object value)
-
Method Summary
Modifier and Type Method Description BlockNumbergetEra()Era number at which point it'll be unlockedBalancegetValue()Amount of funds to be unlocked-
Methods inherited from class org.polkadot.types.codec.Struct
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Method Detail
-
getEra
public BlockNumber getEra()
Era number at which point it'll be unlocked
-
getValue
public Balance getValue()
Amount of funds to be unlocked
-
-