QueueProcessor
Inherits: IProcessor, Context
Title: QueueProcessor
Author: SocksNFlops
The QueueProcessor contract is a contract that processes withdrawal requests from LenderQueues, enforcing any ordering restrictions between the queues.
Functions
process
Processes the withdrawal requests from a source
function process(address queue, uint256 iterations) external override;
Parameters
| Name | Type | Description |
|---|---|---|
queue | address | |
iterations | uint256 | The number of iterations to process |
isBlocked
Checks if the source is blocked by another source
function isBlocked(address) external pure override returns (address blocker, bool blocked);
Parameters
| Name | Type | Description |
|---|---|---|
<none> | address |
Returns
| Name | Type | Description |
|---|---|---|
blocker | address | Another source that is blocking the source |
blocked | bool | Whether the source is blocked by another source |