Price oracle system for the Satoshi Perps protocol
_isAdditive
is true, adds or subtracts _adjustmentBps
basis points_isAdditive
is false, multiplies by (10000 +/- _adjustmentBps) / 10000
_maximise
(plus for max price, minus for min price)_maximise
parameter is set to true
, returning a higher price_maximise
parameter is set to false
, returning a lower priceGetting Token Price
Configuring Price Feed
Applying Price Adjustment