Skip to content
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

handle_proposal_vote

cre8_app_proposal::connection::handle_proposal_vote

fn · cre8-app-proposal · crates/cre8-app-proposal/src/connection.rs:92 pub

28lines
4cyclomatic
1max nesting
15statements
6? exits
2params
3callers
5callees
1.4 (p90)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (3 direct callers, 5 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitename · 3 sitesname · 1 sitepath · 1 sitename · 1 sitepath · 1 sitename · 9 sitesname · 4 sitesname · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitemethod · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 siteadoptapp-legal-code · cc 1cre8_app_legal_code::enact_tests::adoptratify_writes_the_adopted_p…app-legal-code · cc 1cre8_app_legal_code::enact_tests::ratify_writes_the_adopted_provision_once_with_its_edgean_amendment_between_the_vo…app-legal-code · cc 1cre8_app_legal_code::enact_tests::an_amendment_between_the_vote_and_ratification_is_refusedProposalApp::connectapp-proposal · cc 1cre8_app_proposal::app::ProposalApp::connectconnectapp-proposal · cc 7cre8_app_proposal::connection::connectvote_yesapp-legal-code · cc 1cre8_app_legal_code::enact_tests::vote_yesproposal_connection_flow_co…app-proposal · cc 1cre8_app_proposal::connection::tests::proposal_connection_flow_covers_create_vote_tally_get_list_ratify_and_cancelhandle_proposal_voteapp-proposal · cc 4cre8_app_proposal::connection::handle_proposal_votetally_weightedapp-proposal · cc 1cre8_app_proposal::policy::tally_weightedensure_session_identityapp-proposal · cc 2cre8_app_proposal::connection::ensure_session_identityparse_choiceapp-proposal · cc 4cre8_app_proposal::connection::parse_choiceparse_approval_labelsapp-proposal · cc 1cre8_app_proposal::connection::parse_approval_labelsvote_durableapp-proposal · cc 2cre8_app_proposal::persistence::vote_durableRuntimeContext::authenticat…runtime-app-types · cc 1cre8_runtime_app_types::types::contracts::RuntimeContext::authenticated_session_account_originlock_storeapp-proposal · cc 1cre8_app_proposal::store::lock_storeget_proposalapp-proposal · cc 1cre8_app_proposal::store::get_proposalvoteapp-proposal · cc 3cre8_app_proposal::policy::voteget_votes_lockedapp-proposal · cc 1cre8_app_proposal::store::get_votes_lockedcompute_weighted_tallyapp-proposal · cc 3cre8_app_proposal::policy::compute_weighted_tallycheck_voter_authorizedapp-proposal · cc 1cre8_app_proposal::persistence::check_voter_authorizedpersist_voteapp-proposal · cc 2cre8_app_proposal::persistence::persist_voteget_votesapp-proposal · cc 2cre8_app_proposal::store::get_votes

Control flow

Source not readable from this process.

Callers 3

Callees 5

Source not readable from this process.