Senate
This is a guide for Senators on how to perform senate actions. This guide is outdated as senators now have UI.
Propose motion
Spend from treasury
Visit Polkadot.js Apps
Go to Developer -> Extrinsics ->
senate->propose(...)threshold: 51% * number of senate members, round up. Examples:3 senate members - threshold = 2
4 senate members - threshold = 3
5 senate members - threshold = 3
proposal:llmtreasuryLlmTransferToPolitipool(...)(ortreasuryLlmTransferfor liquid LLM ortreasuryLldTransferfor LLD)toAccount: recipient of LLMamount: LLM in grains, so 1 LLM =1000000000000(12 zeros)
lengthBound:54
Cancel referendum
Visit Polkadot.js Apps
Developer -> Extrinsics ->
senate->propose(...)threshold: 51% * number of senate members, round upproposal:democracyemergencyCancelrefIndex: index of referendum to cancel
lengthBound:10
Cancel proposal
Visit Polkadot.js Apps
Developer -> Extrinsics ->
senate->propose(...)threshold: 51% * number of senate members, round upproposal:democracycancelProposalrefIndex: index of referendum to cancel
lengthBound:7
Voting on motions
Get hash of proposal
Visit Polkadot.js Apps
Developer -> Chain state ->
senate->proposals()Click
+buttonThe hash is the string that starts with
0x.
Check details
Visit Polkadot.js Apps
Developer -> Chain state ->
senate->proposalOf(h256)Put the hash from previous step.
Click
+buttonMake sure the section, method and args match what you expect.
Vote
Visit Polkadot.js Apps
Developer -> Extrinsics ->
senate->vote(...)proposal: hash from previous stepindex:0approve:yes
Execution
After at least threshold number of senators voted yes, anyone can execute the motion:
Visit Polkadot.js Apps
Developer -> Extrinsics ->
senate->close(...)proposalHash: hash from previous stepindex:0proposalWeightBoundrefTime:1307232proofSize:0
lengthBound: same as in Propose motion section
Last updated