Skip to content
1 viewer

rust 1,863,595 · typescript 236,163 · javascript 133,293 · python 20,426 · 6,419 files · digest 1cc7bcfad2b4 · built in 1.4 s · crystals off

sanitize

cre8_app_capitalstrategy::margin::sanitize

fn · cre8-app-capitalstrategy · crates/cre8-app-capitalstrategy/src/margin.rs:435

3lines
2cyclomatic
1max nesting
3statements
0? exits
1params
5callers
0callees
1.3 (p88)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitepath · 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 · 2 sitesname · 3 sitesname · 2 sitesname · 1 sitetry_execute_candidate_with_…app-capitalstrategy · cc 11cre8_app_capitalstrategy::execution::try_execute_candidate_with_mandate_bindinglive_capital_pool_usdapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::live_capital_pool_usdmark_to_marketapp-capitalstrategy · cc 8cre8_app_capitalstrategy::execution::mark_to_marketrefresh_trade_marginapp-capitalstrategy · cc 1cre8_app_capitalstrategy::execution::refresh_trade_marginpush_preview_margin_gateapp-capitalstrategy · cc 3cre8_app_capitalstrategy::execution::push_preview_margin_gatedefault_config_is_cash_mode…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::default_config_is_cash_mode_and_reproduces_the_wallet_gatemargin_terms_record_borrowe…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::margin_terms_record_borrowed_quote_and_short_borrowperp_funding_is_paid_by_lon…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::perp_funding_is_paid_by_longs_and_received_by_shorts_per_whole_intervalobserver_tracks_open_gross_…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::observer_tracks_open_gross_and_releases_on_closeliquidation_price_needs_deb…app-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::tests::liquidation_price_needs_debt_and_a_single_spot_legequity_usdapp-capitalstrategy · cc 1cre8_app_capitalstrategy::margin::equity_usdcarry_usdapp-capitalstrategy · cc 4cre8_app_capitalstrategy::margin::carry_usdtrade_margin_at_openapp-capitalstrategy · cc 5cre8_app_capitalstrategy::margin::trade_margin_at_openrecord_markapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::record_markstatus_jsonapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::status_jsonsanitizeapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::sanitize

Control flow

Source not readable from this process.

Callers 5

Callees 0

    Source not readable from this process.