DMDcoin / diamond-ui

DMD v4 testnet UI for DMD Services
1 stars 3 forks source link

[DiamondUI]Abandoned Validator Handling #43

Open Kris-DMD opened 1 week ago

Kris-DMD commented 1 week ago

Overview If a validator node has not been part of the active validator set for the last 10 years, it is considered abandoned. The coins associated with this validator can be moved to the reinsert pot. Requirements Smart Contract Implementation Add a function to check if a validator has been inactive for 10 years. Implement logic to transfer the coins of abandoned validators to a "reinsert pot." Restrict the withdrawal of these coins so that they can only be transferred to the reinsert pot. Add necessary events to log these actions for transparency and auditing. UI Integration Display a list of validators who are marked as abandoned? Provide a UI component to trigger the transfer of coins from an abandoned validator to the reinsert pot. Ensure that users can see the history and details of these transactions for accountability?