Skip to main content

Module neuron

Module neuron 

Source
Expand description

Module: nns::neuron

Responsibility: expose public NNS neuron reporting contracts. Does not own: NNS proposal reporting or Dashboard-derived neuron analytics. Boundary: re-exports the direct Governance neuron report family.

Structs§

NnsKnownNeuronData
NnsKnownNeuronData
NnsNeuronBallotRow
NnsNeuronBallotRow
NnsNeuronCollectionState
NnsNeuronCollectionState
NnsNeuronCollectionStep
NnsNeuronCollectionStep
NnsNeuronInfoReport
NnsNeuronInfoReport
NnsNeuronInfoRequest
NnsNeuronInfoRequest
NnsNeuronListReport
NnsNeuronListReport
NnsNeuronListRequest
NnsNeuronListRequest
NnsNeuronPage
NnsNeuronPage
NnsNeuronRow
NnsNeuronRow

Enums§

NnsNeuronCollectionStatus
NnsNeuronCollectionStatus
NnsNeuronError
NnsNeuronError
NnsNeuronState
NnsNeuronState
NnsNeuronType
NnsNeuronType
NnsNeuronVisibility
NnsNeuronVisibility
NnsNeuronVote
NnsNeuronVote

Constants§

DEFAULT_NNS_NEURON_SOURCE_ENDPOINT
Default replica endpoint used for direct NNS Governance neuron queries.
NNS_NEURON_COLLECTION_STATE_SCHEMA_VERSION
Version of the persistable resumable NNS neuron collection state.
NNS_NEURON_MAX_PAGE_SIZE
Largest page size accepted by the public Governance neuron index.

Traits§

NnsNeuronSource
NnsNeuronSource

Functions§

advance_nns_neuron_collection_with_source
Advance a resumable public-neuron walk by exactly one caller-runtime source call.
build_nns_neuron_info_report_with_source
Build one exact NNS neuron detail from a caller-owned async source.
build_nns_neuron_list_report_with_source
Build one bounded NNS neuron-index page from a caller-owned async source.
nns_neuron_info_report_text
Render one public NNS neuron detail report.
nns_neuron_list_report_text
Render one public NNS neuron-index page.

Type Aliases§

NnsNeuronSourceFuture
NnsNeuronSourceFuture