MCPcopy Index your code
hub / github.com/dfinity/ic

github.com/dfinity/ic @release-2026-07-02_07-40-base

Chat with this repo
repository ↗ · DeepWiki ↗ · release release-2026-07-02_07-40-base ↗ · + Follow
55,019 symbols 363,558 edges 4,072 files 11,032 documented · 20%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

DeterministicHeapBytes (Interface)
A trait to deterministically report heap memory usage. It can be derived for structs and enums. The `#[deterministic_he [36 …
packages/ic-heap-bytes/src/lib.rs
FromWire (Interface)
There are a lot of different ways of communicating with canisters and there's a lot of different ways of encoding those [9 …
rs/rust_canisters/on_wire/src/lib.rs
ProposalTitle (Interface)
Trait to extract the title for proposal type. [54 implementers]
rs/registry/admin/bin/main.rs
InheritFrom (Interface)
Seems like there is probably some way we can make #[derive(...)] generate implementations of this, because the hand-craf [9 …
rs/nns/governance/src/network_economics.rs
CyclesUseCaseKind (Interface)
The following trait helps bound what kind of types can be used as the first generic argument to `CompoundCycles` that re [14 …
rs/types/cycles/src/cycles_use_case.rs
CorruptBytes (Interface)
Corrupts valid instances of a given type containing some binary data (e.g., signatures) for testing purposes. Some type [10 …
rs/crypto/test_utils/canister_threshold_sigs/src/lib.rs
ValidateEq (Interface)
The ValidateEq trait is intended to verify equality of a vetted subset of fields and reporting a path to divergence for [13 …
rs/utils/validate_eq/src/lib.rs
HasTypeKey (Interface)
Each support message gives a TypeKey. [14 implementers]
rs/artifact_pool/src/lmdb_pool.rs

Core symbols most depended-on inside this repo

new
called by 20341
rs/memory_tracker/src/lib.rs
unwrap
called by 19556
rs/sns/governance/src/types.rs
from
called by 9735
rs/rust_canisters/on_wire/src/lib.rs
expect
called by 7843
rs/sns/governance/src/types.rs
to_string
called by 7604
rs/crypto/internal/crypto_lib/threshold_sig/canister_threshold_sig/src/domain_sep.rs
into
called by 5813
rs/nns/governance/src/lib.rs
clone
called by 4576
rs/cross-chain/proposal-cli/src/git/mod.rs
new
called by 4470
rs/crypto/for_verification_only/src/lib.rs

Shape

Function 26,858
Method 18,781
Class 6,836
Enum 1,957
Interface 579
Route 8

Languages

Rust98%
Python2%
C++1%
C1%
TypeScript1%

Modules by API surface

rs/execution_environment/tests/hypervisor.rs338 symbols
rs/state_machine_tests/src/lib.rs293 symbols
rs/types/management_canister_types/src/lib.rs254 symbols
rs/execution_environment/src/canister_manager/tests.rs238 symbols
rs/test_utilities/execution_environment/src/lib.rs225 symbols
rs/nns/governance/api/src/types.rs221 symbols
rs/nns/governance/src/governance.rs206 symbols
rs/state_manager/tests/state_manager.rs204 symbols
rs/sns/governance/src/gen/ic_sns_governance.pb.v1.rs191 symbols
rs/sns/governance/api/src/ic_sns_governance.pb.v1.rs188 symbols
rs/tests/driver/src/driver/test_env_api.rs186 symbols
rs/nns/governance/tests/governance.rs184 symbols

Datastores touched

githubDatabase · 1 repos

For agents

$ claude mcp add ic \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page