pub struct Slot {
pub height: u64,
pub timestamp: u64,
pub signer: PublicKey,
pub harvester: Address,
pub beneficiary: Address,
pub fee_multiplier: u32,
pub inflation: u64,
pub beneficiary_percentage: u64,
}Expand description
組む前に決まっていること。Assemble に渡す
Fields§
§height: u64§timestamp: u64Nemesis からのミリ秒
signer: PublicKeyブロックに署名する鍵(リモートならリモートの鍵)
harvester: Address報酬を受け取るアカウント(リモートなら、リンクしたメインのアカウント)
beneficiary: Address§fee_multiplier: u32§inflation: u64この高さのインフレの額
beneficiary_percentage: u64手数料とインフレの合計のうち、受取先に入る割合(harvestBeneficiaryPercentage)。署名した鍵のアドレスが
受取先と同じなら、受取先の分はなく 0
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more