@dfinity/sns 2.1.2 → 3.0.0-next-2024-02-21
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.
- package/README.md +76 -76
- package/dist/candid/sns_governance.certified.idl.js +19 -0
- package/dist/candid/sns_governance.d.ts +10 -0
- package/dist/candid/sns_governance.did +14 -2
- package/dist/candid/sns_governance.idl.js +19 -0
- package/dist/candid/sns_governance_test.certified.idl.js +19 -0
- package/dist/candid/sns_governance_test.d.ts +10 -0
- package/dist/candid/sns_governance_test.did +14 -2
- package/dist/candid/sns_governance_test.idl.js +19 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +3 -3
- package/dist/esm/{chunk-K4RKSLVO.js → chunk-HI3EK7WH.js} +2 -2
- package/dist/esm/chunk-HO3ELWLY.js +2 -0
- package/dist/esm/chunk-HO3ELWLY.js.map +7 -0
- package/dist/esm/chunk-WQJQSVHV.js +7 -0
- package/dist/esm/chunk-WQJQSVHV.js.map +7 -0
- package/dist/esm/governance.canister.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +3 -3
- package/dist/esm/sns.js +1 -1
- package/dist/esm/sns.wrapper.js +1 -1
- package/dist/types/governance.canister.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/sns.wrapper.d.ts +2 -2
- package/package.json +7 -7
- package/dist/esm/chunk-BMI3IY3I.js +0 -7
- package/dist/esm/chunk-BMI3IY3I.js.map +0 -7
- package/dist/esm/chunk-VULQZFHD.js +0 -2
- package/dist/esm/chunk-VULQZFHD.js.map +0 -7
- /package/dist/esm/{chunk-K4RKSLVO.js.map → chunk-HI3EK7WH.js.map} +0 -0
|
@@ -120,6 +120,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
120
120
|
'total' : IDL.Nat64,
|
|
121
121
|
'timestamp_seconds' : IDL.Nat64,
|
|
122
122
|
});
|
|
123
|
+
const ManageDappCanisterSettings = IDL.Record({
|
|
124
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
125
|
+
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
126
|
+
'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
|
|
127
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
128
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
129
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
130
|
+
});
|
|
123
131
|
const RegisterDappCanisters = IDL.Record({
|
|
124
132
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
125
133
|
});
|
|
@@ -164,6 +172,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
164
172
|
const Action = IDL.Variant({
|
|
165
173
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
166
174
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
175
|
+
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
167
176
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
168
177
|
'UpgradeSnsToNextVersion' : IDL.Record({}),
|
|
169
178
|
'RegisterDappCanisters' : RegisterDappCanisters,
|
|
@@ -431,6 +440,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
431
440
|
'include_status' : IDL.Vec(IDL.Int32),
|
|
432
441
|
});
|
|
433
442
|
const ListProposalsResponse = IDL.Record({
|
|
443
|
+
'include_ballots_by_caller' : IDL.Opt(IDL.Bool),
|
|
434
444
|
'proposals' : IDL.Vec(ProposalData),
|
|
435
445
|
});
|
|
436
446
|
const StakeMaturity = IDL.Record({
|
|
@@ -662,6 +672,14 @@ export const init = ({ IDL }) => {
|
|
|
662
672
|
'total' : IDL.Nat64,
|
|
663
673
|
'timestamp_seconds' : IDL.Nat64,
|
|
664
674
|
});
|
|
675
|
+
const ManageDappCanisterSettings = IDL.Record({
|
|
676
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
677
|
+
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
678
|
+
'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
|
|
679
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
680
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
681
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
682
|
+
});
|
|
665
683
|
const RegisterDappCanisters = IDL.Record({
|
|
666
684
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
667
685
|
});
|
|
@@ -706,6 +724,7 @@ export const init = ({ IDL }) => {
|
|
|
706
724
|
const Action = IDL.Variant({
|
|
707
725
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
708
726
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
727
|
+
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
709
728
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
710
729
|
'UpgradeSnsToNextVersion' : IDL.Record({}),
|
|
711
730
|
'RegisterDappCanisters' : RegisterDappCanisters,
|
|
@@ -10,6 +10,7 @@ export type Action =
|
|
|
10
10
|
ManageNervousSystemParameters: NervousSystemParameters;
|
|
11
11
|
}
|
|
12
12
|
| { AddGenericNervousSystemFunction: NervousSystemFunction }
|
|
13
|
+
| { ManageDappCanisterSettings: ManageDappCanisterSettings }
|
|
13
14
|
| { RemoveGenericNervousSystemFunction: bigint }
|
|
14
15
|
| { UpgradeSnsToNextVersion: {} }
|
|
15
16
|
| { RegisterDappCanisters: RegisterDappCanisters }
|
|
@@ -270,8 +271,17 @@ export interface ListProposals {
|
|
|
270
271
|
include_status: Int32Array | number[];
|
|
271
272
|
}
|
|
272
273
|
export interface ListProposalsResponse {
|
|
274
|
+
include_ballots_by_caller: [] | [boolean];
|
|
273
275
|
proposals: Array<ProposalData>;
|
|
274
276
|
}
|
|
277
|
+
export interface ManageDappCanisterSettings {
|
|
278
|
+
freezing_threshold: [] | [bigint];
|
|
279
|
+
canister_ids: Array<Principal>;
|
|
280
|
+
reserved_cycles_limit: [] | [bigint];
|
|
281
|
+
log_visibility: [] | [number];
|
|
282
|
+
memory_allocation: [] | [bigint];
|
|
283
|
+
compute_allocation: [] | [bigint];
|
|
284
|
+
}
|
|
275
285
|
export interface ManageLedgerParameters {
|
|
276
286
|
transfer_fee: [] | [bigint];
|
|
277
287
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 757c4947d (2024-02-16) '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;
|
|
5
5
|
AddGenericNervousSystemFunction : NervousSystemFunction;
|
|
6
|
+
ManageDappCanisterSettings : ManageDappCanisterSettings;
|
|
6
7
|
RemoveGenericNervousSystemFunction : nat64;
|
|
7
8
|
UpgradeSnsToNextVersion : record {};
|
|
8
9
|
RegisterDappCanisters : RegisterDappCanisters;
|
|
@@ -227,7 +228,18 @@ type ListProposals = record {
|
|
|
227
228
|
exclude_type : vec nat64;
|
|
228
229
|
include_status : vec int32;
|
|
229
230
|
};
|
|
230
|
-
type ListProposalsResponse = record {
|
|
231
|
+
type ListProposalsResponse = record {
|
|
232
|
+
include_ballots_by_caller : opt bool;
|
|
233
|
+
proposals : vec ProposalData;
|
|
234
|
+
};
|
|
235
|
+
type ManageDappCanisterSettings = record {
|
|
236
|
+
freezing_threshold : opt nat64;
|
|
237
|
+
canister_ids : vec principal;
|
|
238
|
+
reserved_cycles_limit : opt nat64;
|
|
239
|
+
log_visibility : opt int32;
|
|
240
|
+
memory_allocation : opt nat64;
|
|
241
|
+
compute_allocation : opt nat64;
|
|
242
|
+
};
|
|
231
243
|
type ManageLedgerParameters = record { transfer_fee : opt nat64 };
|
|
232
244
|
type ManageNeuron = record { subaccount : vec nat8; command : opt Command };
|
|
233
245
|
type ManageNeuronResponse = record { command : opt Command_1 };
|
|
@@ -120,6 +120,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
120
120
|
'total' : IDL.Nat64,
|
|
121
121
|
'timestamp_seconds' : IDL.Nat64,
|
|
122
122
|
});
|
|
123
|
+
const ManageDappCanisterSettings = IDL.Record({
|
|
124
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
125
|
+
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
126
|
+
'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
|
|
127
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
128
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
129
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
130
|
+
});
|
|
123
131
|
const RegisterDappCanisters = IDL.Record({
|
|
124
132
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
125
133
|
});
|
|
@@ -164,6 +172,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
164
172
|
const Action = IDL.Variant({
|
|
165
173
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
166
174
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
175
|
+
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
167
176
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
168
177
|
'UpgradeSnsToNextVersion' : IDL.Record({}),
|
|
169
178
|
'RegisterDappCanisters' : RegisterDappCanisters,
|
|
@@ -431,6 +440,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
431
440
|
'include_status' : IDL.Vec(IDL.Int32),
|
|
432
441
|
});
|
|
433
442
|
const ListProposalsResponse = IDL.Record({
|
|
443
|
+
'include_ballots_by_caller' : IDL.Opt(IDL.Bool),
|
|
434
444
|
'proposals' : IDL.Vec(ProposalData),
|
|
435
445
|
});
|
|
436
446
|
const StakeMaturity = IDL.Record({
|
|
@@ -670,6 +680,14 @@ export const init = ({ IDL }) => {
|
|
|
670
680
|
'total' : IDL.Nat64,
|
|
671
681
|
'timestamp_seconds' : IDL.Nat64,
|
|
672
682
|
});
|
|
683
|
+
const ManageDappCanisterSettings = IDL.Record({
|
|
684
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
685
|
+
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
686
|
+
'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
|
|
687
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
688
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
689
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
690
|
+
});
|
|
673
691
|
const RegisterDappCanisters = IDL.Record({
|
|
674
692
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
675
693
|
});
|
|
@@ -714,6 +732,7 @@ export const init = ({ IDL }) => {
|
|
|
714
732
|
const Action = IDL.Variant({
|
|
715
733
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
716
734
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
735
|
+
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
717
736
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
718
737
|
'UpgradeSnsToNextVersion' : IDL.Record({}),
|
|
719
738
|
'RegisterDappCanisters' : RegisterDappCanisters,
|
|
@@ -120,6 +120,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
120
120
|
'total' : IDL.Nat64,
|
|
121
121
|
'timestamp_seconds' : IDL.Nat64,
|
|
122
122
|
});
|
|
123
|
+
const ManageDappCanisterSettings = IDL.Record({
|
|
124
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
125
|
+
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
126
|
+
'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
|
|
127
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
128
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
129
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
130
|
+
});
|
|
123
131
|
const RegisterDappCanisters = IDL.Record({
|
|
124
132
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
125
133
|
});
|
|
@@ -164,6 +172,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
164
172
|
const Action = IDL.Variant({
|
|
165
173
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
166
174
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
175
|
+
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
167
176
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
168
177
|
'UpgradeSnsToNextVersion' : IDL.Record({}),
|
|
169
178
|
'RegisterDappCanisters' : RegisterDappCanisters,
|
|
@@ -438,6 +447,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
438
447
|
'include_status' : IDL.Vec(IDL.Int32),
|
|
439
448
|
});
|
|
440
449
|
const ListProposalsResponse = IDL.Record({
|
|
450
|
+
'include_ballots_by_caller' : IDL.Opt(IDL.Bool),
|
|
441
451
|
'proposals' : IDL.Vec(ProposalData),
|
|
442
452
|
});
|
|
443
453
|
const StakeMaturity = IDL.Record({
|
|
@@ -676,6 +686,14 @@ export const init = ({ IDL }) => {
|
|
|
676
686
|
'total' : IDL.Nat64,
|
|
677
687
|
'timestamp_seconds' : IDL.Nat64,
|
|
678
688
|
});
|
|
689
|
+
const ManageDappCanisterSettings = IDL.Record({
|
|
690
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
691
|
+
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
692
|
+
'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
|
|
693
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
694
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
695
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
696
|
+
});
|
|
679
697
|
const RegisterDappCanisters = IDL.Record({
|
|
680
698
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
681
699
|
});
|
|
@@ -720,6 +738,7 @@ export const init = ({ IDL }) => {
|
|
|
720
738
|
const Action = IDL.Variant({
|
|
721
739
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
722
740
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
741
|
+
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
723
742
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
724
743
|
'UpgradeSnsToNextVersion' : IDL.Record({}),
|
|
725
744
|
'RegisterDappCanisters' : RegisterDappCanisters,
|
|
@@ -10,6 +10,7 @@ export type Action =
|
|
|
10
10
|
ManageNervousSystemParameters: NervousSystemParameters;
|
|
11
11
|
}
|
|
12
12
|
| { AddGenericNervousSystemFunction: NervousSystemFunction }
|
|
13
|
+
| { ManageDappCanisterSettings: ManageDappCanisterSettings }
|
|
13
14
|
| { RemoveGenericNervousSystemFunction: bigint }
|
|
14
15
|
| { UpgradeSnsToNextVersion: {} }
|
|
15
16
|
| { RegisterDappCanisters: RegisterDappCanisters }
|
|
@@ -277,8 +278,17 @@ export interface ListProposals {
|
|
|
277
278
|
include_status: Int32Array | number[];
|
|
278
279
|
}
|
|
279
280
|
export interface ListProposalsResponse {
|
|
281
|
+
include_ballots_by_caller: [] | [boolean];
|
|
280
282
|
proposals: Array<ProposalData>;
|
|
281
283
|
}
|
|
284
|
+
export interface ManageDappCanisterSettings {
|
|
285
|
+
freezing_threshold: [] | [bigint];
|
|
286
|
+
canister_ids: Array<Principal>;
|
|
287
|
+
reserved_cycles_limit: [] | [bigint];
|
|
288
|
+
log_visibility: [] | [number];
|
|
289
|
+
memory_allocation: [] | [bigint];
|
|
290
|
+
compute_allocation: [] | [bigint];
|
|
291
|
+
}
|
|
282
292
|
export interface ManageLedgerParameters {
|
|
283
293
|
transfer_fee: [] | [bigint];
|
|
284
294
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 757c4947d (2024-02-16) '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;
|
|
5
5
|
AddGenericNervousSystemFunction : NervousSystemFunction;
|
|
6
|
+
ManageDappCanisterSettings : ManageDappCanisterSettings;
|
|
6
7
|
RemoveGenericNervousSystemFunction : nat64;
|
|
7
8
|
UpgradeSnsToNextVersion : record {};
|
|
8
9
|
RegisterDappCanisters : RegisterDappCanisters;
|
|
@@ -229,7 +230,18 @@ type ListProposals = record {
|
|
|
229
230
|
exclude_type : vec nat64;
|
|
230
231
|
include_status : vec int32;
|
|
231
232
|
};
|
|
232
|
-
type ListProposalsResponse = record {
|
|
233
|
+
type ListProposalsResponse = record {
|
|
234
|
+
include_ballots_by_caller : opt bool;
|
|
235
|
+
proposals : vec ProposalData;
|
|
236
|
+
};
|
|
237
|
+
type ManageDappCanisterSettings = record {
|
|
238
|
+
freezing_threshold : opt nat64;
|
|
239
|
+
canister_ids : vec principal;
|
|
240
|
+
reserved_cycles_limit : opt nat64;
|
|
241
|
+
log_visibility : opt int32;
|
|
242
|
+
memory_allocation : opt nat64;
|
|
243
|
+
compute_allocation : opt nat64;
|
|
244
|
+
};
|
|
233
245
|
type ManageLedgerParameters = record { transfer_fee : opt nat64 };
|
|
234
246
|
type ManageNeuron = record { subaccount : vec nat8; command : opt Command };
|
|
235
247
|
type ManageNeuronResponse = record { command : opt Command_1 };
|
|
@@ -120,6 +120,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
120
120
|
'total' : IDL.Nat64,
|
|
121
121
|
'timestamp_seconds' : IDL.Nat64,
|
|
122
122
|
});
|
|
123
|
+
const ManageDappCanisterSettings = IDL.Record({
|
|
124
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
125
|
+
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
126
|
+
'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
|
|
127
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
128
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
129
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
130
|
+
});
|
|
123
131
|
const RegisterDappCanisters = IDL.Record({
|
|
124
132
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
125
133
|
});
|
|
@@ -164,6 +172,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
164
172
|
const Action = IDL.Variant({
|
|
165
173
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
166
174
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
175
|
+
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
167
176
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
168
177
|
'UpgradeSnsToNextVersion' : IDL.Record({}),
|
|
169
178
|
'RegisterDappCanisters' : RegisterDappCanisters,
|
|
@@ -438,6 +447,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
438
447
|
'include_status' : IDL.Vec(IDL.Int32),
|
|
439
448
|
});
|
|
440
449
|
const ListProposalsResponse = IDL.Record({
|
|
450
|
+
'include_ballots_by_caller' : IDL.Opt(IDL.Bool),
|
|
441
451
|
'proposals' : IDL.Vec(ProposalData),
|
|
442
452
|
});
|
|
443
453
|
const StakeMaturity = IDL.Record({
|
|
@@ -684,6 +694,14 @@ export const init = ({ IDL }) => {
|
|
|
684
694
|
'total' : IDL.Nat64,
|
|
685
695
|
'timestamp_seconds' : IDL.Nat64,
|
|
686
696
|
});
|
|
697
|
+
const ManageDappCanisterSettings = IDL.Record({
|
|
698
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
699
|
+
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
700
|
+
'reserved_cycles_limit' : IDL.Opt(IDL.Nat64),
|
|
701
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
702
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
703
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
704
|
+
});
|
|
687
705
|
const RegisterDappCanisters = IDL.Record({
|
|
688
706
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
689
707
|
});
|
|
@@ -728,6 +746,7 @@ export const init = ({ IDL }) => {
|
|
|
728
746
|
const Action = IDL.Variant({
|
|
729
747
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
730
748
|
'AddGenericNervousSystemFunction' : NervousSystemFunction,
|
|
749
|
+
'ManageDappCanisterSettings' : ManageDappCanisterSettings,
|
|
731
750
|
'RemoveGenericNervousSystemFunction' : IDL.Nat64,
|
|
732
751
|
'UpgradeSnsToNextVersion' : IDL.Record({}),
|
|
733
752
|
'RegisterDappCanisters' : RegisterDappCanisters,
|