Libraries
TradingInteractionsUtils
GNSTradingInteractions facet internal library
Modifier to only allow trading action when trading is activated (= revert if not activated)
Modifier to only allow trading action when trading is activated or close only (= revert if paused)
Modifier to prevent calling function from delegated action
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Check ITradingInteractionsUtils interface for documentation
Returns storage slot to use when fetching storage relevant to library
Returns storage pointer for storage struct in diamond contract, at defined slot
Returns current address as multi-collateral diamond interface to call other facets functions.
Internal function for openTrade and openTradeNative
Revert if there is an active pending order for the trade
Initiate price aggregator request for trigger order
Receives native token and sends back wrapped token to user
Returns the caller of the transaction (overriden by trader address if delegatedAction is called)
