lynx-client 0.0.32 → 0.0.34
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/addresses/lensAddresses.js +6 -6
- 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/ILexLensService.js +7 -0
- package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +52 -52
- 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/ITriggersAndPortalLensService.js +25 -1
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +52 -8
- package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
- package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +284 -9
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +6 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +261 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +136 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +220 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/lib/addresses/lensAddresses.d.ts +6 -6
- package/dist/esm/lib/addresses/lensAddresses.js +6 -6
- 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/ILexLensService.js +7 -0
- 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 +52 -52
- 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 +34 -8
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +25 -1
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +10 -5
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +52 -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/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +182 -9
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +5 -3
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +164 -2
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts +22 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +126 -3
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +221 -9
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +284 -9
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +5 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +6 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +203 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +261 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +109 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +136 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +169 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +220 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/addresses/lensAddresses.d.ts +6 -6
- 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 +34 -8
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +10 -5
- 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/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +182 -9
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +5 -3
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +164 -2
- package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts +22 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +126 -3
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +221 -9
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +5 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +203 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +109 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +169 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEngineChipService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/EngineChipService/IEngineChipService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"IEngineChipService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/EngineChipService/IEngineChipService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGpG,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;CACxB;AAID,MAAM,WAAW,yCAAyC;IACxD,IAAI,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjD,MAAM,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnD,QAAQ,CAAC,WAAW,CAAC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C,eAAe,EAAE,yCAAyC,CAAC;IAC3D,iBAAiB,EAAE,2CAA2C,CAAC;IAC/D,iBAAiB,EAAE,2CAA2C,CAAC;IAC/D,cAAc,EAAE,wCAAwC,CAAC;IACzD,sBAAsB,EAAE,gDAAgD,CAAC;IACzE,aAAa,EAAE,uCAAuC,CAAC;IACvD,aAAa,EAAE,cAAc,CAAC;IAC9B,qBAAqB,EAAE,sBAAsB,CAAC;CAC/C"}
|
package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,QAAQ,EAAE,MAAM,EAA+B,MAAM,QAAQ,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gEAAgE,CAAA;AAEjG,OAAO,EACL,sBAAsB,EACtB,+CAA+C,EAC/C,gDAAgD,EAChD,4CAA4C,EAC5C,gDAAgD,EAGjD,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,sBAAsB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"FeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,QAAQ,EAAE,MAAM,EAA+B,MAAM,QAAQ,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gEAAgE,CAAA;AAEjG,OAAO,EACL,sBAAsB,EACtB,+CAA+C,EAC/C,gDAAgD,EAChD,4CAA4C,EAC5C,gDAAgD,EAGjD,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAmC,MAAM,WAAW,CAAA;AAoJnG,qBAAa,qBAAsB,YAAW,sBAAsB;IAWhE,OAAO,CAAC,gBAAgB;IAV1B,OAAO,CAAC,QAAQ,CAAkB;IAClC,SAAgB,iBAAiB,EAAE,+CAA+C,CAAA;IAClF,SAAgB,kBAAkB,EAAE,gDAAgD,CAAA;IACpF,SAAgB,cAAc,EAAE,4CAA4C,CAAA;IAC5E,SAAgB,kBAAkB,EAAE,gDAAgD,CAAA;IACpF,SAAgB,aAAa,EAAE,cAAc,CAAA;IAC7C,SAAgB,qBAAqB,EAAE,sBAAsB,CAAA;gBAG3D,OAAO,EAAE,MAAM,EACP,gBAAgB,EAAE,MAAM,GAAG,QAAQ;IAe7C,WAAW,IAAI,gBAAgB;CAGhC"}
|
|
@@ -6,97 +6,97 @@ class FeatureManagement {
|
|
|
6
6
|
constructor(contract) {
|
|
7
7
|
this.contract = contract;
|
|
8
8
|
}
|
|
9
|
-
async adminRegisterFeature(featureId, name) {
|
|
10
|
-
return this.contract.adminRegisterFeature(featureId, name);
|
|
9
|
+
async adminRegisterFeature(featureId, name, transactionOptions) {
|
|
10
|
+
return this.contract.adminRegisterFeature(featureId, name, { ...transactionOptions });
|
|
11
11
|
}
|
|
12
|
-
async adminDisableFeatureForUser(featureId, user) {
|
|
13
|
-
return this.contract.adminDisableFeatureForUser(featureId, user);
|
|
12
|
+
async adminDisableFeatureForUser(featureId, user, transactionOptions) {
|
|
13
|
+
return this.contract.adminDisableFeatureForUser(featureId, user, { ...transactionOptions });
|
|
14
14
|
}
|
|
15
|
-
async adminBatchDisableFeatureForUsers(featureId, users) {
|
|
16
|
-
return this.contract.adminBatchDisableFeatureForUsers(featureId, users);
|
|
15
|
+
async adminBatchDisableFeatureForUsers(featureId, users, transactionOptions) {
|
|
16
|
+
return this.contract.adminBatchDisableFeatureForUsers(featureId, users, { ...transactionOptions });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
class UserFeatureControl {
|
|
20
20
|
constructor(contract) {
|
|
21
21
|
this.contract = contract;
|
|
22
22
|
}
|
|
23
|
-
async setFeatureActivated(featureId, enabled) {
|
|
24
|
-
return this.contract.setFeatureActivated(featureId, enabled);
|
|
23
|
+
async setFeatureActivated(featureId, enabled, transactionOptions) {
|
|
24
|
+
return this.contract.setFeatureActivated(featureId, enabled, { ...transactionOptions });
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
class FeatureQueries {
|
|
28
28
|
constructor(contract) {
|
|
29
29
|
this.contract = contract;
|
|
30
30
|
}
|
|
31
|
-
async isFeatureActivated(featureId, user) {
|
|
32
|
-
return this.contract.isFeatureActivated(featureId, user);
|
|
31
|
+
async isFeatureActivated(featureId, user, callOptions) {
|
|
32
|
+
return this.contract.isFeatureActivated(featureId, user, { ...callOptions });
|
|
33
33
|
}
|
|
34
|
-
async isFeatureRegistered(featureId) {
|
|
35
|
-
return this.contract.isFeatureRegistered(featureId);
|
|
34
|
+
async isFeatureRegistered(featureId, callOptions) {
|
|
35
|
+
return this.contract.isFeatureRegistered(featureId, { ...callOptions });
|
|
36
36
|
}
|
|
37
|
-
async getFeatureMetadata(featureId) {
|
|
38
|
-
const result = await this.contract.getFeatureMetadata(featureId);
|
|
37
|
+
async getFeatureMetadata(featureId, callOptions) {
|
|
38
|
+
const result = await this.contract.getFeatureMetadata(featureId, { ...callOptions });
|
|
39
39
|
return {
|
|
40
40
|
name: result.name,
|
|
41
41
|
exists: result.exists,
|
|
42
42
|
usersCount: result.usersCount,
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
async getFeatureUsers(featureId, startIndex, pageSize) {
|
|
46
|
-
const result = await this.contract.getFeatureUsers(featureId, startIndex, pageSize);
|
|
45
|
+
async getFeatureUsers(featureId, startIndex, pageSize, callOptions) {
|
|
46
|
+
const result = await this.contract.getFeatureUsers(featureId, startIndex, pageSize, { ...callOptions });
|
|
47
47
|
return {
|
|
48
48
|
users: result.users,
|
|
49
49
|
totalCount: result.totalCount,
|
|
50
50
|
hasMore: result.hasMore,
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
async getFeatureUsersCount(featureId) {
|
|
54
|
-
return this.contract.getFeatureUsersCount(featureId);
|
|
53
|
+
async getFeatureUsersCount(featureId, callOptions) {
|
|
54
|
+
return this.contract.getFeatureUsersCount(featureId, { ...callOptions });
|
|
55
55
|
}
|
|
56
|
-
async getAllFeatureIds() {
|
|
57
|
-
return this.contract.getAllFeatureIds();
|
|
56
|
+
async getAllFeatureIds(callOptions) {
|
|
57
|
+
return this.contract.getAllFeatureIds({ ...callOptions });
|
|
58
58
|
}
|
|
59
|
-
async featureName(featureId) {
|
|
60
|
-
return this.contract.featureName(featureId);
|
|
59
|
+
async featureName(featureId, callOptions) {
|
|
60
|
+
return this.contract.featureName(featureId, { ...callOptions });
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
class ContractReferences {
|
|
64
64
|
constructor(contract) {
|
|
65
65
|
this.contract = contract;
|
|
66
66
|
}
|
|
67
|
-
async registry() {
|
|
68
|
-
return this.contract.registry();
|
|
67
|
+
async registry(callOptions) {
|
|
68
|
+
return this.contract.registry({ ...callOptions });
|
|
69
69
|
}
|
|
70
|
-
async implementation() {
|
|
71
|
-
return this.contract.implementation();
|
|
70
|
+
async implementation(callOptions) {
|
|
71
|
+
return this.contract.implementation({ ...callOptions });
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
class PendableAdmin {
|
|
75
75
|
constructor(contract) {
|
|
76
76
|
this.contract = contract;
|
|
77
77
|
}
|
|
78
|
-
async admin() {
|
|
79
|
-
return this.contract.admin();
|
|
78
|
+
async admin(callOptions) {
|
|
79
|
+
return this.contract.admin({ ...callOptions });
|
|
80
80
|
}
|
|
81
|
-
async pendingAdmin() {
|
|
82
|
-
return this.contract.pendingAdmin();
|
|
81
|
+
async pendingAdmin(callOptions) {
|
|
82
|
+
return this.contract.pendingAdmin({ ...callOptions });
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
class LynxVersionedContract {
|
|
86
86
|
constructor(contract) {
|
|
87
87
|
this.contract = contract;
|
|
88
88
|
}
|
|
89
|
-
async getContractName() {
|
|
90
|
-
return this.contract.getContractName();
|
|
89
|
+
async getContractName(callOptions) {
|
|
90
|
+
return this.contract.getContractName({ ...callOptions });
|
|
91
91
|
}
|
|
92
|
-
async getContractVersion() {
|
|
93
|
-
return this.contract.getContractVersion();
|
|
92
|
+
async getContractVersion(callOptions) {
|
|
93
|
+
return this.contract.getContractVersion({ ...callOptions });
|
|
94
94
|
}
|
|
95
|
-
async CONTRACT_NAME() {
|
|
96
|
-
return this.contract.CONTRACT_NAME();
|
|
95
|
+
async CONTRACT_NAME(callOptions) {
|
|
96
|
+
return this.contract.CONTRACT_NAME({ ...callOptions });
|
|
97
97
|
}
|
|
98
|
-
async CONTRACT_VERSION() {
|
|
99
|
-
return this.contract.CONTRACT_VERSION();
|
|
98
|
+
async CONTRACT_VERSION(callOptions) {
|
|
99
|
+
return this.contract.CONTRACT_VERSION({ ...callOptions });
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
class FeatureFlaggerService {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AddressLike, ContractTransactionResponse } from "ethers";
|
|
2
|
-
import { ILynxVersionedContract, IPendableAdmin } from "../common";
|
|
2
|
+
import { ILynxVersionedContract, IPendableAdmin, TransactionOptions, CallOptions } from "../common";
|
|
3
3
|
export interface FeatureMetadata {
|
|
4
4
|
name: string;
|
|
5
5
|
exists: boolean;
|
|
@@ -11,25 +11,25 @@ export interface FeatureUsersResult {
|
|
|
11
11
|
hasMore: boolean;
|
|
12
12
|
}
|
|
13
13
|
export interface IFeatureFlaggerFunctionsGroup_FeatureManagement {
|
|
14
|
-
adminRegisterFeature(featureId: bigint, name: string): Promise<ContractTransactionResponse>;
|
|
15
|
-
adminDisableFeatureForUser(featureId: bigint, user: AddressLike): Promise<ContractTransactionResponse>;
|
|
16
|
-
adminBatchDisableFeatureForUsers(featureId: bigint, users: AddressLike[]): Promise<ContractTransactionResponse>;
|
|
14
|
+
adminRegisterFeature(featureId: bigint, name: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
15
|
+
adminDisableFeatureForUser(featureId: bigint, user: AddressLike, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
16
|
+
adminBatchDisableFeatureForUsers(featureId: bigint, users: AddressLike[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
17
17
|
}
|
|
18
18
|
export interface IFeatureFlaggerFunctionsGroup_UserFeatureControl {
|
|
19
|
-
setFeatureActivated(featureId: bigint, enabled: boolean): Promise<ContractTransactionResponse>;
|
|
19
|
+
setFeatureActivated(featureId: bigint, enabled: boolean, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
20
20
|
}
|
|
21
21
|
export interface IFeatureFlaggerFunctionsGroup_FeatureQueries {
|
|
22
|
-
isFeatureActivated(featureId: bigint, user: AddressLike): Promise<boolean>;
|
|
23
|
-
isFeatureRegistered(featureId: bigint): Promise<boolean>;
|
|
24
|
-
getFeatureMetadata(featureId: bigint): Promise<FeatureMetadata>;
|
|
25
|
-
getFeatureUsers(featureId: bigint, startIndex: bigint, pageSize: bigint): Promise<FeatureUsersResult>;
|
|
26
|
-
getFeatureUsersCount(featureId: bigint): Promise<bigint>;
|
|
27
|
-
getAllFeatureIds(): Promise<bigint[]>;
|
|
28
|
-
featureName(featureId: bigint): Promise<string>;
|
|
22
|
+
isFeatureActivated(featureId: bigint, user: AddressLike, callOptions?: CallOptions): Promise<boolean>;
|
|
23
|
+
isFeatureRegistered(featureId: bigint, callOptions?: CallOptions): Promise<boolean>;
|
|
24
|
+
getFeatureMetadata(featureId: bigint, callOptions?: CallOptions): Promise<FeatureMetadata>;
|
|
25
|
+
getFeatureUsers(featureId: bigint, startIndex: bigint, pageSize: bigint, callOptions?: CallOptions): Promise<FeatureUsersResult>;
|
|
26
|
+
getFeatureUsersCount(featureId: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
27
|
+
getAllFeatureIds(callOptions?: CallOptions): Promise<bigint[]>;
|
|
28
|
+
featureName(featureId: bigint, callOptions?: CallOptions): Promise<string>;
|
|
29
29
|
}
|
|
30
30
|
export interface IFeatureFlaggerFunctionsGroup_ContractReferences {
|
|
31
|
-
registry(): Promise<string>;
|
|
32
|
-
implementation(): Promise<string>;
|
|
31
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
32
|
+
implementation(callOptions?: CallOptions): Promise<string>;
|
|
33
33
|
}
|
|
34
34
|
export interface IFeatureFlaggerService {
|
|
35
35
|
featureManagement: IFeatureFlaggerFunctionsGroup_FeatureManagement;
|
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,+CA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BAAgB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAA;IAE9D,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAC3E;AAED,MAAM,WAAW,gDAAgD;IAC/D,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEpD,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAC3D;AAED,MAAM,WAAW,sBAAsB;IACrC,iBAAiB,EAAE,+CAA+C,CAAA;IAClE,kBAAkB,EAAE,gDAAgD,CAAA;IACpE,cAAc,EAAE,4CAA4C,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,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;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGxC,MAAM,MAAM,8BAA8B,GACxC,oBAAoB,CAAC,6BAA6B,CAAC,CAAC;AACtD,MAAM,MAAM,6BAA6B,GACvC,oBAAoB,CAAC,4BAA4B,CAAC,CAAC;AACrD,MAAM,MAAM,+BAA+B,GACzC,oBAAoB,CAAC,8BAA8B,CAAC,CAAC;AACvD,MAAM,MAAM,wBAAwB,GAClC,oBAAoB,CAAC,uBAAuB,CAAC,CAAC;AAChD,MAAM,MAAM,uBAAuB,GACjC,oBAAoB,CAAC,sBAAsB,CAAC,CAAC;AAC/C,MAAM,MAAM,yBAAyB,GACnC,oBAAoB,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MAAM,uBAAuB,EAAE,yBAarC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,wBAKpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,0BAOtC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,uBAQvC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,wBAIxC,CAAC;AAEF,eAAO,MAAM,kCAAkC,EAAE,+BAU9C,CAAC;AAEJ,eAAO,MAAM,gCAAgC,EAAE,8BAS5C,CAAC;AAEJ,eAAO,MAAM,yCAAyC,EAAE,uCAkBrD,CAAC;AAEJ,eAAO,MAAM,wBAAwB,EAAE,2BAKtC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,6BAOxC,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,2BAK1C,CAAC"}
|
|
@@ -75,6 +75,7 @@ exports.EMPTY_GROUP_CONFIGS_LENS = {
|
|
|
75
75
|
maxLeverage: 0n,
|
|
76
76
|
maxPositionSize: 0n,
|
|
77
77
|
minLeverage: 0n,
|
|
78
|
+
minOpenFee: 0n,
|
|
78
79
|
};
|
|
79
80
|
exports.EMPTY_LEX_PAIR_STATE_LENS = {
|
|
80
81
|
fundingRate: 0n,
|
|
@@ -114,11 +115,17 @@ exports.EMPTY_POOL_ACCOUNTANT_CONFIGURATIONS_LENS = {
|
|
|
114
115
|
fundingRateModel: "",
|
|
115
116
|
interestRateModel: "",
|
|
116
117
|
interestShareFactor: 0n,
|
|
118
|
+
fundingShareFactor: 0n,
|
|
117
119
|
matchingPool: "",
|
|
118
120
|
minOpenFee: 0n,
|
|
119
121
|
lexPartF: 0n,
|
|
120
122
|
liquidationThresholdF: 0n,
|
|
121
123
|
liquidationFeeF: 0n,
|
|
124
|
+
maxGainF: 0n,
|
|
125
|
+
fundingRateMax: 0n,
|
|
126
|
+
borrowRateMax: 0n,
|
|
127
|
+
maxTotalBorrows: 0n,
|
|
128
|
+
maxVirtualUtilization: 0n,
|
|
122
129
|
supportedPairIds: [],
|
|
123
130
|
};
|
|
124
131
|
exports.EMPTY_COMPLETE_LEX_STATE = {
|
|
@@ -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":["../../../../../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;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,cAAe,YAAW,eAAe;IACpD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;gBAEvB,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,eAAe,EAAE,MAAM;IAIlE,4BAA4B,CAChC,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,wBAAwB,EAAE,CAAC;IAahC,8BAA8B,CAClC,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,0BAA0B,EAAE,CAAC;IAUlC,qBAAqB,CACzB,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,wBAAwB,EAAE,CAAC;IAShC,2CAA2C,CAC/C,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,OAAO,CAAC;IAIb,6BAA6B,CACjC,OAAO,EAAE,MAAM,EACf,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC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