init aqua inerfaces and funcs

This commit is contained in:
boneyard93501
2021-09-30 14:06:59 -05:00
parent f75563f242
commit 509e5f4ead
4 changed files with 48 additions and 1 deletions

View File

@ -6,6 +6,17 @@ const sqlite3 = sqlite.verbose();
import { Response } from './eip_processor';
export interface DBRecord {
snapshot_id: number;
event_address: string;
event_signature: string;
eip712_doc: string;
peer_id: string;
timestamp: number;
eip_validation: boolean;
ts_validation: boolean;
signed_response: string;
}
// db handler
export function get_db(db_path: any): sqlite.Database {