📔
Liberland Wiki
  • 📖Public Documents
  • 👍Primers
    • 🙋‍♀️Congress
    • 💂Executive
    • 👨‍⚖️Judiciary
    • 🤴Senate
  • 🚦Regulations
    • ✍️Drafts
      • 👮Internal Regulation of the Security Commission on the Structural and Functional Organization of the
    • 👩‍⚖️In Force
      • 🏰Orders
        • 👨Order of the President of Liberland no. 1/2021, on the Decisions of the Cabinet.
        • 👩Order of the President of Liberland no. 2/2021, on the Interim Legislature
  • ✅Policies
    • 🧑‍⚖️In Force
      • ⚖️Justice
        • 🔏Privacy policy
  • 👨‍💻Blockchain
    • 💫White Paper
    • 👨Tokenomics Primer
    • 💫Roadmap
    • 👨API
      • ⌨️Chain Explorer API
      • For CEXes
    • 🌐Ecosystem
      • 🌉How to Bridge to Ethereum
      • 🌉How to Bridge to Solana
      • How to Bridge to TRON
      • 🔁Liberland Exchange
      • How to Acquire LLD
      • How to Use Polkadot.js
      • How to use SubWallet
      • How to use Talisman
      • Known Issues
    • 🪪For Citizens and E-Residents
      • 🗳️Voting
      • Senate
      • Onboarding
      • Claiming Residency
      • Congress
      • Governance
      • Companies
    • 🖥️For Validators, Nominators & Stakers
      • Run a validator
      • Non-technical run a validator
      • Staking
      • ETH Liquidity Staking
      • SOL Liquidity Staking
      • Update node
      • Resync node
    • For Developers & Testers
      • Build, run & test using source code
      • Run in Docker
      • Manual testing guide
      • Runtime upgrade
      • Rust API docs
      • Bootstrapping new testnet
      • Chain Crash Recovery Procedure
  • Media
    • Press Kit
Powered by GitBook
On this page
  • Propose motion
  • Spend from treasury
  • Cancel referendum
  • Cancel proposal
  • Voting on motions
  • Get hash of proposal
  • Check details
  • Vote
  • Execution
  1. Blockchain
  2. For Citizens and E-Residents

Senate

PreviousVotingNextOnboarding

Last updated 6 months ago

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

  1. Visit

  2. 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:

      • llm treasuryLlmTransferToPolitipool(...) (or treasuryLlmTransfer for liquid LLM or treasuryLldTransfer for LLD)

      • toAccount: recipient of LLM

      • amount: LLM in grains, so 1 LLM = 1000000000000 (12 zeros)

    • lengthBound: 54

Cancel referendum

  1. Developer -> Extrinsics -> senate -> propose(...)

    • threshold: 51% * number of senate members, round up

    • proposal:

      • democracy emergencyCancel

      • refIndex: index of referendum to cancel

    • lengthBound: 10

Cancel proposal

  1. Developer -> Extrinsics -> senate -> propose(...)

    • threshold: 51% * number of senate members, round up

    • proposal:

      • democracy cancelProposal

      • refIndex: index of referendum to cancel

    • lengthBound: 7

Voting on motions

Get hash of proposal

  1. Developer -> Chain state -> senate -> proposals()

  2. Click + button

  3. The hash is the string that starts with 0x.

Check details

  1. Developer -> Chain state -> senate -> proposalOf(h256)

    • Put the hash from previous step.

  2. Click + button

  3. Make sure the section, method and args match what you expect.

Vote

  1. Developer -> Extrinsics -> senate -> vote(...)

    • proposal: hash from previous step

    • index: 0

    • approve: yes

Execution

After at least threshold number of senators voted yes, anyone can execute the motion:

  1. Developer -> Extrinsics -> senate -> close(...)

    • proposalHash: hash from previous step

    • index: 0

    • proposalWeightBound

      • refTime: 1307232

      • proofSize: 0

    • lengthBound: same as in Propose motion section

Visit

Visit

Visit

Visit

Visit

Visit

👨‍💻
🪪
Polkadot.js Apps
Polkadot.js Apps
Polkadot.js Apps
Polkadot.js Apps
Polkadot.js Apps
Polkadot.js Apps
Polkadot.js Apps