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

Support flashloans in Balancer adaptor API #225

Merged
merged 10 commits into from
Oct 12, 2023

Conversation

cbrit
Copy link
Member

@cbrit cbrit commented Oct 11, 2023

No description provided.

Copy link
Contributor

@EricBolten EricBolten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some thoughts and comments.

Dockerfile Show resolved Hide resolved
proto/adaptors/balancer/balancer_pool.proto Outdated Show resolved Hide resolved
steward/src/cellars/adaptors/aave_v3.rs Outdated Show resolved Hide resolved
proto/adaptors/aave/aave_v3_debt_token.proto Outdated Show resolved Hide resolved
@cbrit cbrit temporarily deployed to CI October 12, 2023 15:11 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 15:11 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 15:11 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 15:11 — with GitHub Actions Inactive
// Represents function calls to the MorphoAaveV3DebtToken V1
MorphoAaveV3DebtTokenAdaptorV1Calls morpho_aave_v3_debt_token_v1_calls = 23;
// Represents function calls to the BalancerPoolAdaptor V1
BalancerPoolAdaptorV1Calls balancer_pool_v1_calls = 24;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BalancerPoolAdaptorV1Calls can be removed as we are not allowed to call it in the Flashloan due to reentrancy

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this would be true for aave v3's flash loan adaptor calls too right? remove its own calls from the set?

Copy link
Contributor

@EricBolten EricBolten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some follow-up comments and questions.

proto/adaptors/aave/aave_v3_debt_token_flash_loan.proto Outdated Show resolved Hide resolved
proto/adaptors/balancer/balancer_pool_flash_loan.proto Outdated Show resolved Hide resolved
proto/adaptors/aave/aave_v3_debt_token_flash_loan.proto Outdated Show resolved Hide resolved
proto/adaptors/balancer/balancer_pool_flash_loan.proto Outdated Show resolved Hide resolved
steward/src/cellars/adaptors/aave_v3.rs Outdated Show resolved Hide resolved
@cbrit cbrit temporarily deployed to CI October 12, 2023 21:20 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 21:20 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 21:20 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 21:20 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 22:13 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 22:13 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 22:13 — with GitHub Actions Inactive
@cbrit cbrit temporarily deployed to CI October 12, 2023 22:13 — with GitHub Actions Inactive
Copy link
Contributor

@EricBolten EricBolten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@EricBolten EricBolten merged commit de3abb9 into 3.x-main Oct 12, 2023
10 checks passed
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.

3 participants