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

feat(ifc): add interfaces #51

Merged
merged 3 commits into from
Dec 5, 2023
Merged

feat(ifc): add interfaces #51

merged 3 commits into from
Dec 5, 2023

Conversation

Rubilmax
Copy link
Contributor

No description provided.

Copy link
Contributor

@QGarchery QGarchery left a comment

Choose a reason for hiding this comment

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

Accidental change of the submodule I think: it goes to an earlier version of Blue, whereas it was already at the release version

IERC4626 public immutable VAULT;
/// @notice Vault conversion sample. The sample amount of shares used to convert to the underlying asset.
/// @notice Should be chosen such that converting `VAULT_CONVERSION_SAMPLE` to assets has enough precision.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

😁 pls someone help me protect spaced storage

Copy link
Contributor

Choose a reason for hiding this comment

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

as you want, I approved anyway

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm fine with either

uint256 public immutable VAULT_CONVERSION_SAMPLE;
/// @notice First base feed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

AggregatorV3Interface public immutable BASE_FEED_1;
/// @notice Second base feed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

AggregatorV3Interface public immutable BASE_FEED_2;
/// @notice First quote feed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

AggregatorV3Interface public immutable QUOTE_FEED_1;
/// @notice Second quote feed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

AggregatorV3Interface public immutable QUOTE_FEED_2;
/// @notice Price scale factor, computed at contract creation.

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change

@MerlinEgalite
Copy link
Contributor

@Jean-Grimal can you review it please?

@Rubilmax Rubilmax changed the base branch from main to post-cantina December 5, 2023 09:36
@Rubilmax Rubilmax merged commit 1ed0ca4 into post-cantina Dec 5, 2023
2 checks passed
@Rubilmax Rubilmax deleted the feat/interfaces branch December 5, 2023 09:36
@Rubilmax Rubilmax mentioned this pull request Dec 19, 2023
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.

5 participants