Skip to content

Commit 4484f2b

Browse files
committed
updated heading and chain name
1 parent 45b8523 commit 4484f2b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

services/decoder/protocols/uniswap-v2/uniswap-v2.configs.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ const configs: Configs = [
1111
address: "0xb4e16d0168e52d35cacd2c6185b44281ec28c9dc",
1212
is_factory: false,
1313
protocol_name: "uniswap-v2",
14-
network: "eth-mainnet",
14+
chain_name: "eth-mainnet",
1515
},
1616
{
1717
address: "0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852",
1818
is_factory: false,
1919
protocol_name: "uniswap-v2",
20-
network: "eth-mainnet",
20+
chain_name: "eth-mainnet",
2121
},
2222
{
2323
address: "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",
2424
is_factory: true,
2525
protocol_name: "uniswap-v2",
26-
network: "eth-mainnet",
26+
chain_name: "eth-mainnet",
2727
},
2828
];
2929

services/decoder/protocols/uniswap-v2/uniswap-v2.decoders.ts

+8-8
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,12 @@ GoldRushDecoder.on(
253253
},
254254
details: [
255255
{
256-
title: "Sender",
256+
heading: "Sender",
257257
value: decoded.sender,
258258
type: "address",
259259
},
260260
{
261-
title: "To",
261+
heading: "To",
262262
value: decoded.to,
263263
type: "address",
264264
},
@@ -444,15 +444,15 @@ GoldRushDecoder.on(
444444
},
445445
details: [
446446
{
447-
title: `${
447+
heading: `${
448448
data?.items?.[0]?.token_0?.contract_name || ""
449449
} Symbol`,
450450
value:
451451
data?.items?.[0]?.token_0?.contract_ticker_symbol || "",
452452
type: "text",
453453
},
454454
{
455-
title: `${
455+
heading: `${
456456
data?.items?.[0]?.token_0?.contract_name || ""
457457
} Decimals`,
458458
value: (
@@ -461,22 +461,22 @@ GoldRushDecoder.on(
461461
type: "text",
462462
},
463463
{
464-
title: `${
464+
heading: `${
465465
data?.items?.[0]?.token_0?.contract_name || ""
466466
} Address`,
467467
value: data?.items?.[0]?.token_0?.contract_address || "",
468468
type: "address",
469469
},
470470
{
471-
title: `${
471+
heading: `${
472472
data?.items?.[0]?.token_1?.contract_name || ""
473473
} Symbol`,
474474
value:
475475
data?.items?.[0]?.token_1?.contract_ticker_symbol || "",
476476
type: "text",
477477
},
478478
{
479-
title: `${
479+
heading: `${
480480
data?.items?.[0]?.token_1?.contract_name || ""
481481
} Decimals`,
482482
value: (
@@ -485,7 +485,7 @@ GoldRushDecoder.on(
485485
type: "text",
486486
},
487487
{
488-
title: `${
488+
heading: `${
489489
data?.items?.[0]?.token_1?.contract_name || ""
490490
} Address`,
491491
value: data?.items?.[0]?.token_1?.contract_address || "",

0 commit comments

Comments
 (0)