Docs.rs
  • govern-0.3.2
    • govern 0.3.2
    • Docs.rs crate page
    • AGPL-3.0
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • kristapsdev
    • Dependencies
      • anchor-lang >=0.17 normal
      • anchor-spl >=0.17 normal
      • num-traits ^0.2 normal
      • smart-wallet ^0.5 normal
      • vipers ^1.5.8 normal
      • proptest ^1.0 dev
    • Versions
    • 66.99% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate govern

logo
Change settings

List of all items

Structs

  • GovernanceParameters
  • Governor
  • GovernorCreateEvent
  • GovernorSetElectorateEvent
  • GovernorSetParamsEvent
  • Proposal
  • ProposalAccountMeta
  • ProposalActivateEvent
  • ProposalCancelEvent
  • ProposalCreateEvent
  • ProposalInstruction
  • ProposalMeta
  • ProposalMetaCreateEvent
  • ProposalQueueEvent
  • Vote
  • VoteSetEvent
  • accounts::ActivateProposal
  • accounts::CancelProposal
  • accounts::CreateGovernor
  • accounts::CreateProposal
  • accounts::CreateProposalMeta
  • accounts::NewVote
  • accounts::QueueProposal
  • accounts::SetGovernanceParams
  • accounts::SetVote
  • instruction::ActivateProposal
  • instruction::CancelProposal
  • instruction::CreateGovernor
  • instruction::CreateProposal
  • instruction::CreateProposalMeta
  • instruction::NewVote
  • instruction::QueueProposal
  • instruction::SetElectorate
  • instruction::SetGovernanceParams
  • instruction::SetVote
  • program::Govern

Enums

  • ErrorCode
  • proposal::ProposalState
  • proposal::VoteSide

Macros

  • governor_seeds

Functions

  • check_id
  • entry
  • entrypoint
  • govern::activate_proposal
  • govern::cancel_proposal
  • govern::create_governor
  • govern::create_proposal
  • govern::create_proposal_meta
  • govern::new_vote
  • govern::queue_proposal
  • govern::set_electorate
  • govern::set_governance_params
  • govern::set_vote
  • id

Typedefs

  • Result

Statics

  • ID