1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 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 struct Session impl AuthenticatedSessionAccountOrigin for Session
Functions
By call-graph weight (PageRank; 1.0 is the average function). 53 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| requiresrc/holdings.rs:527 | fn | 3 | 1 | 7 | 0 | 2.3 | |
| vertex_props_valuesrc/holdings.rs:571 | 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:583 | 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:554 | fn | 3 | 1 | 3 | 0 | 1.5 | |
| transfer_responsesrc/holdings.rs:293 | fn | 29 | 1 | 2 | 5 | 1.3 | |
| is_holdings_connectionsrc/holdings.rs:82 | fn | 3 | 1 | 2 | 0 | 1.3 | |
| require_peersrc/holdings.rs:531 | fn | 3 | 1 | 3 | 1 | 1.3 | |
| session_accountsrc/holdings.rs:536 | fn | 3 | 1 | 4 | 1 | 1.3 | |
| entry_totalssrc/holdings.rs:176 | fn | 6 | 1 | 2 | 1 | 1.2 | |
| prop_strsrc/holdings.rs:567 | fn | 3 | 1 | 6 | 0 | 1.2 | |
| set_totalsrc/holdings.rs:183 | fn | 3 | 1 | 1 | 1 | 1.2 | |
| action_for_connectionsrc/holdings.rs:97 | fn | 4 | 1 | 2 | 0 | 1.1 | |
| 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 | |
| acting_peersrc/holdings.rs:543 | fn | 10 | 4 | 5 | 2 | 1.1 | |
| generate_idsrc/holdings.rs:523 | fn | 3 | 1 | 2 | 1 | 1 | |
| record_hopsrc/holdings.rs:214 | fn | 33 | 1 | 2 | 2 | 1 | |
| connectsrc/holdings.rs:168 | fn | 5 | 1 | 2 | 3 | 0.8 | |
| item_id_or_parsedsrc/holdings.rs:558 | fn | 8 | 1 | 2 | 1 | 0.8 | |
| now_secssrc/holdings.rs:519 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| prov_keysrc/holdings.rs:587 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| listing_valuesrc/holdings.rs:579 | fn | 3 | 1 | 3 | 1 | 0.7 | |
| items_responsesrc/holdings.rs:263 | fn | 21 | 5 | 1 | 3 | 0.7 | |
| reverse_listing_paymentsrc/holdings.rs:486 | fn | 5 | 2 | 1 | 1 | 0.7 | |
| provenance_chainsrc/holdings.rs:248 | fn | 12 | 1 | 1 | 5 | 0.7 | |
| hop_valuesrc/holdings.rs:575 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| purchase_payment_asset_idsrc/holdings.rs:463 | fn | 4 | 2 | 1 | 1 | 0.6 | |
| connect_forsrc/holdings.rs:157 | fn | 10 | 3 | 1 | 2 | 0.6 | |
| active_purchase_listingsrc/holdings.rs:443 | fn | 19 | 2 | 1 | 5 | 0.5 | |
| ensure_distinct_purchase_peerssrc/holdings.rs:468 | fn | 6 | 2 | 1 | 0 | 0.5 | |
| settle_listing_purchasesrc/holdings.rs:475 | fn | 10 | 3 | 1 | 2 | 0.5 | |
| mark_listing_soldsrc/holdings.rs:492 | fn | 12 | 2 | 1 | 2 | 0.5 | |
| record_listing_salesrc/holdings.rs:505 | 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:323 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| list_for_sale_responsesrc/holdings.rs:329 | fn | 36 | 2 | 0 | 5 | 0.5 | |
| listings_responsesrc/holdings.rs:366 | fn | 15 | 1 | 0 | 5 | 0.5 | |
| cancel_listing_responsesrc/holdings.rs:382 | fn | 22 | 4 | 0 | 7 | 0.5 | |
| buy_responsesrc/holdings.rs:405 | fn | 25 | 1 | 0 | 8 | 0.5 | |
| _graph_type_markersrc/holdings.rs:592 | fn | 1 | 1 | 0 | 0 | 0.5 | |
| holdings_connections_are_detected_case_insensitivelysrc/holdings.rs:602 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| action_for_connection_maps_supported_leafssrc/holdings.rs:610 | fn | 17 | 2 | 0 | 1 | 0.5 | |
| holdings_action_from_name_covers_aliasessrc/holdings.rs:629 | fn | 20 | 2 | 0 | 1 | 0.5 | |
| parse_holdings_action_reports_unknown_actionssrc/holdings.rs:651 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| holdings_route_for_covers_every_actionsrc/holdings.rs:662 | fn | 14 | 2 | 0 | 1 | 0.5 | |
| require_and_item_helpers_trim_and_fallbacksrc/holdings.rs:678 | fn | 15 | 1 | 0 | 4 | 0.5 | |
| a_call_without_a_session_names_its_actor_in_the_inputsrc/holdings.rs:695 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| Session::authenticated_session_account_idsrc/holdings.rs:706 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| a_session_acts_only_for_its_own_accountsrc/holdings.rs:712 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| vertex_and_json_helpers_read_expected_fieldssrc/holdings.rs:722 | fn | 21 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.