lynx-client 0.0.1-beta.8 → 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 +2 -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 +1 -0
- package/dist/esm/lib/constants/contractEnums.d.ts.map +1 -1
- package/dist/esm/lib/constants/contractEnums.js +2 -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 +1 -0
- 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
package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts
ADDED
|
@@ -0,0 +1,1374 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../common";
|
|
4
|
+
import type { TradingFloorV1, TradingFloorV1Interface } from "../../../../contracts/Lynx/TradingFloor/TradingFloorV1";
|
|
5
|
+
type TradingFloorV1ConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class TradingFloorV1__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: TradingFloorV1ConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<TradingFloorV1 & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): TradingFloorV1__factory;
|
|
17
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b50600080546001600160a01b03191633179055615a0480620000336000396000f3fe608060405234801561001057600080fd5b506004361061027f5760003560e01c80638c01936e1161015c578063c07f9921116100ce578063f2eb245e11610087578063f2eb245e1461081f578063f51f3fd31461083f578063f555f69714610848578063f65d9dbe14610868578063f851a44014610871578063f9b9484e1461088457600080fd5b8063c07f992114610778578063ca3a3a821461078b578063cae290c81461079e578063ddf474f1146107b1578063e640f33b146107f9578063eb4891401461080c57600080fd5b80639ff69ffa116101205780639ff69ffa1461071d578063a2a25ea614610730578063a40d726814610743578063aaf5eb6814610756578063ad1f2b5614610765578063b71f3cfe1461076d57600080fd5b80638c01936e146105915780638f7a8fb5146105f157806393a7f6a71461066c57806394a1e6e51461069a57806395be5050146106a257600080fd5b80635c60da1b116101f557806376d901be116101b957806376d901be146105125780637b1039991461054557806380193b261461055857806380a7f3d414610562578063825714091461057557806386dc49751461057e57600080fd5b80635c60da1b14610435578063652dcb431461044857806366307a4f1461045b5780636e01af8d146104d657806374d8b78e146104e957600080fd5b806324b22a1f1161024757806324b22a1f1461039057806326782247146103a357806330d073d0146103b657806331867212146103ef578063396f7b231461040f5780634ebe5c331461042257600080fd5b806303b90a8714610284578063042e37c5146102ca57806318fa4714146103555780631d504dc61461036a5780631ea9af6b1461037d575b600080fd5b6102ad610292366004614c2a565b600b602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6103196102d8366004614c47565b600c60205260009081526040902080546001909101546001600160a01b0380831692600160a01b810461ffff1692600160b01b90910463ffffffff16911684565b604080516001600160a01b03958616815261ffff909416602085015263ffffffff909216918301919091529190911660608201526080016102c1565b610368610363366004614c6d565b6108e6565b005b610368610378366004614c2a565b6109ba565b61036861038b366004614cd4565b610b08565b61036861039e366004614d09565b610b9e565b6001546102ad906001600160a01b031681565b6103e16103c4366004614d35565b600960209081526000928352604080842090915290825290205481565b6040519081526020016102c1565b6104026103fd366004614d6e565b610e3b565b6040516102c19190614d8c565b6003546102ad906001600160a01b031681565b610368610430366004614dd9565b610ebb565b6002546102ad906001600160a01b031681565b6102ad610456366004614e15565b610f7f565b6104a3610469366004614c47565b600e602052600090815260409020546001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b604080516001600160401b03958616815293851660208501529184169183019190915290911660608201526080016102c1565b6103686104e4366004614e57565b610fc4565b6102ad6104f7366004614c2a565b600a602052600090815260409020546001600160a01b031681565b610535610520366004614c47565b60086020526000908152604090205460ff1681565b60405190151581526020016102c1565b6004546102ad906001600160a01b031681565b6103e1620186a081565b610368610570366004614e7e565b61135f565b6103e160075481565b61036861058c366004614ee6565b6117b7565b6105d461059f366004614f0b565b601260209081526000938452604080852082529284528284209052825290205463ffffffff8082169164010000000090041682565b6040805163ffffffff9384168152929091166020830152016102c1565b6106596105ff366004614c47565b600d602052600090815260409020805460019091015460ff808216916001600160401b03610100820481169263ffffffff600160481b8404811693600160681b810490921692600160701b83041691600160b01b90041687565b6040516102c19796959493929190614f65565b61053561067a366004614c2a565b6001600160a01b039081166000908152600a602052604090205416151590565b6103e161184a565b61070c6106b0366004614c47565b6000908152600d6020818152604080842060010154600c835293205491905260ff8083169361010084046001600160401b031693600160a01b90930461ffff1692600160681b810490921691600160b01b900463ffffffff1690565b6040516102c1959493929190614fba565b61036861072b366004614ffe565b61185b565b61036861073e36600461505c565b611aa2565b6103e16107513660046150b2565b611bc4565b6103e1670de0b6b3a764000081565b6103e1606481565b6103e1633b9aca0081565b6103686107863660046150ff565b611c33565b610368610799366004615127565b612380565b6103e16107ac366004615284565b612531565b6104a36107bf366004614c47565b600f602052600090815260409020546001600160401b0380821691600160401b8104821691600160801b8204811691600160c01b90041684565b610368610807366004615127565b612b10565b61036861081a366004614cd4565b612ca1565b6103e161082d366004614c47565b60106020526000908152604090205481565b6103e160065481565b61085b610856366004614c47565b612d37565b6040516102c19190615399565b6103e160055481565b6000546102ad906001600160a01b031681565b6108d7610892366004614c47565b6000908152600d60209081526040808320600190810154600c90935292209091015460ff8216926101009092046001600160401b0316916001600160a01b0390911690565b6040516102c1939291906153a7565b6004805460405163a8e36e5b60e01b81526001600160a01b038681169382019390935291169063a8e36e5b90602401602060405180830381865afa158015610932573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095691906153dd565b6001600160a01b0316336001600160a01b0316146109aa5760405162461bcd60e51b815260206004820152600c60248201526b10a332b2b9a6b0b730b3b2b960a11b60448201526064015b60405180910390fd5b6109b5838383612e5f565b505050565b806001600160a01b031663f851a4406040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109f8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1c91906153dd565b6001600160a01b0316336001600160a01b031614610a6b5760405162461bcd60e51b815260206004820152600c60248201526b10b83937bc3c9730b236b4b760a11b60448201526064016109a1565b806001600160a01b031663c1e803346040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610acf91906153fa565b15610b055760405162461bcd60e51b81526004016109a19060208082526004908201526319985a5b60e21b604082015260600190565b50565b6004805460405163a5a2ed3760e01b815233928101929092526001600160a01b03169063a5a2ed3790602401602060405180830381865afa158015610b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b759190615413565b610b915760405162461bcd60e51b81526004016109a190615430565b6109b58360028484612f82565b6000546001600160a01b03163314610be55760405162461bcd60e51b815260206004820152600a60248201526927a7262cafa0a226a4a760b11b60448201526064016109a1565b60008111610c265760405162461bcd60e51b815260206004820152600e60248201526d43414e4e4f545f42455f5a45524f60901b60448201526064016109a1565b60606001836003811115610c3c57610c3c614f3b565b03610c73575060408051808201909152601081526f36b0bc2a3930b232b9a832b92830b4b960811b60208201526005829055610dee565b6002836003811115610c8757610c87614f3b565b03610d16576064610c9c620186a06032615469565b610ca69190615496565b821015610cef5760405162461bcd60e51b81526020600482015260176024820152762a2920a222afa820a920a6afa922a9aa2924a1aa24a7a760491b60448201526064016109a1565b506040805180820190915260068082526536b0bc29b62360d11b6020830152829055610dee565b6003836003811115610d2a57610d2a614f3b565b03610db857610d3d620186a06002615469565b821015610d865760405162461bcd60e51b81526020600482015260176024820152762a2920a222afa820a920a6afa922a9aa2924a1aa24a7a760491b60448201526064016109a1565b5060408051808201909152601081526f36b0bc29b0b734ba3ca83937b334ba2360811b60208201526007829055610dee565b60405162461bcd60e51b815260206004820152600b60248201526a155394d5541413d495115160aa1b60448201526064016109a1565b80604051610dfc91906154ce565b604051908190038120838252907f8cf3e35f6221b16e1670a3413180c9484bf5aa71787905909fa82a6a2662e9ab9060200160405180910390a2505050565b6001600160a01b0382166000908152601160209081526040808320848452825291829020805483518184028101840190945280845260609392830182828015610ead57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311610e8f575b505050505090505b92915050565b6004805460405163419a519360e01b815233928101929092526001600160a01b03169063419a519390602401602060405180830381865afa158015610f04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f289190615413565b610f745760405162461bcd60e51b815260206004820152601a60248201527f212854726164657273506f7274616c7c7c54726967676572732900000000000060448201526064016109a1565b6109b5338484613620565b60116020528260005260406000206020528160005260406000208181548110610fa757600080fd5b6000918252602090912001546001600160a01b0316925083915050565b6004805460405163419a519360e01b815233928101929092526001600160a01b03169063419a519390602401602060405180830381865afa15801561100d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110319190615413565b61107d5760405162461bcd60e51b815260206004820152601a60248201527f212854726164657273506f7274616c7c7c54726967676572732900000000000060448201526064016109a1565b61108b6064620186a0615496565b8111156110d15760405162461bcd60e51b81526020600482015260146024820152734645455f4652414354494f4e5f544f4f5f42494760601b60448201526064016109a1565b6000838152600d60209081526040808320815160e08101909252805482526001810154919290919083019060ff16600581111561111057611110614f3b565b600581111561112157611121614f3b565b8152600191909101546001600160401b036101008204811660208085019190915263ffffffff600160481b8404811660408087019190915260ff600160681b86041615156060870152600160701b85049093166080860152600160b01b90930490921660a0909301929092526000878152600d90915220549091506111b85760405162461bcd60e51b81526004016109a1906154ea565b6000848152600c6020908152604091829020825160808101845281546001600160a01b038082168352600160a01b820461ffff1694830194909452600160b01b900463ffffffff1693810193909352600190810154909116606083015284600281111561122757611227614f3b565b036112895760018260200151600581111561124457611244614f3b565b146112845760405162461bcd60e51b815260206004820152601060248201526f2727aa2fa6a0a925a2aa2fa7a92222a960811b60448201526064016109a1565b611334565b600284600281111561129d5761129d614f3b565b036112f9576002826020015160058111156112ba576112ba614f3b565b146112845760405162461bcd60e51b815260206004820152600f60248201526e2727aa2fa624a6a4aa2fa7a92222a960891b60448201526064016109a1565b60405162461bcd60e51b815260206004820152601060248201526f57524f4e475f4f524445525f5459504560801b60448201526064016109a1565b61135885826000015183606001518460200151866000015187606001518933613731565b5050505050565b6004805460405163a5a2ed3760e01b815233928101929092526001600160a01b03169063a5a2ed3790602401602060405180830381865afa1580156113a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113cc9190615413565b6113e85760405162461bcd60e51b81526004016109a190615430565b6000848152600d60209081526040808320815160e08101909252805482526001810154919290919083019060ff16600581111561142757611427614f3b565b600581111561143857611438614f3b565b8152600191909101546001600160401b0361010082048116602084015263ffffffff600160481b83048116604085015260ff600160681b84041615156060850152600160701b83049091166080840152600160b01b9091041660a09091015280519091506114b85760405162461bcd60e51b81526004016109a1906154ea565b6000858152600e60209081526040808320815160808101835290546001600160401b038082168352600160401b8204811694830194909452600160801b8104841692820192909252600160c01b9091049091166060820152908080600288600381111561152757611527614f3b565b0361158a5784608001516115545783606001516001600160401b0316866001600160401b0316101561156f565b83606001516001600160401b0316866001600160401b031611155b925083606001516001600160401b031691506002905061166f565b600188600381111561159e5761159e614f3b565b036116015784608001516115cb5783604001516001600160401b0316866001600160401b031611156115e6565b83604001516001600160401b0316866001600160401b031610155b925083604001516001600160401b031691506001905061166f565b600388600381111561161557611615614f3b565b03611631575060019150506001600160401b038416600361166f565b60405162461bcd60e51b81526020600482015260136024820152722ba927a723afa624a6a4aa2faa2924a3a3a2a960691b60448201526064016109a1565b826116ac5760405162461bcd60e51b815260206004820152600d60248201526c2320a629a2afaa2924a3a3a2a960991b60448201526064016109a1565b60008060006116bc8c86866137fc565b9194509250905060038460048111156116d7576116d7614f3b565b036117445787608001516116f75780896001600160401b03161015611705565b80896001600160401b031611155b9550856117445760405162461bcd60e51b815260206004820152600d60248201526c2320a629a2afaa2924a3a3a2a960991b60448201526064016109a1565b8a600381111561175657611756614f3b565b604080516001600160401b038c16815260208101849052908101859052606081018490528d907fe67823c5c7b61d690bab4b46031d192b68f898b47bdf7daffbddff8e24aaf9bd9060800160405180910390a3505050505050505050505050565b6000546001600160a01b031633146117fe5760405162461bcd60e51b815260206004820152600a60248201526927a7262cafa0a226a4a760b11b60448201526064016109a1565b600082815260086020526040808220805460ff19168415159081179091559051909184917f996384f9c771a575699aadc5e543fb849613b350a1b29584a1ecca98d2cfc1709190a35050565b6118586064620186a0615496565b81565b6004805460405163731aa5f960e01b815233928101929092526001600160a01b03169063731aa5f990602401602060405180830381865afa1580156118a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118c89190615413565b6118e45760405162461bcd60e51b81526004016109a190615514565b6000858152600d602052604090206002600182015460ff16600581111561190d5761190d614f3b565b1461192a5760405162461bcd60e51b81526004016109a19061553c565b6000868152600c6020908152604080832054600160a01b900461ffff168352600890915290205460ff16156119715760405162461bcd60e51b81526004016109a190615561565b6119b381600101600d9054906101000a900460ff16866001600160401b0316866001600160401b0316866001600160401b0316866001600160401b03166139fc565b60018101805468ffffffffffffffff001916610100426001600160401b0390811691909102919091179091556000878152600e6020908152604080832080546001600160801b0316600160801b8987169081026001600160c01b031691909117600160c01b898816908102919091178355600f85529483902080548c88166001600160801b03199091168117600160401b988d169889021782558451928352948201959095529182019290925260608101939093529188907f098a3c0f7acdf2c147440d705e162d395db886273731a238b250793cde346d859060800160405180910390a25050505050505050565b6004546001600160a01b03163314611ae85760405162461bcd60e51b815260206004820152600960248201526821526567697374727960b81b60448201526064016109a1565b6001600160a01b038381166000908152600a60205260409020541615611b505760405162461bcd60e51b815260206004820152601760248201527f41535345545f414c52454144595f535550504f5254454400000000000000000060448201526064016109a1565b6001600160a01b038084166000818152600a6020908152604080832080548689166001600160a01b03199182168117909255600b9093528184208054968816969093168617909255519092917fe34fb4592f12d191480ae66f1051ba82ee53c518b07f632579da8d40a74c77c891a4505050565b60408051606095861b6bffffffffffffffffffffffff199081166020808401919091529590961b909516603486015260f09290921b6001600160f01b031916604885015260e01b6001600160e01b031916604a8401528051602e818503018152604e9093019052815191012090565b6004805460405163a5a2ed3760e01b815233928101929092526001600160a01b03169063a5a2ed3790602401602060405180830381865afa158015611c7c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ca09190615413565b611cbc5760405162461bcd60e51b81526004016109a190615430565b6000848152600d60209081526040808320600e8352818420600c845293829020825160808101845281546001600160a01b038082168352600160a01b820461ffff1696830196909652600160b01b900463ffffffff16938101939093526001015490921660608201528154919291611d465760405162461bcd60e51b81526004016109a1906154ea565b6003600184015460ff166005811115611d6157611d61614f3b565b14611d7e5760405162461bcd60e51b81526004016109a19061553c565b80516001600160a01b039081166000908152600b602052604081205490911690806001896002811115611db357611db3614f3b565b0361206e576000611e54846001600160a01b0316631cb92ed36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611dfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1f91906153fa565b6001890154600160701b81046001600160401b031690600160481b810463ffffffff16908d90600160681b900460ff16613ade565b9050886001600160401b0316816001600160401b031614611ea95760405162461bcd60e51b815260206004820152600f60248201526e4241445f4649454c445f56414c554560881b60448201526064016109a1565b85546001600160401b03600160801b909104811690821603611ef75760405162461bcd60e51b8152602060048201526007602482015266053414d455f54560cc1b60448201526064016109a1565b8092508560000160189054906101000a90046001600160401b03169150428660000160006101000a8154816001600160401b0302191690836001600160401b03160217905550836001600160a01b0316633cdc20f88c876060015188602001518b600001548c60010160099054906101000a900463ffffffff168d600101600d9054906101000a900460ff168e600101600e9054906101000a90046001600160401b03168e60000160109054906101000a90046001600160401b03168c6040518a63ffffffff1660e01b8152600401612036999897969594939291909889526001600160a01b0397909716602089015261ffff959095166040880152606087019390935263ffffffff919091166080860152151560a08501526001600160401b0390811660c085015290811660e0840152166101008201526101200190565b600060405180830381600087803b15801561205057600080fd5b505af1158015612064573d6000803e3d6000fd5b50505050506121ff565b600289600281111561208257612082614f3b565b03610db8576000612123846001600160a01b0316631cb92ed36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120ee91906153fa565b6001890154600160701b81046001600160401b031690600160481b810463ffffffff16908d90600160681b900460ff16613bb0565b9050886001600160401b0316816001600160401b0316146121785760405162461bcd60e51b815260206004820152600f60248201526e4241445f4649454c445f56414c554560881b60448201526064016109a1565b85546001600160401b03600160c01b9091048116908216036121c65760405162461bcd60e51b815260206004820152600760248201526614d0535157d4d360ca1b60448201526064016109a1565b8554426001600160401b03908116600160401b026fffffffffffffffff0000000000000000198316178855600160801b90910416925090505b60018601546000906001600160401b03808a16600160701b909204161161223a576001870154600160701b90046001600160401b031661223c565b875b60018801546001600160401b0391821692506000918a8116600160701b909204161061227c576001880154600160701b90046001600160401b031661227e565b885b6001600160401b031690506122b988600101600d9054906101000a900460ff168383876001600160401b0316876001600160401b03166139fc565b86546001600160401b03858116600160801b0267ffffffffffffffff60801b19918616600160c01b02919091166001600160801b03909216919091171787558a600281111561230a5761230a614f3b565b866020015161ffff168d7f90bbb7e2b715065bd66ba75a34fca9b65694d5e75327dd0873a5e3e6883776678b600101600d9054906101000a900460ff168e60405161236a92919091151582526001600160401b0316602082015260400190565b60405180910390a4505050505050505050505050565b6004805460405163a5a2ed3760e01b815233928101929092526001600160a01b03169063a5a2ed3790602401602060405180830381865afa1580156123c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ed9190615413565b6124095760405162461bcd60e51b81526004016109a190615430565b6000838152600f6020908152604091829020825160808101845290546001600160401b038082168352600160401b82048116938301849052600160801b8204811694830194909452600160c01b9004909216606083015261247c5760405162461bcd60e51b81526004016109a1906154ea565b80516001600160401b03808416911611806124ac5750816001600160401b031681602001516001600160401b0316105b156124c2576124bd30856001613620565b61252b565b60008060006124dc87866001600160401b031660046137fc565b6040805182815260208101859052908101839052929550909350915087907f9912c2c8197504aea5a1b52b98eeae3f4aecabe190feebc292455c355d4297cb9060600160405180910390a25050505b50505050565b6004805460405163731aa5f960e01b815233928101929092526000916001600160a01b039091169063731aa5f990602401602060405180830381865afa15801561257f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a39190615413565b6125bf5760405162461bcd60e51b81526004016109a190615514565b6125e784604001516001600160a01b039081166000908152600a602052604090205416151590565b6126335760405162461bcd60e51b815260206004820152601e60248201527f4e4f4e5f535550504f525445445f534554544c454d454e545f4153534554000060448201526064016109a1565b60208085015161ffff1660009081526008909152604090205460ff161561266c5760405162461bcd60e51b81526004016109a190615561565b600185600281111561268057612680614f3b565b148061269d5750600285600281111561269b5761269b614f3b565b145b6126e25760405162461bcd60e51b8152602060048201526016602482015275554e535550504f525445445f4f524445525f5459504560501b60448201526064016109a1565b612727836000015184606001516001600160401b031685608001516001600160401b03168660a001516001600160401b03168760c001516001600160401b03166139fc565b6005546040808601516001600160a01b03908116600090815260126020908152838220895190931682529182528281208289015161ffff168252909152205463ffffffff16106127af5760405162461bcd60e51b815260206004820152601360248201527226a0ac2faa2920a222a9afa822a92fa820a4a960691b60448201526064016109a1565b600554846060015163ffffffff16111580156127d45750606084015163ffffffff1615155b6128105760405162461bcd60e51b815260206004820152600d60248201526c0929cac82989288be929c888ab609b1b60448201526064016109a1565b61282c8460400151856000015186602001518760600151613c6d565b9050612845846040015185600001518560200151613d86565b61285c846040015185600001518660200151613ecb565b6000818152600d602052604090208054156128a35760405162461bcd60e51b8152602060048201526007602482015266125117d554d15160ca1b60448201526064016109a1565b600180820180548651604088015163ffffffff908116600160481b026cffffffff00000000000000000019921515600160681b0260ff60681b19928a16600160b01b02929092166cffffffff0000000000000000ff60681b199094169390931717161790556020850151825560009087600281111561292457612924614f3b565b14612930576002612933565b60015b9050808260010160006101000a81548160ff0219169083600581111561295b5761295b614f3b565b0217905550428260010160016101000a8154816001600160401b0302191690836001600160401b031602179055506000600e600085815260200190815260200160002090508560a001518160000160106101000a8154816001600160401b0302191690836001600160401b031602179055508560c001518160000160186101000a8154816001600160401b0302191690836001600160401b031602179055506000600f6000868152602001908152602001600020905086606001518160000160006101000a8154816001600160401b0302191690836001600160401b0316021790555086608001518160000160086101000a8154816001600160401b0302191690836001600160401b031602179055508660e001518160000160106101000a8154816001600160401b0302191690836001600160401b031602179055508661010001518160000160186101000a8154816001600160401b0302191690836001600160401b03160217905550847fb21f813c247f0b33a494a91f6ce2775e44bbfa407565c53b88b89d844994ebb3848a8a8a604051612afc9493929190615586565b60405180910390a250505050949350505050565b6004805460405163731aa5f960e01b815233928101929092526001600160a01b03169063731aa5f990602401602060405180830381865afa158015612b59573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7d9190615413565b612b995760405162461bcd60e51b81526004016109a190615514565b6000838152600d602052604090208054612bc55760405162461bcd60e51b81526004016109a1906154ea565b6003600182015460ff166005811115612be057612be0614f3b565b14612bfd5760405162461bcd60e51b81526004016109a19061553c565b6001810180546001600160401b034281166101000268ffffffffffffffffff19909216919091176004179091556000858152600f60209081526040918290208054868516600160401b81026001600160801b03199092169589169586179190911782558351948552918401919091529186917fb7bb5d6820a30953d2858e9c448319c4cebbc70c347961e25f1adfff46566689910160405180910390a25050505050565b6004805460405163a5a2ed3760e01b815233928101929092526001600160a01b03169063a5a2ed3790602401602060405180830381865afa158015612cea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0e9190615413565b612d2a5760405162461bcd60e51b81526004016109a190615430565b6109b58360018484612f82565b6040805160a081018252600080825260208083018290528284018290526060830182905260808301829052848252600d8152838220845160e0810190955280548552600181015493949293909183019060ff166005811115612d9b57612d9b614f3b565b6005811115612dac57612dac614f3b565b8152600191909101546001600160401b036101008204811660208085019190915263ffffffff600160481b8404811660408087019190915260ff600160681b8604161515606080880191909152600160701b86048516608080890191909152600160b01b909604831660a09788015287518a52878101519092168984015294860151831690880152938201511515868401526000968752600e909352942054600160801b90041692820192909252919050565b6001600160a01b038316600090815260096020526040812081846003811115612e8a57612e8a614f3b565b6003811115612e9b57612e9b614f3b565b8152602001908152602001600020549050600060096000866001600160a01b03166001600160a01b031681526020019081526020016000206000856003811115612ee757612ee7614f3b565b6003811115612ef857612ef8614f3b565b8152602081019190915260400160002055612f1d6001600160a01b0385168383613ffe565b816001600160a01b0316836003811115612f3957612f39614f3b565b856001600160a01b03167f0e80b333c403be7cb491b3ba7f29fe30014c594adbcbec04272291b2f72f6e6a84604051612f7491815260200190565b60405180910390a450505050565b6000848152600f60209081526040808320815160808101835290546001600160401b038082168352600160401b8204811683860152600160801b8204811683850152600160c01b909104166060820152878452600d8352818420825160e0810190935280548352600181015491949390919083019060ff16600581111561300b5761300b614f3b565b600581111561301c5761301c614f3b565b8152600191909101546001600160401b0361010082048116602084015263ffffffff600160481b83048116604085015260ff600160681b84041615156060850152600160701b83049091166080840152600160b01b9091041660a090910152805190915061309c5760405162461bcd60e51b81526004016109a1906154ea565b6000868152600c60209081526040808320815160808101835281546001600160a01b038082168352600160a01b820461ffff16838701819052600160b01b90920463ffffffff1683860152600190930154909216606082015290845260089092529091205460ff16156131215760405162461bcd60e51b81526004016109a190615561565b85600581111561313357613133614f3b565b8260200151600581111561314957613149614f3b565b146131665760405162461bcd60e51b81526004016109a19061553c565b600186600581111561317a5761317a614f3b565b036132235782516001600160401b03808716911611806131af5750846001600160401b031683602001516001600160401b0316105b1561321e576040516001600160401b038616815287907f82c058420d58fdfcaa301ef645c860145096603267b7b7ac02831312ac2ab4479060200160405180910390a261321687826000015183606001518460200151866000015187606001518a30613731565b50505061252b565b6132a9565b600286600581111561323757613237614f3b565b03610db85782516001600160401b0380871691161180159061326f5750846001600160401b031683602001516001600160401b031610155b61321e5760405162461bcd60e51b815260206004820152600b60248201526a50524943455f52414e474560a81b60448201526064016109a1565b80516001600160a01b039081166000908152600b60205260408120546060850151608086015191909316926132e3918b9185918b8a61405d565b9050816001600160a01b03166352713f678a85606001518660200151886000015189606001518a6080015188604001518f6040518963ffffffff1660e01b81526004016133899897969594939291909788526001600160a01b0396909616602088015261ffff949094166040870152606086019290925263ffffffff166080850152151560a08401526001600160401b0390811660c08401521660e08201526101000190565b60408051808303816000875af19250505080156133c3575060408051601f3d908101601f191682019092526133c09181019061566a565b60015b6134cc576133cf61568e565b806308c379a00361340857506133e36156aa565b806133ee575061340a565b8060405162461bcd60e51b81526004016109a19190615733565b505b3d808015613434576040519150601f19603f3d011682016040523d82523d6000602084013e613439565b606091505b50632eb752bf60e21b61344b82615766565b6001600160e01b0319160361027f57602481015160448201516040518c907ff2c847d05971bf83dd347e0732c1ef893111318fb2540f5fe6f9783cb8d6ae5b90613498908590859061579d565b60405180910390a26134c48c8760000151886060015189602001518b600001518c606001518f30613731565b505050613615565b60008b8152600d602090815260408083206001810180546001600160401b038f16600160701b0267ffffffffffffffff60701b1990911617905589516010909352922055865161351d9084906157bb565b8155600180820180546001600160401b0342166101000268ffffffffffffffffff199091161760031790558651613560918e919061355b86886157bb565b6143e0565b85516001600160a01b038082166000908152600a602052604090205461358892911684614494565b60008c8152600f60205260408082209190915584810151606086015191518e927fdd0164525ce1bb6897fbd7000a7d93633016a05f498d94903ca1fcc7911cdf8192613609928f9290899089906001600160401b03958616815293851660208501529190931660408301526060820192909252608081019190915260a00190565b60405180910390a25050505b505050505050505050565b6000828152600d602052604090205461364b5760405162461bcd60e51b81526004016109a1906154ea565b6000828152600f6020526040812055600181600181111561366e5761366e614f3b565b036112f95760046000838152600d602052604090206001015460ff16600581111561369b5761369b614f3b565b146136b85760405162461bcd60e51b81526004016109a19061553c565b6000828152600d6020908152604080832060010180546001600160401b0342166101000268ffffffffffffffffff19909116176003179055519182526001600160a01b0385169184917f2cb817145129b5c52a6dc17e0605285c54d9c258fbf0a21e78bfff4e00813333910160405180910390a3505050565b6000888152600d6020908152604080832083815560010180546001600160d01b0319169055600f90915281208190556137796137738663ffffffff87166144ae565b846144cd565b905061378889896003846143e0565b6137938888886144dd565b600061379f82876157bb565b90506137ac898983614494565b826001600160a01b03168a7f0732bc6c415e7a220efee5f866e1e91a1335745b97373898ffecfddbc708a3e7846040516137e891815260200190565b60405180910390a350505050505050505050565b6000838152600c60209081526040808320815160808101835281546001600160a01b038082168352600160a01b820461ffff1695830195909552600160b01b900463ffffffff1692810192909252600101549091166060820152819081908161386488612d37565b80519091506138855760405162461bcd60e51b81526004016109a1906154ea565b6000806000806138988c87878e8e61477c565b9350935093509350846000015183111561391a578451600090620186a06138bf82876157bb565b6138c99190615469565b6138d39190615496565b90506007548111156139185760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d41493d1925560921b60448201526064016109a1565b505b81975082985080965084600001518411156139775760405162461bcd60e51b815260206004820152601e60248201527f434c4f53455f4645455f4c41524745525f5448414e5f504f534954494f4e000060448201526064016109a1565b6139888c87600001516002876143e0565b61399f8660000151876060015188602001516144dd565b60008c8152600d6020908152604080832083815560010180546001600160d01b0319169055600e825280832083905560109091528120556060860151865186516139ed9291908c908861482e565b50505050505093509350939050565b82841115613a3e5760405162461bcd60e51b815260206004820152600f60248201526e4d494e5f4d41585f5245564552534560881b60448201526064016109a1565b811580613a57575084613a5357838210613a57565b8282115b613a8e5760405162461bcd60e51b8152602060048201526008602482015267057524f4e475f54560c41b60448201526064016109a1565b801580613aa7575084613aa357828111613aa7565b8381105b6113585760405162461bcd60e51b815260206004820152600860248201526715d493d391d7d4d360c21b60448201526064016109a1565b60006001600160401b0383161580613b0857508560070b613b028787868689614997565b60070b12155b15613ba4576000620186a0856001600160401b03166064896001600160401b0316896001600160401b0316613b3d9190615469565b613b479190615469565b613b519190615496565b613b5b9190615496565b905082613b9257856001600160401b0316816001600160401b03161115613b83576000613b9c565b613b8d81876157ce565b613b9c565b613b9c81876157f5565b915050613ba7565b50815b95945050505050565b60006001600160401b0383161580613be55750600654613bd290600019615815565b613bdf8787868689614997565b60070b13155b15613ba4576000620186a0856001600160401b03166064600654896001600160401b0316613c139190615469565b613c1d9190615469565b613c279190615496565b613c319190615496565b905082613c4257613b8d81876157f5565b856001600160401b0316816001600160401b03161115613c63576000613b9c565b613b9c81876157ce565b6000613c7b85858585611bc4565b6000818152600c60205260408120805492935091600160b01b900463ffffffff169003613d7d5780546001820180546001600160a01b038881166001600160a01b0319929092169190911790915563ffffffff8516600160b01b0263ffffffff60b01b1961ffff8816600160a01b026001600160b01b0319909416928a1692909217929092171617815560405182907f487ea6416487448c3ce943d750c8f67a275e4d8f26ac4093803bf63354b7006f90613d7490849081546001600160a01b03808216835260a082901c61ffff16602084015260b09190911c63ffffffff166040830152600190920154909116606082015260800190565b60405180910390a25b50949350505050565b80156109b5576040516370a0823160e01b81523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015613dd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613df791906153fa565b9050613e0e6001600160a01b038516843085614a23565b6040516370a0823160e01b81523060048201526000906001600160a01b038616906370a0823190602401602060405180830381865afa158015613e55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7991906153fa565b905082613e8683836157bb565b146113585760405162461bcd60e51b815260206004820152601560248201527411125117d393d517d49150d152559157d1561050d5605a1b60448201526064016109a1565b6001600160a01b038084166000908152601260209081526040808320938616835292815282822061ffff851683529052908120805463ffffffff1691613f1083615845565b82546101009290920a63ffffffff8181021990931691831602179091556001600160a01b038581166000908152601260209081526040808320938816835292815282822061ffff87168352905220541660010390506109b5576001600160a01b03808416600081815260116020908152604080832061ffff87168085529083528184208054600181018255818652848620018054978a166001600160a01b031990981688179055549484526012835281842095845294825280832094835293905291909120805463ffffffff9092166401000000000267ffffffff0000000019909216919091179055505050565b6040516001600160a01b038381166024830152604482018390526109b591859182169063a9059cbb906064015b604051602081830303815290604052915060e01b6020820180516001600160e01b038381831617835250505050614a5c565b6040805160808101825260008082526020820181905291810182905260608101919091526000866001600160a01b0316631cb92ed36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156140c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906140e591906153fa565b6000898152600e6020908152604091829020825160808101845290546001600160401b038082168352600160401b8204811693830193909352600160801b81048316938201849052600160c01b9004909116606082015293509091501580614158575060408301516001600160401b0316155b6141a45760405162461bcd60e51b815260206004820152601760248201527f4d554c5449504c455f54505f444546494e4954494f4e5300000000000000000060448201526064016109a1565b60608201516001600160401b031615806141c9575060608301516001600160401b0316155b6142155760405162461bcd60e51b815260206004820152601760248201527f4d554c5449504c455f534c5f444546494e4954494f4e5300000000000000000060448201526064016109a1565b60408301516001600160401b03161561428f57600061423f8585604001518963ffffffff16614abf565b90508561427557846001600160401b0316816001600160401b03161061426657600061427f565b61427081866157ce565b61427f565b61427f81866157f5565b6001600160401b03166040840152505b60608301516001600160401b0316156143095760006142b98585606001518963ffffffff16614abf565b9050856142cf576142ca81866157f5565b6142f9565b846001600160401b0316816001600160401b0316106142ef5760006142f9565b6142f981866157ce565b6001600160401b03166060840152505b61432081858863ffffffff16856040015189613ade565b6001600160401b03908116604084015242168252606082015161434f908290869063ffffffff8a169089613bb0565b6001600160401b0390811660608401908152428216602080860191825260009b8c52600e905260409a8b90208551815492519c87015193518516600160c01b026001600160c01b03948616600160801b02949094166001600160801b039d8616600160401b026001600160801b03199094169190951617919091179a909a1691909117179097559695505050505050565b801561252b576001600160a01b0383166000908152600960205260408120829184600381111561441257614412614f3b565b600381111561442357614423614f3b565b815260200190815260200160002060008282546144409190615868565b90915550829050600381111561445857614458614f3b565b836001600160a01b0316857f52aab89a61b38ba21feecda2012e9c20aec817e5d709d0633c3fd693bb949cbb84604051612f7491815260200190565b80156109b5576109b56001600160a01b0384168383613ffe565b600060646144bc8385615469565b6144c69190615496565b9392505050565b6000620186a06144bc8385615469565b6001600160a01b038084166000908152601260209081526040808320938616835292815282822061ffff851683529052205463ffffffff16600103614713576001600160a01b038316600090815260116020908152604080832061ffff85168452909152902080546001101561469a576001600160a01b038481166000908152601260209081526040808320938716835292815282822061ffff8616835290522054815464010000000090910463ffffffff1690829061459f906001906157bb565b815481106145af576145af61587b565b6000918252602090912001546001600160a01b0316826145d0600184615891565b63ffffffff16815481106145e6576145e661587b565b600091825260208083209190910180546001600160a01b0319166001600160a01b03948516179055918716815260129091526040812082918461462a600185615891565b63ffffffff16815481106146405761464061587b565b60009182526020808320909101546001600160a01b03168352828101939093526040918201812061ffff881682529092529020805463ffffffff929092166401000000000267ffffffff0000000019909216919091179055505b6001600160a01b038085166000908152601260209081526040808320938716835292815282822061ffff86168352905220805467ffffffffffffffff1916905580548190806146eb576146eb6158ae565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b6001600160a01b038084166000908152601260209081526040808320938616835292815282822061ffff851683529052908120805463ffffffff1691614758836158c4565b91906101000a81548163ffffffff021916908363ffffffff16021790555050505050565b83516001600160a01b039081166000908152600b60209081526040808320546060890151928901519151630f1a62d160e31b8152939485948594859493909216926378d31688926147d8928e92908d908d908d906004016158e4565b6080604051808303816000875af11580156147f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061481b919061593b565b929c919b50995090975095505050505050565b6001600160a01b038085166000908152600a6020526040812054909116908385106148d75761485d83856157bb565b9050600061486b82876157bb565b6040516321d4911360e01b81526001600160a01b038a8116600483015260248201839052919250908416906321d4911390604401600060405180830381600087803b1580156148b957600080fd5b505af11580156148cd573d6000803e3d6000fd5b5050505050614983565b508360006148e582866157bb565b9050838111156149085761490387846148fe87856157bb565b614494565b614981565b6001600160a01b0383166321d491133061492284886157bb565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561496857600080fd5b505af115801561497c573d6000803e3d6000fd5b505050505b505b61498e868883614494565b50505050505050565b60008581846149af576149aa8688615971565b6149b9565b6149b98787615971565b905060008460070b620186a08360070b6149d39190615815565b6149dd9190615815565b90506000600789900b6149f16064846159a0565b6149fb91906159a0565b90508094508360070b8560070b13614a135784614a15565b835b9a9950505050505050505050565b6040516001600160a01b03848116602483015283811660448301526064820183905261252b9186918216906323b872dd9060840161402b565b6000614a716001600160a01b03841683614b0e565b90508051600014158015614a96575080806020019051810190614a949190615413565b155b156109b557604051635274afe760e01b81526001600160a01b03841660048201526024016109a1565b600080826001600160401b0316620186a06064866001600160401b0316886001600160401b0316614af09190615469565b614afa9190615469565b614b049190615496565b613ba79190615496565b60606144c68383600084600080856001600160a01b03168486604051614b3491906154ce565b60006040518083038185875af1925050503d8060008114614b71576040519150601f19603f3d011682016040523d82523d6000602084013e614b76565b606091505b5091509150614b86868383614b90565b9695505050505050565b606082614ba557614ba082614bec565b6144c6565b8151158015614bbc57506001600160a01b0384163b155b15614be557604051639996b31560e01b81526001600160a01b03851660048201526024016109a1565b50806144c6565b805115614bfc5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b0381168114610b0557600080fd5b600060208284031215614c3c57600080fd5b81356144c681614c15565b600060208284031215614c5957600080fd5b5035919050565b60048110610b0557600080fd5b600080600060608486031215614c8257600080fd5b8335614c8d81614c15565b92506020840135614c9d81614c60565b91506040840135614cad81614c15565b809150509250925092565b80356001600160401b0381168114614ccf57600080fd5b919050565b600080600060608486031215614ce957600080fd5b83359250614cf960208501614cb8565b9150604084013590509250925092565b60008060408385031215614d1c57600080fd5b8235614d2781614c60565b946020939093013593505050565b60008060408385031215614d4857600080fd5b8235614d5381614c15565b91506020830135614d6381614c60565b809150509250929050565b60008060408385031215614d8157600080fd5b8235614d2781614c15565b6020808252825182820181905260009190848201906040850190845b81811015614dcd5783516001600160a01b031683529284019291840191600101614da8565b50909695505050505050565b600080600060608486031215614dee57600080fd5b83359250602084013560028110614e0457600080fd5b929592945050506040919091013590565b600080600060608486031215614e2a57600080fd5b8335614e3581614c15565b95602085013595506040909401359392505050565b60038110610b0557600080fd5b600080600060608486031215614e6c57600080fd5b833592506020840135614e0481614e4a565b60008060008060808587031215614e9457600080fd5b843593506020850135614ea681614c60565b9250614eb460408601614cb8565b9150614ec260608601614cb8565b905092959194509250565b8015158114610b0557600080fd5b8035614ccf81614ecd565b60008060408385031215614ef957600080fd5b823591506020830135614d6381614ecd565b600080600060608486031215614f2057600080fd5b8335614f2b81614c15565b92506020840135614e0481614c15565b634e487b7160e01b600052602160045260246000fd5b60068110614f6157614f61614f3b565b9052565b87815260e08101614f796020830189614f51565b6001600160401b03968716604083015263ffffffff958616606083015293151560808201529190941660a08201529290911660c09092019190915292915050565b60a08101614fc88288614f51565b6001600160401b0395909516602082015261ffff939093166040840152901515606083015263ffffffff16608090910152919050565b600080600080600060a0868803121561501657600080fd5b8535945061502660208701614cb8565b935061503460408701614cb8565b925061504260608701614cb8565b915061505060808701614cb8565b90509295509295909350565b60008060006060848603121561507157600080fd5b833561507c81614c15565b92506020840135614c9d81614c15565b803561ffff81168114614ccf57600080fd5b803563ffffffff81168114614ccf57600080fd5b600080600080608085870312156150c857600080fd5b84356150d381614c15565b935060208501356150e381614c15565b92506150f16040860161508c565b9150614ec26060860161509e565b6000806000806080858703121561511557600080fd5b843593506020850135614ea681614e4a565b60008060006060848603121561513c57600080fd5b8335925061514c60208501614cb8565b915061515a60408501614cb8565b90509250925092565b601f8201601f191681016001600160401b038111828210171561519657634e487b7160e01b600052604160045260246000fd5b6040525050565b60405161012081016001600160401b03811182821017156151ce57634e487b7160e01b600052604160045260246000fd5b60405290565b600061012082840312156151e757600080fd5b6151ef61519d565b90506151fa82614edb565b8152602082013560208201526152126040830161509e565b604082015261522360608301614cb8565b606082015261523460808301614cb8565b608082015261524560a08301614cb8565b60a082015261525660c08301614cb8565b60c082015261526760e08301614cb8565b60e082015261010061527a818401614cb8565b9082015292915050565b6000806000808486036101e081121561529c57600080fd5b85356152a781614e4a565b94506080601f19820112156152bb57600080fd5b50604051608081018181106001600160401b03821117156152ec57634e487b7160e01b600052604160045260246000fd5b60405260208601356152fd81614c15565b815261530b6040870161508c565b6020820152606086013561531e81614c15565b604082015261532f6080870161509e565b606082015292506153438660a087016151d4565b9150614ec26101c0860161509e565b8051825263ffffffff602082015116602083015260408101511515604083015260608101516001600160401b03808216606085015280608084015116608085015250505050565b60a08101610eb58284615352565b606081016153b58286614f51565b6001600160401b039390931660208201526001600160a01b0391909116604090910152919050565b6000602082840312156153ef57600080fd5b81516144c681614c15565b60006020828403121561540c57600080fd5b5051919050565b60006020828403121561542557600080fd5b81516144c681614ecd565b60208082526009908201526821547269676765727360b81b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610eb557610eb5615453565b634e487b7160e01b600052601260045260246000fd5b6000826154a5576154a5615480565b500490565b60005b838110156154c55781810151838201526020016154ad565b50506000910152565b600082516154e08184602087016154aa565b9190910192915050565b60208082526010908201526f2727afa9aaa1a42fa827a9a4aa24a7a760811b604082015260600190565b6020808252600e908201526d08551c9859195c9cd41bdc9d185b60921b604082015260600190565b6020808252600b908201526a57524f4e475f504841534560a81b604082015260600190565b6020808252600b908201526a1410525497d4105554d15160aa1b604082015260600190565b6101e081016155958287614f51565b60018060a01b0380865116602084015261ffff602087015116604084015280604087015116606084015250606085015163ffffffff80821660808501528551151560a0850152602086015160c08501528060408701511660e08501525050606084015161010061560f818501836001600160401b03169052565b60808601516001600160401b0390811661012086015260a0870151811661014086015260c0870151811661016086015260e0870151811661018086015290860151166101a08401525063ffffffff83166101c0830152613ba7565b6000806040838503121561567d57600080fd5b505080516020909101519092909150565b600060033d11156156a75760046000803e5060005160e01c5b90565b600060443d10156156b85790565b6040516003193d81016004833e81513d6001600160401b0381602484011181841117156156e757505050505090565b82850191508151818111156156ff5750505050505090565b843d87010160208285010111156157195750505050505090565b61572860208286010187615163565b509095945050505050565b60208152600082518060208401526157528160408501602087016154aa565b601f01601f19169190910160400192915050565b805160208201516001600160e01b031980821692919060048310156157955780818460040360031b1b83161693505b505050919050565b60408101601284106157b1576157b1614f3b565b9281526020015290565b81810381811115610eb557610eb5615453565b6001600160401b038281168282160390808211156157ee576157ee615453565b5092915050565b6001600160401b038181168382160190808211156157ee576157ee615453565b80820260008212600160ff1b8414161561583157615831615453565b8181058314821517610eb557610eb5615453565b600063ffffffff80831681810361585e5761585e615453565b6001019392505050565b80820180821115610eb557610eb5615453565b634e487b7160e01b600052603260045260246000fd5b63ffffffff8281168282160390808211156157ee576157ee615453565b634e487b7160e01b600052603160045260246000fd5b600063ffffffff8216806158da576158da615453565b6000190192915050565b8681526001600160a01b038616602082015261ffff8516604082015261014081016159126060830186615352565b836101008301526005831061592957615929614f3b565b82610120830152979650505050505050565b6000806000806080858703121561595157600080fd5b505082516020840151604085015160609095015191969095509092509050565b600782810b9082900b03677fffffffffffffff198112677fffffffffffffff82131715610eb557610eb5615453565b6000826159af576159af615480565b600160ff1b8214600019841416156159c9576159c9615453565b50059056fea26469706673582212207775227055278e354059b3bb23ff1c42ec0c2a73cf90b212cc85ce01870261e164736f6c63430008180033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "target";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}];
|
|
24
|
+
readonly name: "AddressEmptyCode";
|
|
25
|
+
readonly type: "error";
|
|
26
|
+
}, {
|
|
27
|
+
readonly inputs: readonly [{
|
|
28
|
+
readonly internalType: "address";
|
|
29
|
+
readonly name: "account";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
}];
|
|
32
|
+
readonly name: "AddressInsufficientBalance";
|
|
33
|
+
readonly type: "error";
|
|
34
|
+
}, {
|
|
35
|
+
readonly inputs: readonly [{
|
|
36
|
+
readonly internalType: "enum LexErrors.CapType";
|
|
37
|
+
readonly name: "";
|
|
38
|
+
readonly type: "uint8";
|
|
39
|
+
}, {
|
|
40
|
+
readonly internalType: "uint256";
|
|
41
|
+
readonly name: "value";
|
|
42
|
+
readonly type: "uint256";
|
|
43
|
+
}];
|
|
44
|
+
readonly name: "CapError";
|
|
45
|
+
readonly type: "error";
|
|
46
|
+
}, {
|
|
47
|
+
readonly inputs: readonly [];
|
|
48
|
+
readonly name: "FailedInnerCall";
|
|
49
|
+
readonly type: "error";
|
|
50
|
+
}, {
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly internalType: "address";
|
|
53
|
+
readonly name: "token";
|
|
54
|
+
readonly type: "address";
|
|
55
|
+
}];
|
|
56
|
+
readonly name: "SafeERC20FailedOperation";
|
|
57
|
+
readonly type: "error";
|
|
58
|
+
}, {
|
|
59
|
+
readonly anonymous: false;
|
|
60
|
+
readonly inputs: readonly [{
|
|
61
|
+
readonly indexed: true;
|
|
62
|
+
readonly internalType: "address";
|
|
63
|
+
readonly name: "token";
|
|
64
|
+
readonly type: "address";
|
|
65
|
+
}, {
|
|
66
|
+
readonly indexed: true;
|
|
67
|
+
readonly internalType: "enum TradingEnumsV1.FeeType";
|
|
68
|
+
readonly name: "feeType";
|
|
69
|
+
readonly type: "uint8";
|
|
70
|
+
}, {
|
|
71
|
+
readonly indexed: true;
|
|
72
|
+
readonly internalType: "address";
|
|
73
|
+
readonly name: "receiver";
|
|
74
|
+
readonly type: "address";
|
|
75
|
+
}, {
|
|
76
|
+
readonly indexed: false;
|
|
77
|
+
readonly internalType: "uint256";
|
|
78
|
+
readonly name: "amount";
|
|
79
|
+
readonly type: "uint256";
|
|
80
|
+
}];
|
|
81
|
+
readonly name: "FeeCollected";
|
|
82
|
+
readonly type: "event";
|
|
83
|
+
}, {
|
|
84
|
+
readonly anonymous: false;
|
|
85
|
+
readonly inputs: readonly [{
|
|
86
|
+
readonly indexed: true;
|
|
87
|
+
readonly internalType: "bytes32";
|
|
88
|
+
readonly name: "positionId";
|
|
89
|
+
readonly type: "bytes32";
|
|
90
|
+
}, {
|
|
91
|
+
readonly indexed: true;
|
|
92
|
+
readonly internalType: "address";
|
|
93
|
+
readonly name: "token";
|
|
94
|
+
readonly type: "address";
|
|
95
|
+
}, {
|
|
96
|
+
readonly indexed: true;
|
|
97
|
+
readonly internalType: "enum TradingEnumsV1.FeeType";
|
|
98
|
+
readonly name: "feeType";
|
|
99
|
+
readonly type: "uint8";
|
|
100
|
+
}, {
|
|
101
|
+
readonly indexed: false;
|
|
102
|
+
readonly internalType: "uint256";
|
|
103
|
+
readonly name: "amount";
|
|
104
|
+
readonly type: "uint256";
|
|
105
|
+
}];
|
|
106
|
+
readonly name: "FeeRegistered";
|
|
107
|
+
readonly type: "event";
|
|
108
|
+
}, {
|
|
109
|
+
readonly anonymous: false;
|
|
110
|
+
readonly inputs: readonly [{
|
|
111
|
+
readonly indexed: true;
|
|
112
|
+
readonly internalType: "string";
|
|
113
|
+
readonly name: "name";
|
|
114
|
+
readonly type: "string";
|
|
115
|
+
}, {
|
|
116
|
+
readonly indexed: false;
|
|
117
|
+
readonly internalType: "uint256";
|
|
118
|
+
readonly name: "value";
|
|
119
|
+
readonly type: "uint256";
|
|
120
|
+
}];
|
|
121
|
+
readonly name: "NumberUpdated";
|
|
122
|
+
readonly type: "event";
|
|
123
|
+
}, {
|
|
124
|
+
readonly anonymous: false;
|
|
125
|
+
readonly inputs: readonly [{
|
|
126
|
+
readonly indexed: true;
|
|
127
|
+
readonly internalType: "bytes32";
|
|
128
|
+
readonly name: "positionId";
|
|
129
|
+
readonly type: "bytes32";
|
|
130
|
+
}, {
|
|
131
|
+
readonly indexed: true;
|
|
132
|
+
readonly internalType: "uint16";
|
|
133
|
+
readonly name: "pairId";
|
|
134
|
+
readonly type: "uint16";
|
|
135
|
+
}, {
|
|
136
|
+
readonly indexed: false;
|
|
137
|
+
readonly internalType: "bool";
|
|
138
|
+
readonly name: "buy";
|
|
139
|
+
readonly type: "bool";
|
|
140
|
+
}, {
|
|
141
|
+
readonly indexed: true;
|
|
142
|
+
readonly internalType: "enum TradingEnumsV1.PositionField";
|
|
143
|
+
readonly name: "updatedField";
|
|
144
|
+
readonly type: "uint8";
|
|
145
|
+
}, {
|
|
146
|
+
readonly indexed: false;
|
|
147
|
+
readonly internalType: "uint64";
|
|
148
|
+
readonly name: "fieldValue";
|
|
149
|
+
readonly type: "uint64";
|
|
150
|
+
}];
|
|
151
|
+
readonly name: "OpenedPositionUpdated";
|
|
152
|
+
readonly type: "event";
|
|
153
|
+
}, {
|
|
154
|
+
readonly anonymous: false;
|
|
155
|
+
readonly inputs: readonly [{
|
|
156
|
+
readonly indexed: true;
|
|
157
|
+
readonly internalType: "uint256";
|
|
158
|
+
readonly name: "pairId";
|
|
159
|
+
readonly type: "uint256";
|
|
160
|
+
}, {
|
|
161
|
+
readonly indexed: true;
|
|
162
|
+
readonly internalType: "bool";
|
|
163
|
+
readonly name: "isPaused";
|
|
164
|
+
readonly type: "bool";
|
|
165
|
+
}];
|
|
166
|
+
readonly name: "PairPausedChange";
|
|
167
|
+
readonly type: "event";
|
|
168
|
+
}, {
|
|
169
|
+
readonly anonymous: false;
|
|
170
|
+
readonly inputs: readonly [{
|
|
171
|
+
readonly indexed: true;
|
|
172
|
+
readonly internalType: "bytes32";
|
|
173
|
+
readonly name: "positionId";
|
|
174
|
+
readonly type: "bytes32";
|
|
175
|
+
}, {
|
|
176
|
+
readonly indexed: true;
|
|
177
|
+
readonly internalType: "address";
|
|
178
|
+
readonly name: "source";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
}, {
|
|
181
|
+
readonly indexed: false;
|
|
182
|
+
readonly internalType: "uint256";
|
|
183
|
+
readonly name: "fee";
|
|
184
|
+
readonly type: "uint256";
|
|
185
|
+
}];
|
|
186
|
+
readonly name: "PendingPositionCancelled";
|
|
187
|
+
readonly type: "event";
|
|
188
|
+
}, {
|
|
189
|
+
readonly anonymous: false;
|
|
190
|
+
readonly inputs: readonly [{
|
|
191
|
+
readonly indexed: true;
|
|
192
|
+
readonly internalType: "bytes32";
|
|
193
|
+
readonly name: "positionId";
|
|
194
|
+
readonly type: "bytes32";
|
|
195
|
+
}, {
|
|
196
|
+
readonly indexed: false;
|
|
197
|
+
readonly internalType: "enum TradingEnumsV1.PositionPhase";
|
|
198
|
+
readonly name: "phase";
|
|
199
|
+
readonly type: "uint8";
|
|
200
|
+
}, {
|
|
201
|
+
readonly components: readonly [{
|
|
202
|
+
readonly internalType: "address";
|
|
203
|
+
readonly name: "trader";
|
|
204
|
+
readonly type: "address";
|
|
205
|
+
}, {
|
|
206
|
+
readonly internalType: "uint16";
|
|
207
|
+
readonly name: "pairId";
|
|
208
|
+
readonly type: "uint16";
|
|
209
|
+
}, {
|
|
210
|
+
readonly internalType: "address";
|
|
211
|
+
readonly name: "settlementAsset";
|
|
212
|
+
readonly type: "address";
|
|
213
|
+
}, {
|
|
214
|
+
readonly internalType: "uint32";
|
|
215
|
+
readonly name: "positionIndex";
|
|
216
|
+
readonly type: "uint32";
|
|
217
|
+
}];
|
|
218
|
+
readonly indexed: false;
|
|
219
|
+
readonly internalType: "struct TradingFloorStructsV1.PositionRequestIdentifiers";
|
|
220
|
+
readonly name: "requestIdentifiers";
|
|
221
|
+
readonly type: "tuple";
|
|
222
|
+
}, {
|
|
223
|
+
readonly components: readonly [{
|
|
224
|
+
readonly internalType: "bool";
|
|
225
|
+
readonly name: "long";
|
|
226
|
+
readonly type: "bool";
|
|
227
|
+
}, {
|
|
228
|
+
readonly internalType: "uint256";
|
|
229
|
+
readonly name: "collateral";
|
|
230
|
+
readonly type: "uint256";
|
|
231
|
+
}, {
|
|
232
|
+
readonly internalType: "uint32";
|
|
233
|
+
readonly name: "leverage";
|
|
234
|
+
readonly type: "uint32";
|
|
235
|
+
}, {
|
|
236
|
+
readonly internalType: "uint64";
|
|
237
|
+
readonly name: "minPrice";
|
|
238
|
+
readonly type: "uint64";
|
|
239
|
+
}, {
|
|
240
|
+
readonly internalType: "uint64";
|
|
241
|
+
readonly name: "maxPrice";
|
|
242
|
+
readonly type: "uint64";
|
|
243
|
+
}, {
|
|
244
|
+
readonly internalType: "uint64";
|
|
245
|
+
readonly name: "tp";
|
|
246
|
+
readonly type: "uint64";
|
|
247
|
+
}, {
|
|
248
|
+
readonly internalType: "uint64";
|
|
249
|
+
readonly name: "sl";
|
|
250
|
+
readonly type: "uint64";
|
|
251
|
+
}, {
|
|
252
|
+
readonly internalType: "uint64";
|
|
253
|
+
readonly name: "tpByFraction";
|
|
254
|
+
readonly type: "uint64";
|
|
255
|
+
}, {
|
|
256
|
+
readonly internalType: "uint64";
|
|
257
|
+
readonly name: "slByFraction";
|
|
258
|
+
readonly type: "uint64";
|
|
259
|
+
}];
|
|
260
|
+
readonly indexed: false;
|
|
261
|
+
readonly internalType: "struct TradingFloorStructsV1.PositionRequestParams";
|
|
262
|
+
readonly name: "requestParams";
|
|
263
|
+
readonly type: "tuple";
|
|
264
|
+
}, {
|
|
265
|
+
readonly indexed: false;
|
|
266
|
+
readonly internalType: "uint32";
|
|
267
|
+
readonly name: "_spreadReductionF";
|
|
268
|
+
readonly type: "uint32";
|
|
269
|
+
}];
|
|
270
|
+
readonly name: "PendingPositionStored";
|
|
271
|
+
readonly type: "event";
|
|
272
|
+
}, {
|
|
273
|
+
readonly anonymous: false;
|
|
274
|
+
readonly inputs: readonly [{
|
|
275
|
+
readonly indexed: true;
|
|
276
|
+
readonly internalType: "bytes32";
|
|
277
|
+
readonly name: "positionId";
|
|
278
|
+
readonly type: "bytes32";
|
|
279
|
+
}, {
|
|
280
|
+
readonly indexed: false;
|
|
281
|
+
readonly internalType: "uint64";
|
|
282
|
+
readonly name: "tp";
|
|
283
|
+
readonly type: "uint64";
|
|
284
|
+
}, {
|
|
285
|
+
readonly indexed: false;
|
|
286
|
+
readonly internalType: "uint64";
|
|
287
|
+
readonly name: "sl";
|
|
288
|
+
readonly type: "uint64";
|
|
289
|
+
}, {
|
|
290
|
+
readonly indexed: false;
|
|
291
|
+
readonly internalType: "uint64";
|
|
292
|
+
readonly name: "minPrice";
|
|
293
|
+
readonly type: "uint64";
|
|
294
|
+
}, {
|
|
295
|
+
readonly indexed: false;
|
|
296
|
+
readonly internalType: "uint64";
|
|
297
|
+
readonly name: "maxPrice";
|
|
298
|
+
readonly type: "uint64";
|
|
299
|
+
}];
|
|
300
|
+
readonly name: "PendingPositionUpdated";
|
|
301
|
+
readonly type: "event";
|
|
302
|
+
}, {
|
|
303
|
+
readonly anonymous: false;
|
|
304
|
+
readonly inputs: readonly [{
|
|
305
|
+
readonly indexed: true;
|
|
306
|
+
readonly internalType: "bytes32";
|
|
307
|
+
readonly name: "positionId";
|
|
308
|
+
readonly type: "bytes32";
|
|
309
|
+
}, {
|
|
310
|
+
readonly indexed: true;
|
|
311
|
+
readonly internalType: "enum TradingEnumsV1.LimitTrigger";
|
|
312
|
+
readonly name: "limitTrigger";
|
|
313
|
+
readonly type: "uint8";
|
|
314
|
+
}, {
|
|
315
|
+
readonly indexed: false;
|
|
316
|
+
readonly internalType: "uint256";
|
|
317
|
+
readonly name: "triggerPrice";
|
|
318
|
+
readonly type: "uint256";
|
|
319
|
+
}, {
|
|
320
|
+
readonly indexed: false;
|
|
321
|
+
readonly internalType: "uint256";
|
|
322
|
+
readonly name: "effectiveClosePrice";
|
|
323
|
+
readonly type: "uint256";
|
|
324
|
+
}, {
|
|
325
|
+
readonly indexed: false;
|
|
326
|
+
readonly internalType: "uint256";
|
|
327
|
+
readonly name: "tradeValue";
|
|
328
|
+
readonly type: "uint256";
|
|
329
|
+
}, {
|
|
330
|
+
readonly indexed: false;
|
|
331
|
+
readonly internalType: "int256";
|
|
332
|
+
readonly name: "profitPrecision";
|
|
333
|
+
readonly type: "int256";
|
|
334
|
+
}];
|
|
335
|
+
readonly name: "PositionClosedLimit";
|
|
336
|
+
readonly type: "event";
|
|
337
|
+
}, {
|
|
338
|
+
readonly anonymous: false;
|
|
339
|
+
readonly inputs: readonly [{
|
|
340
|
+
readonly indexed: true;
|
|
341
|
+
readonly internalType: "bytes32";
|
|
342
|
+
readonly name: "positionId";
|
|
343
|
+
readonly type: "bytes32";
|
|
344
|
+
}, {
|
|
345
|
+
readonly indexed: false;
|
|
346
|
+
readonly internalType: "uint256";
|
|
347
|
+
readonly name: "triggerPrice";
|
|
348
|
+
readonly type: "uint256";
|
|
349
|
+
}, {
|
|
350
|
+
readonly indexed: false;
|
|
351
|
+
readonly internalType: "uint256";
|
|
352
|
+
readonly name: "tradeValue";
|
|
353
|
+
readonly type: "uint256";
|
|
354
|
+
}, {
|
|
355
|
+
readonly indexed: false;
|
|
356
|
+
readonly internalType: "int256";
|
|
357
|
+
readonly name: "profitPrecision";
|
|
358
|
+
readonly type: "int256";
|
|
359
|
+
}];
|
|
360
|
+
readonly name: "PositionClosedMarket";
|
|
361
|
+
readonly type: "event";
|
|
362
|
+
}, {
|
|
363
|
+
readonly anonymous: false;
|
|
364
|
+
readonly inputs: readonly [{
|
|
365
|
+
readonly indexed: true;
|
|
366
|
+
readonly internalType: "bytes32";
|
|
367
|
+
readonly name: "positionId";
|
|
368
|
+
readonly type: "bytes32";
|
|
369
|
+
}, {
|
|
370
|
+
readonly components: readonly [{
|
|
371
|
+
readonly internalType: "address";
|
|
372
|
+
readonly name: "settlementAsset";
|
|
373
|
+
readonly type: "address";
|
|
374
|
+
}, {
|
|
375
|
+
readonly internalType: "uint16";
|
|
376
|
+
readonly name: "pairId";
|
|
377
|
+
readonly type: "uint16";
|
|
378
|
+
}, {
|
|
379
|
+
readonly internalType: "uint32";
|
|
380
|
+
readonly name: "index";
|
|
381
|
+
readonly type: "uint32";
|
|
382
|
+
}, {
|
|
383
|
+
readonly internalType: "address";
|
|
384
|
+
readonly name: "trader";
|
|
385
|
+
readonly type: "address";
|
|
386
|
+
}];
|
|
387
|
+
readonly indexed: false;
|
|
388
|
+
readonly internalType: "struct TradingFloorStructsV1.PositionIdentifiers";
|
|
389
|
+
readonly name: "identifiers";
|
|
390
|
+
readonly type: "tuple";
|
|
391
|
+
}];
|
|
392
|
+
readonly name: "PositionIdentifiersStored";
|
|
393
|
+
readonly type: "event";
|
|
394
|
+
}, {
|
|
395
|
+
readonly anonymous: false;
|
|
396
|
+
readonly inputs: readonly [{
|
|
397
|
+
readonly indexed: true;
|
|
398
|
+
readonly internalType: "bytes32";
|
|
399
|
+
readonly name: "positionId";
|
|
400
|
+
readonly type: "bytes32";
|
|
401
|
+
}, {
|
|
402
|
+
readonly indexed: true;
|
|
403
|
+
readonly internalType: "address";
|
|
404
|
+
readonly name: "source";
|
|
405
|
+
readonly type: "address";
|
|
406
|
+
}, {
|
|
407
|
+
readonly indexed: false;
|
|
408
|
+
readonly internalType: "uint256";
|
|
409
|
+
readonly name: "fee";
|
|
410
|
+
readonly type: "uint256";
|
|
411
|
+
}];
|
|
412
|
+
readonly name: "PositionMarketCloseCancelled";
|
|
413
|
+
readonly type: "event";
|
|
414
|
+
}, {
|
|
415
|
+
readonly anonymous: false;
|
|
416
|
+
readonly inputs: readonly [{
|
|
417
|
+
readonly indexed: true;
|
|
418
|
+
readonly internalType: "bytes32";
|
|
419
|
+
readonly name: "positionId";
|
|
420
|
+
readonly type: "bytes32";
|
|
421
|
+
}, {
|
|
422
|
+
readonly indexed: false;
|
|
423
|
+
readonly internalType: "enum LexErrors.CapType";
|
|
424
|
+
readonly name: "capType";
|
|
425
|
+
readonly type: "uint8";
|
|
426
|
+
}, {
|
|
427
|
+
readonly indexed: false;
|
|
428
|
+
readonly internalType: "uint256";
|
|
429
|
+
readonly name: "value";
|
|
430
|
+
readonly type: "uint256";
|
|
431
|
+
}];
|
|
432
|
+
readonly name: "PositionOpenCancelledByCap";
|
|
433
|
+
readonly type: "event";
|
|
434
|
+
}, {
|
|
435
|
+
readonly anonymous: false;
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly indexed: true;
|
|
438
|
+
readonly internalType: "bytes32";
|
|
439
|
+
readonly name: "positionId";
|
|
440
|
+
readonly type: "bytes32";
|
|
441
|
+
}, {
|
|
442
|
+
readonly indexed: false;
|
|
443
|
+
readonly internalType: "uint64";
|
|
444
|
+
readonly name: "triggerPrice";
|
|
445
|
+
readonly type: "uint64";
|
|
446
|
+
}];
|
|
447
|
+
readonly name: "PositionOpenCancelledByMarketPriceRange";
|
|
448
|
+
readonly type: "event";
|
|
449
|
+
}, {
|
|
450
|
+
readonly anonymous: false;
|
|
451
|
+
readonly inputs: readonly [{
|
|
452
|
+
readonly indexed: true;
|
|
453
|
+
readonly internalType: "bytes32";
|
|
454
|
+
readonly name: "positionId";
|
|
455
|
+
readonly type: "bytes32";
|
|
456
|
+
}, {
|
|
457
|
+
readonly indexed: false;
|
|
458
|
+
readonly internalType: "uint64";
|
|
459
|
+
readonly name: "openPrice";
|
|
460
|
+
readonly type: "uint64";
|
|
461
|
+
}, {
|
|
462
|
+
readonly indexed: false;
|
|
463
|
+
readonly internalType: "uint64";
|
|
464
|
+
readonly name: "tp";
|
|
465
|
+
readonly type: "uint64";
|
|
466
|
+
}, {
|
|
467
|
+
readonly indexed: false;
|
|
468
|
+
readonly internalType: "uint64";
|
|
469
|
+
readonly name: "sl";
|
|
470
|
+
readonly type: "uint64";
|
|
471
|
+
}, {
|
|
472
|
+
readonly indexed: false;
|
|
473
|
+
readonly internalType: "uint256";
|
|
474
|
+
readonly name: "totalOpenFee";
|
|
475
|
+
readonly type: "uint256";
|
|
476
|
+
}, {
|
|
477
|
+
readonly indexed: false;
|
|
478
|
+
readonly internalType: "uint256";
|
|
479
|
+
readonly name: "lexFeePart";
|
|
480
|
+
readonly type: "uint256";
|
|
481
|
+
}];
|
|
482
|
+
readonly name: "PositionOpened";
|
|
483
|
+
readonly type: "event";
|
|
484
|
+
}, {
|
|
485
|
+
readonly anonymous: false;
|
|
486
|
+
readonly inputs: readonly [{
|
|
487
|
+
readonly indexed: true;
|
|
488
|
+
readonly internalType: "bytes32";
|
|
489
|
+
readonly name: "positionId";
|
|
490
|
+
readonly type: "bytes32";
|
|
491
|
+
}, {
|
|
492
|
+
readonly indexed: false;
|
|
493
|
+
readonly internalType: "uint64";
|
|
494
|
+
readonly name: "_minPrice";
|
|
495
|
+
readonly type: "uint64";
|
|
496
|
+
}, {
|
|
497
|
+
readonly indexed: false;
|
|
498
|
+
readonly internalType: "uint64";
|
|
499
|
+
readonly name: "_maxPrice";
|
|
500
|
+
readonly type: "uint64";
|
|
501
|
+
}];
|
|
502
|
+
readonly name: "PositionSetForMarketClose";
|
|
503
|
+
readonly type: "event";
|
|
504
|
+
}, {
|
|
505
|
+
readonly anonymous: false;
|
|
506
|
+
readonly inputs: readonly [{
|
|
507
|
+
readonly indexed: true;
|
|
508
|
+
readonly internalType: "address";
|
|
509
|
+
readonly name: "asset";
|
|
510
|
+
readonly type: "address";
|
|
511
|
+
}, {
|
|
512
|
+
readonly indexed: true;
|
|
513
|
+
readonly internalType: "address";
|
|
514
|
+
readonly name: "lexPool";
|
|
515
|
+
readonly type: "address";
|
|
516
|
+
}, {
|
|
517
|
+
readonly indexed: true;
|
|
518
|
+
readonly internalType: "address";
|
|
519
|
+
readonly name: "poolAccountant";
|
|
520
|
+
readonly type: "address";
|
|
521
|
+
}];
|
|
522
|
+
readonly name: "SettlementAssetAdded";
|
|
523
|
+
readonly type: "event";
|
|
524
|
+
}, {
|
|
525
|
+
readonly inputs: readonly [];
|
|
526
|
+
readonly name: "ACCURACY_IMPROVEMENT_SCALE";
|
|
527
|
+
readonly outputs: readonly [{
|
|
528
|
+
readonly internalType: "uint256";
|
|
529
|
+
readonly name: "";
|
|
530
|
+
readonly type: "uint256";
|
|
531
|
+
}];
|
|
532
|
+
readonly stateMutability: "view";
|
|
533
|
+
readonly type: "function";
|
|
534
|
+
}, {
|
|
535
|
+
readonly inputs: readonly [];
|
|
536
|
+
readonly name: "FRACTION_SCALE";
|
|
537
|
+
readonly outputs: readonly [{
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
readonly name: "";
|
|
540
|
+
readonly type: "uint256";
|
|
541
|
+
}];
|
|
542
|
+
readonly stateMutability: "view";
|
|
543
|
+
readonly type: "function";
|
|
544
|
+
}, {
|
|
545
|
+
readonly inputs: readonly [];
|
|
546
|
+
readonly name: "LEVERAGE_SCALE";
|
|
547
|
+
readonly outputs: readonly [{
|
|
548
|
+
readonly internalType: "uint256";
|
|
549
|
+
readonly name: "";
|
|
550
|
+
readonly type: "uint256";
|
|
551
|
+
}];
|
|
552
|
+
readonly stateMutability: "view";
|
|
553
|
+
readonly type: "function";
|
|
554
|
+
}, {
|
|
555
|
+
readonly inputs: readonly [];
|
|
556
|
+
readonly name: "MAX_FEE_FRACTION_FOR_CANCEL";
|
|
557
|
+
readonly outputs: readonly [{
|
|
558
|
+
readonly internalType: "uint256";
|
|
559
|
+
readonly name: "";
|
|
560
|
+
readonly type: "uint256";
|
|
561
|
+
}];
|
|
562
|
+
readonly stateMutability: "view";
|
|
563
|
+
readonly type: "function";
|
|
564
|
+
}, {
|
|
565
|
+
readonly inputs: readonly [];
|
|
566
|
+
readonly name: "PRECISION";
|
|
567
|
+
readonly outputs: readonly [{
|
|
568
|
+
readonly internalType: "uint256";
|
|
569
|
+
readonly name: "";
|
|
570
|
+
readonly type: "uint256";
|
|
571
|
+
}];
|
|
572
|
+
readonly stateMutability: "view";
|
|
573
|
+
readonly type: "function";
|
|
574
|
+
}, {
|
|
575
|
+
readonly inputs: readonly [{
|
|
576
|
+
readonly internalType: "contract TradingFloorProxy";
|
|
577
|
+
readonly name: "tradingFloorProxy";
|
|
578
|
+
readonly type: "address";
|
|
579
|
+
}];
|
|
580
|
+
readonly name: "_become";
|
|
581
|
+
readonly outputs: readonly [];
|
|
582
|
+
readonly stateMutability: "nonpayable";
|
|
583
|
+
readonly type: "function";
|
|
584
|
+
}, {
|
|
585
|
+
readonly inputs: readonly [];
|
|
586
|
+
readonly name: "admin";
|
|
587
|
+
readonly outputs: readonly [{
|
|
588
|
+
readonly internalType: "address";
|
|
589
|
+
readonly name: "";
|
|
590
|
+
readonly type: "address";
|
|
591
|
+
}];
|
|
592
|
+
readonly stateMutability: "view";
|
|
593
|
+
readonly type: "function";
|
|
594
|
+
}, {
|
|
595
|
+
readonly inputs: readonly [{
|
|
596
|
+
readonly internalType: "bytes32";
|
|
597
|
+
readonly name: "_positionId";
|
|
598
|
+
readonly type: "bytes32";
|
|
599
|
+
}, {
|
|
600
|
+
readonly internalType: "enum TradingEnumsV1.CloseOrderType";
|
|
601
|
+
readonly name: "_orderType";
|
|
602
|
+
readonly type: "uint8";
|
|
603
|
+
}, {
|
|
604
|
+
readonly internalType: "uint256";
|
|
605
|
+
readonly name: "";
|
|
606
|
+
readonly type: "uint256";
|
|
607
|
+
}];
|
|
608
|
+
readonly name: "cancelMarketCloseForPosition";
|
|
609
|
+
readonly outputs: readonly [];
|
|
610
|
+
readonly stateMutability: "nonpayable";
|
|
611
|
+
readonly type: "function";
|
|
612
|
+
}, {
|
|
613
|
+
readonly inputs: readonly [{
|
|
614
|
+
readonly internalType: "bytes32";
|
|
615
|
+
readonly name: "_positionId";
|
|
616
|
+
readonly type: "bytes32";
|
|
617
|
+
}, {
|
|
618
|
+
readonly internalType: "enum TradingEnumsV1.OpenOrderType";
|
|
619
|
+
readonly name: "_orderType";
|
|
620
|
+
readonly type: "uint8";
|
|
621
|
+
}, {
|
|
622
|
+
readonly internalType: "uint256";
|
|
623
|
+
readonly name: "feeFraction";
|
|
624
|
+
readonly type: "uint256";
|
|
625
|
+
}];
|
|
626
|
+
readonly name: "cancelPendingPosition";
|
|
627
|
+
readonly outputs: readonly [];
|
|
628
|
+
readonly stateMutability: "nonpayable";
|
|
629
|
+
readonly type: "function";
|
|
630
|
+
}, {
|
|
631
|
+
readonly inputs: readonly [{
|
|
632
|
+
readonly internalType: "bytes32";
|
|
633
|
+
readonly name: "_positionId";
|
|
634
|
+
readonly type: "bytes32";
|
|
635
|
+
}, {
|
|
636
|
+
readonly internalType: "enum TradingEnumsV1.LimitTrigger";
|
|
637
|
+
readonly name: "limitTrigger";
|
|
638
|
+
readonly type: "uint8";
|
|
639
|
+
}, {
|
|
640
|
+
readonly internalType: "uint64";
|
|
641
|
+
readonly name: "";
|
|
642
|
+
readonly type: "uint64";
|
|
643
|
+
}, {
|
|
644
|
+
readonly internalType: "uint64";
|
|
645
|
+
readonly name: "effectivePrice";
|
|
646
|
+
readonly type: "uint64";
|
|
647
|
+
}];
|
|
648
|
+
readonly name: "closeExistingPosition_Limit";
|
|
649
|
+
readonly outputs: readonly [];
|
|
650
|
+
readonly stateMutability: "nonpayable";
|
|
651
|
+
readonly type: "function";
|
|
652
|
+
}, {
|
|
653
|
+
readonly inputs: readonly [{
|
|
654
|
+
readonly internalType: "bytes32";
|
|
655
|
+
readonly name: "_positionId";
|
|
656
|
+
readonly type: "bytes32";
|
|
657
|
+
}, {
|
|
658
|
+
readonly internalType: "uint64";
|
|
659
|
+
readonly name: "";
|
|
660
|
+
readonly type: "uint64";
|
|
661
|
+
}, {
|
|
662
|
+
readonly internalType: "uint64";
|
|
663
|
+
readonly name: "effectivePrice";
|
|
664
|
+
readonly type: "uint64";
|
|
665
|
+
}];
|
|
666
|
+
readonly name: "closeExistingPosition_Market";
|
|
667
|
+
readonly outputs: readonly [];
|
|
668
|
+
readonly stateMutability: "nonpayable";
|
|
669
|
+
readonly type: "function";
|
|
670
|
+
}, {
|
|
671
|
+
readonly inputs: readonly [{
|
|
672
|
+
readonly internalType: "address";
|
|
673
|
+
readonly name: "_asset";
|
|
674
|
+
readonly type: "address";
|
|
675
|
+
}, {
|
|
676
|
+
readonly internalType: "enum TradingEnumsV1.FeeType";
|
|
677
|
+
readonly name: "_feeType";
|
|
678
|
+
readonly type: "uint8";
|
|
679
|
+
}, {
|
|
680
|
+
readonly internalType: "address";
|
|
681
|
+
readonly name: "_to";
|
|
682
|
+
readonly type: "address";
|
|
683
|
+
}];
|
|
684
|
+
readonly name: "collectFee";
|
|
685
|
+
readonly outputs: readonly [];
|
|
686
|
+
readonly stateMutability: "nonpayable";
|
|
687
|
+
readonly type: "function";
|
|
688
|
+
}, {
|
|
689
|
+
readonly inputs: readonly [{
|
|
690
|
+
readonly internalType: "address";
|
|
691
|
+
readonly name: "";
|
|
692
|
+
readonly type: "address";
|
|
693
|
+
}, {
|
|
694
|
+
readonly internalType: "enum TradingEnumsV1.FeeType";
|
|
695
|
+
readonly name: "";
|
|
696
|
+
readonly type: "uint8";
|
|
697
|
+
}];
|
|
698
|
+
readonly name: "feesMap";
|
|
699
|
+
readonly outputs: readonly [{
|
|
700
|
+
readonly internalType: "uint256";
|
|
701
|
+
readonly name: "";
|
|
702
|
+
readonly type: "uint256";
|
|
703
|
+
}];
|
|
704
|
+
readonly stateMutability: "view";
|
|
705
|
+
readonly type: "function";
|
|
706
|
+
}, {
|
|
707
|
+
readonly inputs: readonly [{
|
|
708
|
+
readonly internalType: "address";
|
|
709
|
+
readonly name: "settlementAsset";
|
|
710
|
+
readonly type: "address";
|
|
711
|
+
}, {
|
|
712
|
+
readonly internalType: "address";
|
|
713
|
+
readonly name: "trader";
|
|
714
|
+
readonly type: "address";
|
|
715
|
+
}, {
|
|
716
|
+
readonly internalType: "uint16";
|
|
717
|
+
readonly name: "pairId";
|
|
718
|
+
readonly type: "uint16";
|
|
719
|
+
}, {
|
|
720
|
+
readonly internalType: "uint32";
|
|
721
|
+
readonly name: "index";
|
|
722
|
+
readonly type: "uint32";
|
|
723
|
+
}];
|
|
724
|
+
readonly name: "generatePositionHashId";
|
|
725
|
+
readonly outputs: readonly [{
|
|
726
|
+
readonly internalType: "bytes32";
|
|
727
|
+
readonly name: "hashId";
|
|
728
|
+
readonly type: "bytes32";
|
|
729
|
+
}];
|
|
730
|
+
readonly stateMutability: "pure";
|
|
731
|
+
readonly type: "function";
|
|
732
|
+
}, {
|
|
733
|
+
readonly inputs: readonly [{
|
|
734
|
+
readonly internalType: "bytes32";
|
|
735
|
+
readonly name: "_positionId";
|
|
736
|
+
readonly type: "bytes32";
|
|
737
|
+
}];
|
|
738
|
+
readonly name: "getPositionPortalInfo";
|
|
739
|
+
readonly outputs: readonly [{
|
|
740
|
+
readonly internalType: "enum TradingEnumsV1.PositionPhase";
|
|
741
|
+
readonly name: "positionPhase";
|
|
742
|
+
readonly type: "uint8";
|
|
743
|
+
}, {
|
|
744
|
+
readonly internalType: "uint64";
|
|
745
|
+
readonly name: "timestamp";
|
|
746
|
+
readonly type: "uint64";
|
|
747
|
+
}, {
|
|
748
|
+
readonly internalType: "address";
|
|
749
|
+
readonly name: "trader";
|
|
750
|
+
readonly type: "address";
|
|
751
|
+
}];
|
|
752
|
+
readonly stateMutability: "view";
|
|
753
|
+
readonly type: "function";
|
|
754
|
+
}, {
|
|
755
|
+
readonly inputs: readonly [{
|
|
756
|
+
readonly internalType: "bytes32";
|
|
757
|
+
readonly name: "_positionId";
|
|
758
|
+
readonly type: "bytes32";
|
|
759
|
+
}];
|
|
760
|
+
readonly name: "getPositionRegistrationParams";
|
|
761
|
+
readonly outputs: readonly [{
|
|
762
|
+
readonly components: readonly [{
|
|
763
|
+
readonly internalType: "uint256";
|
|
764
|
+
readonly name: "collateral";
|
|
765
|
+
readonly type: "uint256";
|
|
766
|
+
}, {
|
|
767
|
+
readonly internalType: "uint32";
|
|
768
|
+
readonly name: "leverage";
|
|
769
|
+
readonly type: "uint32";
|
|
770
|
+
}, {
|
|
771
|
+
readonly internalType: "bool";
|
|
772
|
+
readonly name: "long";
|
|
773
|
+
readonly type: "bool";
|
|
774
|
+
}, {
|
|
775
|
+
readonly internalType: "uint64";
|
|
776
|
+
readonly name: "openPrice";
|
|
777
|
+
readonly type: "uint64";
|
|
778
|
+
}, {
|
|
779
|
+
readonly internalType: "uint64";
|
|
780
|
+
readonly name: "tp";
|
|
781
|
+
readonly type: "uint64";
|
|
782
|
+
}];
|
|
783
|
+
readonly internalType: "struct PoolAccountantStructs.PositionRegistrationParams";
|
|
784
|
+
readonly name: "registrationParams";
|
|
785
|
+
readonly type: "tuple";
|
|
786
|
+
}];
|
|
787
|
+
readonly stateMutability: "view";
|
|
788
|
+
readonly type: "function";
|
|
789
|
+
}, {
|
|
790
|
+
readonly inputs: readonly [{
|
|
791
|
+
readonly internalType: "bytes32";
|
|
792
|
+
readonly name: "_positionId";
|
|
793
|
+
readonly type: "bytes32";
|
|
794
|
+
}];
|
|
795
|
+
readonly name: "getPositionTriggerInfo";
|
|
796
|
+
readonly outputs: readonly [{
|
|
797
|
+
readonly internalType: "enum TradingEnumsV1.PositionPhase";
|
|
798
|
+
readonly name: "positionPhase";
|
|
799
|
+
readonly type: "uint8";
|
|
800
|
+
}, {
|
|
801
|
+
readonly internalType: "uint64";
|
|
802
|
+
readonly name: "timestamp";
|
|
803
|
+
readonly type: "uint64";
|
|
804
|
+
}, {
|
|
805
|
+
readonly internalType: "uint16";
|
|
806
|
+
readonly name: "pairId";
|
|
807
|
+
readonly type: "uint16";
|
|
808
|
+
}, {
|
|
809
|
+
readonly internalType: "bool";
|
|
810
|
+
readonly name: "long";
|
|
811
|
+
readonly type: "bool";
|
|
812
|
+
}, {
|
|
813
|
+
readonly internalType: "uint32";
|
|
814
|
+
readonly name: "spreadReductionF";
|
|
815
|
+
readonly type: "uint32";
|
|
816
|
+
}];
|
|
817
|
+
readonly stateMutability: "view";
|
|
818
|
+
readonly type: "function";
|
|
819
|
+
}, {
|
|
820
|
+
readonly inputs: readonly [];
|
|
821
|
+
readonly name: "implementation";
|
|
822
|
+
readonly outputs: readonly [{
|
|
823
|
+
readonly internalType: "address";
|
|
824
|
+
readonly name: "";
|
|
825
|
+
readonly type: "address";
|
|
826
|
+
}];
|
|
827
|
+
readonly stateMutability: "view";
|
|
828
|
+
readonly type: "function";
|
|
829
|
+
}, {
|
|
830
|
+
readonly inputs: readonly [{
|
|
831
|
+
readonly internalType: "bytes32";
|
|
832
|
+
readonly name: "";
|
|
833
|
+
readonly type: "bytes32";
|
|
834
|
+
}];
|
|
835
|
+
readonly name: "initialCollateralByPositionId";
|
|
836
|
+
readonly outputs: readonly [{
|
|
837
|
+
readonly internalType: "uint256";
|
|
838
|
+
readonly name: "";
|
|
839
|
+
readonly type: "uint256";
|
|
840
|
+
}];
|
|
841
|
+
readonly stateMutability: "view";
|
|
842
|
+
readonly type: "function";
|
|
843
|
+
}, {
|
|
844
|
+
readonly inputs: readonly [{
|
|
845
|
+
readonly internalType: "address";
|
|
846
|
+
readonly name: "settlementAsset";
|
|
847
|
+
readonly type: "address";
|
|
848
|
+
}];
|
|
849
|
+
readonly name: "isSettlementAssetSupported";
|
|
850
|
+
readonly outputs: readonly [{
|
|
851
|
+
readonly internalType: "bool";
|
|
852
|
+
readonly name: "";
|
|
853
|
+
readonly type: "bool";
|
|
854
|
+
}];
|
|
855
|
+
readonly stateMutability: "view";
|
|
856
|
+
readonly type: "function";
|
|
857
|
+
}, {
|
|
858
|
+
readonly inputs: readonly [{
|
|
859
|
+
readonly internalType: "address";
|
|
860
|
+
readonly name: "";
|
|
861
|
+
readonly type: "address";
|
|
862
|
+
}];
|
|
863
|
+
readonly name: "lexPoolForAsset";
|
|
864
|
+
readonly outputs: readonly [{
|
|
865
|
+
readonly internalType: "address";
|
|
866
|
+
readonly name: "";
|
|
867
|
+
readonly type: "address";
|
|
868
|
+
}];
|
|
869
|
+
readonly stateMutability: "view";
|
|
870
|
+
readonly type: "function";
|
|
871
|
+
}, {
|
|
872
|
+
readonly inputs: readonly [];
|
|
873
|
+
readonly name: "maxSanityProfitF";
|
|
874
|
+
readonly outputs: readonly [{
|
|
875
|
+
readonly internalType: "uint256";
|
|
876
|
+
readonly name: "";
|
|
877
|
+
readonly type: "uint256";
|
|
878
|
+
}];
|
|
879
|
+
readonly stateMutability: "view";
|
|
880
|
+
readonly type: "function";
|
|
881
|
+
}, {
|
|
882
|
+
readonly inputs: readonly [];
|
|
883
|
+
readonly name: "maxSlF";
|
|
884
|
+
readonly outputs: readonly [{
|
|
885
|
+
readonly internalType: "uint256";
|
|
886
|
+
readonly name: "";
|
|
887
|
+
readonly type: "uint256";
|
|
888
|
+
}];
|
|
889
|
+
readonly stateMutability: "view";
|
|
890
|
+
readonly type: "function";
|
|
891
|
+
}, {
|
|
892
|
+
readonly inputs: readonly [];
|
|
893
|
+
readonly name: "maxTradesPerPair";
|
|
894
|
+
readonly outputs: readonly [{
|
|
895
|
+
readonly internalType: "uint256";
|
|
896
|
+
readonly name: "";
|
|
897
|
+
readonly type: "uint256";
|
|
898
|
+
}];
|
|
899
|
+
readonly stateMutability: "view";
|
|
900
|
+
readonly type: "function";
|
|
901
|
+
}, {
|
|
902
|
+
readonly inputs: readonly [{
|
|
903
|
+
readonly internalType: "bytes32";
|
|
904
|
+
readonly name: "_positionId";
|
|
905
|
+
readonly type: "bytes32";
|
|
906
|
+
}, {
|
|
907
|
+
readonly internalType: "uint64";
|
|
908
|
+
readonly name: "assetEffectivePrice";
|
|
909
|
+
readonly type: "uint64";
|
|
910
|
+
}, {
|
|
911
|
+
readonly internalType: "uint256";
|
|
912
|
+
readonly name: "feeForCancellation";
|
|
913
|
+
readonly type: "uint256";
|
|
914
|
+
}];
|
|
915
|
+
readonly name: "openNewPosition_limit";
|
|
916
|
+
readonly outputs: readonly [];
|
|
917
|
+
readonly stateMutability: "nonpayable";
|
|
918
|
+
readonly type: "function";
|
|
919
|
+
}, {
|
|
920
|
+
readonly inputs: readonly [{
|
|
921
|
+
readonly internalType: "bytes32";
|
|
922
|
+
readonly name: "_positionId";
|
|
923
|
+
readonly type: "bytes32";
|
|
924
|
+
}, {
|
|
925
|
+
readonly internalType: "uint64";
|
|
926
|
+
readonly name: "assetEffectivePrice";
|
|
927
|
+
readonly type: "uint64";
|
|
928
|
+
}, {
|
|
929
|
+
readonly internalType: "uint256";
|
|
930
|
+
readonly name: "feeForCancellation";
|
|
931
|
+
readonly type: "uint256";
|
|
932
|
+
}];
|
|
933
|
+
readonly name: "openNewPosition_market";
|
|
934
|
+
readonly outputs: readonly [];
|
|
935
|
+
readonly stateMutability: "nonpayable";
|
|
936
|
+
readonly type: "function";
|
|
937
|
+
}, {
|
|
938
|
+
readonly inputs: readonly [{
|
|
939
|
+
readonly internalType: "address";
|
|
940
|
+
readonly name: "";
|
|
941
|
+
readonly type: "address";
|
|
942
|
+
}, {
|
|
943
|
+
readonly internalType: "uint256";
|
|
944
|
+
readonly name: "";
|
|
945
|
+
readonly type: "uint256";
|
|
946
|
+
}, {
|
|
947
|
+
readonly internalType: "uint256";
|
|
948
|
+
readonly name: "";
|
|
949
|
+
readonly type: "uint256";
|
|
950
|
+
}];
|
|
951
|
+
readonly name: "pairTraders";
|
|
952
|
+
readonly outputs: readonly [{
|
|
953
|
+
readonly internalType: "address";
|
|
954
|
+
readonly name: "";
|
|
955
|
+
readonly type: "address";
|
|
956
|
+
}];
|
|
957
|
+
readonly stateMutability: "view";
|
|
958
|
+
readonly type: "function";
|
|
959
|
+
}, {
|
|
960
|
+
readonly inputs: readonly [{
|
|
961
|
+
readonly internalType: "address";
|
|
962
|
+
readonly name: "_asset";
|
|
963
|
+
readonly type: "address";
|
|
964
|
+
}, {
|
|
965
|
+
readonly internalType: "uint256";
|
|
966
|
+
readonly name: "_pairIndex";
|
|
967
|
+
readonly type: "uint256";
|
|
968
|
+
}];
|
|
969
|
+
readonly name: "pairTradersArray";
|
|
970
|
+
readonly outputs: readonly [{
|
|
971
|
+
readonly internalType: "address[]";
|
|
972
|
+
readonly name: "";
|
|
973
|
+
readonly type: "address[]";
|
|
974
|
+
}];
|
|
975
|
+
readonly stateMutability: "view";
|
|
976
|
+
readonly type: "function";
|
|
977
|
+
}, {
|
|
978
|
+
readonly inputs: readonly [{
|
|
979
|
+
readonly internalType: "address";
|
|
980
|
+
readonly name: "";
|
|
981
|
+
readonly type: "address";
|
|
982
|
+
}, {
|
|
983
|
+
readonly internalType: "address";
|
|
984
|
+
readonly name: "";
|
|
985
|
+
readonly type: "address";
|
|
986
|
+
}, {
|
|
987
|
+
readonly internalType: "uint256";
|
|
988
|
+
readonly name: "";
|
|
989
|
+
readonly type: "uint256";
|
|
990
|
+
}];
|
|
991
|
+
readonly name: "pairTradersInfo";
|
|
992
|
+
readonly outputs: readonly [{
|
|
993
|
+
readonly internalType: "uint32";
|
|
994
|
+
readonly name: "positionsCounter";
|
|
995
|
+
readonly type: "uint32";
|
|
996
|
+
}, {
|
|
997
|
+
readonly internalType: "uint32";
|
|
998
|
+
readonly name: "positionInArray";
|
|
999
|
+
readonly type: "uint32";
|
|
1000
|
+
}];
|
|
1001
|
+
readonly stateMutability: "view";
|
|
1002
|
+
readonly type: "function";
|
|
1003
|
+
}, {
|
|
1004
|
+
readonly inputs: readonly [{
|
|
1005
|
+
readonly internalType: "uint256";
|
|
1006
|
+
readonly name: "";
|
|
1007
|
+
readonly type: "uint256";
|
|
1008
|
+
}];
|
|
1009
|
+
readonly name: "pausedPairs";
|
|
1010
|
+
readonly outputs: readonly [{
|
|
1011
|
+
readonly internalType: "bool";
|
|
1012
|
+
readonly name: "";
|
|
1013
|
+
readonly type: "bool";
|
|
1014
|
+
}];
|
|
1015
|
+
readonly stateMutability: "view";
|
|
1016
|
+
readonly type: "function";
|
|
1017
|
+
}, {
|
|
1018
|
+
readonly inputs: readonly [];
|
|
1019
|
+
readonly name: "pendingAdmin";
|
|
1020
|
+
readonly outputs: readonly [{
|
|
1021
|
+
readonly internalType: "address";
|
|
1022
|
+
readonly name: "";
|
|
1023
|
+
readonly type: "address";
|
|
1024
|
+
}];
|
|
1025
|
+
readonly stateMutability: "view";
|
|
1026
|
+
readonly type: "function";
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly inputs: readonly [];
|
|
1029
|
+
readonly name: "pendingImplementation";
|
|
1030
|
+
readonly outputs: readonly [{
|
|
1031
|
+
readonly internalType: "address";
|
|
1032
|
+
readonly name: "";
|
|
1033
|
+
readonly type: "address";
|
|
1034
|
+
}];
|
|
1035
|
+
readonly stateMutability: "view";
|
|
1036
|
+
readonly type: "function";
|
|
1037
|
+
}, {
|
|
1038
|
+
readonly inputs: readonly [{
|
|
1039
|
+
readonly internalType: "address";
|
|
1040
|
+
readonly name: "";
|
|
1041
|
+
readonly type: "address";
|
|
1042
|
+
}];
|
|
1043
|
+
readonly name: "poolAccountantForAsset";
|
|
1044
|
+
readonly outputs: readonly [{
|
|
1045
|
+
readonly internalType: "address";
|
|
1046
|
+
readonly name: "";
|
|
1047
|
+
readonly type: "address";
|
|
1048
|
+
}];
|
|
1049
|
+
readonly stateMutability: "view";
|
|
1050
|
+
readonly type: "function";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly inputs: readonly [{
|
|
1053
|
+
readonly internalType: "bytes32";
|
|
1054
|
+
readonly name: "";
|
|
1055
|
+
readonly type: "bytes32";
|
|
1056
|
+
}];
|
|
1057
|
+
readonly name: "positionIdentifiersById";
|
|
1058
|
+
readonly outputs: readonly [{
|
|
1059
|
+
readonly internalType: "address";
|
|
1060
|
+
readonly name: "settlementAsset";
|
|
1061
|
+
readonly type: "address";
|
|
1062
|
+
}, {
|
|
1063
|
+
readonly internalType: "uint16";
|
|
1064
|
+
readonly name: "pairId";
|
|
1065
|
+
readonly type: "uint16";
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly internalType: "uint32";
|
|
1068
|
+
readonly name: "index";
|
|
1069
|
+
readonly type: "uint32";
|
|
1070
|
+
}, {
|
|
1071
|
+
readonly internalType: "address";
|
|
1072
|
+
readonly name: "trader";
|
|
1073
|
+
readonly type: "address";
|
|
1074
|
+
}];
|
|
1075
|
+
readonly stateMutability: "view";
|
|
1076
|
+
readonly type: "function";
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly inputs: readonly [{
|
|
1079
|
+
readonly internalType: "bytes32";
|
|
1080
|
+
readonly name: "";
|
|
1081
|
+
readonly type: "bytes32";
|
|
1082
|
+
}];
|
|
1083
|
+
readonly name: "positionLimitsInfoById";
|
|
1084
|
+
readonly outputs: readonly [{
|
|
1085
|
+
readonly internalType: "uint64";
|
|
1086
|
+
readonly name: "tpLastUpdated";
|
|
1087
|
+
readonly type: "uint64";
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly internalType: "uint64";
|
|
1090
|
+
readonly name: "slLastUpdated";
|
|
1091
|
+
readonly type: "uint64";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly internalType: "uint64";
|
|
1094
|
+
readonly name: "tp";
|
|
1095
|
+
readonly type: "uint64";
|
|
1096
|
+
}, {
|
|
1097
|
+
readonly internalType: "uint64";
|
|
1098
|
+
readonly name: "sl";
|
|
1099
|
+
readonly type: "uint64";
|
|
1100
|
+
}];
|
|
1101
|
+
readonly stateMutability: "view";
|
|
1102
|
+
readonly type: "function";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly inputs: readonly [{
|
|
1105
|
+
readonly internalType: "bytes32";
|
|
1106
|
+
readonly name: "";
|
|
1107
|
+
readonly type: "bytes32";
|
|
1108
|
+
}];
|
|
1109
|
+
readonly name: "positionsById";
|
|
1110
|
+
readonly outputs: readonly [{
|
|
1111
|
+
readonly internalType: "uint256";
|
|
1112
|
+
readonly name: "collateral";
|
|
1113
|
+
readonly type: "uint256";
|
|
1114
|
+
}, {
|
|
1115
|
+
readonly internalType: "enum TradingEnumsV1.PositionPhase";
|
|
1116
|
+
readonly name: "phase";
|
|
1117
|
+
readonly type: "uint8";
|
|
1118
|
+
}, {
|
|
1119
|
+
readonly internalType: "uint64";
|
|
1120
|
+
readonly name: "inPhaseSince";
|
|
1121
|
+
readonly type: "uint64";
|
|
1122
|
+
}, {
|
|
1123
|
+
readonly internalType: "uint32";
|
|
1124
|
+
readonly name: "leverage";
|
|
1125
|
+
readonly type: "uint32";
|
|
1126
|
+
}, {
|
|
1127
|
+
readonly internalType: "bool";
|
|
1128
|
+
readonly name: "long";
|
|
1129
|
+
readonly type: "bool";
|
|
1130
|
+
}, {
|
|
1131
|
+
readonly internalType: "uint64";
|
|
1132
|
+
readonly name: "openPrice";
|
|
1133
|
+
readonly type: "uint64";
|
|
1134
|
+
}, {
|
|
1135
|
+
readonly internalType: "uint32";
|
|
1136
|
+
readonly name: "spreadReductionF";
|
|
1137
|
+
readonly type: "uint32";
|
|
1138
|
+
}];
|
|
1139
|
+
readonly stateMutability: "view";
|
|
1140
|
+
readonly type: "function";
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly inputs: readonly [];
|
|
1143
|
+
readonly name: "registry";
|
|
1144
|
+
readonly outputs: readonly [{
|
|
1145
|
+
readonly internalType: "address";
|
|
1146
|
+
readonly name: "";
|
|
1147
|
+
readonly type: "address";
|
|
1148
|
+
}];
|
|
1149
|
+
readonly stateMutability: "view";
|
|
1150
|
+
readonly type: "function";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly inputs: readonly [{
|
|
1153
|
+
readonly internalType: "bytes32";
|
|
1154
|
+
readonly name: "_positionId";
|
|
1155
|
+
readonly type: "bytes32";
|
|
1156
|
+
}, {
|
|
1157
|
+
readonly internalType: "uint64";
|
|
1158
|
+
readonly name: "_minPrice";
|
|
1159
|
+
readonly type: "uint64";
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly internalType: "uint64";
|
|
1162
|
+
readonly name: "_maxPrice";
|
|
1163
|
+
readonly type: "uint64";
|
|
1164
|
+
}];
|
|
1165
|
+
readonly name: "setOpenedPositionToMarketClose";
|
|
1166
|
+
readonly outputs: readonly [];
|
|
1167
|
+
readonly stateMutability: "nonpayable";
|
|
1168
|
+
readonly type: "function";
|
|
1169
|
+
}, {
|
|
1170
|
+
readonly inputs: readonly [{
|
|
1171
|
+
readonly internalType: "uint256";
|
|
1172
|
+
readonly name: "_pairId";
|
|
1173
|
+
readonly type: "uint256";
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly internalType: "bool";
|
|
1176
|
+
readonly name: "_isPaused";
|
|
1177
|
+
readonly type: "bool";
|
|
1178
|
+
}];
|
|
1179
|
+
readonly name: "setPairPaused";
|
|
1180
|
+
readonly outputs: readonly [];
|
|
1181
|
+
readonly stateMutability: "nonpayable";
|
|
1182
|
+
readonly type: "function";
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly inputs: readonly [{
|
|
1185
|
+
readonly internalType: "enum TradingFloorStructsV1.AdminNumericParam";
|
|
1186
|
+
readonly name: "numericParam";
|
|
1187
|
+
readonly type: "uint8";
|
|
1188
|
+
}, {
|
|
1189
|
+
readonly internalType: "uint256";
|
|
1190
|
+
readonly name: "value";
|
|
1191
|
+
readonly type: "uint256";
|
|
1192
|
+
}];
|
|
1193
|
+
readonly name: "setTradeParam";
|
|
1194
|
+
readonly outputs: readonly [];
|
|
1195
|
+
readonly stateMutability: "nonpayable";
|
|
1196
|
+
readonly type: "function";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly inputs: readonly [{
|
|
1199
|
+
readonly internalType: "enum TradingEnumsV1.OpenOrderType";
|
|
1200
|
+
readonly name: "_orderType";
|
|
1201
|
+
readonly type: "uint8";
|
|
1202
|
+
}, {
|
|
1203
|
+
readonly components: readonly [{
|
|
1204
|
+
readonly internalType: "address";
|
|
1205
|
+
readonly name: "trader";
|
|
1206
|
+
readonly type: "address";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly internalType: "uint16";
|
|
1209
|
+
readonly name: "pairId";
|
|
1210
|
+
readonly type: "uint16";
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly internalType: "address";
|
|
1213
|
+
readonly name: "settlementAsset";
|
|
1214
|
+
readonly type: "address";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly internalType: "uint32";
|
|
1217
|
+
readonly name: "positionIndex";
|
|
1218
|
+
readonly type: "uint32";
|
|
1219
|
+
}];
|
|
1220
|
+
readonly internalType: "struct TradingFloorStructsV1.PositionRequestIdentifiers";
|
|
1221
|
+
readonly name: "_requestIdentifiers";
|
|
1222
|
+
readonly type: "tuple";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly components: readonly [{
|
|
1225
|
+
readonly internalType: "bool";
|
|
1226
|
+
readonly name: "long";
|
|
1227
|
+
readonly type: "bool";
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly internalType: "uint256";
|
|
1230
|
+
readonly name: "collateral";
|
|
1231
|
+
readonly type: "uint256";
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly internalType: "uint32";
|
|
1234
|
+
readonly name: "leverage";
|
|
1235
|
+
readonly type: "uint32";
|
|
1236
|
+
}, {
|
|
1237
|
+
readonly internalType: "uint64";
|
|
1238
|
+
readonly name: "minPrice";
|
|
1239
|
+
readonly type: "uint64";
|
|
1240
|
+
}, {
|
|
1241
|
+
readonly internalType: "uint64";
|
|
1242
|
+
readonly name: "maxPrice";
|
|
1243
|
+
readonly type: "uint64";
|
|
1244
|
+
}, {
|
|
1245
|
+
readonly internalType: "uint64";
|
|
1246
|
+
readonly name: "tp";
|
|
1247
|
+
readonly type: "uint64";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly internalType: "uint64";
|
|
1250
|
+
readonly name: "sl";
|
|
1251
|
+
readonly type: "uint64";
|
|
1252
|
+
}, {
|
|
1253
|
+
readonly internalType: "uint64";
|
|
1254
|
+
readonly name: "tpByFraction";
|
|
1255
|
+
readonly type: "uint64";
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly internalType: "uint64";
|
|
1258
|
+
readonly name: "slByFraction";
|
|
1259
|
+
readonly type: "uint64";
|
|
1260
|
+
}];
|
|
1261
|
+
readonly internalType: "struct TradingFloorStructsV1.PositionRequestParams";
|
|
1262
|
+
readonly name: "_requestParams";
|
|
1263
|
+
readonly type: "tuple";
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly internalType: "uint32";
|
|
1266
|
+
readonly name: "_spreadReductionF";
|
|
1267
|
+
readonly type: "uint32";
|
|
1268
|
+
}];
|
|
1269
|
+
readonly name: "storePendingPosition";
|
|
1270
|
+
readonly outputs: readonly [{
|
|
1271
|
+
readonly internalType: "bytes32";
|
|
1272
|
+
readonly name: "positionId";
|
|
1273
|
+
readonly type: "bytes32";
|
|
1274
|
+
}];
|
|
1275
|
+
readonly stateMutability: "nonpayable";
|
|
1276
|
+
readonly type: "function";
|
|
1277
|
+
}, {
|
|
1278
|
+
readonly inputs: readonly [{
|
|
1279
|
+
readonly internalType: "address";
|
|
1280
|
+
readonly name: "_asset";
|
|
1281
|
+
readonly type: "address";
|
|
1282
|
+
}, {
|
|
1283
|
+
readonly internalType: "address";
|
|
1284
|
+
readonly name: "_lexPool";
|
|
1285
|
+
readonly type: "address";
|
|
1286
|
+
}, {
|
|
1287
|
+
readonly internalType: "address";
|
|
1288
|
+
readonly name: "_poolAccountant";
|
|
1289
|
+
readonly type: "address";
|
|
1290
|
+
}];
|
|
1291
|
+
readonly name: "supportNewSettlementAsset";
|
|
1292
|
+
readonly outputs: readonly [];
|
|
1293
|
+
readonly stateMutability: "nonpayable";
|
|
1294
|
+
readonly type: "function";
|
|
1295
|
+
}, {
|
|
1296
|
+
readonly inputs: readonly [{
|
|
1297
|
+
readonly internalType: "bytes32";
|
|
1298
|
+
readonly name: "";
|
|
1299
|
+
readonly type: "bytes32";
|
|
1300
|
+
}];
|
|
1301
|
+
readonly name: "triggerPricesById";
|
|
1302
|
+
readonly outputs: readonly [{
|
|
1303
|
+
readonly internalType: "uint64";
|
|
1304
|
+
readonly name: "minPrice";
|
|
1305
|
+
readonly type: "uint64";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly internalType: "uint64";
|
|
1308
|
+
readonly name: "maxPrice";
|
|
1309
|
+
readonly type: "uint64";
|
|
1310
|
+
}, {
|
|
1311
|
+
readonly internalType: "uint64";
|
|
1312
|
+
readonly name: "tpByFraction";
|
|
1313
|
+
readonly type: "uint64";
|
|
1314
|
+
}, {
|
|
1315
|
+
readonly internalType: "uint64";
|
|
1316
|
+
readonly name: "slByFraction";
|
|
1317
|
+
readonly type: "uint64";
|
|
1318
|
+
}];
|
|
1319
|
+
readonly stateMutability: "view";
|
|
1320
|
+
readonly type: "function";
|
|
1321
|
+
}, {
|
|
1322
|
+
readonly inputs: readonly [{
|
|
1323
|
+
readonly internalType: "bytes32";
|
|
1324
|
+
readonly name: "positionId";
|
|
1325
|
+
readonly type: "bytes32";
|
|
1326
|
+
}, {
|
|
1327
|
+
readonly internalType: "enum TradingEnumsV1.PositionField";
|
|
1328
|
+
readonly name: "updateField";
|
|
1329
|
+
readonly type: "uint8";
|
|
1330
|
+
}, {
|
|
1331
|
+
readonly internalType: "uint64";
|
|
1332
|
+
readonly name: "fieldValue";
|
|
1333
|
+
readonly type: "uint64";
|
|
1334
|
+
}, {
|
|
1335
|
+
readonly internalType: "uint64";
|
|
1336
|
+
readonly name: "effectivePrice";
|
|
1337
|
+
readonly type: "uint64";
|
|
1338
|
+
}];
|
|
1339
|
+
readonly name: "updateOpenedPosition";
|
|
1340
|
+
readonly outputs: readonly [];
|
|
1341
|
+
readonly stateMutability: "nonpayable";
|
|
1342
|
+
readonly type: "function";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly inputs: readonly [{
|
|
1345
|
+
readonly internalType: "bytes32";
|
|
1346
|
+
readonly name: "_positionId";
|
|
1347
|
+
readonly type: "bytes32";
|
|
1348
|
+
}, {
|
|
1349
|
+
readonly internalType: "uint64";
|
|
1350
|
+
readonly name: "_minPrice";
|
|
1351
|
+
readonly type: "uint64";
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly internalType: "uint64";
|
|
1354
|
+
readonly name: "_maxPrice";
|
|
1355
|
+
readonly type: "uint64";
|
|
1356
|
+
}, {
|
|
1357
|
+
readonly internalType: "uint64";
|
|
1358
|
+
readonly name: "_tp";
|
|
1359
|
+
readonly type: "uint64";
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly internalType: "uint64";
|
|
1362
|
+
readonly name: "_sl";
|
|
1363
|
+
readonly type: "uint64";
|
|
1364
|
+
}];
|
|
1365
|
+
readonly name: "updatePendingPosition_openLimit";
|
|
1366
|
+
readonly outputs: readonly [];
|
|
1367
|
+
readonly stateMutability: "nonpayable";
|
|
1368
|
+
readonly type: "function";
|
|
1369
|
+
}];
|
|
1370
|
+
static createInterface(): TradingFloorV1Interface;
|
|
1371
|
+
static connect(address: string, runner?: ContractRunner | null): TradingFloorV1;
|
|
1372
|
+
}
|
|
1373
|
+
export {};
|
|
1374
|
+
//# sourceMappingURL=TradingFloorV1__factory.d.ts.map
|