summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-01-28 12:16:55 +0800
committerJimmy Hu <jimmy.hu@dexon.org>2019-01-28 12:16:55 +0800
commitbd21d50bdfd42612f3a9a526080dd8af504d9fb0 (patch)
treee49aaff8ec75f5024bed3ca5eae6bbf018dd7d73
parent06ba5c65ccb0d0e095151eb4067c4e5a0d3aaf1b (diff)
downloaddexon-governance-abi-bd21d50bdfd42612f3a9a526080dd8af504d9fb0.tar
dexon-governance-abi-bd21d50bdfd42612f3a9a526080dd8af504d9fb0.tar.gz
dexon-governance-abi-bd21d50bdfd42612f3a9a526080dd8af504d9fb0.tar.bz2
dexon-governance-abi-bd21d50bdfd42612f3a9a526080dd8af504d9fb0.tar.lz
dexon-governance-abi-bd21d50bdfd42612f3a9a526080dd8af504d9fb0.tar.xz
dexon-governance-abi-bd21d50bdfd42612f3a9a526080dd8af504d9fb0.tar.zst
dexon-governance-abi-bd21d50bdfd42612f3a9a526080dd8af504d9fb0.zip
contracts: Modify Withdrawn event and add NodeRemoved event
-rw-r--r--contracts/Governance.sol3
1 files changed, 2 insertions, 1 deletions
diff --git a/contracts/Governance.sol b/contracts/Governance.sol
index 364c9cf..b4fd2c6 100644
--- a/contracts/Governance.sol
+++ b/contracts/Governance.sol
@@ -141,9 +141,10 @@ contract Governance {
event CRSProposed(uint256 indexed Round, bytes32 CRS);
event Staked(address indexed NodeAddress);
event Unstaked(address indexed NodeAddress);
+ event NodeRemoved(address indexed NodeAddress);
event Delegated(address indexed NodeAddress, address indexed DelegatorAddress, uint256 Amount);
event Undelegated(address indexed NodeAddress, address indexed DelegatorAddress, uint256 Amount);
- event Withdrawn(address indexed NodeAddress, uint256 Amount);
+ event Withdrawn(address indexed NodeAddress, address indexed DelegatorAddress, uint256 Amount);
event ForkReported(address indexed NodeAddress, uint256 Type, bytes Arg1, bytes Arg2);
event Fined(address indexed NodeAddress, uint256 Amount);
event FinePaid(address indexed NodeAddress, uint256 Amount);