1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
crates/cre8-app-emulation/src/cycle_economy.rs
Items
const CYCLES_PER_UNIT const BASE_PRICE_PER_UNIT const EMULATOR_CYCLES_CONTRACT_ID const INTENT_EMULATOR_CYCLES struct CycleReceipt impl CycleReceipt
Functions
By call-graph weight (PageRank; 1.0 is the average function). 23 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| rom_hashsrc/cycle_economy.rs:215 | fn | 3 | 1 | 8 | 1 | 4.1 | |
| CycleReceipt::unitssrc/cycle_economy.rs:94 | method | 3 | 1 | 5 | 0 | 2 | |
| fixed_receiptsrc/cycle_economy.rs:250 | fn | 15 | 1 | 6 | 0 | 1.7 | |
| build_stark_attestation_stubsrc/cycle_economy.rs:226 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| CycleReceipt::amountsrc/cycle_economy.rs:100 | method | 3 | 1 | 5 | 1 | 1.1 | |
| emulator_cycles_contractsrc/cycle_economy.rs:172 | fn | 13 | 1 | 4 | 2 | 1.1 | |
| stark_attest_enabledsrc/cycle_economy.rs:221 | fn | 3 | 1 | 2 | 1 | 1 | |
| CycleReceipt::is_self_runsrc/cycle_economy.rs:107 | method | 6 | 2 | 5 | 0 | 0.9 | |
| now_system_timesrc/cycle_economy.rs:238 | fn | 3 | 1 | 2 | 0 | 0.9 | |
| CycleReceipt::rom_hash_hexsrc/cycle_economy.rs:115 | method | 3 | 1 | 2 | 1 | 0.8 | |
| system_time_to_mssrc/cycle_economy.rs:232 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| CycleReceipt::into_intent_receiptsrc/cycle_economy.rs:122 | method | 36 | 1 | 0 | 4 | 0.5 | |
| emulator_cycles_charged_contractsrc/cycle_economy.rs:190 | fn | 19 | 1 | 0 | 3 | 0.5 | |
| constants_stablesrc/cycle_economy.rs:267 | fn | 6 | 1 | 0 | 0 | 0.5 | |
| units_computed_from_total_stepssrc/cycle_economy.rs:275 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| under_one_unit_amount_is_zerosrc/cycle_economy.rs:282 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| self_run_when_requester_missing_or_equal_runnersrc/cycle_economy.rs:289 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| rom_hash_hex_is_64_lowercase_hex_charssrc/cycle_economy.rs:296 | fn | 7 | 2 | 0 | 2 | 0.5 | |
| into_intent_receipt_preserves_runner_and_amountsrc/cycle_economy.rs:305 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| engine_resolves_cycles_to_contract_and_mints_runner_creditsrc/cycle_economy.rs:322 | fn | 16 | 1 | 0 | 3 | 0.5 | |
| engine_misses_unrelated_intentssrc/cycle_economy.rs:340 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| rom_hash_is_deterministicsrc/cycle_economy.rs:347 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| stark_stub_has_expected_markersrc/cycle_economy.rs:356 | fn | 3 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.