โž•Scalar Markets

It is also possible to make markets to predict some metrics. This works by determining a [min,max] range and creating DOWN and UP tokens.

For example we could make a market ยซ What will be the inflation in the eurozone in 2024 ? ยป with a range of [0,10] %. In this case we would have some ยซ sDAI if Inflation DOWN ยป and ยซ sDAI if Inflation UP ยป tokens.

If the value returned by the oracle is the minimum of the range or lower, DOWN tokens redeem for the underlying. If the value is the maximum of the range or higher, UP tokens redeem for the underlying.

If the value is within the interval, DOWN and UP tokens each redeem partially:

  • UP tokens redeem for (value - min)/(max - min)

  • DOWN tokens redeem for (max - value)/(max - min).

For example, if the inflation is negative (i.e. deflation), ยซ sDAI if Inflation DOWN ยป tokens redeem for 1 sDAI each. If the inflation is of 2%, ยซ sDAI if Inflation DOWN ยป tokens redeem for 0.8 sDAI each and ยซ sDAI if Inflation UP ยป tokens redeem for 0.2 sDAI each.

Last updated