Struct pallet_deip::Module[][src]

pub struct Module<T: Config>(_);


impl<T: Config + 'static> Module<T>[src]

pub fn project<K: EncodeLike<ProjectId>>(key: K) -> ProjectOf<T>[src]

Map from ProjectID to Project Info

pub fn projects() -> Vec<(ProjectId, T::AccountId)>[src]

Project list, guarantees uniquest and provides Project listing

pub fn project_token_sale<K: EncodeLike<H160>>(key: K) -> ProjectTokenSaleOf<T>[src]

pub fn token_sales() -> Vec<(ProjectId, ProjectTokenSaleStatus, H160)>[src]

pub fn project_content_entity<KArg1, KArg2>(
    k1: KArg1,
    k2: KArg2
) -> ProjectContentOf<T> where
    KArg1: EncodeLike<ProjectId>,
    KArg2: EncodeLike<ProjectContentId>, 

pub fn project_content_list(
) -> Vec<(ProjectContentId, ProjectId, T::AccountId)>

Project Content list, guarantees uniquest and provides Project Conent listing

pub fn nda_list() -> Vec<(ProjectId, T::AccountId)>[src]

NDA list, guarantees uniquest and provides NDA listing

pub fn nda<K: EncodeLike<NdaId>>(key: K) -> NdaOf<T>[src]

Map to NDA Info

pub fn nda_requests() -> Vec<(NdaAccessRequestId, NdaId, T::AccountId)>[src]

NDA Access Requests list, guarantees uniquest and provides NDA Access Requests listing

pub fn nda_request<K: EncodeLike<NdaAccessRequestId>>(
    key: K
) -> NdaAccessRequestOf<T>

Map to NDA Access Requests Info

pub fn review<K: EncodeLike<ReviewId>>(key: K) -> ReviewOf<T>[src]

Map from ReviewID to Review Info

pub fn reviews() -> Vec<(ReviewId, T::AccountId)>[src]

Review list, guarantees uniquest and provides Review listing

pub fn domains<K: EncodeLike<DomainId>>(key: K) -> Domain[src]

pub fn domain_count() -> u32[src]

impl<T: Config> Module<T>[src]

pub fn get_projects() -> Vec<(ProjectId, T::AccountId)>[src]

pub fn get_project(project_id: &ProjectId) -> ProjectOf<T>[src]

pub fn get_domains() -> Vec<Domain>[src]

pub fn get_domain(domain_id: &DomainId) -> Domain[src]

pub fn get_project_content_list(
    content_ids: &Option<Vec<ProjectContentId>>
) -> Vec<ProjectContentOf<T>>

pub fn get_project_content(
    project_id: &ProjectId,
    project_content_id: &ProjectContentId
) -> ProjectContentOf<T>

pub fn get_nda_list() -> Vec<NdaOf<T>>[src]

pub fn get_nda(nda_id: &NdaId) -> NdaOf<T>[src]

pub fn get_reviews() -> Vec<ReviewOf<T>>[src]

pub fn get_review(review_id: &ReviewId) -> ReviewOf<T>[src]

Trait Implementations

impl<T: Config> Callable<T> for Module<T>[src]

type Call = Call<T>

impl<T: Clone + Config> Clone for Module<T>[src]

impl<T: Config> Debug for Module<T> where
    T: Debug

impl<T: Config> GetPalletVersion for Module<T>[src]

impl<T: Config> IntegrityTest for Module<T>[src]

impl<T: Config> ModuleErrorMetadata for Module<T>[src]

impl<T: Config + Config> OffchainWorker<<T as Config>::BlockNumber> for Module<T>[src]

impl<T: Config + Config> OnFinalize<<T as Config>::BlockNumber> for Module<T>[src]

impl<T: Config> OnGenesis for Module<T>[src]

impl<T: Config + Config> OnInitialize<<T as Config>::BlockNumber> for Module<T>[src]

impl<T: Config> OnRuntimeUpgrade for Module<T>[src]

impl<T: PartialEq + Config> PartialEq<Module<T>> for Module<T>[src]

impl<T: Copy + Config> Copy for Module<T>[src]

impl<T: Eq + Config> Eq for Module<T>[src]

impl<T: Config> StructuralEq for Module<T>[src]

impl<T: Config> StructuralPartialEq for Module<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Module<T> where
    T: RefUnwindSafe

impl<T> Send for Module<T> where
    T: Send

impl<T> Sync for Module<T> where
    T: Sync

impl<T> Unpin for Module<T> where
    T: Unpin

impl<T> UnwindSafe for Module<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> CheckedConversion for T[src]

impl<T> DynClone for T where
    T: Clone

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

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>, 

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> 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

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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>, 

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

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

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 + Send + Sync + Debug + Eq + PartialEq<T> + Clone