mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 20:27:58 -05:00
* working hardhat compile * bump solhint version * bump hardhat version * remove 0.8.26 refs * remove solhint join discord cli message * update upgrades-core dependency * silence openzeppelin-upgrades error for test fixtures * fix floating version for integrationtesttrue * remove 0.8.26
17 lines
558 B
Solidity
17 lines
558 B
Solidity
// SPDX-License-Identifier: AGPL-3.0
|
|
pragma solidity 0.8.19;
|
|
|
|
import { PauseManager } from "../../../security/pausing/PauseManager.sol";
|
|
import { TestSetPauseTypeRoles } from "./TestSetPauseTypeRoles.sol";
|
|
|
|
contract TestPauseManager is PauseManager, TestSetPauseTypeRoles {
|
|
function initialize(
|
|
PauseTypeRole[] calldata _pauseTypeRoles,
|
|
PauseTypeRole[] calldata _unpauseTypeRoles
|
|
) public initializer {
|
|
__AccessControl_init();
|
|
_grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
|
|
__PauseManager_init(_pauseTypeRoles, _unpauseTypeRoles);
|
|
}
|
|
}
|