lynx-client 0.0.32 → 0.0.33
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/cjs/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
- package/dist/cjs/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
- package/dist/cjs/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
- package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +50 -50
- package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
- package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
- package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
- package/dist/cjs/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
- package/dist/cjs/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
- package/dist/cjs/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +8 -8
- package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
- package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
- package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
- package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
- package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
- package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +50 -50
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
- package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
- package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
- package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
- package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
- package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
- package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
- package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +5 -4
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +5 -4
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +8 -8
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
- package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
- package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
- package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
- package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
- package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
- package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
- package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/common/index.d.ts +20 -0
- package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
- package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
- package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
- package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
- package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
- package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
- package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
- package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
- package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
- package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
- package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +5 -4
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +5 -4
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
- package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
- package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
- package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
- package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
- package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
- package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/index.d.ts +20 -0
- package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IFeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AACjE,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"IFeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AACjE,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEnG,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,+CAA+C;IAC9D,oBAAoB,CAClB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,EACZ,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,2BAA2B,CAAC,CAAA;IAEvC,0BAA0B,CACxB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,WAAW,EACjB,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,2BAA2B,CAAC,CAAA;IAEvC,gCAAgC,CAC9B,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,WAAW,EAAE,EACpB,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,2BAA2B,CAAC,CAAA;CACxC;AAED,MAAM,WAAW,gDAAgD;IAC/D,mBAAmB,CACjB,SAAS,EAAE,MAAM,EACjB,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4C,CAAA;IAC5D,kBAAkB,EAAE,gDAAgD,CAAA;IACpE,aAAa,EAAE,cAAc,CAAA;IAC7B,qBAAqB,EAAE,sBAAsB,CAAA;CAC9C"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { CallOptions } from "../common";
|
|
1
2
|
export interface IIntentsVerifierLensService {
|
|
2
|
-
getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
|
|
3
|
-
getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
|
|
4
|
-
getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
|
|
5
|
-
registry(): Promise<string>;
|
|
3
|
+
getRequestBuildingInfoForChipsIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
4
|
+
getRequestBuildingInfoForLiquidityIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
5
|
+
getRequestBuildingInfoForTradeIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
6
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
6
7
|
}
|
|
7
8
|
//# sourceMappingURL=IIntentsVerifierLensService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C,
|
|
1
|
+
{"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE1F,iDAAiD,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE9F,6CAA6C,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE1F,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACtD"}
|
package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Provider, Signer } from "ethers";
|
|
2
2
|
import { IntentsVerifierLens } from "../../typechain/contracts/Peripheral/Lens/IntentsVerifierLens";
|
|
3
3
|
import { IIntentsVerifierLensService } from "./IIntentsVerifierLensService";
|
|
4
|
+
import { CallOptions } from "../common";
|
|
4
5
|
export declare class IntentsVerifierLensService implements IIntentsVerifierLensService {
|
|
5
6
|
private readonly contract;
|
|
6
7
|
constructor(signerOrProvider: Signer | Provider, address: string);
|
|
7
|
-
getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
|
|
8
|
-
getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
|
|
9
|
-
getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
|
|
10
|
-
registry(): Promise<string>;
|
|
8
|
+
getRequestBuildingInfoForChipsIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
9
|
+
getRequestBuildingInfoForLiquidityIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
10
|
+
getRequestBuildingInfoForTradeIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
11
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
11
12
|
getContract(): IntentsVerifierLens;
|
|
12
13
|
}
|
|
13
14
|
//# sourceMappingURL=IntentsVerifierLensService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAC;AAEpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAC;AAEpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,0BAA2B,YAAW,2BAA2B;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;gBAEnC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAI1D,6CAA6C,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzF,iDAAiD,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAI7F,6CAA6C,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzF,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAI1D,WAAW,IAAI,mBAAmB;CAGnC"}
|
package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js
CHANGED
|
@@ -6,17 +6,17 @@ class IntentsVerifierLensService {
|
|
|
6
6
|
constructor(signerOrProvider, address) {
|
|
7
7
|
this.contract = IntentsVerifierLens__factory_1.IntentsVerifierLens__factory.connect(address, signerOrProvider);
|
|
8
8
|
}
|
|
9
|
-
async getRequestBuildingInfoForChipsIntentsVerifier() {
|
|
10
|
-
return await this.contract.getRequestBuildingInfoForChipsIntentsVerifier();
|
|
9
|
+
async getRequestBuildingInfoForChipsIntentsVerifier(callOptions) {
|
|
10
|
+
return await this.contract.getRequestBuildingInfoForChipsIntentsVerifier({ ...callOptions });
|
|
11
11
|
}
|
|
12
|
-
async getRequestBuildingInfoForLiquidityIntentsVerifier() {
|
|
13
|
-
return await this.contract.getRequestBuildingInfoForLiquidityIntentsVerifier();
|
|
12
|
+
async getRequestBuildingInfoForLiquidityIntentsVerifier(callOptions) {
|
|
13
|
+
return await this.contract.getRequestBuildingInfoForLiquidityIntentsVerifier({ ...callOptions });
|
|
14
14
|
}
|
|
15
|
-
async getRequestBuildingInfoForTradeIntentsVerifier() {
|
|
16
|
-
return await this.contract.getRequestBuildingInfoForTradeIntentsVerifier();
|
|
15
|
+
async getRequestBuildingInfoForTradeIntentsVerifier(callOptions) {
|
|
16
|
+
return await this.contract.getRequestBuildingInfoForTradeIntentsVerifier({ ...callOptions });
|
|
17
17
|
}
|
|
18
|
-
async registry() {
|
|
19
|
-
return await this.contract.registry();
|
|
18
|
+
async registry(callOptions) {
|
|
19
|
+
return await this.contract.registry({ ...callOptions });
|
|
20
20
|
}
|
|
21
21
|
getContract() {
|
|
22
22
|
return this.contract;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LexFeeConfigsLensStruct, LexGroupConfigsLensStruct, LexGroupStateLensStruct, LexPairConfigsLensStruct, LexPairStateLensStruct, LexPoolLensParamsStruct, LexPoolConfigurationsLensStruct, PoolAccountantConfigurationsLensStruct, LexPoolLensStateStruct, PoolAccountantStateLensStruct, CompleteLexConfigsLensStruct, CompleteLexStateLensStruct, LexPoolSupplierLensStateStruct, SinglePairTradesValuesInputStruct, PendingEpochDepositLensStruct, PendingEpochRedeemLensStruct, SinglePositionOutputStruct, CollateralLimitsForAssetStruct } from "../../typechain/contracts/Peripheral/Lens/LexLens";
|
|
2
2
|
import { TSafeBigNumberStruct } from "../../utils/ethersTypes";
|
|
3
|
+
import { CallOptions } from "../common";
|
|
3
4
|
export type TPendingEpochDepositLensStruct = TSafeBigNumberStruct<PendingEpochDepositLensStruct>;
|
|
4
5
|
export type TPendingEpochRedeemLensStruct = TSafeBigNumberStruct<PendingEpochRedeemLensStruct>;
|
|
5
6
|
export type TCollateralLimitsForAssetStruct = TSafeBigNumberStruct<CollateralLimitsForAssetStruct>;
|
|
@@ -41,31 +42,31 @@ export type TLensCompleteLexConfigsStruct = Omit<TSafeBigNumberStruct<CompleteLe
|
|
|
41
42
|
};
|
|
42
43
|
export type TSinglePositionOutputStruct = TSafeBigNumberStruct<SinglePositionOutputStruct>;
|
|
43
44
|
export interface ILexLensService {
|
|
44
|
-
getAllFeeConfigurationsInLex(lexPool: string): Promise<TLexFeeConfigsLensStruct[]>;
|
|
45
|
-
getAllGroupConfigurationsInLex(lexPool: string): Promise<TLexGroupConfigsLensStruct[]>;
|
|
46
|
-
getAllGroupStateInLex(lexPool: string): Promise<TLexGroupStateLensStruct[]>;
|
|
47
|
-
getAllPairAndGroupAndFeeConfigurationsInLex(lexPool: string): Promise<boolean>;
|
|
48
|
-
getAllPairConfigurationsInLex(lexPool: string): Promise<TLexPairConfigsLensStruct[]>;
|
|
49
|
-
getAllPairStateInLex(lexPool: string): Promise<TLexPairStateLensStruct[]>;
|
|
50
|
-
getCompleteConfigsForLex(pool: string): Promise<TLensCompleteLexConfigsStruct>;
|
|
51
|
-
getCompleteConfigsForLexes(pools: string[]): Promise<TLensCompleteLexConfigsStruct[]>;
|
|
52
|
-
getCompleteStateForLex(pool: string): Promise<TLensCompleteLexStateStruct>;
|
|
53
|
-
getCompleteStateForLexes(pools: string[]): Promise<TLensCompleteLexStateStruct[]>;
|
|
54
|
-
getLExPoolForPoolAccountant(accountant: string): Promise<string>;
|
|
55
|
-
getLexPairState(lexPool: string, pairId: number): Promise<TLexPairStateLensStruct>;
|
|
56
|
-
getLexPoolConfigs(lexPool: string): Promise<TLexPoolLensConfigsStruct>;
|
|
57
|
-
getLexPoolParams(lexPool: string): Promise<TLexPoolLensParamsStruct>;
|
|
58
|
-
getLexPoolState(lexPool: string): Promise<TLexPoolLensStateStruct>;
|
|
59
|
-
getLexPoolSupplierState(lexPool: string, supplier: string): Promise<TLexPoolSupplierLensStateStruct>;
|
|
60
|
-
getLexPoolsStateAll(lexPools: string[]): Promise<TLexPoolLensStateStruct[]>;
|
|
61
|
-
getPoolAccountantConfigurationsByPool(lexPool: string): Promise<TPoolAccountantConfigurationsLensStruct>;
|
|
62
|
-
getPoolAccountantConfigurationsByPoolAll(lexPools: string[]): Promise<TPoolAccountantConfigurationsLensStruct[]>;
|
|
63
|
-
getPoolAccountantForLexPool(lexPool: string): Promise<string>;
|
|
64
|
-
getPoolAccountantStateByPool(lexPool: string): Promise<TPoolAccountantStateLensStruct>;
|
|
65
|
-
getPoolAccountantStateByPoolAll(lexPools: string[]): Promise<TPoolAccountantStateLensStruct[]>;
|
|
66
|
-
getSupplierCurrentStateAll(lexPools: string[], supplier: string): Promise<TLexPoolSupplierLensStateStruct[]>;
|
|
67
|
-
tradesValuesMultiplePairs(accountant: string, pairsTrades: SinglePairTradesValuesInputStruct[]): Promise<TSinglePositionOutputStruct[][]>;
|
|
68
|
-
tradesValuesSinglePair(accountant: string, pairParams: SinglePairTradesValuesInputStruct): Promise<TSinglePositionOutputStruct[]>;
|
|
45
|
+
getAllFeeConfigurationsInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexFeeConfigsLensStruct[]>;
|
|
46
|
+
getAllGroupConfigurationsInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexGroupConfigsLensStruct[]>;
|
|
47
|
+
getAllGroupStateInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexGroupStateLensStruct[]>;
|
|
48
|
+
getAllPairAndGroupAndFeeConfigurationsInLex(lexPool: string, callOptions?: CallOptions): Promise<boolean>;
|
|
49
|
+
getAllPairConfigurationsInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexPairConfigsLensStruct[]>;
|
|
50
|
+
getAllPairStateInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexPairStateLensStruct[]>;
|
|
51
|
+
getCompleteConfigsForLex(pool: string, callOptions?: CallOptions): Promise<TLensCompleteLexConfigsStruct>;
|
|
52
|
+
getCompleteConfigsForLexes(pools: string[], callOptions?: CallOptions): Promise<TLensCompleteLexConfigsStruct[]>;
|
|
53
|
+
getCompleteStateForLex(pool: string, callOptions?: CallOptions): Promise<TLensCompleteLexStateStruct>;
|
|
54
|
+
getCompleteStateForLexes(pools: string[], callOptions?: CallOptions): Promise<TLensCompleteLexStateStruct[]>;
|
|
55
|
+
getLExPoolForPoolAccountant(accountant: string, callOptions?: CallOptions): Promise<string>;
|
|
56
|
+
getLexPairState(lexPool: string, pairId: number, callOptions?: CallOptions): Promise<TLexPairStateLensStruct>;
|
|
57
|
+
getLexPoolConfigs(lexPool: string, callOptions?: CallOptions): Promise<TLexPoolLensConfigsStruct>;
|
|
58
|
+
getLexPoolParams(lexPool: string, callOptions?: CallOptions): Promise<TLexPoolLensParamsStruct>;
|
|
59
|
+
getLexPoolState(lexPool: string, callOptions?: CallOptions): Promise<TLexPoolLensStateStruct>;
|
|
60
|
+
getLexPoolSupplierState(lexPool: string, supplier: string, callOptions?: CallOptions): Promise<TLexPoolSupplierLensStateStruct>;
|
|
61
|
+
getLexPoolsStateAll(lexPools: string[], callOptions?: CallOptions): Promise<TLexPoolLensStateStruct[]>;
|
|
62
|
+
getPoolAccountantConfigurationsByPool(lexPool: string, callOptions?: CallOptions): Promise<TPoolAccountantConfigurationsLensStruct>;
|
|
63
|
+
getPoolAccountantConfigurationsByPoolAll(lexPools: string[], callOptions?: CallOptions): Promise<TPoolAccountantConfigurationsLensStruct[]>;
|
|
64
|
+
getPoolAccountantForLexPool(lexPool: string, callOptions?: CallOptions): Promise<string>;
|
|
65
|
+
getPoolAccountantStateByPool(lexPool: string, callOptions?: CallOptions): Promise<TPoolAccountantStateLensStruct>;
|
|
66
|
+
getPoolAccountantStateByPoolAll(lexPools: string[], callOptions?: CallOptions): Promise<TPoolAccountantStateLensStruct[]>;
|
|
67
|
+
getSupplierCurrentStateAll(lexPools: string[], supplier: string, callOptions?: CallOptions): Promise<TLexPoolSupplierLensStateStruct[]>;
|
|
68
|
+
tradesValuesMultiplePairs(accountant: string, pairsTrades: SinglePairTradesValuesInputStruct[], callOptions?: CallOptions): Promise<TSinglePositionOutputStruct[][]>;
|
|
69
|
+
tradesValuesSinglePair(accountant: string, pairParams: SinglePairTradesValuesInputStruct, callOptions?: CallOptions): Promise<TSinglePositionOutputStruct[]>;
|
|
69
70
|
}
|
|
70
71
|
export declare const EMPTY_PENDING_EPOCH_DEPOSIT: TPendingEpochDepositLensStruct;
|
|
71
72
|
export declare const EMPTY_PENDING_EPOCH_REDEEM: TPendingEpochRedeemLensStruct;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILexLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LexLensService/ILexLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EACvB,+BAA+B,EAC/B,sCAAsC,EACtC,sBAAsB,EACtB,6BAA6B,EAC7B,4BAA4B,EAC5B,0BAA0B,EAC1B,8BAA8B,EAC9B,iCAAiC,EAEjC,6BAA6B,EAC7B,4BAA4B,EAC5B,0BAA0B,EAC1B,8BAA8B,EAC/B,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"ILexLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LexLensService/ILexLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,w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CAAC"}
|
|
@@ -2,34 +2,35 @@ import { Provider, Signer } from "ethers";
|
|
|
2
2
|
import { LexLens } from "../../typechain/contracts/Peripheral/Lens/LexLens";
|
|
3
3
|
import { SinglePairTradesValuesInputStruct } from "../../typechain/contracts/Peripheral/Lens/LexLens";
|
|
4
4
|
import { ILexLensService, TLexFeeConfigsLensStruct, TLexGroupConfigsLensStruct, TLexGroupStateLensStruct, TLexPairConfigsLensStruct, TLexPairStateLensStruct, TLexPoolLensParamsStruct, TLexPoolLensConfigsStruct, TPoolAccountantConfigurationsLensStruct, TLexPoolLensStateStruct, TPoolAccountantStateLensStruct, TLensCompleteLexConfigsStruct, TLensCompleteLexStateStruct, TLexPoolSupplierLensStateStruct, TSinglePositionOutputStruct } from "./ILexLensService";
|
|
5
|
+
import { CallOptions } from "../common";
|
|
5
6
|
export declare class LexLensService implements ILexLensService {
|
|
6
7
|
private readonly contract;
|
|
7
8
|
constructor(signerOrProvider: Signer | Provider, contractAddress: string);
|
|
8
|
-
getAllFeeConfigurationsInLex(lexPool: string): Promise<TLexFeeConfigsLensStruct[]>;
|
|
9
|
-
getAllGroupConfigurationsInLex(lexPool: string): Promise<TLexGroupConfigsLensStruct[]>;
|
|
10
|
-
getAllGroupStateInLex(lexPool: string): Promise<TLexGroupStateLensStruct[]>;
|
|
11
|
-
getAllPairAndGroupAndFeeConfigurationsInLex(lexPool: string): Promise<boolean>;
|
|
12
|
-
getAllPairConfigurationsInLex(lexPool: string): Promise<TLexPairConfigsLensStruct[]>;
|
|
13
|
-
getAllPairStateInLex(lexPool: string): Promise<TLexPairStateLensStruct[]>;
|
|
14
|
-
getCompleteConfigsForLex(pool: string): Promise<TLensCompleteLexConfigsStruct>;
|
|
15
|
-
getCompleteConfigsForLexes(pools: string[]): Promise<TLensCompleteLexConfigsStruct[]>;
|
|
16
|
-
getCompleteStateForLex(pool: string): Promise<TLensCompleteLexStateStruct>;
|
|
17
|
-
getCompleteStateForLexes(pools: string[]): Promise<TLensCompleteLexStateStruct[]>;
|
|
18
|
-
getLExPoolForPoolAccountant(accountant: string): Promise<string>;
|
|
19
|
-
getLexPairState(lexPool: string, pairId: number): Promise<TLexPairStateLensStruct>;
|
|
20
|
-
getLexPoolConfigs(lexPool: string): Promise<TLexPoolLensConfigsStruct>;
|
|
21
|
-
getLexPoolParams(lexPool: string): Promise<TLexPoolLensParamsStruct>;
|
|
22
|
-
getLexPoolState(lexPool: string): Promise<TLexPoolLensStateStruct>;
|
|
23
|
-
getLexPoolSupplierState(lexPool: string, supplier: string): Promise<TLexPoolSupplierLensStateStruct>;
|
|
24
|
-
getLexPoolsStateAll(lexPools: string[]): Promise<TLexPoolLensStateStruct[]>;
|
|
25
|
-
getPoolAccountantConfigurationsByPool(lexPool: string): Promise<TPoolAccountantConfigurationsLensStruct>;
|
|
26
|
-
getPoolAccountantConfigurationsByPoolAll(lexPools: string[]): Promise<TPoolAccountantConfigurationsLensStruct[]>;
|
|
27
|
-
getPoolAccountantForLexPool(lexPool: string): Promise<string>;
|
|
28
|
-
getPoolAccountantStateByPool(lexPool: string): Promise<TPoolAccountantStateLensStruct>;
|
|
29
|
-
getPoolAccountantStateByPoolAll(lexPools: string[]): Promise<TPoolAccountantStateLensStruct[]>;
|
|
30
|
-
getSupplierCurrentStateAll(lexPools: string[], supplier: string): Promise<TLexPoolSupplierLensStateStruct[]>;
|
|
31
|
-
tradesValuesMultiplePairs(accountant: string, pairsTrades: SinglePairTradesValuesInputStruct[]): Promise<TSinglePositionOutputStruct[][]>;
|
|
32
|
-
tradesValuesSinglePair(accountant: string, pairParams: SinglePairTradesValuesInputStruct): Promise<TSinglePositionOutputStruct[]>;
|
|
9
|
+
getAllFeeConfigurationsInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexFeeConfigsLensStruct[]>;
|
|
10
|
+
getAllGroupConfigurationsInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexGroupConfigsLensStruct[]>;
|
|
11
|
+
getAllGroupStateInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexGroupStateLensStruct[]>;
|
|
12
|
+
getAllPairAndGroupAndFeeConfigurationsInLex(lexPool: string, callOptions?: CallOptions): Promise<boolean>;
|
|
13
|
+
getAllPairConfigurationsInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexPairConfigsLensStruct[]>;
|
|
14
|
+
getAllPairStateInLex(lexPool: string, callOptions?: CallOptions): Promise<TLexPairStateLensStruct[]>;
|
|
15
|
+
getCompleteConfigsForLex(pool: string, callOptions?: CallOptions): Promise<TLensCompleteLexConfigsStruct>;
|
|
16
|
+
getCompleteConfigsForLexes(pools: string[], callOptions?: CallOptions): Promise<TLensCompleteLexConfigsStruct[]>;
|
|
17
|
+
getCompleteStateForLex(pool: string, callOptions?: CallOptions): Promise<TLensCompleteLexStateStruct>;
|
|
18
|
+
getCompleteStateForLexes(pools: string[], callOptions?: CallOptions): Promise<TLensCompleteLexStateStruct[]>;
|
|
19
|
+
getLExPoolForPoolAccountant(accountant: string, callOptions?: CallOptions): Promise<string>;
|
|
20
|
+
getLexPairState(lexPool: string, pairId: number, callOptions?: CallOptions): Promise<TLexPairStateLensStruct>;
|
|
21
|
+
getLexPoolConfigs(lexPool: string, callOptions?: CallOptions): Promise<TLexPoolLensConfigsStruct>;
|
|
22
|
+
getLexPoolParams(lexPool: string, callOptions?: CallOptions): Promise<TLexPoolLensParamsStruct>;
|
|
23
|
+
getLexPoolState(lexPool: string, callOptions?: CallOptions): Promise<TLexPoolLensStateStruct>;
|
|
24
|
+
getLexPoolSupplierState(lexPool: string, supplier: string, callOptions?: CallOptions): Promise<TLexPoolSupplierLensStateStruct>;
|
|
25
|
+
getLexPoolsStateAll(lexPools: string[], callOptions?: CallOptions): Promise<TLexPoolLensStateStruct[]>;
|
|
26
|
+
getPoolAccountantConfigurationsByPool(lexPool: string, callOptions?: CallOptions): Promise<TPoolAccountantConfigurationsLensStruct>;
|
|
27
|
+
getPoolAccountantConfigurationsByPoolAll(lexPools: string[], callOptions?: CallOptions): Promise<TPoolAccountantConfigurationsLensStruct[]>;
|
|
28
|
+
getPoolAccountantForLexPool(lexPool: string, callOptions?: CallOptions): Promise<string>;
|
|
29
|
+
getPoolAccountantStateByPool(lexPool: string, callOptions?: CallOptions): Promise<TPoolAccountantStateLensStruct>;
|
|
30
|
+
getPoolAccountantStateByPoolAll(lexPools: string[], callOptions?: CallOptions): Promise<TPoolAccountantStateLensStruct[]>;
|
|
31
|
+
getSupplierCurrentStateAll(lexPools: string[], supplier: string, callOptions?: CallOptions): Promise<TLexPoolSupplierLensStateStruct[]>;
|
|
32
|
+
tradesValuesMultiplePairs(accountant: string, pairsTrades: SinglePairTradesValuesInputStruct[], callOptions?: CallOptions): Promise<TSinglePositionOutputStruct[][]>;
|
|
33
|
+
tradesValuesSinglePair(accountant: string, pairParams: SinglePairTradesValuesInputStruct, callOptions?: CallOptions): Promise<TSinglePositionOutputStruct[]>;
|
|
33
34
|
private convertCompleteConfigsResult;
|
|
34
35
|
getContract(): LexLens;
|
|
35
36
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LexLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LexLensService/LexLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,mDAAmD,CAAC;AAE5E,OAAO,EAAE,iCAAiC,EAAE,MAAM,mDAAmD,CAAC;AAEtG,OAAO,EACL,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,yBAAyB,EACzB,uCAAuC,EACvC,uBAAuB,EACvB,8BAA8B,EAC9B,6BAA6B,EAC7B,2BAA2B,EAC3B,+BAA+B,EAC/B,2BAA2B,EAkB5B,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"LexLensService.d.ts","sourceRoot":"","sources":["../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AAW,GACxB,OAAO,CAAC,uBAAuB,EAAE,CAAC;IAY/B,qCAAqC,CACzC,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uCAAuC,CAAC;IAK7C,wCAAwC,CAC5C,QAAQ,EAAE,MAAM,EAAE,EAClB,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,uCAAuC,EAAE,CAAC;IAK/C,2BAA2B,CAC/B,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,MAAM,CAAC;IAIZ,4BAA4B,CAChC,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,8BAA8B,CAAC;IAKpC,+BAA+B,CACnC,QAAQ,EAAE,MAAM,EAAE,EAClB,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,8BAA8B,EAAE,CAAC;IAKtC,0BAA0B,CAC9B,QAAQ,EAAE,MAAM,EAAE,EAClB,QAAQ,EAAE,MAAM,EAChB,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,+BAA+B,EAAE,CAAC;IAYvC,yBAAyB,CAC7B,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,iCAAiC,EAAE,EAChD,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,2BAA2B,EAAE,EAAE,CAAC;IAQrC,sBAAsB,CAC1B,UAAU,EAAE,MAAM,EAClB,UAAU,EAAE,iCAAiC,EAC7C,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,2BAA2B,EAAE,CAAC;IAOzC,OAAO,CAAC,4BAA4B;IAwCpC,WAAW,IAAI,OAAO;CAGvB"}
|
|
@@ -8,8 +8,8 @@ class LexLensService {
|
|
|
8
8
|
constructor(signerOrProvider, contractAddress) {
|
|
9
9
|
this.contract = LexLens__factory_1.LexLens__factory.connect(contractAddress, signerOrProvider);
|
|
10
10
|
}
|
|
11
|
-
async getAllFeeConfigurationsInLex(lexPool) {
|
|
12
|
-
const result = await this.contract.getAllFeeConfigurationsInLex(lexPool);
|
|
11
|
+
async getAllFeeConfigurationsInLex(lexPool, callOptions) {
|
|
12
|
+
const result = await this.contract.getAllFeeConfigurationsInLex(lexPool, { ...callOptions });
|
|
13
13
|
// First convert array, then handle special number conversions
|
|
14
14
|
const baseArray = (0, ethersTypes_1.ethersStructResponseToArray)(result, ILexLensService_1.EMPTY_FEE_CONFIGS_LENS);
|
|
15
15
|
return baseArray.map(item => ({
|
|
@@ -20,8 +20,8 @@ class LexLensService {
|
|
|
20
20
|
performanceFeeF: Number(item.performanceFeeF),
|
|
21
21
|
}));
|
|
22
22
|
}
|
|
23
|
-
async getAllGroupConfigurationsInLex(lexPool) {
|
|
24
|
-
const result = await this.contract.getAllGroupConfigurationsInLex(lexPool);
|
|
23
|
+
async getAllGroupConfigurationsInLex(lexPool, callOptions) {
|
|
24
|
+
const result = await this.contract.getAllGroupConfigurationsInLex(lexPool, { ...callOptions });
|
|
25
25
|
const baseArray = (0, ethersTypes_1.ethersStructResponseToArray)(result, ILexLensService_1.EMPTY_GROUP_CONFIGS_LENS);
|
|
26
26
|
return baseArray.map(item => ({
|
|
27
27
|
...item,
|
|
@@ -29,19 +29,19 @@ class LexLensService {
|
|
|
29
29
|
maxBorrowF: Number(item.maxBorrowF),
|
|
30
30
|
}));
|
|
31
31
|
}
|
|
32
|
-
async getAllGroupStateInLex(lexPool) {
|
|
33
|
-
const result = await this.contract.getAllGroupStateInLex(lexPool);
|
|
32
|
+
async getAllGroupStateInLex(lexPool, callOptions) {
|
|
33
|
+
const result = await this.contract.getAllGroupStateInLex(lexPool, { ...callOptions });
|
|
34
34
|
const baseArray = (0, ethersTypes_1.ethersStructResponseToArray)(result, ILexLensService_1.EMPTY_LEX_GROUP_STATE_LENS);
|
|
35
35
|
return baseArray.map(item => ({
|
|
36
36
|
...item,
|
|
37
37
|
groupId: Number(item.groupId),
|
|
38
38
|
}));
|
|
39
39
|
}
|
|
40
|
-
async getAllPairAndGroupAndFeeConfigurationsInLex(lexPool) {
|
|
41
|
-
return await this.contract.getAllPairAndGroupAndFeeConfigurationsInLex(lexPool);
|
|
40
|
+
async getAllPairAndGroupAndFeeConfigurationsInLex(lexPool, callOptions) {
|
|
41
|
+
return await this.contract.getAllPairAndGroupAndFeeConfigurationsInLex(lexPool, { ...callOptions });
|
|
42
42
|
}
|
|
43
|
-
async getAllPairConfigurationsInLex(lexPool) {
|
|
44
|
-
const result = await this.contract.getAllPairConfigurationsInLex(lexPool);
|
|
43
|
+
async getAllPairConfigurationsInLex(lexPool, callOptions) {
|
|
44
|
+
const result = await this.contract.getAllPairConfigurationsInLex(lexPool, { ...callOptions });
|
|
45
45
|
const baseArray = (0, ethersTypes_1.ethersStructResponseToArray)(result, ILexLensService_1.EMPTY_PAIR_CONFIGS_LENS);
|
|
46
46
|
return baseArray.map(item => ({
|
|
47
47
|
...item,
|
|
@@ -50,16 +50,16 @@ class LexLensService {
|
|
|
50
50
|
feeId: Number(item.feeId),
|
|
51
51
|
}));
|
|
52
52
|
}
|
|
53
|
-
async getAllPairStateInLex(lexPool) {
|
|
54
|
-
const result = await this.contract.getAllPairStateInLex(lexPool);
|
|
53
|
+
async getAllPairStateInLex(lexPool, callOptions) {
|
|
54
|
+
const result = await this.contract.getAllPairStateInLex(lexPool, { ...callOptions });
|
|
55
55
|
const baseArray = (0, ethersTypes_1.ethersStructResponseToArray)(result, ILexLensService_1.EMPTY_LEX_PAIR_STATE_LENS);
|
|
56
56
|
return baseArray.map(item => ({
|
|
57
57
|
...item,
|
|
58
58
|
pairId: Number(item.pairId),
|
|
59
59
|
}));
|
|
60
60
|
}
|
|
61
|
-
async getCompleteConfigsForLex(pool) {
|
|
62
|
-
const result = await this.contract.getCompleteConfigsForLex(pool);
|
|
61
|
+
async getCompleteConfigsForLex(pool, callOptions) {
|
|
62
|
+
const result = await this.contract.getCompleteConfigsForLex(pool, { ...callOptions });
|
|
63
63
|
const baseResult = (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_COMPLETE_LEX_CONFIGS, {
|
|
64
64
|
groupsConfigs: ILexLensService_1.EMPTY_GROUP_CONFIGS_LENS,
|
|
65
65
|
pairsConfigs: ILexLensService_1.EMPTY_PAIR_CONFIGS_LENS,
|
|
@@ -92,12 +92,12 @@ class LexLensService {
|
|
|
92
92
|
})),
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
async getCompleteConfigsForLexes(pools) {
|
|
96
|
-
const results = await this.contract.getCompleteConfigsForLexes(pools);
|
|
95
|
+
async getCompleteConfigsForLexes(pools, callOptions) {
|
|
96
|
+
const results = await this.contract.getCompleteConfigsForLexes(pools, { ...callOptions });
|
|
97
97
|
return results.map(result => this.convertCompleteConfigsResult(result));
|
|
98
98
|
}
|
|
99
|
-
async getCompleteStateForLex(pool) {
|
|
100
|
-
const result = await this.contract.getCompleteStateForLex(pool);
|
|
99
|
+
async getCompleteStateForLex(pool, callOptions) {
|
|
100
|
+
const result = await this.contract.getCompleteStateForLex(pool, { ...callOptions });
|
|
101
101
|
const baseResult = (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_COMPLETE_LEX_STATE, {
|
|
102
102
|
pairsStates: ILexLensService_1.EMPTY_LEX_PAIR_STATE_LENS,
|
|
103
103
|
groupsStates: ILexLensService_1.EMPTY_LEX_GROUP_STATE_LENS,
|
|
@@ -122,8 +122,8 @@ class LexLensService {
|
|
|
122
122
|
})),
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
|
-
async getCompleteStateForLexes(pools) {
|
|
126
|
-
const results = await this.contract.getCompleteStateForLexes(pools);
|
|
125
|
+
async getCompleteStateForLexes(pools, callOptions) {
|
|
126
|
+
const results = await this.contract.getCompleteStateForLexes(pools, { ...callOptions });
|
|
127
127
|
return results.map(result => {
|
|
128
128
|
const baseResult = (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_COMPLETE_LEX_STATE, {
|
|
129
129
|
pairsStates: ILexLensService_1.EMPTY_LEX_PAIR_STATE_LENS,
|
|
@@ -150,80 +150,80 @@ class LexLensService {
|
|
|
150
150
|
};
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
|
-
async getLExPoolForPoolAccountant(accountant) {
|
|
154
|
-
return await this.contract.getLExPoolForPoolAccountant(accountant);
|
|
153
|
+
async getLExPoolForPoolAccountant(accountant, callOptions) {
|
|
154
|
+
return await this.contract.getLExPoolForPoolAccountant(accountant, { ...callOptions });
|
|
155
155
|
}
|
|
156
|
-
async getLexPairState(lexPool, pairId) {
|
|
157
|
-
const result = await this.contract.getLexPairState(lexPool, BigInt(pairId));
|
|
156
|
+
async getLexPairState(lexPool, pairId, callOptions) {
|
|
157
|
+
const result = await this.contract.getLexPairState(lexPool, BigInt(pairId), { ...callOptions });
|
|
158
158
|
const baseObj = (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_LEX_PAIR_STATE_LENS);
|
|
159
159
|
return {
|
|
160
160
|
...baseObj,
|
|
161
161
|
pairId: Number(baseObj.pairId),
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
|
-
async getLexPoolConfigs(lexPool) {
|
|
165
|
-
const result = await this.contract.getLexPoolConfigs(lexPool);
|
|
164
|
+
async getLexPoolConfigs(lexPool, callOptions) {
|
|
165
|
+
const result = await this.contract.getLexPoolConfigs(lexPool, { ...callOptions });
|
|
166
166
|
return (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_LEX_POOL_LENS_CONFIGS);
|
|
167
167
|
}
|
|
168
|
-
async getLexPoolParams(lexPool) {
|
|
169
|
-
const result = await this.contract.getLexPoolParams(lexPool);
|
|
168
|
+
async getLexPoolParams(lexPool, callOptions) {
|
|
169
|
+
const result = await this.contract.getLexPoolParams(lexPool, { ...callOptions });
|
|
170
170
|
return (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_LEX_POOL_LENS_PARAMS);
|
|
171
171
|
}
|
|
172
|
-
async getLexPoolState(lexPool) {
|
|
173
|
-
const result = await this.contract.getLexPoolState(lexPool);
|
|
172
|
+
async getLexPoolState(lexPool, callOptions) {
|
|
173
|
+
const result = await this.contract.getLexPoolState(lexPool, { ...callOptions });
|
|
174
174
|
return (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_LEX_POOL_LENS_STATE, {
|
|
175
175
|
collateralLimitsNonCat: ILexLensService_1.EMPTY_COLLATERAL_LIMITS_FOR_ASSET,
|
|
176
176
|
collateralLimitsCat: ILexLensService_1.EMPTY_COLLATERAL_LIMITS_FOR_ASSET,
|
|
177
177
|
});
|
|
178
178
|
}
|
|
179
|
-
async getLexPoolSupplierState(lexPool, supplier) {
|
|
180
|
-
const result = await this.contract.getLexPoolSupplierState(lexPool, supplier);
|
|
179
|
+
async getLexPoolSupplierState(lexPool, supplier, callOptions) {
|
|
180
|
+
const result = await this.contract.getLexPoolSupplierState(lexPool, supplier, { ...callOptions });
|
|
181
181
|
return (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_LEX_POOL_SUPPLIER_LENS_STATE, {
|
|
182
182
|
pendingEpochDeposits: ILexLensService_1.EMPTY_PENDING_EPOCH_DEPOSIT,
|
|
183
183
|
pendingEpochRedeems: ILexLensService_1.EMPTY_PENDING_EPOCH_REDEEM,
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
|
-
async getLexPoolsStateAll(lexPools) {
|
|
187
|
-
const results = await this.contract.getLexPoolsStateAll(lexPools);
|
|
186
|
+
async getLexPoolsStateAll(lexPools, callOptions) {
|
|
187
|
+
const results = await this.contract.getLexPoolsStateAll(lexPools, { ...callOptions });
|
|
188
188
|
return (0, ethersTypes_1.ethersStructResponseToArray)(results, ILexLensService_1.EMPTY_LEX_POOL_LENS_STATE, {
|
|
189
189
|
collateralLimitsNonCat: ILexLensService_1.EMPTY_COLLATERAL_LIMITS_FOR_ASSET,
|
|
190
190
|
collateralLimitsCat: ILexLensService_1.EMPTY_COLLATERAL_LIMITS_FOR_ASSET,
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
|
-
async getPoolAccountantConfigurationsByPool(lexPool) {
|
|
194
|
-
const result = await this.contract.getPoolAccountantConfigurationsByPool(lexPool);
|
|
193
|
+
async getPoolAccountantConfigurationsByPool(lexPool, callOptions) {
|
|
194
|
+
const result = await this.contract.getPoolAccountantConfigurationsByPool(lexPool, { ...callOptions });
|
|
195
195
|
return (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_POOL_ACCOUNTANT_CONFIGURATIONS_LENS);
|
|
196
196
|
}
|
|
197
|
-
async getPoolAccountantConfigurationsByPoolAll(lexPools) {
|
|
198
|
-
const results = await this.contract.getPoolAccountantConfigurationsByPoolAll(lexPools);
|
|
197
|
+
async getPoolAccountantConfigurationsByPoolAll(lexPools, callOptions) {
|
|
198
|
+
const results = await this.contract.getPoolAccountantConfigurationsByPoolAll(lexPools, { ...callOptions });
|
|
199
199
|
return (0, ethersTypes_1.ethersStructResponseToArray)(results, ILexLensService_1.EMPTY_POOL_ACCOUNTANT_CONFIGURATIONS_LENS);
|
|
200
200
|
}
|
|
201
|
-
async getPoolAccountantForLexPool(lexPool) {
|
|
202
|
-
return await this.contract.getPoolAccountantForLexPool(lexPool);
|
|
201
|
+
async getPoolAccountantForLexPool(lexPool, callOptions) {
|
|
202
|
+
return await this.contract.getPoolAccountantForLexPool(lexPool, { ...callOptions });
|
|
203
203
|
}
|
|
204
|
-
async getPoolAccountantStateByPool(lexPool) {
|
|
205
|
-
const result = await this.contract.getPoolAccountantStateByPool(lexPool);
|
|
204
|
+
async getPoolAccountantStateByPool(lexPool, callOptions) {
|
|
205
|
+
const result = await this.contract.getPoolAccountantStateByPool(lexPool, { ...callOptions });
|
|
206
206
|
return (0, ethersTypes_1.ethersStructResponseToObject)(result, ILexLensService_1.EMPTY_POOL_ACCOUNTANT_STATE_LENS);
|
|
207
207
|
}
|
|
208
|
-
async getPoolAccountantStateByPoolAll(lexPools) {
|
|
209
|
-
const results = await this.contract.getPoolAccountantStateByPoolAll(lexPools);
|
|
208
|
+
async getPoolAccountantStateByPoolAll(lexPools, callOptions) {
|
|
209
|
+
const results = await this.contract.getPoolAccountantStateByPoolAll(lexPools, { ...callOptions });
|
|
210
210
|
return (0, ethersTypes_1.ethersStructResponseToArray)(results, ILexLensService_1.EMPTY_POOL_ACCOUNTANT_STATE_LENS);
|
|
211
211
|
}
|
|
212
|
-
async getSupplierCurrentStateAll(lexPools, supplier) {
|
|
213
|
-
const results = await this.contract.getSupplierCurrentStateAll(lexPools, supplier);
|
|
212
|
+
async getSupplierCurrentStateAll(lexPools, supplier, callOptions) {
|
|
213
|
+
const results = await this.contract.getSupplierCurrentStateAll(lexPools, supplier, { ...callOptions });
|
|
214
214
|
return (0, ethersTypes_1.ethersStructResponseToArray)(results, ILexLensService_1.EMPTY_LEX_POOL_SUPPLIER_LENS_STATE, {
|
|
215
215
|
pendingEpochDeposits: ILexLensService_1.EMPTY_PENDING_EPOCH_DEPOSIT,
|
|
216
216
|
pendingEpochRedeems: ILexLensService_1.EMPTY_PENDING_EPOCH_REDEEM,
|
|
217
217
|
});
|
|
218
218
|
}
|
|
219
|
-
async tradesValuesMultiplePairs(accountant, pairsTrades) {
|
|
219
|
+
async tradesValuesMultiplePairs(accountant, pairsTrades, callOptions) {
|
|
220
220
|
// @ts-ignore
|
|
221
|
-
const results = await this.contract.tradesValuesMultiplePairs.staticCall(accountant, pairsTrades);
|
|
221
|
+
const results = await this.contract.tradesValuesMultiplePairs.staticCall(accountant, pairsTrades, { ...callOptions });
|
|
222
222
|
return results.map(pairResults => (0, ethersTypes_1.ethersStructResponseToArray)(pairResults, ILexLensService_1.EMPTY_SINGLE_POSITION_OUTPUT));
|
|
223
223
|
}
|
|
224
|
-
async tradesValuesSinglePair(accountant, pairParams) {
|
|
224
|
+
async tradesValuesSinglePair(accountant, pairParams, callOptions) {
|
|
225
225
|
// @ts-ignore
|
|
226
|
-
const results = await this.contract.tradesValuesSinglePair.staticCall(accountant, pairParams);
|
|
226
|
+
const results = await this.contract.tradesValuesSinglePair.staticCall(accountant, pairParams, { ...callOptions });
|
|
227
227
|
return (0, ethersTypes_1.ethersStructResponseToArray)(results, ILexLensService_1.EMPTY_SINGLE_POSITION_OUTPUT);
|
|
228
228
|
}
|
|
229
229
|
// Helper methods
|