mirror of
https://github.com/oceanprotocol/market.git
synced 2024-07-01 06:11:43 +02: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