lynx-client 0.0.32 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/lib/addresses/lensAddresses.js +6 -6
- package/dist/cjs/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
- package/dist/cjs/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
- package/dist/cjs/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
- package/dist/cjs/lib/contractsIntegration/LexLensService/ILexLensService.js +7 -0
- package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +52 -52
- package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
- package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
- package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
- package/dist/cjs/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
- package/dist/cjs/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
- package/dist/cjs/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +25 -1
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +52 -8
- package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
- package/dist/cjs/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +284 -9
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +6 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +261 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +136 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +220 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/lib/addresses/lensAddresses.d.ts +6 -6
- package/dist/esm/lib/addresses/lensAddresses.js +6 -6
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.js +16 -16
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
- package/dist/esm/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +40 -40
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/EngineChipService/EngineChipService.js +89 -89
- package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
- package/dist/esm/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.js +38 -38
- package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
- package/dist/esm/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +8 -8
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.js +7 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +52 -52
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +103 -103
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +26 -26
- package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
- package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +78 -78
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +38 -38
- package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
- package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +44 -44
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js +112 -112
- package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
- package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
- package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.js +10 -10
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +40 -40
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +66 -65
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +13 -13
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +86 -86
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +34 -8
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +25 -1
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +10 -5
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +52 -8
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +80 -80
- package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
- package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.js +10 -9
- package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
- package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
- package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
- package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
- package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/common/index.d.ts +20 -0
- package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +182 -9
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +5 -3
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +164 -2
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts +22 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +126 -3
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +221 -9
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +284 -9
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +5 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +6 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +203 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +261 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +109 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +136 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +169 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +220 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/addresses/lensAddresses.d.ts +6 -6
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/AcceptableImplementationClaimableAdminService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts +9 -8
- package/dist/types/lib/contractsIntegration/AcceptableImplementationClaimableAdminService/IAcceptableImplementationClaimableAdminService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +21 -20
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +21 -20
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/EngineChipService/EngineChipService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts +37 -37
- package/dist/types/lib/contractsIntegration/EngineChipService/IEngineChipService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/FeatureFlaggerService/FeatureFlaggerService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts +14 -14
- package/dist/types/lib/contractsIntegration/FeatureFlaggerService/IFeatureFlaggerService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +5 -4
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -4
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +26 -25
- package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +26 -25
- package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +73 -73
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +14 -13
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +14 -13
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +34 -34
- package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +13 -13
- package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +17 -17
- package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +90 -90
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts +11 -5
- package/dist/types/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts +6 -5
- package/dist/types/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +21 -20
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +21 -20
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +25 -25
- package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +7 -6
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +7 -6
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +33 -33
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +34 -8
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +10 -5
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +36 -36
- package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts +6 -5
- package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/IWrappedNativeEngineChipHelperService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/WrappedNativeEngineChipHelperService/WrappedNativeEngineChipHelperService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +5 -4
- package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts +3 -2
- package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts +3 -2
- package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts +6 -5
- package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/common/index.d.ts +20 -0
- package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +182 -9
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +5 -3
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +164 -2
- package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts +22 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/LexLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts +126 -3
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/FeatureFlagger/FeatureFlaggerV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +221 -9
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +5 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +203 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +109 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/RateModelLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +169 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContractTransactionResponse, BytesLike } from "ethers";
|
|
2
|
-
import { IProtocolConstants } from "../common";
|
|
2
|
+
import { IProtocolConstants, TransactionOptions, CallOptions } from "../common";
|
|
3
3
|
export interface TProcessDepositResult {
|
|
4
4
|
amountDeposited: bigint;
|
|
5
5
|
amountCanceled: bigint;
|
|
@@ -26,100 +26,100 @@ export interface TPendingRedeem {
|
|
|
26
26
|
maxAmountOut: bigint;
|
|
27
27
|
}
|
|
28
28
|
export interface ILexPoolV1FunctionsGroup_Initialization {
|
|
29
|
-
_become(proxy: string): Promise<ContractTransactionResponse>;
|
|
30
|
-
initialize(underlying: string, tradingFloor: string, epochDuration: bigint): Promise<ContractTransactionResponse>;
|
|
29
|
+
_become(proxy: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
30
|
+
initialize(underlying: string, tradingFloor: string, epochDuration: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
31
31
|
}
|
|
32
32
|
export interface ILexPoolV1FunctionsGroup_AdminConfiguration {
|
|
33
|
-
setPoolAccountant(poolAccountant: string): Promise<ContractTransactionResponse>;
|
|
34
|
-
setPnlRole(pnl: string): Promise<ContractTransactionResponse>;
|
|
35
|
-
setMaxExtraWithdrawalAmountF(maxExtra: bigint): Promise<ContractTransactionResponse>;
|
|
36
|
-
setEpochsDelayDeposit(delay: bigint): Promise<ContractTransactionResponse>;
|
|
37
|
-
setEpochsDelayRedeem(delay: bigint): Promise<ContractTransactionResponse>;
|
|
38
|
-
setEpochDuration(duration: bigint): Promise<ContractTransactionResponse>;
|
|
39
|
-
setMinDepositAmount(amount: bigint): Promise<ContractTransactionResponse>;
|
|
40
|
-
toggleImmediateDepositAllowed(): Promise<ContractTransactionResponse>;
|
|
41
|
-
reduceReserves(to: string): Promise<ContractTransactionResponse>;
|
|
42
|
-
reduceReserves_static(to: string): Promise<TReduceReservesResult>;
|
|
33
|
+
setPoolAccountant(poolAccountant: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
34
|
+
setPnlRole(pnl: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
35
|
+
setMaxExtraWithdrawalAmountF(maxExtra: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
36
|
+
setEpochsDelayDeposit(delay: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
37
|
+
setEpochsDelayRedeem(delay: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
38
|
+
setEpochDuration(duration: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
39
|
+
setMinDepositAmount(amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
40
|
+
toggleImmediateDepositAllowed(transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
41
|
+
reduceReserves(to: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
42
|
+
reduceReserves_static(to: string, callOptions?: CallOptions): Promise<TReduceReservesResult>;
|
|
43
43
|
}
|
|
44
44
|
export interface ILexPoolV1FunctionsGroup_UserDeposits {
|
|
45
|
-
immediateDeposit(depositAmount: bigint, domain: BytesLike, referralCode: BytesLike): Promise<ContractTransactionResponse>;
|
|
46
|
-
requestDeposit(amount: bigint, minAmountOut: bigint, domain: BytesLike, referralCode: BytesLike): Promise<ContractTransactionResponse>;
|
|
47
|
-
requestDepositViaIntent(user: string, amount: bigint, minAmountOut: bigint, domain: BytesLike, referralCode: BytesLike): Promise<ContractTransactionResponse>;
|
|
45
|
+
immediateDeposit(depositAmount: bigint, domain: BytesLike, referralCode: BytesLike, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
46
|
+
requestDeposit(amount: bigint, minAmountOut: bigint, domain: BytesLike, referralCode: BytesLike, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
47
|
+
requestDepositViaIntent(user: string, amount: bigint, minAmountOut: bigint, domain: BytesLike, referralCode: BytesLike, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
48
48
|
}
|
|
49
49
|
export interface ILexPoolV1FunctionsGroup_UserRedeems {
|
|
50
|
-
requestRedeem(amount: bigint, minAmountOut: bigint): Promise<ContractTransactionResponse>;
|
|
51
|
-
requestRedeemViaIntent(user: string, amount: bigint, minAmountOut: bigint): Promise<ContractTransactionResponse>;
|
|
50
|
+
requestRedeem(amount: bigint, minAmountOut: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
51
|
+
requestRedeemViaIntent(user: string, amount: bigint, minAmountOut: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
52
52
|
}
|
|
53
53
|
export interface ILexPoolV1FunctionsGroup_Processing {
|
|
54
|
-
processDeposit(users: string[]): Promise<ContractTransactionResponse>;
|
|
55
|
-
processDeposit_static(users: string[]): Promise<TProcessDepositResult>;
|
|
56
|
-
processRedeems(users: string[]): Promise<ContractTransactionResponse>;
|
|
57
|
-
processRedeems_static(users: string[]): Promise<TProcessRedeemResult>;
|
|
58
|
-
cancelDeposits(users: string[], epochs: bigint[]): Promise<ContractTransactionResponse>;
|
|
59
|
-
cancelRedeems(users: string[], epochs: bigint[]): Promise<ContractTransactionResponse>;
|
|
54
|
+
processDeposit(users: string[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
55
|
+
processDeposit_static(users: string[], callOptions?: CallOptions): Promise<TProcessDepositResult>;
|
|
56
|
+
processRedeems(users: string[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
57
|
+
processRedeems_static(users: string[], callOptions?: CallOptions): Promise<TProcessRedeemResult>;
|
|
58
|
+
cancelDeposits(users: string[], epochs: bigint[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
59
|
+
cancelRedeems(users: string[], epochs: bigint[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
60
60
|
}
|
|
61
61
|
export interface ILexPoolV1FunctionsGroup_EpochManagement {
|
|
62
|
-
nextEpoch(totalUnrealizedPricePnL: bigint): Promise<ContractTransactionResponse>;
|
|
63
|
-
nextEpoch_static(totalUnrealizedPricePnL: bigint): Promise<bigint>;
|
|
62
|
+
nextEpoch(totalUnrealizedPricePnL: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
63
|
+
nextEpoch_static(totalUnrealizedPricePnL: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
64
64
|
}
|
|
65
65
|
export interface ILexPoolV1FunctionsGroup_TradingFloorInteraction {
|
|
66
|
-
sendAssetToTrader(to: string, amount: bigint): Promise<ContractTransactionResponse>;
|
|
66
|
+
sendAssetToTrader(to: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
67
67
|
}
|
|
68
68
|
export interface ILexPoolV1FunctionsGroup_ViewFunctions {
|
|
69
|
-
calcNextEpochStartMin(): Promise<bigint>;
|
|
70
|
-
currentBalanceInternal(): Promise<bigint>;
|
|
71
|
-
underlyingBalanceForExchangeRate(): Promise<bigint>;
|
|
72
|
-
virtualBalanceForUtilization(extraAmount: bigint, unrealizedFunding: bigint): Promise<bigint>;
|
|
73
|
-
virtualBalanceForUtilizationCurrent(): Promise<bigint>;
|
|
74
|
-
currentVirtualUtilization(totalBorrows: bigint, interestShare: bigint, unrealizedFunding: bigint): Promise<bigint>;
|
|
75
|
-
currentVirtualUtilizationSimple(): Promise<bigint>;
|
|
76
|
-
isUtilizationForLPsValid(): Promise<boolean>;
|
|
77
|
-
underlyingAmountToOwnAmount(underlyingAmount: bigint): Promise<bigint>;
|
|
78
|
-
getDepositorsCount(epoch: bigint): Promise<bigint>;
|
|
79
|
-
getRedeemersCount(epoch: bigint): Promise<bigint>;
|
|
80
|
-
getDepositors(epoch: bigint, indexFrom: bigint, count: bigint): Promise<string[]>;
|
|
81
|
-
getRedeemers(epoch: bigint, indexFrom: bigint, count: bigint): Promise<string[]>;
|
|
69
|
+
calcNextEpochStartMin(callOptions?: CallOptions): Promise<bigint>;
|
|
70
|
+
currentBalanceInternal(callOptions?: CallOptions): Promise<bigint>;
|
|
71
|
+
underlyingBalanceForExchangeRate(callOptions?: CallOptions): Promise<bigint>;
|
|
72
|
+
virtualBalanceForUtilization(extraAmount: bigint, unrealizedFunding: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
73
|
+
virtualBalanceForUtilizationCurrent(callOptions?: CallOptions): Promise<bigint>;
|
|
74
|
+
currentVirtualUtilization(totalBorrows: bigint, interestShare: bigint, unrealizedFunding: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
75
|
+
currentVirtualUtilizationSimple(callOptions?: CallOptions): Promise<bigint>;
|
|
76
|
+
isUtilizationForLPsValid(callOptions?: CallOptions): Promise<boolean>;
|
|
77
|
+
underlyingAmountToOwnAmount(underlyingAmount: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
78
|
+
getDepositorsCount(epoch: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
79
|
+
getRedeemersCount(epoch: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
80
|
+
getDepositors(epoch: bigint, indexFrom: bigint, count: bigint, callOptions?: CallOptions): Promise<string[]>;
|
|
81
|
+
getRedeemers(epoch: bigint, indexFrom: bigint, count: bigint, callOptions?: CallOptions): Promise<string[]>;
|
|
82
82
|
}
|
|
83
83
|
export interface ILexPoolV1FunctionsGroup_StateVariables {
|
|
84
|
-
underlyingDecimals(): Promise<bigint>;
|
|
85
|
-
epochDuration(): Promise<bigint>;
|
|
86
|
-
epochsDelayDeposit(): Promise<bigint>;
|
|
87
|
-
epochsDelayRedeem(): Promise<bigint>;
|
|
88
|
-
minDepositAmount(): Promise<bigint>;
|
|
89
|
-
maxExtraWithdrawalAmountF(): Promise<bigint>;
|
|
90
|
-
immediateDepositAllowed(): Promise<boolean>;
|
|
91
|
-
currentEpoch(): Promise<bigint>;
|
|
92
|
-
nextEpochStartMin(): Promise<bigint>;
|
|
93
|
-
currentExchangeRate(): Promise<bigint>;
|
|
94
|
-
pendingDepositAmount(): Promise<bigint>;
|
|
95
|
-
pendingWithdrawalAmount(): Promise<bigint>;
|
|
96
|
-
pendingDeposits(epoch: bigint, user: string): Promise<TPendingDeposit>;
|
|
97
|
-
pendingRedeems(epoch: bigint, user: string): Promise<TPendingRedeem>;
|
|
98
|
-
poolAccountant(): Promise<string>;
|
|
99
|
-
pnlRole(): Promise<string>;
|
|
100
|
-
underlying(): Promise<string>;
|
|
101
|
-
registry(): Promise<string>;
|
|
102
|
-
tradingFloor(): Promise<string>;
|
|
84
|
+
underlyingDecimals(callOptions?: CallOptions): Promise<bigint>;
|
|
85
|
+
epochDuration(callOptions?: CallOptions): Promise<bigint>;
|
|
86
|
+
epochsDelayDeposit(callOptions?: CallOptions): Promise<bigint>;
|
|
87
|
+
epochsDelayRedeem(callOptions?: CallOptions): Promise<bigint>;
|
|
88
|
+
minDepositAmount(callOptions?: CallOptions): Promise<bigint>;
|
|
89
|
+
maxExtraWithdrawalAmountF(callOptions?: CallOptions): Promise<bigint>;
|
|
90
|
+
immediateDepositAllowed(callOptions?: CallOptions): Promise<boolean>;
|
|
91
|
+
currentEpoch(callOptions?: CallOptions): Promise<bigint>;
|
|
92
|
+
nextEpochStartMin(callOptions?: CallOptions): Promise<bigint>;
|
|
93
|
+
currentExchangeRate(callOptions?: CallOptions): Promise<bigint>;
|
|
94
|
+
pendingDepositAmount(callOptions?: CallOptions): Promise<bigint>;
|
|
95
|
+
pendingWithdrawalAmount(callOptions?: CallOptions): Promise<bigint>;
|
|
96
|
+
pendingDeposits(epoch: bigint, user: string, callOptions?: CallOptions): Promise<TPendingDeposit>;
|
|
97
|
+
pendingRedeems(epoch: bigint, user: string, callOptions?: CallOptions): Promise<TPendingRedeem>;
|
|
98
|
+
poolAccountant(callOptions?: CallOptions): Promise<string>;
|
|
99
|
+
pnlRole(callOptions?: CallOptions): Promise<string>;
|
|
100
|
+
underlying(callOptions?: CallOptions): Promise<string>;
|
|
101
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
102
|
+
tradingFloor(callOptions?: CallOptions): Promise<string>;
|
|
103
103
|
}
|
|
104
104
|
export interface ILexPoolV1FunctionsGroup_ERC20 {
|
|
105
|
-
name(): Promise<string>;
|
|
106
|
-
symbol(): Promise<string>;
|
|
107
|
-
decimals(): Promise<bigint>;
|
|
108
|
-
totalSupply(): Promise<bigint>;
|
|
109
|
-
balanceOf(account: string): Promise<bigint>;
|
|
110
|
-
allowance(owner: string, spender: string): Promise<bigint>;
|
|
111
|
-
transfer(to: string, amount: bigint): Promise<ContractTransactionResponse>;
|
|
112
|
-
transferFrom(from: string, to: string, amount: bigint): Promise<ContractTransactionResponse>;
|
|
113
|
-
approve(spender: string, amount: bigint): Promise<ContractTransactionResponse>;
|
|
105
|
+
name(callOptions?: CallOptions): Promise<string>;
|
|
106
|
+
symbol(callOptions?: CallOptions): Promise<string>;
|
|
107
|
+
decimals(callOptions?: CallOptions): Promise<bigint>;
|
|
108
|
+
totalSupply(callOptions?: CallOptions): Promise<bigint>;
|
|
109
|
+
balanceOf(account: string, callOptions?: CallOptions): Promise<bigint>;
|
|
110
|
+
allowance(owner: string, spender: string, callOptions?: CallOptions): Promise<bigint>;
|
|
111
|
+
transfer(to: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
112
|
+
transferFrom(from: string, to: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
113
|
+
approve(spender: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
114
114
|
}
|
|
115
115
|
export interface ILexPoolV1FunctionsGroup_Constants extends IProtocolConstants {
|
|
116
|
-
SELF_UNIT_SCALE(): Promise<bigint>;
|
|
116
|
+
SELF_UNIT_SCALE(callOptions?: CallOptions): Promise<bigint>;
|
|
117
117
|
}
|
|
118
118
|
export interface ILexPoolV1FunctionsGroup_ContractInfo {
|
|
119
|
-
admin(): Promise<string>;
|
|
120
|
-
pendingAdmin(): Promise<string>;
|
|
121
|
-
implementation(): Promise<string>;
|
|
122
|
-
pendingImplementation(): Promise<string>;
|
|
119
|
+
admin(callOptions?: CallOptions): Promise<string>;
|
|
120
|
+
pendingAdmin(callOptions?: CallOptions): Promise<string>;
|
|
121
|
+
implementation(callOptions?: CallOptions): Promise<string>;
|
|
122
|
+
pendingImplementation(callOptions?: CallOptions): Promise<string>;
|
|
123
123
|
}
|
|
124
124
|
export interface ILexPoolV1Service {
|
|
125
125
|
initialization: ILexPoolV1FunctionsGroup_Initialization;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILexPoolV1Service.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"ILexPoolV1Service.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAC/D,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAG/E,MAAM,WAAW,qBAAqB;IACpC,eAAe,EAAE,MAAM,CAAA;IACvB,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;IACxB,eAAe,EAAE,MAAM,CAAA;CACxB;AAED,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,MAAM,CAAA;IACtB,cAAc,EAAE,MAAM,CAAA;IACtB,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,MAAM,CAAA;CACxB;AAED,MAA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AAA;IACzD,uBAAuB,EAAE,gDAAgD,CAAA;IACzE,aAAa,EAAE,sCAAsC,CAAA;IACrD,cAAc,EAAE,uCAAuC,CAAA;IACvD,KAAK,EAAE,8BAA8B,CAAA;IACrC,SAAS,EAAE,kCAAkC,CAAA;IAC7C,YAAY,EAAE,qCAAqC,CAAA;CACpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LexPoolV1Service.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAa,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"LexPoolV1Service.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAa,MAAM,QAAQ,CAAA;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,sDAAsD,CAAA;AAEhF,OAAO,EACL,iBAAiB,EACjB,uCAAuC,EACvC,2CAA2C,EAC3C,qCAAqC,EACrC,oCAAoC,EACpC,mCAAmC,EACnC,wCAAwC,EACxC,gDAAgD,EAChD,sCAAsC,EACtC,uCAAuC,EACvC,8BAA8B,EAC9B,kCAAkC,EAClC,qCAAqC,EAMtC,MAAM,qBAAqB,CAAA;AA8M5B,qBAAa,gBAAiB,YAAW,iBAAiB;IACxD,OAAO,CAAC,eAAe,CAAY;IAE5B,cAAc,EAAE,uCAAuC,CAAC;IACxD,kBAAkB,EAAE,2CAA2C,CAAC;IAChE,YAAY,EAAE,qCAAqC,CAAC;IACpD,WAAW,EAAE,oCAAoC,CAAC;IAClD,UAAU,EAAE,mCAAmC,CAAC;IAChD,eAAe,EAAE,wCAAwC,CAAC;IAC1D,uBAAuB,EAAE,gDAAgD,CAAC;IAC1E,aAAa,EAAE,sCAAsC,CAAC;IACtD,cAAc,EAAE,uCAAuC,CAAC;IACxD,KAAK,EAAE,8BAA8B,CAAC;IACtC,SAAS,EAAE,kCAAkC,CAAC;IAC9C,YAAY,EAAE,qCAAqC,CAAC;gBAE/C,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAmChE,WAAW,IAAI,SAAS;IAIxB,OAAO,CAAC,wBAAwB;IAyChC,OAAO,CAAC,yBAAyB;IAyDjC,OAAO,CAAC,gBAAgB;IAiBxB,OAAO,CAAC,oBAAoB;IAS5B,OAAO,CAAC,uBAAuB;CAQhC"}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { LiquidityIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
|
|
2
|
+
import { CallOptions, TransactionOptions } from "../common";
|
|
2
3
|
export interface ILiquidityIntentsVerifierService {
|
|
3
|
-
domainSeparatorForAsset(pool: string): Promise<string>;
|
|
4
|
-
domainSeparatorForChain(chainId: bigint): Promise<string>;
|
|
5
|
-
intentsPermissions(user: string): Promise<string>;
|
|
6
|
-
setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
|
|
7
|
-
interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint): Promise<void>;
|
|
8
|
-
interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint): Promise<void>;
|
|
9
|
-
verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint): Promise<void>;
|
|
10
|
-
verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
11
|
-
sourceChainIdForAsset(asset: string): Promise<bigint>;
|
|
12
|
-
processedSignatures(signature: string): Promise<boolean>;
|
|
13
|
-
admin(): Promise<string>;
|
|
14
|
-
pendingAdmin(): Promise<string>;
|
|
15
|
-
registry(): Promise<string>;
|
|
4
|
+
domainSeparatorForAsset(pool: string, callOptions?: CallOptions): Promise<string>;
|
|
5
|
+
domainSeparatorForChain(chainId: bigint, callOptions?: CallOptions): Promise<string>;
|
|
6
|
+
intentsPermissions(user: string, callOptions?: CallOptions): Promise<string>;
|
|
7
|
+
setIntentsPermissions(oftChip: string, dynAddressSuffix: string, transactionOptions?: TransactionOptions): Promise<void>;
|
|
8
|
+
interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
9
|
+
interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
10
|
+
verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
11
|
+
verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
12
|
+
sourceChainIdForAsset(asset: string, callOptions?: CallOptions): Promise<bigint>;
|
|
13
|
+
processedSignatures(signature: string, callOptions?: CallOptions): Promise<boolean>;
|
|
14
|
+
admin(callOptions?: CallOptions): Promise<string>;
|
|
15
|
+
pendingAdmin(callOptions?: CallOptions): Promise<string>;
|
|
16
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
16
17
|
}
|
|
17
18
|
//# sourceMappingURL=ILiquidityIntentsVerifierService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ILiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA;
|
|
1
|
+
{"version":3,"file":"ILiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA;AACtH,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE3D,MAAM,WAAW,gCAAgC;IAE/C,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,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,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAGxH,6BAA6B,CAC3B,IAAI,EAAE,MAAM,EACZ,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,KAAK,CAAC,EAAE,MAAM,EACd,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,IAAI,CAAC,CAAA;IAGhB,4BAA4B,CAC1B,IAAI,EAAE,MAAM,EACZ,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,KAAK,CAAC,EAAE,MAAM,EACd,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,IAAI,CAAC,CAAA;IAGhB,yBAAyB,CACvB,OAAO,EAAE,0BAA0B,CAAC,kDAAkD,EACtF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,KAAK,CAAC,EAAE,MAAM,EACd,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,wBAAwB,CACtB,OAAO,EAAE,0BAA0B,CAAC,iDAAiD,EACrF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,EACd,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,IAAI,CAAC,CAAA;IAGhB,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,23 +1,24 @@
|
|
|
1
1
|
import { Provider, Signer } from "ethers";
|
|
2
2
|
import { LiquidityIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
|
|
3
3
|
import { ILiquidityIntentsVerifierService } from "./ILiquidityIntentsVerifierService";
|
|
4
|
+
import { CallOptions, TransactionOptions } from "../common";
|
|
4
5
|
export declare class LiquidityIntentsVerifierService implements ILiquidityIntentsVerifierService {
|
|
5
6
|
private readonly contract;
|
|
6
7
|
private readonly isSigner;
|
|
7
8
|
constructor(signerOrProvider: Signer | Provider, address: string);
|
|
8
|
-
domainSeparatorForAsset(pool: string): Promise<string>;
|
|
9
|
-
domainSeparatorForChain(chainId: bigint): Promise<string>;
|
|
10
|
-
intentsPermissions(user: string): Promise<string>;
|
|
11
|
-
setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
|
|
12
|
-
interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint): Promise<void>;
|
|
13
|
-
interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint): Promise<void>;
|
|
14
|
-
verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint): Promise<void>;
|
|
15
|
-
verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
16
|
-
admin(): Promise<string>;
|
|
17
|
-
pendingAdmin(): Promise<string>;
|
|
18
|
-
registry(): Promise<string>;
|
|
19
|
-
sourceChainIdForAsset(asset: string): Promise<bigint>;
|
|
20
|
-
processedSignatures(signature: string): Promise<boolean>;
|
|
9
|
+
domainSeparatorForAsset(pool: string, callOptions?: CallOptions): Promise<string>;
|
|
10
|
+
domainSeparatorForChain(chainId: bigint, callOptions?: CallOptions): Promise<string>;
|
|
11
|
+
intentsPermissions(user: string, callOptions?: CallOptions): Promise<string>;
|
|
12
|
+
setIntentsPermissions(oftChip: string, dynAddressSuffix: string, transactionOptions?: TransactionOptions): Promise<void>;
|
|
13
|
+
interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
14
|
+
interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
15
|
+
verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
16
|
+
verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
17
|
+
admin(callOptions?: CallOptions): Promise<string>;
|
|
18
|
+
pendingAdmin(callOptions?: CallOptions): Promise<string>;
|
|
19
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
20
|
+
sourceChainIdForAsset(asset: string, callOptions?: CallOptions): Promise<bigint>;
|
|
21
|
+
processedSignatures(signature: string, callOptions?: CallOptions): Promise<boolean>;
|
|
21
22
|
getContract(): LiquidityIntentsVerifierV1;
|
|
22
23
|
}
|
|
23
24
|
//# sourceMappingURL=LiquidityIntentsVerifierService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA;AAEtH,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;
|
|
1
|
+
{"version":3,"file":"LiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA;AAEtH,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AACrF,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AAE3D,qBAAa,+BAAgC,YAAW,gCAAgC;IACtF,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAA4B;IACrD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAEtB,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAK1D,uBAAuB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjF,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIpF,kBAAkB,CAAC,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAI5E,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAQxH,6BAA6B,CACjC,IAAI,EAAE,MAAM,EACZ,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,KAAK,CAAC,EAAE,MAAM,EACd,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,IAAI,CAA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,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 PermissionInfo {
|
|
4
4
|
amountLimit: bigint;
|
|
5
5
|
amountUsed: bigint;
|
|
@@ -25,47 +25,47 @@ export interface PermissionSettingPayload {
|
|
|
25
25
|
duration: bigint;
|
|
26
26
|
}
|
|
27
27
|
export interface IOnBehalfTradingFunctionsGroup_PermissionQueries {
|
|
28
|
-
isPermissionValid(owner: string, spender: string, token: string): Promise<boolean>;
|
|
29
|
-
getRemainingAmount(owner: string, spender: string, token: string): Promise<bigint>;
|
|
30
|
-
getPermission(owner: string, spender: string, token: string): Promise<PermissionInfo>;
|
|
31
|
-
permanentlyRevoked(owner: string, spender: string): Promise<boolean>;
|
|
32
|
-
hasActivePermissions(owner: string): Promise<boolean>;
|
|
33
|
-
getActivePermissionCount(owner: string): Promise<bigint>;
|
|
34
|
-
getActiveSpenders(owner: string): Promise<string[]>;
|
|
35
|
-
getActiveTokensForSpender(owner: string, spender: string): Promise<string[]>;
|
|
36
|
-
getAllActivePermissions(owner: string): Promise<AllActivePermissionsResult>;
|
|
37
|
-
requirePermission(owner: string, spender: string, token: string): Promise<void>;
|
|
28
|
+
isPermissionValid(owner: string, spender: string, token: string, callOptions?: CallOptions): Promise<boolean>;
|
|
29
|
+
getRemainingAmount(owner: string, spender: string, token: string, callOptions?: CallOptions): Promise<bigint>;
|
|
30
|
+
getPermission(owner: string, spender: string, token: string, callOptions?: CallOptions): Promise<PermissionInfo>;
|
|
31
|
+
permanentlyRevoked(owner: string, spender: string, callOptions?: CallOptions): Promise<boolean>;
|
|
32
|
+
hasActivePermissions(owner: string, callOptions?: CallOptions): Promise<boolean>;
|
|
33
|
+
getActivePermissionCount(owner: string, callOptions?: CallOptions): Promise<bigint>;
|
|
34
|
+
getActiveSpenders(owner: string, callOptions?: CallOptions): Promise<string[]>;
|
|
35
|
+
getActiveTokensForSpender(owner: string, spender: string, callOptions?: CallOptions): Promise<string[]>;
|
|
36
|
+
getAllActivePermissions(owner: string, callOptions?: CallOptions): Promise<AllActivePermissionsResult>;
|
|
37
|
+
requirePermission(owner: string, spender: string, token: string, callOptions?: CallOptions): Promise<void>;
|
|
38
38
|
}
|
|
39
39
|
export interface IOnBehalfTradingFunctionsGroup_PermissionManagement {
|
|
40
|
-
grantPermission(spender: string, token: string, amountLimit: bigint, duration: bigint): Promise<void>;
|
|
41
|
-
revokePermission(spender: string, token: string): Promise<void>;
|
|
42
|
-
revokeAllPermissions(spender: string): Promise<void>;
|
|
43
|
-
chargePermission(owner: string, spender: string, token: string, amount: bigint): Promise<void>;
|
|
44
|
-
setPermissions(payloads: PermissionSettingPayload[]): Promise<ContractTransactionResponse>;
|
|
40
|
+
grantPermission(spender: string, token: string, amountLimit: bigint, duration: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
41
|
+
revokePermission(spender: string, token: string, transactionOptions?: TransactionOptions): Promise<void>;
|
|
42
|
+
revokeAllPermissions(spender: string, transactionOptions?: TransactionOptions): Promise<void>;
|
|
43
|
+
chargePermission(owner: string, spender: string, token: string, amount: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
44
|
+
setPermissions(payloads: PermissionSettingPayload[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
45
45
|
}
|
|
46
46
|
export interface IOnBehalfTradingFunctionsGroup_Configuration {
|
|
47
|
-
isPaused(): Promise<boolean>;
|
|
48
|
-
maxPermissionDuration(): Promise<bigint>;
|
|
49
|
-
maxPermissionAmountPerToken(token: string): Promise<bigint>;
|
|
50
|
-
getContractConfiguration(tokensToQuery: string[]): Promise<ContractConfiguration>;
|
|
47
|
+
isPaused(callOptions?: CallOptions): Promise<boolean>;
|
|
48
|
+
maxPermissionDuration(callOptions?: CallOptions): Promise<bigint>;
|
|
49
|
+
maxPermissionAmountPerToken(token: string, callOptions?: CallOptions): Promise<bigint>;
|
|
50
|
+
getContractConfiguration(tokensToQuery: string[], callOptions?: CallOptions): Promise<ContractConfiguration>;
|
|
51
51
|
}
|
|
52
52
|
export interface IOnBehalfTradingFunctionsGroup_AdminFunctions {
|
|
53
|
-
setMaxPermissionDuration(maxDuration: bigint): Promise<void>;
|
|
54
|
-
setMaxPermissionAmountForToken(token: string, maxAmount: bigint): Promise<void>;
|
|
55
|
-
setMaxPermissionAmountsForTokens(tokens: string[], maxAmounts: bigint[]): Promise<void>;
|
|
56
|
-
togglePause(): Promise<void>;
|
|
57
|
-
setDynamicRoleCaller(caller: string, roleName: string): Promise<void>;
|
|
58
|
-
setDynamicRoleCallers(callers: string[], roleNames: string[]): Promise<void>;
|
|
59
|
-
adminRevokeSpecificPermission(owner: string, spender: string, token: string): Promise<ContractTransactionResponse>;
|
|
60
|
-
adminBatchRevokeSpecificPermissions(owners: string[], spenders: string[], tokens: string[]): Promise<ContractTransactionResponse>;
|
|
61
|
-
adminRevokeAllPermissionsFromOwner(owner: string, spender: string): Promise<ContractTransactionResponse>;
|
|
62
|
-
adminPermanentlyRevokeSpender(owner: string, spender: string): Promise<ContractTransactionResponse>;
|
|
63
|
-
setPendingAdmin(newPendingAdmin: string): Promise<void>;
|
|
64
|
-
acceptAdmin(): Promise<void>;
|
|
53
|
+
setMaxPermissionDuration(maxDuration: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
54
|
+
setMaxPermissionAmountForToken(token: string, maxAmount: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
55
|
+
setMaxPermissionAmountsForTokens(tokens: string[], maxAmounts: bigint[], transactionOptions?: TransactionOptions): Promise<void>;
|
|
56
|
+
togglePause(transactionOptions?: TransactionOptions): Promise<void>;
|
|
57
|
+
setDynamicRoleCaller(caller: string, roleName: string, transactionOptions?: TransactionOptions): Promise<void>;
|
|
58
|
+
setDynamicRoleCallers(callers: string[], roleNames: string[], transactionOptions?: TransactionOptions): Promise<void>;
|
|
59
|
+
adminRevokeSpecificPermission(owner: string, spender: string, token: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
60
|
+
adminBatchRevokeSpecificPermissions(owners: string[], spenders: string[], tokens: string[], transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
61
|
+
adminRevokeAllPermissionsFromOwner(owner: string, spender: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
62
|
+
adminPermanentlyRevokeSpender(owner: string, spender: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
63
|
+
setPendingAdmin(newPendingAdmin: string, transactionOptions?: TransactionOptions): Promise<void>;
|
|
64
|
+
acceptAdmin(transactionOptions?: TransactionOptions): Promise<void>;
|
|
65
65
|
}
|
|
66
66
|
export interface IOnBehalfTradingFunctionsGroup_ContractReferences {
|
|
67
|
-
registry(): Promise<string>;
|
|
68
|
-
dynamicRoleCallers(address: string): Promise<string>;
|
|
67
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
68
|
+
dynamicRoleCallers(address: string, callOptions?: CallOptions): Promise<string>;
|
|
69
69
|
}
|
|
70
70
|
export interface IOnBehalfTradingService {
|
|
71
71
|
permissionQueries: IOnBehalfTradingFunctionsGroup_PermissionQueries;
|
package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IOnBehalfTradingService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.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":"IOnBehalfTradingService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/OnBehalfTradingService/IOnBehal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AW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAErD,kBAAkB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACjF;AAID,MAAM,WAAW,uBAAuB;IACtC,iBAAiB,EAAE,gDAAgD,CAAC;IACpE,oBAAoB,EAAE,mDAAmD,CAAC;IAC1E,aAAa,EAAE,4CAA4C,CAAC;IAC5D,cAAc,EAAE,6CAA6C,CAAC;IAC9D,kBAAkB,EAAE,iDAAiD,CAAC;IACtE,aAAa,EAAE,cAAc,CAAC;IAC9B,qBAAqB,EAAE,sBAAsB,CAAC;CAC/C"}
|
package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OnBehalfTradingService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kEAAkE,CAAC;AAErG,OAAO,EACL,uBAAuB,EACvB,gDAAgD,EAChD,mDAAmD,EACnD,4CAA4C,EAC5C,6CAA6C,EAC7C,iDAAiD,EAKlD,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"OnBehalfTradingService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,kEAAkE,CAAC;AAErG,OAAO,EACL,uBAAuB,EACvB,gDAAgD,EAChD,mDAAmD,EACnD,4CAA4C,EAC5C,6CAA6C,EAC7C,iDAAiD,EAKlD,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAmC,MAAM,WAAW,CAAC;AAkapG;;;GAGG;AACH,qBAAa,sBAAuB,YAAW,uBAAuB;IACpE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAoB;IAC7C,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAU;IAEnC,SAAgB,iBAAiB,EAAE,gDAAgD,CAAC;IACpF,SAAgB,oBAAoB,EAAE,mDAAmD,CAAC;IAC1F,SAAgB,aAAa,EAAE,4CAA4C,CAAC;IAC5E,SAAgB,cAAc,EAAE,6CAA6C,CAAC;IAC9E,SAAgB,kBAAkB,EAAE,iDAAiD,CAAC;IACtF,SAAgB,aAAa,EAAE,cAAc,CAAC;IAC9C,SAAgB,qBAAqB,EAAE,sBAAsB,CAAC;gBAElD,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAoBhE,WAAW,IAAI,iBAAiB;CAGjC"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { BytesLike, BigNumberish, AddressLike, ContractTransactionResponse } from "ethers";
|
|
2
2
|
import { OrderBookStructsV1 } from "../../typechain/contracts/Lynx/OrderBook/OrderBookV1";
|
|
3
3
|
import { TSafeBigNumberStruct } from "../../utils/ethersTypes";
|
|
4
|
-
import { IPendableAdmin, IPendableImplementation, IProtocolConstants } from "../common";
|
|
4
|
+
import { IPendableAdmin, IPendableImplementation, IProtocolConstants, TransactionOptions, CallOptions } from "../common";
|
|
5
5
|
type UpdatePositionFieldOrderStruct = OrderBookStructsV1.UpdatePositionFieldOrderStruct;
|
|
6
6
|
export type TUpdatePositionFieldOrderStruct = TSafeBigNumberStruct<UpdatePositionFieldOrderStruct>;
|
|
7
7
|
export interface IOrderBookFunctionsGroup_OrderManagement {
|
|
8
|
-
getAllPendingUpdateOrderIds(): Promise<string[]>;
|
|
9
|
-
allPendingUpdateOrderIds(index: BigNumberish): Promise<string>;
|
|
10
|
-
pendingUpdateTradeFieldOrdersById(positionId: BytesLike): Promise<TUpdatePositionFieldOrderStruct>;
|
|
11
|
-
readAndDeleteUpdatePositionOrder(positionId: BytesLike): Promise<ContractTransactionResponse>;
|
|
12
|
-
storeUpdatePositionDoubleFieldOrder(positionId: BytesLike, orderType: BigNumberish, fieldValueA: BigNumberish, fieldValueB: BigNumberish): Promise<ContractTransactionResponse>;
|
|
13
|
-
storeUpdatePositionSingleFieldOrder(positionId: BytesLike, orderType: BigNumberish, fieldValue: BigNumberish): Promise<ContractTransactionResponse>;
|
|
14
|
-
updateOrderIdPositionInList(positionId: BytesLike): Promise<bigint>;
|
|
8
|
+
getAllPendingUpdateOrderIds(callOptions?: CallOptions): Promise<string[]>;
|
|
9
|
+
allPendingUpdateOrderIds(index: BigNumberish, callOptions?: CallOptions): Promise<string>;
|
|
10
|
+
pendingUpdateTradeFieldOrdersById(positionId: BytesLike, callOptions?: CallOptions): Promise<TUpdatePositionFieldOrderStruct>;
|
|
11
|
+
readAndDeleteUpdatePositionOrder(positionId: BytesLike, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
12
|
+
storeUpdatePositionDoubleFieldOrder(positionId: BytesLike, orderType: BigNumberish, fieldValueA: BigNumberish, fieldValueB: BigNumberish, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
13
|
+
storeUpdatePositionSingleFieldOrder(positionId: BytesLike, orderType: BigNumberish, fieldValue: BigNumberish, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
14
|
+
updateOrderIdPositionInList(positionId: BytesLike, callOptions?: CallOptions): Promise<bigint>;
|
|
15
15
|
}
|
|
16
16
|
export interface IOrderBookFunctionsGroup_ContractReferences {
|
|
17
|
-
registry(): Promise<string>;
|
|
18
|
-
tradingFloor(): Promise<string>;
|
|
17
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
18
|
+
tradingFloor(callOptions?: CallOptions): Promise<string>;
|
|
19
19
|
}
|
|
20
20
|
export interface IOrderBookFunctionsGroup_Administration {
|
|
21
|
-
setTradingFloor(tradingFloor: AddressLike): Promise<ContractTransactionResponse>;
|
|
22
|
-
_become(orderBookProxy: AddressLike): Promise<ContractTransactionResponse>;
|
|
21
|
+
setTradingFloor(tradingFloor: AddressLike, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
22
|
+
_become(orderBookProxy: AddressLike, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
23
23
|
}
|
|
24
24
|
export interface IOrderBookFunctionsGroup_Constants extends IProtocolConstants {
|
|
25
|
-
ACCURACY_IMPROVEMENT_SCALE(): Promise<bigint>;
|
|
25
|
+
ACCURACY_IMPROVEMENT_SCALE(callOptions?: CallOptions): Promise<bigint>;
|
|
26
26
|
}
|
|
27
27
|
export interface IOrderBookService {
|
|
28
28
|
orderManagement: IOrderBookFunctionsGroup_OrderManagement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IOrderBookService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/OrderBookService/IOrderBookService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AAC3F,OAAO,EAAE,kBAAkB,EAAE,MAAM,sDAAsD,CAAC;AAC1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"IOrderBookService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/OrderBookService/IOrderBookService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,WAAW,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAC;AAC3F,OA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M,WAAW,2CAA2C;IAC1D,QAAQ,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACrD,YAAY,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CAC1D;AAED,MAAM,WAAW,uCAAuC;IACtD,eAAe,CAAC,YAAY,EAAE,WAAW,EAAE,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAC1H,OAAO,CAAC,cAAc,EAAE,WAAW,EAAE,kBAAkB,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACrH;AAED,MAAM,WAAW,kCAAmC,SAAQ,kBAAkB;IAG5E,0BAA0B,CAAC,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACxE;AAED,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,wCAAwC,CAAC;IAC1D,kBAAkB,EAAE,2CAA2C,CAAC;IAChE,aAAa,EAAE,cAAc,CAAC;IAC9B,sBAAsB,EAAE,uBAAuB,CAAC;IAChD,cAAc,EAAE,uCAAuC,CAAC;IACxD,SAAS,EAAE,kCAAkC,CAAC;CAC/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OrderBookService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/OrderBookService/OrderBookService.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,QAAQ,EAKT,MAAM,QAAQ,CAAC;AAEhB,OAAO,EAAE,WAAW,EAAsB,MAAM,sDAAsD,CAAC;AAEvG,OAAO,EACL,iBAAiB,EACjB,wCAAwC,EACxC,2CAA2C,EAC3C,uCAAuC,EACvC,kCAAkC,EAEnC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"OrderBookService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/OrderBookService/OrderBookService.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,QAAQ,EAKT,MAAM,QAAQ,CAAC;AAEhB,OAAO,EAAE,WAAW,EAAsB,MAAM,sDAAsD,CAAC;AAEvG,OAAO,EACL,iBAAiB,EACjB,wCAAwC,EACxC,2CAA2C,EAC3C,uCAAuC,EACvC,kCAAkC,EAEnC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAmC,MAAM,WAAW,CAAC;AAwIrG,qBAAa,gBAAiB,YAAW,iBAAiB;IAWtD,OAAO,CAAC,gBAAgB;IAV1B,OAAO,CAAC,iBAAiB,CAAc;IACvC,SAAgB,eAAe,EAAE,wCAAwC,CAAC;IAC1E,SAAgB,kBAAkB,EAAE,2CAA2C,CAAC;IAChF,SAAgB,aAAa,EAAE,cAAc,CAAC;IAC9C,SAAgB,sBAAsB,EAAE,uBAAuB,CAAC;IAChE,SAAgB,cAAc,EAAE,uCAAuC,CAAC;IACxE,SAAgB,SAAS,EAAE,kCAAkC,CAAC;gBAG5D,OAAO,EAAE,MAAM,EACP,gBAAgB,EAAE,MAAM,GAAG,QAAQ;IAe7C,WAAW,IAAI,WAAW;CAG3B"}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { ContractTransactionResponse } from "ethers";
|
|
2
2
|
import { PairPriceStruct } from "../../typechain/contracts/Lynx/Lex/PNLR/PNLR";
|
|
3
|
-
import { ILynxVersionedContract, IPendableAdmin } from "../common";
|
|
3
|
+
import { ILynxVersionedContract, IPendableAdmin, TransactionOptions, CallOptions } from "../common";
|
|
4
4
|
export type TPairPriceStruct = PairPriceStruct;
|
|
5
5
|
export interface IPNLRFunctionsGroup_EpochManagement {
|
|
6
|
-
advanceEpoch(pool: string, pairsPrices: TPairPriceStruct[], value?: bigint): Promise<ContractTransactionResponse>;
|
|
7
|
-
advanceEpochAllowMissingZeroOI(pool: string, pairsPrices: TPairPriceStruct[], value?: bigint): Promise<ContractTransactionResponse>;
|
|
6
|
+
advanceEpoch(pool: string, pairsPrices: TPairPriceStruct[], value?: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
7
|
+
advanceEpochAllowMissingZeroOI(pool: string, pairsPrices: TPairPriceStruct[], value?: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
8
8
|
}
|
|
9
9
|
export interface IPNLRFunctionsGroup_PnLCalculation {
|
|
10
|
-
calculateUnrealizedPricePnl(poolAccountant: string, pairsPrices: TPairPriceStruct[], value?: bigint): Promise<bigint>;
|
|
11
|
-
calculateUnrealizedPricePnlAllowMissingZeroOI(poolAccountant: string, pairsPrices: TPairPriceStruct[], value?: bigint): Promise<bigint>;
|
|
12
|
-
pairsTradersPricePnl(poolAccountant: string, pairsPrices: TPairPriceStruct[], value?: bigint): Promise<bigint>;
|
|
13
|
-
pairsTradersPricePnlWithMissingPairs(poolAccountant: string, pairsPrices: TPairPriceStruct[], allowMissingZeroOI: boolean, value?: bigint): Promise<bigint>;
|
|
10
|
+
calculateUnrealizedPricePnl(poolAccountant: string, pairsPrices: TPairPriceStruct[], value?: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
11
|
+
calculateUnrealizedPricePnlAllowMissingZeroOI(poolAccountant: string, pairsPrices: TPairPriceStruct[], value?: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
12
|
+
pairsTradersPricePnl(poolAccountant: string, pairsPrices: TPairPriceStruct[], value?: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
13
|
+
pairsTradersPricePnlWithMissingPairs(poolAccountant: string, pairsPrices: TPairPriceStruct[], allowMissingZeroOI: boolean, value?: bigint, callOptions?: CallOptions): Promise<bigint>;
|
|
14
14
|
}
|
|
15
15
|
export interface IPNLRFunctionsGroup_PermissionManagement {
|
|
16
|
-
allowEpochAdvancingAccount(account: string): Promise<ContractTransactionResponse>;
|
|
17
|
-
disallowEpochAdvancingAccount(account: string): Promise<ContractTransactionResponse>;
|
|
18
|
-
isAllowedToTrigger(account: string): Promise<boolean>;
|
|
19
|
-
getAllTriggerPermissionedAccounts(): Promise<string[]>;
|
|
16
|
+
allowEpochAdvancingAccount(account: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
17
|
+
disallowEpochAdvancingAccount(account: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
18
|
+
isAllowedToTrigger(account: string, callOptions?: CallOptions): Promise<boolean>;
|
|
19
|
+
getAllTriggerPermissionedAccounts(callOptions?: CallOptions): Promise<string[]>;
|
|
20
20
|
}
|
|
21
21
|
export interface IPNLRFunctionsGroup_Configuration {
|
|
22
|
-
maxPriceDelay(): Promise<bigint>;
|
|
23
|
-
setMaxPriceDelay(delay: bigint): Promise<ContractTransactionResponse>;
|
|
24
|
-
priceValidator(): Promise<string>;
|
|
25
|
-
priceValidatorType(): Promise<bigint>;
|
|
22
|
+
maxPriceDelay(callOptions?: CallOptions): Promise<bigint>;
|
|
23
|
+
setMaxPriceDelay(delay: bigint, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
24
|
+
priceValidator(callOptions?: CallOptions): Promise<string>;
|
|
25
|
+
priceValidatorType(callOptions?: CallOptions): Promise<bigint>;
|
|
26
26
|
}
|
|
27
27
|
export interface IPNLRFunctionsGroup_AdminManagement {
|
|
28
|
-
_setPendingAdmin(newPendingAdmin: string): Promise<ContractTransactionResponse>;
|
|
29
|
-
_acceptAdmin(): Promise<ContractTransactionResponse>;
|
|
28
|
+
_setPendingAdmin(newPendingAdmin: string, transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
29
|
+
_acceptAdmin(transactionOptions?: TransactionOptions): Promise<ContractTransactionResponse>;
|
|
30
30
|
}
|
|
31
31
|
export type IPNLRFunctionsGroup_LynxVersionedContract = ILynxVersionedContract;
|
|
32
32
|
export interface IPNLRService {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPNLRService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/PNLRService/IPNLRService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAA;AAC9E,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"IPNLRService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/PNLRService/IPNLRService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,QAAQ,CAAA;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAA;AAC9E,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAEnG,MAAM,MAAM,gBAAgB,GAAG,eAAe,CAAA;AAE9C,MAAM,WAAW,mCAAmC;IAClD,YAAY,CACV,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,gBAAgB,EAAE,EAC/B,KAAK,CAAC,EAAE,MAAM,EACd,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,2BAA2B,CAAC,CAAA;IAEvC,8BAA8B,CAC5B,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,gBAAgB,EAAE,EAC/B,KAAK,CAAC,EAAE,MAAM,EACd,kBAAkB,CAAC,EAAE,kBAAkB,GACtC,OAAO,CAAC,2BAA2B,CAAC,CAAA;CACxC;AAED,MAAM,WAAW,kCAAkC;IAEjD,2BAA2B,CACzB,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,gBAAgB,EAAE,EAC/B,KAAK,CAAC,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,MAAM,CAAC,CAAA;IAElB,6CAA6C,CAC3C,cAAc,EAA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