aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contract_templates
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-20 00:18:43 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-20 00:19:37 +0800
commit6f2217570f0dd7060cf208da32b18c52c9798871 (patch)
tree0bd34b345ef58cc6156f700b93b44cd5f32ea420 /packages/contract_templates
parent91ca80b248ac75b0d8258dd4dfc7a6e0c36c572b (diff)
parent669ea191a5e34ec704851377ee5eedb03c2d1538 (diff)
downloaddexon-sol-tools-6f2217570f0dd7060cf208da32b18c52c9798871.tar
dexon-sol-tools-6f2217570f0dd7060cf208da32b18c52c9798871.tar.gz
dexon-sol-tools-6f2217570f0dd7060cf208da32b18c52c9798871.tar.bz2
dexon-sol-tools-6f2217570f0dd7060cf208da32b18c52c9798871.tar.lz
dexon-sol-tools-6f2217570f0dd7060cf208da32b18c52c9798871.tar.xz
dexon-sol-tools-6f2217570f0dd7060cf208da32b18c52c9798871.tar.zst
dexon-sol-tools-6f2217570f0dd7060cf208da32b18c52c9798871.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/discharge
Diffstat (limited to 'packages/contract_templates')
-rw-r--r--packages/contract_templates/README.md4
-rw-r--r--packages/contract_templates/contract.handlebars6
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/contract_templates/README.md b/packages/contract_templates/README.md
index e5f4b09d1..c6cc3b1b3 100644
--- a/packages/contract_templates/README.md
+++ b/packages/contract_templates/README.md
@@ -2,7 +2,7 @@ These templates are used with [abi-gen](https://github.com/0xProject/0x-monorepo
To successfully compile the generated TypeScript contract wrappers, you must:
-* Install the packages on which the main contract template directly depends: `yarn add @0xproject/base-contract @0xproject/sol-compiler @0xproject/utils @0xproject/web3-wrapper ethereum-types ethers lodash`
+* Install the packages on which the main contract template directly depends: `yarn add @0x/base-contract @0x/sol-compiler @0x/utils @0x/web3-wrapper ethereum-types ethers lodash`
* Install the packages on which the main contract template *in*directly depends: `yarn add @types/lodash`
* Ensure that your TypeScript configuration includes the following:
@@ -10,7 +10,7 @@ To successfully compile the generated TypeScript contract wrappers, you must:
"compilerOptions": {
"lib": ["ES2015"],
"typeRoots": [
- "node_modules/@0xproject/typescript-typings/types",
+ "node_modules/@0x/typescript-typings/types",
"node_modules/@types"
]
}
diff --git a/packages/contract_templates/contract.handlebars b/packages/contract_templates/contract.handlebars
index 41e5c8630..9c1952ed4 100644
--- a/packages/contract_templates/contract.handlebars
+++ b/packages/contract_templates/contract.handlebars
@@ -1,10 +1,10 @@
// tslint:disable:no-consecutive-blank-lines ordered-imports align trailing-comma whitespace class-name
// tslint:disable:no-unused-variable
// tslint:disable:no-unbound-method
-import { BaseContract } from '@0xproject/base-contract';
+import { BaseContract } from '@0x/base-contract';
import { BlockParam, BlockParamLiteral, CallData, ContractAbi, ContractArtifact, DecodedLogArgs, MethodAbi, Provider, TxData, TxDataPayable } from 'ethereum-types';
-import { BigNumber, classUtils, logUtils } from '@0xproject/utils';
-import { Web3Wrapper } from '@0xproject/web3-wrapper';
+import { BigNumber, classUtils, logUtils } from '@0x/utils';
+import { Web3Wrapper } from '@0x/web3-wrapper';
import * as ethers from 'ethers';
import * as _ from 'lodash';
// tslint:enable:no-unused-variable