GovernorProposalThreshold.sol 680 B

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