Content
@
0 reply
0 recast
2 reactions
frolic
@frolic
are there any contracts that are incentivized to call? e.g. gives back 2x gas cost thinking about automations/schedulers, a contract that wants to be called on some interval, but letting anyone run the infra to do the calling and get rewarded for it
3 replies
0 recast
2 reactions
0xmons
@xmon.eth
Can look at ethereum alarm clock for the og Or look at keeper style networks Contracts can pay callers eth after successful completion of the call
0 reply
0 recast
0 reaction
Danno Ferrin
@shemnon.eth
Not with gas. When done with refunds this pattern resulted in gastoken, which the core devs deliberately nerfed with changes in the refund mechanism. A direct ether/token payment to the contract CALLER is how it would need to be done.
2 replies
0 recast
1 reaction
ylv
@ylv
But to schedule a call, you would need to send a tx, unless you use signatures. The whole issue with this kind of solutions seems to be that setup is so complex to make it decentralized that it is much easy to use something like OpenZeppelin Defender Autotasks.
0 reply
0 recast
1 reaction