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

11 lines
514 B
TypeScript
Raw Normal View History

2020-01-07 03:00:55 +03:00
import { BytesLike } from "@ethersproject/bytes";
2019-05-15 01:48:48 +03: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-07 03:00:55 +03:00
export declare function getCreate2Address(from: string, salt: BytesLike, initCodeHash: BytesLike): string;