Enum pallet_deip::RawEvent[][src]

pub enum RawEvent<AccountId, Project, Review, ProjectTokenSale> {
Show variants ProjectCreated(AccountId, Project), ProjectRemoved(AccountId, Project), ProjectUpdated(AccountId, ProjectId), ProjectContnetCreated(AccountId, ProjectContentId), NdaCreated(AccountId, NdaId), NdaAccessRequestCreated(AccountId, NdaAccessRequestId), NdaAccessRequestFulfilled(AccountId, NdaAccessRequestId), NdaAccessRequestRejected(AccountId, NdaAccessRequestId), DomainAdded(AccountId, DomainId), ReviewCreated(AccountId, Review), ProjectTokenSaleCreated(ProjectId, ProjectTokenSale), ProjectTokenSaleActivated(ProjectIdH160), ProjectTokenSaleFinished(ProjectIdH160), ProjectTokenSaleExpired(ProjectIdH160), ProjectTokenSaleContributed(H160, AccountId),
}

Events for this module.

Events type.

Variants

ProjectCreated(AccountId, Project)

Event emitted when a project has been created. [BelongsTo, Project]

ProjectRemoved(AccountId, Project)

Event emitted when a project is removed by the owner. [BelongsTo, Project]

ProjectUpdated(AccountId, ProjectId)

Event emitted when a project is removed by the owner. [BelongsTo, ProjectId]

ProjectContnetCreated(AccountId, ProjectContentId)

Event emitted when a project contnet has been created. [BelongsTo, ProjectContentId]

NdaCreated(AccountId, NdaId)

Event emitted when a NDA has been created. [BelongsTo, NdaId]

NdaAccessRequestCreated(AccountId, NdaAccessRequestId)

Event emitted when a NDA Access request has been created. [BelongsTo, NdaAccessRequestId]

NdaAccessRequestFulfilled(AccountId, NdaAccessRequestId)
NdaAccessRequestRejected(AccountId, NdaAccessRequestId)
DomainAdded(AccountId, DomainId)

Added a domain. [Creator, DomainId]

ReviewCreated(AccountId, Review)

Event emitted when a review has been created. [BelongsTo, Review]

ProjectTokenSaleCreated(ProjectId, ProjectTokenSale)

Event emitted when a token sale for project has been created.

ProjectTokenSaleActivated(ProjectIdH160)

Event emitted when a token sale for project has been activated.

ProjectTokenSaleFinished(ProjectIdH160)

Event emitted when a token sale for project has finished.

ProjectTokenSaleExpired(ProjectIdH160)

Event emitted when a token sale for project has expired.

ProjectTokenSaleContributed(H160, AccountId)

Event emitted when DAO contributed to the project token sale

Trait Implementations

impl<AccountId: Clone, Project: Clone, Review: Clone, ProjectTokenSale: Clone> Clone for RawEvent<AccountId, Project, Review, ProjectTokenSale>[src]

impl<AccountId, Project, Review, ProjectTokenSale> Debug for RawEvent<AccountId, Project, Review, ProjectTokenSale> where
    AccountId: Debug,
    Project: Debug,
    Review: Debug,
    ProjectTokenSale: Debug
[src]

impl<AccountId, Project, Review, ProjectTokenSale> Decode for RawEvent<AccountId, Project, Review, ProjectTokenSale> where
    AccountId: Decode,
    AccountId: Decode,
    Project: Decode,
    Project: Decode,
    AccountId: Decode,
    AccountId: Decode,
    Project: Decode,
    Project: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    AccountId: Decode,
    Review: Decode,
    Review: Decode,
    ProjectTokenSale: Decode,
    ProjectTokenSale: Decode,
    AccountId: Decode,
    AccountId: Decode
[src]

impl<AccountId, Project, Review, ProjectTokenSale> Encode for RawEvent<AccountId, Project, Review, ProjectTokenSale> where
    AccountId: Encode,
    AccountId: Encode,
    Project: Encode,
    Project: Encode,
    AccountId: Encode,
    AccountId: Encode,
    Project: Encode,
    Project: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    Review: Encode,
    Review: Encode,
    ProjectTokenSale: Encode,
    ProjectTokenSale: Encode,
    AccountId: Encode,
    AccountId: Encode
[src]

impl<AccountId, Project, Review, ProjectTokenSale> From<RawEvent<AccountId, Project, Review, ProjectTokenSale>> for ()[src]

impl<AccountId: PartialEq, Project: PartialEq, Review: PartialEq, ProjectTokenSale: PartialEq> PartialEq<RawEvent<AccountId, Project, Review, ProjectTokenSale>> for RawEvent<AccountId, Project, Review, ProjectTokenSale>[src]

impl<AccountId, Project, Review, ProjectTokenSale> EncodeLike<RawEvent<AccountId, Project, Review, ProjectTokenSale>> for RawEvent<AccountId, Project, Review, ProjectTokenSale> where
    AccountId: Encode,
    AccountId: Encode,
    Project: Encode,
    Project: Encode,
    AccountId: Encode,
    AccountId: Encode,
    Project: Encode,
    Project: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    AccountId: Encode,
    Review: Encode,
    Review: Encode,
    ProjectTokenSale: Encode,
    ProjectTokenSale: Encode,
    AccountId: Encode,
    AccountId: Encode
[src]

impl<AccountId: Eq, Project: Eq, Review: Eq, ProjectTokenSale: Eq> Eq for RawEvent<AccountId, Project, Review, ProjectTokenSale>[src]

impl<AccountId, Project, Review, ProjectTokenSale> StructuralEq for RawEvent<AccountId, Project, Review, ProjectTokenSale>[src]

impl<AccountId, Project, Review, ProjectTokenSale> StructuralPartialEq for RawEvent<AccountId, Project, Review, ProjectTokenSale>[src]

Auto Trait Implementations

impl<AccountId, Project, Review, ProjectTokenSale> RefUnwindSafe for RawEvent<AccountId, Project, Review, ProjectTokenSale> where
    AccountId: RefUnwindSafe,
    Project: RefUnwindSafe,
    ProjectTokenSale: RefUnwindSafe,
    Review: RefUnwindSafe

impl<AccountId, Project, Review, ProjectTokenSale> Send for RawEvent<AccountId, Project, Review, ProjectTokenSale> where
    AccountId: Send,
    Project: Send,
    ProjectTokenSale: Send,
    Review: Send

impl<AccountId, Project, Review, ProjectTokenSale> Sync for RawEvent<AccountId, Project, Review, ProjectTokenSale> where
    AccountId: Sync,
    Project: Sync,
    ProjectTokenSale: Sync,
    Review: Sync

impl<AccountId, Project, Review, ProjectTokenSale> Unpin for RawEvent<AccountId, Project, Review, ProjectTokenSale> where
    AccountId: Unpin,
    Project: Unpin,
    ProjectTokenSale: Unpin,
    Review: Unpin

impl<AccountId, Project, Review, ProjectTokenSale> UnwindSafe for RawEvent<AccountId, Project, Review, ProjectTokenSale> where
    AccountId: UnwindSafe,
    Project: UnwindSafe,
    ProjectTokenSale: UnwindSafe,
    Review: 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<T> DecodeAll for T where
    T: Decode
[src]

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

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

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

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

impl<T> Instrument for T[src]

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

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

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

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

Get a reference to the inner from the outer.

pub 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> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

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
    T: Bounded,
    S: TryInto<T>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<S> Codec for S where
    S: Decode + Encode
[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, Global>> for T where
    T: Encode
[src]

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

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

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

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

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe
[src]

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

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