rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off
cre8-app-value-allocation value cargo crate
ValueAllocationApp — the load-bearing 'value ballot'. A storeless composite that turns a vote into a value allocation from a COMMONS POOL: reserve a pool under ref_id = allocation_id, forward votes to Ballot/Proposal by name (no tally reimpl), and on PASS settle the pool to winners (weighted split) or on FAIL release it — all through the Manifold commit seam. (2026-07-05).
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Declared but never named in this crate's source: cre8-runtime-core (normal).
Files
File call graph
Resolved calls between this crate's files, callers left of callees.
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 84 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| allocation_targetsrc/contract.rs:38 | fn | 3 | 1 | 3 | 0 | 2.7 | |
| connectsrc/connection.rs:78 | fn | 16 | 7 | 8 | 6 | 2.2 | |
| weighted_sharessrc/connection.rs:398 | fn | 34 | 7 | 4 | 0 | 1.9 | |
| utc_daysrc/allowance.rs:63 | fn | 3 | 1 | 2 | 0 | 1.8 | |
| pool_opensrc/connection.rs:103 | fn | 46 | 3 | 4 | 6 | 1.5 | |
| all_contractssrc/contract.rs:77 | fn | 3 | 1 | 3 | 4 | 1.5 | |
| listsrc/connection.rs:313 | fn | 13 | 1 | 2 | 0 | 1.4 | |
| settlesrc/connection.rs:195 | fn | 76 | 6 | 3 | 10 | 1.3 | |
| receiptsrc/allowance.rs:75 | fn | 6 | 1 | 6 | 3 | 1.3 | |
| votesrc/connection.rs:156 | fn | 22 | 2 | 2 | 2 | 1.3 | |
| getsrc/connection.rs:277 | fn | 15 | 2 | 2 | 3 | 1.3 | |
| compose_getsrc/connection.rs:295 | fn | 13 | 1 | 2 | 0 | 1.3 | |
| claim_outcomesrc/allowance.rs:163 | fn | 17 | 8 | 3 | 2 | 1.2 | |
| enginesrc/contract.rs:160 | fn | 3 | 1 | 3 | 2 | 1.1 | |
| claim_atsrc/allowance.rs:104 | fn | 12 | 2 | 4 | 7 | 1.1 | |
| rolling_window_reopens_atsrc/allowance.rs:122 | fn | 9 | 4 | 2 | 1 | 1 | |
| Chokepoint::newsrc/allowance.rs:259 | method | 37 | 1 | 8 | 9 | 1 | |
| commit_is_replaysrc/connection.rs:335 | fn | 4 | 2 | 2 | 0 | 1 | |
| winners_from_tallysrc/connection.rs:356 | fn | 37 | 9 | 2 | 0 | 1 | |
| is_voice_mintsrc/allowance.rs:181 | fn | 3 | 2 | 1 | 0 | 1 | |
| claimsrc/allowance.rs:100 | fn | 3 | 1 | 3 | 2 | 0.9 | |
| build_pool_open_receiptsrc/contract.rs:84 | fn | 21 | 1 | 2 | 1 | 0.9 | |
| contractsrc/allowance.rs:56 | fn | 5 | 1 | 2 | 3 | 0.9 | |
| claim_idempotency_keysrc/allowance.rs:69 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| require_fundersrc/connection.rs:66 | fn | 6 | 2 | 2 | 0 | 0.8 | |
| i64_fieldsrc/connection.rs:74 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| build_settle_receiptsrc/contract.rs:108 | fn | 23 | 1 | 2 | 1 | 0.8 | |
| build_release_receiptsrc/contract.rs:133 | fn | 21 | 1 | 2 | 1 | 0.8 | |
| pool_open_contractsrc/contract.rs:43 | fn | 7 | 1 | 1 | 4 | 0.8 | |
| settle_contractsrc/contract.rs:54 | fn | 10 | 1 | 1 | 4 | 0.8 | |
| release_contractsrc/contract.rs:67 | fn | 7 | 1 | 1 | 4 | 0.8 | |
| allowance_cap_rulesrc/init.rs:12 | fn | 10 | 1 | 3 | 0 | 0.8 | |
| ensure_allowance_capsrc/init.rs:28 | fn | 11 | 2 | 3 | 5 | 0.8 | |
| voicesrc/allowance.rs:387 | fn | 3 | 1 | 4 | 0 | 0.7 | |
| handle_value_allocation_pool_opensrc/connection.rs:435 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| handle_value_allocation_listsrc/connection.rs:451 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| voice_contractsrc/init.rs:45 | fn | 3 | 1 | 2 | 2 | 0.7 | |
| voice_inflowssrc/allowance.rs:133 | fn | 15 | 1 | 1 | 2 | 0.6 | |
| commit_claimsrc/allowance.rs:153 | fn | 7 | 1 | 1 | 2 | 0.6 | |
| claim_replysrc/allowance.rs:185 | fn | 37 | 6 | 1 | 0 | 0.6 |
Outside the workspace
anyhow hyperdb serde_json