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-derivatives/src/contract.rs
Items
const DERIVATIVES_APP const SERIES_TARGET_PATTERN const EXPIRE_CONNECTION const EXPIRE_BACKOFF_MS const EXPIRE_MAX_ATTEMPTS const INTENT_OPTION_WRITE const INTENT_OPTION_OPEN const INTENT_OPTION_CLOSE const INTENT_OPTION_EXERCISE const INTENT_FUTURE_MINT const INTENT_FUTURE_OPEN const INTENT_FUTURE_CLOSE const INTENT_SETTLE_FUND_RELEASE const INTENT_SETTLE_FUND const INTENT_SETTLE_RELEASE const INTENT_REDEEM const INTENT_RETIRE const INTENT_SETTLE_REFUND const OPTION_WRITE_CONTRACT_ID const OPTION_OPEN_CONTRACT_ID const OPTION_CLOSE_CONTRACT_ID const OPTION_EXERCISE_CONTRACT_ID const FUTURE_MINT_CONTRACT_ID const FUTURE_OPEN_CONTRACT_ID const FUTURE_CLOSE_CONTRACT_ID const SETTLE_FUND_RELEASE_CONTRACT_ID const SETTLE_FUND_CONTRACT_ID const SETTLE_RELEASE_CONTRACT_ID const REDEEM_CONTRACT_ID const RETIRE_CONTRACT_ID const SETTLE_REFUND_CONTRACT_ID const CONTRACT_IDS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 31 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| amountsrc/contract.rs:95 | fn | 3 | 1 | 6 | 0 | 3.4 | |
| contractsrc/contract.rs:99 | fn | 3 | 1 | 13 | 0 | 2.6 | |
| derivative_contractssrc/contract.rs:248 | fn | 17 | 1 | 3 | 13 | 1.7 | |
| series_receiptsrc/contract.rs:270 | fn | 25 | 2 | 10 | 1 | 1.5 | |
| reservesrc/contract.rs:103 | fn | 3 | 1 | 3 | 2 | 1.2 | |
| releasesrc/contract.rs:107 | fn | 3 | 1 | 5 | 2 | 1.1 | |
| burnsrc/contract.rs:121 | fn | 3 | 1 | 5 | 2 | 1.1 | |
| settlesrc/contract.rs:111 | fn | 5 | 1 | 3 | 2 | 1 | |
| mintsrc/contract.rs:117 | fn | 3 | 1 | 2 | 1 | 1 | |
| option_writesrc/contract.rs:142 | fn | 5 | 1 | 2 | 3 | 0.9 | |
| future_mintsrc/contract.rs:173 | fn | 6 | 1 | 2 | 3 | 0.9 | |
| fundsrc/contract.rs:195 | fn | 11 | 1 | 2 | 3 | 0.9 | |
| enginesrc/contract.rs:301 | fn | 3 | 1 | 2 | 2 | 0.8 | |
| expire_obligationsrc/contract.rs:128 | fn | 13 | 1 | 2 | 0 | 0.8 | |
| option_write_contractsrc/contract.rs:148 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| option_open_contractsrc/contract.rs:152 | fn | 3 | 1 | 1 | 4 | 0.6 | |
| option_close_contractsrc/contract.rs:156 | fn | 5 | 1 | 1 | 4 | 0.6 | |
| option_exercise_contractsrc/contract.rs:162 | fn | 10 | 1 | 1 | 6 | 0.6 | |
| future_mint_contractsrc/contract.rs:180 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| future_open_contractsrc/contract.rs:184 | fn | 3 | 1 | 1 | 4 | 0.6 | |
| future_close_contractsrc/contract.rs:188 | fn | 6 | 1 | 1 | 4 | 0.6 | |
| settle_fund_release_contractsrc/contract.rs:207 | fn | 4 | 1 | 1 | 4 | 0.6 | |
| settle_fund_contractsrc/contract.rs:212 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| settle_release_contractsrc/contract.rs:216 | fn | 4 | 1 | 1 | 3 | 0.6 | |
| redeem_contractsrc/contract.rs:221 | fn | 11 | 1 | 1 | 4 | 0.6 | |
| retire_contractsrc/contract.rs:233 | fn | 3 | 1 | 1 | 3 | 0.6 | |
| settle_refund_contractsrc/contract.rs:237 | fn | 9 | 1 | 1 | 3 | 0.6 | |
| every_intent_routes_to_its_own_contractsrc/contract.rs:306 | fn | 12 | 2 | 0 | 1 | 0.5 | |
| open_writes_reserve_mint_and_schedule_expirysrc/contract.rs:320 | fn | 37 | 1 | 0 | 3 | 0.5 | |
| exercise_releases_transfers_and_burnssrc/contract.rs:359 | fn | 27 | 1 | 0 | 2 | 0.5 | |
| identical_calls_differ_by_noncesrc/contract.rs:388 | fn | 7 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.