lynx-client 0.0.2 → 0.0.4
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/README.md +0 -1
- package/dist/cjs/index.js +12 -0
- package/dist/cjs/lib/addresses/lensAddresses.js +16 -16
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +91 -0
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +70 -0
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +99 -0
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +45 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1129 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +870 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1561 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
- 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 +78 -6
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +297 -80
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
- package/dist/esm/index.d.ts +10 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +12 -0
- package/dist/esm/lib/addresses/lensAddresses.d.ts +16 -16
- package/dist/esm/lib/addresses/lensAddresses.js +16 -16
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +91 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.js +2 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.js +2 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +70 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.js +2 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +99 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
- package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +45 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
- 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 +150 -59
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
- package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1129 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +870 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1561 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
- 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 +60 -5
- 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 +78 -6
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +226 -64
- 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 +297 -80
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/addresses/lensAddresses.d.ts +16 -16
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
- 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 +150 -59
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
- package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
- 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 +60 -5
- 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 +226 -64
- 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 +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
- package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChipsIntentsVerifierService = void 0;
|
|
4
|
+
const ChipsIntentsVerifierV1__factory_1 = require("../../typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory");
|
|
5
|
+
class ChipsIntentsVerifierService {
|
|
6
|
+
constructor(signerOrProvider, address) {
|
|
7
|
+
this.contract = ChipsIntentsVerifierV1__factory_1.ChipsIntentsVerifierV1__factory.connect(address, signerOrProvider);
|
|
8
|
+
this.isSigner = 'sendTransaction' in signerOrProvider;
|
|
9
|
+
}
|
|
10
|
+
async domainSeparatorForAsset(chip) {
|
|
11
|
+
return await this.contract.domainSeparatorForAsset(chip);
|
|
12
|
+
}
|
|
13
|
+
async domainSeparatorForChain(chainId) {
|
|
14
|
+
return await this.contract.domainSeparatorForChain(chainId);
|
|
15
|
+
}
|
|
16
|
+
async chipOutFeeForChip(chip) {
|
|
17
|
+
return await this.contract.chipOutFeeForChip(chip);
|
|
18
|
+
}
|
|
19
|
+
async feesReceiver() {
|
|
20
|
+
return await this.contract.feesReceiver();
|
|
21
|
+
}
|
|
22
|
+
async intentsPermissions(user) {
|
|
23
|
+
return await this.contract.intentsPermissions(user);
|
|
24
|
+
}
|
|
25
|
+
async setIntentsPermissions(oftChip, dynAddressSuffix) {
|
|
26
|
+
if (!this.isSigner) {
|
|
27
|
+
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
28
|
+
}
|
|
29
|
+
const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix);
|
|
30
|
+
await tx.wait();
|
|
31
|
+
}
|
|
32
|
+
async forceChipOut(chip, holder, amount, value) {
|
|
33
|
+
if (!this.isSigner) {
|
|
34
|
+
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
35
|
+
}
|
|
36
|
+
const tx = await this.contract.forceChipOut(chip, holder, amount, { value: value || 0n });
|
|
37
|
+
await tx.wait();
|
|
38
|
+
}
|
|
39
|
+
async interactOnBehalf_chipOut(chip, holder, amount, value) {
|
|
40
|
+
if (!this.isSigner) {
|
|
41
|
+
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
42
|
+
}
|
|
43
|
+
const tx = await this.contract.interactOnBehalf_chipOut(chip, holder, amount, { value: value || 0n });
|
|
44
|
+
await tx.wait();
|
|
45
|
+
}
|
|
46
|
+
async verifyIntent_chipOut(payload, v, r, s, value) {
|
|
47
|
+
if (!this.isSigner) {
|
|
48
|
+
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
49
|
+
}
|
|
50
|
+
const tx = await this.contract.verifyIntent_chipOut(payload, v, r, s, { value: value || 0n });
|
|
51
|
+
await tx.wait();
|
|
52
|
+
}
|
|
53
|
+
async verifyIntent_chipOutAndUnwrap(payload, v, r, s, value) {
|
|
54
|
+
if (!this.isSigner) {
|
|
55
|
+
throw new Error("ChipsIntentsVerifierService: Write operations require a signer");
|
|
56
|
+
}
|
|
57
|
+
const tx = await this.contract.verifyIntent_chipOutAndUnwrap(payload, v, r, s, { value: value || 0n });
|
|
58
|
+
await tx.wait();
|
|
59
|
+
}
|
|
60
|
+
async getLZDstChainIdFromChip(chip) {
|
|
61
|
+
return await this.contract.getLZDstChainIdFromChip(chip);
|
|
62
|
+
}
|
|
63
|
+
async getLZDstChainIdFromEvmChainId(evmChainId) {
|
|
64
|
+
return await this.contract.getLZDstChainIdFromEvmChainId(evmChainId);
|
|
65
|
+
}
|
|
66
|
+
async evmIdToLzEid(evmChainId) {
|
|
67
|
+
return await this.contract.evmIdToLzEid(evmChainId);
|
|
68
|
+
}
|
|
69
|
+
async getWrapNativeChipInOutHelper(oftChip) {
|
|
70
|
+
return await this.contract.getWrapNativeChipInOutHelper(oftChip);
|
|
71
|
+
}
|
|
72
|
+
async sourceChainIdForAsset(asset) {
|
|
73
|
+
return await this.contract.sourceChainIdForAsset(asset);
|
|
74
|
+
}
|
|
75
|
+
async processedSignatures(signature) {
|
|
76
|
+
return await this.contract.processedSignatures(signature);
|
|
77
|
+
}
|
|
78
|
+
async admin() {
|
|
79
|
+
return await this.contract.admin();
|
|
80
|
+
}
|
|
81
|
+
async pendingAdmin() {
|
|
82
|
+
return await this.contract.pendingAdmin();
|
|
83
|
+
}
|
|
84
|
+
async registry() {
|
|
85
|
+
return await this.contract.registry();
|
|
86
|
+
}
|
|
87
|
+
async wrapNativeChipInOutHelpers(oftChip) {
|
|
88
|
+
return await this.contract.wrapNativeChipInOutHelpers(oftChip);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.ChipsIntentsVerifierService = ChipsIntentsVerifierService;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ChipsIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
|
|
2
|
+
export interface IChipsIntentsVerifierService {
|
|
3
|
+
domainSeparatorForAsset(chip: string): Promise<string>;
|
|
4
|
+
domainSeparatorForChain(chainId: bigint): Promise<string>;
|
|
5
|
+
chipOutFeeForChip(chip: string): Promise<bigint>;
|
|
6
|
+
feesReceiver(): Promise<string>;
|
|
7
|
+
intentsPermissions(user: string): Promise<string>;
|
|
8
|
+
setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
|
|
9
|
+
forceChipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
|
|
10
|
+
interactOnBehalf_chipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
|
|
11
|
+
verifyIntent_chipOut(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
12
|
+
verifyIntent_chipOutAndUnwrap(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZ_UnwrapStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
13
|
+
getLZDstChainIdFromChip(chip: string): Promise<bigint>;
|
|
14
|
+
getLZDstChainIdFromEvmChainId(evmChainId: bigint): Promise<bigint>;
|
|
15
|
+
evmIdToLzEid(evmChainId: bigint): Promise<bigint>;
|
|
16
|
+
getWrapNativeChipInOutHelper(oftChip: string): Promise<string>;
|
|
17
|
+
wrapNativeChipInOutHelpers(oftChip: string): Promise<string>;
|
|
18
|
+
sourceChainIdForAsset(asset: string): Promise<bigint>;
|
|
19
|
+
processedSignatures(signature: string): Promise<boolean>;
|
|
20
|
+
admin(): Promise<string>;
|
|
21
|
+
pendingAdmin(): Promise<string>;
|
|
22
|
+
registry(): Promise<string>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=IChipsIntentsVerifierService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IChipsIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAA;AAE9G,MAAM,WAAW,4BAA4B;IAE3C,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACtD,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGzD,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAChD,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAG/B,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjD,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAG/E,YAAY,CACV,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,wBAAwB,CACtB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAGhB,oBAAoB,CAClB,OAAO,EAAE,sBAAsB,CAAC,oCAAoC,EACpE,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,6BAA6B,CAC3B,OAAO,EAAE,sBAAsB,CAAC,2CAA2C,EAC3E,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAGhB,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACtD,6BAA6B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAClE,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGjD,4BAA4B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC9D,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAG5D,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAGxD,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CAC5B"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ChipsIntentsVerifierService } from "./ChipsIntentsVerifierService";
|
|
2
|
+
export type { IChipsIntentsVerifierService } from "./IChipsIntentsVerifierService";
|
|
3
|
+
export type { ChipsIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAC3E,YAAY,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAClF,YAAY,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChipsIntentsVerifierService = void 0;
|
|
4
|
+
var ChipsIntentsVerifierService_1 = require("./ChipsIntentsVerifierService");
|
|
5
|
+
Object.defineProperty(exports, "ChipsIntentsVerifierService", { enumerable: true, get: function () { return ChipsIntentsVerifierService_1.ChipsIntentsVerifierService; } });
|
|
@@ -1,20 +1,7 @@
|
|
|
1
|
-
import { BytesLike } from "ethers";
|
|
2
|
-
import { AccountBasedIntentsVerifierRequestBuildingInfoStruct, HashBasedIntentsVerifierRequestBuildingInfoStruct } from "../../typechain/contracts/Peripheral/Lens/IntentsVerifierLens";
|
|
3
|
-
import { TSafeBigNumberStruct } from "../../utils/ethersTypes";
|
|
4
|
-
export type TAccountBasedIntentsVerifierRequestBuildingInfoStruct = Omit<TSafeBigNumberStruct<AccountBasedIntentsVerifierRequestBuildingInfoStruct>, "actionType" | "currentNonce"> & {
|
|
5
|
-
actionType: number;
|
|
6
|
-
currentNonce: number;
|
|
7
|
-
};
|
|
8
|
-
export type THashBasedIntentsVerifierRequestBuildingInfoStruct = Omit<TSafeBigNumberStruct<HashBasedIntentsVerifierRequestBuildingInfoStruct>, "actionType" | "currentNonce"> & {
|
|
9
|
-
actionType: number;
|
|
10
|
-
currentNonce: number;
|
|
11
|
-
};
|
|
12
1
|
export interface IIntentsVerifierLensService {
|
|
13
|
-
getRequestBuildingInfoForChipsIntentsVerifier(
|
|
14
|
-
getRequestBuildingInfoForLiquidityIntentsVerifier(
|
|
15
|
-
getRequestBuildingInfoForTradeIntentsVerifier(
|
|
2
|
+
getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
|
|
3
|
+
getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
|
|
4
|
+
getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
|
|
16
5
|
registry(): Promise<string>;
|
|
17
6
|
}
|
|
18
|
-
export declare const EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO: TAccountBasedIntentsVerifierRequestBuildingInfoStruct;
|
|
19
|
-
export declare const EMPTY_HASH_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO: THashBasedIntentsVerifierRequestBuildingInfoStruct;
|
|
20
7
|
//# sourceMappingURL=IIntentsVerifierLensService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjE,iDAAiD,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAErE,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjE,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC7B"}
|
package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js
CHANGED
|
@@ -1,15 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EMPTY_HASH_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO = exports.EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO = void 0;
|
|
4
|
-
exports.EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO = {
|
|
5
|
-
verifier: "",
|
|
6
|
-
account: "",
|
|
7
|
-
actionType: 0,
|
|
8
|
-
currentNonce: 0,
|
|
9
|
-
};
|
|
10
|
-
exports.EMPTY_HASH_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO = {
|
|
11
|
-
verifier: "",
|
|
12
|
-
hash: "",
|
|
13
|
-
actionType: 0,
|
|
14
|
-
currentNonce: 0,
|
|
15
|
-
};
|
package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IIntentsVerifierLensService
|
|
1
|
+
import { Provider, Signer } from "ethers";
|
|
2
|
+
import { IIntentsVerifierLensService } from "./IIntentsVerifierLensService";
|
|
3
3
|
export declare class IntentsVerifierLensService implements IIntentsVerifierLensService {
|
|
4
4
|
private readonly contract;
|
|
5
5
|
constructor(signerOrProvider: Signer | Provider, address: string);
|
|
6
|
-
getRequestBuildingInfoForChipsIntentsVerifier(
|
|
7
|
-
getRequestBuildingInfoForLiquidityIntentsVerifier(
|
|
8
|
-
getRequestBuildingInfoForTradeIntentsVerifier(
|
|
6
|
+
getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
|
|
7
|
+
getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
|
|
8
|
+
getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
|
|
9
9
|
registry(): Promise<string>;
|
|
10
10
|
}
|
|
11
11
|
//# sourceMappingURL=IntentsVerifierLensService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,qBAAa,0BAA2B,YAAW,2BAA2B;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;gBAEnC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAI1D,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC;IAIhE,iDAAiD,IAAI,OAAO,CAAC,MAAM,CAAC;IAIpE,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC;IAIhE,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;CAGlC"}
|
package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js
CHANGED
|
@@ -2,38 +2,18 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IntentsVerifierLensService = void 0;
|
|
4
4
|
const IntentsVerifierLens__factory_1 = require("../../typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory");
|
|
5
|
-
const ethersTypes_1 = require("../../utils/ethersTypes");
|
|
6
|
-
const IIntentsVerifierLensService_1 = require("./IIntentsVerifierLensService");
|
|
7
5
|
class IntentsVerifierLensService {
|
|
8
6
|
constructor(signerOrProvider, address) {
|
|
9
7
|
this.contract = IntentsVerifierLens__factory_1.IntentsVerifierLens__factory.connect(address, signerOrProvider);
|
|
10
8
|
}
|
|
11
|
-
async getRequestBuildingInfoForChipsIntentsVerifier(
|
|
12
|
-
|
|
13
|
-
const baseStruct = (0, ethersTypes_1.ethersStructResponseToObject)(result, IIntentsVerifierLensService_1.EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO);
|
|
14
|
-
return {
|
|
15
|
-
...baseStruct,
|
|
16
|
-
actionType: Number(baseStruct.actionType),
|
|
17
|
-
currentNonce: Number(baseStruct.currentNonce),
|
|
18
|
-
};
|
|
9
|
+
async getRequestBuildingInfoForChipsIntentsVerifier() {
|
|
10
|
+
return await this.contract.getRequestBuildingInfoForChipsIntentsVerifier();
|
|
19
11
|
}
|
|
20
|
-
async getRequestBuildingInfoForLiquidityIntentsVerifier(
|
|
21
|
-
|
|
22
|
-
const baseStruct = (0, ethersTypes_1.ethersStructResponseToObject)(result, IIntentsVerifierLensService_1.EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO);
|
|
23
|
-
return {
|
|
24
|
-
...baseStruct,
|
|
25
|
-
actionType: Number(baseStruct.actionType),
|
|
26
|
-
currentNonce: Number(baseStruct.currentNonce),
|
|
27
|
-
};
|
|
12
|
+
async getRequestBuildingInfoForLiquidityIntentsVerifier() {
|
|
13
|
+
return await this.contract.getRequestBuildingInfoForLiquidityIntentsVerifier();
|
|
28
14
|
}
|
|
29
|
-
async getRequestBuildingInfoForTradeIntentsVerifier(
|
|
30
|
-
|
|
31
|
-
const baseStruct = (0, ethersTypes_1.ethersStructResponseToObject)(result, IIntentsVerifierLensService_1.EMPTY_HASH_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO);
|
|
32
|
-
return {
|
|
33
|
-
...baseStruct,
|
|
34
|
-
actionType: Number(baseStruct.actionType),
|
|
35
|
-
currentNonce: Number(baseStruct.currentNonce),
|
|
36
|
-
};
|
|
15
|
+
async getRequestBuildingInfoForTradeIntentsVerifier() {
|
|
16
|
+
return await this.contract.getRequestBuildingInfoForTradeIntentsVerifier();
|
|
37
17
|
}
|
|
38
18
|
async registry() {
|
|
39
19
|
return await this.contract.registry();
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LiquidityIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
|
|
2
|
+
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>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=ILiquidityIntentsVerifierService.d.ts.map
|
|
@@ -0,0 +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;AAEtH,MAAM,WAAW,gCAAgC;IAE/C,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACtD,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGzD,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjD,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAG/E,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,GACb,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,GACb,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,GACb,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,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAGhB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAGxD,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CAC5B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Provider, Signer } from "ethers";
|
|
2
|
+
import { LiquidityIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
|
|
3
|
+
import { ILiquidityIntentsVerifierService } from "./ILiquidityIntentsVerifierService";
|
|
4
|
+
export declare class LiquidityIntentsVerifierService implements ILiquidityIntentsVerifierService {
|
|
5
|
+
private readonly contract;
|
|
6
|
+
private readonly isSigner;
|
|
7
|
+
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>;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=LiquidityIntentsVerifierService.d.ts.map
|
|
@@ -0,0 +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;AAErF,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,GAAG,OAAO,CAAC,MAAM,CAAC;IAItD,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzD,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjD,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ/E,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,GACb,OAAO,CAAC,IAAI,CAAC;IAgBV,4BAA4B,CAChC,IAAI,EAAE,MAAM,EACZ,iBAAiB,EAAE,MAAM,EACzB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAcV,yBAAyB,CAC7B,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,GACb,OAAO,CAAC,IAAI,CAAC;IAgBV,wBAAwB,CAC5B,OAAO,EAAE,0BAA0B,CAAC,iDAAiD,EACrF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAcV,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC;IAIxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAI/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;IAI3B,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAG/D"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiquidityIntentsVerifierService = void 0;
|
|
4
|
+
const LiquidityIntentsVerifierV1__factory_1 = require("../../typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory");
|
|
5
|
+
class LiquidityIntentsVerifierService {
|
|
6
|
+
constructor(signerOrProvider, address) {
|
|
7
|
+
this.contract = LiquidityIntentsVerifierV1__factory_1.LiquidityIntentsVerifierV1__factory.connect(address, signerOrProvider);
|
|
8
|
+
this.isSigner = 'sendTransaction' in signerOrProvider;
|
|
9
|
+
}
|
|
10
|
+
async domainSeparatorForAsset(pool) {
|
|
11
|
+
return await this.contract.domainSeparatorForAsset(pool);
|
|
12
|
+
}
|
|
13
|
+
async domainSeparatorForChain(chainId) {
|
|
14
|
+
return await this.contract.domainSeparatorForChain(chainId);
|
|
15
|
+
}
|
|
16
|
+
async intentsPermissions(user) {
|
|
17
|
+
return await this.contract.intentsPermissions(user);
|
|
18
|
+
}
|
|
19
|
+
async setIntentsPermissions(oftChip, dynAddressSuffix) {
|
|
20
|
+
if (!this.isSigner) {
|
|
21
|
+
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
22
|
+
}
|
|
23
|
+
const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix);
|
|
24
|
+
await tx.wait();
|
|
25
|
+
}
|
|
26
|
+
async interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, value) {
|
|
27
|
+
if (!this.isSigner) {
|
|
28
|
+
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
29
|
+
}
|
|
30
|
+
const tx = await this.contract.interactOnBehalf_epochDeposit(pool, liquidityProvider, amount, minAmountOut, domain, referralCode, { value: value || 0n });
|
|
31
|
+
await tx.wait();
|
|
32
|
+
}
|
|
33
|
+
async interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, value) {
|
|
34
|
+
if (!this.isSigner) {
|
|
35
|
+
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
36
|
+
}
|
|
37
|
+
const tx = await this.contract.interactOnBehalf_epochRedeem(pool, liquidityProvider, amount, minAmountOut, { value: value || 0n });
|
|
38
|
+
await tx.wait();
|
|
39
|
+
}
|
|
40
|
+
async verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, value) {
|
|
41
|
+
if (!this.isSigner) {
|
|
42
|
+
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
43
|
+
}
|
|
44
|
+
const tx = await this.contract.verifyIntent_epochDeposit(payload, v, r, s, domain, referralCode, { value: value || 0n });
|
|
45
|
+
await tx.wait();
|
|
46
|
+
}
|
|
47
|
+
async verifyIntent_epochRedeem(payload, v, r, s, value) {
|
|
48
|
+
if (!this.isSigner) {
|
|
49
|
+
throw new Error("LiquidityIntentsVerifierService: Write operations require a signer");
|
|
50
|
+
}
|
|
51
|
+
const tx = await this.contract.verifyIntent_epochRedeem(payload, v, r, s, { value: value || 0n });
|
|
52
|
+
await tx.wait();
|
|
53
|
+
}
|
|
54
|
+
async admin() {
|
|
55
|
+
return await this.contract.admin();
|
|
56
|
+
}
|
|
57
|
+
async pendingAdmin() {
|
|
58
|
+
return await this.contract.pendingAdmin();
|
|
59
|
+
}
|
|
60
|
+
async registry() {
|
|
61
|
+
return await this.contract.registry();
|
|
62
|
+
}
|
|
63
|
+
async sourceChainIdForAsset(asset) {
|
|
64
|
+
return await this.contract.sourceChainIdForAsset(asset);
|
|
65
|
+
}
|
|
66
|
+
async processedSignatures(signature) {
|
|
67
|
+
return await this.contract.processedSignatures(signature);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.LiquidityIntentsVerifierService = LiquidityIntentsVerifierService;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { LiquidityIntentsVerifierService } from "./LiquidityIntentsVerifierService";
|
|
2
|
+
export type { ILiquidityIntentsVerifierService } from "./ILiquidityIntentsVerifierService";
|
|
3
|
+
export type { LiquidityIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAA;AACnF,YAAY,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AAC1F,YAAY,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LiquidityIntentsVerifierService = void 0;
|
|
4
|
+
var LiquidityIntentsVerifierService_1 = require("./LiquidityIntentsVerifierService");
|
|
5
|
+
Object.defineProperty(exports, "LiquidityIntentsVerifierService", { enumerable: true, get: function () { return LiquidityIntentsVerifierService_1.LiquidityIntentsVerifierService; } });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TradeIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1";
|
|
2
|
+
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>;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=ITradeIntentsVerifierService.d.ts.map
|
|
@@ -0,0 +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;AAErI,MAAM,WAAW,4BAA4B;IAE3C,uBAAuB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjE,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGzD,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACjD,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAG/E,0CAA0C,CACxC,OAAO,EAAE,sBAAsB,CAAC,qCAAqC,EACrE,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,OAAO,EACpB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,8CAA8C,CAC5C,OAAO,EAAE,sBAAsB,CAAC,oCAAoC,EACpE,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,oDAAoD,CAClD,OAAO,EAAE,sBAAsB,CAAC,kDAAkD,EAClF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,oDAAoD,CAClD,OAAO,EAAE,sBAAsB,CAAC,kDAAkD,EAClF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,oDAAoD,CAClD,OAAO,EAAE,sBAAsB,CAAC,kDAAkD,EAClF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhB,oDAAoD,CAClD,OAAO,EAAE,sBAAsB,CAAC,kDAAkD,EAClF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAA;IAGhB,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAChE,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACvD,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAChE,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAGxD,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAClC,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAGnC,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CAC5B"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Provider, Signer } from "ethers";
|
|
2
|
+
import { TradeIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1";
|
|
3
|
+
import { ITradeIntentsVerifierService } from "./ITradeIntentsVerifierService";
|
|
4
|
+
export declare class TradeIntentsVerifierService implements ITradeIntentsVerifierService {
|
|
5
|
+
private readonly contract;
|
|
6
|
+
private readonly isSigner;
|
|
7
|
+
constructor(signerOrProvider: Signer | Provider, address: string);
|
|
8
|
+
domainSeparatorForAsset(settlementAsset: string): Promise<string>;
|
|
9
|
+
domainSeparatorForChain(chainId: bigint): Promise<string>;
|
|
10
|
+
intentsPermissions(user: string): Promise<string>;
|
|
11
|
+
setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
|
|
12
|
+
verifyIntent_traderRequest_openNewPosition(payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, runCapTests: boolean, value?: bigint): Promise<void>;
|
|
13
|
+
verifyIntent_traderRequest_marketClosePosition(payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
14
|
+
verifyIntent_traderAction_updatePendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
15
|
+
verifyIntent_traderAction_cancelPendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
16
|
+
verifyIntent_traderRequest_updatePositionSingleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
17
|
+
verifyIntent_traderRequest_updatePositionDoubleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
18
|
+
admin(): Promise<string>;
|
|
19
|
+
pendingAdmin(): Promise<string>;
|
|
20
|
+
registry(): Promise<string>;
|
|
21
|
+
sourceChainIdForAsset(asset: string): Promise<bigint>;
|
|
22
|
+
processedSignatures(signature: string): Promise<boolean>;
|
|
23
|
+
domainSeparatorsForPosition(positionId: string): Promise<string>;
|
|
24
|
+
tradersForPosition(positionId: string): Promise<string>;
|
|
25
|
+
settlementAssetsForPosition(positionId: string): Promise<string>;
|
|
26
|
+
getTradingFloor(): Promise<string>;
|
|
27
|
+
getTradersPortal(): Promise<string>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=TradeIntentsVerifierService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TradeIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAyB,MAAM,uEAAuE,CAAA;AAErI,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAE7E,qBAAa,2BAA4B,YAAW,4BAA4B;IAC9E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAwB;IACjD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAEtB,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAK1D,uBAAuB,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjE,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzD,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjD,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ/E,0CAA0C,CAC9C,OAAO,EAAE,sBAAsB,CAAC,qCAAqC,EACrE,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,MAAM,EACpB,WAAW,EAAE,OAAO,EACpB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAiBV,8CAA8C,CAClD,OAAO,EAAE,sBAAsB,CAAC,oCAAoC,EACpE,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAcV,oDAAoD,CACxD,OAAO,EAAE,sBAAsB,CAAC,kDAAkD,EAClF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAcV,oDAAoD,CACxD,OAAO,EAAE,sBAAsB,CAAC,kDAAkD,EAClF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAcV,oDAAoD,CACxD,OAAO,EAAE,sBAAsB,CAAC,kDAAkD,EAClF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAcV,oDAAoD,CACxD,OAAO,EAAE,sBAAsB,CAAC,kDAAkD,EAClF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAcV,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC;IAIxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAI/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;IAI3B,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIxD,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIhE,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIvD,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIhE,eAAe,IAAI,OAAO,CAAC,MAAM,CAAC;IAIlC,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC;CAG1C"}
|
package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TradeIntentsVerifierService = void 0;
|
|
4
|
+
const TradeIntentsVerifierV1__factory_1 = require("../../typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory");
|
|
5
|
+
class TradeIntentsVerifierService {
|
|
6
|
+
constructor(signerOrProvider, address) {
|
|
7
|
+
this.contract = TradeIntentsVerifierV1__factory_1.TradeIntentsVerifierV1__factory.connect(address, signerOrProvider);
|
|
8
|
+
this.isSigner = 'sendTransaction' in signerOrProvider;
|
|
9
|
+
}
|
|
10
|
+
async domainSeparatorForAsset(settlementAsset) {
|
|
11
|
+
return await this.contract.domainSeparatorForAsset(settlementAsset);
|
|
12
|
+
}
|
|
13
|
+
async domainSeparatorForChain(chainId) {
|
|
14
|
+
return await this.contract.domainSeparatorForChain(chainId);
|
|
15
|
+
}
|
|
16
|
+
async intentsPermissions(user) {
|
|
17
|
+
return await this.contract.intentsPermissions(user);
|
|
18
|
+
}
|
|
19
|
+
async setIntentsPermissions(oftChip, dynAddressSuffix) {
|
|
20
|
+
if (!this.isSigner) {
|
|
21
|
+
throw new Error("TradeIntentsVerifierService: Write operations require a signer");
|
|
22
|
+
}
|
|
23
|
+
const tx = await this.contract.setIntentsPermissions(oftChip, dynAddressSuffix);
|
|
24
|
+
await tx.wait();
|
|
25
|
+
}
|
|
26
|
+
async verifyIntent_traderRequest_openNewPosition(payload, v, r, s, domain, referralCode, runCapTests, value) {
|
|
27
|
+
if (!this.isSigner) {
|
|
28
|
+
throw new Error("TradeIntentsVerifierService: Write operations require a signer");
|
|
29
|
+
}
|
|
30
|
+
const tx = await this.contract.verifyIntent_traderRequest_openNewPosition(payload, v, r, s, domain, referralCode, runCapTests, { value: value || 0n });
|
|
31
|
+
await tx.wait();
|
|
32
|
+
}
|
|
33
|
+
async verifyIntent_traderRequest_marketClosePosition(payload, v, r, s, value) {
|
|
34
|
+
if (!this.isSigner) {
|
|
35
|
+
throw new Error("TradeIntentsVerifierService: Write operations require a signer");
|
|
36
|
+
}
|
|
37
|
+
const tx = await this.contract.verifyIntent_traderRequest_marketClosePosition(payload, v, r, s, { value: value || 0n });
|
|
38
|
+
await tx.wait();
|
|
39
|
+
}
|
|
40
|
+
async verifyIntent_traderAction_updatePendingLimitPosition(payload, v, r, s, value) {
|
|
41
|
+
if (!this.isSigner) {
|
|
42
|
+
throw new Error("TradeIntentsVerifierService: Write operations require a signer");
|
|
43
|
+
}
|
|
44
|
+
const tx = await this.contract.verifyIntent_traderAction_updatePendingLimitPosition(payload, v, r, s, { value: value || 0n });
|
|
45
|
+
await tx.wait();
|
|
46
|
+
}
|
|
47
|
+
async verifyIntent_traderAction_cancelPendingLimitPosition(payload, v, r, s, value) {
|
|
48
|
+
if (!this.isSigner) {
|
|
49
|
+
throw new Error("TradeIntentsVerifierService: Write operations require a signer");
|
|
50
|
+
}
|
|
51
|
+
const tx = await this.contract.verifyIntent_traderAction_cancelPendingLimitPosition(payload, v, r, s, { value: value || 0n });
|
|
52
|
+
await tx.wait();
|
|
53
|
+
}
|
|
54
|
+
async verifyIntent_traderRequest_updatePositionSingleField(payload, v, r, s, value) {
|
|
55
|
+
if (!this.isSigner) {
|
|
56
|
+
throw new Error("TradeIntentsVerifierService: Write operations require a signer");
|
|
57
|
+
}
|
|
58
|
+
const tx = await this.contract.verifyIntent_traderRequest_updatePositionSingleField(payload, v, r, s, { value: value || 0n });
|
|
59
|
+
await tx.wait();
|
|
60
|
+
}
|
|
61
|
+
async verifyIntent_traderRequest_updatePositionDoubleField(payload, v, r, s, value) {
|
|
62
|
+
if (!this.isSigner) {
|
|
63
|
+
throw new Error("TradeIntentsVerifierService: Write operations require a signer");
|
|
64
|
+
}
|
|
65
|
+
const tx = await this.contract.verifyIntent_traderRequest_updatePositionDoubleField(payload, v, r, s, { value: value || 0n });
|
|
66
|
+
await tx.wait();
|
|
67
|
+
}
|
|
68
|
+
async admin() {
|
|
69
|
+
return await this.contract.admin();
|
|
70
|
+
}
|
|
71
|
+
async pendingAdmin() {
|
|
72
|
+
return await this.contract.pendingAdmin();
|
|
73
|
+
}
|
|
74
|
+
async registry() {
|
|
75
|
+
return await this.contract.registry();
|
|
76
|
+
}
|
|
77
|
+
async sourceChainIdForAsset(asset) {
|
|
78
|
+
return await this.contract.sourceChainIdForAsset(asset);
|
|
79
|
+
}
|
|
80
|
+
async processedSignatures(signature) {
|
|
81
|
+
return await this.contract.processedSignatures(signature);
|
|
82
|
+
}
|
|
83
|
+
async domainSeparatorsForPosition(positionId) {
|
|
84
|
+
return await this.contract.domainSeparatorsForPosition(positionId);
|
|
85
|
+
}
|
|
86
|
+
async tradersForPosition(positionId) {
|
|
87
|
+
return await this.contract.tradersForPosition(positionId);
|
|
88
|
+
}
|
|
89
|
+
async settlementAssetsForPosition(positionId) {
|
|
90
|
+
return await this.contract.settlementAssetsForPosition(positionId);
|
|
91
|
+
}
|
|
92
|
+
async getTradingFloor() {
|
|
93
|
+
return await this.contract.getTradingFloor();
|
|
94
|
+
}
|
|
95
|
+
async getTradersPortal() {
|
|
96
|
+
return await this.contract.getTradersPortal();
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.TradeIntentsVerifierService = TradeIntentsVerifierService;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { TradeIntentsVerifierService } from "./TradeIntentsVerifierService";
|
|
2
|
+
export type { ITradeIntentsVerifierService } from "./ITradeIntentsVerifierService";
|
|
3
|
+
export type { TradeIntentsVerifierV1, TradingFloorStructsV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1";
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradeIntentsVerifierService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAC3E,YAAY,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAClF,YAAY,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,uEAAuE,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TradeIntentsVerifierService = void 0;
|
|
4
|
+
var TradeIntentsVerifierService_1 = require("./TradeIntentsVerifierService");
|
|
5
|
+
Object.defineProperty(exports, "TradeIntentsVerifierService", { enumerable: true, get: function () { return TradeIntentsVerifierService_1.TradeIntentsVerifierService; } });
|