@dfinity/nns 10.3.1-next-2025-10-15 → 10.3.1-next-2025-10-15.1

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.
package/README.md CHANGED
@@ -273,7 +273,7 @@ it's fetched using a query call.
273
273
  | ---------------------- | ----------------------------------------------- |
274
274
  | `getLatestRewardEvent` | `(certified?: boolean) => Promise<RewardEvent>` |
275
275
 
276
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L319)
276
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L318)
277
277
 
278
278
  ##### :gear: listProposals
279
279
 
@@ -292,7 +292,7 @@ Parameters:
292
292
  - `request`: the options to list the proposals (limit number of results, topics to search for, etc.)
293
293
  - `certified`: query or update calls
294
294
 
295
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L332)
295
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L331)
296
296
 
297
297
  ##### :gear: stakeNeuron
298
298
 
@@ -300,7 +300,7 @@ Parameters:
300
300
  | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
301
301
  | `stakeNeuron` | `({ stake, principal, fromSubAccount, ledgerCanister, createdAt, fee, }: { stake: bigint; principal: Principal; fromSubAccount?: number[] or undefined; ledgerCanister: LedgerCanister; createdAt?: bigint or undefined; fee?: bigint or undefined; }) => Promise<...>` |
302
302
 
303
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L351)
303
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L350)
304
304
 
305
305
  ##### :gear: increaseDissolveDelay
306
306
 
@@ -310,7 +310,7 @@ Increases dissolve delay of a neuron
310
310
  | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
311
311
  | `increaseDissolveDelay` | `({ neuronId, additionalDissolveDelaySeconds, }: { neuronId: bigint; additionalDissolveDelaySeconds: number; }) => Promise<void>` |
312
312
 
313
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L412)
313
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L411)
314
314
 
315
315
  ##### :gear: setDissolveDelay
316
316
 
@@ -321,7 +321,7 @@ The new date is now + dissolveDelaySeconds.
321
321
  | ------------------ | ------------------------------------------------------------------------------------------------------------- |
322
322
  | `setDissolveDelay` | `({ neuronId, dissolveDelaySeconds, }: { neuronId: bigint; dissolveDelaySeconds: number; }) => Promise<void>` |
323
323
 
324
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L438)
324
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L437)
325
325
 
326
326
  ##### :gear: startDissolving
327
327
 
@@ -331,7 +331,7 @@ Start dissolving process of a neuron
331
331
  | ----------------- | ------------------------------------- |
332
332
  | `startDissolving` | `(neuronId: bigint) => Promise<void>` |
333
333
 
334
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L461)
334
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L460)
335
335
 
336
336
  ##### :gear: stopDissolving
337
337
 
@@ -341,7 +341,7 @@ Stop dissolving process of a neuron
341
341
  | ---------------- | ------------------------------------- |
342
342
  | `stopDissolving` | `(neuronId: bigint) => Promise<void>` |
343
343
 
344
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L475)
344
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L474)
345
345
 
346
346
  ##### :gear: joinCommunityFund
347
347
 
@@ -351,7 +351,7 @@ Neuron joins the community fund
351
351
  | ------------------- | ------------------------------------- |
352
352
  | `joinCommunityFund` | `(neuronId: bigint) => Promise<void>` |
353
353
 
354
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L489)
354
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L488)
355
355
 
356
356
  ##### :gear: autoStakeMaturity
357
357
 
@@ -366,7 +366,7 @@ Parameters:
366
366
  - `neuronId`: The id of the neuron for which to request a change of the auto stake feature
367
367
  - `autoStake`: `true` to enable the auto-stake maturity for this neuron, `false` to turn it off
368
368
 
369
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L507)
369
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L506)
370
370
 
371
371
  ##### :gear: leaveCommunityFund
372
372
 
@@ -376,7 +376,7 @@ Neuron leaves the community fund
376
376
  | -------------------- | ------------------------------------- |
377
377
  | `leaveCommunityFund` | `(neuronId: bigint) => Promise<void>` |
378
378
 
379
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L522)
379
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L521)
380
380
 
