In the case an account falls below the collateralization ratio for at least 30 minutes, the account is considered out of compliance and is forced to liquidate tokens until it is brought back into compliance. A function, when called, sends the borrower’s collateral to be sold directly on Pancakeswap, with other swaps to be introduced in the future. The liquidation fee is rendered to the caller of the function as compensation for gas costs and to reward arbitrators. Anyone can call this function. Since the assets are liquidated directly on Pancakeswap, the caller does not need to hold any assets other than the gas required to execute the function. The function liquidates the close factor, which is the percent of the account that is eligible for liquidation. For this function, Asko has created a liquidation bot, so we are not reliant on these bots being produced by the community like Compound is.