ArrayGetters

External library for array getters to save bytecode size in facet libraries

getTraders

function getTraders(uint32 _offset, uint32 _limit) public view returns (address[])

Check ITradingStorageUtils interface for documentation

getTrades

function getTrades(address _trader) public view returns (struct ITradingStorage.Trade[])

Check ITradingStorageUtils interface for documentation

getAllTradesForTraders

function getAllTradesForTraders(address[] _traders, uint256 _offset, uint256 _limit) public view returns (struct ITradingStorage.Trade[])

Check ITradingStorageUtils interface for documentation

getAllTrades

function getAllTrades(uint256 _offset, uint256 _limit) external view returns (struct ITradingStorage.Trade[])

Check ITradingStorageUtils interface for documentation

getTradeInfos

function getTradeInfos(address _trader) public view returns (struct ITradingStorage.TradeInfo[])

Check ITradingStorageUtils interface for documentation

getAllTradeInfosForTraders

function getAllTradeInfosForTraders(address[] _traders, uint256 _offset, uint256 _limit) public view returns (struct ITradingStorage.TradeInfo[])

Check ITradingStorageUtils interface for documentation

getAllTradeInfos

function getAllTradeInfos(uint256 _offset, uint256 _limit) external view returns (struct ITradingStorage.TradeInfo[])

Check ITradingStorageUtils interface for documentation

getPendingOrders

function getPendingOrders(address _trader) public view returns (struct ITradingStorage.PendingOrder[])

Check ITradingStorageUtils interface for documentation

getAllPendingOrdersForTraders

function getAllPendingOrdersForTraders(address[] _traders, uint256 _offset, uint256 _limit) public view returns (struct ITradingStorage.PendingOrder[])

Check ITradingStorageUtils interface for documentation

getAllPendingOrders

function getAllPendingOrders(uint256 _offset, uint256 _limit) external view returns (struct ITradingStorage.PendingOrder[])

Check ITradingStorageUtils interface for documentation

getTradesLiquidationParams

function getTradesLiquidationParams(address _trader) public view returns (struct IPairsStorage.GroupLiquidationParams[])

Check ITradingStorageUtils interface for documentation

getAllTradesLiquidationParamsForTraders

function getAllTradesLiquidationParamsForTraders(address[] _traders, uint256 _offset, uint256 _limit) public view returns (struct IPairsStorage.GroupLiquidationParams[])

Check ITradingStorageUtils interface for documentation

getAllTradesLiquidationParams

function getAllTradesLiquidationParams(uint256 _offset, uint256 _limit) external view returns (struct IPairsStorage.GroupLiquidationParams[])

Check ITradingStorageUtils interface for documentation

getCountersForTraders

function getCountersForTraders(address[] _traders, enum ITradingStorage.CounterType _counterType) external view returns (struct ITradingStorage.Counter[])

Check ITradingStorageUtils interface for documentation