Skip to content

Phase 1: Valuation base + single payment denom (multi-collateral groundwork)#44

Merged
nullpointer0x00 merged 8 commits intomainfrom
nullpointer0x00/multi-collateral-swap-phase-1
Aug 29, 2025
Merged

Phase 1: Valuation base + single payment denom (multi-collateral groundwork)#44
nullpointer0x00 merged 8 commits intomainfrom
nullpointer0x00/multi-collateral-swap-phase-1

Conversation

@nullpointer0x00
Copy link
Copy Markdown
Collaborator

@nullpointer0x00 nullpointer0x00 commented Aug 27, 2025

  • Add underlying_asset (single valuation/base denom) and introduce optional payment_denom (single external I/O coin, config-only for now).
  • Keeper valuation helpers: UnitPriceFraction, ToUnderlyingAssetAmount, GetTVVInUnderlyingAsset, GetNAVPerShareInUnderlyingAsset, ConvertSharesToRedeemCoin, ConvertSharesToRedeemCoinInAsset.
  • Note: This PR only supports operations in underlying_asset. Using a differing payment_denom for deposits/redemptions is not implemented yet and will land in Phase 2.

Relate

@nullpointer0x00 nullpointer0x00 changed the title DRAFT: Phase 1 Phase 1: Valuation base + single payment denom (multi-collateral groundwork) Aug 28, 2025
@nullpointer0x00 nullpointer0x00 added the enhancement New feature or request label Aug 28, 2025
@nullpointer0x00 nullpointer0x00 self-assigned this Aug 28, 2025
@nullpointer0x00 nullpointer0x00 marked this pull request as ready for review August 28, 2025 16:28
@nullpointer0x00 nullpointer0x00 linked an issue Aug 28, 2025 that may be closed by this pull request
9 tasks
@nullpointer0x00 nullpointer0x00 merged commit d07aa5d into main Aug 29, 2025
4 checks passed
@nullpointer0x00 nullpointer0x00 deleted the nullpointer0x00/multi-collateral-swap-phase-1 branch March 25, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Separate the collateral swap flow from asset management

2 participants