GovernorProposalThreshold.sol 593 B

12345678910111213141516171819202122
  1. // SPDX-License-Identifier: MIT
  2. pragma solidity ^0.8.0;
  3. import "../Governor.sol";
  4. /**
  5. * @dev Extension of {Governor} for proposal restriction to token holders with a minimum balance.
  6. *
  7. * _Available since v4.3._
  8. * _Deprecated since v4.4._
  9. */
  10. abstract contract GovernorProposalThreshold is Governor {
  11. function propose(
  12. address[] memory targets,
  13. uint256[] memory values,
  14. bytes[] memory calldatas,
  15. string memory description
  16. ) public virtual override returns (uint256) {
  17. return super.propose(targets, values, calldatas, description);
  18. }
  19. }