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-agent/src/rep.rs

cre8-app-agent · module rep · src · 904 lines (542 code, 275 comment) · sha 0ff48d997de95d0a

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:164fn1232226
is_rep_burn_assetsrc/rep.rs:110fn31304
RepMintReason::domainsrc/rep.rs:209method156423.2
rep_dimension_prefixsrc/rep.rs:97fn31103.1
credit_rep_assetsrc/rep.rs:139fn92422.4
rep_dimension_assetsrc/rep.rs:92fn311002.1
slash_rep_for_reasonsrc/rep.rs:400fn245431.9
RepMintReason::is_ballot_reasonsrc/rep.rs:225method31101.8
RepMintReason::is_delegation_reasonsrc/rep.rs:229method31101.8
fresh_ledgersrc/rep.rs:511fn311011.7
mint_rep_for_reasonsrc/rep.rs:271fn182641.7
credit_repsrc/rep.rs:134fn311011.6
rep_policysrc/rep.rs:125fn31101.5
RepMintReason::dimensionsrc/rep.rs:237method106211.5
rep_slash_receiptsrc/rep.rs:367fn161221.5
rep_slash_contractsrc/rep.rs:354fn71531
rep_contractsrc/rep.rs:476fn51521
context_with_real_chokepointsrc/rep.rs:519fn3015140.9
burn_rep_for_breachsrc/rep.rs:440fn141410.9
rep_burn_contractsrc/rep.rs:492fn71330.8
apply_rep_awardssrc/rep.rs:297fn204210.8
balance_ofsrc/rep.rs:550fn31300.7
burn_rep_for_unattested_revokesrc/rep.rs:425fn141110.6
credit_rep_increments_balancesrc/rep.rs:557fn71030.5
credit_rep_zero_is_noopsrc/rep.rs:566fn51030.5
credit_rep_negative_can_drive_below_zerosrc/rep.rs:573fn61030.5
mint_for_reason_records_audit_row_with_balancesrc/rep.rs:583fn231030.5
rep_balance_sums_flat_and_dimensionalsrc/rep.rs:608fn211040.5
apply_awards_consumes_ballot_resolve_outputssrc/rep.rs:633fn161030.5
apply_awards_skips_zero_amountssrc/rep.rs:651fn71030.5
burn_suffix_matches_the_shared_helpersrc/rep.rs:662fn91030.5
rep_balance_subtracts_the_burn_twinsrc/rep.rs:673fn121050.5
rep_balance_does_not_clamp_so_the_negative_rep_warning_still_firessrc/rep.rs:687fn91050.5
mint_rep_for_reason_rejects_negative_amountssrc/rep.rs:698fn151030.5
burn_rep_for_unattested_revoke_decrementssrc/rep.rs:715fn141070.5
burn_rep_for_breach_targets_granteesrc/rep.rs:731fn121040.5
breach_slash_lands_on_the_burn_twin_not_the_positive_pathsrc/rep.rs:745fn181060.5
slash_without_a_chokepoint_is_an_error_not_a_silent_skipsrc/rep.rs:765fn101030.5
slash_rejects_a_negative_magnitudesrc/rep.rs:777fn71030.5
re_slashing_the_same_event_is_replay_safesrc/rep.rs:786fn191050.5
slash_receipt_is_system_actored_and_hashes_over_the_eventsrc/rep.rs:807fn221010.5
slash_contract_mints_the_burn_twin_via_the_shared_helpersrc/rep.rs:831fn121020.5
rep_contract_resolves_explicit_mint_receiptsrc/rep.rs:847fn171030.5
rep_burn_contract_resolves_explicit_burn_receiptsrc/rep.rs:866fn151030.5
flat_rep_receipt_no_longer_matches_v2_contractsrc/rep.rs:883fn71030.5
reason_domain_tagging_buckets_correctlysrc/rep.rs:894fn101010.5

Source not readable from this process.