Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off

crates/cre8-runtime-contracts/src/amount_template.rs

cre8-runtime-contracts · module amount_template · src · 119 lines (79 code, 28 comment) · sha 2cb7256a4396125c

Items

enum AmountTemplate impl AmountTemplate

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
AmountTemplate::literalsrc/amount_template.rs:43method312007.8
AmountTemplate::evaluatesrc/amount_template.rs:47method185000.5
amount_receipt_uses_receipt_amountsrc/amount_template.rs:73fn41010.5
amount_literal_ignores_receiptsrc/amount_template.rs:79fn41020.5
amount_scaled_70_percentsrc/amount_template.rs:85fn51010.5
amount_scaled_div_zero_yields_zerosrc/amount_template.rs:92fn51010.5
amount_payload_reads_integer_fieldsrc/amount_template.rs:99fn61010.5
amount_payload_missing_key_yields_zerosrc/amount_template.rs:107fn51010.5
amount_payload_non_numeric_yields_zerosrc/amount_template.rs:114fn51010.5

Source not readable from this process.