@dfinity/nns 0.5.0-nightly-2022-07-19 → 0.6.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 3ffb60db1338d1c59d429eecd5e406ebae39dc99 'rs/nns/gtc/canister/gtc.did' by import-candid
1
+ // Generated from IC repo commit d1f1bbefafa90fd444a9088e377bf68c78ee0f3f '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;
@@ -180,6 +180,17 @@ export const idlFactory = ({ IDL }) => {
180
180
  'nns_function' : IDL.Int32,
181
181
  'payload' : IDL.Vec(IDL.Nat8),
182
182
  });
183
+ const TimeWindow = IDL.Record({
184
+ 'start_timestamp_seconds' : IDL.Nat64,
185
+ 'end_timestamp_seconds' : IDL.Nat64,
186
+ });
187
+ const SetOpenTimeWindowRequest = IDL.Record({
188
+ 'open_time_window' : IDL.Opt(TimeWindow),
189
+ });
190
+ const SetSnsTokenSwapOpenTimeWindow = IDL.Record({
191
+ 'request' : IDL.Opt(SetOpenTimeWindowRequest),
192
+ 'swap_canister_id' : IDL.Opt(IDL.Principal),
193
+ });
183
194
  const SetDefaultFollowees = IDL.Record({
184
195
  'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
185
196
  });
@@ -201,6 +212,7 @@ export const idlFactory = ({ IDL }) => {
201
212
  'ManageNeuron' : ManageNeuron,
202
213
  'ExecuteNnsFunction' : ExecuteNnsFunction,
203
214
  'RewardNodeProvider' : RewardNodeProvider,
215
+ 'SetSnsTokenSwapOpenTimeWindow' : SetSnsTokenSwapOpenTimeWindow,
204
216
  'SetDefaultFollowees' : SetDefaultFollowees,
205
217
  'RewardNodeProviders' : RewardNodeProviders,
206
218
  'ManageNetworkEconomics' : NetworkEconomics,
@@ -235,7 +247,7 @@ export const idlFactory = ({ IDL }) => {
235
247
  'executed_timestamp_seconds' : IDL.Nat64,
236
248
  });
237
249
  const Command_2 = IDL.Variant({
238
- 'Spawn' : Spawn,
250
+ 'Spawn' : NeuronId,
239
251
  'Split' : Split,
240
252
  'Configure' : Configure,
241
253
  'Merge' : Merge,
@@ -274,6 +286,7 @@ export const idlFactory = ({ IDL }) => {
274
286
  'neuron_fees_e8s' : IDL.Nat64,
275
287
  'transfer' : IDL.Opt(NeuronStakeTransfer),
276
288
  'known_neuron_data' : IDL.Opt(KnownNeuronData),
289
+ 'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
277
290
  });
278
291
  const Governance = IDL.Record({
279
292
  'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
@@ -282,14 +295,17 @@ export const idlFactory = ({ IDL }) => {
282
295
  ),
283
296
  'wait_for_quiet_threshold_seconds' : IDL.Nat64,
284
297
  'metrics' : IDL.Opt(GovernanceCachedMetrics),
298
+ 'cached_daily_maturity_modulation' : IDL.Opt(IDL.Float64),
285
299
  'node_providers' : IDL.Vec(NodeProvider),
286
300
  'economics' : IDL.Opt(NetworkEconomics),
301
+ 'spawning_neurons' : IDL.Opt(IDL.Bool),
287
302
  'latest_reward_event' : IDL.Opt(RewardEvent),
288
303
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
289
304
  'short_voting_period_seconds' : IDL.Nat64,
290
305
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
291
306
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
292
307
  'neurons' : IDL.Vec(IDL.Tuple(IDL.Nat64, Neuron)),
308
+ 'last_updated_maturity_modulation_cache' : IDL.Opt(IDL.Nat64),
293
309
  'genesis_timestamp_seconds' : IDL.Nat64,
294
310
  });
295
311
  const Result = IDL.Variant({ 'Ok' : IDL.Null, 'Err' : GovernanceError });
@@ -623,6 +639,17 @@ export const init = ({ IDL }) => {
623
639
  'nns_function' : IDL.Int32,
624
640
  'payload' : IDL.Vec(IDL.Nat8),
625
641
  });