381
381
  ##### :gear: setVisibility
382
382
 
@@ -386,7 +386,7 @@ Set visibility of a neuron
386
386
  | --------------- | ------------------------------------------------------------------- |
387
387
  | `setVisibility` | `(neuronId: bigint, visibility: NeuronVisibility) => Promise<void>` |
388
388
 
389
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L537)
389
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L536)
390
390
 
391
391
  ##### :gear: setNodeProviderAccount
392
392
 
@@ -397,7 +397,7 @@ Where the reward is paid to.
397
397
  | ------------------------ | ---------------------------------------------- |
398
398
  | `setNodeProviderAccount` | `(accountIdentifier: string) => Promise<void>` |
399
399
 
400
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L557)
400
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L556)
401
401
 
402
402
  ##### :gear: mergeNeurons
403
403
 
@@ -407,7 +407,7 @@ Merge two neurons
407
407
  | -------------- | --------------------------------------------------------------------------------- |
408
408
  | `mergeNeurons` | `(request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<void>` |
409
409
 
410
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L577)
410
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L576)
411
411
 
412
412
  ##### :gear: simulateMergeNeurons
413
413
 
@@ -417,7 +417,7 @@ Simulate merging two neurons
417
417
  | ---------------------- | --------------------------------------------------------------------------------------- |
418
418
  | `simulateMergeNeurons` | `(request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<NeuronInfo>` |
419
419
 
420
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L594)
420
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L593)
421
421
 
422
422
  ##### :gear: splitNeuron
423
423
 
@@ -431,7 +431,7 @@ Returns:
431
431
 
432
432
  newNeuronId
433
433
 
434
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L639)
434
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L638)
435
435
 
436
436
  ##### :gear: getProposal
437
437
 
@@ -444,7 +444,7 @@ it is fetched using a query call.
444
444
  | ------------- | ------------------------------------------------------------------------------------------------------------------------------- |
445
445
  | `getProposal` | `({ proposalId, certified, }: { proposalId: bigint; certified?: boolean or undefined; }) => Promise<ProposalInfo or undefined>` |
446
446
 
447
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L682)
447
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L681)
448
448
 
449
449
  ##### :gear: makeProposal
450
450
 
@@ -458,7 +458,7 @@ Returns:
458
458
 
459
459
  The newly created proposal ID or undefined if the success response returned by the Governance canister does not provide such information.
460
460
 
461
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L700)
461
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L699)
462
462
 
463
463
  ##### :gear: registerVote
464
464
 
@@ -468,7 +468,7 @@ Registers vote for a proposal from the neuron passed.
468
468
  | -------------- | ----------------------------------------------------------------------------------------------------------- |
469
469
  | `registerVote` | `({ neuronId, vote, proposalId, }: { neuronId: bigint; vote: Vote; proposalId: bigint; }) => Promise<void>` |
470
470
 
471
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L721)
471
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L720)
472
472
 
473
473
  ##### :gear: setFollowees
474
474
 
@@ -478,7 +478,7 @@ Edit neuron followees per topic
478
478
  | -------------- | ------------------------------------------------- |
479
479
  | `setFollowees` | `(followRequest: FollowRequest) => Promise<void>` |
480
480
 
481
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L743)
481
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L742)
482
482
 
483
483
  ##### :gear: disburse
484
484
 
@@ -488,7 +488,7 @@ Disburse neuron on Account
488
488
  | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
489
489
  | `disburse` | `({ neuronId, toAccountId, amount, }: { neuronId: bigint; toAccountId?: string or undefined; amount?: bigint or undefined; }) => Promise<void>` |
490
490
 
491
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L758)
491
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L757)
492
492
 
493
493
  ##### :gear: refreshVotingPower
494
494
 
@@ -500,7 +500,7 @@ parameter of the neuron to the current time).
500
500
  | -------------------- | --------------------------------------------------------- |
501
501
  | `refreshVotingPower` | `({ neuronId, }: { neuronId: bigint; }) => Promise<void>` |
502
502
 
503
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L794)
503
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L793)
504
504
 
