💫Liquidation Mechanism
Conditions when liquidation can happen
Liquidation Trigger
// contract: ProvisioningPool.sol
// @notice This function can be called when a ZNft tokenId satisfy the liquidation threshold
// That is, when a borrower is missing interest payments or his borrowed position is under water
// This contract repays the owed amount first, and then initiate the auction for the ZNft tokenId
// @param tokenId The ZNft tokenId to be liquidated
function liquidateZNft(uint256 tokenId)Last updated