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
use candid::Principal;
use ex3_canister_types::chain::Chain;
use num_bigint::BigUint;
use serde_bytes::ByteBuf;

pub mod asset;
pub mod block;
pub mod constants;
pub mod deposit;
pub mod package;
pub mod secret;
pub mod transaction;
pub mod vault;
pub mod withdraw;

pub type PublicKey = ByteBuf;
pub type WalletRegisterId = BigUint;
pub type AssetId = BigUint;
pub type PackageId = BigUint;
pub type AssetAmount = BigUint;
pub type Nonce = BigUint;
pub type CanisterId = Principal;
pub type NodeProvider = Principal;
pub type Version = u8;
pub type BlockHeight = BigUint;