Skip to content
1 viewer

rust 1,863,595 · typescript 235,976 · javascript 133,240 · python 20,426 · 6,417 files · digest b3b8c6dd2bb2 · built in 2.5 s · crystals off

vote

cre8_app_proposal::policy::vote

fn · cre8-app-proposal · crates/cre8-app-proposal/src/policy.rs:142 pub documented

28lines
3cyclomatic
1max nesting
10statements
4? exits
4params
25callers
5callees
2.3 (p96)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 2 sitesname · 3 sitesname · 2 sitesname · 1 sitepath · 1 sitename · 1 sitename · 3 sitesname · 3 sitesname · 3 sitesname · 2 sitesname · 1 sitename · 1 sitename · 2 sitesname · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitehandle_proposal_voteapp-proposal · cc 4cre8_app_proposal::connection::handle_proposal_voteproposal_parse_propose_and_…app-budget · cc 1cre8_app_budget::connection::tests::proposal_parse_propose_and_ratify_paths_are_coveredvote_durableapp-proposal · cc 2cre8_app_proposal::persistence::vote_durablevote_rejects_when_not_openapp-proposal · cc 1cre8_app_proposal::policy::tests::vote_rejects_when_not_openvote_overwrites_on_changeapp-proposal · cc 1cre8_app_proposal::policy::tests::vote_overwrites_on_changesimple_majority_passes_with…app-proposal · cc 1cre8_app_proposal::policy::tests::simple_majority_passes_with_quorum_and_thresholdabstentions_dont_count_towa…app-proposal · cc 1cre8_app_proposal::policy::tests::abstentions_dont_count_toward_threshold_denominatorratify_returns_mutation_and…app-proposal · cc 1cre8_app_proposal::policy::tests::ratify_returns_mutation_and_closesratify_twice_rejectsapp-proposal · cc 1cre8_app_proposal::policy::tests::ratify_twice_rejectssupermajority_requires_two_…app-proposal · cc 1cre8_app_proposal::policy::tests::supermajority_requires_two_thirdsunanimous_requires_all_yesapp-proposal · cc 1cre8_app_proposal::policy::tests::unanimous_requires_all_yesapproval_winning_option_ret…app-proposal · cc 1cre8_app_proposal::policy::tests::approval_winning_option_returns_its_mutation_on_ratifyapproval_tie_at_top_does_no…app-proposal · cc 1cre8_app_proposal::policy::tests::approval_tie_at_top_does_not_declare_winnerapproval_rejects_unknown_la…app-proposal · cc 1cre8_app_proposal::policy::tests::approval_rejects_unknown_labelapproval_rejects_yesno_choi…app-proposal · cc 1cre8_app_proposal::policy::tests::approval_rejects_yesno_choicestake_weighted_yesno_weighs…app-proposal · cc 1cre8_app_proposal::policy::tests::stake_weighted_yesno_weighs_votes_by_balancevoteapp-proposal · cc 3cre8_app_proposal::policy::votenow_msplatform-time · cc 1cre8_platform_time::now_msget_proposalapp-proposal · cc 1cre8_app_proposal::store::get_proposalupsert_voteapp-proposal · cc 1cre8_app_proposal::store::upsert_votevalidate_delegation_choiceapp-proposal · cc 3cre8_app_proposal::policy::validate_delegation_choicevalidate_choice_compatibili…app-proposal · cc 4cre8_app_proposal::policy::validate_choice_compatibilitystoreapp-proposal · cc 1cre8_app_proposal::store::storelock_storeapp-proposal · cc 1cre8_app_proposal::store::lock_storevalidate_approval_labelsapp-proposal · cc 2cre8_app_proposal::policy::validate_approval_labelsupsert_vote_lockedapp-proposal · cc 1cre8_app_proposal::store::upsert_vote_locked

Control flow

Source not readable from this process.

Callers 25

Callees 5

Source not readable from this process.