Skip to content
1 viewer

rust 1,847,276 · typescript 232,434 · javascript 131,064 · python 19,227 · 6,362 files · digest fa0546eddd29 · built in 1.5 s · crystals off

crates/cre8-app-prediction/src/resolution.rs

cre8-app-prediction · module resolution · src · 692 lines (534 code, 89 comment) · sha 3f6982e41d2e82b0

Items

const PREDICTION_RESOLVE_IR_HASH const PREDICTION_RESOLVE_STRUCTURAL_VERIFIER struct ResolutionEntry const RESOLUTION_RECEIPT_VERSION struct ResolutionReceipt impl ResolutionReceipt struct PayoutEntry struct SettlementSummary const PREDICTION_RESOLVE_STARK_VERIFIER

Functions

By call-graph weight (PageRank; 1.0 is the average function). 34 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
matched_event_outcomesrc/resolution.rs:190fn92102.8
compute_prediction_resolutionsrc/resolution.rs:153fn3631812.7
outcomessrc/resolution.rs:390fn611202.4
positionsrc/resolution.rs:372fn1731102.2
compute_payout_tablesrc/resolution.rs:106fn3981001.9
fixture_inputssrc/resolution.rs:493fn101621.4
prediction_resolution_input_hashsrc/resolution.rs:328fn201411.3
apply_prediction_resolutionsrc/resolution.rs:218fn101251.2
prediction_resolution_output_hashsrc/resolution.rs:351fn151411.1
prediction_resolution_proofsrc/resolution.rs:273fn292431
ResolutionReceipt::winner_countsrc/resolution.rs:79method31300.8
ResolutionReceipt::loser_countsrc/resolution.rs:83method31300.8
try_stark_proofsrc/resolution.rs:306fn191100.8
transfer_loser_reservationssrc/resolution.rs:230fn102110.7
release_winner_reservationssrc/resolution.rs:242fn92110.7
pay_winner_payoutssrc/resolution.rs:253fn83110.7
default_receipt_versionsrc/resolution.rs:74fn31000.5
resolution_partitions_winners_and_losers_by_outcomesrc/resolution.rs:398fn211050.5
resolution_skips_positions_unrelated_to_eventsrc/resolution.rs:421fn161050.5
resolution_records_collateral_for_each_entrysrc/resolution.rs:439fn161030.5
resolution_records_event_and_winning_outcome_metadatasrc/resolution.rs:457fn131020.5
resolution_skips_ambiguous_multi_outcome_positionssrc/resolution.rs:474fn181030.5
proof_is_deterministic_across_runssrc/resolution.rs:505fn141030.5
proof_input_hash_is_invariant_to_position_ordersrc/resolution.rs:521fn71020.5
proof_input_hash_changes_with_winning_outcomesrc/resolution.rs:530fn61020.5
proof_output_hash_changes_with_receipt_contentsrc/resolution.rs:538fn91040.5
proof_output_hash_is_invariant_to_winners_ordersrc/resolution.rs:549fn91030.5
payout_table_distributes_loser_collateral_proportionallysrc/resolution.rs:562fn251040.5
payout_table_handles_no_loserssrc/resolution.rs:589fn141040.5
payout_table_handles_no_winnerssrc/resolution.rs:605fn141040.5
payout_table_remainder_stays_in_burn_poolsrc/resolution.rs:621fn211040.5
payout_table_burn_namespace_includes_event_idsrc/resolution.rs:644fn111030.5
payout_table_multi_asset_collateralsrc/resolution.rs:657fn191040.5
proof_attachment_self_consistent_via_existing_proof_hashsrc/resolution.rs:680fn121040.5

Source not readable from this process.