2024-08-23 14:13:13 +03:00

18 lines
408 B
Solidity

pragma solidity ^0.5.4;
import "../../wallet/IWallet.sol";
contract Storage {
/**
* @notice Throws if the caller is not an authorised module.
*/
modifier onlyModule(address _wallet) {
// solhint-disable-next-line reason-string
require(IWallet(_wallet).authorised(msg.sender), "TS: must be an authorized module to call this method");
_;
}
}