Commit Graph

330 Commits

Author SHA1 Message Date
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
Willian Mitsuda 0ba7ad0cff Fixes for miner fee reward display post-london 2021-08-30 02:46:08 -03:00
Willian Mitsuda 022ff35975 Add decode to utf-8 input option 2021-08-10 16:26:00 -03:00
Willian Mitsuda 46c229169b Use more specific import to allow ethers tree shaking 2021-08-08 19:49:45 -03:00
Willian Mitsuda a774e85ea0 For some reason it is needed for tree shaking 2021-08-08 03:51:21 -03:00
Willian Mitsuda 97d10740f5 Fix rounding digits on miner reward percentage 2021-08-08 02:54:42 -03:00
Willian Mitsuda 4807c835da Rename props 2021-08-08 02:36:26 -03:00
Willian Mitsuda 6e52bf5627 Small fixes for rounding errors on london dashboard 2021-08-05 15:19:44 -03:00
Willian Mitsuda 977783b0bc Fix duplicate minus signal 2021-08-05 14:54:25 -03:00
Willian Mitsuda c99ccccf64 Fix typo 2021-08-05 10:51:31 -03:00
Willian Mitsuda 7ccb47d989 Quick hack fixes for london mainnet 2021-08-05 10:01:05 -03:00
Willian Mitsuda 9530124224 Fix gas unit legend 2021-08-04 23:36:03 -03:00
Willian Mitsuda de8087cfca Add some opacity to gas limit dataset to minimize overlap blindness with base fee dataset 2021-08-04 16:07:45 -03:00
Willian Mitsuda d6fed2fa4b Add chart toggle button 2021-08-04 16:05:22 -03:00
Willian Mitsuda f9e3f71115 Gas used/target chart; chart ui improvements 2021-08-04 04:49:00 -03:00
Willian Mitsuda fc5dc095c8 Add blip animation to basefee delta 2021-08-04 02:09:08 -03:00
Willian Mitsuda 06ee275938 Add alpha channel to burn background; tweak colors 2021-08-03 23:58:59 -03:00
Willian Mitsuda b5e16dd410 Add base fee to the chart 2021-08-03 23:32:36 -03:00
Willian Mitsuda e7bbf5dce5 Extract chart settings 2021-08-03 22:49:42 -03:00
Willian Mitsuda d7621eec59 Add server side pagination support 2021-08-03 01:34:14 -03:00
Willian Mitsuda a6b1551756 Use total info from node 2021-08-03 00:45:07 -03:00
Willian Mitsuda e03e27c71b Use first iteration of ots_getBlockTransactions 2021-08-02 23:07:27 -03:00
Willian Mitsuda 795d054a38 Fix flickering when there is no internal ops inside tx 2021-08-02 17:16:34 -03:00
Willian Mitsuda 46bc4a7a11 Make use of ots_getBlockDetails on tx details to save traffic when calculating block tx count (because of tx idx position) 2021-08-02 17:06:53 -03:00
Willian Mitsuda 3cbc0b0d3c Make use of the new ots_getBlockDetails API 2021-08-02 15:43:37 -03:00
Willian Mitsuda 610be8191e Fix typo 2021-08-02 01:53:08 -03:00
Willian Mitsuda b2a54831d1 Extract custom hook 2021-08-01 23:53:36 -03:00
Willian Mitsuda 2358f346dc Simplify code 2021-08-01 23:48:06 -03:00
Willian Mitsuda 1dfafb2966 Simplify search 2021-08-01 23:22:55 -03:00
Willian Mitsuda 32ea63a3d0 Generalize parameter 2021-08-01 23:10:32 -03:00
Willian Mitsuda 44e529388c Reorder fields, improve wording 2021-08-01 19:11:47 -03:00
Willian Mitsuda 669e4a9c5c Collapse nonce field into from 2021-08-01 19:01:58 -03:00
Willian Mitsuda 62b22496cb Collapse block and position fields 2021-08-01 08:40:43 -03:00
Willian Mitsuda 11089be171 Add percentage position component 2021-08-01 08:25:33 -03:00
Willian Mitsuda e78447f4b6 Extract and apply relative position component 2021-08-01 07:41:19 -03:00
Willian Mitsuda 07e496f476 Add block total tx count info 2021-08-01 07:04:58 -03:00
Willian Mitsuda 5b5791236f Extract custom hook 2021-08-01 06:59:59 -03:00
Willian Mitsuda 7600605103 Add support for ws communication with erigon 2021-08-01 03:16:11 -03:00
Willian Mitsuda 2a113a2e01 Fix typo 2021-07-30 18:33:45 -03:00
Willian Mitsuda 5e657bec58 Wording fixes 2021-07-30 18:02:11 -03:00
Willian Mitsuda 114749704a Add title to london special dashboard 2021-07-30 05:33:02 -03:00
Willian Mitsuda a738ad2ae3 Better formatting 2021-07-30 05:22:53 -03:00
Willian Mitsuda ba2bfb12ee Preload prev blocks on page reload 2021-07-30 05:05:31 -03:00
Willian Mitsuda 81a2771f38 Small refactorings 2021-07-30 04:55:21 -03:00
Willian Mitsuda 15cbd39445 Small fixes 2021-07-30 04:46:39 -03:00
Willian Mitsuda ba91e640fe Renames 2021-07-30 04:42:39 -03:00
Willian Mitsuda 7e73f12c75 Move refactoring 2021-07-30 04:41:29 -03:00
Willian Mitsuda 1a21ef5e5a First pass at burnt chart 2021-07-30 03:26:24 -03:00
Willian Mitsuda cfaee9ccf2 Add dynamic refresh of age column 2021-07-29 23:46:59 -03:00
Willian Mitsuda a30498cf1d Adjust margin 2021-07-29 23:38:58 -03:00
Willian Mitsuda 5bab1f383b Display age column 2021-07-29 23:32:29 -03:00
Willian Mitsuda 94faa79ede Fix type 2 gas column display raising exceptions 2021-07-29 23:31:28 -03:00
Willian Mitsuda aac878180a Hover highlight 2021-07-29 23:07:50 -03:00
Willian Mitsuda 16d22d5f73 Column reorder; add column icons 2021-07-29 23:05:23 -03:00
Willian Mitsuda 894b1370f1 Fix bottom margin overlapping 2021-07-29 22:56:06 -03:00
Willian Mitsuda 3b6992bb6d Add block enter/leave animation 2021-07-29 15:53:52 -03:00
Willian Mitsuda aba239bf8c First iteration at showing incoming blocks 2021-07-29 15:09:28 -03:00
Willian Mitsuda 97e46108cc Set london hardfork block numbers per network id 2021-07-29 03:05:05 -03:00
Willian Mitsuda 49315ec7e7 London countdown 2021-07-29 01:24:39 -03:00
Willian Mitsuda 247ea475c8 Highlight burnt fees per block 2021-07-28 21:59:21 -03:00
Willian Mitsuda 71f8e5ad3b Reorder fields 2021-07-28 21:54:21 -03:00
Willian Mitsuda 1e34e7fc8d New gauge style 2021-07-28 21:28:02 -03:00
Willian Mitsuda c7b36152a8 Burnt fees new layout 2021-07-28 19:16:02 -03:00
Willian Mitsuda 7ea23b02ed Fix textarea alignment 2021-07-28 19:00:50 -03:00
Willian Mitsuda f0e96990ef Add burnt/miner fee split info 2021-07-28 18:44:50 -03:00
Willian Mitsuda 8cacd01f42 Enable rich info on InfoRow component title; add EIP hyperlink to tx type 2021-07-28 16:36:34 -03:00
Willian Mitsuda 873541ec64 Add hyperlinks to EIP tx types 2021-07-28 16:27:06 -03:00
Willian Mitsuda eaa018e207 Reorder fields 2021-07-28 16:09:40 -03:00
Willian Mitsuda 9484ed59e2 Add block base fee info to tx details page 2021-07-28 14:49:40 -03:00
Willian Mitsuda 31287796f0 Remove unnecessary field 2021-07-28 04:53:55 -03:00
Willian Mitsuda e214117f47 Extract PercentageBar component; apply percentage bar to tx gas usage 2021-07-28 04:40:38 -03:00
Willian Mitsuda e354973a63 Squash tx gas used/limit info 2021-07-28 04:29:36 -03:00
Willian Mitsuda d893eb8545 Reorder difficult/total difficult fields 2021-07-28 04:27:08 -03:00
Willian Mitsuda 91dd933aa2 Squash block gas used/limit info; add percentage bar 2021-07-28 04:24:48 -03:00
Willian Mitsuda e967abf61e Add max fee per gas/max priority fee per gas 2021-07-26 20:47:25 -03:00
Willian Mitsuda bc8bf0cf93 Add burned fees info; subtract from fees received by miner 2021-07-26 20:46:11 -03:00
Willian Mitsuda 2ae3429d51 Extract custom hook 2021-07-26 19:59:07 -03:00
Willian Mitsuda fddfbfc29b Display warning header when not on mainnet 2021-07-24 05:46:48 -03:00
Willian Mitsuda 26f66cb4fb Add different highlight color on testnets 2021-07-24 05:33:13 -03:00
Willian Mitsuda 76182a4efe Remove safeguards and fix small bugs to allow running otterscan against testnets; testing on goerli 2021-07-24 00:21:15 -03:00
Willian Mitsuda 30597fc4ba Move refactoring 2021-07-23 19:48:34 -03:00
Willian Mitsuda 6c763b4817 Extract and apply block navigation to block txs page 2021-07-23 19:46:21 -03:00
Willian Mitsuda e6083e5cd5 Move nav bar up 2021-07-23 19:20:49 -03:00
Willian Mitsuda aa98aea9f9 Fix singular "Confirmation" 2021-07-23 01:28:44 -03:00
Willian Mitsuda 8d04e5e6ab Fix right margin 2021-07-23 01:23:32 -03:00
Willian Mitsuda ea21605f84 Fix jsonrpc method rename on block txs 2021-07-21 23:00:09 -03:00
Willian Mitsuda 5b630e7757 Change self-destruct address decoration 2021-07-21 17:51:34 -03:00
Willian Mitsuda 9b957d8d20 Rename jsonrpc method 2021-07-21 16:06:51 -03:00
Willian Mitsuda cf1c23dfa8 Add contract creation tracing 2021-07-21 15:13:18 -03:00
Willian Mitsuda 61eef31a93 Add contract creation display on block transactions list 2021-07-21 01:46:10 -03:00
Willian Mitsuda b8fcc8914d Show contract creation on search results 2021-07-21 01:42:49 -03:00
Willian Mitsuda dcc121ccc2 Add contract creation display on transaction details page 2021-07-21 01:23:44 -03:00
Willian Mitsuda 42ea3534bf Add highlighting support to transfer values 2021-07-19 23:33:19 -03:00
Willian Mitsuda c3684151bf Unified node-side tracing APIs 2021-07-19 20:49:54 -03:00
Willian Mitsuda bd42170050 Apply address highlighting to token names 2021-07-19 15:00:15 -03:00
Willian Mitsuda 83af14259b Push token decoration into DecoratedAddressLink component 2021-07-19 14:56:36 -03:00
Willian Mitsuda 2aa6298fdf Use decorated addresss component on logs section 2021-07-19 14:47:14 -03:00
Willian Mitsuda 00cc2d0d29 Add contextual global tx from/to addresss highlighting 2021-07-19 13:29:49 -03:00
Willian Mitsuda 26a8e5bea2 Lower opacity of self-destruct addresses 2021-07-19 13:01:15 -03:00
Willian Mitsuda 163cef6939 Add selfdestruct decoration 2021-07-19 04:19:24 -03:00
Willian Mitsuda 03ce994a5c Add hint to GST2/CHI gastoken selfdestructs on mainnet 2021-07-19 04:14:56 -03:00
Willian Mitsuda 6bf905d33a Fix missing readonly attribute on textarea 2021-07-19 03:15:43 -03:00
Willian Mitsuda 261847bec1 Change p for span to avoid block filling the entire row 2021-07-19 01:03:32 -03:00
Willian Mitsuda 71e35129ba Add bg hover color to token transfer list 2021-07-19 00:55:21 -03:00
Willian Mitsuda 1853079881 Custom text/hover colors for burn/mint addresses 2021-07-19 00:50:32 -03:00
Willian Mitsuda 2494fa4adc Pull up all decoration logic from AddressOrENSName to DecoratedAddressLink 2021-07-19 00:38:38 -03:00
Willian Mitsuda 683da61778 Initial tracking ot self-destructs 2021-07-17 15:58:33 -03:00
Willian Mitsuda 1ab77bb819 Extract custom hook; simplify code 2021-07-17 15:00:08 -03:00
Willian Mitsuda 81f14dc0b6 Add API level check 2021-07-15 02:40:11 -03:00
Willian Mitsuda da7b039c22 Fix highlighting on to column 2021-07-14 22:51:33 -03:00
Willian Mitsuda 8f51e6433a Extract subcomponents 2021-07-14 16:57:08 -03:00
Willian Mitsuda 1e095b6dd3 Extract subcomponents 2021-07-14 16:30:28 -03:00
Willian Mitsuda 4c72fd6966 Small component extraction 2021-07-14 16:17:27 -03:00
Willian Mitsuda f3213b3c69 Fix spacing and alignment due to addresss highlight feature 2021-07-14 15:35:53 -03:00
Willian Mitsuda e2e94a4d30 Apply highlighter decorator to transaction details page 2021-07-14 04:43:58 -03:00
Willian Mitsuda 4b3ab2ec8a Extract highlighter decorator component 2021-07-14 04:24:28 -03:00
Willian Mitsuda 05719eb4ae Add selection support for addresses 2021-07-14 03:52:31 -03:00
Willian Mitsuda 2c650f06f7 Signal possibly outdated feed info based on the tip of the chain 2021-07-13 19:23:39 -03:00
Willian Mitsuda d2555f14cb Display last eth/usd price and fast gas price updates separately on hover tooltip 2021-07-13 19:07:42 -03:00
Willian Mitsuda a36749ee3d Apply value formatting 2021-07-13 18:55:32 -03:00
Willian Mitsuda 5f04ce8018 First attempt at showing chainlink eth/usd and fast gas price feeds info 2021-07-13 18:12:49 -03:00
Willian Mitsuda 1bf47266a4 Display method name on transaction details page 2021-07-13 02:56:43 -03:00
Willian Mitsuda 693e0c6611 Differentiate simple eth transfers from transfer method calls 2021-07-13 02:36:09 -03:00
Willian Mitsuda 9128973a9b Add global method name cache 2021-07-13 02:19:33 -03:00
Willian Mitsuda 7f39ba5232 Extract custom hook for 4bytes resolution 2021-07-12 19:13:12 -03:00
Willian Mitsuda 47dc05f1c5 Remove debug code 2021-07-12 17:48:14 -03:00
Willian Mitsuda 613c49b1ad Fix missing key attr; used a dummy key because it is decorative 2021-07-12 17:47:37 -03:00
Willian Mitsuda 337eecee68 Add detection of wrong Erigon configuration 2021-07-12 17:10:16 -03:00
Willian Mitsuda 70c29b562f Extract footer 2021-07-10 03:17:07 -03:00
Willian Mitsuda 7b2bdce210 Fix context use 2021-07-09 14:22:25 -03:00
Willian Mitsuda 052b2f61e0 Fixes for the production docker image 2021-07-09 14:13:31 -03:00
Willian Mitsuda ea7b7a9f75 Externalize url prefixes 2021-07-09 13:54:59 -03:00
Willian Mitsuda 83d64fc522 Extract runtime context object 2021-07-09 02:07:20 -03:00
Willian Mitsuda da16ce8ad6 Parameterize erigon node url 2021-07-08 16:02:42 -03:00
Willian Mitsuda cf581e1ab5 Merge trustwallet assets to the same docker image 2021-07-07 16:59:49 -03:00
Willian Mitsuda 97e542f51e Change 4bytes subdirectory in preparation for adding trustwallet asset to the same image 2021-07-07 16:51:52 -03:00
Willian Mitsuda 0d01cbef1d Fix title fallback 2021-07-06 02:04:46 -03:00
Willian Mitsuda 31d2983f94 Fix truncation 2021-07-06 02:00:54 -03:00
Willian Mitsuda b6c176fb0e Fix truncation 2021-07-05 21:12:16 -03:00
Willian Mitsuda 3a1fa13c44 Extract TokenTransferItem component 2021-07-05 21:08:58 -03:00
Willian Mitsuda ac38942933 Apply miner icon directly on AddressOrENSName component 2021-07-05 20:55:07 -03:00
Willian Mitsuda 24ae87a092 Add flashbot classification 2021-07-05 18:08:52 -03:00
Willian Mitsuda 36a69db5d8 Remove dead code 2021-07-05 17:59:39 -03:00
Willian Mitsuda 754369578f Lazy load flashbot tx checking 2021-07-05 17:52:20 -03:00
Willian Mitsuda 1b26e6be27 Dark yellow highlight 2021-07-05 17:44:57 -03:00
Willian Mitsuda 560e47ed17 Remove unused import 2021-07-05 00:46:25 -03:00
Willian Mitsuda 8ebc078064 Darken internal transactions 2021-07-05 00:37:05 -03:00
Willian Mitsuda 1b32f4e888 Highlight flashbot-like txs inside blocks 2021-07-05 00:34:40 -03:00
Willian Mitsuda 6dc6e63b95 Signal miner address on transaction page and blokc ktransaction list 2021-07-05 00:03:01 -03:00
Willian Mitsuda c254ebed2d Parsing fixes 2021-07-04 19:39:14 -03:00
Willian Mitsuda dbde5c6aef Allow overriding Erigons's rpcdaemon URL fixes#8 2021-07-04 01:54:47 -03:00
Willian Mitsuda 21a086d395 Display erigon node url at homepage 2021-07-03 23:02:04 -03:00
Willian Mitsuda 85fd2dddcb Add fast-forward-to-lastest-block button 2021-07-03 22:48:38 -03:00
Willian Mitsuda 9f146f7100 Add block navigation buttons; extract latest block hook 2021-07-03 22:42:06 -03:00
Willian Mitsuda 290d5a8b11 Add block navigation buttons 2021-07-03 22:33:34 -03:00
Willian Mitsuda 13980c7431 First attempt at improve hash readability 2021-07-03 19:40:47 -03:00
Willian Mitsuda 6e5ceccbaa Improve error log 2021-07-03 19:15:22 -03:00
Willian Mitsuda 78c2555689 Calculate and display block fees 2021-07-03 19:14:03 -03:00
Willian Mitsuda a62fa1df56 Add block/uncles rewards 2021-07-03 18:51:57 -03:00
Willian Mitsuda 8f28408e7e Fix ETH internal transfers checksum 2021-07-03 17:20:28 -03:00
Willian Mitsuda a852418cb6 Fix token transfer addresses checksum 2021-07-03 17:17:47 -03:00
Willian Mitsuda 06c1695391 Extract ens cache hook; apply on block/address transactions page 2021-07-03 01:46:15 -03:00
Willian Mitsuda a697c8eb83 Make ENS icon grayscale when not a link 2021-07-03 01:45:36 -03:00
Willian Mitsuda 46edf8ae92 Add reverse ENS resolution on block transactions list 2021-07-02 21:40:44 -03:00
Willian Mitsuda 9accae1532 Add ENS notice on placeholder fields 2021-07-02 16:24:37 -03:00
Willian Mitsuda 1965b8d3a6 Turn on autofocus in homepage 2021-07-02 16:22:43 -03:00
Willian Mitsuda 0c7cc1fc64 Fix error handling 2021-07-02 16:20:50 -03:00
Willian Mitsuda 62df32b82f Initial ENS support for resolving names -> address on search 2021-07-02 16:05:18 -03:00
Willian Mitsuda 8b54cfb71b Initial public alpha version 2021-07-01 15:47:23 -03:00