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
#[cfg(not(target_arch = "wasm32"))]
use near_primitives_core::hash::CryptoHash;
#[cfg(not(target_arch = "wasm32"))]
pub use near_primitives_core::runtime::fees::RuntimeFeesConfig;
#[cfg(not(target_arch = "wasm32"))]
pub type MerkleHash = CryptoHash;
pub type ValidatorId = u64;
pub type ValidatorMask = Vec<bool>;
pub type StorageUsage = u64;
pub type StorageUsageChange = i64;
pub type Nonce = u64;
pub type BlockHeight = u64;
pub type EpochHeight = u64;
pub type ShardId = u64;
pub type Balance = u128;
pub type NumBlocks = u64;
pub type NumShards = u64;
pub type NumSeats = u64;
pub type BlockHeightDelta = u64;
pub type GCCount = u64;
pub type PromiseId = Vec<usize>;
pub type ProtocolVersion = u32;