mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
remove multiplier from totalLiquidityInOcean
This commit is contained in:
parent
61d60fd173
commit
e6b5cc15d6
@ -119,11 +119,9 @@ function PoolProvider({ children }: { children: ReactNode }): ReactElement {
|
||||
if (!poolData) return
|
||||
|
||||
// Total Liquidity
|
||||
const totalLiquidityInOcean = isValidNumber(poolData.spotPrice)
|
||||
? new Decimal(poolData.baseTokenLiquidity).add(
|
||||
new Decimal(poolData.datatokenLiquidity).mul(poolData.spotPrice)
|
||||
)
|
||||
: new Decimal(0)
|
||||
const totalLiquidityInOcean = new Decimal(
|
||||
poolData.baseTokenLiquidity ? poolData.baseTokenLiquidity : 0
|
||||
)
|
||||
|
||||
const newPoolInfo = {
|
||||
liquidityProviderSwapFee: getFee(poolData.liquidityProviderSwapFee),
|
||||
|
Loading…
Reference in New Issue
Block a user