diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-29 10:04:12 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-29 12:54:24 +0800 |
commit | e4d09bc2fd22b63e1b5f096f87a1dd7f915a2a00 (patch) | |
tree | b8b7c07ebfcd9560a21110b8f7cfbdc4ea819035 | |
parent | e5317550ae428f1f36a2bf677ddb74246c931ef1 (diff) | |
download | dexon-governance-abi-e4d09bc2fd22b63e1b5f096f87a1dd7f915a2a00.tar.gz dexon-governance-abi-e4d09bc2fd22b63e1b5f096f87a1dd7f915a2a00.tar.zst dexon-governance-abi-e4d09bc2fd22b63e1b5f096f87a1dd7f915a2a00.zip |
contracts: governance: add fail stop type
-rw-r--r-- | contracts/Governance.sol | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contracts/Governance.sol b/contracts/Governance.sol index 514864d..529b08b 100644 --- a/contracts/Governance.sol +++ b/contracts/Governance.sol @@ -17,6 +17,8 @@ contract Governance { // ReportType. enum ReportType { + FAIL_STOP, + FAIL_STOP_DKG, INVALID_DKG, FORK_VOTE, FORK_BLOCK @@ -153,7 +155,7 @@ contract Governance { event Withdrawn(address indexed NodeAddress, uint256 Amount); event NodeAdded(address indexed NodeAddress); event NodeRemoved(address indexed NodeAddress); - event ForkReported(address indexed NodeAddress, uint256 Type, bytes Arg1, bytes Arg2); + event Reported(address indexed NodeAddress, uint256 Type, bytes Arg1, bytes Arg2); event Fined(address indexed NodeAddress, uint256 Amount); event FinePaid(address indexed NodeAddress, uint256 Amount); event DKGReset(uint256 indexed Round, uint256 BlockHeight); |