@dfinity/nns 8.4.0 → 8.4.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.
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 3ae3649 (2025-03-26 tags: release-2025-03-27_03-14-base) 'rs/nns/gtc/canister/gtc.did' by import-candid
1
+ // Generated from IC repo commit 579b8ba (2025-04-11 tags: release-2025-04-11_13-20-base) 'rs/nns/gtc/canister/gtc.did' by import-candid
2
2
  type AccountState = record {
3
3
  authenticated_principal_id : opt principal;
4
4
  successfully_transferred_neurons : vec TransferredNeuron;
@@ -487,10 +487,6 @@ export const idlFactory = ({ IDL }) => {
487
487
  'transfer_timestamp' : IDL.Nat64,
488
488
  'block_height' : IDL.Nat64,
489
489
  });
490
- const Followers = IDL.Record({ 'followers' : IDL.Vec(NeuronId) });
491
- const FollowersMap = IDL.Record({
492
- 'followers_map' : IDL.Vec(IDL.Tuple(IDL.Nat64, Followers)),
493
- });
494
490
  const GovernanceError = IDL.Record({
495
491
  'error_message' : IDL.Text,
496
492
  'error_type' : IDL.Int32,
@@ -660,7 +656,6 @@ export const idlFactory = ({ IDL }) => {
660
656
  'latest_reward_event' : IDL.Opt(RewardEvent),
661
657
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
662
658
  'short_voting_period_seconds' : IDL.Nat64,
663
- 'topic_followee_index' : IDL.Vec(IDL.Tuple(IDL.Int32, FollowersMap)),
664
659
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
665
660
  'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
666
661
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
@@ -1490,10 +1485,6 @@ export const init = ({ IDL }) => {
1490
1485
  'transfer_timestamp' : IDL.Nat64,
1491
1486
  'block_height' : IDL.Nat64,
1492
1487
  });
1493
- const Followers = IDL.Record({ 'followers' : IDL.Vec(NeuronId) });
1494
- const FollowersMap = IDL.Record({
1495
- 'followers_map' : IDL.Vec(IDL.Tuple(IDL.Nat64, Followers)),
1496
- });
1497
1488
  const GovernanceError = IDL.Record({
1498
1489
  'error_message' : IDL.Text,
1499
1490
  'error_type' : IDL.Int32,
@@ -1663,7 +1654,6 @@ export const init = ({ IDL }) => {
1663
1654
  'latest_reward_event' : IDL.Opt(RewardEvent),
1664
1655
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
1665
1656
  'short_voting_period_seconds' : IDL.Nat64,
1666
- 'topic_followee_index' : IDL.Vec(IDL.Tuple(IDL.Int32, FollowersMap)),
1667
1657
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
1668
1658
  'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
1669
1659
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
@@ -215,12 +215,6 @@ export interface Follow {
215
215
  export interface Followees {
216
216
  followees: Array<NeuronId>;
217
217
  }
218
- export interface Followers {
219
- followers: Array<NeuronId>;
220
- }
221
- export interface FollowersMap {
222
- followers_map: Array<[bigint, Followers]>;
223
- }
224
218
  export interface GetNeuronsFundAuditInfoRequest {
225
219
  nns_proposal_id: [] | [ProposalId];
226
220
  }
@@ -246,7 +240,6 @@ export interface Governance {
246
240
  latest_reward_event: [] | [RewardEvent];
247
241
  to_claim_transfers: Array<NeuronStakeTransfer>;
248
242
  short_voting_period_seconds: bigint;
249
- topic_followee_index: Array<[number, FollowersMap]>;
250
243
  proposals: Array<[bigint, ProposalData]>;
251
244
  xdr_conversion_rate: [] | [XdrConversionRate];
252
245
  in_flight_commands: Array<[bigint, NeuronInFlightCommand]>;
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 3ae3649 (2025-03-26 tags: release-2025-03-27_03-14-base) 'rs/nns/governance/canister/governance.did' by import-candid
1
+ // Generated from IC repo commit 579b8ba (2025-04-11 tags: release-2025-04-11_13-20-base) 'rs/nns/governance/canister/governance.did' by import-candid
2
2
  type AccountIdentifier = record {
3
3
  hash : blob;
4
4
  };
@@ -282,14 +282,6 @@ type Followees = record {
282
282
  followees : vec NeuronId;
283
283
  };
284
284
 
285
- type Followers = record {
286
- followers : vec NeuronId;
287
- };
288
-
289
- type FollowersMap = record {
290
- followers_map : vec record { nat64; Followers };
291
- };
292
-
293
285
  type GetNeuronsFundAuditInfoRequest = record {
294
286
  nns_proposal_id : opt ProposalId;
295
287
  };
@@ -318,7 +310,6 @@ type Governance = record {
318
310
  latest_reward_event : opt RewardEvent;
319
311
  to_claim_transfers : vec NeuronStakeTransfer;
320
312
  short_voting_period_seconds : nat64;
321
- topic_followee_index : vec record { int32; FollowersMap };
322
313
  proposals : vec record { nat64; ProposalData };
323
314
  xdr_conversion_rate : opt XdrConversionRate;
324
315
  in_flight_commands : vec record { nat64; NeuronInFlightCommand };
@@ -487,10 +487,6 @@ export const idlFactory = ({ IDL }) => {
487
487
  'transfer_timestamp' : IDL.Nat64,
488
488
  'block_height' : IDL.Nat64,
489
489
  });
490
- const Followers = IDL.Record({ 'followers' : IDL.Vec(NeuronId) });
491
- const FollowersMap = IDL.Record({
492
- 'followers_map' : IDL.Vec(IDL.Tuple(IDL.Nat64, Followers)),
493
- });
494
490
  const GovernanceError = IDL.Record({
495
491
  'error_message' : IDL.Text,
496
492
  'error_type' : IDL.Int32,
@@ -660,7 +656,6 @@ export const idlFactory = ({ IDL }) => {
660
656
  'latest_reward_event' : IDL.Opt(RewardEvent),
661
657
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
662
658
  'short_voting_period_seconds' : IDL.Nat64,
663
- 'topic_followee_index' : IDL.Vec(IDL.Tuple(IDL.Int32, FollowersMap)),
664
659
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
665
660
  'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
666
661
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
@@ -1506,10 +1501,6 @@ export const init = ({ IDL }) => {
1506
1501
  'transfer_timestamp' : IDL.Nat64,
1507
1502
  'block_height' : IDL.Nat64,
1508
1503
  });
1509
- const Followers = IDL.Record({ 'followers' : IDL.Vec(NeuronId) });
1510
- const FollowersMap = IDL.Record({
1511
- 'followers_map' : IDL.Vec(IDL.Tuple(IDL.Nat64, Followers)),
1512
- });
1513
1504
  const GovernanceError = IDL.Record({
1514
1505
  'error_message' : IDL.Text,
1515
1506
  'error_type' : IDL.Int32,
@@ -1679,7 +1670,6 @@ export const init = ({ IDL }) => {
1679
1670
  'latest_reward_event' : IDL.Opt(RewardEvent),
1680
1671
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
1681
1672
  'short_voting_period_seconds' : IDL.Nat64,
1682
- 'topic_followee_index' : IDL.Vec(IDL.Tuple(IDL.Int32, FollowersMap)),
1683
1673
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
1684
1674
  'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
1685
1675
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
@@ -487,10 +487,6 @@ export const idlFactory = ({ IDL }) => {
487
487
  'transfer_timestamp' : IDL.Nat64,
488
488
  'block_height' : IDL.Nat64,
489
489
  });
490
- const Followers = IDL.Record({ 'followers' : IDL.Vec(NeuronId) });
491
- const FollowersMap = IDL.Record({
492
- 'followers_map' : IDL.Vec(IDL.Tuple(IDL.Nat64, Followers)),
493
- });
494
490
  const GovernanceError = IDL.Record({
495
491
  'error_message' : IDL.Text,
496
492
  'error_type' : IDL.Int32,
@@ -660,7 +656,6 @@ export const idlFactory = ({ IDL }) => {
660
656
  'latest_reward_event' : IDL.Opt(RewardEvent),
661
657
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
662
658
  'short_voting_period_seconds' : IDL.Nat64,
663
- 'topic_followee_index' : IDL.Vec(IDL.Tuple(IDL.Int32, FollowersMap)),
664
659
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
665
660
  'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
666
661
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
@@ -1491,10 +1486,6 @@ export const init = ({ IDL }) => {
1491
1486
  'transfer_timestamp' : IDL.Nat64,
1492
1487
  'block_height' : IDL.Nat64,
1493
1488
  });
1494
- const Followers = IDL.Record({ 'followers' : IDL.Vec(NeuronId) });
1495
- const FollowersMap = IDL.Record({
1496
- 'followers_map' : IDL.Vec(IDL.Tuple(IDL.Nat64, Followers)),
1497
- });
1498
1489
  const GovernanceError = IDL.Record({
1499
1490
  'error_message' : IDL.Text,
1500
1491
  'error_type' : IDL.Int32,
@@ -1664,7 +1655,6 @@ export const init = ({ IDL }) => {
1664
1655
  'latest_reward_event' : IDL.Opt(RewardEvent),
1665
1656
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
1666
1657
  'short_voting_period_seconds' : IDL.Nat64,
1667
- 'topic_followee_index' : IDL.Vec(IDL.Tuple(IDL.Int32, FollowersMap)),
1668
1658
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
1669
1659
  'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
1670
1660
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
@@ -215,12 +215,6 @@ export interface Follow {
215
215
  export interface Followees {
216
216
  followees: Array<NeuronId>;
217
217
  }
218
- export interface Followers {
219
- followers: Array<NeuronId>;
220
- }
221
- export interface FollowersMap {
222
- followers_map: Array<[bigint, Followers]>;
223
- }
224
218
  export interface GetNeuronsFundAuditInfoRequest {
225
219
  nns_proposal_id: [] | [ProposalId];
226
220
  }
@@ -246,7 +240,6 @@ export interface Governance {
246
240
  latest_reward_event: [] | [RewardEvent];
247
241
  to_claim_transfers: Array<NeuronStakeTransfer>;
248
242
  short_voting_period_seconds: bigint;
249
- topic_followee_index: Array<[number, FollowersMap]>;
250
243
  proposals: Array<[bigint, ProposalData]>;
251
244
  xdr_conversion_rate: [] | [XdrConversionRate];
252
245
  in_flight_commands: Array<[bigint, NeuronInFlightCommand]>;
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 3ae3649 (2025-03-26 tags: release-2025-03-27_03-14-base) 'rs/nns/governance/canister/governance_test.did' by import-candid
1
+ // Generated from IC repo commit 579b8ba (2025-04-11 tags: release-2025-04-11_13-20-base) 'rs/nns/governance/canister/governance_test.did' by import-candid
2
2
  type AccountIdentifier = record {
3
3
  hash : blob;
4
4
  };
@@ -279,16 +279,6 @@ type Followees = record {
279
279
  followees : vec NeuronId;
280
280
  };
281
281
 
282
- type Followers = record {
283
- followers : vec NeuronId;
284
- };
285
-
286
- type FollowersMap = record {
287
- followers_map : vec record {
288
- nat64;
289
- Followers;
290
- } };
291
-
292
282
  type GetNeuronsFundAuditInfoRequest = record {
293
283
  nns_proposal_id : opt ProposalId;
294
284
  };
@@ -317,7 +307,6 @@ type Governance = record {
317
307
  latest_reward_event : opt RewardEvent;
318
308
  to_claim_transfers : vec NeuronStakeTransfer;
319
309
  short_voting_period_seconds : nat64;
320
- topic_followee_index : vec record { int32; FollowersMap };
321
310
  proposals : vec record { nat64; ProposalData };
322
311
  xdr_conversion_rate : opt XdrConversionRate;
323
312
  in_flight_commands : vec record { nat64; NeuronInFlightCommand };
@@ -487,10 +487,6 @@ export const idlFactory = ({ IDL }) => {
487
487
  'transfer_timestamp' : IDL.Nat64,
488
488
  'block_height' : IDL.Nat64,
489
489
  });
490
- const Followers = IDL.Record({ 'followers' : IDL.Vec(NeuronId) });
491
- const FollowersMap = IDL.Record({
492
- 'followers_map' : IDL.Vec(IDL.Tuple(IDL.Nat64, Followers)),
493
- });
494
490
  const GovernanceError = IDL.Record({
495
491
  'error_message' : IDL.Text,
496
492
  'error_type' : IDL.Int32,
@@ -660,7 +656,6 @@ export const idlFactory = ({ IDL }) => {
660
656
  'latest_reward_event' : IDL.Opt(RewardEvent),
661
657
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
662
658
  'short_voting_period_seconds' : IDL.Nat64,
663
- 'topic_followee_index' : IDL.Vec(IDL.Tuple(IDL.Int32, FollowersMap)),
664
659
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
665
660
  'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
666
661
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
@@ -1507,10 +1502,6 @@ export const init = ({ IDL }) => {
1507
1502
  'transfer_timestamp' : IDL.Nat64,
1508
1503
  'block_height' : IDL.Nat64,
1509
1504
  });
1510
- const Followers = IDL.Record({ 'followers' : IDL.Vec(NeuronId) });
1511
- const FollowersMap = IDL.Record({
1512
- 'followers_map' : IDL.Vec(IDL.Tuple(IDL.Nat64, Followers)),
1513
- });
1514
1505
  const GovernanceError = IDL.Record({
1515
1506
  'error_message' : IDL.Text,
1516
1507
  'error_type' : IDL.Int32,
@@ -1680,7 +1671,6 @@ export const init = ({ IDL }) => {
1680
1671
  'latest_reward_event' : IDL.Opt(RewardEvent),
1681
1672
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
1682
1673
  'short_voting_period_seconds' : IDL.Nat64,
1683
- 'topic_followee_index' : IDL.Vec(IDL.Tuple(IDL.Int32, FollowersMap)),
1684
1674
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
1685
1675
  'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
1686
1676
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 3ae3649 (2025-03-26 tags: release-2025-03-27_03-14-base) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
1
+ // Generated from IC repo commit 579b8ba (2025-04-11 tags: release-2025-04-11_13-20-base) 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
2
2
  type AddWasmRequest = record {
3
3
  hash : blob;
4
4
  wasm : opt SnsWasm;