diff options
author | Fabio Berger <me@fabioberger.com> | 2018-09-29 01:38:10 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-09-29 01:38:10 +0800 |
commit | 033340e304a92e4022cd3bce06f612e904a73faf (patch) | |
tree | 56f28bb601c50ce7377b24e8426df3161a835b76 | |
parent | 9ae60d0abe0ea32eb9dbfc48a9168d1996c674a0 (diff) | |
download | dexon-sol-tools-033340e304a92e4022cd3bce06f612e904a73faf.tar dexon-sol-tools-033340e304a92e4022cd3bce06f612e904a73faf.tar.gz dexon-sol-tools-033340e304a92e4022cd3bce06f612e904a73faf.tar.bz2 dexon-sol-tools-033340e304a92e4022cd3bce06f612e904a73faf.tar.lz dexon-sol-tools-033340e304a92e4022cd3bce06f612e904a73faf.tar.xz dexon-sol-tools-033340e304a92e4022cd3bce06f612e904a73faf.tar.zst dexon-sol-tools-033340e304a92e4022cd3bce06f612e904a73faf.zip |
Fix typo
-rw-r--r-- | packages/sol-doc/src/cli.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/sol-doc/src/cli.ts b/packages/sol-doc/src/cli.ts index 04956510e..11e638785 100644 --- a/packages/sol-doc/src/cli.ts +++ b/packages/sol-doc/src/cli.ts @@ -20,14 +20,14 @@ const JSON_TAB_WIDTH = 4; .demandOption('contracts-dir') .array('contracts') .help().argv; - // Unforunately, the only way to currently retrieve the declared structs within Solidity contracts + // Unfortunately, the only way to currently retrieve the declared structs within Solidity contracts // is to tease them out of the params/return values included in the ABI. These structures do // not include the structs actual name, so we need a mapping to assign the proper name to a // struct. If the name is not in this mapping, the structs name will default to the param/return value // name (which mostly coincide). const customTypeHashToName: { [hash: string]: string } = { '52d4a768701076c7bac06e386e430883975eb398732eccba797fd09dd064a60e': 'Order', - '46f7e8c4d144d11a72ce5338458ea37b933500d7a65e740cbca6d16e350eaa48': 'FillResult', + '46f7e8c4d144d11a72ce5338458ea37b933500d7a65e740cbca6d16e350eaa48': 'FillResults', c22239cf0d29df1e6cf1be54f21692a8c0b3a48b9367540d4ffff4608b331ce9: 'OrderInfo', c21e9ff31a30941c22e1cb43752114bb467c34dea58947f98966c9030fc8e4a9: 'TraderInfo', '07c2bddc165e0b5005e6244dd4a9771fa61c78c4f42abd687d57567b0768136c': 'MatchedFillResults', |