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

Equivalent tokens on top of updated sorted oracles #10895

Closed

Conversation

pahor167
Copy link
Contributor

@pahor167 pahor167 commented Jan 18, 2024

Description

Introduction of equivalent tokens in Sorted Oracles. With this change it is possible for function medianRate called with tokenA argument to return value of tokenB when equivalent token mapping is set between tokenA and tokenB.

Since some tokens have only 6 digits compared to cUSD with 18, multiplier was introduces for equivalent token mapping.

Other changes

No other changes

Tested

Unit tests added

Related issues

Backwards compatibility

Yes

@pahor167 pahor167 requested a review from a team as a code owner January 18, 2024 17:47
@pahor167 pahor167 changed the base branch from master to pahor/sortedOraclesUpdate January 18, 2024 17:48
@pahor167 pahor167 changed the title Sorted oracles update Equivalent tokens on top of updated sorted oracles Jan 18, 2024
@martinvol martinvol changed the base branch from pahor/sortedOraclesUpdate to pahor/release/10/sortedOraclesUpdate January 24, 2024 18:54
@martinvol martinvol requested a review from a team as a code owner January 24, 2024 18:54
@martinvol martinvol requested a review from a team January 24, 2024 18:54
@martinvol martinvol requested a review from a team as a code owner January 24, 2024 18:54
@martinvol martinvol requested review from a team and alvarof2 January 24, 2024 18:54
@martinvol martinvol changed the base branch from pahor/release/10/sortedOraclesUpdate to master January 24, 2024 18:54
@martinvol
Copy link
Contributor

Closed in favor of #10904 (that's branched of CR10)

@martinvol martinvol closed this Jan 24, 2024
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.

Introduce equivalent tokens to Sorted Oracles
2 participants