@symmio/trading-core 1.0.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/candles/adapters/tradingview/index.d.ts +4 -0
- package/dist/candles/adapters/tradingview/index.d.ts.map +1 -0
- package/dist/candles/adapters/tradingview/map-resolution.d.ts +26 -0
- package/dist/candles/adapters/tradingview/map-resolution.d.ts.map +1 -0
- package/dist/candles/adapters/tradingview/map-resolution.js +51 -0
- package/dist/candles/adapters/tradingview/map-resolution.js.map +1 -0
- package/dist/candles/adapters/tradingview/to-tradingview-datafeed.d.ts +48 -0
- package/dist/candles/adapters/tradingview/to-tradingview-datafeed.d.ts.map +1 -0
- package/dist/candles/adapters/tradingview/to-tradingview-datafeed.js +115 -0
- package/dist/candles/adapters/tradingview/to-tradingview-datafeed.js.map +1 -0
- package/dist/candles/adapters/tradingview/types.d.ts +102 -0
- package/dist/candles/adapters/tradingview/types.d.ts.map +1 -0
- package/dist/candles/index.d.ts +6 -0
- package/dist/candles/index.d.ts.map +1 -0
- package/dist/candles/query.d.ts +58 -0
- package/dist/candles/query.d.ts.map +1 -0
- package/dist/candles/query.js +31 -0
- package/dist/candles/query.js.map +1 -0
- package/dist/candles/resolution.d.ts +25 -0
- package/dist/candles/resolution.d.ts.map +1 -0
- package/dist/candles/resolution.js +30 -0
- package/dist/candles/resolution.js.map +1 -0
- package/dist/candles/sources/binance/constants.d.ts +46 -0
- package/dist/candles/sources/binance/constants.d.ts.map +1 -0
- package/dist/candles/sources/binance/constants.js +21 -0
- package/dist/candles/sources/binance/constants.js.map +1 -0
- package/dist/candles/sources/binance/create-binance-candle-source.d.ts +65 -0
- package/dist/candles/sources/binance/create-binance-candle-source.d.ts.map +1 -0
- package/dist/candles/sources/binance/create-binance-candle-source.js +92 -0
- package/dist/candles/sources/binance/create-binance-candle-source.js.map +1 -0
- package/dist/candles/sources/binance/fetch-binance-exchange-info.d.ts +40 -0
- package/dist/candles/sources/binance/fetch-binance-exchange-info.d.ts.map +1 -0
- package/dist/candles/sources/binance/fetch-binance-exchange-info.js +34 -0
- package/dist/candles/sources/binance/fetch-binance-exchange-info.js.map +1 -0
- package/dist/candles/sources/binance/fetch-binance-klines.d.ts +36 -0
- package/dist/candles/sources/binance/fetch-binance-klines.d.ts.map +1 -0
- package/dist/candles/sources/binance/fetch-binance-klines.js +31 -0
- package/dist/candles/sources/binance/fetch-binance-klines.js.map +1 -0
- package/dist/candles/sources/binance/index.d.ts +8 -0
- package/dist/candles/sources/binance/index.d.ts.map +1 -0
- package/dist/candles/sources/binance/map-resolution.d.ts +25 -0
- package/dist/candles/sources/binance/map-resolution.d.ts.map +1 -0
- package/dist/candles/sources/binance/map-resolution.js +34 -0
- package/dist/candles/sources/binance/map-resolution.js.map +1 -0
- package/dist/candles/sources/binance/parse-kline.d.ts +61 -0
- package/dist/candles/sources/binance/parse-kline.d.ts.map +1 -0
- package/dist/candles/sources/binance/parse-kline.js +32 -0
- package/dist/candles/sources/binance/parse-kline.js.map +1 -0
- package/dist/candles/sources/binance/watch-binance-klines.d.ts +54 -0
- package/dist/candles/sources/binance/watch-binance-klines.d.ts.map +1 -0
- package/dist/candles/sources/binance/watch-binance-klines.js +45 -0
- package/dist/candles/sources/binance/watch-binance-klines.js.map +1 -0
- package/dist/candles/types.d.ts +192 -0
- package/dist/candles/types.d.ts.map +1 -0
- package/dist/core/chains/actions/get-default-solver.d.ts +22 -0
- package/dist/core/chains/actions/get-default-solver.d.ts.map +1 -0
- package/dist/core/chains/actions/get-default-solver.js +10 -0
- package/dist/core/chains/actions/get-default-solver.js.map +1 -0
- package/dist/core/chains/index.d.ts +4 -0
- package/dist/core/chains/index.d.ts.map +1 -1
- package/dist/core/chains/price-service-support.d.ts +18 -0
- package/dist/core/chains/price-service-support.d.ts.map +1 -0
- package/dist/core/chains/price-service-support.js +10 -0
- package/dist/core/chains/price-service-support.js.map +1 -0
- package/dist/core/chains/registry.d.ts.map +1 -1
- package/dist/core/chains/registry.js +88 -42
- package/dist/core/chains/registry.js.map +1 -1
- package/dist/core/chains/resolve-solver.d.ts +14 -0
- package/dist/core/chains/resolve-solver.d.ts.map +1 -0
- package/dist/core/chains/resolve-solver.js +14 -0
- package/dist/core/chains/resolve-solver.js.map +1 -0
- package/dist/core/chains/solver-support.d.ts +14 -0
- package/dist/core/chains/solver-support.d.ts.map +1 -0
- package/dist/core/chains/solver-support.js +10 -0
- package/dist/core/chains/solver-support.js.map +1 -0
- package/dist/core/chains/supported-chains.d.ts +3 -1
- package/dist/core/chains/supported-chains.d.ts.map +1 -1
- package/dist/core/chains/supported-chains.js +1 -1
- package/dist/core/chains/supported-chains.js.map +1 -1
- package/dist/core/chains/types.d.ts +236 -22
- package/dist/core/chains/types.d.ts.map +1 -1
- package/dist/core/chains/types.js +6 -0
- package/dist/core/chains/types.js.map +1 -0
- package/dist/core/config/config-key.d.ts +6 -0
- package/dist/core/config/config-key.d.ts.map +1 -1
- package/dist/core/config/config-key.js.map +1 -1
- package/dist/core/config/create-config.d.ts +43 -12
- package/dist/core/config/create-config.d.ts.map +1 -1
- package/dist/core/config/create-config.js +47 -25
- package/dist/core/config/create-config.js.map +1 -1
- package/dist/core/config/merge-chain-config.d.ts.map +1 -1
- package/dist/core/config/merge-chain-config.js +81 -28
- package/dist/core/config/merge-chain-config.js.map +1 -1
- package/dist/index.d.ts +281 -34
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +490 -273
- package/dist/inventory/index.d.ts +5 -0
- package/dist/inventory/index.d.ts.map +1 -0
- package/dist/inventory/resolve-inventory.d.ts +25 -0
- package/dist/inventory/resolve-inventory.d.ts.map +1 -0
- package/dist/inventory/resolve-inventory.js +18 -0
- package/dist/inventory/resolve-inventory.js.map +1 -0
- package/dist/inventory/tvl/get-inventory-tvl.d.ts +45 -0
- package/dist/inventory/tvl/get-inventory-tvl.d.ts.map +1 -0
- package/dist/inventory/tvl/get-inventory-tvl.js +27 -0
- package/dist/inventory/tvl/get-inventory-tvl.js.map +1 -0
- package/dist/inventory/tvl/index.d.ts +3 -0
- package/dist/inventory/tvl/index.d.ts.map +1 -0
- package/dist/inventory/tvl/query.d.ts +36 -0
- package/dist/inventory/tvl/query.d.ts.map +1 -0
- package/dist/inventory/tvl/query.js +21 -0
- package/dist/inventory/tvl/query.js.map +1 -0
- package/dist/inventory/tvl-history/get-inventory-tvl-history.d.ts +44 -0
- package/dist/inventory/tvl-history/get-inventory-tvl-history.d.ts.map +1 -0
- package/dist/inventory/tvl-history/get-inventory-tvl-history.js +21 -0
- package/dist/inventory/tvl-history/get-inventory-tvl-history.js.map +1 -0
- package/dist/inventory/tvl-history/index.d.ts +4 -0
- package/dist/inventory/tvl-history/index.d.ts.map +1 -0
- package/dist/inventory/tvl-history/query.d.ts +36 -0
- package/dist/inventory/tvl-history/query.d.ts.map +1 -0
- package/dist/inventory/tvl-history/query.js +24 -0
- package/dist/inventory/tvl-history/query.js.map +1 -0
- package/dist/inventory/tvl-history/to-inventory-tvl-point.d.ts +16 -0
- package/dist/inventory/tvl-history/to-inventory-tvl-point.d.ts.map +1 -0
- package/dist/inventory/tvl-history/to-inventory-tvl-point.js +12 -0
- package/dist/inventory/tvl-history/to-inventory-tvl-point.js.map +1 -0
- package/dist/inventory/types/generated/inventory-service.d.ts +769 -0
- package/dist/inventory/types/generated/inventory-service.d.ts.map +1 -0
- package/dist/inventory/types/generated/inventory-service.js +7 -0
- package/dist/inventory/types/generated/inventory-service.js.map +1 -0
- package/dist/inventory/types.d.ts +29 -0
- package/dist/inventory/types.d.ts.map +1 -0
- package/dist/inventory/types.js +6 -0
- package/dist/inventory/types.js.map +1 -0
- package/dist/margin/calculate-margin-risk.d.ts +108 -0
- package/dist/margin/calculate-margin-risk.d.ts.map +1 -0
- package/dist/margin/calculate-margin-risk.js +18 -0
- package/dist/margin/calculate-margin-risk.js.map +1 -0
- package/dist/margin/index.d.ts +2 -0
- package/dist/margin/index.d.ts.map +1 -0
- package/dist/muon/client.d.ts +29 -0
- package/dist/muon/client.d.ts.map +1 -1
- package/dist/muon/client.js +20 -6
- package/dist/muon/client.js.map +1 -1
- package/dist/muon/deallocate-upnl-sig/get-deallocate-upnl-sig.d.ts.map +1 -1
- package/dist/muon/deallocate-upnl-sig/get-deallocate-upnl-sig.js +10 -20
- package/dist/muon/deallocate-upnl-sig/get-deallocate-upnl-sig.js.map +1 -1
- package/dist/muon/force-close-price-sig/get-force-close-price-sig.d.ts +58 -0
- package/dist/muon/force-close-price-sig/get-force-close-price-sig.d.ts.map +1 -0
- package/dist/muon/force-close-price-sig/get-force-close-price-sig.js +34 -0
- package/dist/muon/force-close-price-sig/get-force-close-price-sig.js.map +1 -0
- package/dist/muon/force-close-price-sig/index.d.ts +3 -0
- package/dist/muon/force-close-price-sig/index.d.ts.map +1 -0
- package/dist/muon/force-close-price-sig/query.d.ts +50 -0
- package/dist/muon/force-close-price-sig/query.d.ts.map +1 -0
- package/dist/muon/force-close-price-sig/query.js +28 -0
- package/dist/muon/force-close-price-sig/query.js.map +1 -0
- package/dist/muon/index.d.ts +2 -0
- package/dist/muon/index.d.ts.map +1 -1
- package/dist/muon/party-a-overview/get-muon-party-a-overview.d.ts +1 -1
- package/dist/muon/party-a-overview/get-muon-party-a-overview.js.map +1 -1
- package/dist/muon/send-quote-upnl-sig/get-send-quote-upnl-sig.d.ts +53 -0
- package/dist/muon/send-quote-upnl-sig/get-send-quote-upnl-sig.d.ts.map +1 -0
- package/dist/muon/send-quote-upnl-sig/get-send-quote-upnl-sig.js +23 -0
- package/dist/muon/send-quote-upnl-sig/get-send-quote-upnl-sig.js.map +1 -0
- package/dist/muon/send-quote-upnl-sig/index.d.ts +3 -0
- package/dist/muon/send-quote-upnl-sig/index.d.ts.map +1 -0
- package/dist/muon/send-quote-upnl-sig/query.d.ts +42 -0
- package/dist/muon/send-quote-upnl-sig/query.d.ts.map +1 -0
- package/dist/muon/send-quote-upnl-sig/query.js +25 -0
- package/dist/muon/send-quote-upnl-sig/query.js.map +1 -0
- package/dist/muon/types.d.ts +2 -2
- package/dist/muon/types.js.map +1 -1
- package/dist/muon/upnl-a/get-muon-upnl-a.d.ts +1 -1
- package/dist/muon/upnl-a/get-muon-upnl-a.js.map +1 -1
- package/dist/muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.d.ts +1 -1
- package/dist/muon/upnl-a-with-symbol-price/get-muon-upnl-a-with-symbol-price.js.map +1 -1
- package/dist/muon/upnl-b/get-muon-upnl-b.d.ts +1 -1
- package/dist/muon/upnl-b/get-muon-upnl-b.js.map +1 -1
- package/dist/muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.d.ts +1 -1
- package/dist/muon/upnl-with-symbol-price/get-muon-upnl-with-symbol-price.js.map +1 -1
- package/dist/notifications/search/adapters/enigma-search.d.ts +14 -0
- package/dist/notifications/search/adapters/enigma-search.d.ts.map +1 -0
- package/dist/notifications/search/adapters/enigma-search.js +33 -0
- package/dist/notifications/search/adapters/enigma-search.js.map +1 -0
- package/dist/notifications/search/adapters/rasa-search.d.ts +13 -0
- package/dist/notifications/search/adapters/rasa-search.d.ts.map +1 -0
- package/dist/notifications/search/adapters/rasa-search.js +28 -0
- package/dist/notifications/search/adapters/rasa-search.js.map +1 -0
- package/dist/notifications/search/query.d.ts +4 -2
- package/dist/notifications/search/query.d.ts.map +1 -1
- package/dist/notifications/search/query.js +8 -4
- package/dist/notifications/search/query.js.map +1 -1
- package/dist/notifications/search/search-notifications.d.ts +23 -43
- package/dist/notifications/search/search-notifications.d.ts.map +1 -1
- package/dist/notifications/search/search-notifications.js +11 -22
- package/dist/notifications/search/search-notifications.js.map +1 -1
- package/dist/notifications/search/types.d.ts +80 -0
- package/dist/notifications/search/types.d.ts.map +1 -0
- package/dist/notifications/types.d.ts +0 -11
- package/dist/notifications/types.d.ts.map +1 -1
- package/dist/orderbook/aggregate.d.ts +80 -0
- package/dist/orderbook/aggregate.d.ts.map +1 -0
- package/dist/orderbook/aggregate.js +74 -0
- package/dist/orderbook/aggregate.js.map +1 -0
- package/dist/orderbook/index.d.ts +7 -0
- package/dist/orderbook/index.d.ts.map +1 -0
- package/dist/orderbook/query.d.ts +55 -0
- package/dist/orderbook/query.d.ts.map +1 -0
- package/dist/orderbook/query.js +25 -0
- package/dist/orderbook/query.js.map +1 -0
- package/dist/orderbook/sources/binance/constants.d.ts +78 -0
- package/dist/orderbook/sources/binance/constants.d.ts.map +1 -0
- package/dist/orderbook/sources/binance/constants.js +51 -0
- package/dist/orderbook/sources/binance/constants.js.map +1 -0
- package/dist/orderbook/sources/binance/create-binance-orderbook-source.d.ts +78 -0
- package/dist/orderbook/sources/binance/create-binance-orderbook-source.d.ts.map +1 -0
- package/dist/orderbook/sources/binance/create-binance-orderbook-source.js +87 -0
- package/dist/orderbook/sources/binance/create-binance-orderbook-source.js.map +1 -0
- package/dist/orderbook/sources/binance/fetch-binance-depth.d.ts +45 -0
- package/dist/orderbook/sources/binance/fetch-binance-depth.d.ts.map +1 -0
- package/dist/orderbook/sources/binance/fetch-binance-depth.js +34 -0
- package/dist/orderbook/sources/binance/fetch-binance-depth.js.map +1 -0
- package/dist/orderbook/sources/binance/fetch-binance-symbol-filters.d.ts +39 -0
- package/dist/orderbook/sources/binance/fetch-binance-symbol-filters.d.ts.map +1 -0
- package/dist/orderbook/sources/binance/fetch-binance-symbol-filters.js +39 -0
- package/dist/orderbook/sources/binance/fetch-binance-symbol-filters.js.map +1 -0
- package/dist/orderbook/sources/binance/index.d.ts +7 -0
- package/dist/orderbook/sources/binance/index.d.ts.map +1 -0
- package/dist/orderbook/sources/binance/parse-depth.d.ts +70 -0
- package/dist/orderbook/sources/binance/parse-depth.d.ts.map +1 -0
- package/dist/orderbook/sources/binance/parse-depth.js +23 -0
- package/dist/orderbook/sources/binance/parse-depth.js.map +1 -0
- package/dist/orderbook/sources/binance/watch-binance-depth.d.ts +78 -0
- package/dist/orderbook/sources/binance/watch-binance-depth.d.ts.map +1 -0
- package/dist/orderbook/sources/binance/watch-binance-depth.js +125 -0
- package/dist/orderbook/sources/binance/watch-binance-depth.js.map +1 -0
- package/dist/orderbook/tick-size.d.ts +79 -0
- package/dist/orderbook/tick-size.d.ts.map +1 -0
- package/dist/orderbook/tick-size.js +46 -0
- package/dist/orderbook/tick-size.js.map +1 -0
- package/dist/orderbook/types.d.ts +299 -0
- package/dist/orderbook/types.d.ts.map +1 -0
- package/dist/orderbook/walk.d.ts +31 -0
- package/dist/orderbook/walk.d.ts.map +1 -0
- package/dist/orderbook/walk.js +39 -0
- package/dist/orderbook/walk.js.map +1 -0
- package/dist/pools/add-market/add-market.d.ts +74 -0
- package/dist/pools/add-market/add-market.d.ts.map +1 -0
- package/dist/pools/add-market/add-market.js +25 -0
- package/dist/pools/add-market/add-market.js.map +1 -0
- package/dist/pools/add-market/index.d.ts +6 -0
- package/dist/pools/add-market/index.d.ts.map +1 -0
- package/dist/pools/add-market/query.d.ts +27 -0
- package/dist/pools/add-market/query.d.ts.map +1 -0
- package/dist/pools/add-market/query.js +12 -0
- package/dist/pools/add-market/query.js.map +1 -0
- package/dist/pools/add-market/to-add-market-request.d.ts +16 -0
- package/dist/pools/add-market/to-add-market-request.d.ts.map +1 -0
- package/dist/pools/add-market/to-add-market-request.js +14 -0
- package/dist/pools/add-market/to-add-market-request.js.map +1 -0
- package/dist/pools/add-market/to-created-pool.d.ts +16 -0
- package/dist/pools/add-market/to-created-pool.d.ts.map +1 -0
- package/dist/pools/add-market/to-created-pool.js +20 -0
- package/dist/pools/add-market/to-created-pool.js.map +1 -0
- package/dist/pools/add-market/types.d.ts +42 -0
- package/dist/pools/add-market/types.d.ts.map +1 -0
- package/dist/pools/auth/authenticate-listing.d.ts +47 -0
- package/dist/pools/auth/authenticate-listing.d.ts.map +1 -0
- package/dist/pools/auth/authenticate-listing.js +37 -0
- package/dist/pools/auth/authenticate-listing.js.map +1 -0
- package/dist/pools/auth/get-sign-in-message.d.ts +45 -0
- package/dist/pools/auth/get-sign-in-message.d.ts.map +1 -0
- package/dist/pools/auth/get-sign-in-message.js +26 -0
- package/dist/pools/auth/get-sign-in-message.js.map +1 -0
- package/dist/pools/auth/index.d.ts +6 -0
- package/dist/pools/auth/index.d.ts.map +1 -0
- package/dist/pools/auth/query.d.ts +21 -0
- package/dist/pools/auth/query.d.ts.map +1 -0
- package/dist/pools/auth/query.js +12 -0
- package/dist/pools/auth/query.js.map +1 -0
- package/dist/pools/auth/to-siwe.d.ts +27 -0
- package/dist/pools/auth/to-siwe.d.ts.map +1 -0
- package/dist/pools/auth/to-siwe.js +38 -0
- package/dist/pools/auth/to-siwe.js.map +1 -0
- package/dist/pools/auth/types.d.ts +46 -0
- package/dist/pools/auth/types.d.ts.map +1 -0
- package/dist/pools/cancel-withdraw/cancel-withdraw.d.ts +56 -0
- package/dist/pools/cancel-withdraw/cancel-withdraw.d.ts.map +1 -0
- package/dist/pools/cancel-withdraw/cancel-withdraw.js +24 -0
- package/dist/pools/cancel-withdraw/cancel-withdraw.js.map +1 -0
- package/dist/pools/cancel-withdraw/index.d.ts +4 -0
- package/dist/pools/cancel-withdraw/index.d.ts.map +1 -0
- package/dist/pools/cancel-withdraw/query.d.ts +21 -0
- package/dist/pools/cancel-withdraw/query.d.ts.map +1 -0
- package/dist/pools/cancel-withdraw/query.js +12 -0
- package/dist/pools/cancel-withdraw/query.js.map +1 -0
- package/dist/pools/cancel-withdraw/to-cancel-withdraw-result.d.ts +15 -0
- package/dist/pools/cancel-withdraw/to-cancel-withdraw-result.d.ts.map +1 -0
- package/dist/pools/cancel-withdraw/to-cancel-withdraw-result.js +11 -0
- package/dist/pools/cancel-withdraw/to-cancel-withdraw-result.js.map +1 -0
- package/dist/pools/claim/claim-profit.d.ts +78 -0
- package/dist/pools/claim/claim-profit.d.ts.map +1 -0
- package/dist/pools/claim/claim-profit.js +25 -0
- package/dist/pools/claim/claim-profit.js.map +1 -0
- package/dist/pools/claim/index.d.ts +5 -0
- package/dist/pools/claim/index.d.ts.map +1 -0
- package/dist/pools/claim/query.d.ts +27 -0
- package/dist/pools/claim/query.d.ts.map +1 -0
- package/dist/pools/claim/query.js +12 -0
- package/dist/pools/claim/query.js.map +1 -0
- package/dist/pools/claim/to-claim-request.d.ts +15 -0
- package/dist/pools/claim/to-claim-request.d.ts.map +1 -0
- package/dist/pools/claim/to-claim-request.js +13 -0
- package/dist/pools/claim/to-claim-request.js.map +1 -0
- package/dist/pools/claim/to-claim-result.d.ts +17 -0
- package/dist/pools/claim/to-claim-result.d.ts.map +1 -0
- package/dist/pools/claim/to-claim-result.js +14 -0
- package/dist/pools/claim/to-claim-result.js.map +1 -0
- package/dist/pools/claim-history/get-claim-history.d.ts +65 -0
- package/dist/pools/claim-history/get-claim-history.d.ts.map +1 -0
- package/dist/pools/claim-history/get-claim-history.js +27 -0
- package/dist/pools/claim-history/get-claim-history.js.map +1 -0
- package/dist/pools/claim-history/index.d.ts +4 -0
- package/dist/pools/claim-history/index.d.ts.map +1 -0
- package/dist/pools/claim-history/query.d.ts +40 -0
- package/dist/pools/claim-history/query.d.ts.map +1 -0
- package/dist/pools/claim-history/query.js +28 -0
- package/dist/pools/claim-history/query.js.map +1 -0
- package/dist/pools/claim-history/to-pool-claim.d.ts +23 -0
- package/dist/pools/claim-history/to-pool-claim.d.ts.map +1 -0
- package/dist/pools/claim-history/to-pool-claim.js +21 -0
- package/dist/pools/claim-history/to-pool-claim.js.map +1 -0
- package/dist/pools/deposit-address/get-deposit-address.d.ts +62 -0
- package/dist/pools/deposit-address/get-deposit-address.d.ts.map +1 -0
- package/dist/pools/deposit-address/get-deposit-address.js +27 -0
- package/dist/pools/deposit-address/get-deposit-address.js.map +1 -0
- package/dist/pools/deposit-address/index.d.ts +4 -0
- package/dist/pools/deposit-address/index.d.ts.map +1 -0
- package/dist/pools/deposit-address/query.d.ts +50 -0
- package/dist/pools/deposit-address/query.d.ts.map +1 -0
- package/dist/pools/deposit-address/query.js +26 -0
- package/dist/pools/deposit-address/query.js.map +1 -0
- package/dist/pools/deposit-address/to-market-deposit-address.d.ts +17 -0
- package/dist/pools/deposit-address/to-market-deposit-address.d.ts.map +1 -0
- package/dist/pools/deposit-address/to-market-deposit-address.js +15 -0
- package/dist/pools/deposit-address/to-market-deposit-address.js.map +1 -0
- package/dist/pools/index.d.ts +26 -0
- package/dist/pools/index.d.ts.map +1 -0
- package/dist/pools/listing-config/get-listing-config.d.ts +37 -0
- package/dist/pools/listing-config/get-listing-config.d.ts.map +1 -0
- package/dist/pools/listing-config/get-listing-config.js +21 -0
- package/dist/pools/listing-config/get-listing-config.js.map +1 -0
- package/dist/pools/listing-config/index.d.ts +4 -0
- package/dist/pools/listing-config/index.d.ts.map +1 -0
- package/dist/pools/listing-config/query.d.ts +36 -0
- package/dist/pools/listing-config/query.d.ts.map +1 -0
- package/dist/pools/listing-config/query.js +21 -0
- package/dist/pools/listing-config/query.js.map +1 -0
- package/dist/pools/listing-config/to-listing-config.d.ts +16 -0
- package/dist/pools/listing-config/to-listing-config.d.ts.map +1 -0
- package/dist/pools/listing-config/to-listing-config.js +26 -0
- package/dist/pools/listing-config/to-listing-config.js.map +1 -0
- package/dist/pools/listing-status/get-listing-status.d.ts +54 -0
- package/dist/pools/listing-status/get-listing-status.d.ts.map +1 -0
- package/dist/pools/listing-status/get-listing-status.js +24 -0
- package/dist/pools/listing-status/get-listing-status.js.map +1 -0
- package/dist/pools/listing-status/index.d.ts +4 -0
- package/dist/pools/listing-status/index.d.ts.map +1 -0
- package/dist/pools/listing-status/query.d.ts +43 -0
- package/dist/pools/listing-status/query.d.ts.map +1 -0
- package/dist/pools/listing-status/query.js +25 -0
- package/dist/pools/listing-status/query.js.map +1 -0
- package/dist/pools/listing-status/to-listing-status.d.ts +17 -0
- package/dist/pools/listing-status/to-listing-status.d.ts.map +1 -0
- package/dist/pools/listing-status/to-listing-status.js +16 -0
- package/dist/pools/listing-status/to-listing-status.js.map +1 -0
- package/dist/pools/market-config/get-listing-market-config.d.ts +72 -0
- package/dist/pools/market-config/get-listing-market-config.d.ts.map +1 -0
- package/dist/pools/market-config/get-listing-market-config.js +27 -0
- package/dist/pools/market-config/get-listing-market-config.js.map +1 -0
- package/dist/pools/market-config/index.d.ts +8 -0
- package/dist/pools/market-config/index.d.ts.map +1 -0
- package/dist/pools/market-config/project-listing-market-config.d.ts +45 -0
- package/dist/pools/market-config/project-listing-market-config.d.ts.map +1 -0
- package/dist/pools/market-config/project-listing-market-config.js +20 -0
- package/dist/pools/market-config/project-listing-market-config.js.map +1 -0
- package/dist/pools/market-config/query.d.ts +73 -0
- package/dist/pools/market-config/query.d.ts.map +1 -0
- package/dist/pools/market-config/query.js +33 -0
- package/dist/pools/market-config/query.js.map +1 -0
- package/dist/pools/market-config/to-listing-market-config.d.ts +18 -0
- package/dist/pools/market-config/to-listing-market-config.d.ts.map +1 -0
- package/dist/pools/market-config/to-listing-market-config.js +15 -0
- package/dist/pools/market-config/to-listing-market-config.js.map +1 -0
- package/dist/pools/market-config/to-update-listing-market-config-request.d.ts +20 -0
- package/dist/pools/market-config/to-update-listing-market-config-request.d.ts.map +1 -0
- package/dist/pools/market-config/to-update-listing-market-config-request.js +13 -0
- package/dist/pools/market-config/to-update-listing-market-config-request.js.map +1 -0
- package/dist/pools/market-config/types.d.ts +135 -0
- package/dist/pools/market-config/types.d.ts.map +1 -0
- package/dist/pools/market-config/types.js +15 -0
- package/dist/pools/market-config/types.js.map +1 -0
- package/dist/pools/market-config/update-listing-market-config.d.ts +103 -0
- package/dist/pools/market-config/update-listing-market-config.d.ts.map +1 -0
- package/dist/pools/market-config/update-listing-market-config.js +32 -0
- package/dist/pools/market-config/update-listing-market-config.js.map +1 -0
- package/dist/pools/market-detail/get-listing-market-detail.d.ts +51 -0
- package/dist/pools/market-detail/get-listing-market-detail.d.ts.map +1 -0
- package/dist/pools/market-detail/get-listing-market-detail.js +24 -0
- package/dist/pools/market-detail/get-listing-market-detail.js.map +1 -0
- package/dist/pools/market-detail/index.d.ts +5 -0
- package/dist/pools/market-detail/index.d.ts.map +1 -0
- package/dist/pools/market-detail/query.d.ts +31 -0
- package/dist/pools/market-detail/query.d.ts.map +1 -0
- package/dist/pools/market-detail/query.js +25 -0
- package/dist/pools/market-detail/query.js.map +1 -0
- package/dist/pools/market-detail/to-listing-market-detail.d.ts +11 -0
- package/dist/pools/market-detail/to-listing-market-detail.d.ts.map +1 -0
- package/dist/pools/market-detail/to-listing-market-detail.js +57 -0
- package/dist/pools/market-detail/to-listing-market-detail.js.map +1 -0
- package/dist/pools/market-detail/to-pool-positions.d.ts +23 -0
- package/dist/pools/market-detail/to-pool-positions.d.ts.map +1 -0
- package/dist/pools/market-detail/to-pool-positions.js +8 -0
- package/dist/pools/market-detail/to-pool-positions.js.map +1 -0
- package/dist/pools/markets/get-listing-markets.d.ts +65 -0
- package/dist/pools/markets/get-listing-markets.d.ts.map +1 -0
- package/dist/pools/markets/get-listing-markets.js +34 -0
- package/dist/pools/markets/get-listing-markets.js.map +1 -0
- package/dist/pools/markets/index.d.ts +5 -0
- package/dist/pools/markets/index.d.ts.map +1 -0
- package/dist/pools/markets/query.d.ts +36 -0
- package/dist/pools/markets/query.d.ts.map +1 -0
- package/dist/pools/markets/query.js +31 -0
- package/dist/pools/markets/query.js.map +1 -0
- package/dist/pools/markets/to-listing-market.d.ts +65 -0
- package/dist/pools/markets/to-listing-market.d.ts.map +1 -0
- package/dist/pools/markets/to-listing-market.js +76 -0
- package/dist/pools/markets/to-listing-market.js.map +1 -0
- package/dist/pools/markets/to-search-params.d.ts +36 -0
- package/dist/pools/markets/to-search-params.d.ts.map +1 -0
- package/dist/pools/markets/to-search-params.js +42 -0
- package/dist/pools/markets/to-search-params.js.map +1 -0
- package/dist/pools/profit/get-user-profit.d.ts +54 -0
- package/dist/pools/profit/get-user-profit.d.ts.map +1 -0
- package/dist/pools/profit/get-user-profit.js +24 -0
- package/dist/pools/profit/get-user-profit.js.map +1 -0
- package/dist/pools/profit/index.d.ts +4 -0
- package/dist/pools/profit/index.d.ts.map +1 -0
- package/dist/pools/profit/query.d.ts +41 -0
- package/dist/pools/profit/query.d.ts.map +1 -0
- package/dist/pools/profit/query.js +25 -0
- package/dist/pools/profit/query.js.map +1 -0
- package/dist/pools/profit/to-user-pool-profit.d.ts +27 -0
- package/dist/pools/profit/to-user-pool-profit.d.ts.map +1 -0
- package/dist/pools/profit/to-user-pool-profit.js +19 -0
- package/dist/pools/profit/to-user-pool-profit.js.map +1 -0
- package/dist/pools/quotes/get-pool-quotes.d.ts +72 -0
- package/dist/pools/quotes/get-pool-quotes.d.ts.map +1 -0
- package/dist/pools/quotes/get-pool-quotes.js +25 -0
- package/dist/pools/quotes/get-pool-quotes.js.map +1 -0
- package/dist/pools/quotes/index.d.ts +4 -0
- package/dist/pools/quotes/index.d.ts.map +1 -0
- package/dist/pools/quotes/query-document.d.ts +20 -0
- package/dist/pools/quotes/query-document.d.ts.map +1 -0
- package/dist/pools/quotes/query-document.js +7 -0
- package/dist/pools/quotes/query-document.js.map +1 -0
- package/dist/pools/quotes/query.d.ts +34 -0
- package/dist/pools/quotes/query.d.ts.map +1 -0
- package/dist/pools/quotes/query.js +28 -0
- package/dist/pools/quotes/query.js.map +1 -0
- package/dist/pools/quotes/to-pool-quote.d.ts +16 -0
- package/dist/pools/quotes/to-pool-quote.d.ts.map +1 -0
- package/dist/pools/quotes/to-pool-quote.js +42 -0
- package/dist/pools/quotes/to-pool-quote.js.map +1 -0
- package/dist/pools/refund/index.d.ts +5 -0
- package/dist/pools/refund/index.d.ts.map +1 -0
- package/dist/pools/refund/query.d.ts +25 -0
- package/dist/pools/refund/query.d.ts.map +1 -0
- package/dist/pools/refund/query.js +12 -0
- package/dist/pools/refund/query.js.map +1 -0
- package/dist/pools/refund/refund-market.d.ts +67 -0
- package/dist/pools/refund/refund-market.d.ts.map +1 -0
- package/dist/pools/refund/refund-market.js +25 -0
- package/dist/pools/refund/refund-market.js.map +1 -0
- package/dist/pools/refund/to-refund-request.d.ts +13 -0
- package/dist/pools/refund/to-refund-request.d.ts.map +1 -0
- package/dist/pools/refund/to-refund-request.js +12 -0
- package/dist/pools/refund/to-refund-request.js.map +1 -0
- package/dist/pools/refund/to-refund-result.d.ts +10 -0
- package/dist/pools/refund/to-refund-result.d.ts.map +1 -0
- package/dist/pools/refund/to-refund-result.js +8 -0
- package/dist/pools/refund/to-refund-result.js.map +1 -0
- package/dist/pools/resolve-listing.d.ts +46 -0
- package/dist/pools/resolve-listing.d.ts.map +1 -0
- package/dist/pools/resolve-listing.js +18 -0
- package/dist/pools/resolve-listing.js.map +1 -0
- package/dist/pools/resolve-pool-source.d.ts +18 -0
- package/dist/pools/resolve-pool-source.d.ts.map +1 -0
- package/dist/pools/resolve-pool-source.js +8 -0
- package/dist/pools/resolve-pool-source.js.map +1 -0
- package/dist/pools/retry-listing/get-retry-listing-info.d.ts +51 -0
- package/dist/pools/retry-listing/get-retry-listing-info.d.ts.map +1 -0
- package/dist/pools/retry-listing/get-retry-listing-info.js +27 -0
- package/dist/pools/retry-listing/get-retry-listing-info.js.map +1 -0
- package/dist/pools/retry-listing/index.d.ts +6 -0
- package/dist/pools/retry-listing/index.d.ts.map +1 -0
- package/dist/pools/retry-listing/query.d.ts +44 -0
- package/dist/pools/retry-listing/query.d.ts.map +1 -0
- package/dist/pools/retry-listing/query.js +33 -0
- package/dist/pools/retry-listing/query.js.map +1 -0
- package/dist/pools/retry-listing/retry-listing.d.ts +52 -0
- package/dist/pools/retry-listing/retry-listing.d.ts.map +1 -0
- package/dist/pools/retry-listing/retry-listing.js +27 -0
- package/dist/pools/retry-listing/retry-listing.js.map +1 -0
- package/dist/pools/retry-listing/to-retry-listing-info.d.ts +14 -0
- package/dist/pools/retry-listing/to-retry-listing-info.d.ts.map +1 -0
- package/dist/pools/retry-listing/to-retry-listing-info.js +12 -0
- package/dist/pools/retry-listing/to-retry-listing-info.js.map +1 -0
- package/dist/pools/retry-listing/to-retry-listing-result.d.ts +11 -0
- package/dist/pools/retry-listing/to-retry-listing-result.d.ts.map +1 -0
- package/dist/pools/retry-listing/to-retry-listing-result.js +12 -0
- package/dist/pools/retry-listing/to-retry-listing-result.js.map +1 -0
- package/dist/pools/rewards/get-pool-reward-chart.d.ts +49 -0
- package/dist/pools/rewards/get-pool-reward-chart.d.ts.map +1 -0
- package/dist/pools/rewards/get-pool-reward-chart.js +24 -0
- package/dist/pools/rewards/get-pool-reward-chart.js.map +1 -0
- package/dist/pools/rewards/get-pool-total-reward.d.ts +48 -0
- package/dist/pools/rewards/get-pool-total-reward.d.ts.map +1 -0
- package/dist/pools/rewards/get-pool-total-reward.js +25 -0
- package/dist/pools/rewards/get-pool-total-reward.js.map +1 -0
- package/dist/pools/rewards/get-user-reward-chart.d.ts +48 -0
- package/dist/pools/rewards/get-user-reward-chart.d.ts.map +1 -0
- package/dist/pools/rewards/get-user-reward-chart.js +24 -0
- package/dist/pools/rewards/get-user-reward-chart.js.map +1 -0
- package/dist/pools/rewards/get-user-total-reward.d.ts +54 -0
- package/dist/pools/rewards/get-user-total-reward.d.ts.map +1 -0
- package/dist/pools/rewards/get-user-total-reward.js +27 -0
- package/dist/pools/rewards/get-user-total-reward.js.map +1 -0
- package/dist/pools/rewards/index.d.ts +7 -0
- package/dist/pools/rewards/index.d.ts.map +1 -0
- package/dist/pools/rewards/query.d.ts +150 -0
- package/dist/pools/rewards/query.d.ts.map +1 -0
- package/dist/pools/rewards/query.js +83 -0
- package/dist/pools/rewards/query.js.map +1 -0
- package/dist/pools/rewards/to-pool-reward-point.d.ts +28 -0
- package/dist/pools/rewards/to-pool-reward-point.d.ts.map +1 -0
- package/dist/pools/rewards/to-pool-reward-point.js +19 -0
- package/dist/pools/rewards/to-pool-reward-point.js.map +1 -0
- package/dist/pools/trade-history/get-pool-trade-history.d.ts +52 -0
- package/dist/pools/trade-history/get-pool-trade-history.d.ts.map +1 -0
- package/dist/pools/trade-history/get-pool-trade-history.js +27 -0
- package/dist/pools/trade-history/get-pool-trade-history.js.map +1 -0
- package/dist/pools/trade-history/index.d.ts +3 -0
- package/dist/pools/trade-history/index.d.ts.map +1 -0
- package/dist/pools/trade-history/query-document.d.ts +20 -0
- package/dist/pools/trade-history/query-document.d.ts.map +1 -0
- package/dist/pools/trade-history/query-document.js +7 -0
- package/dist/pools/trade-history/query-document.js.map +1 -0
- package/dist/pools/trade-history/query.d.ts +34 -0
- package/dist/pools/trade-history/query.d.ts.map +1 -0
- package/dist/pools/trade-history/query.js +28 -0
- package/dist/pools/trade-history/query.js.map +1 -0
- package/dist/pools/transactions/get-pool-transactions.d.ts +47 -0
- package/dist/pools/transactions/get-pool-transactions.d.ts.map +1 -0
- package/dist/pools/transactions/get-pool-transactions.js +24 -0
- package/dist/pools/transactions/get-pool-transactions.js.map +1 -0
- package/dist/pools/transactions/index.d.ts +4 -0
- package/dist/pools/transactions/index.d.ts.map +1 -0
- package/dist/pools/transactions/query.d.ts +31 -0
- package/dist/pools/transactions/query.d.ts.map +1 -0
- package/dist/pools/transactions/query.js +27 -0
- package/dist/pools/transactions/query.js.map +1 -0
- package/dist/pools/transactions/to-pool-transaction.d.ts +18 -0
- package/dist/pools/transactions/to-pool-transaction.d.ts.map +1 -0
- package/dist/pools/transactions/to-pool-transaction.js +29 -0
- package/dist/pools/transactions/to-pool-transaction.js.map +1 -0
- package/dist/pools/types/generated/listing-backend.d.ts +1319 -0
- package/dist/pools/types/generated/listing-backend.d.ts.map +1 -0
- package/dist/pools/types/generated/listing-backend.js +85 -0
- package/dist/pools/types/generated/listing-backend.js.map +1 -0
- package/dist/pools/types.d.ts +789 -0
- package/dist/pools/types.d.ts.map +1 -0
- package/dist/pools/types.js +16 -0
- package/dist/pools/types.js.map +1 -0
- package/dist/pools/user-markets/get-user-listing-markets.d.ts +74 -0
- package/dist/pools/user-markets/get-user-listing-markets.d.ts.map +1 -0
- package/dist/pools/user-markets/get-user-listing-markets.js +35 -0
- package/dist/pools/user-markets/get-user-listing-markets.js.map +1 -0
- package/dist/pools/user-markets/index.d.ts +4 -0
- package/dist/pools/user-markets/index.d.ts.map +1 -0
- package/dist/pools/user-markets/query.d.ts +41 -0
- package/dist/pools/user-markets/query.d.ts.map +1 -0
- package/dist/pools/user-markets/query.js +32 -0
- package/dist/pools/user-markets/query.js.map +1 -0
- package/dist/pools/user-markets/to-user-listing-market.d.ts +32 -0
- package/dist/pools/user-markets/to-user-listing-market.d.ts.map +1 -0
- package/dist/pools/user-markets/to-user-listing-market.js +22 -0
- package/dist/pools/user-markets/to-user-listing-market.js.map +1 -0
- package/dist/pools/user-transactions/get-user-transactions.d.ts +59 -0
- package/dist/pools/user-transactions/get-user-transactions.d.ts.map +1 -0
- package/dist/pools/user-transactions/get-user-transactions.js +28 -0
- package/dist/pools/user-transactions/get-user-transactions.js.map +1 -0
- package/dist/pools/user-transactions/index.d.ts +4 -0
- package/dist/pools/user-transactions/index.d.ts.map +1 -0
- package/dist/pools/user-transactions/query.d.ts +40 -0
- package/dist/pools/user-transactions/query.d.ts.map +1 -0
- package/dist/pools/user-transactions/query.js +29 -0
- package/dist/pools/user-transactions/query.js.map +1 -0
- package/dist/pools/user-transactions/to-user-transaction.d.ts +25 -0
- package/dist/pools/user-transactions/to-user-transaction.d.ts.map +1 -0
- package/dist/pools/user-transactions/to-user-transaction.js +29 -0
- package/dist/pools/user-transactions/to-user-transaction.js.map +1 -0
- package/dist/pools/weekly-limit/get-weekly-listing-limit.d.ts +36 -0
- package/dist/pools/weekly-limit/get-weekly-listing-limit.d.ts.map +1 -0
- package/dist/pools/weekly-limit/get-weekly-listing-limit.js +21 -0
- package/dist/pools/weekly-limit/get-weekly-listing-limit.js.map +1 -0
- package/dist/pools/weekly-limit/index.d.ts +4 -0
- package/dist/pools/weekly-limit/index.d.ts.map +1 -0
- package/dist/pools/weekly-limit/query.d.ts +36 -0
- package/dist/pools/weekly-limit/query.d.ts.map +1 -0
- package/dist/pools/weekly-limit/query.js +21 -0
- package/dist/pools/weekly-limit/query.js.map +1 -0
- package/dist/pools/weekly-limit/to-weekly-limit.d.ts +14 -0
- package/dist/pools/weekly-limit/to-weekly-limit.d.ts.map +1 -0
- package/dist/pools/weekly-limit/to-weekly-limit.js +12 -0
- package/dist/pools/weekly-limit/to-weekly-limit.js.map +1 -0
- package/dist/pools/withdraw/index.d.ts +4 -0
- package/dist/pools/withdraw/index.d.ts.map +1 -0
- package/dist/pools/withdraw/query.d.ts +26 -0
- package/dist/pools/withdraw/query.d.ts.map +1 -0
- package/dist/pools/withdraw/query.js +12 -0
- package/dist/pools/withdraw/query.js.map +1 -0
- package/dist/pools/withdraw/to-withdraw-request.d.ts +16 -0
- package/dist/pools/withdraw/to-withdraw-request.d.ts.map +1 -0
- package/dist/pools/withdraw/to-withdraw-request.js +13 -0
- package/dist/pools/withdraw/to-withdraw-request.js.map +1 -0
- package/dist/pools/withdraw/withdraw-lp.d.ts +73 -0
- package/dist/pools/withdraw/withdraw-lp.d.ts.map +1 -0
- package/dist/pools/withdraw/withdraw-lp.js +24 -0
- package/dist/pools/withdraw/withdraw-lp.js.map +1 -0
- package/dist/price-service/adapters/binance-mark-prices.d.ts +41 -0
- package/dist/price-service/adapters/binance-mark-prices.d.ts.map +1 -0
- package/dist/price-service/adapters/binance-mark-prices.js +38 -0
- package/dist/price-service/adapters/binance-mark-prices.js.map +1 -0
- package/dist/price-service/adapters/enigma-mark-prices.d.ts +44 -0
- package/dist/price-service/adapters/enigma-mark-prices.d.ts.map +1 -0
- package/dist/price-service/adapters/enigma-mark-prices.js +25 -0
- package/dist/price-service/adapters/enigma-mark-prices.js.map +1 -0
- package/dist/price-service/adapters/index.d.ts +8 -0
- package/dist/price-service/adapters/index.d.ts.map +1 -0
- package/dist/price-service/assert-price-service-provider.d.ts +19 -0
- package/dist/price-service/assert-price-service-provider.d.ts.map +1 -0
- package/dist/price-service/assert-price-service-provider.js +9 -0
- package/dist/price-service/assert-price-service-provider.js.map +1 -0
- package/dist/price-service/binance/client.d.ts +37 -0
- package/dist/price-service/binance/client.d.ts.map +1 -0
- package/dist/price-service/binance/client.js +30 -0
- package/dist/price-service/binance/client.js.map +1 -0
- package/dist/price-service/binance/health/get-binance-health.d.ts +25 -0
- package/dist/price-service/binance/health/get-binance-health.d.ts.map +1 -0
- package/dist/price-service/binance/health/get-binance-health.js +24 -0
- package/dist/price-service/binance/health/get-binance-health.js.map +1 -0
- package/dist/price-service/binance/health/index.d.ts +3 -0
- package/dist/price-service/binance/health/index.d.ts.map +1 -0
- package/dist/price-service/binance/health/query.d.ts +17 -0
- package/dist/price-service/binance/health/query.d.ts.map +1 -0
- package/dist/price-service/binance/health/query.js +24 -0
- package/dist/price-service/binance/health/query.js.map +1 -0
- package/dist/price-service/binance/index.d.ts +5 -0
- package/dist/price-service/binance/index.d.ts.map +1 -0
- package/dist/price-service/binance/premium-index/get-binance-premium-index.d.ts +39 -0
- package/dist/price-service/binance/premium-index/get-binance-premium-index.d.ts.map +1 -0
- package/dist/price-service/binance/premium-index/get-binance-premium-index.js +25 -0
- package/dist/price-service/binance/premium-index/get-binance-premium-index.js.map +1 -0
- package/dist/price-service/binance/premium-index/index.d.ts +3 -0
- package/dist/price-service/binance/premium-index/index.d.ts.map +1 -0
- package/dist/price-service/binance/premium-index/query.d.ts +28 -0
- package/dist/price-service/binance/premium-index/query.d.ts.map +1 -0
- package/dist/price-service/binance/premium-index/query.js +25 -0
- package/dist/price-service/binance/premium-index/query.js.map +1 -0
- package/dist/price-service/binance/symbols-info/get-binance-symbols-info.d.ts +29 -0
- package/dist/price-service/binance/symbols-info/get-binance-symbols-info.d.ts.map +1 -0
- package/dist/price-service/binance/symbols-info/get-binance-symbols-info.js +25 -0
- package/dist/price-service/binance/symbols-info/get-binance-symbols-info.js.map +1 -0
- package/dist/price-service/binance/symbols-info/index.d.ts +3 -0
- package/dist/price-service/binance/symbols-info/index.d.ts.map +1 -0
- package/dist/price-service/binance/symbols-info/query.d.ts +17 -0
- package/dist/price-service/binance/symbols-info/query.d.ts.map +1 -0
- package/dist/price-service/binance/symbols-info/query.js +26 -0
- package/dist/price-service/binance/symbols-info/query.js.map +1 -0
- package/dist/price-service/binance/types.d.ts +104 -0
- package/dist/price-service/binance/types.d.ts.map +1 -0
- package/dist/price-service/enigma/types/generated/enigma-price-service.js +4 -4
- package/dist/price-service/enigma/types/generated/enigma-price-service.js.map +1 -1
- package/dist/price-service/get-mark-prices/get-mark-prices.d.ts +45 -0
- package/dist/price-service/get-mark-prices/get-mark-prices.d.ts.map +1 -0
- package/dist/price-service/get-mark-prices/get-mark-prices.js +37 -0
- package/dist/price-service/get-mark-prices/get-mark-prices.js.map +1 -0
- package/dist/price-service/get-mark-prices/index.d.ts +3 -0
- package/dist/price-service/get-mark-prices/index.d.ts.map +1 -0
- package/dist/price-service/get-mark-prices/query.d.ts +36 -0
- package/dist/price-service/get-mark-prices/query.d.ts.map +1 -0
- package/dist/price-service/get-mark-prices/query.js +25 -0
- package/dist/price-service/get-mark-prices/query.js.map +1 -0
- package/dist/price-service/index.d.ts +11 -0
- package/dist/price-service/index.d.ts.map +1 -1
- package/dist/price-service/resolve-price-service.d.ts +33 -0
- package/dist/price-service/resolve-price-service.d.ts.map +1 -0
- package/dist/price-service/resolve-price-service.js +18 -0
- package/dist/price-service/resolve-price-service.js.map +1 -0
- package/dist/price-service/types.d.ts +87 -0
- package/dist/price-service/types.d.ts.map +1 -0
- package/dist/quotes/apply-notification.d.ts +57 -0
- package/dist/quotes/apply-notification.d.ts.map +1 -1
- package/dist/quotes/apply-notification.js +39 -22
- package/dist/quotes/apply-notification.js.map +1 -1
- package/dist/quotes/close-planning/index.d.ts +5 -0
- package/dist/quotes/close-planning/index.d.ts.map +1 -0
- package/dist/quotes/close-planning/min-remaining-quantity.d.ts +26 -0
- package/dist/quotes/close-planning/min-remaining-quantity.d.ts.map +1 -0
- package/dist/quotes/close-planning/min-remaining-quantity.js +12 -0
- package/dist/quotes/close-planning/min-remaining-quantity.js.map +1 -0
- package/dist/quotes/close-planning/plan-group-close/index.d.ts +2 -0
- package/dist/quotes/close-planning/plan-group-close/index.d.ts.map +1 -0
- package/dist/quotes/close-planning/plan-group-close/plan-group-close.d.ts +32 -0
- package/dist/quotes/close-planning/plan-group-close/plan-group-close.d.ts.map +1 -0
- package/dist/quotes/close-planning/plan-group-close/plan-group-close.js +60 -0
- package/dist/quotes/close-planning/plan-group-close/plan-group-close.js.map +1 -0
- package/dist/quotes/close-planning/to-close-candidates.d.ts +17 -0
- package/dist/quotes/close-planning/to-close-candidates.d.ts.map +1 -0
- package/dist/quotes/close-planning/to-close-candidates.js +16 -0
- package/dist/quotes/close-planning/to-close-candidates.js.map +1 -0
- package/dist/quotes/close-planning/types.d.ts +52 -0
- package/dist/quotes/close-planning/types.d.ts.map +1 -0
- package/dist/quotes/get-quote-events-by-type/types.d.ts +10 -0
- package/dist/quotes/get-quote-events-by-type/types.d.ts.map +1 -1
- package/dist/quotes/get-quote-events-by-type/types.js +2 -2
- package/dist/quotes/get-quote-events-by-type/types.js.map +1 -1
- package/dist/quotes/get-quote-funding/get-quote-funding.d.ts +26 -4
- package/dist/quotes/get-quote-funding/get-quote-funding.d.ts.map +1 -1
- package/dist/quotes/get-quote-funding/get-quote-funding.js +19 -10
- package/dist/quotes/get-quote-funding/get-quote-funding.js.map +1 -1
- package/dist/quotes/get-quote-funding/query-document.d.ts +1 -0
- package/dist/quotes/get-quote-funding/query-document.d.ts.map +1 -1
- package/dist/quotes/get-quote-funding/query-document.js +1 -1
- package/dist/quotes/get-quote-funding/query-document.js.map +1 -1
- package/dist/quotes/get-quote-funding/query.d.ts +2 -2
- package/dist/quotes/get-quote-funding/query.d.ts.map +1 -1
- package/dist/quotes/get-quote-funding/query.js +12 -11
- package/dist/quotes/get-quote-funding/query.js.map +1 -1
- package/dist/quotes/get-quote-funding/to-funding-row.d.ts +3 -2
- package/dist/quotes/get-quote-funding/to-funding-row.d.ts.map +1 -1
- package/dist/quotes/get-quote-funding/to-funding-row.js +1 -1
- package/dist/quotes/get-quote-funding/to-funding-row.js.map +1 -1
- package/dist/quotes/get-quote-funding/types.d.ts +9 -5
- package/dist/quotes/get-quote-funding/types.d.ts.map +1 -1
- package/dist/quotes/get-quote-history/get-quote-history.d.ts +11 -3
- package/dist/quotes/get-quote-history/get-quote-history.d.ts.map +1 -1
- package/dist/quotes/get-quote-history/get-quote-history.js +23 -18
- package/dist/quotes/get-quote-history/get-quote-history.js.map +1 -1
- package/dist/quotes/get-quote-history/query.d.ts.map +1 -1
- package/dist/quotes/get-quote-history/query.js +1 -0
- package/dist/quotes/get-quote-history/query.js.map +1 -1
- package/dist/quotes/get-quote-history/to-history-row.js.map +1 -1
- package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.d.ts +76 -0
- package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.d.ts.map +1 -0
- package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.js +31 -0
- package/dist/quotes/get-quotes-events-by-type/get-quotes-events-by-type.js.map +1 -0
- package/dist/quotes/get-quotes-events-by-type/index.d.ts +3 -0
- package/dist/quotes/get-quotes-events-by-type/index.d.ts.map +1 -0
- package/dist/quotes/get-quotes-events-by-type/query-document.d.ts +20 -0
- package/dist/quotes/get-quotes-events-by-type/query-document.d.ts.map +1 -0
- package/dist/quotes/get-quotes-events-by-type/query-document.js +7 -0
- package/dist/quotes/get-quotes-events-by-type/query-document.js.map +1 -0
- package/dist/quotes/get-quotes-events-by-type/query.d.ts +46 -0
- package/dist/quotes/get-quotes-events-by-type/query.d.ts.map +1 -0
- package/dist/quotes/get-quotes-events-by-type/query.js +33 -0
- package/dist/quotes/get-quotes-events-by-type/query.js.map +1 -0
- package/dist/quotes/get-sub-account-quotes/get-sub-account-quotes.d.ts +2 -2
- package/dist/quotes/get-sub-account-quotes/get-sub-account-quotes.d.ts.map +1 -1
- package/dist/quotes/get-sub-account-quotes/get-sub-account-quotes.js +22 -20
- package/dist/quotes/get-sub-account-quotes/get-sub-account-quotes.js.map +1 -1
- package/dist/quotes/get-sub-account-quotes/query.d.ts.map +1 -1
- package/dist/quotes/get-sub-account-quotes/query.js +1 -0
- package/dist/quotes/get-sub-account-quotes/query.js.map +1 -1
- package/dist/quotes/grouping/aggregate-group-funding.d.ts +109 -0
- package/dist/quotes/grouping/aggregate-group-funding.d.ts.map +1 -0
- package/dist/quotes/grouping/aggregate-group-funding.js +29 -0
- package/dist/quotes/grouping/aggregate-group-funding.js.map +1 -0
- package/dist/quotes/grouping/aggregate-group-upnl.d.ts +143 -0
- package/dist/quotes/grouping/aggregate-group-upnl.d.ts.map +1 -0
- package/dist/quotes/grouping/aggregate-group-upnl.js +38 -0
- package/dist/quotes/grouping/aggregate-group-upnl.js.map +1 -0
- package/dist/quotes/grouping/aggregate-metrics.d.ts +8 -5
- package/dist/quotes/grouping/aggregate-metrics.d.ts.map +1 -1
- package/dist/quotes/grouping/aggregate-metrics.js +26 -24
- package/dist/quotes/grouping/aggregate-metrics.js.map +1 -1
- package/dist/quotes/grouping/group-quotes.d.ts +10 -1
- package/dist/quotes/grouping/group-quotes.d.ts.map +1 -1
- package/dist/quotes/grouping/group-quotes.js.map +1 -1
- package/dist/quotes/grouping/group-strategy.d.ts +86 -7
- package/dist/quotes/grouping/group-strategy.d.ts.map +1 -1
- package/dist/quotes/grouping/group-strategy.js +21 -16
- package/dist/quotes/grouping/group-strategy.js.map +1 -1
- package/dist/quotes/grouping/index.d.ts +2 -0
- package/dist/quotes/grouping/index.d.ts.map +1 -1
- package/dist/quotes/grouping/partition-quotes.d.ts +3 -3
- package/dist/quotes/grouping/partition-quotes.d.ts.map +1 -1
- package/dist/quotes/grouping/partition-quotes.js +1 -2
- package/dist/quotes/grouping/partition-quotes.js.map +1 -1
- package/dist/quotes/grouping/quote-group.d.ts +35 -21
- package/dist/quotes/grouping/quote-group.d.ts.map +1 -1
- package/dist/quotes/index.d.ts +4 -0
- package/dist/quotes/index.d.ts.map +1 -1
- package/dist/quotes/liquidation/calculate-liquidation-price.js +10 -10
- package/dist/quotes/liquidation/calculate-liquidation-price.js.map +1 -1
- package/dist/quotes/open-price.d.ts +51 -0
- package/dist/quotes/open-price.d.ts.map +1 -0
- package/dist/quotes/open-price.js +17 -0
- package/dist/quotes/open-price.js.map +1 -0
- package/dist/quotes/open-quantity.d.ts +6 -0
- package/dist/quotes/open-quantity.d.ts.map +1 -1
- package/dist/quotes/open-quantity.js.map +1 -1
- package/dist/quotes/quote-id-key-part.d.ts +19 -0
- package/dist/quotes/quote-id-key-part.d.ts.map +1 -0
- package/dist/quotes/quote-id-key-part.js +8 -0
- package/dist/quotes/quote-id-key-part.js.map +1 -0
- package/dist/quotes/reconcile-quotes.d.ts +12 -1
- package/dist/quotes/reconcile-quotes.d.ts.map +1 -1
- package/dist/quotes/reconcile-quotes.js +50 -42
- package/dist/quotes/reconcile-quotes.js.map +1 -1
- package/dist/quotes/resolve-quote-accounts.d.ts +1 -1
- package/dist/quotes/resolve-quote-accounts.d.ts.map +1 -1
- package/dist/quotes/resolve-quote-accounts.js.map +1 -1
- package/dist/quotes/should-accelerate.d.ts +10 -7
- package/dist/quotes/should-accelerate.d.ts.map +1 -1
- package/dist/quotes/should-accelerate.js +2 -7
- package/dist/quotes/should-accelerate.js.map +1 -1
- package/dist/quotes/to-unified-quote.d.ts +6 -4
- package/dist/quotes/to-unified-quote.d.ts.map +1 -1
- package/dist/quotes/to-unified-quote.js +1 -3
- package/dist/quotes/to-unified-quote.js.map +1 -1
- package/dist/quotes/unified-quote.d.ts +26 -11
- package/dist/quotes/unified-quote.d.ts.map +1 -1
- package/dist/quotes/unified-quote.js +1 -1
- package/dist/quotes/unified-quote.js.map +1 -1
- package/dist/quotes/upnl/calculate-quote-leverage.d.ts +5 -1
- package/dist/quotes/upnl/calculate-quote-leverage.d.ts.map +1 -1
- package/dist/quotes/upnl/calculate-quote-leverage.js +9 -8
- package/dist/quotes/upnl/calculate-quote-leverage.js.map +1 -1
- package/dist/quotes/upnl/calculate-quote-upnl-wei.d.ts +39 -0
- package/dist/quotes/upnl/calculate-quote-upnl-wei.d.ts.map +1 -0
- package/dist/quotes/upnl/calculate-quote-upnl-wei.js +11 -0
- package/dist/quotes/upnl/calculate-quote-upnl-wei.js.map +1 -0
- package/dist/quotes/upnl/index.d.ts +1 -0
- package/dist/quotes/upnl/index.d.ts.map +1 -1
- package/dist/shared/types/properties.d.ts +17 -1
- package/dist/shared/types/properties.d.ts.map +1 -1
- package/dist/shared/utils/percent.d.ts +17 -0
- package/dist/shared/utils/percent.d.ts.map +1 -0
- package/dist/shared/utils/percent.js +9 -0
- package/dist/shared/utils/percent.js.map +1 -0
- package/dist/shared/utils/price.d.ts +22 -0
- package/dist/shared/utils/price.d.ts.map +1 -0
- package/dist/shared/utils/price.js +15 -0
- package/dist/shared/utils/price.js.map +1 -0
- package/dist/shared/utils/query.d.ts.map +1 -1
- package/dist/shared/utils/query.js +2 -1
- package/dist/shared/utils/query.js.map +1 -1
- package/dist/shared/utils/wei.d.ts +26 -0
- package/dist/shared/utils/wei.d.ts.map +1 -1
- package/dist/shared/utils/wei.js +4 -1
- package/dist/shared/utils/wei.js.map +1 -1
- package/dist/solvers/add-solver-whitelist/add-solver-whitelist.d.ts +27 -0
- package/dist/solvers/add-solver-whitelist/add-solver-whitelist.d.ts.map +1 -0
- package/dist/solvers/add-solver-whitelist/add-solver-whitelist.js +25 -0
- package/dist/solvers/add-solver-whitelist/add-solver-whitelist.js.map +1 -0
- package/dist/solvers/add-solver-whitelist/index.d.ts +3 -0
- package/dist/solvers/add-solver-whitelist/index.d.ts.map +1 -0
- package/dist/solvers/add-solver-whitelist/query.d.ts +19 -0
- package/dist/solvers/add-solver-whitelist/query.d.ts.map +1 -0
- package/dist/solvers/add-solver-whitelist/query.js +12 -0
- package/dist/solvers/add-solver-whitelist/query.js.map +1 -0
- package/dist/solvers/assert-solver-kind.d.ts +15 -0
- package/dist/solvers/assert-solver-kind.d.ts.map +1 -0
- package/dist/solvers/assert-solver-kind.js +9 -0
- package/dist/solvers/assert-solver-kind.js.map +1 -0
- package/dist/solvers/capabilities.d.ts +56 -0
- package/dist/solvers/capabilities.d.ts.map +1 -0
- package/dist/solvers/capabilities.js +30 -0
- package/dist/solvers/capabilities.js.map +1 -0
- package/dist/solvers/error-codes/get-solver-error-codes.d.ts +2 -2
- package/dist/solvers/error-codes/get-solver-error-codes.d.ts.map +1 -1
- package/dist/solvers/error-codes/get-solver-error-codes.js +4 -2
- package/dist/solvers/error-codes/get-solver-error-codes.js.map +1 -1
- package/dist/solvers/error-codes/query.d.ts.map +1 -1
- package/dist/solvers/error-codes/query.js +4 -1
- package/dist/solvers/error-codes/query.js.map +1 -1
- package/dist/solvers/estimated-price/get-estimated-price.d.ts +2 -2
- package/dist/solvers/estimated-price/get-estimated-price.d.ts.map +1 -1
- package/dist/solvers/estimated-price/get-estimated-price.js +20 -15
- package/dist/solvers/estimated-price/get-estimated-price.js.map +1 -1
- package/dist/solvers/estimated-price/index.d.ts +1 -0
- package/dist/solvers/estimated-price/index.d.ts.map +1 -1
- package/dist/solvers/estimated-price/query.d.ts.map +1 -1
- package/dist/solvers/estimated-price/query.js +1 -0
- package/dist/solvers/estimated-price/query.js.map +1 -1
- package/dist/solvers/estimated-price/supports-estimated-price.d.ts +33 -0
- package/dist/solvers/estimated-price/supports-estimated-price.d.ts.map +1 -0
- package/dist/solvers/estimated-price/supports-estimated-price.js +13 -0
- package/dist/solvers/estimated-price/supports-estimated-price.js.map +1 -0
- package/dist/solvers/force-close/force-close-auto.d.ts +53 -0
- package/dist/solvers/force-close/force-close-auto.d.ts.map +1 -0
- package/dist/solvers/force-close/force-close-auto.js +80 -0
- package/dist/solvers/force-close/force-close-auto.js.map +1 -0
- package/dist/solvers/force-close/force-close-math.d.ts +93 -0
- package/dist/solvers/force-close/force-close-math.d.ts.map +1 -0
- package/dist/solvers/force-close/force-close-math.js +58 -0
- package/dist/solvers/force-close/force-close-math.js.map +1 -0
- package/dist/solvers/force-close/force-close-position.d.ts +45 -0
- package/dist/solvers/force-close/force-close-position.d.ts.map +1 -0
- package/dist/solvers/force-close/force-close-position.js +22 -0
- package/dist/solvers/force-close/force-close-position.js.map +1 -0
- package/dist/solvers/force-close/get-force-close-params.d.ts +32 -0
- package/dist/solvers/force-close/get-force-close-params.d.ts.map +1 -0
- package/dist/solvers/force-close/get-force-close-params.js +41 -0
- package/dist/solvers/force-close/get-force-close-params.js.map +1 -0
- package/dist/solvers/force-close/index.d.ts +7 -0
- package/dist/solvers/force-close/index.d.ts.map +1 -0
- package/dist/solvers/force-close/query.d.ts +60 -0
- package/dist/solvers/force-close/query.d.ts.map +1 -0
- package/dist/solvers/force-close/query.js +38 -0
- package/dist/solvers/force-close/query.js.map +1 -0
- package/dist/solvers/force-close/types.d.ts +37 -0
- package/dist/solvers/force-close/types.d.ts.map +1 -0
- package/dist/solvers/funding-info/get-funding-info.d.ts +2 -2
- package/dist/solvers/funding-info/get-funding-info.d.ts.map +1 -1
- package/dist/solvers/funding-info/get-funding-info.js +4 -2
- package/dist/solvers/funding-info/get-funding-info.js.map +1 -1
- package/dist/solvers/funding-info/query.d.ts.map +1 -1
- package/dist/solvers/funding-info/query.js +1 -0
- package/dist/solvers/funding-info/query.js.map +1 -1
- package/dist/solvers/get-error-message/get-error-message.d.ts +22 -0
- package/dist/solvers/get-error-message/get-error-message.d.ts.map +1 -0
- package/dist/solvers/get-error-message/get-error-message.js +24 -0
- package/dist/solvers/get-error-message/get-error-message.js.map +1 -0
- package/dist/solvers/get-error-message/index.d.ts +3 -0
- package/dist/solvers/get-error-message/index.d.ts.map +1 -0
- package/dist/solvers/get-error-message/query.d.ts +29 -0
- package/dist/solvers/get-error-message/query.d.ts.map +1 -0
- package/dist/solvers/get-error-message/query.js +25 -0
- package/dist/solvers/get-error-message/query.js.map +1 -0
- package/dist/solvers/get-party-a-upnl/get-party-a-upnl.d.ts +21 -0
- package/dist/solvers/get-party-a-upnl/get-party-a-upnl.d.ts.map +1 -0
- package/dist/solvers/get-party-a-upnl/get-party-a-upnl.js +24 -0
- package/dist/solvers/get-party-a-upnl/get-party-a-upnl.js.map +1 -0
- package/dist/solvers/get-party-a-upnl/index.d.ts +3 -0
- package/dist/solvers/get-party-a-upnl/index.d.ts.map +1 -0
- package/dist/solvers/get-party-a-upnl/query.d.ts +29 -0
- package/dist/solvers/get-party-a-upnl/query.d.ts.map +1 -0
- package/dist/solvers/get-party-a-upnl/query.js +25 -0
- package/dist/solvers/get-party-a-upnl/query.js.map +1 -0
- package/dist/solvers/get-solver-balance-info/get-solver-balance-info.d.ts +25 -0
- package/dist/solvers/get-solver-balance-info/get-solver-balance-info.d.ts.map +1 -0
- package/dist/solvers/get-solver-balance-info/get-solver-balance-info.js +25 -0
- package/dist/solvers/get-solver-balance-info/get-solver-balance-info.js.map +1 -0
- package/dist/solvers/get-solver-balance-info/index.d.ts +3 -0
- package/dist/solvers/get-solver-balance-info/index.d.ts.map +1 -0
- package/dist/solvers/get-solver-balance-info/query.d.ts +29 -0
- package/dist/solvers/get-solver-balance-info/query.d.ts.map +1 -0
- package/dist/solvers/get-solver-balance-info/query.js +26 -0
- package/dist/solvers/get-solver-balance-info/query.js.map +1 -0
- package/dist/solvers/get-solver-open-interest/get-solver-open-interest.d.ts +19 -0
- package/dist/solvers/get-solver-open-interest/get-solver-open-interest.d.ts.map +1 -0
- package/dist/solvers/get-solver-open-interest/get-solver-open-interest.js +24 -0
- package/dist/solvers/get-solver-open-interest/get-solver-open-interest.js.map +1 -0
- package/dist/solvers/get-solver-open-interest/index.d.ts +3 -0
- package/dist/solvers/get-solver-open-interest/index.d.ts.map +1 -0
- package/dist/solvers/get-solver-open-interest/query.d.ts +29 -0
- package/dist/solvers/get-solver-open-interest/query.d.ts.map +1 -0
- package/dist/solvers/get-solver-open-interest/query.js +24 -0
- package/dist/solvers/get-solver-open-interest/query.js.map +1 -0
- package/dist/solvers/get-solver-price-range/get-solver-price-range.d.ts +22 -0
- package/dist/solvers/get-solver-price-range/get-solver-price-range.d.ts.map +1 -0
- package/dist/solvers/get-solver-price-range/get-solver-price-range.js +24 -0
- package/dist/solvers/get-solver-price-range/get-solver-price-range.js.map +1 -0
- package/dist/solvers/get-solver-price-range/index.d.ts +3 -0
- package/dist/solvers/get-solver-price-range/index.d.ts.map +1 -0
- package/dist/solvers/get-solver-price-range/query.d.ts +29 -0
- package/dist/solvers/get-solver-price-range/query.d.ts.map +1 -0
- package/dist/solvers/get-solver-price-range/query.js +25 -0
- package/dist/solvers/get-solver-price-range/query.js.map +1 -0
- package/dist/solvers/get-solver-readiness/get-solver-readiness.d.ts +18 -0
- package/dist/solvers/get-solver-readiness/get-solver-readiness.d.ts.map +1 -0
- package/dist/solvers/get-solver-readiness/get-solver-readiness.js +24 -0
- package/dist/solvers/get-solver-readiness/get-solver-readiness.js.map +1 -0
- package/dist/solvers/get-solver-readiness/index.d.ts +3 -0
- package/dist/solvers/get-solver-readiness/index.d.ts.map +1 -0
- package/dist/solvers/get-solver-readiness/query.d.ts +29 -0
- package/dist/solvers/get-solver-readiness/query.d.ts.map +1 -0
- package/dist/solvers/get-solver-readiness/query.js +24 -0
- package/dist/solvers/get-solver-readiness/query.js.map +1 -0
- package/dist/solvers/instant-close/get-instant-closes/get-instant-closes.d.ts +2 -2
- package/dist/solvers/instant-close/get-instant-closes/get-instant-closes.d.ts.map +1 -1
- package/dist/solvers/instant-close/get-instant-closes/get-instant-closes.js +4 -1
- package/dist/solvers/instant-close/get-instant-closes/get-instant-closes.js.map +1 -1
- package/dist/solvers/instant-close/get-instant-closes/query.d.ts.map +1 -1
- package/dist/solvers/instant-close/get-instant-closes/query.js +1 -0
- package/dist/solvers/instant-close/get-instant-closes/query.js.map +1 -1
- package/dist/solvers/instant-close/instant-close/instant-close.d.ts +16 -3
- package/dist/solvers/instant-close/instant-close/instant-close.d.ts.map +1 -1
- package/dist/solvers/instant-close/instant-close/instant-close.js +26 -25
- package/dist/solvers/instant-close/instant-close/instant-close.js.map +1 -1
- package/dist/solvers/instant-close/instant-close-auto/instant-close-auto.d.ts +1 -1
- package/dist/solvers/instant-close/instant-close-auto/instant-close-auto.js.map +1 -1
- package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.d.ts.map +1 -1
- package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.js +1 -0
- package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.js.map +1 -1
- package/dist/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.d.ts +2 -2
- package/dist/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.d.ts.map +1 -1
- package/dist/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js +1 -0
- package/dist/solvers/instant-close/instant-close-bulk-auto/instant-close-bulk-auto.js.map +1 -1
- package/dist/solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.d.ts.map +1 -1
- package/dist/solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js +3 -0
- package/dist/solvers/instant-close/prepare-instant-close-params/prepare-instant-close-params.js.map +1 -1
- package/dist/solvers/instant-close/shared/adapters/enigma-instant-close.d.ts +14 -0
- package/dist/solvers/instant-close/shared/adapters/enigma-instant-close.d.ts.map +1 -0
- package/dist/solvers/instant-close/shared/adapters/enigma-instant-close.js +14 -0
- package/dist/solvers/instant-close/shared/adapters/enigma-instant-close.js.map +1 -0
- package/dist/solvers/instant-close/shared/adapters/hedger-error.d.ts +10 -0
- package/dist/solvers/instant-close/shared/adapters/hedger-error.d.ts.map +1 -0
- package/dist/solvers/instant-close/shared/adapters/hedger-error.js +13 -0
- package/dist/solvers/instant-close/shared/adapters/hedger-error.js.map +1 -0
- package/dist/solvers/instant-close/shared/adapters/index.d.ts +4 -0
- package/dist/solvers/instant-close/shared/adapters/index.d.ts.map +1 -0
- package/dist/solvers/instant-close/shared/adapters/rasa-instant-close.d.ts +20 -0
- package/dist/solvers/instant-close/shared/adapters/rasa-instant-close.d.ts.map +1 -0
- package/dist/solvers/instant-close/shared/adapters/rasa-instant-close.js +25 -0
- package/dist/solvers/instant-close/shared/adapters/rasa-instant-close.js.map +1 -0
- package/dist/solvers/instant-close/shared/hedger-api.d.ts +17 -14
- package/dist/solvers/instant-close/shared/hedger-api.d.ts.map +1 -1
- package/dist/solvers/instant-close/shared/hedger-api.js +16 -13
- package/dist/solvers/instant-close/shared/hedger-api.js.map +1 -1
- package/dist/solvers/instant-close/shared/index.d.ts +1 -0
- package/dist/solvers/instant-close/shared/index.d.ts.map +1 -1
- package/dist/solvers/instant-close/shared/quote-constraints.d.ts +20 -3
- package/dist/solvers/instant-close/shared/quote-constraints.d.ts.map +1 -1
- package/dist/solvers/instant-close/shared/quote-constraints.js +4 -4
- package/dist/solvers/instant-close/shared/quote-constraints.js.map +1 -1
- package/dist/solvers/instant-close/shared/types.d.ts +3 -3
- package/dist/solvers/instant-close/shared/types.d.ts.map +1 -1
- package/dist/solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.d.ts +2 -2
- package/dist/solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.d.ts.map +1 -1
- package/dist/solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js +4 -1
- package/dist/solvers/instant-open/get-instant-open-quote-id/get-instant-open-quote-id.js.map +1 -1
- package/dist/solvers/instant-open/get-instant-open-quote-id/query.d.ts.map +1 -1
- package/dist/solvers/instant-open/get-instant-open-quote-id/query.js +1 -0
- package/dist/solvers/instant-open/get-instant-open-quote-id/query.js.map +1 -1
- package/dist/solvers/instant-open/get-instant-opens/adapters/enigma-instant-opens.d.ts +18 -0
- package/dist/solvers/instant-open/get-instant-opens/adapters/enigma-instant-opens.d.ts.map +1 -0
- package/dist/solvers/instant-open/get-instant-opens/adapters/enigma-instant-opens.js +28 -0
- package/dist/solvers/instant-open/get-instant-opens/adapters/enigma-instant-opens.js.map +1 -0
- package/dist/solvers/instant-open/get-instant-opens/adapters/index.d.ts +3 -0
- package/dist/solvers/instant-open/get-instant-opens/adapters/index.d.ts.map +1 -0
- package/dist/solvers/instant-open/get-instant-opens/adapters/rasa-instant-opens.d.ts +18 -0
- package/dist/solvers/instant-open/get-instant-opens/adapters/rasa-instant-opens.d.ts.map +1 -0
- package/dist/solvers/instant-open/get-instant-opens/adapters/rasa-instant-opens.js +25 -0
- package/dist/solvers/instant-open/get-instant-opens/adapters/rasa-instant-opens.js.map +1 -0
- package/dist/solvers/instant-open/get-instant-opens/get-instant-opens.d.ts +22 -11
- package/dist/solvers/instant-open/get-instant-opens/get-instant-opens.d.ts.map +1 -1
- package/dist/solvers/instant-open/get-instant-opens/get-instant-opens.js +26 -10
- package/dist/solvers/instant-open/get-instant-opens/get-instant-opens.js.map +1 -1
- package/dist/solvers/instant-open/get-instant-opens/index.d.ts +1 -1
- package/dist/solvers/instant-open/get-instant-opens/index.d.ts.map +1 -1
- package/dist/solvers/instant-open/get-instant-opens/query.d.ts +7 -6
- package/dist/solvers/instant-open/get-instant-opens/query.d.ts.map +1 -1
- package/dist/solvers/instant-open/get-instant-opens/query.js +1 -0
- package/dist/solvers/instant-open/get-instant-opens/query.js.map +1 -1
- package/dist/solvers/instant-open/get-instant-opens/{to-pending-instant-open.d.ts → types.d.ts} +31 -15
- package/dist/solvers/instant-open/get-instant-opens/types.d.ts.map +1 -0
- package/dist/solvers/instant-open/instant-open/adapters/context.d.ts +34 -0
- package/dist/solvers/instant-open/instant-open/adapters/context.d.ts.map +1 -0
- package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.d.ts +22 -0
- package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.d.ts.map +1 -0
- package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.js +73 -0
- package/dist/solvers/instant-open/instant-open/adapters/enigma-instant-open.js.map +1 -0
- package/dist/solvers/instant-open/instant-open/adapters/index.d.ts +4 -0
- package/dist/solvers/instant-open/instant-open/adapters/index.d.ts.map +1 -0
- package/dist/solvers/instant-open/instant-open/adapters/rasa-instant-open.d.ts +22 -0
- package/dist/solvers/instant-open/instant-open/adapters/rasa-instant-open.d.ts.map +1 -0
- package/dist/solvers/instant-open/instant-open/adapters/rasa-instant-open.js +55 -0
- package/dist/solvers/instant-open/instant-open/adapters/rasa-instant-open.js.map +1 -0
- package/dist/solvers/instant-open/instant-open/index.d.ts +2 -0
- package/dist/solvers/instant-open/instant-open/index.d.ts.map +1 -1
- package/dist/solvers/instant-open/instant-open/instant-open.d.ts +34 -65
- package/dist/solvers/instant-open/instant-open/instant-open.d.ts.map +1 -1
- package/dist/solvers/instant-open/instant-open/instant-open.js +31 -63
- package/dist/solvers/instant-open/instant-open/instant-open.js.map +1 -1
- package/dist/solvers/instant-open/instant-open/query.d.ts +9 -3
- package/dist/solvers/instant-open/instant-open/query.d.ts.map +1 -1
- package/dist/solvers/instant-open/instant-open/query.js.map +1 -1
- package/dist/solvers/instant-open/instant-open/types.d.ts +91 -0
- package/dist/solvers/instant-open/instant-open/types.d.ts.map +1 -0
- package/dist/solvers/instant-open/instant-open-auto/instant-open-auto.d.ts +1 -1
- package/dist/solvers/instant-open/instant-open-auto/instant-open-auto.d.ts.map +1 -1
- package/dist/solvers/instant-open/instant-open-auto/instant-open-auto.js.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js +4 -0
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.d.ts +7 -0
- package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.d.ts.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js +1 -0
- package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-locked-params.js.map +1 -1
- package/dist/solvers/instant-open/shared/calldata.d.ts +45 -0
- package/dist/solvers/instant-open/shared/calldata.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/calldata.js +40 -17
- package/dist/solvers/instant-open/shared/calldata.js.map +1 -1
- package/dist/solvers/instant-open/shared/hedger-api.d.ts +33 -2
- package/dist/solvers/instant-open/shared/hedger-api.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/hedger-api.js +25 -7
- package/dist/solvers/instant-open/shared/hedger-api.js.map +1 -1
- package/dist/solvers/instant-open/shared/operations.d.ts +16 -3
- package/dist/solvers/instant-open/shared/operations.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/operations.js +2 -2
- package/dist/solvers/instant-open/shared/operations.js.map +1 -1
- package/dist/solvers/instant-open/shared/quote-constraints.d.ts +27 -3
- package/dist/solvers/instant-open/shared/quote-constraints.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/quote-constraints.js +27 -27
- package/dist/solvers/instant-open/shared/quote-constraints.js.map +1 -1
- package/dist/solvers/instant-open/shared/trade-math.d.ts +11 -0
- package/dist/solvers/instant-open/shared/trade-math.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/trade-math.js +10 -6
- package/dist/solvers/instant-open/shared/trade-math.js.map +1 -1
- package/dist/solvers/instant-open/shared/types.d.ts +12 -23
- package/dist/solvers/instant-open/shared/types.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/types.js.map +1 -1
- package/dist/solvers/limit-close/index.d.ts +4 -0
- package/dist/solvers/limit-close/index.d.ts.map +1 -0
- package/dist/solvers/limit-close/limit-close-auto.d.ts +23 -0
- package/dist/solvers/limit-close/limit-close-auto.d.ts.map +1 -0
- package/dist/solvers/limit-close/limit-close-auto.js +10 -0
- package/dist/solvers/limit-close/limit-close-auto.js.map +1 -0
- package/dist/solvers/limit-close/prepare-limit-close-params.d.ts +30 -0
- package/dist/solvers/limit-close/prepare-limit-close-params.d.ts.map +1 -0
- package/dist/solvers/limit-close/prepare-limit-close-params.js +24 -0
- package/dist/solvers/limit-close/prepare-limit-close-params.js.map +1 -0
- package/dist/solvers/limit-close/query.d.ts +15 -0
- package/dist/solvers/limit-close/query.d.ts.map +1 -0
- package/dist/solvers/limit-close/query.js +12 -0
- package/dist/solvers/limit-close/query.js.map +1 -0
- package/dist/solvers/limit-open/index.d.ts +4 -0
- package/dist/solvers/limit-open/index.d.ts.map +1 -0
- package/dist/solvers/limit-open/limit-open-auto.d.ts +23 -0
- package/dist/solvers/limit-open/limit-open-auto.d.ts.map +1 -0
- package/dist/solvers/limit-open/limit-open-auto.js +10 -0
- package/dist/solvers/limit-open/limit-open-auto.js.map +1 -0
- package/dist/solvers/limit-open/prepare-limit-open-params.d.ts +31 -0
- package/dist/solvers/limit-open/prepare-limit-open-params.d.ts.map +1 -0
- package/dist/solvers/limit-open/prepare-limit-open-params.js +24 -0
- package/dist/solvers/limit-open/prepare-limit-open-params.js.map +1 -0
- package/dist/solvers/limit-open/query.d.ts +15 -0
- package/dist/solvers/limit-open/query.d.ts.map +1 -0
- package/dist/solvers/limit-open/query.js +12 -0
- package/dist/solvers/limit-open/query.js.map +1 -0
- package/dist/solvers/locked-params/get-locked-params.d.ts +2 -2
- package/dist/solvers/locked-params/get-locked-params.d.ts.map +1 -1
- package/dist/solvers/locked-params/get-locked-params.js +4 -2
- package/dist/solvers/locked-params/get-locked-params.js.map +1 -1
- package/dist/solvers/locked-params/query.d.ts.map +1 -1
- package/dist/solvers/locked-params/query.js +1 -0
- package/dist/solvers/locked-params/query.js.map +1 -1
- package/dist/solvers/market-info/adapters/enigma-market-info.d.ts +15 -0
- package/dist/solvers/market-info/adapters/enigma-market-info.d.ts.map +1 -0
- package/dist/solvers/market-info/adapters/enigma-market-info.js +33 -0
- package/dist/solvers/market-info/adapters/enigma-market-info.js.map +1 -0
- package/dist/solvers/market-info/adapters/index.d.ts +3 -0
- package/dist/solvers/market-info/adapters/index.d.ts.map +1 -0
- package/dist/solvers/market-info/adapters/rasa-market-info.d.ts +16 -0
- package/dist/solvers/market-info/adapters/rasa-market-info.d.ts.map +1 -0
- package/dist/solvers/market-info/adapters/rasa-market-info.js +22 -0
- package/dist/solvers/market-info/adapters/rasa-market-info.js.map +1 -0
- package/dist/solvers/market-info/get-market-info.d.ts +25 -17
- package/dist/solvers/market-info/get-market-info.d.ts.map +1 -1
- package/dist/solvers/market-info/get-market-info.js +25 -12
- package/dist/solvers/market-info/get-market-info.js.map +1 -1
- package/dist/solvers/market-info/index.d.ts +0 -1
- package/dist/solvers/market-info/index.d.ts.map +1 -1
- package/dist/solvers/market-info/query.d.ts +11 -10
- package/dist/solvers/market-info/query.d.ts.map +1 -1
- package/dist/solvers/market-info/query.js +4 -1
- package/dist/solvers/market-info/query.js.map +1 -1
- package/dist/solvers/market-info/types.d.ts +40 -9
- package/dist/solvers/market-info/types.d.ts.map +1 -1
- package/dist/solvers/markets/adapters/enigma-markets.d.ts +18 -0
- package/dist/solvers/markets/adapters/enigma-markets.d.ts.map +1 -0
- package/dist/solvers/markets/adapters/enigma-markets.js +44 -0
- package/dist/solvers/markets/adapters/enigma-markets.js.map +1 -0
- package/dist/solvers/markets/adapters/index.d.ts +3 -0
- package/dist/solvers/markets/adapters/index.d.ts.map +1 -0
- package/dist/solvers/markets/adapters/rasa-markets.d.ts +18 -0
- package/dist/solvers/markets/adapters/rasa-markets.d.ts.map +1 -0
- package/dist/solvers/markets/adapters/rasa-markets.js +36 -0
- package/dist/solvers/markets/adapters/rasa-markets.js.map +1 -0
- package/dist/solvers/markets/get-markets.d.ts +34 -13
- package/dist/solvers/markets/get-markets.d.ts.map +1 -1
- package/dist/solvers/markets/get-markets.js +28 -14
- package/dist/solvers/markets/get-markets.js.map +1 -1
- package/dist/solvers/markets/index.d.ts +1 -1
- package/dist/solvers/markets/index.d.ts.map +1 -1
- package/dist/solvers/markets/query.d.ts +14 -11
- package/dist/solvers/markets/query.d.ts.map +1 -1
- package/dist/solvers/markets/query.js +4 -1
- package/dist/solvers/markets/query.js.map +1 -1
- package/dist/solvers/markets/types.d.ts +96 -0
- package/dist/solvers/markets/types.d.ts.map +1 -0
- package/dist/solvers/notional-cap/adapters/enigma-notional-cap.d.ts +17 -0
- package/dist/solvers/notional-cap/adapters/enigma-notional-cap.d.ts.map +1 -0
- package/dist/solvers/notional-cap/adapters/enigma-notional-cap.js +27 -0
- package/dist/solvers/notional-cap/adapters/enigma-notional-cap.js.map +1 -0
- package/dist/solvers/notional-cap/adapters/index.d.ts +3 -0
- package/dist/solvers/notional-cap/adapters/index.d.ts.map +1 -0
- package/dist/solvers/notional-cap/adapters/rasa-notional-cap.d.ts +16 -0
- package/dist/solvers/notional-cap/adapters/rasa-notional-cap.d.ts.map +1 -0
- package/dist/solvers/notional-cap/adapters/rasa-notional-cap.js +17 -0
- package/dist/solvers/notional-cap/adapters/rasa-notional-cap.js.map +1 -0
- package/dist/solvers/notional-cap/check-notional-cap.d.ts +4 -2
- package/dist/solvers/notional-cap/check-notional-cap.d.ts.map +1 -1
- package/dist/solvers/notional-cap/check-notional-cap.js +2 -2
- package/dist/solvers/notional-cap/check-notional-cap.js.map +1 -1
- package/dist/solvers/notional-cap/get-notional-cap-all.d.ts +5 -5
- package/dist/solvers/notional-cap/get-notional-cap-all.d.ts.map +1 -1
- package/dist/solvers/notional-cap/get-notional-cap-all.js +5 -2
- package/dist/solvers/notional-cap/get-notional-cap-all.js.map +1 -1
- package/dist/solvers/notional-cap/get-notional-cap-by-symbol-id.d.ts +23 -14
- package/dist/solvers/notional-cap/get-notional-cap-by-symbol-id.d.ts.map +1 -1
- package/dist/solvers/notional-cap/get-notional-cap-by-symbol-id.js +26 -10
- package/dist/solvers/notional-cap/get-notional-cap-by-symbol-id.js.map +1 -1
- package/dist/solvers/notional-cap/get-open-interest-by-symbol-id.d.ts +2 -2
- package/dist/solvers/notional-cap/get-open-interest-by-symbol-id.d.ts.map +1 -1
- package/dist/solvers/notional-cap/get-open-interest-by-symbol-id.js +7 -1
- package/dist/solvers/notional-cap/get-open-interest-by-symbol-id.js.map +1 -1
- package/dist/solvers/notional-cap/index.d.ts +0 -1
- package/dist/solvers/notional-cap/index.d.ts.map +1 -1
- package/dist/solvers/notional-cap/query-all.js +4 -1
- package/dist/solvers/notional-cap/query-all.js.map +1 -1
- package/dist/solvers/notional-cap/query-open-interest.d.ts.map +1 -1
- package/dist/solvers/notional-cap/query-open-interest.js +1 -0
- package/dist/solvers/notional-cap/query-open-interest.js.map +1 -1
- package/dist/solvers/notional-cap/query.d.ts +10 -8
- package/dist/solvers/notional-cap/query.d.ts.map +1 -1
- package/dist/solvers/notional-cap/query.js +1 -0
- package/dist/solvers/notional-cap/query.js.map +1 -1
- package/dist/solvers/notional-cap/types.d.ts +38 -15
- package/dist/solvers/notional-cap/types.d.ts.map +1 -1
- package/dist/solvers/revenue/get-solver-revenue.d.ts +48 -0
- package/dist/solvers/revenue/get-solver-revenue.d.ts.map +1 -0
- package/dist/solvers/revenue/get-solver-revenue.js +28 -0
- package/dist/solvers/revenue/get-solver-revenue.js.map +1 -0
- package/dist/solvers/revenue/index.d.ts +5 -0
- package/dist/solvers/revenue/index.d.ts.map +1 -0
- package/dist/solvers/revenue/query.d.ts +36 -0
- package/dist/solvers/revenue/query.d.ts.map +1 -0
- package/dist/solvers/revenue/query.js +26 -0
- package/dist/solvers/revenue/query.js.map +1 -0
- package/dist/solvers/revenue/to-solver-revenue.d.ts +13 -0
- package/dist/solvers/revenue/to-solver-revenue.d.ts.map +1 -0
- package/dist/solvers/revenue/to-solver-revenue.js +14 -0
- package/dist/solvers/revenue/to-solver-revenue.js.map +1 -0
- package/dist/solvers/revenue/types.d.ts +33 -0
- package/dist/solvers/revenue/types.d.ts.map +1 -0
- package/dist/solvers/revenue-records/get-revenue-records.d.ts +36 -0
- package/dist/solvers/revenue-records/get-revenue-records.d.ts.map +1 -0
- package/dist/solvers/revenue-records/get-revenue-records.js +36 -0
- package/dist/solvers/revenue-records/get-revenue-records.js.map +1 -0
- package/dist/solvers/revenue-records/index.d.ts +5 -0
- package/dist/solvers/revenue-records/index.d.ts.map +1 -0
- package/dist/solvers/revenue-records/query.d.ts +29 -0
- package/dist/solvers/revenue-records/query.d.ts.map +1 -0
- package/dist/solvers/revenue-records/query.js +28 -0
- package/dist/solvers/revenue-records/query.js.map +1 -0
- package/dist/solvers/revenue-records/to-revenue-record.d.ts +11 -0
- package/dist/solvers/revenue-records/to-revenue-record.d.ts.map +1 -0
- package/dist/solvers/revenue-records/to-revenue-record.js +13 -0
- package/dist/solvers/revenue-records/to-revenue-record.js.map +1 -0
- package/dist/solvers/revenue-records/types.d.ts +26 -0
- package/dist/solvers/revenue-records/types.d.ts.map +1 -0
- package/dist/solvers/shared/resolvers/resolve-mark-price.d.ts +17 -5
- package/dist/solvers/shared/resolvers/resolve-mark-price.d.ts.map +1 -1
- package/dist/solvers/shared/resolvers/resolve-mark-price.js +17 -10
- package/dist/solvers/shared/resolvers/resolve-mark-price.js.map +1 -1
- package/dist/solvers/shared/resolvers/resolve-market.d.ts +10 -3
- package/dist/solvers/shared/resolvers/resolve-market.d.ts.map +1 -1
- package/dist/solvers/shared/resolvers/resolve-market.js +7 -6
- package/dist/solvers/shared/resolvers/resolve-market.js.map +1 -1
- package/dist/solvers/symbols/get-symbols.d.ts +53 -0
- package/dist/solvers/symbols/get-symbols.d.ts.map +1 -0
- package/dist/solvers/symbols/get-symbols.js +37 -0
- package/dist/solvers/symbols/get-symbols.js.map +1 -0
- package/dist/solvers/symbols/index.d.ts +5 -0
- package/dist/solvers/symbols/index.d.ts.map +1 -0
- package/dist/solvers/symbols/query.d.ts +28 -0
- package/dist/solvers/symbols/query.d.ts.map +1 -0
- package/dist/solvers/symbols/query.js +33 -0
- package/dist/solvers/symbols/query.js.map +1 -0
- package/dist/solvers/symbols/to-solver-symbol.d.ts +11 -0
- package/dist/solvers/symbols/to-solver-symbol.d.ts.map +1 -0
- package/dist/solvers/symbols/to-solver-symbol.js +40 -0
- package/dist/solvers/symbols/to-solver-symbol.js.map +1 -0
- package/dist/solvers/symbols/types.d.ts +71 -0
- package/dist/solvers/symbols/types.d.ts.map +1 -0
- package/dist/solvers/trade-volume/get-trade-volume.d.ts +37 -0
- package/dist/solvers/trade-volume/get-trade-volume.d.ts.map +1 -0
- package/dist/solvers/trade-volume/get-trade-volume.js +27 -0
- package/dist/solvers/trade-volume/get-trade-volume.js.map +1 -0
- package/dist/solvers/trade-volume/index.d.ts +5 -0
- package/dist/solvers/trade-volume/index.d.ts.map +1 -0
- package/dist/solvers/trade-volume/query.d.ts +29 -0
- package/dist/solvers/trade-volume/query.d.ts.map +1 -0
- package/dist/solvers/trade-volume/query.js +25 -0
- package/dist/solvers/trade-volume/query.js.map +1 -0
- package/dist/solvers/trade-volume/to-daily-volume.d.ts +12 -0
- package/dist/solvers/trade-volume/to-daily-volume.d.ts.map +1 -0
- package/dist/solvers/trade-volume/to-daily-volume.js +11 -0
- package/dist/solvers/trade-volume/to-daily-volume.js.map +1 -0
- package/dist/solvers/trade-volume/types.d.ts +20 -0
- package/dist/solvers/trade-volume/types.d.ts.map +1 -0
- package/dist/solvers/types/generated/enigma-solver.d.ts +168 -13
- package/dist/solvers/types/generated/enigma-solver.d.ts.map +1 -1
- package/dist/solvers/types/generated/enigma-solver.js +26 -2
- package/dist/solvers/types/generated/enigma-solver.js.map +1 -1
- package/dist/solvers/types/generated/rasa-solver.d.ts +471 -0
- package/dist/solvers/types/generated/rasa-solver.d.ts.map +1 -0
- package/dist/solvers/types/generated/rasa-solver.js +7 -0
- package/dist/solvers/types/generated/rasa-solver.js.map +1 -0
- package/dist/symmio-contracts/abi/index.d.ts +9 -2
- package/dist/symmio-contracts/abi/index.d.ts.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.d.ts +38 -0
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.js +26 -0
- package/dist/symmio-contracts/account-layer/actions/cancel-registration.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.d.ts +4 -3
- package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.d.ts.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-and-allocate-for-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-for-account.d.ts +4 -3
- package/dist/symmio-contracts/account-layer/actions/deposit-for-account.d.ts.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/deposit-for-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.d.ts +39 -0
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js +15 -0
- package/dist/symmio-contracts/account-layer/actions/generate-account-manager-address.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.d.ts +35 -0
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js +15 -0
- package/dist/symmio-contracts/account-layer/actions/get-affiliate-state.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.d.ts +1 -1
- package/dist/symmio-contracts/account-layer/actions/get-virtual-accounts-addresses-of-sub-account.js.map +1 -1
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.d.ts +56 -0
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js +26 -0
- package/dist/symmio-contracts/account-layer/actions/request-to-register-affiliate.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.d.ts +31 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js +16 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-cancel-registration.js.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.d.ts +33 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js +16 -0
- package/dist/symmio-contracts/account-layer/actions/simulate-request-to-register-affiliate.js.map +1 -0
- package/dist/symmio-contracts/account-layer/calculate-available-for-order.d.ts +39 -0
- package/dist/symmio-contracts/account-layer/calculate-available-for-order.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/calculate-available-for-order.js +14 -0
- package/dist/symmio-contracts/account-layer/calculate-available-for-order.js.map +1 -0
- package/dist/symmio-contracts/account-layer/index.d.ts +13 -0
- package/dist/symmio-contracts/account-layer/index.d.ts.map +1 -1
- package/dist/symmio-contracts/account-layer/query/cancel-registration.d.ts +22 -0
- package/dist/symmio-contracts/account-layer/query/cancel-registration.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/cancel-registration.js +12 -0
- package/dist/symmio-contracts/account-layer/query/cancel-registration.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/generate-account-manager-address.d.ts +39 -0
- package/dist/symmio-contracts/account-layer/query/generate-account-manager-address.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/generate-account-manager-address.js +30 -0
- package/dist/symmio-contracts/account-layer/query/generate-account-manager-address.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/get-affiliate-state.d.ts +38 -0
- package/dist/symmio-contracts/account-layer/query/get-affiliate-state.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/get-affiliate-state.js +29 -0
- package/dist/symmio-contracts/account-layer/query/get-affiliate-state.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/request-to-register-affiliate.d.ts +22 -0
- package/dist/symmio-contracts/account-layer/query/request-to-register-affiliate.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/request-to-register-affiliate.js +12 -0
- package/dist/symmio-contracts/account-layer/query/request-to-register-affiliate.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/simulate-cancel-registration.d.ts +19 -0
- package/dist/symmio-contracts/account-layer/query/simulate-cancel-registration.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/simulate-cancel-registration.js +12 -0
- package/dist/symmio-contracts/account-layer/query/simulate-cancel-registration.js.map +1 -0
- package/dist/symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.d.ts +19 -0
- package/dist/symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.d.ts.map +1 -0
- package/dist/symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.js +12 -0
- package/dist/symmio-contracts/account-layer/query/simulate-request-to-register-affiliate.js.map +1 -0
- package/dist/symmio-contracts/account-layer/types.d.ts +68 -0
- package/dist/symmio-contracts/account-layer/types.d.ts.map +1 -1
- package/dist/symmio-contracts/account-layer/types.js +3 -1
- package/dist/symmio-contracts/account-layer/types.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.d.ts +95 -0
- package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js +34 -0
- package/dist/symmio-contracts/symmio/actions/deallocate-and-initiate-withdraw.js.map +1 -0
- package/dist/symmio-contracts/symmio/actions/deallocate.d.ts +10 -5
- package/dist/symmio-contracts/symmio/actions/deallocate.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/actions/deallocate.js +15 -11
- package/dist/symmio-contracts/symmio/actions/deallocate.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.d.ts +41 -0
- package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.js +22 -0
- package/dist/symmio-contracts/symmio/actions/force-cancel-close-request.js.map +1 -0
- package/dist/symmio-contracts/symmio/actions/force-cancel-quote.d.ts +41 -0
- package/dist/symmio-contracts/symmio/actions/force-cancel-quote.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/force-cancel-quote.js +22 -0
- package/dist/symmio-contracts/symmio/actions/force-cancel-quote.js.map +1 -0
- package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.d.ts +34 -0
- package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.js +14 -0
- package/dist/symmio-contracts/symmio/actions/get-cool-downs-of-ma.js.map +1 -0
- package/dist/symmio-contracts/symmio/actions/get-pending-quotes.d.ts +39 -0
- package/dist/symmio-contracts/symmio/actions/get-pending-quotes.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/get-pending-quotes.js +29 -0
- package/dist/symmio-contracts/symmio/actions/get-pending-quotes.js.map +1 -0
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.d.ts +41 -0
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.js +22 -0
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-close-request.js.map +1 -0
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.d.ts +39 -0
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.js +22 -0
- package/dist/symmio-contracts/symmio/actions/request-to-cancel-quote.js.map +1 -0
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.d.ts +33 -0
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js +33 -0
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate-and-initiate-withdraw.js.map +1 -0
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate.d.ts +2 -1
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate.js +13 -9
- package/dist/symmio-contracts/symmio/actions/simulate-deallocate.js.map +1 -1
- package/dist/symmio-contracts/symmio/actions/withdraw-auto.d.ts +96 -0
- package/dist/symmio-contracts/symmio/actions/withdraw-auto.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/withdraw-auto.js +31 -0
- package/dist/symmio-contracts/symmio/actions/withdraw-auto.js.map +1 -0
- package/dist/symmio-contracts/symmio/actions/withdraw.d.ts +109 -0
- package/dist/symmio-contracts/symmio/actions/withdraw.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/actions/withdraw.js +34 -0
- package/dist/symmio-contracts/symmio/actions/withdraw.js.map +1 -0
- package/dist/symmio-contracts/symmio/index.d.ts +20 -0
- package/dist/symmio-contracts/symmio/index.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/internal/call-as-sub-account.d.ts +8 -2
- package/dist/symmio-contracts/symmio/internal/call-as-sub-account.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/internal/call-as-sub-account.js +7 -7
- package/dist/symmio-contracts/symmio/internal/call-as-sub-account.js.map +1 -1
- package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.d.ts +4 -2
- package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.js +3 -3
- package/dist/symmio-contracts/symmio/internal/simulate-call-as-sub-account.js.map +1 -1
- package/dist/symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.d.ts +24 -0
- package/dist/symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.js +12 -0
- package/dist/symmio-contracts/symmio/query/deallocate-and-initiate-withdraw.js.map +1 -0
- package/dist/symmio-contracts/symmio/query/force-cancel-close-request.d.ts +21 -0
- package/dist/symmio-contracts/symmio/query/force-cancel-close-request.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/force-cancel-close-request.js +12 -0
- package/dist/symmio-contracts/symmio/query/force-cancel-close-request.js.map +1 -0
- package/dist/symmio-contracts/symmio/query/force-cancel-quote.d.ts +21 -0
- package/dist/symmio-contracts/symmio/query/force-cancel-quote.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/force-cancel-quote.js +12 -0
- package/dist/symmio-contracts/symmio/query/force-cancel-quote.js.map +1 -0
- package/dist/symmio-contracts/symmio/query/get-cool-downs-of-ma.d.ts +35 -0
- package/dist/symmio-contracts/symmio/query/get-cool-downs-of-ma.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/get-cool-downs-of-ma.js +21 -0
- package/dist/symmio-contracts/symmio/query/get-cool-downs-of-ma.js.map +1 -0
- package/dist/symmio-contracts/symmio/query/get-pending-quotes.d.ts +38 -0
- package/dist/symmio-contracts/symmio/query/get-pending-quotes.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/get-pending-quotes.js +30 -0
- package/dist/symmio-contracts/symmio/query/get-pending-quotes.js.map +1 -0
- package/dist/symmio-contracts/symmio/query/request-to-cancel-close-request.d.ts +21 -0
- package/dist/symmio-contracts/symmio/query/request-to-cancel-close-request.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/request-to-cancel-close-request.js +12 -0
- package/dist/symmio-contracts/symmio/query/request-to-cancel-close-request.js.map +1 -0
- package/dist/symmio-contracts/symmio/query/request-to-cancel-quote.d.ts +22 -0
- package/dist/symmio-contracts/symmio/query/request-to-cancel-quote.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/request-to-cancel-quote.js +12 -0
- package/dist/symmio-contracts/symmio/query/request-to-cancel-quote.js.map +1 -0
- package/dist/symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.d.ts +20 -0
- package/dist/symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.js +12 -0
- package/dist/symmio-contracts/symmio/query/simulate-deallocate-and-initiate-withdraw.js.map +1 -0
- package/dist/symmio-contracts/symmio/query/withdraw-auto.d.ts +26 -0
- package/dist/symmio-contracts/symmio/query/withdraw-auto.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/withdraw-auto.js +12 -0
- package/dist/symmio-contracts/symmio/query/withdraw-auto.js.map +1 -0
- package/dist/symmio-contracts/symmio/query/withdraw.d.ts +25 -0
- package/dist/symmio-contracts/symmio/query/withdraw.d.ts.map +1 -0
- package/dist/symmio-contracts/symmio/query/withdraw.js +12 -0
- package/dist/symmio-contracts/symmio/query/withdraw.js.map +1 -0
- package/dist/symmio-contracts/symmio/types.d.ts +84 -1
- package/dist/symmio-contracts/symmio/types.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/types.js.map +1 -1
- package/dist/symmio-subgraph/types/generated/analytics/gql.d.ts +13 -1
- package/dist/symmio-subgraph/types/generated/analytics/gql.d.ts.map +1 -1
- package/dist/symmio-subgraph/types/generated/analytics/gql.js +11 -8
- package/dist/symmio-subgraph/types/generated/analytics/gql.js.map +1 -1
- package/dist/symmio-subgraph/types/generated/analytics/graphql.d.ts +96 -0
- package/dist/symmio-subgraph/types/generated/analytics/graphql.d.ts.map +1 -1
- package/dist/symmio-subgraph/types/generated/analytics/graphql.js +2 -2
- package/dist/symmio-subgraph/types/generated/analytics/graphql.js.map +1 -1
- package/dist/tpsl/get-quote-tpsl/get-quote-tpsl.d.ts +5 -1
- package/dist/tpsl/get-quote-tpsl/get-quote-tpsl.d.ts.map +1 -1
- package/dist/tpsl/get-quote-tpsl/get-quote-tpsl.js +13 -7
- package/dist/tpsl/get-quote-tpsl/get-quote-tpsl.js.map +1 -1
- package/dist/tpsl/grouping/estimate-group-tpsl-return.d.ts +35 -0
- package/dist/tpsl/grouping/estimate-group-tpsl-return.d.ts.map +1 -0
- package/dist/tpsl/grouping/estimate-group-tpsl-return.js +30 -0
- package/dist/tpsl/grouping/estimate-group-tpsl-return.js.map +1 -0
- package/dist/tpsl/grouping/index.d.ts +10 -0
- package/dist/tpsl/grouping/index.d.ts.map +1 -0
- package/dist/tpsl/grouping/notional.d.ts +22 -0
- package/dist/tpsl/grouping/notional.d.ts.map +1 -0
- package/dist/tpsl/grouping/notional.js +13 -0
- package/dist/tpsl/grouping/notional.js.map +1 -0
- package/dist/tpsl/grouping/plan-group-tpsl/index.d.ts +2 -0
- package/dist/tpsl/grouping/plan-group-tpsl/index.d.ts.map +1 -0
- package/dist/tpsl/grouping/plan-group-tpsl/plan-group-tpsl.d.ts +66 -0
- package/dist/tpsl/grouping/plan-group-tpsl/plan-group-tpsl.d.ts.map +1 -0
- package/dist/tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js +142 -0
- package/dist/tpsl/grouping/plan-group-tpsl/plan-group-tpsl.js.map +1 -0
- package/dist/tpsl/grouping/plan-group-tpsl-delete.d.ts +24 -0
- package/dist/tpsl/grouping/plan-group-tpsl-delete.d.ts.map +1 -0
- package/dist/tpsl/grouping/plan-group-tpsl-delete.js +51 -0
- package/dist/tpsl/grouping/plan-group-tpsl-delete.js.map +1 -0
- package/dist/tpsl/grouping/resolve-child-side.d.ts +44 -0
- package/dist/tpsl/grouping/resolve-child-side.d.ts.map +1 -0
- package/dist/tpsl/grouping/resolve-child-side.js +21 -0
- package/dist/tpsl/grouping/resolve-child-side.js.map +1 -0
- package/dist/tpsl/grouping/summarize-group-tpsl.d.ts +39 -0
- package/dist/tpsl/grouping/summarize-group-tpsl.d.ts.map +1 -0
- package/dist/tpsl/grouping/summarize-group-tpsl.js +42 -0
- package/dist/tpsl/grouping/summarize-group-tpsl.js.map +1 -0
- package/dist/tpsl/grouping/to-group-tpsl-children.d.ts +33 -0
- package/dist/tpsl/grouping/to-group-tpsl-children.d.ts.map +1 -0
- package/dist/tpsl/grouping/to-group-tpsl-children.js +30 -0
- package/dist/tpsl/grouping/to-group-tpsl-children.js.map +1 -0
- package/dist/tpsl/grouping/to-group-tpsl-orders.d.ts +21 -0
- package/dist/tpsl/grouping/to-group-tpsl-orders.d.ts.map +1 -0
- package/dist/tpsl/grouping/to-group-tpsl-orders.js +33 -0
- package/dist/tpsl/grouping/to-group-tpsl-orders.js.map +1 -0
- package/dist/tpsl/grouping/types.d.ts +294 -0
- package/dist/tpsl/grouping/types.d.ts.map +1 -0
- package/dist/tpsl/index.d.ts +3 -0
- package/dist/tpsl/index.d.ts.map +1 -1
- package/dist/tpsl/internal/resolve-tpsl-config.d.ts +2 -2
- package/dist/tpsl/internal/resolve-tpsl-config.d.ts.map +1 -1
- package/dist/tpsl/internal/resolve-tpsl-config.js +7 -4
- package/dist/tpsl/internal/resolve-tpsl-config.js.map +1 -1
- package/dist/tpsl/search-tpsl-orders/index.d.ts +3 -0
- package/dist/tpsl/search-tpsl-orders/index.d.ts.map +1 -0
- package/dist/tpsl/search-tpsl-orders/query.d.ts +19 -0
- package/dist/tpsl/search-tpsl-orders/query.d.ts.map +1 -0
- package/dist/tpsl/search-tpsl-orders/query.js +21 -0
- package/dist/tpsl/search-tpsl-orders/query.js.map +1 -0
- package/dist/tpsl/search-tpsl-orders/search-tpsl-orders.d.ts +102 -0
- package/dist/tpsl/search-tpsl-orders/search-tpsl-orders.d.ts.map +1 -0
- package/dist/tpsl/search-tpsl-orders/search-tpsl-orders.js +47 -0
- package/dist/tpsl/search-tpsl-orders/search-tpsl-orders.js.map +1 -0
- package/dist/tpsl/set-quote-tpsl/build-conditional-order-leg.d.ts +1 -1
- package/dist/tpsl/set-quote-tpsl/build-conditional-order-leg.js.map +1 -1
- package/dist/tpsl/slippage.d.ts +3 -3
- package/dist/tpsl/slippage.js.map +1 -1
- package/dist/tpsl/supports-tpsl.d.ts +27 -0
- package/dist/tpsl/supports-tpsl.d.ts.map +1 -0
- package/dist/tpsl/supports-tpsl.js +15 -0
- package/dist/tpsl/supports-tpsl.js.map +1 -0
- package/dist/tpsl/types/generated/tpsl-handler.js +6 -4
- package/dist/tpsl/types/generated/tpsl-handler.js.map +1 -1
- package/dist/tpsl/types.d.ts +14 -0
- package/dist/tpsl/types.d.ts.map +1 -1
- package/dist/tpsl/types.js +8 -0
- package/dist/tpsl/types.js.map +1 -0
- package/dist/tpsl/validate-tpsl.d.ts +1 -1
- package/dist/tpsl/validate-tpsl.js.map +1 -1
- package/dist/websocket/notifications/adapters/enigma-notifications.d.ts +42 -0
- package/dist/websocket/notifications/adapters/enigma-notifications.d.ts.map +1 -0
- package/dist/websocket/notifications/adapters/enigma-notifications.js +63 -0
- package/dist/websocket/notifications/adapters/enigma-notifications.js.map +1 -0
- package/dist/websocket/notifications/adapters/index.d.ts +4 -0
- package/dist/websocket/notifications/adapters/index.d.ts.map +1 -0
- package/dist/websocket/notifications/adapters/rasa-notifications-hub.d.ts +36 -0
- package/dist/websocket/notifications/adapters/rasa-notifications-hub.d.ts.map +1 -0
- package/dist/websocket/notifications/adapters/rasa-notifications-hub.js +50 -0
- package/dist/websocket/notifications/adapters/rasa-notifications-hub.js.map +1 -0
- package/dist/websocket/notifications/adapters/rasa-notifications.d.ts +24 -0
- package/dist/websocket/notifications/adapters/rasa-notifications.d.ts.map +1 -0
- package/dist/websocket/notifications/adapters/rasa-notifications.js +43 -0
- package/dist/websocket/notifications/adapters/rasa-notifications.js.map +1 -0
- package/dist/websocket/notifications/index.d.ts +3 -1
- package/dist/websocket/notifications/index.d.ts.map +1 -1
- package/dist/websocket/notifications/normalize-notification.d.ts +6 -3
- package/dist/websocket/notifications/normalize-notification.d.ts.map +1 -1
- package/dist/websocket/notifications/normalize-notification.js +10 -7
- package/dist/websocket/notifications/normalize-notification.js.map +1 -1
- package/dist/websocket/notifications/parse-frame-payload.d.ts +7 -0
- package/dist/websocket/notifications/parse-frame-payload.d.ts.map +1 -0
- package/dist/websocket/notifications/parse-frame-payload.js +14 -0
- package/dist/websocket/notifications/parse-frame-payload.js.map +1 -0
- package/dist/websocket/notifications/parse-notification-frame.d.ts +13 -6
- package/dist/websocket/notifications/parse-notification-frame.d.ts.map +1 -1
- package/dist/websocket/notifications/parse-notification-frame.js +7 -16
- package/dist/websocket/notifications/parse-notification-frame.js.map +1 -1
- package/dist/websocket/notifications/to-notifications-error.d.ts +8 -0
- package/dist/websocket/notifications/to-notifications-error.d.ts.map +1 -0
- package/dist/websocket/notifications/to-notifications-error.js +11 -0
- package/dist/websocket/notifications/to-notifications-error.js.map +1 -0
- package/dist/websocket/notifications/types.d.ts +90 -19
- package/dist/websocket/notifications/types.d.ts.map +1 -1
- package/dist/websocket/notifications/types.js.map +1 -1
- package/dist/websocket/notifications/watch-notifications.d.ts +11 -27
- package/dist/websocket/notifications/watch-notifications.d.ts.map +1 -1
- package/dist/websocket/notifications/watch-notifications.js +11 -42
- package/dist/websocket/notifications/watch-notifications.js.map +1 -1
- package/dist/websocket/prices/index.d.ts +3 -0
- package/dist/websocket/prices/index.d.ts.map +1 -1
- package/dist/websocket/prices/parse-binance-price-frame.d.ts +25 -0
- package/dist/websocket/prices/parse-binance-price-frame.d.ts.map +1 -0
- package/dist/websocket/prices/parse-binance-price-frame.js +55 -0
- package/dist/websocket/prices/parse-binance-price-frame.js.map +1 -0
- package/dist/websocket/prices/watch-binance-prices.d.ts +89 -0
- package/dist/websocket/prices/watch-binance-prices.d.ts.map +1 -0
- package/dist/websocket/prices/watch-binance-prices.js +53 -0
- package/dist/websocket/prices/watch-binance-prices.js.map +1 -0
- package/dist/websocket/prices/watch-enigma-prices.d.ts +6 -1
- package/dist/websocket/prices/watch-enigma-prices.d.ts.map +1 -1
- package/dist/websocket/prices/watch-enigma-prices.js +24 -15
- package/dist/websocket/prices/watch-enigma-prices.js.map +1 -1
- package/dist/websocket/prices/watch-prices.d.ts +66 -0
- package/dist/websocket/prices/watch-prices.d.ts.map +1 -0
- package/dist/websocket/prices/watch-prices.js +40 -0
- package/dist/websocket/prices/watch-prices.js.map +1 -0
- package/dist/websocket/tpsl/parse-tpsl-frame.d.ts +1 -1
- package/dist/websocket/tpsl/parse-tpsl-frame.js.map +1 -1
- package/dist/websocket/tpsl/types.d.ts +1 -1
- package/dist/websocket/tpsl/watch-tpsl-notifications.d.ts +1 -1
- package/dist/websocket/tpsl/watch-tpsl-notifications.js +6 -6
- package/dist/websocket/tpsl/watch-tpsl-notifications.js.map +1 -1
- package/package.json +1 -1
- package/dist/solvers/instant-open/get-instant-opens/to-pending-instant-open.d.ts.map +0 -1
- package/dist/solvers/instant-open/get-instant-opens/to-pending-instant-open.js +0 -22
- package/dist/solvers/instant-open/get-instant-opens/to-pending-instant-open.js.map +0 -1
- package/dist/solvers/market-info/to-market-info.d.ts +0 -13
- package/dist/solvers/market-info/to-market-info.d.ts.map +0 -1
- package/dist/solvers/market-info/to-market-info.js +0 -28
- package/dist/solvers/market-info/to-market-info.js.map +0 -1
- package/dist/solvers/notional-cap/to-market-notional-cap.d.ts +0 -9
- package/dist/solvers/notional-cap/to-market-notional-cap.d.ts.map +0 -1
- package/dist/solvers/notional-cap/to-market-notional-cap.js +0 -22
- package/dist/solvers/notional-cap/to-market-notional-cap.js.map +0 -1
- package/dist/websocket/notifications/build-subscribe-message.d.ts +0 -24
- package/dist/websocket/notifications/build-subscribe-message.d.ts.map +0 -1
- package/dist/websocket/notifications/build-subscribe-message.js +0 -17
- package/dist/websocket/notifications/build-subscribe-message.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export type { WebSocketConstructor, WebSocketLike } from './shared/types/websock
|
|
|
39
39
|
* Read/write actions for the AccountLayer contract plus their query/mutation
|
|
40
40
|
* options factories.
|
|
41
41
|
*/
|
|
42
|
-
export { SubAccountIsolationType, addMargin, addMarginMutationOptions, createSubAccounts, createSubAccountsMutationOptions, deleteSubAccount, deleteSubAccountMutationOptions, depositAndAllocateForAccount, depositAndAllocateForAccountMutationOptions, depositForAccount, depositForAccountMutationOptions, editAccountName, editAccountNameMutationOptions, getAccountBalanceInfo, getAccountBalanceInfoQueryKey, getAccountBalanceInfoQueryOptions, getAccountBalanceOf, getAccountBalanceOfQueryKey, getAccountBalanceOfQueryOptions, getPredictedNextVirtualAccount, getPredictedNextVirtualAccountQueryKey, getPredictedNextVirtualAccountQueryOptions, getSubAccount, getSubAccountQueryKey, getSubAccountQueryOptions, getSubAccountVirtualNonce, getSubAccountVirtualNonceQueryKey, getSubAccountVirtualNonceQueryOptions, getSubAccountsCountOfUser, getSubAccountsCountOfUserQueryKey, getSubAccountsCountOfUserQueryOptions, getUserSubAccounts, getUserSubAccountsAddresses, getUserSubAccountsAddressesQueryKey, getUserSubAccountsAddressesQueryOptions, getUserSubAccountsQueryKey, getUserSubAccountsQueryOptions, getVirtualAccount, getVirtualAccountQueryKey, getVirtualAccountQueryOptions, getVirtualAccountsAddressesOfSubAccount, getVirtualAccountsAddressesOfSubAccountQueryKey, getVirtualAccountsAddressesOfSubAccountQueryOptions, removeMargin, removeMarginMutationOptions, simulateAddMargin, simulateAddMarginMutationOptions, simulateCreateSubAccounts, simulateCreateSubAccountsMutationOptions, simulateDeleteSubAccount, simulateDeleteSubAccountMutationOptions, simulateDepositAndAllocateForAccount, simulateDepositAndAllocateForAccountMutationOptions, simulateDepositForAccount, simulateDepositForAccountMutationOptions, simulateEditAccountName, simulateEditAccountNameMutationOptions, simulateRemoveMargin, simulateRemoveMarginMutationOptions, type AccountBalanceInfo, type AddMarginParameters, type AddMarginReturnType, type CreateSubAccountsParameters, type CreateSubAccountsReturnType, type DeleteSubAccountParameters, type DeleteSubAccountReturnType, type DepositAndAllocateForAccountParameters, type DepositAndAllocateForAccountReturnType, type DepositForAccountParameters, type DepositForAccountReturnType, type EditAccountNameParameters, type EditAccountNameReturnType, type GetAccountBalanceInfoData, type GetAccountBalanceInfoOptions, type GetAccountBalanceInfoParameters, type GetAccountBalanceInfoQueryKey, type GetAccountBalanceInfoQueryOptions, type GetAccountBalanceInfoReturnType, type GetAccountBalanceOfData, type GetAccountBalanceOfOptions, type GetAccountBalanceOfParameters, type GetAccountBalanceOfQueryKey, type GetAccountBalanceOfQueryOptions, type GetAccountBalanceOfReturnType, type GetPredictedNextVirtualAccountData, type GetPredictedNextVirtualAccountOptions, type GetPredictedNextVirtualAccountParameters, type GetPredictedNextVirtualAccountQueryKey, type GetPredictedNextVirtualAccountQueryOptions, type GetPredictedNextVirtualAccountReturnType, type GetSubAccountData, type GetSubAccountOptions, type GetSubAccountParameters, type GetSubAccountQueryKey, type GetSubAccountQueryOptions, type GetSubAccountReturnType, type GetSubAccountVirtualNonceData, type GetSubAccountVirtualNonceOptions, type GetSubAccountVirtualNonceParameters, type GetSubAccountVirtualNonceQueryKey, type GetSubAccountVirtualNonceQueryOptions, type GetSubAccountVirtualNonceReturnType, type GetSubAccountsCountOfUserData, type GetSubAccountsCountOfUserOptions, type GetSubAccountsCountOfUserParameters, type GetSubAccountsCountOfUserQueryKey, type GetSubAccountsCountOfUserQueryOptions, type GetSubAccountsCountOfUserReturnType, type GetUserSubAccountsAddressesData, type GetUserSubAccountsAddressesOptions, type GetUserSubAccountsAddressesParameters, type GetUserSubAccountsAddressesQueryKey, type GetUserSubAccountsAddressesQueryOptions, type GetUserSubAccountsAddressesReturnType, type GetUserSubAccountsData, type GetUserSubAccountsOptions, type GetUserSubAccountsParameters, type GetUserSubAccountsQueryKey, type GetUserSubAccountsQueryOptions, type GetUserSubAccountsReturnType, type GetVirtualAccountData, type GetVirtualAccountOptions, type GetVirtualAccountParameters, type GetVirtualAccountQueryKey, type GetVirtualAccountQueryOptions, type GetVirtualAccountReturnType, type GetVirtualAccountsAddressesOfSubAccountData, type GetVirtualAccountsAddressesOfSubAccountOptions, type GetVirtualAccountsAddressesOfSubAccountParameters, type GetVirtualAccountsAddressesOfSubAccountQueryKey, type GetVirtualAccountsAddressesOfSubAccountQueryOptions, type GetVirtualAccountsAddressesOfSubAccountReturnType, type RemoveMarginParameters, type RemoveMarginReturnType, type SchnorrSign, type SimulateAddMarginParameters, type SimulateAddMarginReturnType, type SimulateCreateSubAccountsParameters, type SimulateCreateSubAccountsReturnType, type SimulateDeleteSubAccountParameters, type SimulateDeleteSubAccountReturnType, type SimulateDepositAndAllocateForAccountParameters, type SimulateDepositAndAllocateForAccountReturnType, type SimulateDepositForAccountParameters, type SimulateDepositForAccountReturnType, type SimulateEditAccountNameParameters, type SimulateEditAccountNameReturnType, type SimulateRemoveMarginParameters, type SimulateRemoveMarginReturnType, type SingleUpnlSig, type SubAccountCreationData, type SubAccountDetail, type VirtualAccountDetail, } from './symmio-contracts/account-layer/index.js';
|
|
42
|
+
export { AffiliateState, SubAccountIsolationType, addMargin, addMarginMutationOptions, calculateAvailableForOrder, cancelRegistration, cancelRegistrationMutationOptions, createSubAccounts, createSubAccountsMutationOptions, deleteSubAccount, deleteSubAccountMutationOptions, depositAndAllocateForAccount, depositAndAllocateForAccountMutationOptions, depositForAccount, depositForAccountMutationOptions, editAccountName, editAccountNameMutationOptions, generateAccountManagerAddress, generateAccountManagerAddressQueryKey, generateAccountManagerAddressQueryOptions, getAccountBalanceInfo, getAccountBalanceInfoQueryKey, getAccountBalanceInfoQueryOptions, getAccountBalanceOf, getAccountBalanceOfQueryKey, getAccountBalanceOfQueryOptions, getAffiliateState, getAffiliateStateQueryKey, getAffiliateStateQueryOptions, getPredictedNextVirtualAccount, getPredictedNextVirtualAccountQueryKey, getPredictedNextVirtualAccountQueryOptions, getSubAccount, getSubAccountQueryKey, getSubAccountQueryOptions, getSubAccountVirtualNonce, getSubAccountVirtualNonceQueryKey, getSubAccountVirtualNonceQueryOptions, getSubAccountsCountOfUser, getSubAccountsCountOfUserQueryKey, getSubAccountsCountOfUserQueryOptions, getUserSubAccounts, getUserSubAccountsAddresses, getUserSubAccountsAddressesQueryKey, getUserSubAccountsAddressesQueryOptions, getUserSubAccountsQueryKey, getUserSubAccountsQueryOptions, getVirtualAccount, getVirtualAccountQueryKey, getVirtualAccountQueryOptions, getVirtualAccountsAddressesOfSubAccount, getVirtualAccountsAddressesOfSubAccountQueryKey, getVirtualAccountsAddressesOfSubAccountQueryOptions, removeMargin, removeMarginMutationOptions, requestToRegisterAffiliate, requestToRegisterAffiliateMutationOptions, simulateAddMargin, simulateAddMarginMutationOptions, simulateCancelRegistration, simulateCancelRegistrationMutationOptions, simulateCreateSubAccounts, simulateCreateSubAccountsMutationOptions, simulateDeleteSubAccount, simulateDeleteSubAccountMutationOptions, simulateDepositAndAllocateForAccount, simulateDepositAndAllocateForAccountMutationOptions, simulateDepositForAccount, simulateDepositForAccountMutationOptions, simulateEditAccountName, simulateEditAccountNameMutationOptions, simulateRemoveMargin, simulateRemoveMarginMutationOptions, simulateRequestToRegisterAffiliate, simulateRequestToRegisterAffiliateMutationOptions, type AccountBalanceInfo, type AddMarginParameters, type AddMarginReturnType, type AffiliateRegistration, type CalculateAvailableForOrderParameters, type CancelRegistrationParameters, type CancelRegistrationReturnType, type CreateSubAccountsParameters, type CreateSubAccountsReturnType, type DeleteSubAccountParameters, type DeleteSubAccountReturnType, type DepositAndAllocateForAccountParameters, type DepositAndAllocateForAccountReturnType, type DepositForAccountParameters, type DepositForAccountReturnType, type EditAccountNameParameters, type EditAccountNameReturnType, type GenerateAccountManagerAddressData, type GenerateAccountManagerAddressOptions, type GenerateAccountManagerAddressParameters, type GenerateAccountManagerAddressQueryKey, type GenerateAccountManagerAddressQueryOptions, type GenerateAccountManagerAddressReturnType, type GetAccountBalanceInfoData, type GetAccountBalanceInfoOptions, type GetAccountBalanceInfoParameters, type GetAccountBalanceInfoQueryKey, type GetAccountBalanceInfoQueryOptions, type GetAccountBalanceInfoReturnType, type GetAccountBalanceOfData, type GetAccountBalanceOfOptions, type GetAccountBalanceOfParameters, type GetAccountBalanceOfQueryKey, type GetAccountBalanceOfQueryOptions, type GetAccountBalanceOfReturnType, type GetAffiliateStateData, type GetAffiliateStateOptions, type GetAffiliateStateParameters, type GetAffiliateStateQueryKey, type GetAffiliateStateQueryOptions, type GetAffiliateStateReturnType, type GetPredictedNextVirtualAccountData, type GetPredictedNextVirtualAccountOptions, type GetPredictedNextVirtualAccountParameters, type GetPredictedNextVirtualAccountQueryKey, type GetPredictedNextVirtualAccountQueryOptions, type GetPredictedNextVirtualAccountReturnType, type GetSubAccountData, type GetSubAccountOptions, type GetSubAccountParameters, type GetSubAccountQueryKey, type GetSubAccountQueryOptions, type GetSubAccountReturnType, type GetSubAccountVirtualNonceData, type GetSubAccountVirtualNonceOptions, type GetSubAccountVirtualNonceParameters, type GetSubAccountVirtualNonceQueryKey, type GetSubAccountVirtualNonceQueryOptions, type GetSubAccountVirtualNonceReturnType, type GetSubAccountsCountOfUserData, type GetSubAccountsCountOfUserOptions, type GetSubAccountsCountOfUserParameters, type GetSubAccountsCountOfUserQueryKey, type GetSubAccountsCountOfUserQueryOptions, type GetSubAccountsCountOfUserReturnType, type GetUserSubAccountsAddressesData, type GetUserSubAccountsAddressesOptions, type GetUserSubAccountsAddressesParameters, type GetUserSubAccountsAddressesQueryKey, type GetUserSubAccountsAddressesQueryOptions, type GetUserSubAccountsAddressesReturnType, type GetUserSubAccountsData, type GetUserSubAccountsOptions, type GetUserSubAccountsParameters, type GetUserSubAccountsQueryKey, type GetUserSubAccountsQueryOptions, type GetUserSubAccountsReturnType, type GetVirtualAccountData, type GetVirtualAccountOptions, type GetVirtualAccountParameters, type GetVirtualAccountQueryKey, type GetVirtualAccountQueryOptions, type GetVirtualAccountReturnType, type GetVirtualAccountsAddressesOfSubAccountData, type GetVirtualAccountsAddressesOfSubAccountOptions, type GetVirtualAccountsAddressesOfSubAccountParameters, type GetVirtualAccountsAddressesOfSubAccountQueryKey, type GetVirtualAccountsAddressesOfSubAccountQueryOptions, type GetVirtualAccountsAddressesOfSubAccountReturnType, type RemoveMarginParameters, type RemoveMarginReturnType, type RequestToRegisterAffiliateParameters, type RequestToRegisterAffiliateReturnType, type SchnorrSign, type SimulateAddMarginParameters, type SimulateAddMarginReturnType, type SimulateCancelRegistrationParameters, type SimulateCancelRegistrationReturnType, type SimulateCreateSubAccountsParameters, type SimulateCreateSubAccountsReturnType, type SimulateDeleteSubAccountParameters, type SimulateDeleteSubAccountReturnType, type SimulateDepositAndAllocateForAccountParameters, type SimulateDepositAndAllocateForAccountReturnType, type SimulateDepositForAccountParameters, type SimulateDepositForAccountReturnType, type SimulateEditAccountNameParameters, type SimulateEditAccountNameReturnType, type SimulateRemoveMarginParameters, type SimulateRemoveMarginReturnType, type SimulateRequestToRegisterAffiliateParameters, type SimulateRequestToRegisterAffiliateReturnType, type SingleUpnlSig, type Stakeholder, type SubAccountCreationData, type SubAccountDetail, type VirtualAccountDetail, } from './symmio-contracts/account-layer/index.js';
|
|
43
43
|
/**
|
|
44
44
|
* Collateral slice
|
|
45
45
|
* ----------------
|
|
@@ -69,7 +69,7 @@ export { getOnchainContractMarkets, getOnchainContractMarketsQueryKey, getOnchai
|
|
|
69
69
|
* `getPartyAOpenPositions` returns full {@link Quote} structs; `getPartyAPendingQuotes`
|
|
70
70
|
* returns pending quote ids to hydrate one-by-one with `getQuote`.
|
|
71
71
|
*/
|
|
72
|
-
export { OrderType, PositionType, QuoteStatus, getPartyAOpenPositions, getPartyAOpenPositionsQueryKey, getPartyAOpenPositionsQueryOptions, getPartyAPendingQuotes, getPartyAPendingQuotesQueryKey, getPartyAPendingQuotesQueryOptions, getQuote, getQuoteQueryKey, getQuoteQueryOptions, type GetPartyAOpenPositionsData, type GetPartyAOpenPositionsOptions, type GetPartyAOpenPositionsParameters, type GetPartyAOpenPositionsQueryKey, type GetPartyAOpenPositionsQueryOptions, type GetPartyAOpenPositionsReturnType, type GetPartyAPendingQuotesData, type GetPartyAPendingQuotesOptions, type GetPartyAPendingQuotesParameters, type GetPartyAPendingQuotesQueryKey, type GetPartyAPendingQuotesQueryOptions, type GetPartyAPendingQuotesReturnType, type GetQuoteData, type GetQuoteOptions, type GetQuoteParameters, type GetQuoteQueryKey, type GetQuoteQueryOptions, type GetQuoteReturnType, type LockedValues, type Quote, } from './symmio-contracts/symmio/index.js';
|
|
72
|
+
export { OrderType, PositionType, QuoteStatus, getCoolDownsOfMA, getCoolDownsOfMAQueryKey, getCoolDownsOfMAQueryOptions, getPartyAOpenPositions, getPartyAOpenPositionsQueryKey, getPartyAOpenPositionsQueryOptions, getPartyAPendingQuotes, getPartyAPendingQuotesQueryKey, getPartyAPendingQuotesQueryOptions, getPendingQuotes, getPendingQuotesQueryKey, getPendingQuotesQueryOptions, getQuote, getQuoteQueryKey, getQuoteQueryOptions, type GetCoolDownsOfMAData, type GetCoolDownsOfMAOptions, type GetCoolDownsOfMAParameters, type GetCoolDownsOfMAQueryKey, type GetCoolDownsOfMAQueryOptions, type GetCoolDownsOfMAReturnType, type GetPartyAOpenPositionsData, type GetPartyAOpenPositionsOptions, type GetPartyAOpenPositionsParameters, type GetPartyAOpenPositionsQueryKey, type GetPartyAOpenPositionsQueryOptions, type GetPartyAOpenPositionsReturnType, type GetPartyAPendingQuotesData, type GetPartyAPendingQuotesOptions, type GetPartyAPendingQuotesParameters, type GetPartyAPendingQuotesQueryKey, type GetPartyAPendingQuotesQueryOptions, type GetPartyAPendingQuotesReturnType, type GetPendingQuotesData, type GetPendingQuotesOptions, type GetPendingQuotesParameters, type GetPendingQuotesQueryKey, type GetPendingQuotesQueryOptions, type GetPendingQuotesReturnType, type GetQuoteData, type GetQuoteOptions, type GetQuoteParameters, type GetQuoteQueryKey, type GetQuoteQueryOptions, type GetQuoteReturnType, type LockedValues, type Quote, } from './symmio-contracts/symmio/index.js';
|
|
73
73
|
/**
|
|
74
74
|
* Allocate / deallocate slice
|
|
75
75
|
* ---------------------------
|
|
@@ -87,14 +87,14 @@ export { allocate, allocateMutationOptions, deallocate, deallocateMutationOption
|
|
|
87
87
|
* subaccount (`initiateWithdraw`, `requestCancelWithdraw`);
|
|
88
88
|
* `finalizeWithdrawRequest` is permissionless and calls the core directly.
|
|
89
89
|
*/
|
|
90
|
-
export { WithdrawStatus, createClassicWithdrawPart, finalizeWithdrawRequest, finalizeWithdrawRequestMutationOptions, getFeeForUser, getFeeForUserQueryKey, getFeeForUserQueryOptions, getLastWithdrawRequestId, getLastWithdrawRequestIdQueryKey, getLastWithdrawRequestIdQueryOptions, getPendingWithdrawRequests, getPendingWithdrawRequestsQueryKey, getPendingWithdrawRequestsQueryOptions, getWithdrawRequests, getWithdrawRequestsQueryKey, getWithdrawRequestsQueryOptions, getWithdrawableTime, getWithdrawableTimeQueryKey, getWithdrawableTimeQueryOptions, initiateWithdraw, initiateWithdrawMutationOptions, requestCancelWithdraw, requestCancelWithdrawMutationOptions, simulateFinalizeWithdrawRequest, simulateFinalizeWithdrawRequestMutationOptions, simulateInitiateWithdraw, simulateInitiateWithdrawMutationOptions, simulateRequestCancelWithdraw, simulateRequestCancelWithdrawMutationOptions, type FeeForUser, type FinalizeWithdrawRequestParameters, type FinalizeWithdrawRequestReturnType, type GetFeeForUserData, type GetFeeForUserOptions, type GetFeeForUserParameters, type GetFeeForUserQueryKey, type GetFeeForUserQueryOptions, type GetFeeForUserReturnType, type GetLastWithdrawRequestIdData, type GetLastWithdrawRequestIdOptions, type GetLastWithdrawRequestIdParameters, type GetLastWithdrawRequestIdQueryKey, type GetLastWithdrawRequestIdQueryOptions, type GetLastWithdrawRequestIdReturnType, type GetPendingWithdrawRequestsData, type GetPendingWithdrawRequestsOptions, type GetPendingWithdrawRequestsParameters, type GetPendingWithdrawRequestsQueryKey, type GetPendingWithdrawRequestsQueryOptions, type GetPendingWithdrawRequestsReturnType, type GetWithdrawRequestsData, type GetWithdrawRequestsOptions, type GetWithdrawRequestsParameters, type GetWithdrawRequestsQueryKey, type GetWithdrawRequestsQueryOptions, type GetWithdrawRequestsReturnType, type GetWithdrawableTimeData, type GetWithdrawableTimeOptions, type GetWithdrawableTimeParameters, type GetWithdrawableTimeQueryKey, type GetWithdrawableTimeQueryOptions, type GetWithdrawableTimeReturnType, type InitiateWithdrawParameters, type InitiateWithdrawReturnType, type RequestCancelWithdrawParameters, type RequestCancelWithdrawReturnType, type SimulateFinalizeWithdrawRequestParameters, type SimulateFinalizeWithdrawRequestReturnType, type SimulateInitiateWithdrawParameters, type SimulateInitiateWithdrawReturnType, type SimulateRequestCancelWithdrawParameters, type SimulateRequestCancelWithdrawReturnType, type WithdrawReceiverPart, type WithdrawRequest, } from './symmio-contracts/symmio/index.js';
|
|
90
|
+
export { WithdrawStatus, createClassicWithdrawPart, deallocateAndInitiateWithdraw, deallocateAndInitiateWithdrawMutationOptions, finalizeWithdrawRequest, finalizeWithdrawRequestMutationOptions, forceCancelCloseRequest, forceCancelCloseRequestMutationOptions, forceCancelQuote, forceCancelQuoteMutationOptions, getFeeForUser, getFeeForUserQueryKey, getFeeForUserQueryOptions, getLastWithdrawRequestId, getLastWithdrawRequestIdQueryKey, getLastWithdrawRequestIdQueryOptions, getPendingWithdrawRequests, getPendingWithdrawRequestsQueryKey, getPendingWithdrawRequestsQueryOptions, getWithdrawRequests, getWithdrawRequestsQueryKey, getWithdrawRequestsQueryOptions, getWithdrawableTime, getWithdrawableTimeQueryKey, getWithdrawableTimeQueryOptions, initiateWithdraw, initiateWithdrawMutationOptions, requestCancelWithdraw, requestCancelWithdrawMutationOptions, requestToCancelCloseRequest, requestToCancelCloseRequestMutationOptions, requestToCancelQuote, requestToCancelQuoteMutationOptions, simulateDeallocateAndInitiateWithdraw, simulateDeallocateAndInitiateWithdrawMutationOptions, simulateFinalizeWithdrawRequest, simulateFinalizeWithdrawRequestMutationOptions, simulateInitiateWithdraw, simulateInitiateWithdrawMutationOptions, simulateRequestCancelWithdraw, simulateRequestCancelWithdrawMutationOptions, withdraw, withdrawAuto, withdrawAutoMutationOptions, withdrawMutationOptions, type DeallocateAndInitiateWithdrawParameters, type DeallocateAndInitiateWithdrawReturnType, type FeeForUser, type FinalizeWithdrawRequestParameters, type FinalizeWithdrawRequestReturnType, type ForceCancelCloseRequestParameters, type ForceCancelCloseRequestReturnType, type ForceCancelQuoteParameters, type ForceCancelQuoteReturnType, type GetFeeForUserData, type GetFeeForUserOptions, type GetFeeForUserParameters, type GetFeeForUserQueryKey, type GetFeeForUserQueryOptions, type GetFeeForUserReturnType, type GetLastWithdrawRequestIdData, type GetLastWithdrawRequestIdOptions, type GetLastWithdrawRequestIdParameters, type GetLastWithdrawRequestIdQueryKey, type GetLastWithdrawRequestIdQueryOptions, type GetLastWithdrawRequestIdReturnType, type GetPendingWithdrawRequestsData, type GetPendingWithdrawRequestsOptions, type GetPendingWithdrawRequestsParameters, type GetPendingWithdrawRequestsQueryKey, type GetPendingWithdrawRequestsQueryOptions, type GetPendingWithdrawRequestsReturnType, type GetWithdrawRequestsData, type GetWithdrawRequestsOptions, type GetWithdrawRequestsParameters, type GetWithdrawRequestsQueryKey, type GetWithdrawRequestsQueryOptions, type GetWithdrawRequestsReturnType, type GetWithdrawableTimeData, type GetWithdrawableTimeOptions, type GetWithdrawableTimeParameters, type GetWithdrawableTimeQueryKey, type GetWithdrawableTimeQueryOptions, type GetWithdrawableTimeReturnType, type InitiateWithdrawParameters, type InitiateWithdrawReturnType, type RequestCancelWithdrawParameters, type RequestCancelWithdrawReturnType, type RequestToCancelCloseRequestParameters, type RequestToCancelCloseRequestReturnType, type RequestToCancelQuoteParameters, type RequestToCancelQuoteReturnType, type SimulateDeallocateAndInitiateWithdrawParameters, type SimulateDeallocateAndInitiateWithdrawReturnType, type SimulateFinalizeWithdrawRequestParameters, type SimulateFinalizeWithdrawRequestReturnType, type SimulateInitiateWithdrawParameters, type SimulateInitiateWithdrawReturnType, type SimulateRequestCancelWithdrawParameters, type SimulateRequestCancelWithdrawReturnType, type WithdrawAutoParameters, type WithdrawAutoReturnType, type WithdrawParameters, type WithdrawReceiverPart, type WithdrawRequest, type WithdrawReturnType, } from './symmio-contracts/symmio/index.js';
|
|
91
91
|
/**
|
|
92
92
|
* Chain config registry
|
|
93
93
|
* ---------------------
|
|
94
94
|
* Built-in SYMMIO deployment configs (addresses, subgraphs, solver) keyed by
|
|
95
95
|
* chain id. Used internally by `createConfig`; also exposed directly.
|
|
96
96
|
*/
|
|
97
|
-
export { SymmioSupportedChainId, getChainConfig, isChainSupported, listSupportedChains, type SymmioChainConfig, type SymmioContractAddresses, type SymmioMuonConfig, type SymmioNotificationsConfig, type SymmioNotificationsProtocol, type SymmioPriceServiceConfig, type SymmioPriceServiceType, type SymmioSolverConfig, type SymmioSubgraphName, type SymmioSubgraphUrls, type SymmioTpSlConfig, } from './core/chains/index.js';
|
|
97
|
+
export { SymmioSupportedChainId, getChainConfig, getDefaultSolver, isChainSupported, listSupportedChains, type SolverId, type SymmioChainConfig, type SymmioContractAddresses, type SymmioEnigmaNotificationsConfig, type SymmioInventoryConfig, type SymmioListingConfig, type SymmioMuonConfig, type SymmioNotificationsConfig, type SymmioNotificationsProtocol, type SymmioPriceServiceConfig, type SymmioPriceServiceType, type SymmioRasaNotificationsConfig, type SymmioSolverConfig, type SymmioSolverKind, type SymmioSubgraphName, type SymmioSubgraphUrls, type SymmioTpSlConfig, } from './core/chains/index.js';
|
|
98
98
|
/**
|
|
99
99
|
* Enigma price service
|
|
100
100
|
* --------------------
|
|
@@ -110,33 +110,67 @@ export { getEnigmaPriceServiceHealth, getEnigmaPriceServiceHealthQueryKey, getEn
|
|
|
110
110
|
* reconnecting-socket primitive underneath stays internal; `SocketStatus` is the
|
|
111
111
|
* connection state it reports.
|
|
112
112
|
*/
|
|
113
|
-
export { ActionStatus, NotificationType, buildSubscribeMessage, classifyNotification, normalizeNotification, parseNotificationFrame, watchNotifications, type BuildSubscribeMessageParameters, type
|
|
113
|
+
export { ActionStatus, NotificationType, buildRasaSubscribeMessage, buildSubscribeMessage, classifyNotification, normalizeNotification, parseNotificationFrame, watchNotifications, type BuildSubscribeMessageParameters, type EnigmaNotificationEnvelope, type Notification, type RawEnigmaPositionNotification, type RawPositionNotification, type RawRasaPositionNotification, type Unwatch, type WatchNotificationsParameters, } from './websocket/notifications/index.js';
|
|
114
114
|
export type { SocketStatus } from './websocket/socket/index.js';
|
|
115
115
|
/**
|
|
116
116
|
* Price-service stream
|
|
117
117
|
* --------------------
|
|
118
|
-
* `
|
|
119
|
-
* and delivers
|
|
120
|
-
*
|
|
118
|
+
* `watchPrices` is the provider-agnostic entry point: it subscribes to whichever
|
|
119
|
+
* live feed serves the resolved solver and delivers `MarkPriceTick` batches, so
|
|
120
|
+
* a positions table or trade ticket never branches on provider.
|
|
121
|
+
*
|
|
122
|
+
* `watchEnigmaPrices` / `watchBinancePrices` are the provider-specific twins for
|
|
123
|
+
* callers that already know their source. All are broadcast-only — no subscribe
|
|
124
|
+
* message; watchers sharing the same `wsUrl` share one socket, and a per-watcher
|
|
125
|
+
* `names` filter is applied after parsing so filters never starve siblings.
|
|
126
|
+
*/
|
|
127
|
+
export { parseBinancePriceFrame, parsePriceFrame, watchBinancePrices, watchEnigmaPrices, watchPrices, type EnigmaPriceTick, type RawEnigmaPriceFrame, type WatchBinancePricesParameters, type WatchEnigmaPricesParameters, type WatchPricesParameters, } from './websocket/prices/index.js';
|
|
128
|
+
/**
|
|
129
|
+
* Mark prices
|
|
130
|
+
* -----------
|
|
131
|
+
* `getMarkPrices` reads a one-shot snapshot from whichever price provider serves
|
|
132
|
+
* the resolved solver — Enigma's lowcap service, or Binance USD-M Futures for
|
|
133
|
+
* major markets. The provider is derived from `{ chainId, solverId }` via
|
|
134
|
+
* `solver.priceService ?? chain.priceService`; it is never selected per call.
|
|
135
|
+
*
|
|
136
|
+
* `MarkPriceTick` is a discriminated union on `provider`: read `name` /
|
|
137
|
+
* `markPrice` without narrowing, and narrow to reach provider-specific fields
|
|
138
|
+
* such as Binance's `indexPrice`.
|
|
139
|
+
*/
|
|
140
|
+
/**
|
|
141
|
+
* Binance-only price reads
|
|
142
|
+
* ------------------------
|
|
143
|
+
* The provider-specific twins of the Enigma price-service family, for callers
|
|
144
|
+
* that already know their source. Each throws `UNSUPPORTED_BY_PRICE_SERVICE`
|
|
145
|
+
* when the resolved provider is not Binance.
|
|
121
146
|
*/
|
|
122
|
-
export {
|
|
147
|
+
export { getBinanceHealth, getBinanceHealthQueryKey, getBinanceHealthQueryOptions, getBinancePremiumIndex, getBinancePremiumIndexQueryKey, getBinancePremiumIndexQueryOptions, getBinanceSymbolsInfo, getBinanceSymbolsInfoQueryKey, getBinanceSymbolsInfoQueryOptions, } from './price-service/binance/index.js';
|
|
148
|
+
export type { BinanceExchangeSymbol, GetBinanceHealthData, GetBinanceHealthOptions, GetBinanceHealthParameters, GetBinanceHealthQueryKey, GetBinanceHealthQueryOptions, GetBinanceHealthReturnType, GetBinancePremiumIndexData, GetBinancePremiumIndexOptions, GetBinancePremiumIndexParameters, GetBinancePremiumIndexQueryKey, GetBinancePremiumIndexQueryOptions, GetBinancePremiumIndexReturnType, GetBinanceSymbolsInfoData, GetBinanceSymbolsInfoOptions, GetBinanceSymbolsInfoParameters, GetBinanceSymbolsInfoQueryKey, GetBinanceSymbolsInfoQueryOptions, GetBinanceSymbolsInfoReturnType, RawBinanceExchangeInfo, RawBinanceMarkPriceFrame, RawBinancePremiumIndexRow, } from './price-service/binance/index.js';
|
|
149
|
+
export { getMarkPrices, getMarkPricesQueryKey, getMarkPricesQueryOptions } from './price-service/get-mark-prices/index.js';
|
|
150
|
+
export type { GetMarkPricesData, GetMarkPricesOptions, GetMarkPricesParameters, GetMarkPricesQueryKey, GetMarkPricesQueryOptions, GetMarkPricesReturnType, } from './price-service/get-mark-prices/index.js';
|
|
151
|
+
export type { BinanceMarkPriceTick, EnigmaMarkPriceTick, MarkPriceTick, NormalizedMarkPriceByProvider, } from './price-service/types.js';
|
|
123
152
|
/**
|
|
124
153
|
* Notifications search
|
|
125
154
|
* --------------------
|
|
126
|
-
* `searchNotifications`
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
* `
|
|
155
|
+
* `searchNotifications` is one interface over both solver kinds, dispatched by
|
|
156
|
+
* the resolved `solverId`: an **enigma** solver hits the notification service
|
|
157
|
+
* (`POST /api/v1/search`, a free-form equality filter over stored documents),
|
|
158
|
+
* while a **rasa** solver hits its own position-state endpoint. The result is a
|
|
159
|
+
* per-kind union ({@link NotificationSearchResult}) — pass a literal `solverId`
|
|
160
|
+
* to narrow it, or branch on the returned `kind`. The REST counterpart to the
|
|
161
|
+
* live `watchNotifications` stream.
|
|
132
162
|
*/
|
|
133
|
-
export { searchNotifications, searchNotificationsQueryKey, searchNotificationsQueryOptions, type NotificationDocument, type NotificationQueryValue, type NotificationSearchField, type NotificationSearchFilter, type NotificationSearchResult, type SearchNotificationsData, type SearchNotificationsOptions, type SearchNotificationsParameters, type SearchNotificationsQueryKey, type SearchNotificationsQueryOptions, type SearchNotificationsReturnType, } from './notifications/index.js';
|
|
163
|
+
export { searchNotifications, searchNotificationsQueryKey, searchNotificationsQueryOptions, type EnigmaNotificationSearchResult, type NotificationDocument, type NotificationQueryValue, type NotificationSearchField, type NotificationSearchFilter, type NotificationSearchResult, type NotificationSearchResultByKind, type RasaNotificationSearchResult, type SearchNotificationsData, type SearchNotificationsOptions, type SearchNotificationsParameters, type SearchNotificationsQueryKey, type SearchNotificationsQueryOptions, type SearchNotificationsReturnType, } from './notifications/index.js';
|
|
134
164
|
/**
|
|
135
165
|
* Markets
|
|
136
166
|
* -------
|
|
137
167
|
* Fetch tradable markets from the chain's solver `/contract-symbols` endpoint.
|
|
138
168
|
*/
|
|
139
|
-
export { getMarkets, getMarketsQueryKey, getMarketsQueryOptions, type GetMarketsData, type GetMarketsOptions, type GetMarketsParameters, type GetMarketsQueryKey, type GetMarketsQueryOptions, type GetMarketsReturnType, type
|
|
169
|
+
export { getMarkets, getMarketsQueryKey, getMarketsQueryOptions, type EnigmaMarket, type GetMarketsData, type GetMarketsOptions, type GetMarketsParameters, type GetMarketsQueryKey, type GetMarketsQueryOptions, type GetMarketsReturnType, type Market, type NormalizedMarketByKind, type RasaMarket, } from './solvers/markets/index.js';
|
|
170
|
+
export { getSolverCapabilities, supportsGroupClose, supportsLimitOrder, type SolverCapabilities, } from './solvers/capabilities.js';
|
|
171
|
+
export { limitOpenAuto, limitOpenAutoMutationOptions, prepareLimitOpenParams, type PrepareLimitOpenParameters, } from './solvers/limit-open/index.js';
|
|
172
|
+
export { limitCloseAuto, limitCloseAutoMutationOptions, prepareLimitCloseParams, type PrepareLimitCloseParameters, } from './solvers/limit-close/index.js';
|
|
173
|
+
export { checkForceCloseEligibility, checkForceClosePriceReached, findForceCloseWindow, forceCloseAuto, forceCloseAutoMutationOptions, forceClosePosition, forceClosePositionMutationOptions, getForceCloseParams, getForceCloseParamsQueryKey, getForceCloseParamsQueryOptions, previewForceClosePrice, type ForceCloseAutoParameters, type ForceCloseAutoReturnType, type ForceCloseEligibility, type ForceCloseIneligibleReason, type ForceCloseParams, type ForceClosePositionParameters, type ForceClosePositionReturnType, type ForceCloseWindow, type GetForceCloseParametersParameters, type GetForceCloseParametersReturnType, type GetForceCloseParamsData, type GetForceCloseParamsOptions, type GetForceCloseParamsQueryKey, type GetForceCloseParamsQueryOptions, } from './solvers/force-close/index.js';
|
|
140
174
|
/**
|
|
141
175
|
* Funding info
|
|
142
176
|
* ------------
|
|
@@ -146,8 +180,28 @@ export { getMarkets, getMarketsQueryKey, getMarketsQueryOptions, type GetMarkets
|
|
|
146
180
|
* rate receives funding, a negative rate pays. {@link projectFundingRate}
|
|
147
181
|
* extrapolates a per-epoch rate over a day window (linear, non-compounded).
|
|
148
182
|
*/
|
|
149
|
-
export { calculatePriceImpact, getEstimatedPrice, getEstimatedPriceQueryKey, getEstimatedPriceQueryOptions, toEstimatedPrice, type CalculatePriceImpactParameters, type EstimatedPriceEntry, type GetEstimatedPriceData, type GetEstimatedPriceOptions, type GetEstimatedPriceParameters, type GetEstimatedPriceQueryKey, type GetEstimatedPriceQueryOptions, type GetEstimatedPriceReturnType, } from './solvers/estimated-price/index.js';
|
|
183
|
+
export { calculatePriceImpact, getEstimatedPrice, getEstimatedPriceQueryKey, getEstimatedPriceQueryOptions, supportsEstimatedPrice, toEstimatedPrice, type CalculatePriceImpactParameters, type EstimatedPriceEntry, type GetEstimatedPriceData, type GetEstimatedPriceOptions, type GetEstimatedPriceParameters, type GetEstimatedPriceQueryKey, type GetEstimatedPriceQueryOptions, type GetEstimatedPriceReturnType, type SupportsEstimatedPriceParameters, } from './solvers/estimated-price/index.js';
|
|
150
184
|
export { getFundingInfo, getFundingInfoQueryKey, getFundingInfoQueryOptions, projectFundingRate, toMarketFundingInfo, type GetFundingInfoData, type GetFundingInfoOptions, type GetFundingInfoParameters, type GetFundingInfoQueryKey, type GetFundingInfoQueryOptions, type GetFundingInfoReturnType, type MarketFundingInfo, type ProjectFundingRateParameters, } from './solvers/funding-info/index.js';
|
|
185
|
+
export { getRevenueRecords, getRevenueRecordsQueryKey, getRevenueRecordsQueryOptions, toRevenueRecord, type GetRevenueRecordsData, type GetRevenueRecordsOptions, type GetRevenueRecordsParameters, type GetRevenueRecordsQueryKey, type GetRevenueRecordsQueryOptions, type GetRevenueRecordsReturnType, type SolverRevenueRecord, } from './solvers/revenue-records/index.js';
|
|
186
|
+
export { getSymbols, getSymbolsQueryKey, getSymbolsQueryOptions, toSolverSymbols, type GetSymbolsData, type GetSymbolsOptions, type GetSymbolsParameters, type GetSymbolsQueryKey, type GetSymbolsQueryOptions, type GetSymbolsReturnType, type SolverSymbol, type SymbolStateFilter, type SymbolValidityFilter, } from './solvers/symbols/index.js';
|
|
187
|
+
export { getTradeVolume, getTradeVolumeQueryKey, getTradeVolumeQueryOptions, toSolverDailyVolume, type GetTradeVolumeData, type GetTradeVolumeOptions, type GetTradeVolumeParameters, type GetTradeVolumeQueryKey, type GetTradeVolumeQueryOptions, type GetTradeVolumeReturnType, type SolverDailyVolume, } from './solvers/trade-volume/index.js';
|
|
188
|
+
/**
|
|
189
|
+
* Rasa-only solver reads
|
|
190
|
+
* ----------------------
|
|
191
|
+
* Endpoints only the `rasa` solver kind exposes: solver-side balance info,
|
|
192
|
+
* partyA uPnL, global open interest, symbol price range, position-state and
|
|
193
|
+
* notification searches, single error-code lookup, whitelist check/add, and
|
|
194
|
+
* readiness. Each action throws a typed `UNSUPPORTED_BY_SOLVER` `SymmError`
|
|
195
|
+
* when the resolved solver is not a `rasa` solver.
|
|
196
|
+
*/
|
|
197
|
+
export { addSolverWhitelist, addSolverWhitelistMutationOptions, type AddSolverWhitelistParameters, type AddSolverWhitelistReturnType, } from './solvers/add-solver-whitelist/index.js';
|
|
198
|
+
export { getErrorMessage, getErrorMessageQueryKey, getErrorMessageQueryOptions, type GetErrorMessageData, type GetErrorMessageOptions, type GetErrorMessageParameters, type GetErrorMessageQueryKey, type GetErrorMessageQueryOptions, type GetErrorMessageReturnType, } from './solvers/get-error-message/index.js';
|
|
199
|
+
export { getPartyAUpnl, getPartyAUpnlQueryKey, getPartyAUpnlQueryOptions, type GetPartyAUpnlData, type GetPartyAUpnlOptions, type GetPartyAUpnlParameters, type GetPartyAUpnlQueryKey, type GetPartyAUpnlQueryOptions, type GetPartyAUpnlReturnType, } from './solvers/get-party-a-upnl/index.js';
|
|
200
|
+
export { getSolverBalanceInfo, getSolverBalanceInfoQueryKey, getSolverBalanceInfoQueryOptions, type GetSolverBalanceInfoData, type GetSolverBalanceInfoOptions, type GetSolverBalanceInfoParameters, type GetSolverBalanceInfoQueryKey, type GetSolverBalanceInfoQueryOptions, type GetSolverBalanceInfoReturnType, } from './solvers/get-solver-balance-info/index.js';
|
|
201
|
+
export { getSolverOpenInterest, getSolverOpenInterestQueryKey, getSolverOpenInterestQueryOptions, type GetSolverOpenInterestData, type GetSolverOpenInterestOptions, type GetSolverOpenInterestParameters, type GetSolverOpenInterestQueryKey, type GetSolverOpenInterestQueryOptions, type GetSolverOpenInterestReturnType, } from './solvers/get-solver-open-interest/index.js';
|
|
202
|
+
export { getSolverPriceRange, getSolverPriceRangeQueryKey, getSolverPriceRangeQueryOptions, type GetSolverPriceRangeData, type GetSolverPriceRangeOptions, type GetSolverPriceRangeParameters, type GetSolverPriceRangeQueryKey, type GetSolverPriceRangeQueryOptions, type GetSolverPriceRangeReturnType, } from './solvers/get-solver-price-range/index.js';
|
|
203
|
+
export { getSolverReadiness, getSolverReadinessQueryKey, getSolverReadinessQueryOptions, type GetSolverReadinessData, type GetSolverReadinessOptions, type GetSolverReadinessParameters, type GetSolverReadinessQueryKey, type GetSolverReadinessQueryOptions, type GetSolverReadinessReturnType, } from './solvers/get-solver-readiness/index.js';
|
|
204
|
+
export type { BalanceInfoResponseSchema, BothUpnlData, NotificationsSearchResponseSchema, OpenInterestResponseSchema, PositionStateResponseSchema, PositionsStateOutputSchema, ReadinessResponseSchema, StatusResponse, SymbolPriceRangeInputSchema, UpnlData, } from './solvers/types/generated/rasa-solver.js';
|
|
151
205
|
/**
|
|
152
206
|
* Market info (solver)
|
|
153
207
|
* --------------------
|
|
@@ -155,7 +209,7 @@ export { getFundingInfo, getFundingInfoQueryKey, getFundingInfoQueryOptions, pro
|
|
|
155
209
|
* plus the aggregate totals across every market. Dollar amounts are plain
|
|
156
210
|
* numbers as the solver reports them; no decimal scaling.
|
|
157
211
|
*/
|
|
158
|
-
export { getMarketInfo, getMarketInfoQueryKey, getMarketInfoQueryOptions,
|
|
212
|
+
export { getMarketInfo, getMarketInfoQueryKey, getMarketInfoQueryOptions, type EnigmaMarketInfo, type GetMarketInfoData, type GetMarketInfoOptions, type GetMarketInfoParameters, type GetMarketInfoQueryKey, type GetMarketInfoQueryOptions, type GetMarketInfoReturnType, type MarketInfo, type MarketVolume, type NormalizedMarketInfoByKind, type RasaMarketInfo, type RasaMarketInfoRow, } from './solvers/market-info/index.js';
|
|
159
213
|
/**
|
|
160
214
|
* Locked params
|
|
161
215
|
* -------------
|
|
@@ -170,7 +224,7 @@ export { getLockedParams, getLockedParamsQueryKey, getLockedParamsQueryOptions,
|
|
|
170
224
|
* plain numbers with no scaling. {@link checkNotionalCap} gates a candidate
|
|
171
225
|
* open trade against the chosen side's available liquidity.
|
|
172
226
|
*/
|
|
173
|
-
export { checkNotionalCap, getNotionalCapAll, getNotionalCapAllQueryKey, getNotionalCapAllQueryOptions, getNotionalCapBySymbolId, getNotionalCapBySymbolIdQueryKey, getNotionalCapBySymbolIdQueryOptions, getOpenInterestBySymbolId, getOpenInterestBySymbolIdQueryKey, getOpenInterestBySymbolIdQueryOptions,
|
|
227
|
+
export { checkNotionalCap, getNotionalCapAll, getNotionalCapAllQueryKey, getNotionalCapAllQueryOptions, getNotionalCapBySymbolId, getNotionalCapBySymbolIdQueryKey, getNotionalCapBySymbolIdQueryOptions, getOpenInterestBySymbolId, getOpenInterestBySymbolIdQueryKey, getOpenInterestBySymbolIdQueryOptions, type CheckNotionalCapInputs, type CheckNotionalCapResult, type EnigmaNotionalCap, type GetNotionalCapAllData, type GetNotionalCapAllOptions, type GetNotionalCapAllParameters, type GetNotionalCapAllQueryKey, type GetNotionalCapAllQueryOptions, type GetNotionalCapAllReturnType, type GetNotionalCapBySymbolIdData, type GetNotionalCapBySymbolIdOptions, type GetNotionalCapBySymbolIdParameters, type GetNotionalCapBySymbolIdQueryKey, type GetNotionalCapBySymbolIdQueryOptions, type GetNotionalCapBySymbolIdReturnType, type GetOpenInterestBySymbolIdData, type GetOpenInterestBySymbolIdOptions, type GetOpenInterestBySymbolIdParameters, type GetOpenInterestBySymbolIdQueryKey, type GetOpenInterestBySymbolIdQueryOptions, type GetOpenInterestBySymbolIdReturnType, type MarketNotionalCap, type NormalizedNotionalCapByKind, type RasaNotionalCap, } from './solvers/notional-cap/index.js';
|
|
174
228
|
/**
|
|
175
229
|
* Solver error codes
|
|
176
230
|
* ------------------
|
|
@@ -178,22 +232,33 @@ export { checkNotionalCap, getNotionalCapAll, getNotionalCapAllQueryKey, getNoti
|
|
|
178
232
|
* reported on a failed open/close notification to a human-readable message.
|
|
179
233
|
*/
|
|
180
234
|
export { getSolverErrorCodes, getSolverErrorCodesQueryKey, getSolverErrorCodesQueryOptions, type GetSolverErrorCodesData, type GetSolverErrorCodesOptions, type GetSolverErrorCodesParameters, type GetSolverErrorCodesQueryKey, type GetSolverErrorCodesQueryOptions, type GetSolverErrorCodesReturnType, } from './solvers/error-codes/index.js';
|
|
235
|
+
/**
|
|
236
|
+
* Muon attestation structs mirrored from the SYMMIO diamond
|
|
237
|
+
* ---------------------------------------------------------
|
|
238
|
+
* The contract-ready tuples the Muon assemblers below produce.
|
|
239
|
+
* {@link SingleUpnlSig} (uPnL only) is exported with the AccountLayer slice.
|
|
240
|
+
*/
|
|
241
|
+
export type { HighLowPriceSig, SingleUpnlAndPriceSig } from './symmio-contracts/symmio/index.js';
|
|
181
242
|
/**
|
|
182
243
|
* Muon oracle service
|
|
183
244
|
* -------------------
|
|
184
|
-
* Fetch the Muon
|
|
185
|
-
* contract-ready `SingleUpnlSig
|
|
186
|
-
*
|
|
245
|
+
* Fetch the Muon attestations the contracts require, assembled into
|
|
246
|
+
* contract-ready structs (`SingleUpnlSig` for `removeMargin`,
|
|
247
|
+
* `SingleUpnlAndPriceSig` for `sendQuote`, `HighLowPriceSig` for force-close).
|
|
248
|
+
* The gateway is a query-param REST endpoint with no OpenAPI spec, so its
|
|
249
|
+
* request/response types are hand-written.
|
|
187
250
|
*/
|
|
188
|
-
export { MUON_APP, MUON_METHOD_PARTY_A_OVERVIEW, MUON_METHOD_PRICE, MUON_METHOD_PRICE_RANGE, MUON_METHOD_SETTLE_UPNL, MUON_METHOD_UPNL_A, MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, MUON_METHOD_UPNL_B, MUON_METHOD_UPNL_PAIR, MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, getDeallocateUpnlSig, getDeallocateUpnlSigQueryKey, getDeallocateUpnlSigQueryOptions, getMuonPartyAOverview, getMuonPartyAOverviewQueryKey, getMuonPartyAOverviewQueryOptions, getMuonPrice, getMuonPriceQueryKey, getMuonPriceQueryOptions, getMuonPriceRange, getMuonPriceRangeQueryKey, getMuonPriceRangeQueryOptions, getMuonSettleUpnl, getMuonSettleUpnlQueryKey, getMuonSettleUpnlQueryOptions, getMuonUpnl, getMuonUpnlA, getMuonUpnlAQueryKey, getMuonUpnlAQueryOptions, getMuonUpnlAWithSymbolPrice, getMuonUpnlAWithSymbolPriceQueryKey, getMuonUpnlAWithSymbolPriceQueryOptions, getMuonUpnlB, getMuonUpnlBQueryKey, getMuonUpnlBQueryOptions, getMuonUpnlQueryKey, getMuonUpnlQueryOptions, getMuonUpnlWithSymbolPrice, getMuonUpnlWithSymbolPriceQueryKey, getMuonUpnlWithSymbolPriceQueryOptions, type GetDeallocateUpnlSigData, type GetDeallocateUpnlSigOptions, type GetDeallocateUpnlSigParameters, type GetDeallocateUpnlSigQueryKey, type GetDeallocateUpnlSigQueryOptions, type GetDeallocateUpnlSigReturnType, type GetMuonPartyAOverviewData, type GetMuonPartyAOverviewOptions, type GetMuonPartyAOverviewParameters, type GetMuonPartyAOverviewQueryKey, type GetMuonPartyAOverviewQueryOptions, type GetMuonPartyAOverviewReturnType, type GetMuonPriceData, type GetMuonPriceOptions, type GetMuonPriceParameters, type GetMuonPriceQueryKey, type GetMuonPriceQueryOptions, type GetMuonPriceRangeData, type GetMuonPriceRangeOptions, type GetMuonPriceRangeParameters, type GetMuonPriceRangeQueryKey, type GetMuonPriceRangeQueryOptions, type GetMuonPriceRangeReturnType, type GetMuonPriceReturnType, type GetMuonSettleUpnlData, type GetMuonSettleUpnlOptions, type GetMuonSettleUpnlParameters, type GetMuonSettleUpnlQueryKey, type GetMuonSettleUpnlQueryOptions, type GetMuonSettleUpnlReturnType, type GetMuonUpnlAData, type GetMuonUpnlAOptions, type GetMuonUpnlAParameters, type GetMuonUpnlAQueryKey, type GetMuonUpnlAQueryOptions, type GetMuonUpnlAReturnType, type GetMuonUpnlAWithSymbolPriceData, type GetMuonUpnlAWithSymbolPriceOptions, type GetMuonUpnlAWithSymbolPriceParameters, type GetMuonUpnlAWithSymbolPriceQueryKey, type GetMuonUpnlAWithSymbolPriceQueryOptions, type GetMuonUpnlAWithSymbolPriceReturnType, type GetMuonUpnlBData, type GetMuonUpnlBOptions, type GetMuonUpnlBParameters, type GetMuonUpnlBQueryKey, type GetMuonUpnlBQueryOptions, type GetMuonUpnlBReturnType, type GetMuonUpnlData, type GetMuonUpnlOptions, type GetMuonUpnlParameters, type GetMuonUpnlQueryKey, type GetMuonUpnlQueryOptions, type GetMuonUpnlReturnType, type GetMuonUpnlWithSymbolPriceData, type GetMuonUpnlWithSymbolPriceOptions, type GetMuonUpnlWithSymbolPriceParameters, type GetMuonUpnlWithSymbolPriceQueryKey, type GetMuonUpnlWithSymbolPriceQueryOptions, type GetMuonUpnlWithSymbolPriceReturnType, type MuonAttestationBase, type MuonRawResult, type MuonResponse, } from './muon/index.js';
|
|
251
|
+
export { MUON_APP, MUON_METHOD_PARTY_A_OVERVIEW, MUON_METHOD_PRICE, MUON_METHOD_PRICE_RANGE, MUON_METHOD_SETTLE_UPNL, MUON_METHOD_UPNL_A, MUON_METHOD_UPNL_A_WITH_SYMBOL_PRICE, MUON_METHOD_UPNL_B, MUON_METHOD_UPNL_PAIR, MUON_METHOD_UPNL_WITH_SYMBOL_PRICE, getDeallocateUpnlSig, getDeallocateUpnlSigQueryKey, getDeallocateUpnlSigQueryOptions, getForceClosePriceSig, getForceClosePriceSigQueryKey, getForceClosePriceSigQueryOptions, getMuonPartyAOverview, getMuonPartyAOverviewQueryKey, getMuonPartyAOverviewQueryOptions, getMuonPrice, getMuonPriceQueryKey, getMuonPriceQueryOptions, getMuonPriceRange, getMuonPriceRangeQueryKey, getMuonPriceRangeQueryOptions, getMuonSettleUpnl, getMuonSettleUpnlQueryKey, getMuonSettleUpnlQueryOptions, getMuonUpnl, getMuonUpnlA, getMuonUpnlAQueryKey, getMuonUpnlAQueryOptions, getMuonUpnlAWithSymbolPrice, getMuonUpnlAWithSymbolPriceQueryKey, getMuonUpnlAWithSymbolPriceQueryOptions, getMuonUpnlB, getMuonUpnlBQueryKey, getMuonUpnlBQueryOptions, getMuonUpnlQueryKey, getMuonUpnlQueryOptions, getMuonUpnlWithSymbolPrice, getMuonUpnlWithSymbolPriceQueryKey, getMuonUpnlWithSymbolPriceQueryOptions, getSendQuoteUpnlSig, getSendQuoteUpnlSigQueryKey, getSendQuoteUpnlSigQueryOptions, type GetDeallocateUpnlSigData, type GetDeallocateUpnlSigOptions, type GetDeallocateUpnlSigParameters, type GetDeallocateUpnlSigQueryKey, type GetDeallocateUpnlSigQueryOptions, type GetDeallocateUpnlSigReturnType, type GetForceClosePriceSigData, type GetForceClosePriceSigOptions, type GetForceClosePriceSigParameters, type GetForceClosePriceSigQueryKey, type GetForceClosePriceSigQueryOptions, type GetForceClosePriceSigReturnType, type GetMuonPartyAOverviewData, type GetMuonPartyAOverviewOptions, type GetMuonPartyAOverviewParameters, type GetMuonPartyAOverviewQueryKey, type GetMuonPartyAOverviewQueryOptions, type GetMuonPartyAOverviewReturnType, type GetMuonPriceData, type GetMuonPriceOptions, type GetMuonPriceParameters, type GetMuonPriceQueryKey, type GetMuonPriceQueryOptions, type GetMuonPriceRangeData, type GetMuonPriceRangeOptions, type GetMuonPriceRangeParameters, type GetMuonPriceRangeQueryKey, type GetMuonPriceRangeQueryOptions, type GetMuonPriceRangeReturnType, type GetMuonPriceReturnType, type GetMuonSettleUpnlData, type GetMuonSettleUpnlOptions, type GetMuonSettleUpnlParameters, type GetMuonSettleUpnlQueryKey, type GetMuonSettleUpnlQueryOptions, type GetMuonSettleUpnlReturnType, type GetMuonUpnlAData, type GetMuonUpnlAOptions, type GetMuonUpnlAParameters, type GetMuonUpnlAQueryKey, type GetMuonUpnlAQueryOptions, type GetMuonUpnlAReturnType, type GetMuonUpnlAWithSymbolPriceData, type GetMuonUpnlAWithSymbolPriceOptions, type GetMuonUpnlAWithSymbolPriceParameters, type GetMuonUpnlAWithSymbolPriceQueryKey, type GetMuonUpnlAWithSymbolPriceQueryOptions, type GetMuonUpnlAWithSymbolPriceReturnType, type GetMuonUpnlBData, type GetMuonUpnlBOptions, type GetMuonUpnlBParameters, type GetMuonUpnlBQueryKey, type GetMuonUpnlBQueryOptions, type GetMuonUpnlBReturnType, type GetMuonUpnlData, type GetMuonUpnlOptions, type GetMuonUpnlParameters, type GetMuonUpnlQueryKey, type GetMuonUpnlQueryOptions, type GetMuonUpnlReturnType, type GetMuonUpnlWithSymbolPriceData, type GetMuonUpnlWithSymbolPriceOptions, type GetMuonUpnlWithSymbolPriceParameters, type GetMuonUpnlWithSymbolPriceQueryKey, type GetMuonUpnlWithSymbolPriceQueryOptions, type GetMuonUpnlWithSymbolPriceReturnType, type GetSendQuoteUpnlSigData, type GetSendQuoteUpnlSigOptions, type GetSendQuoteUpnlSigParameters, type GetSendQuoteUpnlSigQueryKey, type GetSendQuoteUpnlSigQueryOptions, type GetSendQuoteUpnlSigReturnType, type MuonAttestationBase, type MuonRawResult, type MuonResponse, } from './muon/index.js';
|
|
189
252
|
/**
|
|
190
253
|
* Shared types & query helpers
|
|
191
254
|
* ----------------------------
|
|
192
255
|
* Parameter-helper types (mirroring wagmi's conventions) and the query-key
|
|
193
256
|
* filter used by the options factories.
|
|
194
257
|
*/
|
|
195
|
-
export type { ChainIdParameter, Compute, ConfigKeyParameter, DeepPartial, ExactPartial, FromParameter, SimulateBeforeWriteParameter, WriteContractParameter, WriteSolverParameter, } from './shared/types/properties.js';
|
|
258
|
+
export type { ChainIdParameter, Compute, ConfigKeyParameter, DeepPartial, ExactPartial, FromParameter, ReadSolverParameter, SimulateBeforeWriteParameter, SolverIdParameter, WriteContractParameter, WriteSolverParameter, } from './shared/types/properties.js';
|
|
196
259
|
export type { QueryParameter, SymmioQueryOptions } from './shared/types/query.js';
|
|
260
|
+
export { sharePercent } from './shared/utils/percent.js';
|
|
261
|
+
export { decimalPriceToWei } from './shared/utils/price.js';
|
|
197
262
|
export { filterQueryOptions } from './shared/utils/query.js';
|
|
198
263
|
export { shouldSimulateBeforeWrite } from './shared/utils/simulate-before-write.js';
|
|
199
264
|
/**
|
|
@@ -212,7 +277,7 @@ export { SymmApiError, SymmError, type SymmErrorKind } from './shared/errors/sym
|
|
|
212
277
|
* (`instantOpen`), wizard (`prepareInstantOpenParams`), and auto convenience
|
|
213
278
|
* (`instantOpenAuto`).
|
|
214
279
|
*/
|
|
215
|
-
export { ADD_MARGIN_TO_NEXT_VA_SELECTOR, INSTANT_LAYER_EIP712_DOMAIN_NAME, INSTANT_LAYER_EIP712_DOMAIN_VERSION, INSTANT_TRADE_REQUIRED_SELECTORS, MARKET_ORDER_DEADLINE_SECONDS, ORDER_TYPE_MARKET, REQUEST_TO_CLOSE_POSITION_SELECTOR, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, SIGNED_OPERATION_TYPES, VIRTUAL_ACCOUNT_ISOLATION_TYPE, ZERO_UPNL_SIG, buildQuoteMetadata, buildSignedOperation, calculateAvailableInstantOpenMargin, calculateMargin, calculateTradeParams, computePlatformFee, encodeAddMarginToNextVA, encodeSendQuoteWithAffiliateAndData, formatSignedOperationPayload, generateSalt, getFakeSendQuoteMuonSignature, getInstantLayerEip712Domain, getInstantOpenQuoteId, getInstantOpenQuoteIdQueryKey, getInstantOpenQuoteIdQueryOptions, getInstantOpens, getInstantOpensQueryKey, getInstantOpensQueryOptions, getMarketOrderDeadline, instantOpen, instantOpenAuto, instantOpenAutoMutationOptions, instantOpenMutationOptions, isolationTypeForSide, prepareInstantOpenParams, resolveFeeRates, resolveLockedParams, resolveMarkPrice, resolveMarket, sendInstantOpen, signAndFormatInstantOperation, signSignedOperation, toWeiBigInt, validateInstantOpenAgainstMarket, type BuildSignedOperationParameters, type CalculateAvailableInstantOpenMarginParameters, type CalculateMarginParameters, type CalculateTradeParamsParameters, type CalculateTradeParamsReturnType, type ComputePlatformFeeRates, type EncodeAddMarginToNextVAParameters, type EncodeSendQuoteWithAffiliateAndDataParameters, type FlexField, type GetInstantOpenQuoteIdData, type GetInstantOpenQuoteIdOptions, type GetInstantOpenQuoteIdParameters, type GetInstantOpenQuoteIdQueryKey, type GetInstantOpenQuoteIdQueryOptions, type GetInstantOpenQuoteIdReturnType, type GetInstantOpensData, type GetInstantOpensOptions, type GetInstantOpensParameters, type GetInstantOpensQueryKey, type GetInstantOpensQueryOptions, type GetInstantOpensReturnType, type InstantOpenLockedParams, type InstantOpenMargin, type InstantOpenMarketData, type InstantOpenOrder, type InstantOpenParameters, type InstantOpenReturnType, type InstantOperationPayload, type PendingInstantOpen, type PrepareInstantOpenParameters, type QuoteConstraintViolation, type ReplayAttackHeader, type ResolveFeeRatesParameters, type ResolveLockedParamsParameters, type ResolveMarkPriceParameters, type ResolveMarketParameters, type ResolvedLockedParams, type ResolvedMarket, type SendInstantOpenParameters, type SendInstantOpenReturnType, type SignAndFormatInstantOperationParameters, type SignedOperation, type SignedOperationPayload, type UpnlSig, type ValidateInstantOpenAgainstMarketParameters, type ValidateInstantOpenAgainstMarketReturnType, type VirtualAccountIsolationType, } from './solvers/instant-open/index.js';
|
|
280
|
+
export { ADD_MARGIN_TO_NEXT_VA_SELECTOR, INSTANT_LAYER_EIP712_DOMAIN_NAME, INSTANT_LAYER_EIP712_DOMAIN_VERSION, INSTANT_TRADE_REQUIRED_SELECTORS, MARKET_ORDER_DEADLINE_SECONDS, ORDER_TYPE_MARKET, REQUEST_TO_CLOSE_POSITION_SELECTOR, SEND_QUOTE_WITH_AFFILIATE_AND_DATA_SELECTOR, SIGNED_OPERATION_TYPES, VIRTUAL_ACCOUNT_ISOLATION_TYPE, ZERO_UPNL_SIG, buildQuoteMetadata, buildSignedOperation, calculateAvailableInstantOpenMargin, calculateMargin, calculateTradeParams, computePlatformFee, encodeAddMarginToNextVA, encodeSendQuoteWithAffiliateAndData, formatSignedOperationPayload, generateSalt, getFakeSendQuoteMuonSignature, getInstantLayerEip712Domain, getInstantOpenQuoteId, getInstantOpenQuoteIdQueryKey, getInstantOpenQuoteIdQueryOptions, getInstantOpens, getInstantOpensQueryKey, getInstantOpensQueryOptions, getMarketOrderDeadline, instantOpen, instantOpenAuto, instantOpenAutoMutationOptions, instantOpenMutationOptions, isolationTypeForSide, prepareInstantOpenParams, resolveFeeRates, resolveLockedParams, resolveMarkPrice, resolveMarket, sendInstantOpen, sendQuoteUpnlSigFlexRange, sendRasaInstantOpen, signAndFormatInstantOperation, signSignedOperation, toWeiBigInt, validateInstantOpenAgainstMarket, type BuildSignedOperationParameters, type CalculateAvailableInstantOpenMarginParameters, type CalculateMarginParameters, type CalculateTradeParamsParameters, type CalculateTradeParamsReturnType, type ComputePlatformFeeRates, type EncodeAddMarginToNextVAParameters, type EncodeSendQuoteWithAffiliateAndDataParameters, type EnigmaInstantOpen, type EnigmaInstantOpenResult, type FlexField, type GetInstantOpenQuoteIdData, type GetInstantOpenQuoteIdOptions, type GetInstantOpenQuoteIdParameters, type GetInstantOpenQuoteIdQueryKey, type GetInstantOpenQuoteIdQueryOptions, type GetInstantOpenQuoteIdReturnType, type GetInstantOpensData, type GetInstantOpensOptions, type GetInstantOpensParameters, type GetInstantOpensQueryKey, type GetInstantOpensQueryOptions, type GetInstantOpensReturnType, type InstantOpenConstraintFields, type InstantOpenLockedParams, type InstantOpenMargin, type InstantOpenMarketData, type InstantOpenOrder, type InstantOpenParameters, type InstantOpenResultByKind, type InstantOpenReturnType, type InstantOperationPayload, type NormalizedInstantOpenByKind, type PendingInstantOpen, type PrepareInstantOpenParameters, type QuoteConstraintViolation, type RasaInstantOpen, type RasaInstantOpenResult, type ReplayAttackHeader, type ResolveFeeRatesParameters, type ResolveLockedParamsParameters, type ResolveMarkPriceParameters, type ResolveMarketParameters, type ResolvedLockedParams, type ResolvedMarket, type SendInstantOpenParameters, type SendInstantOpenReturnType, type SendQuoteUpnlSigFlexRange, type SendRasaInstantOpenParameters, type SendRasaInstantOpenReturnType, type SignAndFormatInstantOperationParameters, type SignedOperation, type SignedOperationPayload, type UpnlSig, type ValidateInstantOpenAgainstMarketParameters, type ValidateInstantOpenAgainstMarketReturnType, type VirtualAccountIsolationType, } from './solvers/instant-open/index.js';
|
|
216
281
|
/**
|
|
217
282
|
* InstantLayer v2 (lowcap) — Instant Close
|
|
218
283
|
* ----------------------------------------
|
|
@@ -228,7 +293,7 @@ export { ADD_MARGIN_TO_NEXT_VA_SELECTOR, INSTANT_LAYER_EIP712_DOMAIN_NAME, INSTA
|
|
|
228
293
|
* slices encode the same on-chain enums and share the InstantLayer signing
|
|
229
294
|
* protocol). This block only adds close-specific symbols.
|
|
230
295
|
*/
|
|
231
|
-
export { MAX_INSTANT_CLOSE_BULK_ORDERS, calculateClosePrice, clampClosePrecision, encodeRequestToClosePosition, getInstantCloses, getInstantClosesQueryKey, getInstantClosesQueryOptions, instantClose, instantCloseAuto, instantCloseAutoMutationOptions, instantCloseBulk, instantCloseBulkAuto, instantCloseBulkAutoMutationOptions, instantCloseBulkMutationOptions, instantCloseMutationOptions, prepareInstantCloseParams, sendInstantClose, toPendingInstantClose, validateInstantCloseAgainstMarket, type CalculateClosePriceParameters, type ClampClosePrecisionParameters, type CloseQuoteConstraintViolation, type EncodeRequestToClosePositionParameters, type GetInstantClosesData, type GetInstantClosesOptions, type GetInstantClosesParameters, type GetInstantClosesQueryKey, type GetInstantClosesQueryOptions, type GetInstantClosesReturnType, type InstantCloseBulkAutoOrder, type InstantCloseBulkAutoParameters, type InstantCloseBulkOrder, type InstantCloseBulkParameters, type InstantCloseBulkReturnType, type InstantCloseMarketData, type InstantCloseOrder, type InstantCloseParameters, type InstantCloseReturnType, type PendingInstantClose, type PrepareInstantCloseParameters, type SendInstantCloseParameters, type SendInstantCloseReturnType, type ValidateInstantCloseAgainstMarketParameters, type ValidateInstantCloseAgainstMarketReturnType, } from './solvers/instant-close/index.js';
|
|
296
|
+
export { MAX_INSTANT_CLOSE_BULK_ORDERS, calculateClosePrice, clampClosePrecision, encodeRequestToClosePosition, getInstantCloses, getInstantClosesQueryKey, getInstantClosesQueryOptions, instantClose, instantCloseAuto, instantCloseAutoMutationOptions, instantCloseBulk, instantCloseBulkAuto, instantCloseBulkAutoMutationOptions, instantCloseBulkMutationOptions, instantCloseMutationOptions, prepareInstantCloseParams, sendInstantClose, toPendingInstantClose, validateInstantCloseAgainstMarket, type CalculateClosePriceParameters, type ClampClosePrecisionParameters, type CloseQuoteConstraintViolation, type EncodeRequestToClosePositionParameters, type GetInstantClosesData, type GetInstantClosesOptions, type GetInstantClosesParameters, type GetInstantClosesQueryKey, type GetInstantClosesQueryOptions, type GetInstantClosesReturnType, type InstantCloseBulkAutoOrder, type InstantCloseBulkAutoParameters, type InstantCloseBulkOrder, type InstantCloseBulkParameters, type InstantCloseBulkReturnType, type InstantCloseConstraintFields, type InstantCloseMarketData, type InstantCloseOrder, type InstantCloseParameters, type InstantCloseReturnType, type PendingInstantClose, type PrepareInstantCloseParameters, type SendInstantCloseParameters, type SendInstantCloseReturnType, type ValidateInstantCloseAgainstMarketParameters, type ValidateInstantCloseAgainstMarketReturnType, } from './solvers/instant-close/index.js';
|
|
232
297
|
/**
|
|
233
298
|
* Unified quotes
|
|
234
299
|
* --------------
|
|
@@ -237,9 +302,37 @@ export { MAX_INSTANT_CLOSE_BULK_ORDERS, calculateClosePrice, clampClosePrecision
|
|
|
237
302
|
* stable, de-duplicated, lifecycle-tagged {@link UnifiedQuote} list. The merge is
|
|
238
303
|
* deterministic given an injected `now` and the previous result (the framework
|
|
239
304
|
* layer drives the clock and polling cadence). `shouldAccelerateQuotePolling`
|
|
240
|
-
* tells the consumer when to poll faster.
|
|
305
|
+
* tells the consumer when to poll faster. The `aggregate*` folds roll a
|
|
306
|
+
* {@link QuoteGroup}'s children into one figure — `aggregateGroupFunding`
|
|
307
|
+
* reports settled-to-date funding with `netReceived = received − paid`, so a
|
|
308
|
+
* **positive** value means the group **earned** funding, sharing the plain-trader
|
|
309
|
+
* polarity of `aggregateGroupUpnl`, where a **positive** `upnl` means in profit.
|
|
310
|
+
*
|
|
311
|
+
* Grouping itself is a **`MARKET_DIRECTION`-only** feature: it is the one
|
|
312
|
+
* isolation where a market + side cohort is a real on-chain unit (one Virtual
|
|
313
|
+
* Account per market + direction), so `groupQuotes` accepts no other
|
|
314
|
+
* {@link SubAccountIsolationType} and throws `UNSUPPORTED_GROUPING_ISOLATION`
|
|
315
|
+
* otherwise. Check first with `supportsQuoteGrouping` (or fail loudly with
|
|
316
|
+
* `assertQuoteGroupingSupported`), and fold on another dimension by passing an
|
|
317
|
+
* explicit `{ keyOf }` — `keyQuoteByMarket` and `keyQuotePerQuote` cover the
|
|
318
|
+
* market-wide and one-row-per-quote cases.
|
|
319
|
+
*/
|
|
320
|
+
export { QuoteLifecycle, aggregateGroupFunding, aggregateGroupMetrics, aggregateGroupUpnl, applyNotificationToQuotes, assertQuoteGroupingSupported, calculateClosePlatformFee, calculateLiquidationPrice, calculateOpenPlatformFee, calculateQuoteLeverage, calculateQuotePnl, calculateQuoteUpnl, calculateQuoteUpnlWei, classifyQuoteNotificationAction, fingerprintQuote, getSubAccountQuotes, getSubAccountQuotesQueryKey, getSubAccountQuotesQueryOptions, groupQuotes, isActivePosition, isCancelAction, isCloseFillAction, isOpenAnchorAction, isPendingOrder, keyQuoteByMarket, keyQuotePerQuote, lifecycleFromQuoteStatus, minRemainingQuantityOf, partitionQuotes, planGroupClose, reconcileQuotes, resolveQuoteAccounts, resolveQuoteGroupingStrategy, shouldAccelerateOnchainReads, shouldAccelerateQuotePolling, supportsQuoteGrouping, toGroupCloseCandidates, toUnifiedQuoteFromInstantClose, toUnifiedQuoteFromInstantOpen, toUnifiedQuoteFromOnchain, type AccountPosition, type CalculateClosePlatformFeeInputs, type CalculateLiquidationPriceInputs, type CalculateOpenPlatformFeeInputs, type CalculateQuoteLeverageParameters, type CalculateQuotePnlInputs, type CalculateQuotePnlReturnType, type CalculateQuoteUpnlInputs, type CalculateQuoteUpnlReturnType, type CalculateQuoteUpnlWeiParameters, type GetSubAccountQuotesData, type GetSubAccountQuotesOptions, type GetSubAccountQuotesParameters, type GetSubAccountQuotesQueryKey, type GetSubAccountQuotesQueryOptions, type GetSubAccountQuotesReturnType, type GroupCloseAllocation, type GroupCloseCandidate, type GroupQuotesOptions, type PartitionedQuotes, type PlanGroupCloseFailure, type PlanGroupCloseFailureReason, type PlanGroupCloseResult, type PlanGroupCloseSuccess, type QuoteGroup, type QuoteGroupBy, type QuoteGroupFunding, type QuoteGroupKey, type QuoteGroupKeyFn, type QuoteGroupMetrics, type QuoteGroupUpnl, type QuoteGroupingStrategy, type QuoteNotificationActionKind, type QuoteOrigin, type ReconcileQuotesInput, type ReconcileQuotesResult, type ResolveQuoteAccountsParameters, type ResolveQuoteAccountsResult, type ToUnifiedQuoteFromInstantCloseContext, type UnifiedQuote, } from './quotes/index.js';
|
|
321
|
+
/**
|
|
322
|
+
* Margin & risk
|
|
323
|
+
* -------------
|
|
324
|
+
* `calculateMarginRisk` folds an account's `balanceInfoOfPartyA` fields and its
|
|
325
|
+
* unrealized PnL into the figures a margin panel shows: total / maintenance /
|
|
326
|
+
* initial margin, equity, the cushion left before liquidation, and how much of
|
|
327
|
+
* that cushion is intact. `isLiquidatable` is bit-for-bit the protocol's own
|
|
328
|
+
* solvency predicate, so a UI never has to approximate it.
|
|
329
|
+
*
|
|
330
|
+
* Every figure describes **one liquidation domain** — each Virtual Account is
|
|
331
|
+
* liquidated independently, so never pass sums across accounts. The **price** at
|
|
332
|
+
* which liquidation happens is `calculateLiquidationPrice` (exported with the
|
|
333
|
+
* quotes above).
|
|
241
334
|
*/
|
|
242
|
-
export {
|
|
335
|
+
export { calculateMarginRisk, type CalculateMarginRiskInputs, type MarginRiskMetrics } from './margin/index.js';
|
|
243
336
|
/**
|
|
244
337
|
* Subgraph layer (GraphQL)
|
|
245
338
|
* ------------------------
|
|
@@ -264,15 +357,32 @@ export { QuoteCloseEventType, QuoteCloseType, closeTypeToEventTypes, eventTypeTo
|
|
|
264
357
|
* types. Decoded `metadata` fields are placed on a typed row alongside the
|
|
265
358
|
* raw payload.
|
|
266
359
|
*/
|
|
267
|
-
export { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, PRICE_HISTORY_EVENT_TYPES, QuoteEventType, getQuoteEventsByType, getQuoteEventsByTypeQueryKey, getQuoteEventsByTypeQueryOptions, toQuoteEventRow, type GetQuoteEventsByTypeData, type GetQuoteEventsByTypeOptions, type GetQuoteEventsByTypeParameters, type GetQuoteEventsByTypeQueryKey, type GetQuoteEventsByTypeQueryOptions, type GetQuoteEventsByTypeReturnType, type QuoteEventRow, type RawQuoteEventNode, } from './quotes/index.js';
|
|
360
|
+
export { DEFAULT_QUOTE_EVENTS_BY_TYPE_PAGE_SIZE, FUNDING_HISTORY_EVENT_TYPES, PRICE_HISTORY_EVENT_TYPES, QuoteEventType, getQuoteEventsByType, getQuoteEventsByTypeQueryKey, getQuoteEventsByTypeQueryOptions, toQuoteEventRow, type GetQuoteEventsByTypeData, type GetQuoteEventsByTypeOptions, type GetQuoteEventsByTypeParameters, type GetQuoteEventsByTypeQueryKey, type GetQuoteEventsByTypeQueryOptions, type GetQuoteEventsByTypeReturnType, type QuoteEventRow, type RawQuoteEventNode, } from './quotes/index.js';
|
|
361
|
+
/**
|
|
362
|
+
* Quote events by type, batched (subgraph)
|
|
363
|
+
* ----------------------------------------
|
|
364
|
+
* `getQuotesEventsByType` is the many-quote sibling of `getQuoteEventsByType`:
|
|
365
|
+
* one round-trip covers every quote in a position group, and the subgraph
|
|
366
|
+
* returns the rows already interleaved and sorted by `timestamp`, with `first` /
|
|
367
|
+
* `skip` paging the merged stream rather than each id. Pair it with
|
|
368
|
+
* {@link FUNDING_HISTORY_EVENT_TYPES} for a group-wide funding timeline — those
|
|
369
|
+
* are the charges **settled to date** (what the analytics subgraph indexed);
|
|
370
|
+
* funding accrued since the last on-chain charge is not indexed and is absent.
|
|
371
|
+
* Netting a row is `net = fundingPaid - fundingReceived`, so a **positive** net
|
|
372
|
+
* means the user net-**paid**.
|
|
373
|
+
*/
|
|
374
|
+
export { getQuotesEventsByType, getQuotesEventsByTypeQueryKey, getQuotesEventsByTypeQueryOptions, type GetQuotesEventsByTypeData, type GetQuotesEventsByTypeOptions, type GetQuotesEventsByTypeParameters, type GetQuotesEventsByTypeQueryKey, type GetQuotesEventsByTypeQueryOptions, type GetQuotesEventsByTypeReturnType, } from './quotes/index.js';
|
|
268
375
|
/**
|
|
269
376
|
* Quote funding (subgraph)
|
|
270
377
|
* ------------------------
|
|
271
378
|
* `getQuoteFunding` reads `userPaidFunding` / `userReceivedFunding` for a batch
|
|
272
|
-
* of on-chain quote ids from the analytics subgraph
|
|
273
|
-
*
|
|
379
|
+
* of on-chain quote ids from the analytics subgraph, chunked at
|
|
380
|
+
* {@link QUOTES_FUNDING_MAX_IDS_PER_REQUEST} ids per request. Filters by the
|
|
381
|
+
* protocol `quoteId` scalar so callers never need the diamond address. The rows
|
|
382
|
+
* are funding **settled to date**; `netReceived = received − paid`, so a
|
|
383
|
+
* **positive** value means the position **earned** funding.
|
|
274
384
|
*/
|
|
275
|
-
export { getQuoteFunding, getQuoteFundingQueryKey, getQuoteFundingQueryOptions, toQuoteFundingRow, type GetQuoteFundingData, type GetQuoteFundingOptions, type GetQuoteFundingParameters, type GetQuoteFundingQueryKey, type GetQuoteFundingQueryOptions, type GetQuoteFundingReturnType, type QuoteFundingData, type RawQuoteFundingRow, } from './quotes/index.js';
|
|
385
|
+
export { QUOTES_FUNDING_MAX_IDS_PER_REQUEST, getQuoteFunding, getQuoteFundingQueryKey, getQuoteFundingQueryOptions, toQuoteFundingRow, type GetQuoteFundingData, type GetQuoteFundingOptions, type GetQuoteFundingParameters, type GetQuoteFundingQueryKey, type GetQuoteFundingQueryOptions, type GetQuoteFundingReturnType, type QuoteFundingData, type RawQuoteFundingRow, } from './quotes/index.js';
|
|
276
386
|
/**
|
|
277
387
|
* TP/SL (conditional orders)
|
|
278
388
|
* --------------------------
|
|
@@ -280,7 +390,17 @@ export { getQuoteFunding, getQuoteFundingQueryKey, getQuoteFundingQueryOptions,
|
|
|
280
390
|
* `/signing-spec`, current TP/SL per quote, and writes new TP/SL orders signed
|
|
281
391
|
* with the session key against the handler's EIP-712 typed-data domain.
|
|
282
392
|
*/
|
|
283
|
-
export { DEFAULT_TPSL_SLIPPAGE_LOWCAPS, ZERO_LEG, buildConditionalOrderLeg, buildConditionalOrderMessage, buildTpSlDeleteMessage, deleteQuoteTpSl, deleteQuoteTpSlMutationOptions, generateTpSlSalt, getQuoteTpSl, getQuoteTpSlQueryKey, getQuoteTpSlQueryOptions, getTpSlConfig, getTpSlConfigQueryKey, getTpSlConfigQueryOptions, getTpSlDeleteSigningSpec, getTpSlDeleteSigningSpecQueryKey, getTpSlDeleteSigningSpecQueryOptions, getTpSlSigningSpec, getTpSlSigningSpecQueryKey, getTpSlSigningSpecQueryOptions, priceSlippageCalculation, setQuoteTpSl, setQuoteTpSlMutationOptions, signTpSlRequest, toSignableTpSlMessage, validateTpSl, type DeleteQuoteTpSlParameters, type DeleteQuoteTpSlReturnType, type GetQuoteTpSlData, type GetQuoteTpSlOptions, type GetQuoteTpSlParameters, type GetQuoteTpSlQueryKey, type GetQuoteTpSlQueryOptions, type GetQuoteTpSlReturnType, type GetTpSlConfigData, type GetTpSlConfigOptions, type GetTpSlConfigParameters, type GetTpSlConfigQueryKey, type GetTpSlConfigQueryOptions, type GetTpSlConfigReturnType, type GetTpSlDeleteSigningSpecData, type GetTpSlDeleteSigningSpecOptions, type GetTpSlDeleteSigningSpecParameters, type GetTpSlDeleteSigningSpecQueryKey, type GetTpSlDeleteSigningSpecQueryOptions, type GetTpSlDeleteSigningSpecReturnType, type GetTpSlSigningSpecData, type GetTpSlSigningSpecOptions, type GetTpSlSigningSpecParameters, type GetTpSlSigningSpecQueryKey, type GetTpSlSigningSpecQueryOptions, type GetTpSlSigningSpecReturnType, type QuoteTpSl, type QuoteTpSlActionPriceType, type QuoteTpSlConditionalOrderType, type QuoteTpSlRow, type QuoteTpSlRowState, type SetQuoteTpSlParameters, type SetQuoteTpSlReturnType, type SetTpSlSide, type TpSlConditionalOrderLeg, type TpSlConditionalOrderMessage, type TpSlConditionalOrderType, type TpSlConfig, type TpSlDeleteMessage, type TpSlInfoState, type TpSlPriceType, type TpSlSignedRequest, type TpSlSigningSpec, type TpSlValidation, type ValidateTpSlInputs, } from './tpsl/index.js';
|
|
393
|
+
export { DEFAULT_TPSL_SLIPPAGE_LOWCAPS, TPSL_LIVE_ORDER_STATES, TpSlSearchOrderType, ZERO_LEG, buildConditionalOrderLeg, buildConditionalOrderMessage, buildTpSlDeleteMessage, deleteQuoteTpSl, deleteQuoteTpSlMutationOptions, generateTpSlSalt, getQuoteTpSl, getQuoteTpSlQueryKey, getQuoteTpSlQueryOptions, getTpSlConfig, getTpSlConfigQueryKey, getTpSlConfigQueryOptions, getTpSlDeleteSigningSpec, getTpSlDeleteSigningSpecQueryKey, getTpSlDeleteSigningSpecQueryOptions, getTpSlSigningSpec, getTpSlSigningSpecQueryKey, getTpSlSigningSpecQueryOptions, priceSlippageCalculation, searchTpSlOrders, searchTpSlOrdersQueryKey, searchTpSlOrdersQueryOptions, setQuoteTpSl, setQuoteTpSlMutationOptions, signTpSlRequest, supportsTpSl, toSignableTpSlMessage, validateTpSl, type DeleteQuoteTpSlParameters, type DeleteQuoteTpSlReturnType, type GetQuoteTpSlData, type GetQuoteTpSlOptions, type GetQuoteTpSlParameters, type GetQuoteTpSlQueryKey, type GetQuoteTpSlQueryOptions, type GetQuoteTpSlReturnType, type GetTpSlConfigData, type GetTpSlConfigOptions, type GetTpSlConfigParameters, type GetTpSlConfigQueryKey, type GetTpSlConfigQueryOptions, type GetTpSlConfigReturnType, type GetTpSlDeleteSigningSpecData, type GetTpSlDeleteSigningSpecOptions, type GetTpSlDeleteSigningSpecParameters, type GetTpSlDeleteSigningSpecQueryKey, type GetTpSlDeleteSigningSpecQueryOptions, type GetTpSlDeleteSigningSpecReturnType, type GetTpSlSigningSpecData, type GetTpSlSigningSpecOptions, type GetTpSlSigningSpecParameters, type GetTpSlSigningSpecQueryKey, type GetTpSlSigningSpecQueryOptions, type GetTpSlSigningSpecReturnType, type QuoteTpSl, type QuoteTpSlActionPriceType, type QuoteTpSlConditionalOrderType, type QuoteTpSlRow, type QuoteTpSlRowState, type SearchTpSlOrdersData, type SearchTpSlOrdersOptions, type SearchTpSlOrdersParameters, type SearchTpSlOrdersQueryKey, type SearchTpSlOrdersQueryOptions, type SearchTpSlOrdersReturnType, type SetQuoteTpSlParameters, type SetQuoteTpSlReturnType, type SetTpSlSide, type TpSlConditionalOrderLeg, type TpSlConditionalOrderMessage, type TpSlConditionalOrderType, type TpSlConfig, type TpSlDeleteMessage, type TpSlInfoState, type TpSlPriceType, type TpSlSignedRequest, type TpSlSigningSpec, type TpSlValidation, type ValidateTpSlInputs, } from './tpsl/index.js';
|
|
394
|
+
/**
|
|
395
|
+
* Grouped TP/SL
|
|
396
|
+
* -------------
|
|
397
|
+
* Pure helpers that fold the per-quote conditional orders of a grouped position
|
|
398
|
+
* (`QuoteGroup`) into one state, and plan the writes needed to change it. The
|
|
399
|
+
* handler has no bulk endpoint — one signed request per quote — so
|
|
400
|
+
* `planGroupTpSl` diffs the desired state against what the handler already
|
|
401
|
+
* holds and emits only the children that genuinely need a `set` or a `delete`.
|
|
402
|
+
*/
|
|
403
|
+
export { GROUP_TPSL_SIDES, childNotional, estimateGroupTpSlReturn, planGroupTpSl, planGroupTpSlDelete, resolveChildSide, summarizeQuoteGroupTpSl, toGroupTpSlChildren, toGroupTpSlOrders, triggerPriceToWei, type EstimateGroupTpSlReturnParameters, type GroupTpSlAction, type GroupTpSlChild, type GroupTpSlDeleteScope, type GroupTpSlDeleteSkip, type GroupTpSlDeleteTarget, type GroupTpSlDesiredMap, type GroupTpSlDesiredSide, type GroupTpSlDesiredSides, type GroupTpSlOrder, type GroupTpSlReturnEstimate, type GroupTpSlReturnLeg, type GroupTpSlSideDisplay, type GroupTpSlSideKey, type GroupTpSlSideSummary, type GroupTpSlSkipReason, type GroupTpSlSnapshotLookup, type PlanGroupTpSlDeleteResult, type PlanGroupTpSlParameters, type PlanGroupTpSlResult, type QuoteGroupTpSlSummary, type ResolvedChildSide, type SummarizeQuoteGroupTpSlOptions, type ToGroupTpSlOrdersOptions, } from './tpsl/index.js';
|
|
284
404
|
/**
|
|
285
405
|
* TP/SL WebSocket
|
|
286
406
|
* ---------------
|
|
@@ -305,4 +425,131 @@ export { BalanceChangeType, BalanceHistoryFilter, MarginTransferType, balanceHis
|
|
|
305
425
|
* 18-decimal `amount`, and a `direction` relative to the queried accounts.
|
|
306
426
|
*/
|
|
307
427
|
export { getTransferHistory, getTransferHistoryQueryKey, getTransferHistoryQueryOptions, toTransferRow, type GetTransferHistoryData, type GetTransferHistoryOptions, type GetTransferHistoryParameters, type GetTransferHistoryQueryKey, type GetTransferHistoryQueryOptions, type GetTransferHistoryReturnType, type RawInternalTransferRow, type TransferDirection, type TransferRow, type TransferRowDirection, } from './transfers/index.js';
|
|
428
|
+
/**
|
|
429
|
+
* Candles slice
|
|
430
|
+
* -------------
|
|
431
|
+
* Chart data, decoupled from any chart library. A `CandleSource` supplies the
|
|
432
|
+
* three things every charting library needs — symbol metadata, bars for a range,
|
|
433
|
+
* and a live subscription — so adapters and hooks are written against that
|
|
434
|
+
* interface rather than against a venue.
|
|
435
|
+
*
|
|
436
|
+
* `createBinanceCandleSource` is the reference source for major markets;
|
|
437
|
+
* `toTradingViewDatafeed` adapts any source to TradingView's Charting Library
|
|
438
|
+
* without the SDK depending on that licensed package. `priceBasis` on every
|
|
439
|
+
* source states what its prices actually represent — a reference exchange is
|
|
440
|
+
* not the solver mark a SYMMIO trade settles at.
|
|
441
|
+
*/
|
|
442
|
+
export { BINANCE_EXCHANGE_INFO_PATH, BINANCE_KLINES_PATH, BINANCE_MAX_LIMIT, BINANCE_REST_URL, BINANCE_WS_URL, CANDLE_RESOLUTION_MS, createBinanceCandleSource, fromTradingViewResolution, getBinanceSupportedResolutions, getCandlesQueryKey, getCandlesQueryOptions, parseBinanceKline, parseBinanceKlineEvent, resolutionToMs, toBinanceInterval, toTradingViewDatafeed, toTradingViewResolution, watchBinanceKlines, type BinanceCandleSourceParameters, type BinanceMarket, type Candle, type CandlePriceBasis, type CandleResolution, type CandleSource, type CandleSymbol, type CandleUpdateMeta, type GetCandlesData, type GetCandlesOptions, type GetCandlesParameters, type GetCandlesQueryKey, type GetCandlesQueryOptions, type GetCandlesReturnType, type ToTradingViewDatafeedOptions, type TradingViewBar, type TradingViewDatafeed, type TradingViewDatafeedConfiguration, type TradingViewHistoryMetadata, type TradingViewPeriodParams, type TradingViewSymbolInfo, type WatchBinanceKlinesParameters, type WatchCandlesParameters, } from './candles/index.js';
|
|
443
|
+
/**
|
|
444
|
+
* Orderbook slice
|
|
445
|
+
* ---------------
|
|
446
|
+
* Market depth, decoupled from any venue. An `OrderbookSource` supplies the
|
|
447
|
+
* three things every depth consumer needs — symbol metadata, a snapshot, and a
|
|
448
|
+
* live subscription — so ladders, depth charts and impact estimates are all
|
|
449
|
+
* written against that interface rather than against an exchange.
|
|
450
|
+
*
|
|
451
|
+
* `createBinanceOrderbookSource` is the reference source for major markets. Its
|
|
452
|
+
* live book is not a stream of deltas applied on faith: it implements Binance's
|
|
453
|
+
* documented local-order-book procedure, verifies that every update chains onto
|
|
454
|
+
* the last, and rebuilds from a fresh snapshot the moment one does not — with
|
|
455
|
+
* `onResync` telling the consumer it happened.
|
|
456
|
+
*
|
|
457
|
+
* The pure helpers on top (`groupOrderbook`, `accumulateOrderbook`,
|
|
458
|
+
* `getOrderbookSpread`, `walkOrderbook`, `getOrderbookDepthWithin`) work on any
|
|
459
|
+
* source's book. As with candles, `priceBasis` states what the depth actually
|
|
460
|
+
* represents — a reference exchange's resting liquidity is not what a SYMMIO
|
|
461
|
+
* trade executes against.
|
|
462
|
+
*/
|
|
463
|
+
export { BINANCE_DEPTH_DEFAULT_LEVELS, BINANCE_DEPTH_DEFAULT_LIMIT, BINANCE_DEPTH_DEFAULT_UPDATE_SPEED, BINANCE_DEPTH_LIMITS, BINANCE_DEPTH_MAX_BUFFERED_EVENTS, BINANCE_DEPTH_PATH, BINANCE_DEPTH_REST_URL, BINANCE_DEPTH_UPDATE_SPEEDS, BINANCE_DEPTH_WS_URL, BINANCE_ORDERBOOK_EXCHANGE_INFO_PATH, accumulateOrderbook, countTickDecimals, createBinanceOrderbookSource, fetchBinanceDepth, fetchBinanceSymbolFilters, getOrderbookDepthWithin, getOrderbookQueryKey, getOrderbookQueryOptions, getOrderbookSpread, groupOrderbook, parseBinanceDepthLevel, parseBinanceDepthLevels, roundToTick, suggestOrderbookTickSizes, walkOrderbook, watchBinanceDepth, type BinanceOrderbookMarket, type BinanceOrderbookSourceParameters, type BinanceSymbolFilters, type FetchBinanceDepthParameters, type GetOrderbookData, type GetOrderbookOptions, type GetOrderbookParameters, type GetOrderbookQueryKey, type GetOrderbookQueryOptions, type Orderbook, type OrderbookDepthLevel, type OrderbookDepthSummary, type OrderbookLevel, type OrderbookPriceBasis, type OrderbookResyncReason, type OrderbookSource, type OrderbookSpread, type OrderbookSymbol, type OrderbookWalk, type OrderbookWalkSide, type RawBinanceDepthEvent, type RawBinanceDepthLevel, type RawBinanceDepthSnapshot, type SuggestOrderbookTickSizesOptions, type TickRoundingMode, type WatchBinanceDepthParameters, type WatchOrderbookParameters, } from './orderbook/index.js';
|
|
464
|
+
/**
|
|
465
|
+
* Pools (lowcap liquidity markets)
|
|
466
|
+
* --------------------------------
|
|
467
|
+
* The lowcap Pools flow, served by a per-chain **listing backend**
|
|
468
|
+
* ({@link SymmioListingConfig}). Listing is chain-level: `resolveListingService`
|
|
469
|
+
* returns the chain's backend (throws `LISTING_NOT_CONFIGURED` where the chain
|
|
470
|
+
* has none); `supportsListingService` is its non-throwing boolean twin for
|
|
471
|
+
* `enabled` / UI gates.
|
|
472
|
+
*
|
|
473
|
+
* `getListingMarkets` reads the pool catalogue — search, filter, sort and
|
|
474
|
+
* pagination are all server-side. Every money and rate field on a row is a
|
|
475
|
+
* `bigint` at `LISTING_VALUE_DECIMALS` (18), independent of the token's own
|
|
476
|
+
* decimals; `null` means the backend reported no value, never zero. Pool writes
|
|
477
|
+
* (create / deposit / withdraw / claim) land in later slices.
|
|
478
|
+
*/
|
|
479
|
+
export { LISTING_VALUE_DECIMALS, ListingDepositChainId, ListingMarketStatus, addMarket, addMarketMutationOptions, authenticateListing, authenticateListingMutationOptions, cancelWithdraw, cancelWithdrawMutationOptions, claimProfit, claimProfitMutationOptions, getClaimHistory, getClaimHistoryQueryKey, getClaimHistoryQueryOptions, getDepositAddress, getDepositAddressQueryKey, getDepositAddressQueryOptions, getListingConfig, getListingConfigQueryKey, getListingConfigQueryOptions, getListingMarkets, getListingMarketsQueryKey, getListingMarketsQueryOptions, getListingSignInMessage, getListingStatus, getListingStatusQueryKey, getListingStatusQueryOptions, getRetryListingInfo, getRetryListingInfoQueryKey, getRetryListingInfoQueryOptions, getUserListingMarkets, getUserListingMarketsQueryKey, getUserListingMarketsQueryOptions, getUserProfit, getUserProfitQueryKey, getUserProfitQueryOptions, getUserTransactions, getUserTransactionsQueryKey, getUserTransactionsQueryOptions, getWeeklyListingLimit, getWeeklyListingLimitQueryKey, getWeeklyListingLimitQueryOptions, parseListingValue, refundMarket, refundMarketMutationOptions, resolveListingService, retryListing, retryListingMutationOptions, supportsListingService, toAddMarketRequest, toCancelWithdrawResult, toClaimRequest, toClaimResult, toCreatedPool, toListingAuthToken, toListingConfig, toListingMarket, toListingMarketPage, toListingSignInMessage, toListingStatus, toListingValue, toMarketDepositAddress, toPoolClaim, toPoolClaimHistoryPage, toRefundRequest, toRefundResult, toRetryListingInfo, toRetryListingResult, toUserListingMarket, toUserListingMarketPage, toUserPoolProfit, toUserTransaction, toUserTransactionPage, toWeeklyListingLimit, toWithdrawRequest, withdrawLp, withdrawLpMutationOptions, type AddMarketParameters, type AddMarketReturnType, type AuthenticateListingParameters, type AuthenticateListingReturnType, type CancelWithdrawParameters, type CancelWithdrawReturnType, type ClaimProfitParameters, type ClaimProfitReturnType, type CreatedPool, type GetClaimHistoryData, type GetClaimHistoryOptions, type GetClaimHistoryParameters, type GetClaimHistoryQueryKey, type GetClaimHistoryQueryOptions, type GetClaimHistoryReturnType, type GetDepositAddressData, type GetDepositAddressOptions, type GetDepositAddressParameters, type GetDepositAddressQueryKey, type GetDepositAddressQueryOptions, type GetDepositAddressReturnType, type GetListingConfigData, type GetListingConfigOptions, type GetListingConfigParameters, type GetListingConfigQueryKey, type GetListingConfigQueryOptions, type GetListingConfigReturnType, type GetListingMarketsData, type GetListingMarketsOptions, type GetListingMarketsParameters, type GetListingMarketsQueryKey, type GetListingMarketsQueryOptions, type GetListingMarketsReturnType, type GetListingSignInMessageParameters, type GetListingSignInMessageReturnType, type GetListingStatusData, type GetListingStatusOptions, type GetListingStatusParameters, type GetListingStatusQueryKey, type GetListingStatusQueryOptions, type GetListingStatusReturnType, type GetRetryListingInfoData, type GetRetryListingInfoOptions, type GetRetryListingInfoParameters, type GetRetryListingInfoQueryKey, type GetRetryListingInfoQueryOptions, type GetRetryListingInfoReturnType, type GetUserListingMarketsData, type GetUserListingMarketsOptions, type GetUserListingMarketsParameters, type GetUserListingMarketsQueryKey, type GetUserListingMarketsQueryOptions, type GetUserListingMarketsReturnType, type GetUserProfitData, type GetUserProfitOptions, type GetUserProfitParameters, type GetUserProfitQueryKey, type GetUserProfitQueryOptions, type GetUserProfitReturnType, type GetUserTransactionsData, type GetUserTransactionsOptions, type GetUserTransactionsParameters, type GetUserTransactionsQueryKey, type GetUserTransactionsQueryOptions, type GetUserTransactionsReturnType, type GetWeeklyListingLimitData, type GetWeeklyListingLimitOptions, type GetWeeklyListingLimitParameters, type GetWeeklyListingLimitQueryKey, type GetWeeklyListingLimitQueryOptions, type GetWeeklyListingLimitReturnType, type ListingApyWindows, type ListingAuthToken, type ListingConfig, type ListingDepositChain, type ListingMarket, type ListingMarketFilters, type ListingMarketPage, type ListingMarketSortField, type ListingRateLimits, type ListingSignInMessage, type ListingSiweParams, type ListingSortDirection, type ListingStatus, type ListingTimeRange, type ListingTrailingWindows, type ListingValueRange, type MarketDepositAddress, type PoolCancelWithdrawResult, type PoolClaim, type PoolClaimHistoryPage, type PoolClaimResult, type PoolRefundResult, type RefundMarketParameters, type RefundMarketReturnType, type ResolveListingServiceParameters, type RetryListingInfo, type RetryListingParameters, type RetryListingResult, type RetryListingReturnType, type UserListingMarket, type UserListingMarketPage, type UserPoolProfit, type UserTransaction, type UserTransactionPage, type WeeklyListingLimit, type WithdrawLpParameters, type WithdrawLpReturnType, } from './pools/index.js';
|
|
480
|
+
/**
|
|
481
|
+
* Solver revenue
|
|
482
|
+
* --------------
|
|
483
|
+
* Aggregate revenue totals from the chain's solver — protocol-wide by default,
|
|
484
|
+
* or for one market via `symbolId`. Split into a hedger-fee share and a funding
|
|
485
|
+
* share whose sum is `totalRevenue`. Enigma-only.
|
|
486
|
+
*/
|
|
487
|
+
export { getSolverRevenue, getSolverRevenueQueryKey, getSolverRevenueQueryOptions, toSolverRevenue, type GetSolverRevenueData, type GetSolverRevenueOptions, type GetSolverRevenueParameters, type GetSolverRevenueQueryKey, type GetSolverRevenueQueryOptions, type GetSolverRevenueReturnType, type SolverRevenue, type SolverRevenueTimeRange, } from './solvers/revenue/index.js';
|
|
488
|
+
/**
|
|
489
|
+
* Inventory service
|
|
490
|
+
* -----------------
|
|
491
|
+
* The custody backend behind the lowcap Pools — a separate vendor from both the
|
|
492
|
+
* solver and the listing backend. `getInventoryTvl` reads the system-wide
|
|
493
|
+
* custodial TVL as a `bigint` at `INVENTORY_VALUE_DECIMALS` (18).
|
|
494
|
+
*
|
|
495
|
+
* This is **not** the sum of the pool catalogue's per-pool `tvl`: the catalogue
|
|
496
|
+
* covers listed markets, this covers the whole custodial system.
|
|
497
|
+
*/
|
|
498
|
+
export { INVENTORY_VALUE_DECIMALS, getInventoryTvl, getInventoryTvlHistory, getInventoryTvlHistoryQueryKey, getInventoryTvlHistoryQueryOptions, getInventoryTvlQueryKey, getInventoryTvlQueryOptions, resolveInventoryService, supportsInventoryService, toInventoryTvl, toInventoryTvlPoint, type GetInventoryTvlData, type GetInventoryTvlHistoryData, type GetInventoryTvlHistoryOptions, type GetInventoryTvlHistoryParameters, type GetInventoryTvlHistoryQueryKey, type GetInventoryTvlHistoryQueryOptions, type GetInventoryTvlHistoryReturnType, type GetInventoryTvlOptions, type GetInventoryTvlParameters, type GetInventoryTvlQueryKey, type GetInventoryTvlQueryOptions, type GetInventoryTvlReturnType, type InventoryTvlPoint, } from './inventory/index.js';
|
|
499
|
+
/**
|
|
500
|
+
* Pool detail — the tables on a pool page
|
|
501
|
+
* ---------------------------------------
|
|
502
|
+
* The reads behind a pool's detail view, which span three backends:
|
|
503
|
+
*
|
|
504
|
+
* - `getListingMarketDetail` (listing backend) — the pool's aggregate stats and
|
|
505
|
+
* inventory. `toPoolPositions` folds it into positions-table rows with no
|
|
506
|
+
* extra request.
|
|
507
|
+
* - `getPoolQuotes` / `getPoolTradeHistory` (analytics subgraph) — the pool's
|
|
508
|
+
* **whole** book and realized history. Unlike the account-scoped quote reads,
|
|
509
|
+
* these carry no `partyA` filter: every trader's rows on that market.
|
|
510
|
+
* - `getPoolTransactions` (listing backend) — deposits and withdrawals.
|
|
511
|
+
*
|
|
512
|
+
* A pool's limit orders are not here: they come from the TP/SL handler via
|
|
513
|
+
* `searchTpSlOrders({ symbolId, conditionalOrderType: "send_quote" })`.
|
|
514
|
+
*/
|
|
515
|
+
export { POOL_OPEN_QUOTE_STATUSES, POOL_PENDING_QUOTE_STATUSES, PoolPositionSide, PoolTransactionStatus, PoolTransactionType, getListingMarketDetail, getListingMarketDetailQueryKey, getListingMarketDetailQueryOptions, getPoolQuotes, getPoolQuotesQueryKey, getPoolQuotesQueryOptions, getPoolTradeHistory, getPoolTradeHistoryQueryKey, getPoolTradeHistoryQueryOptions, getPoolTransactions, getPoolTransactionsQueryKey, getPoolTransactionsQueryOptions, toListingMarketDetail, toPoolPositions, toPoolQuote, toPoolTransaction, toPoolTransactionPage, type GetListingMarketDetailData, type GetListingMarketDetailOptions, type GetListingMarketDetailParameters, type GetListingMarketDetailQueryKey, type GetListingMarketDetailQueryOptions, type GetListingMarketDetailReturnType, type GetPoolQuotesData, type GetPoolQuotesOptions, type GetPoolQuotesParameters, type GetPoolQuotesQueryKey, type GetPoolQuotesQueryOptions, type GetPoolQuotesReturnType, type GetPoolTradeHistoryData, type GetPoolTradeHistoryOptions, type GetPoolTradeHistoryParameters, type GetPoolTradeHistoryQueryKey, type GetPoolTradeHistoryQueryOptions, type GetPoolTradeHistoryReturnType, type GetPoolTransactionsData, type GetPoolTransactionsOptions, type GetPoolTransactionsParameters, type GetPoolTransactionsQueryKey, type GetPoolTransactionsQueryOptions, type GetPoolTransactionsReturnType, type ListingMarketDetail, type PoolPosition, type PoolQuote, type PoolTransaction, type PoolTransactionPage, } from './pools/index.js';
|
|
516
|
+
/**
|
|
517
|
+
* Market configuration (per-LP opinion)
|
|
518
|
+
* -------------------------------------
|
|
519
|
+
* A pool's max leverage and buyback percentage are not set by any one LP. Every
|
|
520
|
+
* depositor submits an *opinion* with `updateListingMarketConfig`, and the
|
|
521
|
+
* listing service folds them into a deposit-weighted average — so a call nudges
|
|
522
|
+
* the pool rather than overwriting it. `getListingMarketConfig` reads the
|
|
523
|
+
* caller's own opinion back (`null` until they have ever set one) alongside the
|
|
524
|
+
* pool values in force.
|
|
525
|
+
*
|
|
526
|
+
* Both knobs are plain whole numbers, **not** 18-decimal values: `50` is 50%,
|
|
527
|
+
* `20` is 20x. `projectListingMarketConfig` estimates where the pool lands
|
|
528
|
+
* before the write, from `getListingMarketDetail` plus the caller's stake.
|
|
529
|
+
*
|
|
530
|
+
* The write is authed, requires the caller to hold a deposit address on the
|
|
531
|
+
* market (minted for them by default), and is capped at
|
|
532
|
+
* `getListingConfig().rateLimits.marketConfigUpdatesPerDay` per market in a
|
|
533
|
+
* rolling 24-hour window. Enigma-only.
|
|
534
|
+
*/
|
|
535
|
+
export { LISTING_MARKET_CONFIG_BOUNDS, getListingMarketConfig, getListingMarketConfigQueryKey, getListingMarketConfigQueryOptions, projectListingMarketConfig, toListingMarketConfig, toUpdateListingMarketConfigRequest, updateListingMarketConfig, updateListingMarketConfigMutationOptions, type GetListingMarketConfigData, type GetListingMarketConfigOptions, type GetListingMarketConfigParameters, type GetListingMarketConfigQueryKey, type GetListingMarketConfigQueryOptions, type GetListingMarketConfigReturnType, type ListingMarketConfig, type ListingMarketConfigProjection, type ProjectListingMarketConfigParameters, type UpdateListingMarketConfigParameters, type UpdateListingMarketConfigReturnType, } from './pools/index.js';
|
|
536
|
+
/**
|
|
537
|
+
* Pool rewards over time
|
|
538
|
+
* ----------------------
|
|
539
|
+
* The LP-reward series a pool page charts, plus the headline figures above them.
|
|
540
|
+
*
|
|
541
|
+
* - `getPoolRewardChart` / `getPoolTotalReward` — **public**, one pool, addressed
|
|
542
|
+
* by `(marketAddress, marketChainId)`. `marketChainId` is the chain the pool's
|
|
543
|
+
* token lives on (`ListingMarket.chainId`), not the SDK's own `chainId`.
|
|
544
|
+
* - `getUserRewardChart` / `getUserTotalReward` — **authed** with a bearer token
|
|
545
|
+
* from `authenticateListing`, and *not* scoped to one pool: both cover every
|
|
546
|
+
* market the signed-in user has rewards in, so a single-pool view filters the
|
|
547
|
+
* series by market itself.
|
|
548
|
+
*
|
|
549
|
+
* Every reward here is **money**, a `bigint` at `LISTING_VALUE_DECIMALS` (18)
|
|
550
|
+
* where `1e18` is `$1` — unlike the catalogue's APR/APY fields, which descale to
|
|
551
|
+
* a percentage. Both totals are built from **earned** daily snapshots, so
|
|
552
|
+
* claiming does not reduce them; `getUserProfit` has the claimable balance.
|
|
553
|
+
*/
|
|
554
|
+
export { getPoolRewardChart, getPoolRewardChartQueryKey, getPoolRewardChartQueryOptions, getPoolTotalReward, getPoolTotalRewardQueryKey, getPoolTotalRewardQueryOptions, getUserRewardChart, getUserRewardChartQueryKey, getUserRewardChartQueryOptions, getUserTotalReward, getUserTotalRewardQueryKey, getUserTotalRewardQueryOptions, toPoolRewardPoint, toUserPoolRewardChart, type GetPoolRewardChartData, type GetPoolRewardChartOptions, type GetPoolRewardChartParameters, type GetPoolRewardChartQueryKey, type GetPoolRewardChartQueryOptions, type GetPoolRewardChartReturnType, type GetPoolTotalRewardData, type GetPoolTotalRewardOptions, type GetPoolTotalRewardParameters, type GetPoolTotalRewardQueryKey, type GetPoolTotalRewardQueryOptions, type GetPoolTotalRewardReturnType, type GetUserRewardChartData, type GetUserRewardChartOptions, type GetUserRewardChartParameters, type GetUserRewardChartQueryKey, type GetUserRewardChartQueryOptions, type GetUserRewardChartReturnType, type GetUserTotalRewardData, type GetUserTotalRewardOptions, type GetUserTotalRewardParameters, type GetUserTotalRewardQueryKey, type GetUserTotalRewardQueryOptions, type GetUserTotalRewardReturnType, type PoolRewardPoint, type UserPoolRewardChart, } from './pools/index.js';
|
|
308
555
|
//# sourceMappingURL=index.d.ts.map
|