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:
parent
4cee7bb08c
commit
b3e3cdce7f
@ -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
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -25,7 +25,6 @@ export interface DispenserToken {
|
||||
}
|
||||
|
||||
export class Dispenser {
|
||||
public GASLIMIT_DEFAULT = 1000000
|
||||
public web3: Web3 = null
|
||||
public dispenserAddress: string
|
||||
public config: Config
|
||||
|
@ -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
|
||||
|
@ -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) {
|
||||
|
@ -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[]
|
||||
|
@ -26,7 +26,6 @@ interface Roles {
|
||||
}
|
||||
|
||||
export class Nft {
|
||||
public GASLIMIT_DEFAULT = 1000000
|
||||
public factory721Address: string
|
||||
public factory721Abi: AbiItem | AbiItem[]
|
||||
public nftAbi: AbiItem | AbiItem[]
|
||||
|
Loading…
x
Reference in New Issue
Block a user