Skip to content

feat: add custodian_type (hot/cold/ops) to reserve addresses#101

Merged
solofberlin merged 2 commits into
mainfrom
feat/custodian-type
Apr 28, 2026
Merged

feat: add custodian_type (hot/cold/ops) to reserve addresses#101
solofberlin merged 2 commits into
mainfrom
feat/custodian-type

Conversation

@solofberlin
Copy link
Copy Markdown
Contributor

Summary

  • Add custodian_type field (hot | cold | ops) to every reserve address
  • Expose on /api/v2/addresses per address entry
  • Add custodian_type to each collateral source in /api/v2/reserve
  • Add by_custodian breakdown (hot_usd, cold_usd, ops_usd) to collateral summary
  • Remove (0xABCD) label disambiguation — no longer needed

Test plan

  • Build and tests pass
  • Verify on preview deployment

🤖 Generated with Claude Code

solofberlin and others added 2 commits April 28, 2026 16:45
- Add custodianType to ReserveAddress: hot (on-chain reserve contracts),
  cold (custody multisigs, Falcon Finance), ops (operational accounts,
  rebalancer bot, ops multisig)
- Expose custodian_type on /api/v2/addresses per address
- Add custodian_type to each collateral source in /api/v2/reserve
- Add by_custodian breakdown (hot_usd, cold_usd, ops_usd) to collateral
- Remove label disambiguation suffixes — no longer needed with
  custodian_type for differentiation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@solofberlin solofberlin merged commit 89b5cd2 into main Apr 28, 2026
2 of 3 checks passed
@solofberlin solofberlin deleted the feat/custodian-type branch April 28, 2026 16:48
solofberlin added a commit that referenced this pull request Apr 29, 2026
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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