pub trait ExtendedEpochInfoV0Getters {
// Required methods
fn index(&self) -> EpochIndex;
fn first_block_time(&self) -> u64;
fn first_block_height(&self) -> u64;
fn first_core_block_height(&self) -> u32;
fn fee_multiplier_permille(&self) -> u64;
fn protocol_version(&self) -> ProtocolVersion;
}Expand description
Trait defining getters for ExtendedEpochInfoV0.
Required Methods§
Sourcefn index(&self) -> EpochIndex
fn index(&self) -> EpochIndex
Returns the epoch index.
Sourcefn first_block_time(&self) -> u64
fn first_block_time(&self) -> u64
Returns the first block time.
Sourcefn first_block_height(&self) -> u64
fn first_block_height(&self) -> u64
Returns the first platform block height.
Sourcefn first_core_block_height(&self) -> u32
fn first_core_block_height(&self) -> u32
Returns the first core block height.
Sourcefn fee_multiplier_permille(&self) -> u64
fn fee_multiplier_permille(&self) -> u64
Returns 1000 times the fee multiplier. so 1000 would be 1.
Sourcefn protocol_version(&self) -> ProtocolVersion
fn protocol_version(&self) -> ProtocolVersion
Protocol version