subscan
Runtime Modules / Referenda
Spec Version:
Events
Name
Lookup
Attributes
Submitted4c00["ReferendumIndex","TrackIdOf","BoundedCallOf"]
DecisionDepositPlaced4c01["ReferendumIndex","AccountId","BalanceOf"]
DecisionDepositRefunded4c02["ReferendumIndex","AccountId","BalanceOf"]
DepositSlashed4c03["AccountId","BalanceOf"]
DecisionStarted4c04["ReferendumIndex","TrackIdOf","BoundedCallOf","Tally"]
ConfirmStarted4c05["ReferendumIndex"]
ConfirmAborted4c06["ReferendumIndex"]
Confirmed4c07["ReferendumIndex","Tally"]
Approved4c08["ReferendumIndex"]
Rejected4c09["ReferendumIndex","Tally"]
TimedOut4c0a["ReferendumIndex","Tally"]
Cancelled4c0b["ReferendumIndex","Tally"]
Killed4c0c["ReferendumIndex","Tally"]
SubmissionDepositRefunded4c0d["ReferendumIndex","AccountId","BalanceOf"]
MetadataSet4c0e["ReferendumIndex","PreimageHash"]
MetadataCleared4c0f["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":629}}
TrackQueue{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"Vec<Tuple:U32U128>","keys_id":62,"value_id":637}}
DecidingCount{"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"U32","keys_id":62,"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
SubmissionDepositU128000082dfe40d47000000000000000000
MaxQueuedU3264000000
UndecidingTimeoutU3260540000
AlarmIntervalU3201000000
TracksVec<Tuple:U16pallet_referenda:types:TrackInfo>14000010726f6f74050000000000f444829163450000000000000000201c000040190100201c0000201c0000020a389c1c000000000946c32300000000fbc1eb0b000000000000ca9a3b404b4c000065cd1d01004877686974656c69737465645f63616c6c6572190000000000b2d3595bf006000000000000000032000000401901009600000032000000020a389c1c000000000946c32300000000fbc1eb0b0000000002a349010000000000e41c400000000000beb7feffffffffff02003467656e6572616c5f61646d696e0a000000000064a7b3b6e00d00000000000000002c01000040190100201c0000201c0000020a389c1c000000000946c32300000000fbc1eb0b000000000290d73e0d000000005743de130000000054de10f6ffffffff0300507265666572656e64756d5f63616e63656c6c65720a000000000064a7b3b6e00d00000000000000002c010000401901008403000032000000020a389c1c000000000946c32300000000fbc1eb0b0000000002d94f13000000000020bcbe000000000030edecffffffffff0400447265666572656e64756d5f6b696c6c657219000000000064a7b3b6e00d00000000000000002c010000401901008403000032000000020a389c1c000000000946c32300000000fbc1eb0b0000000002d94f13000000000020bcbe000000000030edecffffffffff
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.