-
Notifications
You must be signed in to change notification settings - Fork 8
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
Child Gauge Implementation update #11
Conversation
Another idea: one-time donation a function to make a one-time donation. Maybe a nice way to say thanks to stake. But it could be front-run? **claim all rewards for stakers ** Is it now possible to claim for a different address? Is there a way to get all stakers for a reward_id? This would allow looping trough all past stakers and clean up and having zero balance in the contract. this would be good, as we avoid future request if pools are not accessible in the front-end. On L2 this may be cheap to transact. distribute without beeing set as distributor Cold we open this up, so that everyone can use rewards? Whats the risk, beyond spam? Could somebody make a token, which then scams people? We could take a fixed fee, like 1000 crvUSD, and have a limited amount, say 10 then bill on add_reward(). Or do you see any other way? But maybe this is anyway beyond your task. |
Don't really get, donation to whom, Like on staking LPs? That can be drained via spam
You can already claim for anyone
I did open this method for everyone (see |
Don't really get, donation to whom, Like on staking LPs? That can be drained via spam mk: yes, just as a one-time payment, not time bound, not rate. To only reward the current users. In a way this could be done with an ultra short reward, like 20 secs. if we could say reward at least 1 day, but lower then 30 sec is allowed too then we would have that with the current code. (if its safe) but not sure if there is any demand..
You can already claim for anyone You can get all stakers with mk: not needed, only stakers with none zero reward in a campaing? Can we get them?
I did open this method for everyone (see mk: yep, that can we make without manager, but I agree this is beyond what we do now. |
ra: don't think it's possible to implement, because you can not distinguish any one-time lock from lock+unlock+transfer to another eoa+lock
ra: too hard to implement on-chain, off-chain script can make any needed checks (like |
…d has all these cool descriptive comments
About
Making ready for handy use in curve-lite and update among all L2s.
Problems
totalSupply == 0
and rewards were allocated, funds for that period will stuck in contract foreverWhat I did