mirror of
https://github.com/status-im/snt-voting.git
synced 2025-02-23 15:48:10 +00:00
Merge branch '000-snt-voting-dapp' of https://github.com/status-im/contracts into 000-snt-voting-dapp
This commit is contained in:
commit
da4306b5e1
@ -51,7 +51,7 @@ contract ProposalManager is Controlled {
|
||||
{
|
||||
trustNet = _trustNet;
|
||||
token = _token;
|
||||
|
||||
tabulationBlockDelay = 7 days;
|
||||
quorumPercentage = 50;
|
||||
|
||||
}
|
||||
@ -154,6 +154,13 @@ contract ProposalManager is Controlled {
|
||||
require(_percentage > 0 && _percentage <= 100);
|
||||
quorumPercentage = _percentage;
|
||||
}
|
||||
|
||||
function setTabulationBlockDelay(uint256 _tabulationBlockDelay)
|
||||
public
|
||||
onlyController
|
||||
{
|
||||
tabulationBlockDelay = _tabulationBlockDelay;
|
||||
}
|
||||
|
||||
function hasVotesRecorded(uint256 _proposalId)
|
||||
external
|
||||
|
Loading…
x
Reference in New Issue
Block a user