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
crates/cre8-app-capitalstrategy/src/position_bridge.rs
Items
const MARKET_ID const GAP_KIND const QUEUE_CAP const RECENT_CAP struct PositionIntent enum FlushPlan static QUEUE static RECENT static QUEUED_TOTAL static POSTED_TOTAL static CLAMPED_TOTAL static INSUFFICIENT_TOTAL static ERROR_TOTAL static DROPPED_TOTAL static LANE_GATED_TOTAL struct PositionSubmitObserver impl TradeOpenObserver for PositionSubmitObserver static REGISTERED static SHIM_CALLS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 48 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| queuesrc/position_bridge.rs:264 | fn | 3 | 1 | 4 | 0 | 1.8 | |
| gap_tradesrc/position_bridge.rs:541 | fn | 29 | 1 | 15 | 0 | 1.8 | |
| gap_evidencesrc/position_bridge.rs:571 | fn | 9 | 1 | 14 | 0 | 1.8 | |
| intent_for_tradesrc/position_bridge.rs:118 | fn | 22 | 5 | 12 | 3 | 1.7 | |
| recentsrc/position_bridge.rs:268 | fn | 3 | 1 | 2 | 0 | 1.5 | |
| amountssrc/position_bridge.rs:581 | fn | 3 | 1 | 10 | 0 | 1.4 | |
| scale_sidesrc/position_bridge.rs:229 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| status_jsonsrc/position_bridge.rs:494 | fn | 21 | 1 | 5 | 2 | 1.1 | |
| position_id_forsrc/position_bridge.rs:101 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| split_asset_shapesrc/position_bridge.rs:182 | fn | 3 | 1 | 1 | 1 | 1 | |
| side_amountssrc/position_bridge.rs:186 | fn | 4 | 1 | 1 | 0 | 1 | |
| plan_flushsrc/position_bridge.rs:211 | fn | 17 | 4 | 5 | 1 | 1 | |
| enabledsrc/position_bridge.rs:276 | fn | 3 | 1 | 3 | 1 | 0.9 | |
| intents_for_tradesrc/position_bridge.rs:145 | fn | 27 | 3 | 3 | 4 | 0.9 | |
| enqueue_from_tradesrc/position_bridge.rs:299 | fn | 21 | 6 | 3 | 3 | 0.8 | |
| submit_inputsrc/position_bridge.rs:236 | fn | 15 | 1 | 2 | 0 | 0.8 | |
| flush_intentssrc/position_bridge.rs:394 | fn | 75 | 8 | 4 | 6 | 0.7 | |
| lane_position_idsrc/position_bridge.rs:106 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| positive_amountssrc/position_bridge.rs:173 | fn | 8 | 2 | 1 | 0 | 0.7 | |
| flush_pendingsrc/position_bridge.rs:355 | fn | 25 | 6 | 2 | 6 | 0.7 | |
| queued_trade_idssrc/position_bridge.rs:322 | fn | 3 | 1 | 3 | 1 | 0.7 | |
| deductsrc/position_bridge.rs:470 | fn | 9 | 4 | 1 | 0 | 0.6 | |
| record_rowsrc/position_bridge.rs:480 | fn | 8 | 3 | 1 | 1 | 0.6 | |
| posting_allowedsrc/position_bridge.rs:286 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| strategy_peersrc/position_bridge.rs:290 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| peer_balancessrc/position_bridge.rs:385 | fn | 4 | 1 | 1 | 2 | 0.6 | |
| register_observersrc/position_bridge.rs:341 | fn | 6 | 1 | 1 | 1 | 0.5 | |
| ok_dispatchsrc/position_bridge.rs:787 | fn | 8 | 2 | 1 | 0 | 0.5 | |
| err_dispatchsrc/position_bridge.rs:830 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| PositionSubmitObserver::on_opensrc/position_bridge.rs:331 | trait impl | 6 | 2 | 0 | 2 | 0.5 | |
| lane_policy_jsonsrc/position_bridge.rs:517 | fn | 15 | 1 | 0 | 0 | 0.5 | |
| intent_reconstructs_offer_and_want_from_gap_evidencesrc/position_bridge.rs:588 | fn | 7 | 1 | 0 | 4 | 0.5 | |
| intent_distributes_volume_across_compound_shapessrc/position_bridge.rs:597 | fn | 12 | 1 | 0 | 4 | 0.5 | |
| only_complement_gap_trades_produce_intentssrc/position_bridge.rs:611 | fn | 10 | 2 | 0 | 3 | 0.5 | |
| posting_lane_orders_become_one_intent_each_and_malformed_orders_dropsrc/position_bridge.rs:623 | fn | 22 | 1 | 0 | 4 | 0.5 | |
| posting_lane_trades_queue_only_when_the_lane_bridgessrc/position_bridge.rs:647 | fn | 33 | 1 | 0 | 14 | 0.5 | |
| degenerate_evidence_produces_no_intentsrc/position_bridge.rs:682 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| position_id_is_deterministic_and_idempotentsrc/position_bridge.rs:694 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| full_wallet_posts_unclampedsrc/position_bridge.rs:706 | fn | 5 | 1 | 0 | 5 | 0.5 | |
| partial_wallet_scales_both_sides_to_heldsrc/position_bridge.rs:713 | fn | 8 | 1 | 0 | 5 | 0.5 | |
| zero_held_leg_skips_as_insufficientsrc/position_bridge.rs:723 | fn | 11 | 1 | 0 | 5 | 0.5 | |
| no_ledger_view_never_asserts_fundssrc/position_bridge.rs:736 | fn | 4 | 1 | 0 | 4 | 0.5 | |
| submit_input_matches_the_position_submit_wire_shapesrc/position_bridge.rs:744 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| enqueue_accepts_gap_trades_and_rejects_otherssrc/position_bridge.rs:759 | fn | 11 | 1 | 0 | 6 | 0.5 | |
| gate_off_observer_queues_nothing_and_flush_posts_nothingsrc/position_bridge.rs:772 | fn | 10 | 1 | 0 | 6 | 0.5 | |
| flush_posts_clamps_and_skips_against_one_balance_snapshotsrc/position_bridge.rs:797 | fn | 32 | 1 | 0 | 11 | 0.5 | |
| dispatch_errors_are_recorded_not_swallowedsrc/position_bridge.rs:835 | fn | 14 | 1 | 0 | 11 | 0.5 | |
| status_json_names_the_identity_and_counterssrc/position_bridge.rs:851 | fn | 17 | 2 | 0 | 1 | 0.5 |
Source not readable from this process.