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
NnsNeuronDistributionReport
NnsNeuronDistributionReport
NnsNeuronDistributionValidationError
NnsNeuronDistributionValidationError
NnsNeuronInfoReport
NnsNeuronInfoReport
NnsNeuronInfoRequest
NnsNeuronInfoRequest
NnsNeuronListReport
NnsNeuronListReport
NnsNeuronListRequest
NnsNeuronListRequest
NnsNeuronPage
NnsNeuronPage
NnsNeuronRow
NnsNeuronRow
NnsNeuronStateDistribution
NnsNeuronStateDistribution
NnsNeuronTypeDistribution
NnsNeuronTypeDistribution
NnsNeuronVisibilityDistribution
NnsNeuronVisibilityDistribution

Enums§

NnsNeuronCollectionStatus
NnsNeuronCollectionStatus
NnsNeuronDistributionError
NnsNeuronDistributionError
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_DISTRIBUTION_REPORT_SCHEMA_VERSION
Version of the portable NNS public-neuron distribution report schema.
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_distribution_report
Build one deterministic distribution from a complete caller-retained public-neuron collection.
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_distribution_report_text
Render one portable public-neuron distribution without selecting a process output sink.
nns_neuron_info_report_text
Render one public NNS neuron detail report.
nns_neuron_list_report_text
Render one public NNS neuron-index page.
validate_nns_neuron_distribution_report
Validate every distribution-report invariant available without source rows or live host calls.

Type Aliases§

NnsNeuronSourceFuture
NnsNeuronSourceFuture