Skip to content
1 viewer

rust 1,859,989 · typescript 235,245 · javascript 132,952 · python 20,426 · 6,406 files · digest 386394835379 · built in 1.3 s · crystals off

apply_prediction_resolution

cre8_app_prediction::resolution::apply_prediction_resolution

fn · cre8-app-prediction · crates/cre8-app-prediction/src/resolution.rs:283 pub documented

31lines
2cyclomatic
1max nesting
16statements
10? exits
2params
2callers
11callees
1.1 (p82)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

name · 1 sitename · 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 sitepath · 1 sitepath · 2 sitesmethod · 1 sitepath · 1 sitename · 1 sitepath · 1 sitemethod · 1 sitename · 1 sitemethod · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitemethod · 1 sitemethod · 1 sitename · 2 sitesmethod · 1 sitename · 1 sitename · 2 sitesname · 1 siteprediction_cast_voteapp-prediction · cc 5cre8_app_prediction::connection::prediction_cast_voteprediction_resolveapp-prediction · cc 4cre8_app_prediction::connection::prediction_resolveconfirmed_vote_responseapp-prediction · cc 3cre8_app_prediction::connection::confirmed_vote_responseapply_prediction_resolution…app-prediction · cc 3cre8_app_prediction::connection::apply_prediction_resolution_if_neededapply_prediction_resolutionapp-prediction · cc 2cre8_app_prediction::resolution::apply_prediction_resolutionopen_wallet_graphapp-wallet · cc 1cre8_app_wallet::store::open_wallet_graphcompute_payout_tableapp-prediction · cc 8cre8_app_prediction::resolution::compute_payout_tableprediction_resolution_outpu…app-prediction · cc 1cre8_app_prediction::resolution::prediction_resolution_output_hashread_event_settlementapp-prediction · cc 1cre8_app_prediction::resolution::read_event_settlementsettlement_record_idapp-prediction · cc 1cre8_app_prediction::resolution::settlement_record_idupsert_settlement_recordapp-wallet · cc 2cre8_app_wallet::store::upsert_settlement_recordalready_settled_errorapp-prediction · cc 2cre8_app_prediction::resolution::already_settled_errorensure_payouts_are_fundedapp-prediction · cc 10cre8_app_prediction::resolution::ensure_payouts_are_fundedtransfer_loser_reservationsapp-prediction · cc 2cre8_app_prediction::resolution::transfer_loser_reservationsrelease_winner_reservationsapp-prediction · cc 2cre8_app_prediction::resolution::release_winner_reservationspay_winner_payoutsapp-prediction · cc 3cre8_app_prediction::resolution::pay_winner_payoutssha256_hexutil-crypto · cc 1cre8_util_crypto::sha256_hexRuntimeContext::truthapp-truth · cc 1cre8_app_truth::context_ext::RuntimeContext::truthHyperDbProtocolStore::graphapp-protocol · cc 1cre8_app_protocol::store_adapter::HyperDbProtocolStore::graphget_balance_entryapp-wallet · cc 2cre8_app_wallet::store::get_balance_entryload_reservationapp-wallet · cc 1cre8_app_wallet::store::load_reservationEventSettlement::is_appliedapp-prediction · cc 1cre8_app_prediction::resolution::EventSettlement::is_appliedsettlement_vidapp-wallet · cc 1cre8_app_wallet::store::settlement_vidtransfer_balanceapp-wallet · cc 4cre8_app_wallet::store::transfer_balanceload_settlement_recordapp-wallet · cc 1cre8_app_wallet::store::load_settlement_recordtransfer_reservation_to_nam…app-wallet · cc 4cre8_app_wallet::store::transfer_reservation_to_namespace

Control flow

Source not readable from this process.

Callers 2

Callees 11

Source not readable from this process.