Goal
Expose full slashing lifecycle (propose, dispute, execute, cancel) to all authorized roles β not just operator dispute.
Status
π΄ INCOMPLETE β Only operator dispute/cancel hooks exist; propose, execute, batch-execute, and executable-discovery surfaces are missing.
Must-Have Tasks
| # |
Task |
Type |
Contract Function |
Current State |
| 1.1 |
Add propose-slash action for service/blueprint owners |
Feature |
Slashing.proposeSlash() |
Not implemented |
| 1.2 |
Add execute-slash action (single) |
Feature |
Slashing.executeSlash() |
Not implemented |
| 1.3 |
Add execute-slash-batch action |
Feature |
Slashing.executeSlashBatch() |
Not implemented |
| 1.4 |
Add executable-slash discovery surface |
Feature |
Slashing.getExecutableSlashes() |
Not implemented |
| 1.5 |
Add cancel-slash admin action |
Feature |
Slashing.cancelSlash() |
Hook exists, no admin UI surface |
| 1.6 |
Add slash status timeline (proposed β disputed β executed/cancelled) |
Feature |
N/A |
Not implemented |
| 1.7 |
Add role-aware guardrails (prevent invalid actions by role/time/status) |
Feature |
N/A |
Not implemented |
Files
apps/tangle-cloud/src/pages/operators/manage/page.tsx β existing operator slash UI
libs/tangle-shared-ui/src/data/graphql/useSlashing.ts β existing hooks (dispute, cancel only)
../tnt-core/src/interfaces/ITangleSlashing.sol β contract interface
../tnt-core/src/core/Slashing.sol β contract implementation
Test Criteria
Nice-to-Have
- Slash proposal templates for common violation types
- Notification/alert when dispute window is closing
Goal
Expose full slashing lifecycle (propose, dispute, execute, cancel) to all authorized roles β not just operator dispute.
Status
π΄ INCOMPLETE β Only operator dispute/cancel hooks exist; propose, execute, batch-execute, and executable-discovery surfaces are missing.
Must-Have Tasks
Slashing.proposeSlash()Slashing.executeSlash()Slashing.executeSlashBatch()Slashing.getExecutableSlashes()Slashing.cancelSlash()Files
apps/tangle-cloud/src/pages/operators/manage/page.tsxβ existing operator slash UIlibs/tangle-shared-ui/src/data/graphql/useSlashing.tsβ existing hooks (dispute, cancel only)../tnt-core/src/interfaces/ITangleSlashing.solβ contract interface../tnt-core/src/core/Slashing.solβ contract implementationTest Criteria
Nice-to-Have