1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

Update Datatokens.ts

This commit is contained in:
Alex Coseru 2020-07-15 17:34:40 +03:00 committed by GitHub
parent 36ba35f238
commit a643bfcb27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,8 +20,8 @@ export class DataTokens {
*/
constructor(factoryAddress: string, factoryABI: any, datatokensABI: any, web3: any) {
this.factoryAddress = factoryAddress
this.factoryABI = factoryABI || defaultFactoryABI
this.datatokensABI = datatokensABI || defaultDatatokensABI
this.factoryABI = factoryABI || defaultFactoryABI.abi
this.datatokensABI = datatokensABI || defaultDatatokensABI.abi
this.web3 = web3
}