File tree 4 files changed +16
-14
lines changed
services/decoder/protocols
4 files changed +16
-14
lines changed Original file line number Diff line number Diff line change 14
14
"author" : " " ,
15
15
"license" : " ISC" ,
16
16
"dependencies" : {
17
- "@covalenthq/client-sdk" : " ^0.8.5 " ,
17
+ "@covalenthq/client-sdk" : " ^0.8.7 " ,
18
18
"cors" : " ^2.8.5" ,
19
19
"dotenv" : " ^16.3.1" ,
20
20
"enquirer" : " ^2.4.1" ,
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ GoldRushDecoder.on(
38
38
name : "User Operation Event" ,
39
39
protocol : {
40
40
logo : log . sender_logo_url as string ,
41
- name : log . sender_name as string ,
41
+ name : "4337 Entry Point" ,
42
42
} ,
43
43
details : [
44
44
{
@@ -70,7 +70,7 @@ GoldRushDecoder.on(
70
70
{
71
71
title : "User Operation Hash" ,
72
72
value : decoded . userOpHash ,
73
- type : "text " ,
73
+ type : "address " ,
74
74
} ,
75
75
] ,
76
76
} ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ GoldRushDecoder.on(
12
12
[ "matic-mainnet" ] ,
13
13
ABI as Abi ,
14
14
async ( log , chain_name , covalent_client ) : Promise < EventType > => {
15
- const { raw_log_data, raw_log_topics, sender_contract_decimals } = log ;
15
+ const { raw_log_data, raw_log_topics } = log ;
16
16
17
17
const { args : decoded } = decodeEventLog ( {
18
18
abi : ABI ,
@@ -47,13 +47,15 @@ GoldRushDecoder.on(
47
47
value : decoded . to ,
48
48
type : "address" ,
49
49
} ,
50
+ ] ,
51
+ tokens : [
50
52
{
51
- title : "Value" ,
52
- value : (
53
- decoded . value /
54
- BigInt ( Math . pow ( 10 , sender_contract_decimals ) )
55
- ) . toString ( ) ,
56
- type : "text" ,
53
+ decimals : log . sender_contract_decimals ,
54
+ heading : "Token Amount" ,
55
+ pretty_quote : "" ,
56
+ ticker_logo : log . sender_logo_url ,
57
+ ticker_symbol : log . sender_contract_ticker_symbol ,
58
+ value : decoded . value . toString ( ) ,
57
59
} ,
58
60
] ,
59
61
} ;
Original file line number Diff line number Diff line change 314
314
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
315
315
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
316
316
317
- " @covalenthq/client-sdk@^0.8.5 " :
318
- version "0.8.5 "
319
- resolved "https://registry.yarnpkg.com/@covalenthq/client-sdk/-/client-sdk-0.8.5 .tgz#36a72239af37690a340a2f9f5818939ebb53d701 "
320
- integrity sha512-iAaAqCdthoVe3qHcckxOkZ/dPAhlJiT3SKcDGl/bY7EttkrGuMD7ZRG9lbMBHCEO73upsTOL0QyT88K55w/jig ==
317
+ " @covalenthq/client-sdk@^0.8.7 " :
318
+ version "0.8.7 "
319
+ resolved "https://registry.yarnpkg.com/@covalenthq/client-sdk/-/client-sdk-0.8.7 .tgz#ff59da4ac5abeb3a8e96a17946f70c01a81671b3 "
320
+ integrity sha512-SEUisC1057tHsfqUZejq6yqsgNlWf0iJUx2rzP0GsZ+iUBkbsvr6qUE2JVMBVa6QkezyWoN9xeB8kTiHc6Y9RA ==
321
321
dependencies :
322
322
" @rollup/plugin-commonjs" " ^25.0.4"
323
323
" @rollup/plugin-node-resolve" " ^15.2.1"
You can’t perform that action at this time.
0 commit comments