1 viewer
rust 1,859,748 · typescript 235,215 · javascript 132,950 · python 20,426 · 6,405 files · digest 9ba5c926519d · built in 1.7 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:243 | fn | 8 | 1 | 8 | 0 | 4.1 | |
| CycleReceipt::unitssrc/cycle_economy.rs:106 | method | 3 | 1 | 5 | 0 | 2 | |
| fixed_receiptsrc/cycle_economy.rs:284 | fn | 15 | 1 | 6 | 0 | 1.8 | |
| build_stark_attestation_stubsrc/cycle_economy.rs:260 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| CycleReceipt::amountsrc/cycle_economy.rs:112 | method | 3 | 1 | 5 | 1 | 1.1 | |
| emulator_cycles_contractsrc/cycle_economy.rs:198 | fn | 13 | 1 | 4 | 2 | 1.1 | |
| stark_attest_enabledsrc/cycle_economy.rs:254 | fn | 3 | 1 | 2 | 1 | 1 | |
| CycleReceipt::is_self_runsrc/cycle_economy.rs:119 | method | 6 | 2 | 5 | 0 | 0.9 | |
| now_system_timesrc/cycle_economy.rs:272 | fn | 3 | 1 | 2 | 0 | 0.9 | |
| CycleReceipt::rom_hash_hexsrc/cycle_economy.rs:127 | method | 8 | 2 | 2 | 0 | 0.8 | |
| system_time_to_mssrc/cycle_economy.rs:266 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| CycleReceipt::into_intent_receiptsrc/cycle_economy.rs:139 | method | 38 | 1 | 0 | 4 | 0.5 | |
| emulator_cycles_charged_contractsrc/cycle_economy.rs:218 | fn | 19 | 1 | 0 | 3 | 0.5 | |
| constants_stablesrc/cycle_economy.rs:301 | fn | 6 | 1 | 0 | 0 | 0.5 | |
| units_computed_from_total_stepssrc/cycle_economy.rs:309 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| under_one_unit_amount_is_zerosrc/cycle_economy.rs:316 | fn | 5 | 1 | 0 | 3 | 0.5 | |
| self_run_when_requester_missing_or_equal_runnersrc/cycle_economy.rs:323 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| rom_hash_hex_is_64_lowercase_hex_charssrc/cycle_economy.rs:330 | fn | 7 | 2 | 0 | 2 | 0.5 | |
| into_intent_receipt_preserves_runner_and_amountsrc/cycle_economy.rs:339 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| engine_resolves_cycles_to_contract_and_mints_runner_creditsrc/cycle_economy.rs:356 | fn | 16 | 1 | 0 | 3 | 0.5 | |
| engine_misses_unrelated_intentssrc/cycle_economy.rs:374 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| rom_hash_is_deterministicsrc/cycle_economy.rs:381 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| stark_stub_has_expected_markersrc/cycle_economy.rs:390 | fn | 3 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.