Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

sweep_account

cre8_app_paper::ops::sweep_account

fn · cre8-app-paper · crates/cre8-app-paper/src/ops.rs:339

178lines
20cyclomatic
3max nesting
62statements
4? exits
5params
1callers
21callees
0.6 (p50)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitepath · 1 sitepath · 2 sitespath · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 3 sitesmethod · 3 sitespath · 2 sitespath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitepath · 1 sitepath · 1 sitemethod · 2 sitesmethod · 1 sitemethod · 1 sitename · 1 sitepath · 3 sitesname · 1 sitepath · 1 sitemethod · 6 sitesmethod · 3 sitesself · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitepath · 1 siteheartbeat_sweepapp-paper · cc 4cre8_app_paper::app::heartbeat_sweephandle_tickapp-paper · cc 1cre8_app_paper::connection::handle_ticka_limit_order_rests_then_fi…app-paper · cc 1cre8_app_paper::tests::a_limit_order_rests_then_fills_on_the_heartbeatleverage_over_the_cap_is_re…app-paper · cc 1cre8_app_paper::tests::leverage_over_the_cap_is_refused_and_a_mark_drop_liquidatesan_unpriced_holding_is_neve…app-paper · cc 1cre8_app_paper::tests::an_unpriced_holding_is_never_liquidatedperpetual_funding_accrues_f…app-paper · cc 1cre8_app_paper::tests::perpetual_funding_accrues_from_the_venue_ratean_option_expiring_in_the_m…app-paper · cc 1cre8_app_paper::tests::an_option_expiring_in_the_money_cash_settles_at_the_marksweepapp-paper · cc 9cre8_app_paper::ops::sweepsweep_accountapp-paper · cc 20cre8_app_paper::ops::sweep_accountwith_graph_mutapp-protocol · cc 9cre8_app_protocol::graph_store::with_graph_mutRatio::is_positiveutil-options · cc 1cre8_util_options::ratio::Ratio::is_positiveRatio::checked_negutil-options · cc 1cre8_util_options::ratio::Ratio::checked_negRatio::checked_absutil-options · cc 2cre8_util_options::ratio::Ratio::checked_absload_accountapp-paper · cc 1cre8_app_paper::model::load_accountfresh_idapp-paper · cc 1cre8_app_paper::model::fresh_idupsert_accountapp-paper · cc 1cre8_app_paper::model::upsert_accountupsert_orderapp-paper · cc 1cre8_app_paper::model::upsert_ordereventapp-paper · cc 1cre8_app_paper::engine::eventPaperAccount::push_eventapp-paper · cc 2cre8_app_paper::model::PaperAccount::push_eventlist_ordersapp-paper · cc 1cre8_app_paper::model::list_ordershealthapp-paper · cc 2cre8_app_paper::engine::healthfresh_marksapp-paper · cc 1cre8_app_paper::ops::fresh_marksmark_positionsapp-paper · cc 1cre8_app_paper::pricing::mark_positionsMutex::lock_or_recoverutil-lock-ext · cc 2cre8_util_lock_ext::Mutex::lock_or_recovershort_hashutil-graph-vertex · cc 1cre8_util_graph_vertex::short_hashHoldingProtocolStore::enterapp-protocol · cc 1cre8_app_protocol::graph_store::HoldingProtocolStore::enterlist_verticesutil-graph-vertex · cc 1cre8_util_graph_vertex::list_verticesopen_protocol_graphapp-protocol · cc 1cre8_app_protocol::graph_store::open_protocol_graphambient_protocol_storeapp-protocol · cc 1cre8_app_protocol::graph_store::ambient::ambient_protocol_storelive_protocol_store_for_fal…app-protocol · cc 2cre8_app_protocol::graph_store::live_protocol_store_for_fallbackupsert_vertexutil-graph-vertex · cc 2cre8_util_graph_vertex::upsert_vertexHyperDbProtocolStore::graph…app-protocol · cc 1cre8_app_protocol::store_adapter::HyperDbProtocolStore::graph_mutload_vertexutil-graph-vertex · cc 1cre8_util_graph_vertex::load_vertex

Control flow

Source not readable from this process.

Callers 1

Callees 21

Source not readable from this process.