diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-04-11 08:53:34 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-04-21 04:56:17 +0800 |
commit | 78d81f193f3b9358ab86819f83c76b8bcd52a9c9 (patch) | |
tree | 6f3532ebbf6ed2bc3d07747ba442ec77d4d9ebe3 /packages/contracts/src/utils/crypto.ts | |
parent | b9e0cd4512e6c7cd7584961df6ba106541826836 (diff) | |
download | dexon-sol-tools-78d81f193f3b9358ab86819f83c76b8bcd52a9c9.tar dexon-sol-tools-78d81f193f3b9358ab86819f83c76b8bcd52a9c9.tar.gz dexon-sol-tools-78d81f193f3b9358ab86819f83c76b8bcd52a9c9.tar.bz2 dexon-sol-tools-78d81f193f3b9358ab86819f83c76b8bcd52a9c9.tar.lz dexon-sol-tools-78d81f193f3b9358ab86819f83c76b8bcd52a9c9.tar.xz dexon-sol-tools-78d81f193f3b9358ab86819f83c76b8bcd52a9c9.tar.zst dexon-sol-tools-78d81f193f3b9358ab86819f83c76b8bcd52a9c9.zip |
Asset Proxy Dispatcher
Diffstat (limited to 'packages/contracts/src/utils/crypto.ts')
-rw-r--r-- | packages/contracts/src/utils/crypto.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/contracts/src/utils/crypto.ts b/packages/contracts/src/utils/crypto.ts index 810072d2f..5bc678cdf 100644 --- a/packages/contracts/src/utils/crypto.ts +++ b/packages/contracts/src/utils/crypto.ts @@ -31,6 +31,8 @@ export const crypto = { argTypes.push('address'); } else if (_.isString(arg)) { argTypes.push('string'); + } else if (arg instanceof Buffer) { + argTypes.push('bytes'); } else if (_.isBoolean(arg)) { argTypes.push('bool'); } else { |