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
package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/PoolAccountantV1Service.js
CHANGED
|
@@ -8,38 +8,38 @@ class PoolAccountantV1FunctionsGroup_TradeUtilities {
|
|
|
8
8
|
constructor(contract) {
|
|
9
9
|
this.contract = contract;
|
|
10
10
|
}
|
|
11
|
-
async adjustClosePrice(closePrice, tp, long) {
|
|
12
|
-
return this.contract.adjustClosePrice(closePrice, tp, long);
|
|
11
|
+
async adjustClosePrice(closePrice, tp, long, callOptions) {
|
|
12
|
+
return this.contract.adjustClosePrice(closePrice, tp, long, { ...callOptions });
|
|
13
13
|
}
|
|
14
|
-
async generatePositionHashId(settlementAsset, trader, pairId, index) {
|
|
15
|
-
return this.contract.generatePositionHashId(settlementAsset, trader, pairId, index);
|
|
14
|
+
async generatePositionHashId(settlementAsset, trader, pairId, index, callOptions) {
|
|
15
|
+
return this.contract.generatePositionHashId(settlementAsset, trader, pairId, index, { ...callOptions });
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
class PoolAccountantV1FunctionsGroup_FeeCalculations {
|
|
19
19
|
constructor(contract) {
|
|
20
20
|
this.contract = contract;
|
|
21
21
|
}
|
|
22
|
-
async calcClosingFee(pairId, collateral, leverage) {
|
|
23
|
-
return this.contract.calcClosingFee(pairId, collateral, leverage);
|
|
22
|
+
async calcClosingFee(pairId, collateral, leverage, callOptions) {
|
|
23
|
+
return this.contract.calcClosingFee(pairId, collateral, leverage, { ...callOptions });
|
|
24
24
|
}
|
|
25
|
-
async calcPerformanceFee(pairId, collateral, profitPrecision) {
|
|
26
|
-
return this.contract.calcPerformanceFee(pairId, collateral, profitPrecision);
|
|
25
|
+
async calcPerformanceFee(pairId, collateral, profitPrecision, callOptions) {
|
|
26
|
+
return this.contract.calcPerformanceFee(pairId, collateral, profitPrecision, { ...callOptions });
|
|
27
27
|
}
|
|
28
|
-
async calcTradeDynamicFees(positionId, pairId, long, collateral, leverage, openPrice, tp) {
|
|
29
|
-
const result = await this.contract.calcTradeDynamicFees.staticCall(positionId, pairId, long, collateral, leverage, openPrice, tp);
|
|
28
|
+
async calcTradeDynamicFees(positionId, pairId, long, collateral, leverage, openPrice, tp, callOptions) {
|
|
29
|
+
const result = await this.contract.calcTradeDynamicFees.staticCall(positionId, pairId, long, collateral, leverage, openPrice, tp, { ...callOptions });
|
|
30
30
|
return {
|
|
31
31
|
interest: result.interest,
|
|
32
32
|
funding: result.funding,
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
async calcBorrowAmount(collateral, leverage, long, openPrice, tp) {
|
|
36
|
-
return this.contract.calcBorrowAmount(collateral, leverage, long, openPrice, tp);
|
|
35
|
+
async calcBorrowAmount(collateral, leverage, long, openPrice, tp, callOptions) {
|
|
36
|
+
return this.contract.calcBorrowAmount(collateral, leverage, long, openPrice, tp, { ...callOptions });
|
|
37
37
|
}
|
|
38
|
-
async calcAbsoluteSkew(openInterestLong, openInterestShort, additionIsLong, additionOpenInterest) {
|
|
39
|
-
return this.contract.calcAbsoluteSkew(openInterestLong, openInterestShort, additionIsLong, additionOpenInterest);
|
|
38
|
+
async calcAbsoluteSkew(openInterestLong, openInterestShort, additionIsLong, additionOpenInterest, callOptions) {
|
|
39
|
+
return this.contract.calcAbsoluteSkew(openInterestLong, openInterestShort, additionIsLong, additionOpenInterest, { ...callOptions });
|
|
40
40
|
}
|
|
41
|
-
async calcAccrueFundingValues(pairId) {
|
|
42
|
-
const result = await this.contract.calcAccrueFundingValues(pairId);
|
|
41
|
+
async calcAccrueFundingValues(pairId, callOptions) {
|
|
42
|
+
const result = await this.contract.calcAccrueFundingValues(pairId, { ...callOptions });
|
|
43
43
|
return {
|
|
44
44
|
freshened: result.freshened,
|
|
45
45
|
valueLong: result.valueLong,
|
|
@@ -73,73 +73,73 @@ class PoolAccountantV1Service {
|
|
|
73
73
|
}
|
|
74
74
|
createVerificationGroup() {
|
|
75
75
|
return {
|
|
76
|
-
verifyLeveragedPosition: async (pairIndex, collateral, leverage) => {
|
|
77
|
-
const result = await this.poolAccountantContract.verifyLeveragedPosition(pairIndex, collateral, leverage);
|
|
76
|
+
verifyLeveragedPosition: async (pairIndex, collateral, leverage, callOptions) => {
|
|
77
|
+
const result = await this.poolAccountantContract.verifyLeveragedPosition(pairIndex, collateral, leverage, { ...callOptions });
|
|
78
78
|
return result;
|
|
79
79
|
},
|
|
80
|
-
verifyOpenFee: async (pairIndex, leveragedPosition) => {
|
|
81
|
-
const result = await this.poolAccountantContract.verifyOpenFee(pairIndex, leveragedPosition);
|
|
80
|
+
verifyOpenFee: async (pairIndex, leveragedPosition, callOptions) => {
|
|
81
|
+
const result = await this.poolAccountantContract.verifyOpenFee(pairIndex, leveragedPosition, { ...callOptions });
|
|
82
82
|
return {
|
|
83
83
|
openFee: result[0],
|
|
84
84
|
lexPartFee: result[1],
|
|
85
85
|
};
|
|
86
86
|
},
|
|
87
|
-
verifyPerformanceFee: (pairIndex, collateral) => this.poolAccountantContract.verifyPerformanceFee(pairIndex, collateral),
|
|
88
|
-
verifyMaxPercentProfit: (openPrice, targetPrice, leverage, long) => this.poolAccountantContract.verifyMaxPercentProfit(openPrice, targetPrice, leverage, long),
|
|
89
|
-
verifyUtilizationForTraders: (totalBorrows, totalReserves, unrealizedFunding) => this.poolAccountantContract.verifyUtilizationForTraders(totalBorrows, totalReserves, unrealizedFunding),
|
|
87
|
+
verifyPerformanceFee: (pairIndex, collateral, callOptions) => this.poolAccountantContract.verifyPerformanceFee(pairIndex, collateral, { ...callOptions }),
|
|
88
|
+
verifyMaxPercentProfit: (openPrice, targetPrice, leverage, long, callOptions) => this.poolAccountantContract.verifyMaxPercentProfit(openPrice, targetPrice, leverage, long, { ...callOptions }),
|
|
89
|
+
verifyUtilizationForTraders: (totalBorrows, totalReserves, unrealizedFunding, callOptions) => this.poolAccountantContract.verifyUtilizationForTraders(totalBorrows, totalReserves, unrealizedFunding, { ...callOptions }),
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
92
|
createFundingGroup() {
|
|
93
93
|
return {
|
|
94
|
-
accrueFunding: async (pairId) => {
|
|
95
|
-
const tx = await this.poolAccountantContract.accrueFunding(pairId);
|
|
94
|
+
accrueFunding: async (pairId, transactionOptions) => {
|
|
95
|
+
const tx = await this.poolAccountantContract.accrueFunding(pairId, { ...transactionOptions });
|
|
96
96
|
const receipt = await tx.wait();
|
|
97
97
|
// Return transaction receipt - developers can parse events if needed
|
|
98
98
|
return receipt;
|
|
99
99
|
},
|
|
100
|
-
accrueFunding_static: async (pairId) => {
|
|
101
|
-
const result = await this.poolAccountantContract.accrueFunding.staticCall(pairId);
|
|
100
|
+
accrueFunding_static: async (pairId, callOptions) => {
|
|
101
|
+
const result = await this.poolAccountantContract.accrueFunding.staticCall(pairId, { ...callOptions });
|
|
102
102
|
return {
|
|
103
103
|
valueLong: result[0],
|
|
104
104
|
valueShort: result[1],
|
|
105
105
|
protocolFundingShare: result[2],
|
|
106
106
|
};
|
|
107
107
|
},
|
|
108
|
-
calcAccrueFundingValues: (pairId) => this.poolAccountantContract
|
|
109
|
-
.calcAccrueFundingValues(pairId)
|
|
108
|
+
calcAccrueFundingValues: (pairId, callOptions) => this.poolAccountantContract
|
|
109
|
+
.calcAccrueFundingValues(pairId, { ...callOptions })
|
|
110
110
|
.then((r) => ({
|
|
111
111
|
freshened: r.freshened,
|
|
112
112
|
valueLong: r.valueLong,
|
|
113
113
|
valueShort: r.valueShort,
|
|
114
114
|
protocolFundingShare: r.protocolFundingShare,
|
|
115
115
|
})),
|
|
116
|
-
fundingIndicesCalculation: (oiLong, oiShort, fundingRate, timeDiff) => this.poolAccountantContract
|
|
117
|
-
.fundingIndicesCalculation(oiLong, oiShort, fundingRate, timeDiff)
|
|
116
|
+
fundingIndicesCalculation: (oiLong, oiShort, fundingRate, timeDiff, callOptions) => this.poolAccountantContract
|
|
117
|
+
.fundingIndicesCalculation(oiLong, oiShort, fundingRate, timeDiff, { ...callOptions })
|
|
118
118
|
.then((r) => ({
|
|
119
119
|
indexLongChange: r.indexLongChange,
|
|
120
120
|
indexShortChange: r.indexShortChange,
|
|
121
121
|
protocolFundingShare: r.protocolFundingShare,
|
|
122
122
|
})),
|
|
123
|
-
getTradeFunding: async (positionId, pairId, long, collateral, leverage) => {
|
|
124
|
-
const tx = await this.poolAccountantContract.getTradeFunding(positionId, pairId, long, collateral, leverage);
|
|
123
|
+
getTradeFunding: async (positionId, pairId, long, collateral, leverage, transactionOptions) => {
|
|
124
|
+
const tx = await this.poolAccountantContract.getTradeFunding(positionId, pairId, long, collateral, leverage, { ...transactionOptions });
|
|
125
125
|
const receipt = await tx.wait();
|
|
126
126
|
return receipt;
|
|
127
127
|
},
|
|
128
|
-
getTradeFunding_static: (positionId, pairId, long, collateral, leverage) => this.poolAccountantContract.getTradeFunding.staticCall(positionId, pairId, long, collateral, leverage),
|
|
129
|
-
getTradeFundingPure: (accFundingPerOi, endAccFundingPerOi, collateral, leverage) => this.poolAccountantContract.getTradeFundingPure(accFundingPerOi, endAccFundingPerOi, collateral, leverage),
|
|
130
|
-
getTradeInitialAccFundingPerOi: (positionId) => this.poolAccountantContract.getTradeInitialAccFundingPerOi(positionId),
|
|
131
|
-
getAccFundingLong: (pairIndex) => this.poolAccountantContract.getAccFundingLong(pairIndex),
|
|
132
|
-
getAccFundingShort: (pairIndex) => this.poolAccountantContract.getAccFundingShort(pairIndex),
|
|
133
|
-
getAccFundingUpdateBlock: (pairIndex) => this.poolAccountantContract.getAccFundingUpdateBlock(pairIndex),
|
|
128
|
+
getTradeFunding_static: (positionId, pairId, long, collateral, leverage, callOptions) => this.poolAccountantContract.getTradeFunding.staticCall(positionId, pairId, long, collateral, leverage, { ...callOptions }),
|
|
129
|
+
getTradeFundingPure: (accFundingPerOi, endAccFundingPerOi, collateral, leverage, callOptions) => this.poolAccountantContract.getTradeFundingPure(accFundingPerOi, endAccFundingPerOi, collateral, leverage, { ...callOptions }),
|
|
130
|
+
getTradeInitialAccFundingPerOi: (positionId, callOptions) => this.poolAccountantContract.getTradeInitialAccFundingPerOi(positionId, { ...callOptions }),
|
|
131
|
+
getAccFundingLong: (pairIndex, callOptions) => this.poolAccountantContract.getAccFundingLong(pairIndex, { ...callOptions }),
|
|
132
|
+
getAccFundingShort: (pairIndex, callOptions) => this.poolAccountantContract.getAccFundingShort(pairIndex, { ...callOptions }),
|
|
133
|
+
getAccFundingUpdateBlock: (pairIndex, callOptions) => this.poolAccountantContract.getAccFundingUpdateBlock(pairIndex, { ...callOptions }),
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
136
|
createInterestGroup() {
|
|
137
137
|
return {
|
|
138
|
-
getTradeInterest: (positionId, borrowAmount) => this.poolAccountantContract.getTradeInterest.staticCall(positionId, borrowAmount),
|
|
139
|
-
getTradeInterestPure: (tradeAccInterest, borrowsAndInterestShare, borrowIndex, accBorrowIndex) => this.poolAccountantContract.getTradeInterestPure(tradeAccInterest, borrowsAndInterestShare, borrowIndex, accBorrowIndex),
|
|
140
|
-
getTradeInitialAccBorrowIndex: (positionId) => this.poolAccountantContract.getTradeInitialAccBorrowIndex(positionId),
|
|
141
|
-
accrueInterest: async (availableCash) => {
|
|
142
|
-
const result = await this.poolAccountantContract["accrueInterest(uint256)"].staticCall(availableCash);
|
|
138
|
+
getTradeInterest: (positionId, borrowAmount, callOptions) => this.poolAccountantContract.getTradeInterest.staticCall(positionId, borrowAmount, { ...callOptions }),
|
|
139
|
+
getTradeInterestPure: (tradeAccInterest, borrowsAndInterestShare, borrowIndex, accBorrowIndex, callOptions) => this.poolAccountantContract.getTradeInterestPure(tradeAccInterest, borrowsAndInterestShare, borrowIndex, accBorrowIndex, { ...callOptions }),
|
|
140
|
+
getTradeInitialAccBorrowIndex: (positionId, callOptions) => this.poolAccountantContract.getTradeInitialAccBorrowIndex(positionId, { ...callOptions }),
|
|
141
|
+
accrueInterest: async (availableCash, callOptions) => {
|
|
142
|
+
const result = await this.poolAccountantContract["accrueInterest(uint256)"].staticCall(availableCash, { ...callOptions });
|
|
143
143
|
return {
|
|
144
144
|
totalInterestNew: result[0],
|
|
145
145
|
interestShareNew: result[1],
|
|
@@ -150,14 +150,14 @@ class PoolAccountantV1Service {
|
|
|
150
150
|
}
|
|
151
151
|
createLiquidationGroup() {
|
|
152
152
|
return {
|
|
153
|
-
getTradeLiquidationPrice: (positionId, pairId, openPrice, tp, long, collateral, leverage) => this.poolAccountantContract.getTradeLiquidationPrice.staticCall(positionId, pairId, openPrice, tp, long, collateral, leverage),
|
|
154
|
-
getTradeLiquidationPriceView: (openPrice, long, collateral, leverage, interest, funding, closingFee) => this.poolAccountantContract.getTradeLiquidationPriceView(openPrice, long, collateral, leverage, interest, funding, closingFee),
|
|
153
|
+
getTradeLiquidationPrice: (positionId, pairId, openPrice, tp, long, collateral, leverage, callOptions) => this.poolAccountantContract.getTradeLiquidationPrice.staticCall(positionId, pairId, openPrice, tp, long, collateral, leverage, { ...callOptions }),
|
|
154
|
+
getTradeLiquidationPriceView: (openPrice, long, collateral, leverage, interest, funding, closingFee, callOptions) => this.poolAccountantContract.getTradeLiquidationPriceView(openPrice, long, collateral, leverage, interest, funding, closingFee, { ...callOptions }),
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
157
|
createTradeValuesGroup() {
|
|
158
158
|
return {
|
|
159
|
-
getTradeValueView: (collateral, profitPrecision, interest, funding, closingFee, liquidation) => this.poolAccountantContract.getTradeValueView(collateral, profitPrecision, interest, funding, closingFee, liquidation),
|
|
160
|
-
getTradeClosingValues: async (positionId, pairId, collateral, leverage, long, openPrice, tp, closePrice, isLiquidation) => {
|
|
159
|
+
getTradeValueView: (collateral, profitPrecision, interest, funding, closingFee, liquidation, callOptions) => this.poolAccountantContract.getTradeValueView(collateral, profitPrecision, interest, funding, closingFee, liquidation, { ...callOptions }),
|
|
160
|
+
getTradeClosingValues: async (positionId, pairId, collateral, leverage, long, openPrice, tp, closePrice, isLiquidation, callOptions) => {
|
|
161
161
|
const params = {
|
|
162
162
|
collateral,
|
|
163
163
|
leverage,
|
|
@@ -165,7 +165,7 @@ class PoolAccountantV1Service {
|
|
|
165
165
|
openPrice,
|
|
166
166
|
tp,
|
|
167
167
|
};
|
|
168
|
-
const result = await this.poolAccountantContract.getTradeClosingValues.staticCall(positionId, pairId, params, closePrice, isLiquidation);
|
|
168
|
+
const result = await this.poolAccountantContract.getTradeClosingValues.staticCall(positionId, pairId, params, closePrice, isLiquidation, { ...callOptions });
|
|
169
169
|
return {
|
|
170
170
|
tradeValue: result[0],
|
|
171
171
|
safeClosingFee: result[1],
|
|
@@ -178,43 +178,43 @@ class PoolAccountantV1Service {
|
|
|
178
178
|
}
|
|
179
179
|
createPairManagementGroup() {
|
|
180
180
|
return {
|
|
181
|
-
pairTotalOpenInterest: (pairIndex) => this.poolAccountantContract.pairTotalOpenInterest(pairIndex),
|
|
182
|
-
calcAbsoluteSkew: (openInterestLong, openInterestShort, additionIsLong, additionOpenInterest) => this.poolAccountantContract.calcAbsoluteSkew(openInterestLong, openInterestShort, additionIsLong, additionOpenInterest),
|
|
183
|
-
pricePnL: (pairId, price) => this.poolAccountantContract.pricePnL(pairId, price),
|
|
184
|
-
pairBorrows: (pairIndex) => this.poolAccountantContract.pairBorrows(pairIndex),
|
|
185
|
-
pairMaxBorrow: (pairIndex) => this.poolAccountantContract.pairMaxBorrow(pairIndex),
|
|
186
|
-
pairMinOpenFee: (pairIndex) => this.poolAccountantContract.pairMinOpenFee(pairIndex),
|
|
187
|
-
pairOpenFeeF: (pairIndex) => this.poolAccountantContract.pairOpenFeeF(pairIndex),
|
|
188
|
-
pairCloseFeeF: (pairIndex) => this.poolAccountantContract.pairCloseFeeF(pairIndex),
|
|
189
|
-
pairPerformanceFeeF: (pairIndex) => this.poolAccountantContract.pairPerformanceFeeF(pairIndex),
|
|
190
|
-
pairTotalRatioOiToP: (pairIndex) => this.poolAccountantContract.pairTotalRatioOiToP(pairIndex),
|
|
191
|
-
groupBorrows: (groupIndex) => this.poolAccountantContract.groupBorrows(groupIndex),
|
|
192
|
-
groupMaxBorrow: (groupIndex) => this.poolAccountantContract.groupMaxBorrow(groupIndex),
|
|
181
|
+
pairTotalOpenInterest: (pairIndex, callOptions) => this.poolAccountantContract.pairTotalOpenInterest(pairIndex, { ...callOptions }),
|
|
182
|
+
calcAbsoluteSkew: (openInterestLong, openInterestShort, additionIsLong, additionOpenInterest, callOptions) => this.poolAccountantContract.calcAbsoluteSkew(openInterestLong, openInterestShort, additionIsLong, additionOpenInterest, { ...callOptions }),
|
|
183
|
+
pricePnL: (pairId, price, callOptions) => this.poolAccountantContract.pricePnL(pairId, price, { ...callOptions }),
|
|
184
|
+
pairBorrows: (pairIndex, callOptions) => this.poolAccountantContract.pairBorrows(pairIndex, { ...callOptions }),
|
|
185
|
+
pairMaxBorrow: (pairIndex, callOptions) => this.poolAccountantContract.pairMaxBorrow(pairIndex, { ...callOptions }),
|
|
186
|
+
pairMinOpenFee: (pairIndex, callOptions) => this.poolAccountantContract.pairMinOpenFee(pairIndex, { ...callOptions }),
|
|
187
|
+
pairOpenFeeF: (pairIndex, callOptions) => this.poolAccountantContract.pairOpenFeeF(pairIndex, { ...callOptions }),
|
|
188
|
+
pairCloseFeeF: (pairIndex, callOptions) => this.poolAccountantContract.pairCloseFeeF(pairIndex, { ...callOptions }),
|
|
189
|
+
pairPerformanceFeeF: (pairIndex, callOptions) => this.poolAccountantContract.pairPerformanceFeeF(pairIndex, { ...callOptions }),
|
|
190
|
+
pairTotalRatioOiToP: (pairIndex, callOptions) => this.poolAccountantContract.pairTotalRatioOiToP(pairIndex, { ...callOptions }),
|
|
191
|
+
groupBorrows: (groupIndex, callOptions) => this.poolAccountantContract.groupBorrows(groupIndex, { ...callOptions }),
|
|
192
|
+
groupMaxBorrow: (groupIndex, callOptions) => this.poolAccountantContract.groupMaxBorrow(groupIndex, { ...callOptions }),
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
createAdminConfigurationGroup() {
|
|
196
196
|
return {
|
|
197
|
-
setTradeIncentivizer: (incentivizer) => this.poolAccountantContract.setTradeIncentivizer(incentivizer),
|
|
198
|
-
setMaxGainF: (maxGainF) => this.poolAccountantContract.setMaxGainF(maxGainF),
|
|
199
|
-
setFrm: (frm) => this.poolAccountantContract.setFrm(frm),
|
|
200
|
-
setMinOpenFee: (min) => this.poolAccountantContract.setMinOpenFee(min),
|
|
201
|
-
setLexPartF: (partF) => this.poolAccountantContract.setLexPartF(partF),
|
|
202
|
-
setFundingRateMax: (maxValue) => this.poolAccountantContract.setFundingRateMax(maxValue),
|
|
203
|
-
setLiquidationThresholdF: (threshold) => this.poolAccountantContract.setLiquidationThresholdF(threshold),
|
|
204
|
-
setLiquidationFeeF: (fee) => this.poolAccountantContract.setLiquidationFeeF(fee),
|
|
205
|
-
setIrm: (irm) => this.poolAccountantContract.setIrm(irm),
|
|
206
|
-
setIrmHard: (irm) => this.poolAccountantContract.setIrmHard(irm),
|
|
207
|
-
setInterestShareFactor: (factor) => this.poolAccountantContract.setInterestShareFactor(factor),
|
|
208
|
-
setFundingShareFactor: (factor) => this.poolAccountantContract.setFundingShareFactor(factor),
|
|
209
|
-
setBorrowRateMax: (rate) => this.poolAccountantContract.setBorrowRateMax(rate),
|
|
210
|
-
setMaxTotalBorrows: (maxBorrows) => this.poolAccountantContract.setMaxTotalBorrows(maxBorrows),
|
|
211
|
-
setMaxVirtualUtilization: (maxUtilization) => this.poolAccountantContract.setMaxVirtualUtilization(maxUtilization),
|
|
197
|
+
setTradeIncentivizer: (incentivizer, transactionOptions) => this.poolAccountantContract.setTradeIncentivizer(incentivizer, { ...transactionOptions }),
|
|
198
|
+
setMaxGainF: (maxGainF, transactionOptions) => this.poolAccountantContract.setMaxGainF(maxGainF, { ...transactionOptions }),
|
|
199
|
+
setFrm: (frm, transactionOptions) => this.poolAccountantContract.setFrm(frm, { ...transactionOptions }),
|
|
200
|
+
setMinOpenFee: (min, transactionOptions) => this.poolAccountantContract.setMinOpenFee(min, { ...transactionOptions }),
|
|
201
|
+
setLexPartF: (partF, transactionOptions) => this.poolAccountantContract.setLexPartF(partF, { ...transactionOptions }),
|
|
202
|
+
setFundingRateMax: (maxValue, transactionOptions) => this.poolAccountantContract.setFundingRateMax(maxValue, { ...transactionOptions }),
|
|
203
|
+
setLiquidationThresholdF: (threshold, transactionOptions) => this.poolAccountantContract.setLiquidationThresholdF(threshold, { ...transactionOptions }),
|
|
204
|
+
setLiquidationFeeF: (fee, transactionOptions) => this.poolAccountantContract.setLiquidationFeeF(fee, { ...transactionOptions }),
|
|
205
|
+
setIrm: (irm, transactionOptions) => this.poolAccountantContract.setIrm(irm, { ...transactionOptions }),
|
|
206
|
+
setIrmHard: (irm, transactionOptions) => this.poolAccountantContract.setIrmHard(irm, { ...transactionOptions }),
|
|
207
|
+
setInterestShareFactor: (factor, transactionOptions) => this.poolAccountantContract.setInterestShareFactor(factor, { ...transactionOptions }),
|
|
208
|
+
setFundingShareFactor: (factor, transactionOptions) => this.poolAccountantContract.setFundingShareFactor(factor, { ...transactionOptions }),
|
|
209
|
+
setBorrowRateMax: (rate, transactionOptions) => this.poolAccountantContract.setBorrowRateMax(rate, { ...transactionOptions }),
|
|
210
|
+
setMaxTotalBorrows: (maxBorrows, transactionOptions) => this.poolAccountantContract.setMaxTotalBorrows(maxBorrows, { ...transactionOptions }),
|
|
211
|
+
setMaxVirtualUtilization: (maxUtilization, transactionOptions) => this.poolAccountantContract.setMaxVirtualUtilization(maxUtilization, { ...transactionOptions }),
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
createPoolInteractionGroup() {
|
|
215
215
|
return {
|
|
216
|
-
readAndZeroReserves: async () => {
|
|
217
|
-
const result = await this.poolAccountantContract.readAndZeroReserves.staticCall();
|
|
216
|
+
readAndZeroReserves: async (callOptions) => {
|
|
217
|
+
const result = await this.poolAccountantContract.readAndZeroReserves.staticCall({ ...callOptions });
|
|
218
218
|
return {
|
|
219
219
|
accumulatedInterestShare: result[0],
|
|
220
220
|
accFundingShare: result[1],
|
|
@@ -225,52 +225,52 @@ class PoolAccountantV1Service {
|
|
|
225
225
|
createStateVariablesGroup() {
|
|
226
226
|
return {
|
|
227
227
|
// Interest and borrowing state
|
|
228
|
-
borrowIndex: () => this.poolAccountantContract.borrowIndex(),
|
|
229
|
-
borrowRateMax: () => this.poolAccountantContract.borrowRateMax(),
|
|
230
|
-
totalBorrows: () => this.poolAccountantContract.totalBorrows(),
|
|
231
|
-
totalInterest: () => this.poolAccountantContract.totalInterest(),
|
|
232
|
-
interestShare: () => this.poolAccountantContract.interestShare(),
|
|
233
|
-
interestShareFactor: () => this.poolAccountantContract.interestShareFactor(),
|
|
228
|
+
borrowIndex: (callOptions) => this.poolAccountantContract.borrowIndex({ ...callOptions }),
|
|
229
|
+
borrowRateMax: (callOptions) => this.poolAccountantContract.borrowRateMax({ ...callOptions }),
|
|
230
|
+
totalBorrows: (callOptions) => this.poolAccountantContract.totalBorrows({ ...callOptions }),
|
|
231
|
+
totalInterest: (callOptions) => this.poolAccountantContract.totalInterest({ ...callOptions }),
|
|
232
|
+
interestShare: (callOptions) => this.poolAccountantContract.interestShare({ ...callOptions }),
|
|
233
|
+
interestShareFactor: (callOptions) => this.poolAccountantContract.interestShareFactor({ ...callOptions }),
|
|
234
234
|
// Funding state
|
|
235
|
-
fundingRateMax: () => this.poolAccountantContract.fundingRateMax(),
|
|
236
|
-
fundingShare: () => this.poolAccountantContract.fundingShare(),
|
|
237
|
-
fundingShareFactor: () => this.poolAccountantContract.fundingShareFactor(),
|
|
238
|
-
unrealizedFunding: () => this.poolAccountantContract.unrealizedFunding(),
|
|
239
|
-
realizedFundingSurplusDeficit: () => this.poolAccountantContract.realizedFundingSurplusDeficit(),
|
|
235
|
+
fundingRateMax: (callOptions) => this.poolAccountantContract.fundingRateMax({ ...callOptions }),
|
|
236
|
+
fundingShare: (callOptions) => this.poolAccountantContract.fundingShare({ ...callOptions }),
|
|
237
|
+
fundingShareFactor: (callOptions) => this.poolAccountantContract.fundingShareFactor({ ...callOptions }),
|
|
238
|
+
unrealizedFunding: (callOptions) => this.poolAccountantContract.unrealizedFunding({ ...callOptions }),
|
|
239
|
+
realizedFundingSurplusDeficit: (callOptions) => this.poolAccountantContract.realizedFundingSurplusDeficit({ ...callOptions }),
|
|
240
240
|
// Configuration
|
|
241
|
-
maxGainF: () => this.poolAccountantContract.maxGainF(),
|
|
242
|
-
liquidationFeeF: () => this.poolAccountantContract.liquidationFeeF(),
|
|
243
|
-
liquidationThresholdF: () => this.poolAccountantContract.liquidationThresholdF(),
|
|
244
|
-
maxTotalBorrows: () => this.poolAccountantContract.maxTotalBorrows(),
|
|
245
|
-
maxVirtualUtilization: () => this.poolAccountantContract.maxVirtualUtilization(),
|
|
246
|
-
minOpenFee: () => this.poolAccountantContract.minOpenFee(),
|
|
247
|
-
lexPartF: () => this.poolAccountantContract.lexPartF(),
|
|
241
|
+
maxGainF: (callOptions) => this.poolAccountantContract.maxGainF({ ...callOptions }),
|
|
242
|
+
liquidationFeeF: (callOptions) => this.poolAccountantContract.liquidationFeeF({ ...callOptions }),
|
|
243
|
+
liquidationThresholdF: (callOptions) => this.poolAccountantContract.liquidationThresholdF({ ...callOptions }),
|
|
244
|
+
maxTotalBorrows: (callOptions) => this.poolAccountantContract.maxTotalBorrows({ ...callOptions }),
|
|
245
|
+
maxVirtualUtilization: (callOptions) => this.poolAccountantContract.maxVirtualUtilization({ ...callOptions }),
|
|
246
|
+
minOpenFee: (callOptions) => this.poolAccountantContract.minOpenFee({ ...callOptions }),
|
|
247
|
+
lexPartF: (callOptions) => this.poolAccountantContract.lexPartF({ ...callOptions }),
|
|
248
248
|
// Contract references
|
|
249
|
-
lexPool: () => this.poolAccountantContract.lexPool(),
|
|
250
|
-
tradingFloor: () => this.poolAccountantContract.tradingFloor(),
|
|
251
|
-
tradeIncentivizer: () => this.poolAccountantContract.tradeIncentivizer(),
|
|
252
|
-
frm: () => this.poolAccountantContract.frm(),
|
|
253
|
-
irm: () => this.poolAccountantContract.irm(),
|
|
254
|
-
underlying: () => this.poolAccountantContract.underlying(),
|
|
249
|
+
lexPool: (callOptions) => this.poolAccountantContract.lexPool({ ...callOptions }),
|
|
250
|
+
tradingFloor: (callOptions) => this.poolAccountantContract.tradingFloor({ ...callOptions }),
|
|
251
|
+
tradeIncentivizer: (callOptions) => this.poolAccountantContract.tradeIncentivizer({ ...callOptions }),
|
|
252
|
+
frm: (callOptions) => this.poolAccountantContract.frm({ ...callOptions }),
|
|
253
|
+
irm: (callOptions) => this.poolAccountantContract.irm({ ...callOptions }),
|
|
254
|
+
underlying: (callOptions) => this.poolAccountantContract.underlying({ ...callOptions }),
|
|
255
255
|
// Timestamps
|
|
256
|
-
accrualBlockTimestamp: () => this.poolAccountantContract.accrualBlockTimestamp(),
|
|
256
|
+
accrualBlockTimestamp: (callOptions) => this.poolAccountantContract.accrualBlockTimestamp({ ...callOptions }),
|
|
257
257
|
};
|
|
258
258
|
}
|
|
259
259
|
createContractInfoGroup() {
|
|
260
260
|
return {
|
|
261
|
-
admin: () => this.poolAccountantContract.admin(),
|
|
262
|
-
pendingAdmin: () => this.poolAccountantContract.pendingAdmin(),
|
|
263
|
-
implementation: () => this.poolAccountantContract.implementation(),
|
|
264
|
-
pendingImplementation: () => this.poolAccountantContract.pendingImplementation(),
|
|
265
|
-
registry: () => this.poolAccountantContract.registry(),
|
|
261
|
+
admin: (callOptions) => this.poolAccountantContract.admin({ ...callOptions }),
|
|
262
|
+
pendingAdmin: (callOptions) => this.poolAccountantContract.pendingAdmin({ ...callOptions }),
|
|
263
|
+
implementation: (callOptions) => this.poolAccountantContract.implementation({ ...callOptions }),
|
|
264
|
+
pendingImplementation: (callOptions) => this.poolAccountantContract.pendingImplementation({ ...callOptions }),
|
|
265
|
+
registry: (callOptions) => this.poolAccountantContract.registry({ ...callOptions }),
|
|
266
266
|
};
|
|
267
267
|
}
|
|
268
268
|
createConstantsGroup() {
|
|
269
269
|
return {
|
|
270
|
-
ACCURACY_IMPROVEMENT_SCALE: () => this.poolAccountantContract.ACCURACY_IMPROVEMENT_SCALE(),
|
|
271
|
-
FRACTION_SCALE: () => this.poolAccountantContract.FRACTION_SCALE(),
|
|
272
|
-
LEVERAGE_SCALE: () => this.poolAccountantContract.LEVERAGE_SCALE(),
|
|
273
|
-
PRECISION: () => this.poolAccountantContract.PRECISION(),
|
|
270
|
+
ACCURACY_IMPROVEMENT_SCALE: (callOptions) => this.poolAccountantContract.ACCURACY_IMPROVEMENT_SCALE({ ...callOptions }),
|
|
271
|
+
FRACTION_SCALE: (callOptions) => this.poolAccountantContract.FRACTION_SCALE({ ...callOptions }),
|
|
272
|
+
LEVERAGE_SCALE: (callOptions) => this.poolAccountantContract.LEVERAGE_SCALE({ ...callOptions }),
|
|
273
|
+
PRECISION: (callOptions) => this.poolAccountantContract.PRECISION({ ...callOptions }),
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
276
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TPairIds } from '../../constants/pairIds';
|
|
2
|
+
import { CallOptions } from '../common';
|
|
2
3
|
export type TFRMBaseRateParamsStruct = {
|
|
3
4
|
baseRateInUnits: number;
|
|
4
5
|
multiplierInUnits: number;
|
|
@@ -63,16 +64,18 @@ export interface IRateModelLensService {
|
|
|
63
64
|
* Get the accountant address for a given LEX pool
|
|
64
65
|
*
|
|
65
66
|
* @param lexPool - The LEX pool address
|
|
67
|
+
* @param callOptions - Optional call options for state override
|
|
66
68
|
* @returns The accountant address
|
|
67
69
|
*/
|
|
68
|
-
getAccountantForLexPool(lexPool: string): Promise<string>;
|
|
70
|
+
getAccountantForLexPool(lexPool: string, callOptions?: CallOptions): Promise<string>;
|
|
69
71
|
/**
|
|
70
72
|
* Get the LEX pool address for a given accountant
|
|
71
73
|
*
|
|
72
74
|
* @param accountant - The accountant address
|
|
75
|
+
* @param callOptions - Optional call options for state override
|
|
73
76
|
* @returns The LEX pool address
|
|
74
77
|
*/
|
|
75
|
-
getLexPoolForAccountant(accountant: string): Promise<string>;
|
|
78
|
+
getLexPoolForAccountant(accountant: string, callOptions?: CallOptions): Promise<string>;
|
|
76
79
|
/**
|
|
77
80
|
* Get complete rate model information for multiple LEX pools
|
|
78
81
|
*
|
|
@@ -81,6 +84,7 @@ export interface IRateModelLensService {
|
|
|
81
84
|
* - Interest Rate Models (IRM): Controls interest rates for borrowed liquidity
|
|
82
85
|
*
|
|
83
86
|
* @param lexPools - Array of LEX pool addresses to query
|
|
87
|
+
* @param callOptions - Optional call options for state override
|
|
84
88
|
* @returns Complete rate models info including FRM and IRM groups
|
|
85
89
|
*
|
|
86
90
|
* @example
|
|
@@ -95,7 +99,7 @@ export interface IRateModelLensService {
|
|
|
95
99
|
* console.log(`Base Rate: ${frmGroup.baseRateParams.baseRate}`)
|
|
96
100
|
* }
|
|
97
101
|
*/
|
|
98
|
-
getCompleteRateModelsInfo(lexPools: string[]): Promise<TCompleteLexRateModelsInfoStruct>;
|
|
102
|
+
getCompleteRateModelsInfo(lexPools: string[], callOptions?: CallOptions): Promise<TCompleteLexRateModelsInfoStruct>;
|
|
99
103
|
/**
|
|
100
104
|
* Get funding rate model groups for multiple LEX pools
|
|
101
105
|
*
|
|
@@ -105,9 +109,10 @@ export interface IRateModelLensService {
|
|
|
105
109
|
* - Pair-specific parameter overrides
|
|
106
110
|
*
|
|
107
111
|
* @param lexPools - Array of LEX pool addresses to query
|
|
112
|
+
* @param callOptions - Optional call options for state override
|
|
108
113
|
* @returns Array of funding rate model groups
|
|
109
114
|
*/
|
|
110
|
-
getFundingRateModelGroups(lexPools: string[]): Promise<TFundingRateModelGroupStruct[]>;
|
|
115
|
+
getFundingRateModelGroups(lexPools: string[], callOptions?: CallOptions): Promise<TFundingRateModelGroupStruct[]>;
|
|
111
116
|
/**
|
|
112
117
|
* Get interest rate model groups for multiple LEX pools
|
|
113
118
|
*
|
|
@@ -115,9 +120,10 @@ export interface IRateModelLensService {
|
|
|
115
120
|
* - Base rate parameters (baseRate, multiplier, kink, etc.)
|
|
116
121
|
*
|
|
117
122
|
* @param lexPools - Array of LEX pool addresses to query
|
|
123
|
+
* @param callOptions - Optional call options for state override
|
|
118
124
|
* @returns Array of interest rate model groups
|
|
119
125
|
*/
|
|
120
|
-
getInterestRateModelGroups(lexPools: string[]): Promise<TInterestRateModelGroupStruct[]>;
|
|
126
|
+
getInterestRateModelGroups(lexPools: string[], callOptions?: CallOptions): Promise<TInterestRateModelGroupStruct[]>;
|
|
121
127
|
}
|
|
122
128
|
export declare const EMPTY_FRM_BASE_RATE_PARAMS_RAW: {
|
|
123
129
|
baseRate: bigint;
|
package/dist/esm/lib/contractsIntegration/RateModelLensService/IRateModelLensService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IRateModelLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/RateModelLensService/IRateModelLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"IRateModelLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/RateModelLensService/IRateModelLensService.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { Provider, Signer } from 'ethers';
|
|
2
2
|
import { RateModelLens } from '../../typechain/contracts/Peripheral/Lens/RateModelLens';
|
|
3
3
|
import { IRateModelLensService, TCompleteLexRateModelsInfoStruct, TFundingRateModelGroupStruct, TInterestRateModelGroupStruct } from './IRateModelLensService';
|
|
4
|
+
import { CallOptions } from '../common';
|
|
4
5
|
export declare class RateModelLensService implements IRateModelLensService {
|
|
5
6
|
private readonly contract;
|
|
6
7
|
constructor(signerOrProvider: Signer | Provider, contractAddress: string);
|
|
7
|
-
getAccountantForLexPool(lexPool: string): Promise<string>;
|
|
8
|
-
getLexPoolForAccountant(accountant: string): Promise<string>;
|
|
9
|
-
getCompleteRateModelsInfo(lexPools: string[]): Promise<TCompleteLexRateModelsInfoStruct>;
|
|
10
|
-
getFundingRateModelGroups(lexPools: string[]): Promise<TFundingRateModelGroupStruct[]>;
|
|
11
|
-
getInterestRateModelGroups(lexPools: string[]): Promise<TInterestRateModelGroupStruct[]>;
|
|
8
|
+
getAccountantForLexPool(lexPool: string, callOptions?: CallOptions): Promise<string>;
|
|
9
|
+
getLexPoolForAccountant(accountant: string, callOptions?: CallOptions): Promise<string>;
|
|
10
|
+
getCompleteRateModelsInfo(lexPools: string[], callOptions?: CallOptions): Promise<TCompleteLexRateModelsInfoStruct>;
|
|
11
|
+
getFundingRateModelGroups(lexPools: string[], callOptions?: CallOptions): Promise<TFundingRateModelGroupStruct[]>;
|
|
12
|
+
getInterestRateModelGroups(lexPools: string[], callOptions?: CallOptions): Promise<TInterestRateModelGroupStruct[]>;
|
|
12
13
|
getContract(): RateModelLens;
|
|
13
14
|
}
|
|
14
15
|
//# sourceMappingURL=RateModelLensService.d.ts.map
|
package/dist/esm/lib/contractsIntegration/RateModelLensService/RateModelLensService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RateModelLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/RateModelLensService/RateModelLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAA;AAMvF,OAAO,EACL,qBAAqB,EACrB,gCAAgC,EAChC,4BAA4B,EAC5B,6BAA6B,EAY9B,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"RateModelLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/RateModelLensService/RateModelLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,yDAAyD,CAAA;AAMvF,OAAO,EACL,qBAAqB,EACrB,gCAAgC,EAChC,4BAA4B,EAC5B,6BAA6B,EAY9B,MAAM,yBAAyB,CAAA;AAIhC,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAoDvC,qBAAa,oBAAqB,YAAW,qBAAqB;IAChE,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAe;gBAE5B,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,eAAe,EAAE,MAAM;IAOlE,uBAAuB,CAAC,OAAO,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIpF,uBAAuB,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvF,yBAAyB,CAC7B,QAAQ,EAAE,MAAM,EAAE,EAClB,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,gCAAgC,CAAC;IA4DtC,yBAAyB,CAC7B,QAAQ,EAAE,MAAM,EAAE,EAClB,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,4BAA4B,EAAE,CAAC;IAgCpC,0BAA0B,CAC9B,QAAQ,EAAE,MAAM,EAAE,EAClB,WAAW,CAAC,EAAE,WAAW,GACxB,OAAO,CAAC,6BAA6B,EAAE,CAAC;IAyB3C,WAAW,IAAI,aAAa;CAG7B"}
|
|
@@ -56,14 +56,14 @@ class RateModelLensService {
|
|
|
56
56
|
constructor(signerOrProvider, contractAddress) {
|
|
57
57
|
this.contract = RateModelLens__factory_1.RateModelLens__factory.connect(contractAddress, signerOrProvider);
|
|
58
58
|
}
|
|
59
|
-
async getAccountantForLexPool(lexPool) {
|
|
60
|
-
return await this.contract.getAccountantForLexPool(lexPool);
|
|
59
|
+
async getAccountantForLexPool(lexPool, callOptions) {
|
|
60
|
+
return await this.contract.getAccountantForLexPool(lexPool, { ...callOptions });
|
|
61
61
|
}
|
|
62
|
-
async getLexPoolForAccountant(accountant) {
|
|
63
|
-
return await this.contract.getLexPoolForAccountant(accountant);
|
|
62
|
+
async getLexPoolForAccountant(accountant, callOptions) {
|
|
63
|
+
return await this.contract.getLexPoolForAccountant(accountant, { ...callOptions });
|
|
64
64
|
}
|
|
65
|
-
async getCompleteRateModelsInfo(lexPools) {
|
|
66
|
-
const result = await this.contract.getCompleteRateModelsInfo(lexPools);
|
|
65
|
+
async getCompleteRateModelsInfo(lexPools, callOptions) {
|
|
66
|
+
const result = await this.contract.getCompleteRateModelsInfo(lexPools, { ...callOptions });
|
|
67
67
|
// Convert funding rate model groups (raw)
|
|
68
68
|
const fundingRateModelGroupsRaw = (0, ethersTypes_1.ethersStructResponseToArray)(result.fundingRateModelGroups, IRateModelLensService_1.EMPTY_FUNDING_RATE_MODEL_GROUP_RAW, {
|
|
69
69
|
accountantConfigs: IRateModelLensService_1.EMPTY_FRM_ACCOUNTANT_CONFIG_RAW,
|
|
@@ -100,8 +100,8 @@ class RateModelLensService {
|
|
|
100
100
|
interestRateModelGroups,
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
async getFundingRateModelGroups(lexPools) {
|
|
104
|
-
const result = await this.contract.getFundingRateModelGroups(lexPools);
|
|
103
|
+
async getFundingRateModelGroups(lexPools, callOptions) {
|
|
104
|
+
const result = await this.contract.getFundingRateModelGroups(lexPools, { ...callOptions });
|
|
105
105
|
// Convert array of groups with nested arrays (raw)
|
|
106
106
|
const rawGroups = (0, ethersTypes_1.ethersStructResponseToArray)(result, IRateModelLensService_1.EMPTY_FUNDING_RATE_MODEL_GROUP_RAW, {
|
|
107
107
|
accountantConfigs: IRateModelLensService_1.EMPTY_FRM_ACCOUNTANT_CONFIG_RAW,
|
|
@@ -121,8 +121,8 @@ class RateModelLensService {
|
|
|
121
121
|
pairSpecificParams: group.pairSpecificParams.map(convertPairSpecificParams),
|
|
122
122
|
}));
|
|
123
123
|
}
|
|
124
|
-
async getInterestRateModelGroups(lexPools) {
|
|
125
|
-
const result = await this.contract.getInterestRateModelGroups(lexPools);
|
|
124
|
+
async getInterestRateModelGroups(lexPools, callOptions) {
|
|
125
|
+
const result = await this.contract.getInterestRateModelGroups(lexPools, { ...callOptions });
|
|
126
126
|
// Convert to raw first
|
|
127
127
|
const rawGroups = (0, ethersTypes_1.ethersStructResponseToArray)(result, IRateModelLensService_1.EMPTY_INTEREST_RATE_MODEL_GROUP_RAW, {}, {
|
|
128
128
|
baseRateParams: IRateModelLensService_1.EMPTY_IRM_BASE_RATE_PARAMS_RAW,
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import { TradeIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1";
|
|
2
|
+
import { CallOptions, TransactionOptions } from "../common";
|
|
2
3
|
export interface ITradeIntentsVerifierService {
|
|
3
|
-
domainSeparatorForAsset(settlementAsset: string): Promise<string>;
|
|
4
|
-
domainSeparatorForChain(chainId: bigint): Promise<string>;
|
|
5
|
-
intentsPermissions(user: string): Promise<string>;
|
|
6
|
-
setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
|
|
7
|
-
verifyIntent_traderRequest_openNewPosition(payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, runCapTests: boolean, value?: bigint): Promise<void>;
|
|
8
|
-
verifyIntent_traderRequest_marketClosePosition(payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
9
|
-
verifyIntent_traderAction_updatePendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
10
|
-
verifyIntent_traderAction_cancelPendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
11
|
-
verifyIntent_traderRequest_updatePositionSingleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
12
|
-
verifyIntent_traderRequest_updatePositionDoubleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
13
|
-
domainSeparatorsForPosition(positionId: string): Promise<string>;
|
|
14
|
-
tradersForPosition(positionId: string): Promise<string>;
|
|
15
|
-
settlementAssetsForPosition(positionId: string): Promise<string>;
|
|
16
|
-
sourceChainIdForAsset(asset: string): Promise<bigint>;
|
|
17
|
-
processedSignatures(signature: string): Promise<boolean>;
|
|
18
|
-
getTradingFloor(): Promise<string>;
|
|
19
|
-
getTradersPortal(): Promise<string>;
|
|
20
|
-
admin(): Promise<string>;
|
|
21
|
-
pendingAdmin(): Promise<string>;
|
|
22
|
-
registry(): Promise<string>;
|
|
4
|
+
domainSeparatorForAsset(settlementAsset: 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
|
+
verifyIntent_traderRequest_openNewPosition(payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, runCapTests: boolean, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
9
|
+
verifyIntent_traderRequest_marketClosePosition(payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
10
|
+
verifyIntent_traderAction_updatePendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
11
|
+
verifyIntent_traderAction_cancelPendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
12
|
+
verifyIntent_traderRequest_updatePositionSingleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
13
|
+
verifyIntent_traderRequest_updatePositionDoubleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct, v: bigint, r: string, s: string, value?: bigint, transactionOptions?: TransactionOptions): Promise<void>;
|
|
14
|
+
domainSeparatorsForPosition(positionId: string, callOptions?: CallOptions): Promise<string>;
|
|
15
|
+
tradersForPosition(positionId: string, callOptions?: CallOptions): Promise<string>;
|
|
16
|
+
settlementAssetsForPosition(positionId: string, callOptions?: CallOptions): Promise<string>;
|
|
17
|
+
sourceChainIdForAsset(asset: string, callOptions?: CallOptions): Promise<bigint>;
|
|
18
|
+
processedSignatures(signature: string, callOptions?: CallOptions): Promise<boolean>;
|
|
19
|
+
getTradingFloor(callOptions?: CallOptions): Promise<string>;
|
|
20
|
+
getTradersPortal(callOptions?: CallOptions): Promise<string>;
|
|
21
|
+
admin(callOptions?: CallOptions): Promise<string>;
|
|
22
|
+
pendingAdmin(callOptions?: CallOptions): Promise<string>;
|
|
23
|
+
registry(callOptions?: CallOptions): Promise<string>;
|
|
23
24
|
}
|
|
24
25
|
//# sourceMappingURL=ITradeIntentsVerifierService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITradeIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAyB,MAAM,uEAAuE,CAAA;
|
|
1
|
+
{"version":3,"file":"ITradeIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.ts"],"names":[],"mappings":"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"}
|