aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-utils/src
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-06-19 11:30:13 +0800
committerJacob Evans <jacob@dekz.net>2018-06-19 15:32:17 +0800
commit560a55bfd1a05bda0d4fb4b97d76e9ea0d9301a7 (patch)
treedb144ad73789e2e8196a377507e9f38690c64d2f /packages/order-utils/src
parent190eafc30e2e444ed15b76217a6162ec04b33f73 (diff)
downloaddexon-sol-tools-560a55bfd1a05bda0d4fb4b97d76e9ea0d9301a7.tar
dexon-sol-tools-560a55bfd1a05bda0d4fb4b97d76e9ea0d9301a7.tar.gz
dexon-sol-tools-560a55bfd1a05bda0d4fb4b97d76e9ea0d9301a7.tar.bz2
dexon-sol-tools-560a55bfd1a05bda0d4fb4b97d76e9ea0d9301a7.tar.lz
dexon-sol-tools-560a55bfd1a05bda0d4fb4b97d76e9ea0d9301a7.tar.xz
dexon-sol-tools-560a55bfd1a05bda0d4fb4b97d76e9ea0d9301a7.tar.zst
dexon-sol-tools-560a55bfd1a05bda0d4fb4b97d76e9ea0d9301a7.zip
Optimize and remove redundant encodePacked
Diffstat (limited to 'packages/order-utils/src')
-rw-r--r--packages/order-utils/src/eip712_utils.ts2
-rw-r--r--packages/order-utils/src/order_hash.ts3
2 files changed, 0 insertions, 5 deletions
diff --git a/packages/order-utils/src/eip712_utils.ts b/packages/order-utils/src/eip712_utils.ts
index 00edd2531..2594e6d6d 100644
--- a/packages/order-utils/src/eip712_utils.ts
+++ b/packages/order-utils/src/eip712_utils.ts
@@ -1,8 +1,6 @@
-import { BigNumber } from '@0xproject/utils';
import ethUtil = require('ethereumjs-util');
import * as _ from 'lodash';
-import { assetProxyUtils } from './asset_proxy_utils';
import { crypto } from './crypto';
import { EIP712Schema, EIP712Types } from './types';
diff --git a/packages/order-utils/src/order_hash.ts b/packages/order-utils/src/order_hash.ts
index 074624e9e..54c500653 100644
--- a/packages/order-utils/src/order_hash.ts
+++ b/packages/order-utils/src/order_hash.ts
@@ -1,11 +1,8 @@
import { schemas, SchemaValidator } from '@0xproject/json-schemas';
import { Order, SignedOrder } from '@0xproject/types';
-import { BigNumber } from '@0xproject/utils';
-import * as ethUtil from 'ethereumjs-util';
import * as _ from 'lodash';
import { assert } from './assert';
-import { crypto } from './crypto';
import { EIP712Utils } from './eip712_utils';
import { EIP712Schema, EIP712Types } from './types';