2018-07-30 18:59:52 -04:00
|
|
|
import { BigNumber } from './bignumber';
|
|
|
|
import { Arrayish } from './bytes';
|
2018-07-23 19:21:42 -04:00
|
|
|
export declare function getAddress(address: string): string;
|
|
|
|
export declare function getIcapAddress(address: string): string;
|
|
|
|
export declare function getContractAddress(transaction: {
|
|
|
|
from: string;
|
|
|
|
nonce: Arrayish | BigNumber | number;
|
|
|
|
}): string;
|
2020-01-03 19:01:29 -05:00
|
|
|
export declare type Create2Options = {
|
|
|
|
from: string;
|
|
|
|
salt: Arrayish;
|
|
|
|
initCode?: Arrayish;
|
|
|
|
initCodeHash?: Arrayish;
|
|
|
|
};
|
|
|
|
export declare function getCreate2Address(options: Create2Options): string;
|