Veles - Carbon Credits Pallet
  • Get Started
    • What is the Veles pallet
    • What are carbon credits
    • How to use the Veles pallet
  • Pallet entities and functionalities
    • Entities
      • Authority Accounts
      • Carbon Footprint Accounts
      • Trader Accounts
      • Project Owner Accounts
      • Validator Accounts
      • Projects
      • Carbon Credit Batches
    • Functionalities
      • Authority exclusive functionalities
        • Update vote pass ratio
        • Update penalty levels
        • Update beneficiary splits
        • Update time value
        • Update fee value
      • Validator exclusive functionalities
        • Cast vote
        • Open complaint
      • Project owner exclusive functionalities
        • Propose project
        • Propose carbon credit batch
        • Repay debts
      • Carbon footprint account exclusive functionalities
      • General functionalities
        • Register for trader account
        • Register for project validator account
        • Register for project owner account
        • Submit carbon footprint report
        • Create sale order
        • Close sale order
        • Complete sale order
    • Timed events
    • Penalty rules
  • Contact
    • Contact
Powered by GitBook
On this page
  1. Pallet entities and functionalities
  2. Functionalities
  3. Authority exclusive functionalities

Update vote pass ratio

The vote pass ratio dictates how many 'for' over 'against' votes is needed in order for a proposal (e.g. project proposal) or for a complaint (e.g. complaint for a carbon credit batch) is needed to pass.

Current pass ratio value:

Initially this value is set to 2/3, which means that a vote will need around 66.67% 'for' votes in order to pass. If a authority account wishes to change this value he/she needs to call the update_vote_pass_ratio(new_proportion_part, new_upper_limit_part) functionality.

As the naming of the parameters would suggest, they represents the parts of the voting proportion. Additionally, if the new_upper_limit_part is set to 0 then the vote will pass when there is a 1 vote difference between the number of 'for' and 'against' votes. On the other hand, if the new_proportion_part is set to a value that is equal to or greater then the new_upper_limit_part the vote will pass only if every vote is a 'for' vote.

PreviousAuthority exclusive functionalitiesNextUpdate penalty levels

Last updated 10 months ago