You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 19, 2025. It is now read-only.
PR #40 is adding the withdraw rewards flow (not merged at time of writing), however it is still at proof of concept stage and not optimized at all. It is also not very robust or well tested.
In terms of lazy distribution of tokens, I can recommend the approach we did in wynd dao that does one write on distribution, one on withdrawal, and one extra write each time a staked updates their shares.
I have not looked at the dao-dao distribution logic, but maybe that makes sense as well. However, the wynd dao logic is designed to handle discrete payment events triggered externally, which I think is more fitting here.