Earlier quoted context omitted.
For sure. The biggest challenge is once you leave Solidity entirely, it's hard to do anything but very simple operations. And actually, I did essentially do what you mentioning for our "gas refund" contracts. Basically another trick to cut gas spend is to use the refund the EVM gives for calling contract self-destruct. You create a bunch of dummy contracts when gas is cheap. Then on your transaction where you're payi…
>The biggest challenge is once you leave Solidity entirely, it's hard to do anything but very simple operations. You don't have to leave solidity, it could all be done in the fallback/default function, no? For the rest, you described gas tokens, but self destruct refunds were removed with London so they are all worthless now.
Yeah, for gas tokens you're right. This was all pre-Flashbots, so talking about February or March at the latest. Flashbots kind of wrecked the whole game. Now it's a whole lot simpler, just ship transactions to Flashbots and bid as close as possible to breakeven. Consequently 90%+ of the profits now go to the miners.