642
+ const TimeWindow = IDL.Record({
643
+ 'start_timestamp_seconds' : IDL.Nat64,
644
+ 'end_timestamp_seconds' : IDL.Nat64,
645
+ });
646
+ const SetOpenTimeWindowRequest = IDL.Record({
647
+ 'open_time_window' : IDL.Opt(TimeWindow),
648
+ });
649
+ const SetSnsTokenSwapOpenTimeWindow = IDL.Record({
650
+ 'request' : IDL.Opt(SetOpenTimeWindowRequest),
651
+ 'swap_canister_id' : IDL.Opt(IDL.Principal),
652
+ });
626
653
  const SetDefaultFollowees = IDL.Record({
627
654
  'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
628
655
  });
@@ -644,6 +671,7 @@ export const init = ({ IDL }) => {
644
671
  'ManageNeuron' : ManageNeuron,
645
672
  'ExecuteNnsFunction' : ExecuteNnsFunction,
646
673
  'RewardNodeProvider' : RewardNodeProvider,
674
+ 'SetSnsTokenSwapOpenTimeWindow' : SetSnsTokenSwapOpenTimeWindow,
647
675
  'SetDefaultFollowees' : SetDefaultFollowees,
648
676
  'RewardNodeProviders' : RewardNodeProviders,
649
677
  'ManageNetworkEconomics' : NetworkEconomics,
@@ -678,7 +706,7 @@ export const init = ({ IDL }) => {
678
706
  'executed_timestamp_seconds' : IDL.Nat64,
679
707
  });
