Lenen Protocol


Any address can call this function to liquidate underwater accounts. It transfers the account's debt to the protocol account, reduces the cash reserve to repay the account's borrowing, and adds collateral to the protocol's own balance. The caller logs the amount of gas consumed. In the future, they can be compensated through governance.