38 Commits
Author SHA1 Message Date
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 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 2df3a861a2 contract details tab 2025-02-13 20:30:38 +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 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 125c4880de migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
tom goriunovandGitHub 96324e7fa9 Better contract implementation selector and new quick action buttons for contract method argument inputs (#2303)
* MUD system tab placeholder

* implement MUD system selector and fix proxy contract read/write

* add buttons to contract method arg input

* rollback changes of target contract address

* copy calldata button

* rollback changes of target contract address

* refactor contract details components

* add tabs to contract details

* migrate code to RoutedTabs

* add selector for source contract

* tests

* fix tests

* update screenshot

* update screenshots
2024-10-28 19:38:03 +01:00
tom goriunovandGitHub 23bb231351 Add support for Diamond proxy standard (#1963)
* add support for array of implementations

* refactor ContainerWithScrollY component

* contract source code: allow to choose between all implementations

* fix layout of AddressNetWorth component

* add scroll container to implementation address on write/read proxy contract tab

* update screenshots
2024-05-29 14:09:55 +02:00
isstuev f81f1c181b Multi chain balance button 2024-05-26 16:14:04 +02:00
tom goriunovandGitHub bfb5d6acc7 Update styles of form inputs (#1914)
* Update styles of form inputs

* update token info form

* update demo values

* fix preset for sepolia

* update screenshots
2024-05-15 17:37:02 +02:00
tom 2f3b24c1c9 highlight code of the main contract
Fixes #1676
2024-03-07 18:46:33 +04:00
tom goriunovandGitHub c0f88743ba "Open in IDE" button for contracts (#1544)
* "Open in IDE" button for contracts

Fixes #1508

* small fixes and tests

* update icon styles

* [skip ci] change ENV value
2024-01-30 16:56:32 +04:00
tom goriunovandGitHub 05945f6cf7 refactor page layout components (#1087)
* update csv export text

* fix pw tests

* base layout and customization for home page and search results page

* refactor rest of the pages

* refactor AppError

* move header padding to layout

* move nextjs utils to separate folder

* combine PageServer and Page

* make useQueryClientConfig hook

* add tests

* remove unused var

* fix envs for pw

* fix pw tests
2023-08-15 19:28:00 -04:00
tom goriunovandGitHub aabd8c4bd0 contract source code: warnings (#981)
* add decoration for external library warning

* add decoration for same name warning

* formatted tooltip text

* show source code even if contract is not verified

* add support for remappings context in file import resolution

* library warning decoration styles

* external libraries popover

* disable contract name warning for a while

* add tab to contract page link

* change api host for preview

* add main file indicator

* change button styles and update screenshots

* change isNeedProxy for passing pw tests

* rollback review env changes
2023-07-10 15:08:51 -04:00
tom 8270eb3af6 add condition for language info 2023-06-20 16:14:37 -04:00
tom 54be5d64a2 fix double hint on file import path 2023-06-20 16:12:39 -04:00
tom 8405b415a3 change editor language for vyper contracts 2023-06-16 10:38:01 -04:00
tom 27f66048e7 remove is_vyper_contract field 2023-06-16 09:47:37 -04:00
tom ba5d615f61 add filter for Yul contracts and display proper contract language 2023-06-16 09:43:54 -04:00
tom 6f5675b0f4 refactor and remove context usage 2023-06-07 16:31:45 -04:00
tom bc49f6b12d base implementation of the selector 2023-06-07 14:00:11 -04:00
tom becedbd503 Merge branch 'main' of github.com:blockscout/frontend into auto-skeletons 2023-04-26 12:27:35 -03:00
tom 8b925489f2 skeleton for contract tab 2023-04-14 17:18:30 -03:00
tom 69575cb424 handle aliased imports 2023-04-07 16:37:13 -03:00
tom 5089082b60 go to file 2023-03-22 16:24:44 -03:00
tom cafc370a6e fix tests 2023-03-22 13:59:38 -03:00
tom d5f2f3193c editor for one file and color fixes 2023-03-22 11:11:32 -03:00
tom 9c3caedf5d fix forward slash problem in files path 2023-03-22 11:11:30 -03:00
tom 8685af3856 file tree basic implementation 2023-03-22 11:11:30 -03:00
tom 28bdd0d457 basic implementation 2023-03-22 11:11:30 -03:00
tom 89e0da97bf tokens and other routes 2023-02-16 12:48:42 -05:00
tom 5816722b16 contract mobile layout fixes 2023-02-07 18:35:38 -05:00
tom a63dbddb04 base functionality 2023-01-27 12:41:23 -06:00
tom 6c33c10f08 tests 2023-01-13 17:44:22 -06:00
tom 9815b0358d refactor and ts fixes 2023-01-12 16:50:57 -06:00
tom 3a15f8e0ce multifile for contract creation and changes in write result 2023-01-12 15:50:02 -06:00
tom 72d941c280 alerts 2023-01-11 17:19:30 -06:00
tom 7ac39513f2 contract code 2023-01-04 10:57:21 -06:00