69 Commits
Author SHA1 Message Date
tom goriunovandGitHub ebbee2ba57 Multichain explorer v2 (#3259)
* Support redirect to a correct view from search

* show domains on address page

* migrate to new API version to display address domains

* another api update

* new design for chain widget on home page + tests

* chain widget styles for mobile devices

* ecosystems page

* update types

* add ecosystems to navigation

* address portfolio: pt.1

* portfolio tokens list

* filter portfolio by chain

* skip redirect when navigating to search result by clicking on "show all results" link

* net worth block design

* add filter input to chain select and fix tokens table

* calculate address portfolio

* adjust card logic

* support custom token types in multichain explorer

* handle case when new worth is 0

* add text filter to tokens list

* fixes

* demo envs

* portfolio tests

* ecosystems test

* change signature for getTokenTypes function

* fix adding token to the wallet from the list

* lazy load all address domains

* show contract creator and implementations info

* fix tests

* add poor reputation tokens toggle

* tweaks

* dim celo native tokens

* disable env validator

* fix tests

* remove tokens with 0 usd value from top tokens

* fixes

* preserve selected chain when switching tabs on address page

* add hints to stats widgets on home page

* update envs for demo

* fix portfolio cards and home page

* update styles for contract creator and implementations

* fix select issues

* add chains from cluster to network menu

* hide csv export link on empty logs page

* update screenshots

* rollback select fix

* update cut length calculation for portfolio cards

* fix chain select

* update screenshots

* fix tests

* more fixes

* add sorting to ecosystems table

* fix test

* fixes

* fix loading state in ecosystems page

* review fixes

* fix tests
2026-02-25 10:45:09 +01:00
tom goriunovandGitHub 266d167419 Smart contracts: get supported languages for filter from the API instead of ENV (#3200)
* Smart contracts: get supported languages for filter from the API instead of ENV

Resolves #3158

* fix ts and test

* add test.slow() to Block test
2026-01-05 13:19:28 +01:00
tom goriunovandGitHub 932add9d96 Change zero to <0.001 value within different pages (#3150)
* basic components and address page refactoring

* second part of refactoring

* third part of refactoring

* NativeCoinValue component

* more refactoring

* rename TruncatedValue into TruncatedText

* minor fixes

* refactor block details

* fix layout of value and fee in tx table

* update screenshots

* different units for tooltip and stats widget small value fix

* update screenshots

* update tx table screenshot

* fix copy button vertical alignment
2025-12-05 16:04:27 +01:00
edc54514f1 OP Superchain explorer: aggregated views (#3040)
* refactor widgets on home page

* coming soon placeholder component

* top accounts page

* contract data

* address ERC-20 tokens list

* chain filter for address ERC-20 tokens

* token select for address detailed view

* address details fields

* tokens table

* stats widgets on home page

* chain indicators graph on the home page

* quick search

* search results all tab

* tabs and chain select on search results page

* search results mobile view

* add contract info to search and address details

* add text filter for tokens and search improvements

* load all results inside tab on search results page

* token balance info

* add support for domains in the full search

* Multichain explorer

Resolves #2989

* add envs validator for multichain

* add some tests

* fix search bar on search results page on mobile

* home stats fixes

* fix ts

* optimize amount of queries on address page

* add more contract info on address page

* add enter key hint to search input

* fix tests

* fix test

* update bg.primary css-variable on color theme change

* sitemap for multichain

* txs page: render first tab if blob tab is not available on the chain

* filter out in active chains from chain select on address page and user ops page

* add chain icon to advanced filter table

* fix tooltip on entity with shield

* fix ts

* show contract implementations

* fixes

* add chain icon to all lists

* refactor zetachain chains config type

* use chain id as primary option instead of chain slug

* refactor chain config type for multichain and essential dapps

* refactor chain icon and chain select

* rename chain-slug in chain_slug

* change default radius of chain icon and update screenshots for multichain tests

* change conditions for "isContract" and "isVerified"

* test fixes

* make shield optional for external chain entities

* add chain icon to approvals lists

* add stats page for multichain

* add chain postfix to chart .png and .csv assets name

* fix tests

* sync verified contracts language filter and fix loading state in the search results page

* fix sol2uml diagram and csv export

* regcred from helmfile for review

* link fixes

* fix state for unknown address

* fix incorrect chain in the context during spa transition to the same route on different chain

* add links to stats widgets

* add mixpanel to L2 demo values

* show message of on-demand contract verification

* fix screenshots

---------

Co-authored-by: Nick Zenchik <[email protected]>
2025-11-18 09:44:22 +01:00
tom goriunovandGitHub 5baa015c42 Support Stylus language in verified contracts filter (#3037) 2025-09-30 16:02:42 +02:00
tom goriunovandGitHub 7505f154e6 OP Superchain: local views for chains in the cluster (#2864)
* update styles for chain widgets on home page

* update latest txs styles and slug creation algorithm

* list of local txs

* list of local blocks

* local view for address internal tx tab

* local view for address coin history

* local view for address logs

* local view for address token transfers

* address details, kind of

* [wip] local view for address contract tab

* user ops views

* chain popover

* csv-export page

* advanced filter page

* block countdown pages

* fixes for contract tab

* refactor address txs and transfers tabs

* refactor getServerSideProps

* internal txs page

* tokens and token transfers pages

* simple tag for address page and details info placeholders

* add chain icon to the local lists

* show creator in contract tab

* OP Superchain: local views for chains in the cluster

Fixes #2827

* highlight current chain in the title of local entities

* tokens nfts tab for address

* allow entity icon to be an image

* adjust cross-chain txs table and add placeholder to home page

* cross-chain txs for address

* fetch multichain config from microservice

* fix skeleton in token transfers table

* tests, pt.1

* wtf with gh

* verified contracts page

* change chain info in block and token page header

* fix some tests

* update styles for token icon with chain logo in header

* fix links and address internal txs tab

* update screenshots

* fix margins for tx info button and chain icon in tx tables

* add some tests

* fix screenshots
2025-08-15 15:32:47 +02:00
tom goriunovandGitHub f04c953583 Support geas smart contract language 🪿 (#2848)
* Support for `geas` smart contract language 🪿

Fixes #2818

* support fallback method with inputs and outputs

* fix data that is passed to fallback method

* add "pragma" and "define" to builtins

* add "inputs" and "outputs" to the fallback method for all contracts ABI
2025-08-15 13:22:21 +02:00
tom goriunovandGitHub 46971b0cec UI: Address color (tables) (#2888)
Fixes #2804
2025-07-25 11:56:30 +02:00
tom goriunovandGitHub fe16acbc0a Time format toggle for table views (#2729)
* cookie for storing time format value

* rename TimeAgo component

* add toggle to tables (pt. 1)

* move TimeWithTooltip component

* add toggle to tables (pt. 2)

* change implementation of toggle component

* remove unnecessary timestamp label

* update screenshots

* more screenshot updates

* [skip ci] update clock icon

* update screenshots
2025-06-03 14:01:12 +02:00
tom goriunovandGitHub fae4990e1f API resource refactoring (#2699)
* add prefix to API resources

* fix pw tests

* refactor config

* remove unnecessary prefixes in resource names

* fixes

* update screenshots
2025-05-01 15:22:38 +02:00
tom 61c6790a04 fix tables layout on small screens 2025-04-29 13:43:12 +02:00
tom goriunovandGitHub 35dd080043 Migrate to the props with consistent full naming in the API for addre… (#2694)
* Migrate to the props with consistent full naming in the API for address hash entity and multiple props for L2-rollups

Fixes #2686

* fix test
2025-04-24 13:13:18 +02:00
tom 0c34029e42 design fixes, pt.1 2025-03-25 14:16:06 +01:00
tom 8fa65829c2 fix ts 2025-03-24 20:55:19 +01:00
tom 98e8c54841 Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-03-11 20:25:18 +01:00
tom 0d73881dfe sortable table column header 2025-02-21 16:14:40 +01:00
tom 349403c705 Verified contract balance value overlaps other fields 2025-02-21 10:11:00 +01:00
tom 02c634645e Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-02-18 15:05:52 +01:00
tom 8bbb561d7b accounts and verified contracts pages 2025-02-17 20:16:26 +01:00
Igor StuevandGitHub eec6216086 Unify stats across relevant pages (#2561)
* Unify stats across relevant pages

* add op stats to tx page and change stats titles

* demo config

* aboba or cat fix

* chart tooltip fix

* tests

* revert config
2025-02-13 17:16:15 +01:00
tom 01bd1853bf AddressTxsFilter refactoring 2025-02-11 20:03:44 +01:00
Igor StuevandGitHub 6c2356d607 remove skeleton animations (#2505)
* remove skeleton animations test

* eslint add Skeleton

* eslint-fix
2025-01-06 16:57:22 +01:00
tom f2e6bbce2c fix sorting of verified contracts 2024-12-23 15:37:28 +01:00
tom goriunovandGitHub c802f0b5ed Replace system selectors with Blockscout selectors style (#2451)
* migrate from native select to the custom one

* migrate popover radio filter to select component

* migrate stats menu to select

* migrate Sort component

* screenshot updates
2024-12-13 14:42:21 +01:00
tom goriunovandGitHub 7187fc80e6 Support verification of Stylus contracts (#2450)
* add Arbitrum Sepolia dev preset

* base form layout

* add validation for repo url and commit hash

* improve global error text

* show stylus contract info

* add test for contract verification form

* hide "open in IDE" for stylus contracts

* [skip ci] adjust validation rules for GitHub URL

* change contract info items order

* fix error text styles
2024-12-11 13:17:23 +01:00
tom goriunovandGitHub adc017d6c7 Zilliqa: filter for Scilla contracts (#2449)
* Zilliqa: filter for Scilla contracts

Fixes #2427

* [skip ci] review fixes
2024-12-09 18:05:44 +01:00
tom goriunovandGitHub 3bbb4b79e7 Zilliqa: "Verified contracts" page crashes on desktop (#2393)
Fixes #2389
2024-11-13 18:54:50 +01:00
tom 125c4880de migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom goriunovandGitHub f3fbe04d11 Bind to full prop namings in API v2 endpoints (#2381)
Fixes #2374
2024-11-11 17:45:07 +01:00
tom goriunovandGitHub 382829d9f7 Support bech32 address standard (#2351)
* create settings context with simple address format toggler

* transform base16 hash to bech32 hash

* add ENV variables

* add snippet to address page

* add redirect for bech32 addresses

* change address format in search

* add provider to tests

* update demo values

* migrate from Buffer to Uint8Array and add tests

* bug fixes and screenshots updates

* review fixes

* roll back changes in env values

* update screenshots
2024-11-04 18:53:59 +01:00
isstuev a9fbe39f9c filecoin addresses support 2024-11-04 16:23:30 +01:00
isstuev c2b4eb4011 Table: table header left/right hor padding 2024-10-21 12:34:00 +02:00
isstuev a05826f5d1 add links to charts 2024-09-26 22:00:00 +02:00
tom goriunovandGitHub 91b5be58d5 Add support for zkSync smart-contracts (#2173)
* additional form fields

* pass optimization modes from API and handle single verification method case

* display zk contract info
2024-08-20 10:27:46 +02:00
isstuev 0b9b9b7e33 Add tooltip with full date on "age" fields 2024-07-22 12:57:55 +02:00
Max Alekseenko 0f0c7f28b0 replace old sort component 2024-06-24 19:42:45 +02:00
tom goriunovandGitHub d4c92518b1 Update styles of outlined buttons and more (#1978)
* selected state for Button

* tests

* fix menu filter button hover issue

* update screenshots

* try to fix SearchBar recent keywords test
2024-06-05 12:44:09 +02:00
tom goriunovandGitHub 568d0e3be8 Sidebar, latest txs and verified contracts improvements (#1951)
* Toggle sidebar collapse state by clicking on empty area

* min width for verified contracts table

* add label to tx value for home page latest txs
2024-05-27 15:02:54 +02:00
isstuev a92f705f5f add certified conract label 2024-05-26 11:48:52 +02:00
tom goriunovandGitHub 57cf51cdc7 Gas tracker improvements (#1941)
* Alter gas tracker behaviour in case of null gas prices from backend

* display small amounts of gwei

* remove links to stats if feature is not enabled

* fix test
2024-05-23 12:35:49 +02:00
tom goriunovandGitHub 2aff9cf6cf Element paddings updates (#1929)
* update paddings on homepage

* update styles for network menu

* search input paddings updates

* update action bar paddings

* update sepolia preset

* fix scroll to active tab

* update padding for navigation menu

* add comment

* update screenshots

* fix screenshots
2024-05-20 13:17:04 +02:00
tom goriunovandGitHub c0e660d2e1 Stats Update (#1796)
* [WIP] chart for secondary coin price

* latest L1 state batch snippet

* txs stats snipper

* Merge main branch

* optimism preset

* rename governance token into secondary coin

* add secondary coin price to top bar

* calculate usd value for avg tx fee

* tests

* tweaks

* change envs for demo

* fix tests

* fixes

* fix flaky test

* change scroll to filter for stats link behaviour
2024-04-17 10:04:33 +02:00
tom goriunovandGitHub 09f787bba4 Contract: License (#1668)
* display license on contract page and in the list

* add new field to the form

* review fixes
2024-03-05 11:13:52 +04:00
tom goriunovandGitHub 797b8f57bb Validators list (#1621)
* new ENV and page placeholder

* display list data

* comment out SearchInput

* add counters

* add tag to address page

* tests

* refactoring

* fix ts

* change ENVs for demo

* fix ENVs validator

* [skip ci] remove hash

* review fixes
2024-02-19 11:04:28 +04:00
tom ae09531748 Custom 'wei' name
Fixes #1490
2024-01-18 18:41:00 +04:00
tom 87bbfdd449 migration: next part 2023-12-20 14:09:33 +04:00
isstuev f7a9d6f10b verified contracts api sorting 2023-12-14 10:32:22 +01:00
tom goriunovandGitHub c559061506 migrate to ReactQuery v5 (#1321)
* change signature of hooks

* isLoading -> isPending

* default error type

* dev tools props
2023-11-02 10:27:41 -03:00
tom goriunovandGitHub f6c2115018 filters counters and verify button (#1294)
* add counter to filters

* move verification button higher for partially verified contracts

* [skip ci] support query params in external assets ENV urls

* [skip ci] skip code checks if changes in tools folder

* [skip ci] tweak eslint process.env rule
2023-10-18 12:03:09 -03:00
tom goriunovandGitHub bad9591ed1 update icon styles for tokens, contract and more (#1204)
* update border radius for token logos and contract icon

* update gaps between icons and text

* update NFT icon and create entity

* update screenshots
2023-09-25 14:29:26 -03:00