lynx-client 0.0.31 → 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 +78 -71
- 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/cjs/lib/priceFeeds/pyth/pythFeedConstants.js +1 -5
- package/dist/cjs/lib/priceFeeds/pyth/pythFeedFunctions.js +9 -1
- package/dist/esm/index.d.ts +1 -0
- 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 +30 -30
- 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 +78 -71
- 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 +30 -0
- package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -1
- package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.d.ts +0 -1
- package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
- package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.js +1 -5
- package/dist/esm/lib/priceFeeds/pyth/pythFeedFunctions.d.ts +5 -0
- package/dist/esm/lib/priceFeeds/pyth/pythFeedFunctions.d.ts.map +1 -1
- package/dist/esm/lib/priceFeeds/pyth/pythFeedFunctions.js +9 -1
- package/dist/types/index.d.ts +1 -0
- 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 +30 -30
- 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 +30 -0
- package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -1
- package/dist/types/lib/priceFeeds/pyth/pythFeedConstants.d.ts +0 -1
- package/dist/types/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
- package/dist/types/lib/priceFeeds/pyth/pythFeedFunctions.d.ts +5 -0
- package/dist/types/lib/priceFeeds/pyth/pythFeedFunctions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -8,12 +8,13 @@ class WrapAndMint {
|
|
|
8
8
|
this.contract = contract;
|
|
9
9
|
this.isSigner = isSigner;
|
|
10
10
|
}
|
|
11
|
-
async wrapNativeAndMintEngineChip(nativeAmount) {
|
|
11
|
+
async wrapNativeAndMintEngineChip(nativeAmount, transactionOptions) {
|
|
12
12
|
if (!this.isSigner) {
|
|
13
13
|
throw new Error("WrappedNativeEngineChipHelperService: Write operations require a signer");
|
|
14
14
|
}
|
|
15
15
|
return await this.contract.wrapNativeAndMintEngineChip({
|
|
16
16
|
value: nativeAmount,
|
|
17
|
+
...transactionOptions,
|
|
17
18
|
});
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -23,11 +24,11 @@ class BurnHandling {
|
|
|
23
24
|
this.contract = contract;
|
|
24
25
|
this.isSigner = isSigner;
|
|
25
26
|
}
|
|
26
|
-
async handleBurn(burner, arg1, underlyingAmount, arg3) {
|
|
27
|
+
async handleBurn(burner, arg1, underlyingAmount, arg3, transactionOptions) {
|
|
27
28
|
if (!this.isSigner) {
|
|
28
29
|
throw new Error("WrappedNativeEngineChipHelperService: Write operations require a signer");
|
|
29
30
|
}
|
|
30
|
-
return await this.contract.handleBurn(burner, arg1, underlyingAmount, arg3);
|
|
31
|
+
return await this.contract.handleBurn(burner, arg1, underlyingAmount, arg3, { ...transactionOptions });
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
// ============ View Functions Implementation ============
|
|
@@ -35,14 +36,14 @@ class ViewFunctions {
|
|
|
35
36
|
constructor(contract) {
|
|
36
37
|
this.contract = contract;
|
|
37
38
|
}
|
|
38
|
-
async wrappedNativeEngineChip() {
|
|
39
|
-
return await this.contract.wrappedNativeEngineChip();
|
|
39
|
+
async wrappedNativeEngineChip(callOptions) {
|
|
40
|
+
return await this.contract.wrappedNativeEngineChip({ ...callOptions });
|
|
40
41
|
}
|
|
41
|
-
async wrappedNativeToken() {
|
|
42
|
-
return await this.contract.wrappedNativeToken();
|
|
42
|
+
async wrappedNativeToken(callOptions) {
|
|
43
|
+
return await this.contract.wrappedNativeToken({ ...callOptions });
|
|
43
44
|
}
|
|
44
|
-
async wrappedNativeReturnsUint256() {
|
|
45
|
-
return await this.contract.wrappedNativeReturnsUint256();
|
|
45
|
+
async wrappedNativeReturnsUint256(callOptions) {
|
|
46
|
+
return await this.contract.wrappedNativeReturnsUint256({ ...callOptions });
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
// ============ Main Service Class ============
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PYTH_PRICE_FEED_ID_TO_PAIR = exports.PYTH_PAIRS_PRICE_FEED_IDS = exports.
|
|
3
|
+
exports.PYTH_PRICE_FEED_ID_TO_PAIR = exports.PYTH_PAIRS_PRICE_FEED_IDS = exports.PYTH_PRICE_KEYS = void 0;
|
|
4
4
|
const pairIds_1 = require("../../constants/pairIds");
|
|
5
5
|
exports.PYTH_PRICE_KEYS = {
|
|
6
6
|
[pairIds_1.PAIR_CONFIGS_IDS.BTC_USD]: "Crypto.BTC/USD",
|
|
@@ -30,10 +30,6 @@ exports.PYTH_PRICE_KEYS = {
|
|
|
30
30
|
[pairIds_1.PAIR_CONFIGS_IDS.USD_JPY_CAT]: "Fx.USD/JPY",
|
|
31
31
|
[pairIds_1.PAIR_CONFIGS_IDS.USD_CHF_CAT]: "Fx.USD/CHF",
|
|
32
32
|
};
|
|
33
|
-
exports.PYTH_PRICE_ENTRIES = Object.entries(exports.PYTH_PRICE_KEYS).map(([stringPariId, stringKey]) => [
|
|
34
|
-
parseFloat(stringPariId),
|
|
35
|
-
stringKey,
|
|
36
|
-
]);
|
|
37
33
|
// You can find the ids of prices at https://pyth.network/developers/price-feed-ids
|
|
38
34
|
exports.PYTH_PAIRS_PRICE_FEED_IDS = {
|
|
39
35
|
[pairIds_1.PAIR_CONFIGS_IDS.BTC_USD]: "0xe62df6c8b4a85fe1a67db44dc12de5db330f7ac66b72dc658afedf0f4a415b43",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getPythPriceKeyForPair = getPythPriceKeyForPair;
|
|
3
4
|
exports.getPythFeedIdForPair = getPythFeedIdForPair;
|
|
4
5
|
exports.getPairIdForPythFeedId = getPairIdForPythFeedId;
|
|
5
6
|
const pythFeedConstants_1 = require("./pythFeedConstants");
|
|
@@ -7,9 +8,16 @@ const pythFeedConstants_1 = require("./pythFeedConstants");
|
|
|
7
8
|
* Get the Pyth feed id for a pair
|
|
8
9
|
* @param pairId The pair id
|
|
9
10
|
*/
|
|
10
|
-
function
|
|
11
|
+
function getPythPriceKeyForPair(pairId) {
|
|
11
12
|
return pythFeedConstants_1.PYTH_PRICE_KEYS[pairId];
|
|
12
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Get the Pyth Feed ID for Pair ID
|
|
16
|
+
* @param feedId The Pyth feed id
|
|
17
|
+
*/
|
|
18
|
+
function getPythFeedIdForPair(pairId) {
|
|
19
|
+
return pythFeedConstants_1.PYTH_PAIRS_PRICE_FEED_IDS[pairId];
|
|
20
|
+
}
|
|
13
21
|
/**
|
|
14
22
|
* Get the Pair ID for Pyth Feed ID (reversal lookup)
|
|
15
23
|
* @param feedId The Pyth feed id
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export * from "./lib/contractsIntegration/TradersPortalService";
|
|
|
30
30
|
export * from "./lib/contractsIntegration/TradingFloorService";
|
|
31
31
|
export * from "./lib/contractsIntegration/TriggersService";
|
|
32
32
|
export * from "./lib/contractsIntegration/OrderBookService";
|
|
33
|
+
export type { TransactionOptions, CallOptions, StateOverride } from "./lib/contractsIntegration/common";
|
|
33
34
|
export { ChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
|
|
34
35
|
export type { IChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
|
|
35
36
|
export { LiquidityIntentsVerifierService } from "./lib/contractsIntegration/LiquidityIntentsVerifierService";
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACx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kFAAkF,CAAC;AACjG,cAAc,oFAAoF,CAAC;AACnG,cAAc,sEAAsE,CAAC;AACrF,cAAc,+EAA+E,CAAC;AAC9F,cAAc,4EAA4E,CAAC;AAG3F,cAAc,0FAA0F,CAAC;AACzG,cAAc,8FAA8F,CAAC;AAC7G,cAAc,0FAA0F,CAAC;AAGzG,cAAc,qFAAqF,CAAC;AAGpG,cAAc,mFAAmF,CAAC;AAGlG,cAAc,+EAA+E,CAAC;AAC9F,cAAc,6FAA6F,CAAC;AAG5G,cAAc,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcceptableImplementationClaimableAdminService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAA+B,MAAM,QAAQ,CAAA;AACtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,0FAA0F,CAAA;
|
|
1
|
+
{"version":3,"file":"AcceptableImplementationClaimableAdminService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAA+B,MAAM,QAAQ,CAAA;AACtE,OAAO,EAAE,sCAAsC,EAAE,MAAM,0FAA0F,CAAA;AAGjJ,OAAO,EACL,8CAA8C,EAC9C,qEAAqE,EACrE,8EAA8E,EAC9E,oEAAoE,EACrE,MAAM,kDAAkD,CAAA;AAkDzD,qBAAa,6CACX,YAAW,8CAA8C;IACzD,OAAO,CAAC,aAAa,CAAwC;IAEtD,eAAe,EAAE,qEAAqE,CAAA;IACtF,wBAAwB,EAAE,8EAA8E,CAAA;IACxG,cAAc,EAAE,oEAAoE,CAAA;gBAGzF,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EACnC,OAAO,EAAE,MAAM;IASjB,WAAW,IAAI,sCAAsC;CAGtD"}
|
|
@@ -6,40 +6,40 @@ class AcceptableImplementationClaimableAdminFunctionsGroup_AdminManagement {
|
|
|
6
6
|
constructor(contract) {
|
|
7
7
|
this.contract = contract;
|
|
8
8
|
}
|
|
9
|
-
async _setPendingAdmin(newPendingAdmin) {
|
|
10
|
-
return this.contract._setPendingAdmin(newPendingAdmin);
|
|
9
|
+
async _setPendingAdmin(newPendingAdmin, transactionOptions) {
|
|
10
|
+
return this.contract._setPendingAdmin(newPendingAdmin, { ...transactionOptions });
|
|
11
11
|
}
|
|
12
|
-
async _acceptAdmin() {
|
|
13
|
-
return this.contract._acceptAdmin();
|
|
12
|
+
async _acceptAdmin(transactionOptions) {
|
|
13
|
+
return this.contract._acceptAdmin({ ...transactionOptions });
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
class AcceptableImplementationClaimableAdminFunctionsGroup_ImplementationManagement {
|
|
17
17
|
constructor(contract) {
|
|
18
18
|
this.contract = contract;
|
|
19
19
|
}
|
|
20
|
-
async _setPendingImplementation(newPendingImplementation) {
|
|
21
|
-
return this.contract._setPendingImplementation(newPendingImplementation);
|
|
20
|
+
async _setPendingImplementation(newPendingImplementation, transactionOptions) {
|
|
21
|
+
return this.contract._setPendingImplementation(newPendingImplementation, { ...transactionOptions });
|
|
22
22
|
}
|
|
23
|
-
async _acceptImplementation() {
|
|
23
|
+
async _acceptImplementation(transactionOptions) {
|
|
24
24
|
// This function modifies state and returns a uint status code (0 on success) via transaction receipt
|
|
25
|
-
return this.contract._acceptImplementation();
|
|
25
|
+
return this.contract._acceptImplementation({ ...transactionOptions });
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
class AcceptableImplementationClaimableAdminFunctionsGroup_StateVariables {
|
|
29
29
|
constructor(contract) {
|
|
30
30
|
this.contract = contract;
|
|
31
31
|
}
|
|
32
|
-
async admin() {
|
|
33
|
-
return this.contract.admin();
|
|
32
|
+
async admin(callOptions) {
|
|
33
|
+
return this.contract.admin({ ...callOptions });
|
|
34
34
|
}
|
|
35
|
-
async pendingAdmin() {
|
|
36
|
-
return this.contract.pendingAdmin();
|
|
35
|
+
async pendingAdmin(callOptions) {
|
|
36
|
+
return this.contract.pendingAdmin({ ...callOptions });
|
|
37
37
|
}
|
|
38
|
-
async implementation() {
|
|
39
|
-
return this.contract.implementation();
|
|
38
|
+
async implementation(callOptions) {
|
|
39
|
+
return this.contract.implementation({ ...callOptions });
|
|
40
40
|
}
|
|
41
|
-
async pendingImplementation() {
|
|
42
|
-
return this.contract.pendingImplementation();
|
|
41
|
+
async pendingImplementation(callOptions) {
|
|
42
|
+
return this.contract.pendingImplementation({ ...callOptions });
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
class AcceptableImplementationClaimableAdminService {
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { ContractTransactionResponse } from "ethers";
|
|
2
|
+
import { TransactionOptions, CallOptions } from "../common";
|
|
2
3
|
export interface IAcceptableImplementationClaimableAdminFunctionsGroup_AdminManagement {
|
|
3
|
-
_setPendingAdmin(newPendingAdmin: string): Promise<ContractTransactionResponse>;
|
|
4
|
-
_acceptAdmin(): Promise<ContractTransactionResponse>;
|
|
4
|
+
_setPendingAdmin(newPendingAdmin: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
5
|
+
_acceptAdmin(transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
5
6
|
}
|
|
6
7
|
export interface IAcceptableImplementationClaimableAdminFunctionsGroup_ImplementationManagement {
|
|
7
|
-
_setPendingImplementation(newPendingImplementation: string): Promise<ContractTransactionResponse>;
|
|
8
|
-
_acceptImplementation(): Promise<ContractTransactionResponse>;
|
|
8
|
+
_setPendingImplementation(newPendingImplementation: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
9
|
+
_acceptImplementation(transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
9
10
|
}
|
|
10
11
|
export interface IAcceptableImplementationClaimableAdminFunctionsGroup_StateVariables {
|
|
11
|
-
admin(): Promise<string>;
|
|
12
|
-
pendingAdmin(): Promise<string>;
|
|
13
|
-
implementation(): Promise<string>;
|
|
14
|
-
pendingImplementation(): Promise<string>;
|
|
12
|
+
admin(callOptions?: CallOptions): Promise<string>;
|
|
13
|
+
pendingAdmin(callOptions?: CallOptions): Promise<string>;
|
|
14
|
+
implementation(callOptions?: CallOptions): Promise<string>;
|
|
15
|
+
pendingImplementation(callOptions?: CallOptions): Promise<string>;
|
|
15
16
|
}
|
|
16
17
|
export interface IAcceptableImplementationClaimableAdminService {
|
|
17
18
|
adminManagement: IAcceptableImplementationClaimableAdminFunctionsGroup_AdminManagement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAcceptableImplementationClaimableAdminService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"IAcceptableImplementationClaimableAdminService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AACpD,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG3D,MAAM,WAAW,qEAAqE;IACpF,gBAAgB,CAAC,eAAe,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAA;IACxH,YAAY,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAA;CAC5F;AAGD,MAAM,WAAW,8EAA8E;IAC7F,yBAAyB,CAAC,wBAAwB,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAA;IAC1I,qBAAqB,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAA;CACrG;AAGD,MAAM,WAAW,oEAAoE;IACnF,KAAK,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjD,YAAY,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACxD,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC1D,qBAAqB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAClE;AAGD,MAAM,WAAW,8CAA8C;IAC7D,eAAe,EAAE,qEAAqE,CAAA;IACtF,wBAAwB,EAAE,8EAA8E,CAAA;IACxG,cAAc,EAAE,oEAAoE,CAAA;CACrF"}
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import { Provider, Signer } from "ethers";
|
|
2
2
|
import { ChipsIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
|
|
3
3
|
import { IChipsIntentsVerifierService } from "./IChipsIntentsVerifierService";
|
|
4
|
+
import { TransactionOptions, CallOptions } from "../common";
|
|
4
5
|
export declare class ChipsIntentsVerifierService implements IChipsIntentsVerifierService {
|
|
5
6
|
private readonly contract;
|
|
6
7
|
private readonly isSigner;
|
|
7
8
|
constructor(signerOrProvider: Signer | Provider, address: string);
|
|
8
|
-
domainSeparatorForAsset(chip: string): Promise<string>;
|
|
9
|
-
domainSeparatorForChain(chainId: bigint): Promise<string>;
|
|
10
|
-
chipOutFeeForChip(chip: string): Promise<bigint>;
|
|
11
|
-
feesReceiver(): Promise<string>;
|
|
12
|
-
intentsPermissions(user: string): Promise<string>;
|
|
13
|
-
setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
|
|
14
|
-
forceChipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
|
|
15
|
-
interactOnBehalf_chipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
|
|
16
|
-
verifyIntent_chipOut(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
17
|
-
verifyIntent_chipOutAndUnwrap(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZ_UnwrapStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
18
|
-
getLZDstChainIdFromChip(chip: string): Promise<bigint>;
|
|
19
|
-
getLZDstChainIdFromEvmChainId(evmChainId: bigint): Promise<bigint>;
|
|
20
|
-
evmIdToLzEid(evmChainId: bigint): Promise<bigint>;
|
|
21
|
-
getWrapNativeChipInOutHelper(oftChip: string): Promise<string>;
|
|
22
|
-
sourceChainIdForAsset(asset: string): Promise<bigint>;
|
|
23
|
-
processedSignatures(signature: string): Promise<boolean>;
|
|
24
|
-
admin(): Promise<string>;
|
|
25
|
-
pendingAdmin(): Promise<string>;
|
|
26
|
-
registry(): Promise<string>;
|
|
27
|
-
wrapNativeChipInOutHelpers(oftChip: string): Promise<string>;
|
|
9
|
+
domainSeparatorForAsset(chip: string, callOptions?: CallOptions): Promise<string>;
|
|
10
|
+
domainSeparatorForChain(chainId: bigint, callOptions?: CallOptions): Promise<string>;
|
|
11
|
+
chipOutFeeForChip(chip: string, callOptions?: CallOptions): Promise<bigint>;
|
|
12
|
+
feesReceiver(callOptions?: CallOptions): Promise<string>;
|
|
13
|
+
intentsPermissions(user: string, callOptions?: CallOptions): Promise<string>;
|
|
14
|
+
setIntentsPermissions(oftChip: string, dynAddressSuffix: string, transactionOptions?: TransactionOptions): Promise<void>;
|
|
15
|
+
forceChipOut(chip: string, holder: string, amount: bigint, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
16
|
+
interactOnBehalf_chipOut(chip: string, holder: string, amount: bigint, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
17
|
+
verifyIntent_chipOut(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
18
|
+
verifyIntent_chipOutAndUnwrap(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZ_UnwrapStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
19
|
+
getLZDstChainIdFromChip(chip: string, callOptions?: CallOptions): Promise<bigint>;
|
|
20
|
+
getLZDstChainIdFromEvmChainId(evmChainId: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
21
|
+
evmIdToLzEid(evmChainId: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
22
|
+
getWrapNativeChipInOutHelper(oftChip: string, callOptions?: CallOptions): Promise<string>;
|
|
23
|
+
sourceChainIdForAsset(asset: string, callOptions?: CallOptions): Promise<bigint>;
|
|
24
|
+
processedSignatures(signature: string, callOptions?: CallOptions): Promise<boolean>;
|
|
25
|
+
admin(callOptions?: CallOptions): Promise<string>;
|
|
26
|
+
pendingAdmin(callOptions?: CallOptions): Promise<string>;
|
|
27
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
28
|
+
wrapNativeChipInOutHelpers(oftChip: string, callOptions?: CallOptions): Promise<string>;
|
|
28
29
|
getContract(): ChipsIntentsVerifierV1;
|
|
29
30
|
}
|
|
30
31
|
//# sourceMappingURL=ChipsIntentsVerifierService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChipsIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAA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W,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzF,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIhF,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC;IAInF,KAAK,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjD,YAAY,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIxD,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIpD,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAI7F,WAAW,IAAI,sBAAsB;CAGtC"}
|
package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js
CHANGED
|
@@ -7,85 +7,85 @@ class ChipsIntentsVerifierService {
|
|
|
7
7
|
this.contract = ChipsIntentsVerifierV1__factory_1.ChipsIntentsVerifierV1__factory.connect(address, signerOrProvider);
|
|
8
8
|
this.isSigner = 'sendTransaction' in signerOrProvider;
|
|
9
9
|
}
|
|
10
|
-
async domainSeparatorForAsset(chip) {
|
|
11
|
-
return await this.contract.domainSeparatorForAsset(chip);
|
|
10
|
+
async domainSeparatorForAsset(chip, callOptions) {
|
|
11
|
+
return await this.contract.domainSeparatorForAsset(chip, { ...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 chipOutFeeForChip(chip) {
|
|
17
|
-
return await this.contract.chipOutFeeForChip(chip);
|
|
16
|
+
async chipOutFeeForChip(chip, callOptions) {
|
|
17
|
+
return await this.contract.chipOutFeeForChip(chip, { ...callOptions });
|
|
18
18
|
}
|
|
19
|
-
async feesReceiver() {
|
|
20
|
-
return await this.contract.feesReceiver();
|
|
19
|
+
async feesReceiver(callOptions) {
|
|
20
|
+
return await this.contract.feesReceiver({ ...callOptions });
|
|
21
21
|
}
|
|
22
|
-
async intentsPermissions(user) {
|
|
23
|
-
return await this.contract.intentsPermissions(user);
|
|
22
|
+
async intentsPermissions(user, callOptions) {
|
|
23
|
+
return await this.contract.intentsPermissions(user, { ...callOptions });
|
|
24
24
|
}
|
|
25
|
-
async setIntentsPermissions(oftChip, dynAddressSuffix) {
|
|
25
|
+
async setIntentsPermissions(oftChip, dynAddressSuffix, transactionOptions) {
|
|
26
26
|
if (!this.isSigner) {
|
|
27
27
|
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
28
28
|
}
|
|
29
|
-
const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix);
|
|
29
|
+
const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix, { ...transactionOptions });
|
|
30
30
|
await tx.wait();
|
|
31
31
|
}
|
|
32
|
-
async forceChipOut(chip, holder, amount, value) {
|
|
32
|
+
async forceChipOut(chip, holder, amount, value, transactionOptions) {
|
|
33
33
|
if (!this.isSigner) {
|
|
34
34
|
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
35
35
|
}
|
|
36
|
-
const tx = await this.contract.forceChipOut(chip, holder, amount, { value: value || 0n });
|
|
36
|
+
const tx = await this.contract.forceChipOut(chip, holder, amount, { value: value || 0n, ...transactionOptions });
|
|
37
37
|
await tx.wait();
|
|
38
38
|
}
|
|
39
|
-
async interactOnBehalf_chipOut(chip, holder, amount, value) {
|
|
39
|
+
async interactOnBehalf_chipOut(chip, holder, amount, value, transactionOptions) {
|
|
40
40
|
if (!this.isSigner) {
|
|
41
41
|
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
42
42
|
}
|
|
43
|
-
const tx = await this.contract.interactOnBehalf_chipOut(chip, holder, amount, { value: value || 0n });
|
|
43
|
+
const tx = await this.contract.interactOnBehalf_chipOut(chip, holder, amount, { value: value || 0n, ...transactionOptions });
|
|
44
44
|
await tx.wait();
|
|
45
45
|
}
|
|
46
|
-
async verifyIntent_chipOut(payload, v, r, s, value) {
|
|
46
|
+
async verifyIntent_chipOut(payload, v, r, s, value, transactionOptions) {
|
|
47
47
|
if (!this.isSigner) {
|
|
48
48
|
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
49
49
|
}
|
|
50
|
-
const tx = await this.contract.verifyIntent_chipOut(payload, v, r, s, { value: value || 0n });
|
|
50
|
+
const tx = await this.contract.verifyIntent_chipOut(payload, v, r, s, { value: value || 0n, ...transactionOptions });
|
|
51
51
|
await tx.wait();
|
|
52
52
|
}
|
|
53
|
-
async verifyIntent_chipOutAndUnwrap(payload, v, r, s, value) {
|
|
53
|
+
async verifyIntent_chipOutAndUnwrap(payload, v, r, s, value, transactionOptions) {
|
|
54
54
|
if (!this.isSigner) {
|
|
55
55
|
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
56
56
|
}
|
|
57
|
-
const tx = await this.contract.verifyIntent_chipOutAndUnwrap(payload, v, r, s, { value: value || 0n });
|
|
57
|
+
const tx = await this.contract.verifyIntent_chipOutAndUnwrap(payload, v, r, s, { value: value || 0n, ...transactionOptions });
|
|
58
58
|
await tx.wait();
|
|
59
59
|
}
|
|
60
|
-
async getLZDstChainIdFromChip(chip) {
|
|
61
|
-
return await this.contract.getLZDstChainIdFromChip(chip);
|
|
60
|
+
async getLZDstChainIdFromChip(chip, callOptions) {
|
|
61
|
+
return await this.contract.getLZDstChainIdFromChip(chip, { ...callOptions });
|
|
62
62
|
}
|
|
63
|
-
async getLZDstChainIdFromEvmChainId(evmChainId) {
|
|
64
|
-
return await this.contract.getLZDstChainIdFromEvmChainId(evmChainId);
|
|
63
|
+
async getLZDstChainIdFromEvmChainId(evmChainId, callOptions) {
|
|
64
|
+
return await this.contract.getLZDstChainIdFromEvmChainId(evmChainId, { ...callOptions });
|
|
65
65
|
}
|
|
66
|
-
async evmIdToLzEid(evmChainId) {
|
|
67
|
-
return await this.contract.evmIdToLzEid(evmChainId);
|
|
66
|
+
async evmIdToLzEid(evmChainId, callOptions) {
|
|
67
|
+
return await this.contract.evmIdToLzEid(evmChainId, { ...callOptions });
|
|
68
68
|
}
|
|
69
|
-
async getWrapNativeChipInOutHelper(oftChip) {
|
|
70
|
-
return await this.contract.getWrapNativeChipInOutHelper(oftChip);
|
|
69
|
+
async getWrapNativeChipInOutHelper(oftChip, callOptions) {
|
|
70
|
+
return await this.contract.getWrapNativeChipInOutHelper(oftChip, { ...callOptions });
|
|
71
71
|
}
|
|
72
|
-
async sourceChainIdForAsset(asset) {
|
|
73
|
-
return await this.contract.sourceChainIdForAsset(asset);
|
|
72
|
+
async sourceChainIdForAsset(asset, callOptions) {
|
|
73
|
+
return await this.contract.sourceChainIdForAsset(asset, { ...callOptions });
|
|
74
74
|
}
|
|
75
|
-
async processedSignatures(signature) {
|
|
76
|
-
return await this.contract.processedSignatures(signature);
|
|
75
|
+
async processedSignatures(signature, callOptions) {
|
|
76
|
+
return await this.contract.processedSignatures(signature, { ...callOptions });
|
|
77
77
|
}
|
|
78
|
-
async admin() {
|
|
79
|
-
return await this.contract.admin();
|
|
78
|
+
async admin(callOptions) {
|
|
79
|
+
return await this.contract.admin({ ...callOptions });
|
|
80
80
|
}
|
|
81
|
-
async pendingAdmin() {
|
|
82
|
-
return await this.contract.pendingAdmin();
|
|
81
|
+
async pendingAdmin(callOptions) {
|
|
82
|
+
return await this.contract.pendingAdmin({ ...callOptions });
|
|
83
83
|
}
|
|
84
|
-
async registry() {
|
|
85
|
-
return await this.contract.registry();
|
|
84
|
+
async registry(callOptions) {
|
|
85
|
+
return await this.contract.registry({ ...callOptions });
|
|
86
86
|
}
|
|
87
|
-
async wrapNativeChipInOutHelpers(oftChip) {
|
|
88
|
-
return await this.contract.wrapNativeChipInOutHelpers(oftChip);
|
|
87
|
+
async wrapNativeChipInOutHelpers(oftChip, callOptions) {
|
|
88
|
+
return await this.contract.wrapNativeChipInOutHelpers(oftChip, { ...callOptions });
|
|
89
89
|
}
|
|
90
90
|
getContract() {
|
|
91
91
|
return this.contract;
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { ChipsIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
|
|
2
|
+
import { TransactionOptions, CallOptions } from "../common";
|
|
2
3
|
export interface IChipsIntentsVerifierService {
|
|
3
|
-
domainSeparatorForAsset(chip: string): Promise<string>;
|
|
4
|
-
domainSeparatorForChain(chainId: bigint): Promise<string>;
|
|
5
|
-
chipOutFeeForChip(chip: string): Promise<bigint>;
|
|
6
|
-
feesReceiver(): Promise<string>;
|
|
7
|
-
intentsPermissions(user: string): Promise<string>;
|
|
8
|
-
setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
|
|
9
|
-
forceChipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
|
|
10
|
-
interactOnBehalf_chipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
|
|
11
|
-
verifyIntent_chipOut(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
12
|
-
verifyIntent_chipOutAndUnwrap(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZ_UnwrapStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
13
|
-
getLZDstChainIdFromChip(chip: string): Promise<bigint>;
|
|
14
|
-
getLZDstChainIdFromEvmChainId(evmChainId: bigint): Promise<bigint>;
|
|
15
|
-
evmIdToLzEid(evmChainId: bigint): Promise<bigint>;
|
|
16
|
-
getWrapNativeChipInOutHelper(oftChip: string): Promise<string>;
|
|
17
|
-
wrapNativeChipInOutHelpers(oftChip: string): Promise<string>;
|
|
18
|
-
sourceChainIdForAsset(asset: string): Promise<bigint>;
|
|
19
|
-
processedSignatures(signature: string): Promise<boolean>;
|
|
20
|
-
admin(): Promise<string>;
|
|
21
|
-
pendingAdmin(): Promise<string>;
|
|
22
|
-
registry(): Promise<string>;
|
|
4
|
+
domainSeparatorForAsset(chip: string, callOptions?: CallOptions): Promise<string>;
|
|
5
|
+
domainSeparatorForChain(chainId: bigint, callOptions?: CallOptions): Promise<string>;
|
|
6
|
+
chipOutFeeForChip(chip: string, callOptions?: CallOptions): Promise<bigint>;
|
|
7
|
+
feesReceiver(callOptions?: CallOptions): Promise<string>;
|
|
8
|
+
intentsPermissions(user: string, callOptions?: CallOptions): Promise<string>;
|
|
9
|
+
setIntentsPermissions(oftChip: string, dynAddressSuffix: string, transactionOptions?: TransactionOptions): Promise<void>;
|
|
10
|
+
forceChipOut(chip: string, holder: string, amount: bigint, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
11
|
+
interactOnBehalf_chipOut(chip: string, holder: string, amount: bigint, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
12
|
+
verifyIntent_chipOut(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
13
|
+
verifyIntent_chipOutAndUnwrap(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZ_UnwrapStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
14
|
+
getLZDstChainIdFromChip(chip: string, callOptions?: CallOptions): Promise<bigint>;
|
|
15
|
+
getLZDstChainIdFromEvmChainId(evmChainId: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
16
|
+
evmIdToLzEid(evmChainId: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
17
|
+
getWrapNativeChipInOutHelper(oftChip: string, callOptions?: CallOptions): Promise<string>;
|
|
18
|
+
wrapNativeChipInOutHelpers(oftChip: string, callOptions?: CallOptions): Promise<string>;
|
|
19
|
+
sourceChainIdForAsset(asset: string, callOptions?: CallOptions): Promise<bigint>;
|
|
20
|
+
processedSignatures(signature: string, callOptions?: CallOptions): Promise<boolean>;
|
|
21
|
+
admin(callOptions?: CallOptions): Promise<string>;
|
|
22
|
+
pendingAdmin(callOptions?: CallOptions): Promise<string>;
|
|
23
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
23
24
|
}
|
|
24
25
|
//# sourceMappingURL=IChipsIntentsVerifierService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IChipsIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAA;
|
|
1
|
+
{"version":3,"file":"IChipsIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAA;AAC9G,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE3D,MAAM,WAAW,4BAA4B;IAE3C,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjF,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGpF,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC3E,Y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,CAAA;IACjF,6BAA6B,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC7F,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAG5E,4BAA4B,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACzF,0BAA0B,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGvF,qBAAqB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAChF,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAGnF,KAAK,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjD,YAAY,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACxD,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CACrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EngineChipService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/EngineChipService/EngineChipService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,4DAA4D,CAAC;AAExF,OAAO,EACL,kBAAkB,EAClB,yCAAyC,EACzC,2CAA2C,EAC3C,2CAA2C,EAC3C,wCAAwC,EACxC,gDAAgD,EAChD,uCAAuC,EAIxC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"EngineChipService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/EngineChipService/EngineChipService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,4DAA4D,CAAC;AAExF,OAAO,EACL,kBAAkB,EAClB,yCAAyC,EACzC,2CAA2C,EAC3C,2CAA2C,EAC3C,wCAAwC,EACxC,gDAAgD,EAChD,uCAAuC,EAIxC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAmC,MAAM,WAAW,CAAC;AAiUpG;;;GAGG;AACH,qBAAa,iBAAkB,YAAW,kBAAkB;IAC1D,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAa;IACtC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;IAEnC,SAAgB,eAAe,EAAE,yCAAyC,CAAC;IAC3E,SAAgB,iBAAiB,EAAE,2CAA2C,CAAC;IAC/E,SAAgB,iBAAiB,EAAE,2CAA2C,CAAC;IAC/E,SAAgB,cAAc,EAAE,wCAAwC,CAAC;IACzE,SAAgB,sBAAsB,EAAE,gDAAgD,CAAC;IACzF,SAAgB,aAAa,EAAE,uCAAuC,CAAC;IACvE,SAAgB,aAAa,EAAE,cAAc,CAAC;IAC9C,SAAgB,qBAAqB,EAAE,sBAAsB,CAAC;gBAElD,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAwBhE,WAAW,IAAI,UAAU;CAG1B"}
|