Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,950 · python 20,426 · 6,405 files · digest 9ba5c926519d · built in 1.7 s · crystals off

crates/cre8-app-agreement/src/connection.rs

cre8-app-agreement · module connection · src · 1,110 lines (943 code, 24 comment) · sha 405f5c2ade21952f

Items

const SPECS struct AgreementInput type AgreementHandler struct AgreementRoute const AGREEMENT_ROUTES const SUPPORTED_ACTIONS struct CreateAgreementCommand enum CreateEscrowBinding struct CreateEscrowLock impl TryFrom for CreateAgreementCommand impl CreateEscrowBinding struct SignAgreementCommand impl TryFrom for SignAgreementCommand struct EvaluateAgreementCommand impl TryFrom for EvaluateAgreementCommand struct EscrowRouteOutcome

Functions

By call-graph weight (PageRank; 1.0 is the average function). 70 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
required_inputsrc/connection.rs:143fn31402.5
parse_inputsrc/connection.rs:613fn31501.7
coerce_factsrc/connection.rs:589fn85211.7
route_escrow_obligationsrc/connection.rs:526fn153121.3
deadline_mssrc/connection.rs:485fn62101.3
memory_contextsrc/connection.rs:638fn31711.1
lock_create_escrowsrc/connection.rs:242fn41121.1
create_escrow_lock_inputsrc/connection.rs:247fn101201
escrow_id_from_lock_responsesrc/connection.rs:258fn81201
route_release_obligationsrc/connection.rs:542fn142101
route_refund_obligationsrc/connection.rs:557fn142101
find_agreement_handlersrc/connection.rs:131fn31201
connectsrc/connection.rs:122fn81221
evaluation_factssrc/connection.rs:466fn92221
effective_obligationssrc/connection.rs:492fn72221
signature_rejection_reasonsrc/connection.rs:365fn174121
create_handlersrc/connection.rs:218fn151271
sign_handlersrc/connection.rs:289fn51230.9
unknown_action_responsesrc/connection.rs:135fn71100.9
route_escrow_obligationssrc/connection.rs:514fn112310.9
coerce_fact_mapsrc/connection.rs:476fn31110.9
expired_factsrc/connection.rs:480fn42110.9
verdict_obligationsrc/connection.rs:500fn73100.9
append_unique_obligationsrc/connection.rs:508fn52100.9
evaluate_handlersrc/connection.rs:403fn51130.8
SignAgreementCommand::try_fromsrc/connection.rs:279trait impl81110.8
sign_agreementsrc/connection.rs:295fn1721110.8
CreateEscrowBinding::from_inputsrc/connection.rs:194method173200.8
locked_manual_escrowsrc/connection.rs:661fn161200.7
get_handlersrc/connection.rs:600fn51120.7
list_handlersrc/connection.rs:606fn41120.7
evaluate_bound_agreementsrc/connection.rs:418fn161280.7
EvaluateAgreementCommand::try_fromsrc/connection.rs:393trait impl31110.7
evaluate_agreementsrc/connection.rs:409fn82140.7
load_required_agreementsrc/connection.rs:347fn31220.7
resolve_create_escrowsrc/connection.rs:234fn73210.7
handle_agreement_evaluatesrc/connection.rs:623fn31220.7
required_partiessrc/connection.rs:213fn42110.7
unbound_evaluate_responsesrc/connection.rs:458fn71100.6
seeded_agreementsrc/connection.rs:642fn181240.6
CreateAgreementCommand::try_fromsrc/connection.rs:174trait impl171130.6
seed_bound_agreement_with_escrowsrc/connection.rs:678fn91140.6
handle_agreement_createsrc/connection.rs:617fn31120.6
evaluate_success_responsesrc/connection.rs:435fn221100.6
apply_evaluation_auditsrc/connection.rs:572fn141100.6
handle_agreement_signsrc/connection.rs:620fn31120.6
handle_agreement_getsrc/connection.rs:626fn31120.6
handle_agreement_listsrc/connection.rs:629fn31120.6
apply_signaturesrc/connection.rs:313fn91100.6
bind_record_if_quorum_metsrc/connection.rs:323fn53100.6
sign_success_responsesrc/connection.rs:329fn171100.6
signing_policysrc/connection.rs:351fn31110.6
rejected_signature_responsesrc/connection.rs:355fn91110.6
default_action_is_listsrc/connection.rs:689fn41000.5
parses_create_with_partiessrc/connection.rs:695fn61000.5
coerce_fact_maps_bool_to_numbersrc/connection.rs:703fn41000.5
coerce_fact_preserves_numbers_strings_and_objectssrc/connection.rs:709fn203010.5
route_table_rejects_unknown_actionssrc/connection.rs:731fn111040.5
effective_obligations_adds_canonical_verdict_obligationssrc/connection.rs:744fn131010.5
evaluation_facts_inject_now_and_expiredsrc/connection.rs:759fn51010.5
create_handler_validates_command_before_graph_accesssrc/connection.rs:766fn101020.5
sign_handler_validates_command_before_graph_accesssrc/connection.rs:778fn141020.5
sign_handler_rejects_bad_signatures_and_binds_on_quorumsrc/connection.rs:794fn791060.5
escrow_binding_helpers_choose_existing_lock_or_nonesrc/connection.rs:875fn502050.5
create_handler_locks_escrow_and_persists_bound_agreement_referencesrc/connection.rs:927fn401050.5
escrow_route_helpers_are_noops_without_an_escrow_and_record_unknownssrc/connection.rs:969fn121020.5
escrow_route_helpers_release_and_refund_locked_escrowssrc/connection.rs:983fn271030.5
get_and_evaluate_handlers_cover_missing_present_and_unbound_envelopessrc/connection.rs:1012fn251060.5
bound_evaluation_without_escrow_records_audit_and_active_statussrc/connection.rs:1039fn321060.5
bound_public_evaluation_routes_escrow_release_and_refundsrc/connection.rs:1073fn371040.5

Source not readable from this process.