KZMKBL / starknet-cairo-nft-lending

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NFT2DeFi Lending Auctions

NFT Lending protocol and dapp allows borrowers to find best lenders via auction and both sides to further engage in DeFi

Description

Owners of NFTs can get loans by using their NFTs as collateral. In order to find the best lender, they set up auctions, in which each lender competes for the lowest loan repayment amount. During the auction, each bidder (potential lender) deposits a specified amount in order to participate. The deposit is returned, as soon as a better bidder arrives, so if a bidder loses the auction, their deposit is immediately returned. After the auction the borrower can activate the loan to use and further engage in DeFi. The lender can safely profit from the collateralized loan repayment or liquidation. If the lender does not authorize the transfer or has insufficient funds, the borrower gets to keep the deposit, get the collateral back and terminate the loan. If the borrower fails to repay the loan on time, the lender can liquidate the loan and keep the collateral. If the borrower fails to initiate the loan, he can keep the deposit, but lose the collateral.

Reference

Nft Lending Auction written by solidity

About


Languages

Language:Cairo 69.8%Language:Python 30.0%Language:Makefile 0.2%