-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathResolution.sol
33 lines (30 loc) · 939 Bytes
/
Resolution.sol
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
// Neptune Mutual Protocol (https://neptunemutual.com)
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.0;
import "./Unstakable.sol";
import "../../../interfaces/IResolution.sol";
/**
*
* @title Resolution Contract
* @dev This contract enables governance agents or admins to resolve
* actively-reporting cover products. Once a resolution occurs, the
* NPM token holders who voted for the valid camp can unstake
* their stakes after resolution and before finalization
* with additional rewards.
*
*/
contract Resolution is IResolution, Unstakable {
constructor(IStore store) Recoverable(store) {} // solhint-disable-line
/**
* @dev Version number of this contract
*/
function version() external pure override returns (bytes32) {
return "v0.1";
}
/**
* @dev Name of this contract
*/
function getName() external pure override returns (bytes32) {
return ProtoUtilV1.CNAME_RESOLUTION;
}
}