Commit Graph

540 Commits

Author SHA1 Message Date
Willian Mitsuda
088781babb Fix negative block numbers 2022-02-18 04:11:10 -03:00
Willian Mitsuda
9ca79e838f Fix block number not found 2022-02-18 04:06:36 -03:00
Willian Mitsuda
488f267d48 Disable search by ENS name if network does not support it 2022-02-18 03:46:37 -03:00
Willian Mitsuda
33839eb5ef Hide ENS label when network does not support it 2022-02-18 03:39:37 -03:00
Willian Mitsuda
288f6c92cd Fix search by block hash 2022-02-18 02:32:39 -03:00
Willian Mitsuda
82b003f29b Add support for sepolia testnet 2022-02-15 17:58:10 -03:00
Willian Mitsuda
fb8d5d8921 Configure set of resolvers per chainId 2022-02-13 16:15:51 -03:00
Willian Mitsuda
8669003ac6 Quick and dirty hack to hide london dashboard from sepolia until fixed 2022-02-13 15:48:29 -03:00
Willian Mitsuda
f52119a540 Handle non-used addresses in search fix#67 2022-02-03 15:14:05 -03:00
Willian Mitsuda
f09c49dfed Fix prefetch 2022-02-01 19:14:05 -03:00
Willian Mitsuda
97f6ae89fe Fix display of error message while loading tx by nonce 2022-02-01 16:01:23 -03:00
Willian Mitsuda
f9f7a569e2 Make nav nonce control dumb; use just urls for navigation; speed up with prefetch 2022-02-01 15:53:45 -03:00
Willian Mitsuda
6a6e2cdb14 Retrofit search urls into search 2022-02-01 15:32:18 -03:00
Willian Mitsuda
3695db552b Handle negative nonce 2022-02-01 15:19:42 -03:00
Willian Mitsuda
c728dd881d Handle search for latest nonce on uninitialized addresses 2022-01-31 17:06:49 -03:00
Willian Mitsuda
9d7709ca63 Add "latest" support for nonce param 2022-01-31 16:49:58 -03:00
Willian Mitsuda
b0c31441c4 Simplify logic 2022-01-31 16:35:34 -03:00
Willian Mitsuda
0f35d205e4 Fix extra redirect 2022-01-31 16:28:10 -03:00
Willian Mitsuda
5abf171be9 Fix invalid nonce handling 2022-01-31 16:26:27 -03:00
Willian Mitsuda
17194c089a Add 404 page 2022-01-31 15:53:25 -03:00
Willian Mitsuda
e6d60f1fcd Change address tx by nonce url to addressOrName?nonce=? format 2022-01-31 15:37:29 -03:00
Willian Mitsuda
20fc443009 Error handling UI improvements 2022-01-29 20:44:26 -03:00
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