What this does
This plug moves an unstaking cycle through Lido in two phases keyed on a stored request identifier. It asks the caller for unstake_amount, the quantity of stETH to queue for withdrawal. When no unstake_request is stored it queues the withdrawal and saves the request; when one exists it claims the finalized request for native ETH, clears the marker, and stakes the socket's ETH balance back into stETH. Tracking the request by hand risks claiming before finalization or restaking a stale balance.
Actions · 10










Related plugs · 8