aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract-addresses/README.md
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-10-16 05:22:48 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-10-16 05:22:48 +0800
commit38b146c395429f860f57fa1865e01175eee39e62 (patch)
tree19fea9dc74f5fb0b1b8212a65f3274b94df31d0a /packages/contract-addresses/README.md
parente3af06ab107f98d4ca4a195da05d808370b56bb4 (diff)
downloaddexon-sol-tools-38b146c395429f860f57fa1865e01175eee39e62.tar
dexon-sol-tools-38b146c395429f860f57fa1865e01175eee39e62.tar.gz
dexon-sol-tools-38b146c395429f860f57fa1865e01175eee39e62.tar.bz2
dexon-sol-tools-38b146c395429f860f57fa1865e01175eee39e62.tar.lz
dexon-sol-tools-38b146c395429f860f57fa1865e01175eee39e62.tar.xz
dexon-sol-tools-38b146c395429f860f57fa1865e01175eee39e62.tar.zst
dexon-sol-tools-38b146c395429f860f57fa1865e01175eee39e62.zip
Add OrThrow suffix to getContractAddressesForNetwork
Diffstat (limited to 'packages/contract-addresses/README.md')
-rw-r--r--packages/contract-addresses/README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/contract-addresses/README.md b/packages/contract-addresses/README.md
index 62c062d26..6c615c422 100644
--- a/packages/contract-addresses/README.md
+++ b/packages/contract-addresses/README.md
@@ -12,13 +12,14 @@ yarn add @0xproject/contract-addresses
**Import**
```typescript
-import { getContractAddressesForNetwork } from '@0xproject/contract-addresses';
+import { getContractAddressesForNetworkOrThrow } from '@0xproject/contract-addresses';
```
or
```javascript
-var getContractAddressesForNetwork = require('@0xproject/contract-addresses').getContractAddressesForNetwork;
+var getContractAddressesForNetworkOrThrow = require('@0xproject/contract-addresses')
+ .getContractAddressesForNetworkOrThrow;
```
## Contributing