Skip to content

refactor(discrete-curve): delegate DiscreteBondingCurve to SharedCoreKit - #731

Draft
bmc08gt wants to merge 2 commits into
mainfrom
refactor/shared-core-discrete-curve
Draft

refactor(discrete-curve): delegate DiscreteBondingCurve to SharedCoreKit#731
bmc08gt wants to merge 2 commits into
mainfrom
refactor/shared-core-discrete-curve

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 6, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • DiscreteBondingCurve.swift's low-level methods now delegate to SharedCoreKit.SharedDiscreteCurve; the high-level buy/sell/marketCap API is untouched.
  • Deleted the hand-maintained UInt128 and DiscreteCurveTables types now that the shared module owns that logic.
  • Removed 13 tests from DiscreteBondingCurveTests.swift that asserted on the now-deleted internal types; equivalent coverage lives in the shared KMP module's own fixture-based tests.

This is a draft: SharedDiscreteCurve currently only exists via a manual copy into ephemeral build caches, not through a published flipcash-shared-core-spm release, so CI cannot build clean until the companion code-android-app PR merges and SharedCore is republished.

@bmc08gt bmc08gt self-assigned this Sep 6, 2026
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