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

view - Add IRM params. Add base rate to Lido IRM #176

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dglowinski
Copy link
Contributor

No description provided.

/// @notice Getter for compatibility with linear kink models. Meant to be called on implementation contract directly, without access to IRMLidoStorage.
function baseRate() external view returns (uint) {
(bool success, uint lidoBaseRate) = getLidoBaseRate();
require (success, "e/irmclassiclido/get-lido-base-rate");
Copy link
Collaborator

Choose a reason for hiding this comment

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

should be "e/irmclasslido/get-lido-base-rate"

Copy link
Collaborator

@kasperpawlowski kasperpawlowski left a comment

Choose a reason for hiding this comment

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

lgtm

@kasperpawlowski kasperpawlowski changed the title Add IRM params to view. Add base rate to Lido IRM view - Add IRM params. Add base rate to Lido IRM Feb 16, 2023
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.

2 participants