1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-12-22 17:23:32 +01:00
This commit is contained in:
mihaisc 2020-07-14 15:19:20 +03:00
parent 2aa4f7b140
commit ac5a1834c5

View File

@ -25,8 +25,8 @@ function usePublish(): UsePublish {
const datatoken = new DataTokens(
ocean.datatokens.factoryAddress,
ocean.datatokens.factoryABI,
ocean.datatokens.datatokensABI,
(ocean.datatokens.factoryABI as any).abi,
(ocean.datatokens.datatokensABI as any).abi,
web3
)
@ -78,8 +78,8 @@ function usePublish(): UsePublish {
if (datatoken === undefined)
datatoken = new DataTokens(
ocean.datatokens.factoryAddress,
ocean.datatokens.factoryABI,
ocean.datatokens.datatokensABI,
(ocean.datatokens.factoryABI as any).abi,
(ocean.datatokens.datatokensABI as any).abi,
web3
)
@ -95,8 +95,8 @@ function usePublish(): UsePublish {
if (datatoken === undefined)
datatoken = new DataTokens(
ocean.datatokens.factoryAddress,
ocean.datatokens.factoryABI,
ocean.datatokens.datatokensABI,
(ocean.datatokens.factoryABI as any).abi,
(ocean.datatokens.datatokensABI as any).abi,
web3
)