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-wallet/src/welcome_grant.rs
Items
const CONNECTION const ROUTE const ASSET_ID const MINOR_PER_CRE8 const AMOUNT_ENV const DAILY_CAP_ENV const DEFAULT_DAILY_CAP const MIN_ACCOUNT_AGE_ENV const RECEIPT_NAMESPACE const INTENT const REPLAY_KEY_PREFIX const DAY_MS const LABEL const DDL struct WelcomeGrantConfig impl WelcomeGrantConfig struct WelcomeGrantRecord struct WelcomeGrantStatus impl WelcomeGrantStatus enum GrantOutcome impl GrantOutcome const JUNE_5 const SUPPLY const ISSUER const ON const NOW struct Ledger impl Ledger impl Drop for Ledger
Functions
By call-graph weight (PageRank; 1.0 is the average function). 53 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| parse_wholesrc/welcome_grant.rs:127 | fn | 7 | 3 | 2 | 0 | 2.2 | |
| grant_withsrc/welcome_grant.rs:299 | fn | 9 | 2 | 12 | 4 | 1.7 | |
| parse_countsrc/welcome_grant.rs:138 | fn | 3 | 1 | 2 | 1 | 1.4 | |
| WelcomeGrantConfig::enabledsrc/welcome_grant.rs:120 | method | 3 | 1 | 3 | 0 | 1.4 | |
| load_grantsrc/welcome_grant.rs:483 | fn | 21 | 1 | 7 | 4 | 1.4 | |
| amount_labelsrc/welcome_grant.rs:196 | fn | 7 | 3 | 3 | 0 | 1.4 | |
| receiptsrc/welcome_grant.rs:515 | fn | 19 | 1 | 3 | 1 | 1.3 | |
| Ledger::newsrc/welcome_grant.rs:716 | method | 11 | 1 | 10 | 2 | 1.3 | |
| balancesrc/welcome_grant.rs:743 | fn | 3 | 1 | 10 | 1 | 1.3 | |
| rfc3339_mssrc/welcome_grant.rs:145 | fn | 39 | 12 | 3 | 2 | 1.2 | |
| WelcomeGrantConfig::from_settingssrc/welcome_grant.rs:112 | method | 7 | 1 | 2 | 2 | 1.2 | |
| WelcomeGrantConfig::from_envsrc/welcome_grant.rs:102 | method | 7 | 1 | 3 | 2 | 1.2 | |
| grant_accountsrc/welcome_grant.rs:272 | fn | 13 | 3 | 4 | 3 | 1.2 | |
| grantsrc/welcome_grant.rs:294 | fn | 3 | 1 | 2 | 3 | 1.1 | |
| Ledger::callersrc/welcome_grant.rs:732 | method | 3 | 1 | 8 | 2 | 1.1 | |
| days_from_civilsrc/welcome_grant.rs:186 | fn | 8 | 2 | 1 | 0 | 1 | |
| transaction_recordsrc/welcome_grant.rs:450 | fn | 14 | 1 | 1 | 0 | 1 | |
| Ledger::contextsrc/welcome_grant.rs:728 | method | 3 | 1 | 1 | 1 | 1 | |
| ensure_tablessrc/welcome_grant.rs:319 | fn | 5 | 1 | 2 | 2 | 1 | |
| status_withsrc/welcome_grant.rs:314 | fn | 4 | 1 | 4 | 2 | 0.9 | |
| settlesrc/welcome_grant.rs:326 | fn | 28 | 6 | 1 | 10 | 0.8 | |
| commit_receiptsrc/welcome_grant.rs:538 | fn | 20 | 4 | 1 | 3 | 0.8 | |
| replysrc/welcome_grant.rs:559 | fn | 37 | 5 | 1 | 2 | 0.8 | |
| WelcomeGrantStatus::claimablesrc/welcome_grant.rs:228 | method | 3 | 2 | 3 | 1 | 0.7 | |
| handle_welcome_grantsrc/welcome_grant.rs:288 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| grants_on_daysrc/welcome_grant.rs:505 | fn | 7 | 1 | 1 | 3 | 0.7 | |
| utc_daysrc/welcome_grant.rs:205 | fn | 3 | 1 | 2 | 0 | 0.6 | |
| install_chokepointsrc/welcome_grant.rs:929 | fn | 16 | 1 | 1 | 7 | 0.6 | |
| account_age_refusalsrc/welcome_grant.rs:359 | fn | 16 | 2 | 1 | 2 | 0.6 | |
| classify_refusalsrc/welcome_grant.rs:379 | fn | 17 | 5 | 1 | 3 | 0.6 | |
| grant_statementssrc/welcome_grant.rs:400 | fn | 48 | 1 | 1 | 1 | 0.6 | |
| issuersrc/welcome_grant.rs:467 | fn | 14 | 1 | 1 | 2 | 0.6 | |
| account_createdsrc/welcome_grant.rs:863 | fn | 10 | 1 | 1 | 3 | 0.6 | |
| GrantOutcome::reasonsrc/welcome_grant.rs:256 | method | 12 | 8 | 0 | 0 | 0.5 | |
| statussrc/welcome_grant.rs:310 | fn | 3 | 1 | 0 | 2 | 0.5 | |
| counts_parse_strictly_and_fail_closedsrc/welcome_grant.rs:602 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| the_daily_cap_defaults_on_and_only_an_explicit_zero_lifts_itsrc/welcome_grant.rs:614 | fn | 15 | 2 | 0 | 2 | 0.5 | |
| account_stamps_read_as_rfc3339src/welcome_grant.rs:631 | fn | 16 | 2 | 0 | 1 | 0.5 | |
| amounts_read_in_whole_cre8src/welcome_grant.rs:649 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| one_grant_has_one_receipt_identitysrc/welcome_grant.rs:657 | fn | 16 | 1 | 0 | 1 | 0.5 | |
| no_contract_resolves_the_grant_receiptsrc/welcome_grant.rs:675 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| grant_requires_a_verified_callersrc/welcome_grant.rs:689 | fn | 6 | 1 | 0 | 4 | 0.5 | |
| Ledger::dropsrc/welcome_grant.rs:738 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| disabled_grant_moves_nothingsrc/welcome_grant.rs:748 | fn | 10 | 1 | 0 | 6 | 0.5 | |
| first_grant_moves_issuer_supply_to_the_callersrc/welcome_grant.rs:760 | fn | 29 | 1 | 0 | 10 | 0.5 | |
| a_second_claim_is_a_no_opsrc/welcome_grant.rs:791 | fn | 17 | 1 | 0 | 4 | 0.5 | |
| concurrent_claims_pay_oncesrc/welcome_grant.rs:810 | fn | 18 | 1 | 0 | 5 | 0.5 | |
| the_daily_cap_counts_grants_per_utc_daysrc/welcome_grant.rs:830 | fn | 16 | 1 | 0 | 5 | 0.5 | |
| an_issuer_without_the_amount_pays_nothingsrc/welcome_grant.rs:848 | fn | 13 | 1 | 0 | 6 | 0.5 | |
| a_minimum_age_admits_only_accounts_old_enough_to_show_itsrc/welcome_grant.rs:875 | fn | 27 | 2 | 0 | 7 | 0.5 | |
| the_issuer_has_no_welcome_grantsrc/welcome_grant.rs:904 | fn | 7 | 1 | 0 | 4 | 0.5 | |
| the_grant_survives_the_wallet_request_hooksrc/welcome_grant.rs:913 | fn | 13 | 1 | 0 | 5 | 0.5 | |
| the_grant_receipt_commits_once_and_mints_nothingsrc/welcome_grant.rs:947 | fn | 19 | 1 | 0 | 5 | 0.5 |
Source not readable from this process.