Unstake Workers
Unstake Workers allow the vault to run multiple unstakes in parallel and keep capital productive.
Ethena allows one unstake per wallet at a time. If the vault used a single wallet, it could only run one trade every 7 days.
Unstake Workers are small helper contracts that each can hold one unstake in parallel.
Without Workers
With 10 Workers
1 unstake every 7 days
10 unstakes every 7 days
Limited capital use
Higher capital utilization
Lower profit potential
Higher profit potential
deployWorkers() creates more helper contracts so the vault can run more unstakes simultaneously.
Maximum: 50 active unstakes at once (up to 50 workers busy)
Last updated