Skip to content
New issue

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

chore: remove Pausable #552

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions contracts/goodDollar/GoodDollarExpansionController.sol
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@ import { IERC20 } from "openzeppelin-contracts-next/contracts/token/ERC20/IERC20
import { IGoodDollar } from "contracts/goodDollar/interfaces/IGoodProtocol.sol";
import { IDistributionHelper } from "contracts/goodDollar/interfaces/IGoodProtocol.sol";

import { PausableUpgradeable } from "openzeppelin-contracts-upgradeable/contracts/security/PausableUpgradeable.sol";
import { OwnableUpgradeable } from "openzeppelin-contracts-upgradeable/contracts/access/OwnableUpgradeable.sol";
import { unwrap, wrap, powu } from "prb/math/UD60x18.sol";

/**
* @title GoodDollarExpansionController
* @notice Provides functionality to expand the supply of GoodDollars.
*/
contract GoodDollarExpansionController is IGoodDollarExpansionController, PausableUpgradeable, OwnableUpgradeable {
contract GoodDollarExpansionController is IGoodDollarExpansionController, OwnableUpgradeable {
/* ========================================================= */
/* ==================== State Variables ==================== */
/* ========================================================= */
Expand Down Expand Up @@ -63,7 +62,6 @@ contract GoodDollarExpansionController is IGoodDollarExpansionController, Pausab
address _reserve,
address _avatar
) public initializer {
__Pausable_init();
__Ownable_init();

setGoodDollarExchangeProvider(_goodDollarExchangeProvider);
Expand Down
Loading