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

fixes after review #121 (authorization with signature) #192

Merged
merged 12 commits into from
Jul 31, 2023

Conversation

@MathisGD MathisGD force-pushed the feat/approval-with-sig-1 branch from 493e444 to 0872299 Compare July 28, 2023 08:29
@MathisGD MathisGD requested a review from MerlinEgalite July 28, 2023 08:55
@MathisGD MathisGD marked this pull request as ready for review July 28, 2023 08:55
@MathisGD MathisGD self-assigned this Jul 28, 2023
@MathisGD MathisGD force-pushed the feat/approval-with-sig-1 branch from 970846d to fe70678 Compare July 28, 2023 09:26
src/Blue.sol Outdated Show resolved Hide resolved
src/Blue.sol Outdated Show resolved Hide resolved
src/Blue.sol Show resolved Hide resolved
src/Blue.sol Outdated Show resolved Hide resolved
src/Blue.sol Show resolved Hide resolved
Copy link
Contributor

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

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

src/Blue.sol Show resolved Hide resolved
@MathisGD MathisGD requested a review from MerlinEgalite July 28, 2023 10:18
Copy link
Contributor

@MerlinEgalite MerlinEgalite left a comment

Choose a reason for hiding this comment

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

Did you check my comment here, @MathisGD ? We should be sure before merging this PR.

src/Blue.sol Outdated Show resolved Hide resolved
src/Blue.sol Show resolved Hide resolved
test/forge/Blue.t.sol Outdated Show resolved Hide resolved
src/libraries/Errors.sol Outdated Show resolved Hide resolved
@MathisGD MathisGD changed the title fixes after review #121 (approval with signature) fixes after review #121 (authorization with signature) Jul 31, 2023
@MathisGD MathisGD linked an issue Jul 31, 2023 that may be closed by this pull request
@@ -77,18 +67,17 @@ contract Blue is IFlashLender {
mapping(IIrm => bool) public isIrmEnabled;
// Enabled LLTVs.
mapping(uint256 => bool) public isLltvEnabled;
// User's managers.
mapping(address => mapping(address => bool)) public isApproved;
// User's authorizations. Note that by default, msg.sender is authorized by themself.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// User's authorizations. Note that by default, msg.sender is authorized by themself.
// User's authorizations. Note that by default, msg.sender is authorized by themselves.

Perhaps am I mistaken and happy to learn, I invoke the guru @pakim249CAL

src/Blue.sol Outdated Show resolved Hide resolved
@MerlinEgalite MerlinEgalite merged commit d5c8b13 into feat/approval-with-sig Jul 31, 2023
@MerlinEgalite MerlinEgalite deleted the feat/approval-with-sig-1 branch July 31, 2023 11:44
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.

isApproved helper function naming
3 participants