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

remove GASLIMIT_DEFAULT constant from lib classes

This commit is contained in:
Miquel A. Cabot 2022-04-06 14:18:36 +02:00
parent 4cee7bb08c
commit b3e3cdce7f
8 changed files with 0 additions and 8 deletions

View File

@ -51,7 +51,6 @@ const addressZERO = '0x0000000000000000000000000000000000000000'
* Provides an interface for NFT Factory contract
*/
export class NftFactory {
public GASLIMIT_DEFAULT = 1000000
public factory721Address: string
public factory721Abi: AbiItem | AbiItem[]
public web3: Web3

View File

@ -16,7 +16,6 @@ import { Config } from '../models/index.js'
* Provides an interface for FactoryRouter contract
*/
export class Router {
public GASLIMIT_DEFAULT = 1000000
public routerAddress: string
public RouterAbi: AbiItem | AbiItem[]
public web3: Web3

View File

@ -38,7 +38,6 @@ const MaxUint256 =
export class Pool {
public poolAbi: AbiItem | AbiItem[]
public web3: Web3
public GASLIMIT_DEFAULT = 1000000
private config: Config
constructor(web3: Web3, poolAbi: AbiItem | AbiItem[] = null, config?: Config) {

View File

@ -25,7 +25,6 @@ export interface DispenserToken {
}
export class Dispenser {
public GASLIMIT_DEFAULT = 1000000
public web3: Web3 = null
public dispenserAddress: string
public config: Config

View File

@ -55,7 +55,6 @@ export enum FixedRateCreateProgressStep {
/* eslint-enable no-unused-vars */
export class FixedRateExchange {
public GASLIMIT_DEFAULT = 1000000
/** Ocean related functions */
public oceanAddress: string = null
public fixedRateAddress: string

View File

@ -16,7 +16,6 @@ import { Config } from '../../models'
export class SideStaking {
public ssAbi: AbiItem | AbiItem[]
public web3: Web3
public GASLIMIT_DEFAULT = 1000000
public config: Config
constructor(web3: Web3, ssAbi: AbiItem | AbiItem[] = null, config?: Config) {

View File

@ -45,7 +45,6 @@ export interface DispenserParams {
}
export class Datatoken {
public GASLIMIT_DEFAULT = 1000000
public factoryAddress: string
public factoryABI: AbiItem | AbiItem[]
public datatokensAbi: AbiItem | AbiItem[]

View File

@ -26,7 +26,6 @@ interface Roles {
}
export class Nft {
public GASLIMIT_DEFAULT = 1000000
public factory721Address: string
public factory721Abi: AbiItem | AbiItem[]
public nftAbi: AbiItem | AbiItem[]