505
505
  ##### :gear: mergeMaturity
506
506
 
@@ -510,7 +510,7 @@ Merge Maturity of a neuron
510
510
  | --------------- | ------------------------------------------------------------------------------------------------------- |
511
511
  | `mergeMaturity` | `({ neuronId, percentageToMerge, }: { neuronId: bigint; percentageToMerge: number; }) => Promise<void>` |
512
512
 
513
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L816)
513
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L815)
514
514
 
515
515
  ##### :gear: stakeMaturity
516
516
 
@@ -525,7 +525,7 @@ Parameters:
525
525
  - `neuronId`: The id of the neuron for which to stake the maturity
526
526
  - `percentageToStake`: Optional. Percentage of the current maturity to stake. If not provided, all of the neuron's current maturity will be staked.
527
527
 
528
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L845)
528
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L844)
529
529
 
530
530
  ##### :gear: spawnNeuron
531
531
 
@@ -535,7 +535,7 @@ Merge Maturity of a neuron
535
535
  | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
536
536
  | `spawnNeuron` | `({ neuronId, percentageToSpawn, newController, nonce, }: { neuronId: bigint; percentageToSpawn?: number or undefined; newController?: Principal or undefined; nonce?: bigint or undefined; }) => Promise<bigint>` |
537
537
 
538
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L867)
538
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L866)
539
539
 
540
540
  ##### :gear: addHotkey
541
541
 
@@ -545,7 +545,7 @@ Add hotkey to neuron
545
545
  | ----------- | ------------------------------------------------------------------------------------------ |
546
546
  | `addHotkey` | `({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void>` |
547
547
 
548
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L914)
548
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L913)
549
549
 
550
550
  ##### :gear: removeHotkey
551
551
 
@@ -555,7 +555,7 @@ Remove hotkey to neuron
555
555
  | -------------- | ------------------------------------------------------------------------------------------ |
556
556
  | `removeHotkey` | `({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void>` |
557
557
 
558
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L934)
558
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L933)
559
559
 
560
560
  ##### :gear: claimOrRefreshNeuronFromAccount
561
561
 
@@ -565,7 +565,7 @@ Gets the NeuronID of a newly created neuron.
565
565
  | --------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
566
566
  | `claimOrRefreshNeuronFromAccount` | `({ memo, controller, }: { memo: bigint; controller?: Principal or undefined; }) => Promise<bigint or undefined>` |
567
567
 
568
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L952)
568
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L951)
569
569
 
570
570
  ##### :gear: claimOrRefreshNeuron
571
571
 
@@ -576,7 +576,7 @@ Uses query call only.
576
576
  | ---------------------- | ------------------------------------------------------------------------ |
577
577
  | `claimOrRefreshNeuron` | `(request: ClaimOrRefreshNeuronRequest) => Promise<bigint or undefined>` |
578
578
 
579
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L983)
579
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L982)
580
580
 
581
581
  ##### :gear: getNeuron
582
582
 
@@ -586,7 +586,7 @@ Return the data of the neuron provided as id.
586
586
  | ----------- | ----------------------------------------------------------------------------------------------------------- |
587
587
  | `getNeuron` | `({ certified, neuronId, }: { certified: boolean; neuronId: bigint; }) => Promise<NeuronInfo or undefined>` |
588
588
 
589
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1008)
589
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1007)
590
590
 
591
591
  ##### :gear: getNetworkEconomicsParameters
592
592
 
@@ -596,7 +596,7 @@ Return the [Network Economics](https://github.com/dfinity/ic/blob/d90e934eb440c7
596
596
  | ------------------------------- | ------------------------------------------------------------------------ |
597
597
  | `getNetworkEconomicsParameters` | `({ certified, }: { certified: boolean; }) => Promise<NetworkEconomics>` |
598
598
 
599
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1029)
599
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1028)
600
600
 
601
601
  ##### :gear: disburseMaturity
602
602
 
@@ -614,7 +614,7 @@ Parameters:
614
614
  - `params.toAccountIdentifier`: Optional. The account identifier to which the maturity will be disbursed. If not provided, the maturity will be disbursed to the caller's Main account.
