locklift
Version:
Node JS framework for working with Ever contracts. Inspired by Truffle and Hardhat. Helps you to build, test, run and maintain your smart contracts.
34 lines (33 loc) • 1.82 kB
TypeScript
import { ProviderRpcClient } from "everscale-inpage-provider";
import { AllowedCodes, TraceParams } from "./types";
import { Factory } from "../factory";
import { TracingInternal } from "./tracingInternal";
import { Transactions } from "../../utils";
import { TransactionParameter } from "../../types";
import { ViewTracingTree } from "./viewTraceTree/viewTracingTree";
import { TracingTransport } from "./transport";
import { LockliftNetwork } from "@broxus/locklift-network";
export declare class Tracing {
private readonly ever;
private readonly tracingInternal;
private readonly features;
private readonly network;
constructor(ever: ProviderRpcClient, tracingInternal: TracingInternal, features: Transactions, network: LockliftNetwork);
setContractLabels: TracingInternal["setContractLabels"];
saveContract: TracingInternal["saveContract"];
trace: <T extends TransactionParameter>(transactionProm: Promise<T> | T, config?: Omit<TraceParams<T>, "finalizedTx">) => Promise<T & {
traceTree: ViewTracingTree | undefined;
}>;
get allowedCodes(): AllowedCodes;
setAllowedCodes: (...params: Parameters<typeof this.tracingInternal.setAllowedCodes>) => void;
setAllowedCodesForAddress: (...params: Parameters<typeof this.tracingInternal.setAllowedCodesForAddress>) => void;
removeAllowedCodesForAddress: (...params: Parameters<typeof this.tracingInternal.removeAllowedCodesForAddress>) => void;
removeAllowedCodes: (...params: Parameters<typeof this.tracingInternal.removeAllowedCodes>) => void;
}
export declare const createTracing: ({ ever, factory, features, tracingTransport, network, }: {
ever: ProviderRpcClient;
factory: Factory<any>;
features: Transactions;
tracingTransport: TracingTransport;
network: LockliftNetwork;
}) => Tracing;