lynx-client 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/cjs/index.js +12 -0
- package/dist/cjs/lib/addresses/lensAddresses.js +16 -16
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +91 -0
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
- package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +70 -0
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +99 -0
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
- package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
- package/dist/cjs/lib/contractsIntegration/TradingFloorService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +45 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1129 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +870 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1561 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +78 -6
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +297 -80
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
- package/dist/esm/index.d.ts +10 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +12 -0
- package/dist/esm/lib/addresses/lensAddresses.d.ts +16 -16
- package/dist/esm/lib/addresses/lensAddresses.js +16 -16
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +91 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.js +2 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.js +2 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +70 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.js +2 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +99 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
- package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
- package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradingFloorService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +45 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
- package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +150 -59
- package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
- package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
- package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1129 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +870 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1561 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +60 -5
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +78 -6
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +226 -64
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +297 -80
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/addresses/lensAddresses.d.ts +16 -16
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
- package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
- package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
- package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
- package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
- package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
- package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
- package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
- package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +150 -59
- package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
- package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
- package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +60 -5
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +226 -64
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
- package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1084 @@
|
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../../common";
|
|
3
|
+
export interface LexPoolV1Interface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "ACCURACY_IMPROVEMENT_SCALE" | "FRACTION_SCALE" | "LEVERAGE_SCALE" | "PRECISION" | "SELF_UNIT_SCALE" | "_become" | "admin" | "allowance" | "approve" | "balanceOf" | "calcNextEpochStartMin" | "cancelDeposits" | "cancelRedeems" | "currentBalanceInternal" | "currentEpoch" | "currentExchangeRate" | "currentVirtualUtilization()" | "currentVirtualUtilization(uint256,uint256,int256)" | "decimals" | "epochDuration" | "epochsDelayDeposit" | "epochsDelayRedeem" | "getDepositors" | "getDepositorsCount" | "getRedeemers" | "getRedeemersCount" | "immediateDeposit" | "immediateDepositAllowed" | "implementation" | "initialize" | "initializeLexCommon" | "initializeLexERC20" | "isUtilizationForLPsValid" | "maxExtraWithdrawalAmountF" | "minDepositAmount" | "name" | "nextEpoch" | "nextEpochStartMin" | "pendingAdmin" | "pendingDepositAmount" | "pendingDepositorsArr" | "pendingDeposits" | "pendingImplementation" | "pendingRedeemersArr" | "pendingRedeems" | "pendingWithdrawalAmount" | "pnlRole" | "poolAccountant" | "processDeposit" | "processRedeems" | "reduceReserves" | "registry" | "requestDeposit" | "requestDepositViaIntent" | "requestRedeem" | "requestRedeemViaIntent" | "sendAssetToTrader" | "setEpochDuration" | "setEpochsDelayDeposit" | "setEpochsDelayRedeem" | "setMaxExtraWithdrawalAmountF" | "setMinDepositAmount" | "setPnlRole" | "setPoolAccountant" | "symbol" | "toggleImmediateDepositAllowed" | "totalSupply" | "tradingFloor" | "transfer" | "transferFrom" | "underlying" | "underlyingAmountToOwnAmount" | "underlyingBalanceForExchangeRate" | "underlyingDecimals" | "virtualBalanceForUtilization(uint256,int256)" | "virtualBalanceForUtilization()"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AddressUpdated" | "Approval" | "CanceledDeposit" | "CanceledRedeem" | "DepositRequest" | "ImmediateDeposit" | "ImmediateDepositAllowedToggled" | "LiquidityProvided" | "NewEpoch" | "NumberUpdated" | "PositionRequested" | "ProcessedDeposit" | "ProcessedRedeem" | "RedeemRequest" | "ReservesWithdrawn" | "Transfer"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "ACCURACY_IMPROVEMENT_SCALE", values?: undefined): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "FRACTION_SCALE", values?: undefined): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "LEVERAGE_SCALE", values?: undefined): string;
|
|
9
|
+
encodeFunctionData(functionFragment: "PRECISION", values?: undefined): string;
|
|
10
|
+
encodeFunctionData(functionFragment: "SELF_UNIT_SCALE", values?: undefined): string;
|
|
11
|
+
encodeFunctionData(functionFragment: "_become", values: [AddressLike]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "admin", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "allowance", values: [AddressLike, AddressLike]): string;
|
|
14
|
+
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
15
|
+
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
16
|
+
encodeFunctionData(functionFragment: "calcNextEpochStartMin", values?: undefined): string;
|
|
17
|
+
encodeFunctionData(functionFragment: "cancelDeposits", values: [AddressLike[], BigNumberish[]]): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "cancelRedeems", values: [AddressLike[], BigNumberish[]]): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "currentBalanceInternal", values?: undefined): string;
|
|
20
|
+
encodeFunctionData(functionFragment: "currentEpoch", values?: undefined): string;
|
|
21
|
+
encodeFunctionData(functionFragment: "currentExchangeRate", values?: undefined): string;
|
|
22
|
+
encodeFunctionData(functionFragment: "currentVirtualUtilization()", values?: undefined): string;
|
|
23
|
+
encodeFunctionData(functionFragment: "currentVirtualUtilization(uint256,uint256,int256)", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
24
|
+
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "epochDuration", values?: undefined): string;
|
|
26
|
+
encodeFunctionData(functionFragment: "epochsDelayDeposit", values?: undefined): string;
|
|
27
|
+
encodeFunctionData(functionFragment: "epochsDelayRedeem", values?: undefined): string;
|
|
28
|
+
encodeFunctionData(functionFragment: "getDepositors", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "getDepositorsCount", values: [BigNumberish]): string;
|
|
30
|
+
encodeFunctionData(functionFragment: "getRedeemers", values: [BigNumberish, BigNumberish, BigNumberish]): string;
|
|
31
|
+
encodeFunctionData(functionFragment: "getRedeemersCount", values: [BigNumberish]): string;
|
|
32
|
+
encodeFunctionData(functionFragment: "immediateDeposit", values: [BigNumberish, BytesLike, BytesLike]): string;
|
|
33
|
+
encodeFunctionData(functionFragment: "immediateDepositAllowed", values?: undefined): string;
|
|
34
|
+
encodeFunctionData(functionFragment: "implementation", values?: undefined): string;
|
|
35
|
+
encodeFunctionData(functionFragment: "initialize", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
36
|
+
encodeFunctionData(functionFragment: "initializeLexCommon", values: [AddressLike, AddressLike]): string;
|
|
37
|
+
encodeFunctionData(functionFragment: "initializeLexERC20", values: [string, string]): string;
|
|
38
|
+
encodeFunctionData(functionFragment: "isUtilizationForLPsValid", values?: undefined): string;
|
|
39
|
+
encodeFunctionData(functionFragment: "maxExtraWithdrawalAmountF", values?: undefined): string;
|
|
40
|
+
encodeFunctionData(functionFragment: "minDepositAmount", values?: undefined): string;
|
|
41
|
+
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
42
|
+
encodeFunctionData(functionFragment: "nextEpoch", values: [BigNumberish]): string;
|
|
43
|
+
encodeFunctionData(functionFragment: "nextEpochStartMin", values?: undefined): string;
|
|
44
|
+
encodeFunctionData(functionFragment: "pendingAdmin", values?: undefined): string;
|
|
45
|
+
encodeFunctionData(functionFragment: "pendingDepositAmount", values?: undefined): string;
|
|
46
|
+
encodeFunctionData(functionFragment: "pendingDepositorsArr", values: [BigNumberish, BigNumberish]): string;
|
|
47
|
+
encodeFunctionData(functionFragment: "pendingDeposits", values: [BigNumberish, AddressLike]): string;
|
|
48
|
+
encodeFunctionData(functionFragment: "pendingImplementation", values?: undefined): string;
|
|
49
|
+
encodeFunctionData(functionFragment: "pendingRedeemersArr", values: [BigNumberish, BigNumberish]): string;
|
|
50
|
+
encodeFunctionData(functionFragment: "pendingRedeems", values: [BigNumberish, AddressLike]): string;
|
|
51
|
+
encodeFunctionData(functionFragment: "pendingWithdrawalAmount", values?: undefined): string;
|
|
52
|
+
encodeFunctionData(functionFragment: "pnlRole", values?: undefined): string;
|
|
53
|
+
encodeFunctionData(functionFragment: "poolAccountant", values?: undefined): string;
|
|
54
|
+
encodeFunctionData(functionFragment: "processDeposit", values: [AddressLike[]]): string;
|
|
55
|
+
encodeFunctionData(functionFragment: "processRedeems", values: [AddressLike[]]): string;
|
|
56
|
+
encodeFunctionData(functionFragment: "reduceReserves", values: [AddressLike]): string;
|
|
57
|
+
encodeFunctionData(functionFragment: "registry", values?: undefined): string;
|
|
58
|
+
encodeFunctionData(functionFragment: "requestDeposit", values: [BigNumberish, BigNumberish, BytesLike, BytesLike]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "requestDepositViaIntent", values: [AddressLike, BigNumberish, BigNumberish, BytesLike, BytesLike]): string;
|
|
60
|
+
encodeFunctionData(functionFragment: "requestRedeem", values: [BigNumberish, BigNumberish]): string;
|
|
61
|
+
encodeFunctionData(functionFragment: "requestRedeemViaIntent", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
62
|
+
encodeFunctionData(functionFragment: "sendAssetToTrader", values: [AddressLike, BigNumberish]): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "setEpochDuration", values: [BigNumberish]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "setEpochsDelayDeposit", values: [BigNumberish]): string;
|
|
65
|
+
encodeFunctionData(functionFragment: "setEpochsDelayRedeem", values: [BigNumberish]): string;
|
|
66
|
+
encodeFunctionData(functionFragment: "setMaxExtraWithdrawalAmountF", values: [BigNumberish]): string;
|
|
67
|
+
encodeFunctionData(functionFragment: "setMinDepositAmount", values: [BigNumberish]): string;
|
|
68
|
+
encodeFunctionData(functionFragment: "setPnlRole", values: [AddressLike]): string;
|
|
69
|
+
encodeFunctionData(functionFragment: "setPoolAccountant", values: [AddressLike]): string;
|
|
70
|
+
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
71
|
+
encodeFunctionData(functionFragment: "toggleImmediateDepositAllowed", values?: undefined): string;
|
|
72
|
+
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
73
|
+
encodeFunctionData(functionFragment: "tradingFloor", values?: undefined): string;
|
|
74
|
+
encodeFunctionData(functionFragment: "transfer", values: [AddressLike, BigNumberish]): string;
|
|
75
|
+
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
76
|
+
encodeFunctionData(functionFragment: "underlying", values?: undefined): string;
|
|
77
|
+
encodeFunctionData(functionFragment: "underlyingAmountToOwnAmount", values: [BigNumberish]): string;
|
|
78
|
+
encodeFunctionData(functionFragment: "underlyingBalanceForExchangeRate", values?: undefined): string;
|
|
79
|
+
encodeFunctionData(functionFragment: "underlyingDecimals", values?: undefined): string;
|
|
80
|
+
encodeFunctionData(functionFragment: "virtualBalanceForUtilization(uint256,int256)", values: [BigNumberish, BigNumberish]): string;
|
|
81
|
+
encodeFunctionData(functionFragment: "virtualBalanceForUtilization()", values?: undefined): string;
|
|
82
|
+
decodeFunctionResult(functionFragment: "ACCURACY_IMPROVEMENT_SCALE", data: BytesLike): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: "FRACTION_SCALE", data: BytesLike): Result;
|
|
84
|
+
decodeFunctionResult(functionFragment: "LEVERAGE_SCALE", data: BytesLike): Result;
|
|
85
|
+
decodeFunctionResult(functionFragment: "PRECISION", data: BytesLike): Result;
|
|
86
|
+
decodeFunctionResult(functionFragment: "SELF_UNIT_SCALE", data: BytesLike): Result;
|
|
87
|
+
decodeFunctionResult(functionFragment: "_become", data: BytesLike): Result;
|
|
88
|
+
decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
|
|
89
|
+
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
91
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
92
|
+
decodeFunctionResult(functionFragment: "calcNextEpochStartMin", data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: "cancelDeposits", data: BytesLike): Result;
|
|
94
|
+
decodeFunctionResult(functionFragment: "cancelRedeems", data: BytesLike): Result;
|
|
95
|
+
decodeFunctionResult(functionFragment: "currentBalanceInternal", data: BytesLike): Result;
|
|
96
|
+
decodeFunctionResult(functionFragment: "currentEpoch", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "currentExchangeRate", data: BytesLike): Result;
|
|
98
|
+
decodeFunctionResult(functionFragment: "currentVirtualUtilization()", data: BytesLike): Result;
|
|
99
|
+
decodeFunctionResult(functionFragment: "currentVirtualUtilization(uint256,uint256,int256)", data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
101
|
+
decodeFunctionResult(functionFragment: "epochDuration", data: BytesLike): Result;
|
|
102
|
+
decodeFunctionResult(functionFragment: "epochsDelayDeposit", data: BytesLike): Result;
|
|
103
|
+
decodeFunctionResult(functionFragment: "epochsDelayRedeem", data: BytesLike): Result;
|
|
104
|
+
decodeFunctionResult(functionFragment: "getDepositors", data: BytesLike): Result;
|
|
105
|
+
decodeFunctionResult(functionFragment: "getDepositorsCount", data: BytesLike): Result;
|
|
106
|
+
decodeFunctionResult(functionFragment: "getRedeemers", data: BytesLike): Result;
|
|
107
|
+
decodeFunctionResult(functionFragment: "getRedeemersCount", data: BytesLike): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: "immediateDeposit", data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "immediateDepositAllowed", data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(functionFragment: "implementation", data: BytesLike): Result;
|
|
111
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
112
|
+
decodeFunctionResult(functionFragment: "initializeLexCommon", data: BytesLike): Result;
|
|
113
|
+
decodeFunctionResult(functionFragment: "initializeLexERC20", data: BytesLike): Result;
|
|
114
|
+
decodeFunctionResult(functionFragment: "isUtilizationForLPsValid", data: BytesLike): Result;
|
|
115
|
+
decodeFunctionResult(functionFragment: "maxExtraWithdrawalAmountF", data: BytesLike): Result;
|
|
116
|
+
decodeFunctionResult(functionFragment: "minDepositAmount", data: BytesLike): Result;
|
|
117
|
+
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
118
|
+
decodeFunctionResult(functionFragment: "nextEpoch", data: BytesLike): Result;
|
|
119
|
+
decodeFunctionResult(functionFragment: "nextEpochStartMin", data: BytesLike): Result;
|
|
120
|
+
decodeFunctionResult(functionFragment: "pendingAdmin", data: BytesLike): Result;
|
|
121
|
+
decodeFunctionResult(functionFragment: "pendingDepositAmount", data: BytesLike): Result;
|
|
122
|
+
decodeFunctionResult(functionFragment: "pendingDepositorsArr", data: BytesLike): Result;
|
|
123
|
+
decodeFunctionResult(functionFragment: "pendingDeposits", data: BytesLike): Result;
|
|
124
|
+
decodeFunctionResult(functionFragment: "pendingImplementation", data: BytesLike): Result;
|
|
125
|
+
decodeFunctionResult(functionFragment: "pendingRedeemersArr", data: BytesLike): Result;
|
|
126
|
+
decodeFunctionResult(functionFragment: "pendingRedeems", data: BytesLike): Result;
|
|
127
|
+
decodeFunctionResult(functionFragment: "pendingWithdrawalAmount", data: BytesLike): Result;
|
|
128
|
+
decodeFunctionResult(functionFragment: "pnlRole", data: BytesLike): Result;
|
|
129
|
+
decodeFunctionResult(functionFragment: "poolAccountant", data: BytesLike): Result;
|
|
130
|
+
decodeFunctionResult(functionFragment: "processDeposit", data: BytesLike): Result;
|
|
131
|
+
decodeFunctionResult(functionFragment: "processRedeems", data: BytesLike): Result;
|
|
132
|
+
decodeFunctionResult(functionFragment: "reduceReserves", data: BytesLike): Result;
|
|
133
|
+
decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result;
|
|
134
|
+
decodeFunctionResult(functionFragment: "requestDeposit", data: BytesLike): Result;
|
|
135
|
+
decodeFunctionResult(functionFragment: "requestDepositViaIntent", data: BytesLike): Result;
|
|
136
|
+
decodeFunctionResult(functionFragment: "requestRedeem", data: BytesLike): Result;
|
|
137
|
+
decodeFunctionResult(functionFragment: "requestRedeemViaIntent", data: BytesLike): Result;
|
|
138
|
+
decodeFunctionResult(functionFragment: "sendAssetToTrader", data: BytesLike): Result;
|
|
139
|
+
decodeFunctionResult(functionFragment: "setEpochDuration", data: BytesLike): Result;
|
|
140
|
+
decodeFunctionResult(functionFragment: "setEpochsDelayDeposit", data: BytesLike): Result;
|
|
141
|
+
decodeFunctionResult(functionFragment: "setEpochsDelayRedeem", data: BytesLike): Result;
|
|
142
|
+
decodeFunctionResult(functionFragment: "setMaxExtraWithdrawalAmountF", data: BytesLike): Result;
|
|
143
|
+
decodeFunctionResult(functionFragment: "setMinDepositAmount", data: BytesLike): Result;
|
|
144
|
+
decodeFunctionResult(functionFragment: "setPnlRole", data: BytesLike): Result;
|
|
145
|
+
decodeFunctionResult(functionFragment: "setPoolAccountant", data: BytesLike): Result;
|
|
146
|
+
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
147
|
+
decodeFunctionResult(functionFragment: "toggleImmediateDepositAllowed", data: BytesLike): Result;
|
|
148
|
+
decodeFunctionResult(functionFragment: "totalSupply", data: BytesLike): Result;
|
|
149
|
+
decodeFunctionResult(functionFragment: "tradingFloor", data: BytesLike): Result;
|
|
150
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
151
|
+
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
152
|
+
decodeFunctionResult(functionFragment: "underlying", data: BytesLike): Result;
|
|
153
|
+
decodeFunctionResult(functionFragment: "underlyingAmountToOwnAmount", data: BytesLike): Result;
|
|
154
|
+
decodeFunctionResult(functionFragment: "underlyingBalanceForExchangeRate", data: BytesLike): Result;
|
|
155
|
+
decodeFunctionResult(functionFragment: "underlyingDecimals", data: BytesLike): Result;
|
|
156
|
+
decodeFunctionResult(functionFragment: "virtualBalanceForUtilization(uint256,int256)", data: BytesLike): Result;
|
|
157
|
+
decodeFunctionResult(functionFragment: "virtualBalanceForUtilization()", data: BytesLike): Result;
|
|
158
|
+
}
|
|
159
|
+
export declare namespace AddressUpdatedEvent {
|
|
160
|
+
type InputTuple = [enumCode: BigNumberish, a: AddressLike];
|
|
161
|
+
type OutputTuple = [enumCode: bigint, a: string];
|
|
162
|
+
interface OutputObject {
|
|
163
|
+
enumCode: bigint;
|
|
164
|
+
a: string;
|
|
165
|
+
}
|
|
166
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
167
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
168
|
+
type Log = TypedEventLog<Event>;
|
|
169
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
170
|
+
}
|
|
171
|
+
export declare namespace ApprovalEvent {
|
|
172
|
+
type InputTuple = [
|
|
173
|
+
owner: AddressLike,
|
|
174
|
+
spender: AddressLike,
|
|
175
|
+
value: BigNumberish
|
|
176
|
+
];
|
|
177
|
+
type OutputTuple = [owner: string, spender: string, value: bigint];
|
|
178
|
+
interface OutputObject {
|
|
179
|
+
owner: string;
|
|
180
|
+
spender: string;
|
|
181
|
+
value: bigint;
|
|
182
|
+
}
|
|
183
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
184
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
185
|
+
type Log = TypedEventLog<Event>;
|
|
186
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
187
|
+
}
|
|
188
|
+
export declare namespace CanceledDepositEvent {
|
|
189
|
+
type InputTuple = [
|
|
190
|
+
user: AddressLike,
|
|
191
|
+
epoch: BigNumberish,
|
|
192
|
+
cancelledAmount: BigNumberish
|
|
193
|
+
];
|
|
194
|
+
type OutputTuple = [
|
|
195
|
+
user: string,
|
|
196
|
+
epoch: bigint,
|
|
197
|
+
cancelledAmount: bigint
|
|
198
|
+
];
|
|
199
|
+
interface OutputObject {
|
|
200
|
+
user: string;
|
|
201
|
+
epoch: bigint;
|
|
202
|
+
cancelledAmount: bigint;
|
|
203
|
+
}
|
|
204
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
205
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
206
|
+
type Log = TypedEventLog<Event>;
|
|
207
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
208
|
+
}
|
|
209
|
+
export declare namespace CanceledRedeemEvent {
|
|
210
|
+
type InputTuple = [
|
|
211
|
+
user: AddressLike,
|
|
212
|
+
epoch: BigNumberish,
|
|
213
|
+
cancelledAmount: BigNumberish
|
|
214
|
+
];
|
|
215
|
+
type OutputTuple = [
|
|
216
|
+
user: string,
|
|
217
|
+
epoch: bigint,
|
|
218
|
+
cancelledAmount: bigint
|
|
219
|
+
];
|
|
220
|
+
interface OutputObject {
|
|
221
|
+
user: string;
|
|
222
|
+
epoch: bigint;
|
|
223
|
+
cancelledAmount: bigint;
|
|
224
|
+
}
|
|
225
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
226
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
227
|
+
type Log = TypedEventLog<Event>;
|
|
228
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
229
|
+
}
|
|
230
|
+
export declare namespace DepositRequestEvent {
|
|
231
|
+
type InputTuple = [
|
|
232
|
+
user: AddressLike,
|
|
233
|
+
amount: BigNumberish,
|
|
234
|
+
minAmountOut: BigNumberish,
|
|
235
|
+
processingEpoch: BigNumberish
|
|
236
|
+
];
|
|
237
|
+
type OutputTuple = [
|
|
238
|
+
user: string,
|
|
239
|
+
amount: bigint,
|
|
240
|
+
minAmountOut: bigint,
|
|
241
|
+
processingEpoch: bigint
|
|
242
|
+
];
|
|
243
|
+
interface OutputObject {
|
|
244
|
+
user: string;
|
|
245
|
+
amount: bigint;
|
|
246
|
+
minAmountOut: bigint;
|
|
247
|
+
processingEpoch: bigint;
|
|
248
|
+
}
|
|
249
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
250
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
251
|
+
type Log = TypedEventLog<Event>;
|
|
252
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
253
|
+
}
|
|
254
|
+
export declare namespace ImmediateDepositEvent {
|
|
255
|
+
type InputTuple = [
|
|
256
|
+
depositor: AddressLike,
|
|
257
|
+
depositAmount: BigNumberish,
|
|
258
|
+
mintAmount: BigNumberish
|
|
259
|
+
];
|
|
260
|
+
type OutputTuple = [
|
|
261
|
+
depositor: string,
|
|
262
|
+
depositAmount: bigint,
|
|
263
|
+
mintAmount: bigint
|
|
264
|
+
];
|
|
265
|
+
interface OutputObject {
|
|
266
|
+
depositor: string;
|
|
267
|
+
depositAmount: bigint;
|
|
268
|
+
mintAmount: bigint;
|
|
269
|
+
}
|
|
270
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
271
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
272
|
+
type Log = TypedEventLog<Event>;
|
|
273
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
274
|
+
}
|
|
275
|
+
export declare namespace ImmediateDepositAllowedToggledEvent {
|
|
276
|
+
type InputTuple = [value: boolean];
|
|
277
|
+
type OutputTuple = [value: boolean];
|
|
278
|
+
interface OutputObject {
|
|
279
|
+
value: boolean;
|
|
280
|
+
}
|
|
281
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
282
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
283
|
+
type Log = TypedEventLog<Event>;
|
|
284
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
285
|
+
}
|
|
286
|
+
export declare namespace LiquidityProvidedEvent {
|
|
287
|
+
type InputTuple = [
|
|
288
|
+
domain: BytesLike,
|
|
289
|
+
referralCode: BytesLike,
|
|
290
|
+
user: AddressLike,
|
|
291
|
+
amountUnderlying: BigNumberish,
|
|
292
|
+
processingEpoch: BigNumberish
|
|
293
|
+
];
|
|
294
|
+
type OutputTuple = [
|
|
295
|
+
domain: string,
|
|
296
|
+
referralCode: string,
|
|
297
|
+
user: string,
|
|
298
|
+
amountUnderlying: bigint,
|
|
299
|
+
processingEpoch: bigint
|
|
300
|
+
];
|
|
301
|
+
interface OutputObject {
|
|
302
|
+
domain: string;
|
|
303
|
+
referralCode: string;
|
|
304
|
+
user: string;
|
|
305
|
+
amountUnderlying: bigint;
|
|
306
|
+
processingEpoch: bigint;
|
|
307
|
+
}
|
|
308
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
309
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
310
|
+
type Log = TypedEventLog<Event>;
|
|
311
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
312
|
+
}
|
|
313
|
+
export declare namespace NewEpochEvent {
|
|
314
|
+
type InputTuple = [
|
|
315
|
+
epochId: BigNumberish,
|
|
316
|
+
reportedUnrealizedPricePnL: BigNumberish,
|
|
317
|
+
exchangeRate: BigNumberish,
|
|
318
|
+
virtualUnderlyingBalance: BigNumberish,
|
|
319
|
+
totalSupply: BigNumberish
|
|
320
|
+
];
|
|
321
|
+
type OutputTuple = [
|
|
322
|
+
epochId: bigint,
|
|
323
|
+
reportedUnrealizedPricePnL: bigint,
|
|
324
|
+
exchangeRate: bigint,
|
|
325
|
+
virtualUnderlyingBalance: bigint,
|
|
326
|
+
totalSupply: bigint
|
|
327
|
+
];
|
|
328
|
+
interface OutputObject {
|
|
329
|
+
epochId: bigint;
|
|
330
|
+
reportedUnrealizedPricePnL: bigint;
|
|
331
|
+
exchangeRate: bigint;
|
|
332
|
+
virtualUnderlyingBalance: bigint;
|
|
333
|
+
totalSupply: bigint;
|
|
334
|
+
}
|
|
335
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
336
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
337
|
+
type Log = TypedEventLog<Event>;
|
|
338
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
339
|
+
}
|
|
340
|
+
export declare namespace NumberUpdatedEvent {
|
|
341
|
+
type InputTuple = [enumCode: BigNumberish, value: BigNumberish];
|
|
342
|
+
type OutputTuple = [enumCode: bigint, value: bigint];
|
|
343
|
+
interface OutputObject {
|
|
344
|
+
enumCode: bigint;
|
|
345
|
+
value: bigint;
|
|
346
|
+
}
|
|
347
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
348
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
349
|
+
type Log = TypedEventLog<Event>;
|
|
350
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
351
|
+
}
|
|
352
|
+
export declare namespace PositionRequestedEvent {
|
|
353
|
+
type InputTuple = [
|
|
354
|
+
domain: BytesLike,
|
|
355
|
+
referralCode: BytesLike,
|
|
356
|
+
positionId: BytesLike
|
|
357
|
+
];
|
|
358
|
+
type OutputTuple = [
|
|
359
|
+
domain: string,
|
|
360
|
+
referralCode: string,
|
|
361
|
+
positionId: string
|
|
362
|
+
];
|
|
363
|
+
interface OutputObject {
|
|
364
|
+
domain: string;
|
|
365
|
+
referralCode: string;
|
|
366
|
+
positionId: string;
|
|
367
|
+
}
|
|
368
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
369
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
370
|
+
type Log = TypedEventLog<Event>;
|
|
371
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
372
|
+
}
|
|
373
|
+
export declare namespace ProcessedDepositEvent {
|
|
374
|
+
type InputTuple = [
|
|
375
|
+
user: AddressLike,
|
|
376
|
+
deposited: boolean,
|
|
377
|
+
depositedAmount: BigNumberish
|
|
378
|
+
];
|
|
379
|
+
type OutputTuple = [
|
|
380
|
+
user: string,
|
|
381
|
+
deposited: boolean,
|
|
382
|
+
depositedAmount: bigint
|
|
383
|
+
];
|
|
384
|
+
interface OutputObject {
|
|
385
|
+
user: string;
|
|
386
|
+
deposited: boolean;
|
|
387
|
+
depositedAmount: bigint;
|
|
388
|
+
}
|
|
389
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
390
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
391
|
+
type Log = TypedEventLog<Event>;
|
|
392
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
393
|
+
}
|
|
394
|
+
export declare namespace ProcessedRedeemEvent {
|
|
395
|
+
type InputTuple = [
|
|
396
|
+
user: AddressLike,
|
|
397
|
+
redeemed: boolean,
|
|
398
|
+
withdrawnAmount: BigNumberish
|
|
399
|
+
];
|
|
400
|
+
type OutputTuple = [
|
|
401
|
+
user: string,
|
|
402
|
+
redeemed: boolean,
|
|
403
|
+
withdrawnAmount: bigint
|
|
404
|
+
];
|
|
405
|
+
interface OutputObject {
|
|
406
|
+
user: string;
|
|
407
|
+
redeemed: boolean;
|
|
408
|
+
withdrawnAmount: bigint;
|
|
409
|
+
}
|
|
410
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
411
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
412
|
+
type Log = TypedEventLog<Event>;
|
|
413
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
414
|
+
}
|
|
415
|
+
export declare namespace RedeemRequestEvent {
|
|
416
|
+
type InputTuple = [
|
|
417
|
+
user: AddressLike,
|
|
418
|
+
amount: BigNumberish,
|
|
419
|
+
minAmountOut: BigNumberish,
|
|
420
|
+
processingEpoch: BigNumberish
|
|
421
|
+
];
|
|
422
|
+
type OutputTuple = [
|
|
423
|
+
user: string,
|
|
424
|
+
amount: bigint,
|
|
425
|
+
minAmountOut: bigint,
|
|
426
|
+
processingEpoch: bigint
|
|
427
|
+
];
|
|
428
|
+
interface OutputObject {
|
|
429
|
+
user: string;
|
|
430
|
+
amount: bigint;
|
|
431
|
+
minAmountOut: bigint;
|
|
432
|
+
processingEpoch: bigint;
|
|
433
|
+
}
|
|
434
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
435
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
436
|
+
type Log = TypedEventLog<Event>;
|
|
437
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
438
|
+
}
|
|
439
|
+
export declare namespace ReservesWithdrawnEvent {
|
|
440
|
+
type InputTuple = [
|
|
441
|
+
_to: AddressLike,
|
|
442
|
+
interestShare: BigNumberish,
|
|
443
|
+
totalFundingShare: BigNumberish
|
|
444
|
+
];
|
|
445
|
+
type OutputTuple = [
|
|
446
|
+
_to: string,
|
|
447
|
+
interestShare: bigint,
|
|
448
|
+
totalFundingShare: bigint
|
|
449
|
+
];
|
|
450
|
+
interface OutputObject {
|
|
451
|
+
_to: string;
|
|
452
|
+
interestShare: bigint;
|
|
453
|
+
totalFundingShare: bigint;
|
|
454
|
+
}
|
|
455
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
456
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
457
|
+
type Log = TypedEventLog<Event>;
|
|
458
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
459
|
+
}
|
|
460
|
+
export declare namespace TransferEvent {
|
|
461
|
+
type InputTuple = [
|
|
462
|
+
from: AddressLike,
|
|
463
|
+
to: AddressLike,
|
|
464
|
+
value: BigNumberish
|
|
465
|
+
];
|
|
466
|
+
type OutputTuple = [from: string, to: string, value: bigint];
|
|
467
|
+
interface OutputObject {
|
|
468
|
+
from: string;
|
|
469
|
+
to: string;
|
|
470
|
+
value: bigint;
|
|
471
|
+
}
|
|
472
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
473
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
474
|
+
type Log = TypedEventLog<Event>;
|
|
475
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
476
|
+
}
|
|
477
|
+
export interface LexPoolV1 extends BaseContract {
|
|
478
|
+
connect(runner?: ContractRunner | null): LexPoolV1;
|
|
479
|
+
waitForDeployment(): Promise<this>;
|
|
480
|
+
interface: LexPoolV1Interface;
|
|
481
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
482
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
483
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
484
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
485
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
486
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
487
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
488
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
489
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
490
|
+
ACCURACY_IMPROVEMENT_SCALE: TypedContractMethod<[], [bigint], "view">;
|
|
491
|
+
FRACTION_SCALE: TypedContractMethod<[], [bigint], "view">;
|
|
492
|
+
LEVERAGE_SCALE: TypedContractMethod<[], [bigint], "view">;
|
|
493
|
+
PRECISION: TypedContractMethod<[], [bigint], "view">;
|
|
494
|
+
SELF_UNIT_SCALE: TypedContractMethod<[], [bigint], "view">;
|
|
495
|
+
_become: TypedContractMethod<[proxy: AddressLike], [void], "nonpayable">;
|
|
496
|
+
admin: TypedContractMethod<[], [string], "view">;
|
|
497
|
+
allowance: TypedContractMethod<[
|
|
498
|
+
owner: AddressLike,
|
|
499
|
+
spender: AddressLike
|
|
500
|
+
], [
|
|
501
|
+
bigint
|
|
502
|
+
], "view">;
|
|
503
|
+
approve: TypedContractMethod<[
|
|
504
|
+
spender: AddressLike,
|
|
505
|
+
amount: BigNumberish
|
|
506
|
+
], [
|
|
507
|
+
boolean
|
|
508
|
+
], "nonpayable">;
|
|
509
|
+
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
510
|
+
calcNextEpochStartMin: TypedContractMethod<[], [bigint], "view">;
|
|
511
|
+
cancelDeposits: TypedContractMethod<[
|
|
512
|
+
users: AddressLike[],
|
|
513
|
+
epochs: BigNumberish[]
|
|
514
|
+
], [
|
|
515
|
+
void
|
|
516
|
+
], "nonpayable">;
|
|
517
|
+
cancelRedeems: TypedContractMethod<[
|
|
518
|
+
users: AddressLike[],
|
|
519
|
+
epochs: BigNumberish[]
|
|
520
|
+
], [
|
|
521
|
+
void
|
|
522
|
+
], "nonpayable">;
|
|
523
|
+
currentBalanceInternal: TypedContractMethod<[], [bigint], "view">;
|
|
524
|
+
currentEpoch: TypedContractMethod<[], [bigint], "view">;
|
|
525
|
+
currentExchangeRate: TypedContractMethod<[], [bigint], "view">;
|
|
526
|
+
"currentVirtualUtilization()": TypedContractMethod<[], [bigint], "view">;
|
|
527
|
+
"currentVirtualUtilization(uint256,uint256,int256)": TypedContractMethod<[
|
|
528
|
+
totalBorrows: BigNumberish,
|
|
529
|
+
interestShare: BigNumberish,
|
|
530
|
+
unrealizedFunding: BigNumberish
|
|
531
|
+
], [
|
|
532
|
+
bigint
|
|
533
|
+
], "view">;
|
|
534
|
+
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
535
|
+
epochDuration: TypedContractMethod<[], [bigint], "view">;
|
|
536
|
+
epochsDelayDeposit: TypedContractMethod<[], [bigint], "view">;
|
|
537
|
+
epochsDelayRedeem: TypedContractMethod<[], [bigint], "view">;
|
|
538
|
+
getDepositors: TypedContractMethod<[
|
|
539
|
+
epoch: BigNumberish,
|
|
540
|
+
indexFrom: BigNumberish,
|
|
541
|
+
count: BigNumberish
|
|
542
|
+
], [
|
|
543
|
+
string[]
|
|
544
|
+
], "view">;
|
|
545
|
+
getDepositorsCount: TypedContractMethod<[
|
|
546
|
+
epoch: BigNumberish
|
|
547
|
+
], [
|
|
548
|
+
bigint
|
|
549
|
+
], "view">;
|
|
550
|
+
getRedeemers: TypedContractMethod<[
|
|
551
|
+
epoch: BigNumberish,
|
|
552
|
+
indexFrom: BigNumberish,
|
|
553
|
+
count: BigNumberish
|
|
554
|
+
], [
|
|
555
|
+
string[]
|
|
556
|
+
], "view">;
|
|
557
|
+
getRedeemersCount: TypedContractMethod<[
|
|
558
|
+
epoch: BigNumberish
|
|
559
|
+
], [
|
|
560
|
+
bigint
|
|
561
|
+
], "view">;
|
|
562
|
+
immediateDeposit: TypedContractMethod<[
|
|
563
|
+
depositAmount: BigNumberish,
|
|
564
|
+
domain: BytesLike,
|
|
565
|
+
referralCode: BytesLike
|
|
566
|
+
], [
|
|
567
|
+
void
|
|
568
|
+
], "nonpayable">;
|
|
569
|
+
immediateDepositAllowed: TypedContractMethod<[], [boolean], "view">;
|
|
570
|
+
implementation: TypedContractMethod<[], [string], "view">;
|
|
571
|
+
initialize: TypedContractMethod<[
|
|
572
|
+
_underlying: AddressLike,
|
|
573
|
+
_tradingFloor: AddressLike,
|
|
574
|
+
_epochDuration: BigNumberish
|
|
575
|
+
], [
|
|
576
|
+
void
|
|
577
|
+
], "nonpayable">;
|
|
578
|
+
initializeLexCommon: TypedContractMethod<[
|
|
579
|
+
_tradingFloor: AddressLike,
|
|
580
|
+
_underlying: AddressLike
|
|
581
|
+
], [
|
|
582
|
+
void
|
|
583
|
+
], "nonpayable">;
|
|
584
|
+
initializeLexERC20: TypedContractMethod<[
|
|
585
|
+
_name: string,
|
|
586
|
+
_symbol: string
|
|
587
|
+
], [
|
|
588
|
+
void
|
|
589
|
+
], "nonpayable">;
|
|
590
|
+
isUtilizationForLPsValid: TypedContractMethod<[], [boolean], "view">;
|
|
591
|
+
maxExtraWithdrawalAmountF: TypedContractMethod<[], [bigint], "view">;
|
|
592
|
+
minDepositAmount: TypedContractMethod<[], [bigint], "view">;
|
|
593
|
+
name: TypedContractMethod<[], [string], "view">;
|
|
594
|
+
nextEpoch: TypedContractMethod<[
|
|
595
|
+
totalUnrealizedPricePnL: BigNumberish
|
|
596
|
+
], [
|
|
597
|
+
bigint
|
|
598
|
+
], "nonpayable">;
|
|
599
|
+
nextEpochStartMin: TypedContractMethod<[], [bigint], "view">;
|
|
600
|
+
pendingAdmin: TypedContractMethod<[], [string], "view">;
|
|
601
|
+
pendingDepositAmount: TypedContractMethod<[], [bigint], "view">;
|
|
602
|
+
pendingDepositorsArr: TypedContractMethod<[
|
|
603
|
+
arg0: BigNumberish,
|
|
604
|
+
arg1: BigNumberish
|
|
605
|
+
], [
|
|
606
|
+
string
|
|
607
|
+
], "view">;
|
|
608
|
+
pendingDeposits: TypedContractMethod<[
|
|
609
|
+
arg0: BigNumberish,
|
|
610
|
+
arg1: AddressLike
|
|
611
|
+
], [
|
|
612
|
+
[bigint, bigint] & {
|
|
613
|
+
amount: bigint;
|
|
614
|
+
minAmountOut: bigint;
|
|
615
|
+
}
|
|
616
|
+
], "view">;
|
|
617
|
+
pendingImplementation: TypedContractMethod<[], [string], "view">;
|
|
618
|
+
pendingRedeemersArr: TypedContractMethod<[
|
|
619
|
+
arg0: BigNumberish,
|
|
620
|
+
arg1: BigNumberish
|
|
621
|
+
], [
|
|
622
|
+
string
|
|
623
|
+
], "view">;
|
|
624
|
+
pendingRedeems: TypedContractMethod<[
|
|
625
|
+
arg0: BigNumberish,
|
|
626
|
+
arg1: AddressLike
|
|
627
|
+
], [
|
|
628
|
+
[
|
|
629
|
+
bigint,
|
|
630
|
+
bigint,
|
|
631
|
+
bigint
|
|
632
|
+
] & {
|
|
633
|
+
amount: bigint;
|
|
634
|
+
minAmountOut: bigint;
|
|
635
|
+
maxAmountOut: bigint;
|
|
636
|
+
}
|
|
637
|
+
], "view">;
|
|
638
|
+
pendingWithdrawalAmount: TypedContractMethod<[], [bigint], "view">;
|
|
639
|
+
pnlRole: TypedContractMethod<[], [string], "view">;
|
|
640
|
+
poolAccountant: TypedContractMethod<[], [string], "view">;
|
|
641
|
+
processDeposit: TypedContractMethod<[
|
|
642
|
+
users: AddressLike[]
|
|
643
|
+
], [
|
|
644
|
+
[
|
|
645
|
+
bigint,
|
|
646
|
+
bigint,
|
|
647
|
+
bigint,
|
|
648
|
+
bigint
|
|
649
|
+
] & {
|
|
650
|
+
amountDeposited: bigint;
|
|
651
|
+
amountCanceled: bigint;
|
|
652
|
+
counterDeposited: bigint;
|
|
653
|
+
counterCanceled: bigint;
|
|
654
|
+
}
|
|
655
|
+
], "nonpayable">;
|
|
656
|
+
processRedeems: TypedContractMethod<[
|
|
657
|
+
users: AddressLike[]
|
|
658
|
+
], [
|
|
659
|
+
[
|
|
660
|
+
bigint,
|
|
661
|
+
bigint,
|
|
662
|
+
bigint,
|
|
663
|
+
bigint
|
|
664
|
+
] & {
|
|
665
|
+
amountRedeemed: bigint;
|
|
666
|
+
amountCanceled: bigint;
|
|
667
|
+
counterRedeemed: bigint;
|
|
668
|
+
counterCanceled: bigint;
|
|
669
|
+
}
|
|
670
|
+
], "nonpayable">;
|
|
671
|
+
reduceReserves: TypedContractMethod<[
|
|
672
|
+
_to: AddressLike
|
|
673
|
+
], [
|
|
674
|
+
[bigint, bigint] & {
|
|
675
|
+
interestShare: bigint;
|
|
676
|
+
totalFundingShare: bigint;
|
|
677
|
+
}
|
|
678
|
+
], "nonpayable">;
|
|
679
|
+
registry: TypedContractMethod<[], [string], "view">;
|
|
680
|
+
requestDeposit: TypedContractMethod<[
|
|
681
|
+
amount: BigNumberish,
|
|
682
|
+
minAmountOut: BigNumberish,
|
|
683
|
+
domain: BytesLike,
|
|
684
|
+
referralCode: BytesLike
|
|
685
|
+
], [
|
|
686
|
+
void
|
|
687
|
+
], "nonpayable">;
|
|
688
|
+
requestDepositViaIntent: TypedContractMethod<[
|
|
689
|
+
user: AddressLike,
|
|
690
|
+
amount: BigNumberish,
|
|
691
|
+
minAmountOut: BigNumberish,
|
|
692
|
+
domain: BytesLike,
|
|
693
|
+
referralCode: BytesLike
|
|
694
|
+
], [
|
|
695
|
+
void
|
|
696
|
+
], "nonpayable">;
|
|
697
|
+
requestRedeem: TypedContractMethod<[
|
|
698
|
+
amount: BigNumberish,
|
|
699
|
+
minAmountOut: BigNumberish
|
|
700
|
+
], [
|
|
701
|
+
void
|
|
702
|
+
], "nonpayable">;
|
|
703
|
+
requestRedeemViaIntent: TypedContractMethod<[
|
|
704
|
+
user: AddressLike,
|
|
705
|
+
amount: BigNumberish,
|
|
706
|
+
minAmountOut: BigNumberish
|
|
707
|
+
], [
|
|
708
|
+
void
|
|
709
|
+
], "nonpayable">;
|
|
710
|
+
sendAssetToTrader: TypedContractMethod<[
|
|
711
|
+
to: AddressLike,
|
|
712
|
+
amount: BigNumberish
|
|
713
|
+
], [
|
|
714
|
+
void
|
|
715
|
+
], "nonpayable">;
|
|
716
|
+
setEpochDuration: TypedContractMethod<[
|
|
717
|
+
duration: BigNumberish
|
|
718
|
+
], [
|
|
719
|
+
void
|
|
720
|
+
], "nonpayable">;
|
|
721
|
+
setEpochsDelayDeposit: TypedContractMethod<[
|
|
722
|
+
delay: BigNumberish
|
|
723
|
+
], [
|
|
724
|
+
void
|
|
725
|
+
], "nonpayable">;
|
|
726
|
+
setEpochsDelayRedeem: TypedContractMethod<[
|
|
727
|
+
delay: BigNumberish
|
|
728
|
+
], [
|
|
729
|
+
void
|
|
730
|
+
], "nonpayable">;
|
|
731
|
+
setMaxExtraWithdrawalAmountF: TypedContractMethod<[
|
|
732
|
+
maxExtra: BigNumberish
|
|
733
|
+
], [
|
|
734
|
+
void
|
|
735
|
+
], "nonpayable">;
|
|
736
|
+
setMinDepositAmount: TypedContractMethod<[
|
|
737
|
+
amount: BigNumberish
|
|
738
|
+
], [
|
|
739
|
+
void
|
|
740
|
+
], "nonpayable">;
|
|
741
|
+
setPnlRole: TypedContractMethod<[pnl: AddressLike], [void], "nonpayable">;
|
|
742
|
+
setPoolAccountant: TypedContractMethod<[
|
|
743
|
+
_poolAccountant: AddressLike
|
|
744
|
+
], [
|
|
745
|
+
void
|
|
746
|
+
], "nonpayable">;
|
|
747
|
+
symbol: TypedContractMethod<[], [string], "view">;
|
|
748
|
+
toggleImmediateDepositAllowed: TypedContractMethod<[], [void], "nonpayable">;
|
|
749
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
750
|
+
tradingFloor: TypedContractMethod<[], [string], "view">;
|
|
751
|
+
transfer: TypedContractMethod<[
|
|
752
|
+
recipient: AddressLike,
|
|
753
|
+
amount: BigNumberish
|
|
754
|
+
], [
|
|
755
|
+
boolean
|
|
756
|
+
], "nonpayable">;
|
|
757
|
+
transferFrom: TypedContractMethod<[
|
|
758
|
+
sender: AddressLike,
|
|
759
|
+
recipient: AddressLike,
|
|
760
|
+
amount: BigNumberish
|
|
761
|
+
], [
|
|
762
|
+
boolean
|
|
763
|
+
], "nonpayable">;
|
|
764
|
+
underlying: TypedContractMethod<[], [string], "view">;
|
|
765
|
+
underlyingAmountToOwnAmount: TypedContractMethod<[
|
|
766
|
+
underlyingAmount: BigNumberish
|
|
767
|
+
], [
|
|
768
|
+
bigint
|
|
769
|
+
], "view">;
|
|
770
|
+
underlyingBalanceForExchangeRate: TypedContractMethod<[], [bigint], "view">;
|
|
771
|
+
underlyingDecimals: TypedContractMethod<[], [bigint], "view">;
|
|
772
|
+
"virtualBalanceForUtilization(uint256,int256)": TypedContractMethod<[
|
|
773
|
+
extraAmount: BigNumberish,
|
|
774
|
+
unrealizedFunding: BigNumberish
|
|
775
|
+
], [
|
|
776
|
+
bigint
|
|
777
|
+
], "view">;
|
|
778
|
+
"virtualBalanceForUtilization()": TypedContractMethod<[], [bigint], "view">;
|
|
779
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
780
|
+
getFunction(nameOrSignature: "ACCURACY_IMPROVEMENT_SCALE"): TypedContractMethod<[], [bigint], "view">;
|
|
781
|
+
getFunction(nameOrSignature: "FRACTION_SCALE"): TypedContractMethod<[], [bigint], "view">;
|
|
782
|
+
getFunction(nameOrSignature: "LEVERAGE_SCALE"): TypedContractMethod<[], [bigint], "view">;
|
|
783
|
+
getFunction(nameOrSignature: "PRECISION"): TypedContractMethod<[], [bigint], "view">;
|
|
784
|
+
getFunction(nameOrSignature: "SELF_UNIT_SCALE"): TypedContractMethod<[], [bigint], "view">;
|
|
785
|
+
getFunction(nameOrSignature: "_become"): TypedContractMethod<[proxy: AddressLike], [void], "nonpayable">;
|
|
786
|
+
getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
|
|
787
|
+
getFunction(nameOrSignature: "allowance"): TypedContractMethod<[
|
|
788
|
+
owner: AddressLike,
|
|
789
|
+
spender: AddressLike
|
|
790
|
+
], [
|
|
791
|
+
bigint
|
|
792
|
+
], "view">;
|
|
793
|
+
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
794
|
+
spender: AddressLike,
|
|
795
|
+
amount: BigNumberish
|
|
796
|
+
], [
|
|
797
|
+
boolean
|
|
798
|
+
], "nonpayable">;
|
|
799
|
+
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
800
|
+
getFunction(nameOrSignature: "calcNextEpochStartMin"): TypedContractMethod<[], [bigint], "view">;
|
|
801
|
+
getFunction(nameOrSignature: "cancelDeposits"): TypedContractMethod<[
|
|
802
|
+
users: AddressLike[],
|
|
803
|
+
epochs: BigNumberish[]
|
|
804
|
+
], [
|
|
805
|
+
void
|
|
806
|
+
], "nonpayable">;
|
|
807
|
+
getFunction(nameOrSignature: "cancelRedeems"): TypedContractMethod<[
|
|
808
|
+
users: AddressLike[],
|
|
809
|
+
epochs: BigNumberish[]
|
|
810
|
+
], [
|
|
811
|
+
void
|
|
812
|
+
], "nonpayable">;
|
|
813
|
+
getFunction(nameOrSignature: "currentBalanceInternal"): TypedContractMethod<[], [bigint], "view">;
|
|
814
|
+
getFunction(nameOrSignature: "currentEpoch"): TypedContractMethod<[], [bigint], "view">;
|
|
815
|
+
getFunction(nameOrSignature: "currentExchangeRate"): TypedContractMethod<[], [bigint], "view">;
|
|
816
|
+
getFunction(nameOrSignature: "currentVirtualUtilization()"): TypedContractMethod<[], [bigint], "view">;
|
|
817
|
+
getFunction(nameOrSignature: "currentVirtualUtilization(uint256,uint256,int256)"): TypedContractMethod<[
|
|
818
|
+
totalBorrows: BigNumberish,
|
|
819
|
+
interestShare: BigNumberish,
|
|
820
|
+
unrealizedFunding: BigNumberish
|
|
821
|
+
], [
|
|
822
|
+
bigint
|
|
823
|
+
], "view">;
|
|
824
|
+
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
825
|
+
getFunction(nameOrSignature: "epochDuration"): TypedContractMethod<[], [bigint], "view">;
|
|
826
|
+
getFunction(nameOrSignature: "epochsDelayDeposit"): TypedContractMethod<[], [bigint], "view">;
|
|
827
|
+
getFunction(nameOrSignature: "epochsDelayRedeem"): TypedContractMethod<[], [bigint], "view">;
|
|
828
|
+
getFunction(nameOrSignature: "getDepositors"): TypedContractMethod<[
|
|
829
|
+
epoch: BigNumberish,
|
|
830
|
+
indexFrom: BigNumberish,
|
|
831
|
+
count: BigNumberish
|
|
832
|
+
], [
|
|
833
|
+
string[]
|
|
834
|
+
], "view">;
|
|
835
|
+
getFunction(nameOrSignature: "getDepositorsCount"): TypedContractMethod<[epoch: BigNumberish], [bigint], "view">;
|
|
836
|
+
getFunction(nameOrSignature: "getRedeemers"): TypedContractMethod<[
|
|
837
|
+
epoch: BigNumberish,
|
|
838
|
+
indexFrom: BigNumberish,
|
|
839
|
+
count: BigNumberish
|
|
840
|
+
], [
|
|
841
|
+
string[]
|
|
842
|
+
], "view">;
|
|
843
|
+
getFunction(nameOrSignature: "getRedeemersCount"): TypedContractMethod<[epoch: BigNumberish], [bigint], "view">;
|
|
844
|
+
getFunction(nameOrSignature: "immediateDeposit"): TypedContractMethod<[
|
|
845
|
+
depositAmount: BigNumberish,
|
|
846
|
+
domain: BytesLike,
|
|
847
|
+
referralCode: BytesLike
|
|
848
|
+
], [
|
|
849
|
+
void
|
|
850
|
+
], "nonpayable">;
|
|
851
|
+
getFunction(nameOrSignature: "immediateDepositAllowed"): TypedContractMethod<[], [boolean], "view">;
|
|
852
|
+
getFunction(nameOrSignature: "implementation"): TypedContractMethod<[], [string], "view">;
|
|
853
|
+
getFunction(nameOrSignature: "initialize"): TypedContractMethod<[
|
|
854
|
+
_underlying: AddressLike,
|
|
855
|
+
_tradingFloor: AddressLike,
|
|
856
|
+
_epochDuration: BigNumberish
|
|
857
|
+
], [
|
|
858
|
+
void
|
|
859
|
+
], "nonpayable">;
|
|
860
|
+
getFunction(nameOrSignature: "initializeLexCommon"): TypedContractMethod<[
|
|
861
|
+
_tradingFloor: AddressLike,
|
|
862
|
+
_underlying: AddressLike
|
|
863
|
+
], [
|
|
864
|
+
void
|
|
865
|
+
], "nonpayable">;
|
|
866
|
+
getFunction(nameOrSignature: "initializeLexERC20"): TypedContractMethod<[
|
|
867
|
+
_name: string,
|
|
868
|
+
_symbol: string
|
|
869
|
+
], [
|
|
870
|
+
void
|
|
871
|
+
], "nonpayable">;
|
|
872
|
+
getFunction(nameOrSignature: "isUtilizationForLPsValid"): TypedContractMethod<[], [boolean], "view">;
|
|
873
|
+
getFunction(nameOrSignature: "maxExtraWithdrawalAmountF"): TypedContractMethod<[], [bigint], "view">;
|
|
874
|
+
getFunction(nameOrSignature: "minDepositAmount"): TypedContractMethod<[], [bigint], "view">;
|
|
875
|
+
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
876
|
+
getFunction(nameOrSignature: "nextEpoch"): TypedContractMethod<[
|
|
877
|
+
totalUnrealizedPricePnL: BigNumberish
|
|
878
|
+
], [
|
|
879
|
+
bigint
|
|
880
|
+
], "nonpayable">;
|
|
881
|
+
getFunction(nameOrSignature: "nextEpochStartMin"): TypedContractMethod<[], [bigint], "view">;
|
|
882
|
+
getFunction(nameOrSignature: "pendingAdmin"): TypedContractMethod<[], [string], "view">;
|
|
883
|
+
getFunction(nameOrSignature: "pendingDepositAmount"): TypedContractMethod<[], [bigint], "view">;
|
|
884
|
+
getFunction(nameOrSignature: "pendingDepositorsArr"): TypedContractMethod<[
|
|
885
|
+
arg0: BigNumberish,
|
|
886
|
+
arg1: BigNumberish
|
|
887
|
+
], [
|
|
888
|
+
string
|
|
889
|
+
], "view">;
|
|
890
|
+
getFunction(nameOrSignature: "pendingDeposits"): TypedContractMethod<[
|
|
891
|
+
arg0: BigNumberish,
|
|
892
|
+
arg1: AddressLike
|
|
893
|
+
], [
|
|
894
|
+
[bigint, bigint] & {
|
|
895
|
+
amount: bigint;
|
|
896
|
+
minAmountOut: bigint;
|
|
897
|
+
}
|
|
898
|
+
], "view">;
|
|
899
|
+
getFunction(nameOrSignature: "pendingImplementation"): TypedContractMethod<[], [string], "view">;
|
|
900
|
+
getFunction(nameOrSignature: "pendingRedeemersArr"): TypedContractMethod<[
|
|
901
|
+
arg0: BigNumberish,
|
|
902
|
+
arg1: BigNumberish
|
|
903
|
+
], [
|
|
904
|
+
string
|
|
905
|
+
], "view">;
|
|
906
|
+
getFunction(nameOrSignature: "pendingRedeems"): TypedContractMethod<[
|
|
907
|
+
arg0: BigNumberish,
|
|
908
|
+
arg1: AddressLike
|
|
909
|
+
], [
|
|
910
|
+
[
|
|
911
|
+
bigint,
|
|
912
|
+
bigint,
|
|
913
|
+
bigint
|
|
914
|
+
] & {
|
|
915
|
+
amount: bigint;
|
|
916
|
+
minAmountOut: bigint;
|
|
917
|
+
maxAmountOut: bigint;
|
|
918
|
+
}
|
|
919
|
+
], "view">;
|
|
920
|
+
getFunction(nameOrSignature: "pendingWithdrawalAmount"): TypedContractMethod<[], [bigint], "view">;
|
|
921
|
+
getFunction(nameOrSignature: "pnlRole"): TypedContractMethod<[], [string], "view">;
|
|
922
|
+
getFunction(nameOrSignature: "poolAccountant"): TypedContractMethod<[], [string], "view">;
|
|
923
|
+
getFunction(nameOrSignature: "processDeposit"): TypedContractMethod<[
|
|
924
|
+
users: AddressLike[]
|
|
925
|
+
], [
|
|
926
|
+
[
|
|
927
|
+
bigint,
|
|
928
|
+
bigint,
|
|
929
|
+
bigint,
|
|
930
|
+
bigint
|
|
931
|
+
] & {
|
|
932
|
+
amountDeposited: bigint;
|
|
933
|
+
amountCanceled: bigint;
|
|
934
|
+
counterDeposited: bigint;
|
|
935
|
+
counterCanceled: bigint;
|
|
936
|
+
}
|
|
937
|
+
], "nonpayable">;
|
|
938
|
+
getFunction(nameOrSignature: "processRedeems"): TypedContractMethod<[
|
|
939
|
+
users: AddressLike[]
|
|
940
|
+
], [
|
|
941
|
+
[
|
|
942
|
+
bigint,
|
|
943
|
+
bigint,
|
|
944
|
+
bigint,
|
|
945
|
+
bigint
|
|
946
|
+
] & {
|
|
947
|
+
amountRedeemed: bigint;
|
|
948
|
+
amountCanceled: bigint;
|
|
949
|
+
counterRedeemed: bigint;
|
|
950
|
+
counterCanceled: bigint;
|
|
951
|
+
}
|
|
952
|
+
], "nonpayable">;
|
|
953
|
+
getFunction(nameOrSignature: "reduceReserves"): TypedContractMethod<[
|
|
954
|
+
_to: AddressLike
|
|
955
|
+
], [
|
|
956
|
+
[bigint, bigint] & {
|
|
957
|
+
interestShare: bigint;
|
|
958
|
+
totalFundingShare: bigint;
|
|
959
|
+
}
|
|
960
|
+
], "nonpayable">;
|
|
961
|
+
getFunction(nameOrSignature: "registry"): TypedContractMethod<[], [string], "view">;
|
|
962
|
+
getFunction(nameOrSignature: "requestDeposit"): TypedContractMethod<[
|
|
963
|
+
amount: BigNumberish,
|
|
964
|
+
minAmountOut: BigNumberish,
|
|
965
|
+
domain: BytesLike,
|
|
966
|
+
referralCode: BytesLike
|
|
967
|
+
], [
|
|
968
|
+
void
|
|
969
|
+
], "nonpayable">;
|
|
970
|
+
getFunction(nameOrSignature: "requestDepositViaIntent"): TypedContractMethod<[
|
|
971
|
+
user: AddressLike,
|
|
972
|
+
amount: BigNumberish,
|
|
973
|
+
minAmountOut: BigNumberish,
|
|
974
|
+
domain: BytesLike,
|
|
975
|
+
referralCode: BytesLike
|
|
976
|
+
], [
|
|
977
|
+
void
|
|
978
|
+
], "nonpayable">;
|
|
979
|
+
getFunction(nameOrSignature: "requestRedeem"): TypedContractMethod<[
|
|
980
|
+
amount: BigNumberish,
|
|
981
|
+
minAmountOut: BigNumberish
|
|
982
|
+
], [
|
|
983
|
+
void
|
|
984
|
+
], "nonpayable">;
|
|
985
|
+
getFunction(nameOrSignature: "requestRedeemViaIntent"): TypedContractMethod<[
|
|
986
|
+
user: AddressLike,
|
|
987
|
+
amount: BigNumberish,
|
|
988
|
+
minAmountOut: BigNumberish
|
|
989
|
+
], [
|
|
990
|
+
void
|
|
991
|
+
], "nonpayable">;
|
|
992
|
+
getFunction(nameOrSignature: "sendAssetToTrader"): TypedContractMethod<[
|
|
993
|
+
to: AddressLike,
|
|
994
|
+
amount: BigNumberish
|
|
995
|
+
], [
|
|
996
|
+
void
|
|
997
|
+
], "nonpayable">;
|
|
998
|
+
getFunction(nameOrSignature: "setEpochDuration"): TypedContractMethod<[duration: BigNumberish], [void], "nonpayable">;
|
|
999
|
+
getFunction(nameOrSignature: "setEpochsDelayDeposit"): TypedContractMethod<[delay: BigNumberish], [void], "nonpayable">;
|
|
1000
|
+
getFunction(nameOrSignature: "setEpochsDelayRedeem"): TypedContractMethod<[delay: BigNumberish], [void], "nonpayable">;
|
|
1001
|
+
getFunction(nameOrSignature: "setMaxExtraWithdrawalAmountF"): TypedContractMethod<[maxExtra: BigNumberish], [void], "nonpayable">;
|
|
1002
|
+
getFunction(nameOrSignature: "setMinDepositAmount"): TypedContractMethod<[amount: BigNumberish], [void], "nonpayable">;
|
|
1003
|
+
getFunction(nameOrSignature: "setPnlRole"): TypedContractMethod<[pnl: AddressLike], [void], "nonpayable">;
|
|
1004
|
+
getFunction(nameOrSignature: "setPoolAccountant"): TypedContractMethod<[_poolAccountant: AddressLike], [void], "nonpayable">;
|
|
1005
|
+
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
1006
|
+
getFunction(nameOrSignature: "toggleImmediateDepositAllowed"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1007
|
+
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
1008
|
+
getFunction(nameOrSignature: "tradingFloor"): TypedContractMethod<[], [string], "view">;
|
|
1009
|
+
getFunction(nameOrSignature: "transfer"): TypedContractMethod<[
|
|
1010
|
+
recipient: AddressLike,
|
|
1011
|
+
amount: BigNumberish
|
|
1012
|
+
], [
|
|
1013
|
+
boolean
|
|
1014
|
+
], "nonpayable">;
|
|
1015
|
+
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
1016
|
+
sender: AddressLike,
|
|
1017
|
+
recipient: AddressLike,
|
|
1018
|
+
amount: BigNumberish
|
|
1019
|
+
], [
|
|
1020
|
+
boolean
|
|
1021
|
+
], "nonpayable">;
|
|
1022
|
+
getFunction(nameOrSignature: "underlying"): TypedContractMethod<[], [string], "view">;
|
|
1023
|
+
getFunction(nameOrSignature: "underlyingAmountToOwnAmount"): TypedContractMethod<[underlyingAmount: BigNumberish], [bigint], "view">;
|
|
1024
|
+
getFunction(nameOrSignature: "underlyingBalanceForExchangeRate"): TypedContractMethod<[], [bigint], "view">;
|
|
1025
|
+
getFunction(nameOrSignature: "underlyingDecimals"): TypedContractMethod<[], [bigint], "view">;
|
|
1026
|
+
getFunction(nameOrSignature: "virtualBalanceForUtilization(uint256,int256)"): TypedContractMethod<[
|
|
1027
|
+
extraAmount: BigNumberish,
|
|
1028
|
+
unrealizedFunding: BigNumberish
|
|
1029
|
+
], [
|
|
1030
|
+
bigint
|
|
1031
|
+
], "view">;
|
|
1032
|
+
getFunction(nameOrSignature: "virtualBalanceForUtilization()"): TypedContractMethod<[], [bigint], "view">;
|
|
1033
|
+
getEvent(key: "AddressUpdated"): TypedContractEvent<AddressUpdatedEvent.InputTuple, AddressUpdatedEvent.OutputTuple, AddressUpdatedEvent.OutputObject>;
|
|
1034
|
+
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
1035
|
+
getEvent(key: "CanceledDeposit"): TypedContractEvent<CanceledDepositEvent.InputTuple, CanceledDepositEvent.OutputTuple, CanceledDepositEvent.OutputObject>;
|
|
1036
|
+
getEvent(key: "CanceledRedeem"): TypedContractEvent<CanceledRedeemEvent.InputTuple, CanceledRedeemEvent.OutputTuple, CanceledRedeemEvent.OutputObject>;
|
|
1037
|
+
getEvent(key: "DepositRequest"): TypedContractEvent<DepositRequestEvent.InputTuple, DepositRequestEvent.OutputTuple, DepositRequestEvent.OutputObject>;
|
|
1038
|
+
getEvent(key: "ImmediateDeposit"): TypedContractEvent<ImmediateDepositEvent.InputTuple, ImmediateDepositEvent.OutputTuple, ImmediateDepositEvent.OutputObject>;
|
|
1039
|
+
getEvent(key: "ImmediateDepositAllowedToggled"): TypedContractEvent<ImmediateDepositAllowedToggledEvent.InputTuple, ImmediateDepositAllowedToggledEvent.OutputTuple, ImmediateDepositAllowedToggledEvent.OutputObject>;
|
|
1040
|
+
getEvent(key: "LiquidityProvided"): TypedContractEvent<LiquidityProvidedEvent.InputTuple, LiquidityProvidedEvent.OutputTuple, LiquidityProvidedEvent.OutputObject>;
|
|
1041
|
+
getEvent(key: "NewEpoch"): TypedContractEvent<NewEpochEvent.InputTuple, NewEpochEvent.OutputTuple, NewEpochEvent.OutputObject>;
|
|
1042
|
+
getEvent(key: "NumberUpdated"): TypedContractEvent<NumberUpdatedEvent.InputTuple, NumberUpdatedEvent.OutputTuple, NumberUpdatedEvent.OutputObject>;
|
|
1043
|
+
getEvent(key: "PositionRequested"): TypedContractEvent<PositionRequestedEvent.InputTuple, PositionRequestedEvent.OutputTuple, PositionRequestedEvent.OutputObject>;
|
|
1044
|
+
getEvent(key: "ProcessedDeposit"): TypedContractEvent<ProcessedDepositEvent.InputTuple, ProcessedDepositEvent.OutputTuple, ProcessedDepositEvent.OutputObject>;
|
|
1045
|
+
getEvent(key: "ProcessedRedeem"): TypedContractEvent<ProcessedRedeemEvent.InputTuple, ProcessedRedeemEvent.OutputTuple, ProcessedRedeemEvent.OutputObject>;
|
|
1046
|
+
getEvent(key: "RedeemRequest"): TypedContractEvent<RedeemRequestEvent.InputTuple, RedeemRequestEvent.OutputTuple, RedeemRequestEvent.OutputObject>;
|
|
1047
|
+
getEvent(key: "ReservesWithdrawn"): TypedContractEvent<ReservesWithdrawnEvent.InputTuple, ReservesWithdrawnEvent.OutputTuple, ReservesWithdrawnEvent.OutputObject>;
|
|
1048
|
+
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
1049
|
+
filters: {
|
|
1050
|
+
"AddressUpdated(uint8,address)": TypedContractEvent<AddressUpdatedEvent.InputTuple, AddressUpdatedEvent.OutputTuple, AddressUpdatedEvent.OutputObject>;
|
|
1051
|
+
AddressUpdated: TypedContractEvent<AddressUpdatedEvent.InputTuple, AddressUpdatedEvent.OutputTuple, AddressUpdatedEvent.OutputObject>;
|
|
1052
|
+
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
1053
|
+
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
1054
|
+
"CanceledDeposit(address,uint256,uint256)": TypedContractEvent<CanceledDepositEvent.InputTuple, CanceledDepositEvent.OutputTuple, CanceledDepositEvent.OutputObject>;
|
|
1055
|
+
CanceledDeposit: TypedContractEvent<CanceledDepositEvent.InputTuple, CanceledDepositEvent.OutputTuple, CanceledDepositEvent.OutputObject>;
|
|
1056
|
+
"CanceledRedeem(address,uint256,uint256)": TypedContractEvent<CanceledRedeemEvent.InputTuple, CanceledRedeemEvent.OutputTuple, CanceledRedeemEvent.OutputObject>;
|
|
1057
|
+
CanceledRedeem: TypedContractEvent<CanceledRedeemEvent.InputTuple, CanceledRedeemEvent.OutputTuple, CanceledRedeemEvent.OutputObject>;
|
|
1058
|
+
"DepositRequest(address,uint256,uint256,uint256)": TypedContractEvent<DepositRequestEvent.InputTuple, DepositRequestEvent.OutputTuple, DepositRequestEvent.OutputObject>;
|
|
1059
|
+
DepositRequest: TypedContractEvent<DepositRequestEvent.InputTuple, DepositRequestEvent.OutputTuple, DepositRequestEvent.OutputObject>;
|
|
1060
|
+
"ImmediateDeposit(address,uint256,uint256)": TypedContractEvent<ImmediateDepositEvent.InputTuple, ImmediateDepositEvent.OutputTuple, ImmediateDepositEvent.OutputObject>;
|
|
1061
|
+
ImmediateDeposit: TypedContractEvent<ImmediateDepositEvent.InputTuple, ImmediateDepositEvent.OutputTuple, ImmediateDepositEvent.OutputObject>;
|
|
1062
|
+
"ImmediateDepositAllowedToggled(bool)": TypedContractEvent<ImmediateDepositAllowedToggledEvent.InputTuple, ImmediateDepositAllowedToggledEvent.OutputTuple, ImmediateDepositAllowedToggledEvent.OutputObject>;
|
|
1063
|
+
ImmediateDepositAllowedToggled: TypedContractEvent<ImmediateDepositAllowedToggledEvent.InputTuple, ImmediateDepositAllowedToggledEvent.OutputTuple, ImmediateDepositAllowedToggledEvent.OutputObject>;
|
|
1064
|
+
"LiquidityProvided(bytes32,bytes32,address,uint256,uint256)": TypedContractEvent<LiquidityProvidedEvent.InputTuple, LiquidityProvidedEvent.OutputTuple, LiquidityProvidedEvent.OutputObject>;
|
|
1065
|
+
LiquidityProvided: TypedContractEvent<LiquidityProvidedEvent.InputTuple, LiquidityProvidedEvent.OutputTuple, LiquidityProvidedEvent.OutputObject>;
|
|
1066
|
+
"NewEpoch(uint256,int256,uint256,uint256,uint256)": TypedContractEvent<NewEpochEvent.InputTuple, NewEpochEvent.OutputTuple, NewEpochEvent.OutputObject>;
|
|
1067
|
+
NewEpoch: TypedContractEvent<NewEpochEvent.InputTuple, NewEpochEvent.OutputTuple, NewEpochEvent.OutputObject>;
|
|
1068
|
+
"NumberUpdated(uint8,uint256)": TypedContractEvent<NumberUpdatedEvent.InputTuple, NumberUpdatedEvent.OutputTuple, NumberUpdatedEvent.OutputObject>;
|
|
1069
|
+
NumberUpdated: TypedContractEvent<NumberUpdatedEvent.InputTuple, NumberUpdatedEvent.OutputTuple, NumberUpdatedEvent.OutputObject>;
|
|
1070
|
+
"PositionRequested(bytes32,bytes32,bytes32)": TypedContractEvent<PositionRequestedEvent.InputTuple, PositionRequestedEvent.OutputTuple, PositionRequestedEvent.OutputObject>;
|
|
1071
|
+
PositionRequested: TypedContractEvent<PositionRequestedEvent.InputTuple, PositionRequestedEvent.OutputTuple, PositionRequestedEvent.OutputObject>;
|
|
1072
|
+
"ProcessedDeposit(address,bool,uint256)": TypedContractEvent<ProcessedDepositEvent.InputTuple, ProcessedDepositEvent.OutputTuple, ProcessedDepositEvent.OutputObject>;
|
|
1073
|
+
ProcessedDeposit: TypedContractEvent<ProcessedDepositEvent.InputTuple, ProcessedDepositEvent.OutputTuple, ProcessedDepositEvent.OutputObject>;
|
|
1074
|
+
"ProcessedRedeem(address,bool,uint256)": TypedContractEvent<ProcessedRedeemEvent.InputTuple, ProcessedRedeemEvent.OutputTuple, ProcessedRedeemEvent.OutputObject>;
|
|
1075
|
+
ProcessedRedeem: TypedContractEvent<ProcessedRedeemEvent.InputTuple, ProcessedRedeemEvent.OutputTuple, ProcessedRedeemEvent.OutputObject>;
|
|
1076
|
+
"RedeemRequest(address,uint256,uint256,uint256)": TypedContractEvent<RedeemRequestEvent.InputTuple, RedeemRequestEvent.OutputTuple, RedeemRequestEvent.OutputObject>;
|
|
1077
|
+
RedeemRequest: TypedContractEvent<RedeemRequestEvent.InputTuple, RedeemRequestEvent.OutputTuple, RedeemRequestEvent.OutputObject>;
|
|
1078
|
+
"ReservesWithdrawn(address,uint256,uint256)": TypedContractEvent<ReservesWithdrawnEvent.InputTuple, ReservesWithdrawnEvent.OutputTuple, ReservesWithdrawnEvent.OutputObject>;
|
|
1079
|
+
ReservesWithdrawn: TypedContractEvent<ReservesWithdrawnEvent.InputTuple, ReservesWithdrawnEvent.OutputTuple, ReservesWithdrawnEvent.OutputObject>;
|
|
1080
|
+
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
1081
|
+
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
1082
|
+
};
|
|
1083
|
+
}
|
|
1084
|
+
//# sourceMappingURL=LexPoolV1.d.ts.map
|