Skip to content
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

cre8-app-prediction · module contract · src · 274 lines (248 code, 8 comment) · sha 3f5a1c76941e5864

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
register_prediction_contractsrc/contract.rs:132fn151241.4
PredictionContractSpec::outcome_metadatasrc/contract.rs:105method141311.2
register_prediction_observation_with_writersrc/contract.rs:178fn9715251.1
PredictionContractSpec::event_asset_idsrc/contract.rs:59method121211
PredictionContractSpec::outcome_asset_idsrc/contract.rs:72method131211
PredictionContractSpec::event_metadatasrc/contract.rs:86method181211
default_quote_conventionsrc/contract.rs:17fn31000.5
default_settlement_kindsrc/contract.rs:21fn31000.5
default_allowed_actionssrc/contract.rs:25fn31000.5
default_provider_capabilitiessrc/contract.rs:29fn31000.5
PredictionContractSpec::provider_surface_metadatasrc/contract.rs:120method101020.5
register_prediction_provider_surfacesrc/contract.rs:148fn151010.5
register_prediction_observation_surfacesrc/contract.rs:167fn101020.5

Source not readable from this process.