@dfinity/nns 11.0.0 → 11.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit c211885f7c (2025-10-09) 'rs/nns/gtc/canister/gtc.did' by import-candid
1
+ // Generated from IC repo commit 199fb79 (2025-10-29 tags: release-2025-10-30_03-22-base) 'rs/nns/gtc/canister/gtc.did' by import-candid
2
2
 
3
3
  type AccountState = record {
4
4
  authenticated_principal_id : opt principal;
@@ -720,6 +720,7 @@ export const idlFactory = ({ IDL }) => {
720
720
  exclusive_start_neuron_id: IDL.Opt(NeuronId),
721
721
  });
722
722
  const NeuronInfo = IDL.Record({
723
+ id: IDL.Opt(NeuronId),
723
724
  dissolve_delay_seconds: IDL.Nat64,
724
725
  recent_ballots: IDL.Vec(BallotInfo),
725
726
  voting_power_refreshed_timestamp_seconds: IDL.Opt(IDL.Nat64),
@@ -784,6 +785,27 @@ export const idlFactory = ({ IDL }) => {
784
785
  const ListKnownNeuronsResponse = IDL.Record({
785
786
  known_neurons: IDL.Vec(KnownNeuron),
786
787
  });
788
+ const ListNeuronVotesRequest = IDL.Record({
789
+ before_proposal: IDL.Opt(ProposalId),
790
+ limit: IDL.Opt(IDL.Nat64),
791
+ neuron_id: IDL.Opt(NeuronId),
792
+ });
793
+ const Vote = IDL.Variant({
794
+ No: IDL.Null,
795
+ Yes: IDL.Null,
796
+ Unspecified: IDL.Null,
797
+ });
798
+ const NeuronVote = IDL.Record({
799
+ vote: IDL.Opt(Vote),
800
+ proposal_id: IDL.Opt(ProposalId),
801
+ });
802
+ const ListNeuronVotesResponse = IDL.Variant({
803
+ Ok: IDL.Record({
804
+ votes: IDL.Opt(IDL.Vec(NeuronVote)),
805
+ all_finalized_before_proposal: IDL.Opt(ProposalId),
806
+ }),
807
+ Err: GovernanceError,
808
+ });
787
809
  const NeuronSubaccount = IDL.Record({ subaccount: IDL.Vec(IDL.Nat8) });
788
810
  const ListNeurons = IDL.Record({
789
811
  page_size: IDL.Opt(IDL.Nat64),
@@ -1018,6 +1040,11 @@ export const idlFactory = ({ IDL }) => {
1018
1040
  get_proposal_info: IDL.Func([IDL.Nat64], [IDL.Opt(ProposalInfo)], []),
1019
1041
  get_restore_aging_summary: IDL.Func([], [RestoreAgingSummary], []),
1020
1042
  list_known_neurons: IDL.Func([], [ListKnownNeuronsResponse], []),
1043
+ list_neuron_votes: IDL.Func(
1044
+ [ListNeuronVotesRequest],
1045
+ [ListNeuronVotesResponse],
1046
+ [],
1047
+ ),
1021
1048
  list_neurons: IDL.Func([ListNeurons], [ListNeuronsResponse], []),
1022
1049
  list_node_provider_rewards: IDL.Func(
1023
1050
  [ListNodeProviderRewardsRequest],
@@ -430,6 +430,40 @@ export interface LedgerParameters {
430
430
  export interface ListKnownNeuronsResponse {
431
431
  known_neurons: Array<KnownNeuron>;
432
432
  }
433
+ export interface ListNeuronVotesRequest {
434
+ /**
435
+ * Only fetch the voting history for proposal whose id `< before_proposal`. This can be used as a
436
+ * pagination token - pass the minimum proposal id as `before_proposal` for the next page.
437
+ */
438
+ before_proposal: [] | [ProposalId];
439
+ /**
440
+ * The maximum number of votes to fetch. The maximum number allowed is 500, and 500 will be used
441
+ * if is set as either null or > 500.
442
+ */
443
+ limit: [] | [bigint];
444
+ /**
445
+ * The neuron id for which the voting history will be returned. Currently, the voting history is
446
+ * only recorded for known neurons.
447
+ */
448
+ neuron_id: [] | [NeuronId];
449
+ }
450
+ export type ListNeuronVotesResponse =
451
+ | {
452
+ Ok: {
453
+ votes: [] | [Array<NeuronVote>];
454
+ /**
455
+ * All the proposals before this id is "finalized", which means if a proposal before this id
456
+ * does not exist in the votes, it will never appear in the voting history, either because the
457
+ * neuron is not eligible to vote on the proposal, or the neuron is not a known neuron at the
458
+ * time of the proposal creation. Therefore, if a client syncs the entire voting history of a
459
+ * certain neuron and store `all_finalized_before_proposal`, it doesn't need to start from
460
+ * scratch the next time - it can stop as soon as they have seen any votes
461
+ * `< all_finalized_before_proposal`.
462
+ */
463
+ all_finalized_before_proposal: [] | [ProposalId];
464
+ };
465
+ }
466
+ | { Err: GovernanceError };
433
467
  /**
434
468
  * Parameters of the list_neurons method.
435
469
  */
@@ -734,6 +768,7 @@ export interface NeuronIndexData {
734
768
  * one of the same (or at least similar) name in Neuron.
735
769
  */
736
770
  export interface NeuronInfo {
771
+ id: [] | [NeuronId];
737
772
  dissolve_delay_seconds: bigint;
738
773
  recent_ballots: Array<BallotInfo>;
739
774
  voting_power_refreshed_timestamp_seconds: [] | [bigint];
@@ -794,6 +829,13 @@ export interface NeuronSubsetMetrics {
794
829
  potential_voting_power_buckets: Array<[bigint, bigint]>;
795
830
  count_buckets: Array<[bigint, bigint]>;
796
831
  }
832
+ export interface NeuronVote {
833
+ /**
834
+ * The vote of the neuron on the specific proposal id.
835
+ */
836
+ vote: [] | [Vote];
837
+ proposal_id: [] | [ProposalId];
838
+ }
797
839
  export interface NeuronsFundAuditInfo {
798
840
  final_neurons_fund_participation: [] | [NeuronsFundParticipation];
799
841
  initial_neurons_fund_participation: [] | [NeuronsFundParticipation];
@@ -1162,6 +1204,15 @@ export interface UpdateCanisterSettings {
1162
1204
  export interface UpdateNodeProvider {
1163
1205
  reward_account: [] | [AccountIdentifier];
1164
1206
  }
1207
+ export type Vote =
1208
+ | { No: null }
1209
+ | { Yes: null }
1210
+ | {
1211
+ /**
1212
+ * Abstentions are recorded as Unspecified.
1213
+ */
1214
+ Unspecified: null;
1215
+ };
1165
1216
  /**
1166
1217
  * Parameters that affect the voting power of neurons.
1167
1218
  */
@@ -1247,6 +1298,10 @@ export interface _SERVICE {
1247
1298
  get_proposal_info: ActorMethod<[bigint], [] | [ProposalInfo]>;
1248
1299
  get_restore_aging_summary: ActorMethod<[], RestoreAgingSummary>;
1249
1300
  list_known_neurons: ActorMethod<[], ListKnownNeuronsResponse>;
1301
+ list_neuron_votes: ActorMethod<
1302
+ [ListNeuronVotesRequest],
1303
+ ListNeuronVotesResponse
1304
+ >;
1250
1305
  list_neurons: ActorMethod<[ListNeurons], ListNeuronsResponse>;
1251
1306
  list_node_provider_rewards: ActorMethod<
1252
1307
  [ListNodeProviderRewardsRequest],
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit c211885f7c (2025-10-09) 'rs/nns/governance/canister/governance.did' by import-candid
1
+ // Generated from IC repo commit 199fb79 (2025-10-29 tags: release-2025-10-30_03-22-base) 'rs/nns/governance/canister/governance.did' by import-candid
2
2
 
3
3
  type AccountIdentifier = record {
4
4
  hash : blob;
@@ -818,6 +818,7 @@ type GetNeuronIndexResult = variant {
818
818
  // As such, the meaning of each field in this type is generally the same as the
819
819
  // one of the same (or at least similar) name in Neuron.
820
820
  type NeuronInfo = record {
821
+ id: opt NeuronId;
821
822
  dissolve_delay_seconds : nat64;
822
823
  recent_ballots : vec BallotInfo;
823
824
  neuron_type : opt int32;
@@ -1378,6 +1379,46 @@ type TopicToFollow = variant {
1378
1379
  ServiceNervousSystemManagement;
1379
1380
  };
1380
1381
 
1382
+ type ListNeuronVotesRequest = record {
1383
+ // The neuron id for which the voting history will be returned. Currently, the voting history is
1384
+ // only recorded for known neurons.
1385
+ neuron_id : opt NeuronId;
1386
+ // Only fetch the voting history for proposal whose id `< before_proposal`. This can be used as a
1387
+ // pagination token - pass the minimum proposal id as `before_proposal` for the next page.
1388
+ before_proposal : opt ProposalId;
1389
+ // The maximum number of votes to fetch. The maximum number allowed is 500, and 500 will be used
1390
+ // if is set as either null or > 500.
1391
+ limit : opt nat64;
1392
+ };
1393
+
1394
+ type ListNeuronVotesResponse = variant {
1395
+ Ok : record {
1396
+ votes : opt vec NeuronVote;
1397
+ // All the proposals before this id is "finalized", which means if a proposal before this id
1398
+ // does not exist in the votes, it will never appear in the voting history, either because the
1399
+ // neuron is not eligible to vote on the proposal, or the neuron is not a known neuron at the
1400
+ // time of the proposal creation. Therefore, if a client syncs the entire voting history of a
1401
+ // certain neuron and store `all_finalized_before_proposal`, it doesn't need to start from
1402
+ // scratch the next time - it can stop as soon as they have seen any votes
1403
+ // `< all_finalized_before_proposal`.
1404
+ all_finalized_before_proposal : opt ProposalId;
1405
+ };
1406
+ Err : GovernanceError;
1407
+ };
1408
+
1409
+ type NeuronVote = record {
1410
+ proposal_id : opt ProposalId;
1411
+ // The vote of the neuron on the specific proposal id.
1412
+ vote : opt Vote;
1413
+ };
1414
+
1415
+ type Vote = variant {
1416
+ // Abstentions are recorded as Unspecified.
1417
+ Unspecified;
1418
+ Yes;
1419
+ No;
1420
+ };
1421
+
1381
1422
  service : (Governance) -> {
1382
1423
  claim_gtc_neurons : (principal, vec NeuronId) -> (Result);
1383
1424
  claim_or_refresh_neuron_from_account : (ClaimOrRefreshNeuronFromAccount) -> (
@@ -1415,6 +1456,7 @@ service : (Governance) -> {
1415
1456
  ) query;
1416
1457
  list_node_providers : () -> (ListNodeProvidersResponse) query;
1417
1458
  list_proposals : (ListProposalInfo) -> (ListProposalInfoResponse) query;
1459
+ list_neuron_votes : (ListNeuronVotesRequest) -> (ListNeuronVotesResponse) query;
1418
1460
  manage_neuron : (ManageNeuronRequest) -> (ManageNeuronResponse);
1419
1461
  settle_community_fund_participation : (SettleCommunityFundParticipation) -> (
1420
1462
  Result,
@@ -720,6 +720,7 @@ export const idlFactory = ({ IDL }) => {
720
720
  exclusive_start_neuron_id: IDL.Opt(NeuronId),
721
721
  });
722
722
  const NeuronInfo = IDL.Record({
723
+ id: IDL.Opt(NeuronId),
723
724
  dissolve_delay_seconds: IDL.Nat64,
724
725
  recent_ballots: IDL.Vec(BallotInfo),
725
726
  voting_power_refreshed_timestamp_seconds: IDL.Opt(IDL.Nat64),
@@ -784,6 +785,27 @@ export const idlFactory = ({ IDL }) => {
784
785
  const ListKnownNeuronsResponse = IDL.Record({
785
786
  known_neurons: IDL.Vec(KnownNeuron),
786
787
  });
788
+ const ListNeuronVotesRequest = IDL.Record({
789
+ before_proposal: IDL.Opt(ProposalId),
790
+ limit: IDL.Opt(IDL.Nat64),
791
+ neuron_id: IDL.Opt(NeuronId),
792
+ });
793
+ const Vote = IDL.Variant({
794
+ No: IDL.Null,
795
+ Yes: IDL.Null,
796
+ Unspecified: IDL.Null,
797
+ });
798
+ const NeuronVote = IDL.Record({
799
+ vote: IDL.Opt(Vote),
800
+ proposal_id: IDL.Opt(ProposalId),
801
+ });
802
+ const ListNeuronVotesResponse = IDL.Variant({
803
+ Ok: IDL.Record({
804
+ votes: IDL.Opt(IDL.Vec(NeuronVote)),
805
+ all_finalized_before_proposal: IDL.Opt(ProposalId),
806
+ }),
807
+ Err: GovernanceError,
808
+ });
787
809
  const NeuronSubaccount = IDL.Record({ subaccount: IDL.Vec(IDL.Nat8) });
788
810
  const ListNeurons = IDL.Record({
789
811
  page_size: IDL.Opt(IDL.Nat64),
@@ -1026,6 +1048,11 @@ export const idlFactory = ({ IDL }) => {
1026
1048
  ),
1027
1049
  get_restore_aging_summary: IDL.Func([], [RestoreAgingSummary], ["query"]),
1028
1050
  list_known_neurons: IDL.Func([], [ListKnownNeuronsResponse], ["query"]),
1051
+ list_neuron_votes: IDL.Func(
1052
+ [ListNeuronVotesRequest],
1053
+ [ListNeuronVotesResponse],
1054
+ ["query"],
1055
+ ),
1029
1056
  list_neurons: IDL.Func([ListNeurons], [ListNeuronsResponse], ["query"]),
1030
1057
  list_node_provider_rewards: IDL.Func(
1031
1058
  [ListNodeProviderRewardsRequest],
@@ -720,6 +720,7 @@ export const idlFactory = ({ IDL }) => {
720
720
  exclusive_start_neuron_id: IDL.Opt(NeuronId),
721
721
  });
722
722
  const NeuronInfo = IDL.Record({
723
+ id: IDL.Opt(NeuronId),
723
724
  dissolve_delay_seconds: IDL.Nat64,
724
725
  recent_ballots: IDL.Vec(BallotInfo),
725
726
  voting_power_refreshed_timestamp_seconds: IDL.Opt(IDL.Nat64),
@@ -784,6 +785,27 @@ export const idlFactory = ({ IDL }) => {
784
785
  const ListKnownNeuronsResponse = IDL.Record({
785
786
  known_neurons: IDL.Vec(KnownNeuron),
786
787
  });
788
+ const ListNeuronVotesRequest = IDL.Record({
789
+ before_proposal: IDL.Opt(ProposalId),
790
+ limit: IDL.Opt(IDL.Nat64),
791
+ neuron_id: IDL.Opt(NeuronId),
792
+ });
793
+ const Vote = IDL.Variant({
794
+ No: IDL.Null,
795
+ Yes: IDL.Null,
796
+ Unspecified: IDL.Null,
797
+ });
798
+ const NeuronVote = IDL.Record({
799
+ vote: IDL.Opt(Vote),
800
+ proposal_id: IDL.Opt(ProposalId),
801
+ });
802
+ const ListNeuronVotesResponse = IDL.Variant({
803
+ Ok: IDL.Record({
804
+ votes: IDL.Opt(IDL.Vec(NeuronVote)),
805
+ all_finalized_before_proposal: IDL.Opt(ProposalId),
806
+ }),
807
+ Err: GovernanceError,
808
+ });
787
809
  const NeuronSubaccount = IDL.Record({ subaccount: IDL.Vec(IDL.Nat8) });
788
810
  const ListNeurons = IDL.Record({
789
811
  page_size: IDL.Opt(IDL.Nat64),
@@ -1018,6 +1040,11 @@ export const idlFactory = ({ IDL }) => {
1018
1040
  get_proposal_info: IDL.Func([IDL.Nat64], [IDL.Opt(ProposalInfo)], []),
1019
1041
  get_restore_aging_summary: IDL.Func([], [RestoreAgingSummary], []),
1020
1042
  list_known_neurons: IDL.Func([], [ListKnownNeuronsResponse], []),
1043
+ list_neuron_votes: IDL.Func(
1044
+ [ListNeuronVotesRequest],
1045
+ [ListNeuronVotesResponse],
1046
+ [],
1047
+ ),
1021
1048
  list_neurons: IDL.Func([ListNeurons], [ListNeuronsResponse], []),
1022
1049
  list_node_provider_rewards: IDL.Func(
1023
1050
  [ListNodeProviderRewardsRequest],
@@ -430,6 +430,40 @@ export interface LedgerParameters {
430
430
  export interface ListKnownNeuronsResponse {
431
431
  known_neurons: Array<KnownNeuron>;
432
432
  }
433
+ export interface ListNeuronVotesRequest {
434
+ /**
435
+ * Only fetch the voting history for proposal whose id `< before_proposal`. This can be used as a
436
+ * pagination token - pass the minimum proposal id as `before_proposal` for the next page.
437
+ */
438
+ before_proposal: [] | [ProposalId];
439
+ /**
440
+ * The maximum number of votes to fetch. The maximum number allowed is 500, and 500 will be used
441
+ * if is set as either null or > 500.
442
+ */
443
+ limit: [] | [bigint];
444
+ /**
445
+ * The neuron id for which the voting history will be returned. Currently, the voting history is
446
+ * only recorded for known neurons.
447
+ */
448
+ neuron_id: [] | [NeuronId];
449
+ }
450
+ export type ListNeuronVotesResponse =
451
+ | {
452
+ Ok: {
453
+ votes: [] | [Array<NeuronVote>];
454
+ /**
455
+ * All the proposals before this id is "finalized", which means if a proposal before this id
456
+ * does not exist in the votes, it will never appear in the voting history, either because the
457
+ * neuron is not eligible to vote on the proposal, or the neuron is not a known neuron at the
458
+ * time of the proposal creation. Therefore, if a client syncs the entire voting history of a
459
+ * certain neuron and store `all_finalized_before_proposal`, it doesn't need to start from
460
+ * scratch the next time - it can stop as soon as they have seen any votes
461
+ * `< all_finalized_before_proposal`.
462
+ */
463
+ all_finalized_before_proposal: [] | [ProposalId];
464
+ };
465
+ }
466
+ | { Err: GovernanceError };
433
467
  /**
434
468
  * Parameters of the list_neurons method.
435
469
  */
@@ -734,6 +768,7 @@ export interface NeuronIndexData {
734
768
  * one of the same (or at least similar) name in Neuron.
735
769
  */
736
770
  export interface NeuronInfo {
771
+ id: [] | [NeuronId];
737
772
  dissolve_delay_seconds: bigint;
738
773
  recent_ballots: Array<BallotInfo>;
739
774
  voting_power_refreshed_timestamp_seconds: [] | [bigint];
@@ -794,6 +829,13 @@ export interface NeuronSubsetMetrics {
794
829
  potential_voting_power_buckets: Array<[bigint, bigint]>;
795
830
  count_buckets: Array<[bigint, bigint]>;
796
831
  }
832
+ export interface NeuronVote {
833
+ /**
834
+ * The vote of the neuron on the specific proposal id.
835
+ */
836
+ vote: [] | [Vote];
837
+ proposal_id: [] | [ProposalId];
838
+ }
797
839
  export interface NeuronsFundAuditInfo {
798
840
  final_neurons_fund_participation: [] | [NeuronsFundParticipation];
799
841
  initial_neurons_fund_participation: [] | [NeuronsFundParticipation];
@@ -1162,6 +1204,15 @@ export interface UpdateCanisterSettings {
1162
1204
  export interface UpdateNodeProvider {
1163
1205
  reward_account: [] | [AccountIdentifier];
1164
1206
  }
1207
+ export type Vote =
1208
+ | { No: null }
1209
+ | { Yes: null }
1210
+ | {
1211
+ /**
1212
+ * Abstentions are recorded as Unspecified.
1213
+ */
1214
+ Unspecified: null;
1215
+ };
1165
1216
  /**
1166
1217
  * Parameters that affect the voting power of neurons.
1167
1218
  */
@@ -1247,6 +1298,10 @@ export interface _SERVICE {
1247
1298
  get_proposal_info: ActorMethod<[bigint], [] | [ProposalInfo]>;
1248
1299
  get_restore_aging_summary: ActorMethod<[], RestoreAgingSummary>;
1249
1300
  list_known_neurons: ActorMethod<[], ListKnownNeuronsResponse>;
1301
+ list_neuron_votes: ActorMethod<
1302
+ [ListNeuronVotesRequest],
1303
+ ListNeuronVotesResponse
1304
+ >;
1250
1305
  list_neurons: ActorMethod<[ListNeurons], ListNeuronsResponse>;
1251
1306
  list_node_provider_rewards: ActorMethod<
1252
1307
  [ListNodeProviderRewardsRequest],
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit c211885f7c (2025-10-09) 'packages/nns/candid/governance_test.did.tmp' by import-candid
1
+ // Generated from IC repo commit 199fb79 (2025-10-29 tags: release-2025-10-30_03-22-base) 'packages/nns/src/candid/governance_test.did.tmp' by import-candid
2
2
 
3
3
  type AccountIdentifier = record {
4
4
  hash : blob;
@@ -818,6 +818,7 @@ type GetNeuronIndexResult = variant {
818
818
  // As such, the meaning of each field in this type is generally the same as the
819
819
  // one of the same (or at least similar) name in Neuron.
820
820
  type NeuronInfo = record {
821
+ id: opt NeuronId;
821
822
  dissolve_delay_seconds : nat64;
822
823
  recent_ballots : vec BallotInfo;
823
824
  neuron_type : opt int32;
@@ -1378,6 +1379,46 @@ type TopicToFollow = variant {
1378
1379
  ServiceNervousSystemManagement;
1379
1380
  };
1380
1381
 
1382
+ type ListNeuronVotesRequest = record {
1383
+ // The neuron id for which the voting history will be returned. Currently, the voting history is
1384
+ // only recorded for known neurons.
1385
+ neuron_id : opt NeuronId;
1386
+ // Only fetch the voting history for proposal whose id `< before_proposal`. This can be used as a
1387
+ // pagination token - pass the minimum proposal id as `before_proposal` for the next page.
1388
+ before_proposal : opt ProposalId;
1389
+ // The maximum number of votes to fetch. The maximum number allowed is 500, and 500 will be used
1390
+ // if is set as either null or > 500.
1391
+ limit : opt nat64;
1392
+ };
1393
+
1394
+ type ListNeuronVotesResponse = variant {
1395
+ Ok : record {
1396
+ votes : opt vec NeuronVote;
1397
+ // All the proposals before this id is "finalized", which means if a proposal before this id
1398
+ // does not exist in the votes, it will never appear in the voting history, either because the
1399
+ // neuron is not eligible to vote on the proposal, or the neuron is not a known neuron at the
1400
+ // time of the proposal creation. Therefore, if a client syncs the entire voting history of a
1401
+ // certain neuron and store `all_finalized_before_proposal`, it doesn't need to start from
1402
+ // scratch the next time - it can stop as soon as they have seen any votes
1403
+ // `< all_finalized_before_proposal`.
1404
+ all_finalized_before_proposal : opt ProposalId;
1405
+ };
1406
+ Err : GovernanceError;
1407
+ };
1408
+
1409
+ type NeuronVote = record {
1410
+ proposal_id : opt ProposalId;
1411
+ // The vote of the neuron on the specific proposal id.
1412
+ vote : opt Vote;
1413
+ };
1414
+
1415
+ type Vote = variant {
1416
+ // Abstentions are recorded as Unspecified.
1417
+ Unspecified;
1418
+ Yes;
1419
+ No;
1420
+ };
1421
+
1381
1422
  service : (Governance) -> {
1382
1423
  claim_gtc_neurons : (principal, vec NeuronId) -> (Result);
1383
1424
  claim_or_refresh_neuron_from_account : (ClaimOrRefreshNeuronFromAccount) -> (
@@ -1415,6 +1456,7 @@ service : (Governance) -> {
1415
1456
  ) query;
1416
1457
  list_node_providers : () -> (ListNodeProvidersResponse) query;
1417
1458
  list_proposals : (ListProposalInfo) -> (ListProposalInfoResponse) query;
1459
+ list_neuron_votes : (ListNeuronVotesRequest) -> (ListNeuronVotesResponse) query;
1418
1460
  manage_neuron : (ManageNeuronRequest) -> (ManageNeuronResponse);
1419
1461
  settle_community_fund_participation : (SettleCommunityFundParticipation) -> (
1420
1462
  Result,
@@ -720,6 +720,7 @@ export const idlFactory = ({ IDL }) => {
720
720
  exclusive_start_neuron_id: IDL.Opt(NeuronId),
721
721
  });
722
722
  const NeuronInfo = IDL.Record({
723
+ id: IDL.Opt(NeuronId),
723
724
  dissolve_delay_seconds: IDL.Nat64,
724
725
  recent_ballots: IDL.Vec(BallotInfo),
725
726
  voting_power_refreshed_timestamp_seconds: IDL.Opt(IDL.Nat64),
@@ -784,6 +785,27 @@ export const idlFactory = ({ IDL }) => {
784
785
  const ListKnownNeuronsResponse = IDL.Record({
785
786
  known_neurons: IDL.Vec(KnownNeuron),
786
787
  });
788
+ const ListNeuronVotesRequest = IDL.Record({
789
+ before_proposal: IDL.Opt(ProposalId),
790
+ limit: IDL.Opt(IDL.Nat64),
791
+ neuron_id: IDL.Opt(NeuronId),
792
+ });
793
+ const Vote = IDL.Variant({
794
+ No: IDL.Null,
795
+ Yes: IDL.Null,
796
+ Unspecified: IDL.Null,
797
+ });
798
+ const NeuronVote = IDL.Record({
799
+ vote: IDL.Opt(Vote),
800
+ proposal_id: IDL.Opt(ProposalId),
801
+ });
802
+ const ListNeuronVotesResponse = IDL.Variant({
803
+ Ok: IDL.Record({
804
+ votes: IDL.Opt(IDL.Vec(NeuronVote)),
805
+ all_finalized_before_proposal: IDL.Opt(ProposalId),
806
+ }),
807
+ Err: GovernanceError,
808
+ });
787
809
  const NeuronSubaccount = IDL.Record({ subaccount: IDL.Vec(IDL.Nat8) });
788
810
  const ListNeurons = IDL.Record({
789
811
  page_size: IDL.Opt(IDL.Nat64),
@@ -1026,6 +1048,11 @@ export const idlFactory = ({ IDL }) => {
1026
1048
  ),
1027
1049
  get_restore_aging_summary: IDL.Func([], [RestoreAgingSummary], ["query"]),
1028
1050
  list_known_neurons: IDL.Func([], [ListKnownNeuronsResponse], ["query"]),
1051
+ list_neuron_votes: IDL.Func(
1052
+ [ListNeuronVotesRequest],
1053
+ [ListNeuronVotesResponse],
1054
+ ["query"],
1055
+ ),
1029
1056
  list_neurons: IDL.Func([ListNeurons], [ListNeuronsResponse], ["query"]),
1030
1057
  list_node_provider_rewards: IDL.Func(
1031
1058
  [ListNodeProviderRewardsRequest],
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit c211885f7c (2025-10-09) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
1
+ // Generated from IC repo commit 199fb79 (2025-10-29 tags: release-2025-10-30_03-22-base) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
2
2
 
3
3
  type AddWasmRequest = record {
4
4
  hash : blob;
@@ -105,7 +105,10 @@ export declare enum NnsFunction {
105
105
  UpdateSshReadOnlyAccessForAllUnassignedNodes = 49,
106
106
  ReviseElectedHostosVersions = 50,
107
107
  DeployHostosToSomeNodes = 51,
108
- SubnetRentalRequest = 52
108
+ SubnetRentalRequest = 52,
109
+ PauseCanisterMigrations = 53,
110
+ UnpauseCanisterMigrations = 54,
111
+ SetSubnetOperationalLevel = 55
109
112
  }
110
113
  export declare enum NeuronType {
111
114
  Unspecified = 0,