Submitted by CryptoCraze, also found by joestakey, kaden, jasonxiale, Delvir0, 0xDING99YA, popular00, popular00, carrotsmuggler, Juntao, mrpathfindr, mrpathfindr, said, CRYP70 and jangle.
A normal user cant cancel their offer when using a specific API.
When a normal user creates an offer with the SimpleMarket API(1), the offer is not inserted into the linked list _rank.
After some time the user wants to cancel their order. They can only call RubiconMarkets cancel function(2). When they call cancel what will happen is:
Therefore, the user wont be able to cancel their offer.
Cant cancel when creating an offer with SimpleMarkets offer. Add this to ProtocolDeployment.t.sol:
Override the offer function in SimpleMarket with the offer function in RubiconMarket.
Add this offer function:
daoio (Rubicon) confirmed
