// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; interface IEnglishAuction { function bid() external payable; } contract Attack { function callBid(address _englishAuc) external payable { IEnglishAuction englishAuc = IEnglishAuction(_englishAuc); englishAuc.bid{value: 3 ether}(); } receive() external payable { } }
0.7.1