@dfinity/sns 3.0.3 → 3.0.4-next-2024-05-14

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),
@@ -150,6 +151,7 @@ export const idlFactory = ({ IDL }) => {
150
151
  'canister_ids' : IDL.Vec(IDL.Principal),
151
152
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
152
153
  'log_visibility' : IDL.Opt(IDL.Int32),
154
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
153
155
  'memory_allocation' : IDL.Opt(IDL.Nat64),
154
156
  'compute_allocation' : IDL.Opt(IDL.Nat64),
155
157
  });
@@ -190,7 +192,10 @@ export const idlFactory = ({ IDL }) => {
190
192
  'payload' : IDL.Vec(IDL.Nat8),
191
193
  });
192
194
  const ManageLedgerParameters = IDL.Record({
195
+ 'token_symbol' : IDL.Opt(IDL.Text),
193
196
  'transfer_fee' : IDL.Opt(IDL.Nat64),
197
+ 'token_logo' : IDL.Opt(IDL.Text),
198
+ 'token_name' : IDL.Opt(IDL.Text),
194
199
  });
195
200
  const Motion = IDL.Record({ 'motion_text' : IDL.Text });
196
201
  const Action = IDL.Variant({
@@ -667,6 +672,7 @@ export const init = ({ IDL }) => {
667
672
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
668
673
  'actual_timestamp_seconds' : IDL.Nat64,
669
674
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
675
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
670
676
  'distributed_e8s_equivalent' : IDL.Nat64,
671
677
  'round' : IDL.Nat64,
672
678
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -723,6 +729,7 @@ export const init = ({ IDL }) => {
723
729
  'canister_ids' : IDL.Vec(IDL.Principal),
724
730
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
725
731
  'log_visibility' : IDL.Opt(IDL.Int32),
732
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
726
733
  'memory_allocation' : IDL.Opt(IDL.Nat64),
727
734
  'compute_allocation' : IDL.Opt(IDL.Nat64),
728
735
  });
@@ -763,7 +770,10 @@ export const init = ({ IDL }) => {
763
770
  'payload' : IDL.Vec(IDL.Nat8),
764
771
  });
765
772
  const ManageLedgerParameters = IDL.Record({
773
+ 'token_symbol' : IDL.Opt(IDL.Text),
766
774
  'transfer_fee' : IDL.Opt(IDL.Nat64),
775
+ 'token_logo' : IDL.Opt(IDL.Text),
776
+ 'token_name' : IDL.Opt(IDL.Text),
767
777
  });
768
778
  const Motion = IDL.Record({ 'motion_text' : IDL.Text });
769
779
  const Action = IDL.Variant({
@@ -288,11 +288,15 @@ export interface ManageDappCanisterSettings {
288
288
  canister_ids: Array<Principal>;
289
289
  reserved_cycles_limit: [] | [bigint];
290
290
  log_visibility: [] | [number];
291
+ wasm_memory_limit: [] | [bigint];
291
292
  memory_allocation: [] | [bigint];
292
293
  compute_allocation: [] | [bigint];
293
294
  }
294
295
  export interface ManageLedgerParameters {
296
+ token_symbol: [] | [string];
295
297
  transfer_fee: [] | [bigint];
298
+ token_logo: [] | [string];
299
+ token_name: [] | [string];
296
300
  }
297
301
  export interface ManageNeuron {
298
302
  subaccount: Uint8Array | number[];
@@ -463,6 +467,7 @@ export interface RewardEvent {
463
467
  rounds_since_last_distribution: [] | [bigint];
464
468
  actual_timestamp_seconds: bigint;
465
469
  end_timestamp_seconds: [] | [bigint];
470
+ total_available_e8s_equivalent: [] | [bigint];
466
471
  distributed_e8s_equivalent: bigint;
467
472
  round: bigint;
468
473
  settled_proposals: Array<ProposalId>;
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit ff10ea1db (2024-04-04 tags: release-2024-04-03_23-01-base) 'rs/sns/governance/canister/governance.did' by import-candid
1
+ // Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) '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;
@@ -242,10 +242,16 @@ type ManageDappCanisterSettings = record {
242
242
  canister_ids : vec principal;
243
243
  reserved_cycles_limit : opt nat64;
244
244
  log_visibility : opt int32;
245
+ wasm_memory_limit : opt nat64;
245
246
  memory_allocation : opt nat64;
246
247
  compute_allocation : opt nat64;
247
248
  };
248
- type ManageLedgerParameters = record { transfer_fee : opt nat64 };
249
+ type ManageLedgerParameters = record {
250
+ token_symbol : opt text;
251
+ transfer_fee : opt nat64;
252
+ token_logo : opt text;
253
+ token_name : opt text;
254
+ };
249
255
  type ManageNeuron = record { subaccount : blob; command : opt Command };
250
256
  type ManageNeuronResponse = record { command : opt Command_1 };
251
257
  type ManageSnsMetadata = record {
@@ -387,6 +393,7 @@ type RewardEvent = record {
387
393
  rounds_since_last_distribution : opt nat64;
388
394
  actual_timestamp_seconds : nat64;
389
395
  end_timestamp_seconds : opt nat64;
396
+ total_available_e8s_equivalent : opt nat64;
390
397
  distributed_e8s_equivalent : nat64;
391
398
  round : nat64;
392
399
  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),
@@ -150,6 +151,7 @@ export const idlFactory = ({ IDL }) => {
150
151
  'canister_ids' : IDL.Vec(IDL.Principal),
151
152
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
152
153
  'log_visibility' : IDL.Opt(IDL.Int32),
154
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
153
155
  'memory_allocation' : IDL.Opt(IDL.Nat64),
154
156
  'compute_allocation' : IDL.Opt(IDL.Nat64),
155
157
  });
@@ -190,7 +192,10 @@ export const idlFactory = ({ IDL }) => {
190
192
  'payload' : IDL.Vec(IDL.Nat8),
191
193
  });
192
194
  const ManageLedgerParameters = IDL.Record({
195
+ 'token_symbol' : IDL.Opt(IDL.Text),
193
196
  'transfer_fee' : IDL.Opt(IDL.Nat64),
197
+ 'token_logo' : IDL.Opt(IDL.Text),
198
+ 'token_name' : IDL.Opt(IDL.Text),
194
199
  });
195
200
  const Motion = IDL.Record({ 'motion_text' : IDL.Text });
196
201
  const Action = IDL.Variant({
@@ -675,6 +680,7 @@ export const init = ({ IDL }) => {
675
680
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
676
681
  'actual_timestamp_seconds' : IDL.Nat64,
677
682
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
683
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
678
684
  'distributed_e8s_equivalent' : IDL.Nat64,
679
685
  'round' : IDL.Nat64,
680
686
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -731,6 +737,7 @@ export const init = ({ IDL }) => {
731
737
  'canister_ids' : IDL.Vec(IDL.Principal),
732
738
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
733
739
  'log_visibility' : IDL.Opt(IDL.Int32),
740
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
734
741
  'memory_allocation' : IDL.Opt(IDL.Nat64),
735
742
  'compute_allocation' : IDL.Opt(IDL.Nat64),
736
743
  });
@@ -771,7 +778,10 @@ export const init = ({ IDL }) => {
771
778
  'payload' : IDL.Vec(IDL.Nat8),
772
779
  });
773
780
  const ManageLedgerParameters = IDL.Record({
781
+ 'token_symbol' : IDL.Opt(IDL.Text),
774
782
  'transfer_fee' : IDL.Opt(IDL.Nat64),
783
+ 'token_logo' : IDL.Opt(IDL.Text),
784
+ 'token_name' : IDL.Opt(IDL.Text),
775
785
  });
776
786
  const Motion = IDL.Record({ 'motion_text' : IDL.Text });
777
787
  const Action = IDL.Variant({
@@ -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),
@@ -150,6 +151,7 @@ export const idlFactory = ({ IDL }) => {
150
151
  'canister_ids' : IDL.Vec(IDL.Principal),
151
152
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
152
153
  'log_visibility' : IDL.Opt(IDL.Int32),
154
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
153
155
  'memory_allocation' : IDL.Opt(IDL.Nat64),
154
156
  'compute_allocation' : IDL.Opt(IDL.Nat64),
155
157
  });
@@ -190,7 +192,10 @@ export const idlFactory = ({ IDL }) => {
190
192
  'payload' : IDL.Vec(IDL.Nat8),
191
193
  });
192
194
  const ManageLedgerParameters = IDL.Record({
195
+ 'token_symbol' : IDL.Opt(IDL.Text),
193
196
  'transfer_fee' : IDL.Opt(IDL.Nat64),
197
+ 'token_logo' : IDL.Opt(IDL.Text),
198
+ 'token_name' : IDL.Opt(IDL.Text),
194
199
  });
195
200
  const Motion = IDL.Record({ 'motion_text' : IDL.Text });
196
201
  const Action = IDL.Variant({
@@ -681,6 +686,7 @@ export const init = ({ IDL }) => {
681
686
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
682
687
  'actual_timestamp_seconds' : IDL.Nat64,
683
688
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
689
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
684
690
  'distributed_e8s_equivalent' : IDL.Nat64,
685
691
  'round' : IDL.Nat64,
686
692
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -737,6 +743,7 @@ export const init = ({ IDL }) => {
737
743
  'canister_ids' : IDL.Vec(IDL.Principal),
738
744
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
739
745
  'log_visibility' : IDL.Opt(IDL.Int32),
746
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
740
747
  'memory_allocation' : IDL.Opt(IDL.Nat64),
741
748
  'compute_allocation' : IDL.Opt(IDL.Nat64),
742
749
  });
@@ -777,7 +784,10 @@ export const init = ({ IDL }) => {
777
784
  'payload' : IDL.Vec(IDL.Nat8),
778
785
  });
779
786
  const ManageLedgerParameters = IDL.Record({
787
+ 'token_symbol' : IDL.Opt(IDL.Text),
780
788
  'transfer_fee' : IDL.Opt(IDL.Nat64),
789
+ 'token_logo' : IDL.Opt(IDL.Text),
790
+ 'token_name' : IDL.Opt(IDL.Text),
781
791
  });
782
792
  const Motion = IDL.Record({ 'motion_text' : IDL.Text });
783
793
  const Action = IDL.Variant({
@@ -295,11 +295,15 @@ export interface ManageDappCanisterSettings {
295
295
  canister_ids: Array<Principal>;
296
296
  reserved_cycles_limit: [] | [bigint];
297
297
  log_visibility: [] | [number];
298
+ wasm_memory_limit: [] | [bigint];
298
299
  memory_allocation: [] | [bigint];
299
300
  compute_allocation: [] | [bigint];
300
301
  }
301
302
  export interface ManageLedgerParameters {
303
+ token_symbol: [] | [string];
302
304
  transfer_fee: [] | [bigint];
305
+ token_logo: [] | [string];
306
+ token_name: [] | [string];
303
307
  }
304
308
  export interface ManageNeuron {
305
309
  subaccount: Uint8Array | number[];
@@ -474,6 +478,7 @@ export interface RewardEvent {
474
478
  rounds_since_last_distribution: [] | [bigint];
475
479
  actual_timestamp_seconds: bigint;
476
480
  end_timestamp_seconds: [] | [bigint];
481
+ total_available_e8s_equivalent: [] | [bigint];
477
482
  distributed_e8s_equivalent: bigint;
478
483
  round: bigint;
479
484
  settled_proposals: Array<ProposalId>;
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit ff10ea1db (2024-04-04 tags: release-2024-04-03_23-01-base) 'rs/sns/governance/canister/governance_test.did' by import-candid
1
+ // Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) '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;
@@ -244,10 +244,16 @@ type ManageDappCanisterSettings = record {
244
244
  canister_ids : vec principal;
245
245
  reserved_cycles_limit : opt nat64;
246
246
  log_visibility : opt int32;
247
+ wasm_memory_limit : opt nat64;
247
248
  memory_allocation : opt nat64;
248
249
  compute_allocation : opt nat64;
249
250
  };
250
- type ManageLedgerParameters = record { transfer_fee : opt nat64 };
251
+ type ManageLedgerParameters = record {
252
+ token_symbol : opt text;
253
+ transfer_fee : opt nat64;
254
+ token_logo : opt text;
255
+ token_name : opt text;
256
+ };
251
257
  type ManageNeuron = record { subaccount : blob; command : opt Command };
252
258
  type ManageNeuronResponse = record { command : opt Command_1 };
253
259
  type ManageSnsMetadata = record {
@@ -393,6 +399,7 @@ type RewardEvent = record {
393
399
  rounds_since_last_distribution : opt nat64;
394
400
  actual_timestamp_seconds : nat64;
395
401
  end_timestamp_seconds : opt nat64;
402
+ total_available_e8s_equivalent : opt nat64;
396
403
  distributed_e8s_equivalent : nat64;
397
404
  round : nat64;
398
405
  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),
@@ -150,6 +151,7 @@ export const idlFactory = ({ IDL }) => {
150
151
  'canister_ids' : IDL.Vec(IDL.Principal),
151
152
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
152
153
  'log_visibility' : IDL.Opt(IDL.Int32),
154
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
153
155
  'memory_allocation' : IDL.Opt(IDL.Nat64),
154
156
  'compute_allocation' : IDL.Opt(IDL.Nat64),
155
157
  });
@@ -190,7 +192,10 @@ export const idlFactory = ({ IDL }) => {
190
192
  'payload' : IDL.Vec(IDL.Nat8),
191
193
  });
192
194
  const ManageLedgerParameters = IDL.Record({
195
+ 'token_symbol' : IDL.Opt(IDL.Text),
193
196
  'transfer_fee' : IDL.Opt(IDL.Nat64),
197
+ 'token_logo' : IDL.Opt(IDL.Text),
198
+ 'token_name' : IDL.Opt(IDL.Text),
194
199
  });
195
200
  const Motion = IDL.Record({ 'motion_text' : IDL.Text });
196
201
  const Action = IDL.Variant({
@@ -689,6 +694,7 @@ export const init = ({ IDL }) => {
689
694
  'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
690
695
  'actual_timestamp_seconds' : IDL.Nat64,
691
696
  'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
697
+ 'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
692
698
  'distributed_e8s_equivalent' : IDL.Nat64,
693
699
  'round' : IDL.Nat64,
694
700
  'settled_proposals' : IDL.Vec(ProposalId),
@@ -745,6 +751,7 @@ export const init = ({ IDL }) => {
745
751
  'canister_ids' : IDL.Vec(IDL.Principal),
746
752
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
747
753
  'log_visibility' : IDL.Opt(IDL.Int32),
754
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
748
755
  'memory_allocation' : IDL.Opt(IDL.Nat64),
749
756
  'compute_allocation' : IDL.Opt(IDL.Nat64),
750
757
  });
@@ -785,7 +792,10 @@ export const init = ({ IDL }) => {
785
792
  'payload' : IDL.Vec(IDL.Nat8),
786
793
  });
787
794
  const ManageLedgerParameters = IDL.Record({
795
+ 'token_symbol' : IDL.Opt(IDL.Text),
788
796
  'transfer_fee' : IDL.Opt(IDL.Nat64),
797
+ 'token_logo' : IDL.Opt(IDL.Text),
798
+ 'token_name' : IDL.Opt(IDL.Text),
789
799
  });
790
800
  const Motion = IDL.Record({ 'motion_text' : IDL.Text });
791
801
  const Action = IDL.Variant({
@@ -17,14 +17,20 @@ export const idlFactory = ({ IDL }) => {
17
17
  'running' : IDL.Null,
18
18
  });
19
19
  const DefiniteCanisterSettings = IDL.Record({
20
+ 'freezing_threshold' : IDL.Opt(IDL.Nat),
20
21
  'controllers' : IDL.Vec(IDL.Principal),
22
+ 'reserved_cycles_limit' : IDL.Opt(IDL.Nat),
23
+ 'memory_allocation' : IDL.Opt(IDL.Nat),
24
+ 'compute_allocation' : IDL.Opt(IDL.Nat),
21
25
  });
22
26
  const CanisterStatusResult = IDL.Record({
23
27
  'status' : CanisterStatusType,
24
28
  'memory_size' : IDL.Nat,
25
29
  'cycles' : IDL.Nat,
26
30
  'settings' : DefiniteCanisterSettings,
31
+ 'idle_cycles_burned_per_day' : IDL.Opt(IDL.Nat),
27
32
  'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
33
+ 'reserved_cycles' : IDL.Opt(IDL.Nat),
28
34
  });
29
35
  const CanisterInstallMode = IDL.Variant({
30
36
  'reinstall' : IDL.Null,
@@ -84,6 +90,7 @@ export const idlFactory = ({ IDL }) => {
84
90
  'canister_ids' : IDL.Vec(IDL.Principal),
85
91
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
86
92
  'log_visibility' : IDL.Opt(IDL.Int32),
93
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
87
94
  'memory_allocation' : IDL.Opt(IDL.Nat64),
88
95
  'compute_allocation' : IDL.Opt(IDL.Nat64),
89
96
  });
@@ -18,7 +18,9 @@ export interface CanisterStatusResult {
18
18
  memory_size: bigint;
19
19
  cycles: bigint;
20
20
  settings: DefiniteCanisterSettings;
21
+ idle_cycles_burned_per_day: [] | [bigint];
21
22
  module_hash: [] | [Uint8Array | number[]];
23
+ reserved_cycles: [] | [bigint];
22
24
  }
23
25
  export interface CanisterStatusResultV2 {
24
26
  status: CanisterStatusType;
@@ -46,7 +48,11 @@ export interface ChangeCanisterRequest {
46
48
  compute_allocation: [] | [bigint];
47
49
  }
48
50
  export interface DefiniteCanisterSettings {
51
+ freezing_threshold: [] | [bigint];
49
52
  controllers: Array<Principal>;
53
+ reserved_cycles_limit: [] | [bigint];
54
+ memory_allocation: [] | [bigint];
55
+ compute_allocation: [] | [bigint];
50
56
  }
51
57
  export interface DefiniteCanisterSettingsArgs {
52
58
  freezing_threshold: bigint;
@@ -84,6 +90,7 @@ export interface ManageDappCanisterSettingsRequest {
84
90
  canister_ids: Array<Principal>;
85
91
  reserved_cycles_limit: [] | [bigint];
86
92
  log_visibility: [] | [number];
93
+ wasm_memory_limit: [] | [bigint];
87
94
  memory_allocation: [] | [bigint];
88
95
  compute_allocation: [] | [bigint];
89
96
  }
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit ff10ea1db (2024-04-04 tags: release-2024-04-03_23-01-base) 'rs/sns/root/canister/root.did' by import-candid
1
+ // Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/sns/root/canister/root.did' by import-candid
2
2
  type CanisterCallError = record { code : opt int32; description : text };
3
3
  type CanisterIdRecord = record { canister_id : principal };
4
4
  type CanisterInstallMode = variant { reinstall; upgrade; install };
@@ -7,7 +7,9 @@ type CanisterStatusResult = record {
7
7
  memory_size : nat;
8
8
  cycles : nat;
9
9
  settings : DefiniteCanisterSettings;
10
+ idle_cycles_burned_per_day : opt nat;
10
11
  module_hash : opt blob;
12
+ reserved_cycles : opt nat;
11
13
  };
12
14
  type CanisterStatusResultV2 = record {
13
15
  status : CanisterStatusType;
@@ -31,7 +33,13 @@ type ChangeCanisterRequest = record {
31
33
  memory_allocation : opt nat;
32
34
  compute_allocation : opt nat;
33
35
  };
34
- type DefiniteCanisterSettings = record { controllers : vec principal };
36
+ type DefiniteCanisterSettings = record {
37
+ freezing_threshold : opt nat;
38
+ controllers : vec principal;
39
+ reserved_cycles_limit : opt nat;
40
+ memory_allocation : opt nat;
41
+ compute_allocation : opt nat;
42
+ };
35
43
  type DefiniteCanisterSettingsArgs = record {
36
44
  freezing_threshold : nat;
37
45
  controllers : vec principal;
@@ -66,6 +74,7 @@ type ManageDappCanisterSettingsRequest = record {
66
74
  canister_ids : vec principal;
67
75
  reserved_cycles_limit : opt nat64;
68
76
  log_visibility : opt int32;
77
+ wasm_memory_limit : opt nat64;
69
78
  memory_allocation : opt nat64;
70
79
  compute_allocation : opt nat64;
71
80
  };
@@ -17,14 +17,20 @@ export const idlFactory = ({ IDL }) => {
17
17
  'running' : IDL.Null,
18
18
  });
19
19
  const DefiniteCanisterSettings = IDL.Record({
20
+ 'freezing_threshold' : IDL.Opt(IDL.Nat),
20
21
  'controllers' : IDL.Vec(IDL.Principal),
22
+ 'reserved_cycles_limit' : IDL.Opt(IDL.Nat),
23
+ 'memory_allocation' : IDL.Opt(IDL.Nat),
24
+ 'compute_allocation' : IDL.Opt(IDL.Nat),
21
25
  });
22
26
  const CanisterStatusResult = IDL.Record({
23
27
  'status' : CanisterStatusType,
24
28
  'memory_size' : IDL.Nat,
25
29
  'cycles' : IDL.Nat,
26
30
  'settings' : DefiniteCanisterSettings,
31
+ 'idle_cycles_burned_per_day' : IDL.Opt(IDL.Nat),
27
32
  'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
33
+ 'reserved_cycles' : IDL.Opt(IDL.Nat),
28
34
  });
29
35
  const CanisterInstallMode = IDL.Variant({
30
36
  'reinstall' : IDL.Null,
@@ -84,6 +90,7 @@ export const idlFactory = ({ IDL }) => {
84
90
  'canister_ids' : IDL.Vec(IDL.Principal),
85
91
  'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
86
92
  'log_visibility' : IDL.Opt(IDL.Int32),
93
+ 'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
87
94
  'memory_allocation' : IDL.Opt(IDL.Nat64),
88
95
  'compute_allocation' : IDL.Opt(IDL.Nat64),
89
96
  });
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit ff10ea1db (2024-04-04 tags: release-2024-04-03_23-01-base) 'rs/sns/swap/canister/swap.did' by import-candid
1
+ // Generated from IC repo commit 9866a6f (2024-04-24 tags: release-2024-05-09_23-02-storage-layer) 'rs/sns/swap/canister/swap.did' by import-candid
2
2
  type BuyerState = record {
3
3
  icp : opt TransferableAmount;
4
4
  has_created_neuron_recipes : opt bool;