# Gov2 Pallet Storage Items, Constants, Events ## Referenda ### Constants **included**: * SubmissionDeposit * Tracks Deposits + Period Lengths **not included**: * MaxQueued: maximum size of referenda queue for a single track * UndecidingTimeout: The number of blocks after submission that a referendum must begin being decided by. Once this passes, then anyone may cancel the referendum. * AlarmInterval: Quantization level for the referendum wakeup scheduler * Track Curve **TODO in followup** ### Storage Items **included**: * ReferendumCount * DecidingCount **not included**: * ReferendumStatus **TODO in followup** * TrackQueue: The sorted list of referenda ready to be decided but not yet being decided, ordered by conviction-weighted approvals ### Events **included**: **not included**: * Submitted * DecisionDepositPlaced * DecisionDepositRefunded * DepositSlashed * DecisionStarted * ConfirmStarted * ConfirmAborted * Confirmed * Approved * Rejected * TimedOut * Cancelled * Killed ## Conviction Voting ### Constants **included**: **not included**: * MaxTurnout * MaxVotes * VoteLockingPeriod ### Storage Items **included**: **not included**: * VotingFor: All voting for a particular voter in a particular voting class. * ClassLocksFor: The voting classes which have a non-zero lock requirement and the lock amounts which they require. ### Events **included**: **not included**: * Delegated: An account has delegated their vote to another account. * Undelegated: An account has cancelled a previous delegation operation. ## Preimage ### Constants **included**: **not included**: * MaxSize: Max size allowed for a preimage. * BaseDeposit: The base deposit for placing a preimage on chain. * ByteDeposit: The per-byte deposit for placing a preimage on chain. ### Storage Items **included**: **not included**: * StatusFor: the request status of a given hash * PreimageFor: preimages stored by this pallet ### Events **included**: **not included**: * Noted: A preimage has been noted. * Requested: A preimage has been requested. * Cleared: A preimage has been cleared. ## Whitelist ### Constants **included**: **not included**: ### Storage Items **included**: **not included**: ### Events **included**: **not included**: ## Governance Origins * need to clearly document each of these and their TrackInfo as well as permissions