pub struct IcNodeProviderRewardRow {
pub reward_id: u64,
pub amount_e8s: u64,
pub details: BTreeMap<String, Value>,
pub maximum_node_provider_rewards_e8s: Option<u64>,
pub minimum_xdr_permyriad_per_icp: Option<u64>,
pub node_provider_id: String,
pub proposal_id: Option<u64>,
pub registry_version: Option<u64>,
pub reward_mode: String,
pub reward_timestamp_unix_secs: u64,
pub dashboard_updated_at: String,
pub xdr_conversion_rate: IcNodeProviderRewardXdrConversionRate,
}Expand description
IcNodeProviderRewardRow
One raw node-provider reward record returned by the official Dashboard API.
Fields§
§reward_id: u64Dashboard reward record id.
amount_e8s: u64Reward amount in raw ICP e8s.
details: BTreeMap<String, Value>Mode-specific raw reward details preserved as a JSON object.
maximum_node_provider_rewards_e8s: Option<u64>Maximum node-provider reward in e8s used for this record, when available.
minimum_xdr_permyriad_per_icp: Option<u64>Minimum XDR-permyriad-per-ICP floor used for this record, when available.
node_provider_id: StringCanonical node-provider principal.
proposal_id: Option<u64>NNS proposal associated with this reward, when recorded by the Dashboard.
registry_version: Option<u64>Registry version associated with this reward, when recorded by the Dashboard.
reward_mode: StringRaw mode name so additive Dashboard reward modes remain visible.
reward_timestamp_unix_secs: u64Reward timestamp as Unix seconds.
dashboard_updated_at: StringRaw Dashboard database update timestamp.
xdr_conversion_rate: IcNodeProviderRewardXdrConversionRateXDR conversion-rate evidence, empty for historical records that predate it.
Trait Implementations§
Source§impl Clone for IcNodeProviderRewardRow
impl Clone for IcNodeProviderRewardRow
Source§fn clone(&self) -> IcNodeProviderRewardRow
fn clone(&self) -> IcNodeProviderRewardRow
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more