@@ -239,16 +239,18 @@ const AddressPageContent = () => {
239
239
addressQuery . data ?. is_contract ? {
240
240
id : 'contract' ,
241
241
title : ( ) => {
242
+ const tabName = addressQuery . data . proxy_type === 'eip7702' ? 'Code' : 'Contract' ;
243
+
242
244
if ( addressQuery . data . is_verified ) {
243
245
return (
244
246
< >
245
- < span > Contract </ span >
247
+ < span > { tabName } </ span >
246
248
< IconSvg name = "status/success" boxSize = "14px" color = "green.500" ml = { 1 } />
247
249
</ >
248
250
) ;
249
251
}
250
252
251
- return 'Contract' ;
253
+ return tabName ;
252
254
} ,
253
255
component : (
254
256
< AddressContract
@@ -279,7 +281,12 @@ const AddressPageContent = () => {
279
281
config . features . validators . isEnabled && addressQuery . data ?. has_validated_blocks ?
280
282
{ slug : 'validator' , name : 'Validator' , tagType : 'custom' as const , ordinal : PREDEFINED_TAG_PRIORITY } :
281
283
undefined ,
282
- addressQuery . data ?. implementations ?. length ? { slug : 'proxy' , name : 'Proxy' , tagType : 'custom' as const , ordinal : PREDEFINED_TAG_PRIORITY } : undefined ,
284
+ addressQuery . data ?. implementations ?. length && addressQuery . data ?. proxy_type !== 'eip7702' ?
285
+ { slug : 'proxy' , name : 'Proxy' , tagType : 'custom' as const , ordinal : PREDEFINED_TAG_PRIORITY } :
286
+ undefined ,
287
+ addressQuery . data ?. implementations ?. length && addressQuery . data ?. proxy_type === 'eip7702' ?
288
+ { slug : 'eip7702' , name : 'EOA+code' , tagType : 'custom' as const , ordinal : PREDEFINED_TAG_PRIORITY } :
289
+ undefined ,
283
290
addressQuery . data ?. token ? { slug : 'token' , name : 'Token' , tagType : 'custom' as const , ordinal : PREDEFINED_TAG_PRIORITY } : undefined ,
284
291
isSafeAddress ? { slug : 'safe' , name : 'Multisig: Safe' , tagType : 'custom' as const , ordinal : - 10 } : undefined ,
285
292
addressProfileAPIFeature . isEnabled && usernameApiTag ? {
@@ -417,7 +424,7 @@ const AddressPageContent = () => {
417
424
< >
418
425
< TextAd mb = { 6 } />
419
426
< PageTitle
420
- title = { `${ addressQuery . data ?. is_contract ? 'Contract' : 'Address' } details` }
427
+ title = { `${ addressQuery . data ?. is_contract && addressQuery . data ?. proxy_type !== 'eip7702' ? 'Contract' : 'Address' } details` }
421
428
backLink = { backLink }
422
429
contentAfter = { titleContentAfter }
423
430
secondRow = { titleSecondRow }
0 commit comments