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
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { CallOptions } from ".";
|
|
1
2
|
/**
|
|
2
3
|
* Common interface for contracts with pendable admin pattern
|
|
3
4
|
* Allows for two-step admin transfer process
|
|
4
5
|
*/
|
|
5
6
|
export interface IPendableAdmin {
|
|
6
|
-
admin(): Promise<string>;
|
|
7
|
-
pendingAdmin(): Promise<string>;
|
|
7
|
+
admin(callOptions?: CallOptions): Promise<string>;
|
|
8
|
+
pendingAdmin(callOptions?: CallOptions): Promise<string>;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=IPendableAdmin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPendableAdmin.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableAdmin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,
|
|
1
|
+
{"version":3,"file":"IPendableAdmin.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableAdmin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAE/B;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,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;CACzD"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { CallOptions } from ".";
|
|
1
2
|
/**
|
|
2
3
|
* Common interface for upgradeable contracts with pendable implementation pattern
|
|
3
4
|
* Allows for two-step implementation upgrade process
|
|
4
5
|
*/
|
|
5
6
|
export interface IPendableImplementation {
|
|
6
|
-
implementation(): Promise<string>;
|
|
7
|
-
pendingImplementation(): Promise<string>;
|
|
7
|
+
implementation(callOptions?: CallOptions): Promise<string>;
|
|
8
|
+
pendingImplementation(callOptions?: CallOptions): Promise<string>;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=IPendableImplementation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPendableImplementation.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableImplementation.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,cAAc,
|
|
1
|
+
{"version":3,"file":"IPendableImplementation.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IPendableImplementation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAE/B;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,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"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CallOptions } from ".";
|
|
1
2
|
/**
|
|
2
3
|
* Common interface for protocol-wide constants used across multiple contracts
|
|
3
4
|
* These constants define the scaling factors and precision levels used throughout the Lynx protocol
|
|
@@ -7,26 +8,26 @@ export interface IProtocolConstants {
|
|
|
7
8
|
* Scale factor for fraction calculations (typically 100,000 for 5 decimal precision)
|
|
8
9
|
* Used for percentage-based calculations like fees, rates, etc.
|
|
9
10
|
*/
|
|
10
|
-
FRACTION_SCALE(): Promise<bigint>;
|
|
11
|
+
FRACTION_SCALE(callOptions?: CallOptions): Promise<bigint>;
|
|
11
12
|
/**
|
|
12
13
|
* General precision constant used for various calculations
|
|
13
14
|
* The specific value and usage may vary by contract
|
|
14
15
|
*/
|
|
15
|
-
PRECISION(): Promise<bigint>;
|
|
16
|
+
PRECISION(callOptions?: CallOptions): Promise<bigint>;
|
|
16
17
|
/**
|
|
17
18
|
* Scale factor for leverage values (typically 100)
|
|
18
19
|
* Leverage of 25x is stored as 2500
|
|
19
20
|
*/
|
|
20
|
-
LEVERAGE_SCALE(): Promise<bigint>;
|
|
21
|
+
LEVERAGE_SCALE(callOptions?: CallOptions): Promise<bigint>;
|
|
21
22
|
/**
|
|
22
23
|
* Optional: Scale factor for improved calculation accuracy
|
|
23
24
|
* Not all contracts implement this
|
|
24
25
|
*/
|
|
25
|
-
ACCURACY_IMPROVEMENT_SCALE?(): Promise<bigint>;
|
|
26
|
+
ACCURACY_IMPROVEMENT_SCALE?(callOptions?: CallOptions): Promise<bigint>;
|
|
26
27
|
/**
|
|
27
28
|
* Optional: Unit scale specific to the contract
|
|
28
29
|
* Used in contracts like LexPool for internal calculations
|
|
29
30
|
*/
|
|
30
|
-
SELF_UNIT_SCALE?(): Promise<bigint>;
|
|
31
|
+
SELF_UNIT_SCALE?(callOptions?: CallOptions): Promise<bigint>;
|
|
31
32
|
}
|
|
32
33
|
//# sourceMappingURL=IProtocolConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IProtocolConstants.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IProtocolConstants.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,cAAc,
|
|
1
|
+
{"version":3,"file":"IProtocolConstants.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/IProtocolConstants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAE/B;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAE1D;;;OAGG;IACH,SAAS,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAErD;;;OAGG;IACH,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAE1D;;;OAGG;IACH,0BAA0B,CAAC,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEvE;;;OAGG;IACH,eAAe,CAAC,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAC7D"}
|
|
@@ -12,4 +12,24 @@ export interface TransactionOptions {
|
|
|
12
12
|
maxFeePerGas?: bigint;
|
|
13
13
|
maxPriorityFeePerGas?: bigint;
|
|
14
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* State override for a single address in eth_call.
|
|
17
|
+
* Allows simulating contract state changes without actual transactions.
|
|
18
|
+
*/
|
|
19
|
+
export interface StateOverride {
|
|
20
|
+
balance?: bigint;
|
|
21
|
+
nonce?: bigint;
|
|
22
|
+
code?: string;
|
|
23
|
+
state?: Record<string, string>;
|
|
24
|
+
stateDiff?: Record<string, string>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Optional call overrides for view functions.
|
|
28
|
+
* Compatible with ethers v6 call options.
|
|
29
|
+
*/
|
|
30
|
+
export interface CallOptions {
|
|
31
|
+
blockTag?: 'latest' | 'pending' | 'finalized' | 'safe' | 'earliest' | number | bigint;
|
|
32
|
+
from?: string;
|
|
33
|
+
stateOverride?: Record<string, StateOverride>;
|
|
34
|
+
}
|
|
15
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACtE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAC9B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/common/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACtE,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,YAAY,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAA;AACxE,YAAY,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAE9D;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACnC;AAED;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAA;IACrF,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;CAC9C"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -30,7 +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 } from "./lib/contractsIntegration/common";
|
|
33
|
+
export type { TransactionOptions, CallOptions, StateOverride } from "./lib/contractsIntegration/common";
|
|
34
34
|
export { ChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
|
|
35
35
|
export type { IChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
|
|
36
36
|
export { LiquidityIntentsVerifierService } from "./lib/contractsIntegration/LiquidityIntentsVerifierService";
|
|
@@ -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;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,uDAAuD,CAAC;AA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FAA0F,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"}
|
|
@@ -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,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAA;AAE9G,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;
|
|
1
|
+
{"version":3,"file":"ChipsIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAA;AAE9G,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAC7E,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE3D,qBAAa,2BAA4B,YAAW,4BAA4B;IAC9E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAwB;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
@@ -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,YAAY,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGxD,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC5E,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,kBAAkB,CAAC,E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W,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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContractTransactionResponse } from "ethers";
|
|
2
|
-
import { ILynxVersionedContract, IPendableAdmin } from "../common";
|
|
2
|
+
import { ILynxVersionedContract, IPendableAdmin, TransactionOptions, CallOptions } from "../common";
|
|
3
3
|
export interface ChipConfiguration {
|
|
4
4
|
name: string;
|
|
5
5
|
symbol: string;
|
|
@@ -23,52 +23,52 @@ export interface AutoApprovalInfo {
|
|
|
23
23
|
spenderAddress: string;
|
|
24
24
|
}
|
|
25
25
|
export interface IEngineChipFunctionsGroup_ERC20Operations {
|
|
26
|
-
name(): Promise<string>;
|
|
27
|
-
symbol(): Promise<string>;
|
|
28
|
-
decimals(): Promise<bigint>;
|
|
29
|
-
totalSupply(): Promise<bigint>;
|
|
30
|
-
balanceOf(account: string): Promise<bigint>;
|
|
31
|
-
allowance(owner: string, spender: string): Promise<bigint>;
|
|
32
|
-
approve(spender: string, value: bigint): Promise<ContractTransactionResponse>;
|
|
33
|
-
transfer(to: string, value: bigint): Promise<ContractTransactionResponse>;
|
|
34
|
-
transferFrom(from: string, to: string, value: bigint): Promise<ContractTransactionResponse>;
|
|
26
|
+
name(callOptions?: CallOptions): Promise<string>;
|
|
27
|
+
symbol(callOptions?: CallOptions): Promise<string>;
|
|
28
|
+
decimals(callOptions?: CallOptions): Promise<bigint>;
|
|
29
|
+
totalSupply(callOptions?: CallOptions): Promise<bigint>;
|
|
30
|
+
balanceOf(account: string, callOptions?: CallOptions): Promise<bigint>;
|
|
31
|
+
allowance(owner: string, spender: string, callOptions?: CallOptions): Promise<bigint>;
|
|
32
|
+
approve(spender: string, value: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
33
|
+
transfer(to: string, value: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
34
|
+
transferFrom(from: string, to: string, value: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
35
35
|
}
|
|
36
36
|
export interface IEngineChipFunctionsGroup_MintingOperations {
|
|
37
|
-
mintChip(toAddress: string, amount: bigint): Promise<ContractTransactionResponse>;
|
|
38
|
-
isMintingPaused(): Promise<boolean>;
|
|
39
|
-
setIsMintingPaused(value: boolean): Promise<ContractTransactionResponse>;
|
|
40
|
-
setMintController(mintController: string): Promise<ContractTransactionResponse>;
|
|
41
|
-
mintController(): Promise<string>;
|
|
37
|
+
mintChip(toAddress: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
38
|
+
isMintingPaused(callOptions?: CallOptions): Promise<boolean>;
|
|
39
|
+
setIsMintingPaused(value: boolean, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
40
|
+
setMintController(mintController: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
41
|
+
mintController(callOptions?: CallOptions): Promise<string>;
|
|
42
42
|
}
|
|
43
43
|
export interface IEngineChipFunctionsGroup_BurningOperations {
|
|
44
|
-
burnChip(receiver: string, amount: bigint): Promise<ContractTransactionResponse>;
|
|
45
|
-
burnChipAndCall(amount: bigint, payload: string): Promise<ContractTransactionResponse>;
|
|
46
|
-
setBurnController(burnController: string): Promise<ContractTransactionResponse>;
|
|
47
|
-
setBurnHandler(handler: string): Promise<ContractTransactionResponse>;
|
|
48
|
-
burnController(): Promise<string>;
|
|
49
|
-
burnHandler(): Promise<string>;
|
|
44
|
+
burnChip(receiver: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
45
|
+
burnChipAndCall(amount: bigint, payload: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
46
|
+
setBurnController(burnController: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
47
|
+
setBurnHandler(handler: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
48
|
+
burnController(callOptions?: CallOptions): Promise<string>;
|
|
49
|
+
burnHandler(callOptions?: CallOptions): Promise<string>;
|
|
50
50
|
}
|
|
51
51
|
export interface IEngineChipFunctionsGroup_AdminFunctions {
|
|
52
|
-
setPendingAdmin(newPendingAdmin: string): Promise<ContractTransactionResponse>;
|
|
53
|
-
acceptAdmin(): Promise<ContractTransactionResponse>;
|
|
54
|
-
sweepTokens(token: string, amount: bigint): Promise<ContractTransactionResponse>;
|
|
55
|
-
sweepNative(amount: bigint): Promise<ContractTransactionResponse>;
|
|
52
|
+
setPendingAdmin(newPendingAdmin: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
53
|
+
acceptAdmin(transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
54
|
+
sweepTokens(token: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
55
|
+
sweepNative(amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
56
56
|
}
|
|
57
57
|
export interface IEngineChipFunctionsGroup_AutoApprovalManagement {
|
|
58
|
-
setAutoApprovedSpenderForRole(role: string, spender: string): Promise<ContractTransactionResponse>;
|
|
59
|
-
getAutoApprovedSpenderAddressByRole(role: string): Promise<string>;
|
|
60
|
-
autoApproved(address: string): Promise<boolean>;
|
|
61
|
-
autoApprovedSpendersByRoles(roleHash: string): Promise<string>;
|
|
58
|
+
setAutoApprovedSpenderForRole(role: string, spender: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
59
|
+
getAutoApprovedSpenderAddressByRole(role: string, callOptions?: CallOptions): Promise<string>;
|
|
60
|
+
autoApproved(address: string, callOptions?: CallOptions): Promise<boolean>;
|
|
61
|
+
autoApprovedSpendersByRoles(roleHash: string, callOptions?: CallOptions): Promise<string>;
|
|
62
62
|
}
|
|
63
63
|
export interface IEngineChipFunctionsGroup_ViewFunctions {
|
|
64
|
-
exchangeRate(): Promise<bigint>;
|
|
65
|
-
underlyingToken(): Promise<string>;
|
|
66
|
-
chipMode(): Promise<bigint>;
|
|
67
|
-
registry(): Promise<string>;
|
|
68
|
-
SELF_UNIT_SCALE(): Promise<bigint>;
|
|
69
|
-
getChipConfiguration(): Promise<ChipConfiguration>;
|
|
70
|
-
getChipControllers(): Promise<ChipControllers>;
|
|
71
|
-
getChipMintingState(): Promise<ChipMintingState>;
|
|
64
|
+
exchangeRate(callOptions?: CallOptions): Promise<bigint>;
|
|
65
|
+
underlyingToken(callOptions?: CallOptions): Promise<string>;
|
|
66
|
+
chipMode(callOptions?: CallOptions): Promise<bigint>;
|
|
67
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
68
|
+
SELF_UNIT_SCALE(callOptions?: CallOptions): Promise<bigint>;
|
|
69
|
+
getChipConfiguration(callOptions?: CallOptions): Promise<ChipConfiguration>;
|
|
70
|
+
getChipControllers(callOptions?: CallOptions): Promise<ChipControllers>;
|
|
71
|
+
getChipMintingState(callOptions?: CallOptions): Promise<ChipMintingState>;
|
|
72
72
|
}
|
|
73
73
|
export interface IEngineChipService {
|
|
74
74
|
erc20Operations: IEngineChipFunctionsGroup_ERC20Operations;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEngineChipService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/EngineChipService/IEngineChipService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"IEngineChipService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/EngineChipService/IEngineChipService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGpG,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,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AW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAE5E,kBAAkB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IAExE,mBAAmB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAC3E;AAID,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,yCAAyC,CAAC;IAC3D,iBAAiB,EAAE,2CAA2C,CAAC;IAC/D,iBAAiB,EAAE,2CAA2C,CAAC;IAC/D,cAAc,EAAE,wCAAwC,CAAC;IACzD,sBAAsB,EAAE,gDAAgD,CAAC;IACzE,aAAa,EAAE,uCAAuC,CAAC;IACvD,aAAa,EAAE,cAAc,CAAC;IAC9B,qBAAqB,EAAE,sBAAsB,CAAC;CAC/C"}
|
package/dist/types/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,QAAQ,EAAE,MAAM,EAA+B,MAAM,QAAQ,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gEAAgE,CAAA;AAEjG,OAAO,EACL,sBAAsB,EACtB,+CAA+C,EAC/C,gDAAgD,EAChD,4CAA4C,EAC5C,gDAAgD,EAGjD,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,sBAAsB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"FeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,QAAQ,EAAE,MAAM,EAA+B,MAAM,QAAQ,CAAA;AACnF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gEAAgE,CAAA;AAEjG,OAAO,EACL,sBAAsB,EACtB,+CAA+C,EAC/C,gDAAgD,EAChD,4CAA4C,EAC5C,gDAAgD,EAGjD,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAmC,MAAM,WAAW,CAAA;AAoJnG,qBAAa,qBAAsB,YAAW,sBAAsB;IAWhE,OAAO,CAAC,gBAAgB;IAV1B,OAAO,CAAC,QAAQ,CAAkB;IAClC,SAAgB,iBAAiB,EAAE,+CAA+C,CAAA;IAClF,SAAgB,kBAAkB,EAAE,gDAAgD,CAAA;IACpF,SAAgB,cAAc,EAAE,4CAA4C,CAAA;IAC5E,SAAgB,kBAAkB,EAAE,gDAAgD,CAAA;IACpF,SAAgB,aAAa,EAAE,cAAc,CAAA;IAC7C,SAAgB,qBAAqB,EAAE,sBAAsB,CAAA;gBAG3D,OAAO,EAAE,MAAM,EACP,gBAAgB,EAAE,MAAM,GAAG,QAAQ;IAe7C,WAAW,IAAI,gBAAgB;CAGhC"}
|
package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AddressLike, ContractTransactionResponse } from "ethers";
|
|
2
|
-
import { ILynxVersionedContract, IPendableAdmin } from "../common";
|
|
2
|
+
import { ILynxVersionedContract, IPendableAdmin, TransactionOptions, CallOptions } from "../common";
|
|
3
3
|
export interface FeatureMetadata {
|
|
4
4
|
name: string;
|
|
5
5
|
exists: boolean;
|
|
@@ -11,25 +11,25 @@ export interface FeatureUsersResult {
|
|
|
11
11
|
hasMore: boolean;
|
|
12
12
|
}
|
|
13
13
|
export interface IFeatureFlaggerFunctionsGroup_FeatureManagement {
|
|
14
|
-
adminRegisterFeature(featureId: bigint, name: string): Promise<ContractTransactionResponse>;
|
|
15
|
-
adminDisableFeatureForUser(featureId: bigint, user: AddressLike): Promise<ContractTransactionResponse>;
|
|
16
|
-
adminBatchDisableFeatureForUsers(featureId: bigint, users: AddressLike[]): Promise<ContractTransactionResponse>;
|
|
14
|
+
adminRegisterFeature(featureId: bigint, name: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
15
|
+
adminDisableFeatureForUser(featureId: bigint, user: AddressLike, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
16
|
+
adminBatchDisableFeatureForUsers(featureId: bigint, users: AddressLike[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
17
17
|
}
|
|
18
18
|
export interface IFeatureFlaggerFunctionsGroup_UserFeatureControl {
|
|
19
|
-
setFeatureActivated(featureId: bigint, enabled: boolean): Promise<ContractTransactionResponse>;
|
|
19
|
+
setFeatureActivated(featureId: bigint, enabled: boolean, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
20
20
|
}
|
|
21
21
|
export interface IFeatureFlaggerFunctionsGroup_FeatureQueries {
|
|
22
|
-
isFeatureActivated(featureId: bigint, user: AddressLike): Promise<boolean>;
|
|
23
|
-
isFeatureRegistered(featureId: bigint): Promise<boolean>;
|
|
24
|
-
getFeatureMetadata(featureId: bigint): Promise<FeatureMetadata>;
|
|
25
|
-
getFeatureUsers(featureId: bigint, startIndex: bigint, pageSize: bigint): Promise<FeatureUsersResult>;
|
|
26
|
-
getFeatureUsersCount(featureId: bigint): Promise<bigint>;
|
|
27
|
-
getAllFeatureIds(): Promise<bigint[]>;
|
|
28
|
-
featureName(featureId: bigint): Promise<string>;
|
|
22
|
+
isFeatureActivated(featureId: bigint, user: AddressLike, callOptions?: CallOptions): Promise<boolean>;
|
|
23
|
+
isFeatureRegistered(featureId: bigint, callOptions?: CallOptions): Promise<boolean>;
|
|
24
|
+
getFeatureMetadata(featureId: bigint, callOptions?: CallOptions): Promise<FeatureMetadata>;
|
|
25
|
+
getFeatureUsers(featureId: bigint, startIndex: bigint, pageSize: bigint, callOptions?: CallOptions): Promise<FeatureUsersResult>;
|
|
26
|
+
getFeatureUsersCount(featureId: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
27
|
+
getAllFeatureIds(callOptions?: CallOptions): Promise<bigint[]>;
|
|
28
|
+
featureName(featureId: bigint, callOptions?: CallOptions): Promise<string>;
|
|
29
29
|
}
|
|
30
30
|
export interface IFeatureFlaggerFunctionsGroup_ContractReferences {
|
|
31
|
-
registry(): Promise<string>;
|
|
32
|
-
implementation(): Promise<string>;
|
|
31
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
32
|
+
implementation(callOptions?: CallOptions): Promise<string>;
|
|
33
33
|
}
|
|
34
34
|
export interface IFeatureFlaggerService {
|
|
35
35
|
featureManagement: IFeatureFlaggerFunctionsGroup_FeatureManagement;
|
package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IFeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AACjE,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"IFeatureFlaggerService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AACjE,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEnG,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,OAAO,CAAA;IACf,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE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AAoB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEnF,gBAAgB,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAA;IAE9D,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAC3E;AAED,MAAM,WAAW,gDAAgD;IAC/D,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAEpD,cAAc,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAC3D;AAED,MAAM,WAAW,sBAAsB;IACrC,iBAAiB,EAAE,+CAA+C,CAAA;IAClE,kBAAkB,EAAE,gDAAgD,CAAA;IACpE,cAAc,EAAE,4CAA4C,CAAA;IAC5D,kBAAkB,EAAE,gDAAgD,CAAA;IACpE,aAAa,EAAE,cAAc,CAAA;IAC7B,qBAAqB,EAAE,sBAAsB,CAAA;CAC9C"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { CallOptions } from "../common";
|
|
1
2
|
export interface IIntentsVerifierLensService {
|
|
2
|
-
getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
|
|
3
|
-
getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
|
|
4
|
-
getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
|
|
5
|
-
registry(): Promise<string>;
|
|
3
|
+
getRequestBuildingInfoForChipsIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
4
|
+
getRequestBuildingInfoForLiquidityIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
5
|
+
getRequestBuildingInfoForTradeIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
6
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
6
7
|
}
|
|
7
8
|
//# sourceMappingURL=IIntentsVerifierLensService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C,
|
|
1
|
+
{"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEvC,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE1F,iDAAiD,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE9F,6CAA6C,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAE1F,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACtD"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Provider, Signer } from "ethers";
|
|
2
2
|
import { IntentsVerifierLens } from "../../typechain/contracts/Peripheral/Lens/IntentsVerifierLens";
|
|
3
3
|
import { IIntentsVerifierLensService } from "./IIntentsVerifierLensService";
|
|
4
|
+
import { CallOptions } from "../common";
|
|
4
5
|
export declare class IntentsVerifierLensService implements IIntentsVerifierLensService {
|
|
5
6
|
private readonly contract;
|
|
6
7
|
constructor(signerOrProvider: Signer | Provider, address: string);
|
|
7
|
-
getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
|
|
8
|
-
getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
|
|
9
|
-
getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
|
|
10
|
-
registry(): Promise<string>;
|
|
8
|
+
getRequestBuildingInfoForChipsIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
9
|
+
getRequestBuildingInfoForLiquidityIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
10
|
+
getRequestBuildingInfoForTradeIntentsVerifier(callOptions?: CallOptions): Promise<string>;
|
|
11
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
11
12
|
getContract(): IntentsVerifierLens;
|
|
12
13
|
}
|
|
13
14
|
//# sourceMappingURL=IntentsVerifierLensService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAC;AAEpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,+DAA+D,CAAC;AAEpG,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,0BAA2B,YAAW,2BAA2B;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;gBAEnC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAI1D,6CAA6C,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzF,iDAAiD,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAI7F,6CAA6C,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzF,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAI1D,WAAW,IAAI,mBAAmB;CAGnC"}
|