We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
constant
Rather than using constant literal values, create a constant state variable and reference it throughout the contract.
Found in contracts/DiamondDao.sol Line: 169
createProposalFeeAllowedParams[4] = 50 ether;
Found in contracts/DiamondDao.sol Line: 460
requiredExceeding = totalStakedAmount * (50 * 100) / 10000;
Found in contracts/DiamondDao.sol Line: 462
requiredExceeding = totalStakedAmount * (33 * 100) / 10000;
The text was updated successfully, but these errors were encountered:
Fix DMDcoin#64: Replace literals with defined constant variables
ab1141d
MSalman6
Successfully merging a pull request may close this issue.
Rather than using constant literal values, create a constant state variable and reference it throughout the contract.
6 Found Instances
Found in contracts/DiamondDao.sol Line: 169
Found in contracts/DiamondDao.sol Line: 460
Found in contracts/DiamondDao.sol Line: 462
The text was updated successfully, but these errors were encountered: