Skip to content

Conversation

@frrist
Copy link
Member

@frrist frrist commented Oct 25, 2025

To Run:
./forgectl payments monitor --db-url='postgres://localhost:5432/postgres' --payer=0x8d3d7cE4F43607C9d0ac01f695c7A9caC135f9AD

Current Schema Design:
monitor

One example query we can use to monitor out locked funds, see how much longer its to remained locked, and trigger alerts from when they run low.

See locked balance alongside operator allowances:

payer total_funds locked_balance available_balance operator_approved lockup_allowance lockup_used lockup_remaining last_updated
0x8d3d7cE4F43607C9d0ac01f695c7A9caC135f9AD 10.00000000101 0.016346519176446734 9.9836534818335533 true 0.3000000000000096 0.0137372374706112 0.2862627625293984 2025-10-25 02:04:22.170967 +00:00

- goal is to provide a database serving as the backend for a dashboard
@frrist frrist self-assigned this Oct 25, 2025
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.

2 participants