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

tally_weighted

cre8_app_proposal::policy::tally_weighted

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

10lines
1cyclomatic
0max nesting
6statements
2? exits
2params
12callers
3callees
2.5 (p96)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 9 sitesname · 4 sitespath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 siteconnectapp-proposal · cc 7cre8_app_proposal::connection::connectvote_yesapp-legal-code · cc 1cre8_app_legal_code::enact_tests::vote_yesroute_connectionapp-legal-code · cc 5cre8_app_legal_code::enact_tests::route_connectionproposal_statusapp-legal-code · cc 1cre8_app_legal_code::enact_tests::proposal_statusenact_opens_a_proposal_carr…app-legal-code · cc 2cre8_app_legal_code::enact_tests::enact_opens_a_proposal_carrying_the_adoption_mutationproposal_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_votehandle_proposal_getapp-proposal · cc 2cre8_app_proposal::connection::handle_proposal_gethandle_proposal_tallyapp-proposal · cc 1cre8_app_proposal::connection::handle_proposal_tallystake_weighted_yesno_weighs…app-proposal · cc 1cre8_app_proposal::policy::tests::stake_weighted_yesno_weighs_votes_by_balancestake_weighted_zero_balance…app-proposal · cc 1cre8_app_proposal::policy::tests::stake_weighted_zero_balance_doesnt_countliquid_delegation_accumulat…app-proposal · cc 1cre8_app_proposal::policy::tests::liquid_delegation_accumulates_weight_at_terminaldelegation_chain_resolves_t…app-proposal · cc 1cre8_app_proposal::policy::tests::delegation_chain_resolves_through_two_hopsdelegation_cycle_drops_to_a…app-proposal · cc 1cre8_app_proposal::policy::tests::delegation_cycle_drops_to_abstaindelegation_to_unknown_voter…app-proposal · cc 1cre8_app_proposal::policy::tests::delegation_to_unknown_voter_carries_weight_as_abstainrep_weighted_uses_ballot_he…app-proposal · cc 1cre8_app_proposal::policy::tests::rep_weighted_uses_ballot_helper_with_floor_at_onerep_weighted_sums_across_mu…app-proposal · cc 1cre8_app_proposal::policy::tests::rep_weighted_sums_across_multiple_tagsrep_weighted_no_rep_voter_s…app-proposal · cc 1cre8_app_proposal::policy::tests::rep_weighted_no_rep_voter_still_counts_with_floor_onetally_weightedapp-proposal · cc 1cre8_app_proposal::policy::tally_weightedlock_storeapp-proposal · cc 1cre8_app_proposal::store::lock_storeget_votes_lockedapp-proposal · cc 1cre8_app_proposal::store::get_votes_lockedcompute_weighted_tallyapp-proposal · cc 3cre8_app_proposal::policy::compute_weighted_tallystoreapp-proposal · cc 1cre8_app_proposal::store::storebuild_tallyapp-proposal · cc 2cre8_app_proposal::policy::build_tallyaggregate_terminal_votesapp-proposal · cc 2cre8_app_proposal::policy::aggregate_terminal_votescompute_voter_weightsapp-proposal · cc 3cre8_app_proposal::policy::compute_voter_weightsresolve_delegation_chainsapp-proposal · cc 6cre8_app_proposal::policy::resolve_delegation_chains

Control flow

Source not readable from this process.

Callees 3

Source not readable from this process.