Borrowing
Last updated
Was this helpful?
Last updated
Was this helpful?
Parameters:
pid
uint256
the ID of borrowing pool
tokenId
uint256
NFT ID to collateral
borrowAmount
uint256
input of borrow amount
_user
address
Wallet address of a user
Returns:
_maxBorrowAmount
uint256
Max borrow amount
_flag
bool
Over loan amount
Parameters:
pid
uint256
Pool ID
tokenId
uint256
NFT ID to collateral
borrowAmount
uint256
borrow amount
Parameters:
bid
uint256
Borrow ID
repayAmount
uint256
repay amount
Parameters:
owner
address
wallet address of a user
Parameters:
owner
address
Wallet address of owner
pid
uint256
Owner's pid
Parameters:
bid
uint256
borrow id
Returns
user
address
wallet address of user
pid
uint256
pool id of a loan
tokenId
uint256
Collateralized NFT token ID