lynx-client 0.0.1-beta.9 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +392 -3
- package/dist/cjs/index.js +8 -0
- package/dist/cjs/lib/chains/chainMappings.js +17 -0
- package/dist/cjs/lib/constants/contractEnums.js +1 -0
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +15 -0
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +42 -0
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/index.js +18 -0
- package/dist/cjs/lib/contractsIntegration/LexLensService/ILexLensService.js +137 -0
- package/dist/cjs/lib/contractsIntegration/LexLensService/LexLensService.js +250 -0
- package/dist/cjs/lib/contractsIntegration/LexLensService/index.js +18 -0
- package/dist/cjs/lib/contractsIntegration/OrderBookService/IOrderBookService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +92 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/ITradersPortalService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +157 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +64 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/index.js +19 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +61 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +147 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/index.js +18 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/ITradingFloorService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +158 -0
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +30 -0
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +58 -0
- package/dist/cjs/lib/contractsIntegration/TriggersAndPortalLensService/index.js +18 -0
- package/dist/cjs/lib/contractsIntegration/TriggersService/ITriggersService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +188 -0
- package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +119 -8
- package/dist/cjs/lib/devex/getChainAddresses.js +65 -0
- package/dist/cjs/lib/devex/getSupportedEngineChains.js +45 -0
- package/dist/cjs/lib/devex/index.js +9 -0
- package/dist/cjs/lib/devex/types.js +2 -0
- package/dist/cjs/lib/lynxSystem/hashes.js +9 -0
- package/dist/cjs/lib/lynxSystem/lynxScalesUtils.js +8 -0
- package/dist/cjs/lib/lynxSystem/registry/registryReading.js +38 -0
- package/dist/cjs/lib/priceFeeds/pyth/pythFeedConstants.js +1 -2
- package/dist/cjs/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Registry/RegistryProxy.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Registry/RegistryV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Triggers/TriggersV1.js +2 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.js +258 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +539 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.js +226 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1108 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +966 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.js +258 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1774 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1459 -0
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/cjs/lib/utils/ethersTypes.js +29 -6
- package/dist/esm/index.d.ts +7 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +8 -0
- package/dist/esm/lib/chains/chainMappings.d.ts +13 -0
- package/dist/esm/lib/chains/chainMappings.d.ts.map +1 -0
- package/dist/esm/lib/chains/chainMappings.js +17 -0
- package/dist/esm/lib/chains/chainTypes.d.ts +3 -0
- package/dist/esm/lib/chains/chainTypes.d.ts.map +1 -1
- package/dist/esm/lib/constants/contractEnums.d.ts.map +1 -1
- package/dist/esm/lib/constants/contractEnums.js +1 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +20 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +15 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +11 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +42 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/index.js +18 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +85 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/ILexLensService.js +137 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts +34 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/LexLensService.js +250 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LexLensService/index.js +18 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +40 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.js +2 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +12 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +92 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +61 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.js +2 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +14 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +157 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +32 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +64 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/index.js +19 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +76 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +61 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +16 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +147 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/index.js +18 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +83 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.js +2 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +80 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +158 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +33 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.js +30 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +11 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.js +58 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersAndPortalLensService/index.js +18 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +73 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.js +2 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts +18 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +188 -0
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +44 -5
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +119 -8
- package/dist/esm/lib/devex/getChainAddresses.d.ts +20 -0
- package/dist/esm/lib/devex/getChainAddresses.d.ts.map +1 -0
- package/dist/esm/lib/devex/getChainAddresses.js +65 -0
- package/dist/esm/lib/devex/getSupportedEngineChains.d.ts +37 -0
- package/dist/esm/lib/devex/getSupportedEngineChains.d.ts.map +1 -0
- package/dist/esm/lib/devex/getSupportedEngineChains.js +45 -0
- package/dist/esm/lib/devex/index.d.ts +5 -0
- package/dist/esm/lib/devex/index.d.ts.map +1 -0
- package/dist/esm/lib/devex/index.js +9 -0
- package/dist/esm/lib/devex/types.d.ts +20 -0
- package/dist/esm/lib/devex/types.d.ts.map +1 -0
- package/dist/esm/lib/devex/types.js +2 -0
- package/dist/esm/lib/lynxSystem/hashes.d.ts +6 -0
- package/dist/esm/lib/lynxSystem/hashes.d.ts.map +1 -1
- package/dist/esm/lib/lynxSystem/hashes.js +9 -0
- package/dist/esm/lib/lynxSystem/lynxScalesUtils.d.ts +2 -0
- package/dist/esm/lib/lynxSystem/lynxScalesUtils.d.ts.map +1 -1
- package/dist/esm/lib/lynxSystem/lynxScalesUtils.js +8 -0
- package/dist/esm/lib/lynxSystem/registry/registryReading.d.ts +9 -0
- package/dist/esm/lib/lynxSystem/registry/registryReading.d.ts.map +1 -0
- package/dist/esm/lib/lynxSystem/registry/registryReading.js +38 -0
- package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
- package/dist/esm/lib/priceFeeds/pyth/pythFeedConstants.js +1 -2
- package/dist/esm/lib/typechain/common.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts +151 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts +268 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts +143 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryProxy.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts +603 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Registry/RegistryV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +571 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts +151 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +1160 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +977 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Triggers/TriggersV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +1 -3
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts +193 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.js +258 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +407 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +539 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts +169 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.js +226 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +841 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1108 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +745 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +966 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts +193 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.js +258 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1374 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1774 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1135 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1459 -0
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/esm/lib/utils/ethersTypes.d.ts +2 -2
- package/dist/esm/lib/utils/ethersTypes.d.ts.map +1 -1
- package/dist/esm/lib/utils/ethersTypes.js +29 -6
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/chains/chainMappings.d.ts +13 -0
- package/dist/types/lib/chains/chainMappings.d.ts.map +1 -0
- package/dist/types/lib/chains/chainTypes.d.ts +3 -0
- package/dist/types/lib/chains/chainTypes.d.ts.map +1 -1
- package/dist/types/lib/constants/contractEnums.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +20 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +11 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts +85 -0
- package/dist/types/lib/contractsIntegration/LexLensService/ILexLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts +34 -0
- package/dist/types/lib/contractsIntegration/LexLensService/LexLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LexLensService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/LexLensService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +40 -0
- package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +12 -0
- package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +61 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +14 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +32 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +76 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +16 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +83 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +80 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts +33 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/ITriggersAndPortalLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts +11 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/TriggersAndPortalLensService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/TriggersAndPortalLensService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +73 -0
- package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts +18 -0
- package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +44 -5
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/types/lib/devex/getChainAddresses.d.ts +20 -0
- package/dist/types/lib/devex/getChainAddresses.d.ts.map +1 -0
- package/dist/types/lib/devex/getSupportedEngineChains.d.ts +37 -0
- package/dist/types/lib/devex/getSupportedEngineChains.d.ts.map +1 -0
- package/dist/types/lib/devex/index.d.ts +5 -0
- package/dist/types/lib/devex/index.d.ts.map +1 -0
- package/dist/types/lib/devex/types.d.ts +20 -0
- package/dist/types/lib/devex/types.d.ts.map +1 -0
- package/dist/types/lib/lynxSystem/hashes.d.ts +6 -0
- package/dist/types/lib/lynxSystem/hashes.d.ts.map +1 -1
- package/dist/types/lib/lynxSystem/lynxScalesUtils.d.ts +2 -0
- package/dist/types/lib/lynxSystem/lynxScalesUtils.d.ts.map +1 -1
- package/dist/types/lib/lynxSystem/registry/registryReading.d.ts +9 -0
- package/dist/types/lib/lynxSystem/registry/registryReading.d.ts.map +1 -0
- package/dist/types/lib/priceFeeds/pyth/pythFeedConstants.d.ts.map +1 -1
- package/dist/types/lib/typechain/common.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts +151 -0
- package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts +268 -0
- package/dist/types/lib/typechain/contracts/Lynx/OrderBook/OrderBookV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts +143 -0
- package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryProxy.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts +603 -0
- package/dist/types/lib/typechain/contracts/Lynx/Registry/RegistryV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +571 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts +151 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +1160 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts +977 -0
- package/dist/types/lib/typechain/contracts/Lynx/Triggers/TriggersV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +1 -3
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts +193 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookProxy__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +407 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts +169 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryProxy__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +841 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +745 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts +193 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorProxy__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1374 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1135 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/types/lib/utils/ethersTypes.d.ts +2 -2
- package/dist/types/lib/utils/ethersTypes.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,1135 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../common";
|
|
4
|
+
import type { TriggersV1, TriggersV1Interface } from "../../../../contracts/Lynx/Triggers/TriggersV1";
|
|
5
|
+
type TriggersV1ConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class TriggersV1__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: TriggersV1ConstructorParams);
|
|
8
|
+
getDeployTransaction(_tradingFloor: AddressLike, overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(_tradingFloor: AddressLike, overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<TriggersV1 & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): TriggersV1__factory;
|
|
17
|
+
static readonly bytecode = "0x6101206040526003600755603c600855603c600955603c600a5560b4600b55610708600c556103e8620186a0600162000039919062000291565b620000459190620002bd565b600d556103e86200005b620186a0600262000291565b620000679190620002bd565b600e556003600f553480156200007c57600080fd5b5060405162004ee838038062004ee88339810160408190526200009f91620002f9565b806001600160a01b0316637b1039996040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000de573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001049190620002f9565b606462000116620186a0600162000291565b620001229190620002bd565b606462000134620186a0600a62000291565b620001409190620002bd565b600080546001600160a01b0319163317905560805260a0526001600160a01b0390811660c0528116620001a85760405162461bcd60e51b815260206004820152600c60248201526b57524f4e475f504152414d5360a01b604482015260640160405180910390fd5b6001600160a01b03811660e081905260408051637b10399960e01b81529051637b103999916004808201926020929091908290030181865afa158015620001f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002199190620002f9565b6001600160a01b031663776af5ba6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200027d9190620002f9565b6001600160a01b0316610100525062000320565b8082028115828204841417620002b757634e487b7160e01b600052601160045260246000fd5b92915050565b600082620002db57634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b0381168114620002f657600080fd5b50565b6000602082840312156200030c57600080fd5b81516200031981620002e0565b9392505050565b60805160a05160c05160e05161010051614ab8620004306000396000818161076001528181610fc201528181611bb7015281816127100152612dd801526000818161039801528181610b3401528181610cd301528181611198015281816112f00152818161141b015281816115c901528181611817015281816118b1015281816119e101528181611ca201528181611e1001528181611eaa01528181611fd701528181612158015281816123080152818161242d01528181612508015281816127fb01528181612b4701528181612c9e01528181612ecd015261397d015260008181613339015261366101526000818161051501526136bc01526000818161098d0152613c460152614ab86000f3fe6080604052600436106103815760003560e01c8063776af5ba116101d1578063ad1f2b5611610102578063c4ae3168116100a0578063e9c714f21161006f578063e9c714f214610a37578063f851a44014610a4c578063fae5a83f14610a6c578063fd057e9414610a8c57600080fd5b8063c4ae3168146109cf578063d99dc0c1146109e4578063e231377014610a04578063e8051b0114610a2457600080fd5b8063b71f3cfe116100dc578063b71f3cfe14610943578063b81bfa051461095b578063b88750a91461097b578063bfc084d9146109af57600080fd5b8063ad1f2b56146108f4578063b187bd2614610909578063b71d1a0c1461092357600080fd5b80639abf17821161016f578063a5b6020811610149578063a5b602081461088f578063a5e02c8d146108a5578063a9f7c521146108c5578063aaf5eb68146108d857600080fd5b80639abf17821461081c5780639f918f451461083c578063a1d627a11461086f57600080fd5b806380193b26116101ab57806380193b26146107ae57806381405205146107c557806386c7f19a146107db5780638f062227146107fd57600080fd5b8063776af5ba1461074e5780637f31c2db146107825780637f588b911461079857600080fd5b8063392503e0116102b65780634cdb06a5116102545780636c1bb5ca116102235780636c1bb5ca146106e8578063718ddc14146107085780637670d9481461071b578063771ad70d1461073b57600080fd5b80634cdb06a51461065a5780634d3691511461067a5780635d2cdfea1461068d5780636447dc8b146106d557600080fd5b8063410c0b7c11610290578063410c0b7c146105fb57806345b6171314610611578063490580e3146106275780634bdf19731461064757600080fd5b8063392503e0146105bd5780633b321666146105d35780633be3d626146105e657600080fd5b806326b4120a1161032357806333a01d32116102fd57806333a01d321461050357806336930d0b1461053757806336b669f714610557578063382672571461059d57600080fd5b806326b4120a146104935780632f86d7c2146104b357806333511e5e146104d357600080fd5b8063221407af1161035f578063221407af1461042857806322ede93c1461043d57806325577e9f14610453578063267822471461047357600080fd5b80630d3b0b761461038657806310b4cc13146103d757806320cb5976146103fb575b600080fd5b34801561039257600080fd5b506103ba7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156103e357600080fd5b506103ed600d5481565b6040519081526020016103ce565b34801561040757600080fd5b506103ed610416366004614157565b60106020526000908152604090205481565b61043b6104363660046141bb565b610aac565b005b34801561044957600080fd5b506103ed600e5481565b34801561045f57600080fd5b5061043b61046e366004614218565b610db3565b34801561047f57600080fd5b506001546103ba906001600160a01b031681565b34801561049f57600080fd5b5061043b6104ae366004614157565b610deb565b3480156104bf57600080fd5b5061043b6104ce366004614157565b610e82565b3480156104df57600080fd5b506104f36104ee366004614248565b610f1e565b60405190151581526020016103ce565b34801561050f57600080fd5b506103ed7f000000000000000000000000000000000000000000000000000000000000000081565b34801561054357600080fd5b5061043b610552366004614157565b610f31565b61056a6105653660046141bb565b6110e8565b60408051825181526020808401516001600160401b039081169183019190915292820151909216908201526060016103ce565b3480156105a957600080fd5b5061043b6105b8366004614157565b611119565b3480156105c957600080fd5b506103ed600c5481565b61043b6105e13660046141bb565b611399565b3480156105f257600080fd5b5061043b6116a7565b34801561060757600080fd5b506103ed600a5481565b34801561061d57600080fd5b506103ed60075481565b34801561063357600080fd5b5061043b610642366004614157565b611733565b61043b6106553660046141bb565b611786565b34801561066657600080fd5b5061043b610675366004614157565b611abd565b61043b6106883660046141bb565b611b26565b34801561069957600080fd5b506106c06106a8366004614157565b60056020526000908152604090205463ffffffff1681565b60405163ffffffff90911681526020016103ce565b61043b6106e33660046141bb565b611d7f565b3480156106f457600080fd5b5061043b610703366004614218565b6120a2565b61043b6107163660046141bb565b6120d6565b34801561072757600080fd5b5061043b610736366004614157565b61233f565b61043b6107493660046141bb565b61239c565b34801561075a57600080fd5b506103ba7f000000000000000000000000000000000000000000000000000000000000000081565b34801561078e57600080fd5b506103ed60085481565b3480156107a457600080fd5b506103ed60095481565b3480156107ba57600080fd5b506103ed620186a081565b3480156107d157600080fd5b506103ed600f5481565b3480156107e757600080fd5b506107f06125de565b6040516103ce9190614271565b34801561080957600080fd5b506011546104f390610100900460ff1681565b34801561082857600080fd5b5061043b610837366004614157565b6125ef565b34801561084857600080fd5b506106c0610857366004614157565b60046020526000908152604090205463ffffffff1681565b34801561087b57600080fd5b506006546103ba906001600160a01b031681565b34801561089b57600080fd5b506103ed600b5481565b3480156108b157600080fd5b5061043b6108c0366004614248565b61264c565b61043b6108d33660046141bb565b61267f565b3480156108e457600080fd5b506103ed670de0b6b3a764000081565b34801561090057600080fd5b506103ed606481565b34801561091557600080fd5b506011546104f39060ff1681565b34801561092f57600080fd5b5061043b61093e366004614248565b6128cb565b34801561094f57600080fd5b506103ed633b9aca0081565b34801561096757600080fd5b5061043b610976366004614157565b612973565b34801561098757600080fd5b506103ed7f000000000000000000000000000000000000000000000000000000000000000081565b3480156109bb57600080fd5b5061043b6109ca366004614157565b6129c6565b3480156109db57600080fd5b5061043b612a23565b3480156109f057600080fd5b5061043b6109ff366004614248565b612a95565b348015610a1057600080fd5b5061043b610a1f366004614157565b612ac8565b61043b610a323660046141bb565b612d47565b348015610a4357600080fd5b5061043b61303e565b348015610a5857600080fd5b506000546103ba906001600160a01b031681565b348015610a7857600080fd5b5061043b610a87366004614248565b61315c565b348015610a9857600080fd5b5061043b610aa7366004614157565b61329b565b601154610100900460ff1615610add5760405162461bcd60e51b8152600401610ad4906142b2565b60405180910390fd5b60115460ff1615610b005760405162461bcd60e51b8152600401610ad4906142d0565b610b0933610f1e565b610b255760405162461bcd60e51b8152600401610ad4906142f0565b610b2d613337565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166395be5050876040518263ffffffff1660e01b8152600401610b8091815260200190565b60a060405180830381865afa158015610b9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc1919061434c565b505092506001600160401b03169250925060008211610c1c5760405162461bcd60e51b81526020600482015260176024820152762727afa822a72224a723afa6a0a925a2aa2fa7a92222a960491b6044820152606401610ad4565b6004836005811115610c3057610c306143c4565b14610c705760405162461bcd60e51b815260206004820152601060248201526f1393d517d0d313d4d157d3505492d15560821b6044820152606401610ad4565b6000610c828261ffff163488886133ac565b9050610c928382600001516134bb565b602081015180610ca06135e7565b602083015160405163651d1d4160e11b8152600481018b90526001600160401b03918216602482015290821660448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ca3a3a8290606401600060405180830381600087803b158015610d1f57600080fd5b505af1158015610d33573d6000803e3d6000fd5b50505050856005811115610d4957610d496143c4565b6020848101518551604080516001600160401b038781168252909316938301939093528183015290518b9133917f5b5ec0827d50049e9f15c1d5c28dc87d620987ef82a18f0b98afac1c76076d3d9181900360600190a4505050505050610dae61365f565b505050565b6000546001600160a01b03163314610ddd5760405162461bcd60e51b8152600401610ad4906143da565b610de782826136ba565b5050565b6000546001600160a01b03163314610e155760405162461bcd60e51b8152600401610ad4906143da565b600b8190556040517f6d61726b65744f72646572546967687454696d6552616e67650000000000000081526019015b604051908190038120828252907f8cf3e35f6221b16e1670a3413180c9484bf5aa71787905909fa82a6a2662e9ab906020015b60405180910390a250565b6000546001600160a01b03163314610eac5760405162461bcd60e51b8152600401610ad4906143da565b6008548110610eeb5760405162461bcd60e51b815260206004820152600b60248201526a57524f4e475f56414c554560a81b6044820152606401610ad4565b60078190556040517f6d696e54726967676572506572696f64466f724d61726b65744f7264657273008152601f01610e44565b6000610f2b600283613781565b92915050565b601154610100900460ff1615610f595760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff1615610f7c5760405162461bcd60e51b8152600401610ad4906142d0565b610f8533610f1e565b610fa15760405162461bcd60e51b8152600401610ad4906142f0565b610fa9613337565b60405163c608b6c160e01b8152600481018290526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c608b6c19060240160a0604051808303816000875af1158015611013573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110379190614438565b9050600a5481604001516001600160401b031661105491906144e8565b4210156110735760405162461bcd60e51b8152600401610ad4906144fb565b80602001516003811115611089576110896143c4565b60608201516080830151604080516001600160401b039384168152929091166020830152849133917f7b5b2e57aed6ee99244bd22f2b43e33e9fcbf0d77a9f425d59ee2d74e1c3795d910160405180910390a4506110e561365f565b50565b6040805160608101825260008082526020820181905291810191909152611111843485856133ac565b949350505050565b601154610100900460ff16156111415760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff16156111645760405162461bcd60e51b8152600401610ad4906142d0565b61116d33610f1e565b6111895760405162461bcd60e51b8152600401610ad4906142f0565b611191613337565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166395be5050856040518263ffffffff1660e01b81526004016111e491815260200190565b60a060405180830381865afa158015611201573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611225919061434c565b505092506001600160401b031692509250600082116112565760405162461bcd60e51b8152600401610ad490614521565b600483600581111561126a5761126a6143c4565b146112aa5760405162461bcd60e51b815260206004820152601060248201526f1393d517d0d313d4d157d3505492d15560821b6044820152606401610ad4565b600a546112b790836144e8565b4210156112d65760405162461bcd60e51b8152600401610ad4906144fb565b600d54604051634ebe5c3360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691634ebe5c33916113299188916001919060040161454b565b600060405180830381600087803b15801561134357600080fd5b505af1158015611357573d6000803e3d6000fd5b505060405161ffff8416925086915033907f89a3ecf5024675f1d0abc6dc42608fc41216f103c12c2c84f8ca3938bd055f0390600090a45050506110e561365f565b601154610100900460ff16156113c15760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff16156113e45760405162461bcd60e51b8152600401610ad4906142d0565b6113ed33610f1e565b6114095760405162461bcd60e51b8152600401610ad4906142f0565b611411613337565b60008060008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166395be5050896040518263ffffffff1660e01b815260040161146791815260200190565b60a060405180830381865afa158015611484573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114a8919061434c565b9450945094506001600160401b031694509450600084116115045760405162461bcd60e51b81526020600482015260166024820152752727afa822a72224a723afa624a6a4aa2fa7a92222a960511b6044820152606401610ad4565b6002856005811115611518576115186143c4565b146115565760405162461bcd60e51b815260206004820152600e60248201526d1393d517d3d4115397d31253525560921b6044820152606401610ad4565b60006115688461ffff16348a8a6133ac565b90506115788582600001516137a6565b6020810151600061158f61ffff8716838688613870565b90506115996135e7565b600e54604051631ea9af6b60e01b8152600481018d90526001600160401b038316602482015260448101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690631ea9af6b906064015b600060405180830381600087803b15801561161657600080fd5b505af115801561162a573d6000803e3d6000fd5b50505050876005811115611640576116406143c4565b6020848101518551604080516001600160401b038781168252909316938301939093528183015290518d9133917f60fab6e183a7c350210c0b457db01423b47aa3e72f5b735b8dbb3ecd3e8077439181900360600190a45050505050505050610dae61365f565b6000546001600160a01b031633146116d15760405162461bcd60e51b8152600401610ad4906143da565b6011805460ff610100808304821615810261ff001990931692909217928390556040517f8e47bd62470c6cba4d30c023548622607c9c84402a5655f2569b7934c36a9e4f936117299390049091161515815260200190565b60405180910390a1565b6000546001600160a01b0316331461175d5760405162461bcd60e51b8152600401610ad4906143da565b600f819055604051726d61785472696767657273506572426c6f636b60681b8152601301610e44565b601154610100900460ff16156117ae5760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff16156117d15760405162461bcd60e51b8152600401610ad4906142d0565b6117da33610f1e565b6117f65760405162461bcd60e51b8152600401610ad4906142f0565b6117fe613337565b60405163095be50560e41b8152600481018490526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906395be50509060240160a060405180830381865afa158015611866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061188a919061434c565b50506040516366307a4f60e01b815260048101889052909350600092506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691506366307a4f90602401608060405180830381865afa1580156118f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061191d9190614573565b905060008261ffff16116119435760405162461bcd60e51b8152600401610ad490614521565b600081606001516001600160401b0316116119885760405162461bcd60e51b81526020600482015260056024820152641393d7d4d360da1b6044820152606401610ad4565b60208101516001600160401b031660006119a861ffff85163488886133ac565b90506119b88282600001516137a6565b60208101516119c56135e7565b6020820151604051632029fcf560e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916380a7f3d491611a1c918c916002919087906004016145fd565b600060405180830381600087803b158015611a3657600080fd5b505af1158015611a4a573d6000803e3d6000fd5b5050506020808401518451604080516001600160401b038088168252909316938301939093529181019190915261ffff87169150899033907fb03dbc9368faf0f8588dc8429c40a26ef9a637488f1ea5521a2ba2bfb5ff2016906060015b60405180910390a45050505050610dae61365f565b6000546001600160a01b03163314611ae75760405162461bcd60e51b8152600401610ad4906143da565b600e8190556040517f6f70656e506f736974696f6e43616e63656c6c6174696f6e466565467261637481526234b7b760e91b6020820152602301610e44565b601154610100900460ff1615611b4e5760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff1615611b715760405162461bcd60e51b8152600401610ad4906142d0565b611b7a33610f1e565b611b965760405162461bcd60e51b8152600401610ad4906142f0565b611b9e613337565b60405163c608b6c160e01b8152600481018490526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c608b6c19060240160a0604051808303816000875af1158015611c08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c2c9190614438565b9050600281602001516003811115611c4657611c466143c4565b14611c895760405162461bcd60e51b815260206004820152601360248201527215541110551157d3d491115497d393d517d4d3606a1b6044820152606401610ad4565b60405163095be50560e41b8152600481018590526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906395be50509060240160a060405180830381865afa158015611cf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d15919061434c565b5050925050506000611d2d8261ffff163487876133ac565b9050611d4a83604001516001600160401b031682600001516134bb565b611d526135e7565b600081602001519050611d72338886602001516002886060015186613963565b5050505050610dae61365f565b601154610100900460ff1615611da75760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff1615611dca5760405162461bcd60e51b8152600401610ad4906142d0565b611dd333610f1e565b611def5760405162461bcd60e51b8152600401610ad4906142f0565b611df7613337565b60405163095be50560e41b8152600481018490526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906395be50509060240160a060405180830381865afa158015611e5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e83919061434c565b50506040516366307a4f60e01b815260048101889052909350600092506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691506366307a4f90602401608060405180830381865afa158015611ef2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f169190614573565b905060008261ffff1611611f3c5760405162461bcd60e51b8152600401610ad490614521565b600081604001516001600160401b031611611f815760405162461bcd60e51b815260206004820152600560248201526404e4f5f54560dc1b6044820152606401610ad4565b80516001600160401b03166000611f9e61ffff85163488886133ac565b9050611fae8282600001516137a6565b6020810151611fbb6135e7565b6020820151604051632029fcf560e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916380a7f3d491612012918c916001919087906004016145fd565b600060405180830381600087803b15801561202c57600080fd5b505af1158015612040573d6000803e3d6000fd5b5050506020808401518451604080516001600160401b038088168252909316938301939093529181019190915261ffff87169150899033907fbe700227f721a08f3b755aa3348a63564c2c07890aba73de46372f7bffcaa2e290606001611aa8565b6000546001600160a01b031633146120cc5760405162461bcd60e51b8152600401610ad4906143da565b610de78282613c44565b601154610100900460ff16156120fe5760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff16156121215760405162461bcd60e51b8152600401610ad4906142d0565b61212a33610f1e565b6121465760405162461bcd60e51b8152600401610ad4906142f0565b61214e613337565b60008060008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166395be5050896040518263ffffffff1660e01b81526004016121a491815260200190565b60a060405180830381865afa1580156121c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e5919061434c565b9450945094506001600160401b031694509450600084116122425760405162461bcd60e51b81526020600482015260176024820152762727afa822a72224a723afa6a0a925a2aa2fa7a92222a960491b6044820152606401610ad4565b6001856005811115612256576122566143c4565b146122955760405162461bcd60e51b815260206004820152600f60248201526e1393d517d3d4115397d3505492d155608a1b6044820152606401610ad4565b60006122a78461ffff16348a8a6133ac565b90506122b78582600001516134bb565b602081015160006122ce61ffff8716838688613870565b90506122d86135e7565b600e546040516303ad224560e61b8152600481018d90526001600160401b038316602482015260448101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063eb489140906064016115fc565b6000546001600160a01b031633146123695760405162461bcd60e51b8152600401610ad4906143da565b600c8190556040517f74726967676572507269636546726573686e65737354696d6552616e676500008152601e01610e44565b601154610100900460ff16156123c45760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff16156123e75760405162461bcd60e51b8152600401610ad4906142d0565b6123f033610f1e565b61240c5760405162461bcd60e51b8152600401610ad4906142f0565b612414613337565b60405163095be50560e41b8152600481018490526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906395be50509060240160a060405180830381865afa15801561247c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a0919061434c565b50509250505060008161ffff16116124ca5760405162461bcd60e51b8152600401610ad490614521565b60006124dc8261ffff163486866133ac565b60208101519091506124ec6135e7565b6020820151604051632029fcf560e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916380a7f3d491612543918a916003919087906004016145fd565b600060405180830381600087803b15801561255d57600080fd5b505af1158015612571573d6000803e3d6000fd5b505050506020828101518351604080516001600160401b0386811682529093169383019390935281830152905161ffff851691889133917f086bdd0cdd4ae322dd6112d05bdf96c020e6b90cc84ee2d39941bd716e18fb92919081900360600190a4505050610dae61365f565b60606125ea6002613d11565b905090565b6000546001600160a01b031633146126195760405162461bcd60e51b8152600401610ad4906143da565b600d8190556040517f6d61726b65744f7264657243616e63656c4665654672616374696f6e000000008152601c01610e44565b6000546001600160a01b031633146126765760405162461bcd60e51b8152600401610ad4906143da565b6110e581613d1e565b601154610100900460ff16156126a75760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff16156126ca5760405162461bcd60e51b8152600401610ad4906142d0565b6126d333610f1e565b6126ef5760405162461bcd60e51b8152600401610ad4906142f0565b6126f7613337565b60405163c608b6c160e01b8152600481018490526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c608b6c19060240160a0604051808303816000875af1158015612761573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127859190614438565b905060018160200151600381111561279f5761279f6143c4565b146127e25760405162461bcd60e51b815260206004820152601360248201527205550444154455f4f524445525f4e4f545f545606c1b6044820152606401610ad4565b60405163095be50560e41b8152600481018590526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906395be50509060240160a060405180830381865afa15801561284a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286e919061434c565b50509250505060006128868261ffff163487876133ac565b90506128a383604001516001600160401b031682600001516134bb565b6128ab6135e7565b600081602001519050611d72338886602001516001886060015186613963565b6000546001600160a01b031633146129115760405162461bcd60e51b81526020600482015260096024820152682737ba1020b236b4b760b91b6044820152606401610ad4565b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a991015b60405180910390a15050565b6000546001600160a01b0316331461299d5760405162461bcd60e51b8152600401610ad4906143da565b600a819055604051721b585c9ad95d13dc99195c9cd51a5b595bdd5d606a1b8152601301610e44565b6000546001600160a01b031633146129f05760405162461bcd60e51b8152600401610ad4906143da565b60098190556040517f6d696e54726967676572506572696f64466f724c696d69744f726465727300008152601e01610e44565b6000546001600160a01b03163314612a4d5760405162461bcd60e51b8152600401610ad4906143da565b6011805460ff8082161560ff1990921682179092556040519116151581527fda88b5dfaac55549d4ddddd43a09d4b911233df354952ebc9ac2041aa185343690602001611729565b6000546001600160a01b03163314612abf5760405162461bcd60e51b8152600401610ad4906143da565b6110e581613dac565b601154610100900460ff1615612af05760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff1615612b135760405162461bcd60e51b8152600401610ad4906142d0565b612b1c33610f1e565b612b385760405162461bcd60e51b8152600401610ad4906142f0565b612b40613337565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166395be5050856040518263ffffffff1660e01b8152600401612b9391815260200190565b60a060405180830381865afa158015612bb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bd4919061434c565b505092506001600160401b03169250925060008211612c055760405162461bcd60e51b8152600401610ad490614521565b6001836005811115612c1957612c196143c4565b14612c585760405162461bcd60e51b815260206004820152600f60248201526e1393d517d3d4115397d3505492d155608a1b6044820152606401610ad4565b600a54612c6590836144e8565b421015612c845760405162461bcd60e51b8152600401610ad4906144fb565b600d54604051636e01af8d60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691636e01af8d91612cd791889160019190600401614649565b600060405180830381600087803b158015612cf157600080fd5b505af1158015612d05573d6000803e3d6000fd5b505060405161ffff8416925086915033907f5079795ec65f793d5a0ed74d8f8e1562b7795934b40612bf55cf0e5d55a3447990600090a45050506110e561365f565b601154610100900460ff1615612d6f5760405162461bcd60e51b8152600401610ad4906142b2565b60115460ff1615612d925760405162461bcd60e51b8152600401610ad4906142d0565b612d9b33610f1e565b612db75760405162461bcd60e51b8152600401610ad4906142f0565b612dbf613337565b60405163c608b6c160e01b8152600481018490526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063c608b6c19060240160a0604051808303816000875af1158015612e29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4d9190614438565b9050600381602001516003811115612e6757612e676143c4565b14612eb45760405162461bcd60e51b815260206004820152601a60248201527f5550444154455f4f524445525f4e4f545f54505f414e445f534c0000000000006044820152606401610ad4565b60405163095be50560e41b8152600481018590526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906395be50509060240160a060405180830381865afa158015612f1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f40919061434c565b5050925050506000612f588261ffff163487876133ac565b9050612f7583604001516001600160401b031682600001516134bb565b612f7d6135e7565b600081602001519050612f9d338886602001516001886060015186613963565b612fdc5760405162461bcd60e51b815260206004820152601060248201526f4641494c45445f54505f55504441544560801b6044820152606401610ad4565b612ff3338886602001516002886080015186613963565b6130325760405162461bcd60e51b815260206004820152601060248201526f4641494c45445f534c5f55504441544560801b6044820152606401610ad4565b50505050610dae61365f565b6001546001600160a01b03163314801561306257506001546001600160a01b031615155b6130ae5760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420746865204558495354494e472070656e64696e672061646d696e00006044820152606401610ad4565b60008054600180546001600160a01b038082166001600160a01b031980861682179096559490911690915560408051919092168082526020820184905292917ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc910160405180910390a1600154604080516001600160a01b03808516825290921660208301527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99101612967565b6000546001600160a01b031633146131865760405162461bcd60e51b8152600401610ad4906143da565b806001600160a01b0316634535dc4c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156131c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131e89190614659565b6132265760405162461bcd60e51b815260206004820152600f60248201526e10a83934b1b2ab30b634b230ba37b960891b6044820152606401610ad4565b600680546001600160a01b0319166001600160a01b0383161790556040516d283934b1b2ab30b634b230ba37b960911b8152600e016040519081900381206001600160a01b0383168252907f943e9d45a11aaae5d87503e3bc248665d9807856e5cf2bdb4a988bee4442278190602001610e77565b6000546001600160a01b031633146132c55760405162461bcd60e51b8152600401610ad4906143da565b60075481116133045760405162461bcd60e51b815260206004820152600b60248201526a57524f4e475f56414c554560a81b6044820152606401610ad4565b60088190556040517f6d617854726967676572506572696f64466f724d61726b65744f7264657273008152601f01610e44565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f83d08ba6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561339257600080fd5b505af11580156133a6573d6000803e3d6000fd5b50505050565b60408051606081018252600080825260208201819052918101829052906133d586868686613e45565b60008781526004602090815260408220549083015192935063ffffffff1691613407906001600160401b031683613ee0565b90508083604001516001600160401b031611156134665760405162461bcd60e51b815260206004820152601960248201527f434f4e464944454e43455f52414e47455f544f4f5f57494445000000000000006044820152606401610ad4565b82514210156134af5760405162461bcd60e51b815260206004820152601560248201527411955515549157d4149250d157d4915413d4951151605a1b6044820152606401610ad4565b50909695505050505050565b6000600754836134cb91906144e8565b90506000600854846134dd91906144e8565b90508142101561352f5760405162461bcd60e51b815260206004820152601d60248201527f4d41524b45545f4f524445525f545249474745525f544f4f5f534f4f4e0000006044820152606401610ad4565b8042111561357f5760405162461bcd60e51b815260206004820152601d60248201527f4d41524b45545f4f524445525f545249474745525f544f4f5f4c4154450000006044820152606401610ad4565b81831015801561358f5750808311155b6133a65760405162461bcd60e51b8152602060048201526024808201527f4d41524b45545f4f524445525f50524943455f4f55545f4f465f54494d455f4660448201526352414d4560e01b6064820152608401610ad4565b43600090815260106020526040902054600f5481106136415760405162461bcd60e51b81526020600482015260166024820152754d41585f54524947474552535f5045525f424c4f434b60501b6044820152606401610ad4565b61364c8160016144e8565b4360009081526010602052604090205550565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166340da020f6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561339257600080fd5b7f00000000000000000000000000000000000000000000000000000000000000008163ffffffff1611156137225760405162461bcd60e51b815260206004820152600f60248201526e0a6a0a48a8288bea89e9ebe90928e9608b1b6044820152606401610ad4565b600082815260056020908152604091829020805463ffffffff191663ffffffff8516908117909155915191825283917ffe5fd0852fab5f8ba593533cf24a4b4b235704c0e06956d0a58cc2ca0a4b6b4491015b60405180910390a25050565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000600954836137b691906144e8565b9050804210156138085760405162461bcd60e51b815260206004820152601c60248201527f4c494d49545f4f524445525f545249474745525f544f4f5f534f4f4e000000006044820152606401610ad4565b808210156138645760405162461bcd60e51b815260206004820152602360248201527f4c494d49545f4f524445525f50524943455f4f55545f4f465f54494d455f4652604482015262414d4560e81b6064820152608401610ad4565b610dae82600c54613efa565b6000620186a08363ffffffff1611156138cb5760405162461bcd60e51b815260206004820152601960248201527f5350524541445f524544554354494f4e5f544f4f5f48494748000000000000006044820152606401610ad4565b600085815260056020526040812054620186a0906138f9906001600160401b0388169063ffffffff16614674565b613903919061468b565b90506000620186a061391b63ffffffff8716846146ad565b6001600160401b031661392e919061468b565b61393890836146d8565b90508361394e5761394981876146d8565b613958565b61395881876146f8565b979650505050505050565b60405163c07f992160e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c07f9921906139b8908990889088908890600401614718565b600060405180830381600087803b1580156139d257600080fd5b505af19250505080156139e3575060015b613bde576139ef614728565b806308c379a003613a755750613a03614744565b80613a0e5750613a77565b856003811115613a2057613a206143c4565b87896001600160a01b03167f889460050d9a293fbe31b6ce00a37ae62020cb8c8a19cf31e9496cb13246f6e2888888876000604051613a639594939291906147cd565b60405180910390a46000915050613c3a565b505b3d808015613aa1576040519150601f19603f3d011682016040523d82523d6000602084013e613aa6565b606091505b50632eb752bf60e21b613ab88261484f565b6001600160e01b03191603613b9f576001856002811115613adb57613adb6143c4565b14613b1e5760405162461bcd60e51b815260206004820152601360248201527204341505f4552524f525f4e4f545f4f4e5f545606c1b6044820152606401610ad4565b60248101516044820151876003811115613b3a57613b3a6143c4565b898b6001600160a01b03167f889460050d9a293fbe31b6ce00a37ae62020cb8c8a19cf31e9496cb13246f6e28a8a8a886011811115613b7b57613b7b6143c4565b604051613b8b9493929190614886565b60405180910390a460009350505050613c3a565b60405162461bcd60e51b81526020600482015260146024820152732aa725a727aba72fa1aaa9aa27a6afa2a92927a960611b6044820152606401610ad4565b846003811115613bf057613bf06143c4565b86886001600160a01b03167ff0ac91a20375484f5a80315763782e4fe4b42bd038b08ba4939ff1a506974edf878787604051613c2e939291906148d5565b60405180910390a45060015b9695505050505050565b7f00000000000000000000000000000000000000000000000000000000000000008163ffffffff161115613cba5760405162461bcd60e51b815260206004820152601c60248201527f434f4e464944454e43455f4652414354494f4e5f544f4f5f48494748000000006044820152606401610ad4565b600082815260046020908152604091829020805463ffffffff191663ffffffff8516908117909155915191825283917f88e6fad616d859d6fba20e93ab2acbf0756b6bc2d90c6002000f709f510cadb09101613775565b6060600061379f83613f88565b613d2781610f1e565b613d695760405162461bcd60e51b81526020600482015260136024820152721050d0d3d5539517d393d517d0531313d5d151606a1b6044820152606401610ad4565b613d74600282613fe4565b506040516001600160a01b038216907fc985d67a353004ba149a223b2b9e5c13cca6610b11cb45b4aa029c880d8f7cb590600090a250565b613db581610f1e565b15613e025760405162461bcd60e51b815260206004820152601760248201527f4143434f554e545f414c52454144595f414c4c4f5745440000000000000000006044820152606401610ad4565b613e0d600282613ff9565b506040516001600160a01b038216907fc5944eab072face4b169928723314c5978080e99ed8f8527faedb18c06664c3590600090a250565b6040805160608101825260008082526020820181905281830152600654915163f4a6a09360e01b815290916001600160a01b03169063f4a6a093908690613e9490899088908890600401614929565b60606040518083038185885af1158015613eb2573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190613ed791906149d1565b95945050505050565b6000620186a0613ef08385614674565b61379f919061468b565b6000613f068242614a43565b905080831015613f485760405162461bcd60e51b815260206004820152600d60248201526c14149250d157d513d3d7d3d311609a1b6044820152606401610ad4565b42831115610dae5760405162461bcd60e51b815260206004820152600d60248201526c50524943455f544f4f5f4e455760981b6044820152606401610ad4565b606081600001805480602002602001604051908101604052809291908181526020018280548015613fd857602002820191906000526020600020905b815481526020019060010190808311613fc4575b50505050509050919050565b600061379f836001600160a01b03841661400e565b600061379f836001600160a01b038416614108565b600081815260018301602052604081205480156140f7576000614032600183614a43565b855490915060009061404690600190614a43565b90508082146140ab57600086600001828154811061406657614066614a56565b906000526020600020015490508087600001848154811061408957614089614a56565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806140bc576140bc614a6c565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610f2b565b6000915050610f2b565b5092915050565b600081815260018301602052604081205461414f57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610f2b565b506000610f2b565b60006020828403121561416957600080fd5b5035919050565b60008083601f84011261418257600080fd5b5081356001600160401b0381111561419957600080fd5b6020830191508360208260051b85010111156141b457600080fd5b9250929050565b6000806000604084860312156141d057600080fd5b8335925060208401356001600160401b038111156141ed57600080fd5b6141f986828701614170565b9497909650939450505050565b63ffffffff811681146110e557600080fd5b6000806040838503121561422b57600080fd5b82359150602083013561423d81614206565b809150509250929050565b60006020828403121561425a57600080fd5b81356001600160a01b038116811461379f57600080fd5b6020808252825182820181905260009190848201906040850190845b818110156134af5783516001600160a01b03168352928401929184019160010161428d565b602080825260049082015263444f4e4560e01b604082015260600190565b60208082526006908201526514105554d15160d21b604082015260600190565b6020808252601690820152752727aa2fa0a62627aba2a22faa27afaa2924a3a3a2a960511b604082015260600190565b80516001600160401b038116811461433757600080fd5b919050565b8051801515811461433757600080fd5b600080600080600060a0868803121561436457600080fd5b85516006811061437357600080fd5b945061438160208701614320565b9350604086015161ffff8116811461439857600080fd5b92506143a66060870161433c565b915060808601516143b681614206565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b6020808252600a908201526927a7262cafa0a226a4a760b11b604082015260600190565b601f8201601f191681016001600160401b038111828210171561443157634e487b7160e01b600052604160045260246000fd5b6040525050565b600060a0828403121561444a57600080fd5b60405160a081018181106001600160401b038211171561447a57634e487b7160e01b600052604160045260246000fd5b6040528251815260208301516004811061449357600080fd5b60208201526144a460408401614320565b60408201526144b560608401614320565b60608201526144c660808401614320565b60808201529392505050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610f2b57610f2b6144d2565b6020808252600c908201526b15d0525517d512535153d55560a21b604082015260600190565b60208082526010908201526f2727afa9aaa1a42fa827a9a4aa24a7a760811b604082015260600190565b8381526060810160028410614562576145626143c4565b602082019390935260400152919050565b60006080828403121561458557600080fd5b604051608081018181106001600160401b03821117156145b557634e487b7160e01b600052604160045260246000fd5b6040526145c183614320565b81526145cf60208401614320565b60208201526145e060408401614320565b60408201526145f160608401614320565b60608201529392505050565b8481526080810160048510614614576146146143c4565b60208201949094526001600160401b0392831660408201529116606090910152919050565b600381106110e5576110e56143c4565b8381526060810161456284614639565b60006020828403121561466b57600080fd5b61379f8261433c565b8082028115828204841417610f2b57610f2b6144d2565b6000826146a857634e487b7160e01b600052601260045260246000fd5b500490565b6001600160401b038181168382160280821691908281146146d0576146d06144d2565b505092915050565b6001600160401b03828116828216039080821115614101576141016144d2565b6001600160401b03818116838216019080821115614101576141016144d2565b8481526080810161461485614639565b600060033d11156147415760046000803e5060005160e01c5b90565b600060443d10156147525790565b6040516003193d81016004833e81513d6001600160401b03816024840111818411171561478157505050505090565b82850191508151818111156147995750505050505090565b843d87010160208285010111156147b35750505050505090565b6147c2602082860101876143fe565b509095945050505050565b6147d686614639565b858152600060206001600160401b03808816602085015280871660408501525060a0606084015284518060a085015260005b818110156148245786810183015185820160c001528201614808565b50600060c0828601015260c0601f19601f830116850101925050508260808301529695505050505050565b805160208201516001600160e01b0319808216929190600483101561487e5780818460040360031b1b83161693505b505050919050565b61488f85614639565b9384526001600160401b0392831660208501529116604083015260a0606083018190526009908301526821a0a82fa2a92927a960b91b60c0830152608082015260e00190565b606081016148e285614639565b9381526001600160401b039283166020820152911660409091015290565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6000604082018583526020604060208501528185835260608501905060608660051b86010192508660005b878110156149c357868503605f190183528135368a9003601e1901811261497a57600080fd5b890184810190356001600160401b0381111561499557600080fd5b8036038213156149a457600080fd5b6149af878284614900565b965050509183019190830190600101614954565b509298975050505050505050565b6000606082840312156149e357600080fd5b604051606081018181106001600160401b0382111715614a1357634e487b7160e01b600052604160045260246000fd5b60405282518152614a2660208401614320565b6020820152614a3760408401614320565b60408201529392505050565b81810381811115610f2b57610f2b6144d2565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fdfea26469706673582212206a269132e35ec1ee9b8663e75316fcbc8c67101830de3462763af07b9678c30664736f6c63430008180033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "contract ITradingFloorV1";
|
|
21
|
+
readonly name: "_tradingFloor";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "nonpayable";
|
|
25
|
+
readonly type: "constructor";
|
|
26
|
+
}, {
|
|
27
|
+
readonly anonymous: false;
|
|
28
|
+
readonly inputs: readonly [{
|
|
29
|
+
readonly indexed: true;
|
|
30
|
+
readonly internalType: "string";
|
|
31
|
+
readonly name: "name";
|
|
32
|
+
readonly type: "string";
|
|
33
|
+
}, {
|
|
34
|
+
readonly indexed: false;
|
|
35
|
+
readonly internalType: "address";
|
|
36
|
+
readonly name: "value";
|
|
37
|
+
readonly type: "address";
|
|
38
|
+
}];
|
|
39
|
+
readonly name: "AddressUpdated";
|
|
40
|
+
readonly type: "event";
|
|
41
|
+
}, {
|
|
42
|
+
readonly anonymous: false;
|
|
43
|
+
readonly inputs: readonly [{
|
|
44
|
+
readonly indexed: true;
|
|
45
|
+
readonly internalType: "address";
|
|
46
|
+
readonly name: "triggerer";
|
|
47
|
+
readonly type: "address";
|
|
48
|
+
}, {
|
|
49
|
+
readonly indexed: true;
|
|
50
|
+
readonly internalType: "bytes32";
|
|
51
|
+
readonly name: "positionId";
|
|
52
|
+
readonly type: "bytes32";
|
|
53
|
+
}, {
|
|
54
|
+
readonly indexed: true;
|
|
55
|
+
readonly internalType: "enum TradingEnumsV1.PositionPhase";
|
|
56
|
+
readonly name: "phase";
|
|
57
|
+
readonly type: "uint8";
|
|
58
|
+
}, {
|
|
59
|
+
readonly indexed: false;
|
|
60
|
+
readonly internalType: "uint256";
|
|
61
|
+
readonly name: "triggerPrice";
|
|
62
|
+
readonly type: "uint256";
|
|
63
|
+
}, {
|
|
64
|
+
readonly indexed: false;
|
|
65
|
+
readonly internalType: "uint256";
|
|
66
|
+
readonly name: "basePrice";
|
|
67
|
+
readonly type: "uint256";
|
|
68
|
+
}, {
|
|
69
|
+
readonly indexed: false;
|
|
70
|
+
readonly internalType: "uint256";
|
|
71
|
+
readonly name: "priceTimestamp";
|
|
72
|
+
readonly type: "uint256";
|
|
73
|
+
}];
|
|
74
|
+
readonly name: "ClosePositionExecuted";
|
|
75
|
+
readonly type: "event";
|
|
76
|
+
}, {
|
|
77
|
+
readonly anonymous: false;
|
|
78
|
+
readonly inputs: readonly [{
|
|
79
|
+
readonly indexed: false;
|
|
80
|
+
readonly internalType: "bool";
|
|
81
|
+
readonly name: "done";
|
|
82
|
+
readonly type: "bool";
|
|
83
|
+
}];
|
|
84
|
+
readonly name: "DoneToggled";
|
|
85
|
+
readonly type: "event";
|
|
86
|
+
}, {
|
|
87
|
+
readonly anonymous: false;
|
|
88
|
+
readonly inputs: readonly [{
|
|
89
|
+
readonly indexed: true;
|
|
90
|
+
readonly internalType: "address";
|
|
91
|
+
readonly name: "triggerer";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
}, {
|
|
94
|
+
readonly indexed: true;
|
|
95
|
+
readonly internalType: "bytes32";
|
|
96
|
+
readonly name: "positionId";
|
|
97
|
+
readonly type: "bytes32";
|
|
98
|
+
}, {
|
|
99
|
+
readonly indexed: true;
|
|
100
|
+
readonly internalType: "uint16";
|
|
101
|
+
readonly name: "pairId";
|
|
102
|
+
readonly type: "uint16";
|
|
103
|
+
}, {
|
|
104
|
+
readonly indexed: false;
|
|
105
|
+
readonly internalType: "uint256";
|
|
106
|
+
readonly name: "triggerPrice";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
}, {
|
|
109
|
+
readonly indexed: false;
|
|
110
|
+
readonly internalType: "uint256";
|
|
111
|
+
readonly name: "basePrice";
|
|
112
|
+
readonly type: "uint256";
|
|
113
|
+
}, {
|
|
114
|
+
readonly indexed: false;
|
|
115
|
+
readonly internalType: "uint256";
|
|
116
|
+
readonly name: "priceTimestamp";
|
|
117
|
+
readonly type: "uint256";
|
|
118
|
+
}];
|
|
119
|
+
readonly name: "LiquidationExecuted";
|
|
120
|
+
readonly type: "event";
|
|
121
|
+
}, {
|
|
122
|
+
readonly anonymous: false;
|
|
123
|
+
readonly inputs: readonly [{
|
|
124
|
+
readonly indexed: true;
|
|
125
|
+
readonly internalType: "address";
|
|
126
|
+
readonly name: "triggerer";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
}, {
|
|
129
|
+
readonly indexed: true;
|
|
130
|
+
readonly internalType: "bytes32";
|
|
131
|
+
readonly name: "positionId";
|
|
132
|
+
readonly type: "bytes32";
|
|
133
|
+
}, {
|
|
134
|
+
readonly indexed: true;
|
|
135
|
+
readonly internalType: "uint16";
|
|
136
|
+
readonly name: "pairId";
|
|
137
|
+
readonly type: "uint16";
|
|
138
|
+
}];
|
|
139
|
+
readonly name: "MarketCloseTimeoutTriggered";
|
|
140
|
+
readonly type: "event";
|
|
141
|
+
}, {
|
|
142
|
+
readonly anonymous: false;
|
|
143
|
+
readonly inputs: readonly [{
|
|
144
|
+
readonly indexed: true;
|
|
145
|
+
readonly internalType: "address";
|
|
146
|
+
readonly name: "triggerer";
|
|
147
|
+
readonly type: "address";
|
|
148
|
+
}, {
|
|
149
|
+
readonly indexed: true;
|
|
150
|
+
readonly internalType: "bytes32";
|
|
151
|
+
readonly name: "positionId";
|
|
152
|
+
readonly type: "bytes32";
|
|
153
|
+
}, {
|
|
154
|
+
readonly indexed: true;
|
|
155
|
+
readonly internalType: "uint16";
|
|
156
|
+
readonly name: "pairId";
|
|
157
|
+
readonly type: "uint16";
|
|
158
|
+
}];
|
|
159
|
+
readonly name: "MarketOpenTimeoutTriggered";
|
|
160
|
+
readonly type: "event";
|
|
161
|
+
}, {
|
|
162
|
+
readonly anonymous: false;
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly indexed: true;
|
|
165
|
+
readonly internalType: "uint256";
|
|
166
|
+
readonly name: "pairId";
|
|
167
|
+
readonly type: "uint256";
|
|
168
|
+
}, {
|
|
169
|
+
readonly indexed: false;
|
|
170
|
+
readonly internalType: "uint256";
|
|
171
|
+
readonly name: "maxConfidenceFraction";
|
|
172
|
+
readonly type: "uint256";
|
|
173
|
+
}];
|
|
174
|
+
readonly name: "MaxConfidenceForPairSet";
|
|
175
|
+
readonly type: "event";
|
|
176
|
+
}, {
|
|
177
|
+
readonly anonymous: false;
|
|
178
|
+
readonly inputs: readonly [{
|
|
179
|
+
readonly indexed: false;
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
readonly name: "oldAdmin";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
}, {
|
|
184
|
+
readonly indexed: false;
|
|
185
|
+
readonly internalType: "address";
|
|
186
|
+
readonly name: "newAdmin";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
}];
|
|
189
|
+
readonly name: "NewAdmin";
|
|
190
|
+
readonly type: "event";
|
|
191
|
+
}, {
|
|
192
|
+
readonly anonymous: false;
|
|
193
|
+
readonly inputs: readonly [{
|
|
194
|
+
readonly indexed: false;
|
|
195
|
+
readonly internalType: "address";
|
|
196
|
+
readonly name: "oldPendingAdmin";
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
}, {
|
|
199
|
+
readonly indexed: false;
|
|
200
|
+
readonly internalType: "address";
|
|
201
|
+
readonly name: "newPendingAdmin";
|
|
202
|
+
readonly type: "address";
|
|
203
|
+
}];
|
|
204
|
+
readonly name: "NewPendingAdmin";
|
|
205
|
+
readonly type: "event";
|
|
206
|
+
}, {
|
|
207
|
+
readonly anonymous: false;
|
|
208
|
+
readonly inputs: readonly [{
|
|
209
|
+
readonly indexed: true;
|
|
210
|
+
readonly internalType: "string";
|
|
211
|
+
readonly name: "name";
|
|
212
|
+
readonly type: "string";
|
|
213
|
+
}, {
|
|
214
|
+
readonly indexed: false;
|
|
215
|
+
readonly internalType: "uint256";
|
|
216
|
+
readonly name: "value";
|
|
217
|
+
readonly type: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly name: "NumberUpdated";
|
|
220
|
+
readonly type: "event";
|
|
221
|
+
}, {
|
|
222
|
+
readonly anonymous: false;
|
|
223
|
+
readonly inputs: readonly [{
|
|
224
|
+
readonly indexed: true;
|
|
225
|
+
readonly internalType: "address";
|
|
226
|
+
readonly name: "triggerer";
|
|
227
|
+
readonly type: "address";
|
|
228
|
+
}, {
|
|
229
|
+
readonly indexed: true;
|
|
230
|
+
readonly internalType: "bytes32";
|
|
231
|
+
readonly name: "positionId";
|
|
232
|
+
readonly type: "bytes32";
|
|
233
|
+
}, {
|
|
234
|
+
readonly indexed: true;
|
|
235
|
+
readonly internalType: "enum TradingEnumsV1.PositionPhase";
|
|
236
|
+
readonly name: "phase";
|
|
237
|
+
readonly type: "uint8";
|
|
238
|
+
}, {
|
|
239
|
+
readonly indexed: false;
|
|
240
|
+
readonly internalType: "uint256";
|
|
241
|
+
readonly name: "triggerPrice";
|
|
242
|
+
readonly type: "uint256";
|
|
243
|
+
}, {
|
|
244
|
+
readonly indexed: false;
|
|
245
|
+
readonly internalType: "uint256";
|
|
246
|
+
readonly name: "basePrice";
|
|
247
|
+
readonly type: "uint256";
|
|
248
|
+
}, {
|
|
249
|
+
readonly indexed: false;
|
|
250
|
+
readonly internalType: "uint256";
|
|
251
|
+
readonly name: "priceTimestamp";
|
|
252
|
+
readonly type: "uint256";
|
|
253
|
+
}];
|
|
254
|
+
readonly name: "OpenPositionExecuted";
|
|
255
|
+
readonly type: "event";
|
|
256
|
+
}, {
|
|
257
|
+
readonly anonymous: false;
|
|
258
|
+
readonly inputs: readonly [{
|
|
259
|
+
readonly indexed: false;
|
|
260
|
+
readonly internalType: "bool";
|
|
261
|
+
readonly name: "paused";
|
|
262
|
+
readonly type: "bool";
|
|
263
|
+
}];
|
|
264
|
+
readonly name: "PausedToggled";
|
|
265
|
+
readonly type: "event";
|
|
266
|
+
}, {
|
|
267
|
+
readonly anonymous: false;
|
|
268
|
+
readonly inputs: readonly [{
|
|
269
|
+
readonly indexed: true;
|
|
270
|
+
readonly internalType: "address";
|
|
271
|
+
readonly name: "triggerer";
|
|
272
|
+
readonly type: "address";
|
|
273
|
+
}, {
|
|
274
|
+
readonly indexed: true;
|
|
275
|
+
readonly internalType: "bytes32";
|
|
276
|
+
readonly name: "positionId";
|
|
277
|
+
readonly type: "bytes32";
|
|
278
|
+
}, {
|
|
279
|
+
readonly indexed: true;
|
|
280
|
+
readonly internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType";
|
|
281
|
+
readonly name: "orderType";
|
|
282
|
+
readonly type: "uint8";
|
|
283
|
+
}, {
|
|
284
|
+
readonly indexed: false;
|
|
285
|
+
readonly internalType: "uint64";
|
|
286
|
+
readonly name: "fieldValueA";
|
|
287
|
+
readonly type: "uint64";
|
|
288
|
+
}, {
|
|
289
|
+
readonly indexed: false;
|
|
290
|
+
readonly internalType: "uint64";
|
|
291
|
+
readonly name: "fieldValueB";
|
|
292
|
+
readonly type: "uint64";
|
|
293
|
+
}];
|
|
294
|
+
readonly name: "PositionUpdateTimeoutTriggered";
|
|
295
|
+
readonly type: "event";
|
|
296
|
+
}, {
|
|
297
|
+
readonly anonymous: false;
|
|
298
|
+
readonly inputs: readonly [{
|
|
299
|
+
readonly indexed: true;
|
|
300
|
+
readonly internalType: "address";
|
|
301
|
+
readonly name: "triggerer";
|
|
302
|
+
readonly type: "address";
|
|
303
|
+
}, {
|
|
304
|
+
readonly indexed: true;
|
|
305
|
+
readonly internalType: "bytes32";
|
|
306
|
+
readonly name: "positionId";
|
|
307
|
+
readonly type: "bytes32";
|
|
308
|
+
}, {
|
|
309
|
+
readonly indexed: true;
|
|
310
|
+
readonly internalType: "uint16";
|
|
311
|
+
readonly name: "pairId";
|
|
312
|
+
readonly type: "uint16";
|
|
313
|
+
}, {
|
|
314
|
+
readonly indexed: false;
|
|
315
|
+
readonly internalType: "uint256";
|
|
316
|
+
readonly name: "triggerPrice";
|
|
317
|
+
readonly type: "uint256";
|
|
318
|
+
}, {
|
|
319
|
+
readonly indexed: false;
|
|
320
|
+
readonly internalType: "uint256";
|
|
321
|
+
readonly name: "basePrice";
|
|
322
|
+
readonly type: "uint256";
|
|
323
|
+
}, {
|
|
324
|
+
readonly indexed: false;
|
|
325
|
+
readonly internalType: "uint256";
|
|
326
|
+
readonly name: "priceTimestamp";
|
|
327
|
+
readonly type: "uint256";
|
|
328
|
+
}];
|
|
329
|
+
readonly name: "SlExecuted";
|
|
330
|
+
readonly type: "event";
|
|
331
|
+
}, {
|
|
332
|
+
readonly anonymous: false;
|
|
333
|
+
readonly inputs: readonly [{
|
|
334
|
+
readonly indexed: true;
|
|
335
|
+
readonly internalType: "uint256";
|
|
336
|
+
readonly name: "pairId";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
}, {
|
|
339
|
+
readonly indexed: false;
|
|
340
|
+
readonly internalType: "uint256";
|
|
341
|
+
readonly name: "slippage";
|
|
342
|
+
readonly type: "uint256";
|
|
343
|
+
}];
|
|
344
|
+
readonly name: "SpreadFractionForPairSet";
|
|
345
|
+
readonly type: "event";
|
|
346
|
+
}, {
|
|
347
|
+
readonly anonymous: false;
|
|
348
|
+
readonly inputs: readonly [{
|
|
349
|
+
readonly indexed: true;
|
|
350
|
+
readonly internalType: "address";
|
|
351
|
+
readonly name: "triggerer";
|
|
352
|
+
readonly type: "address";
|
|
353
|
+
}, {
|
|
354
|
+
readonly indexed: true;
|
|
355
|
+
readonly internalType: "bytes32";
|
|
356
|
+
readonly name: "positionId";
|
|
357
|
+
readonly type: "bytes32";
|
|
358
|
+
}, {
|
|
359
|
+
readonly indexed: true;
|
|
360
|
+
readonly internalType: "uint16";
|
|
361
|
+
readonly name: "pairId";
|
|
362
|
+
readonly type: "uint16";
|
|
363
|
+
}, {
|
|
364
|
+
readonly indexed: false;
|
|
365
|
+
readonly internalType: "uint256";
|
|
366
|
+
readonly name: "triggerPrice";
|
|
367
|
+
readonly type: "uint256";
|
|
368
|
+
}, {
|
|
369
|
+
readonly indexed: false;
|
|
370
|
+
readonly internalType: "uint256";
|
|
371
|
+
readonly name: "basePrice";
|
|
372
|
+
readonly type: "uint256";
|
|
373
|
+
}, {
|
|
374
|
+
readonly indexed: false;
|
|
375
|
+
readonly internalType: "uint256";
|
|
376
|
+
readonly name: "priceTimestamp";
|
|
377
|
+
readonly type: "uint256";
|
|
378
|
+
}];
|
|
379
|
+
readonly name: "TpExecuted";
|
|
380
|
+
readonly type: "event";
|
|
381
|
+
}, {
|
|
382
|
+
readonly anonymous: false;
|
|
383
|
+
readonly inputs: readonly [{
|
|
384
|
+
readonly indexed: true;
|
|
385
|
+
readonly internalType: "address";
|
|
386
|
+
readonly name: "account";
|
|
387
|
+
readonly type: "address";
|
|
388
|
+
}];
|
|
389
|
+
readonly name: "TriggerAccountAllowed";
|
|
390
|
+
readonly type: "event";
|
|
391
|
+
}, {
|
|
392
|
+
readonly anonymous: false;
|
|
393
|
+
readonly inputs: readonly [{
|
|
394
|
+
readonly indexed: true;
|
|
395
|
+
readonly internalType: "address";
|
|
396
|
+
readonly name: "account";
|
|
397
|
+
readonly type: "address";
|
|
398
|
+
}];
|
|
399
|
+
readonly name: "TriggerAccountDisallowed";
|
|
400
|
+
readonly type: "event";
|
|
401
|
+
}, {
|
|
402
|
+
readonly anonymous: false;
|
|
403
|
+
readonly inputs: readonly [{
|
|
404
|
+
readonly indexed: true;
|
|
405
|
+
readonly internalType: "address";
|
|
406
|
+
readonly name: "triggerer";
|
|
407
|
+
readonly type: "address";
|
|
408
|
+
}, {
|
|
409
|
+
readonly indexed: true;
|
|
410
|
+
readonly internalType: "bytes32";
|
|
411
|
+
readonly name: "positionId";
|
|
412
|
+
readonly type: "bytes32";
|
|
413
|
+
}, {
|
|
414
|
+
readonly indexed: true;
|
|
415
|
+
readonly internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType";
|
|
416
|
+
readonly name: "orderType";
|
|
417
|
+
readonly type: "uint8";
|
|
418
|
+
}, {
|
|
419
|
+
readonly indexed: false;
|
|
420
|
+
readonly internalType: "enum TradingEnumsV1.PositionField";
|
|
421
|
+
readonly name: "positionField";
|
|
422
|
+
readonly type: "uint8";
|
|
423
|
+
}, {
|
|
424
|
+
readonly indexed: false;
|
|
425
|
+
readonly internalType: "uint256";
|
|
426
|
+
readonly name: "fieldValue";
|
|
427
|
+
readonly type: "uint256";
|
|
428
|
+
}, {
|
|
429
|
+
readonly indexed: false;
|
|
430
|
+
readonly internalType: "uint64";
|
|
431
|
+
readonly name: "triggerPrice";
|
|
432
|
+
readonly type: "uint64";
|
|
433
|
+
}];
|
|
434
|
+
readonly name: "UpdatePositionSingleFieldExecuted";
|
|
435
|
+
readonly type: "event";
|
|
436
|
+
}, {
|
|
437
|
+
readonly anonymous: false;
|
|
438
|
+
readonly inputs: readonly [{
|
|
439
|
+
readonly indexed: true;
|
|
440
|
+
readonly internalType: "address";
|
|
441
|
+
readonly name: "triggerer";
|
|
442
|
+
readonly type: "address";
|
|
443
|
+
}, {
|
|
444
|
+
readonly indexed: true;
|
|
445
|
+
readonly internalType: "bytes32";
|
|
446
|
+
readonly name: "positionId";
|
|
447
|
+
readonly type: "bytes32";
|
|
448
|
+
}, {
|
|
449
|
+
readonly indexed: true;
|
|
450
|
+
readonly internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType";
|
|
451
|
+
readonly name: "orderType";
|
|
452
|
+
readonly type: "uint8";
|
|
453
|
+
}, {
|
|
454
|
+
readonly indexed: false;
|
|
455
|
+
readonly internalType: "enum TradingEnumsV1.PositionField";
|
|
456
|
+
readonly name: "positionField";
|
|
457
|
+
readonly type: "uint8";
|
|
458
|
+
}, {
|
|
459
|
+
readonly indexed: false;
|
|
460
|
+
readonly internalType: "uint256";
|
|
461
|
+
readonly name: "fieldValue";
|
|
462
|
+
readonly type: "uint256";
|
|
463
|
+
}, {
|
|
464
|
+
readonly indexed: false;
|
|
465
|
+
readonly internalType: "uint64";
|
|
466
|
+
readonly name: "triggerPrice";
|
|
467
|
+
readonly type: "uint64";
|
|
468
|
+
}, {
|
|
469
|
+
readonly indexed: false;
|
|
470
|
+
readonly internalType: "string";
|
|
471
|
+
readonly name: "rejectionReason";
|
|
472
|
+
readonly type: "string";
|
|
473
|
+
}, {
|
|
474
|
+
readonly indexed: false;
|
|
475
|
+
readonly internalType: "uint256";
|
|
476
|
+
readonly name: "rejectionValue";
|
|
477
|
+
readonly type: "uint256";
|
|
478
|
+
}];
|
|
479
|
+
readonly name: "UpdatePositionSingleFieldRejected";
|
|
480
|
+
readonly type: "event";
|
|
481
|
+
}, {
|
|
482
|
+
readonly inputs: readonly [];
|
|
483
|
+
readonly name: "ACCURACY_IMPROVEMENT_SCALE";
|
|
484
|
+
readonly outputs: readonly [{
|
|
485
|
+
readonly internalType: "uint256";
|
|
486
|
+
readonly name: "";
|
|
487
|
+
readonly type: "uint256";
|
|
488
|
+
}];
|
|
489
|
+
readonly stateMutability: "view";
|
|
490
|
+
readonly type: "function";
|
|
491
|
+
}, {
|
|
492
|
+
readonly inputs: readonly [];
|
|
493
|
+
readonly name: "FRACTION_SCALE";
|
|
494
|
+
readonly outputs: readonly [{
|
|
495
|
+
readonly internalType: "uint256";
|
|
496
|
+
readonly name: "";
|
|
497
|
+
readonly type: "uint256";
|
|
498
|
+
}];
|
|
499
|
+
readonly stateMutability: "view";
|
|
500
|
+
readonly type: "function";
|
|
501
|
+
}, {
|
|
502
|
+
readonly inputs: readonly [];
|
|
503
|
+
readonly name: "LEVERAGE_SCALE";
|
|
504
|
+
readonly outputs: readonly [{
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
readonly name: "";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
}];
|
|
509
|
+
readonly stateMutability: "view";
|
|
510
|
+
readonly type: "function";
|
|
511
|
+
}, {
|
|
512
|
+
readonly inputs: readonly [];
|
|
513
|
+
readonly name: "MAX_ALLOWED_CONFIDENCE_FRACTION";
|
|
514
|
+
readonly outputs: readonly [{
|
|
515
|
+
readonly internalType: "uint256";
|
|
516
|
+
readonly name: "";
|
|
517
|
+
readonly type: "uint256";
|
|
518
|
+
}];
|
|
519
|
+
readonly stateMutability: "view";
|
|
520
|
+
readonly type: "function";
|
|
521
|
+
}, {
|
|
522
|
+
readonly inputs: readonly [];
|
|
523
|
+
readonly name: "MAX_ALLOWED_SPREAD_FRACTION";
|
|
524
|
+
readonly outputs: readonly [{
|
|
525
|
+
readonly internalType: "uint256";
|
|
526
|
+
readonly name: "";
|
|
527
|
+
readonly type: "uint256";
|
|
528
|
+
}];
|
|
529
|
+
readonly stateMutability: "view";
|
|
530
|
+
readonly type: "function";
|
|
531
|
+
}, {
|
|
532
|
+
readonly inputs: readonly [];
|
|
533
|
+
readonly name: "PRECISION";
|
|
534
|
+
readonly outputs: readonly [{
|
|
535
|
+
readonly internalType: "uint256";
|
|
536
|
+
readonly name: "";
|
|
537
|
+
readonly type: "uint256";
|
|
538
|
+
}];
|
|
539
|
+
readonly stateMutability: "view";
|
|
540
|
+
readonly type: "function";
|
|
541
|
+
}, {
|
|
542
|
+
readonly inputs: readonly [];
|
|
543
|
+
readonly name: "_acceptAdmin";
|
|
544
|
+
readonly outputs: readonly [];
|
|
545
|
+
readonly stateMutability: "nonpayable";
|
|
546
|
+
readonly type: "function";
|
|
547
|
+
}, {
|
|
548
|
+
readonly inputs: readonly [{
|
|
549
|
+
readonly internalType: "address";
|
|
550
|
+
readonly name: "newPendingAdmin";
|
|
551
|
+
readonly type: "address";
|
|
552
|
+
}];
|
|
553
|
+
readonly name: "_setPendingAdmin";
|
|
554
|
+
readonly outputs: readonly [];
|
|
555
|
+
readonly stateMutability: "nonpayable";
|
|
556
|
+
readonly type: "function";
|
|
557
|
+
}, {
|
|
558
|
+
readonly inputs: readonly [];
|
|
559
|
+
readonly name: "admin";
|
|
560
|
+
readonly outputs: readonly [{
|
|
561
|
+
readonly internalType: "address";
|
|
562
|
+
readonly name: "";
|
|
563
|
+
readonly type: "address";
|
|
564
|
+
}];
|
|
565
|
+
readonly stateMutability: "view";
|
|
566
|
+
readonly type: "function";
|
|
567
|
+
}, {
|
|
568
|
+
readonly inputs: readonly [{
|
|
569
|
+
readonly internalType: "address";
|
|
570
|
+
readonly name: "account";
|
|
571
|
+
readonly type: "address";
|
|
572
|
+
}];
|
|
573
|
+
readonly name: "allowTriggerAccount";
|
|
574
|
+
readonly outputs: readonly [];
|
|
575
|
+
readonly stateMutability: "nonpayable";
|
|
576
|
+
readonly type: "function";
|
|
577
|
+
}, {
|
|
578
|
+
readonly inputs: readonly [{
|
|
579
|
+
readonly internalType: "address";
|
|
580
|
+
readonly name: "account";
|
|
581
|
+
readonly type: "address";
|
|
582
|
+
}];
|
|
583
|
+
readonly name: "disallowTriggerAccount";
|
|
584
|
+
readonly outputs: readonly [];
|
|
585
|
+
readonly stateMutability: "nonpayable";
|
|
586
|
+
readonly type: "function";
|
|
587
|
+
}, {
|
|
588
|
+
readonly inputs: readonly [];
|
|
589
|
+
readonly name: "getAllTriggerPermissionedAccounts";
|
|
590
|
+
readonly outputs: readonly [{
|
|
591
|
+
readonly internalType: "address[]";
|
|
592
|
+
readonly name: "";
|
|
593
|
+
readonly type: "address[]";
|
|
594
|
+
}];
|
|
595
|
+
readonly stateMutability: "view";
|
|
596
|
+
readonly type: "function";
|
|
597
|
+
}, {
|
|
598
|
+
readonly inputs: readonly [{
|
|
599
|
+
readonly internalType: "uint256";
|
|
600
|
+
readonly name: "pairId";
|
|
601
|
+
readonly type: "uint256";
|
|
602
|
+
}, {
|
|
603
|
+
readonly internalType: "bytes[]";
|
|
604
|
+
readonly name: "pricePayload";
|
|
605
|
+
readonly type: "bytes[]";
|
|
606
|
+
}];
|
|
607
|
+
readonly name: "getValidatedPrice";
|
|
608
|
+
readonly outputs: readonly [{
|
|
609
|
+
readonly components: readonly [{
|
|
610
|
+
readonly internalType: "uint256";
|
|
611
|
+
readonly name: "timestamp";
|
|
612
|
+
readonly type: "uint256";
|
|
613
|
+
}, {
|
|
614
|
+
readonly internalType: "uint64";
|
|
615
|
+
readonly name: "price";
|
|
616
|
+
readonly type: "uint64";
|
|
617
|
+
}, {
|
|
618
|
+
readonly internalType: "uint64";
|
|
619
|
+
readonly name: "confidence";
|
|
620
|
+
readonly type: "uint64";
|
|
621
|
+
}];
|
|
622
|
+
readonly internalType: "struct IPriceValidatorV1.ValidatedPrice";
|
|
623
|
+
readonly name: "";
|
|
624
|
+
readonly type: "tuple";
|
|
625
|
+
}];
|
|
626
|
+
readonly stateMutability: "payable";
|
|
627
|
+
readonly type: "function";
|
|
628
|
+
}, {
|
|
629
|
+
readonly inputs: readonly [{
|
|
630
|
+
readonly internalType: "address";
|
|
631
|
+
readonly name: "account";
|
|
632
|
+
readonly type: "address";
|
|
633
|
+
}];
|
|
634
|
+
readonly name: "isAllowedToTrigger";
|
|
635
|
+
readonly outputs: readonly [{
|
|
636
|
+
readonly internalType: "bool";
|
|
637
|
+
readonly name: "";
|
|
638
|
+
readonly type: "bool";
|
|
639
|
+
}];
|
|
640
|
+
readonly stateMutability: "view";
|
|
641
|
+
readonly type: "function";
|
|
642
|
+
}, {
|
|
643
|
+
readonly inputs: readonly [];
|
|
644
|
+
readonly name: "isDone";
|
|
645
|
+
readonly outputs: readonly [{
|
|
646
|
+
readonly internalType: "bool";
|
|
647
|
+
readonly name: "";
|
|
648
|
+
readonly type: "bool";
|
|
649
|
+
}];
|
|
650
|
+
readonly stateMutability: "view";
|
|
651
|
+
readonly type: "function";
|
|
652
|
+
}, {
|
|
653
|
+
readonly inputs: readonly [];
|
|
654
|
+
readonly name: "isPaused";
|
|
655
|
+
readonly outputs: readonly [{
|
|
656
|
+
readonly internalType: "bool";
|
|
657
|
+
readonly name: "";
|
|
658
|
+
readonly type: "bool";
|
|
659
|
+
}];
|
|
660
|
+
readonly stateMutability: "view";
|
|
661
|
+
readonly type: "function";
|
|
662
|
+
}, {
|
|
663
|
+
readonly inputs: readonly [];
|
|
664
|
+
readonly name: "marketOrderCancelFeeFraction";
|
|
665
|
+
readonly outputs: readonly [{
|
|
666
|
+
readonly internalType: "uint256";
|
|
667
|
+
readonly name: "";
|
|
668
|
+
readonly type: "uint256";
|
|
669
|
+
}];
|
|
670
|
+
readonly stateMutability: "view";
|
|
671
|
+
readonly type: "function";
|
|
672
|
+
}, {
|
|
673
|
+
readonly inputs: readonly [];
|
|
674
|
+
readonly name: "marketOrderTightTimeRange";
|
|
675
|
+
readonly outputs: readonly [{
|
|
676
|
+
readonly internalType: "uint256";
|
|
677
|
+
readonly name: "";
|
|
678
|
+
readonly type: "uint256";
|
|
679
|
+
}];
|
|
680
|
+
readonly stateMutability: "view";
|
|
681
|
+
readonly type: "function";
|
|
682
|
+
}, {
|
|
683
|
+
readonly inputs: readonly [];
|
|
684
|
+
readonly name: "marketOrdersTimeout";
|
|
685
|
+
readonly outputs: readonly [{
|
|
686
|
+
readonly internalType: "uint256";
|
|
687
|
+
readonly name: "";
|
|
688
|
+
readonly type: "uint256";
|
|
689
|
+
}];
|
|
690
|
+
readonly stateMutability: "view";
|
|
691
|
+
readonly type: "function";
|
|
692
|
+
}, {
|
|
693
|
+
readonly inputs: readonly [{
|
|
694
|
+
readonly internalType: "uint256";
|
|
695
|
+
readonly name: "";
|
|
696
|
+
readonly type: "uint256";
|
|
697
|
+
}];
|
|
698
|
+
readonly name: "maxConfidenceFractionForPair";
|
|
699
|
+
readonly outputs: readonly [{
|
|
700
|
+
readonly internalType: "uint32";
|
|
701
|
+
readonly name: "";
|
|
702
|
+
readonly type: "uint32";
|
|
703
|
+
}];
|
|
704
|
+
readonly stateMutability: "view";
|
|
705
|
+
readonly type: "function";
|
|
706
|
+
}, {
|
|
707
|
+
readonly inputs: readonly [];
|
|
708
|
+
readonly name: "maxTriggerPeriodForMarketOrders";
|
|
709
|
+
readonly outputs: readonly [{
|
|
710
|
+
readonly internalType: "uint256";
|
|
711
|
+
readonly name: "";
|
|
712
|
+
readonly type: "uint256";
|
|
713
|
+
}];
|
|
714
|
+
readonly stateMutability: "view";
|
|
715
|
+
readonly type: "function";
|
|
716
|
+
}, {
|
|
717
|
+
readonly inputs: readonly [];
|
|
718
|
+
readonly name: "maxTriggersPerBlock";
|
|
719
|
+
readonly outputs: readonly [{
|
|
720
|
+
readonly internalType: "uint256";
|
|
721
|
+
readonly name: "";
|
|
722
|
+
readonly type: "uint256";
|
|
723
|
+
}];
|
|
724
|
+
readonly stateMutability: "view";
|
|
725
|
+
readonly type: "function";
|
|
726
|
+
}, {
|
|
727
|
+
readonly inputs: readonly [];
|
|
728
|
+
readonly name: "minTriggerPeriodForLimitOrders";
|
|
729
|
+
readonly outputs: readonly [{
|
|
730
|
+
readonly internalType: "uint256";
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly type: "uint256";
|
|
733
|
+
}];
|
|
734
|
+
readonly stateMutability: "view";
|
|
735
|
+
readonly type: "function";
|
|
736
|
+
}, {
|
|
737
|
+
readonly inputs: readonly [];
|
|
738
|
+
readonly name: "minTriggerPeriodForMarketOrders";
|
|
739
|
+
readonly outputs: readonly [{
|
|
740
|
+
readonly internalType: "uint256";
|
|
741
|
+
readonly name: "";
|
|
742
|
+
readonly type: "uint256";
|
|
743
|
+
}];
|
|
744
|
+
readonly stateMutability: "view";
|
|
745
|
+
readonly type: "function";
|
|
746
|
+
}, {
|
|
747
|
+
readonly inputs: readonly [];
|
|
748
|
+
readonly name: "openPositionCancellationFeeFraction";
|
|
749
|
+
readonly outputs: readonly [{
|
|
750
|
+
readonly internalType: "uint256";
|
|
751
|
+
readonly name: "";
|
|
752
|
+
readonly type: "uint256";
|
|
753
|
+
}];
|
|
754
|
+
readonly stateMutability: "view";
|
|
755
|
+
readonly type: "function";
|
|
756
|
+
}, {
|
|
757
|
+
readonly inputs: readonly [];
|
|
758
|
+
readonly name: "orderBook";
|
|
759
|
+
readonly outputs: readonly [{
|
|
760
|
+
readonly internalType: "contract IOrderBookV1";
|
|
761
|
+
readonly name: "";
|
|
762
|
+
readonly type: "address";
|
|
763
|
+
}];
|
|
764
|
+
readonly stateMutability: "view";
|
|
765
|
+
readonly type: "function";
|
|
766
|
+
}, {
|
|
767
|
+
readonly inputs: readonly [];
|
|
768
|
+
readonly name: "pendingAdmin";
|
|
769
|
+
readonly outputs: readonly [{
|
|
770
|
+
readonly internalType: "address";
|
|
771
|
+
readonly name: "";
|
|
772
|
+
readonly type: "address";
|
|
773
|
+
}];
|
|
774
|
+
readonly stateMutability: "view";
|
|
775
|
+
readonly type: "function";
|
|
776
|
+
}, {
|
|
777
|
+
readonly inputs: readonly [];
|
|
778
|
+
readonly name: "priceValidator";
|
|
779
|
+
readonly outputs: readonly [{
|
|
780
|
+
readonly internalType: "contract IPriceValidatorV1";
|
|
781
|
+
readonly name: "";
|
|
782
|
+
readonly type: "address";
|
|
783
|
+
}];
|
|
784
|
+
readonly stateMutability: "view";
|
|
785
|
+
readonly type: "function";
|
|
786
|
+
}, {
|
|
787
|
+
readonly inputs: readonly [{
|
|
788
|
+
readonly internalType: "uint256";
|
|
789
|
+
readonly name: "_marketOrderCancelFeeFraction";
|
|
790
|
+
readonly type: "uint256";
|
|
791
|
+
}];
|
|
792
|
+
readonly name: "setMarketOrderCancelFeeFraction";
|
|
793
|
+
readonly outputs: readonly [];
|
|
794
|
+
readonly stateMutability: "nonpayable";
|
|
795
|
+
readonly type: "function";
|
|
796
|
+
}, {
|
|
797
|
+
readonly inputs: readonly [{
|
|
798
|
+
readonly internalType: "uint256";
|
|
799
|
+
readonly name: "_marketOrderTightTimeRange";
|
|
800
|
+
readonly type: "uint256";
|
|
801
|
+
}];
|
|
802
|
+
readonly name: "setMarketOrderTightTimeRange";
|
|
803
|
+
readonly outputs: readonly [];
|
|
804
|
+
readonly stateMutability: "nonpayable";
|
|
805
|
+
readonly type: "function";
|
|
806
|
+
}, {
|
|
807
|
+
readonly inputs: readonly [{
|
|
808
|
+
readonly internalType: "uint256";
|
|
809
|
+
readonly name: "_marketOrdersTimeout";
|
|
810
|
+
readonly type: "uint256";
|
|
811
|
+
}];
|
|
812
|
+
readonly name: "setMarketOrdersTimeout";
|
|
813
|
+
readonly outputs: readonly [];
|
|
814
|
+
readonly stateMutability: "nonpayable";
|
|
815
|
+
readonly type: "function";
|
|
816
|
+
}, {
|
|
817
|
+
readonly inputs: readonly [{
|
|
818
|
+
readonly internalType: "uint256";
|
|
819
|
+
readonly name: "pairId";
|
|
820
|
+
readonly type: "uint256";
|
|
821
|
+
}, {
|
|
822
|
+
readonly internalType: "uint32";
|
|
823
|
+
readonly name: "maxConfidenceFraction";
|
|
824
|
+
readonly type: "uint32";
|
|
825
|
+
}];
|
|
826
|
+
readonly name: "setMaxConfidenceForPair";
|
|
827
|
+
readonly outputs: readonly [];
|
|
828
|
+
readonly stateMutability: "nonpayable";
|
|
829
|
+
readonly type: "function";
|
|
830
|
+
}, {
|
|
831
|
+
readonly inputs: readonly [{
|
|
832
|
+
readonly internalType: "uint256";
|
|
833
|
+
readonly name: "_maxTriggerPeriodForMarketOrders";
|
|
834
|
+
readonly type: "uint256";
|
|
835
|
+
}];
|
|
836
|
+
readonly name: "setMaxTriggerPeriodForMarketOrders";
|
|
837
|
+
readonly outputs: readonly [];
|
|
838
|
+
readonly stateMutability: "nonpayable";
|
|
839
|
+
readonly type: "function";
|
|
840
|
+
}, {
|
|
841
|
+
readonly inputs: readonly [{
|
|
842
|
+
readonly internalType: "uint256";
|
|
843
|
+
readonly name: "_maxTriggersPerBlock";
|
|
844
|
+
readonly type: "uint256";
|
|
845
|
+
}];
|
|
846
|
+
readonly name: "setMaxTriggersPerBlock";
|
|
847
|
+
readonly outputs: readonly [];
|
|
848
|
+
readonly stateMutability: "nonpayable";
|
|
849
|
+
readonly type: "function";
|
|
850
|
+
}, {
|
|
851
|
+
readonly inputs: readonly [{
|
|
852
|
+
readonly internalType: "uint256";
|
|
853
|
+
readonly name: "_minTriggerPeriodForLimitOrders";
|
|
854
|
+
readonly type: "uint256";
|
|
855
|
+
}];
|
|
856
|
+
readonly name: "setMinTriggerPeriodForLimitOrders";
|
|
857
|
+
readonly outputs: readonly [];
|
|
858
|
+
readonly stateMutability: "nonpayable";
|
|
859
|
+
readonly type: "function";
|
|
860
|
+
}, {
|
|
861
|
+
readonly inputs: readonly [{
|
|
862
|
+
readonly internalType: "uint256";
|
|
863
|
+
readonly name: "_minTriggerPeriodForMarketOrders";
|
|
864
|
+
readonly type: "uint256";
|
|
865
|
+
}];
|
|
866
|
+
readonly name: "setMinTriggerPeriodForMarketOrders";
|
|
867
|
+
readonly outputs: readonly [];
|
|
868
|
+
readonly stateMutability: "nonpayable";
|
|
869
|
+
readonly type: "function";
|
|
870
|
+
}, {
|
|
871
|
+
readonly inputs: readonly [{
|
|
872
|
+
readonly internalType: "uint256";
|
|
873
|
+
readonly name: "_openPositionCancellationFeeFraction";
|
|
874
|
+
readonly type: "uint256";
|
|
875
|
+
}];
|
|
876
|
+
readonly name: "setOpenPositionCancellationFeeFraction";
|
|
877
|
+
readonly outputs: readonly [];
|
|
878
|
+
readonly stateMutability: "nonpayable";
|
|
879
|
+
readonly type: "function";
|
|
880
|
+
}, {
|
|
881
|
+
readonly inputs: readonly [{
|
|
882
|
+
readonly internalType: "address";
|
|
883
|
+
readonly name: "_priceValidator";
|
|
884
|
+
readonly type: "address";
|
|
885
|
+
}];
|
|
886
|
+
readonly name: "setPriceValidator";
|
|
887
|
+
readonly outputs: readonly [];
|
|
888
|
+
readonly stateMutability: "nonpayable";
|
|
889
|
+
readonly type: "function";
|
|
890
|
+
}, {
|
|
891
|
+
readonly inputs: readonly [{
|
|
892
|
+
readonly internalType: "uint256";
|
|
893
|
+
readonly name: "pairId";
|
|
894
|
+
readonly type: "uint256";
|
|
895
|
+
}, {
|
|
896
|
+
readonly internalType: "uint32";
|
|
897
|
+
readonly name: "spreadFraction";
|
|
898
|
+
readonly type: "uint32";
|
|
899
|
+
}];
|
|
900
|
+
readonly name: "setSpreadFractionForPair";
|
|
901
|
+
readonly outputs: readonly [];
|
|
902
|
+
readonly stateMutability: "nonpayable";
|
|
903
|
+
readonly type: "function";
|
|
904
|
+
}, {
|
|
905
|
+
readonly inputs: readonly [{
|
|
906
|
+
readonly internalType: "uint256";
|
|
907
|
+
readonly name: "_triggerPriceFreshnessTimeRange";
|
|
908
|
+
readonly type: "uint256";
|
|
909
|
+
}];
|
|
910
|
+
readonly name: "setTriggerPriceFreshnessTimeRange";
|
|
911
|
+
readonly outputs: readonly [];
|
|
912
|
+
readonly stateMutability: "nonpayable";
|
|
913
|
+
readonly type: "function";
|
|
914
|
+
}, {
|
|
915
|
+
readonly inputs: readonly [{
|
|
916
|
+
readonly internalType: "uint256";
|
|
917
|
+
readonly name: "";
|
|
918
|
+
readonly type: "uint256";
|
|
919
|
+
}];
|
|
920
|
+
readonly name: "spreadFractionForPair";
|
|
921
|
+
readonly outputs: readonly [{
|
|
922
|
+
readonly internalType: "uint32";
|
|
923
|
+
readonly name: "";
|
|
924
|
+
readonly type: "uint32";
|
|
925
|
+
}];
|
|
926
|
+
readonly stateMutability: "view";
|
|
927
|
+
readonly type: "function";
|
|
928
|
+
}, {
|
|
929
|
+
readonly inputs: readonly [];
|
|
930
|
+
readonly name: "toggleDone";
|
|
931
|
+
readonly outputs: readonly [];
|
|
932
|
+
readonly stateMutability: "nonpayable";
|
|
933
|
+
readonly type: "function";
|
|
934
|
+
}, {
|
|
935
|
+
readonly inputs: readonly [];
|
|
936
|
+
readonly name: "togglePause";
|
|
937
|
+
readonly outputs: readonly [];
|
|
938
|
+
readonly stateMutability: "nonpayable";
|
|
939
|
+
readonly type: "function";
|
|
940
|
+
}, {
|
|
941
|
+
readonly inputs: readonly [];
|
|
942
|
+
readonly name: "tradingFloor";
|
|
943
|
+
readonly outputs: readonly [{
|
|
944
|
+
readonly internalType: "contract ITradingFloorV1";
|
|
945
|
+
readonly name: "";
|
|
946
|
+
readonly type: "address";
|
|
947
|
+
}];
|
|
948
|
+
readonly stateMutability: "view";
|
|
949
|
+
readonly type: "function";
|
|
950
|
+
}, {
|
|
951
|
+
readonly inputs: readonly [];
|
|
952
|
+
readonly name: "triggerPriceFreshnessTimeRange";
|
|
953
|
+
readonly outputs: readonly [{
|
|
954
|
+
readonly internalType: "uint256";
|
|
955
|
+
readonly name: "";
|
|
956
|
+
readonly type: "uint256";
|
|
957
|
+
}];
|
|
958
|
+
readonly stateMutability: "view";
|
|
959
|
+
readonly type: "function";
|
|
960
|
+
}, {
|
|
961
|
+
readonly inputs: readonly [{
|
|
962
|
+
readonly internalType: "bytes32";
|
|
963
|
+
readonly name: "_positionId";
|
|
964
|
+
readonly type: "bytes32";
|
|
965
|
+
}, {
|
|
966
|
+
readonly internalType: "bytes[]";
|
|
967
|
+
readonly name: "pricePayload";
|
|
968
|
+
readonly type: "bytes[]";
|
|
969
|
+
}];
|
|
970
|
+
readonly name: "trigger_closeTrade_LIQ";
|
|
971
|
+
readonly outputs: readonly [];
|
|
972
|
+
readonly stateMutability: "payable";
|
|
973
|
+
readonly type: "function";
|
|
974
|
+
}, {
|
|
975
|
+
readonly inputs: readonly [{
|
|
976
|
+
readonly internalType: "bytes32";
|
|
977
|
+
readonly name: "_positionId";
|
|
978
|
+
readonly type: "bytes32";
|
|
979
|
+
}, {
|
|
980
|
+
readonly internalType: "bytes[]";
|
|
981
|
+
readonly name: "pricePayload";
|
|
982
|
+
readonly type: "bytes[]";
|
|
983
|
+
}];
|
|
984
|
+
readonly name: "trigger_closeTrade_SL";
|
|
985
|
+
readonly outputs: readonly [];
|
|
986
|
+
readonly stateMutability: "payable";
|
|
987
|
+
readonly type: "function";
|
|
988
|
+
}, {
|
|
989
|
+
readonly inputs: readonly [{
|
|
990
|
+
readonly internalType: "bytes32";
|
|
991
|
+
readonly name: "_positionId";
|
|
992
|
+
readonly type: "bytes32";
|
|
993
|
+
}, {
|
|
994
|
+
readonly internalType: "bytes[]";
|
|
995
|
+
readonly name: "pricePayload";
|
|
996
|
+
readonly type: "bytes[]";
|
|
997
|
+
}];
|
|
998
|
+
readonly name: "trigger_closeTrade_TP";
|
|
999
|
+
readonly outputs: readonly [];
|
|
1000
|
+
readonly stateMutability: "payable";
|
|
1001
|
+
readonly type: "function";
|
|
1002
|
+
}, {
|
|
1003
|
+
readonly inputs: readonly [{
|
|
1004
|
+
readonly internalType: "bytes32";
|
|
1005
|
+
readonly name: "_positionId";
|
|
1006
|
+
readonly type: "bytes32";
|
|
1007
|
+
}, {
|
|
1008
|
+
readonly internalType: "bytes[]";
|
|
1009
|
+
readonly name: "pricePayload";
|
|
1010
|
+
readonly type: "bytes[]";
|
|
1011
|
+
}];
|
|
1012
|
+
readonly name: "trigger_closeTrade_market";
|
|
1013
|
+
readonly outputs: readonly [];
|
|
1014
|
+
readonly stateMutability: "payable";
|
|
1015
|
+
readonly type: "function";
|
|
1016
|
+
}, {
|
|
1017
|
+
readonly inputs: readonly [{
|
|
1018
|
+
readonly internalType: "bytes32";
|
|
1019
|
+
readonly name: "_positionId";
|
|
1020
|
+
readonly type: "bytes32";
|
|
1021
|
+
}, {
|
|
1022
|
+
readonly internalType: "bytes[]";
|
|
1023
|
+
readonly name: "pricePayload";
|
|
1024
|
+
readonly type: "bytes[]";
|
|
1025
|
+
}];
|
|
1026
|
+
readonly name: "trigger_openTrade_limit";
|
|
1027
|
+
readonly outputs: readonly [];
|
|
1028
|
+
readonly stateMutability: "payable";
|
|
1029
|
+
readonly type: "function";
|
|
1030
|
+
}, {
|
|
1031
|
+
readonly inputs: readonly [{
|
|
1032
|
+
readonly internalType: "bytes32";
|
|
1033
|
+
readonly name: "_positionId";
|
|
1034
|
+
readonly type: "bytes32";
|
|
1035
|
+
}, {
|
|
1036
|
+
readonly internalType: "bytes[]";
|
|
1037
|
+
readonly name: "pricePayload";
|
|
1038
|
+
readonly type: "bytes[]";
|
|
1039
|
+
}];
|
|
1040
|
+
readonly name: "trigger_openTrade_market";
|
|
1041
|
+
readonly outputs: readonly [];
|
|
1042
|
+
readonly stateMutability: "payable";
|
|
1043
|
+
readonly type: "function";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly inputs: readonly [{
|
|
1046
|
+
readonly internalType: "bytes32";
|
|
1047
|
+
readonly name: "_positionId";
|
|
1048
|
+
readonly type: "bytes32";
|
|
1049
|
+
}];
|
|
1050
|
+
readonly name: "trigger_timeout_marketClose";
|
|
1051
|
+
readonly outputs: readonly [];
|
|
1052
|
+
readonly stateMutability: "nonpayable";
|
|
1053
|
+
readonly type: "function";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly inputs: readonly [{
|
|
1056
|
+
readonly internalType: "bytes32";
|
|
1057
|
+
readonly name: "_positionId";
|
|
1058
|
+
readonly type: "bytes32";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly name: "trigger_timeout_marketOpen";
|
|
1061
|
+
readonly outputs: readonly [];
|
|
1062
|
+
readonly stateMutability: "nonpayable";
|
|
1063
|
+
readonly type: "function";
|
|
1064
|
+
}, {
|
|
1065
|
+
readonly inputs: readonly [{
|
|
1066
|
+
readonly internalType: "bytes32";
|
|
1067
|
+
readonly name: "_positionId";
|
|
1068
|
+
readonly type: "bytes32";
|
|
1069
|
+
}];
|
|
1070
|
+
readonly name: "trigger_timeout_updatePosition";
|
|
1071
|
+
readonly outputs: readonly [];
|
|
1072
|
+
readonly stateMutability: "nonpayable";
|
|
1073
|
+
readonly type: "function";
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly inputs: readonly [{
|
|
1076
|
+
readonly internalType: "bytes32";
|
|
1077
|
+
readonly name: "_positionId";
|
|
1078
|
+
readonly type: "bytes32";
|
|
1079
|
+
}, {
|
|
1080
|
+
readonly internalType: "bytes[]";
|
|
1081
|
+
readonly name: "pricePayload";
|
|
1082
|
+
readonly type: "bytes[]";
|
|
1083
|
+
}];
|
|
1084
|
+
readonly name: "trigger_update_SL";
|
|
1085
|
+
readonly outputs: readonly [];
|
|
1086
|
+
readonly stateMutability: "payable";
|
|
1087
|
+
readonly type: "function";
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly inputs: readonly [{
|
|
1090
|
+
readonly internalType: "bytes32";
|
|
1091
|
+
readonly name: "_positionId";
|
|
1092
|
+
readonly type: "bytes32";
|
|
1093
|
+
}, {
|
|
1094
|
+
readonly internalType: "bytes[]";
|
|
1095
|
+
readonly name: "pricePayload";
|
|
1096
|
+
readonly type: "bytes[]";
|
|
1097
|
+
}];
|
|
1098
|
+
readonly name: "trigger_update_TP";
|
|
1099
|
+
readonly outputs: readonly [];
|
|
1100
|
+
readonly stateMutability: "payable";
|
|
1101
|
+
readonly type: "function";
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly inputs: readonly [{
|
|
1104
|
+
readonly internalType: "bytes32";
|
|
1105
|
+
readonly name: "_positionId";
|
|
1106
|
+
readonly type: "bytes32";
|
|
1107
|
+
}, {
|
|
1108
|
+
readonly internalType: "bytes[]";
|
|
1109
|
+
readonly name: "pricePayload";
|
|
1110
|
+
readonly type: "bytes[]";
|
|
1111
|
+
}];
|
|
1112
|
+
readonly name: "trigger_update_TP_and_SL";
|
|
1113
|
+
readonly outputs: readonly [];
|
|
1114
|
+
readonly stateMutability: "payable";
|
|
1115
|
+
readonly type: "function";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly inputs: readonly [{
|
|
1118
|
+
readonly internalType: "uint256";
|
|
1119
|
+
readonly name: "";
|
|
1120
|
+
readonly type: "uint256";
|
|
1121
|
+
}];
|
|
1122
|
+
readonly name: "triggersPerBlock";
|
|
1123
|
+
readonly outputs: readonly [{
|
|
1124
|
+
readonly internalType: "uint256";
|
|
1125
|
+
readonly name: "";
|
|
1126
|
+
readonly type: "uint256";
|
|
1127
|
+
}];
|
|
1128
|
+
readonly stateMutability: "view";
|
|
1129
|
+
readonly type: "function";
|
|
1130
|
+
}];
|
|
1131
|
+
static createInterface(): TriggersV1Interface;
|
|
1132
|
+
static connect(address: string, runner?: ContractRunner | null): TriggersV1;
|
|
1133
|
+
}
|
|
1134
|
+
export {};
|
|
1135
|
+
//# sourceMappingURL=TriggersV1__factory.d.ts.map
|