Skip to content

Commit

Permalink
Change inheritance order (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
karim-en authored May 30, 2024
1 parent 8852856 commit e6f987b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions erc20-bridge-token/contracts/BridgeTokenFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import "./ResultsDecoder.sol";
import "./SelectivePausableUpgradable.sol";

contract BridgeTokenFactory is
ProofConsumer,
UUPSUpgradeable,
AccessControlUpgradeable,
SelectivePausableUpgradable,
ProofConsumer
SelectivePausableUpgradable
{
using Borsh for Borsh.Data;
using SafeERC20 for IERC20;
Expand Down Expand Up @@ -190,6 +190,7 @@ contract BridgeTokenFactory is
function pauseWithdraw() external onlyRole(PAUSABLE_ADMIN_ROLE) {
_pause(pausedFlags() | PAUSED_WITHDRAW);
}

function pauseAll() external onlyRole(PAUSABLE_ADMIN_ROLE) {
uint flags = PAUSED_DEPOSIT | PAUSED_WITHDRAW;
_pause(flags);
Expand Down

0 comments on commit e6f987b

Please sign in to comment.