Skip to content

Commit

Permalink
Update Ethers version
Browse files Browse the repository at this point in the history
  • Loading branch information
varanauskas committed Jul 26, 2021
1 parent b1b21e1 commit 4e89406
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 54 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@
"prepublish": "npm run build"
},
"devDependencies": {
"@truffle/hdwallet-provider": "^1.4.1",
"@types/web3": "^1.2.2",
"chai": "4.2.0",
"dotenv": "6.0.0",
"eth-gas-reporter": "0.1.12",
"openzeppelin-solidity": "1.12.0",
"@truffle/hdwallet-provider": "^1.4.1",
"@types/web3": "^1.2.2",
"typescript": "^4.3.5"
},
"dependencies": {
"ethers": "4.0.7",
"ethers": "^5.4.2",
"truffle": "^5.4.1",
"web3": "^1.4.0"
},
Expand Down
3 changes: 1 addition & 2 deletions src/ethers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Contract, providers, Signer, utils } from 'ethers';
import { BigNumber, Contract, providers, Signer } from 'ethers';
import {
DEFAULT_CONTRACT_ADDRESS,
Options,
Expand All @@ -7,7 +7,6 @@ import {
import BalanceCheckerABI from './abis/BalanceChecker.abi.json';

type Provider = providers.Provider;
type BigNumber = utils.BigNumber;

function getContract(provider: Provider | Signer, address?: string) {
return new Contract(
Expand Down
Loading

0 comments on commit 4e89406

Please sign in to comment.