Commit Graph
254 Commits
Author SHA1 Message Date
tom goriunovandGitHub 473ef9eafe Block Countdown page (#2091)
* page placeholder

* block info snippet

* add actions for calendar buttons

* add timer

* add redirect when timer runs out

* add redirect from not found block page

* block countdown index page

* link to countdown index page

* add link to search suggest

* add URL to an event

* add link to block countdown on mobile

* tests

* add countdown text to search result page

* update margins

* show block countdown when search results are not empty
2024-07-18 08:56:28 +02:00
tom goriunovandGitHub 8ce5d336d9 Migrate to @blockscout/stats-types and @blockscout/visualizer-types (#2063)
* migrate to stats-types package

* migrate to visualizer-types package

* update package.json
2024-07-02 16:27:13 +02:00
tom goriunovandGitHub 90a53a8a74 Implement NFT instance metadata refetch button (#2039)
* refactor token instance page title

* add menu item and modal with recaptcha

* initialize refresh and show loading state

* handle error state

* fix metadata atributes parser

* refactoring

* tests
2024-06-25 18:19:39 +02:00
tom goriunovandGitHub 32690afe56 Call contract read methods from the client (#2032)
* display methods accordion

* add method_id to methods

* query read method via public client

* query read methods without inputs at accordion section open

* add custom abi tabs

* add proxy tabs

* custom wagmi config if wc is not configured

* remove ContractAbiItemConstant component

* display tuple properties in method outputs

* display read result

* clean up

* support nested arrays in the read result

* re-write test for contract methods

* change result view for address output

* refactoring

* fix tests

* remove web3 provider fallback

* fix tab loading

* refactoring

* add implementation contract selector

* add "copy to clipboard" for address, remove top-level square brackets

* add preview mode to contract method result

* tests for read result

* fix tests

* change styles for result preview

* review fix
2024-06-24 19:56:06 +02:00
Igor StuevandGitHub a66c138bcd Merge pull request #2024 from blockscout/fe-2006
Arbitrum views
2024-06-21 13:56:02 +03:00
isstuev ef222fd0f6 arbitrum 2024-06-18 12:11:43 +03:00
tom goriunovandGitHub 5e33a1b43a Migrate to bens-types (#2023)
migrate to BENS types
2024-06-13 20:13:10 +02:00
tom goriunovandGitHub e676a93259 BENS multiprotocol support (#2003)
* show protocol icon on the list and the entity page

* add logo and tooltip to the entity in address page subheading

* make icon_url and docs_url optional

* add protocol to name domain filters

* tests

* fetch protocols list from api endpoint

* fix protocol query param parsing

* build correct links to token ids and txs
2024-06-13 13:10:53 +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 d498acf2f5 [skip ci] improve typing of useApiQuery hook 2024-05-24 08:52:02 +02:00
tom 3d8df8ae6d pass form data to API and display result 2024-05-13 19:27:21 +02:00
tom 0c3bb187c1 name and email fields 2024-05-07 15:41:55 +02:00
tom 29c9973b67 remove old public tags page 2024-05-07 12:21:30 +02:00
tom ee460bdbdb change useAddressMetadataInfoQuery accordint to new version of the API 2024-04-25 20:05:36 +02:00
tom cae36eaf53 add typing to address metadata resource 2024-04-23 19:54:41 +02:00
tom goriunovandGitHub a80463363f Allow export token holders to CSV (#1850)
Fixes #1766
2024-04-23 15:43:18 +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 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
isstuev fbc38b6a51 coin balance history chart new type and custom empty text 2024-04-09 17:00:32 +02: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
isstuev 0553841bd5 add user ops tx interpretation 2024-03-07 22:00:19 +01: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 167e43c26e validators state filter fix 2024-02-28 11:18:53 +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
isstuev 720bf33f55 shibarium deposits and withdrawals 2024-02-19 12:28:59 +01:00
tom goriunovandGitHub b3a5a141f9 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
tom 95dca2053d fix ts overload 2024-02-13 17:34:03 +04:00
Max Alekseenko 361f3c0bda Merge branch 'main' into marketplace-admin-api 2024-02-13 12:33:57 +01:00
Max Alekseenko 9405f7beff rework dapp queries 2024-02-12 19:04:47 +01:00
tom goriunovandGitHub 6ebcc30e83 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
tom 71036604b8 rollback buildUrl changes 2024-02-09 17:49:06 +04:00
tom 913833d75f [skip ci] support array-like query params in API resource calls 2024-02-08 18:40:59 +04:00
tom goriunovandGitHub 1e2d2f5022 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
isstuev a530d96070 typos 2024-01-25 11:15:52 +01:00
isstuev 581f02f72b address user ops 2024-01-22 22:17:30 +01:00
isstuev 7501f23aa9 user ops tab in tx 2024-01-22 22:17:30 +01:00
isstuev b20d5bfd7c user ops list and user op details 2024-01-22 22:17:28 +01:00
tom goriunovandGitHub 986d6c0418 navigation doesn't work on error pages (#1519)
* navigation doesn't work on error pages

Fixes #1518

* unify API resource thrown errors and disable Sentry logging for them

* test fix
2024-01-22 17:36:30 +04:00
tom 4d7f6c602b Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1376 2024-01-17 11:34:41 +04:00
tom 85a079ea41 coin price change 2024-01-05 14:11:59 +04:00
tom be0eba66f8 Naming systems integration (ENS)
Fixes #1376
2023-12-28 19:35:21 +04:00
tom f01694408c migration to new API resources schema 2023-12-27 19:34:22 +04:00
isstuev ff5cd0a722 add transaction interpretations 2023-12-27 12:30:20 +01:00
tom 8bf2990ef3 sorting and filter 2023-12-23 14:37:05 +04:00
tom 9b9795a30b domains lookup page: main layout 2023-12-22 20:06:54 +04:00
tom 3063918c8a domain history tab 2023-12-22 17:48:27 +04:00