autrace
Version:
Account Update analyser for MINA
18 lines (17 loc) • 564 B
TypeScript
import { AccountUpdate } from 'o1js';
import { TreeSnapshot, TreeOperation } from './Interface.js';
export declare class AccountUpdateTrace {
private snapshots;
private currentTree;
private getLeafNodeValue;
private isLeafNode;
private traverseNodesRecursively;
private areValuesEqual;
private keysUpdated;
private deleteFromSet;
private keysRemoved;
private keysAdded;
private compareAUTrees;
takeSnapshot(transaction: AccountUpdate[], operation: TreeOperation): TreeSnapshot;
getSnapshots(): TreeSnapshot[];
}