Skip to content

feat: reserve address cleanup — labels, descriptions, custodian types#102

Merged
solofberlin merged 2 commits into
mainfrom
feat/reserve-address-cleanup
Apr 29, 2026
Merged

feat: reserve address cleanup — labels, descriptions, custodian types#102
solofberlin merged 2 commits into
mainfrom
feat/reserve-address-cleanup

Conversation

@solofberlin
Copy link
Copy Markdown
Contributor

Summary

  • Add custodian_type (hot/cold/ops) to reserve addresses and by_custodian breakdown to collateral response
  • Add descriptions to all reserve addresses so the frontend can render explanatory text
  • Deduplicate address config using chains[] array instead of per-chain entries (13 → 7 entries)
  • Rename labels: Mento V2/V3 Liquidity Reserve, Reserve Safe, Ops Safe, Ops Account
  • Remove 0x6dec (Operational Account) and 0x619600 (Falcon Finance) from all accounting
  • Add 0x4255 (Mento V3 Liquidity Reserve) to Celo

Test plan

  • Verify /v2/addresses returns all 7 addresses with correct labels, descriptions, and custodian_type
  • Verify /v2/reserve collateral response includes by_custodian breakdown
  • Verify removed addresses (0x6dec, Falcon Finance) no longer appear in any endpoint
  • Verify 0x4255 appears under both Celo and Monad networks

🤖 Generated with Claude Code

- Flatten /v2/addresses response to { reserve: [...] } with chains[] per address
- Remove CDP section from addresses endpoint (not relevant)
- Add custodian_type (hot/cold/ops) and descriptions to all reserve addresses
- Deduplicate address config using chains[] array (13 → 7 entries)
- Rename labels: Mento V2/V3 Liquidity Reserve, Reserve Safe, Ops Safe, Ops Account
- Remove 0x6dec and Falcon Finance from all accounting
- Add 0x4255 (Mento V3 Liquidity Reserve) to Celo
- Add by_custodian breakdown to collateral response

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@solofberlin solofberlin force-pushed the feat/reserve-address-cleanup branch from 70f5ac4 to edac2b6 Compare April 29, 2026 13:40
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@solofberlin solofberlin merged commit 8c758aa into main Apr 29, 2026
@solofberlin solofberlin deleted the feat/reserve-address-cleanup branch April 29, 2026 13:41
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