Skip to content
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-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:43method312208.2
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.