Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-credit/src/exact.rs

cre8-app-credit · module exact · src · 249 lines (172 code, 52 comment) · sha 7b1de931c4567331

Items

const YEAR_MS const BPS const MAX_RATE_BPS struct Share

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
integer_unitssrc/exact.rs:150fn33202.2
to_i64src/exact.rs:121fn31301.6
amount_owedsrc/exact.rs:36fn61221.4
interest_ceilsrc/exact.rs:27fn74221.3
optional_unitssrc/exact.rs:138fn102411.3
pro_ratasrc/exact.rs:70fn277431.2
holdingssrc/exact.rs:187fn31301.1
default_slashsrc/exact.rs:115fn41301.1
collateral_for_ratiosrc/exact.rs:45fn41211
largest_holdersrc/exact.rs:100fn104100.8
positive_unitssrc/exact.rs:128fn82410.8
interest_rounds_up_against_the_borrowersrc/exact.rs:160fn191020.5
ratio_collateral_rounds_upsrc/exact.rs:181fn51010.5
pro_rata_floors_each_holder_and_gives_the_remainder_to_the_largestsrc/exact.rs:192fn121020.5
partial_coverage_leaves_the_remainder_for_the_units_still_outsrc/exact.rs:206fn91020.5
a_pool_smaller_than_the_supply_pays_dust_to_the_largest_onlysrc/exact.rs:217fn41020.5
default_slash_is_logarithmic_and_never_zerosrc/exact.rs:223fn101010.5
request_amounts_must_be_positive_integerssrc/exact.rs:235fn142030.5

Source not readable from this process.