protocol-v2 icon indicating copy to clipboard operation
protocol-v2 copied to clipboard

new place_and_take_perp_order flag

Open crispheaney opened this issue 5 months ago • 11 comments

Currently place_and_take_perp_order tx will succeed whether or not there is a fill.

I suggest retro'ing the unused _maker_order_id into a flag that specifies when the tx should fail:

  1. there is no fill
  2. there is only a partial fill

With these new flags, it will be easier for devs to write client code and may lead to less tx actually needed to land onchain (you can skip sending the tx if it fails sim).

crispheaney avatar Aug 30 '24 17:08 crispheaney