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
|
@@ -7,64 +7,64 @@ class LiquidityIntentsVerifierService {
|
|
|
7
7
|
this.contract = LiquidityIntentsVerifierV1__factory_1.LiquidityIntentsVerifierV1__factory.connect(address, signerOrProvider);
|
|
8
8
|
this.isSigner = 'sendTransaction' in signerOrProvider;
|
|
9
9
|
}
|
|
10
|
-
async domainSeparatorForAsset(pool) {
|
|
11
|
-
return await this.contract.domainSeparatorForAsset(pool);
|
|
10
|
+
async domainSeparatorForAsset(pool, callOptions) {
|
|
11
|
+
return await this.contract.domainSeparatorForAsset(pool, { ...callOptions });
|
|
12
12
|
}
|
|
13
|
-
async domainSeparatorForChain(chainId) {
|
|
14
|
-
return await this.contract.domainSeparatorForChain(chainId);
|
|
13
|
+
async domainSeparatorForChain(chainId, callOptions) {
|
|
14
|
+
return await this.contract.domainSeparatorForChain(chainId, { ...callOptions });
|
|
15
15
|
}
|
|
16
|
-
async intentsPermissions(user) {
|
|
17
|
-
return await this.contract.intentsPermissions(user);
|
|
16
|
+
async intentsPermissions(user, callOptions) {
|
|
17
|
+
return await this.contract.intentsPermissions(user, { ...callOptions });
|
|
18
18
|
}
|
|
19
|
-
async setIntentsPermissions(oftChip, dynAddressSuffix) {
|
|
19
|
+
async setIntentsPermissions(oftChip, dynAddressSuffix, transactionOptions) {
|
|
20
20
|
if (!this.isSigner) {
|
|
21
21
|
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
22
22
|
}
|
|
23
|
-
const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix);
|
|
23
|
+
const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix, { ...transactionOptions });
|
|
24
24
|
await tx.wait();
|
|
25
25
|
}
|
|
26
|
-
async interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, value) {
|
|
26
|
+
async interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, value, transactionOptions) {
|
|
27
27
|
if (!this.isSigner) {
|
|
28
28
|
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
29
29
|
}
|
|
30
|
-
const tx = await this.contract.interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, { value: value || 0n });
|
|
30
|
+
const tx = await this.contract.interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, { value: value || 0n, ...transactionOptions });
|
|
31
31
|
await tx.wait();
|
|
32
32
|
}
|
|
33
|
-
async interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, value) {
|
|
33
|
+
async interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, value, transactionOptions) {
|
|
34
34
|
if (!this.isSigner) {
|
|
35
35
|
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
36
36
|
}
|
|
37
|
-
const tx = await this.contract.interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, { value: value || 0n });
|
|
37
|
+
const tx = await this.contract.interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, { value: value || 0n, ...transactionOptions });
|
|
38
38
|
await tx.wait();
|
|
39
39
|
}
|
|
40
|
-
async verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, value) {
|
|
40
|
+
async verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, value, transactionOptions) {
|
|
41
41
|
if (!this.isSigner) {
|
|
42
42
|
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
43
43
|
}
|
|
44
|
-
const tx = await this.contract.verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, { value: value || 0n });
|
|
44
|
+
const tx = await this.contract.verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, { value: value || 0n, ...transactionOptions });
|
|
45
45
|
await tx.wait();
|
|
46
46
|
}
|
|
47
|
-
async verifyIntent_epochRedeem(payload, v, r, s, value) {
|
|
47
|
+
async verifyIntent_epochRedeem(payload, v, r, s, value, transactionOptions) {
|
|
48
48
|
if (!this.isSigner) {
|
|
49
49
|
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
50
50
|
}
|
|
51
|
-
const tx = await this.contract.verifyIntent_epochRedeem(payload, v, r, s, { value: value || 0n });
|
|
51
|
+
const tx = await this.contract.verifyIntent_epochRedeem(payload, v, r, s, { value: value || 0n, ...transactionOptions });
|
|
52
52
|
await tx.wait();
|
|
53
53
|
}
|
|
54
|
-
async admin() {
|
|
55
|
-
return await this.contract.admin();
|
|
54
|
+
async admin(callOptions) {
|
|
55
|
+
return await this.contract.admin({ ...callOptions });
|
|
56
56
|
}
|
|
57
|
-
async pendingAdmin() {
|
|
58
|
-
return await this.contract.pendingAdmin();
|
|
57
|
+
async pendingAdmin(callOptions) {
|
|
58
|
+
return await this.contract.pendingAdmin({ ...callOptions });
|
|
59
59
|
}
|
|
60
|
-
async registry() {
|
|
61
|
-
return await this.contract.registry();
|
|
60
|
+
async registry(callOptions) {
|
|
61
|
+
return await this.contract.registry({ ...callOptions });
|
|
62
62
|
}
|
|
63
|
-
async sourceChainIdForAsset(asset) {
|
|
64
|
-
return await this.contract.sourceChainIdForAsset(asset);
|
|
63
|
+
async sourceChainIdForAsset(asset, callOptions) {
|
|
64
|
+
return await this.contract.sourceChainIdForAsset(asset, { ...callOptions });
|
|
65
65
|
}
|
|
66
|
-
async processedSignatures(signature) {
|
|
67
|
-
return await this.contract.processedSignatures(signature);
|
|
66
|
+
async processedSignatures(signature, callOptions) {
|
|
67
|
+
return await this.contract.processedSignatures(signature, { ...callOptions });
|
|
68
68
|
}
|
|
69
69
|
getContract() {
|
|
70
70
|
return this.contract;
|
|
@@ -7,14 +7,14 @@ class PermissionQueries {
|
|
|
7
7
|
constructor(contract) {
|
|
8
8
|
this.contract = contract;
|
|
9
9
|
}
|
|
10
|
-
async isPermissionValid(owner, spender, token) {
|
|
11
|
-
return await this.contract.isPermissionValid(owner, spender, token);
|
|
10
|
+
async isPermissionValid(owner, spender, token, callOptions) {
|
|
11
|
+
return await this.contract.isPermissionValid(owner, spender, token, { ...callOptions });
|
|
12
12
|
}
|
|
13
|
-
async getRemainingAmount(owner, spender, token) {
|
|
14
|
-
return await this.contract.getRemainingAmount(owner, spender, token);
|
|
13
|
+
async getRemainingAmount(owner, spender, token, callOptions) {
|
|
14
|
+
return await this.contract.getRemainingAmount(owner, spender, token, { ...callOptions });
|
|
15
15
|
}
|
|
16
|
-
async getPermission(owner, spender, token) {
|
|
17
|
-
const permission = await this.contract.permissions(owner, spender, token);
|
|
16
|
+
async getPermission(owner, spender, token, callOptions) {
|
|
17
|
+
const permission = await this.contract.permissions(owner, spender, token, { ...callOptions });
|
|
18
18
|
return {
|
|
19
19
|
amountLimit: permission.amountLimit,
|
|
20
20
|
amountUsed: permission.amountUsed,
|
|
@@ -22,23 +22,23 @@ class PermissionQueries {
|
|
|
22
22
|
isActive: permission.isActive,
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
async permanentlyRevoked(owner, spender) {
|
|
26
|
-
return await this.contract.permanentlyRevoked(owner, spender);
|
|
25
|
+
async permanentlyRevoked(owner, spender, callOptions) {
|
|
26
|
+
return await this.contract.permanentlyRevoked(owner, spender, { ...callOptions });
|
|
27
27
|
}
|
|
28
|
-
async hasActivePermissions(owner) {
|
|
29
|
-
return await this.contract.hasActivePermissions(owner);
|
|
28
|
+
async hasActivePermissions(owner, callOptions) {
|
|
29
|
+
return await this.contract.hasActivePermissions(owner, { ...callOptions });
|
|
30
30
|
}
|
|
31
|
-
async getActivePermissionCount(owner) {
|
|
32
|
-
return await this.contract.getActivePermissionCount(owner);
|
|
31
|
+
async getActivePermissionCount(owner, callOptions) {
|
|
32
|
+
return await this.contract.getActivePermissionCount(owner, { ...callOptions });
|
|
33
33
|
}
|
|
34
|
-
async getActiveSpenders(owner) {
|
|
35
|
-
return await this.contract.getActiveSpenders(owner);
|
|
34
|
+
async getActiveSpenders(owner, callOptions) {
|
|
35
|
+
return await this.contract.getActiveSpenders(owner, { ...callOptions });
|
|
36
36
|
}
|
|
37
|
-
async getActiveTokensForSpender(owner, spender) {
|
|
38
|
-
return await this.contract.getActiveTokensForSpender(owner, spender);
|
|
37
|
+
async getActiveTokensForSpender(owner, spender, callOptions) {
|
|
38
|
+
return await this.contract.getActiveTokensForSpender(owner, spender, { ...callOptions });
|
|
39
39
|
}
|
|
40
|
-
async getAllActivePermissions(owner) {
|
|
41
|
-
const result = await this.contract.getAllActivePermissions(owner);
|
|
40
|
+
async getAllActivePermissions(owner, callOptions) {
|
|
41
|
+
const result = await this.contract.getAllActivePermissions(owner, { ...callOptions });
|
|
42
42
|
return {
|
|
43
43
|
spenders: result.spenders,
|
|
44
44
|
tokens: result.tokens,
|
|
@@ -50,8 +50,8 @@ class PermissionQueries {
|
|
|
50
50
|
})),
|
|
51
51
|
};
|
|
52
52
|
}
|
|
53
|
-
async requirePermission(owner, spender, token) {
|
|
54
|
-
await this.contract.requirePermission(owner, spender, token);
|
|
53
|
+
async requirePermission(owner, spender, token, callOptions) {
|
|
54
|
+
await this.contract.requirePermission(owner, spender, token, { ...callOptions });
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
// ============ Permission Management Implementation ============
|
|
@@ -60,39 +60,39 @@ class PermissionManagement {
|
|
|
60
60
|
this.contract = contract;
|
|
61
61
|
this.isSigner = isSigner;
|
|
62
62
|
}
|
|
63
|
-
async grantPermission(spender, token, amountLimit, duration) {
|
|
63
|
+
async grantPermission(spender, token, amountLimit, duration, transactionOptions) {
|
|
64
64
|
if (!this.isSigner) {
|
|
65
65
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
66
66
|
}
|
|
67
|
-
const tx = await this.contract.grantPermission(spender, token, amountLimit, duration);
|
|
67
|
+
const tx = await this.contract.grantPermission(spender, token, amountLimit, duration, { ...transactionOptions });
|
|
68
68
|
await tx.wait();
|
|
69
69
|
}
|
|
70
|
-
async revokePermission(spender, token) {
|
|
70
|
+
async revokePermission(spender, token, transactionOptions) {
|
|
71
71
|
if (!this.isSigner) {
|
|
72
72
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
73
73
|
}
|
|
74
|
-
const tx = await this.contract.revokePermission(spender, token);
|
|
74
|
+
const tx = await this.contract.revokePermission(spender, token, { ...transactionOptions });
|
|
75
75
|
await tx.wait();
|
|
76
76
|
}
|
|
77
|
-
async revokeAllPermissions(spender) {
|
|
77
|
+
async revokeAllPermissions(spender, transactionOptions) {
|
|
78
78
|
if (!this.isSigner) {
|
|
79
79
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
80
80
|
}
|
|
81
|
-
const tx = await this.contract.revokeAllPermissions(spender);
|
|
81
|
+
const tx = await this.contract.revokeAllPermissions(spender, { ...transactionOptions });
|
|
82
82
|
await tx.wait();
|
|
83
83
|
}
|
|
84
|
-
async chargePermission(owner, spender, token, amount) {
|
|
84
|
+
async chargePermission(owner, spender, token, amount, transactionOptions) {
|
|
85
85
|
if (!this.isSigner) {
|
|
86
86
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
87
87
|
}
|
|
88
|
-
const tx = await this.contract.chargePermission(owner, spender, token, amount);
|
|
88
|
+
const tx = await this.contract.chargePermission(owner, spender, token, amount, { ...transactionOptions });
|
|
89
89
|
await tx.wait();
|
|
90
90
|
}
|
|
91
|
-
async setPermissions(payloads) {
|
|
91
|
+
async setPermissions(payloads, transactionOptions) {
|
|
92
92
|
if (!this.isSigner) {
|
|
93
93
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
94
94
|
}
|
|
95
|
-
return await this.contract.setPermissions(payloads);
|
|
95
|
+
return await this.contract.setPermissions(payloads, { ...transactionOptions });
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
// ============ Configuration Implementation ============
|
|
@@ -100,17 +100,17 @@ class Configuration {
|
|
|
100
100
|
constructor(contract) {
|
|
101
101
|
this.contract = contract;
|
|
102
102
|
}
|
|
103
|
-
async isPaused() {
|
|
104
|
-
return await this.contract.isPaused();
|
|
103
|
+
async isPaused(callOptions) {
|
|
104
|
+
return await this.contract.isPaused({ ...callOptions });
|
|
105
105
|
}
|
|
106
|
-
async maxPermissionDuration() {
|
|
107
|
-
return await this.contract.maxPermissionDuration();
|
|
106
|
+
async maxPermissionDuration(callOptions) {
|
|
107
|
+
return await this.contract.maxPermissionDuration({ ...callOptions });
|
|
108
108
|
}
|
|
109
|
-
async maxPermissionAmountPerToken(token) {
|
|
110
|
-
return await this.contract.maxPermissionAmountPerToken(token);
|
|
109
|
+
async maxPermissionAmountPerToken(token, callOptions) {
|
|
110
|
+
return await this.contract.maxPermissionAmountPerToken(token, { ...callOptions });
|
|
111
111
|
}
|
|
112
|
-
async getContractConfiguration(tokensToQuery) {
|
|
113
|
-
const config = await this.contract.getContractConfiguration(tokensToQuery);
|
|
112
|
+
async getContractConfiguration(tokensToQuery, callOptions) {
|
|
113
|
+
const config = await this.contract.getContractConfiguration(tokensToQuery, { ...callOptions });
|
|
114
114
|
return {
|
|
115
115
|
isPausedState: config.isPausedState,
|
|
116
116
|
maxDuration: config.maxDuration,
|
|
@@ -126,84 +126,84 @@ class AdminFunctions {
|
|
|
126
126
|
this.contract = contract;
|
|
127
127
|
this.isSigner = isSigner;
|
|
128
128
|
}
|
|
129
|
-
async setMaxPermissionDuration(maxDuration) {
|
|
129
|
+
async setMaxPermissionDuration(maxDuration, transactionOptions) {
|
|
130
130
|
if (!this.isSigner) {
|
|
131
131
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
132
132
|
}
|
|
133
|
-
const tx = await this.contract.setMaxPermissionDuration(maxDuration);
|
|
133
|
+
const tx = await this.contract.setMaxPermissionDuration(maxDuration, { ...transactionOptions });
|
|
134
134
|
await tx.wait();
|
|
135
135
|
}
|
|
136
|
-
async setMaxPermissionAmountForToken(token, maxAmount) {
|
|
136
|
+
async setMaxPermissionAmountForToken(token, maxAmount, transactionOptions) {
|
|
137
137
|
if (!this.isSigner) {
|
|
138
138
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
139
139
|
}
|
|
140
|
-
const tx = await this.contract.setMaxPermissionAmountForToken(token, maxAmount);
|
|
140
|
+
const tx = await this.contract.setMaxPermissionAmountForToken(token, maxAmount, { ...transactionOptions });
|
|
141
141
|
await tx.wait();
|
|
142
142
|
}
|
|
143
|
-
async setMaxPermissionAmountsForTokens(tokens, maxAmounts) {
|
|
143
|
+
async setMaxPermissionAmountsForTokens(tokens, maxAmounts, transactionOptions) {
|
|
144
144
|
if (!this.isSigner) {
|
|
145
145
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
146
146
|
}
|
|
147
|
-
const tx = await this.contract.setMaxPermissionAmountsForTokens(tokens, maxAmounts);
|
|
147
|
+
const tx = await this.contract.setMaxPermissionAmountsForTokens(tokens, maxAmounts, { ...transactionOptions });
|
|
148
148
|
await tx.wait();
|
|
149
149
|
}
|
|
150
|
-
async togglePause() {
|
|
150
|
+
async togglePause(transactionOptions) {
|
|
151
151
|
if (!this.isSigner) {
|
|
152
152
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
153
153
|
}
|
|
154
|
-
const tx = await this.contract.togglePause();
|
|
154
|
+
const tx = await this.contract.togglePause({ ...transactionOptions });
|
|
155
155
|
await tx.wait();
|
|
156
156
|
}
|
|
157
|
-
async setDynamicRoleCaller(caller, roleName) {
|
|
157
|
+
async setDynamicRoleCaller(caller, roleName, transactionOptions) {
|
|
158
158
|
if (!this.isSigner) {
|
|
159
159
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
160
160
|
}
|
|
161
|
-
const tx = await this.contract.setDynamicRoleCaller(caller, roleName);
|
|
161
|
+
const tx = await this.contract.setDynamicRoleCaller(caller, roleName, { ...transactionOptions });
|
|
162
162
|
await tx.wait();
|
|
163
163
|
}
|
|
164
|
-
async setDynamicRoleCallers(callers, roleNames) {
|
|
164
|
+
async setDynamicRoleCallers(callers, roleNames, transactionOptions) {
|
|
165
165
|
if (!this.isSigner) {
|
|
166
166
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
167
167
|
}
|
|
168
|
-
const tx = await this.contract.setDynamicRoleCallers(callers, roleNames);
|
|
168
|
+
const tx = await this.contract.setDynamicRoleCallers(callers, roleNames, { ...transactionOptions });
|
|
169
169
|
await tx.wait();
|
|
170
170
|
}
|
|
171
|
-
async adminRevokeSpecificPermission(owner, spender, token) {
|
|
171
|
+
async adminRevokeSpecificPermission(owner, spender, token, transactionOptions) {
|
|
172
172
|
if (!this.isSigner) {
|
|
173
173
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
174
174
|
}
|
|
175
|
-
return await this.contract.adminRevokeSpecificPermission(owner, spender, token);
|
|
175
|
+
return await this.contract.adminRevokeSpecificPermission(owner, spender, token, { ...transactionOptions });
|
|
176
176
|
}
|
|
177
|
-
async adminBatchRevokeSpecificPermissions(owners, spenders, tokens) {
|
|
177
|
+
async adminBatchRevokeSpecificPermissions(owners, spenders, tokens, transactionOptions) {
|
|
178
178
|
if (!this.isSigner) {
|
|
179
179
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
180
180
|
}
|
|
181
|
-
return await this.contract.adminBatchRevokeSpecificPermissions(owners, spenders, tokens);
|
|
181
|
+
return await this.contract.adminBatchRevokeSpecificPermissions(owners, spenders, tokens, { ...transactionOptions });
|
|
182
182
|
}
|
|
183
|
-
async adminRevokeAllPermissionsFromOwner(owner, spender) {
|
|
183
|
+
async adminRevokeAllPermissionsFromOwner(owner, spender, transactionOptions) {
|
|
184
184
|
if (!this.isSigner) {
|
|
185
185
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
186
186
|
}
|
|
187
|
-
return await this.contract.adminRevokeAllPermissionsFromOwner(owner, spender);
|
|
187
|
+
return await this.contract.adminRevokeAllPermissionsFromOwner(owner, spender, { ...transactionOptions });
|
|
188
188
|
}
|
|
189
|
-
async adminPermanentlyRevokeSpender(owner, spender) {
|
|
189
|
+
async adminPermanentlyRevokeSpender(owner, spender, transactionOptions) {
|
|
190
190
|
if (!this.isSigner) {
|
|
191
191
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
192
192
|
}
|
|
193
|
-
return await this.contract.adminPermanentlyRevokeSpender(owner, spender);
|
|
193
|
+
return await this.contract.adminPermanentlyRevokeSpender(owner, spender, { ...transactionOptions });
|
|
194
194
|
}
|
|
195
|
-
async setPendingAdmin(newPendingAdmin) {
|
|
195
|
+
async setPendingAdmin(newPendingAdmin, transactionOptions) {
|
|
196
196
|
if (!this.isSigner) {
|
|
197
197
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
198
198
|
}
|
|
199
|
-
const tx = await this.contract._setPendingAdmin(newPendingAdmin);
|
|
199
|
+
const tx = await this.contract._setPendingAdmin(newPendingAdmin, { ...transactionOptions });
|
|
200
200
|
await tx.wait();
|
|
201
201
|
}
|
|
202
|
-
async acceptAdmin() {
|
|
202
|
+
async acceptAdmin(transactionOptions) {
|
|
203
203
|
if (!this.isSigner) {
|
|
204
204
|
throw new Error("OnBehalfTradingService: Write operations require a signer");
|
|
205
205
|
}
|
|
206
|
-
const tx = await this.contract._acceptAdmin();
|
|
206
|
+
const tx = await this.contract._acceptAdmin({ ...transactionOptions });
|
|
207
207
|
await tx.wait();
|
|
208
208
|
}
|
|
209
209
|
}
|
|
@@ -212,11 +212,11 @@ class ContractReferences {
|
|
|
212
212
|
constructor(contract) {
|
|
213
213
|
this.contract = contract;
|
|
214
214
|
}
|
|
215
|
-
async registry() {
|
|
216
|
-
return await this.contract.registry();
|
|
215
|
+
async registry(callOptions) {
|
|
216
|
+
return await this.contract.registry({ ...callOptions });
|
|
217
217
|
}
|
|
218
|
-
async dynamicRoleCallers(address) {
|
|
219
|
-
return await this.contract.dynamicRoleCallers(address);
|
|
218
|
+
async dynamicRoleCallers(address, callOptions) {
|
|
219
|
+
return await this.contract.dynamicRoleCallers(address, { ...callOptions });
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
// ============ Pendable Admin Implementation ============
|
|
@@ -224,11 +224,11 @@ class PendableAdmin {
|
|
|
224
224
|
constructor(contract) {
|
|
225
225
|
this.contract = contract;
|
|
226
226
|
}
|
|
227
|
-
async admin() {
|
|
228
|
-
return await this.contract.admin();
|
|
227
|
+
async admin(callOptions) {
|
|
228
|
+
return await this.contract.admin({ ...callOptions });
|
|
229
229
|
}
|
|
230
|
-
async pendingAdmin() {
|
|
231
|
-
return await this.contract.pendingAdmin();
|
|
230
|
+
async pendingAdmin(callOptions) {
|
|
231
|
+
return await this.contract.pendingAdmin({ ...callOptions });
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
// ============ Lynx Versioned Contract Implementation ============
|
|
@@ -236,17 +236,17 @@ class LynxVersionedContract {
|
|
|
236
236
|
constructor(contract) {
|
|
237
237
|
this.contract = contract;
|
|
238
238
|
}
|
|
239
|
-
async getContractName() {
|
|
240
|
-
return await this.contract.getContractName();
|
|
239
|
+
async getContractName(callOptions) {
|
|
240
|
+
return await this.contract.getContractName({ ...callOptions });
|
|
241
241
|
}
|
|
242
|
-
async getContractVersion() {
|
|
243
|
-
return await this.contract.getContractVersion();
|
|
242
|
+
async getContractVersion(callOptions) {
|
|
243
|
+
return await this.contract.getContractVersion({ ...callOptions });
|
|
244
244
|
}
|
|
245
|
-
async CONTRACT_NAME() {
|
|
246
|
-
return await this.contract.CONTRACT_NAME();
|
|
245
|
+
async CONTRACT_NAME(callOptions) {
|
|
246
|
+
return await this.contract.CONTRACT_NAME({ ...callOptions });
|
|
247
247
|
}
|
|
248
|
-
async CONTRACT_VERSION() {
|
|
249
|
-
return await this.contract.CONTRACT_VERSION();
|
|
248
|
+
async CONTRACT_VERSION(callOptions) {
|
|
249
|
+
return await this.contract.CONTRACT_VERSION({ ...callOptions });
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
// ============ Main Service Class ============
|
|
@@ -6,87 +6,87 @@ class OrderManagement {
|
|
|
6
6
|
constructor(orderBookContract) {
|
|
7
7
|
this.orderBookContract = orderBookContract;
|
|
8
8
|
}
|
|
9
|
-
async getAllPendingUpdateOrderIds() {
|
|
10
|
-
return this.orderBookContract.getAllPendingUpdateOrderIds();
|
|
9
|
+
async getAllPendingUpdateOrderIds(callOptions) {
|
|
10
|
+
return this.orderBookContract.getAllPendingUpdateOrderIds({ ...callOptions });
|
|
11
11
|
}
|
|
12
|
-
async allPendingUpdateOrderIds(index) {
|
|
13
|
-
return this.orderBookContract.allPendingUpdateOrderIds(index);
|
|
12
|
+
async allPendingUpdateOrderIds(index, callOptions) {
|
|
13
|
+
return this.orderBookContract.allPendingUpdateOrderIds(index, { ...callOptions });
|
|
14
14
|
}
|
|
15
|
-
async pendingUpdateTradeFieldOrdersById(positionId) {
|
|
16
|
-
return this.orderBookContract.pendingUpdateTradeFieldOrdersById(positionId);
|
|
15
|
+
async pendingUpdateTradeFieldOrdersById(positionId, callOptions) {
|
|
16
|
+
return this.orderBookContract.pendingUpdateTradeFieldOrdersById(positionId, { ...callOptions });
|
|
17
17
|
}
|
|
18
|
-
async readAndDeleteUpdatePositionOrder(positionId) {
|
|
19
|
-
return this.orderBookContract.readAndDeleteUpdatePositionOrder(positionId);
|
|
18
|
+
async readAndDeleteUpdatePositionOrder(positionId, transactionOptions) {
|
|
19
|
+
return this.orderBookContract.readAndDeleteUpdatePositionOrder(positionId, { ...transactionOptions });
|
|
20
20
|
}
|
|
21
|
-
async storeUpdatePositionDoubleFieldOrder(positionId, orderType, fieldValueA, fieldValueB) {
|
|
22
|
-
return this.orderBookContract.storeUpdatePositionDoubleFieldOrder(positionId, orderType, fieldValueA, fieldValueB);
|
|
21
|
+
async storeUpdatePositionDoubleFieldOrder(positionId, orderType, fieldValueA, fieldValueB, transactionOptions) {
|
|
22
|
+
return this.orderBookContract.storeUpdatePositionDoubleFieldOrder(positionId, orderType, fieldValueA, fieldValueB, { ...transactionOptions });
|
|
23
23
|
}
|
|
24
|
-
async storeUpdatePositionSingleFieldOrder(positionId, orderType, fieldValue) {
|
|
25
|
-
return this.orderBookContract.storeUpdatePositionSingleFieldOrder(positionId, orderType, fieldValue);
|
|
24
|
+
async storeUpdatePositionSingleFieldOrder(positionId, orderType, fieldValue, transactionOptions) {
|
|
25
|
+
return this.orderBookContract.storeUpdatePositionSingleFieldOrder(positionId, orderType, fieldValue, { ...transactionOptions });
|
|
26
26
|
}
|
|
27
|
-
async updateOrderIdPositionInList(positionId) {
|
|
28
|
-
return this.orderBookContract.updateOrderIdPositionInList(positionId);
|
|
27
|
+
async updateOrderIdPositionInList(positionId, callOptions) {
|
|
28
|
+
return this.orderBookContract.updateOrderIdPositionInList(positionId, { ...callOptions });
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
class ContractReferences {
|
|
32
32
|
constructor(orderBookContract) {
|
|
33
33
|
this.orderBookContract = orderBookContract;
|
|
34
34
|
}
|
|
35
|
-
async registry() {
|
|
36
|
-
return this.orderBookContract.registry();
|
|
35
|
+
async registry(callOptions) {
|
|
36
|
+
return this.orderBookContract.registry({ ...callOptions });
|
|
37
37
|
}
|
|
38
|
-
async tradingFloor() {
|
|
39
|
-
return this.orderBookContract.tradingFloor();
|
|
38
|
+
async tradingFloor(callOptions) {
|
|
39
|
+
return this.orderBookContract.tradingFloor({ ...callOptions });
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
class PendableAdmin {
|
|
43
43
|
constructor(orderBookContract) {
|
|
44
44
|
this.orderBookContract = orderBookContract;
|
|
45
45
|
}
|
|
46
|
-
async admin() {
|
|
47
|
-
return this.orderBookContract.admin();
|
|
46
|
+
async admin(callOptions) {
|
|
47
|
+
return this.orderBookContract.admin({ ...callOptions });
|
|
48
48
|
}
|
|
49
|
-
async pendingAdmin() {
|
|
50
|
-
return this.orderBookContract.pendingAdmin();
|
|
49
|
+
async pendingAdmin(callOptions) {
|
|
50
|
+
return this.orderBookContract.pendingAdmin({ ...callOptions });
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
class PendableImplementation {
|
|
54
54
|
constructor(orderBookContract) {
|
|
55
55
|
this.orderBookContract = orderBookContract;
|
|
56
56
|
}
|
|
57
|
-
async implementation() {
|
|
58
|
-
return this.orderBookContract.implementation();
|
|
57
|
+
async implementation(callOptions) {
|
|
58
|
+
return this.orderBookContract.implementation({ ...callOptions });
|
|
59
59
|
}
|
|
60
|
-
async pendingImplementation() {
|
|
61
|
-
return this.orderBookContract.pendingImplementation();
|
|
60
|
+
async pendingImplementation(callOptions) {
|
|
61
|
+
return this.orderBookContract.pendingImplementation({ ...callOptions });
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
class Administration {
|
|
65
65
|
constructor(orderBookContract) {
|
|
66
66
|
this.orderBookContract = orderBookContract;
|
|
67
67
|
}
|
|
68
|
-
async setTradingFloor(tradingFloor) {
|
|
69
|
-
return this.orderBookContract.setTradingFloor(tradingFloor);
|
|
68
|
+
async setTradingFloor(tradingFloor, transactionOptions) {
|
|
69
|
+
return this.orderBookContract.setTradingFloor(tradingFloor, { ...transactionOptions });
|
|
70
70
|
}
|
|
71
|
-
async _become(orderBookProxy) {
|
|
72
|
-
return this.orderBookContract._become(orderBookProxy);
|
|
71
|
+
async _become(orderBookProxy, transactionOptions) {
|
|
72
|
+
return this.orderBookContract._become(orderBookProxy, { ...transactionOptions });
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
class Constants {
|
|
76
76
|
constructor(orderBookContract) {
|
|
77
77
|
this.orderBookContract = orderBookContract;
|
|
78
78
|
}
|
|
79
|
-
async ACCURACY_IMPROVEMENT_SCALE() {
|
|
80
|
-
return this.orderBookContract.ACCURACY_IMPROVEMENT_SCALE();
|
|
79
|
+
async ACCURACY_IMPROVEMENT_SCALE(callOptions) {
|
|
80
|
+
return this.orderBookContract.ACCURACY_IMPROVEMENT_SCALE({ ...callOptions });
|
|
81
81
|
}
|
|
82
|
-
async FRACTION_SCALE() {
|
|
83
|
-
return this.orderBookContract.FRACTION_SCALE();
|
|
82
|
+
async FRACTION_SCALE(callOptions) {
|
|
83
|
+
return this.orderBookContract.FRACTION_SCALE({ ...callOptions });
|
|
84
84
|
}
|
|
85
|
-
async LEVERAGE_SCALE() {
|
|
86
|
-
return this.orderBookContract.LEVERAGE_SCALE();
|
|
85
|
+
async LEVERAGE_SCALE(callOptions) {
|
|
86
|
+
return this.orderBookContract.LEVERAGE_SCALE({ ...callOptions });
|
|
87
87
|
}
|
|
88
|
-
async PRECISION() {
|
|
89
|
-
return this.orderBookContract.PRECISION();
|
|
88
|
+
async PRECISION(callOptions) {
|
|
89
|
+
return this.orderBookContract.PRECISION({ ...callOptions });
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
class OrderBookService {
|