Skip to content

refactor: FeeVault's withdraw#56

Merged
0xiamflux merged 2 commits intofeat/fee-splitterfrom
refactor/review
Sep 3, 2025
Merged

refactor: FeeVault's withdraw#56
0xiamflux merged 2 commits intofeat/fee-splitterfrom
refactor/review

Conversation

@0xiamflux
Copy link
Copy Markdown

Specification for the refactoring on the FeeVault.withdraw function.

- MUST emit the `Withdrawal(uint256 value, address to, address from)` event.
- MUST emit the `Withdrawal(uint256 value, address to, address from, WithdrawalNetwork withdrawalNetwork)` event.
- MUST send the vault's total balance to the appropriate recipient.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

shall we add something related to this line? totalProcessed += value_; like "MUST increment the totalProcessed variable by value

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I like that, adding it.

@0xiamflux 0xiamflux marked this pull request as ready for review September 3, 2025 20:51
@0xiamflux 0xiamflux merged commit 66ca654 into feat/fee-splitter Sep 3, 2025
1 check passed
@0xiamflux 0xiamflux deleted the refactor/review branch September 3, 2025 20:52
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.

3 participants