34 Commits
Author SHA1 Message Date
tom 8f385e5afa pin version of monaco-editor and pass it to the loader 2026-03-02 20:01:13 +02:00
tom goriunovandGitHub 5c0c18149d Move charts to toolkit and improve color mode hook (#3075)
* move charts to toolkit

* refactor imports

* fix tests

* change the behavior of the color mode hook and add the noWatermark prop

* fix gas tracker test and fix toolkit build
2025-10-21 17:33:04 +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 02c634645e Merge branch 'main' of github.com:blockscout/frontend into chakra-v3 2025-02-18 15:05:52 +01:00
tom 2df3a861a2 contract details tab 2025-02-13 20:30:38 +01:00
tom goriunovandGitHub 31ee9fafe9 Contract source code: the code for the empty contract is not displaye… (#2569)
Contract source code: the code for the empty contract is not displayed because of a JS crash

Fixes #2568
2025-02-11 10:21:41 +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 b4ac73d639 Contract page improvements (#2419)
* display address selector for non-verified proxy contract

* add code view snippet for ABI and Compiler Settings

* syntax highlighting for Scilla contracts

* ENV preset for zilliqa

* fix tests

* add native coin value to simulate method call

* fix test
2024-11-25 16:04:09 +01:00
tom 2f3b24c1c9 highlight code of the main contract
Fixes #1676
2024-03-07 18:46:33 +04:00
tom goriunovandGitHub 4114aa699b hotfix: display error inside snippet if code editor crashes (#1364) 2023-11-21 13:01:49 +04:00
tom 8a426dfa05 fix contract editor resize if there is only one source file 2023-11-09 11:35:48 -03: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 8405b415a3 change editor language for vyper contracts 2023-06-16 10:38:01 -04:00
tom 69575cb424 handle aliased imports 2023-04-07 16:37:13 -03:00
tom f8ac0b68ae named imports highlight 2023-04-07 15:36:40 -03:00
tom 2a22d4399d hotkeys for code editor 2023-03-27 17:58:06 -03:00
tom eacef5ba84 meta key for go to file 2023-03-22 17:58:19 -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 2d63ab7587 temporary solution for match highlighting in editor 2023-03-22 11:11:32 -03:00
tom 9d15ae35bb improve sidebar action button 2023-03-22 11:11:32 -03:00
tom eba902ad36 mobile view 2023-03-22 11:11:32 -03:00
tom be35d1ab5e loading screen 2023-03-22 11:11:32 -03:00
tom 5929c3eb5b fix resize issues 2023-03-22 11:11:32 -03:00
tom d5f2f3193c editor for one file and color fixes 2023-03-22 11:11:32 -03:00
tom e704536f86 don't load model if it has already been loaded 2023-03-22 11:11:31 -03:00
tom 6827703d9e highlight selected file 2023-03-22 11:11:31 -03:00
tom 59077a39d1 breadcrumbs 2023-03-22 11:11:31 -03:00
tom b0b78ed56d unique file names in tabs and sticky bar 2023-03-22 11:11:30 -03:00
tom cf2f832ae1 simple tabs 2023-03-22 11:11:30 -03:00
tom 236a716cc7 highlight search term in result list 2023-03-22 11:11:30 -03:00
tom fd642cb332 basic search implementation 2023-03-22 11:11:30 -03:00
tom 396b069158 select file in the tree 2023-03-22 11:11:30 -03:00
tom 8685af3856 file tree basic implementation 2023-03-22 11:11:30 -03:00