mirror of
https://github.com/fluencelabs/eip712-validation-node
synced 2025-06-15 07:51:41 +00:00
init aqua inerfaces and funcs
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user