Skip to content

Commit bf95fb3

Browse files
committed
feat: Adapt to MegaETH Explorer
1 parent 1b462c6 commit bf95fb3

7 files changed

Lines changed: 33 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### v5.10.0
2+
3+
- [feat] Adapt to MegaETH Explorer
4+
15
### v5.9.1
26

37
- [update] Remove deprecated "tenderlyPathname" URL param

manifest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ export default defineManifest((env: ConfigEnv) => {
4343
'*://mantlescan.xyz/*',
4444
'*://opbnb-testnet.bscscan.com/*',
4545
'*://monadscan.com/*',
46-
'*://testnet.monadscan.com/*'
46+
'*://testnet.monadscan.com/*',
47+
'*://mega.etherscan.io/*'
4748
]
4849
: ['<all_urls>'],
4950
js: ['src/content/index.all_frames.ts'],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metasuites",
3-
"version": "5.9.1",
3+
"version": "5.10.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/blocksecteam/metasuites.git"

src/common/config/allowlist.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export default {
3030
'*://mantlescan.xyz/*',
3131
'*://sonicscan.org/*',
3232
'*://monadscan.com/*',
33-
'*://testnet.monadscan.com/*'
33+
'*://testnet.monadscan.com/*',
34+
'*://mega.etherscan.io/*'
3435
],
3536
BTC_EXPLORER_MATCHES: ['*://explorer.cloverpool.com/*'],
3637
BLOCKSEC_MATCHES: ['*://*.blocksec.com/*'],

src/common/config/feature.support.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,8 @@ export class FeatureActiveSupport {
342342
'mantle',
343343
'sonic',
344344
'monad',
345-
'test.monad'
345+
'test.monad',
346+
'megaeth'
346347
],
347348
[
348349
{
@@ -424,6 +425,11 @@ export class FeatureActiveSupport {
424425
pathname: 'monad-testnet',
425426
chain: 'test.monad',
426427
supportSimulator: false
428+
},
429+
{
430+
pathname: 'megaeth',
431+
chain: 'megaeth',
432+
supportSimulator: true
427433
}
428434
]
429435
)

src/common/constants/support.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,14 @@ export const EXT_SUPPORT_WEB_LIST: ExtSupportWebsite[] = [
433433
domains: ['dexscreener.com'],
434434
siteName: 'DEX',
435435
logo: 'https://assets.blocksec.com/image/1716165286476-4.svg'
436+
},
437+
{
438+
name: 'MegaETH',
439+
chainID: 4326,
440+
chain: 'megaeth',
441+
domains: ['mega.etherscan.io'],
442+
siteName: 'ETHERSCAN',
443+
logo: 'https://assets.blocksec.com/image/1769410070519-5.svg'
436444
}
437445
]
438446

@@ -533,6 +541,11 @@ export const PHALCON_SUPPORT_LIST = [
533541
pathname: 'monad-testnet',
534542
chain: 'test.monad',
535543
supportSimulator: false
544+
},
545+
{
546+
pathname: 'megaeth',
547+
chain: 'megaeth',
548+
supportSimulator: true
536549
}
537550
]
538551

src/content/etherscan/components/ComplianceScoreLabel/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ const ComplianceScoreLabel: FC<Props> = ({ risk }) => {
2121
overlayInnerStyle={{ width: 288 }}
2222
title={
2323
<div>
24+
For any questions regarding compliance risk assessment by algorithm,
25+
please contact{' '}
2426
<a href="mailto:metadockteam@blocksec.com" target="_blank">
25-
Contact us{' '}
27+
metadockteam@blocksec.com
2628
</a>
27-
for any questions regarding compliance risk assessment by algorithm.
29+
.
2830
</div>
2931
}
3032
>

0 commit comments

Comments
 (0)