Skip to content
This repository was archived by the owner on Dec 18, 2025. It is now read-only.

Feat Aave v2#93

Merged
pakim249CAL merged 9 commits into
mainfrom
feat/aave-v2
Sep 6, 2022
Merged

Feat Aave v2#93
pakim249CAL merged 9 commits into
mainfrom
feat/aave-v2

Conversation

@pakim249CAL

Copy link
Copy Markdown
Contributor

Pull Request

Issue(s) fixed

This pull request fixes #90

@pakim249CAL
pakim249CAL marked this pull request as ready for review August 30, 2022 16:03
@pakim249CAL
pakim249CAL requested a review from a team August 30, 2022 20:09

@Rubilmax Rubilmax left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great job! Small changes for coherence but non-blocking

Comment thread src/aave-v2/SupplyVaultBase.sol Outdated
Comment thread scripts/aave-v2/eth-mainnet/Deploy.s.sol Outdated
Comment thread scripts/aave-v2/eth-mainnet/Deploy.s.sol Outdated
Comment thread scripts/aave-v2/eth-mainnet/Deploy.s.sol Outdated
@Rubilmax

Copy link
Copy Markdown
Contributor

Added the CI in #94

@MerlinEgalite MerlinEgalite left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some changes to apply but overall LGTM

Comment thread src/aave-v2/SupplyVault.sol Outdated
Comment thread scripts/aave-v2/eth-mainnet/Deploy.s.sol Outdated
Comment thread test/aave-v2/setup/TestSetupVaults.sol Outdated
Comment thread test/aave-v2/setup/TestSetupVaults.sol Outdated
Comment thread test/aave-v2/TestUpgradeable.t.sol Outdated
Comment thread test/aave-v2/setup/TestSetupVaults.sol Outdated
Comment thread test/aave-v2/setup/TestSetupVaults.sol
Comment thread test/aave-v2/setup/TestSetupVaults.sol Outdated
Comment thread test/aave-v2/setup/TestSetupVaults.sol Outdated
Comment thread scripts/aave-v2/eth-mainnet/Deploy.s.sol Outdated
@MerlinEgalite MerlinEgalite changed the title Feat/aave v2 Feat Aave v2 Sep 2, 2022

@MerlinEgalite MerlinEgalite left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

One question

Comment thread src/aave-v2/SupplyVault.sol Outdated
Comment thread scripts/aave-v2/eth-mainnet/Deploy.s.sol
@pakim249CAL
pakim249CAL requested a review from Rubilmax September 5, 2022 14:58

@MerlinEgalite MerlinEgalite left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@MerlinEgalite
MerlinEgalite requested a review from a team September 5, 2022 15:50

@Rubilmax Rubilmax left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like having additional endpoints defaulting values so that when calling such endpoints, the user always has the highest possible access to their funds, e.g.:

  • deposit(uint256 _amount) => _deposit(msg.sender, msg.sender, msg.sender, _amount, shares)
  • deposit(uint256 _amount, address _receiver) => _deposit(msg.sender, _receiver, msg.sender, _amount, shares)

etc...

But it's a plus

@Rubilmax

Rubilmax commented Sep 6, 2022

Copy link
Copy Markdown
Contributor

But it's a plus

And I think it'd be cleaner to add them in another PR, to every vault (via ERC4626UpgradeableSafe)

@MerlinEgalite

MerlinEgalite commented Sep 6, 2022

Copy link
Copy Markdown
Contributor

But it's a plus

And I think it'd be cleaner to add them in another PR, to every vault (via ERC4626UpgradeableSafe)

Yes let's do this in another PR. Integrators are waiting for the ERC4625 interfaces. So even if your suggestion seems to ease integrations it's clearly not in practice with the previous argument.

@Rubilmax

Rubilmax commented Sep 6, 2022

Copy link
Copy Markdown
Contributor

But it's a plus

And I think it'd be cleaner to add them in another PR, to every vault (via ERC4626UpgradeableSafe)

Yes let's do this in another PR. Integrators are waiting for the ERC4625 interfaces. So even if your suggestion seems to ease integrations it's clearly not in practice with the previous argument.

Proposal in #97

@pakim249CAL
pakim249CAL merged commit 5e9dbbd into main Sep 6, 2022
@Rubilmax
Rubilmax deleted the feat/aave-v2 branch November 23, 2022 13:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test Aave vault on Aave V2

3 participants