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, 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 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