Function calculateSpreadReserves
- calculateSpreadReserves(amm: AMM, oraclePriceData: OraclePriceData, now?: BN, isPrediction?: boolean): {
baseAssetReserve: any;
quoteAssetReserve: any;
}[]
-
Parameters
-
-
-
Optional
now: BN
-
isPrediction: boolean = false
Returns {
baseAssetReserve: any;
quoteAssetReserve: any;
}[]