subscan
Runtime Modules / Referenda
Spec Version:
Events
Name
Lookup
Attributes
Submitted2d00["ReferendumIndex","TrackIdOf","BoundedCallOf"]
DecisionDepositPlaced2d01["ReferendumIndex","AccountId","BalanceOf"]
DecisionDepositRefunded2d02["ReferendumIndex","AccountId","BalanceOf"]
DepositSlashed2d03["AccountId","BalanceOf"]
DecisionStarted2d04["ReferendumIndex","TrackIdOf","BoundedCallOf","Tally"]
ConfirmStarted2d05["ReferendumIndex"]
ConfirmAborted2d06["ReferendumIndex"]
Confirmed2d07["ReferendumIndex","Tally"]
Approved2d08["ReferendumIndex"]
Rejected2d09["ReferendumIndex","Tally"]
TimedOut2d0a["ReferendumIndex","Tally"]
Cancelled2d0b["ReferendumIndex","Tally"]
Killed2d0c["ReferendumIndex","Tally"]
SubmissionDepositRefunded2d0d["ReferendumIndex","AccountId","BalanceOf"]
MetadataSet2d0e["ReferendumIndex","PreimageHash"]
MetadataCleared2d0f["ReferendumIndex","PreimageHash"]
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":424}}
TrackQueue{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"Vec<Tuple:U32U128>","keys_id":40,"value_id":432}}
DecidingCount{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"U32","keys_id":40,"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
SubmissionDepositU12800002059dd64f00c0f01000000000000
MaxQueuedU3264000000
UndecidingTimeoutU32c0890100
AlarmIntervalU3201000000
TracksVec<Tuple:U16pallet_referenda:types:TrackInfo>1c000010726f6f740500000000002059dd64f00c0f0100000000000040380000c089010060540000201c000002ffc99a3b000000006475693c0000000061e8cb00000000000000ca9a3b404b4c0080b2e60e01004877686974656c69737465645f63616c6c65726400000000002059dd64f00c0f0100000000000032000000c0890100320000009600000002ffc99a3b000000006475693c0000000061e8cb00000000000274d901000000000014ea5b00000000006229feffffffffff02003467656e6572616c5f61646d696e0a00000000002059dd64f00c0f0100000000000040380000c089010060540000201c000002ffc99a3b000000006475693c0000000061e8cb00000000000000ca9a3b404b4c0080b2e60e0300507265666572656e64756d5f63616e63656c6c65721400000000002059dd64f00c0f010000000000002c010000c0890100840300003200000002ffc99a3b000000006475693c0000000061e8cb00000000000258551d0000000000d5e61f0100000000b835e3ffffffffff0400447265666572656e64756d5f6b696c6c65726400000000002059dd64f00c0f010000000000002c010000c0890100840300003200000002ffc99a3b000000006475693c0000000061e8cb00000000000258551d0000000000d5e61f0100000000b835e3ffffffffff0500386d656469756d5f7370656e6465723200000000002059dd64f00c0f01000000000000b0040000c0890100201c0000201c0000006e0cd52e0065cd1d00ca9a3b021161db0000000000bfd1aa010000000020972affffffffff06002c6269675f7370656e6465723200000000002059dd64f00c0f01000000000000b0040000c089010040380000201c00000000ca9a3b0065cd1d00ca9a3b02413cb00100000000755d34030000000045d165feffffffff
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.