Skip to content

Latest commit

 

History

History
244 lines (216 loc) · 7.24 KB

Resolution.md

File metadata and controls

244 lines (216 loc) · 7.24 KB

Resolution Contract (Resolution.sol)

View Source: contracts/core/governance/resolution/Resolution.sol

↗ Extends: IResolution, Unstakable

Resolution

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.

Functions

function (IStore store) public nonpayable Recoverable 

Arguments

Name Type Description
store IStore
Source Code
constructor(IStore store) Recoverable(store) {}

version

Version number of this contract

function version() external pure
returns(bytes32)

Arguments

Name Type Description
Source Code
function version() external pure override returns (bytes32) {
    return "v0.1";
  }

getName

Name of this contract

function getName() external pure
returns(bytes32)

Arguments

Name Type Description
Source Code
function getName() external pure override returns (bytes32) {
    return ProtoUtilV1.CNAME_RESOLUTION;
  }

Contracts