615
615
  - `params.toAccount`: Optional. The ICRC account to which the maturity will be disbursed. If not provided, the maturity will be disbursed to the caller's Main account.
616
616
 
617
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1058)
617
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1057)
618
618
 
619
619
  ##### :gear: setFollowing
620
620
 
@@ -629,7 +629,7 @@ Parameters:
629
629
  - `params.neuronId`: The id of the neuron for which to set the following topics
630
630
  - `params.topicFollowing`: The topics and the followees for each topic that the neuron should follow.
631
631
 
632
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1089)
632
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1088)
633
633
 
634
634
  ##### :gear: getMetrics
635
635
 
@@ -637,7 +637,7 @@ Parameters:
637
637
  | ------------ | ------------------------------------------------------------------------------- |
638
638
  | `getMetrics` | `({ certified, }: { certified: boolean; }) => Promise<GovernanceCachedMetrics>` |
639
639
 
640
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1104)
640
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1103)
641
641
 
642
642
  ### :factory: SnsWasmCanister
643
643
 
@@ -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 285897d (2025-10-08 tags: release-2025-10-09_03-15-base) 'rs/nns/gtc/canister/gtc.did' by import-candid
2
2
 
3
3
  type AccountState = record {
4
4
  authenticated_principal_id : opt principal;
@@ -262,29 +262,8 @@ export const idlFactory = ({ IDL }) => {
262
262
  'total' : IDL.Nat64,
263
263
  'timestamp_seconds' : IDL.Nat64,
264
264
  });
265
- const TopicToFollow = IDL.Variant({
266
- 'Kyc' : IDL.Null,
267
- 'ServiceNervousSystemManagement' : IDL.Null,
268
- 'ApiBoundaryNodeManagement' : IDL.Null,
269
- 'ApplicationCanisterManagement' : IDL.Null,
270
- 'SubnetRental' : IDL.Null,
271
- 'NeuronManagement' : IDL.Null,
272
- 'NodeProviderRewards' : IDL.Null,
273
- 'SubnetManagement' : IDL.Null,
274
- 'ExchangeRate' : IDL.Null,
275
- 'CatchAll' : IDL.Null,
276
- 'NodeAdmin' : IDL.Null,
277
- 'IcOsVersionElection' : IDL.Null,
278
- 'ProtocolCanisterManagement' : IDL.Null,
279
- 'NetworkEconomics' : IDL.Null,
280
- 'IcOsVersionDeployment' : IDL.Null,
281
- 'ParticipantManagement' : IDL.Null,
282
- 'Governance' : IDL.Null,
283
- 'SnsAndCommunityFund' : IDL.Null,
284
- });
285
265
  const KnownNeuronData = IDL.Record({
286
266
  'name' : IDL.Text,
287
- 'committed_topics' : IDL.Opt(IDL.Vec(IDL.Opt(TopicToFollow))),
288
267
  'description' : IDL.Opt(IDL.Text),
289
268
  'links' : IDL.Opt(IDL.Vec(IDL.Text)),
290
269
  });
@@ -727,10 +706,6 @@ export const idlFactory = ({ IDL }) => {
727
706
  'Ok' : MonthlyNodeProviderRewards,
728
707
  'Err' : GovernanceError,
729
708
  });
