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

compute_weighted_tally

cre8_app_proposal::policy::compute_weighted_tally

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

32lines
3cyclomatic
2max nesting
11statements
0? exits
3params
2callers
4callees
1.4 (p89)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (2 direct callers, 4 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 · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitehandle_proposal_voteapp-proposal · cc 4cre8_app_proposal::connection::handle_proposal_voteratify_durableapp-proposal · cc 2cre8_app_proposal::persistence::ratify_durablehandle_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_abstaintally_weightedapp-proposal · cc 1cre8_app_proposal::policy::tally_weightedratify_weightedapp-proposal · cc 1cre8_app_proposal::policy::ratify_weightedcompute_weighted_tallyapp-proposal · cc 3cre8_app_proposal::policy::compute_weighted_tallybuild_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_chainsadd_choice_weightapp-proposal · cc 7cre8_app_proposal::policy::add_choice_weightevaluate_strategyapp-proposal · cc 2cre8_app_proposal::policy::evaluate_strategyone_peer_one_vote_weightsapp-proposal · cc 1cre8_app_proposal::policy::one_peer_one_vote_weightsstake_weighted_weightsapp-proposal · cc 2cre8_app_proposal::policy::stake_weighted_weightsrep_weighted_weightsapp-proposal · cc 1cre8_app_proposal::policy::rep_weighted_weights

Control flow

Source not readable from this process.

Callers 2

Callees 4

Source not readable from this process.