-
Notifications
You must be signed in to change notification settings - Fork 2
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: return withdrawn amount and protocol fee #304
Conversation
test: DRY'ify Vars struct
refactor: explicitness with protocolFeeAmount Co-authored-by: Paul Razvan Berg <[email protected]>
00ca306
to
231c76a
Compare
amountWithdrawn
and feeTaken
in withdrawThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
generally LGTM 👍
why don't we declare the Vars
struct only in Base_Test
, similarly to Users
, so that we don't have to import it on each file it is needed?
docs: polish natspecs for withdraw and withdrawMax Co-authored-by: Andrei Vlad Birgaoanu <[email protected]>
4776e20
to
2087e0f
Compare
* feat: return amountWithdrawn and feeTaken in withdraw test: DRY'ify Vars struct * refactor: follow somethingSomethingAmount pattern for variables naming refactor: explicitness with protocolFeeAmount Co-authored-by: Paul Razvan Berg <[email protected]> * test: declare vars in Base contract docs: polish natspecs for withdraw and withdrawMax Co-authored-by: Andrei Vlad Birgaoanu <[email protected]> * merge conflict --------- Co-authored-by: Paul Razvan Berg <[email protected]> Co-authored-by: Andrei Vlad Birgaoanu <[email protected]>
Changelog
Vars
struct #275#275 is a pre-requisite to achieve #301 in order to avoid stack too deep errors in tests.