Commit Graph
450 Commits
Author SHA1 Message Date
tom goriunovandGitHub 4c0969b145 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 3800f41eee OP Fault Proofs support 2024-05-28 12:01:37 +02:00
tom 2e1a2ae9a9 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1826 2024-05-27 16:50:48 +02:00
tom goriunovandGitHub aec32152fc User Operations: add switcher to call data (#1950)
* User Operations: add switcher to call data

Fixes #1762

* update screenshots

* move toggler above decoded method signature on mobile
2024-05-27 14:18:44 +02:00
isstuev 228f03e9ce add certified icon to search 2024-05-26 12:03:07 +02:00
isstuev 75f69dfec8 add certified conract label 2024-05-26 11:48:52 +02:00
tom goriunovandGitHub c51dbd8177 Playwright tests refactoring, pt.5 (#1952)
* next part of test refactoring

* more refactoring

* more refactoring

* fixes and clean-up

* fixes

* build fixes

* more fixes
2024-05-25 15:41:32 +02:00
isstuevandisstuev 38096bc59c add native token image 2024-05-23 23:52:56 +02:00
tom goriunovandGitHub 0022a641b2 More custom elements for public tags (#1939)
* More custom elements for public tags

Fixes #1935

* make URL from handle and not from tagUrl prop
2024-05-23 12:35:31 +02:00
tom 76001a69a2 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1826 2024-05-15 17:38:06 +02:00
tom c18bbc3cab tag name, url and description 2024-05-08 12:37:16 +02:00
tom 0c3bb187c1 name and email fields 2024-05-07 15:41:55 +02:00
Max Alekseenko 8652e495c3 rename meta props 2024-05-07 13:54:03 +02:00
tom 29c9973b67 remove old public tags page 2024-05-07 12:21:30 +02:00
Max Alekseenko 8ea3d6251d merge main 2024-05-06 21:48:27 +02:00
tom goriunovandGitHub 802fe6c41f Public tags: display name tags for addresses (#1877)
* refactor EntityTags component to work with metadata API format

* hook for API metadata info query

* make EntityTag component

* make EntityTag component

* display custom tag colors and sort tags by ordinal field

* add tag popover

* refactoring

* display name tag in the lists

* add mixpanel event and disable link for protocol and generic tags

* adjust demo ENVs

* tests

* fix tests

* change actionURL to tagUrl
2024-05-06 19:38:44 +02:00
tom goriunovandGitHub e4c82dcd71 Contract interaction improvements (#1875)
* add contract method id tag

* add form submit type

* refactor types for SmartConstract and make new component for Contract ABI methods

* move contract method form inside ABI folder

* handle form submit and display result

* clean-up

* change copied text

* handle case when blockchain interaction is not configured

* tests and screenshots update

* fix bug wit WEI checkbox
2024-05-06 19:12:34 +02:00
tom ee460bdbdb change useAddressMetadataInfoQuery accordint to new version of the API 2024-04-25 20:05:36 +02:00
tom goriunovandGitHub 07318c41cd Update API Endpoint for fetching has_methods_* and `has_custom_meth… (#1842)
* Update API Endpoint for fetching `has_methods_*` and `has_custom_methods_*` fields

Fixes #1821

* don't load address txs when navigating to contract tab

* fix test
2024-04-23 15:43:04 +02:00
tom goriunovandGitHub 295d02dc24 zkEVM deposits and withdrawals (#1833)
* deposits page

* withdrawals page

* tests

* rename optimism routes

* [skip ci] fix presets
2024-04-23 15:42:32 +02:00
tom 6fd0002ee7 add metadata service feature 2024-04-23 15:41:12 +02:00
tom goriunovandGitHub 43357004b5 Playwright tests refactoring, pt.2 (#1787)
* create storageState fixture

* remove auth fixture

* renaming

* migrate bridge tokens and shibarium rollup tests

* migrate to common app config

* update screenshots

* re-implement fixtures for mocking envs, features and auth state

* update screenshot
2024-04-17 20:20:02 +02:00
isstuev 1a332aebcc Support ens_domain search result type 2024-04-17 16:35:00 +02:00
tom goriunovandGitHub 6b66cd4cd4 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
Igor StuevandGitHub f26396c3f1 Merge pull request #1800 from blockscout/fe-1775
coin balance history chart new type and custom empty text
2024-04-15 11:14:36 +02:00
7180830886 Hotfix for Noves integration error with undefined addresses (#1803)
Fix error with addresses

Co-authored-by: NahuelNoves <[email protected]>
2024-04-11 14:55:38 +02:00
isstuev fbc38b6a51 coin balance history chart new type and custom empty text 2024-04-09 17:00:32 +02:00
isstuev f786f174e9 add 404 tokens to watchlist 2024-04-04 14:12:55 +02:00
isstuev f842b44b4f fix erc404 transfer type 2024-04-03 18:00:27 +02:00
tom goriunovandGitHub 8a5738730f Playwright tests refactoring, pt.1 (#1744)
* abort all requests for external resources and single mock for text ad

* render and mockApiResponse fixtures

* move fixtures into separate files

* rewrite Blocks test

* refactor mockApiResponse signature

* test with auth

* rewrite test with other API domains

* fix test

* separate script for installing deps in pw docker
2024-04-01 14:48:30 +02:00
Igor StuevandGitHub 01c65fad9d Merge pull request #1735 from blockscout/fe-1725
Add support of ERC-404 type
2024-04-01 16:24:43 +04:00
Max AlekseenkoandGitHub 021ced37ee Merge pull request #1709 from blockscout/dapps-security-score
Dapps security score
2024-04-01 12:33:53 +02:00
isstuev ccb193fb70 Add support of ERC-404 type 2024-03-28 15:14:19 +04:00
tom goriunovandGitHub 5e14c4a48f zkSync batches (#1743)
* dev preset

* batches page

* batch details view

* batch txs

* adjustments in block view

* adjustments in tx view

* adjustments on home page

* fixes

* tests

* add pagination to batch txs

* ENV values for demo

* fix layout on batch details tab

* add more fields to batch details

* update screenshots

* revert demo ENVs
2024-03-28 07:44:39 +01:00
0b928987e3 Noves integration (#1398)
* noves integration

* code refactored

* PR changes added

* Code set up for new proxy 'describeTxs'

* minor fix

* Rename Novestranslate.ts to NovesTranslate.ts

* some quick stuff

* partial fixes and commit for changing how useDescribeTxs and txsContent work (new GET endpoint)

* Pending PR fixes

* tx asset flows pageSize of 50

* PR comments fixes

* rename expected api endpoint for the describe_txs endpoint, more accurate and descriptive

* one final re-name for api endpoint (make it clear it's an object vs an action)

* scrollRef fix

* build error fix

* design fixes

* sub heading fix

* Removed pagination in account history

* remove duplicate route

* updated table theme and icon gap

* Removed wrong color in table

* removed null validation in page params

* updated margin

* margin fix

* add icons to contracts

* Sub-heading interpretation simplified

* token alignment fix

* tests added for new functions

* margin fix

* remove divider on mobile asset flows

---------

Co-authored-by: NahuelNoves <[email protected]>
Co-authored-by: francisco-noves <[email protected]>
2024-03-26 18:39:46 +01:00
Max Alekseenko 69ee590295 fix types 2024-03-25 16:59:57 +01:00
tom goriunovandGitHub 1e300174a1 Remove the use of the token object from the response of the api/v2/tokens/<address>/holders endpoint. (#1696)
Fixes #1690
2024-03-18 13:28:12 +03:00
tom 015ddcde2a handle blobs with no data 2024-03-08 14:30:28 +04:00
tom goriunovandGitHub 57e6c19567 Merge pull request #1678 from blockscout/fe-1677
Support raw format of v0.7 user ops
2024-03-08 08:19:57 +04:00
tom goriunovandGitHub 0c4673e5d0 Add Blobs support (EIP-4884) (#1672)
* blob page placeholder

* txs with blobs list view

* tx additional info popup

* blob gas info for tx and block

* update hints

* tx blobs tab

* blob details page

* add ENV to hide blob txs tab

* tx blob fees and adj for tx burnt fees

* preliminary tests

* blob data convertion

* display blob data type in lists

* download asset

* blob txs in block

* tests for blob data preview

* fixes

* fix tests

* support blobs in search

* update blob icon

* more fixes
2024-03-07 18:36:55 +04:00
tom 614455f6be Handle undefined timestamp for zkEVM batch
Fixes #1674
2024-03-07 11:20:44 +04:00
isstuev ad462d15ed Support raw format of v0.7 user ops 2024-03-06 17:23:55 +01: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 goriunovandGitHub 181af9de96 Merge pull request #1643 from blockscout/tom2drum/issue-1548
Add a decimal part to the Market cap graph value and handle null values
2024-03-04 19:14:36 +04:00
tom goriunovandGitHub 7eb5976b96 Display arrays of structs on Read/Write contract tabs (#1556)
* prototype

* change host for preview

* improve labels for nested arrays

* add field path

* bind fields to react form

* transform form fields into method args

* add styles for non-array args

* styles for tuple array

* style nested array inputs

* clear and multiply buttons for inputs

* show errors in inputs

* pass disabled state to inputs

* change direction of accordioin icon

* remove old code

* add asterix to required fields

* improvements and comments

* change styles

* highlight sections with errors

* refactoring field method name

* fix lable color

* fix ts

* preliminary tests

* better complex field labels

* improve tests

* remove outputs for write methods

* rollback review value
2024-02-26 19:29:08 +04:00
tom 4419184ce8 Add a decimal part to the Market cap graph value and handle null values 2024-02-26 13:32:28 +04:00
Igor StuevandGitHub b0d74479f5 Merge pull request #1628 from blockscout/tom2drum/issue-1624
`outputs` field is not required for contract read method
2024-02-20 10:56:37 +01:00
tom 1acf972a08 outputs field is not required for contract read method
Fixes #1624
2024-02-20 12:48:37 +04:00
tom goriunovandGitHub 7c9a967774 Gas tracker page (#1524)
* add custom headers to API resource

* refactoring

* page title

* chart

* gas prices snippet

* GasPrice component

* add ENV for gas units

* dark theme and other tweaks

* tests

* add base and priority fee

* [skip ci] small fiat values

* change behavior of the variable

* update tooltip layout

* refactor gas info tooltip

* refactor GasPrice component

* fix logic and deploy demo for eth mainnet

* tests

* remove link from anchor

* [skip ci] rollback ENVs for demo

* review fixes

* fix tests
2024-02-20 08:36:57 +04:00
isstuev 85e5013ae6 contract audits 2024-02-19 12:45:18 +01:00