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(PriceRouter): add price router #39

Merged
merged 14 commits into from
Jun 25, 2022

Conversation

crispymangoes
Copy link
Collaborator

Closes #30

@crispymangoes crispymangoes requested a review from 0xble June 20, 2022 19:08
@crispymangoes crispymangoes linked an issue Jun 20, 2022 that may be closed by this pull request
src/PriceRouter.sol Outdated Show resolved Hide resolved
src/PriceRouter.sol Outdated Show resolved Hide resolved
@crispymangoes
Copy link
Collaborator Author

It doesn't look like solidity will revert when doing explicit type conversions, even if the conversion would lose data, or change the sign. So conversions should be handled by internal functions that check to make sure we aren't losing data or changing sign.

@0xble 0xble merged commit a93bb0c into feat/cellar-architecture Jun 25, 2022
@0xble 0xble deleted the feat/price-router branch June 25, 2022 00:52
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.

feat(PriceRouter): add PriceRouter module
2 participants