Save fuel costs through self destruct?

Q & A of Denglian community 2022-04-05 21:13:11 阅读数:646

fuel costs self destruct

Trading address :

This deal is weird , Fuel consumption is very low . He created 3 A contract , Then destroy this 3 A contract .


Look at his internal transactions , Only 3 strip .


I don't know how he did it , The fuel cost is half less than that in pancakes , I tried to rewrite the trading interface of pancakes , Fuel consumption has increased from 12 Million to the current 10 All around , But not as much as his consumption .

Can anyone answer my question ?

Take the answer 1:

adopt SELFDESTRUCT You can get gas Returned .

This is a lot of previous gasToken Implementation principle of , But now Ethereum is no longer available , because EIP3529 : , however BSC (BNB Chain) Not merged yet Update accordingly .

版权声明:本文为[Q & A of Denglian community]所创,转载请带上原文链接,感谢。