mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Updating return values
This commit is contained in:
parent
74f4642ad0
commit
c6ddaa094a
@ -1410,6 +1410,11 @@ export class Datatoken {
|
|||||||
})
|
})
|
||||||
|
|
||||||
const publishingMarketFee = await dtContract.methods.getPublishingMarketFee().call()
|
const publishingMarketFee = await dtContract.methods.getPublishingMarketFee().call()
|
||||||
return publishingMarketFee
|
const returnValues = {
|
||||||
|
publishMarketFeeAddress: publishingMarketFee[0],
|
||||||
|
publishMarketFeeToken: publishingMarketFee[1],
|
||||||
|
publishMarketFeeAmount: publishingMarketFee[2]
|
||||||
|
}
|
||||||
|
return returnValues
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user