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-energy/src/credit.rs
Items
const ENERGY_CREDIT_CONTRACT_ID const ENERGY_CREDIT_INTENT const ENERGY_ASSET_PATTERN const ENERGY_ASSET_PREFIX const ENERGY_CREDIT_ENABLED_ENV const MAX_BUCKETS_PER_RECEIPT const MAX_RECEIPTS_PER_PASS const MIDSUMMER_UTC
Functions
By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| deterministic_ts_from_refsrc/credit.rs:98 | fn | 3 | 1 | 5 | 0 | 2 | |
| settle_all_atsrc/credit.rs:298 | fn | 65 | 12 | 5 | 6 | 1.5 | |
| settle_allsrc/credit.rs:292 | fn | 4 | 1 | 1 | 2 | 1.1 | |
| owned_sitesrc/credit.rs:372 | fn | 6 | 1 | 4 | 1 | 1.1 | |
| energy_generation_contractsrc/credit.rs:84 | fn | 7 | 1 | 6 | 1 | 1 | |
| generation_receiptsrc/credit.rs:125 | fn | 26 | 1 | 4 | 3 | 1 | |
| settle_refsrc/credit.rs:105 | fn | 3 | 1 | 2 | 0 | 0.9 | |
| skip_reasonsrc/credit.rs:111 | fn | 10 | 4 | 2 | 0 | 0.8 | |
| energy_credit_enabledsrc/credit.rs:70 | fn | 6 | 1 | 1 | 1 | 0.7 | |
| settle_sitesrc/credit.rs:227 | fn | 60 | 9 | 1 | 6 | 0.7 | |
| commit_generation_receiptsrc/credit.rs:156 | fn | 64 | 9 | 1 | 3 | 0.6 | |
| contract_matches_and_binds_the_receipt_the_settle_pass_buildssrc/credit.rs:380 | fn | 26 | 1 | 0 | 4 | 0.5 | |
| the_mint_pays_the_site_ownersrc/credit.rs:408 | fn | 11 | 1 | 0 | 4 | 0.5 | |
| settle_ref_anchors_on_the_interval_start_onlysrc/credit.rs:424 | fn | 11 | 1 | 0 | 3 | 0.5 | |
| ownerless_and_anonymous_sites_never_mintsrc/credit.rs:437 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| kill_switch_parsessrc/credit.rs:446 | fn | 9 | 2 | 0 | 0 | 0.5 |
Source not readable from this process.