OneDeltaComposerEthereum
Inherits: BaseComposer, UniversalFlashLoan, SwapCallbacks
Title: Chain-dependent Universal aggregator contract.
Author: 1delta Labs AG
Functions
_deltaComposeInternal
Execute a set of packed operations
function _deltaComposeInternal(
address callerAddress,
uint256 currentOffset,
uint256 calldataLength //
)
internal
override(BaseComposer, FlashLoanCallbacks, SwapCallbacks);
Parameters
| Name | Type | Description |
|---|---|---|
callerAddress |
address |
Address of the original caller |
currentOffset |
uint256 |
Current position in the calldata |
calldataLength |
uint256 |
Length of remaining calldata |
_universalFlashLoan
Executes universal flash loan operations
Routes flash loan requests to appropriate provider
function _universalFlashLoan(
uint256 currentOffset,
address callerAddress
)
internal
override(UniversalFlashLoan, BaseComposer)
returns (uint256);
Parameters
| Name | Type | Description |
|---|---|---|
currentOffset |
uint256 |
Current position in the calldata |
callerAddress |
address |
Address of the original caller |
Returns
| Name | Type | Description |
|---|---|---|
<none> |
uint256 |
Updated calldata offset after processing |