It seems like a smart contract would be the most natural mechanism to use for implementing a automatic rewards payment system to a baker's delegators, and I'm curious if such a contract is possibly to write.
Is this possible?
Admittedly, I know close to nothing about writing actual smart contracts, thus the question.
(I'm also aware there are other solutions like Backerei and now TAPS to help with this, but these are off-chain).
Regarding a smart contract solution, one thing I'm definitely unsure about, is how would a baker be able to apply variable fees to delegators (maybe some delegators delegated to the baker during a cheaper promotion period, etc...), and how would a baker be able to dynamically update fee rates.
I recently read about a new upgrade that will be proposed to Tezos called Burebrot. Maybe it is not possible to automate rewards via smart contract until this or a similar proposal is integrated into the system?
Thoughts?