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: make mkr assessor the default assessor #559

Merged
merged 4 commits into from
May 17, 2021
Merged

Conversation

hieronx
Copy link
Contributor

@hieronx hieronx commented May 14, 2021

No description provided.

@hieronx hieronx requested a review from xmxanuel May 14, 2021 11:57
Copy link
Member

@xmxanuel xmxanuel left a comment

Choose a reason for hiding this comment

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

LGTM.

I have one small idea to maybe use a modifier for the lender zero checks

I think we should check if we have a good test coverage for the case if we use a lending adapter with no over-collateralization.

Comment on lines +299 to +306
function currentNAV() public view returns(uint) {
return navFeed.currentNAV();
}

// returns the approximated NAV for gas-performance reasons
function getNAV() public view returns(uint) {
return navFeed.approximatedNAV();
}
Copy link
Member

Choose a reason for hiding this comment

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

We can refactor this methods after the more efficient NAV PR is merged.

@hieronx
Copy link
Contributor Author

hieronx commented May 17, 2021

I think we should check if we have a good test coverage for the case if we use a lending adapter with no over-collateralization.

Added #560 for this.

@hieronx hieronx merged commit 8f98fc5 into develop May 17, 2021
@hieronx hieronx deleted the mkr-assessor-default branch May 17, 2021 11:46
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.

2 participants