Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Fixes OZ March 7 audit issue N03: Duplicated Code #8

Merged
merged 7 commits into from Apr 2, 2020

Conversation

asselstine
Copy link
Contributor

Removed ExchangeRateTracker#currentExchangeRateMantissa

Retained the tokenToCollateralValue and collateralTokenToValue functions
for convenience and gas efficiency (they don't run search).

Partially addresses issue N03

Removed ExchangeRateTracker#currentExchangeRateMantissa

Retained the tokenToCollateralValue and collateralTokenToValue functions
for convenience and gas efficiency (they don't run `search`).

Partially addresses issue N03
Added checks to ensure tracker is initialized only once

Fixes N04
Fixed some old documentation, and most of the typos identified.

"User's backing collateral" remained as it's a "possesive apostrophe".

:)

Fixes N06
Fixes OZ March 7 audit issue N06: Typographical errors
Fixes OZ March 7 audit issue N04: Reinitialize Exchange Rate Tracker
@asselstine asselstine merged commit fe4ccac into audit/L03 Apr 2, 2020
@asselstine asselstine deleted the audit/N03 branch June 1, 2020 16:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant