1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-runtime-contracts/src/intent_receipt.rs
Items
struct IntentReceipt struct SignedIntentReceipt impl SignedIntentReceipt trait ReceiptSigner impl IntentReceipt
Functions
By call-graph weight (PageRank; 1.0 is the average function). 19 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| IntentReceipt::recompute_hashsrc/intent_receipt.rs:202 | method | 41 | 5 | 17 | 0 | 35.9 | |
| IntentReceipt::newsrc/intent_receipt.rs:117 | method | 24 | 1 | 69 | 1 | 25 | |
| IntentReceipt::new_with_payloadsrc/intent_receipt.rs:145 | method | 25 | 1 | 32 | 1 | 6.9 | |
| IntentReceipt::with_idempotency_keysrc/intent_receipt.rs:193 | method | 5 | 1 | 11 | 1 | 5.1 | |
| canonical_bytes_for_signingsrc/intent_receipt.rs:110 | fn | 3 | 1 | 10 | 0 | 3.3 | |
| SignedIntentReceipt::unsignedsrc/intent_receipt.rs:95 | method | 3 | 1 | 8 | 0 | 2.9 | |
| SignedIntentReceipt::is_signedsrc/intent_receipt.rs:99 | method | 3 | 1 | 6 | 0 | 1.2 | |
| IntentReceipt::with_proofsrc/intent_receipt.rs:185 | method | 5 | 1 | 6 | 1 | 1.1 | |
| IntentReceipt::with_connectionsrc/intent_receipt.rs:171 | method | 5 | 1 | 0 | 1 | 0.5 | |
| IntentReceipt::with_payloadsrc/intent_receipt.rs:177 | method | 5 | 1 | 0 | 1 | 0.5 | |
| receipt_new_computes_hashsrc/intent_receipt.rs:250 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| receipt_hash_is_deterministicsrc/intent_receipt.rs:257 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| idempotency_key_changes_the_hash_and_its_absence_leaves_it_unchangedsrc/intent_receipt.rs:264 | fn | 11 | 1 | 0 | 3 | 0.5 | |
| receipt_hash_changes_with_amountsrc/intent_receipt.rs:277 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| receipt_hash_changes_with_targetsrc/intent_receipt.rs:284 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| receipt_hash_changes_with_payloadsrc/intent_receipt.rs:291 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| receipt_new_with_payload_matches_builder_hashsrc/intent_receipt.rs:299 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| receipt_with_connection_and_payload_chainedsrc/intent_receipt.rs:309 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| receipt_round_trips_through_jsonsrc/intent_receipt.rs:318 | fn | 7 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.