瀏覽代碼

BlockEvent type

Joystream Stats 2 年之前
父節點
當前提交
ee8e73e077
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      types.ts

+ 7 - 0
types.ts

@@ -72,6 +72,13 @@ export class CacheEvent {
   ) {}
 }
 
+export interface BlockEvent {
+  blockId: number;
+  section: string;
+  method: string;
+  data: string;
+}
+
 export interface WorkerReward {
   id: number;
   memberId: MemberId;