Maximum loan amount

Assuming that there are n token pairs in an NFT pool, the one with the highest collateral rate will be taken from the pool at first. Each token will correspond to an asset ratio. The asset ratio is calculated as follows:

xrate=xim/(xicN) x_{rate}=x_{im}/(x_{ic}*N) 

ximxic x_{im}x_{ic}represents the token quantity and collateral rate of the token pair, and N represents the NFT asset value.

The maximum loan amount VmaxV_{max} is calculated by arranging from largest to smallest collateral rate.

Vmax=x1m+x2m+xkmV_{max}=x_{1m}+x_{2m}+……x_{km}

Among this:

i=1k xirate  < 1\sum_{i=1}^k x_{irate}  < 1

Last updated