Skip to content

Commit

Permalink
Rename constructor params so Slither doesn't nag about name shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
cygnusv committed Feb 16, 2022
1 parent 5e37154 commit 39bfb90
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions contracts/governance/BaseTokenholderGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@ contract BaseTokenholderGovernor is
T _token,
IVotesHistory _staking,
TimelockController _timelock,
address vetoer,
uint256 quorumNumerator,
uint256 proposalThresholdNumerator,
uint256 votingDelay,
uint256 votingPeriod
address _vetoer,
uint256 _quorumNumerator,
uint256 _proposalThresholdNumerator,
uint256 _votingDelay,
uint256 _votingPeriod
)
Governor("TokenholderGovernor")
GovernorParameters(
quorumNumerator,
proposalThresholdNumerator,
votingDelay,
votingPeriod
_quorumNumerator,
_proposalThresholdNumerator,
_votingDelay,
_votingPeriod
)
TokenholderGovernorVotes(_token, _staking)
GovernorTimelockControl(_timelock)
{
_setupRole(VETO_POWER, vetoer);
_setupRole(VETO_POWER, _vetoer);
_setupRole(DEFAULT_ADMIN_ROLE, address(_timelock));
}

Expand Down

0 comments on commit 39bfb90

Please sign in to comment.