File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ const getEventData = (
198
198
token : tokenBridgeIx . accounts [ 3 ] ?. toString ( ) || '' , // mint account
199
199
amount : transferIx . parsed . info ?. amount ,
200
200
isDeposit : true ,
201
+ timestamp : tx . blockTime || undefined ,
201
202
} ;
202
203
}
203
204
break ;
@@ -243,6 +244,7 @@ const getEventData = (
243
244
token : tokenBridgeIx . accounts [ 4 ] ?. toString ( ) || '' , // mint account
244
245
amount : burnIx . parsed . info ?. amount ,
245
246
isDeposit : false ,
247
+ timestamp : tx . blockTime || undefined ,
246
248
} ;
247
249
}
248
250
break ;
@@ -268,6 +270,7 @@ const getEventData = (
268
270
token : tokenBridgeIx . accounts [ mintAccountIndex ] ?. toString ( ) || '' , // mint account
269
271
amount : transferIx . parsed . info ?. amount ,
270
272
isDeposit : false ,
273
+ timestamp : tx . blockTime || undefined ,
271
274
} ;
272
275
}
273
276
break ;
@@ -294,6 +297,7 @@ const getEventData = (
294
297
token : mintToIx . parsed . info ?. mint ,
295
298
amount : mintToIx . parsed . info ?. amount ,
296
299
isDeposit : false ,
300
+ timestamp : tx . blockTime || undefined ,
297
301
} ;
298
302
}
299
303
break ;
Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ export interface EventData {
154
154
token : string ;
155
155
amount : string ;
156
156
isDeposit : boolean ;
157
+ timestamp ?: number ;
157
158
}
158
159
159
160
export type TokenAmount = {
You can’t perform that action at this time.
0 commit comments