Borrowing
Smart Contract:[ThemisBorrowCompound.sol](Solidity-Open-Source/ThemisBorrowCompound.sol at main · Themis-protocol/Solidity-Open-Source · GitHub)
Functions
getUserMaxBorrowAmount
Get the max borrow amount of a user when the user trying to collateral the NFT
Parameters:
Returns:
v3NFTBorrow
Parameters:
userReturn
Repayment the loan
Parameters:
getBorrowPoolIdsOfOwner
Get the pid of a user
Parameters:
getBorrowIdsOfOwnerAndPoolId
Get the borrow id of the owner form pid when user get a loan
Parameters:
borrowInfo
Get the borrow id info
Parameters:
Returns
Last updated