updatePositionSize
UpdatePositionSizeLifecycles
This is an external library for position size updates lifecycles Used by GNSTrading and GNSTradingCallbacks facets
Initiate increase position size order, done in 2 steps because position size changes
Initiate decrease position size order, done in 2 steps because position size changes
Execute increase position size market callback
Execute decrease position size market callback
Returns current address as multi-collateral diamond interface to call other facets functions.
Basic validation for increase/decrease position size request
Creates pending order, makes price aggregator request, and returns corresponding pending order id
Basic validation for callbacks, returns corresponding cancel reason
