TERC721
TERC721 are promissory-note tokens that are minted and burned upon deposite nft and withdraw nft, representing the NFT used as collateral owed by the token holder, with the same token ID.
The TERC721 token is pegged to the token of the corresponding NFT collateral at a 1:1. All tokens owned by the TERC721 holders can be simply integrated into the NFT wallet and social media.
For all minting and burning actions, see depositNFTs() and withdrawNFTs() methods in the LendingPool contract.
ERC721 Methods
TERC721 implements all the standard interfaces of ERC721. Transferring TERC721 to others is only allowed when the lending situation of TERC721 holders remains healthy.
Methods
mint
Mints TERC721 token to the user address. The caller must have the original NFT of the underlying asset.
call params
burn
Burns user TERC721 token. The caller must be the minter when it is minted.
call params
View Methods
totalSupply
Returns the supply of the TERC721.
tokenURI
Return URI of the underlying nft assert.
Last updated