Content
@
0 reply
0 recast
0 reaction
Vectorized
@optimizoor
God, give me the strength to write the Rollup Improvement Proposal for a precompile that burns gas, turns a fraction of the gas burned back into ETH and force sends it back to the caller.
2 replies
1 recast
17 reactions
Cooki
@cooki
> "burns gas, turns a fraction of the gas burned back into ETH" wut? can you ELI5? How would this work?
1 reply
0 recast
1 reaction
Vectorized
@optimizoor
A very basic way is to top up the contract with some ETH (the L2 can do that). Then when people use the contract to burn gas efficiently, some of the ETH is selfdestructed back to the caller. The amount of ETH sent back can vary. Only thing needed is that this contract must not send more ETH out than the ETH used to burn gas on it.
1 reply
0 recast
1 reaction
Cooki
@cooki
I see, so subsidisation of contract usage I feel like this would be more useful on L1 where gas is a more meaningful financial constraint. On most L2s, even if a call uses 20M gas it's still cheap
1 reply
0 recast
1 reaction
Vectorized
@optimizoor
No subsidy. This is a precompile intended to inflict sell taxes on ERC20 tokens, and give back the gas burned as ETH. This can only be on L2, as only L2s have the economic flexibility to try out new incentive mechanisms.
1 reply
0 recast
1 reaction