Commit Graph

518 Commits

Author SHA1 Message Date
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
Willian Mitsuda
4acc8be926 UI tweaks 2021-10-25 01:44:24 -03:00
Willian Mitsuda
02261f264a First parsed ABI UI prototype 2021-10-25 01:29:50 -03:00
Willian Mitsuda
d7ba5f09fd Extract ABI parent component 2021-10-24 23:04:04 -03:00
Willian Mitsuda
5c8003a64c Preload title font 2021-10-24 05:51:05 -03:00
Willian Mitsuda
c3351b8047 Fix footer@Home 2021-10-24 01:25:57 -03:00
Willian Mitsuda
2525e9ca31 Add chunk names/prefetch hint 2021-10-24 01:21:20 -03:00
Willian Mitsuda
2a78834c1d Refresh tweaks 2021-10-24 01:12:05 -03:00
Willian Mitsuda
24e05e06e9 Lazy import tabs 2021-10-24 01:04:18 -03:00
Willian Mitsuda
5e4be33121 Workaround for difficult overflow on ethers 5.5.x; using _difficult field: BigNumber; must change wen ethers 6 2021-10-22 17:51:20 -03:00
Willian Mitsuda
5533e7786e Fix typechecking after ethers 5.5.1 fix/improvement 2021-10-22 16:52:28 -03:00
Willian Mitsuda
4671197846 Remove Sourcify integration method: local snapshot 2021-10-22 15:59:45 -03:00
Willian Mitsuda
e99e5c35ea Add memoization 2021-10-22 15:50:31 -03:00
Willian Mitsuda
f62f41759f Fix missing bottom padding grow 2021-10-22 15:08:46 -03:00
Willian Mitsuda
a6109754b4 Fix home screen flickering 2021-10-22 09:29:54 -03:00
Willian Mitsuda
1d044cee85 Using import for image 2021-10-21 18:28:38 -03:00
Willian Mitsuda
3ff4b0e65e Lazy load London dashboard 2021-10-21 04:31:37 -03:00
Willian Mitsuda
a6b0201f44 Lazy load CameraScanner component 2021-10-21 04:10:49 -03:00
Willian Mitsuda
1bdae1569a Allow highlight.js tree shaking; reduced production bundle size 2021-10-20 19:23:10 -03:00
Willian Mitsuda
b21c10ab0b Fix typings after react-chart-js upgrade 2021-10-20 16:10:00 -03:00
Willian Mitsuda
70649af097 Fix wrong message when cant decode input 2021-10-19 05:23:48 -03:00
Willian Mitsuda
bace76e12c Fix wrong message when cant decode log 2021-10-19 05:20:14 -03:00
Willian Mitsuda
719ce4bd35 Bugfix: do not try to decode method selector on contract creation txs fix #96 2021-10-18 19:04:43 -03:00
Willian Mitsuda
22da8082d8 Lower log level 2021-10-18 17:01:32 -03:00
Willian Mitsuda
d4aee16141 Fix string break 2021-10-18 17:00:04 -03:00
Willian Mitsuda
f3a6848e94 Fix duplicate table header 2021-10-18 03:39:00 -03:00
Willian Mitsuda
662c511245 Change contract verification icon to Sourcify logo 2021-10-18 03:15:20 -03:00
Willian Mitsuda
f847f9b24e Merge branch 'develop' into feature/topic0-event-decoding 2021-10-18 02:51:36 -03:00
Willian Mitsuda
043b417703 Update Sourcify IPFS docs; change Sourcify integration to use public gateway by default 2021-10-17 22:57:19 -03:00
Willian Mitsuda
23737ce4d0 Support trial and error of multiple event signatures 2021-10-13 15:34:30 -03:00
Willian Mitsuda
f0ffa140c4 Add estimated params notice 2021-10-12 05:35:18 -03:00
Willian Mitsuda
ccad1f123a First working version of non-verified contract topic0 decoder 2021-10-08 02:38:46 -03:00
Willian Mitsuda
7b8dd7d159 Lower log level 2021-09-29 16:34:49 -03:00
Willian Mitsuda
b770de3117 Tune spacing 2021-09-29 16:27:36 -03:00
Willian Mitsuda
ba3d721e14 Add devdoc params help to verified decoded input params 2021-09-29 16:22:35 -03:00
Willian Mitsuda
debc046d83 Remove unused attribute; custom param presence msg depending on signature with or without param names 2021-09-27 15:47:55 -03:00
Willian Mitsuda
af95c04c9c Flatten 4bytes signatures with param names 2021-09-27 15:40:01 -03:00
Willian Mitsuda
78d3c0e1b7 Remove deprecated use4Bytes hook 2021-09-27 01:09:56 -03:00
Willian Mitsuda
9285d4dedf Fix not known metadata scenario 2021-09-27 00:49:23 -03:00
Willian Mitsuda
9236bfcb2f Fix anonymous tuples 2021-09-25 19:37:14 -03:00
Willian Mitsuda
22b9c5b687 Small adjustments to toggling and formatting 2021-09-25 18:57:07 -03:00
Willian Mitsuda
a1da1d532b Add uint256 decoder with display mode toggler 2021-09-25 18:40:00 -03:00
Willian Mitsuda
ab7ac37ca0 Extract decoders 2021-09-25 17:28:49 -03:00
Willian Mitsuda
1b127b84a2 Move into subpackage 2021-09-25 17:19:49 -03:00
Willian Mitsuda
f612e4791a Better display of array tx input parameters 2021-09-25 15:11:57 -03:00
Willian Mitsuda
e4fa639e69 Add warning for input decoded from 4bytes signatures wuthout param names 2021-09-25 14:45:12 -03:00
Willian Mitsuda
b57518ba96 Use common function 2021-09-25 14:29:09 -03:00
Willian Mitsuda
ccb33b4637 First working version of tx input decoding from 4bytes DB; if there is 4bytes AND sourcify info, prioritize sourcify for completeness 2021-09-25 06:51:50 -03:00
Willian Mitsuda
0ede7cf3c9 Migrate deprecated attribute activeClassname 2021-09-23 21:27:40 -03:00
Willian Mitsuda
13f32f8a35 Properly differentiate pending/cant decode log data 2021-09-23 18:46:08 -03:00
Willian Mitsuda
380abf2adc Custom msg for 0 logs 2021-09-23 18:33:20 -03:00
Willian Mitsuda
bef7691d77 Turn sourcify intergration mode into a global config 2021-09-23 18:25:52 -03:00
Willian Mitsuda
5e982d3b55 Guard against errors on getting erc20 metadata 2021-09-22 15:30:54 -03:00
Willian Mitsuda
b5c76a4e01 Fix log metadata search 2021-09-22 15:11:13 -03:00
Willian Mitsuda
4ec5fb7681 Fix proxy/delegatecall scenarios 2021-09-22 03:02:21 -03:00
Willian Mitsuda
7f15a12f4a Add support for multiple log emitter addresses 2021-09-20 18:15:00 -03:00
Willian Mitsuda
18275f86a2 Fix missing key attribute 2021-09-20 18:12:07 -03:00
Willian Mitsuda
28b4bfed7f Add hover color 2021-09-19 04:24:38 -03:00
Willian Mitsuda
a0896c59a3 Fix support for different log emitters 2021-09-18 19:42:45 -03:00
Willian Mitsuda
6008eb102d Optional chaining 2021-09-18 19:38:35 -03:00
Willian Mitsuda
d007f10e7a Add tuple support 2021-09-18 18:35:37 -03:00
Willian Mitsuda
f2d6bc54a9 Extract DecodedParamRow component 2021-09-18 18:18:38 -03:00
Willian Mitsuda
0179b40eaf UI adjustments 2021-09-18 18:03:54 -03:00
Willian Mitsuda
04fdd74a94 Add standard address decorations to log emitter addresses 2021-09-18 17:57:39 -03:00
Willian Mitsuda
101aa5a21f Custom formatting for bytes param type (no fixed size) 2021-09-18 17:53:02 -03:00
Willian Mitsuda
698e2a365c Custom colors for bool params 2021-09-18 17:43:47 -03:00
Willian Mitsuda
f662a8c72e Refactor and extract common component 2021-09-18 17:41:00 -03:00
Willian Mitsuda
1ac2679fad Add semantic highlight to address input/log params 2021-09-18 16:10:47 -03:00
Willian Mitsuda
c7c9f38617 Fix display of bool input/event params; fix grid x spacing 2021-09-18 15:52:33 -03:00
Willian Mitsuda
97c46e383d Fix missing key prop 2021-09-18 15:46:29 -03:00
Willian Mitsuda
4605bca7a5 Add missing data output 2021-09-18 15:40:19 -03:00
Willian Mitsuda
450f2e72f3 Split log display modes 2021-09-18 15:25:30 -03:00
Willian Mitsuda
b5c69a2d3f Extract ModeTaab component 2021-09-18 15:08:44 -03:00
Willian Mitsuda
2f19ab3ab3 Initial implementation of log decoding 2021-09-17 19:42:19 -03:00
Willian Mitsuda
fa26567d0c Remove debug code 2021-09-15 16:12:15 -03:00
Willian Mitsuda
706fb425f5 Initial styling 2021-09-15 15:58:37 -03:00
Willian Mitsuda
f02258b25d Migrate code to headless-ui 2021-09-15 15:34:49 -03:00
Willian Mitsuda
9f818d36b2 First working prototype 2021-09-15 14:43:36 -03:00
Willian Mitsuda
d5e9f303a1 Fix fetch cancellation 2021-09-13 22:24:22 -03:00
Willian Mitsuda
fd83de177a Add TODOs for react-router-dom migration 2021-09-13 17:29:36 -03:00
Willian Mitsuda
22fd8ad5c2 Use localhost gateway by default to avoid leaking queries by accident 2021-09-12 22:03:56 -03:00
Willian Mitsuda
daae37a6ab Add copy operation to abi 2021-09-12 21:30:42 -03:00
Willian Mitsuda
303458e431 Bugfix: workaround for https://github.com/ethers-io/ethers.js/issues/2036 2021-09-11 19:30:19 -03:00
Willian Mitsuda
21ed9ce431 Add third way to integrate with Sourcify 2021-09-10 18:27:42 -03:00
Willian Mitsuda
05c230ef9d Add abi section 2021-09-10 05:17:10 -03:00
Willian Mitsuda
274705ce70 Fix animation 2021-09-10 05:16:06 -03:00
Willian Mitsuda
b279d96ebe Improve sourcify sync indicators 2021-09-10 04:31:24 -03:00
Willian Mitsuda
dd490ee905 Style source selector menu 2021-09-07 01:10:19 -03:00
Willian Mitsuda
7b0137c7fe Add replacement rule 2021-09-07 00:44:28 -03:00
Willian Mitsuda
a1f79ff0c0 Toggle ipfs on/off 2021-09-06 18:32:11 -03:00
Willian Mitsuda
7b5ecb91ba Open in remix feature #54 2021-09-06 04:14:49 -03:00
Willian Mitsuda
fe336c5c43 Refactorings 2021-09-06 03:59:29 -03:00
Willian Mitsuda
a76a2d71a2 Rename component 2021-09-06 03:34:13 -03:00
Willian Mitsuda
dfcbc1a150 Extract hook 2021-09-06 02:09:12 -03:00
Willian Mitsuda
71e359eb92 Move metadata reading one level up 2021-09-05 21:13:01 -03:00
Willian Mitsuda
605302ee64 Extract sourcify hook 2021-09-05 21:08:06 -03:00
Willian Mitsuda
16ffe567b6 Use headless-ui Tabs 2021-09-05 17:39:11 -03:00
Willian Mitsuda
37b253ab39 Remove unused code 2021-09-05 17:19:50 -03:00
Willian Mitsuda
fd8bdf8765 Use default overridable gateway for ipfs/sourcify 2021-09-05 16:55:37 -03:00
Willian Mitsuda
9f7962b6d4 Addd license field 2021-09-05 04:00:11 -03:00
Willian Mitsuda
5d24789998 Add language file info 2021-09-05 04:00:11 -03:00
Willian Mitsuda
aeae3c3825 Add hover animations 2021-09-05 04:00:11 -03:00
Willian Mitsuda
65ee6e9182 Use light imports 2021-09-05 04:00:11 -03:00
Willian Mitsuda
d0a2cf13f5 Replace syntax highlighter component for line numbers 2021-09-05 04:00:05 -03:00
Willian Mitsuda
4adace4913 Add support for switching between source files 2021-09-05 03:55:59 -03:00
Willian Mitsuda
f15c75bb8e Add support for external files 2021-09-05 03:55:59 -03:00
Willian Mitsuda
0b328123d3 Using local sourcify repo for tests 2021-09-05 03:55:52 -03:00
Willian Mitsuda
851a791375 Add more compilation info 2021-09-05 03:54:30 -03:00
Willian Mitsuda
38f76e9e2b First working prototype of contract tab 2021-09-05 03:54:22 -03:00
Willian Mitsuda
50f4abf23f Squash pending tx initial implementation 2021-09-04 03:19:42 -03:00
Willian Mitsuda
54f5c9e6c7 Extract action button theme 2021-09-01 18:12:35 -03:00
Willian Mitsuda
b204c7cf55 Create test theme 2021-09-01 17:56:12 -03:00
Willian Mitsuda
51b18b763f Extract common camera scan code; apply it to home also 2021-09-01 17:40:42 -03:00
Willian Mitsuda
4078c6ba34 First complete working prototype scanning from search bar 2021-09-01 17:07:51 -03:00
Willian Mitsuda
0bba63330d First working prototype 2021-09-01 07:19:50 -03:00
Willian Mitsuda
b9954a5fe5 Fix infinite refresh 2021-09-01 07:19:36 -03:00
Willian Mitsuda
72d66aace9 Fix infinite refresh 2021-09-01 05:54:23 -03:00
Willian Mitsuda
7a43a56e26 Apply usd price on search results 2021-08-31 16:49:52 -03:00
Willian Mitsuda
8624c70877 Generalize implementation to support multiple block queries 2021-08-31 15:06:26 -03:00
Willian Mitsuda
9f778e6eba Extract table bg hover theme color 2021-08-31 04:07:55 -03:00
Willian Mitsuda
5f9ec5e992 Start theme extraction work; extract from/to colors 2021-08-31 03:44:26 -03:00
Willian Mitsuda
859761f2ba Squash initial implementation of usd prices 2021-08-31 02:56:05 -03:00