ethers.js/packages/address/lib/index.d.ts

11 lines
549 B
TypeScript
Raw Permalink Normal View History

2020-01-06 19:00:55 -05:00
import { BytesLike } from "@ethersproject/bytes";
2019-05-14 18:48:48 -04:00
import { BigNumberish } from "@ethersproject/bignumber";
export declare function getAddress(address: string): string;
export declare function isAddress(address: string): boolean;
export declare function getIcapAddress(address: string): string;
export declare function getContractAddress(transaction: {
from: string;
nonce: BigNumberish;
}): string;
2020-01-06 19:00:55 -05:00
export declare function getCreate2Address(from: string, salt: BytesLike, initCodeHash: BytesLike): string;
//# sourceMappingURL=index.d.ts.map