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

weETH withdrawal: Instant withdrawal with Fee + Implicit withdrawal fee handling #207

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

Conversation

seongyun-ko
Copy link
Contributor

@seongyun-ko seongyun-ko commented Dec 9, 2024

Features

  1. Instant Withdrawal with Fee

    • Contract: EtherFiWithdrawalBuffer
    • (1) rate limits, (2) low-water mark mechanism, (3) fee & split configuration
  2. Handling of the unburned shares during the delayed withdrawal

    • Contract: WithdrawRequestNFT
    • the existing delayed withdrawal system had a bug in tracking the dust share amount.
    • This PR (1) fixes the bug, (2) adds the function to handle the accumulated dust, and (3) adds the fee split logic

@seongyun-ko seongyun-ko requested a review from jtfirek December 9, 2024 08:41
src/WithdrawRequestNFT.sol Outdated Show resolved Hide resolved
src/WithdrawRequestNFT.sol Outdated Show resolved Hide resolved
@seongyun-ko seongyun-ko changed the title Addition of Instant Withdrawal with Fee + handling of unburnt shares from delayed withdrawals Instant Withdrawal with Fee + handling of unburnt shares from delayed withdrawals Dec 20, 2024
@seongyun-ko seongyun-ko force-pushed the syko/feature/instant_withdrawal branch from 1dbd966 to a3aeac9 Compare December 20, 2024 01:31
Copy link

@shivam-ef shivam-ef left a comment

Choose a reason for hiding this comment

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

LGTM

src/WithdrawRequestNFT.sol Outdated Show resolved Hide resolved
@seongyun-ko seongyun-ko changed the title Instant Withdrawal with Fee + handling of unburnt shares from delayed withdrawals weETH withdrawal: Instant withdrawal with Fee + Implicit withdrawal fee handling Dec 30, 2024
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