Expand description
Shared type wrappers and aliases used across the ops and endpoint layers.
These helpers centralize candid-friendly structs plus bounded/principal
utilities so consumers can use canic::types::* without reaching into
submodules.
Structs§
- Account
- Bounded
String - BoundedString
- ByteBuf
- Wrapper around
Vec<u8>to serialize and deserialize efficiently. - Canister
Type - CanisterType
- Cycles
- Cycles
Thin wrapper around
Natthat carries helper traits and serializers for arithmetic on cycle balances. - Int
- Nat
- Principal
- Generic ID on Internet Computer.
- Subnet
Type - SubnetType
- Ulid
- Ulid
A Candid-safe wrapper around
ulid::Ulid. - Wasm
Module - WasmModule Holds a reference to embedded WASM bytes and exposes helper inspectors.