Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 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 18 · 4,986 lines (4,175 code) · 12 files · 257 fns (42 tests) · cyclomatic Σ 496

14workspace deps
0direct dependents
0transitive dependents
166calls 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.

normal dep · 17 calls · source referencenormal dep · 13 calls · source referencenormal dep · 14 calls · source referencenormal dep · 1 calls · source referencenormal dep · 32 calls · source referencenormal dep · 1 calls · source referencenormal dep · 3 calls · source referencenormal dep · 4 calls · source referencenormal dep · 22 calls · source referencenormal dep · 0 calls · source referencenormal dep · 0 calls · source referencenormal dep · 10 calls · source referencenormal dep · 37 calls · source referencenormal dep · 11 calls · source referencedev dep · 1 calls · source referenceapp-derivativesL18 · 4,175 linescre8-app-derivativesapp-manifoldL10 · 18,941 linescre8-app-manifoldapp-markL17 · 2,346 linescre8-app-markapp-protocolL9 · 26,097 linescre8-app-protocolapp-providerL16 · 71,707 linescre8-app-providerapp-view-libL8 · 89,193 linescre8-app-view-libplatform-envL3 · 316 linescre8-platform-envplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-hostL1 · 1,649 linescre8-runtime-hostutil-graph-vertexL0 · 173 linescre8-util-graph-vertexutil-optionsL0 · 2,350 linescre8-util-optionsutil-view-htmlL0 · 1,660 linescre8-util-view-htmltest-helpersL29 · 557 linescre8-test-helpers

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). 257 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
amountsrc/contract.rs:95fn31603.3
textsrc/lifecycle.rs:85fn311102.8
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_templates.rs:183fn311011.9
text_anysrc/lifecycle.rs:89fn31311.8
positive_unitssrc/exact.rs:41fn82611.8
series_targetsrc/model.rs:478fn31101.7
to_i64src/exact.rs:13fn31601.7
derivative_contractssrc/contract.rs:248fn1713131.7
series_hashsrc/model.rs:463fn31411.7
respondsrc/connection.rs:112fn31801.7
mul_i64src/exact.rs:18fn31411.6
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_templates.rs:179fn32501.5
load_seriessrc/model.rs:519fn31321.4
collateral_refsrc/model.rs:468fn31201.4
now_mssrc/connection.rs:107fn31711.4
holderssrc/holdings.rs:40fn112501.4
pool_refsrc/model.rs:473fn31201.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
underlier_slugsrc/view_templates.rs:152fn31301.2
savesrc/lifecycle.rs:136fn31421.2
optional_positivesrc/exact.rs:51fn62511.2
option_collateral_per_contractsrc/model.rs:396fn255441.2
loadsrc/lifecycle.rs:128fn31321.2
call_inputsrc/e2e_tests.rs:78fn311311.2
releasesrc/contract.rs:107fn31521.1
burnsrc/contract.rs:121fn31521.1

Outside the workspace

anyhow hyperdb serde serde_json