UNPKG

hardhat-scilla-plugin

Version:
19 lines 1.06 kB
import { Transaction } from "@zilliqa-js/account"; /** Create a temporary file and return its name */ export declare function createTemporaryFile(prefix: string, extension: string): string; /** Delete the temporary file and its directory */ export declare function deleteTemporaryFile(fileName: string): void; /** Should we use native scilla binaries? */ export declare function useNativeScilla(): boolean; /** Given a transaction, return a string[][] array containing a list of errors, decoded into their * symbolic values, for each level of the transaction. */ export declare function decodeTransactionErrors(txn: Transaction): string[][]; /** Given a transaction, get the errors from the receipt and return a human-readable string that * can be used to display them. */ export declare function stringifyTransactionErrors(txn: Transaction): string; /** Given a transaction, extract the event log in case you want to read parameters of it */ export declare function getEventLog(tx: Transaction): Promise<any>; //# sourceMappingURL=ZilliqaUtils.d.ts.map