subscan
Runtime Modules / Referenda
Spec Version:
Events
Name
Lookup
Attributes
Submitted4000["ReferendumIndex","TrackIdOf","BoundedCallOf"]
DecisionDepositPlaced4001["ReferendumIndex","AccountId","BalanceOf"]
DecisionDepositRefunded4002["ReferendumIndex","AccountId","BalanceOf"]
DepositSlashed4003["AccountId","BalanceOf"]
DecisionStarted4004["ReferendumIndex","TrackIdOf","BoundedCallOf","Tally"]
ConfirmStarted4005["ReferendumIndex"]
ConfirmAborted4006["ReferendumIndex"]
Confirmed4007["ReferendumIndex","Tally"]
Approved4008["ReferendumIndex"]
Rejected4009["ReferendumIndex","Tally"]
TimedOut400a["ReferendumIndex","Tally"]
Cancelled400b["ReferendumIndex","Tally"]
Killed400c["ReferendumIndex","Tally"]
SubmissionDepositRefunded400d["ReferendumIndex","AccountId","BalanceOf"]
MetadataSet400e["ReferendumIndex","Hash"]
MetadataCleared400f["ReferendumIndex","Hash"]
Storage Functions
Name
Type
ReferendumCount{"origin":"PlainType","plain_type":"U32","PlainTypeValue":4}
ReferendumInfoFor{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"pallet_referenda:types:ReferendumInfo","keys_id":4,"value_id":558}}
TrackQueue{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"Vec<Tuple:U32U128>","keys_id":57,"value_id":566}}
DecidingCount{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"U32","keys_id":57,"value_id":4}}
MetadataOf{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"H256","keys_id":4,"value_id":12}}
Constants
Name
Type
Value
SubmissionDepositU1280000a0dec5adc9353600000000000000
MaxQueuedU3264000000
UndecidingTimeoutU32a04e0200
AlarmIntervalU3201000000
TracksVec<Tuple:U16pallet_referenda:types:TrackInfo>18000010726f6f740500000000000042db999d3784a7010000000000201c0000c0890100201c0000201c000002ffc99a3b00000000ffc99a3b0000000000000000000000000000ca9a3b404b4c0080b2e60e01004877686974656c69737465645f63616c6c657264000000000000ed95c28f055a2a00000000000032000000c0890100320000009600000002ffc99a3b00000000ffc99a3b000000000000000000000000029dea000000000000e6af2d00000000001616ffffffffffff02003467656e6572616c5f61646d696e0a000000000040b2bac9e0191e020000000000002c010000c0890100201c0000201c000002ffc99a3b00000000ffc99a3b0000000000000000000000000290d73e0d000000005743de130000000054de10f6ffffffff0300507265666572656e64756d5f63616e63656c6c657214000000000000ed95c28f055a2a0000000000002c010000c0890100840300003200000002ffc99a3b00000000ffc99a3b000000000000000000000000027d440d0000000000888a8300000000008bd8f2ffffffffff0400447265666572656e64756d5f6b696c6c657264000000000000da2b851f0bb4540000000000002c010000c0890100840300003200000002ffc99a3b00000000ffc99a3b000000000000000000000000027d440d0000000000888a8300000000008bd8f2ffffffffff050048666173745f67656e6572616c5f61646d696e0a000000000040b2bac9e0191e020000000000002c010000c0890100840300003200000002ffc99a3b00000000ffc99a3b00000000000000000000000002167f58000000000073fcae0000000000c681a8ffffffffff
Error Types
Name
Docs
NotOngoingReferendum is not ongoing.
HasDepositReferendum's decision deposit is already paid.
BadTrackThe track identifier given was invalid.
FullThere are already a full complement of referenda in progress for this track.
QueueEmptyThe queue of the track is empty.
BadReferendumThe referendum index provided is invalid in this context.
NothingToDoThere was nothing to do in the advancement.
NoTrackNo track exists for the proposal origin.
UnfinishedAny deposit cannot be refunded until after the decision is over.
NoPermissionThe deposit refunder is not the depositor.
NoDepositThe deposit cannot be refunded since none was made.
BadStatusThe referendum status is invalid for this operation.
PreimageNotExistThe preimage does not exist.