LendPoolLoan
The NFT loan manager of the protocol, generate unique loan when NFTs are used as collateral in the borrowing, and maintain relationship between NFT and loan.
function borrowerOf(uint256 loanId)
Returns borrower address of the loan.
function getCollateralLoanId(address nftAsset, uint256 nftTokenId)
Returns loan id of the NFT specified.
function getLoanCollateralAndReserve(uint256 loanId)
Returns collateral asset and reserve parameters of the loan.
function getLoanReserveBorrowScaledAmount(uint256 loanId)
function getLoanReserveBorrowAmount(uint256 loanId)
function getNftCollateralAmount(address nftAsset)
function getUserNftCollateralAmount(address user, address nftAsset)
Last modified 1yr ago