1 viewer
rust 1,879,476 · typescript 232,735 · javascript 134,783 · python 22,539 · 6,525 files · digest 168195fc00b0 · built in 13.1 s · crystals off
crates/cre8-app-credential/src/contract.rs
Items
const CREDENTIAL_ISSUE_CONTRACT_ID const CREDENTIAL_REVOKE_CONTRACT_ID const INTENT_CREDENTIAL_ISSUE const INTENT_CREDENTIAL_REVOKE const CREDENTIAL_UNIT const TARGET_PATTERN const EARNED_ASSET
Functions
By call-graph weight (PageRank; 1.0 is the average function). 14 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| asset_partssrc/contract.rs:59 | fn | 7 | 2 | 2 | 2 | 2.9 | |
| receiptsrc/contract.rs:73 | fn | 18 | 1 | 2 | 1 | 1.8 | |
| kindsrc/contract.rs:41 | fn | 8 | 4 | 1 | 0 | 1.7 | |
| segmentsrc/contract.rs:52 | fn | 5 | 5 | 1 | 0 | 1.7 | |
| asset_idsrc/contract.rs:68 | fn | 4 | 1 | 6 | 1 | 1.1 | |
| build_issue_receiptsrc/contract.rs:95 | fn | 3 | 1 | 3 | 1 | 0.9 | |
| credential_issue_contractsrc/contract.rs:27 | fn | 4 | 1 | 3 | 3 | 0.8 | |
| credential_revoke_contractsrc/contract.rs:32 | fn | 7 | 1 | 3 | 4 | 0.8 | |
| course_credentialsrc/contract.rs:109 | fn | 5 | 1 | 3 | 2 | 0.8 | |
| build_revoke_receiptsrc/contract.rs:100 | fn | 3 | 1 | 2 | 1 | 0.6 | |
| issuing_mints_one_unit_of_the_course_asset_to_the_holdersrc/contract.rs:116 | fn | 19 | 1 | 0 | 6 | 0.5 | |
| revoking_burns_the_same_asset_from_the_holdersrc/contract.rs:137 | fn | 10 | 1 | 0 | 6 | 0.5 | |
| a_repeated_claim_builds_the_same_receiptsrc/contract.rs:149 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| a_source_id_cannot_add_a_path_segment_and_a_grant_is_keyed_by_its_idsrc/contract.rs:155 | fn | 6 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.