@dfinity/nns 11.1.3 → 11.1.4-next-2025-11-26

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 fa06b0e (2025-11-12 tags: release-2025-11-13_03-24-base) 'rs/nns/gtc/canister/gtc.did' by import-candid
1
+ // Generated from IC repo commit 948d5b9 (2025-11-19 tags: release-2025-11-20_03-21-base) 'rs/nns/gtc/canister/gtc.did' by import-candid
2
2
 
3
3
  type AccountState = record {
4
4
  authenticated_principal_id : opt principal;
@@ -39,6 +39,7 @@ export const idlFactory = ({ IDL }) => {
39
39
  timestamp_seconds: IDL.Opt(IDL.Nat64),
40
40
  });
41
41
  const MonthlyNodeProviderRewards = IDL.Record({
42
+ algorithm_version: IDL.Opt(IDL.Nat32),
42
43
  minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
43
44
  end_date: IDL.Opt(DateUtc),
44
45
  registry_version: IDL.Opt(IDL.Nat64),
@@ -386,7 +387,7 @@ export const idlFactory = ({ IDL }) => {
386
387
  to_account: IDL.Opt(AccountIdentifier),
387
388
  amount: IDL.Opt(Amount),
388
389
  });
389
- const Command = IDL.Variant({
390
+ const ManageNeuronProposalCommand = IDL.Variant({
390
391
  Spawn: Spawn,
391
392
  Split: Split,
392
393
  Follow: Follow,
@@ -407,9 +408,9 @@ export const idlFactory = ({ IDL }) => {
407
408
  Subaccount: IDL.Vec(IDL.Nat8),
408
409
  NeuronId: NeuronId,
409
410
  });
410
- const ManageNeuron = IDL.Record({
411
+ const ManageNeuronProposal = IDL.Record({
411
412
  id: IDL.Opt(NeuronId),
412
- command: IDL.Opt(Command),
413
+ command: IDL.Opt(ManageNeuronProposalCommand),
413
414
  neuron_id_or_subaccount: IDL.Opt(NeuronIdOrSubaccount),
414
415
  });
415
416
  const Controllers = IDL.Record({ controllers: IDL.Vec(IDL.Principal) });
@@ -575,7 +576,7 @@ export const idlFactory = ({ IDL }) => {
575
576
  const Action = IDL.Variant({
576
577
  RegisterKnownNeuron: KnownNeuron,
577
578
  FulfillSubnetRentalRequest: FulfillSubnetRentalRequest,
578
- ManageNeuron: ManageNeuron,
579
+ ManageNeuron: ManageNeuronProposal,
579
580
  UpdateCanisterSettings: UpdateCanisterSettings,
580
581
  InstallCode: InstallCode,
581
582
  DeregisterKnownNeuron: DeregisterKnownNeuron,
@@ -1117,6 +1118,7 @@ export const init = ({ IDL }) => {
1117
1118
  timestamp_seconds: IDL.Opt(IDL.Nat64),
1118
1119
  });
1119
1120
  const MonthlyNodeProviderRewards = IDL.Record({
1121
+ algorithm_version: IDL.Opt(IDL.Nat32),
1120
1122
  minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
1121
1123
  end_date: IDL.Opt(DateUtc),
1122
1124
  registry_version: IDL.Opt(IDL.Nat64),
@@ -1464,7 +1466,7 @@ export const init = ({ IDL }) => {
1464
1466
  to_account: IDL.Opt(AccountIdentifier),
1465
1467
  amount: IDL.Opt(Amount),
1466
1468
  });
1467
- const Command = IDL.Variant({
1469
+ const ManageNeuronProposalCommand = IDL.Variant({
1468
1470
  Spawn: Spawn,
1469
1471
  Split: Split,
1470
1472
  Follow: Follow,
@@ -1485,9 +1487,9 @@ export const init = ({ IDL }) => {
1485
1487
  Subaccount: IDL.Vec(IDL.Nat8),
1486
1488
  NeuronId: NeuronId,
1487
1489
  });
1488
- const ManageNeuron = IDL.Record({
1490
+ const ManageNeuronProposal = IDL.Record({
1489
1491
  id: IDL.Opt(NeuronId),
1490
- command: IDL.Opt(Command),
1492
+ command: IDL.Opt(ManageNeuronProposalCommand),
1491
1493
  neuron_id_or_subaccount: IDL.Opt(NeuronIdOrSubaccount),
1492
1494
  });
1493
1495
  const Controllers = IDL.Record({ controllers: IDL.Vec(IDL.Principal) });
@@ -1653,7 +1655,7 @@ export const init = ({ IDL }) => {
1653
1655
  const Action = IDL.Variant({
1654
1656
  RegisterKnownNeuron: KnownNeuron,
1655
1657
  FulfillSubnetRentalRequest: FulfillSubnetRentalRequest,
1656
- ManageNeuron: ManageNeuron,
1658
+ ManageNeuron: ManageNeuronProposal,
1657
1659
  UpdateCanisterSettings: UpdateCanisterSettings,
1658
1660
  InstallCode: InstallCode,
1659
1661
  DeregisterKnownNeuron: DeregisterKnownNeuron,
@@ -20,7 +20,7 @@ export interface AccountIdentifier {
20
20
  export type Action =
21
21
  | { RegisterKnownNeuron: KnownNeuron }
22
22
  | { FulfillSubnetRentalRequest: FulfillSubnetRentalRequest }
23
- | { ManageNeuron: ManageNeuron }
23
+ | { ManageNeuron: ManageNeuronProposal }
24
24
  | { UpdateCanisterSettings: UpdateCanisterSettings }
25
25
  | { InstallCode: InstallCode }
26
26
  | { DeregisterKnownNeuron: DeregisterKnownNeuron }
@@ -102,25 +102,6 @@ export interface ClaimOrRefreshNeuronFromAccountResponse {
102
102
  export interface ClaimOrRefreshResponse {
103
103
  refreshed_neuron_id: [] | [NeuronId];
104
104
  }
105
- /**
106
- * KEEP THIS IN SYNC WITH ManageNeuronCommandRequest!
107
- */
108
- export type Command =
109
- | { Spawn: Spawn }
110
- | { Split: Split }
111
- | { Follow: Follow }
112
- | { DisburseMaturity: DisburseMaturity }
113
- | { RefreshVotingPower: RefreshVotingPower }
114
- | { ClaimOrRefresh: ClaimOrRefresh }
115
- | { Configure: Configure }
116
- | { RegisterVote: RegisterVote }
117
- | { Merge: Merge }
118
- | { DisburseToNeuron: DisburseToNeuron }
119
- | { SetFollowing: SetFollowing }
120
- | { MakeProposal: Proposal }
121
- | { StakeMaturity: StakeMaturity }
122
- | { MergeMaturity: MergeMaturity }
123
- | { Disburse: Disburse };
124
105
  export type Command_1 =
125
106
  | { Error: GovernanceError }
126
107
  | { Spawn: SpawnResponse }
@@ -543,18 +524,37 @@ export interface MakeProposalResponse {
543
524
  proposal_id: [] | [ProposalId];
544
525
  }
545
526
  /**
546
- * Not to be confused with ManageNeuronRequest. (Yes, this is very structurally
547
- * similar to that, but not actually exactly equivalent.)
527
+ * KEEP THIS IN SYNC WITH COMMAND!
528
+ */
529
+ export type ManageNeuronCommandRequest =
530
+ | { Spawn: Spawn }
531
+ | { Split: Split }
532
+ | { Follow: Follow }
533
+ | { DisburseMaturity: DisburseMaturity }
534
+ | { RefreshVotingPower: RefreshVotingPower }
535
+ | { ClaimOrRefresh: ClaimOrRefresh }
536
+ | { Configure: Configure }
537
+ | { RegisterVote: RegisterVote }
538
+ | { Merge: Merge }
539
+ | { DisburseToNeuron: DisburseToNeuron }
540
+ | { SetFollowing: SetFollowing }
541
+ | { MakeProposal: MakeProposalRequest }
542
+ | { StakeMaturity: StakeMaturity }
543
+ | { MergeMaturity: MergeMaturity }
544
+ | { Disburse: Disburse };
545
+ /**
546
+ * Not to be confused with ManageNeuronRequest. This is only used to represent a manage neuron proposal.
547
+ * (Yes, this is very structurally similar to that, but not actually exactly equivalent)
548
548
  */
549
- export interface ManageNeuron {
549
+ export interface ManageNeuronProposal {
550
550
  id: [] | [NeuronId];
551
- command: [] | [Command];
551
+ command: [] | [ManageNeuronProposalCommand];
552
552
  neuron_id_or_subaccount: [] | [NeuronIdOrSubaccount];
553
553
  }
554
554
  /**
555
- * KEEP THIS IN SYNC WITH COMMAND!
555
+ * KEEP THIS IN SYNC WITH ManageNeuronCommandRequest!
556
556
  */
557
- export type ManageNeuronCommandRequest =
557
+ export type ManageNeuronProposalCommand =
558
558
  | { Spawn: Spawn }
559
559
  | { Split: Split }
560
560
  | { Follow: Follow }
@@ -566,7 +566,7 @@ export type ManageNeuronCommandRequest =
566
566
  | { Merge: Merge }
567
567
  | { DisburseToNeuron: DisburseToNeuron }
568
568
  | { SetFollowing: SetFollowing }
569
- | { MakeProposal: MakeProposalRequest }
569
+ | { MakeProposal: Proposal }
570
570
  | { StakeMaturity: StakeMaturity }
571
571
  | { MergeMaturity: MergeMaturity }
572
572
  | { Disburse: Disburse };
@@ -621,6 +621,7 @@ export interface MergeResponse {
621
621
  source_neuron_info: [] | [NeuronInfo];
622
622
  }
623
623
  export interface MonthlyNodeProviderRewards {
624
+ algorithm_version: [] | [number];
624
625
  minimum_xdr_permyriad_per_icp: [] | [bigint];
625
626
  end_date: [] | [DateUtc];
626
627
  registry_version: [] | [bigint];
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit fa06b0e (2025-11-12 tags: release-2025-11-13_03-24-base) 'rs/nns/governance/canister/governance.did' by import-candid
1
+ // Generated from IC repo commit 948d5b9 (2025-11-19 tags: release-2025-11-20_03-21-base) 'rs/nns/governance/canister/governance.did' by import-candid
2
2
 
3
3
  type AccountIdentifier = record {
4
4
  hash : blob;
@@ -7,7 +7,7 @@ type AccountIdentifier = record {
7
7
  type Action = variant {
8
8
  RegisterKnownNeuron : KnownNeuron;
9
9
  DeregisterKnownNeuron : DeregisterKnownNeuron;
10
- ManageNeuron : ManageNeuron;
10
+ ManageNeuron : ManageNeuronProposal;
11
11
  UpdateCanisterSettings : UpdateCanisterSettings;
12
12
  InstallCode : InstallCode;
13
13
  StopOrStartCanister : StopOrStartCanister;
@@ -155,7 +155,7 @@ type SetFollowingResponse = record {
155
155
  };
156
156
 
157
157
  // KEEP THIS IN SYNC WITH ManageNeuronCommandRequest!
158
- type Command = variant {
158
+ type ManageNeuronProposalCommand = variant {
159
159
  Spawn : Spawn;
160
160
  Split : Split;
161
161
  Follow : Follow;
@@ -545,11 +545,11 @@ type MakeProposalResponse = record {
545
545
  proposal_id : opt ProposalId;
546
546
  };
547
547
 
548
- // Not to be confused with ManageNeuronRequest. (Yes, this is very structurally
549
- // similar to that, but not actually exactly equivalent.)
550
- type ManageNeuron = record {
548
+ // Not to be confused with ManageNeuronRequest. This is only used to represent a manage neuron proposal.
549
+ // (Yes, this is very structurally similar to that, but not actually exactly equivalent)
550
+ type ManageNeuronProposal = record {
551
551
  id : opt NeuronId;
552
- command : opt Command;
552
+ command : opt ManageNeuronProposalCommand;
553
553
  neuron_id_or_subaccount : opt NeuronIdOrSubaccount;
554
554
  };
555
555
 
@@ -622,6 +622,7 @@ type DateUtc = record {
622
622
  type MonthlyNodeProviderRewards = record {
623
623
  minimum_xdr_permyriad_per_icp : opt nat64;
624
624
  registry_version : opt nat64;
625
+ algorithm_version : opt nat32;
625
626
  node_providers : vec NodeProvider;
626
627
  timestamp : nat64;
627
628
  start_date : opt DateUtc;
@@ -39,6 +39,7 @@ export const idlFactory = ({ IDL }) => {
39
39
  timestamp_seconds: IDL.Opt(IDL.Nat64),
40
40
  });
41
41
  const MonthlyNodeProviderRewards = IDL.Record({
42
+ algorithm_version: IDL.Opt(IDL.Nat32),
42
43
  minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
43
44
  end_date: IDL.Opt(DateUtc),
44
45
  registry_version: IDL.Opt(IDL.Nat64),
@@ -386,7 +387,7 @@ export const idlFactory = ({ IDL }) => {
386
387
  to_account: IDL.Opt(AccountIdentifier),
387
388
  amount: IDL.Opt(Amount),
388
389
  });
389
- const Command = IDL.Variant({
390
+ const ManageNeuronProposalCommand = IDL.Variant({
390
391
  Spawn: Spawn,
391
392
  Split: Split,
392
393
  Follow: Follow,
@@ -407,9 +408,9 @@ export const idlFactory = ({ IDL }) => {
407
408
  Subaccount: IDL.Vec(IDL.Nat8),
408
409
  NeuronId: NeuronId,
409
410
  });
410
- const ManageNeuron = IDL.Record({
411
+ const ManageNeuronProposal = IDL.Record({
411
412
  id: IDL.Opt(NeuronId),
412
- command: IDL.Opt(Command),
413
+ command: IDL.Opt(ManageNeuronProposalCommand),
413
414
  neuron_id_or_subaccount: IDL.Opt(NeuronIdOrSubaccount),
414
415
  });
415
416
  const Controllers = IDL.Record({ controllers: IDL.Vec(IDL.Principal) });
@@ -575,7 +576,7 @@ export const idlFactory = ({ IDL }) => {
575
576
  const Action = IDL.Variant({
576
577
  RegisterKnownNeuron: KnownNeuron,
577
578
  FulfillSubnetRentalRequest: FulfillSubnetRentalRequest,
578
- ManageNeuron: ManageNeuron,
579
+ ManageNeuron: ManageNeuronProposal,
579
580
  UpdateCanisterSettings: UpdateCanisterSettings,
580
581
  InstallCode: InstallCode,
581
582
  DeregisterKnownNeuron: DeregisterKnownNeuron,
@@ -1125,6 +1126,7 @@ export const init = ({ IDL }) => {
1125
1126
  timestamp_seconds: IDL.Opt(IDL.Nat64),
1126
1127
  });
1127
1128
  const MonthlyNodeProviderRewards = IDL.Record({
1129
+ algorithm_version: IDL.Opt(IDL.Nat32),
1128
1130
  minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
1129
1131
  end_date: IDL.Opt(DateUtc),
1130
1132
  registry_version: IDL.Opt(IDL.Nat64),
@@ -1472,7 +1474,7 @@ export const init = ({ IDL }) => {
1472
1474
  to_account: IDL.Opt(AccountIdentifier),
1473
1475
  amount: IDL.Opt(Amount),
1474
1476
  });
1475
- const Command = IDL.Variant({
1477
+ const ManageNeuronProposalCommand = IDL.Variant({
1476
1478
  Spawn: Spawn,
1477
1479
  Split: Split,
1478
1480
  Follow: Follow,
@@ -1493,9 +1495,9 @@ export const init = ({ IDL }) => {
1493
1495
  Subaccount: IDL.Vec(IDL.Nat8),
1494
1496
  NeuronId: NeuronId,
1495
1497
  });
1496
- const ManageNeuron = IDL.Record({
1498
+ const ManageNeuronProposal = IDL.Record({
1497
1499
  id: IDL.Opt(NeuronId),
1498
- command: IDL.Opt(Command),
1500
+ command: IDL.Opt(ManageNeuronProposalCommand),
1499
1501
  neuron_id_or_subaccount: IDL.Opt(NeuronIdOrSubaccount),
1500
1502
  });
1501
1503
  const Controllers = IDL.Record({ controllers: IDL.Vec(IDL.Principal) });
@@ -1661,7 +1663,7 @@ export const init = ({ IDL }) => {
1661
1663
  const Action = IDL.Variant({
1662
1664
  RegisterKnownNeuron: KnownNeuron,
1663
1665
  FulfillSubnetRentalRequest: FulfillSubnetRentalRequest,
1664
- ManageNeuron: ManageNeuron,
1666
+ ManageNeuron: ManageNeuronProposal,
1665
1667
  UpdateCanisterSettings: UpdateCanisterSettings,
1666
1668
  InstallCode: InstallCode,
1667
1669
  DeregisterKnownNeuron: DeregisterKnownNeuron,
@@ -39,6 +39,7 @@ export const idlFactory = ({ IDL }) => {
39
39
  timestamp_seconds: IDL.Opt(IDL.Nat64),
40
40
  });
41
41
  const MonthlyNodeProviderRewards = IDL.Record({
42
+ algorithm_version: IDL.Opt(IDL.Nat32),
42
43
  minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
43
44
  end_date: IDL.Opt(DateUtc),
44
45
  registry_version: IDL.Opt(IDL.Nat64),
@@ -386,7 +387,7 @@ export const idlFactory = ({ IDL }) => {
386
387
  to_account: IDL.Opt(AccountIdentifier),
387
388
  amount: IDL.Opt(Amount),
388
389
  });
389
- const Command = IDL.Variant({
390
+ const ManageNeuronProposalCommand = IDL.Variant({
390
391
  Spawn: Spawn,
391
392
  Split: Split,
392
393
  Follow: Follow,
@@ -407,9 +408,9 @@ export const idlFactory = ({ IDL }) => {
407
408
  Subaccount: IDL.Vec(IDL.Nat8),
408
409
  NeuronId: NeuronId,
409
410
  });
410
- const ManageNeuron = IDL.Record({
411
+ const ManageNeuronProposal = IDL.Record({
411
412
  id: IDL.Opt(NeuronId),
412
- command: IDL.Opt(Command),
413
+ command: IDL.Opt(ManageNeuronProposalCommand),
413
414
  neuron_id_or_subaccount: IDL.Opt(NeuronIdOrSubaccount),
414
415
  });
415
416
  const Controllers = IDL.Record({ controllers: IDL.Vec(IDL.Principal) });
@@ -575,7 +576,7 @@ export const idlFactory = ({ IDL }) => {
575
576
  const Action = IDL.Variant({
576
577
  RegisterKnownNeuron: KnownNeuron,
577
578
  FulfillSubnetRentalRequest: FulfillSubnetRentalRequest,
578
- ManageNeuron: ManageNeuron,
579
+ ManageNeuron: ManageNeuronProposal,
579
580
  UpdateCanisterSettings: UpdateCanisterSettings,
580
581
  InstallCode: InstallCode,
581
582
  DeregisterKnownNeuron: DeregisterKnownNeuron,
@@ -1118,6 +1119,7 @@ export const init = ({ IDL }) => {
1118
1119
  timestamp_seconds: IDL.Opt(IDL.Nat64),
1119
1120
  });
1120
1121
  const MonthlyNodeProviderRewards = IDL.Record({
1122
+ algorithm_version: IDL.Opt(IDL.Nat32),
1121
1123
  minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
1122
1124
  end_date: IDL.Opt(DateUtc),
1123
1125
  registry_version: IDL.Opt(IDL.Nat64),
@@ -1465,7 +1467,7 @@ export const init = ({ IDL }) => {
1465
1467
  to_account: IDL.Opt(AccountIdentifier),
1466
1468
  amount: IDL.Opt(Amount),
1467
1469
  });
1468
- const Command = IDL.Variant({
1470
+ const ManageNeuronProposalCommand = IDL.Variant({
1469
1471
  Spawn: Spawn,
1470
1472
  Split: Split,
1471
1473
  Follow: Follow,
@@ -1486,9 +1488,9 @@ export const init = ({ IDL }) => {
1486
1488
  Subaccount: IDL.Vec(IDL.Nat8),
1487
1489
  NeuronId: NeuronId,
1488
1490
  });
1489
- const ManageNeuron = IDL.Record({
1491
+ const ManageNeuronProposal = IDL.Record({
1490
1492
  id: IDL.Opt(NeuronId),
1491
- command: IDL.Opt(Command),
1493
+ command: IDL.Opt(ManageNeuronProposalCommand),
1492
1494
  neuron_id_or_subaccount: IDL.Opt(NeuronIdOrSubaccount),
1493
1495
  });
1494
1496
  const Controllers = IDL.Record({ controllers: IDL.Vec(IDL.Principal) });
@@ -1654,7 +1656,7 @@ export const init = ({ IDL }) => {
1654
1656
  const Action = IDL.Variant({
1655
1657
  RegisterKnownNeuron: KnownNeuron,
1656
1658
  FulfillSubnetRentalRequest: FulfillSubnetRentalRequest,
1657
- ManageNeuron: ManageNeuron,
1659
+ ManageNeuron: ManageNeuronProposal,
1658
1660
  UpdateCanisterSettings: UpdateCanisterSettings,
1659
1661
  InstallCode: InstallCode,
1660
1662
  DeregisterKnownNeuron: DeregisterKnownNeuron,
@@ -20,7 +20,7 @@ export interface AccountIdentifier {
20
20
  export type Action =
21
21
  | { RegisterKnownNeuron: KnownNeuron }
22
22
  | { FulfillSubnetRentalRequest: FulfillSubnetRentalRequest }
23
- | { ManageNeuron: ManageNeuron }
23
+ | { ManageNeuron: ManageNeuronProposal }
24
24
  | { UpdateCanisterSettings: UpdateCanisterSettings }
25
25
  | { InstallCode: InstallCode }
26
26
  | { DeregisterKnownNeuron: DeregisterKnownNeuron }
@@ -102,25 +102,6 @@ export interface ClaimOrRefreshNeuronFromAccountResponse {
102
102
  export interface ClaimOrRefreshResponse {
103
103
  refreshed_neuron_id: [] | [NeuronId];
104
104
  }
105
- /**
106
- * KEEP THIS IN SYNC WITH ManageNeuronCommandRequest!
107
- */
108
- export type Command =
109
- | { Spawn: Spawn }
110
- | { Split: Split }
111
- | { Follow: Follow }
112
- | { DisburseMaturity: DisburseMaturity }
113
- | { RefreshVotingPower: RefreshVotingPower }
114
- | { ClaimOrRefresh: ClaimOrRefresh }
115
- | { Configure: Configure }
116
- | { RegisterVote: RegisterVote }
117
- | { Merge: Merge }
118
- | { DisburseToNeuron: DisburseToNeuron }
119
- | { SetFollowing: SetFollowing }
120
- | { MakeProposal: Proposal }
121
- | { StakeMaturity: StakeMaturity }
122
- | { MergeMaturity: MergeMaturity }
123
- | { Disburse: Disburse };
124
105
  export type Command_1 =
125
106
  | { Error: GovernanceError }
126
107
  | { Spawn: SpawnResponse }
@@ -543,18 +524,37 @@ export interface MakeProposalResponse {
543
524
  proposal_id: [] | [ProposalId];
544
525
  }
545
526
  /**
546
- * Not to be confused with ManageNeuronRequest. (Yes, this is very structurally
547
- * similar to that, but not actually exactly equivalent.)
527
+ * KEEP THIS IN SYNC WITH COMMAND!
528
+ */
529
+ export type ManageNeuronCommandRequest =
530
+ | { Spawn: Spawn }
531
+ | { Split: Split }
532
+ | { Follow: Follow }
533
+ | { DisburseMaturity: DisburseMaturity }
534
+ | { RefreshVotingPower: RefreshVotingPower }
535
+ | { ClaimOrRefresh: ClaimOrRefresh }
536
+ | { Configure: Configure }
537
+ | { RegisterVote: RegisterVote }
538
+ | { Merge: Merge }
539
+ | { DisburseToNeuron: DisburseToNeuron }
540
+ | { SetFollowing: SetFollowing }
541
+ | { MakeProposal: MakeProposalRequest }
542
+ | { StakeMaturity: StakeMaturity }
543
+ | { MergeMaturity: MergeMaturity }
544
+ | { Disburse: Disburse };
545
+ /**
546
+ * Not to be confused with ManageNeuronRequest. This is only used to represent a manage neuron proposal.
547
+ * (Yes, this is very structurally similar to that, but not actually exactly equivalent)
548
548
  */
549
- export interface ManageNeuron {
549
+ export interface ManageNeuronProposal {
550
550
  id: [] | [NeuronId];
551
- command: [] | [Command];
551
+ command: [] | [ManageNeuronProposalCommand];
552
552
  neuron_id_or_subaccount: [] | [NeuronIdOrSubaccount];
553
553
  }
554
554
  /**
555
- * KEEP THIS IN SYNC WITH COMMAND!
555
+ * KEEP THIS IN SYNC WITH ManageNeuronCommandRequest!
556
556
  */
557
- export type ManageNeuronCommandRequest =
557
+ export type ManageNeuronProposalCommand =
558
558
  | { Spawn: Spawn }
559
559
  | { Split: Split }
560
560
  | { Follow: Follow }
@@ -566,7 +566,7 @@ export type ManageNeuronCommandRequest =
566
566
  | { Merge: Merge }
567
567
  | { DisburseToNeuron: DisburseToNeuron }
568
568
  | { SetFollowing: SetFollowing }
569
- | { MakeProposal: MakeProposalRequest }
569
+ | { MakeProposal: Proposal }
570
570
  | { StakeMaturity: StakeMaturity }
571
571
  | { MergeMaturity: MergeMaturity }
572
572
  | { Disburse: Disburse };
@@ -621,6 +621,7 @@ export interface MergeResponse {
621
621
  source_neuron_info: [] | [NeuronInfo];
622
622
  }
623
623
  export interface MonthlyNodeProviderRewards {
624
+ algorithm_version: [] | [number];
624
625
  minimum_xdr_permyriad_per_icp: [] | [bigint];
625
626
  end_date: [] | [DateUtc];
626
627
  registry_version: [] | [bigint];
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 4e64157 (2025-11-17) 'packages/nns/src/candid/governance_test.did.tmp' by import-candid
1
+ // Generated from IC repo commit 5e10dc3 (2025-11-24) 'packages/nns/src/candid/governance_test.did.tmp' by import-candid
2
2
 
3
3
  type AccountIdentifier = record {
4
4
  hash : blob;
@@ -7,7 +7,7 @@ type AccountIdentifier = record {
7
7
  type Action = variant {
8
8
  RegisterKnownNeuron : KnownNeuron;
9
9
  DeregisterKnownNeuron : DeregisterKnownNeuron;
10
- ManageNeuron : ManageNeuron;
10
+ ManageNeuron : ManageNeuronProposal;
11
11
  UpdateCanisterSettings : UpdateCanisterSettings;
12
12
  InstallCode : InstallCode;
13
13
  StopOrStartCanister : StopOrStartCanister;
@@ -155,7 +155,7 @@ type SetFollowingResponse = record {
155
155
  };
156
156
 
157
157
  // KEEP THIS IN SYNC WITH ManageNeuronCommandRequest!
158
- type Command = variant {
158
+ type ManageNeuronProposalCommand = variant {
159
159
  Spawn : Spawn;
160
160
  Split : Split;
161
161
  Follow : Follow;
@@ -545,11 +545,11 @@ type MakeProposalResponse = record {
545
545
  proposal_id : opt ProposalId;
546
546
  };
547
547
 
548
- // Not to be confused with ManageNeuronRequest. (Yes, this is very structurally
549
- // similar to that, but not actually exactly equivalent.)
550
- type ManageNeuron = record {
548
+ // Not to be confused with ManageNeuronRequest. This is only used to represent a manage neuron proposal.
549
+ // (Yes, this is very structurally similar to that, but not actually exactly equivalent)
550
+ type ManageNeuronProposal = record {
551
551
  id : opt NeuronId;
552
- command : opt Command;
552
+ command : opt ManageNeuronProposalCommand;
553
553
  neuron_id_or_subaccount : opt NeuronIdOrSubaccount;
554
554
  };
555
555
 
@@ -622,6 +622,7 @@ type DateUtc = record {
622
622
  type MonthlyNodeProviderRewards = record {
623
623
  minimum_xdr_permyriad_per_icp : opt nat64;
624
624
  registry_version : opt nat64;
625
+ algorithm_version : opt nat32;
625
626
  node_providers : vec NodeProvider;
626
627
  timestamp : nat64;
627
628
  start_date : opt DateUtc;
@@ -39,6 +39,7 @@ export const idlFactory = ({ IDL }) => {
39
39
  timestamp_seconds: IDL.Opt(IDL.Nat64),
40
40
  });
41
41
  const MonthlyNodeProviderRewards = IDL.Record({
42
+ algorithm_version: IDL.Opt(IDL.Nat32),
42
43
  minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
43
44
  end_date: IDL.Opt(DateUtc),
44
45
  registry_version: IDL.Opt(IDL.Nat64),
@@ -386,7 +387,7 @@ export const idlFactory = ({ IDL }) => {
386
387
  to_account: IDL.Opt(AccountIdentifier),
387
388
  amount: IDL.Opt(Amount),
388
389
  });
389
- const Command = IDL.Variant({
390
+ const ManageNeuronProposalCommand = IDL.Variant({
390
391
  Spawn: Spawn,
391
392
  Split: Split,
392
393
  Follow: Follow,
@@ -407,9 +408,9 @@ export const idlFactory = ({ IDL }) => {
407
408
  Subaccount: IDL.Vec(IDL.Nat8),
408
409
  NeuronId: NeuronId,
409
410
  });
410
- const ManageNeuron = IDL.Record({
411
+ const ManageNeuronProposal = IDL.Record({
411
412
  id: IDL.Opt(NeuronId),
412
- command: IDL.Opt(Command),
413
+ command: IDL.Opt(ManageNeuronProposalCommand),
413
414
  neuron_id_or_subaccount: IDL.Opt(NeuronIdOrSubaccount),
414
415
  });
415
416
  const Controllers = IDL.Record({ controllers: IDL.Vec(IDL.Principal) });
@@ -575,7 +576,7 @@ export const idlFactory = ({ IDL }) => {
575
576
  const Action = IDL.Variant({
576
577
  RegisterKnownNeuron: KnownNeuron,
577
578
  FulfillSubnetRentalRequest: FulfillSubnetRentalRequest,
578
- ManageNeuron: ManageNeuron,
579
+ ManageNeuron: ManageNeuronProposal,
579
580
  UpdateCanisterSettings: UpdateCanisterSettings,
580
581
  InstallCode: InstallCode,
581
582
  DeregisterKnownNeuron: DeregisterKnownNeuron,
@@ -1126,6 +1127,7 @@ export const init = ({ IDL }) => {
1126
1127
  timestamp_seconds: IDL.Opt(IDL.Nat64),
1127
1128
  });
1128
1129
  const MonthlyNodeProviderRewards = IDL.Record({
1130
+ algorithm_version: IDL.Opt(IDL.Nat32),
1129
1131
  minimum_xdr_permyriad_per_icp: IDL.Opt(IDL.Nat64),
1130
1132
  end_date: IDL.Opt(DateUtc),
1131
1133
  registry_version: IDL.Opt(IDL.Nat64),
@@ -1473,7 +1475,7 @@ export const init = ({ IDL }) => {
1473
1475
  to_account: IDL.Opt(AccountIdentifier),
1474
1476
  amount: IDL.Opt(Amount),
1475
1477
  });
1476
- const Command = IDL.Variant({
1478
+ const ManageNeuronProposalCommand = IDL.Variant({
1477
1479
  Spawn: Spawn,
1478
1480
  Split: Split,
1479
1481
  Follow: Follow,
@@ -1494,9 +1496,9 @@ export const init = ({ IDL }) => {
1494
1496
  Subaccount: IDL.Vec(IDL.Nat8),
1495
1497
  NeuronId: NeuronId,
1496
1498
  });
1497
- const ManageNeuron = IDL.Record({
1499
+ const ManageNeuronProposal = IDL.Record({
1498
1500
  id: IDL.Opt(NeuronId),
1499
- command: IDL.Opt(Command),
1501
+ command: IDL.Opt(ManageNeuronProposalCommand),
1500
1502
  neuron_id_or_subaccount: IDL.Opt(NeuronIdOrSubaccount),
1501
1503
  });
1502
1504
  const Controllers = IDL.Record({ controllers: IDL.Vec(IDL.Principal) });
@@ -1662,7 +1664,7 @@ export const init = ({ IDL }) => {
1662
1664
  const Action = IDL.Variant({
1663
1665
  RegisterKnownNeuron: KnownNeuron,
1664
1666
  FulfillSubnetRentalRequest: FulfillSubnetRentalRequest,
1665
- ManageNeuron: ManageNeuron,
1667
+ ManageNeuron: ManageNeuronProposal,
1666
1668
  UpdateCanisterSettings: UpdateCanisterSettings,
1667
1669
  InstallCode: InstallCode,
1668
1670
  DeregisterKnownNeuron: DeregisterKnownNeuron,
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit fa06b0e (2025-11-12 tags: release-2025-11-13_03-24-base) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
1
+ // Generated from IC repo commit 948d5b9 (2025-11-19 tags: release-2025-11-20_03-21-base) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
2
2
 
3
3
  type AddWasmRequest = record {
4
4
  hash : blob;