aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/src
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-08 21:42:07 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-05-10 23:47:38 +0800
commita6f72de09d7b2c9738b78d2097baa9906838fbe9 (patch)
tree17126a5b45dabf2c7410d25668c68ce3d78284f0 /packages/migrations/src
parent96037aed5231aa9344e5037aa6cff3d01f4abdae (diff)
downloaddexon-0x-contracts-a6f72de09d7b2c9738b78d2097baa9906838fbe9.tar.gz
dexon-0x-contracts-a6f72de09d7b2c9738b78d2097baa9906838fbe9.tar.zst
dexon-0x-contracts-a6f72de09d7b2c9738b78d2097baa9906838fbe9.zip
Rename deployer to sol-compiler
Diffstat (limited to 'packages/migrations/src')
-rw-r--r--packages/migrations/src/artifacts.ts2
-rw-r--r--packages/migrations/src/migration.ts4
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/migrations/src/artifacts.ts b/packages/migrations/src/artifacts.ts
index c240c3155..0d3eb68a8 100644
--- a/packages/migrations/src/artifacts.ts
+++ b/packages/migrations/src/artifacts.ts
@@ -1,5 +1,5 @@
import { BaseContract } from '@0xproject/base-contract';
-import { ContractArtifact } from '@0xproject/deployer';
+import { ContractArtifact } from '@0xproject/sol-compiler';
import * as fs from 'fs';
import * as path from 'path';
diff --git a/packages/migrations/src/migration.ts b/packages/migrations/src/migration.ts
index 54ba6e535..047a875ed 100644
--- a/packages/migrations/src/migration.ts
+++ b/packages/migrations/src/migration.ts
@@ -18,7 +18,9 @@ import { tokenInfo } from './utils/token_info';
* Custom migrations should be defined in this function. This will be called with the CLI 'migrate' command.
* Migrations could be written to run in parallel, but if you want contract addresses to be created deterministically,
* the migration should be written to run synchronously.
- * @param deployer Deployer instance.
+ * @param provider Provider instance.
+ * @param artifactsDir The directory with artifact files.
+ * @param defaults Default transaction values to use.
*/
export const runMigrationsAsync = async (provider: Provider, artifactsDir: string, defaults: Partial<TxData>) => {
const web3Wrapper = new Web3Wrapper(provider);