kmadorin / flashbot

Other
83 stars 47 forks source link

Transaction reverts when ether sent to flashbot smart contract #4

Closed hlairboltons closed 3 years ago

hlairboltons commented 3 years ago

https://github.com/kmadorin/flashbot/blob/3637e2410835fd6218ef45eb5e88408cec2e6578/contracts/TradingBot.sol#L218

When I send Eth to the flashbot contract address via metamask the transaction always reverts. I've made several attempts with various gas limits and its the same result.

This is an obstacle for topping up balance to pay for flashloan fees with dYdX, as they are paid for directly from the contract (unless I'm mistaken).

transaction_reverts

hlairboltons commented 3 years ago

I sent WETH and it was accepted