Skip to content

feat: Index treasury events to reconcile agent trades with on-chain cap usage (#18) - #208

Open
ryder777777 wants to merge 1 commit into
OracleDesk:developfrom
ryder777777:feat/issue-18-index-treasury-events-to-reconcile
Open

ryder777777 wants to merge 1 commit into
OracleDesk:developfrom
ryder777777:feat/issue-18-index-treasury-events-to-reconcile

Conversation

@ryder777777

@ryder777777 ryder777777 commented Oct 20, 2026 •

Copy link
Copy Markdown

What this does

Implements src/services/index-treasury-events-to-reconcile.service.ts (evaluateIndexTreasuryEventsToReconcile) and node:test unit tests in tests/index-treasury-events-to-reconcile.test.ts for Index treasury events to reconcile agent trades with on-chain cap usage.

Closes #18

Checklist

  • npm run check:contracts, npm run build and npm test pass
  • Schema changes come with a new, forward-only migration (existing migrations untouched)
  • No secrets: no .env files, keys, seeds or tokens, in code, tests, fixtures or logs
  • Anything that can submit a transaction still defaults to dry-run

How this was tested

Verified with npm run build:test and node --test unit test assertions covering healthy, degraded, halted, and invalid input states.

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.

Index treasury events to reconcile agent trades with on-chain cap usage

1 participant