aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-18 17:19:27 +0800
committerGitHub <noreply@github.com>2018-04-18 17:19:27 +0800
commitf6f2991a442da156a3dbdeca84683a6c9f46d0e1 (patch)
tree4951024bfba56d5c3268556c4d4e2ca0ab4f6d17 /packages/contracts
parent823f2db09fba8f19806ba3fa4bd679e12a58be3f (diff)
parent4ea222bbffd7a378712320a2f366d5bbee5920af (diff)
downloaddexon-sol-tools-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.tar
dexon-sol-tools-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.tar.gz
dexon-sol-tools-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.tar.bz2
dexon-sol-tools-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.tar.lz
dexon-sol-tools-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.tar.xz
dexon-sol-tools-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.tar.zst
dexon-sol-tools-f6f2991a442da156a3dbdeca84683a6c9f46d0e1.zip
Merge pull request #535 from 0xProject/fix/commentRendering
Docs: Fix Type Comment Rendering
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/util/crypto.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/contracts/util/crypto.ts b/packages/contracts/util/crypto.ts
index 97b8f5643..810072d2f 100644
--- a/packages/contracts/util/crypto.ts
+++ b/packages/contracts/util/crypto.ts
@@ -4,14 +4,14 @@ import ethUtil = require('ethereumjs-util');
import * as _ from 'lodash';
export const crypto = {
- /*
- * We convert types from JS to Solidity as follows:
- * BigNumber -> uint256
- * number -> uint8
- * string -> string
- * boolean -> bool
- * valid Ethereum address -> address
- */
+ /**
+ * We convert types from JS to Solidity as follows:
+ * BigNumber -> uint256
+ * number -> uint8
+ * string -> string
+ * boolean -> bool
+ * valid Ethereum address -> address
+ */
solSHA3(args: any[]): Buffer {
return crypto._solHash(args, ABI.soliditySHA3);
},