mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
method changes
This commit is contained in:
parent
d7fed2deb5
commit
89f4bf5aea
@ -57,13 +57,13 @@ export default function Remove({
|
||||
(Number(amountPercent) / Number(poolTokens)) * 100
|
||||
setAmountPoolShares(`${amountPoolShares}`)
|
||||
|
||||
const amountOcean = await ocean.pool.getPoolSharesForRemoveOcean(
|
||||
const amountOcean = await ocean.pool.getOceanRemovedforPoolShares(
|
||||
poolAddress,
|
||||
`${amountPoolShares}`
|
||||
)
|
||||
setAmountOcean(amountOcean)
|
||||
|
||||
const amountDatatoken = await ocean.pool.getPoolSharesForRemoveDT(
|
||||
const amountDatatoken = await ocean.pool.getDTRemovedforPoolShares(
|
||||
poolAddress,
|
||||
`${amountPoolShares}`
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user