Price

In Midaswap, we have two price indexes: floor price and best offer.

  • Floor price is the price of the lowest bin with NFT liquidity. LPs can add only FT liquidity at or below floor price. If a user buys the cheapest NFT in the pool, the swap will happen in the floor price bin.

  • Best offer is the price of the highest bin below floor price with FT liquidity. LPs can add only NFT liquidity at or above floor price. If a user sells a NFT to the pool, the swap will happen in the best offer bin.

Let's say, Alice, Bob and Charlie have added NFT liquidity to the Liquidity Book in Bin15, Bin25 and Bin30 ranges respectively, and David has added one NFT limit selling order in Bin20. In this case, the floor price is 15USDC. Midaswap will list the prices of the NFTs acccoring to the Liquidity Book. Note that the initial order price of Tokenid1 and Tokenid2 provided by Alice is 30USDC. That any NFT provided by Alice gets sold will increase the price of another NFT provided by Alice (in this case, by 5 USDC).

Last updated