aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-09-05 02:57:05 +0800
committerJacob Evans <jacob@dekz.net>2018-09-05 02:57:05 +0800
commit508e6ccf89cdca9198ec2e98937a0e2e354d289b (patch)
tree3a5a83f7701820513c8628a52036697ab28d96a3 /packages
parentab1b52ba87718e39e730d4ef14db21a7fa1d78cf (diff)
downloaddexon-sol-tools-508e6ccf89cdca9198ec2e98937a0e2e354d289b.tar.gz
dexon-sol-tools-508e6ccf89cdca9198ec2e98937a0e2e354d289b.tar.zst
dexon-sol-tools-508e6ccf89cdca9198ec2e98937a0e2e354d289b.zip
Tslint magic-number
Diffstat (limited to 'packages')
-rw-r--r--packages/migrations/src/2.0.0-beta-testnet/migration.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/migrations/src/2.0.0-beta-testnet/migration.ts b/packages/migrations/src/2.0.0-beta-testnet/migration.ts
index 66bc79239..62a16ddae 100644
--- a/packages/migrations/src/2.0.0-beta-testnet/migration.ts
+++ b/packages/migrations/src/2.0.0-beta-testnet/migration.ts
@@ -17,6 +17,7 @@ import { ExchangeContract } from './contract_wrappers/exchange';
import { ForwarderContract } from './contract_wrappers/forwarder';
import { OrderValidatorContract } from './contract_wrappers/order_validator';
+// tslint:disable-next-line:custom-no-magic-numbers
const ERC20_TOTAL_SUPPLY = new BigNumber(1000000000000000000000000000);
/**
@@ -144,6 +145,7 @@ export const runV2TestnetMigrationsAsync = async (
// Set enough ZRX Balance to the Forwarder
const maxZRXMintAmount = await zrxToken.MAX_MINT_AMOUNT.callAsync();
+ // tslint:disable-next-line:custom-no-magic-numbers
const forwarderZRXBalance = maxZRXMintAmount.times(10);
txHash = await zrxToken.setBalance.sendTransactionAsync(forwarder.address, forwarderZRXBalance);
await web3Wrapper.awaitTransactionSuccessAsync(txHash);