TestLoansManager
Inherits: LoansManager, UUPSUpgradeable
Functions
initialize
function initialize(IFixedInterestBulletLoans _fixedInterestBulletLoans, IERC20 _asset) public initializer;
_authorizeUpgrade
function _authorizeUpgrade(address) internal override;
addLoan
function addLoan(AddLoanParams calldata params) external returns (uint256 loanId);
fundLoan
function fundLoan(uint256 loanId) external returns (uint256 principal);
repayLoan
function repayLoan(uint256 loanId) external returns (uint256 amount);
repayDefaultedLoan
function repayDefaultedLoan(uint256 loanId, uint256 amount) external;
cancelLoan
function cancelLoan(uint256 loanId) external;
markLoanAsDefaulted
function markLoanAsDefaulted(uint256 loanId) external;
tryToExcludeLoan
function tryToExcludeLoan(uint256 loanId) external;
increaseTokenBalance
function increaseTokenBalance(uint256 amount) external;
getCountOfActiveLoans
function getCountOfActiveLoans() external view returns (uint256);