[][src]Enum sunshine_shares_atomic::RawEvent

pub enum RawEvent<AccountId, Shares> {
    SharesReserved(OrgIdShareId, AccountId, u32),
    SharesUnReserved(OrgIdShareId, AccountId, u32),
    SharesLocked(OrgIdShareId, AccountId),
    SharesUnlocked(OrgIdShareId, AccountId),
    SharesIssued(OrgIdShareId, AccountId, Shares),
    SharesBurned(OrgIdShareId, AccountId, Shares),
    SharesBatchIssued(OrgIdShareId, Shares),
    SharesBatchBurned(OrgIdShareId, Shares),
    TotalSharesIssued(OrgIdShareId, Shares),
}

Events for this module.

Variants

SharesReserved(OrgIdShareId, AccountId, u32)

Organization ID, Share Id, Account ID of reservee, times_reserved of their profile

SharesUnReserved(OrgIdShareId, AccountId, u32)

Organization ID, Share Id, Account ID of unreservee, times_reserved of their profile

SharesLocked(OrgIdShareId, AccountId)

Organization ID, Share Id, Account Id

SharesUnlocked(OrgIdShareId, AccountId)

Organization ID, Share Id, Account Id

SharesIssued(OrgIdShareId, AccountId, Shares)

Organization ID, Share Id, Recipient AccountId, Issued Amount

SharesBurned(OrgIdShareId, AccountId, Shares)

Organization ID, Share Id, Burned AccountId, Burned Amount

SharesBatchIssued(OrgIdShareId, Shares)

Organization ID, Share Id, Total Shares Minted

SharesBatchBurned(OrgIdShareId, Shares)

Organization ID, Share Id, Total Shares Burned

TotalSharesIssued(OrgIdShareId, Shares)

Organization IDm Share Id, All Shares in Circulation

Trait Implementations

impl<AccountId: Clone, Shares: Clone> Clone for RawEvent<AccountId, Shares>[src]

impl<AccountId, Shares> Debug for RawEvent<AccountId, Shares> where
    AccountId: Debug,
    Shares: Debug
[src]

impl<AccountId, Shares> Decode for RawEvent<AccountId, Shares> where
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    Shares: Decode,
    Shares: Decode,
    AccountId: Decode,
    AccountId: Decode,
    Shares: Decode,
    Shares: Decode,
    Shares: Decode,
    Shares: Decode,
    Shares: Decode,
    Shares: Decode,
    Shares: Decode,
    Shares: Decode
[src]

impl<AccountId, Shares> Encode for RawEvent<AccountId, Shares> where
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    Shares: Encode,
    Shares: Encode,
    AccountId: Encode,
    AccountId: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode
[src]

impl<AccountId, Shares> EncodeLike<RawEvent<AccountId, Shares>> for RawEvent<AccountId, Shares> where
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    Shares: Encode,
    Shares: Encode,
    AccountId: Encode,
    AccountId: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode,
    Shares: Encode
[src]

impl<AccountId: Eq, Shares: Eq> Eq for RawEvent<AccountId, Shares>[src]

impl<AccountId, Shares> From<RawEvent<AccountId, Shares>> for ()[src]

impl<AccountId: PartialEq, Shares: PartialEq> PartialEq<RawEvent<AccountId, Shares>> for RawEvent<AccountId, Shares>[src]

impl<AccountId, Shares> StructuralEq for RawEvent<AccountId, Shares>[src]

impl<AccountId, Shares> StructuralPartialEq for RawEvent<AccountId, Shares>[src]

Auto Trait Implementations

impl<AccountId, Shares> RefUnwindSafe for RawEvent<AccountId, Shares> where
    AccountId: RefUnwindSafe,
    Shares: RefUnwindSafe

impl<AccountId, Shares> Send for RawEvent<AccountId, Shares> where
    AccountId: Send,
    Shares: Send

impl<AccountId, Shares> Sync for RawEvent<AccountId, Shares> where
    AccountId: Sync,
    Shares: Sync

impl<AccountId, Shares> Unpin for RawEvent<AccountId, Shares> where
    AccountId: Unpin,
    Shares: Unpin

impl<AccountId, Shares> UnwindSafe for RawEvent<AccountId, Shares> where
    AccountId: UnwindSafe,
    Shares: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<S> Codec for S where
    S: Encode + Decode
[src]

impl<T, X> Decode for X where
    T: Decode + Into<X>,
    X: WrapperTypeDecode<Wrapped = T>, 
[src]

impl<T> DecodeAll for T where
    T: Decode
[src]

impl<T, X> Encode for X where
    T: Encode + ?Sized,
    X: WrapperTypeEncode<Target = T>, 
[src]

impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ mut T> for T where
    T: Encode
[src]

impl<T> EncodeLike<Arc<T>> for T where
    T: Encode
[src]

impl<T> EncodeLike<Box<T>> for T where
    T: Encode
[src]

impl<'a, T> EncodeLike<Cow<'a, T>> for T where
    T: Encode + ToOwned
[src]

impl<T> EncodeLike<Rc<T>> for T where
    T: Encode
[src]

impl<T> From<T> for T[src]

impl<S> FullCodec for S where
    S: Decode + FullEncode
[src]

impl<S> FullEncode for S where
    S: Encode + EncodeLike<S>, 
[src]

impl<T> Hashable for T where
    T: Codec
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    Outer: AsRef<T> + AsMut<T> + From<T>,
    T: From<Outer>, 
[src]

fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> KeyedVec for T where
    T: Codec
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Member for T where
    T: 'static + Clone + PartialEq<T> + Eq + Send + Sync + Debug
[src]

impl<T> Parameter for T where
    T: Codec + EncodeLike<T> + Clone + Eq + Debug
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,