730
- const GetNeuronIndexRequest = IDL.Record({
731
- 'page_size' : IDL.Opt(IDL.Nat32),
732
- 'exclusive_start_neuron_id' : IDL.Opt(NeuronId),
733
- });
734
709
  const NeuronInfo = IDL.Record({
735
710
  'dissolve_delay_seconds' : IDL.Nat64,
736
711
  'recent_ballots' : IDL.Vec(BallotInfo),
@@ -748,11 +723,6 @@ export const idlFactory = ({ IDL }) => {
748
723
  'voting_power' : IDL.Nat64,
749
724
  'age_seconds' : IDL.Nat64,
750
725
  });
751
- const NeuronIndexData = IDL.Record({ 'neurons' : IDL.Vec(NeuronInfo) });
752
- const GetNeuronIndexResult = IDL.Variant({
753
- 'Ok' : NeuronIndexData,
754
- 'Err' : GovernanceError,
755
- });
756
726
  const Result_5 = IDL.Variant({ 'Ok' : NeuronInfo, 'Err' : GovernanceError });
757
727
  const GetNeuronsFundAuditInfoRequest = IDL.Record({
758
728
  'nns_proposal_id' : IDL.Opt(ProposalId),
@@ -1008,11 +978,6 @@ export const idlFactory = ({ IDL }) => {
1008
978
  ),
1009
979
  'get_network_economics_parameters' : IDL.Func([], [NetworkEconomics], []),
1010
980
  'get_neuron_ids' : IDL.Func([], [IDL.Vec(IDL.Nat64)], []),
1011
- 'get_neuron_index' : IDL.Func(
1012
- [GetNeuronIndexRequest],
1013
- [GetNeuronIndexResult],
1014
- [],
1015
- ),
1016
981
  'get_neuron_info' : IDL.Func([IDL.Nat64], [Result_5], []),
1017
982
  'get_neuron_info_by_id_or_subaccount' : IDL.Func(
1018
983
  [NeuronIdOrSubaccount],
@@ -1327,29 +1292,8 @@ export const init = ({ IDL }) => {
1327
1292
  'total' : IDL.Nat64,
1328
1293
  'timestamp_seconds' : IDL.Nat64,
1329
1294
  });
1330
- const TopicToFollow = IDL.Variant({
1331
- 'Kyc' : IDL.Null,
1332
- 'ServiceNervousSystemManagement' : IDL.Null,
1333
- 'ApiBoundaryNodeManagement' : IDL.Null,
1334
- 'ApplicationCanisterManagement' : IDL.Null,
1335
- 'SubnetRental' : IDL.Null,
1336
- 'NeuronManagement' : IDL.Null,
1337
- 'NodeProviderRewards' : IDL.Null,
1338
- 'SubnetManagement' : IDL.Null,
1339
- 'ExchangeRate' : IDL.Null,
1340
- 'CatchAll' : IDL.Null,
1341
- 'NodeAdmin' : IDL.Null,
1342
- 'IcOsVersionElection' : IDL.Null,
1343
- 'ProtocolCanisterManagement' : IDL.Null,
1344
- 'NetworkEconomics' : IDL.Null,
1345
- 'IcOsVersionDeployment' : IDL.Null,
1346
- 'ParticipantManagement' : IDL.Null,
1347
- 'Governance' : IDL.Null,
1348
- 'SnsAndCommunityFund' : IDL.Null,
1349
- });
1350
1295
  const KnownNeuronData = IDL.Record({
1351
1296
  'name' : IDL.Text,
1352
- 'committed_topics' : IDL.Opt(IDL.Vec(IDL.Opt(TopicToFollow))),
1353
1297
  'description' : IDL.Opt(IDL.Text),
1354
1298
  'links' : IDL.Opt(IDL.Vec(IDL.Text)),
1355
1299
  });
@@ -267,13 +267,6 @@ export interface FulfillSubnetRentalRequest {
267
267
  */
268
268
  node_ids: [] | [Array<Principal>];
269
269
  }
270
- export interface GetNeuronIndexRequest {
271
- page_size: [] | [number];
272
- exclusive_start_neuron_id: [] | [NeuronId];
273
- }
274
- export type GetNeuronIndexResult =
275
- | { Ok: NeuronIndexData }
276
- | { Err: GovernanceError };
277
270
  export interface GetNeuronsFundAuditInfoRequest {
278
271
  nns_proposal_id: [] | [ProposalId];
279
272
  }
@@ -404,12 +397,6 @@ export interface KnownNeuron {
404
397
  }
405
398
  export interface KnownNeuronData {
406
399
  name: string;
407
- /**
408
- * The first `opt` makes it so that the field can be renamed/deprecated in the future, and
409
- * the second `opt` makes it so that an older client not recognizing a new variant can still
410
- * get the rest of the `vec`.
411
- */
412
- committed_topics: [] | [Array<[] | [TopicToFollow]>];
413
400
  description: [] | [string];
414
401
  links: [] | [Array<string>];
415
402
  }
@@ -714,9 +701,6 @@ export interface NeuronInFlightCommand {
714
701
  command: [] | [Command_2];
715
702
  timestamp: bigint;
716
703
  }
717
- export interface NeuronIndexData {
718
- neurons: Array<NeuronInfo>;
719
- }
720
704
  /**
721
705
  * A limit view of Neuron that allows some aspects of all neurons to be read by
722
706
  * anyone (i.e. without having to be the neuron's controller nor one of its
@@ -1122,31 +1106,6 @@ export interface TimeWindow {
1122
1106
  export interface Tokens {
1123
1107
  e8s: [] | [bigint];
1124
1108
  }
1125
- /**
1126
- * A topic that can be followed. It is almost the same as the topic on the
1127
- * proposal, except that the `CatchAll` is a special value and following on this
1128
- * `topic` will let the neuron follow the votes on all topics except for
1129
- * Governance and SnsAndCommunityFund.
1130
- */
1131
- export type TopicToFollow =
1132
- | { Kyc: null }
1133
- | { ServiceNervousSystemManagement: null }
1134
- | { ApiBoundaryNodeManagement: null }
1135
- | { ApplicationCanisterManagement: null }
1136
- | { SubnetRental: null }
1137
- | { NeuronManagement: null }
1138
- | { NodeProviderRewards: null }
1139
- | { SubnetManagement: null }
1140
- | { ExchangeRate: null }
1141
- | { CatchAll: null }
1142
- | { NodeAdmin: null }
1143
- | { IcOsVersionElection: null }
1144
- | { ProtocolCanisterManagement: null }
1145
- | { NetworkEconomics: null }
1146
- | { IcOsVersionDeployment: null }
1147
- | { ParticipantManagement: null }
1148
- | { Governance: null }
1149
- | { SnsAndCommunityFund: null };
1150
1109
  export interface UpdateCanisterSettings {
1151
1110
  canister_id: [] | [Principal];
1152
1111
  settings: [] | [CanisterSettings];
@@ -1224,7 +1183,6 @@ export interface _SERVICE {
1224
1183
  >;
1225
1184
  get_network_economics_parameters: ActorMethod<[], NetworkEconomics>;
1226
1185
  get_neuron_ids: ActorMethod<[], BigUint64Array | bigint[]>;
1227
- get_neuron_index: ActorMethod<[GetNeuronIndexRequest], GetNeuronIndexResult>;
1228
1186
  get_neuron_info: ActorMethod<[bigint], Result_5>;
1229
1187
  get_neuron_info_by_id_or_subaccount: ActorMethod<
1230
1188
  [NeuronIdOrSubaccount],
@@ -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 285897d (2025-10-08 tags: release-2025-10-09_03-15-base) 'rs/nns/governance/canister/governance.did' by import-candid
2
2
 
3
3
  type AccountIdentifier = record {
4
4
  hash : blob;
@@ -451,10 +451,6 @@ type KnownNeuronData = record {
451
451
  name : text;
452
452
  description : opt text;
453
453
  links : opt vec text;
454
- // The first `opt` makes it so that the field can be renamed/deprecated in the future, and
455
- // the second `opt` makes it so that an older client not recognizing a new variant can still
456
- // get the rest of the `vec`.
457
- committed_topics : opt vec opt TopicToFollow;
458
454
  };
459
455
 
460
456
  type LedgerParameters = record {
@@ -797,20 +793,6 @@ type NeuronInFlightCommand = record {
797
793
  timestamp : nat64;
798
794
  };
799
795
 
800
- type GetNeuronIndexRequest = record {
801
- exclusive_start_neuron_id: opt NeuronId;
802
- page_size: opt nat32;
803
- };
804
-
805
- type NeuronIndexData = record {
806
- neurons: vec NeuronInfo;
807
- };
808
-
809
- type GetNeuronIndexResult = variant {
810
- Ok : NeuronIndexData;
811
- Err : GovernanceError;
812
- };
813
-
814
796
  // A limit view of Neuron that allows some aspects of all neurons to be read by
815
797
  // anyone (i.e. without having to be the neuron's controller nor one of its
816
798
  // hotkeys).
@@ -1353,31 +1335,6 @@ type MaturityDisbursement = record {
1353
1335
  account_identifier_to_disburse_to : opt AccountIdentifier;
1354
1336
  };
1355
1337
 
1356
- // A topic that can be followed. It is almost the same as the topic on the
1357
- // proposal, except that the `CatchAll` is a special value and following on this
1358
- // `topic` will let the neuron follow the votes on all topics except for
1359
- // Governance and SnsAndCommunityFund.
1360
- type TopicToFollow = variant {
1361
- CatchAll;
1362
- NeuronManagement;
1363
- ExchangeRate;
1364
- NetworkEconomics;
1365
- Governance;
1366
- NodeAdmin;
1367
- ParticipantManagement;
1368
- SubnetManagement;
1369
- Kyc;
1370
- NodeProviderRewards;
1371
- IcOsVersionDeployment;
1372
- IcOsVersionElection;
1373
- SnsAndCommunityFund;
1374
- ApiBoundaryNodeManagement;
1375
- SubnetRental;
1376
- ApplicationCanisterManagement;
1377
- ProtocolCanisterManagement;
1378
- ServiceNervousSystemManagement;
1379
- };
1380
-
1381
1338
  service : (Governance) -> {
1382
1339
  claim_gtc_neurons : (principal, vec NeuronId) -> (Result);
1383
1340
  claim_or_refresh_neuron_from_account : (ClaimOrRefreshNeuronFromAccount) -> (
@@ -1396,7 +1353,6 @@ service : (Governance) -> {
1396
1353
  ) query;
1397
1354
  get_network_economics_parameters : () -> (NetworkEconomics) query;
1398
1355
  get_neuron_ids : () -> (vec nat64) query;
1399
- get_neuron_index: (GetNeuronIndexRequest) -> (GetNeuronIndexResult) query;
1400
1356
  get_neuron_info : (nat64) -> (Result_5) query;
1401
1357
  get_neuron_info_by_id_or_subaccount : (NeuronIdOrSubaccount) -> (
1402
1358
  Result_5,
@@ -262,29 +262,8 @@ export const idlFactory = ({ IDL }) => {
262
262
  'total' : IDL.Nat64,
263
263
  'timestamp_seconds' : IDL.Nat64,
264
264
  });
265
- const TopicToFollow = IDL.Variant({
266
- 'Kyc' : IDL.Null,
267
- 'ServiceNervousSystemManagement' : IDL.Null,
268
- 'ApiBoundaryNodeManagement' : IDL.Null,
269
- 'ApplicationCanisterManagement' : IDL.Null,
270
- 'SubnetRental' : IDL.Null,
271
- 'NeuronManagement' : IDL.Null,
272
- 'NodeProviderRewards' : IDL.Null,
273
- 'SubnetManagement' : IDL.Null,
274
- 'ExchangeRate' : IDL.Null,
275
- 'CatchAll' : IDL.Null,
276
- 'NodeAdmin' : IDL.Null,
277
- 'IcOsVersionElection' : IDL.Null,
278
- 'ProtocolCanisterManagement' : IDL.Null,
279
- 'NetworkEconomics' : IDL.Null,
280
- 'IcOsVersionDeployment' : IDL.Null,
281
- 'ParticipantManagement' : IDL.Null,
282
- 'Governance' : IDL.Null,
283
- 'SnsAndCommunityFund' : IDL.Null,
284
- });
285
265
  const KnownNeuronData = IDL.Record({
286
266
  'name' : IDL.Text,
287
- 'committed_topics' : IDL.Opt(IDL.Vec(IDL.Opt(TopicToFollow))),
288
267
  'description' : IDL.Opt(IDL.Text),
289
268
  'links' : IDL.Opt(IDL.Vec(IDL.Text)),
290
269
  });
@@ -727,10 +706,6 @@ export const idlFactory = ({ IDL }) => {
727
706
  'Ok' : MonthlyNodeProviderRewards,
728
707
  'Err' : GovernanceError,
729
708
  });
730
- const GetNeuronIndexRequest = IDL.Record({
731
- 'page_size' : IDL.Opt(IDL.Nat32),
732
- 'exclusive_start_neuron_id' : IDL.Opt(NeuronId),
733
- });
734
709
  const NeuronInfo = IDL.Record({
735
710
  'dissolve_delay_seconds' : IDL.Nat64,
736
711
  'recent_ballots' : IDL.Vec(BallotInfo),
@@ -748,11 +723,6 @@ export const idlFactory = ({ IDL }) => {
748
723
  'voting_power' : IDL.Nat64,
749
724
  'age_seconds' : IDL.Nat64,
750
725
  });
751
- const NeuronIndexData = IDL.Record({ 'neurons' : IDL.Vec(NeuronInfo) });
752
- const GetNeuronIndexResult = IDL.Variant({
753
- 'Ok' : NeuronIndexData,
754
- 'Err' : GovernanceError,
755
- });
756
726
  const Result_5 = IDL.Variant({ 'Ok' : NeuronInfo, 'Err' : GovernanceError });
757
727
  const GetNeuronsFundAuditInfoRequest = IDL.Record({
758
728
  'nns_proposal_id' : IDL.Opt(ProposalId),
@@ -1012,11 +982,6 @@ export const idlFactory = ({ IDL }) => {
1012
982
  ['query'],
1013
983
  ),
1014
984
  'get_neuron_ids' : IDL.Func([], [IDL.Vec(IDL.Nat64)], ['query']),
1015
- 'get_neuron_index' : IDL.Func(
1016
- [GetNeuronIndexRequest],
1017
- [GetNeuronIndexResult],
1018
- ['query'],
1019
- ),
1020
985
  'get_neuron_info' : IDL.Func([IDL.Nat64], [Result_5], ['query']),
1021
986
  'get_neuron_info_by_id_or_subaccount' : IDL.Func(
1022
987
  [NeuronIdOrSubaccount],
@@ -1343,29 +1308,8 @@ export const init = ({ IDL }) => {
1343
1308
  'total' : IDL.Nat64,
1344
1309
  'timestamp_seconds' : IDL.Nat64,
1345
1310
  });
1346
- const TopicToFollow = IDL.Variant({
1347
- 'Kyc' : IDL.Null,
1348
- 'ServiceNervousSystemManagement' : IDL.Null,
1349
- 'ApiBoundaryNodeManagement' : IDL.Null,
1350
- 'ApplicationCanisterManagement' : IDL.Null,
1351
- 'SubnetRental' : IDL.Null,
1352
- 'NeuronManagement' : IDL.Null,
1353
- 'NodeProviderRewards' : IDL.Null,
1354
- 'SubnetManagement' : IDL.Null,
1355
- 'ExchangeRate' : IDL.Null,
1356
- 'CatchAll' : IDL.Null,
1357
- 'NodeAdmin' : IDL.Null,
1358
- 'IcOsVersionElection' : IDL.Null,
1359
- 'ProtocolCanisterManagement' : IDL.Null,
1360
- 'NetworkEconomics' : IDL.Null,
1361
- 'IcOsVersionDeployment' : IDL.Null,
1362
- 'ParticipantManagement' : IDL.Null,
1363
- 'Governance' : IDL.Null,
1364
- 'SnsAndCommunityFund' : IDL.Null,
1365
- });
1366
1311
  const KnownNeuronData = IDL.Record({
1367
1312
  'name' : IDL.Text,
1368
- 'committed_topics' : IDL.Opt(IDL.Vec(IDL.Opt(TopicToFollow))),
1369
1313
  'description' : IDL.Opt(IDL.Text),
1370
1314
  'links' : IDL.Opt(IDL.Vec(IDL.Text)),
1371
1315
  });