1 viewer
rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off
crates/cre8-app-wallet/src/holdings.rs
Items
const KIND_TRANSFER const KIND_LISTING const ITEM_ASSET_PREFIX struct HoldingsInput const HOLDINGS_CONNECTIONS enum HoldingsAction const HOLDINGS_CONNECTION_ACTIONS const HOLDINGS_ACTION_ALIASES type HoldingsHandler struct HoldingsRoute const HOLDINGS_ROUTES struct PurchaseListing
Functions
By call-graph weight (PageRank; 1.0 is the average function). 48 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| requiresrc/holdings.rs:512 | fn | 3 | 1 | 7 | 0 | 2.2 | |
| vertex_props_valuesrc/holdings.rs:537 | fn | 3 | 1 | 5 | 0 | 2.1 | |
| holdings_action_from_namesrc/holdings.rs:122 | fn | 4 | 1 | 2 | 0 | 1.9 | |
| string_fieldsrc/holdings.rs:549 | fn | 3 | 1 | 4 | 0 | 1.8 | |
| move_assetsrc/holdings.rs:190 | fn | 20 | 5 | 3 | 2 | 1.6 | |
| item_id_from_assetsrc/holdings.rs:520 | fn | 3 | 1 | 3 | 0 | 1.5 | |
| transfer_responsesrc/holdings.rs:293 | fn | 21 | 1 | 2 | 5 | 1.3 | |
| is_holdings_connectionsrc/holdings.rs:82 | fn | 3 | 1 | 2 | 0 | 1.3 | |
| entry_totalssrc/holdings.rs:176 | fn | 6 | 1 | 2 | 1 | 1.2 | |
| prop_strsrc/holdings.rs:533 | fn | 3 | 1 | 5 | 0 | 1.2 | |
| set_totalsrc/holdings.rs:183 | fn | 3 | 1 | 1 | 1 | 1.2 | |
| require_peersrc/holdings.rs:516 | fn | 3 | 1 | 5 | 1 | 1.2 | |
| action_for_connectionsrc/holdings.rs:97 | fn | 4 | 1 | 2 | 0 | 1.2 | |
| parse_holdings_actionsrc/holdings.rs:127 | fn | 5 | 1 | 2 | 1 | 1.1 | |
| holdings_route_forsrc/holdings.rs:151 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| generate_idsrc/holdings.rs:508 | fn | 3 | 1 | 2 | 1 | 1 | |
| record_hopsrc/holdings.rs:214 | fn | 33 | 1 | 2 | 2 | 1 | |
| item_id_or_parsedsrc/holdings.rs:524 | fn | 8 | 1 | 2 | 1 | 0.8 | |
| now_secssrc/holdings.rs:504 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| prov_keysrc/holdings.rs:553 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| listing_valuesrc/holdings.rs:545 | fn | 3 | 1 | 3 | 1 | 0.7 | |
| connectsrc/holdings.rs:168 | fn | 5 | 1 | 1 | 3 | 0.7 | |
| reverse_listing_paymentsrc/holdings.rs:471 | fn | 5 | 2 | 1 | 1 | 0.7 | |
| provenance_chainsrc/holdings.rs:248 | fn | 12 | 1 | 1 | 5 | 0.7 | |
| items_responsesrc/holdings.rs:263 | fn | 21 | 5 | 1 | 3 | 0.7 | |
| hop_valuesrc/holdings.rs:541 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| purchase_payment_asset_idsrc/holdings.rs:448 | fn | 4 | 2 | 1 | 1 | 0.6 | |
| connect_forsrc/holdings.rs:157 | fn | 10 | 3 | 1 | 2 | 0.6 | |
| active_purchase_listingsrc/holdings.rs:428 | fn | 19 | 2 | 1 | 5 | 0.5 | |
| ensure_distinct_purchase_peerssrc/holdings.rs:453 | fn | 6 | 2 | 1 | 0 | 0.5 | |
| settle_listing_purchasesrc/holdings.rs:460 | fn | 10 | 3 | 1 | 2 | 0.5 | |
| mark_listing_soldsrc/holdings.rs:477 | fn | 12 | 2 | 1 | 2 | 0.5 | |
| record_listing_salesrc/holdings.rs:490 | fn | 13 | 1 | 1 | 2 | 0.5 | |
| gift_responsesrc/holdings.rs:285 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| transfer_route_responsesrc/holdings.rs:289 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| provenance_responsesrc/holdings.rs:315 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| list_for_sale_responsesrc/holdings.rs:321 | fn | 35 | 2 | 0 | 5 | 0.5 | |
| listings_responsesrc/holdings.rs:357 | fn | 15 | 1 | 0 | 5 | 0.5 | |
| cancel_listing_responsesrc/holdings.rs:373 | fn | 17 | 2 | 0 | 5 | 0.5 | |
| buy_responsesrc/holdings.rs:391 | fn | 24 | 1 | 0 | 8 | 0.5 | |
| _graph_type_markersrc/holdings.rs:558 | fn | 1 | 1 | 0 | 0 | 0.5 | |
| holdings_connections_are_detected_case_insensitivelysrc/holdings.rs:568 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| action_for_connection_maps_supported_leafssrc/holdings.rs:576 | fn | 17 | 2 | 0 | 1 | 0.5 | |
| holdings_action_from_name_covers_aliasessrc/holdings.rs:595 | fn | 20 | 2 | 0 | 1 | 0.5 | |
| parse_holdings_action_reports_unknown_actionssrc/holdings.rs:617 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| holdings_route_for_covers_every_actionsrc/holdings.rs:628 | fn | 14 | 2 | 0 | 1 | 0.5 | |
| require_and_item_helpers_trim_and_fallbacksrc/holdings.rs:644 | fn | 15 | 1 | 0 | 4 | 0.5 | |
| vertex_and_json_helpers_read_expected_fieldssrc/holdings.rs:661 | fn | 21 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.