starknet_api 0.19.0-rc.0

Starknet Rust types related to computation and execution.
Documentation
1
2
3
4
5
6
7
use serde::{Deserialize, Serialize};

/// Epoch identifier, matching the staking contract's epoch.
pub type EpochId = u64;

#[derive(Debug, PartialEq, Eq, Copy, Clone, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub struct StakingWeight(pub u128);