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/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js
CHANGED
|
@@ -221,7 +221,7 @@ const _abi = [
|
|
|
221
221
|
type: "function",
|
|
222
222
|
},
|
|
223
223
|
];
|
|
224
|
-
const _bytecode = "
|
|
224
|
+
const _bytecode = "0x608060405234801561001057600080fd5b506110b9806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063098eb3171461005157806312e5f7a81461007a578063549d65731461009a578063984d9f2314610118575b600080fd5b61006461005f366004610c63565b610138565b6040516100719190610cc5565b60405180910390f35b61008d610088366004610d9b565b61014f565b6040516100719190610dd0565b6100ad6100a8366004610c63565b610188565b604051610071919060006101008201905061ffff80845116835280602085015116602084015250604083015115156040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b61012b610126366004610df5565b610199565b6040516100719190610e7d565b610140610ba6565b61014982610278565b92915050565b6101776040518060600160405280600061ffff16815260200160008152602001600081525090565b61018183836106ec565b9392505050565b610190610bfc565b61014982610811565b60608167ffffffffffffffff8111156101b4576101b4610ee3565b60405190808252806020026020018201604052801561020d57816020015b6101fa6040518060600160405280600061ffff16815260200160008152602001600081525090565b8152602001906001900390816101d25790505b50905060005b828110156102705761024b8585858481811061023157610231610ef9565b90506020020160208101906102469190610f0f565b6106ec565b82828151811061025d5761025d610ef9565b6020908102919091010152600101610213565b509392505050565b610280610ba6565b6000829050806001600160a01b03166345b617136040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e79190610f2a565b61ffff16825260408051637f31c2db60e01b815290516001600160a01b03831691637f31c2db9160048083019260209291908290030181865afa158015610332573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103569190610f2a565b61ffff166020808401919091526040805163104302df60e21b815290516001600160a01b0384169263410c0b7c92600480820193918290030181865afa1580156103a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c89190610f2a565b826040019061ffff16908161ffff1681525050806001600160a01b031663a5b602086040518163ffffffff1660e01b8152600401602060405180830381865afa158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190610f2a565b61ffff16606083015260408051637f588b9160e01b815290516001600160a01b03831691637f588b919160048083019260209291908290030181865afa15801561048b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104af9190610f2a565b61ffff166080830152604080516301c9281f60e51b815290516001600160a01b0383169163392503e09160048083019260209291908290030181865afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190610f2a565b61ffff1660a0830152604080516310b4cc1360e01b815290516001600160a01b038316916310b4cc139160048083019260209291908290030181865afa15801561056f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105939190610f2a565b8260c0018181525050806001600160a01b03166322ede93c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fe9190610f2a565b8260e0018181525050806001600160a01b031663814052056040518163ffffffff1660e01b8152600401602060405180830381865afa158015610645573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106699190610f2a565b61ffff1661010083015260408051634363f8cd60e11b815290516001600160a01b038316916386c7f19a9160048083019260009291908290030181865afa1580156106b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106e09190810190610f4e565b61012083015250919050565b6107146040518060600160405280600061ffff16815260200160008152602001600081525090565b61ffff8216808252604051639f918f4560e01b8152600481019190915283906001600160a01b03821690639f918f4590602401602060405180830381865afa158015610764573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107889190611013565b63ffffffff166020830152604051632e966ff560e11b815261ffff841660048201526001600160a01b03821690635d2cdfea90602401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff9190611013565b63ffffffff1660408301525092915050565b610819610bfc565b6000829050806001600160a01b0316630890d22a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561085c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108809190610f2a565b61ffff1682526040805163104302df60e21b815290516001600160a01b0383169163410c0b7c9160048083019260209291908290030181865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190610f2a565b61ffff166020808401919091526040805163699db38b60e11b815290516001600160a01b0384169263d33b671692600480820193918290030181865afa15801561093d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109619190611039565b15156040808401919091525163d060576b60e01b81526001600160a01b0382169063d060576b906109979060019060040161105b565b602060405180830381865afa1580156109b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d89190610f2a565b606083015260405163d060576b60e01b81526001600160a01b0382169063d060576b90610a0a9060029060040161105b565b602060405180830381865afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190610f2a565b608083015260405163d060576b60e01b81526001600160a01b0382169063d060576b90610a7d9060039060040161105b565b602060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190610f2a565b60a083015260405163d060576b60e01b81526001600160a01b0382169063d060576b90610aef90600490810161105b565b602060405180830381865afa158015610b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b309190610f2a565b8260c0018181525050806001600160a01b031663441f64bb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9b9190610f2a565b60e083015250919050565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082019290925261012081019190915290565b604051806101000160405280600061ffff168152602001600061ffff16815260200160001515815260200160008152602001600081526020016000815260200160008152602001600081525090565b6001600160a01b0381168114610c6057600080fd5b50565b600060208284031215610c7557600080fd5b813561018181610c4b565b60008151808452602080850194506020840160005b83811015610cba5781516001600160a01b031687529582019590820190600101610c95565b509495945050505050565b60208152610cda60208201835161ffff169052565b60006020830151610cf1604084018261ffff169052565b50604083015161ffff8116606084015250606083015161ffff8116608084015250608083015161ffff811660a08401525060a083015161ffff811660c08401525060c083015160e083015260e0830151610100818185015280850151915050610120610d628185018361ffff169052565b840151610140848101529050610d7c610160840182610c80565b949350505050565b803561ffff81168114610d9657600080fd5b919050565b60008060408385031215610dae57600080fd5b8235610db981610c4b565b9150610dc760208401610d84565b90509250929050565b815161ffff168152602080830151908201526040808301519082015260608101610149565b600080600060408486031215610e0a57600080fd5b8335610e1581610c4b565b9250602084013567ffffffffffffffff80821115610e3257600080fd5b818601915086601f830112610e4657600080fd5b813581811115610e5557600080fd5b8760208260051b8501011115610e6a57600080fd5b6020830194508093505050509250925092565b6020808252825182820181905260009190848201906040850190845b81811015610ed757610ec4838551805161ffff16825260208082015190830152604090810151910152565b9284019260609290920191600101610e99565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215610f2157600080fd5b61018182610d84565b600060208284031215610f3c57600080fd5b5051919050565b8051610d9681610c4b565b60006020808385031215610f6157600080fd5b825167ffffffffffffffff80821115610f7957600080fd5b818501915085601f830112610f8d57600080fd5b815181811115610f9f57610f9f610ee3565b8060051b604051601f19603f83011681018181108582111715610fc457610fc4610ee3565b604052918252848201925083810185019188831115610fe257600080fd5b938501935b8285101561100757610ff885610f43565b84529385019392850192610fe7565b98975050505050505050565b60006020828403121561102557600080fd5b815163ffffffff8116811461018157600080fd5b60006020828403121561104b57600080fd5b8151801515811461018157600080fd5b602081016005831061107d57634e487b7160e01b600052602160045260246000fd5b9190529056fea2646970667358221220f358334be605e30929c92c755b853079bba8c49dad25675d1209352fa53756df64736f6c63430008180033";
|
|
225
225
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
226
226
|
class TriggersAndPortalLens__factory extends ethers_1.ContractFactory {
|
|
227
227
|
constructor(...args) {
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SinglePhaseSingleTokenDistributor__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "_distributionToken",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
stateMutability: "nonpayable",
|
|
18
|
+
type: "constructor",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
inputs: [
|
|
22
|
+
{
|
|
23
|
+
internalType: "address",
|
|
24
|
+
name: "owner",
|
|
25
|
+
type: "address",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
name: "OwnableInvalidOwner",
|
|
29
|
+
type: "error",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
inputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: "address",
|
|
35
|
+
name: "account",
|
|
36
|
+
type: "address",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
name: "OwnableUnauthorizedAccount",
|
|
40
|
+
type: "error",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
inputs: [],
|
|
44
|
+
name: "ReentrancyGuardReentrantCall",
|
|
45
|
+
type: "error",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
anonymous: false,
|
|
49
|
+
inputs: [
|
|
50
|
+
{
|
|
51
|
+
indexed: true,
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "account",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
indexed: false,
|
|
58
|
+
internalType: "uint256",
|
|
59
|
+
name: "amount",
|
|
60
|
+
type: "uint256",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
name: "DistributionAssigned",
|
|
64
|
+
type: "event",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
anonymous: false,
|
|
68
|
+
inputs: [
|
|
69
|
+
{
|
|
70
|
+
indexed: true,
|
|
71
|
+
internalType: "address",
|
|
72
|
+
name: "previousOwner",
|
|
73
|
+
type: "address",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
indexed: true,
|
|
77
|
+
internalType: "address",
|
|
78
|
+
name: "newOwner",
|
|
79
|
+
type: "address",
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
name: "OwnershipTransferStarted",
|
|
83
|
+
type: "event",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
anonymous: false,
|
|
87
|
+
inputs: [
|
|
88
|
+
{
|
|
89
|
+
indexed: true,
|
|
90
|
+
internalType: "address",
|
|
91
|
+
name: "previousOwner",
|
|
92
|
+
type: "address",
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
indexed: true,
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "newOwner",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
name: "OwnershipTransferred",
|
|
102
|
+
type: "event",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
anonymous: false,
|
|
106
|
+
inputs: [
|
|
107
|
+
{
|
|
108
|
+
indexed: true,
|
|
109
|
+
internalType: "address",
|
|
110
|
+
name: "account",
|
|
111
|
+
type: "address",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
indexed: false,
|
|
115
|
+
internalType: "uint256",
|
|
116
|
+
name: "amount",
|
|
117
|
+
type: "uint256",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
name: "TokenDistributed",
|
|
121
|
+
type: "event",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
inputs: [],
|
|
125
|
+
name: "acceptOwnership",
|
|
126
|
+
outputs: [],
|
|
127
|
+
stateMutability: "nonpayable",
|
|
128
|
+
type: "function",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
inputs: [],
|
|
132
|
+
name: "claimToken",
|
|
133
|
+
outputs: [],
|
|
134
|
+
stateMutability: "nonpayable",
|
|
135
|
+
type: "function",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
inputs: [
|
|
139
|
+
{
|
|
140
|
+
internalType: "address",
|
|
141
|
+
name: "",
|
|
142
|
+
type: "address",
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
name: "distributed",
|
|
146
|
+
outputs: [
|
|
147
|
+
{
|
|
148
|
+
internalType: "bool",
|
|
149
|
+
name: "",
|
|
150
|
+
type: "bool",
|
|
151
|
+
},
|
|
152
|
+
],
|
|
153
|
+
stateMutability: "view",
|
|
154
|
+
type: "function",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
inputs: [],
|
|
158
|
+
name: "distributedToken",
|
|
159
|
+
outputs: [
|
|
160
|
+
{
|
|
161
|
+
internalType: "contract IERC20",
|
|
162
|
+
name: "",
|
|
163
|
+
type: "address",
|
|
164
|
+
},
|
|
165
|
+
],
|
|
166
|
+
stateMutability: "view",
|
|
167
|
+
type: "function",
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
inputs: [
|
|
171
|
+
{
|
|
172
|
+
internalType: "address",
|
|
173
|
+
name: "",
|
|
174
|
+
type: "address",
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
name: "distributionAmounts",
|
|
178
|
+
outputs: [
|
|
179
|
+
{
|
|
180
|
+
internalType: "uint256",
|
|
181
|
+
name: "",
|
|
182
|
+
type: "uint256",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
stateMutability: "view",
|
|
186
|
+
type: "function",
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
inputs: [],
|
|
190
|
+
name: "owner",
|
|
191
|
+
outputs: [
|
|
192
|
+
{
|
|
193
|
+
internalType: "address",
|
|
194
|
+
name: "",
|
|
195
|
+
type: "address",
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
stateMutability: "view",
|
|
199
|
+
type: "function",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
inputs: [],
|
|
203
|
+
name: "pendingOwner",
|
|
204
|
+
outputs: [
|
|
205
|
+
{
|
|
206
|
+
internalType: "address",
|
|
207
|
+
name: "",
|
|
208
|
+
type: "address",
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
stateMutability: "view",
|
|
212
|
+
type: "function",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
inputs: [],
|
|
216
|
+
name: "renounceOwnership",
|
|
217
|
+
outputs: [],
|
|
218
|
+
stateMutability: "nonpayable",
|
|
219
|
+
type: "function",
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
inputs: [],
|
|
223
|
+
name: "selfBalance",
|
|
224
|
+
outputs: [
|
|
225
|
+
{
|
|
226
|
+
internalType: "uint256",
|
|
227
|
+
name: "",
|
|
228
|
+
type: "uint256",
|
|
229
|
+
},
|
|
230
|
+
],
|
|
231
|
+
stateMutability: "view",
|
|
232
|
+
type: "function",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
inputs: [
|
|
236
|
+
{
|
|
237
|
+
internalType: "address[]",
|
|
238
|
+
name: "_accounts",
|
|
239
|
+
type: "address[]",
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
internalType: "uint256[]",
|
|
243
|
+
name: "_amounts",
|
|
244
|
+
type: "uint256[]",
|
|
245
|
+
},
|
|
246
|
+
],
|
|
247
|
+
name: "setAmounts",
|
|
248
|
+
outputs: [],
|
|
249
|
+
stateMutability: "nonpayable",
|
|
250
|
+
type: "function",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
inputs: [
|
|
254
|
+
{
|
|
255
|
+
internalType: "contract IERC20",
|
|
256
|
+
name: "token",
|
|
257
|
+
type: "address",
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
name: "sweepToken",
|
|
261
|
+
outputs: [],
|
|
262
|
+
stateMutability: "nonpayable",
|
|
263
|
+
type: "function",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
inputs: [],
|
|
267
|
+
name: "totalCommitment",
|
|
268
|
+
outputs: [
|
|
269
|
+
{
|
|
270
|
+
internalType: "uint256",
|
|
271
|
+
name: "",
|
|
272
|
+
type: "uint256",
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
stateMutability: "view",
|
|
276
|
+
type: "function",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
inputs: [],
|
|
280
|
+
name: "totalDistributed",
|
|
281
|
+
outputs: [
|
|
282
|
+
{
|
|
283
|
+
internalType: "uint256",
|
|
284
|
+
name: "",
|
|
285
|
+
type: "uint256",
|
|
286
|
+
},
|
|
287
|
+
],
|
|
288
|
+
stateMutability: "view",
|
|
289
|
+
type: "function",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
inputs: [
|
|
293
|
+
{
|
|
294
|
+
internalType: "address",
|
|
295
|
+
name: "newOwner",
|
|
296
|
+
type: "address",
|
|
297
|
+
},
|
|
298
|
+
],
|
|
299
|
+
name: "transferOwnership",
|
|
300
|
+
outputs: [],
|
|
301
|
+
stateMutability: "nonpayable",
|
|
302
|
+
type: "function",
|
|
303
|
+
},
|
|
304
|
+
];
|
|
305
|
+
const _bytecode = "0x608060405234801561001057600080fd5b50604051610bf3380380610bf383398101604081905261002f916100f5565b338061005557604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61005e81610089565b506001600255600380546001600160a01b0319166001600160a01b0392909216919091179055610125565b600180546001600160a01b03191690556100a2816100a5565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561010757600080fd5b81516001600160a01b038116811461011e57600080fd5b9392505050565b610abf806101346000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638c1b51541161008c578063b0bed0ba11610066578063b0bed0ba146101d6578063e30c3978146101de578063efca2eed146101ef578063f2fde38b146101f857600080fd5b80638c1b51541461018b5780638da5cb5b1461019e5780638f49da4b146101c357600080fd5b80634451d89f116100c85780634451d89f14610140578063578bcf3514610148578063715018a61461017b57806379ba50971461018357600080fd5b806301ecefa1146100ef5780630ec484261461010b5780631be195601461012b575b600080fd5b6100f860075481565b6040519081526020015b60405180910390f35b6100f86101193660046108f0565b60046020526000908152604090205481565b61013e6101393660046108f0565b61020b565b005b61013e610317565b61016b6101563660046108f0565b60056020526000908152604090205460ff1681565b6040519015158152602001610102565b61013e610334565b61013e610346565b61013e610199366004610960565b61038f565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b6003546101ab906001600160a01b031681565b6100f861046b565b6001546001600160a01b03166101ab565b6100f860065481565b61013e6102063660046108f0565b6104dd565b61021361054e565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027e91906109cc565b9050816001600160a01b031663a9059cbb6102a16000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156102ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031291906109e5565b505050565b61031f61057b565b610328336105a3565b6103326001600255565b565b61033c61054e565b6103326000610787565b60015433906001600160a01b031681146103835760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b61038c81610787565b50565b61039761054e565b8281146103dd5760405162461bcd60e51b81526020600482015260146024820152730d8cadccee8d0e640e6d0deead8c840dac2e8c6d60631b604482015260640161037a565b60075460005b84811015610461578383828181106103fd576103fd610a07565b905060200201358261040f9190610a1d565b915061045986868381811061042657610426610a07565b905060200201602081019061043b91906108f0565b85858481811061044d5761044d610a07565b905060200201356107a0565b6001016103e3565b5060075550505050565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156104b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d891906109cc565b905090565b6104e561054e565b600180546001600160a01b0383166001600160a01b031990911681179091556105166000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000546001600160a01b031633146103325760405163118cdaa760e01b815233600482015260240161037a565b600280540361059d57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b6001600160a01b03811660009081526005602052604090205460ff16156105dc5760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038116600090815260046020526040902054806106315760405162461bcd60e51b815260206004820152600c60248201526b1b9bdd08195b9d1a5d1b195960a21b604482015260640161037a565b600061063b61046b565b90508181101561068d5760405162461bcd60e51b815260206004820152601860248201527f6e6f7420656e6f75676820746f20646973747269627574650000000000000000604482015260640161037a565b6001600160a01b0383166000908152600560205260408120805460ff19166001179055600680548492906106c2908490610a1d565b909155505060035460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af115801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e91906109e5565b50826001600160a01b03167ff6f55ada4fbb9e2bc6813f97e749a30067f3c13a200ce783269b50e6419e8f648360405161077a91815260200190565b60405180910390a2505050565b600180546001600160a01b031916905561038c8161088b565b6001600160a01b03821660009081526005602052604090205460ff16156107d95760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038216600090815260046020526040902054156108325760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e48185cdcda59db995960821b604482015260640161037a565b6001600160a01b03821660008181526004602052604090819020839055517f4f995813143f46bc49e81b9b001594dd0707cdf28df48f593ccb571259a6c52d9061087f9084815260200190565b60405180910390a25050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461038c57600080fd5b60006020828403121561090257600080fd5b813561090d816108db565b9392505050565b60008083601f84011261092657600080fd5b50813567ffffffffffffffff81111561093e57600080fd5b6020830191508360208260051b850101111561095957600080fd5b9250929050565b6000806000806040858703121561097657600080fd5b843567ffffffffffffffff8082111561098e57600080fd5b61099a88838901610914565b909650945060208701359150808211156109b357600080fd5b506109c087828801610914565b95989497509550505050565b6000602082840312156109de57600080fd5b5051919050565b6000602082840312156109f757600080fd5b8151801515811461090d57600080fd5b634e487b7160e01b600052603260045260246000fd5b80820180821115610a3e57634e487b7160e01b600052601160045260246000fd5b92915050565b60208082526025908201527f6163636f756e7420616c726561647920726563656976656420646973747269626040820152643aba34b7b760d91b60608201526080019056fea2646970667358221220a0c6290f941ef4d8abf904186cb3706d7b1fc90baf85620cca24a8d3065547dd64736f6c63430008180033";
|
|
306
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
307
|
+
class SinglePhaseSingleTokenDistributor__factory extends ethers_1.ContractFactory {
|
|
308
|
+
constructor(...args) {
|
|
309
|
+
if (isSuperArgs(args)) {
|
|
310
|
+
super(...args);
|
|
311
|
+
}
|
|
312
|
+
else {
|
|
313
|
+
super(_abi, _bytecode, args[0]);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
getDeployTransaction(_distributionToken, overrides) {
|
|
317
|
+
return super.getDeployTransaction(_distributionToken, overrides || {});
|
|
318
|
+
}
|
|
319
|
+
deploy(_distributionToken, overrides) {
|
|
320
|
+
return super.deploy(_distributionToken, overrides || {});
|
|
321
|
+
}
|
|
322
|
+
connect(runner) {
|
|
323
|
+
return super.connect(runner);
|
|
324
|
+
}
|
|
325
|
+
static createInterface() {
|
|
326
|
+
return new ethers_1.Interface(_abi);
|
|
327
|
+
}
|
|
328
|
+
static connect(address, runner) {
|
|
329
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
exports.SinglePhaseSingleTokenDistributor__factory = SinglePhaseSingleTokenDistributor__factory;
|
|
333
|
+
SinglePhaseSingleTokenDistributor__factory.bytecode = _bytecode;
|
|
334
|
+
SinglePhaseSingleTokenDistributor__factory.abi = _abi;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -23,6 +23,13 @@ export * from "./lib/addresses/lensAddresses";
|
|
|
23
23
|
export * from "./lib/addresses/systemAddresses";
|
|
24
24
|
export * from "./lib/contractsIntegration/deployedContractsConnector";
|
|
25
25
|
export * from "./lib/contractsIntegration/TradersPortalService";
|
|
26
|
+
export * from "./lib/contractsIntegration/TradingFloorService";
|
|
27
|
+
export { ChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
|
|
28
|
+
export type { IChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
|
|
29
|
+
export { LiquidityIntentsVerifierService } from "./lib/contractsIntegration/LiquidityIntentsVerifierService";
|
|
30
|
+
export type { ILiquidityIntentsVerifierService } from "./lib/contractsIntegration/LiquidityIntentsVerifierService";
|
|
31
|
+
export { TradeIntentsVerifierService } from "./lib/contractsIntegration/TradeIntentsVerifierService";
|
|
32
|
+
export type { ITradeIntentsVerifierService } from "./lib/contractsIntegration/TradeIntentsVerifierService";
|
|
26
33
|
export * from "./lib/contractsIntegration/IntentsVerifierLensService";
|
|
27
34
|
export * from "./lib/contractsIntegration/TriggersAndPortalLensService";
|
|
28
35
|
export * from "./lib/contractsIntegration/TradingFloorLensService";
|
|
@@ -35,5 +42,8 @@ export * from "./lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifi
|
|
|
35
42
|
export * from "./lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory";
|
|
36
43
|
export * from "./lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory";
|
|
37
44
|
export * from "./lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory";
|
|
45
|
+
export * from "./lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory";
|
|
46
|
+
export * from "./lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory";
|
|
47
|
+
export * from "./lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory";
|
|
38
48
|
export * from "./lib/devex";
|
|
39
49
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,uDAAuD,CAAC;AAEtE,cAAc,iDAAiD,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,uDAAuD,CAAC;AAEtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AACrG,YAAY,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAC3G,OAAO,EAAE,+BAA+B,EAAE,MAAM,4DAA4D,CAAC;AAC7G,YAAY,EAAE,gCAAgC,EAAE,MAAM,4DAA4D,CAAC;AACnH,OAAO,EAAE,2BAA2B,EAAE,MAAM,wDAAwD,CAAC;AACrG,YAAY,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAE3G,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iEAAiE,CAAC;AAChF,cAAc,mDAAmD,CAAC;AAClE,cAAc,4DAA4D,CAAC;AAI3E,cAAc,kFAAkF,CAAC;AACjG,cAAc,oFAAoF,CAAC;AACnG,cAAc,sEAAsE,CAAC;AACrF,cAAc,+EAA+E,CAAC;AAE9F,cAAc,0FAA0F,CAAC;AACzG,cAAc,8FAA8F,CAAC;AAC7G,cAAc,0FAA0F,CAAC;AAGzG,cAAc,aAAa,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TradeIntentsVerifierService = exports.LiquidityIntentsVerifierService = exports.ChipsIntentsVerifierService = void 0;
|
|
17
18
|
__exportStar(require("./lib/chains/chainConstants"), exports);
|
|
18
19
|
__exportStar(require("./lib/chains/chainTypes"), exports);
|
|
19
20
|
__exportStar(require("./lib/utils/addresses"), exports);
|
|
@@ -39,6 +40,13 @@ __exportStar(require("./lib/addresses/lensAddresses"), exports);
|
|
|
39
40
|
__exportStar(require("./lib/addresses/systemAddresses"), exports);
|
|
40
41
|
__exportStar(require("./lib/contractsIntegration/deployedContractsConnector"), exports);
|
|
41
42
|
__exportStar(require("./lib/contractsIntegration/TradersPortalService"), exports);
|
|
43
|
+
__exportStar(require("./lib/contractsIntegration/TradingFloorService"), exports);
|
|
44
|
+
var ChipsIntentsVerifierService_1 = require("./lib/contractsIntegration/ChipsIntentsVerifierService");
|
|
45
|
+
Object.defineProperty(exports, "ChipsIntentsVerifierService", { enumerable: true, get: function () { return ChipsIntentsVerifierService_1.ChipsIntentsVerifierService; } });
|
|
46
|
+
var LiquidityIntentsVerifierService_1 = require("./lib/contractsIntegration/LiquidityIntentsVerifierService");
|
|
47
|
+
Object.defineProperty(exports, "LiquidityIntentsVerifierService", { enumerable: true, get: function () { return LiquidityIntentsVerifierService_1.LiquidityIntentsVerifierService; } });
|
|
48
|
+
var TradeIntentsVerifierService_1 = require("./lib/contractsIntegration/TradeIntentsVerifierService");
|
|
49
|
+
Object.defineProperty(exports, "TradeIntentsVerifierService", { enumerable: true, get: function () { return TradeIntentsVerifierService_1.TradeIntentsVerifierService; } });
|
|
42
50
|
__exportStar(require("./lib/contractsIntegration/IntentsVerifierLensService"), exports);
|
|
43
51
|
__exportStar(require("./lib/contractsIntegration/TriggersAndPortalLensService"), exports);
|
|
44
52
|
__exportStar(require("./lib/contractsIntegration/TradingFloorLensService"), exports);
|
|
@@ -47,9 +55,13 @@ __exportStar(require("./lib/typechain/contracts/Peripheral/Lens/IntentsVerifierL
|
|
|
47
55
|
__exportStar(require("./lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens"), exports);
|
|
48
56
|
__exportStar(require("./lib/typechain/contracts/Peripheral/Lens/LexLens"), exports);
|
|
49
57
|
__exportStar(require("./lib/typechain/contracts/Peripheral/Lens/TradingFloorLens"), exports);
|
|
58
|
+
// Intents Verifier types are exported through their respective services to avoid conflicts
|
|
50
59
|
__exportStar(require("./lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory"), exports);
|
|
51
60
|
__exportStar(require("./lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory"), exports);
|
|
52
61
|
__exportStar(require("./lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory"), exports);
|
|
53
62
|
__exportStar(require("./lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory"), exports);
|
|
63
|
+
__exportStar(require("./lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory"), exports);
|
|
64
|
+
__exportStar(require("./lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory"), exports);
|
|
65
|
+
__exportStar(require("./lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory"), exports);
|
|
54
66
|
// Developer Experience utilities
|
|
55
67
|
__exportStar(require("./lib/devex"), exports);
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
export declare const LensAddresses: {
|
|
2
2
|
readonly boba: {
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
readonly triggersAndPortalLens: "
|
|
3
|
+
readonly intentsVerifierLens: "0x7DfA2F609573AB8eD8cA231498FF4E8f1e7d31Fa";
|
|
4
|
+
readonly lexLens: "0xE4Ebc518A2Fb771057E8E1e85296a72a4587e11E";
|
|
5
|
+
readonly tradingFloorLensLens: "0x7f68e8Ba4176683594342d9C39De22b93daC45E3";
|
|
6
|
+
readonly triggersAndPortalLens: "0x5c3d344C24e4Cd7DDCdd15C660095FFb160d42e5";
|
|
7
7
|
};
|
|
8
8
|
readonly sonic: {
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
readonly triggersAndPortalLens: "
|
|
9
|
+
readonly intentsVerifierLens: "0x0C1Fcd85856b5564a87ae378336b7CC0c139C5f7";
|
|
10
|
+
readonly lexLens: "0xc8939875FeC9a0A2f1757272165f8F53659C47c4";
|
|
11
|
+
readonly tradingFloorLensLens: "0x50631a46BEe1E63e46C3eDceE3d5af33E5904681";
|
|
12
|
+
readonly triggersAndPortalLens: "0x7976e6E8145a11aB17D61497dfa0524999Ab6d3c";
|
|
13
13
|
};
|
|
14
14
|
readonly fantom: {
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly triggersAndPortalLens: "
|
|
15
|
+
readonly intentsVerifierLens: "";
|
|
16
|
+
readonly lexLens: "";
|
|
17
|
+
readonly tradingFloorLensLens: "";
|
|
18
|
+
readonly triggersAndPortalLens: "";
|
|
19
19
|
};
|
|
20
20
|
readonly flare: {
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
23
|
-
readonly
|
|
24
|
-
readonly triggersAndPortalLens: "
|
|
21
|
+
readonly intentsVerifierLens: "0x1CdA9C57526e0CDF97f63c2c0CD460a16f9855F5";
|
|
22
|
+
readonly lexLens: "0x76CDbA9107a89af6Dda81655f26FBE67e1d4a749";
|
|
23
|
+
readonly tradingFloorLensLens: "0x731cDbfF121a313c9af0146826E2A78cCBE9FF66";
|
|
24
|
+
readonly triggersAndPortalLens: "0x36D550DbA557a930f0Dfcb4796c593b2215D52Af";
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
//# sourceMappingURL=lensAddresses.d.ts.map
|
|
@@ -3,27 +3,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LensAddresses = void 0;
|
|
4
4
|
exports.LensAddresses = {
|
|
5
5
|
boba: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
triggersAndPortalLens: "
|
|
6
|
+
intentsVerifierLens: "0x7DfA2F609573AB8eD8cA231498FF4E8f1e7d31Fa",
|
|
7
|
+
lexLens: "0xE4Ebc518A2Fb771057E8E1e85296a72a4587e11E",
|
|
8
|
+
tradingFloorLensLens: "0x7f68e8Ba4176683594342d9C39De22b93daC45E3",
|
|
9
|
+
triggersAndPortalLens: "0x5c3d344C24e4Cd7DDCdd15C660095FFb160d42e5",
|
|
10
10
|
},
|
|
11
11
|
sonic: {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
triggersAndPortalLens: "
|
|
12
|
+
intentsVerifierLens: "0x0C1Fcd85856b5564a87ae378336b7CC0c139C5f7",
|
|
13
|
+
lexLens: "0xc8939875FeC9a0A2f1757272165f8F53659C47c4",
|
|
14
|
+
tradingFloorLensLens: "0x50631a46BEe1E63e46C3eDceE3d5af33E5904681",
|
|
15
|
+
triggersAndPortalLens: "0x7976e6E8145a11aB17D61497dfa0524999Ab6d3c",
|
|
16
16
|
},
|
|
17
17
|
fantom: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
triggersAndPortalLens: "
|
|
18
|
+
intentsVerifierLens: "",
|
|
19
|
+
lexLens: "",
|
|
20
|
+
tradingFloorLensLens: "",
|
|
21
|
+
triggersAndPortalLens: "",
|
|
22
22
|
},
|
|
23
23
|
flare: {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
triggersAndPortalLens: "
|
|
24
|
+
intentsVerifierLens: "0x1CdA9C57526e0CDF97f63c2c0CD460a16f9855F5",
|
|
25
|
+
lexLens: "0x76CDbA9107a89af6Dda81655f26FBE67e1d4a749",
|
|
26
|
+
tradingFloorLensLens: "0x731cDbfF121a313c9af0146826E2A78cCBE9FF66",
|
|
27
|
+
triggersAndPortalLens: "0x36D550DbA557a930f0Dfcb4796c593b2215D52Af",
|
|
28
28
|
},
|
|
29
29
|
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Provider, Signer } from "ethers";
|
|
2
|
+
import { ChipsIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
|
|
3
|
+
import { IChipsIntentsVerifierService } from "./IChipsIntentsVerifierService";
|
|
4
|
+
export declare class ChipsIntentsVerifierService implements IChipsIntentsVerifierService {
|
|
5
|
+
private readonly contract;
|
|
6
|
+
private readonly isSigner;
|
|
7
|
+
constructor(signerOrProvider: Signer | Provider, address: string);
|
|
8
|
+
domainSeparatorForAsset(chip: string): Promise<string>;
|
|
9
|
+
domainSeparatorForChain(chainId: bigint): Promise<string>;
|
|
10
|
+
chipOutFeeForChip(chip: string): Promise<bigint>;
|
|
11
|
+
feesReceiver(): Promise<string>;
|
|
12
|
+
intentsPermissions(user: string): Promise<string>;
|
|
13
|
+
setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
|
|
14
|
+
forceChipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
|
|
15
|
+
interactOnBehalf_chipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
|
|
16
|
+
verifyIntent_chipOut(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
17
|
+
verifyIntent_chipOutAndUnwrap(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZ_UnwrapStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
|
|
18
|
+
getLZDstChainIdFromChip(chip: string): Promise<bigint>;
|
|
19
|
+
getLZDstChainIdFromEvmChainId(evmChainId: bigint): Promise<bigint>;
|
|
20
|
+
evmIdToLzEid(evmChainId: bigint): Promise<bigint>;
|
|
21
|
+
getWrapNativeChipInOutHelper(oftChip: string): Promise<string>;
|
|
22
|
+
sourceChainIdForAsset(asset: string): Promise<bigint>;
|
|
23
|
+
processedSignatures(signature: string): Promise<boolean>;
|
|
24
|
+
admin(): Promise<string>;
|
|
25
|
+
pendingAdmin(): Promise<string>;
|
|
26
|
+
registry(): Promise<string>;
|
|
27
|
+
wrapNativeChipInOutHelpers(oftChip: string): Promise<string>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=ChipsIntentsVerifierService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChipsIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAA;AAE9G,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;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,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAItD,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzD,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIhD,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAI/B,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,YAAY,CAChB,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAaV,wBAAwB,CAC5B,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAaV,oBAAoB,CACxB,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,6BAA6B,CACjC,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;IAcV,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAItD,6BAA6B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIlE,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjD,4BAA4B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAI9D,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIxD,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC;IAIxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAI/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;IAI3B,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAGnE"}
|