Skip to content
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

cre8-app-credential · module contract · src · 161 lines (122 code, 19 comment) · sha b8aaa9820df2ef4c

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
asset_partssrc/contract.rs:59fn72222.9
receiptsrc/contract.rs:73fn181211.8
kindsrc/contract.rs:41fn84101.7
segmentsrc/contract.rs:52fn55101.7
asset_idsrc/contract.rs:68fn41611.1
build_issue_receiptsrc/contract.rs:95fn31310.9
credential_issue_contractsrc/contract.rs:27fn41330.8
credential_revoke_contractsrc/contract.rs:32fn71340.8
course_credentialsrc/contract.rs:109fn51320.8
build_revoke_receiptsrc/contract.rs:100fn31210.6
issuing_mints_one_unit_of_the_course_asset_to_the_holdersrc/contract.rs:116fn191060.5
revoking_burns_the_same_asset_from_the_holdersrc/contract.rs:137fn101060.5
a_repeated_claim_builds_the_same_receiptsrc/contract.rs:149fn41020.5
a_source_id_cannot_add_a_path_segment_and_a_grant_is_keyed_by_its_idsrc/contract.rs:155fn61020.5

Source not readable from this process.