Commit Graph

518 Commits

Author SHA1 Message Date
Willian Mitsuda d70c22b5a0 Extract common component for address or ens name not found 2022-01-29 20:00:01 -03:00
Willian Mitsuda aeda92e41c Add ENS support to search by nonce url 2022-01-29 19:54:21 -03:00
Willian Mitsuda 17b6c03a33 Basic nonce locator URL 2022-01-29 19:40:26 -03:00
Willian Mitsuda cb6d1f3bcd Extract tx page content component 2022-01-29 19:04:52 -03:00
Willian Mitsuda f138444eee Fix signalling tx not found on network error 2022-01-24 16:36:16 -03:00
Willian Mitsuda e62068c65a Fix ens name without nonce search 2022-01-24 16:23:16 -03:00
Willian Mitsuda af15aaba0c Rename, since the /:addressorName now may not route to just address search results 2022-01-24 16:22:32 -03:00
Willian Mitsuda 80ef1cf820 Add initial support for address:nonce search 2022-01-22 15:02:00 -03:00
Willian Mitsuda fe673bd0f8 Small fixes 2022-01-21 15:59:27 -03:00
Willian Mitsuda 7d87345e98 Prevent passing negative nonce because of prefetch 2022-01-21 15:59:27 -03:00
Willian Mitsuda 0c6137656f Always prefetch 2022-01-21 15:59:27 -03:00
Willian Mitsuda f1db3f2348 Add prefetch to nonce +-2 2022-01-21 15:59:27 -03:00
Willian Mitsuda 0d2a1a593d Add next/last nonce navigation support 2022-01-21 15:59:27 -03:00
Willian Mitsuda e012165696 Improve readability of nonce 2022-01-21 15:59:27 -03:00
Willian Mitsuda 47cbe36c8f First working iteration of sender/nonce navigation 2022-01-21 15:59:27 -03:00
Willian Mitsuda a934282ab0 Remove fourBytesMap usage; replace everything by swr 2021-12-18 21:13:35 -03:00
Willian Mitsuda d67cd52ceb Move check to outside useSWR 2021-12-18 07:31:03 -03:00
Willian Mitsuda 61383a36d9 Change to immutable SWR 2021-12-18 07:09:10 -03:00
Willian Mitsuda 7df1babd27 Remove AddressCollectors and batchResolver 2021-12-16 23:22:56 -03:00
Willian Mitsuda ff0fd63ab9 Replace batch calls of address resolution caches and deep props down with in-place useSWR calls 2021-12-16 23:17:13 -03:00
Willian Mitsuda 28a216ff5f Eliminate redundant function 2021-12-16 19:22:13 -03:00
Willian Mitsuda e9f32e3530 Extract method formatter 2021-12-16 19:12:55 -03:00
Willian Mitsuda 478dd84710 Eliminate simple transfer singleton entry 2021-12-16 19:08:04 -03:00
Willian Mitsuda d5ea295eec Rework use4Bytes hook to use swr; fix handling of 0x00 data 2021-12-16 18:35:54 -03:00
Willian Mitsuda da50c7b4ac Add custom error decoding 2021-12-13 21:03:13 -03:00
Willian Mitsuda f22199d7d5 Add basic structure for custom errors 2021-12-13 15:41:37 -03:00
Willian Mitsuda d5fa5dda36 Small refactorings; no semantic changes 2021-12-13 15:11:34 -03:00
Willian Mitsuda 0754c4f4bf Add failed tx error msg support; depends on ots_getTransactionError custom API 2021-12-12 23:32:30 -03:00
Willian Mitsuda 0439be7ac9 Fix display Sourcify verification status for created contracts on block tx results 2021-12-04 17:22:17 -03:00
Willian Mitsuda 9fb6e1877d Fix address resolution for created contracts on results page 2021-12-04 16:59:29 -03:00
Willian Mitsuda 658e530ed1 Fix tabs when search by ens name; fix contract creation on block txs results 2021-12-04 16:54:27 -03:00
Willian Mitsuda 7a9dd3c519 Move hook 2021-12-04 16:33:07 -03:00
Willian Mitsuda 6f6dd1877a Remove dead code 2021-12-04 16:29:40 -03:00
Willian Mitsuda 3a6f050061 Dont display the contract tab if we know the address is an EOA 2021-12-04 16:28:40 -03:00
Willian Mitsuda 14186ad151 Add uniswap V3 resolver 2021-12-03 16:14:09 -03:00
Willian Mitsuda e6ec78daee Add all Uniswap V3 known deployments from https://github.com/Uniswap/v3-periphery/blob/main/deploys.md 2021-12-03 15:46:50 -03:00
Willian Mitsuda 6a15285a48 Add uniswap V1 support 2021-12-03 10:04:42 -03:00
Willian Mitsuda 0233879011 Remove console.log 2021-12-03 10:04:15 -03:00
Willian Mitsuda c58d9afb38 First working iteration of uniswap V2 LP address resolver 2021-12-03 08:37:09 -03:00
Willian Mitsuda 751ef0c9af Extract higher level hook 2021-12-02 16:19:03 -03:00
Willian Mitsuda c40e653bef Small refactorings 2021-12-02 15:42:59 -03:00
Willian Mitsuda 2e04c726d7 Use new custom API to server-side check if address has code/is contract 2021-12-02 15:34:06 -03:00
Willian Mitsuda c3dfcfeee3 Add still unoptimized check for addresses with code 2021-12-02 15:21:58 -03:00
Willian Mitsuda 10debf1395 Add eth2 deposit contract 2021-12-02 15:21:23 -03:00
Willian Mitsuda 5216198b06 Add selection highlighting support to decoded param table values 2021-11-29 15:32:07 -03:00
Willian Mitsuda e37a5b6c02 Add ENS mainnet contracts 2021-11-29 15:03:09 -03:00
Willian Mitsuda 832f5f435f Reduce the amount of network calls by probing first only name() and on success probe other erc20 methods 2021-11-29 14:45:14 -03:00
Willian Mitsuda 53630f43a4 Silence catch error on purpose 2021-11-29 14:28:35 -03:00
Willian Mitsuda fcc05de66d Add old tornado proxy address 2021-11-28 13:58:53 -03:00
Willian Mitsuda 9d56f981b3 Add known binance addresses 2021-11-28 13:06:20 -03:00
Willian Mitsuda 8092f7699d Add tornado.cash pool addresses 2021-11-26 09:13:16 -03:00
Willian Mitsuda 44eec1d2e7 Undo hash coloring 2021-11-26 05:22:08 -03:00
Willian Mitsuda 380ef96225 Change default token icon 2021-11-26 05:13:23 -03:00
Willian Mitsuda 83ce3ab734 Fix contract tab 2021-11-26 03:38:24 -03:00
Willian Mitsuda 3bfe0d0055 Extract and generalize ETH address fixing logic 2021-11-25 16:20:44 -03:00
Willian Mitsuda d9592fe196 Move file 2021-11-25 15:50:59 -03:00
Willian Mitsuda 7946188633 Extract Sourcify logo component 2021-11-25 15:48:17 -03:00
Willian Mitsuda 379ffda83e Extract single Sourcify metadata helper function 2021-11-25 15:41:40 -03:00
Willian Mitsuda 843781c8ba Push down address search-specific computations 2021-11-25 15:30:11 -03:00
Willian Mitsuda 97611ca0a1 Extract address transaction results component 2021-11-25 07:03:29 -03:00
Willian Mitsuda 0b43df6b75 Extract common search logic 2021-11-25 06:44:25 -03:00
Willian Mitsuda 33939054f2 Migrate to react-router v6 2021-11-25 06:28:45 -03:00
Willian Mitsuda 18b834c852 Upgrade react-chartjs-2 to v4; make code tree-shakeable 2021-11-23 20:53:49 -03:00
Willian Mitsuda c2629b5830 Fix 4bytes trace map not loading on prod build 2021-11-22 15:57:28 -03:00
Willian Mitsuda 3c20cf6810 Increment required API level (because of ots_traceTransaction) 2021-11-22 14:29:31 -03:00
Willian Mitsuda ed79a7a72f Normalize function names to lower capital 2021-11-22 14:25:18 -03:00
Willian Mitsuda 637ff5c9d8 Fix selfdestruct display 2021-11-22 14:16:33 -03:00
Willian Mitsuda e640d11a16 Fix ERC resolver for tokens with empty name/symbol 2021-11-21 09:04:08 -03:00
Willian Mitsuda 087b531905 Add selfdestruct support 2021-11-21 08:52:37 -03:00
Willian Mitsuda a985830c74 Simplified display of create/create2 traces 2021-11-19 17:26:57 -03:00
Willian Mitsuda 8bfe34850d Dont try to parse method selector for create/create2 traces 2021-11-19 15:39:53 -03:00
Willian Mitsuda 26600afdb6 Merge branch 'develop' into feature/trace-tx 2021-11-19 14:58:41 -03:00
Willian Mitsuda 56a9efb81b Fix resolving names not propagating inside param tables 2021-11-19 14:57:21 -03:00
Willian Mitsuda f0c78b6a12 Link Sourcify decoration directly to contracts verification info page 2021-11-19 14:52:00 -03:00
Willian Mitsuda 2a72602f12 Merge branch 'develop' into feature/trace-tx 2021-11-18 16:15:25 -03:00
Willian Mitsuda 2e586789a4 Replace by TransactionAddress component 2021-11-18 16:01:11 -03:00
Willian Mitsuda 454f785878 Remove unnecessary code 2021-11-18 15:51:08 -03:00
Willian Mitsuda c9f7f46ebc Add generic resolvers support to internal ops 2021-11-18 15:46:09 -03:00
Willian Mitsuda 5b203bc8d4 Remove unnecessary nested spans 2021-11-11 16:14:04 -03:00
Willian Mitsuda 36b5437643 Fix missing Sourcify decoration on token transfers 2021-11-11 15:51:03 -03:00
Willian Mitsuda 8e29326ff5 Remove unused attribute 2021-11-11 15:37:40 -03:00
Willian Mitsuda 56c5c420fb Merge branch 'develop' into feature/trace-tx 2021-11-11 05:27:36 -03:00
Willian Mitsuda 0caf58ea29 Add Sourcify decoration support to tx logs page 2021-11-10 16:48:24 -03:00
Willian Mitsuda 1794fff7f3 Add Sourcify decoration to addresses in tx details page 2021-11-10 16:24:34 -03:00
Willian Mitsuda 7102a746b9 Add Sourcify decorations to BlockTransactions page 2021-11-10 05:58:28 -03:00
Willian Mitsuda dca72a13b4 Add Sourcify decoration support to AddressTransactions page 2021-11-10 05:45:46 -03:00
Willian Mitsuda fe8be2ee21 Retrofit useMultipleMetadata into AddressTransactions page 2021-11-10 05:00:27 -03:00
Willian Mitsuda 8d259dacc8 Create a new type for checksummed addresses; small renames 2021-11-10 04:46:43 -03:00
Willian Mitsuda cc652eea5b Fix width 2021-11-08 15:20:13 -03:00
Willian Mitsuda 445cd679d8 Tweak styling of disabled tabs 2021-11-08 14:57:51 -03:00
Willian Mitsuda 05aee02a43 Disable utf8 display when impossible to decode 2021-11-08 14:55:41 -03:00
Willian Mitsuda d905afd75d Allow raw display of non-decodable inputs 2021-11-08 14:53:23 -03:00
Willian Mitsuda b9a9495c61 Add loading indicator 2021-11-08 09:07:52 -03:00
Willian Mitsuda d9155bff11 Use complete input decoder 2021-11-08 08:28:28 -03:00
Willian Mitsuda a03b7d21f6 Remove unused parameter 2021-11-08 08:20:16 -03:00
Willian Mitsuda eb22a227f1 Merge branch 'develop' into feature/trace-tx 2021-11-08 08:14:46 -03:00
Willian Mitsuda c0f934b190 Remove unnecessary attributes; simplify code 2021-11-08 08:02:05 -03:00
Willian Mitsuda 25f821548e Extract InputDecoder component 2021-11-08 07:49:30 -03:00
Willian Mitsuda f1fe98965b Tweak spacing 2021-11-07 21:07:20 -03:00
Willian Mitsuda 17cb352a1f Remove unnecessary nested divs 2021-11-07 17:54:28 -03:00