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
NnsNeuronInfoReport
NnsNeuronInfoReport
NnsNeuronInfoRequest
NnsNeuronInfoRequest
NnsNeuronListReport
NnsNeuronListReport
NnsNeuronListRequest
NnsNeuronListRequest
NnsNeuronPage
NnsNeuronPage
NnsNeuronRow
NnsNeuronRow

Enums§

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_MAX_PAGE_SIZE
Largest page size accepted by the public Governance neuron index.

Traits§

NnsNeuronSource
NnsNeuronSource

Functions§

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