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

tweak oracle factory to also support chainlink interface #1212

Closed
wants to merge 3 commits into from

Conversation

tbrent
Copy link
Collaborator

@tbrent tbrent commented Sep 24, 2024

No description provided.

uint80 answeredInRound
)
{
return (0, int256(exchangeRate()), 0, 0, 0);
Copy link
Member

Choose a reason for hiding this comment

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

I don't think startedAt and updatedAt can be zero here, but not sure if Morpho requires that (could use block.timestamp for both?). I'd also set the roundId and answeredInRound to 1 instead of 0.

@tbrent
Copy link
Collaborator Author

tbrent commented Nov 6, 2024

closing in favor of #1222

@tbrent tbrent closed this Nov 6, 2024
@tbrent tbrent deleted the tweak-oracle-factory branch November 6, 2024 06:15
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