1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-12-23 01:29:49 +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( const datatoken = new DataTokens(
ocean.datatokens.factoryAddress, ocean.datatokens.factoryAddress,
ocean.datatokens.factoryABI, (ocean.datatokens.factoryABI as any).abi,
ocean.datatokens.datatokensABI, (ocean.datatokens.datatokensABI as any).abi,
web3 web3
) )
@ -78,8 +78,8 @@ function usePublish(): UsePublish {
if (datatoken === undefined) if (datatoken === undefined)
datatoken = new DataTokens( datatoken = new DataTokens(
ocean.datatokens.factoryAddress, ocean.datatokens.factoryAddress,
ocean.datatokens.factoryABI, (ocean.datatokens.factoryABI as any).abi,
ocean.datatokens.datatokensABI, (ocean.datatokens.datatokensABI as any).abi,
web3 web3
) )
@ -95,8 +95,8 @@ function usePublish(): UsePublish {
if (datatoken === undefined) if (datatoken === undefined)
datatoken = new DataTokens( datatoken = new DataTokens(
ocean.datatokens.factoryAddress, ocean.datatokens.factoryAddress,
ocean.datatokens.factoryABI, (ocean.datatokens.factoryABI as any).abi,
ocean.datatokens.datatokensABI, (ocean.datatokens.datatokensABI as any).abi,
web3 web3
) )