Commit Graph

539 Commits

Author SHA1 Message Date
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
Willian Mitsuda fc1f0fe196 Use higher level component 2021-11-07 17:46:42 -03:00
Willian Mitsuda bf7117c1eb Add hover coloring 2021-11-07 17:42:10 -03:00
Willian Mitsuda 45bfe9718a Fix staticcall display ot traces 2021-11-07 17:35:17 -03:00
Willian Mitsuda 43f0ba0f8d Remove deprecated parameters 2021-11-07 09:21:02 -03:00
Willian Mitsuda 00ecea2c54 Merge branch 'develop' into feature/trace-tx 2021-11-07 09:15:02 -03:00
Willian Mitsuda 128c70b972 Replace component 2021-11-07 08:56:12 -03:00
Willian Mitsuda b723182ad3 Extract utility component TransactionAddress 2021-11-07 08:21:56 -03:00
Willian Mitsuda f90d9150b8 UI fixes 2021-11-06 16:14:30 -03:00
Willian Mitsuda 42b585bc40 Add input decoding to trace 2021-11-06 15:54:34 -03:00
Willian Mitsuda 8c46eaabb1 Generalize attribute type 2021-11-06 05:15:27 -03:00
Willian Mitsuda 9954c8ac02 Typedef component 2021-11-06 05:04:50 -03:00
Willian Mitsuda fd3173c3a6 Extract TraceInput component 2021-11-06 02:12:37 -03:00
Willian Mitsuda 45893bae8b Merge branch 'develop' into feature/trace-tx 2021-11-04 16:34:16 -03:00
Willian Mitsuda e2ba28b64e Add previous GR round payout addresses 2021-11-04 15:59:17 -03:00
Willian Mitsuda 8efe230bc8 Add missing resolvers support on decoded inputs and logs table 2021-11-03 09:14:52 -03:00
Willian Mitsuda 03e48f678c Add missing resolvers on token transferred section 2021-11-03 09:07:38 -03:00
Willian Mitsuda d99a9a24c1 Add GR11 matching payout address to the hardcoded list 2021-11-03 09:01:22 -03:00
Willian Mitsuda 3b60030817 Reduce redraws 2021-11-03 04:52:01 -03:00
Willian Mitsuda 596ed93e0e Hide children nodes seems to performe better on large traces 2021-11-02 21:54:25 -03:00
Willian Mitsuda fd5b884caa Add tree expand/collapse toggles 2021-11-02 21:24:19 -03:00
Willian Mitsuda 364461c00b Merge branch 'develop' into feature/trace-tx 2021-11-02 03:52:05 -03:00
Willian Mitsuda 2dd055755e Add gitcoin donation checkout address 2021-11-02 03:48:42 -03:00
Willian Mitsuda 7daffbca26 Add tornado cash proxy 2021-11-02 03:36:30 -03:00
Willian Mitsuda f2fbab36a6 Initial implementation of hardcoded address resolver with Uniswap V1/2/3 main contracts as a bootstrap test 2021-11-02 03:32:11 -03:00
Willian Mitsuda bc1d6f35b8 Add merged trace address resolution 2021-11-01 17:40:38 -03:00
Willian Mitsuda c4615e47bf Add address resolution support to trace tool 2021-11-01 17:09:47 -03:00
Willian Mitsuda d2ae5f07fd Merge branch 'develop' into feature/trace-tx 2021-11-01 16:56:24 -03:00
Willian Mitsuda 2dd4850eb0 Start using JsonRpcBatchProvider from ethers instead of the regular one to optimize for big txs 2021-11-01 16:17:48 -03:00
Willian Mitsuda 74a9b05c04 Typo fix 2021-11-01 15:37:10 -03:00
Willian Mitsuda 66be71f89d TODO: must finish reverse token address support on internal ETH transfers section 2021-11-01 04:46:19 -03:00
Willian Mitsuda 91a888c73b Migrate remaining token decoration support to the new resolver framework 2021-11-01 04:26:19 -03:00
Willian Mitsuda e22b564a71 Add in-page cache capabilities to main resolver 2021-11-01 04:15:12 -03:00
Willian Mitsuda 378d5a0c25 Reorder attributes 2021-11-01 01:32:35 -03:00
Willian Mitsuda ba86907ec2 Add TODO 2021-10-31 20:00:40 -03:00
Willian Mitsuda 9879290a38 Add symbol support 2021-10-31 19:59:14 -03:00
Willian Mitsuda 9b2dcf0aca Fix token address link 2021-10-31 19:55:09 -03:00
Willian Mitsuda 099c1465b0 Add ERC token address resolver 2021-10-31 19:51:11 -03:00
Willian Mitsuda 59ff4fd401 Extract renderer interface 2021-10-31 05:10:42 -03:00
Willian Mitsuda 887e35ce49 Generalize plain address/ens rendering logic 2021-10-31 03:16:03 -03:00
Willian Mitsuda 25cc823c91 Generalize resolver framework to allow tracking of the resolver source 2021-10-31 02:38:41 -03:00
Willian Mitsuda 7bfa479d6c Retrofit name resolvers into transaction/* pages 2021-10-30 22:44:33 -03:00
Willian Mitsuda 41be42d1ce Save 1 array construction 2021-10-30 22:14:37 -03:00
Willian Mitsuda 3211befaea Remove redundant React.memo 2021-10-30 22:14:16 -03:00
Willian Mitsuda 4c59cd188f Remove redundant React.memo 2021-10-30 22:05:26 -03:00
Willian Mitsuda 119cb67b00 Remove unnecessary nested span 2021-10-30 22:00:03 -03:00
Willian Mitsuda 8341c274f6 Remove unnecessary React.memo 2021-10-30 21:56:32 -03:00
Willian Mitsuda 7708fa75e5 Remove unnecessary nested span 2021-10-30 21:54:05 -03:00
Willian Mitsuda b770bb5fb5 Migrate search results to page collector name hooks 2021-10-30 21:49:23 -03:00
Willian Mitsuda a0675c6377 Use ResolvedAddresses table instead of pre-resolved name parameter 2021-10-30 21:31:31 -03:00
Willian Mitsuda 9da41d0a2e Typo fix 2021-10-30 21:14:11 -03:00
Willian Mitsuda 60ead1ba49 Rename type 2021-10-30 21:10:15 -03:00
Willian Mitsuda b8eea08f4d Move type 2021-10-30 21:08:10 -03:00
Willian Mitsuda 19f7af84a5 Extract resolver api 2021-10-30 21:06:11 -03:00
Willian Mitsuda 4da76ae836 Reduce the number of nested divs 2021-10-29 22:40:56 -03:00
Willian Mitsuda a3626136a6 Avoid getting erc20 metadata multiple times in the same session 2021-10-28 23:39:33 -03:00
Willian Mitsuda 7b611f96e2 Fix fallback case on dedup sig function 2021-10-28 17:41:56 -03:00
Willian Mitsuda 3bfd38641b Correctly render fallback function signature 2021-10-28 17:39:10 -03:00
Willian Mitsuda 852ff5f726 Remove unused imports 2021-10-28 17:31:57 -03:00
Willian Mitsuda 379c695083 Retrofit new 4bytes fetcher function into legacy use4Bytes 2021-10-28 17:26:36 -03:00
Willian Mitsuda cbab64cd99 Dedup and optimize 4bytes calls for really huge traces 2021-10-28 17:21:01 -03:00
Willian Mitsuda 05953de053 Apply selection highlighter to function sigs 2021-10-28 05:33:41 -03:00
Willian Mitsuda f800f05787 Add deprecation notice 2021-10-28 05:33:41 -03:00
Willian Mitsuda 09e89c5f41 Retrofit the AddressHighlighter into the new generic SelectionHighlighter 2021-10-28 05:33:41 -03:00
Willian Mitsuda ad94813476 Remove unnecessary React.memo 2021-10-28 05:33:41 -03:00
Willian Mitsuda a0677feda7 Remove redundant React.memo 2021-10-28 05:33:41 -03:00
Willian Mitsuda 3ea9dc7643 Micro optimization for large traces 2021-10-28 05:33:41 -03:00
Willian Mitsuda d27df7d271 Omit missing value field 2021-10-28 05:33:41 -03:00
Willian Mitsuda e93c2953ec Add value field to call tree 2021-10-28 05:33:41 -03:00
Willian Mitsuda 5188cd980e Add horizontal scroll to trace tree 2021-10-28 05:33:41 -03:00
Willian Mitsuda 56df620c7c Add color decoration to DELEGATECALL tracing 2021-10-28 05:33:41 -03:00
Willian Mitsuda 8992ea2336 Add 0x decoration prefix to input 2021-10-28 05:33:41 -03:00
Willian Mitsuda 277fa8f37c Different color for STATICCALL 2021-10-28 05:33:41 -03:00
Willian Mitsuda 309739e547 Add tree decoration to from address 2021-10-28 05:33:41 -03:00
Willian Mitsuda 0445ccd448 Remove depth info 2021-10-28 05:33:41 -03:00
Willian Mitsuda 48986de7f3 Add 4bytes decoding support to trace view 2021-10-28 05:33:41 -03:00
Willian Mitsuda 1b9f26a3f0 First working prototype with call tree 2021-10-28 05:33:41 -03:00
Willian Mitsuda b8e081996c Replace deprecated react-helmet 2021-10-25 15:14:01 -03:00
Willian Mitsuda 0228a6b6ae Fix overflow 2021-10-25 14:49:17 -03:00
Willian Mitsuda 01818584b7 Color topic hashes/method selectors 2021-10-25 14:43:41 -03:00