AFK-AlignedFamKernel / afk_monorepo

AFK: Aligned Fam Kernel - Monorepo
https://afk-community.xyz
MIT License
15 stars 37 forks source link

Launchpad MVP iteration and fix #269

Open MSghais opened 13 hours ago

MSghais commented 13 hours ago

Description

80% of the total supply 20% go to liquidity with the threshold

Tests issues:

manlikeHB commented 12 hours ago

May I take this issue on?

ETA - 2 days

josephpdf commented 12 hours ago

Hi! @MSghais I'm Joseph Poveda, I'm a member of the Dojo Coding community. A bit about my background is that I'm just starting out with Only Dust and I want to contribute as much as I can to the project. My knowledge of different programming languages ​​will allow me to better solve problems. To solve this issue I will:

  1. Clean Code and Refactoring:
    • Review the codebase and refactor for clarity and efficiency.
    • Ensure all assert statements are verified and correctly implemented.
  2. Verify Bonding Curve Formula:
    • Check the bonding curve formula for accuracy.
    • Ensure the calculations for the amount received in tests are correct (80% of the total supply, 20% to liquidity with the threshold).
  3. Fix End-to-End Tests:
    • Address issues causing BOUNDS_OUT_OF_RANGE and Suboverflow own Unrug liq.
    • Test liquidity unrug with and without the bonding curve.
  4. Investigate and Fix Specific Issues:
    • Debug the issue with add_liquidity_ekuboin the buy_coin function.
    • Resolve the CORE_ONLY() issue when the contract calls it directly after the threshold is reached.
  5. Run and Verify Tests:
    • Ensure all tests pass and verify that the changes do not introduce new issues.