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":560}}
TrackQueue{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"Vec<Tuple:U32U128>","keys_id":56,"value_id":568}}
DecidingCount{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"U32","keys_id":56,"value_id":4}}
MetadataOf{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"H256","keys_id":4,"value_id":13}}
Constants
Name
Type
Value
SubmissionDepositU1280000e8890423c78a0000000000000000
MaxQueuedU3264000000
UndecidingTimeoutU32409d0400
AlarmIntervalU3201000000
TracksVec<Tuple:U16pallet_referenda:types:TrackInfo>18000010726f6f7405000000000080f64ae1c7022d150000000000004038000080130300403800004038000002ffc99a3b00000000ffc99a3b0000000000000000000000000000ca9a3b404b4c0080b2e60e01004877686974656c69737465645f63616c6c657264000000000040b2bac9e0191e020000000000006400000080130300640000002c01000002ffc99a3b00000000ffc99a3b000000000000000000000000029dea000000000000e6af2d00000000001616ffffffffffff02003467656e6572616c5f61646d696e0a000000000050efe2d6e41a1b000000000000005802000080130300403800004038000002ffc99a3b00000000ffc99a3b0000000000000000000000000290d73e0d000000005743de130000000054de10f6ffffffff0300507265666572656e64756d5f63616e63656c6c657214000000000040b2bac9e0191e020000000000005802000080130300080700006400000002ffc99a3b00000000ffc99a3b000000000000000000000000027d440d0000000000888a8300000000008bd8f2ffffffffff0400447265666572656e64756d5f6b696c6c657264000000000080647593c1333c040000000000005802000080130300080700006400000002ffc99a3b00000000ffc99a3b000000000000000000000000027d440d0000000000888a8300000000008bd8f2ffffffffff050048666173745f67656e6572616c5f61646d696e0a000000000050efe2d6e41a1b000000000000005802000080130300080700006400000002ffc99a3b00000000ffc99a3b00000000000000000000000002167f58000000000073fcae0000000000c681a8ffffffffff
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.
PreimageStoredWithDifferentLengthThe preimage is stored with a different length than the one provided.