75 Commits
Author SHA1 Message Date
Manuel WedlerandGitHub 90fd801b45 Embed verify.sourcify.dev as Sourcify verification method (#3027)
* Embed verify.sourcify.dev as Sourcify verification method

* Rephrase Sourcify option inside verification method selector

* Mock iframe content in test

* Fix test

* Update screenshot for test
2025-11-04 12:31:49 +01:00
enochleeandGitHub 2d6c5b3773 Added "rel=noopener-noreferrer" attribute for links to external pages (#3039)
* added rel="noopener noreferrer" to link elements using external and noIcon prop

* fix: resolve asChild and external prop conflicts in Link components

* Revert "fix: resolve asChild and external prop conflicts in Link components"

This reverts commit e99580049946b487ce4dc77e7cdab2cd17e5c820.

* fix: remove asChild prop conflicts with external links
2025-10-07 18:03:34 +02:00
tom goriunovandGitHub 8e32235d29 New styles for pagination and "Add / Remove" buttons (#2791)
* update styles for add / remove buttons

* update pagination styles

* change border color for filled inputs

* change row gap for alerts

* update icons and screenshots

* fix tests

* update buttons for contract method form

* update screenshot
2025-06-23 12:15:24 +02:00
tom goriunovandGitHub f6725649da UI toolkit package (#2691)
* first version of the pack

* single entry point

* add custom components to the package

* move form components to toolkit

* add more utils and hooks to the package

* minor fixes

* add CI workflow

* update readme and package.json

* fix ts

* fix build of env-validator

* fix docker build

* fix icons size

* test fixes

* more test fixes
2025-04-21 19:44:22 +02:00
tom goriunovandGitHub a943b4fd25 Fixes after migration to Chakra v3 (#2663)
* fixes of mobile layout, popovers and contract verification form

* fix top bar network menu and icon size on profile button

* extend timeout for NameDomains test

* fix token test
2025-04-04 12:54:24 +02:00
tom 31c83b0a89 update styles for progress circle, pagination, dialog and file upload 2025-03-26 14:22:02 +01:00
tom 0c34029e42 design fixes, pt.1 2025-03-25 14:16:06 +01:00
tom 1b1c3b9b37 fix contract verification form test 2025-03-25 12:32:05 +01:00
tom 8fa65829c2 fix ts 2025-03-24 20:55:19 +01:00
tom 39887d6f07 amends 2025-03-24 14:58:27 +01:00
tom 2fcc7ace2d lg size for select 2025-03-21 16:31:38 +01:00
tom 730678be0f styles for icon-button and close-button 2025-03-20 19:25:21 +01:00
tom 30ae64c6f5 implement async select 2025-03-13 16:19:43 +01:00
tom c55dfdcf5b remove old semantic tokens 2025-03-13 15:22:59 +01:00
tom 46a00cedbb fix more ts errors 2025-03-11 16:18:03 +01:00
tom ec00c81061 contract verification: other methods 2025-03-06 19:54:15 +01:00
tom f9a3452100 contract verification: flattened code method 2025-03-06 19:05:25 +01:00
tom goriunovandGitHub d29849184d Replace lodash with es-toolkit (#2503)
* first part of migration

* second part of migration

* bump up es-toolkit version

* bump up `es-toolkit` version and remove `lodash` completely

* update screenshot
2025-01-14 12:30:05 +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
48b39022d3 Account v2 (#2262)
* simple profile button and auth modal layout

* connect email and code screens to API

* add screens to modal for wallet authentication

* migrate to pin input

* user profile menu

* refactor otp field

* fix passing set-cookie from api response

* add wallet info into profile menu

* add mobile menu

* show connected wallet address in button

* my profile page re-design

* custom behaviour of connect button on dapp page

* style pin input

* add logout

* handle case when account is disabled

* handle case when wc is disabled

* remove old components

* refactoring

* workflow to link wallet or email to account

* link wallet from profile

* show better OTP code errors

* add email alert on watchlist and verified addresses pages

* deprecate env and remove old code

* remove code for unverified email page

* add auth guard to address action items

* move useRedirectForInvalidAuthToken hook

* add mixpanel events

* refetch csrf token after login and fix connect wallet from contract page

* Add NEXT_PUBLIC_RE_CAPTCHA_V3_APP_SITE_KEY env

* migrate to reCAPTCHA v3

* resend code and change email from profile page

* better wallet sign-in message error

* fix demo envs

* update some screenshots

* profile button design fixes

* fix behaviour "connect wallet" button on contract page

* fix linking email and wallet to existing account

* bug fixes

* restore the login page

* update screenshots

* tests for auth modal and user profile

* add name field to profile page and write some tests

* [skip ci] clean up and more tests

* update texts

* change text once more

* fix verified email checkmark behaviour

* pass api error to the toast while signing in with wallet

* [skip ci] disable email field on profile page

* bug fixes

* update screenshot

* Blockscout account V2

Fixes #2029

* fix texts and button paddings

* Form fields refactoring (#2320)

* text and address fields for watchlist form

* checkbox field component

* refactor private tags form

* refactor api keys and custom abi

* refactor verifiy address and token info forms (pt. 1)

* refactor token info forms (pt. 2)

* refactor token info forms (pt. 3)

* refactor public tags form

* refactor contract verification form

* refactor contract audit form

* refactor auth, profile and csv export forms

* renaming and moving

* more refactoring and test fixes

---------

Co-authored-by: aagaev <[email protected]>
2024-10-30 12:56:57 +01:00
tom goriunovandGitHub 37004b9193 Pass the file path when verifying a multi-part contract (#2208)
Fixes #2207
2024-09-13 20:05:53 +02:00
tom 7cf7146684 remove optimization fields for zkSync contract verification 2024-09-06 15:20:38 +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
tom 772797996a Update verification methods in the UI 2024-07-31 13:29:43 +02:00
NikitaSavikandGitHub 7d55784c2f Changing the description for flatteners during the verification
Replaced POA flattener with instructions on Hardhat flattener
2024-07-15 14:44:58 +02:00
tom goriunovandGitHub c735b217a7 Update info icon color (#2088)
* Icon info color

Fixes #2045

* fix test

* more test fixes
2024-07-09 18:21:04 +02:00
tom 7bcf189f01 create custom Popover component with default gutter prop 2024-06-28 15:19:04 +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 87bbfdd449 migration: next part 2023-12-20 14:09:33 +04:00
tom goriunovandGitHub c84c1ac51b "Verify contract" page (#1394)
* route and dummy page

* form layout

* validate address on form submit

* fix form reset

* update screenshot

* fix ts errors
2023-12-11 16:57:50 +04:00
tom goriunovandGitHub 7def9e3124 Contract verification: Improve the selection of a compiler version (#1257)
Fixes #1164
2023-10-09 11:24:40 -03:00
tom goriunovandGitHub 984b6e7339 vyper contract verification: bugfix and improvements (#896)
* change hint and enable contract name field

* fix form re-submiting

* update screenshot

* change vyper multi part method

* vyper standard input json method

* fix required error message for sources field

* pin api host

* fix locked form

* clean up
2023-07-10 15:08:36 -04:00
tom 14f5038430 support is_rust_verifier_microservice_enabled flag 2023-03-30 16:06:37 -03:00
tom 284998cb04 defatul value for evm version field 2023-03-27 13:09:32 -03:00
tom c104cb02ea correct number of methods in tooltip 2023-02-21 15:30:38 -05:00
tom d622450251 fixes 2023-02-20 17:41:33 -05:00
tom f125512ace fix tests (hopefully) 2023-02-18 15:03:11 -05:00
tom f58d76a080 sourcify new flow 2023-02-16 11:34:39 -05:00
tom 15633a06c6 disabled state for drag-and-drop area 2023-02-15 13:44:51 -05:00
tom 7ede237b33 form reset when method is changed 2023-02-14 14:52:59 -05:00
tom b21833b1ce sources field changes 2023-02-14 12:31:50 -05:00
tom 3dc794b12c compiler and optimization fields change 2023-02-14 11:14:10 -05:00
tom 22a52b36db method field changes 2023-02-14 10:32:56 -05:00
tom cc621c3292 api fixes 2023-02-08 10:29:29 -05:00
tom 466ccaee57 disable d'n'd 2023-02-06 12:13:41 -05:00
tom 750500b508 better errors 2023-02-06 12:11:05 -05:00
tom 1efa6bf597 file errors 2023-02-03 16:47:13 -05:00
tom 32f95e73e9 drag-and-drop folders 2023-02-03 13:34:25 -05:00
tom dd9dda1ec5 simple drag-and-drop 2023-02-03 11:43:34 -05:00