Skip to content

Commit

Permalink
Added function to generate CREATE2 addresses (ethers-io#697).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Jan 6, 2020
1 parent 6466f03 commit f06e62e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src.ts/utils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

import { AbiCoder, defaultAbiCoder, EventFragment, FormatTypes, Fragment, FunctionFragment, Indexed, Interface, ParamType } from "@ethersproject/abi";
import { getAddress, getContractAddress, getIcapAddress, isAddress } from "@ethersproject/address";
import { getAddress, getCreate2Address, getContractAddress, getIcapAddress, isAddress } from "@ethersproject/address";
import * as base64 from "@ethersproject/base64";
import { arrayify, concat, hexDataSlice, hexDataLength, hexlify, hexStripZeros, hexValue, hexZeroPad, isHexString, joinSignature, zeroPad, splitSignature, stripZeros } from "@ethersproject/bytes";
import { hashMessage, id, isValidName, namehash } from "@ethersproject/hash";
Expand Down Expand Up @@ -102,6 +102,7 @@ export {
getAddress,
getIcapAddress,
getContractAddress,
getCreate2Address,
isAddress,

formatEther,
Expand Down

0 comments on commit f06e62e

Please sign in to comment.