Is there a generic reward contract that does tokens per second/tokens per block rewards against deposited tokens?
- There is a reward token
- There is a daily reward rate for all depositors
- User deposits a token
- User can harvest rewards
- User can withdraw
I know some famous implementations that are
Also if there is no generic base smart contract for rewarding, as I assume, can you help me out to map out more examples?