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

docs(oracle): update natspecs #421

Merged
merged 4 commits into from
Aug 23, 2023
Merged

docs(oracle): update natspecs #421

merged 4 commits into from
Aug 23, 2023

Conversation

Rubilmax
Copy link
Contributor

@Rubilmax Rubilmax commented Aug 23, 2023

Which highlights an additional requirement on the borrowable token: it must have less than 36 + collateral decimals @QGarchery

@Rubilmax Rubilmax requested review from a team, MerlinEgalite, pakim249CAL, Jean-Grimal, makcandrov, QGarchery, peyha and MathisGD and removed request for a team August 23, 2023 07:22
@Rubilmax Rubilmax marked this pull request as ready for review August 23, 2023 07:22
@MathisGD
Copy link
Contributor

wait I don't think that this is true. Aren't we quoting 1 wei of the collateral asset in 1 wei of the borrowable asset (so non dependent on the number of decimals) ?

Jean-Grimal
Jean-Grimal previously approved these changes Aug 23, 2023
MathisGD
MathisGD previously approved these changes Aug 23, 2023
MerlinEgalite
MerlinEgalite previously approved these changes Aug 23, 2023
src/interfaces/IOracle.sol Outdated Show resolved Hide resolved
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.

Looks good, this was missing from the documentation

src/interfaces/IOracle.sol Outdated Show resolved Hide resolved
src/interfaces/IOracle.sol Outdated Show resolved Hide resolved
@Rubilmax Rubilmax dismissed stale reviews from MerlinEgalite and MathisGD via ffaafdd August 23, 2023 13:09
@MerlinEgalite MerlinEgalite merged commit 21a5985 into main Aug 23, 2023
4 checks passed
@MerlinEgalite MerlinEgalite deleted the refactor/natspecs branch August 23, 2023 13:48
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.

6 participants