Skip to content
1 viewer

rust 1,863,595 · typescript 235,976 · javascript 133,240 · python 20,426 · 6,417 files · digest b3b8c6dd2bb2 · built in 2.5 s · crystals off

crates/cre8-app-manifold/src/rules.rs

cre8-app-manifold · module rules · src · 1,237 lines (936 code, 185 comment) · sha 1be8f30452d873a0

Items

enum ManifoldRule enum EmissionCurve enum RecipientSelector impl RecipientSelector enum FlowDirection impl Default for FlowDirection enum CapScope impl CapScope struct Grant struct AccrualReport struct AccrualState impl AccrualState struct PeerContext struct MintRuleInput enum MintRuleAccrual struct MintGrantTiming struct FlowHistory impl FlowHistory struct CapDenial impl Display for CapDenial impl Error for CapDenial enum ScopeKey type HistoryLookup const DAY_MS const HOUR_MS const WEEK_MS

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
AccrualState::newsrc/rules.rs:200method311402.5
check_capssrc/rules.rs:535fn5561232.3
ctxsrc/rules.rs:604fn811702.1
no_attrssrc/rules.rs:600fn311602
FlowHistory::newsrc/rules.rs:456method311201.7
accrue_peersrc/rules.rs:256fn1641021.7
scope_keysrc/rules.rs:503fn175201.5
FlowHistory::sum_in_windowsrc/rules.rs:465method32201.4
RecipientSelector::specificsrc/rules.rs:115method31401.3
FlowHistory::with_eventsrc/rules.rs:460method41901.3
mint_rule_inputsrc/rules.rs:273fn251101.2
accrue_mint_rulesrc/rules.rs:299fn295141.2
RecipientSelector::peers_with_rolesrc/rules.rs:110method31201
RecipientSelector::vm_programsrc/rules.rs:120method31100.9
eval_half_life_curvesrc/rules.rs:416fn133100.8
eval_exponential_curvesrc/rules.rs:430fn133100.8
capped_amountsrc/rules.rs:369fn62100.8
eval_curvesrc/rules.rs:398fn175120.8
mint_grant_timingsrc/rules.rs:329fn295120.8
mint_window_skip_reasonsrc/rules.rs:359fn93100.8
periods_paid_forsrc/rules.rs:376fn103100.8
recipient_matchessrc/rules.rs:387fn104100.8
CapScope::per_rolesrc/rules.rs:163method31300.7
FlowDirection::defaultsrc/rules.rs:135trait impl31000.5
AccrualState::getsrc/rules.rs:204method31000.5
AccrualState::recordsrc/rules.rs:209method31000.5
CapDenial::fmtsrc/rules.rs:482trait impl71000.5
one_universal_per_day_legacy_patternsrc/rules.rs:616fn241040.5
accrual_cap_limits_stockpilesrc/rules.rs:642fn201040.5
stockpile_full_skips_with_diagnosticsrc/rules.rs:664fn181040.5
role_gated_mintsrc/rules.rs:684fn211050.5
half_life_curve_produces_diminishing_grantssrc/rules.rs:707fn281040.5
partial_mint_advances_last_ts_preciselysrc/rules.rs:737fn271040.5
validity_window_gates_mintsrc/rules.rs:766fn291040.5
lifetime_capped_curvesrc/rules.rs:797fn191040.5
overlapping_5h_and_1w_capssrc/rules.rs:820fn521050.5
weekly_cap_blocks_after_burst_window_slidessrc/rules.rs:874fn331050.5
mint_direction_cap_throttles_accrual_sidesrc/rules.rs:909fn341050.5
per_role_scope_applies_only_to_memberssrc/rules.rs:945fn271050.5
attribute_scope_groups_peers_sharing_valuesrc/rules.rs:974fn644040.5
global_scope_shared_across_all_peerssrc/rules.rs:1040fn312050.5
pattern_asset_paths_match_concrete_assetsrc/rules.rs:1073fn571050.5
literal_asset_paths_still_match_after_pattern_upgradesrc/rules.rs:1132fn421050.5
recipient_selector_peers_with_role_round_trips_through_jsonsrc/rules.rs:1183fn91010.5
recipient_selector_specific_round_trips_through_jsonsrc/rules.rs:1194fn91010.5
recipient_selector_vm_program_round_trips_through_jsonsrc/rules.rs:1205fn91010.5
zero_and_negative_pending_are_always_allowedsrc/rules.rs:1216fn211050.5

Source not readable from this process.