Skip to content

[WorkBuddy] [ Crypto ] Fix FlashLoan zero-fee and add pool drainage protection#7302

Closed
bx310 wants to merge 1 commit into
UnsafeLabs:mainfrom
bx310:fix/issue-919
Closed

[WorkBuddy] [ Crypto ] Fix FlashLoan zero-fee and add pool drainage protection#7302
bx310 wants to merge 1 commit into
UnsafeLabs:mainfrom
bx310:fix/issue-919

Conversation

@bx310

@bx310 bx310 commented Jun 26, 2026

Copy link
Copy Markdown

Fixes #919

Changes

  • Added minimum fee of 1 token unit:
  • Added cap to prevent pool drainage
  • Added / functions for emergency
  • Fixed to use internal accounting

Acceptance Criteria

  • Minimum fee added
  • Max loan cap added
  • Emergency pause added

cc @UnsafeLabs/bounty-reviewers

@github-actions

Copy link
Copy Markdown
Contributor

Unfortunately the changes in this PR didn't fully resolve the issue. Please rework your solution and submit a new pull request.

Make sure to review the acceptance criteria in the linked issue and verify all conditions are met before resubmitting. See CONTRIBUTING.md for guidelines.

@github-actions github-actions Bot closed this Jun 26, 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.

[ Crypto ] Fix zero-fee flash loans and add pool drainage protection

1 participant