Skip to main content

ForfeitedAssetsQueue

Git Source

Inherits: LenderQueue

Title: ForfeitedAssetsQueue

Author: @SocksNFlops

Queue for withdrawing assets from the ForfeitedAssetsPool contract.

Functions

constructor

Constructor

constructor(address asset_, address consol_, address admin_) LenderQueue(asset_, consol_, admin_);

Parameters

NameTypeDescription
asset_addressThe address of the forfeited assets pool
consol_addressThe address of the Consol contract
admin_addressThe address of the admin

processWithdrawalRequests

function processWithdrawalRequests(uint256 iterations, address receiver)
external
virtual
override
nonReentrant
whenNotPaused
onlyRole(Roles.PROCESSOR_ROLE);