Commit Graph
58 Commits
Author SHA1 Message Date
tom goriunovandGitHub 3fe8d3b27c 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 653403597f 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 56ed34c852 migrate to eslint 9 and its flat config 2024-11-13 12:54:12 +01:00
de46df7d9e 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 8662b86dc1 Pass the file path when verifying a multi-part contract (#2208)
Fixes #2207
2024-09-13 20:05:53 +02:00
tom 6a113aa5f5 remove optimization fields for zkSync contract verification 2024-09-06 15:20:38 +02:00
tom goriunovandGitHub 83b7a08198 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 f72a255e07 Update verification methods in the UI 2024-07-31 13:29:43 +02:00
NikitaSavikandGitHub 61669e91e9 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 f1b59f4f8b Update info icon color (#2088)
* Icon info color

Fixes #2045

* fix test

* more test fixes
2024-07-09 18:21:04 +02:00
tom f516f0ba61 create custom Popover component with default gutter prop 2024-06-28 15:19:04 +02:00
tom goriunovandGitHub 72cc49af83 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 6a176e33c5 migration: next part 2023-12-20 14:09:33 +04:00
tom goriunovandGitHub a137e8ba19 "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 02493148d6 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
tom af51d9fcf5 multi file upload 2023-02-02 14:22:06 -05:00
tom 397a6f2a43 remove nightly checkbox 2023-02-02 14:21:41 -05:00
tom 5dac835703 error handling 2023-02-02 13:07:21 -05:00
tom cb91bde792 constructor args field 2023-02-02 10:19:26 -05:00
tom 4532355606 vyper multi part method 2023-02-01 18:38:38 -05:00
tom 23759d31b9 submit form to api 2023-02-01 17:39:30 -05:00
tom 4bec1be90d async select for compiler version 2023-02-01 12:03:56 -05:00
tom 45a57279cd form config 2023-02-01 11:04:22 -05:00
tom 7983b6e80d Merge branch 'contract-verification-form' into fancy-select 2023-01-31 13:45:48 -06:00
tom 32bdc409a8 fixes 2023-01-27 15:54:44 -06:00
tom 3b3439a09a tests for form 2023-01-25 13:54:27 -06:00
tom 0691645606 tweaks 2023-01-25 09:38:54 -06:00
tom e4e348ba9f reset invalid compiler options; disable libraries after form submit 2023-01-24 18:39:29 -06:00
tom cdab10c8a2 base implementation 2023-01-24 16:35:54 -06:00
tom 3e3515b6d7 style tweaks 2023-01-23 19:18:08 -06:00
tom b11c56a252 redirects 2023-01-23 17:32:44 -06:00
tom c57d7e43c1 error and disabled state 2023-01-23 17:06:41 -06:00