File tree 1 file changed +11
-10
lines changed
services/decoder/protocols/blur
1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ GoldRushDecoder.on(
74
74
extraParams : string ;
75
75
} ;
76
76
buyHash : string ;
77
- }
77
+ } ;
78
78
} ;
79
79
80
80
const tokens : EventTokens = [ ] ;
@@ -103,15 +103,16 @@ GoldRushDecoder.on(
103
103
] ;
104
104
105
105
const date = TimestampParser ( block_signed_at , "YYYY-MM-DD" ) ;
106
- const { data : tokenPriceData } = await covalent_client . PricingService . getTokenPrices (
107
- chain_name ,
108
- "USD" ,
109
- decoded . sell . collection || decoded . buy . collection ,
110
- {
111
- from : date ,
112
- to : date ,
113
- }
114
- ) ;
106
+ const { data : tokenPriceData } =
107
+ await covalent_client . PricingService . getTokenPrices (
108
+ chain_name ,
109
+ "USD" ,
110
+ decoded . sell . collection || decoded . buy . collection ,
111
+ {
112
+ from : date ,
113
+ to : date ,
114
+ }
115
+ ) ;
115
116
tokens . push ( {
116
117
heading : `Matched to ${ decoded . buy . trader } ` ,
117
118
value : decoded . sell . amount . toString ( ) || decoded . buy . amount . toString ( ) ,
You can’t perform that action at this time.
0 commit comments