Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,913 · python 20,426 · 6,405 files · digest 00b5738199cb · built in 1.5 s · crystals off

crates/cre8-app-agent/src/rep.rs

cre8-app-agent · module rep · src · 902 lines (542 code, 273 comment) · sha bf0d5770ab8c6cd2

Items

const REP_ASSET const REP_DIMENSION_PREFIX_MID const REP_BURN_SUFFIX const REP_CONTRACT_ID const REP_MINT_INTENT enum RepMintReason impl RepMintReason struct RepLedgerEntry const REVOKE_UNATTESTED_PENALTY const DELEGATION_BREACH_PENALTY const REP_SLASH_CONTRACT_ID const REP_SLASH_INTENT const REP_SLASH_ACTOR

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
rep_balancesrc/rep.rs:162fn1232226.1
is_rep_burn_assetsrc/rep.rs:108fn31304
RepMintReason::domainsrc/rep.rs:207method156423.2
rep_dimension_prefixsrc/rep.rs:95fn31103.1
credit_rep_assetsrc/rep.rs:137fn92422.4
rep_dimension_assetsrc/rep.rs:90fn311002.1
slash_rep_for_reasonsrc/rep.rs:398fn245431.9
RepMintReason::is_ballot_reasonsrc/rep.rs:223method31101.8
RepMintReason::is_delegation_reasonsrc/rep.rs:227method31101.8
fresh_ledgersrc/rep.rs:509fn311011.8
mint_rep_for_reasonsrc/rep.rs:269fn182641.7
credit_repsrc/rep.rs:132fn311011.6
rep_policysrc/rep.rs:123fn31101.5
RepMintReason::dimensionsrc/rep.rs:235method106211.5
rep_slash_receiptsrc/rep.rs:365fn161221.5
rep_slash_contractsrc/rep.rs:352fn71531
rep_contractsrc/rep.rs:474fn51521
context_with_real_chokepointsrc/rep.rs:517fn3015141
burn_rep_for_breachsrc/rep.rs:438fn141410.9
rep_burn_contractsrc/rep.rs:490fn71330.8
apply_rep_awardssrc/rep.rs:295fn204210.8
balance_ofsrc/rep.rs:548fn31300.7
burn_rep_for_unattested_revokesrc/rep.rs:423fn141110.6
credit_rep_increments_balancesrc/rep.rs:555fn71030.5
credit_rep_zero_is_noopsrc/rep.rs:564fn51030.5
credit_rep_negative_can_drive_below_zerosrc/rep.rs:571fn61030.5
mint_for_reason_records_audit_row_with_balancesrc/rep.rs:581fn231030.5
rep_balance_sums_flat_and_dimensionalsrc/rep.rs:606fn211040.5
apply_awards_consumes_ballot_resolve_outputssrc/rep.rs:631fn161030.5
apply_awards_skips_zero_amountssrc/rep.rs:649fn71030.5
burn_suffix_matches_the_shared_helpersrc/rep.rs:660fn91030.5
rep_balance_subtracts_the_burn_twinsrc/rep.rs:671fn121050.5
rep_balance_does_not_clamp_so_the_negative_rep_warning_still_firessrc/rep.rs:685fn91050.5
mint_rep_for_reason_rejects_negative_amountssrc/rep.rs:696fn151030.5
burn_rep_for_unattested_revoke_decrementssrc/rep.rs:713fn141070.5
burn_rep_for_breach_targets_granteesrc/rep.rs:729fn121040.5
breach_slash_lands_on_the_burn_twin_not_the_positive_pathsrc/rep.rs:743fn181060.5
slash_without_a_chokepoint_is_an_error_not_a_silent_skipsrc/rep.rs:763fn101030.5
slash_rejects_a_negative_magnitudesrc/rep.rs:775fn71030.5
re_slashing_the_same_event_is_replay_safesrc/rep.rs:784fn191050.5
slash_receipt_is_system_actored_and_hashes_over_the_eventsrc/rep.rs:805fn221010.5
slash_contract_mints_the_burn_twin_via_the_shared_helpersrc/rep.rs:829fn121020.5
rep_contract_resolves_explicit_mint_receiptsrc/rep.rs:845fn171030.5
rep_burn_contract_resolves_explicit_burn_receiptsrc/rep.rs:864fn151030.5
flat_rep_receipt_no_longer_matches_v2_contractsrc/rep.rs:881fn71030.5
reason_domain_tagging_buckets_correctlysrc/rep.rs:892fn101010.5

Source not readable from this process.