protocol-v2
protocol-v2 copied to clipboard
new place_and_take_perp_order flag
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:
- there is no fill
- 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).