1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,932 · python 20,426 · 6,405 files · digest 3ddca2872e6e · built in 1.4 s · crystals off
crates/cre8-app-crypto/src/watcher_source.rs
Items
struct WatchedWallet struct WatcherPollRequest struct DepositObservation struct WatcherPollResponse trait WatcherSource struct BitcoinEsploraWatcherSource struct EvmBlockscoutWatcherSource struct HttpJsonWatcherSource struct AssetScale impl WatcherSource for BitcoinEsploraWatcherSource impl WatcherSource for EvmBlockscoutWatcherSource struct HttpJsonObservationPaths impl WatcherSource for HttpJsonWatcherSource struct ChainNetworkUrl const ESPLORA_BASE_URLS const BLOCKSCOUT_BASE_URLS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 57 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| extract_pathsrc/watcher_source.rs:820 | fn | 11 | 3 | 4 | 0 | 2.6 | |
| as_u64src/watcher_source.rs:851 | fn | 6 | 1 | 7 | 0 | 2.4 | |
| default_chain_network_urlsrc/watcher_source.rs:888 | fn | 3 | 2 | 2 | 0 | 2.2 | |
| scale_atomic_amountsrc/watcher_source.rs:138 | fn | 7 | 1 | 4 | 2 | 1.7 | |
| extract_string_pathsrc/watcher_source.rs:832 | fn | 3 | 1 | 3 | 1 | 1.3 | |
| normalize_uint_stringsrc/watcher_source.rs:125 | fn | 12 | 4 | 1 | 0 | 1.2 | |
| scale_atomic_digitssrc/watcher_source.rs:146 | fn | 13 | 3 | 1 | 2 | 1.2 | |
| evm_blockscout_observation_from_txsrc/watcher_source.rs:510 | fn | 50 | 6 | 2 | 5 | 1.2 | |
| as_i64src/watcher_source.rs:844 | fn | 6 | 1 | 2 | 0 | 1.1 | |
| downscale_atomic_digitssrc/watcher_source.rs:160 | fn | 10 | 2 | 1 | 3 | 1 | |
| upscale_atomic_digitssrc/watcher_source.rs:194 | fn | 4 | 1 | 1 | 0 | 1 | |
| default_blockscout_base_urlsrc/watcher_source.rs:862 | fn | 3 | 1 | 2 | 1 | 1 | |
| bitcoin_esplora_wallet_observationssrc/watcher_source.rs:302 | fn | 25 | 1 | 1 | 5 | 1 | |
| default_esplora_base_urlsrc/watcher_source.rs:858 | fn | 3 | 1 | 1 | 1 | 1 | |
| source_kindsrc/watcher_source.rs:67 | fn | 20 | 3 | 1 | 0 | 1 | |
| output_matches_addresssrc/watcher_source.rs:380 | fn | 7 | 1 | 1 | 0 | 0.8 | |
| ensure_subledger_amount_is_exactsrc/watcher_source.rs:171 | fn | 10 | 3 | 1 | 0 | 0.8 | |
| ensure_downscale_remainder_is_exactsrc/watcher_source.rs:182 | fn | 6 | 3 | 1 | 0 | 0.8 | |
| normalize_scaled_digitssrc/watcher_source.rs:189 | fn | 4 | 2 | 1 | 0 | 0.8 | |
| evm_blockscout_txlist_responsesrc/watcher_source.rs:485 | fn | 24 | 1 | 1 | 3 | 0.7 | |
| asset_scale_configsrc/watcher_source.rs:98 | fn | 26 | 1 | 2 | 1 | 0.7 | |
| watcher_source_configsrc/watcher_source.rs:772 | fn | 3 | 1 | 3 | 0 | 0.7 | |
| auth_headerssrc/watcher_source.rs:787 | fn | 32 | 3 | 3 | 3 | 0.7 | |
| scale_metadatasrc/watcher_source.rs:199 | fn | 12 | 1 | 1 | 0 | 0.7 | |
| merge_metadatasrc/watcher_source.rs:223 | fn | 15 | 4 | 1 | 0 | 0.7 | |
| evm_blockscout_tx_targets_walletsrc/watcher_source.rs:561 | fn | 5 | 3 | 1 | 0 | 0.7 | |
| bitcoin_esplora_tx_hashsrc/watcher_source.rs:363 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| bitcoin_esplora_output_amountsrc/watcher_source.rs:367 | fn | 12 | 1 | 1 | 2 | 0.7 | |
| bitcoin_esplora_confirmation_statesrc/watcher_source.rs:388 | fn | 11 | 2 | 1 | 1 | 0.7 | |
| bitcoin_esplora_address_urlsrc/watcher_source.rs:328 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| bitcoin_esplora_observationsrc/watcher_source.rs:332 | fn | 30 | 3 | 1 | 3 | 0.7 | |
| http_json_observation_pathssrc/watcher_source.rs:657 | fn | 19 | 1 | 1 | 0 | 0.7 | |
| http_json_observationsrc/watcher_source.rs:703 | fn | 26 | 2 | 1 | 4 | 0.7 | |
| http_json_amount_minorsrc/watcher_source.rs:677 | fn | 12 | 2 | 1 | 4 | 0.6 | |
| http_json_phasesrc/watcher_source.rs:690 | fn | 12 | 2 | 1 | 1 | 0.6 | |
| extract_u64_pathsrc/watcher_source.rs:840 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| extract_i64_pathsrc/watcher_source.rs:836 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| http_json_request_bodysrc/watcher_source.rs:597 | fn | 20 | 1 | 1 | 0 | 0.6 | |
| http_json_get_querysrc/watcher_source.rs:618 | fn | 11 | 1 | 1 | 0 | 0.6 | |
| bitcoin_esplora_base_urlsrc/watcher_source.rs:269 | fn | 10 | 1 | 1 | 1 | 0.6 | |
| bitcoin_esplora_observationssrc/watcher_source.rs:280 | fn | 21 | 2 | 1 | 1 | 0.6 | |
| evm_blockscout_wallet_observationssrc/watcher_source.rs:457 | fn | 27 | 3 | 1 | 2 | 0.6 | |
| fetch_tip_heightsrc/watcher_source.rs:761 | fn | 10 | 1 | 1 | 3 | 0.6 | |
| http_json_urlsrc/watcher_source.rs:577 | fn | 9 | 1 | 1 | 0 | 0.6 | |
| http_json_methodsrc/watcher_source.rs:587 | fn | 9 | 1 | 1 | 0 | 0.6 | |
| http_json_responsesrc/watcher_source.rs:630 | fn | 26 | 3 | 1 | 6 | 0.6 | |
| http_json_observationssrc/watcher_source.rs:730 | fn | 8 | 1 | 1 | 3 | 0.6 | |
| extract_itemssrc/watcher_source.rs:776 | fn | 10 | 2 | 1 | 1 | 0.6 | |
| pollsrc/watcher_source.rs:58 | fn | 8 | 4 | 1 | 1 | 0.5 | |
| scale_descriptorsrc/watcher_source.rs:212 | fn | 10 | 1 | 0 | 0 | 0.5 | |
| BitcoinEsploraWatcherSource::pollsrc/watcher_source.rs:240 | trait impl | 27 | 1 | 0 | 6 | 0.5 | |
| EvmBlockscoutWatcherSource::pollsrc/watcher_source.rs:401 | trait impl | 54 | 2 | 0 | 6 | 0.5 | |
| HttpJsonWatcherSource::pollsrc/watcher_source.rs:740 | trait impl | 19 | 1 | 0 | 7 | 0.5 | |
| scale_atomic_amount_supports_btc_sats_exactlysrc/watcher_source.rs:897 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| scale_atomic_amount_rejects_non_exact_eth_wei_to_gweisrc/watcher_source.rs:910 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| default_blockscout_url_covers_ethereum_sepoliasrc/watcher_source.rs:924 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| evm_blockscout_observation_covers_targeting_scaling_and_skip_pathssrc/watcher_source.rs:929 | fn | 97 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.