@guaritos/tracer-engine
Version:
A highly performant and scalable multi-hop, time-aware tracer for account-based blockchain transactions, designed for off-chain risk assessment and flow analysis.
41 lines • 1.2 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PushPopModel = void 0;
class PushPopModel {
constructor(source, ...kwargs) {
this.source = source;
}
push(node, edges, ...kwargs) {
/**
* push a node with related edges
* @param node: the pushed node
* @param edges: the edges related to the pushed node
* @param kwargs: the pushing context keyword arguments, generated by the pop operation
* @return:
*/
throw new Error("Method not implemented.");
}
pop() {
/**
* pop a node for the next step
* @return: the popped node and its context
*/
throw new Error("Method not implemented.");
}
get_context_snapshot() {
/**
* Get a snapshot dict for the strategy params
* @return:
*/
throw new Error("Method not implemented.");
}
get_node_rank() {
/**
* Get a node rank dict for the strategy
* @return:
*/
throw new Error("Method not implemented.");
}
}
exports.PushPopModel = PushPopModel;
//# sourceMappingURL=push_pop.js.map