com.hederahashgraph.api.proto.java.NodeStakeUpdateTransactionBodyOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: node_stake_update.proto
package com.hederahashgraph.api.proto.java;
public interface NodeStakeUpdateTransactionBodyOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.NodeStakeUpdateTransactionBody)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* Time and date of the end of the staking period that is ending
*
*
* .proto.Timestamp end_of_staking_period = 1;
* @return Whether the endOfStakingPeriod field is set.
*/
boolean hasEndOfStakingPeriod();
/**
*
**
* Time and date of the end of the staking period that is ending
*
*
* .proto.Timestamp end_of_staking_period = 1;
* @return The endOfStakingPeriod.
*/
com.hederahashgraph.api.proto.java.Timestamp getEndOfStakingPeriod();
/**
*
**
* Time and date of the end of the staking period that is ending
*
*
* .proto.Timestamp end_of_staking_period = 1;
*/
com.hederahashgraph.api.proto.java.TimestampOrBuilder getEndOfStakingPeriodOrBuilder();
/**
*
**
* Staking info of each node at the beginning of the new staking period
*
*
* repeated .proto.NodeStake node_stake = 2;
*/
java.util.List
getNodeStakeList();
/**
*
**
* Staking info of each node at the beginning of the new staking period
*
*
* repeated .proto.NodeStake node_stake = 2;
*/
com.hederahashgraph.api.proto.java.NodeStake getNodeStake(int index);
/**
*
**
* Staking info of each node at the beginning of the new staking period
*
*
* repeated .proto.NodeStake node_stake = 2;
*/
int getNodeStakeCount();
/**
*
**
* Staking info of each node at the beginning of the new staking period
*
*
* repeated .proto.NodeStake node_stake = 2;
*/
java.util.List extends com.hederahashgraph.api.proto.java.NodeStakeOrBuilder>
getNodeStakeOrBuilderList();
/**
*
**
* Staking info of each node at the beginning of the new staking period
*
*
* repeated .proto.NodeStake node_stake = 2;
*/
com.hederahashgraph.api.proto.java.NodeStakeOrBuilder getNodeStakeOrBuilder(
int index);
/**
*
**
* The maximum reward rate, in tinybars per whole hbar, that any account could receive in this
* staking period.
*
*
* int64 max_staking_reward_rate_per_hbar = 3;
* @return The maxStakingRewardRatePerHbar.
*/
long getMaxStakingRewardRatePerHbar();
/**
*
**
* The fraction of the network and service fees paid to the node reward account 0.0.801.
*
*
* .proto.Fraction node_reward_fee_fraction = 4;
* @return Whether the nodeRewardFeeFraction field is set.
*/
boolean hasNodeRewardFeeFraction();
/**
*
**
* The fraction of the network and service fees paid to the node reward account 0.0.801.
*
*
* .proto.Fraction node_reward_fee_fraction = 4;
* @return The nodeRewardFeeFraction.
*/
com.hederahashgraph.api.proto.java.Fraction getNodeRewardFeeFraction();
/**
*
**
* The fraction of the network and service fees paid to the node reward account 0.0.801.
*
*
* .proto.Fraction node_reward_fee_fraction = 4;
*/
com.hederahashgraph.api.proto.java.FractionOrBuilder getNodeRewardFeeFractionOrBuilder();
/**
*
**
* The maximum number of trailing periods for which a user can collect rewards. For example, if this
* is 365 with a UTC calendar day period, then users must collect rewards at least once per calendar
* year to avoid missing any value.
*
*
* int64 staking_periods_stored = 5;
* @return The stakingPeriodsStored.
*/
long getStakingPeriodsStored();
/**
*
**
* The number of minutes in a staking period. Note for the special case of 1440 minutes, periods are
* treated as UTC calendar days, rather than repeating 1440 minute periods left-aligned at the epoch.
*
*
* int64 staking_period = 6;
* @return The stakingPeriod.
*/
long getStakingPeriod();
/**
*
**
* The fraction of the network and service fees paid to the staking reward account 0.0.800.
*
*
* .proto.Fraction staking_reward_fee_fraction = 7;
* @return Whether the stakingRewardFeeFraction field is set.
*/
boolean hasStakingRewardFeeFraction();
/**
*
**
* The fraction of the network and service fees paid to the staking reward account 0.0.800.
*
*
* .proto.Fraction staking_reward_fee_fraction = 7;
* @return The stakingRewardFeeFraction.
*/
com.hederahashgraph.api.proto.java.Fraction getStakingRewardFeeFraction();
/**
*
**
* The fraction of the network and service fees paid to the staking reward account 0.0.800.
*
*
* .proto.Fraction staking_reward_fee_fraction = 7;
*/
com.hederahashgraph.api.proto.java.FractionOrBuilder getStakingRewardFeeFractionOrBuilder();
/**
*
**
* The minimum balance of staking reward account 0.0.800 required to active rewards.
*
*
* int64 staking_start_threshold = 8;
* @return The stakingStartThreshold.
*/
long getStakingStartThreshold();
/**
*
**
* (DEPRECATED) The maximum total number of tinybars to be distributed as staking rewards in the
* ending period. Please consult the max_total_reward field instead.
*
*
* int64 staking_reward_rate = 9 [deprecated = true];
* @return The stakingRewardRate.
*/
@java.lang.Deprecated long getStakingRewardRate();
/**
*
**
* The amount of the staking reward funds (account 0.0.800) reserved to pay pending rewards that
* have been earned but not collected.
*
*
* int64 reserved_staking_rewards = 10;
* @return The reservedStakingRewards.
*/
long getReservedStakingRewards();
/**
*
**
* The unreserved balance of account 0.0.800 at the close of the just-ending period; this value is
* used to compute the HIP-782 balance ratio.
*
*
* int64 unreserved_staking_reward_balance = 11;
* @return The unreservedStakingRewardBalance.
*/
long getUnreservedStakingRewardBalance();
/**
*
**
* The unreserved tinybar balance of account 0.0.800 required to achieve the maximum per-hbar reward
* rate in any period; please see HIP-782 for details.
*
*
* int64 reward_balance_threshold = 12;
* @return The rewardBalanceThreshold.
*/
long getRewardBalanceThreshold();
/**
*
**
* The maximum amount of tinybar that can be staked for reward while still achieving the maximum
* per-hbar reward rate in any period; please see HIP-782 for details.
*
*
* int64 max_stake_rewarded = 13;
* @return The maxStakeRewarded.
*/
long getMaxStakeRewarded();
/**
*
**
* The maximum total tinybars that could be paid as staking rewards in the ending period, after
* applying the settings for the 0.0.800 balance threshold and the maximum stake rewarded. This
* field replaces the deprecated field staking_reward_rate. It is only for convenience, since a
* mirror node could also calculate its value by iterating the node_stake list and summing
* stake_rewarded fields; then multiplying this sum by the max_staking_reward_rate_per_hbar.
*
*
* int64 max_total_reward = 14;
* @return The maxTotalReward.
*/
long getMaxTotalReward();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy