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-app-credential/src/contract.rs

cre8-app-credential · module contract · src · 167 lines (125 code, 22 comment) · sha c6433fa842679a05

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 const HOLDER const ISSUING_ACTOR

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
asset_partssrc/contract.rs:64fn72222.9
receiptsrc/contract.rs:78fn191211.8
kindsrc/contract.rs:46fn84101.7
segmentsrc/contract.rs:57fn55101.7
asset_idsrc/contract.rs:73fn41611.1
build_issue_receiptsrc/contract.rs:101fn31310.9
credential_issue_contractsrc/contract.rs:32fn41330.8
credential_revoke_contractsrc/contract.rs:37fn71340.8
course_credentialsrc/contract.rs:115fn51320.8
build_revoke_receiptsrc/contract.rs:106fn31210.6
issuing_mints_one_unit_of_the_course_asset_to_the_holdersrc/contract.rs:122fn191060.5
revoking_burns_the_same_asset_from_the_holdersrc/contract.rs:143fn101060.5
a_repeated_claim_builds_the_same_receiptsrc/contract.rs:155fn41020.5
a_source_id_cannot_add_a_path_segment_and_a_grant_is_keyed_by_its_idsrc/contract.rs:161fn61020.5

Source not readable from this process.