Skip to content

Releases: linear-protocol/validator-voting-contract

Validator Voting Contract v0.2.0

04 Aug 01:44
94356ba

Choose a tag to compare

The v0.2.0 voting contract comes with below update:

  1. Tracks both YES and NO votes in the contract.
  2. No more votes are allowed after deadline passes;
  3. No voting result until deadline is reached. The voting result will be concluded in the first ping() after deadline;
  4. The proposal will pass if both conditions are satisfied:
    1. Total voted stake > 1/3 of total validator stake
    2. Stake voted with YES > 2/3 of total voted stake

What's Changed

Full Changelog: v0.1.0...v0.2.0

Validator Voting Contract v0.1.0

24 Jun 07:54
a42e490

Choose a tag to compare

The purpose of this contract is for validators to vote on any specific proposal. Validators can call vote function to vote for yes or no with the staked amount on the validator. If there are more than 2/3 of the stake at any given moment voting for yes, the voting is done. After the voting is finished or the voting deadline has passed, no one can further modify the contract.

What's Changed

Full Changelog: https://github.com/linear-protocol/validator-voting-contract/commits/v0.1.0