@dfinity/sns 2.1.0 → 2.1.1-next-2024-01-30
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/dist/candid/sns_governance.certified.idl.js +24 -2
- package/dist/candid/sns_governance.d.ts +12 -1
- package/dist/candid/sns_governance.did +11 -2
- package/dist/candid/sns_governance.idl.js +24 -2
- package/dist/candid/sns_governance_test.certified.idl.js +24 -2
- package/dist/candid/sns_governance_test.d.ts +12 -1
- package/dist/candid/sns_governance_test.did +11 -2
- package/dist/candid/sns_governance_test.idl.js +24 -2
- package/dist/candid/sns_root.certified.idl.js +3 -14
- package/dist/candid/sns_root.d.ts +2 -12
- package/dist/candid/sns_root.did +3 -14
- package/dist/candid/sns_root.idl.js +2 -13
- package/dist/candid/sns_swap.certified.idl.js +40 -13
- package/dist/candid/sns_swap.d.ts +28 -5
- package/dist/candid/sns_swap.did +24 -7
- package/dist/candid/sns_swap.idl.js +40 -13
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +3 -3
- package/dist/esm/{chunk-V6OGOPZC.js → chunk-CENX7NFF.js} +2 -2
- package/dist/esm/chunk-OW7ISXHP.js +2 -0
- package/dist/esm/chunk-OW7ISXHP.js.map +7 -0
- package/dist/esm/chunk-TT4OPWTE.js +2 -0
- package/dist/esm/chunk-TT4OPWTE.js.map +7 -0
- package/dist/esm/chunk-VULQZFHD.js +2 -0
- package/dist/esm/chunk-VULQZFHD.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/root.canister.js +1 -1
- package/dist/esm/sns.js +1 -1
- package/dist/esm/swap.canister.js +1 -1
- package/package.json +7 -7
- package/dist/esm/chunk-ONZVK7WV.js +0 -2
- package/dist/esm/chunk-ONZVK7WV.js.map +0 -7
- package/dist/esm/chunk-Q2SQYFV4.js +0 -2
- package/dist/esm/chunk-Q2SQYFV4.js.map +0 -7
- package/dist/esm/chunk-ZF2AGKNK.js +0 -2
- package/dist/esm/chunk-ZF2AGKNK.js.map +0 -7
- /package/dist/esm/{chunk-V6OGOPZC.js.map → chunk-CENX7NFF.js.map} +0 -0
|
@@ -94,7 +94,6 @@ 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),
|
|
98
97
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
99
98
|
'round' : IDL.Nat64,
|
|
100
99
|
'settled_proposals' : IDL.Vec(ProposalId),
|
|
@@ -142,6 +141,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
142
141
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
143
142
|
'new_controllers' : IDL.Vec(IDL.Principal),
|
|
144
143
|
});
|
|
144
|
+
const MintSnsTokens = IDL.Record({
|
|
145
|
+
'to_principal' : IDL.Opt(IDL.Principal),
|
|
146
|
+
'to_subaccount' : IDL.Opt(Subaccount),
|
|
147
|
+
'memo' : IDL.Opt(IDL.Nat64),
|
|
148
|
+
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
149
|
+
});
|
|
145
150
|
const ManageSnsMetadata = IDL.Record({
|
|
146
151
|
'url' : IDL.Opt(IDL.Text),
|
|
147
152
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -152,6 +157,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
152
157
|
'function_id' : IDL.Nat64,
|
|
153
158
|
'payload' : IDL.Vec(IDL.Nat8),
|
|
154
159
|
});
|
|
160
|
+
const ManageLedgerParameters = IDL.Record({
|
|
161
|
+
'transfer_fee' : IDL.Opt(IDL.Nat64),
|
|
162
|
+
});
|
|
155
163
|
const Motion = IDL.Record({ 'motion_text' : IDL.Text });
|
|
156
164
|
const Action = IDL.Variant({
|
|
157
165
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
@@ -162,9 +170,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
162
170
|
'TransferSnsTreasuryFunds' : TransferSnsTreasuryFunds,
|
|
163
171
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
164
172
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
173
|
+
'MintSnsTokens' : MintSnsTokens,
|
|
165
174
|
'Unspecified' : IDL.Record({}),
|
|
166
175
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
167
176
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
177
|
+
'ManageLedgerParameters' : ManageLedgerParameters,
|
|
168
178
|
'Motion' : Motion,
|
|
169
179
|
});
|
|
170
180
|
const Proposal = IDL.Record({
|
|
@@ -291,6 +301,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
291
301
|
'timestamp_of_disbursement_seconds' : IDL.Nat64,
|
|
292
302
|
'amount_e8s' : IDL.Nat64,
|
|
293
303
|
'account_to_disburse_to' : IDL.Opt(Account),
|
|
304
|
+
'finalize_disbursement_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
294
305
|
});
|
|
295
306
|
const Neuron = IDL.Record({
|
|
296
307
|
'id' : IDL.Opt(NeuronId),
|
|
@@ -625,7 +636,6 @@ export const init = ({ IDL }) => {
|
|
|
625
636
|
'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
|
|
626
637
|
'actual_timestamp_seconds' : IDL.Nat64,
|
|
627
638
|
'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
628
|
-
'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
629
639
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
630
640
|
'round' : IDL.Nat64,
|
|
631
641
|
'settled_proposals' : IDL.Vec(ProposalId),
|
|
@@ -673,6 +683,12 @@ export const init = ({ IDL }) => {
|
|
|
673
683
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
674
684
|
'new_controllers' : IDL.Vec(IDL.Principal),
|
|
675
685
|
});
|
|
686
|
+
const MintSnsTokens = IDL.Record({
|
|
687
|
+
'to_principal' : IDL.Opt(IDL.Principal),
|
|
688
|
+
'to_subaccount' : IDL.Opt(Subaccount),
|
|
689
|
+
'memo' : IDL.Opt(IDL.Nat64),
|
|
690
|
+
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
691
|
+
});
|
|
676
692
|
const ManageSnsMetadata = IDL.Record({
|
|
677
693
|
'url' : IDL.Opt(IDL.Text),
|
|
678
694
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -683,6 +699,9 @@ export const init = ({ IDL }) => {
|
|
|
683
699
|
'function_id' : IDL.Nat64,
|
|
684
700
|
'payload' : IDL.Vec(IDL.Nat8),
|
|
685
701
|
});
|
|
702
|
+
const ManageLedgerParameters = IDL.Record({
|
|
703
|
+
'transfer_fee' : IDL.Opt(IDL.Nat64),
|
|
704
|
+
});
|
|
686
705
|
const Motion = IDL.Record({ 'motion_text' : IDL.Text });
|
|
687
706
|
const Action = IDL.Variant({
|
|
688
707
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
@@ -693,9 +712,11 @@ export const init = ({ IDL }) => {
|
|
|
693
712
|
'TransferSnsTreasuryFunds' : TransferSnsTreasuryFunds,
|
|
694
713
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
695
714
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
715
|
+
'MintSnsTokens' : MintSnsTokens,
|
|
696
716
|
'Unspecified' : IDL.Record({}),
|
|
697
717
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
698
718
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
719
|
+
'ManageLedgerParameters' : ManageLedgerParameters,
|
|
699
720
|
'Motion' : Motion,
|
|
700
721
|
});
|
|
701
722
|
const Proposal = IDL.Record({
|
|
@@ -822,6 +843,7 @@ export const init = ({ IDL }) => {
|
|
|
822
843
|
'timestamp_of_disbursement_seconds' : IDL.Nat64,
|
|
823
844
|
'amount_e8s' : IDL.Nat64,
|
|
824
845
|
'account_to_disburse_to' : IDL.Opt(Account),
|
|
846
|
+
'finalize_disbursement_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
825
847
|
});
|
|
826
848
|
const Neuron = IDL.Record({
|
|
827
849
|
'id' : IDL.Opt(NeuronId),
|
|
@@ -16,11 +16,13 @@ export type Action =
|
|
|
16
16
|
| { TransferSnsTreasuryFunds: TransferSnsTreasuryFunds }
|
|
17
17
|
| { UpgradeSnsControlledCanister: UpgradeSnsControlledCanister }
|
|
18
18
|
| { DeregisterDappCanisters: DeregisterDappCanisters }
|
|
19
|
+
| { MintSnsTokens: MintSnsTokens }
|
|
19
20
|
| { Unspecified: {} }
|
|
20
21
|
| { ManageSnsMetadata: ManageSnsMetadata }
|
|
21
22
|
| {
|
|
22
23
|
ExecuteGenericNervousSystemFunction: ExecuteGenericNervousSystemFunction;
|
|
23
24
|
}
|
|
25
|
+
| { ManageLedgerParameters: ManageLedgerParameters }
|
|
24
26
|
| { Motion: Motion };
|
|
25
27
|
export interface AddNeuronPermissions {
|
|
26
28
|
permissions_to_add: [] | [NeuronPermissionList];
|
|
@@ -137,6 +139,7 @@ export interface DisburseMaturityInProgress {
|
|
|
137
139
|
timestamp_of_disbursement_seconds: bigint;
|
|
138
140
|
amount_e8s: bigint;
|
|
139
141
|
account_to_disburse_to: [] | [Account];
|
|
142
|
+
finalize_disbursement_timestamp_seconds: [] | [bigint];
|
|
140
143
|
}
|
|
141
144
|
export interface DisburseMaturityResponse {
|
|
142
145
|
amount_disbursed_e8s: bigint;
|
|
@@ -269,6 +272,9 @@ export interface ListProposals {
|
|
|
269
272
|
export interface ListProposalsResponse {
|
|
270
273
|
proposals: Array<ProposalData>;
|
|
271
274
|
}
|
|
275
|
+
export interface ManageLedgerParameters {
|
|
276
|
+
transfer_fee: [] | [bigint];
|
|
277
|
+
}
|
|
272
278
|
export interface ManageNeuron {
|
|
273
279
|
subaccount: Uint8Array | number[];
|
|
274
280
|
command: [] | [Command];
|
|
@@ -297,6 +303,12 @@ export interface MergeMaturityResponse {
|
|
|
297
303
|
merged_maturity_e8s: bigint;
|
|
298
304
|
new_stake_e8s: bigint;
|
|
299
305
|
}
|
|
306
|
+
export interface MintSnsTokens {
|
|
307
|
+
to_principal: [] | [Principal];
|
|
308
|
+
to_subaccount: [] | [Subaccount];
|
|
309
|
+
memo: [] | [bigint];
|
|
310
|
+
amount_e8s: [] | [bigint];
|
|
311
|
+
}
|
|
300
312
|
export interface Motion {
|
|
301
313
|
motion_text: string;
|
|
302
314
|
}
|
|
@@ -428,7 +440,6 @@ export interface RewardEvent {
|
|
|
428
440
|
rounds_since_last_distribution: [] | [bigint];
|
|
429
441
|
actual_timestamp_seconds: bigint;
|
|
430
442
|
end_timestamp_seconds: [] | [bigint];
|
|
431
|
-
total_available_e8s_equivalent: [] | [bigint];
|
|
432
443
|
distributed_e8s_equivalent: bigint;
|
|
433
444
|
round: bigint;
|
|
434
445
|
settled_proposals: Array<ProposalId>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 044cfd5 (2024-01-25 tags: release-2024-01-25_14-09+p2p-con) '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;
|
|
@@ -9,9 +9,11 @@ type Action = variant {
|
|
|
9
9
|
TransferSnsTreasuryFunds : TransferSnsTreasuryFunds;
|
|
10
10
|
UpgradeSnsControlledCanister : UpgradeSnsControlledCanister;
|
|
11
11
|
DeregisterDappCanisters : DeregisterDappCanisters;
|
|
12
|
+
MintSnsTokens : MintSnsTokens;
|
|
12
13
|
Unspecified : record {};
|
|
13
14
|
ManageSnsMetadata : ManageSnsMetadata;
|
|
14
15
|
ExecuteGenericNervousSystemFunction : ExecuteGenericNervousSystemFunction;
|
|
16
|
+
ManageLedgerParameters : ManageLedgerParameters;
|
|
15
17
|
Motion : Motion;
|
|
16
18
|
};
|
|
17
19
|
type AddNeuronPermissions = record {
|
|
@@ -115,6 +117,7 @@ type DisburseMaturityInProgress = record {
|
|
|
115
117
|
timestamp_of_disbursement_seconds : nat64;
|
|
116
118
|
amount_e8s : nat64;
|
|
117
119
|
account_to_disburse_to : opt Account;
|
|
120
|
+
finalize_disbursement_timestamp_seconds : opt nat64;
|
|
118
121
|
};
|
|
119
122
|
type DisburseMaturityResponse = record {
|
|
120
123
|
amount_disbursed_e8s : nat64;
|
|
@@ -225,6 +228,7 @@ type ListProposals = record {
|
|
|
225
228
|
include_status : vec int32;
|
|
226
229
|
};
|
|
227
230
|
type ListProposalsResponse = record { proposals : vec ProposalData };
|
|
231
|
+
type ManageLedgerParameters = record { transfer_fee : opt nat64 };
|
|
228
232
|
type ManageNeuron = record { subaccount : vec nat8; command : opt Command };
|
|
229
233
|
type ManageNeuronResponse = record { command : opt Command_1 };
|
|
230
234
|
type ManageSnsMetadata = record {
|
|
@@ -243,6 +247,12 @@ type MergeMaturityResponse = record {
|
|
|
243
247
|
merged_maturity_e8s : nat64;
|
|
244
248
|
new_stake_e8s : nat64;
|
|
245
249
|
};
|
|
250
|
+
type MintSnsTokens = record {
|
|
251
|
+
to_principal : opt principal;
|
|
252
|
+
to_subaccount : opt Subaccount;
|
|
253
|
+
memo : opt nat64;
|
|
254
|
+
amount_e8s : opt nat64;
|
|
255
|
+
};
|
|
246
256
|
type Motion = record { motion_text : text };
|
|
247
257
|
type NervousSystemFunction = record {
|
|
248
258
|
id : nat64;
|
|
@@ -358,7 +368,6 @@ type RewardEvent = record {
|
|
|
358
368
|
rounds_since_last_distribution : opt nat64;
|
|
359
369
|
actual_timestamp_seconds : nat64;
|
|
360
370
|
end_timestamp_seconds : opt nat64;
|
|
361
|
-
total_available_e8s_equivalent : opt nat64;
|
|
362
371
|
distributed_e8s_equivalent : nat64;
|
|
363
372
|
round : nat64;
|
|
364
373
|
settled_proposals : vec ProposalId;
|
|
@@ -94,7 +94,6 @@ 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),
|
|
98
97
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
99
98
|
'round' : IDL.Nat64,
|
|
100
99
|
'settled_proposals' : IDL.Vec(ProposalId),
|
|
@@ -142,6 +141,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
142
141
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
143
142
|
'new_controllers' : IDL.Vec(IDL.Principal),
|
|
144
143
|
});
|
|
144
|
+
const MintSnsTokens = IDL.Record({
|
|
145
|
+
'to_principal' : IDL.Opt(IDL.Principal),
|
|
146
|
+
'to_subaccount' : IDL.Opt(Subaccount),
|
|
147
|
+
'memo' : IDL.Opt(IDL.Nat64),
|
|
148
|
+
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
149
|
+
});
|
|
145
150
|
const ManageSnsMetadata = IDL.Record({
|
|
146
151
|
'url' : IDL.Opt(IDL.Text),
|
|
147
152
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -152,6 +157,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
152
157
|
'function_id' : IDL.Nat64,
|
|
153
158
|
'payload' : IDL.Vec(IDL.Nat8),
|
|
154
159
|
});
|
|
160
|
+
const ManageLedgerParameters = IDL.Record({
|
|
161
|
+
'transfer_fee' : IDL.Opt(IDL.Nat64),
|
|
162
|
+
});
|
|
155
163
|
const Motion = IDL.Record({ 'motion_text' : IDL.Text });
|
|
156
164
|
const Action = IDL.Variant({
|
|
157
165
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
@@ -162,9 +170,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
162
170
|
'TransferSnsTreasuryFunds' : TransferSnsTreasuryFunds,
|
|
163
171
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
164
172
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
173
|
+
'MintSnsTokens' : MintSnsTokens,
|
|
165
174
|
'Unspecified' : IDL.Record({}),
|
|
166
175
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
167
176
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
177
|
+
'ManageLedgerParameters' : ManageLedgerParameters,
|
|
168
178
|
'Motion' : Motion,
|
|
169
179
|
});
|
|
170
180
|
const Proposal = IDL.Record({
|
|
@@ -291,6 +301,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
291
301
|
'timestamp_of_disbursement_seconds' : IDL.Nat64,
|
|
292
302
|
'amount_e8s' : IDL.Nat64,
|
|
293
303
|
'account_to_disburse_to' : IDL.Opt(Account),
|
|
304
|
+
'finalize_disbursement_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
294
305
|
});
|
|
295
306
|
const Neuron = IDL.Record({
|
|
296
307
|
'id' : IDL.Opt(NeuronId),
|
|
@@ -633,7 +644,6 @@ export const init = ({ IDL }) => {
|
|
|
633
644
|
'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
|
|
634
645
|
'actual_timestamp_seconds' : IDL.Nat64,
|
|
635
646
|
'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
636
|
-
'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
637
647
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
638
648
|
'round' : IDL.Nat64,
|
|
639
649
|
'settled_proposals' : IDL.Vec(ProposalId),
|
|
@@ -681,6 +691,12 @@ export const init = ({ IDL }) => {
|
|
|
681
691
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
682
692
|
'new_controllers' : IDL.Vec(IDL.Principal),
|
|
683
693
|
});
|
|
694
|
+
const MintSnsTokens = IDL.Record({
|
|
695
|
+
'to_principal' : IDL.Opt(IDL.Principal),
|
|
696
|
+
'to_subaccount' : IDL.Opt(Subaccount),
|
|
697
|
+
'memo' : IDL.Opt(IDL.Nat64),
|
|
698
|
+
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
699
|
+
});
|
|
684
700
|
const ManageSnsMetadata = IDL.Record({
|
|
685
701
|
'url' : IDL.Opt(IDL.Text),
|
|
686
702
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -691,6 +707,9 @@ export const init = ({ IDL }) => {
|
|
|
691
707
|
'function_id' : IDL.Nat64,
|
|
692
708
|
'payload' : IDL.Vec(IDL.Nat8),
|
|
693
709
|
});
|
|
710
|
+
const ManageLedgerParameters = IDL.Record({
|
|
711
|
+
'transfer_fee' : IDL.Opt(IDL.Nat64),
|
|
712
|
+
});
|
|
694
713
|
const Motion = IDL.Record({ 'motion_text' : IDL.Text });
|
|
695
714
|
const Action = IDL.Variant({
|
|
696
715
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
@@ -701,9 +720,11 @@ export const init = ({ IDL }) => {
|
|
|
701
720
|
'TransferSnsTreasuryFunds' : TransferSnsTreasuryFunds,
|
|
702
721
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
703
722
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
723
|
+
'MintSnsTokens' : MintSnsTokens,
|
|
704
724
|
'Unspecified' : IDL.Record({}),
|
|
705
725
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
706
726
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
727
|
+
'ManageLedgerParameters' : ManageLedgerParameters,
|
|
707
728
|
'Motion' : Motion,
|
|
708
729
|
});
|
|
709
730
|
const Proposal = IDL.Record({
|
|
@@ -830,6 +851,7 @@ export const init = ({ IDL }) => {
|
|
|
830
851
|
'timestamp_of_disbursement_seconds' : IDL.Nat64,
|
|
831
852
|
'amount_e8s' : IDL.Nat64,
|
|
832
853
|
'account_to_disburse_to' : IDL.Opt(Account),
|
|
854
|
+
'finalize_disbursement_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
833
855
|
});
|
|
834
856
|
const Neuron = IDL.Record({
|
|
835
857
|
'id' : IDL.Opt(NeuronId),
|
|
@@ -94,7 +94,6 @@ 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),
|
|
98
97
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
99
98
|
'round' : IDL.Nat64,
|
|
100
99
|
'settled_proposals' : IDL.Vec(ProposalId),
|
|
@@ -142,6 +141,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
142
141
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
143
142
|
'new_controllers' : IDL.Vec(IDL.Principal),
|
|
144
143
|
});
|
|
144
|
+
const MintSnsTokens = IDL.Record({
|
|
145
|
+
'to_principal' : IDL.Opt(IDL.Principal),
|
|
146
|
+
'to_subaccount' : IDL.Opt(Subaccount),
|
|
147
|
+
'memo' : IDL.Opt(IDL.Nat64),
|
|
148
|
+
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
149
|
+
});
|
|
145
150
|
const ManageSnsMetadata = IDL.Record({
|
|
146
151
|
'url' : IDL.Opt(IDL.Text),
|
|
147
152
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -152,6 +157,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
152
157
|
'function_id' : IDL.Nat64,
|
|
153
158
|
'payload' : IDL.Vec(IDL.Nat8),
|
|
154
159
|
});
|
|
160
|
+
const ManageLedgerParameters = IDL.Record({
|
|
161
|
+
'transfer_fee' : IDL.Opt(IDL.Nat64),
|
|
162
|
+
});
|
|
155
163
|
const Motion = IDL.Record({ 'motion_text' : IDL.Text });
|
|
156
164
|
const Action = IDL.Variant({
|
|
157
165
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
@@ -162,9 +170,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
162
170
|
'TransferSnsTreasuryFunds' : TransferSnsTreasuryFunds,
|
|
163
171
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
164
172
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
173
|
+
'MintSnsTokens' : MintSnsTokens,
|
|
165
174
|
'Unspecified' : IDL.Record({}),
|
|
166
175
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
167
176
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
177
|
+
'ManageLedgerParameters' : ManageLedgerParameters,
|
|
168
178
|
'Motion' : Motion,
|
|
169
179
|
});
|
|
170
180
|
const Proposal = IDL.Record({
|
|
@@ -291,6 +301,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
291
301
|
'timestamp_of_disbursement_seconds' : IDL.Nat64,
|
|
292
302
|
'amount_e8s' : IDL.Nat64,
|
|
293
303
|
'account_to_disburse_to' : IDL.Opt(Account),
|
|
304
|
+
'finalize_disbursement_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
294
305
|
});
|
|
295
306
|
const Neuron = IDL.Record({
|
|
296
307
|
'id' : IDL.Opt(NeuronId),
|
|
@@ -639,7 +650,6 @@ export const init = ({ IDL }) => {
|
|
|
639
650
|
'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
|
|
640
651
|
'actual_timestamp_seconds' : IDL.Nat64,
|
|
641
652
|
'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
642
|
-
'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
643
653
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
644
654
|
'round' : IDL.Nat64,
|
|
645
655
|
'settled_proposals' : IDL.Vec(ProposalId),
|
|
@@ -687,6 +697,12 @@ export const init = ({ IDL }) => {
|
|
|
687
697
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
688
698
|
'new_controllers' : IDL.Vec(IDL.Principal),
|
|
689
699
|
});
|
|
700
|
+
const MintSnsTokens = IDL.Record({
|
|
701
|
+
'to_principal' : IDL.Opt(IDL.Principal),
|
|
702
|
+
'to_subaccount' : IDL.Opt(Subaccount),
|
|
703
|
+
'memo' : IDL.Opt(IDL.Nat64),
|
|
704
|
+
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
705
|
+
});
|
|
690
706
|
const ManageSnsMetadata = IDL.Record({
|
|
691
707
|
'url' : IDL.Opt(IDL.Text),
|
|
692
708
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -697,6 +713,9 @@ export const init = ({ IDL }) => {
|
|
|
697
713
|
'function_id' : IDL.Nat64,
|
|
698
714
|
'payload' : IDL.Vec(IDL.Nat8),
|
|
699
715
|
});
|
|
716
|
+
const ManageLedgerParameters = IDL.Record({
|
|
717
|
+
'transfer_fee' : IDL.Opt(IDL.Nat64),
|
|
718
|
+
});
|
|
700
719
|
const Motion = IDL.Record({ 'motion_text' : IDL.Text });
|
|
701
720
|
const Action = IDL.Variant({
|
|
702
721
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
@@ -707,9 +726,11 @@ export const init = ({ IDL }) => {
|
|
|
707
726
|
'TransferSnsTreasuryFunds' : TransferSnsTreasuryFunds,
|
|
708
727
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
709
728
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
729
|
+
'MintSnsTokens' : MintSnsTokens,
|
|
710
730
|
'Unspecified' : IDL.Record({}),
|
|
711
731
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
712
732
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
733
|
+
'ManageLedgerParameters' : ManageLedgerParameters,
|
|
713
734
|
'Motion' : Motion,
|
|
714
735
|
});
|
|
715
736
|
const Proposal = IDL.Record({
|
|
@@ -836,6 +857,7 @@ export const init = ({ IDL }) => {
|
|
|
836
857
|
'timestamp_of_disbursement_seconds' : IDL.Nat64,
|
|
837
858
|
'amount_e8s' : IDL.Nat64,
|
|
838
859
|
'account_to_disburse_to' : IDL.Opt(Account),
|
|
860
|
+
'finalize_disbursement_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
839
861
|
});
|
|
840
862
|
const Neuron = IDL.Record({
|
|
841
863
|
'id' : IDL.Opt(NeuronId),
|
|
@@ -16,11 +16,13 @@ export type Action =
|
|
|
16
16
|
| { TransferSnsTreasuryFunds: TransferSnsTreasuryFunds }
|
|
17
17
|
| { UpgradeSnsControlledCanister: UpgradeSnsControlledCanister }
|
|
18
18
|
| { DeregisterDappCanisters: DeregisterDappCanisters }
|
|
19
|
+
| { MintSnsTokens: MintSnsTokens }
|
|
19
20
|
| { Unspecified: {} }
|
|
20
21
|
| { ManageSnsMetadata: ManageSnsMetadata }
|
|
21
22
|
| {
|
|
22
23
|
ExecuteGenericNervousSystemFunction: ExecuteGenericNervousSystemFunction;
|
|
23
24
|
}
|
|
25
|
+
| { ManageLedgerParameters: ManageLedgerParameters }
|
|
24
26
|
| { Motion: Motion };
|
|
25
27
|
export interface AddMaturityRequest {
|
|
26
28
|
id: [] | [NeuronId];
|
|
@@ -144,6 +146,7 @@ export interface DisburseMaturityInProgress {
|
|
|
144
146
|
timestamp_of_disbursement_seconds: bigint;
|
|
145
147
|
amount_e8s: bigint;
|
|
146
148
|
account_to_disburse_to: [] | [Account];
|
|
149
|
+
finalize_disbursement_timestamp_seconds: [] | [bigint];
|
|
147
150
|
}
|
|
148
151
|
export interface DisburseMaturityResponse {
|
|
149
152
|
amount_disbursed_e8s: bigint;
|
|
@@ -276,6 +279,9 @@ export interface ListProposals {
|
|
|
276
279
|
export interface ListProposalsResponse {
|
|
277
280
|
proposals: Array<ProposalData>;
|
|
278
281
|
}
|
|
282
|
+
export interface ManageLedgerParameters {
|
|
283
|
+
transfer_fee: [] | [bigint];
|
|
284
|
+
}
|
|
279
285
|
export interface ManageNeuron {
|
|
280
286
|
subaccount: Uint8Array | number[];
|
|
281
287
|
command: [] | [Command];
|
|
@@ -304,6 +310,12 @@ export interface MergeMaturityResponse {
|
|
|
304
310
|
merged_maturity_e8s: bigint;
|
|
305
311
|
new_stake_e8s: bigint;
|
|
306
312
|
}
|
|
313
|
+
export interface MintSnsTokens {
|
|
314
|
+
to_principal: [] | [Principal];
|
|
315
|
+
to_subaccount: [] | [Subaccount];
|
|
316
|
+
memo: [] | [bigint];
|
|
317
|
+
amount_e8s: [] | [bigint];
|
|
318
|
+
}
|
|
307
319
|
export interface MintTokensRequest {
|
|
308
320
|
recipient: [] | [Account];
|
|
309
321
|
amount_e8s: [] | [bigint];
|
|
@@ -439,7 +451,6 @@ export interface RewardEvent {
|
|
|
439
451
|
rounds_since_last_distribution: [] | [bigint];
|
|
440
452
|
actual_timestamp_seconds: bigint;
|
|
441
453
|
end_timestamp_seconds: [] | [bigint];
|
|
442
|
-
total_available_e8s_equivalent: [] | [bigint];
|
|
443
454
|
distributed_e8s_equivalent: bigint;
|
|
444
455
|
round: bigint;
|
|
445
456
|
settled_proposals: Array<ProposalId>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 044cfd5 (2024-01-25 tags: release-2024-01-25_14-09+p2p-con) '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;
|
|
@@ -9,9 +9,11 @@ type Action = variant {
|
|
|
9
9
|
TransferSnsTreasuryFunds : TransferSnsTreasuryFunds;
|
|
10
10
|
UpgradeSnsControlledCanister : UpgradeSnsControlledCanister;
|
|
11
11
|
DeregisterDappCanisters : DeregisterDappCanisters;
|
|
12
|
+
MintSnsTokens : MintSnsTokens;
|
|
12
13
|
Unspecified : record {};
|
|
13
14
|
ManageSnsMetadata : ManageSnsMetadata;
|
|
14
15
|
ExecuteGenericNervousSystemFunction : ExecuteGenericNervousSystemFunction;
|
|
16
|
+
ManageLedgerParameters : ManageLedgerParameters;
|
|
15
17
|
Motion : Motion;
|
|
16
18
|
};
|
|
17
19
|
type AddMaturityRequest = record { id : opt NeuronId; amount_e8s : opt nat64 };
|
|
@@ -117,6 +119,7 @@ type DisburseMaturityInProgress = record {
|
|
|
117
119
|
timestamp_of_disbursement_seconds : nat64;
|
|
118
120
|
amount_e8s : nat64;
|
|
119
121
|
account_to_disburse_to : opt Account;
|
|
122
|
+
finalize_disbursement_timestamp_seconds : opt nat64;
|
|
120
123
|
};
|
|
121
124
|
type DisburseMaturityResponse = record {
|
|
122
125
|
amount_disbursed_e8s : nat64;
|
|
@@ -227,6 +230,7 @@ type ListProposals = record {
|
|
|
227
230
|
include_status : vec int32;
|
|
228
231
|
};
|
|
229
232
|
type ListProposalsResponse = record { proposals : vec ProposalData };
|
|
233
|
+
type ManageLedgerParameters = record { transfer_fee : opt nat64 };
|
|
230
234
|
type ManageNeuron = record { subaccount : vec nat8; command : opt Command };
|
|
231
235
|
type ManageNeuronResponse = record { command : opt Command_1 };
|
|
232
236
|
type ManageSnsMetadata = record {
|
|
@@ -245,6 +249,12 @@ type MergeMaturityResponse = record {
|
|
|
245
249
|
merged_maturity_e8s : nat64;
|
|
246
250
|
new_stake_e8s : nat64;
|
|
247
251
|
};
|
|
252
|
+
type MintSnsTokens = record {
|
|
253
|
+
to_principal : opt principal;
|
|
254
|
+
to_subaccount : opt Subaccount;
|
|
255
|
+
memo : opt nat64;
|
|
256
|
+
amount_e8s : opt nat64;
|
|
257
|
+
};
|
|
248
258
|
type MintTokensRequest = record {
|
|
249
259
|
recipient : opt Account;
|
|
250
260
|
amount_e8s : opt nat64;
|
|
@@ -364,7 +374,6 @@ type RewardEvent = record {
|
|
|
364
374
|
rounds_since_last_distribution : opt nat64;
|
|
365
375
|
actual_timestamp_seconds : nat64;
|
|
366
376
|
end_timestamp_seconds : opt nat64;
|
|
367
|
-
total_available_e8s_equivalent : opt nat64;
|
|
368
377
|
distributed_e8s_equivalent : nat64;
|
|
369
378
|
round : nat64;
|
|
370
379
|
settled_proposals : vec ProposalId;
|
|
@@ -94,7 +94,6 @@ 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),
|
|
98
97
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
99
98
|
'round' : IDL.Nat64,
|
|
100
99
|
'settled_proposals' : IDL.Vec(ProposalId),
|
|
@@ -142,6 +141,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
142
141
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
143
142
|
'new_controllers' : IDL.Vec(IDL.Principal),
|
|
144
143
|
});
|
|
144
|
+
const MintSnsTokens = IDL.Record({
|
|
145
|
+
'to_principal' : IDL.Opt(IDL.Principal),
|
|
146
|
+
'to_subaccount' : IDL.Opt(Subaccount),
|
|
147
|
+
'memo' : IDL.Opt(IDL.Nat64),
|
|
148
|
+
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
149
|
+
});
|
|
145
150
|
const ManageSnsMetadata = IDL.Record({
|
|
146
151
|
'url' : IDL.Opt(IDL.Text),
|
|
147
152
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -152,6 +157,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
152
157
|
'function_id' : IDL.Nat64,
|
|
153
158
|
'payload' : IDL.Vec(IDL.Nat8),
|
|
154
159
|
});
|
|
160
|
+
const ManageLedgerParameters = IDL.Record({
|
|
161
|
+
'transfer_fee' : IDL.Opt(IDL.Nat64),
|
|
162
|
+
});
|
|
155
163
|
const Motion = IDL.Record({ 'motion_text' : IDL.Text });
|
|
156
164
|
const Action = IDL.Variant({
|
|
157
165
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
@@ -162,9 +170,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
162
170
|
'TransferSnsTreasuryFunds' : TransferSnsTreasuryFunds,
|
|
163
171
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
164
172
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
173
|
+
'MintSnsTokens' : MintSnsTokens,
|
|
165
174
|
'Unspecified' : IDL.Record({}),
|
|
166
175
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
167
176
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
177
|
+
'ManageLedgerParameters' : ManageLedgerParameters,
|
|
168
178
|
'Motion' : Motion,
|
|
169
179
|
});
|
|
170
180
|
const Proposal = IDL.Record({
|
|
@@ -291,6 +301,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
291
301
|
'timestamp_of_disbursement_seconds' : IDL.Nat64,
|
|
292
302
|
'amount_e8s' : IDL.Nat64,
|
|
293
303
|
'account_to_disburse_to' : IDL.Opt(Account),
|
|
304
|
+
'finalize_disbursement_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
294
305
|
});
|
|
295
306
|
const Neuron = IDL.Record({
|
|
296
307
|
'id' : IDL.Opt(NeuronId),
|
|
@@ -647,7 +658,6 @@ export const init = ({ IDL }) => {
|
|
|
647
658
|
'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
|
|
648
659
|
'actual_timestamp_seconds' : IDL.Nat64,
|
|
649
660
|
'end_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
650
|
-
'total_available_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
651
661
|
'distributed_e8s_equivalent' : IDL.Nat64,
|
|
652
662
|
'round' : IDL.Nat64,
|
|
653
663
|
'settled_proposals' : IDL.Vec(ProposalId),
|
|
@@ -695,6 +705,12 @@ export const init = ({ IDL }) => {
|
|
|
695
705
|
'canister_ids' : IDL.Vec(IDL.Principal),
|
|
696
706
|
'new_controllers' : IDL.Vec(IDL.Principal),
|
|
697
707
|
});
|
|
708
|
+
const MintSnsTokens = IDL.Record({
|
|
709
|
+
'to_principal' : IDL.Opt(IDL.Principal),
|
|
710
|
+
'to_subaccount' : IDL.Opt(Subaccount),
|
|
711
|
+
'memo' : IDL.Opt(IDL.Nat64),
|
|
712
|
+
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
713
|
+
});
|
|
698
714
|
const ManageSnsMetadata = IDL.Record({
|
|
699
715
|
'url' : IDL.Opt(IDL.Text),
|
|
700
716
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -705,6 +721,9 @@ export const init = ({ IDL }) => {
|
|
|
705
721
|
'function_id' : IDL.Nat64,
|
|
706
722
|
'payload' : IDL.Vec(IDL.Nat8),
|
|
707
723
|
});
|
|
724
|
+
const ManageLedgerParameters = IDL.Record({
|
|
725
|
+
'transfer_fee' : IDL.Opt(IDL.Nat64),
|
|
726
|
+
});
|
|
708
727
|
const Motion = IDL.Record({ 'motion_text' : IDL.Text });
|
|
709
728
|
const Action = IDL.Variant({
|
|
710
729
|
'ManageNervousSystemParameters' : NervousSystemParameters,
|
|
@@ -715,9 +734,11 @@ export const init = ({ IDL }) => {
|
|
|
715
734
|
'TransferSnsTreasuryFunds' : TransferSnsTreasuryFunds,
|
|
716
735
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
717
736
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
737
|
+
'MintSnsTokens' : MintSnsTokens,
|
|
718
738
|
'Unspecified' : IDL.Record({}),
|
|
719
739
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
720
740
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
741
|
+
'ManageLedgerParameters' : ManageLedgerParameters,
|
|
721
742
|
'Motion' : Motion,
|
|
722
743
|
});
|
|
723
744
|
const Proposal = IDL.Record({
|
|
@@ -844,6 +865,7 @@ export const init = ({ IDL }) => {
|
|
|
844
865
|
'timestamp_of_disbursement_seconds' : IDL.Nat64,
|
|
845
866
|
'amount_e8s' : IDL.Nat64,
|
|
846
867
|
'account_to_disburse_to' : IDL.Opt(Account),
|
|
868
|
+
'finalize_disbursement_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
847
869
|
});
|
|
848
870
|
const Neuron = IDL.Record({
|
|
849
871
|
'id' : IDL.Opt(NeuronId),
|
|
@@ -31,24 +31,13 @@ export const idlFactory = ({ IDL }) => {
|
|
|
31
31
|
'upgrade' : IDL.Null,
|
|
32
32
|
'install' : IDL.Null,
|
|
33
33
|
});
|
|
34
|
-
const
|
|
35
|
-
'Authorize' : IDL.Record({ 'add_self' : IDL.Bool }),
|
|
36
|
-
'Deauthorize' : IDL.Null,
|
|
37
|
-
});
|
|
38
|
-
const MethodAuthzChange = IDL.Record({
|
|
39
|
-
'principal' : IDL.Opt(IDL.Principal),
|
|
40
|
-
'method_name' : IDL.Text,
|
|
41
|
-
'canister' : IDL.Principal,
|
|
42
|
-
'operation' : AuthzChangeOp,
|
|
43
|
-
});
|
|
44
|
-
const ChangeCanisterProposal = IDL.Record({
|
|
34
|
+
const ChangeCanisterRequest = IDL.Record({
|
|
45
35
|
'arg' : IDL.Vec(IDL.Nat8),
|
|
46
36
|
'wasm_module' : IDL.Vec(IDL.Nat8),
|
|
47
37
|
'stop_before_installing' : IDL.Bool,
|
|
48
38
|
'mode' : CanisterInstallMode,
|
|
49
39
|
'canister_id' : IDL.Principal,
|
|
50
|
-
'
|
|
51
|
-
'_allocation' : IDL.Opt(IDL.Nat),
|
|
40
|
+
'query_allocation' : IDL.Opt(IDL.Nat),
|
|
52
41
|
'memory_allocation' : IDL.Opt(IDL.Nat),
|
|
53
42
|
'compute_allocation' : IDL.Opt(IDL.Nat),
|
|
54
43
|
});
|
|
@@ -118,7 +107,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
118
107
|
[CanisterStatusResult],
|
|
119
108
|
[],
|
|
120
109
|
),
|
|
121
|
-
'change_canister' : IDL.Func([
|
|
110
|
+
'change_canister' : IDL.Func([ChangeCanisterRequest], [], []),
|
|
122
111
|
'get_build_metadata' : IDL.Func([], [IDL.Text], []),
|
|
123
112
|
'get_sns_canisters_summary' : IDL.Func(
|
|
124
113
|
[GetSnsCanistersSummaryRequest],
|