UNPKG

@layerzerolabs/hardhat-deploy

Version:

Hardhat Plugin For Replicable Deployments And Tests

27 lines 1.01 kB
/// <reference path="../../../src/tron/tronweb.d.ts" /> import { TronWebError1, TronWebError2 } from 'tronweb/interfaces'; export declare const isArrayofBytes: (data: any) => boolean; export declare class TronWebError extends Error { readonly code: string; readonly hash: string; constructor({ code, message, txid }: TronWebError1); } export declare class TronWebGetTransactionError extends Error { constructor({ Error }: TronWebError2); } export declare class TronTransactionFailedError extends Error { readonly receipt: Record<string, any>; constructor(receipt: Record<string, any>); } export declare const Time: { readonly MILLISECOND: 1; readonly SECOND: number; readonly MINUTE: number; readonly HOUR: number; readonly DAY: number; readonly NOW: number; readonly sleep: (ms: number) => Promise<void>; }; export declare const ensure0x: (str: string) => string; export declare const strip0x: (str: string) => string; //# sourceMappingURL=utils.d.ts.map