-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathMockValidationLibUser.sol
More file actions
37 lines (29 loc) · 1019 Bytes
/
MockValidationLibUser.sol
File metadata and controls
37 lines (29 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Neptune Mutual Protocol (https://neptunemutual.com)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "../../libraries/ValidationLibV1.sol";
contract MockValidationLibUser {
using ValidationLibV1 for IStore;
IStore public s;
constructor(IStore store) {
s = store;
}
function senderMustBePolicyManagerContract() external view {
s.senderMustBePolicyManagerContract();
}
function senderMustBeGovernanceContract() external view {
s.senderMustBeGovernanceContract();
}
function senderMustBeClaimsProcessorContract() external view {
s.senderMustBeClaimsProcessorContract();
}
function senderMustBeStrategyContract() external view {
s.senderMustBeStrategyContract();
}
function mustBeDisputed(bytes32 coverKey, bytes32 productKey) external view {
s.mustBeDisputed(coverKey, productKey);
}
function mustHaveNormalProductStatus(bytes32 coverKey, bytes32 productKey) external view {
s.mustHaveNormalProductStatus(coverKey, productKey);
}
}