680
708
  const Command_2 = IDL.Variant({
681
- 'Spawn' : Spawn,
709
+ 'Spawn' : NeuronId,
682
710
  'Split' : Split,
683
711
  'Configure' : Configure,
684
712
  'Merge' : Merge,
@@ -717,6 +745,7 @@ export const init = ({ IDL }) => {
717
745
  'neuron_fees_e8s' : IDL.Nat64,
718
746
  'transfer' : IDL.Opt(NeuronStakeTransfer),
719
747
  'known_neuron_data' : IDL.Opt(KnownNeuronData),
748
+ 'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
720
749
  });
721
750
  const Governance = IDL.Record({
722
751
  'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
@@ -725,14 +754,17 @@ export const init = ({ IDL }) => {
725
754
  ),
726
755
  'wait_for_quiet_threshold_seconds' : IDL.Nat64,
727
756
  'metrics' : IDL.Opt(GovernanceCachedMetrics),
757
+ 'cached_daily_maturity_modulation' : IDL.Opt(IDL.Float64),
728
758
  'node_providers' : IDL.Vec(NodeProvider),
729
759
  'economics' : IDL.Opt(NetworkEconomics),
760
+ 'spawning_neurons' : IDL.Opt(IDL.Bool),
730
761
  'latest_reward_event' : IDL.Opt(RewardEvent),
731
762
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
732
763
  'short_voting_period_seconds' : IDL.Nat64,
733
764
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
734
765
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
735
766
  'neurons' : IDL.Vec(IDL.Tuple(IDL.Nat64, Neuron)),
767
+ 'last_updated_maturity_modulation_cache' : IDL.Opt(IDL.Nat64),
736
768
  'genesis_timestamp_seconds' : IDL.Nat64,
737
769
  });
738
770
  return [Governance];
@@ -7,6 +7,7 @@ export type Action =
7
7
  | { ManageNeuron: ManageNeuron }
8
8
  | { ExecuteNnsFunction: ExecuteNnsFunction }
9
9
  | { RewardNodeProvider: RewardNodeProvider }
10
+ | { SetSnsTokenSwapOpenTimeWindow: SetSnsTokenSwapOpenTimeWindow }
10
11
  | { SetDefaultFollowees: SetDefaultFollowees }
11
12
  | { RewardNodeProviders: RewardNodeProviders }
12
13
  | { ManageNetworkEconomics: NetworkEconomics }
@@ -77,7 +78,7 @@ export type Command_1 =
77
78
  | { MergeMaturity: MergeMaturityResponse }
78
79
  | { Disburse: DisburseResponse };
79
80
  export type Command_2 =
80
- | { Spawn: Spawn }
81
+ | { Spawn: NeuronId }
81
82
  | { Split: Split }
82
83
  | { Configure: Configure }
83
84
  | { Merge: Merge }
@@ -123,14 +124,17 @@ export interface Governance {
123
124
  | [MostRecentMonthlyNodeProviderRewards];
124
125
  wait_for_quiet_threshold_seconds: bigint;
125
126
  metrics: [] | [GovernanceCachedMetrics];
127
+ cached_daily_maturity_modulation: [] | [number];
126
128
  node_providers: Array<NodeProvider>;
127
129
  economics: [] | [NetworkEconomics];
130
+ spawning_neurons: [] | [boolean];
128
131
  latest_reward_event: [] | [RewardEvent];
129
132
  to_claim_transfers: Array<NeuronStakeTransfer>;
130
133
  short_voting_period_seconds: bigint;
131
134
  proposals: Array<[bigint, ProposalData]>;
132
135
  in_flight_commands: Array<[bigint, NeuronInFlightCommand]>;
133
136
  neurons: Array<[bigint, Neuron]>;
137
+ last_updated_maturity_modulation_cache: [] | [bigint];
134
138
  genesis_timestamp_seconds: bigint;
135
139
  }
136
140
  export interface GovernanceCachedMetrics {
@@ -246,6 +250,7 @@ export interface Neuron {
246
250
  neuron_fees_e8s: bigint;
247
251
  transfer: [] | [NeuronStakeTransfer];
248
252
  known_neuron_data: [] | [KnownNeuronData];
253
+ spawn_at_timestamp_seconds: [] | [bigint];
249
254
  }
250
255
  export interface NeuronId {
251
256
  id: bigint;
@@ -373,6 +378,13 @@ export interface SetDefaultFollowees {
373
378
  export interface SetDissolveTimestamp {
374
379
  dissolve_timestamp_seconds: bigint;
375
380
  }
381
+ export interface SetOpenTimeWindowRequest {
382
+ open_time_window: [] | [TimeWindow];
383
+ }
384
+ export interface SetSnsTokenSwapOpenTimeWindow {
385
+ request: [] | [SetOpenTimeWindowRequest];
386
+ swap_canister_id: [] | [Principal];
387
+ }
376
388
  export interface Spawn {
377
389
  percentage_to_spawn: [] | [number];
378
390
  new_controller: [] | [Principal];
@@ -390,6 +402,10 @@ export interface Tally {
390
402
  total: bigint;
391
403
  timestamp_seconds: bigint;
392
404
  }
405
+ export interface TimeWindow {
406
+ start_timestamp_seconds: bigint;
407
+ end_timestamp_seconds: bigint;
408
+ }
393
409
  export interface UpdateNodeProvider {
394
410
  reward_account: [] | [AccountIdentifier];
395
411
  }
@@ -1,10 +1,11 @@
1
- // Generated from IC repo commit 3ffb60db1338d1c59d429eecd5e406ebae39dc99 'rs/nns/governance/canister/governance.did' by import-candid
1
+ // Generated from IC repo commit d1f1bbefafa90fd444a9088e377bf68c78ee0f3f 'rs/nns/governance/canister/governance.did' by import-candid
2
2
  type AccountIdentifier = record { hash : vec nat8 };
3
3
  type Action = variant {
4
4
  RegisterKnownNeuron : KnownNeuron;
5
5
  ManageNeuron : ManageNeuron;
6
6
  ExecuteNnsFunction : ExecuteNnsFunction;
7
7
  RewardNodeProvider : RewardNodeProvider;
8
+ SetSnsTokenSwapOpenTimeWindow : SetSnsTokenSwapOpenTimeWindow;
8
9
  SetDefaultFollowees : SetDefaultFollowees;
9
10
  RewardNodeProviders : RewardNodeProviders;
10
11
  ManageNetworkEconomics : NetworkEconomics;
@@ -59,7 +60,7 @@ type Command_1 = variant {
59
60
  Disburse : DisburseResponse;
60
61
  };
61
62
  type Command_2 = variant {
62
- Spawn : Spawn;
63
+ Spawn : NeuronId;
63
64
  Split : Split;
64
65
  Configure : Configure;
65
66
  Merge : Merge;
@@ -93,14 +94,17 @@ type Governance = record {
93
94
  most_recent_monthly_node_provider_rewards : opt MostRecentMonthlyNodeProviderRewards;
94
95
  wait_for_quiet_threshold_seconds : nat64;
95
96
  metrics : opt GovernanceCachedMetrics;
97
+ cached_daily_maturity_modulation : opt float64;
96
98
  node_providers : vec NodeProvider;
97
99
  economics : opt NetworkEconomics;
100
+ spawning_neurons : opt bool;
98
101
  latest_reward_event : opt RewardEvent;
99
102
  to_claim_transfers : vec NeuronStakeTransfer;
100
103
  short_voting_period_seconds : nat64;
101
104
  proposals : vec record { nat64; ProposalData };
102
105
  in_flight_commands : vec record { nat64; NeuronInFlightCommand };
103
106
  neurons : vec record { nat64; Neuron };
107
+ last_updated_maturity_modulation_cache : opt nat64;
104
108
  genesis_timestamp_seconds : nat64;
105
109
  };
106
110
  type GovernanceCachedMetrics = record {
@@ -194,6 +198,7 @@ type Neuron = record {
194
198
  neuron_fees_e8s : nat64;
195
199
  transfer : opt NeuronStakeTransfer;
196
200
  known_neuron_data : opt KnownNeuronData;
201
+ spawn_at_timestamp_seconds : opt nat64;
197
202
  };
198
203
  type NeuronId = record { id : nat64 };
199
204
  type NeuronIdOrSubaccount = variant {
@@ -311,6 +316,11 @@ type SetDefaultFollowees = record {
311
316
  default_followees : vec record { int32; Followees };
312
317
  };
313
318
  type SetDissolveTimestamp = record { dissolve_timestamp_seconds : nat64 };
319
+ type SetOpenTimeWindowRequest = record { open_time_window : opt TimeWindow };
320
+ type SetSnsTokenSwapOpenTimeWindow = record {
321
+ request : opt SetOpenTimeWindowRequest;
322
+ swap_canister_id : opt principal;
323
+ };
314
324
  type Spawn = record {
315
325
  percentage_to_spawn : opt nat32;
316
326
  new_controller : opt principal;
@@ -324,6 +334,10 @@ type Tally = record {
324
334
  total : nat64;
325
335
  timestamp_seconds : nat64;
326
336
  };
337
+ type TimeWindow = record {
338
+ start_timestamp_seconds : nat64;
339
+ end_timestamp_seconds : nat64;
340
+ };
327
341
  type UpdateNodeProvider = record { reward_account : opt AccountIdentifier };
328
342
  type WaitForQuietState = record { current_deadline_timestamp_seconds : nat64 };
329
343
  service : (Governance) -> {
@@ -180,6 +180,17 @@ export const idlFactory = ({ IDL }) => {
180
180
  'nns_function' : IDL.Int32,
181
181
  'payload' : IDL.Vec(IDL.Nat8),
182
182
  });
183
+ const TimeWindow = IDL.Record({
184
+ 'start_timestamp_seconds' : IDL.Nat64,
185
+ 'end_timestamp_seconds' : IDL.Nat64,
186
+ });
187
+ const SetOpenTimeWindowRequest = IDL.Record({
188
+ 'open_time_window' : IDL.Opt(TimeWindow),
189
+ });
190
+ const SetSnsTokenSwapOpenTimeWindow = IDL.Record({
191
+ 'request' : IDL.Opt(SetOpenTimeWindowRequest),
192
+ 'swap_canister_id' : IDL.Opt(IDL.Principal),
193
+ });
183
194
  const SetDefaultFollowees = IDL.Record({
184
195
  'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
185
196
  });
@@ -201,6 +212,7 @@ export const idlFactory = ({ IDL }) => {
201
212
  'ManageNeuron' : ManageNeuron,
202
213
  'ExecuteNnsFunction' : ExecuteNnsFunction,
203
214
  'RewardNodeProvider' : RewardNodeProvider,
215
+ 'SetSnsTokenSwapOpenTimeWindow' : SetSnsTokenSwapOpenTimeWindow,
204
216
  'SetDefaultFollowees' : SetDefaultFollowees,
205
217
  'RewardNodeProviders' : RewardNodeProviders,
206
218
  'ManageNetworkEconomics' : NetworkEconomics,
@@ -235,7 +247,7 @@ export const idlFactory = ({ IDL }) => {
235
247
  'executed_timestamp_seconds' : IDL.Nat64,
236
248
  });
237
249
  const Command_2 = IDL.Variant({
238
- 'Spawn' : Spawn,
250
+ 'Spawn' : NeuronId,
239
251
  'Split' : Split,
240
252
  'Configure' : Configure,
241
253
  'Merge' : Merge,
@@ -274,6 +286,7 @@ export const idlFactory = ({ IDL }) => {
274
286
  'neuron_fees_e8s' : IDL.Nat64,
275
287
  'transfer' : IDL.Opt(NeuronStakeTransfer),
276
288
  'known_neuron_data' : IDL.Opt(KnownNeuronData),
289
+ 'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
277
290
  });
278
291
  const Governance = IDL.Record({
279
292
  'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
@@ -282,14 +295,17 @@ export const idlFactory = ({ IDL }) => {
282
295
  ),
283
296
  'wait_for_quiet_threshold_seconds' : IDL.Nat64,
284
297
  'metrics' : IDL.Opt(GovernanceCachedMetrics),
298
+ 'cached_daily_maturity_modulation' : IDL.Opt(IDL.Float64),
285
299
  'node_providers' : IDL.Vec(NodeProvider),
286
300
  'economics' : IDL.Opt(NetworkEconomics),
301
+ 'spawning_neurons' : IDL.Opt(IDL.Bool),
287
302
  'latest_reward_event' : IDL.Opt(RewardEvent),
288
303
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
289
304
  'short_voting_period_seconds' : IDL.Nat64,
290
305
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
291
306
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
292
307
  'neurons' : IDL.Vec(IDL.Tuple(IDL.Nat64, Neuron)),
308
+ 'last_updated_maturity_modulation_cache' : IDL.Opt(IDL.Nat64),
293
309
  'genesis_timestamp_seconds' : IDL.Nat64,
294
310
  });
295
311
  const Result = IDL.Variant({ 'Ok' : IDL.Null, 'Err' : GovernanceError });
@@ -635,6 +651,17 @@ export const init = ({ IDL }) => {
635
651
  'nns_function' : IDL.Int32,
636
652
  'payload' : IDL.Vec(IDL.Nat8),
637
653
  });
654
+ const TimeWindow = IDL.Record({
655
+ 'start_timestamp_seconds' : IDL.Nat64,
656
+ 'end_timestamp_seconds' : IDL.Nat64,
657
+ });
658
+ const SetOpenTimeWindowRequest = IDL.Record({
659
+ 'open_time_window' : IDL.Opt(TimeWindow),
660
+ });
661
+ const SetSnsTokenSwapOpenTimeWindow = IDL.Record({
662
+ 'request' : IDL.Opt(SetOpenTimeWindowRequest),
663
+ 'swap_canister_id' : IDL.Opt(IDL.Principal),
664
+ });
638
665
  const SetDefaultFollowees = IDL.Record({
639
666
  'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
640
667
  });
@@ -656,6 +683,7 @@ export const init = ({ IDL }) => {
656
683
  'ManageNeuron' : ManageNeuron,
657
684
  'ExecuteNnsFunction' : ExecuteNnsFunction,
658
685
  'RewardNodeProvider' : RewardNodeProvider,
686
+ 'SetSnsTokenSwapOpenTimeWindow' : SetSnsTokenSwapOpenTimeWindow,
659
687
  'SetDefaultFollowees' : SetDefaultFollowees,
660
688
  'RewardNodeProviders' : RewardNodeProviders,
661
689
  'ManageNetworkEconomics' : NetworkEconomics,
@@ -690,7 +718,7 @@ export const init = ({ IDL }) => {
690
718
  'executed_timestamp_seconds' : IDL.Nat64,
691
719
  });
692
720
  const Command_2 = IDL.Variant({
693
- 'Spawn' : Spawn,
721
+ 'Spawn' : NeuronId,
694
722
  'Split' : Split,
695
723
  'Configure' : Configure,
696
724
  'Merge' : Merge,
@@ -729,6 +757,7 @@ export const init = ({ IDL }) => {
729
757
  'neuron_fees_e8s' : IDL.Nat64,
730
758
  'transfer' : IDL.Opt(NeuronStakeTransfer),
731
759
  'known_neuron_data' : IDL.Opt(KnownNeuronData),
760
+ 'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
732
761
  });
733
762
  const Governance = IDL.Record({
734
763
  'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
@@ -737,14 +766,17 @@ export const init = ({ IDL }) => {
737
766
  ),
738
767
  'wait_for_quiet_threshold_seconds' : IDL.Nat64,
739
768
  'metrics' : IDL.Opt(GovernanceCachedMetrics),
769
+ 'cached_daily_maturity_modulation' : IDL.Opt(IDL.Float64),
740
770
  'node_providers' : IDL.Vec(NodeProvider),
741
771
  'economics' : IDL.Opt(NetworkEconomics),
772
+ 'spawning_neurons' : IDL.Opt(IDL.Bool),
742
773
  'latest_reward_event' : IDL.Opt(RewardEvent),
743
774
  'to_claim_transfers' : IDL.Vec(NeuronStakeTransfer),
744
775
  'short_voting_period_seconds' : IDL.Nat64,
745
776
  'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
746
777
  'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Nat64, NeuronInFlightCommand)),
747
778
  'neurons' : IDL.Vec(IDL.Tuple(IDL.Nat64, Neuron)),
779
+ 'last_updated_maturity_modulation_cache' : IDL.Opt(IDL.Nat64),
748
780
  'genesis_timestamp_seconds' : IDL.Nat64,
749
781
  });
750
782
  return [Governance];
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 3ffb60db1338d1c59d429eecd5e406ebae39dc99 'rs/rosetta-api/ledger_canister/ledger.did' by import-candid
1
+ // Generated from IC repo commit d1f1bbefafa90fd444a9088e377bf68c78ee0f3f 'rs/rosetta-api/ledger_canister/ledger.did' by import-candid
2
2
  // This is the official Ledger interface that is guaranteed to be backward compatible.
3
3
 
4
4
  // Amount of tokens, measured in 10^-8 of a token.
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit 12bd50418009ea8d6aabf4f5ac1182aceaf56689 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
1
+ // Generated from IC repo commit d1f1bbefafa90fd444a9088e377bf68c78ee0f3f 'rs/nns/sns-wasm/canister/sns-wasm.did' by import-candid
2
2
  type AddWasmRequest = record { hash : vec nat8; wasm : opt SnsWasm };
3
3
  type AddWasmResponse = record { result : opt Result };
4
4
  type AirdropDistribution = record { airdrop_neurons : vec NeuronDistribution };