Solidity API
LiquidityOrchestrator
Contract that orchestrates liquidity operations
_This contract is responsible for:
- Executing actual buy and sell orders on investment universe;
- Processing withdrawal requests from LPs;
- Handling slippage and market execution differences from adapter price estimates via liquidity buffer._
automationRegistry
address automationRegistry
Chainlink Automation Registry address
config
contract IOrionConfig config
Orion Config contract address
internalStatesOrchestrator
contract IInternalStateOrchestrator internalStatesOrchestrator
Internal States Orchestrator contract address
underlyingAsset
address underlyingAsset
Underlying asset address
executionAdapterOf
mapping(address => contract IExecutionAdapter) executionAdapterOf
Execution adapters mapping for assets
lastProcessedEpoch
uint16 lastProcessedEpoch
Last processed epoch counter from Internal States Orchestrator
executionMinibatchSize
uint8 executionMinibatchSize
Execution minibatch size
currentPhase
enum ILiquidityOrchestrator.LiquidityUpkeepPhase currentPhase
Upkeep phase
currentMinibatchIndex
uint8 currentMinibatchIndex
Current minibatch index
slippageBound
uint256 slippageBound
Slippage bound in basis points
targetBufferRatio
uint256 targetBufferRatio
Target buffer ratio
sellingTokens
address[] sellingTokens
Selling tokens for current epoch
sellingAmounts
uint256[] sellingAmounts
Selling amounts for current epoch
sellingEstimatedUnderlyingAmounts
uint256[] sellingEstimatedUnderlyingAmounts
Selling underlying amounts for current epoch
buyingTokens
address[] buyingTokens
Buying tokens for current epoch
buyingAmounts
uint256[] buyingAmounts
Buying amounts for current epoch
buyingEstimatedUnderlyingAmounts
uint256[] buyingEstimatedUnderlyingAmounts
Buying underlying amounts for current epoch
deltaBufferAmount
int256 deltaBufferAmount
Delta buffer amount for current epoch