Skip to main content

Crate canic_cdk

Crate canic_cdk 

Source

Re-exports§

pub use candid;
pub use ic_cdk_management_canister as mgmt;
pub use ic_cdk_timers as timers;
pub use icrc_ledger_types;

Modules§

api
System API bindings.
call
Inter-canister Call API
env
Environment constants grouped by domain (ck, NNS, SNS).
futures
Functions relating to the async executor.
spec
Canonical representations of external IC specs (ICRC, NNS, SNS, etc.). This module corrals the verbose candid bindings so the rest of the codebase can import clean wrappers with consistent naming.
structures
types
utils

Macros§

eprintln
Format and then print the formatted message
export_candid
println
Format and then print the formatted message

Functions§

trap
Traps with the given message.

Attribute Macros§

init
post_upgrade
query
update