uNFTs
UNFT.sol
The uNFTs are the collateral receipt and the proof of borrow.
The NFTs will be stored in this contract.
function tokenURI(uint256 tokenId) public view virtual returns (string)
Will return the tokenURI, for a specific tokenId. This is a copy of the real NFT.
function minterOf(uint256 tokenId) external view returns (address)
Returns the owner of the tokenId token.
function mint(address to, uint256 tokenId) external
Mints the uNFT token to the user that added his allowed NFT as collateral.
function burn(uint256 tokenId) external
Will burn the uNFT held by the user. This will happen when the user repays or is liquidated.
This method is not supported. It will revert the transaction
setApprovalForAll
This method is not supported. It will revert the transaction
safeTransferFrom
This method is not supported. It will revert the transaction
safeTransferFrom
This method is not supported. It will revert the transaction