storage-incentives icon indicating copy to clipboard operation
storage-incentives copied to clipboard

optional payout address on the claim function

Open significance opened this issue 2 years ago • 2 comments

So in each claim it automatically gets sent to a designated address (or if address(0), send to msg.sender)

credit: @mfw78

significance avatar Mar 26 '23 13:03 significance

This will then remove the option that anyone can run a claim, currently, anyone can, winner is selected but doesn't have anything to do with the caller of trx. This would need to be changed so that only the winner can be the caller and then he can change where he wants to send winnings.

0xCardiE avatar Oct 23 '23 14:10 0xCardiE

Or you can allow payee delegation on the StakeRegistry.

mfw78 avatar Oct 23 '23 21:10 mfw78