diff options
author | Bryan Stitt <bryan@stitthappens.com> | 2018-11-13 01:10:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 01:10:40 +0800 |
commit | 789f57345298f2700a56f329ba0873c1f623ce8b (patch) | |
tree | 51b04785b13a9945ffdd15d0b67f564163a146d0 /packages/website/ts/blockchain.ts | |
parent | 22f217807d44e364cad6ebe90560326a755cdd11 (diff) | |
parent | 0ebbbdfca49028f196853bbfb082a1378c09f441 (diff) | |
download | dexon-sol-tools-789f57345298f2700a56f329ba0873c1f623ce8b.tar dexon-sol-tools-789f57345298f2700a56f329ba0873c1f623ce8b.tar.gz dexon-sol-tools-789f57345298f2700a56f329ba0873c1f623ce8b.tar.bz2 dexon-sol-tools-789f57345298f2700a56f329ba0873c1f623ce8b.tar.lz dexon-sol-tools-789f57345298f2700a56f329ba0873c1f623ce8b.tar.xz dexon-sol-tools-789f57345298f2700a56f329ba0873c1f623ce8b.tar.zst dexon-sol-tools-789f57345298f2700a56f329ba0873c1f623ce8b.zip |
Merge branch 'development' into patch-1
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r-- | packages/website/ts/blockchain.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts index b43c41739..25430c1c7 100644 --- a/packages/website/ts/blockchain.ts +++ b/packages/website/ts/blockchain.ts @@ -26,7 +26,7 @@ import { BlockParam, LogWithDecodedArgs, Provider, TransactionReceiptWithDecoded import * as _ from 'lodash'; import * as moment from 'moment'; import * as React from 'react'; -import contract = require('truffle-contract'); +import contract from 'truffle-contract'; import { BlockchainWatcher } from 'ts/blockchain_watcher'; import { AssetSendCompleted } from 'ts/components/flash_messages/asset_send_completed'; import { TransactionSubmitted } from 'ts/components/flash_messages/transaction_submitted'; @@ -55,9 +55,9 @@ import { errorReporter } from 'ts/utils/error_reporter'; import { fakeTokenRegistry } from 'ts/utils/fake_token_registry'; import { tokenAddressOverrides } from 'ts/utils/token_address_overrides'; import { utils } from 'ts/utils/utils'; -import FilterSubprovider = require('web3-provider-engine/subproviders/filters'); +import FilterSubprovider from 'web3-provider-engine/subproviders/filters'; -import * as MintableArtifacts from '../contracts/Mintable.json'; +import MintableArtifacts from '../contracts/Mintable.json'; const BLOCK_NUMBER_BACK_TRACK = 50; const GWEI_IN_WEI = 1000000000; |