Skip to content
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-derivatives derivatives cargo crate

DerivativesApp: CRE8-issued options (fully collateralized writers, settled at a fresh mark; calls in the underlier, puts in the quote) and capped paired-claim futures. Every lifecycle event is one all-or-nothing manifold contract committed through commit_inline_exact; expiry is an obligation that retries within grace until a fresh mark exists.

crates/cre8-app-derivatives · level 17 · 4,961 lines (4,157 code) · 12 files · 256 fns (41 tests) · cyclomatic Σ 494

14workspace deps
0direct dependents
0transitive dependents
165calls out
0calls in
206call-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). 256 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
amountsrc/contract.rs:95fn31603.4
textsrc/lifecycle.rs:85fn311102.9
contractsrc/contract.rs:99fn311302.6
Harness::applysrc/e2e_tests.rs:105method91202.5
CallerAuthority::verifiedsrc/auth.rs:53method31302.1
integer_valuesrc/exact.rs:25fn147102
DerivativeSeries::unit_assetssrc/model.rs:232method62902
unitssrc/view.rs:181fn311011.9
text_anysrc/lifecycle.rs:89fn31311.8
positive_unitssrc/exact.rs:41fn82611.8
series_targetsrc/model.rs:478fn31101.8
to_i64src/exact.rs:13fn31601.7
derivative_contractssrc/contract.rs:248fn1713131.7
respondsrc/connection.rs:112fn31801.7
series_hashsrc/model.rs:463fn31411.7
mul_i64src/exact.rs:18fn31411.7
option_inputsrc/e2e_tests.rs:82fn152301.6
DerivativeSeries::strike_ratiosrc/model.rs:213method41521.6
series_vertex_idsrc/model.rs:495fn31221.6
series_receiptsrc/contract.rs:270fn2521011.5
numbersrc/view.rs:177fn32501.5
load_seriessrc/model.rs:519fn31321.4
collateral_refsrc/model.rs:468fn31201.4
now_mssrc/connection.rs:107fn31711.4
pool_refsrc/model.rs:473fn31201.4
holderssrc/holdings.rs:40fn112501.4
observedsrc/quotes.rs:105fn332211.3
with_live_ledgersrc/holdings.rs:81fn411001.3
harnesssrc/e2e_tests.rs:44fn25115101.3
Harness::fundsrc/e2e_tests.rs:115method311511.3
series_id_for_assetsrc/model.rs:483fn93601.3
reservesrc/contract.rs:103fn31321.2
savesrc/lifecycle.rs:136fn31421.2
underlier_slugsrc/view.rs:150fn31301.2
optional_positivesrc/exact.rs:51fn62511.2
loadsrc/lifecycle.rs:128fn31321.2
call_inputsrc/e2e_tests.rs:78fn311311.2
option_collateral_per_contractsrc/model.rs:396fn255441.2
releasesrc/contract.rs:107fn31521.1
burnsrc/contract.rs:121fn31521.1

Outside the workspace

anyhow hyperdb serde serde_json