pub enum Event {
Deposit {
from: Address,
nonce: u64,
to: Address,
amount: BaseUnits,
error: Option<ConsensusError>,
},
Withdraw {
from: Address,
nonce: u64,
to: Address,
amount: BaseUnits,
error: Option<ConsensusError>,
},
Delegate {
from: Address,
nonce: u64,
to: Address,
amount: BaseUnits,
error: Option<ConsensusError>,
},
UndelegateStart {
from: Address,
nonce: u64,
to: Address,
shares: u128,
debond_end_time: EpochTime,
error: Option<ConsensusError>,
},
UndelegateDone {
from: Address,
to: Address,
shares: u128,
amount: BaseUnits,
},
}
Expand description
Events emitted by the consensus accounts module.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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