diff --git a/src/contracts/pools/FixedRateExchange.ts b/src/contracts/pools/FixedRateExchange.ts index c5d28c41..ef1217b7 100644 --- a/src/contracts/pools/FixedRateExchange.ts +++ b/src/contracts/pools/FixedRateExchange.ts @@ -17,7 +17,6 @@ import { PriceAndFees, FeesInfo, FixedPriceExchange } from '../../@types' export class FixedRateExchange { /** Ocean related functions */ - public oceanAddress: string = null public fixedRateAddress: string public fixedRateExchangeAbi: AbiItem | AbiItem[] public web3: Web3 @@ -36,14 +35,12 @@ export class FixedRateExchange { fixedRateAddress: string, network?: string | number, fixedRateExchangeAbi: AbiItem | AbiItem[] = null, - oceanAddress: string = null, config?: Config ) { this.web3 = web3 this.config = config || new ConfigHelper().getConfig(network || 'unknown') this.fixedRateExchangeAbi = fixedRateExchangeAbi || (defaultFixedRateExchangeAbi.abi as AbiItem[]) - this.oceanAddress = oceanAddress this.fixedRateAddress = fixedRateAddress this.fixedRateContract = setContractDefaults( new this.web3.eth.Contract(this.fixedRateExchangeAbi, this.fixedRateAddress),