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

Changed variable names #37

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Changed variable names #37

merged 2 commits into from
Sep 12, 2024

Conversation

Imad-Allal
Copy link
Collaborator

No description provided.

@@ -8,26 +8,26 @@ import {SafeTransferLib} from "@solmate/utils/SafeTransferLib.sol";
abstract contract NovaAdapterBase is INovaAdapterBase {
using SafeTransferLib for ERC20;

address immutable sDAI;
address immutable savings;
address immutable asset;
Copy link
Contributor

Choose a reason for hiding this comment

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

let's replace asset with stable so that we use just two variable names: stable and savings

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we also have uint256 assets for the amount to deposit, should I rename that too (to amountInStable for example) ?

Copy link
Contributor

@lakonema2000 lakonema2000 left a comment

Choose a reason for hiding this comment

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

Once comment addressed, feel free to merge!

@Imad-Allal Imad-Allal merged commit 9cb6107 into main Sep 12, 2024
2 checks passed
@Imad-Allal Imad-Allal deleted the refactor/rename-variables branch September 12, 2024 19:19
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