public class ReferendumInfo extends Struct
Info regarding an ongoing referendum
Modifier and Type | Class and Description |
---|---|
static class |
ReferendumInfo.ReferendumInfoValue |
Constructor and Description |
---|
ReferendumInfo(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
BlockNumber |
getDelay()
The delay (in blocks) to wait after a successful referendum before deploying
|
BlockNumber |
getEnd()
When voting on this referendum will end
|
Proposal |
getProposal()
The proposal being voted on
|
VoteThreshold |
getThreshold()
The thresholding mechanism to determine whether it passed
|
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
finalize, getClass, notify, notifyAll, wait, wait, wait
getConstructorCodec, toU8a
public BlockNumber getEnd()
When voting on this referendum will end
public Proposal getProposal()
The proposal being voted on
public VoteThreshold getThreshold()
The thresholding mechanism to determine whether it passed
public BlockNumber getDelay()
The delay (in blocks) to wait after a successful referendum before deploying