04-05, 17:10–17:30 (Europe/Zurich), Surge Stage
Defi apps need to price collateral. Spot prices approximate the value ignoring slippage and fees. Redstone proposes a multi-dimensional curve where the price is a function of the quantity of assets to improve risk management and capital utilization.
Many of the Defi protocols rely on accurate pricing of user collateral. The most common approach is to use spot prices for all assets included in the collateral to estimate their market value. However, the spot price is only an approximation of the actual market price of all assets, as the liquidation process often involves additional slippage and fees.
Redstone proposes a novel approach with multi-dimensional pricing that provides a two-dimensional curve indicating a price depending on the quantity of assets to be liquidated. The curve is generated in real time based on the liquidity available in the current market and any additional costs due to swap fees. This allows protocols to better price collateral, reduce risk margin and improve capital utilisation.
During the presentation, I will describe the methodology used to create the multidimensional price. I will also use code examples to show how the data is formatted and how it can be used efficiently in smart contracts.
Co-Founder of RedStone & Warp.cc.
In the blockchain space since 2017, ex-Google Cloud PM, attended 30+ hackathons and conferences, winner of ETHBogota 2022, Co-Founder of ETHWarsaw hackathon & conference. Marcin has a broad understanding of Web3 infrastructure and integration aspects.