import { Address, Contract, DecodedEvent, DecodedOutput } from "everscale-inpage-provider"; import { AbiEventName, AbiFunctionName } from "everscale-inpage-provider/dist/models"; import { DecodedInput } from "everscale-inpage-provider/dist/contract"; import { Trace } from "./trace/trace"; import { Optional } from "../../types"; import BigNumber from "bignumber.js"; export declare enum TraceType { FUNCTION_CALL = "function_call", FUNCTION_RETURN = "function_return", DEPLOY = "deploy", EVENT = "event", EVENT_OR_FUNCTION_RETURN = "event_or_return", BOUNCE = "bounce", TRANSFER = "transfer" } export type MsgTree = { outMessages: Array; dst_transaction: any & { total_fees: string; action: { total_fwd_fees: string; total_action_fees: string; }; }; dst: string; msg_type: 0 | 1 | 2; body: string; bounce: boolean; bounced: boolean; code_hash: string; src: string; value: number; id: string; dst_account?: { id: string; code_hash: string; }; src_account?: { id: string; code_hash: string; }; }; export type AccountData = { code_hash: string; id: string; }; export type RevertedBranch = { totalActions: number; traceLog: Trace; actionIdx: number; }; export type TraceParams = { inMsgId: string; allowedCodes?: AllowedCodes; raise?: boolean; }; export type AllowErrorCodes = number | null; export type OptionalContracts = Optional; type AllowedCode = { compute?: Array; action?: Array; }; export type AllowedCodes = AllowedCode & { contracts?: Record; }; export type DecoderOutput = DecodedOutput> | DecodedInput> | DecodedEvent> | undefined; export type DecodedMsg | any = Record> = { method?: M; params?: P; }; export type ViewTrace | any = Record> = Pick & { decodedMsg: DecodedMsg | undefined; }; export type ViewTraceTree = Record> = ViewTrace & { outTraces: Array>; }; export declare enum InteractionType { EVENT = 0, FUNCTION_CALL = 1 } export type ViewTraceTreeWithTotalFee = Omit & { totalFees: BigNumber; sentValue: BigNumber; value: BigNumber; balanceChange: BigNumber; outTraces: Array; }; export type BalanceChangingInfo = { balanceDiff: BigNumber; }; export type BalanceChangeInfoStorage = Record; export type ErrorStore = Record>; export type MsgError = { phase: "compute" | "action"; code: number; trace: ViewTrace; }; export type Addressable = Contract | Address | string; export type LabelsMap = Map; export {};