Commit Graph
463 Commits
Author SHA1 Message Date
63516eb3c8 Celo: show gas fees paid in ERC20 tokens (#2061)
* component for displaying tx fee

* config for celo alfajores

* display tx fee and gas price in celo token

* adjustments for stability fee

* clean up

* update screenshots

* change envs for demo

* more screenshot updates

* Removing unneeded network id var from review deploy

* rollback envs for demo

* fix currency symbol in tx table header

* lol 🤦‍♂️

---------

Co-authored-by: Nick Zenchik <[email protected]>
2024-07-08 14:34:00 +02:00
tom goriunovandGitHub f1c4adec10 Implementation name behind proxy name (#2071)
* icon for proxy contract

* add custom tooltip for proxy contract

* add name to tooltip and refactor

* tests

* center the popup content
2024-07-08 13:40:26 +02:00
tom goriunovandGitHub 5d2ae73172 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
Igor StuevandGitHub 9f84541a49 Merge pull request #2047 from blockscout/arbitrum-update
arbitrum updates
2024-06-26 11:37:45 +03:00
tom goriunovandGitHub 19ddd87083 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
isstuev 7f71236139 block_count -> blocks_count 2024-06-25 17:15:58 +03:00
tom goriunovandGitHub 434aae92bb 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 f04d491410 Merge pull request #2024 from blockscout/fe-2006
Arbitrum views
2024-06-21 13:56:02 +03:00
isstuev 8fa3ebf281 review fix 2024-06-20 17:57:18 +03:00
isstuev 6ebca444bd arbitrum 2024-06-18 12:11:43 +03:00
tom goriunovandGitHub 74f2324dc0 Migrate to bens-types (#2023)
migrate to BENS types
2024-06-13 20:13:10 +02:00
tom goriunovandGitHub b12956685e Blueprint contracts support (#2009)
Fixes #1907
2024-06-13 13:11:26 +02:00
tom goriunovandGitHub 96556c4a88 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
tom goriunovandGitHub 23bb231351 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 db61a58030 OP Fault Proofs support 2024-05-28 12:01:37 +02:00
tom 19402fe687 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1826 2024-05-27 16:50:48 +02:00
tom goriunovandGitHub d02a3f707f 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 28aa28cf74 add certified icon to search 2024-05-26 12:03:07 +02:00
isstuev a92f705f5f add certified conract label 2024-05-26 11:48:52 +02:00
tom goriunovandGitHub 22f8016a8f 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 efa177b3d4 add native token image 2024-05-23 23:52:56 +02:00
tom goriunovandGitHub f3047db3e9 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 bced0e1298 Merge branch 'main' of github.com:blockscout/frontend into tom2drum/issue-1826 2024-05-15 17:38:06 +02:00
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
Max Alekseenko 94f9a23c64 rename meta props 2024-05-07 13:54:03 +02:00
tom 77dafd7984 remove old public tags page 2024-05-07 12:21:30 +02:00
Max Alekseenko f8bfb117e9 merge main 2024-05-06 21:48:27 +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