1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-escrow/src/connection.rs
Items
const SPECS struct EscrowInput type EscrowHandler struct EscrowRoute const ESCROW_ROUTES const SUPPORTED_ACTIONS struct LockCommand struct LockParties struct LockTerms impl TryFrom for LockCommand struct ReleaseCommand impl TryFrom for ReleaseCommand struct EscrowIdCommand impl TryFrom for EscrowIdCommand enum OpenEscrow
Functions
By call-graph weight (PageRank; 1.0 is the average function). 44 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| required_inputsrc/connection.rs:360 | fn | 6 | 2 | 4 | 0 | 3.2 | |
| parse_inputsrc/connection.rs:393 | fn | 3 | 1 | 5 | 0 | 1.9 | |
| LockCommand::try_fromsrc/connection.rs:147 | trait impl | 11 | 1 | 3 | 2 | 1.4 | |
| find_escrow_handlersrc/connection.rs:111 | fn | 3 | 1 | 2 | 0 | 1.4 | |
| connectsrc/connection.rs:102 | fn | 8 | 1 | 2 | 2 | 1.1 | |
| release_ready_escrowsrc/connection.rs:256 | fn | 38 | 2 | 1 | 6 | 1.1 | |
| lock_partiessrc/connection.rs:160 | fn | 11 | 1 | 1 | 1 | 1.1 | |
| lock_termssrc/connection.rs:172 | fn | 6 | 1 | 1 | 2 | 1.1 | |
| release_handlersrc/connection.rs:237 | fn | 6 | 1 | 2 | 4 | 1.1 | |
| memory_contextsrc/connection.rs:417 | fn | 3 | 1 | 5 | 1 | 1 | |
| unknown_action_responsesrc/connection.rs:115 | fn | 7 | 1 | 1 | 0 | 1 | |
| positive_amountsrc/connection.rs:367 | fn | 3 | 2 | 1 | 0 | 1 | |
| refund_handlersrc/connection.rs:318 | fn | 22 | 2 | 2 | 7 | 0.9 | |
| handle_escrow_releasesrc/connection.rs:400 | fn | 3 | 1 | 4 | 2 | 0.9 | |
| load_open_escrowsrc/connection.rs:346 | fn | 13 | 2 | 2 | 2 | 0.8 | |
| EscrowIdCommand::try_fromsrc/connection.rs:313 | trait impl | 3 | 1 | 2 | 1 | 0.8 | |
| lock_handlersrc/connection.rs:193 | fn | 23 | 1 | 1 | 8 | 0.8 | |
| list_handlersrc/connection.rs:379 | fn | 11 | 1 | 1 | 2 | 0.8 | |
| get_handlersrc/connection.rs:373 | fn | 5 | 1 | 1 | 3 | 0.7 | |
| ReleaseCommand::try_fromsrc/connection.rs:228 | trait impl | 7 | 1 | 1 | 1 | 0.7 | |
| release_loaded_escrowsrc/connection.rs:244 | fn | 11 | 2 | 1 | 1 | 0.7 | |
| handle_escrow_locksrc/connection.rs:397 | fn | 3 | 1 | 2 | 2 | 0.7 | |
| handle_escrow_listsrc/connection.rs:409 | fn | 3 | 1 | 2 | 2 | 0.7 | |
| release_rejected_responsesrc/connection.rs:295 | fn | 8 | 1 | 1 | 0 | 0.7 | |
| seed_escrowsrc/connection.rs:432 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| manual_lock_inputsrc/connection.rs:598 | fn | 12 | 2 | 1 | 0 | 0.6 | |
| bound_depositorsrc/connection.rs:183 | fn | 9 | 3 | 1 | 0 | 0.6 | |
| held_manual_escrowsrc/connection.rs:421 | fn | 10 | 1 | 1 | 1 | 0.6 | |
| handle_escrow_refundsrc/connection.rs:403 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_escrow_getsrc/connection.rs:406 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| default_action_is_listsrc/connection.rs:437 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| parses_lock_with_typed_conditionsrc/connection.rs:443 | fn | 13 | 1 | 0 | 0 | 0.5 | |
| parses_release_with_witnesssrc/connection.rs:458 | fn | 11 | 1 | 0 | 0 | 0.5 | |
| route_table_accepts_refund_alias_and_rejects_unknownssrc/connection.rs:471 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| connect_reports_unknown_actionssrc/connection.rs:478 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| lock_command_requires_positive_amountsrc/connection.rs:487 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| lock_command_requires_conditionsrc/connection.rs:501 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| refund_handler_requires_escrow_id_before_graph_accesssrc/connection.rs:515 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| release_handler_requires_escrow_id_before_graph_accesssrc/connection.rs:523 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| release_handler_reports_missing_escrowsrc/connection.rs:531 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| lock_get_list_refund_and_closed_paths_use_graph_statesrc/connection.rs:539 | fn | 58 | 1 | 0 | 8 | 0.5 | |
| spoofed_depositor_rejected_when_verifiedsrc/connection.rs:612 | fn | 26 | 1 | 0 | 4 | 0.5 | |
| release_handler_rejects_unsatisfied_manual_and_releases_with_approvalsrc/connection.rs:640 | fn | 35 | 1 | 0 | 6 | 0.5 | |
| release_handler_records_proof_witness_on_successsrc/connection.rs:677 | fn | 35 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.