burst-whale-watch
Version:
An account watcher for Burstcoin
17 lines (16 loc) • 481 B
TypeScript
import { View } from "./view";
import { Transaction } from "@burstjs/core";
export interface AccountData {
index: number;
id: string;
balance: string;
transactions: Transaction[];
}
export declare class AccountView implements View {
private readonly box;
private readonly text;
private transactionTable;
constructor(parentView: any, index: number, total: number);
readonly element: any;
update(state: any, accountData: AccountData): void;
}