Save fuel costs through self destruct?

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

fuel costs self destruct

Trading address :

https://bscscan.com/tx/0xeb614578b00c352797ad3f35d319d595e85647337fbe70c87267b491a55aa01d

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

image.png

Look at his internal transactions , Only 3 strip .

image.png

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 :https://eips.ethereum.org/EIPS/eip-3529 , however BSC (BNB Chain) Not merged yet Update accordingly .


版权声明:本文为[Q & A of Denglian community]所创,转载请带上原文链接,感谢。 https://netfreeman.com/2022/04/202204050007101576.html