1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-prediction/src/contract.rs
Items
const INSTRUMENT_KIND_PREDICTION_EVENT const INSTRUMENT_KIND_PREDICTION_BINARY struct PredictionContractSpec struct PredictionRegistration impl PredictionContractSpec
Functions
By call-graph weight (PageRank; 1.0 is the average function). 13 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| register_prediction_contractsrc/contract.rs:132 | fn | 15 | 1 | 2 | 4 | 1.4 | |
| PredictionContractSpec::outcome_metadatasrc/contract.rs:105 | method | 14 | 1 | 3 | 1 | 1.2 | |
| register_prediction_observation_with_writersrc/contract.rs:178 | fn | 97 | 15 | 2 | 5 | 1.1 | |
| PredictionContractSpec::event_asset_idsrc/contract.rs:59 | method | 12 | 1 | 2 | 1 | 1 | |
| PredictionContractSpec::outcome_asset_idsrc/contract.rs:72 | method | 13 | 1 | 2 | 1 | 1 | |
| PredictionContractSpec::event_metadatasrc/contract.rs:86 | method | 18 | 1 | 2 | 1 | 1 | |
| default_quote_conventionsrc/contract.rs:17 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| default_settlement_kindsrc/contract.rs:21 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| default_allowed_actionssrc/contract.rs:25 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| default_provider_capabilitiessrc/contract.rs:29 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| PredictionContractSpec::provider_surface_metadatasrc/contract.rs:120 | method | 10 | 1 | 0 | 2 | 0.5 | |
| register_prediction_provider_surfacesrc/contract.rs:148 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| register_prediction_observation_surfacesrc/contract.rs:167 | fn | 10 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.