student-loan/interfaces/ILoanManager.sol
2024-08-27 22:01:25 +03:00

9 lines
334 B
Solidity

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface ILoanManager {
function createLoan(uint256 studentId, uint256 amount) external;
function getLoan(uint256 loanId) external view returns (uint256 studentId, uint256 amount, uint256 status);
function updateLoan(uint256 loanId, uint256 newAmount) external;
}