@@ -212,6 +212,7 @@ export function AccountUI(props: AccountProps) {
212
212
</ a >
213
213
)
214
214
} ) } </ span >
215
+ < label className = "mt-3" > Authorization Address</ label >
215
216
< input className = 'border form-control' data-id = "create-delegation-authorization-input" onChange = { handleDelegationAuthorizationAddressRef } />
216
217
</ div >
217
218
) ,
@@ -386,16 +387,25 @@ export function AccountUI(props: AccountProps) {
386
387
< label className = "udapp_settingsLabel" >
387
388
< FormattedMessage id = "udapp.account" />
388
389
{ ! smartAccountSelected ? < CustomTooltip placement = { 'top' } tooltipClasses = "text-wrap" tooltipId = "remixPlusWrapperTooltip" tooltipText = { plusOpt . title } >
389
- < span id = "remixRunPlusWrapper" >
390
- < i id = "remixRunPlus" className = { `ml-2 fas fa-plus udapp_icon ${ plusOpt . classList } ` } aria-hidden = "true" onClick = { newAccount } > </ i >
390
+ < span className = "px-1" id = "remixRunPlusWrapper" >
391
+ < i id = "remixRunPlus" className = { `fas fa-plus udapp_icon ${ plusOpt . classList } ` } aria-hidden = "true" onClick = { newAccount } > </ i >
391
392
</ span >
392
393
</ CustomTooltip > : null }
393
394
{ ! smartAccountSelected ? < CustomTooltip placement = { 'top' } tooltipClasses = "text-nowrap" tooltipId = "remixSignMsgTooltip" tooltipText = { < FormattedMessage id = "udapp.signMsgUsingAccount" /> } >
394
- < i id = "remixRunSignMsg" data-id = "settingsRemixRunSignMsg" className = "ml-2 fas fa-edit udapp_icon" aria-hidden = "true" onClick = { signMessage } > </ i >
395
+ < i id = "remixRunSignMsg" data-id = "settingsRemixRunSignMsg" className = "mx-1 fas fa-edit udapp_icon" aria-hidden = "true" onClick = { signMessage } > </ i >
395
396
</ CustomTooltip > : null }
396
- < span >
397
- < CopyToClipboard className = "fas fa-copy ml-2 p-0" tip = { intl . formatMessage ( { id : 'udapp.copyAccount' } ) } content = { selectedAccount } direction = "top" />
398
- </ span >
397
+ { ! smartAccountSelected ?
398
+ < span className = 'mx-1' >
399
+ < CopyToClipboard className = "fas fa-copy p-0" tip = { intl . formatMessage ( { id : 'udapp.copyAccount' } ) } content = { selectedAccount } direction = "top" />
400
+ </ span >
401
+ : null }
402
+ { enableDelegationAuthorization ? ( < span className = "mx-1 mt-1" >
403
+ < CustomTooltip placement = { 'top' } tooltipClasses = "text-wrap" tooltipId = "remixDelegationAuthTooltip" tooltipText = { "Using EIP 7702 in Remix" } >
404
+ < a href = { "https://remix-ide.readthedocs.io/en/latest/account-abstraction-7702.html#using-eip-7702-in-remix" } className = "titleInfo p-0 mb-2" target = "_blank" rel = "noreferrer" >
405
+ < i aria-hidden = "true" className = "ml-0 fas fa-info align-self-center" > </ i >
406
+ </ a >
407
+ </ CustomTooltip >
408
+ </ span > ) : null }
399
409
{ props . accounts . isRequesting && < i className = "fa fa-spinner fa-pulse ml-2" aria-hidden = "true" > </ i > }
400
410
</ label >
401
411
< div className = "udapp_account" >
@@ -423,7 +433,7 @@ export function AccountUI(props: AccountProps) {
423
433
</ div >
424
434
{ contractHasDelegation ?
425
435
< span className = "alert-info badge badge-secondary" >
426
- Delegation: { shortenAddress ( delegationAuthorizationAddressRef . current || "" ) }
436
+ Delegation: { shortenAddress ( delegationAuthorizationAddressRef . current || "" ) }
427
437
< CopyToClipboard className = "fas fa-copy ml-2 text-primary" content = { delegationAuthorizationAddressRef . current } direction = "top" />
428
438
< a > < span data-id = "delete-delegation" style = { { padding : 'padding: 0.15rem' } } onClick = { ( ) => deleteDelegation ( ) } >
429
439
< CustomTooltip placement = "top" tooltipClasses = "text-nowrap" tooltipId = "udapp_deleteDelegation" tooltipText = "Remove delegation" >
0 commit comments