Skip to content

Neuron

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:754

account: Uint8Array

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:828


aging_since_timestamp_seconds: bigint

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:826


auto_stake_maturity: [] | [boolean]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:825


cached_neuron_stake_e8s: bigint

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:823


controller: [] | [Principal]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:757


created_timestamp_seconds: bigint

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:824


deciding_voting_power: [] | [bigint]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:822

The amount of “sway” this neuron has when voting on proposals.

When a proposal is created, each eligible neuron gets a “blank” ballot. The amount of voting power in that ballot is set to the neuron’s deciding voting power at the time of proposal creation. There are two ways that a proposal can become decided:

  1. Early: Either more than half of the total voting power in the ballots votes in favor (then the proposal is approved), or at least half of the votal voting power in the ballots votes against (then, the proposal is rejected).

  2. The proposal’s voting deadline is reached. At that point, if there is more voting power in favor than against, and at least 3% of the total voting power voted in favor, then the proposal is approved. Otherwise, it is rejected.

If a neuron regularly refreshes its voting power, this has the same value as potential_voting_power. Actions that cause a refresh are as follows:

  1. voting directly (not via following)
  2. set following
  3. refresh voting power

(All of these actions are performed via the manage_neuron method.)

However, if a neuron has not refreshed in a “long” time, this will be less than potential voting power. See VotingPowerEconomics. As a further result of less deciding voting power, not only does it have less influence on the outcome of proposals, the neuron receives less voting rewards (when it votes indirectly via following).

For details, see https://dashboard.internetcomputer.org/proposal/132411.

Per NNS policy, this is opt. Nevertheless, it will never be null.


dissolve_state: [] | [DissolveState]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:835


followees: [number, Followees][]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:836


hot_keys: Principal[]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:827


id: [] | [NeuronId]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:755


joined_community_fund_timestamp_seconds: [] | [bigint]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:829


known_neuron_data: [] | [KnownNeuronData]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:840


kyc_verified: boolean

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:760


maturity_disbursements_in_progress: [] | [MaturityDisbursement[]]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:834

The maturity disbursements in progress, i.e. the disbursements that are initiated but not finalized. The finalization happens 7 days after the disbursement is initiated.


maturity_e8s_equivalent: bigint

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:784


neuron_fees_e8s: bigint

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:837


neuron_type: [number] | []

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:782


not_for_profit: boolean

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:783


potential_voting_power: [] | [bigint]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:781

The amount of “sway” this neuron can have if it refreshes its voting power frequently enough.

Unlike deciding_voting_power, this does NOT take refreshing into account. Rather, this only takes three factors into account:

  1. (Net) staked amount - This is the “base” of a neuron’s voting power. This primarily consists of the neuron’s ICP balance.

  2. Age - Neurons with more age have more voting power (all else being equal).

  3. Dissolve delay - Neurons with longer dissolve delay have more voting power (all else being equal). Neurons with a dissolve delay of less than six months are not eligible to vote. Therefore, such neurons are considered to have 0 voting power.

Per NNS policy, this is opt. Nevertheless, it will never be null.


recent_ballots: BallotInfo[]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:758


spawn_at_timestamp_seconds: [] | [bigint]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:841


staked_maturity_e8s_equivalent: [] | [bigint]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:756


transfer: [] | [NeuronStakeTransfer]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:839


visibility: [number] | []

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:838


voting_power_refreshed_timestamp_seconds: [] | [bigint]

Defined in: packages/canisters/src/declarations/nns/governance.d.ts:759