Commit Graph
438 Commits
Author SHA1 Message Date
tom 10d8cb169e tag name, url and description 2024-05-08 12:37:16 +02:00
tom d31beb4d93 name and email fields 2024-05-07 15:41:55 +02:00
tom 77dafd7984 remove old public tags page 2024-05-07 12:21:30 +02:00
tom goriunovandGitHub 7260a87d8a 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 b9985adbb6 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 90b382798d change useAddressMetadataInfoQuery accordint to new version of the API 2024-04-25 20:05:36 +02:00
tom goriunovandGitHub 70c85f48d3 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 35314183d6 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 f36becd32d add metadata service feature 2024-04-23 15:41:12 +02:00
tom goriunovandGitHub aa8a5841f7 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 a9de03b5db Support ens_domain search result type 2024-04-17 16:35:00 +02:00
tom goriunovandGitHub c0e660d2e1 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 ccb95aa50f 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
ce6e31d735 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 4a4708a1e4 coin balance history chart new type and custom empty text 2024-04-09 17:00:32 +02:00
isstuev df5081d279 add 404 tokens to watchlist 2024-04-04 14:12:55 +02:00
isstuev 04972d7f86 fix erc404 transfer type 2024-04-03 18:00:27 +02:00
tom goriunovandGitHub 57e4b6dc3c 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 3640825d1a Merge pull request #1735 from blockscout/fe-1725
Add support of ERC-404 type
2024-04-01 16:24:43 +04:00
Max AlekseenkoandGitHub 6d20b6239f Merge pull request #1709 from blockscout/dapps-security-score
Dapps security score
2024-04-01 12:33:53 +02:00
isstuev 01ed021fec Add support of ERC-404 type 2024-03-28 15:14:19 +04:00
tom goriunovandGitHub 0fba97d827 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
ddd3d75768 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 ae9f0a24c2 fix types 2024-03-25 16:59:57 +01:00
tom goriunovandGitHub e47559a5af 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 b72deddf2d handle blobs with no data 2024-03-08 14:30:28 +04:00
tom goriunovandGitHub fd016178a1 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 8933d05185 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 9dc6ece47c Handle undefined timestamp for zkEVM batch
Fixes #1674
2024-03-07 11:20:44 +04:00
isstuev c7f648898f Support raw format of v0.7 user ops 2024-03-06 17:23:55 +01: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 goriunovandGitHub cf29e161c4 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 30efe0e58e 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 e28df6ea15 Add a decimal part to the Market cap graph value and handle null values 2024-02-26 13:32:28 +04:00
Igor StuevandGitHub 398fa7ceff 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 174b2343fe outputs field is not required for contract read method
Fixes #1624
2024-02-20 12:48:37 +04:00
tom goriunovandGitHub ae5489b1f7 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 0251b3bb86 contract audits 2024-02-19 12:45:18 +01:00
isstuev f085508cdc shibarium deposits and withdrawals 2024-02-19 12:28:59 +01:00
tom goriunovandGitHub 797b8f57bb Validators list (#1621)
* new ENV and page placeholder

* display list data

* comment out SearchInput

* add counters

* add tag to address page

* tests

* refactoring

* fix ts

* change ENVs for demo

* fix ENVs validator

* [skip ci] remove hash

* review fixes
2024-02-19 11:04:28 +04:00
isstuev 4c0bad60d4 add method call as tx interpretation 2024-02-14 23:47:56 +01:00
Igor StuevandGitHub eb1139bd93 Merge pull request #1607 from blockscout/fe-1587
remove epoch
2024-02-13 13:39:43 +01:00
tom goriunovandGitHub 877955be3a Graceful service degradation: address page (#1580)
* Graceful service degradation: address page

Fixes #1579

* fix ts

* [skip ci] check if public client was initialized
2024-02-13 08:11:29 +04:00
isstuev 93226e9119 remove epoch 2024-02-12 23:51:57 +01:00
tom goriunovandGitHub df7e1d209a Refactor rollup features (#1599)
* refactor ENVs and app feature

* rename l2 into optimisticL2

* [skip ci] fix validator schema
2024-02-12 17:35:22 +04:00
Igor StuevandGitHub ddf1784e75 Merge pull request #1553 from blockscout/interpretation-domains
add domain type to tx interpretation
2024-02-06 20:03:21 +01:00
isstuev e98b6dfb24 token id can be null 2024-01-31 11:06:59 +01:00
isstuev 8dd6067e5c add domain type to tx interpretation 2024-01-30 19:48:25 +01:00
tom goriunovandGitHub 840c3769f7 Graceful service degradation: block page (#1541)
* display main data

* display rest of tx fields

* placeholder data

* always show tabs

* manage error and retries on details tab

* don't retry if degraded view is active

* fix tests

* fix tx receipt

* change styles and wording for warning

* tweaks

* gray alert style change and update screenshots

* display main block info from RPC

* refetch API query

* txs tab

* display empty address for contract creation tx

* withdrawals tab

* remove type coercions

* lazy rendered lists

* fix RPC query refetch

* fixes

* comment about block type

* fix tests

* update screenshots

* [skip ci] better variable name
2024-01-30 16:58:06 +04:00
tom goriunovandGitHub d0c66e1e3f Graceful service degradation: tx details tab (#1525)
* display main data

* display rest of tx fields

* placeholder data

* always show tabs

* manage error and retries on details tab

* don't retry if degraded view is active

* fix tests

* fix tx receipt

* change styles and wording for warning

* tweaks

* gray alert style change and update screenshots

* add retries to RPC call

* fixes after merge
2024-01-30 10:39:23 +04:00