Skip to content

feat: Add FlashLoanGuardVault for flash-loan isolation on liquidity v… - #899

Merged
mijinummi merged 1 commit into
MDTechLabs:mainfrom
mrincred00:feature/850-flash-loan-guard-vault
Aug 20, 2026
Merged

feat: Add FlashLoanGuardVault for flash-loan isolation on liquidity v…#899
mijinummi merged 1 commit into
MDTechLabs:mainfrom
mrincred00:feature/850-flash-loan-guard-vault

Conversation

@mrincred00

Copy link
Copy Markdown

…aults

Implements a single-asset LP vault that tracks the last block in which each account deposited or withdrew and reverts any deposit/withdraw landing on that same block. This blocks the classic borrow -> deposit -> manipulate -> withdraw -> repay flash-loan cycle used to skew LP share price or extract unearned bridge yield, while leaving normal multi-block LP activity unaffected.

Closes #850

…aults

Implements a single-asset LP vault that tracks the last block in which
each account deposited or withdrew and reverts any deposit/withdraw
landing on that same block. This blocks the classic
borrow -> deposit -> manipulate -> withdraw -> repay flash-loan cycle
used to skew LP share price or extract unearned bridge yield, while
leaving normal multi-block LP activity unaffected.

Closes MDTechLabs#850

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@mijinummi
mijinummi merged commit 58c5268 into MDTechLabs:main Aug 20, 2026
1 check failed
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.

[CORE] Build Flash Loan Isolation Guard for Liquidity Vaults

3 participants