client/rpc/types/cfx/pos_economics.rs
1use cfx_types::{U256, U64};
2use serde::{Deserialize, Serialize};
3
4#[derive(Debug, Serialize, Clone, Deserialize)]
5#[serde(rename_all = "camelCase")]
6pub struct PoSEconomics {
7 // This is the total number of CFX used for pos staking.
8 pub total_pos_staking_tokens: U256,
9 // This is the total distributable interest.
10 pub distributable_pos_interest: U256,
11 // This is the block number of last .
12 pub last_distribute_block: U64,
13}