lynx-client 0.0.1-beta.9 → 0.0.2
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 +392 -3
- package/dist/cjs/index.js +8 -0
- package/dist/cjs/lib/chains/chainMappings.js +17 -0
- package/dist/cjs/lib/constants/contractEnums.js +1 -0
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +15 -0
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +42 -0
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/index.js +18 -0
- package/dist/cjs/lib/contractsIntegration/LexLensService/ILexLensService.js +137 -0
- package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +250 -0
- package/dist/cjs/lib/contractsIntegration/LexLensService/index.js +18 -0
- package/dist/cjs/lib/contractsIntegration/OrderBookService/IOrderBookService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +92 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/ITradersPortalService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +157 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +64 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/index.js +19 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +61 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +147 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/index.js +18 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/ITradingFloorService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +158 -0
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +30 -0
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +58 -0
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/index.js +18 -0
- package/dist/cjs/lib/contractsIntegration/TriggersService/ITriggersService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +188 -0
- package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +119 -8
- package/dist/cjs/lib/devex/getChainAddresses.js +65 -0
- package/dist/cjs/lib/devex/getSupportedEngineChains.js +45 -0
- package/dist/cjs/lib/devex/index.js +9 -0
- package/dist/cjs/lib/devex/types.js +2 -0
- package/dist/cjs/lib/lynxSystem/hashes.js +9 -0
- package/dist/cjs/lib/lynxSystem/lynxScalesUtils.js +8 -0
- package/dist/cjs/lib/lynxSystem/registry/registryReading.js +38 -0
- package/dist/cjs/lib/priceFeeds/pyth/pythFeedConstants.js +1 -2
- package/dist/cjs/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Registry/RegistryProxy.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Registry/RegistryV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Triggers/TriggersV1.js +2 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.js +258 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +539 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.js +226 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1108 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +966 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.js +258 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1774 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1459 -0
- 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 +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/cjs/lib/utils/ethersTypes.js +29 -6
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +8 -0
- package/dist/esm/lib/chains/chainMappings.d.ts +13 -0
- package/dist/esm/lib/chains/chainMappings.d.ts.map +1 -0
- package/dist/esm/lib/chains/chainMappings.js +17 -0
- package/dist/esm/lib/chains/chainTypes.d.ts +3 -0
- package/dist/esm/lib/chains/chainTypes.d.ts.map +1 -1
- package/dist/esm/lib/constants/contractEnums.d.ts.map +1 -1
- package/dist/esm/lib/constants/contractEnums.js +1 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +20 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +15 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +11 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +42 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/index.js +18 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +85 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.js +137 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +34 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +250 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/index.js +18 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +40 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.js +2 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +12 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +92 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +61 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.js +2 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +14 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +157 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +32 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +64 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/index.js +19 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +76 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +61 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +16 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +147 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/index.js +18 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +83 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.js +2 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +80 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +158 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +33 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +30 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +11 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +58 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/index.js +18 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +73 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.js +2 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts +18 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +188 -0
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +44 -5
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +119 -8
- package/dist/esm/lib/devex/getChainAddresses.d.ts +20 -0
- package/dist/esm/lib/devex/getChainAddresses.d.ts.map +1 -0
- package/dist/esm/lib/devex/getChainAddresses.js +65 -0
- package/dist/esm/lib/devex/getSupportedEngineChains.d.ts +37 -0
- package/dist/esm/lib/devex/getSupportedEngineChains.d.ts.map +1 -0
- package/dist/esm/lib/devex/getSupportedEngineChains.js +45 -0
- package/dist/esm/lib/devex/index.d.ts +5 -0
- package/dist/esm/lib/devex/index.d.ts.map +1 -0
- package/dist/esm/lib/devex/index.js +9 -0
- package/dist/esm/lib/devex/types.d.ts +20 -0
- package/dist/esm/lib/devex/types.d.ts.map +1 -0
- package/dist/esm/lib/devex/types.js +2 -0
- package/dist/esm/lib/lynxSystem/hashes.d.ts +6 -0
- package/dist/esm/lib/lynxSystem/hashes.d.ts.map +1 -1
- package/dist/esm/lib/lynxSystem/hashes.js +9 -0
- package/dist/esm/lib/lynxSystem/lynxScalesUtils.d.ts +2 -0
- package/dist/esm/lib/lynxSystem/lynxScalesUtils.d.ts.map +1 -1
- package/dist/esm/lib/lynxSystem/lynxScalesUtils.js +8 -0
- package/dist/esm/lib/lynxSystem/registry/registryReading.d.ts +9 -0
- package/dist/esm/lib/lynxSystem/registry/registryReading.d.ts.map +1 -0
- package/dist/esm/lib/lynxSystem/registry/registryReading.js +38 -0
- package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
- package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.js +1 -2
- package/dist/esm/lib/typechain/common.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts +151 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts +268 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts +143 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryProxy.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts +603 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +571 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts +151 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +1160 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +977 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +1 -3
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts +193 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.js +258 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +407 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +539 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts +169 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.js +226 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +841 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1108 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +745 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +966 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts +193 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.js +258 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1374 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1774 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1135 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1459 -0
- 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 +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/esm/lib/utils/ethersTypes.d.ts +2 -2
- package/dist/esm/lib/utils/ethersTypes.d.ts.map +1 -1
- package/dist/esm/lib/utils/ethersTypes.js +29 -6
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/chains/chainMappings.d.ts +13 -0
- package/dist/types/lib/chains/chainMappings.d.ts.map +1 -0
- package/dist/types/lib/chains/chainTypes.d.ts +3 -0
- package/dist/types/lib/chains/chainTypes.d.ts.map +1 -1
- package/dist/types/lib/constants/contractEnums.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +20 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +11 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +85 -0
- package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +34 -0
- package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LexLensService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/LexLensService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +40 -0
- package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +12 -0
- package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +61 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +14 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +32 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +76 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +16 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +83 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +80 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +33 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +11 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +73 -0
- package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts +18 -0
- package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +44 -5
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/types/lib/devex/getChainAddresses.d.ts +20 -0
- package/dist/types/lib/devex/getChainAddresses.d.ts.map +1 -0
- package/dist/types/lib/devex/getSupportedEngineChains.d.ts +37 -0
- package/dist/types/lib/devex/getSupportedEngineChains.d.ts.map +1 -0
- package/dist/types/lib/devex/index.d.ts +5 -0
- package/dist/types/lib/devex/index.d.ts.map +1 -0
- package/dist/types/lib/devex/types.d.ts +20 -0
- package/dist/types/lib/devex/types.d.ts.map +1 -0
- package/dist/types/lib/lynxSystem/hashes.d.ts +6 -0
- package/dist/types/lib/lynxSystem/hashes.d.ts.map +1 -1
- package/dist/types/lib/lynxSystem/lynxScalesUtils.d.ts +2 -0
- package/dist/types/lib/lynxSystem/lynxScalesUtils.d.ts.map +1 -1
- package/dist/types/lib/lynxSystem/registry/registryReading.d.ts +9 -0
- package/dist/types/lib/lynxSystem/registry/registryReading.d.ts.map +1 -0
- package/dist/types/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
- package/dist/types/lib/typechain/common.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts +151 -0
- package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts +268 -0
- package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts +143 -0
- package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts +603 -0
- package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +571 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts +151 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +1160 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +977 -0
- package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +1 -3
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts +193 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +407 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts +169 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +841 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +745 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts +193 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1374 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1135 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -0
- 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 +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/types/lib/utils/ethersTypes.d.ts +2 -2
- package/dist/types/lib/utils/ethersTypes.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ILynxChainAddresses, IGetChainAddressesOptions } from "./types";
|
|
2
|
+
/**
|
|
3
|
+
* Get all Lynx system contract addresses for a specific chain
|
|
4
|
+
* @param options - Chain ID and provider
|
|
5
|
+
* @returns Promise<ILynxChainAddresses> - All system contract addresses
|
|
6
|
+
* @throws Error if chain is not supported
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import { getChainAddresses } from 'lynx-client/devex';
|
|
11
|
+
* import { ethers } from 'ethers';
|
|
12
|
+
*
|
|
13
|
+
* const provider = new ethers.JsonRpcProvider('https://rpc.example.com');
|
|
14
|
+
* const addresses = await getChainAddresses({ chainId: 146, provider });
|
|
15
|
+
*
|
|
16
|
+
* console.log(addresses.tradingFloorAddress); // Address of TradingFloor contract
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getChainAddresses(options: IGetChainAddressesOptions): Promise<ILynxChainAddresses>;
|
|
20
|
+
//# sourceMappingURL=getChainAddresses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChainAddresses.d.ts","sourceRoot":"","sources":["../../../../lib/devex/getChainAddresses.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAOzE;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,mBAAmB,CAAC,CAsD9B"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getChainAddresses = getChainAddresses;
|
|
4
|
+
const systemAddresses_1 = require("../addresses/systemAddresses");
|
|
5
|
+
const lensAddresses_1 = require("../addresses/lensAddresses");
|
|
6
|
+
const deployedContractsConnector_1 = require("../contractsIntegration/deployedContractsConnector");
|
|
7
|
+
const chainMappings_1 = require("../chains/chainMappings");
|
|
8
|
+
/**
|
|
9
|
+
* Get all Lynx system contract addresses for a specific chain
|
|
10
|
+
* @param options - Chain ID and provider
|
|
11
|
+
* @returns Promise<ILynxChainAddresses> - All system contract addresses
|
|
12
|
+
* @throws Error if chain is not supported
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import { getChainAddresses } from 'lynx-client/devex';
|
|
17
|
+
* import { ethers } from 'ethers';
|
|
18
|
+
*
|
|
19
|
+
* const provider = new ethers.JsonRpcProvider('https://rpc.example.com');
|
|
20
|
+
* const addresses = await getChainAddresses({ chainId: 146, provider });
|
|
21
|
+
*
|
|
22
|
+
* console.log(addresses.tradingFloorAddress); // Address of TradingFloor contract
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
async function getChainAddresses(options) {
|
|
26
|
+
const { chainId, provider } = options;
|
|
27
|
+
// Find the chain configuration
|
|
28
|
+
const chainEntry = Object.entries(chainMappings_1.ENGINE_CHAIN_ID_BY_NAME).find(([_, id]) => id === chainId);
|
|
29
|
+
if (!chainEntry) {
|
|
30
|
+
throw new Error(`Chain ID ${chainId} is not supported by Lynx protocol engine chains`);
|
|
31
|
+
}
|
|
32
|
+
const [chainKey] = chainEntry;
|
|
33
|
+
const addresses = systemAddresses_1.LynxSystemAddresses[chainKey];
|
|
34
|
+
const lensAddresses = lensAddresses_1.LensAddresses[chainKey];
|
|
35
|
+
const chainName = chainMappings_1.ENGINE_CHAIN_DISPLAY_NAME[chainKey];
|
|
36
|
+
// Connect to registry to get current implementation addresses
|
|
37
|
+
const registry = (0, deployedContractsConnector_1.connectToLatestRegistry)(provider, addresses.registryProxyAddress);
|
|
38
|
+
try {
|
|
39
|
+
// Fetch all contract addresses from registry
|
|
40
|
+
const [tradersPortal, orderBook, triggers,] = await Promise.all([
|
|
41
|
+
registry.tradersPortal(),
|
|
42
|
+
registry.orderBook(),
|
|
43
|
+
registry.triggers(),
|
|
44
|
+
]);
|
|
45
|
+
// Get registry implementation
|
|
46
|
+
const registryImplementation = await registry.implementation();
|
|
47
|
+
return {
|
|
48
|
+
chainId,
|
|
49
|
+
chainName,
|
|
50
|
+
registryProxyAddress: addresses.registryProxyAddress,
|
|
51
|
+
registryImplementationAddress: registryImplementation,
|
|
52
|
+
tradersPortalAddress: tradersPortal,
|
|
53
|
+
tradingFloorAddress: addresses.tradingFloorProxyAddress,
|
|
54
|
+
orderBookAddress: orderBook,
|
|
55
|
+
triggersAddress: triggers,
|
|
56
|
+
lexLensAddress: lensAddresses.lexLens,
|
|
57
|
+
tradingFloorLensAddress: lensAddresses.tradingFloorLensLens,
|
|
58
|
+
intentsVerifierLensAddress: lensAddresses.intentsVerifierLens,
|
|
59
|
+
triggersAndPortalLensAddress: lensAddresses.triggersAndPortalLens,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
catch (error) {
|
|
63
|
+
throw new Error(`Failed to fetch addresses from registry on chain ${chainId}: ${error instanceof Error ? error.message : 'Unknown error'}`);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export interface ISupportedChainDescriptor {
|
|
2
|
+
chainId: number;
|
|
3
|
+
chainName: string;
|
|
4
|
+
chainKey: string;
|
|
5
|
+
registryProxyAddress: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Get all chains supported by the Lynx protocol
|
|
9
|
+
* @returns Array of supported chains with their details
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { getSupportedChains } from 'lynx-client/devex';
|
|
14
|
+
*
|
|
15
|
+
* const chains = getSupportedChains();
|
|
16
|
+
* chains.forEach(chain => {
|
|
17
|
+
* console.log(`${chain.chainName} (${chain.chainId}): ${chain.registryProxyAddress}`);
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare function getSupportedEngineChains(): ISupportedChainDescriptor[];
|
|
22
|
+
/**
|
|
23
|
+
* Check if a chain is supported by the Lynx protocol
|
|
24
|
+
* @param chainId - The chain ID to check
|
|
25
|
+
* @returns boolean - true if supported, false otherwise
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```typescript
|
|
29
|
+
* import { isChainSupported } from 'lynx-client/devex';
|
|
30
|
+
*
|
|
31
|
+
* if (isChainSupported(146)) {
|
|
32
|
+
* console.log('Sonic chain is supported!');
|
|
33
|
+
* }
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare function isEngineChainId(chainId: number): boolean;
|
|
37
|
+
//# sourceMappingURL=getSupportedEngineChains.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSupportedEngineChains.d.ts","sourceRoot":"","sources":["../../../../lib/devex/getSupportedEngineChains.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,wBAAwB,IAAI,yBAAyB,EAAE,CAQtE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAExD"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getSupportedEngineChains = getSupportedEngineChains;
|
|
4
|
+
exports.isEngineChainId = isEngineChainId;
|
|
5
|
+
const systemAddresses_1 = require("../addresses/systemAddresses");
|
|
6
|
+
const chainMappings_1 = require("../chains/chainMappings");
|
|
7
|
+
/**
|
|
8
|
+
* Get all chains supported by the Lynx protocol
|
|
9
|
+
* @returns Array of supported chains with their details
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import { getSupportedChains } from 'lynx-client/devex';
|
|
14
|
+
*
|
|
15
|
+
* const chains = getSupportedChains();
|
|
16
|
+
* chains.forEach(chain => {
|
|
17
|
+
* console.log(`${chain.chainName} (${chain.chainId}): ${chain.registryProxyAddress}`);
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function getSupportedEngineChains() {
|
|
22
|
+
return Object.entries(systemAddresses_1.LynxSystemAddresses).map(([chainKey, config]) => ({
|
|
23
|
+
chainId: chainMappings_1.ENGINE_CHAIN_ID_BY_NAME[chainKey],
|
|
24
|
+
chainName: chainMappings_1.ENGINE_CHAIN_DISPLAY_NAME[chainKey] || chainKey,
|
|
25
|
+
chainKey,
|
|
26
|
+
registryProxyAddress: config.registryProxyAddress,
|
|
27
|
+
}));
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check if a chain is supported by the Lynx protocol
|
|
31
|
+
* @param chainId - The chain ID to check
|
|
32
|
+
* @returns boolean - true if supported, false otherwise
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import { isChainSupported } from 'lynx-client/devex';
|
|
37
|
+
*
|
|
38
|
+
* if (isChainSupported(146)) {
|
|
39
|
+
* console.log('Sonic chain is supported!');
|
|
40
|
+
* }
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function isEngineChainId(chainId) {
|
|
44
|
+
return Object.values(chainMappings_1.ENGINE_CHAIN_ID_BY_NAME).includes(chainId);
|
|
45
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { getChainAddresses } from "./getChainAddresses";
|
|
2
|
+
export { getSupportedEngineChains, isEngineChainId, } from "./getSupportedEngineChains";
|
|
3
|
+
export type { ILynxChainAddresses, IGetChainAddressesOptions } from "./types";
|
|
4
|
+
export type { ISupportedChainDescriptor } from "./getSupportedEngineChains";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/devex/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EACL,wBAAwB,EACxB,eAAe,GAChB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAC9E,YAAY,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isEngineChainId = exports.getSupportedEngineChains = exports.getChainAddresses = void 0;
|
|
4
|
+
// Developer Experience utilities
|
|
5
|
+
var getChainAddresses_1 = require("./getChainAddresses");
|
|
6
|
+
Object.defineProperty(exports, "getChainAddresses", { enumerable: true, get: function () { return getChainAddresses_1.getChainAddresses; } });
|
|
7
|
+
var getSupportedEngineChains_1 = require("./getSupportedEngineChains");
|
|
8
|
+
Object.defineProperty(exports, "getSupportedEngineChains", { enumerable: true, get: function () { return getSupportedEngineChains_1.getSupportedEngineChains; } });
|
|
9
|
+
Object.defineProperty(exports, "isEngineChainId", { enumerable: true, get: function () { return getSupportedEngineChains_1.isEngineChainId; } });
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Provider } from "ethers";
|
|
2
|
+
export interface ILynxChainAddresses {
|
|
3
|
+
chainId: number;
|
|
4
|
+
chainName: string;
|
|
5
|
+
registryProxyAddress: string;
|
|
6
|
+
registryImplementationAddress: string;
|
|
7
|
+
tradersPortalAddress: string;
|
|
8
|
+
tradingFloorAddress: string;
|
|
9
|
+
orderBookAddress: string;
|
|
10
|
+
triggersAddress: string;
|
|
11
|
+
lexLensAddress: string;
|
|
12
|
+
tradingFloorLensAddress: string;
|
|
13
|
+
intentsVerifierLensAddress: string;
|
|
14
|
+
triggersAndPortalLensAddress: string;
|
|
15
|
+
}
|
|
16
|
+
export interface IGetChainAddressesOptions {
|
|
17
|
+
chainId: number;
|
|
18
|
+
provider: Provider;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../lib/devex/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,6BAA6B,EAAE,MAAM,CAAC;IACtC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,uBAAuB,EAAE,MAAM,CAAC;IAChC,0BAA0B,EAAE,MAAM,CAAC;IACnC,4BAA4B,EAAE,MAAM,CAAC;CACtC;AAED,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
export declare function hashContractName(contractName: string): string;
|
|
2
|
+
/**
|
|
3
|
+
* Helper function to hash role names for use in role-based access control tests
|
|
4
|
+
* @param roleName The human-readable role name
|
|
5
|
+
* @returns The keccak256 hash of the role name as a hex string
|
|
6
|
+
*/
|
|
7
|
+
export declare function hashRoleName(roleName: string): string;
|
|
2
8
|
//# sourceMappingURL=hashes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hashes.d.ts","sourceRoot":"","sources":["../../../../lib/lynxSystem/hashes.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAO7D"}
|
|
1
|
+
{"version":3,"file":"hashes.d.ts","sourceRoot":"","sources":["../../../../lib/lynxSystem/hashes.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAO7D;AAED;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAErD"}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.hashContractName = hashContractName;
|
|
4
|
+
exports.hashRoleName = hashRoleName;
|
|
4
5
|
const ethers_1 = require("ethers");
|
|
5
6
|
function hashContractName(contractName) {
|
|
6
7
|
const contractNameHash = ethers_1.ethers.solidityPackedKeccak256(["string"], [contractName]);
|
|
7
8
|
return contractNameHash;
|
|
8
9
|
}
|
|
10
|
+
/**
|
|
11
|
+
* Helper function to hash role names for use in role-based access control tests
|
|
12
|
+
* @param roleName The human-readable role name
|
|
13
|
+
* @returns The keccak256 hash of the role name as a hex string
|
|
14
|
+
*/
|
|
15
|
+
function hashRoleName(roleName) {
|
|
16
|
+
return ethers_1.ethers.keccak256(ethers_1.ethers.toUtf8Bytes(roleName));
|
|
17
|
+
}
|
|
@@ -2,4 +2,6 @@ export declare function precisionBnToFloat(precisionBn: bigint): number;
|
|
|
2
2
|
export declare function floatToPrecisionBn(value: number): bigint;
|
|
3
3
|
export declare function priceBnToFloat(pricesBn: bigint): number;
|
|
4
4
|
export declare function floatToPriceBn(priceUnits: number): bigint;
|
|
5
|
+
export declare function fractionBnToFloat(fractionBn: bigint): number;
|
|
6
|
+
export declare function floatToFractionBn(fractionUnits: number): bigint;
|
|
5
7
|
//# sourceMappingURL=lynxScalesUtils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lynxScalesUtils.d.ts","sourceRoot":"","sources":["../../../../lib/lynxSystem/lynxScalesUtils.ts"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvD;AAED,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEzD"}
|
|
1
|
+
{"version":3,"file":"lynxScalesUtils.d.ts","sourceRoot":"","sources":["../../../../lib/lynxSystem/lynxScalesUtils.ts"],"names":[],"mappings":"AAGA,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAE9D;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAExD;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvD;AAED,wBAAgB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAEzD;AAED,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAE/D"}
|
|
@@ -4,6 +4,8 @@ exports.precisionBnToFloat = precisionBnToFloat;
|
|
|
4
4
|
exports.floatToPrecisionBn = floatToPrecisionBn;
|
|
5
5
|
exports.priceBnToFloat = priceBnToFloat;
|
|
6
6
|
exports.floatToPriceBn = floatToPriceBn;
|
|
7
|
+
exports.fractionBnToFloat = fractionBnToFloat;
|
|
8
|
+
exports.floatToFractionBn = floatToFractionBn;
|
|
7
9
|
const scales_1 = require("../constants/scales");
|
|
8
10
|
const bignumbers_1 = require("../utils/bignumbers");
|
|
9
11
|
function precisionBnToFloat(precisionBn) {
|
|
@@ -18,3 +20,9 @@ function priceBnToFloat(pricesBn) {
|
|
|
18
20
|
function floatToPriceBn(priceUnits) {
|
|
19
21
|
return (0, bignumbers_1.floatToUnitsBn)(priceUnits, scales_1.PRICES_SCALE);
|
|
20
22
|
}
|
|
23
|
+
function fractionBnToFloat(fractionBn) {
|
|
24
|
+
return Number(fractionBn) / Number(scales_1.FRACTION_MULTIPLIER_SCALE);
|
|
25
|
+
}
|
|
26
|
+
function floatToFractionBn(fractionUnits) {
|
|
27
|
+
return BigInt(Math.round(fractionUnits * Number(scales_1.FRACTION_MULTIPLIER_SCALE)));
|
|
28
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Provider } from "ethers";
|
|
2
|
+
export declare function readTradersPortalAddress(provider: Provider, registryProxyAddress: string): Promise<string>;
|
|
3
|
+
export declare function readTriggersAddress(provider: Provider, registryProxyAddress: string): Promise<string>;
|
|
4
|
+
export declare function readChipsFactoryAddress(provider: Provider, registryProxyAddress: string): Promise<string>;
|
|
5
|
+
export declare function readLexProxiesFactoryAddress(provider: Provider, registryProxyAddress: string): Promise<string>;
|
|
6
|
+
export declare function readChipsIntentsVerifierAddress(provider: Provider, registryProxyAddress: string): Promise<string>;
|
|
7
|
+
export declare function readLiquidityIntentsVerifierAddress(provider: Provider, registryProxyAddress: string): Promise<string>;
|
|
8
|
+
export declare function readTradeIntentsVerifierAddress(provider: Provider, registryProxyAddress: string): Promise<string>;
|
|
9
|
+
//# sourceMappingURL=registryReading.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registryReading.d.ts","sourceRoot":"","sources":["../../../../../lib/lynxSystem/registry/registryReading.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAGlC,wBAAsB,wBAAwB,CAC5C,QAAQ,EAAE,QAAQ,EAClB,oBAAoB,EAAE,MAAM,GAC3B,OAAO,CAAC,MAAM,CAAC,CAGjB;AAED,wBAAsB,mBAAmB,CACvC,QAAQ,EAAE,QAAQ,EAClB,oBAAoB,EAAE,MAAM,GAC3B,OAAO,CAAC,MAAM,CAAC,CAGjB;AAED,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,QAAQ,EAClB,oBAAoB,EAAE,MAAM,GAC3B,OAAO,CAAC,MAAM,CAAC,CAGjB;AAED,wBAAsB,4BAA4B,CAChD,QAAQ,EAAE,QAAQ,EAClB,oBAAoB,EAAE,MAAM,GAC3B,OAAO,CAAC,MAAM,CAAC,CAGjB;AAED,wBAAsB,+BAA+B,CACnD,QAAQ,EAAE,QAAQ,EAClB,oBAAoB,EAAE,MAAM,GAC3B,OAAO,CAAC,MAAM,CAAC,CAGjB;AAED,wBAAsB,mCAAmC,CACvD,QAAQ,EAAE,QAAQ,EAClB,oBAAoB,EAAE,MAAM,GAC3B,OAAO,CAAC,MAAM,CAAC,CAGjB;AAED,wBAAsB,+BAA+B,CACnD,QAAQ,EAAE,QAAQ,EAClB,oBAAoB,EAAE,MAAM,GAC3B,OAAO,CAAC,MAAM,CAAC,CAGjB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.readTradersPortalAddress = readTradersPortalAddress;
|
|
4
|
+
exports.readTriggersAddress = readTriggersAddress;
|
|
5
|
+
exports.readChipsFactoryAddress = readChipsFactoryAddress;
|
|
6
|
+
exports.readLexProxiesFactoryAddress = readLexProxiesFactoryAddress;
|
|
7
|
+
exports.readChipsIntentsVerifierAddress = readChipsIntentsVerifierAddress;
|
|
8
|
+
exports.readLiquidityIntentsVerifierAddress = readLiquidityIntentsVerifierAddress;
|
|
9
|
+
exports.readTradeIntentsVerifierAddress = readTradeIntentsVerifierAddress;
|
|
10
|
+
const deployedContractsConnector_1 = require("../../contractsIntegration/deployedContractsConnector");
|
|
11
|
+
async function readTradersPortalAddress(provider, registryProxyAddress) {
|
|
12
|
+
const registry = (0, deployedContractsConnector_1.connectToLatestRegistry)(provider, registryProxyAddress);
|
|
13
|
+
return await registry.tradersPortal();
|
|
14
|
+
}
|
|
15
|
+
async function readTriggersAddress(provider, registryProxyAddress) {
|
|
16
|
+
const registry = (0, deployedContractsConnector_1.connectToLatestRegistry)(provider, registryProxyAddress);
|
|
17
|
+
return await registry.triggers();
|
|
18
|
+
}
|
|
19
|
+
async function readChipsFactoryAddress(provider, registryProxyAddress) {
|
|
20
|
+
const registry = (0, deployedContractsConnector_1.connectToLatestRegistry)(provider, registryProxyAddress);
|
|
21
|
+
return await registry.chipsFactory();
|
|
22
|
+
}
|
|
23
|
+
async function readLexProxiesFactoryAddress(provider, registryProxyAddress) {
|
|
24
|
+
const registry = (0, deployedContractsConnector_1.connectToLatestRegistry)(provider, registryProxyAddress);
|
|
25
|
+
return await registry.lexProxiesFactory();
|
|
26
|
+
}
|
|
27
|
+
async function readChipsIntentsVerifierAddress(provider, registryProxyAddress) {
|
|
28
|
+
const registry = (0, deployedContractsConnector_1.connectToLatestRegistry)(provider, registryProxyAddress);
|
|
29
|
+
return await registry.chipsIntentsVerifier();
|
|
30
|
+
}
|
|
31
|
+
async function readLiquidityIntentsVerifierAddress(provider, registryProxyAddress) {
|
|
32
|
+
const registry = (0, deployedContractsConnector_1.connectToLatestRegistry)(provider, registryProxyAddress);
|
|
33
|
+
return await registry.liquidityIntentsVerifier();
|
|
34
|
+
}
|
|
35
|
+
async function readTradeIntentsVerifierAddress(provider, registryProxyAddress) {
|
|
36
|
+
const registry = (0, deployedContractsConnector_1.connectToLatestRegistry)(provider, registryProxyAddress);
|
|
37
|
+
return await registry.tradeIntentsVerifier();
|
|
38
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pythFeedConstants.d.ts","sourceRoot":"","sources":["../../../../../lib/priceFeeds/pyth/pythFeedConstants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAErE,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CA+BpD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAKjD,CAAC;AAGH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"pythFeedConstants.d.ts","sourceRoot":"","sources":["../../../../../lib/priceFeeds/pyth/pythFeedConstants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAErE,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CA+BpD,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,EAKjD,CAAC;AAGH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,QAAQ,EAAE,MAAM,CAuC9D,CAAC"}
|
|
@@ -43,6 +43,7 @@ exports.PYTH_PAIRS_PRICE_FEED_IDS = {
|
|
|
43
43
|
[pairIds_1.PAIR_CONFIGS_IDS.FTM_USD]: "0xf490b178d0c85683b7a0f2388b40af2e6f7c90cbe0f96b31f315f08d0e5a2d6d",
|
|
44
44
|
[pairIds_1.PAIR_CONFIGS_IDS.SOL_USD]: "0xef0d8b6fda2ceba41da15d4095d1da392a0d2f8ed0c6c7bc0f4cfac8c280b56d",
|
|
45
45
|
[pairIds_1.PAIR_CONFIGS_IDS.S_USD]: "0xf490b178d0c85683b7a0f2388b40af2e6f7c90cbe0f96b31f315f08d0e5a2d6d",
|
|
46
|
+
[pairIds_1.PAIR_CONFIGS_IDS.FLR_USD]: "0x035aa8d0a2d74e19438f2c1440edff9f3b95f915ca65f681a25ed0bad3dc228d",
|
|
46
47
|
[pairIds_1.PAIR_CONFIGS_IDS.EUR_USD]: "0xa995d00bb36a63cef7fd2c287dc105fc8f3d93779f062f09551b0af3e81ec30b",
|
|
47
48
|
[pairIds_1.PAIR_CONFIGS_IDS.GBP_USD]: "0x84c2dde9633d93d1bcad84e7dc41c9d56578b7ec52fabedc1f335d673df0a7c1",
|
|
48
49
|
[pairIds_1.PAIR_CONFIGS_IDS.AUD_USD]: "0x67a6f93030420c1c9e3fe37c1ab6b77966af82f995944a9fefce357a22854a80",
|
|
@@ -58,6 +59,4 @@ exports.PYTH_PAIRS_PRICE_FEED_IDS = {
|
|
|
58
59
|
[pairIds_1.PAIR_CONFIGS_IDS.NZD_USD_CAT]: "",
|
|
59
60
|
[pairIds_1.PAIR_CONFIGS_IDS.USD_JPY_CAT]: "",
|
|
60
61
|
[pairIds_1.PAIR_CONFIGS_IDS.USD_CHF_CAT]: "",
|
|
61
|
-
// Pairs Unsupported by pyth
|
|
62
|
-
[pairIds_1.PAIR_CONFIGS_IDS.FLR_USD]: "",
|
|
63
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../lib/typechain/common.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EAChB,KAAK,EACL,aAAa,EACb,mBAAmB,EACnB,2BAA2B,EAC3B,mBAAmB,EACnB,QAAQ,EACR,kBAAkB,EAClB,cAAc,EACf,MAAM,QAAQ,CAAC;AAEhB,MAAM,WAAW,wBAAwB,CAAC,QAAQ,SAAS,kBAAkB,CAC3E,SAAQ,mBAAmB;CAAG;AAEhC,MAAM,WAAW,kBAAkB,CACjC,UAAU,SAA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AAW,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,gBAAgB,CAAC;IAEjE,mBAAmB,CACjB,GAAG,IAAI,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,GAChC,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAChC,UAAU,CACR,GAAG,IAAI,EAAE,kBAAkB,CAAC,CAAC,EAAE,MAAM,CAAC,GACrC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;IACjC,IAAI,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAC;IAC9E,WAAW,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAChE,gBAAgB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CACtE"}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
|
+
export interface OrderBookProxyInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "CONTRACT_NAME_HASH" | "_acceptAdmin" | "_acceptImplementation" | "_setPendingAdmin" | "_setPendingImplementation" | "admin" | "implementation" | "pendingAdmin" | "pendingImplementation" | "registry"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "NewAdmin" | "NewImplementation" | "NewPendingAdmin" | "NewPendingImplementation"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "CONTRACT_NAME_HASH", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "_acceptImplementation", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "_setPendingAdmin", values: [AddressLike]): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "_setPendingImplementation", values: [AddressLike]): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "admin", values?: undefined): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "implementation", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "pendingAdmin", values?: undefined): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "pendingImplementation", values?: undefined): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "registry", values?: undefined): string;
|
|
16
|
+
decodeFunctionResult(functionFragment: "CONTRACT_NAME_HASH", data: BytesLike): Result;
|
|
17
|
+
decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
|
|
18
|
+
decodeFunctionResult(functionFragment: "_acceptImplementation", data: BytesLike): Result;
|
|
19
|
+
decodeFunctionResult(functionFragment: "_setPendingAdmin", data: BytesLike): Result;
|
|
20
|
+
decodeFunctionResult(functionFragment: "_setPendingImplementation", data: BytesLike): Result;
|
|
21
|
+
decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
|
|
22
|
+
decodeFunctionResult(functionFragment: "implementation", data: BytesLike): Result;
|
|
23
|
+
decodeFunctionResult(functionFragment: "pendingAdmin", data: BytesLike): Result;
|
|
24
|
+
decodeFunctionResult(functionFragment: "pendingImplementation", data: BytesLike): Result;
|
|
25
|
+
decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace NewAdminEvent {
|
|
28
|
+
type InputTuple = [oldAdmin: AddressLike, newAdmin: AddressLike];
|
|
29
|
+
type OutputTuple = [oldAdmin: string, newAdmin: string];
|
|
30
|
+
interface OutputObject {
|
|
31
|
+
oldAdmin: string;
|
|
32
|
+
newAdmin: string;
|
|
33
|
+
}
|
|
34
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
35
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
36
|
+
type Log = TypedEventLog<Event>;
|
|
37
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
38
|
+
}
|
|
39
|
+
export declare namespace NewImplementationEvent {
|
|
40
|
+
type InputTuple = [
|
|
41
|
+
oldImplementation: AddressLike,
|
|
42
|
+
newImplementation: AddressLike
|
|
43
|
+
];
|
|
44
|
+
type OutputTuple = [
|
|
45
|
+
oldImplementation: string,
|
|
46
|
+
newImplementation: string
|
|
47
|
+
];
|
|
48
|
+
interface OutputObject {
|
|
49
|
+
oldImplementation: string;
|
|
50
|
+
newImplementation: string;
|
|
51
|
+
}
|
|
52
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
53
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
54
|
+
type Log = TypedEventLog<Event>;
|
|
55
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
56
|
+
}
|
|
57
|
+
export declare namespace NewPendingAdminEvent {
|
|
58
|
+
type InputTuple = [
|
|
59
|
+
oldPendingAdmin: AddressLike,
|
|
60
|
+
newPendingAdmin: AddressLike
|
|
61
|
+
];
|
|
62
|
+
type OutputTuple = [oldPendingAdmin: string, newPendingAdmin: string];
|
|
63
|
+
interface OutputObject {
|
|
64
|
+
oldPendingAdmin: string;
|
|
65
|
+
newPendingAdmin: string;
|
|
66
|
+
}
|
|
67
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
68
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
69
|
+
type Log = TypedEventLog<Event>;
|
|
70
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace NewPendingImplementationEvent {
|
|
73
|
+
type InputTuple = [
|
|
74
|
+
oldPendingImplementation: AddressLike,
|
|
75
|
+
newPendingImplementation: AddressLike
|
|
76
|
+
];
|
|
77
|
+
type OutputTuple = [
|
|
78
|
+
oldPendingImplementation: string,
|
|
79
|
+
newPendingImplementation: string
|
|
80
|
+
];
|
|
81
|
+
interface OutputObject {
|
|
82
|
+
oldPendingImplementation: string;
|
|
83
|
+
newPendingImplementation: string;
|
|
84
|
+
}
|
|
85
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
86
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
87
|
+
type Log = TypedEventLog<Event>;
|
|
88
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
89
|
+
}
|
|
90
|
+
export interface OrderBookProxy extends BaseContract {
|
|
91
|
+
connect(runner?: ContractRunner | null): OrderBookProxy;
|
|
92
|
+
waitForDeployment(): Promise<this>;
|
|
93
|
+
interface: OrderBookProxyInterface;
|
|
94
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
95
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
96
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
97
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
98
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
99
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
100
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
101
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
102
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
103
|
+
CONTRACT_NAME_HASH: TypedContractMethod<[], [string], "view">;
|
|
104
|
+
_acceptAdmin: TypedContractMethod<[], [void], "nonpayable">;
|
|
105
|
+
_acceptImplementation: TypedContractMethod<[], [bigint], "nonpayable">;
|
|
106
|
+
_setPendingAdmin: TypedContractMethod<[
|
|
107
|
+
newPendingAdmin: AddressLike
|
|
108
|
+
], [
|
|
109
|
+
void
|
|
110
|
+
], "nonpayable">;
|
|
111
|
+
_setPendingImplementation: TypedContractMethod<[
|
|
112
|
+
newPendingImplementation: AddressLike
|
|
113
|
+
], [
|
|
114
|
+
void
|
|
115
|
+
], "nonpayable">;
|
|
116
|
+
admin: TypedContractMethod<[], [string], "view">;
|
|
117
|
+
implementation: TypedContractMethod<[], [string], "view">;
|
|
118
|
+
pendingAdmin: TypedContractMethod<[], [string], "view">;
|
|
119
|
+
pendingImplementation: TypedContractMethod<[], [string], "view">;
|
|
120
|
+
registry: TypedContractMethod<[], [string], "view">;
|
|
121
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
122
|
+
getFunction(nameOrSignature: "CONTRACT_NAME_HASH"): TypedContractMethod<[], [string], "view">;
|
|
123
|
+
getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
|
|
124
|
+
getFunction(nameOrSignature: "_acceptImplementation"): TypedContractMethod<[], [bigint], "nonpayable">;
|
|
125
|
+
getFunction(nameOrSignature: "_setPendingAdmin"): TypedContractMethod<[newPendingAdmin: AddressLike], [void], "nonpayable">;
|
|
126
|
+
getFunction(nameOrSignature: "_setPendingImplementation"): TypedContractMethod<[
|
|
127
|
+
newPendingImplementation: AddressLike
|
|
128
|
+
], [
|
|
129
|
+
void
|
|
130
|
+
], "nonpayable">;
|
|
131
|
+
getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
|
|
132
|
+
getFunction(nameOrSignature: "implementation"): TypedContractMethod<[], [string], "view">;
|
|
133
|
+
getFunction(nameOrSignature: "pendingAdmin"): TypedContractMethod<[], [string], "view">;
|
|
134
|
+
getFunction(nameOrSignature: "pendingImplementation"): TypedContractMethod<[], [string], "view">;
|
|
135
|
+
getFunction(nameOrSignature: "registry"): TypedContractMethod<[], [string], "view">;
|
|
136
|
+
getEvent(key: "NewAdmin"): TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
|
|
137
|
+
getEvent(key: "NewImplementation"): TypedContractEvent<NewImplementationEvent.InputTuple, NewImplementationEvent.OutputTuple, NewImplementationEvent.OutputObject>;
|
|
138
|
+
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
139
|
+
getEvent(key: "NewPendingImplementation"): TypedContractEvent<NewPendingImplementationEvent.InputTuple, NewPendingImplementationEvent.OutputTuple, NewPendingImplementationEvent.OutputObject>;
|
|
140
|
+
filters: {
|
|
141
|
+
"NewAdmin(address,address)": TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
|
|
142
|
+
NewAdmin: TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
|
|
143
|
+
"NewImplementation(address,address)": TypedContractEvent<NewImplementationEvent.InputTuple, NewImplementationEvent.OutputTuple, NewImplementationEvent.OutputObject>;
|
|
144
|
+
NewImplementation: TypedContractEvent<NewImplementationEvent.InputTuple, NewImplementationEvent.OutputTuple, NewImplementationEvent.OutputObject>;
|
|
145
|
+
"NewPendingAdmin(address,address)": TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
146
|
+
NewPendingAdmin: TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
147
|
+
"NewPendingImplementation(address,address)": TypedContractEvent<NewPendingImplementationEvent.InputTuple, NewPendingImplementationEvent.OutputTuple, NewPendingImplementationEvent.OutputObject>;
|
|
148
|
+
NewPendingImplementation: TypedContractEvent<NewPendingImplementationEvent.InputTuple, NewPendingImplementationEvent.OutputTuple, NewPendingImplementationEvent.OutputObject>;
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
//# sourceMappingURL=OrderBookProxy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderBookProxy.d.ts","sourceRoot":"","sources":["../../../../../../../lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,SAAS,EACT,gBAAgB,EAChB,MAAM,EACN,SAAS,EACT,aAAa,EACb,WAAW,EACX,cAAc,EACd,cAAc,EACd,QAAQ,EACT,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EACV,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,WAAW,CACT,eAAe,EACX,oBAAoB,GACpB,cAAc,GACd,uBAAuB,GACvB,kBAAkB,GAClB,2BAA2B,GAC3B,OAAO,GACP,gBAAgB,GAChB,cAAc,GACd,uBAAuB,GACvB,UAAU,GACb,gBAAgB,CAAC;IAEpB,QAAQ,CACN,sBAAsB,EAClB,UAAU,GACV,mBAAmB,GACnB,iBAAiB,GACjB,0BAA0B,GAC7B,aAAa,CAAC;IAEjB,kBAAkB,CAChB,gBAAgB,EAAE,oBAAoB,EACtC,MAAM,CAAC,EAAE,SAAS,GACjB,MAAM,CAAC;IACV,kBAAkB,CAChB,gBAAgB,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