Name | Lookup | Parameters | |
|---|---|---|---|
| submit | 2a00 | 3 | |
| place_decision_deposit | 2a01 | 1 | |
| refund_decision_deposit | 2a02 | 1 | |
| cancel | 2a03 | 1 | |
| kill | 2a04 | 1 | |
| nudge_referendum | 2a05 | 1 | |
| one_fewer_deciding | 2a06 | 1 | |
| refund_submission_deposit | 2a07 | 1 | |
| set_metadata | 2a08 | 2 |
Name | Lookup | Attributes | |
|---|---|---|---|
| Submitted | 2a00 | ["ReferendumIndex","TrackIdOf","BoundedCallOf"] | |
| DecisionDepositPlaced | 2a01 | ["ReferendumIndex","AccountId","BalanceOf"] | |
| DecisionDepositRefunded | 2a02 | ["ReferendumIndex","AccountId","BalanceOf"] | |
| DepositSlashed | 2a03 | ["AccountId","BalanceOf"] | |
| DecisionStarted | 2a04 | ["ReferendumIndex","TrackIdOf","BoundedCallOf","Tally"] | |
| ConfirmStarted | 2a05 | ["ReferendumIndex"] | |
| ConfirmAborted | 2a06 | ["ReferendumIndex"] | |
| Confirmed | 2a07 | ["ReferendumIndex","Tally"] | |
| Approved | 2a08 | ["ReferendumIndex"] | |
| Rejected | 2a09 | ["ReferendumIndex","Tally"] | |
| TimedOut | 2a0a | ["ReferendumIndex","Tally"] | |
| Cancelled | 2a0b | ["ReferendumIndex","Tally"] | |
| Killed | 2a0c | ["ReferendumIndex","Tally"] | |
| SubmissionDepositRefunded | 2a0d | ["ReferendumIndex","AccountId","BalanceOf"] | |
| MetadataSet | 2a0e | ["ReferendumIndex","Hash"] | |
| MetadataCleared | 2a0f | ["ReferendumIndex","Hash"] |
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@745","keys_id":4,"value_id":745}} | |
| TrackQueue | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"Vec<Tuple:U32U128>","keys_id":135,"value_id":753}} | |
| DecidingCount | {"origin":"Map","n_map_type":{"hashers":["Twox64Concat"],"key_vec":["U16"],"value":"U32","keys_id":135,"value_id":4}} | |
| MetadataOf | {"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["U32"],"value":"H256","keys_id":4,"value_id":13}} |
Name | Type | Value | |
|---|---|---|---|
| SubmissionDeposit | U128 | ffe0f505000000000000000000000000 | |
| MaxQueued | U32 | 64000000 | |
| UndecidingTimeout | U32 | 80130300 | |
| AlarmInterval | U32 | 01000000 | |
| Tracks | Vec<Tuple:U16pallet_referenda:types:TrackDetails> | 08000064726f6f740000000000000000000000000000000000000000000100000080daa111d3eb0500000000000000000050000000c800000078000000320000000290d73e0d000000005743de13000000005443de13000000000000ca9a3b00c2eb0b0065cd1d01006477686974656c69737465645f63616c6c6572000000000000006400000080daa111d3eb050000000000000000006400000080130300640000002c01000002ffc99a3b00000000ffc99a3b000000000000000000000000029dea000000000000e6af2d00000000001616ffffffffffff |
Name | Docs |
|---|---|
| NotOngoing | Referendum is not ongoing. |
| HasDeposit | Referendum's decision deposit is already paid. |
| BadTrack | The track identifier given was invalid. |
| Full | There are already a full complement of referenda in progress for this track. |
| QueueEmpty | The queue of the track is empty. |
| BadReferendum | The referendum index provided is invalid in this context. |
| NothingToDo | There was nothing to do in the advancement. |
| NoTrack | No track exists for the proposal origin. |
| Unfinished | Any deposit cannot be refunded until after the decision is over. |
| NoPermission | The deposit refunder is not the depositor. |
| NoDeposit | The deposit cannot be refunded since none was made. |
| BadStatus | The referendum status is invalid for this operation. |
| PreimageNotExist | The preimage does not exist. |
| PreimageStoredWithDifferentLength | The preimage is stored with a different length than the one provided. |