aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src/utils/address_utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contracts/src/utils/address_utils.ts')
-rw-r--r--packages/contracts/src/utils/address_utils.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/packages/contracts/src/utils/address_utils.ts b/packages/contracts/src/utils/address_utils.ts
deleted file mode 100644
index a9fb6921a..000000000
--- a/packages/contracts/src/utils/address_utils.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-import { crypto, generatePseudoRandomSalt } from '@0xproject/order-utils';
-
-export const addressUtils = {
- generatePseudoRandomAddress(): string {
- const randomBigNum = generatePseudoRandomSalt();
- const randomBuff = crypto.solSHA3([randomBigNum]);
- const randomAddress = `0x${randomBuff.slice(0, 20).toString('hex')}`;
- return randomAddress;
- },
-};