@dfinity/sns 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,6 +94,7 @@ export const idlFactory = ({ IDL }) => {
94
94
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
95
95
  'actual_timestamp_seconds' : IDL.Nat64,
96
96
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
97
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
97
98
  'distributed_e8s_equivalent' : IDL.Nat64,
98
99
  'round' : IDL.Nat64,
99
100
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -113,6 +114,7 @@ export const idlFactory = ({ IDL }) => {
113
114
  'cast_timestamp_seconds' : IDL.Nat64,
114
115
  'voting_power' : IDL.Nat64,
115
116
  });
117
+ const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
116
118
  const Tally = IDL.Record({
117
119
  'no' : IDL.Nat64,
118
120
  'yes' : IDL.Nat64,
@@ -180,6 +182,7 @@ export const idlFactory = ({ IDL }) => {
180
182
  'action' : IDL.Nat64,
181
183
  'failure_reason' : IDL.Opt(GovernanceError),
182
184
  'ballots' : IDL.Vec(IDL.Tuple(IDL.Text, Ballot)),
185
+ 'minimum_yes_proportion_of_total' : IDL.Opt(Percentage),
183
186
  'reward_event_round' : IDL.Nat64,
184
187
  'failed_timestamp_seconds' : IDL.Nat64,
185
188
  'reward_event_end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
@@ -192,6 +195,7 @@ export const idlFactory = ({ IDL }) => {
192
195
  'proposal' : IDL.Opt(Proposal),
193
196
  'proposer' : IDL.Opt(NeuronId),
194
197
  'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),
198
+ 'minimum_yes_proportion_of_exercised' : IDL.Opt(Percentage),
195
199
  'is_eligible_for_rewards' : IDL.Bool,
196
200
  'executed_timestamp_seconds' : IDL.Nat64,
197
201
  });
@@ -621,6 +625,7 @@ export const init = ({ IDL }) => {
621
625
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
622
626
  'actual_timestamp_seconds' : IDL.Nat64,
623
627
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
628
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
624
629
  'distributed_e8s_equivalent' : IDL.Nat64,
625
630
  'round' : IDL.Nat64,
626
631
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -640,6 +645,7 @@ export const init = ({ IDL }) => {
640
645
  'cast_timestamp_seconds' : IDL.Nat64,
641
646
  'voting_power' : IDL.Nat64,
642
647
  });
648
+ const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
643
649
  const Tally = IDL.Record({
644
650
  'no' : IDL.Nat64,
645
651
  'yes' : IDL.Nat64,
@@ -707,6 +713,7 @@ export const init = ({ IDL }) => {
707
713
  'action' : IDL.Nat64,
708
714
  'failure_reason' : IDL.Opt(GovernanceError),
709
715
  'ballots' : IDL.Vec(IDL.Tuple(IDL.Text, Ballot)),
716
+ 'minimum_yes_proportion_of_total' : IDL.Opt(Percentage),
710
717
  'reward_event_round' : IDL.Nat64,
711
718
  'failed_timestamp_seconds' : IDL.Nat64,
712
719
  'reward_event_end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
@@ -719,6 +726,7 @@ export const init = ({ IDL }) => {
719
726
  'proposal' : IDL.Opt(Proposal),
720
727
  'proposer' : IDL.Opt(NeuronId),
721
728
  'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),
729
+ 'minimum_yes_proportion_of_exercised' : IDL.Opt(Percentage),
722
730
  'is_eligible_for_rewards' : IDL.Bool,
723
731
  'executed_timestamp_seconds' : IDL.Nat64,
724
732
  });
@@ -376,6 +376,9 @@ export type Operation =
376
376
  | { StartDissolving: {} }
377
377
  | { IncreaseDissolveDelay: IncreaseDissolveDelay }
378
378
  | { SetDissolveTimestamp: SetDissolveTimestamp };
379
+ export interface Percentage {
380
+ basis_points: [] | [bigint];
381
+ }
379
382
  export interface Proposal {
380
383
  url: string;
381
384
  title: string;
@@ -388,6 +391,7 @@ export interface ProposalData {
388
391
  action: bigint;
389
392
  failure_reason: [] | [GovernanceError];
390
393
  ballots: Array<[string, Ballot]>;
394
+ minimum_yes_proportion_of_total: [] | [Percentage];
391
395
  reward_event_round: bigint;
392
396
  failed_timestamp_seconds: bigint;
393
397
  reward_event_end_timestamp_seconds: [] | [bigint];
@@ -400,6 +404,7 @@ export interface ProposalData {
400
404
  proposal: [] | [Proposal];
401
405
  proposer: [] | [NeuronId];
402
406
  wait_for_quiet_state: [] | [WaitForQuietState];
407
+ minimum_yes_proportion_of_exercised: [] | [Percentage];
403
408
  is_eligible_for_rewards: boolean;
404
409
  executed_timestamp_seconds: bigint;
405
410
  }
@@ -423,6 +428,7 @@ export interface RewardEvent {
423
428
  rounds_since_last_distribution: [] | [bigint];
424
429
  actual_timestamp_seconds: bigint;
425
430
  end_timestamp_seconds: [] | [bigint];
431
+ total_available_e8s_equivalent: [] | [bigint];
426
432
  distributed_e8s_equivalent: bigint;
427
433
  round: bigint;
428
434
  settled_proposals: Array<ProposalId>;
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit dd51544944987556c978e774aa7a1992e5c11542 'rs/sns/governance/canister/governance.did' by import-candid
1
+ // Generated from IC repo commit 57f0e39e3 (2023-11-22) 'rs/sns/governance/canister/governance.did' by import-candid
2
2
  type Account = record { owner : opt principal; subaccount : opt Subaccount };
3
3
  type Action = variant {
4
4
  ManageNervousSystemParameters : NervousSystemParameters;
@@ -315,6 +315,7 @@ type Operation = variant {
315
315
  IncreaseDissolveDelay : IncreaseDissolveDelay;
316
316
  SetDissolveTimestamp : SetDissolveTimestamp;
317
317
  };
318
+ type Percentage = record { basis_points : opt nat64 };
318
319
  type Proposal = record {
319
320
  url : text;
320
321
  title : text;
@@ -327,6 +328,7 @@ type ProposalData = record {
327
328
  action : nat64;
328
329
  failure_reason : opt GovernanceError;
329
330
  ballots : vec record { text; Ballot };
331
+ minimum_yes_proportion_of_total : opt Percentage;
330
332
  reward_event_round : nat64;
331
333
  failed_timestamp_seconds : nat64;
332
334
  reward_event_end_timestamp_seconds : opt nat64;
@@ -339,6 +341,7 @@ type ProposalData = record {
339
341
  proposal : opt Proposal;
340
342
  proposer : opt NeuronId;
341
343
  wait_for_quiet_state : opt WaitForQuietState;
344
+ minimum_yes_proportion_of_exercised : opt Percentage;
342
345
  is_eligible_for_rewards : bool;
343
346
  executed_timestamp_seconds : nat64;
344
347
  };
@@ -355,6 +358,7 @@ type RewardEvent = record {
355
358
  rounds_since_last_distribution : opt nat64;
356
359
  actual_timestamp_seconds : nat64;
357
360
  end_timestamp_seconds : opt nat64;
361
+ total_available_e8s_equivalent : opt nat64;
358
362
  distributed_e8s_equivalent : nat64;
359
363
  round : nat64;
360
364
  settled_proposals : vec ProposalId;
@@ -94,6 +94,7 @@ export const idlFactory = ({ IDL }) => {
94
94
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
95
95
  'actual_timestamp_seconds' : IDL.Nat64,
96
96
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
97
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
97
98
  'distributed_e8s_equivalent' : IDL.Nat64,
98
99
  'round' : IDL.Nat64,
99
100
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -113,6 +114,7 @@ export const idlFactory = ({ IDL }) => {
113
114
  'cast_timestamp_seconds' : IDL.Nat64,
114
115
  'voting_power' : IDL.Nat64,
115
116
  });
117
+ const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
116
118
  const Tally = IDL.Record({
117
119
  'no' : IDL.Nat64,
118
120
  'yes' : IDL.Nat64,
@@ -180,6 +182,7 @@ export const idlFactory = ({ IDL }) => {
180
182
  'action' : IDL.Nat64,
181
183
  'failure_reason' : IDL.Opt(GovernanceError),
182
184
  'ballots' : IDL.Vec(IDL.Tuple(IDL.Text, Ballot)),
185
+ 'minimum_yes_proportion_of_total' : IDL.Opt(Percentage),
183
186
  'reward_event_round' : IDL.Nat64,
184
187
  'failed_timestamp_seconds' : IDL.Nat64,
185
188
  'reward_event_end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
@@ -192,6 +195,7 @@ export const idlFactory = ({ IDL }) => {
192
195
  'proposal' : IDL.Opt(Proposal),
193
196
  'proposer' : IDL.Opt(NeuronId),
194
197
  'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),
198
+ 'minimum_yes_proportion_of_exercised' : IDL.Opt(Percentage),
195
199
  'is_eligible_for_rewards' : IDL.Bool,
196
200
  'executed_timestamp_seconds' : IDL.Nat64,
197
201
  });
@@ -629,6 +633,7 @@ export const init = ({ IDL }) => {
629
633
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
630
634
  'actual_timestamp_seconds' : IDL.Nat64,
631
635
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
636
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
632
637
  'distributed_e8s_equivalent' : IDL.Nat64,
633
638
  'round' : IDL.Nat64,
634
639
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -648,6 +653,7 @@ export const init = ({ IDL }) => {
648
653
  'cast_timestamp_seconds' : IDL.Nat64,
649
654
  'voting_power' : IDL.Nat64,
650
655
  });
656
+ const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
651
657
  const Tally = IDL.Record({
652
658
  'no' : IDL.Nat64,
653
659
  'yes' : IDL.Nat64,
@@ -715,6 +721,7 @@ export const init = ({ IDL }) => {
715
721
  'action' : IDL.Nat64,
716
722
  'failure_reason' : IDL.Opt(GovernanceError),
717
723
  'ballots' : IDL.Vec(IDL.Tuple(IDL.Text, Ballot)),
724
+ 'minimum_yes_proportion_of_total' : IDL.Opt(Percentage),
718
725
  'reward_event_round' : IDL.Nat64,
719
726
  'failed_timestamp_seconds' : IDL.Nat64,
720
727
  'reward_event_end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
@@ -727,6 +734,7 @@ export const init = ({ IDL }) => {
727
734
  'proposal' : IDL.Opt(Proposal),
728
735
  'proposer' : IDL.Opt(NeuronId),
729
736
  'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),
737
+ 'minimum_yes_proportion_of_exercised' : IDL.Opt(Percentage),
730
738
  'is_eligible_for_rewards' : IDL.Bool,
731
739
  'executed_timestamp_seconds' : IDL.Nat64,
732
740
  });
@@ -94,6 +94,7 @@ export const idlFactory = ({ IDL }) => {
94
94
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
95
95
  'actual_timestamp_seconds' : IDL.Nat64,
96
96
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
97
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
97
98
  'distributed_e8s_equivalent' : IDL.Nat64,
98
99
  'round' : IDL.Nat64,
99
100
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -113,6 +114,7 @@ export const idlFactory = ({ IDL }) => {
113
114
  'cast_timestamp_seconds' : IDL.Nat64,
114
115
  'voting_power' : IDL.Nat64,
115
116
  });
117
+ const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
116
118
  const Tally = IDL.Record({
117
119
  'no' : IDL.Nat64,
118
120
  'yes' : IDL.Nat64,
@@ -180,6 +182,7 @@ export const idlFactory = ({ IDL }) => {
180
182
  'action' : IDL.Nat64,
181
183
  'failure_reason' : IDL.Opt(GovernanceError),
182
184
  'ballots' : IDL.Vec(IDL.Tuple(IDL.Text, Ballot)),
185
+ 'minimum_yes_proportion_of_total' : IDL.Opt(Percentage),
183
186
  'reward_event_round' : IDL.Nat64,
184
187
  'failed_timestamp_seconds' : IDL.Nat64,
185
188
  'reward_event_end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
@@ -192,6 +195,7 @@ export const idlFactory = ({ IDL }) => {
192
195
  'proposal' : IDL.Opt(Proposal),
193
196
  'proposer' : IDL.Opt(NeuronId),
194
197
  'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),
198
+ 'minimum_yes_proportion_of_exercised' : IDL.Opt(Percentage),
195
199
  'is_eligible_for_rewards' : IDL.Bool,
196
200
  'executed_timestamp_seconds' : IDL.Nat64,
197
201
  });
@@ -635,6 +639,7 @@ export const init = ({ IDL }) => {
635
639
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
636
640
  'actual_timestamp_seconds' : IDL.Nat64,
637
641
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
642
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
638
643
  'distributed_e8s_equivalent' : IDL.Nat64,
639
644
  'round' : IDL.Nat64,
640
645
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -654,6 +659,7 @@ export const init = ({ IDL }) => {
654
659
  'cast_timestamp_seconds' : IDL.Nat64,
655
660
  'voting_power' : IDL.Nat64,
656
661
  });
662
+ const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
657
663
  const Tally = IDL.Record({
658
664
  'no' : IDL.Nat64,
659
665
  'yes' : IDL.Nat64,
@@ -721,6 +727,7 @@ export const init = ({ IDL }) => {
721
727
  'action' : IDL.Nat64,
722
728
  'failure_reason' : IDL.Opt(GovernanceError),
723
729
  'ballots' : IDL.Vec(IDL.Tuple(IDL.Text, Ballot)),
730
+ 'minimum_yes_proportion_of_total' : IDL.Opt(Percentage),
724
731
  'reward_event_round' : IDL.Nat64,
725
732
  'failed_timestamp_seconds' : IDL.Nat64,
726
733
  'reward_event_end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
@@ -733,6 +740,7 @@ export const init = ({ IDL }) => {
733
740
  'proposal' : IDL.Opt(Proposal),
734
741
  'proposer' : IDL.Opt(NeuronId),
735
742
  'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),
743
+ 'minimum_yes_proportion_of_exercised' : IDL.Opt(Percentage),
736
744
  'is_eligible_for_rewards' : IDL.Bool,
737
745
  'executed_timestamp_seconds' : IDL.Nat64,
738
746
  });
@@ -387,6 +387,9 @@ export type Operation =
387
387
  | { StartDissolving: {} }
388
388
  | { IncreaseDissolveDelay: IncreaseDissolveDelay }
389
389
  | { SetDissolveTimestamp: SetDissolveTimestamp };
390
+ export interface Percentage {
391
+ basis_points: [] | [bigint];
392
+ }
390
393
  export interface Proposal {
391
394
  url: string;
392
395
  title: string;
@@ -399,6 +402,7 @@ export interface ProposalData {
399
402
  action: bigint;
400
403
  failure_reason: [] | [GovernanceError];
401
404
  ballots: Array<[string, Ballot]>;
405
+ minimum_yes_proportion_of_total: [] | [Percentage];
402
406
  reward_event_round: bigint;
403
407
  failed_timestamp_seconds: bigint;
404
408
  reward_event_end_timestamp_seconds: [] | [bigint];
@@ -411,6 +415,7 @@ export interface ProposalData {
411
415
  proposal: [] | [Proposal];
412
416
  proposer: [] | [NeuronId];
413
417
  wait_for_quiet_state: [] | [WaitForQuietState];
418
+ minimum_yes_proportion_of_exercised: [] | [Percentage];
414
419
  is_eligible_for_rewards: boolean;
415
420
  executed_timestamp_seconds: bigint;
416
421
  }
@@ -434,6 +439,7 @@ export interface RewardEvent {
434
439
  rounds_since_last_distribution: [] | [bigint];
435
440
  actual_timestamp_seconds: bigint;
436
441
  end_timestamp_seconds: [] | [bigint];
442
+ total_available_e8s_equivalent: [] | [bigint];
437
443
  distributed_e8s_equivalent: bigint;
438
444
  round: bigint;
439
445
  settled_proposals: Array<ProposalId>;
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit dd51544944987556c978e774aa7a1992e5c11542 'rs/sns/governance/canister/governance_test.did' by import-candid
1
+ // Generated from IC repo commit 57f0e39e3 (2023-11-22) 'rs/sns/governance/canister/governance_test.did' by import-candid
2
2
  type Account = record { owner : opt principal; subaccount : opt Subaccount };
3
3
  type Action = variant {
4
4
  ManageNervousSystemParameters : NervousSystemParameters;
@@ -321,6 +321,7 @@ type Operation = variant {
321
321
  IncreaseDissolveDelay : IncreaseDissolveDelay;
322
322
  SetDissolveTimestamp : SetDissolveTimestamp;
323
323
  };
324
+ type Percentage = record { basis_points : opt nat64 };
324
325
  type Proposal = record {
325
326
  url : text;
326
327
  title : text;
@@ -333,6 +334,7 @@ type ProposalData = record {
333
334
  action : nat64;
334
335
  failure_reason : opt GovernanceError;
335
336
  ballots : vec record { text; Ballot };
337
+ minimum_yes_proportion_of_total : opt Percentage;
336
338
  reward_event_round : nat64;
337
339
  failed_timestamp_seconds : nat64;
338
340
  reward_event_end_timestamp_seconds : opt nat64;
@@ -345,6 +347,7 @@ type ProposalData = record {
345
347
  proposal : opt Proposal;
346
348
  proposer : opt NeuronId;
347
349
  wait_for_quiet_state : opt WaitForQuietState;
350
+ minimum_yes_proportion_of_exercised : opt Percentage;
348
351
  is_eligible_for_rewards : bool;
349
352
  executed_timestamp_seconds : nat64;
350
353
  };
@@ -361,6 +364,7 @@ type RewardEvent = record {
361
364
  rounds_since_last_distribution : opt nat64;
362
365
  actual_timestamp_seconds : nat64;
363
366
  end_timestamp_seconds : opt nat64;
367
+ total_available_e8s_equivalent : opt nat64;
364
368
  distributed_e8s_equivalent : nat64;
365
369
  round : nat64;
366
370
  settled_proposals : vec ProposalId;
@@ -94,6 +94,7 @@ export const idlFactory = ({ IDL }) => {
94
94
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
95
95
  'actual_timestamp_seconds' : IDL.Nat64,
96
96
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
97
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
97
98
  'distributed_e8s_equivalent' : IDL.Nat64,
98
99
  'round' : IDL.Nat64,
99
100
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -113,6 +114,7 @@ export const idlFactory = ({ IDL }) => {
113
114
  'cast_timestamp_seconds' : IDL.Nat64,
114
115
  'voting_power' : IDL.Nat64,
115
116
  });
117
+ const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
116
118
  const Tally = IDL.Record({
117
119
  'no' : IDL.Nat64,
118
120
  'yes' : IDL.Nat64,
@@ -180,6 +182,7 @@ export const idlFactory = ({ IDL }) => {
180
182
  'action' : IDL.Nat64,
181
183
  'failure_reason' : IDL.Opt(GovernanceError),
182
184
  'ballots' : IDL.Vec(IDL.Tuple(IDL.Text, Ballot)),
185
+ 'minimum_yes_proportion_of_total' : IDL.Opt(Percentage),
183
186
  'reward_event_round' : IDL.Nat64,
184
187
  'failed_timestamp_seconds' : IDL.Nat64,
185
188
  'reward_event_end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
@@ -192,6 +195,7 @@ export const idlFactory = ({ IDL }) => {
192
195
  'proposal' : IDL.Opt(Proposal),
193
196
  'proposer' : IDL.Opt(NeuronId),
194
197
  'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),
198
+ 'minimum_yes_proportion_of_exercised' : IDL.Opt(Percentage),
195
199
  'is_eligible_for_rewards' : IDL.Bool,
196
200
  'executed_timestamp_seconds' : IDL.Nat64,
197
201
  });
@@ -643,6 +647,7 @@ export const init = ({ IDL }) => {
643
647
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
644
648
  'actual_timestamp_seconds' : IDL.Nat64,
645
649
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
650
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
646
651
  'distributed_e8s_equivalent' : IDL.Nat64,
647
652
  'round' : IDL.Nat64,
648
653
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -662,6 +667,7 @@ export const init = ({ IDL }) => {
662
667
  'cast_timestamp_seconds' : IDL.Nat64,
663
668
  'voting_power' : IDL.Nat64,
664
669
  });
670
+ const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
665
671
  const Tally = IDL.Record({
666
672
  'no' : IDL.Nat64,
667
673
  'yes' : IDL.Nat64,
@@ -729,6 +735,7 @@ export const init = ({ IDL }) => {
729
735
  'action' : IDL.Nat64,
730
736
  'failure_reason' : IDL.Opt(GovernanceError),
731
737
  'ballots' : IDL.Vec(IDL.Tuple(IDL.Text, Ballot)),
738
+ 'minimum_yes_proportion_of_total' : IDL.Opt(Percentage),
732
739
  'reward_event_round' : IDL.Nat64,
733
740
  'failed_timestamp_seconds' : IDL.Nat64,
734
741
  'reward_event_end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
@@ -741,6 +748,7 @@ export const init = ({ IDL }) => {
741
748
  'proposal' : IDL.Opt(Proposal),
742
749
  'proposer' : IDL.Opt(NeuronId),
743
750
  'wait_for_quiet_state' : IDL.Opt(WaitForQuietState),
751
+ 'minimum_yes_proportion_of_exercised' : IDL.Opt(Percentage),
744
752
  'is_eligible_for_rewards' : IDL.Bool,
745
753
  'executed_timestamp_seconds' : IDL.Nat64,
746
754
  });