mouseless-eth / rusty-sando

Implementation of a competitive v2/v3 multi-meat MEV sandwich bot written using Rust and Huff.
MIT License
767 stars 256 forks source link

what is the seppuku_astral_gate #6

Closed cliff0412 closed 1 year ago

cliff0412 commented 1 year ago

may i know what is seppuku_astral_gate?

merklefruit commented 1 year ago

it's just a jump label used to call the seppuku function which selfdestructs the contract

cliff0412 commented 1 year ago

thanks for your reply. but what is the helper contract

ephz3nt commented 1 year ago

searcher is real submit bundle tx to mev relay, so you need enough eth in searcher addree for pay gas; helper like another address, it have seppuku(selfdestruct sandwich contract, carfuly), recover_eth and recover_weth permission, both can use the same address;