Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
5a208252
Commit
5a208252
authored
Feb 26, 2025
by
isstuev
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release/v1-38-0' of
https://github.com/blockscout/frontend
into release/v1-38-0
parents
e41ae5d9
080809cf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
11 deletions
+18
-11
ContractDetailsAlertVerificationSource.tsx
...ontract/alerts/ContractDetailsAlertVerificationSource.tsx
+2
-2
VerifiedContracts.pw.tsx_mobile_base-view-mobile-1.png
...__/VerifiedContracts.pw.tsx_mobile_base-view-mobile-1.png
+0
-0
Web3ModalProvider.tsx
ui/shared/Web3ModalProvider.tsx
+1
-1
VerifiedContractsListItem.tsx
ui/verifiedContracts/VerifiedContractsListItem.tsx
+8
-5
VerifiedContractsTableItem.tsx
ui/verifiedContracts/VerifiedContractsTableItem.tsx
+7
-3
No files found.
ui/address/contract/alerts/ContractDetailsAlertVerificationSource.tsx
View file @
5a208252
...
@@ -10,7 +10,7 @@ interface Props {
...
@@ -10,7 +10,7 @@ interface Props {
}
}
const
ContractDetailsAlertVerificationSource
=
({
data
}:
Props
)
=>
{
const
ContractDetailsAlertVerificationSource
=
({
data
}:
Props
)
=>
{
if
(
data
?.
is_verified_via_eth_bytecode_db
)
{
if
(
data
?.
is_verified
&&
data
?.
is_verified
_via_eth_bytecode_db
)
{
return
(
return
(
<
Alert
status=
"warning"
whiteSpace=
"pre-wrap"
flexWrap=
"wrap"
>
<
Alert
status=
"warning"
whiteSpace=
"pre-wrap"
flexWrap=
"wrap"
>
<
span
>
This contract has been
{
data
.
is_partially_verified
?
'
partially
'
:
''
}
verified using
</
span
>
<
span
>
This contract has been
{
data
.
is_partially_verified
?
'
partially
'
:
''
}
verified using
</
span
>
...
@@ -24,7 +24,7 @@ const ContractDetailsAlertVerificationSource = ({ data }: Props) => {
...
@@ -24,7 +24,7 @@ const ContractDetailsAlertVerificationSource = ({ data }: Props) => {
);
);
}
}
if
(
data
?.
is_verified_via_sourcify
)
{
if
(
data
?.
is_verified
&&
data
?.
is_verified
_via_sourcify
)
{
return
(
return
(
<
Alert
status=
"warning"
whiteSpace=
"pre-wrap"
flexWrap=
"wrap"
>
<
Alert
status=
"warning"
whiteSpace=
"pre-wrap"
flexWrap=
"wrap"
>
<
span
>
This contract has been
{
data
.
is_partially_verified
?
'
partially
'
:
''
}
verified via Sourcify.
</
span
>
<
span
>
This contract has been
{
data
.
is_partially_verified
?
'
partially
'
:
''
}
verified via Sourcify.
</
span
>
...
...
ui/pages/__screenshots__/VerifiedContracts.pw.tsx_mobile_base-view-mobile-1.png
View replaced file @
e41ae5d9
View file @
5a208252
124 KB
|
W:
|
H:
124 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ui/shared/Web3ModalProvider.tsx
View file @
5a208252
...
@@ -31,7 +31,7 @@ const init = () => {
...
@@ -31,7 +31,7 @@ const init = () => {
projectId
:
feature
.
walletConnect
.
projectId
,
projectId
:
feature
.
walletConnect
.
projectId
,
features
:
{
features
:
{
analytics
:
false
,
analytics
:
false
,
email
:
tru
e
,
email
:
fals
e
,
socials
:
[],
socials
:
[],
onramp
:
false
,
onramp
:
false
,
swaps
:
false
,
swaps
:
false
,
...
...
ui/verifiedContracts/VerifiedContractsListItem.tsx
View file @
5a208252
...
@@ -14,6 +14,7 @@ import AddressEntity from 'ui/shared/entities/address/AddressEntity';
...
@@ -14,6 +14,7 @@ import AddressEntity from 'ui/shared/entities/address/AddressEntity';
import
IconSvg
from
'
ui/shared/IconSvg
'
;
import
IconSvg
from
'
ui/shared/IconSvg
'
;
import
ListItemMobile
from
'
ui/shared/ListItemMobile/ListItemMobile
'
;
import
ListItemMobile
from
'
ui/shared/ListItemMobile/ListItemMobile
'
;
import
TimeAgoWithTooltip
from
'
ui/shared/TimeAgoWithTooltip
'
;
import
TimeAgoWithTooltip
from
'
ui/shared/TimeAgoWithTooltip
'
;
import
TruncatedValue
from
'
ui/shared/TruncatedValue
'
;
interface
Props
{
interface
Props
{
data
:
VerifiedContract
;
data
:
VerifiedContract
;
...
@@ -57,11 +58,13 @@ const VerifiedContractsListItem = ({ data, isLoading }: Props) => {
...
@@ -57,11 +58,13 @@ const VerifiedContractsListItem = ({ data, isLoading }: Props) => {
flexShrink=
{
0
}
flexShrink=
{
0
}
/>
/>
</
Flex
>
</
Flex
>
<
Flex
columnGap=
{
3
}
>
<
Flex
columnGap=
{
3
}
w=
"100%"
>
<
Skeleton
isLoaded=
{
!
isLoading
}
fontWeight=
{
500
}
>
Balance
{
currencyUnits
.
ether
}
</
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
fontWeight=
{
500
}
flexShrink=
"0"
>
Balance
{
currencyUnits
.
ether
}
</
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
color=
"text_secondary"
>
<
TruncatedValue
<
span
>
{
balance
}
</
span
>
value=
{
balance
}
</
Skeleton
>
isLoading=
{
isLoading
}
/>
</
Flex
>
</
Flex
>
<
Flex
columnGap=
{
3
}
>
<
Flex
columnGap=
{
3
}
>
<
Skeleton
isLoaded=
{
!
isLoading
}
fontWeight=
{
500
}
>
Txs count
</
Skeleton
>
<
Skeleton
isLoaded=
{
!
isLoading
}
fontWeight=
{
500
}
>
Txs count
</
Skeleton
>
...
...
ui/verifiedContracts/VerifiedContractsTableItem.tsx
View file @
5a208252
...
@@ -12,6 +12,7 @@ import ContractCertifiedLabel from 'ui/shared/ContractCertifiedLabel';
...
@@ -12,6 +12,7 @@ import ContractCertifiedLabel from 'ui/shared/ContractCertifiedLabel';
import
AddressEntity
from
'
ui/shared/entities/address/AddressEntity
'
;
import
AddressEntity
from
'
ui/shared/entities/address/AddressEntity
'
;
import
IconSvg
from
'
ui/shared/IconSvg
'
;
import
IconSvg
from
'
ui/shared/IconSvg
'
;
import
TimeAgoWithTooltip
from
'
ui/shared/TimeAgoWithTooltip
'
;
import
TimeAgoWithTooltip
from
'
ui/shared/TimeAgoWithTooltip
'
;
import
TruncatedValue
from
'
ui/shared/TruncatedValue
'
;
interface
Props
{
interface
Props
{
data
:
VerifiedContract
;
data
:
VerifiedContract
;
...
@@ -56,9 +57,12 @@ const VerifiedContractsTableItem = ({ data, isLoading }: Props) => {
...
@@ -56,9 +57,12 @@ const VerifiedContractsTableItem = ({ data, isLoading }: Props) => {
/>
/>
</
Td
>
</
Td
>
<
Td
isNumeric
>
<
Td
isNumeric
>
<
Skeleton
isLoaded=
{
!
isLoading
}
display=
"inline-block"
my=
{
1
}
>
<
TruncatedValue
{
balance
}
value=
{
balance
}
</
Skeleton
>
isLoading=
{
isLoading
}
my=
{
1
}
w=
"100%"
/>
</
Td
>
</
Td
>
<
Td
isNumeric
>
<
Td
isNumeric
>
<
Skeleton
isLoaded=
{
!
isLoading
}
display=
"inline-block"
my=
{
1
}
>
<
Skeleton
isLoaded=
{
!
isLoading
}
display=
"inline-block"
my=
{
1
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment