autrace
Version:
Account Update analyser for MINA
23 lines (22 loc) • 661 B
TypeScript
import { AccountUpdate } from "o1js";
import { AccountUpdateRelationship } from "./Interface.js";
export declare class AccountUpdateAnalyzer {
private auRelationships;
private currentDepth;
private parentStack;
private tokenMap;
constructor();
reset(): void;
processAccountUpdate(au: AccountUpdate): void;
private extractMethodInfo;
private extractStateChanges;
private processTokenRelationships;
getRelationships(): Map<string, AccountUpdateRelationship>;
getHierarchicalView(): {
id: string;
label: string;
children: any[];
tokenId?: string;
failed?: boolean;
}[];
}