add buyCollateral script and add setTargetReserves function for lending contract
This commit is contained in:
@@ -14,6 +14,7 @@ interface ILending {
|
||||
event AbsorbCollateral(address indexed absorber, address indexed borrower, address indexed asset, uint256 collateralAbsorbed, uint256 usdValue);
|
||||
event BuyCollateral(address indexed buyer, address indexed asset, uint256 baseAmount, uint256 collateralAmount);
|
||||
event WithdrawReserves(address indexed to, uint256 amount);
|
||||
event TargetReservesUpdated(uint104 targetReserves);
|
||||
|
||||
error Unauthorized();
|
||||
error InsufficientBalance();
|
||||
|
||||
Reference in New Issue
Block a user