Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Flash loan implementation #460

Draft
wants to merge 15 commits into
base: develop
Choose a base branch
from
Draft

[WIP] Flash loan implementation #460

wants to merge 15 commits into from

Conversation

Debugger022
Copy link
Collaborator

@Debugger022 Debugger022 commented Dec 18, 2024

Description

This PR introduces the implementation of flashloan functionality for isolated pools. Flashloan enable users to borrow assets without collateral, provided the loan is repaid within the same transaction. This enhancement includes the following changes:

Flashloan Implementation: Added flashloan capability to isolated pools, allowing borrowing and repayment in a single transaction.

Mock Receiver Contract: Introduced a mock receiver contract for testing purposes, which handles the flashloan receipt and repayment.

Test Cases: Comprehensive unit tests for the flashloan logic, including tests for successful execution, edge cases, and failure scenarios.

Deployment Script: Updated the deployment script to accommodate the new flashloan functionality for isolated pools.

Contract Updates: Modified relevant contracts to integrate the flashloan feature while ensuring compatibility with existing logic and maintaining security checks.

@Debugger022 Debugger022 self-assigned this Dec 18, 2024
@Debugger022 Debugger022 changed the title Flash loan implementation [WIP] Flash loan implementation Dec 18, 2024
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