add setBaseBorrowMin function

This commit is contained in:
2026-03-09 15:54:32 +08:00
parent e033cbd1c4
commit 83d73a7409
15 changed files with 508 additions and 25 deletions

View File

@@ -15,6 +15,7 @@ interface ILending {
event BuyCollateral(address indexed buyer, address indexed asset, uint256 baseAmount, uint256 collateralAmount);
event WithdrawReserves(address indexed to, uint256 amount);
event TargetReservesUpdated(uint104 targetReserves);
event BaseBorrowMinUpdated(uint104 baseBorrowMin);
error Unauthorized();
error InsufficientBalance();
@@ -47,5 +48,5 @@ interface ILending {
function getCollateralReserves(address asset) external view returns (uint256);
function getUtilization() external view returns (uint256);
function withdrawReserves(address to, uint256 amount) external;
}
function setBaseBorrowMin(uint104 newBaseBorrowMin) external;
}