Skip to content

Implement ArkWatch Solvency Engine#1

Open
adamrobbie wants to merge 2 commits intojgmcalpine:mainfrom
adamrobbie:feature/solvency-engine
Open

Implement ArkWatch Solvency Engine#1
adamrobbie wants to merge 2 commits intojgmcalpine:mainfrom
adamrobbie:feature/solvency-engine

Conversation

@adamrobbie
Copy link

Overview

Implemented the ArkWatch Solvency Engine to provide real-time auditing of ASP health by tracking TVL and detecting Unilateral Exits.

Features

  • Round-Linked Exit Detection: Identifies transactions spending from previous ArkRound anchors without their own ARK marker.
  • TVL Tracking: Real-time monitoring of ASP pool balances via Bitcoin Core RPC.
  • Scoring Integration: Penalizes ASPs for high exit volume relative to TVL.

Verification

Verified via local Docker setup:

  • Correctly identified 25 BTC exit events in logs and database.
  • Metrics accurately reflected in /stats endpoint.
  • Grade correctly assigned (e.g., 'F' for heavy exit activity).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments