-
Notifications
You must be signed in to change notification settings - Fork 28
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
Conversation
There was a problem hiding this 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
3bcf7c5
to
bd47170
Compare
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. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AggregatorV3Interface public immutable BASE_FEED_1; | ||
/// @notice Second base feed. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AggregatorV3Interface public immutable BASE_FEED_2; | ||
/// @notice First quote feed. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AggregatorV3Interface public immutable QUOTE_FEED_1; | ||
/// @notice Second quote feed. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AggregatorV3Interface public immutable QUOTE_FEED_2; | ||
/// @notice Price scale factor, computed at contract creation. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Jean-Grimal can you review it please? |
No description provided.