SOAP
Sum of All Payoffs
SOAP is one of the central tools used by Milton to control the risk. It is used to calculate the value of all the swaps should they be closed immediately. In other words, it tracks the unrealized PnL of the liquidity pool. Joseph uses SOAP to calculate the exchange of the ipTokens representing the liquidity provider's stake in the pool.
Last modified 10mo ago