Struct concordium_base::updates::PoolParameters
source · pub struct PoolParameters {
pub passive_finalization_commission: AmountFraction,
pub passive_baking_commission: AmountFraction,
pub passive_transaction_commission: AmountFraction,
pub commission_bounds: CommissionRanges,
pub minimum_equity_capital: Amount,
pub capital_bound: CapitalBound,
pub leverage_bound: LeverageFactor,
}
Expand description
Parameters related to staking pools. This applies to protocol version 4 and up.
Fields§
§passive_finalization_commission: AmountFraction
Fraction of finalization rewards charged by the passive delegation.
passive_baking_commission: AmountFraction
Fraction of baking rewards charged by the passive delegation.
passive_transaction_commission: AmountFraction
Fraction of transaction rewards charged by the L-pool.
commission_bounds: CommissionRanges
Bounds on the commission rates that may be charged by bakers.
minimum_equity_capital: Amount
Minimum equity capital required for a new baker.
capital_bound: CapitalBound
Maximum fraction of the total staked capital of that a new baker can have.
leverage_bound: LeverageFactor
The maximum leverage that a baker can have as a ratio of total stake to equity capital.
Trait Implementations§
source§impl Clone for PoolParameters
impl Clone for PoolParameters
source§fn clone(&self) -> PoolParameters
fn clone(&self) -> PoolParameters
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PoolParameters
impl Debug for PoolParameters
source§impl Deserial for PoolParameters
impl Deserial for PoolParameters
fn deserial<GenericReaderType: ReadBytesExt>( source: &mut GenericReaderType ) -> ParseResult<Self>
source§impl<'de> Deserialize<'de> for PoolParameters
impl<'de> Deserialize<'de> for PoolParameters
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serial for PoolParameters
impl Serial for PoolParameters
fn serial<GenericBufferType: Buffer>(&self, out: &mut GenericBufferType)
Auto Trait Implementations§
impl RefUnwindSafe for PoolParameters
impl Send for PoolParameters
impl Sync for PoolParameters
impl Unpin for PoolParameters
impl UnwindSafe for PoolParameters
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more