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-energy/src/market.rs

cre8-app-energy · module market · src · 889 lines (641 code, 170 comment) · sha 7b44fa01352d2829

Items

const KIND_ENERGY_OFFER const MARKET_CURRENCY const OFFER_OPEN_CONTRACT_ID const OFFER_CANCEL_CONTRACT_ID const INTENT_OFFER_OPEN const INTENT_OFFER_CANCEL const OFFER_TARGET_PATTERN const MARKET_GROUP_TARGET const MARKET_FILL_INTENT const MAX_OFFER_WH const MAX_OFFER_PRICE const STATUS_OPEN const STATUS_FILLED const STATUS_CANCELLED struct EnergyOffer impl EnergyOffer const T0

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
derive_offer_idsrc/market.rs:148fn31212.6
EnergyOffer::newsrc/market.rs:153method141412.4
offersrc/market.rs:706fn31911.8
participant_rejectsrc/market.rs:197fn104401.6
EnergyOffer::price_per_kwhsrc/market.rs:174method31301.4
str_fieldsrc/market.rs:435fn31501.4
offer_create_handlersrc/market.rs:456fn5942121.3
offer_list_handlersrc/market.rs:518fn292241.3
offer_get_handlersrc/market.rs:549fn141241.3
offer_fill_handlersrc/market.rs:565fn6372121.3
offer_cancel_handlersrc/market.rs:632fn5272101.3
offer_targetsrc/market.rs:270fn31201.2
parse_offersrc/market.rs:253fn141241.2
load_offersrc/market.rs:240fn31531.1
validate_offersrc/market.rs:221fn136321.1
fill_groupsrc/market.rs:343fn701431.1
upsert_offersrc/market.rs:235fn41531
validate_assetsrc/market.rs:209fn113101
build_open_receiptsrc/market.rs:296fn161420.9
fill_group_idsrc/market.rs:336fn31200.9
available_balancesrc/market.rs:419fn81500.9
list_offerssrc/market.rs:244fn81220.9
energy_offer_open_contractsrc/market.rs:276fn71430.8
energy_offer_cancel_contractsrc/market.rs:285fn81430.8
callersrc/market.rs:430fn41310.8
build_cancel_receiptsrc/market.rs:315fn151320.8
graphsrc/market.rs:702fn31200.7
i64_fieldsrc/market.rs:440fn73100.6
EnergyOffer::is_opensrc/market.rs:168method31000.5
EnergyOffer::propssrc/market.rs:178method141000.5
offer_jsonsrc/market.rs:686fn82010.5
round_trip_preserves_trade_statesrc/market.rs:711fn101050.5
validation_refuses_unpriced_unowned_and_non_energy_lotssrc/market.rs:723fn271020.5
the_open_contract_reserves_exactly_the_offered_watt_hourssrc/market.rs:752fn162040.5
the_cancel_contract_releases_back_to_the_sellersrc/market.rs:770fn122040.5
market_contracts_do_not_cross_bindsrc/market.rs:786fn101060.5
receipt_timestamps_are_derived_from_the_offer_never_the_clocksrc/market.rs:800fn81030.5
the_fill_group_swaps_both_sides_and_conserves_every_assetsrc/market.rs:810fn272020.5
the_group_id_and_receipt_repeat_for_the_same_offer_and_buyersrc/market.rs:839fn101020.5
participants_must_be_attributablesrc/market.rs:851fn71010.5
price_per_kwh_is_the_comparable_numbersrc/market.rs:860fn71020.5
listing_is_newest_first_and_ids_split_on_every_termsrc/market.rs:869fn201050.5

Source not readable from this process.