BulletLoans
BulletLoans
is in the process of being sunset. BulletLoans
is an ERC-721 contract. Each of the tokens represents a single loan.All loan parameters can be read from LoanMetadata struct.
BulletLoans
contract enables loan creation, facilitates loan repayment and allows managing the loan's state and parameters.Manager can create loan by passing the principal to be lent, the total debt to repaid, duration of the loan, and the address of the recipient. Total debt to be repaid cannot be less than principal amount.
Existing loan can be repaid partially or in full. If loan is paid in full, this function will mark the loan’s status to ‘Fully Repaid’. Note that a loan cannot be overpaid.
Only the portfolio’s manager can mark a loan as defaulted.
Only the portfolio’s manager can mark a loan as resolved. Intended to be used for situations after partial repayment where a loan workout has been agreed to.
Manager can modify loan terms, changing maturity date or total debt to be repaid.
Manager can modify loan terms, changing maturity date or total debt to be repaid. In order to change the maturity date to an earlier date or increase the repayment value, the borrower must consent and provide a signature.
Returns principal amount of loan.
Returns underlying token (e.g. USDC, USDT) of the loan.
Returns borrower’s address.
Returns maturity date of the loan.
Returns remaining amount to be paid, i.e. total debt less repaid amount.
Returns status of loan (
Issued
, FullyRepaid
, Defaulted
, Resolved
).Last modified 8mo ago