File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
pallets/hybrid-orderbook/src Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -284,10 +284,12 @@ pub struct PoolQuery<Orderbook, Unit> {
284284 bids : Orderbook ,
285285 asks : Orderbook ,
286286 taker_fee_rate : Permill ,
287- pool_decimals : u8 ,
288287 base_reserve : Unit ,
289288 quote_reserve : Unit ,
290289 pool_price : Unit ,
290+ pool_decimals : u8 ,
291+ base_decimals : u8 ,
292+ quote_decimals : u8 ,
291293}
292294
293295/// Detail of the pool
@@ -349,10 +351,12 @@ impl<T: Config> Pool<T> {
349351 bids : self . bids ,
350352 asks : self . asks ,
351353 taker_fee_rate : self . taker_fee_rate ,
352- pool_decimals : self . pool_decimals ,
353354 base_reserve,
354355 quote_reserve,
355356 pool_price,
357+ pool_decimals : self . pool_decimals ,
358+ base_decimals : self . base_decimals ,
359+ quote_decimals : self . quote_decimals ,
356360 }
357361 }
358362
You can’t perform that action at this time.
0 commit comments