123456789101112131415161718192021222324252627282930313233343536 |
- // SPDX-License-Identifier: MIT
- // OpenZeppelin Contracts v4.4.1 (governance/extensions/GovernorProposalThreshold.sol)
- pragma solidity ^0.8.0;
- import "../GovernorUpgradeable.sol";
- import "../../proxy/utils/Initializable.sol";
- /**
- * @dev Extension of {Governor} for proposal restriction to token holders with a minimum balance.
- *
- * _Available since v4.3._
- * _Deprecated since v4.4._
- */
- abstract contract GovernorProposalThresholdUpgradeable is Initializable, GovernorUpgradeable {
- function __GovernorProposalThreshold_init() internal onlyInitializing {
- }
- function __GovernorProposalThreshold_init_unchained() internal onlyInitializing {
- }
- function propose(
- address[] memory targets,
- uint256[] memory values,
- bytes[] memory calldatas,
- string memory description
- ) public virtual override returns (uint256) {
- return super.propose(targets, values, calldatas, description);
- }
- /**
- * @dev This empty reserved space is put in place to allow future versions to add new
- * variables without shifting down storage in the inheritance chain.
- * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
- */
- uint256[50] private __gap;
- }
|