1 viewer
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-paper paper cargo crate
PaperApp: per-user paper trading accounts filled against live venue depth, internal books and option marks, with leverage, funding, expiry and liquidation; plus owner-gated, default-off routing to venue paper/testnet APIs. Paper never moves value.
18workspace deps
0direct dependents
0transitive dependents
268calls out
0calls in
213call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
lowhigh
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). 293 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| minor_scalesrc/model.rs:388 | fn | 3 | 1 | 10 | 0 | 3.2 | |
| hmac_sha256src/venue.rs:299 | fn | 5 | 1 | 2 | 1 | 3 | |
| cleansrc/authority.rs:37 | fn | 3 | 1 | 4 | 0 | 2.5 | |
| resolvesrc/instrument.rs:63 | fn | 35 | 12 | 14 | 2 | 2.1 | |
| nowsrc/tests.rs:34 | fn | 3 | 1 | 11 | 1 | 2.1 | |
| ratio_from_f64src/pricing.rs:83 | fn | 6 | 3 | 7 | 2 | 2 | |
| is_usd_familysrc/instrument.rs:198 | fn | 3 | 1 | 3 | 0 | 1.9 | |
| same_identitysrc/authority.rs:41 | fn | 4 | 2 | 3 | 1 | 1.8 | |
| PaperConfig::defaultsrc/model.rs:643 | trait impl | 9 | 1 | 5 | 0 | 1.8 | |
| text_fieldsrc/venue.rs:377 | fn | 7 | 4 | 3 | 0 | 1.8 | |
| minor_labelsrc/model.rs:400 | fn | 12 | 3 | 2 | 1 | 1.7 | |
| hmac_sha256_hexsrc/venue.rs:306 | fn | 3 | 1 | 4 | 1 | 1.6 | |
| adapterssrc/venue.rs:184 | fn | 3 | 1 | 4 | 0 | 1.6 | |
| PaperConfig::from_envsrc/model.rs:655 | method | 17 | 1 | 9 | 3 | 1.4 | |
| gatesrc/authority.rs:123 | fn | 8 | 1 | 5 | 0 | 1.4 | |
| load_accountsrc/model.rs:548 | fn | 3 | 1 | 11 | 2 | 1.4 | |
| internalsrc/instrument.rs:99 | fn | 28 | 2 | 1 | 1 | 1.4 | |
| externalsrc/instrument.rs:128 | fn | 50 | 7 | 1 | 6 | 1.4 | |
| CallerAuthority::identitysrc/authority.rs:58 | method | 9 | 4 | 2 | 1 | 1.4 | |
| account_vertex_idsrc/model.rs:521 | fn | 3 | 1 | 2 | 1 | 1.3 | |
| CallerAuthority::authorize_accountsrc/authority.rs:84 | method | 19 | 8 | 7 | 4 | 1.3 | |
| ratio_labelsrc/model.rs:414 | fn | 3 | 1 | 11 | 1 | 1.3 | |
| require_idsrc/model.rs:537 | fn | 3 | 2 | 4 | 0 | 1.3 | |
| moneysrc/view.rs:56 | fn | 3 | 1 | 5 | 1 | 1.3 | |
| SignedRequest::headersrc/venue.rs:112 | method | 3 | 1 | 4 | 0 | 1.3 | |
| apply_tradesrc/engine.rs:169 | fn | 91 | 12 | 10 | 10 | 1.2 | |
| hmac_sha256_base64src/venue.rs:311 | fn | 3 | 1 | 1 | 1 | 1.2 | |
| split_usd_pairsrc/instrument.rs:204 | fn | 14 | 8 | 3 | 1 | 1.2 | |
| check_requestsrc/venue.rs:259 | fn | 16 | 4 | 3 | 2 | 1.2 | |
| with_labelsrc/connection.rs:130 | fn | 6 | 2 | 9 | 0 | 1.2 | |
| fresh_idsrc/model.rs:516 | fn | 4 | 1 | 6 | 1 | 1.1 | |
| textsrc/connection.rs:111 | fn | 3 | 1 | 8 | 0 | 1.1 | |
| decimalsrc/venue.rs:315 | fn | 6 | 2 | 1 | 2 | 1.1 | |
| now_mssrc/connection.rs:107 | fn | 3 | 1 | 8 | 1 | 1.1 | |
| widensrc/pricing.rs:95 | fn | 8 | 2 | 5 | 2 | 1.1 | |
| encodesrc/venue.rs:346 | fn | 11 | 4 | 1 | 0 | 1.1 | |
| valuationsrc/engine.rs:65 | fn | 26 | 5 | 6 | 6 | 1.1 | |
| accountsrc/engine.rs:420 | fn | 23 | 1 | 8 | 1 | 1 | |
| credssrc/venue.rs:717 | fn | 7 | 1 | 6 | 1 | 1 | |
| ordersrc/venue.rs:725 | fn | 10 | 1 | 6 | 2 | 1 |
Outside the workspace
anyhow base64 hex hmac hyperdb serde serde_json sha2