1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! The SDK for integrating Certified Asset Provenance (CAP) into an Internet Computer canister.
//!
//! # ⚠️ **Currently the SDK is in version `1.0.0-alpha1`** ⚠️
//!
//! It does not support the full Cap specification, which may
//! cause panics if your canister is not updated when Cap is fully released.
//!
//! All methods which may suffer from issues are documented.
//!
//! # Additional Developer Resources
//! There are developer resources such as diagrams, additional
//! documentation, and examples in the [cap-sdk respository](https://github.com/Psychedelic/cap/tree/cap-sdk/sdk).
//!
//! # ⚠️ Updating your canister ⚠️
//!
//! ⚠️ There is a specific flow you need to follow when upgrading
//! your canister that depends on Cap to ensure no Cap configuration
//! is lost accidentally.
//!
//! TODO, write example
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use *;
pub use ;
type Transaction = Event;
type TransactionId = u64;