18 lines
440 B
Solidity
18 lines
440 B
Solidity
// SPDX-License-Identifier: MIT
|
|
|
|
pragma solidity ^0.8.26;
|
|
|
|
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");
|
|
_;
|
|
}
|
|
} |