Resolves four open issues covering governance, credit scoring, insurance fund, and flash loan integration.#538
Merged
Smartdevs17 merged 2 commits intoJun 24, 2026
Conversation
|
@JONAH-6 is attempting to deploy a commit to the smartdevs17's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Hey @JONAH-6! 👋 It looks like this PR isn't linked to any issue. If this PR is for one of the issues assigned to you as part of a Wave, please link it to ensure your contribution is tracked properly. You can do this by adding a keyword to the PR description (e.g.,
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#332 — Governance system
failures across governance, recovery, timelock, and credit score modules
get_vote_power_with_delegation() then immediately shadowed it with a live token_client.balance() call, completely defeating
the anti-flash-loan protection; the two overwriting lines were removed
lifecycle, voting mechanics, timelock & execution, multisig operations, error handling, event validation, and integration
scenarios
actually compiled
#329 — Credit scoring system
module was uncompilable without it
#330 — Insurance fund pool
scope
#331 — Flash loan integration with AMM arbitrage
detection, pool-relative liquidity cap (default 50 %), constant-product price-impact check, per-asset concurrent-loan guard,
and reentrancy protection via RAII guard
impact, sandwich guard) and AMM callback integration via the on_flash_loan receiver interface
Closes #332
Closes #329
Closes #330
Closes #331