Crate pallet_nftdao[][src]

NFTDAO Module

A pallet that refers to Moloch and can use NFT as tribute.

Terminology

Interface

Dispatchable Functions

Re-exports

pub use $crate::traits::GetPalletVersion as _;

Structs

DAOId
DAOInfo

DAO’s details

DAOs

A set of daos. dao account => dao info

Escrows

A set of dao’s escrow account. dao account => dao escrows account

LastProposalId

The last proposalId in each DAO. dao account => proposal id

LastQueueIndex

The last proposal queue index in each DAO. dao account => proposal in queue index

Member

Member’s details

Members

A set of members in the DAO. (dao account, member account) => member

Module
Proposal

Proposal’s details

ProposalQueues

Proposal ids in the queue. (dao account, proposal queue index) => proposal id

Proposals

A set of proposals. (dao account, proposal id) => proposal

VoteMembers

A set of members who voted on the proposal (dao account, proposal queue index), member account => ()

Enums

Call

Dispatchable calls.

Error

Errors inform users that something went wrong.

RawEvent

Events for this module.

Traits

Config

Configure the pallet by specifying the parameters and types on which it depends.

Type Definitions

Event

RawEvent specialized for the configuration Config