Throw (toString (t.buyOrder.orderType))


#1

Hello.

The throw (toString (t.buyOrder.orderType)) function is not accepted by the compiler.
In the documentation where I can not find a solution to the question of how to distinguish the created order for the type BUY / SELL on the DEX exchange in the RIDE language. Please tell me how the values ​​of BUY / SELL are determined.


#2

You can try an example here: Order type in smart assets