diff options
Diffstat (limited to 'packages/contracts')
-rw-r--r-- | packages/contracts/src/utils/core_combinatorial_utils.ts | 8 | ||||
-rw-r--r-- | packages/contracts/src/utils/order_factory_from_scenario.ts (renamed from packages/contracts/src/utils/new_order_factory.ts) | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/contracts/src/utils/core_combinatorial_utils.ts b/packages/contracts/src/utils/core_combinatorial_utils.ts index d6142c5fb..cdb8e579d 100644 --- a/packages/contracts/src/utils/core_combinatorial_utils.ts +++ b/packages/contracts/src/utils/core_combinatorial_utils.ts @@ -23,7 +23,7 @@ import { constants } from '../utils/constants'; import { ERC20Wrapper } from '../utils/erc20_wrapper'; import { ERC721Wrapper } from '../utils/erc721_wrapper'; import { ExchangeWrapper } from '../utils/exchange_wrapper'; -import { NewOrderFactory } from '../utils/new_order_factory'; +import { OrderFactoryFromScenario } from '../utils/order_factory_from_scenario'; import { orderUtils } from '../utils/order_utils'; import { signingUtils } from '../utils/signing_utils'; import { SimpleAssetBalanceAndProxyAllowanceFetcher } from '../utils/simple_asset_balance_and_proxy_allowance_fetcher'; @@ -111,7 +111,7 @@ export async function coreCombinatorialUtilsFactoryAsync( constants.AWAIT_TRANSACTION_MINED_MS, ); - const orderFactory = new NewOrderFactory( + const orderFactory = new OrderFactoryFromScenario( userAddresses, zrxToken.address, [erc20EighteenDecimalTokenA.address, erc20EighteenDecimalTokenB.address], @@ -135,7 +135,7 @@ export async function coreCombinatorialUtilsFactoryAsync( } export class CoreCombinatorialUtils { - public orderFactory: NewOrderFactory; + public orderFactory: OrderFactoryFromScenario; public ownerAddress: string; public makerAddress: string; public makerPrivateKey: Buffer; @@ -235,7 +235,7 @@ export class CoreCombinatorialUtils { } } constructor( - orderFactory: NewOrderFactory, + orderFactory: OrderFactoryFromScenario, ownerAddress: string, makerAddress: string, makerPrivateKey: Buffer, diff --git a/packages/contracts/src/utils/new_order_factory.ts b/packages/contracts/src/utils/order_factory_from_scenario.ts index 22705d3e7..74c2d4fa2 100644 --- a/packages/contracts/src/utils/new_order_factory.ts +++ b/packages/contracts/src/utils/order_factory_from_scenario.ts @@ -23,7 +23,7 @@ const TEN_UNITS_FIVE_DECIMALS = new BigNumber(1000000); const FIVE_UNITS_FIVE_DECIMALS = new BigNumber(500000); const ONE_NFT_UNIT = new BigNumber(1); -export class NewOrderFactory { +export class OrderFactoryFromScenario { private _userAddresses: string[]; private _zrxAddress: string; private _nonZrxERC20EighteenDecimalTokenAddresses: string[]; |