From feedback with Bancor folks, one of the things they brought up was the ability to set a super majority for voting strategies.
Currently we only support a simple majority, but this change modifies LinearERC20Voting to have a parameter, basisNumerator, which designates the basis percentage to use when calculating whether a proposal passes.
Additionally while implementing this, I decided to add the ability to set a threshold for how many tokens are required to submit proposals.
Testing
I'll need to flesh out all of these tests to make ensure this works properly.. Opening this up for discussion.
Description
From feedback with Bancor folks, one of the things they brought up was the ability to set a super majority for voting strategies.
Currently we only support a simple majority, but this change modifies
LinearERC20Voting
to have a parameter,basisNumerator
, which designates the basis percentage to use when calculating whether a proposal passes.Additionally while implementing this, I decided to add the ability to set a threshold for how many tokens are required to submit proposals.
Testing
I'll need to flesh out all of these tests to make ensure this works properly.. Opening this up for discussion.