@dfinity/sns 3.2.4 → 3.2.5-next-2024-12-10
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 +50 -10
- package/dist/candid/sns_governance.d.ts +36 -5
- package/dist/candid/sns_governance.did +35 -5
- package/dist/candid/sns_governance.idl.js +50 -10
- package/dist/candid/sns_governance_test.certified.idl.js +55 -10
- package/dist/candid/sns_governance_test.d.ts +37 -5
- package/dist/candid/sns_governance_test.did +39 -12
- package/dist/candid/sns_governance_test.idl.js +55 -10
- package/dist/candid/sns_root.did +1 -1
- package/dist/candid/sns_swap.did +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +3 -3
- package/dist/esm/chunk-DHX6PNLG.js +2 -0
- package/dist/esm/chunk-DHX6PNLG.js.map +7 -0
- package/dist/esm/{chunk-X7UB3EAO.js → chunk-MC5S77AI.js} +2 -2
- 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/package.json +7 -7
- package/dist/esm/chunk-LCH6N5XY.js +0 -2
- package/dist/esm/chunk-LCH6N5XY.js.map +0 -7
- /package/dist/esm/{chunk-X7UB3EAO.js.map → chunk-MC5S77AI.js.map} +0 -0
|
@@ -98,6 +98,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
98
98
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
99
99
|
});
|
|
100
100
|
const TargetVersionReset = IDL.Record({
|
|
101
|
+
'human_readable' : IDL.Opt(IDL.Text),
|
|
101
102
|
'old_target_version' : IDL.Opt(Version),
|
|
102
103
|
'new_target_version' : IDL.Opt(Version),
|
|
103
104
|
});
|
|
@@ -165,7 +166,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
165
166
|
const PendingVersion = IDL.Record({
|
|
166
167
|
'mark_failed_at_seconds' : IDL.Nat64,
|
|
167
168
|
'checking_upgrade_lock' : IDL.Nat64,
|
|
168
|
-
'proposal_id' : IDL.Nat64,
|
|
169
|
+
'proposal_id' : IDL.Opt(IDL.Nat64),
|
|
169
170
|
'target_version' : IDL.Opt(Version),
|
|
170
171
|
});
|
|
171
172
|
const GovernanceError = IDL.Record({
|
|
@@ -193,9 +194,21 @@ export const idlFactory = ({ IDL }) => {
|
|
|
193
194
|
const MintSnsTokensActionAuxiliary = IDL.Record({
|
|
194
195
|
'valuation' : IDL.Opt(Valuation),
|
|
195
196
|
});
|
|
197
|
+
const SnsVersion = IDL.Record({
|
|
198
|
+
'archive_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
199
|
+
'root_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
200
|
+
'swap_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
201
|
+
'ledger_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
202
|
+
'governance_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
203
|
+
'index_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
204
|
+
});
|
|
205
|
+
const AdvanceSnsTargetVersionActionAuxiliary = IDL.Record({
|
|
206
|
+
'target_version' : IDL.Opt(SnsVersion),
|
|
207
|
+
});
|
|
196
208
|
const ActionAuxiliary = IDL.Variant({
|
|
197
209
|
'TransferSnsTreasuryFunds' : MintSnsTokensActionAuxiliary,
|
|
198
210
|
'MintSnsTokens' : MintSnsTokensActionAuxiliary,
|
|
211
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersionActionAuxiliary,
|
|
199
212
|
});
|
|
200
213
|
const Ballot = IDL.Record({
|
|
201
214
|
'vote' : IDL.Int32,
|
|
@@ -244,6 +257,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
244
257
|
'memo' : IDL.Opt(IDL.Nat64),
|
|
245
258
|
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
246
259
|
});
|
|
260
|
+
const AdvanceSnsTargetVersion = IDL.Record({
|
|
261
|
+
'new_target' : IDL.Opt(SnsVersion),
|
|
262
|
+
});
|
|
247
263
|
const ManageSnsMetadata = IDL.Record({
|
|
248
264
|
'url' : IDL.Opt(IDL.Text),
|
|
249
265
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -272,6 +288,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
272
288
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
273
289
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
274
290
|
'MintSnsTokens' : MintSnsTokens,
|
|
291
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersion,
|
|
275
292
|
'Unspecified' : IDL.Record({}),
|
|
276
293
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
277
294
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
@@ -522,26 +539,32 @@ export const idlFactory = ({ IDL }) => {
|
|
|
522
539
|
'idle_cycles_burned_per_day' : IDL.Nat,
|
|
523
540
|
'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
524
541
|
});
|
|
525
|
-
const UpgradeInProgress = IDL.Record({
|
|
526
|
-
'mark_failed_at_seconds' : IDL.Nat64,
|
|
527
|
-
'checking_upgrade_lock' : IDL.Nat64,
|
|
528
|
-
'proposal_id' : IDL.Nat64,
|
|
529
|
-
'target_version' : IDL.Opt(Version),
|
|
530
|
-
});
|
|
531
542
|
const GetRunningSnsVersionResponse = IDL.Record({
|
|
532
543
|
'deployed_version' : IDL.Opt(Version),
|
|
533
|
-
'pending_version' : IDL.Opt(
|
|
544
|
+
'pending_version' : IDL.Opt(
|
|
545
|
+
IDL.Record({
|
|
546
|
+
'mark_failed_at_seconds' : IDL.Nat64,
|
|
547
|
+
'checking_upgrade_lock' : IDL.Nat64,
|
|
548
|
+
'proposal_id' : IDL.Nat64,
|
|
549
|
+
'target_version' : IDL.Opt(Version),
|
|
550
|
+
})
|
|
551
|
+
),
|
|
534
552
|
});
|
|
535
553
|
const GetSnsInitializationParametersResponse = IDL.Record({
|
|
536
554
|
'sns_initialization_parameters' : IDL.Text,
|
|
537
555
|
});
|
|
538
556
|
const GetTimersResponse = IDL.Record({ 'timers' : IDL.Opt(Timers) });
|
|
539
|
-
const GetUpgradeJournalRequest = IDL.Record({
|
|
557
|
+
const GetUpgradeJournalRequest = IDL.Record({
|
|
558
|
+
'offset' : IDL.Opt(IDL.Nat64),
|
|
559
|
+
'limit' : IDL.Opt(IDL.Nat64),
|
|
560
|
+
});
|
|
540
561
|
const GetUpgradeJournalResponse = IDL.Record({
|
|
541
562
|
'upgrade_journal' : IDL.Opt(UpgradeJournal),
|
|
542
563
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
543
564
|
'response_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
565
|
+
'deployed_version' : IDL.Opt(Version),
|
|
544
566
|
'target_version' : IDL.Opt(Version),
|
|
567
|
+
'upgrade_journal_entry_count' : IDL.Opt(IDL.Nat64),
|
|
545
568
|
});
|
|
546
569
|
const ListNervousSystemFunctionsResponse = IDL.Record({
|
|
547
570
|
'reserved_ids' : IDL.Vec(IDL.Nat64),
|
|
@@ -778,6 +801,7 @@ export const init = ({ IDL }) => {
|
|
|
778
801
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
779
802
|
});
|
|
780
803
|
const TargetVersionReset = IDL.Record({
|
|
804
|
+
'human_readable' : IDL.Opt(IDL.Text),
|
|
781
805
|
'old_target_version' : IDL.Opt(Version),
|
|
782
806
|
'new_target_version' : IDL.Opt(Version),
|
|
783
807
|
});
|
|
@@ -845,7 +869,7 @@ export const init = ({ IDL }) => {
|
|
|
845
869
|
const PendingVersion = IDL.Record({
|
|
846
870
|
'mark_failed_at_seconds' : IDL.Nat64,
|
|
847
871
|
'checking_upgrade_lock' : IDL.Nat64,
|
|
848
|
-
'proposal_id' : IDL.Nat64,
|
|
872
|
+
'proposal_id' : IDL.Opt(IDL.Nat64),
|
|
849
873
|
'target_version' : IDL.Opt(Version),
|
|
850
874
|
});
|
|
851
875
|
const GovernanceError = IDL.Record({
|
|
@@ -873,9 +897,21 @@ export const init = ({ IDL }) => {
|
|
|
873
897
|
const MintSnsTokensActionAuxiliary = IDL.Record({
|
|
874
898
|
'valuation' : IDL.Opt(Valuation),
|
|
875
899
|
});
|
|
900
|
+
const SnsVersion = IDL.Record({
|
|
901
|
+
'archive_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
902
|
+
'root_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
903
|
+
'swap_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
904
|
+
'ledger_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
905
|
+
'governance_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
906
|
+
'index_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
907
|
+
});
|
|
908
|
+
const AdvanceSnsTargetVersionActionAuxiliary = IDL.Record({
|
|
909
|
+
'target_version' : IDL.Opt(SnsVersion),
|
|
910
|
+
});
|
|
876
911
|
const ActionAuxiliary = IDL.Variant({
|
|
877
912
|
'TransferSnsTreasuryFunds' : MintSnsTokensActionAuxiliary,
|
|
878
913
|
'MintSnsTokens' : MintSnsTokensActionAuxiliary,
|
|
914
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersionActionAuxiliary,
|
|
879
915
|
});
|
|
880
916
|
const Ballot = IDL.Record({
|
|
881
917
|
'vote' : IDL.Int32,
|
|
@@ -924,6 +960,9 @@ export const init = ({ IDL }) => {
|
|
|
924
960
|
'memo' : IDL.Opt(IDL.Nat64),
|
|
925
961
|
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
926
962
|
});
|
|
963
|
+
const AdvanceSnsTargetVersion = IDL.Record({
|
|
964
|
+
'new_target' : IDL.Opt(SnsVersion),
|
|
965
|
+
});
|
|
927
966
|
const ManageSnsMetadata = IDL.Record({
|
|
928
967
|
'url' : IDL.Opt(IDL.Text),
|
|
929
968
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -952,6 +991,7 @@ export const init = ({ IDL }) => {
|
|
|
952
991
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
953
992
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
954
993
|
'MintSnsTokens' : MintSnsTokens,
|
|
994
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersion,
|
|
955
995
|
'Unspecified' : IDL.Record({}),
|
|
956
996
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
957
997
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
@@ -19,6 +19,7 @@ export type Action =
|
|
|
19
19
|
| { UpgradeSnsControlledCanister: UpgradeSnsControlledCanister }
|
|
20
20
|
| { DeregisterDappCanisters: DeregisterDappCanisters }
|
|
21
21
|
| { MintSnsTokens: MintSnsTokens }
|
|
22
|
+
| { AdvanceSnsTargetVersion: AdvanceSnsTargetVersion }
|
|
22
23
|
| { Unspecified: {} }
|
|
23
24
|
| { ManageSnsMetadata: ManageSnsMetadata }
|
|
24
25
|
| {
|
|
@@ -30,11 +31,18 @@ export type ActionAuxiliary =
|
|
|
30
31
|
| {
|
|
31
32
|
TransferSnsTreasuryFunds: MintSnsTokensActionAuxiliary;
|
|
32
33
|
}
|
|
33
|
-
| { MintSnsTokens: MintSnsTokensActionAuxiliary }
|
|
34
|
+
| { MintSnsTokens: MintSnsTokensActionAuxiliary }
|
|
35
|
+
| { AdvanceSnsTargetVersion: AdvanceSnsTargetVersionActionAuxiliary };
|
|
34
36
|
export interface AddNeuronPermissions {
|
|
35
37
|
permissions_to_add: [] | [NeuronPermissionList];
|
|
36
38
|
principal_id: [] | [Principal];
|
|
37
39
|
}
|
|
40
|
+
export interface AdvanceSnsTargetVersion {
|
|
41
|
+
new_target: [] | [SnsVersion];
|
|
42
|
+
}
|
|
43
|
+
export interface AdvanceSnsTargetVersionActionAuxiliary {
|
|
44
|
+
target_version: [] | [SnsVersion];
|
|
45
|
+
}
|
|
38
46
|
export interface Amount {
|
|
39
47
|
e8s: bigint;
|
|
40
48
|
}
|
|
@@ -217,7 +225,16 @@ export interface GetProposalResponse {
|
|
|
217
225
|
}
|
|
218
226
|
export interface GetRunningSnsVersionResponse {
|
|
219
227
|
deployed_version: [] | [Version];
|
|
220
|
-
pending_version:
|
|
228
|
+
pending_version:
|
|
229
|
+
| []
|
|
230
|
+
| [
|
|
231
|
+
{
|
|
232
|
+
mark_failed_at_seconds: bigint;
|
|
233
|
+
checking_upgrade_lock: bigint;
|
|
234
|
+
proposal_id: bigint;
|
|
235
|
+
target_version: [] | [Version];
|
|
236
|
+
},
|
|
237
|
+
];
|
|
221
238
|
}
|
|
222
239
|
export interface GetSnsInitializationParametersResponse {
|
|
223
240
|
sns_initialization_parameters: string;
|
|
@@ -225,12 +242,17 @@ export interface GetSnsInitializationParametersResponse {
|
|
|
225
242
|
export interface GetTimersResponse {
|
|
226
243
|
timers: [] | [Timers];
|
|
227
244
|
}
|
|
228
|
-
export
|
|
245
|
+
export interface GetUpgradeJournalRequest {
|
|
246
|
+
offset: [] | [bigint];
|
|
247
|
+
limit: [] | [bigint];
|
|
248
|
+
}
|
|
229
249
|
export interface GetUpgradeJournalResponse {
|
|
230
250
|
upgrade_journal: [] | [UpgradeJournal];
|
|
231
251
|
upgrade_steps: [] | [Versions];
|
|
232
252
|
response_timestamp_seconds: [] | [bigint];
|
|
253
|
+
deployed_version: [] | [Version];
|
|
233
254
|
target_version: [] | [Version];
|
|
255
|
+
upgrade_journal_entry_count: [] | [bigint];
|
|
234
256
|
}
|
|
235
257
|
export interface Governance {
|
|
236
258
|
root_canister_id: [] | [Principal];
|
|
@@ -457,7 +479,7 @@ export type Participant = { NeuronsFund: NeuronsFund } | { Direct: {} };
|
|
|
457
479
|
export interface PendingVersion {
|
|
458
480
|
mark_failed_at_seconds: bigint;
|
|
459
481
|
checking_upgrade_lock: bigint;
|
|
460
|
-
proposal_id: bigint;
|
|
482
|
+
proposal_id: [] | [bigint];
|
|
461
483
|
target_version: [] | [Version];
|
|
462
484
|
}
|
|
463
485
|
export interface Percentage {
|
|
@@ -527,6 +549,14 @@ export interface SetDissolveTimestamp {
|
|
|
527
549
|
export interface SetMode {
|
|
528
550
|
mode: number;
|
|
529
551
|
}
|
|
552
|
+
export interface SnsVersion {
|
|
553
|
+
archive_wasm_hash: [] | [Uint8Array | number[]];
|
|
554
|
+
root_wasm_hash: [] | [Uint8Array | number[]];
|
|
555
|
+
swap_wasm_hash: [] | [Uint8Array | number[]];
|
|
556
|
+
ledger_wasm_hash: [] | [Uint8Array | number[]];
|
|
557
|
+
governance_wasm_hash: [] | [Uint8Array | number[]];
|
|
558
|
+
index_wasm_hash: [] | [Uint8Array | number[]];
|
|
559
|
+
}
|
|
530
560
|
export interface Split {
|
|
531
561
|
memo: bigint;
|
|
532
562
|
amount_e8s: bigint;
|
|
@@ -555,6 +585,7 @@ export interface Tally {
|
|
|
555
585
|
timestamp_seconds: bigint;
|
|
556
586
|
}
|
|
557
587
|
export interface TargetVersionReset {
|
|
588
|
+
human_readable: [] | [string];
|
|
558
589
|
old_target_version: [] | [Version];
|
|
559
590
|
new_target_version: [] | [Version];
|
|
560
591
|
}
|
|
@@ -580,7 +611,7 @@ export interface TransferSnsTreasuryFunds {
|
|
|
580
611
|
export interface UpgradeInProgress {
|
|
581
612
|
mark_failed_at_seconds: bigint;
|
|
582
613
|
checking_upgrade_lock: bigint;
|
|
583
|
-
proposal_id: bigint;
|
|
614
|
+
proposal_id: [] | [bigint];
|
|
584
615
|
target_version: [] | [Version];
|
|
585
616
|
}
|
|
586
617
|
export interface UpgradeJournal {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit d9fe207 (2024-12-06 tags: release-2024-12-06_03-16-base) 'rs/sns/governance/canister/governance.did' by import-candid
|
|
2
2
|
type Account = record {
|
|
3
3
|
owner : opt principal;
|
|
4
4
|
subaccount : opt Subaccount;
|
|
@@ -10,6 +10,7 @@ type Action = variant {
|
|
|
10
10
|
ManageDappCanisterSettings : ManageDappCanisterSettings;
|
|
11
11
|
RemoveGenericNervousSystemFunction : nat64;
|
|
12
12
|
UpgradeSnsToNextVersion : record {};
|
|
13
|
+
AdvanceSnsTargetVersion : AdvanceSnsTargetVersion;
|
|
13
14
|
RegisterDappCanisters : RegisterDappCanisters;
|
|
14
15
|
TransferSnsTreasuryFunds : TransferSnsTreasuryFunds;
|
|
15
16
|
UpgradeSnsControlledCanister : UpgradeSnsControlledCanister;
|
|
@@ -25,6 +26,7 @@ type Action = variant {
|
|
|
25
26
|
type ActionAuxiliary = variant {
|
|
26
27
|
TransferSnsTreasuryFunds : MintSnsTokensActionAuxiliary;
|
|
27
28
|
MintSnsTokens : MintSnsTokensActionAuxiliary;
|
|
29
|
+
AdvanceSnsTargetVersion : AdvanceSnsTargetVersionActionAuxiliary;
|
|
28
30
|
};
|
|
29
31
|
|
|
30
32
|
type AddNeuronPermissions = record {
|
|
@@ -258,7 +260,12 @@ type GetProposalResponse = record {
|
|
|
258
260
|
|
|
259
261
|
type GetRunningSnsVersionResponse = record {
|
|
260
262
|
deployed_version : opt Version;
|
|
261
|
-
pending_version : opt
|
|
263
|
+
pending_version : opt record {
|
|
264
|
+
mark_failed_at_seconds : nat64;
|
|
265
|
+
checking_upgrade_lock : nat64;
|
|
266
|
+
proposal_id : nat64;
|
|
267
|
+
target_version : opt Version;
|
|
268
|
+
};
|
|
262
269
|
};
|
|
263
270
|
|
|
264
271
|
type GetSnsInitializationParametersResponse = record {
|
|
@@ -371,6 +378,19 @@ type ManageDappCanisterSettings = record {
|
|
|
371
378
|
compute_allocation : opt nat64;
|
|
372
379
|
};
|
|
373
380
|
|
|
381
|
+
type SnsVersion = record {
|
|
382
|
+
governance_wasm_hash : opt blob;
|
|
383
|
+
swap_wasm_hash : opt blob;
|
|
384
|
+
root_wasm_hash : opt blob;
|
|
385
|
+
index_wasm_hash : opt blob;
|
|
386
|
+
ledger_wasm_hash : opt blob;
|
|
387
|
+
archive_wasm_hash : opt blob;
|
|
388
|
+
};
|
|
389
|
+
|
|
390
|
+
type AdvanceSnsTargetVersion = record {
|
|
391
|
+
new_target : opt SnsVersion;
|
|
392
|
+
};
|
|
393
|
+
|
|
374
394
|
type ManageLedgerParameters = record {
|
|
375
395
|
token_symbol : opt text;
|
|
376
396
|
transfer_fee : opt nat64;
|
|
@@ -424,6 +444,10 @@ type MintSnsTokensActionAuxiliary = record {
|
|
|
424
444
|
valuation : opt Valuation;
|
|
425
445
|
};
|
|
426
446
|
|
|
447
|
+
type AdvanceSnsTargetVersionActionAuxiliary = record {
|
|
448
|
+
target_version : opt SnsVersion;
|
|
449
|
+
};
|
|
450
|
+
|
|
427
451
|
type Motion = record {
|
|
428
452
|
motion_text : text;
|
|
429
453
|
};
|
|
@@ -675,14 +699,14 @@ type TransferSnsTreasuryFunds = record {
|
|
|
675
699
|
type UpgradeInProgress = record {
|
|
676
700
|
mark_failed_at_seconds : nat64;
|
|
677
701
|
checking_upgrade_lock : nat64;
|
|
678
|
-
proposal_id : nat64;
|
|
702
|
+
proposal_id : opt nat64;
|
|
679
703
|
target_version : opt Version;
|
|
680
704
|
};
|
|
681
705
|
|
|
682
706
|
type PendingVersion = record {
|
|
683
707
|
mark_failed_at_seconds : nat64;
|
|
684
708
|
checking_upgrade_lock : nat64;
|
|
685
|
-
proposal_id : nat64;
|
|
709
|
+
proposal_id : opt nat64;
|
|
686
710
|
target_version : opt Version;
|
|
687
711
|
};
|
|
688
712
|
|
|
@@ -757,6 +781,7 @@ type TargetVersionSet = record {
|
|
|
757
781
|
type TargetVersionReset = record {
|
|
758
782
|
new_target_version : opt Version;
|
|
759
783
|
old_target_version : opt Version;
|
|
784
|
+
human_readable : opt text;
|
|
760
785
|
};
|
|
761
786
|
|
|
762
787
|
type UpgradeStarted = record {
|
|
@@ -782,13 +807,18 @@ type UpgradeJournal = record {
|
|
|
782
807
|
entries : vec UpgradeJournalEntry;
|
|
783
808
|
};
|
|
784
809
|
|
|
785
|
-
type GetUpgradeJournalRequest = record {
|
|
810
|
+
type GetUpgradeJournalRequest = record {
|
|
811
|
+
limit : opt nat64;
|
|
812
|
+
offset : opt nat64;
|
|
813
|
+
};
|
|
786
814
|
|
|
787
815
|
type GetUpgradeJournalResponse = record {
|
|
788
816
|
upgrade_steps : opt Versions;
|
|
789
817
|
response_timestamp_seconds : opt nat64;
|
|
790
818
|
target_version : opt Version;
|
|
819
|
+
deployed_version : opt Version;
|
|
791
820
|
upgrade_journal : opt UpgradeJournal;
|
|
821
|
+
upgrade_journal_entry_count: opt nat64;
|
|
792
822
|
};
|
|
793
823
|
|
|
794
824
|
service : (Governance) -> {
|
|
@@ -98,6 +98,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
98
98
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
99
99
|
});
|
|
100
100
|
const TargetVersionReset = IDL.Record({
|
|
101
|
+
'human_readable' : IDL.Opt(IDL.Text),
|
|
101
102
|
'old_target_version' : IDL.Opt(Version),
|
|
102
103
|
'new_target_version' : IDL.Opt(Version),
|
|
103
104
|
});
|
|
@@ -165,7 +166,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
165
166
|
const PendingVersion = IDL.Record({
|
|
166
167
|
'mark_failed_at_seconds' : IDL.Nat64,
|
|
167
168
|
'checking_upgrade_lock' : IDL.Nat64,
|
|
168
|
-
'proposal_id' : IDL.Nat64,
|
|
169
|
+
'proposal_id' : IDL.Opt(IDL.Nat64),
|
|
169
170
|
'target_version' : IDL.Opt(Version),
|
|
170
171
|
});
|
|
171
172
|
const GovernanceError = IDL.Record({
|
|
@@ -193,9 +194,21 @@ export const idlFactory = ({ IDL }) => {
|
|
|
193
194
|
const MintSnsTokensActionAuxiliary = IDL.Record({
|
|
194
195
|
'valuation' : IDL.Opt(Valuation),
|
|
195
196
|
});
|
|
197
|
+
const SnsVersion = IDL.Record({
|
|
198
|
+
'archive_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
199
|
+
'root_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
200
|
+
'swap_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
201
|
+
'ledger_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
202
|
+
'governance_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
203
|
+
'index_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
204
|
+
});
|
|
205
|
+
const AdvanceSnsTargetVersionActionAuxiliary = IDL.Record({
|
|
206
|
+
'target_version' : IDL.Opt(SnsVersion),
|
|
207
|
+
});
|
|
196
208
|
const ActionAuxiliary = IDL.Variant({
|
|
197
209
|
'TransferSnsTreasuryFunds' : MintSnsTokensActionAuxiliary,
|
|
198
210
|
'MintSnsTokens' : MintSnsTokensActionAuxiliary,
|
|
211
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersionActionAuxiliary,
|
|
199
212
|
});
|
|
200
213
|
const Ballot = IDL.Record({
|
|
201
214
|
'vote' : IDL.Int32,
|
|
@@ -244,6 +257,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
244
257
|
'memo' : IDL.Opt(IDL.Nat64),
|
|
245
258
|
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
246
259
|
});
|
|
260
|
+
const AdvanceSnsTargetVersion = IDL.Record({
|
|
261
|
+
'new_target' : IDL.Opt(SnsVersion),
|
|
262
|
+
});
|
|
247
263
|
const ManageSnsMetadata = IDL.Record({
|
|
248
264
|
'url' : IDL.Opt(IDL.Text),
|
|
249
265
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -272,6 +288,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
272
288
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
273
289
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
274
290
|
'MintSnsTokens' : MintSnsTokens,
|
|
291
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersion,
|
|
275
292
|
'Unspecified' : IDL.Record({}),
|
|
276
293
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
277
294
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
@@ -522,26 +539,32 @@ export const idlFactory = ({ IDL }) => {
|
|
|
522
539
|
'idle_cycles_burned_per_day' : IDL.Nat,
|
|
523
540
|
'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
524
541
|
});
|
|
525
|
-
const UpgradeInProgress = IDL.Record({
|
|
526
|
-
'mark_failed_at_seconds' : IDL.Nat64,
|
|
527
|
-
'checking_upgrade_lock' : IDL.Nat64,
|
|
528
|
-
'proposal_id' : IDL.Nat64,
|
|
529
|
-
'target_version' : IDL.Opt(Version),
|
|
530
|
-
});
|
|
531
542
|
const GetRunningSnsVersionResponse = IDL.Record({
|
|
532
543
|
'deployed_version' : IDL.Opt(Version),
|
|
533
|
-
'pending_version' : IDL.Opt(
|
|
544
|
+
'pending_version' : IDL.Opt(
|
|
545
|
+
IDL.Record({
|
|
546
|
+
'mark_failed_at_seconds' : IDL.Nat64,
|
|
547
|
+
'checking_upgrade_lock' : IDL.Nat64,
|
|
548
|
+
'proposal_id' : IDL.Nat64,
|
|
549
|
+
'target_version' : IDL.Opt(Version),
|
|
550
|
+
})
|
|
551
|
+
),
|
|
534
552
|
});
|
|
535
553
|
const GetSnsInitializationParametersResponse = IDL.Record({
|
|
536
554
|
'sns_initialization_parameters' : IDL.Text,
|
|
537
555
|
});
|
|
538
556
|
const GetTimersResponse = IDL.Record({ 'timers' : IDL.Opt(Timers) });
|
|
539
|
-
const GetUpgradeJournalRequest = IDL.Record({
|
|
557
|
+
const GetUpgradeJournalRequest = IDL.Record({
|
|
558
|
+
'offset' : IDL.Opt(IDL.Nat64),
|
|
559
|
+
'limit' : IDL.Opt(IDL.Nat64),
|
|
560
|
+
});
|
|
540
561
|
const GetUpgradeJournalResponse = IDL.Record({
|
|
541
562
|
'upgrade_journal' : IDL.Opt(UpgradeJournal),
|
|
542
563
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
543
564
|
'response_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
565
|
+
'deployed_version' : IDL.Opt(Version),
|
|
544
566
|
'target_version' : IDL.Opt(Version),
|
|
567
|
+
'upgrade_journal_entry_count' : IDL.Opt(IDL.Nat64),
|
|
545
568
|
});
|
|
546
569
|
const ListNervousSystemFunctionsResponse = IDL.Record({
|
|
547
570
|
'reserved_ids' : IDL.Vec(IDL.Nat64),
|
|
@@ -786,6 +809,7 @@ export const init = ({ IDL }) => {
|
|
|
786
809
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
787
810
|
});
|
|
788
811
|
const TargetVersionReset = IDL.Record({
|
|
812
|
+
'human_readable' : IDL.Opt(IDL.Text),
|
|
789
813
|
'old_target_version' : IDL.Opt(Version),
|
|
790
814
|
'new_target_version' : IDL.Opt(Version),
|
|
791
815
|
});
|
|
@@ -853,7 +877,7 @@ export const init = ({ IDL }) => {
|
|
|
853
877
|
const PendingVersion = IDL.Record({
|
|
854
878
|
'mark_failed_at_seconds' : IDL.Nat64,
|
|
855
879
|
'checking_upgrade_lock' : IDL.Nat64,
|
|
856
|
-
'proposal_id' : IDL.Nat64,
|
|
880
|
+
'proposal_id' : IDL.Opt(IDL.Nat64),
|
|
857
881
|
'target_version' : IDL.Opt(Version),
|
|
858
882
|
});
|
|
859
883
|
const GovernanceError = IDL.Record({
|
|
@@ -881,9 +905,21 @@ export const init = ({ IDL }) => {
|
|
|
881
905
|
const MintSnsTokensActionAuxiliary = IDL.Record({
|
|
882
906
|
'valuation' : IDL.Opt(Valuation),
|
|
883
907
|
});
|
|
908
|
+
const SnsVersion = IDL.Record({
|
|
909
|
+
'archive_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
910
|
+
'root_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
911
|
+
'swap_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
912
|
+
'ledger_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
913
|
+
'governance_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
914
|
+
'index_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
915
|
+
});
|
|
916
|
+
const AdvanceSnsTargetVersionActionAuxiliary = IDL.Record({
|
|
917
|
+
'target_version' : IDL.Opt(SnsVersion),
|
|
918
|
+
});
|
|
884
919
|
const ActionAuxiliary = IDL.Variant({
|
|
885
920
|
'TransferSnsTreasuryFunds' : MintSnsTokensActionAuxiliary,
|
|
886
921
|
'MintSnsTokens' : MintSnsTokensActionAuxiliary,
|
|
922
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersionActionAuxiliary,
|
|
887
923
|
});
|
|
888
924
|
const Ballot = IDL.Record({
|
|
889
925
|
'vote' : IDL.Int32,
|
|
@@ -932,6 +968,9 @@ export const init = ({ IDL }) => {
|
|
|
932
968
|
'memo' : IDL.Opt(IDL.Nat64),
|
|
933
969
|
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
934
970
|
});
|
|
971
|
+
const AdvanceSnsTargetVersion = IDL.Record({
|
|
972
|
+
'new_target' : IDL.Opt(SnsVersion),
|
|
973
|
+
});
|
|
935
974
|
const ManageSnsMetadata = IDL.Record({
|
|
936
975
|
'url' : IDL.Opt(IDL.Text),
|
|
937
976
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -960,6 +999,7 @@ export const init = ({ IDL }) => {
|
|
|
960
999
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
961
1000
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
962
1001
|
'MintSnsTokens' : MintSnsTokens,
|
|
1002
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersion,
|
|
963
1003
|
'Unspecified' : IDL.Record({}),
|
|
964
1004
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
965
1005
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
@@ -98,6 +98,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
98
98
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
99
99
|
});
|
|
100
100
|
const TargetVersionReset = IDL.Record({
|
|
101
|
+
'human_readable' : IDL.Opt(IDL.Text),
|
|
101
102
|
'old_target_version' : IDL.Opt(Version),
|
|
102
103
|
'new_target_version' : IDL.Opt(Version),
|
|
103
104
|
});
|
|
@@ -165,7 +166,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
165
166
|
const PendingVersion = IDL.Record({
|
|
166
167
|
'mark_failed_at_seconds' : IDL.Nat64,
|
|
167
168
|
'checking_upgrade_lock' : IDL.Nat64,
|
|
168
|
-
'proposal_id' : IDL.Nat64,
|
|
169
|
+
'proposal_id' : IDL.Opt(IDL.Nat64),
|
|
169
170
|
'target_version' : IDL.Opt(Version),
|
|
170
171
|
});
|
|
171
172
|
const GovernanceError = IDL.Record({
|
|
@@ -193,9 +194,21 @@ export const idlFactory = ({ IDL }) => {
|
|
|
193
194
|
const MintSnsTokensActionAuxiliary = IDL.Record({
|
|
194
195
|
'valuation' : IDL.Opt(Valuation),
|
|
195
196
|
});
|
|
197
|
+
const SnsVersion = IDL.Record({
|
|
198
|
+
'archive_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
199
|
+
'root_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
200
|
+
'swap_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
201
|
+
'ledger_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
202
|
+
'governance_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
203
|
+
'index_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
204
|
+
});
|
|
205
|
+
const AdvanceSnsTargetVersionActionAuxiliary = IDL.Record({
|
|
206
|
+
'target_version' : IDL.Opt(SnsVersion),
|
|
207
|
+
});
|
|
196
208
|
const ActionAuxiliary = IDL.Variant({
|
|
197
209
|
'TransferSnsTreasuryFunds' : MintSnsTokensActionAuxiliary,
|
|
198
210
|
'MintSnsTokens' : MintSnsTokensActionAuxiliary,
|
|
211
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersionActionAuxiliary,
|
|
199
212
|
});
|
|
200
213
|
const Ballot = IDL.Record({
|
|
201
214
|
'vote' : IDL.Int32,
|
|
@@ -244,6 +257,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
244
257
|
'memo' : IDL.Opt(IDL.Nat64),
|
|
245
258
|
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
246
259
|
});
|
|
260
|
+
const AdvanceSnsTargetVersion = IDL.Record({
|
|
261
|
+
'new_target' : IDL.Opt(SnsVersion),
|
|
262
|
+
});
|
|
247
263
|
const ManageSnsMetadata = IDL.Record({
|
|
248
264
|
'url' : IDL.Opt(IDL.Text),
|
|
249
265
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -272,6 +288,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
272
288
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
273
289
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
274
290
|
'MintSnsTokens' : MintSnsTokens,
|
|
291
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersion,
|
|
275
292
|
'Unspecified' : IDL.Record({}),
|
|
276
293
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
277
294
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
|
@@ -533,26 +550,32 @@ export const idlFactory = ({ IDL }) => {
|
|
|
533
550
|
'idle_cycles_burned_per_day' : IDL.Nat,
|
|
534
551
|
'module_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
535
552
|
});
|
|
536
|
-
const UpgradeInProgress = IDL.Record({
|
|
537
|
-
'mark_failed_at_seconds' : IDL.Nat64,
|
|
538
|
-
'checking_upgrade_lock' : IDL.Nat64,
|
|
539
|
-
'proposal_id' : IDL.Nat64,
|
|
540
|
-
'target_version' : IDL.Opt(Version),
|
|
541
|
-
});
|
|
542
553
|
const GetRunningSnsVersionResponse = IDL.Record({
|
|
543
554
|
'deployed_version' : IDL.Opt(Version),
|
|
544
|
-
'pending_version' : IDL.Opt(
|
|
555
|
+
'pending_version' : IDL.Opt(
|
|
556
|
+
IDL.Record({
|
|
557
|
+
'mark_failed_at_seconds' : IDL.Nat64,
|
|
558
|
+
'checking_upgrade_lock' : IDL.Nat64,
|
|
559
|
+
'proposal_id' : IDL.Nat64,
|
|
560
|
+
'target_version' : IDL.Opt(Version),
|
|
561
|
+
})
|
|
562
|
+
),
|
|
545
563
|
});
|
|
546
564
|
const GetSnsInitializationParametersResponse = IDL.Record({
|
|
547
565
|
'sns_initialization_parameters' : IDL.Text,
|
|
548
566
|
});
|
|
549
567
|
const GetTimersResponse = IDL.Record({ 'timers' : IDL.Opt(Timers) });
|
|
550
|
-
const GetUpgradeJournalRequest = IDL.Record({
|
|
568
|
+
const GetUpgradeJournalRequest = IDL.Record({
|
|
569
|
+
'offset' : IDL.Opt(IDL.Nat64),
|
|
570
|
+
'limit' : IDL.Opt(IDL.Nat64),
|
|
571
|
+
});
|
|
551
572
|
const GetUpgradeJournalResponse = IDL.Record({
|
|
552
573
|
'upgrade_journal' : IDL.Opt(UpgradeJournal),
|
|
553
574
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
554
575
|
'response_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
576
|
+
'deployed_version' : IDL.Opt(Version),
|
|
555
577
|
'target_version' : IDL.Opt(Version),
|
|
578
|
+
'upgrade_journal_entry_count' : IDL.Opt(IDL.Nat64),
|
|
556
579
|
});
|
|
557
580
|
const ListNervousSystemFunctionsResponse = IDL.Record({
|
|
558
581
|
'reserved_ids' : IDL.Vec(IDL.Nat64),
|
|
@@ -697,6 +720,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
697
720
|
'list_proposals' : IDL.Func([ListProposals], [ListProposalsResponse], []),
|
|
698
721
|
'manage_neuron' : IDL.Func([ManageNeuron], [ManageNeuronResponse], []),
|
|
699
722
|
'mint_tokens' : IDL.Func([MintTokensRequest], [IDL.Record({})], []),
|
|
723
|
+
'refresh_cached_upgrade_steps' : IDL.Func(
|
|
724
|
+
[IDL.Record({})],
|
|
725
|
+
[IDL.Record({})],
|
|
726
|
+
[],
|
|
727
|
+
),
|
|
700
728
|
'reset_timers' : IDL.Func([IDL.Record({})], [IDL.Record({})], []),
|
|
701
729
|
'set_mode' : IDL.Func([SetMode], [IDL.Record({})], []),
|
|
702
730
|
'update_neuron' : IDL.Func([Neuron], [IDL.Opt(GovernanceError)], []),
|
|
@@ -801,6 +829,7 @@ export const init = ({ IDL }) => {
|
|
|
801
829
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
802
830
|
});
|
|
803
831
|
const TargetVersionReset = IDL.Record({
|
|
832
|
+
'human_readable' : IDL.Opt(IDL.Text),
|
|
804
833
|
'old_target_version' : IDL.Opt(Version),
|
|
805
834
|
'new_target_version' : IDL.Opt(Version),
|
|
806
835
|
});
|
|
@@ -868,7 +897,7 @@ export const init = ({ IDL }) => {
|
|
|
868
897
|
const PendingVersion = IDL.Record({
|
|
869
898
|
'mark_failed_at_seconds' : IDL.Nat64,
|
|
870
899
|
'checking_upgrade_lock' : IDL.Nat64,
|
|
871
|
-
'proposal_id' : IDL.Nat64,
|
|
900
|
+
'proposal_id' : IDL.Opt(IDL.Nat64),
|
|
872
901
|
'target_version' : IDL.Opt(Version),
|
|
873
902
|
});
|
|
874
903
|
const GovernanceError = IDL.Record({
|
|
@@ -896,9 +925,21 @@ export const init = ({ IDL }) => {
|
|
|
896
925
|
const MintSnsTokensActionAuxiliary = IDL.Record({
|
|
897
926
|
'valuation' : IDL.Opt(Valuation),
|
|
898
927
|
});
|
|
928
|
+
const SnsVersion = IDL.Record({
|
|
929
|
+
'archive_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
930
|
+
'root_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
931
|
+
'swap_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
932
|
+
'ledger_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
933
|
+
'governance_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
934
|
+
'index_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
935
|
+
});
|
|
936
|
+
const AdvanceSnsTargetVersionActionAuxiliary = IDL.Record({
|
|
937
|
+
'target_version' : IDL.Opt(SnsVersion),
|
|
938
|
+
});
|
|
899
939
|
const ActionAuxiliary = IDL.Variant({
|
|
900
940
|
'TransferSnsTreasuryFunds' : MintSnsTokensActionAuxiliary,
|
|
901
941
|
'MintSnsTokens' : MintSnsTokensActionAuxiliary,
|
|
942
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersionActionAuxiliary,
|
|
902
943
|
});
|
|
903
944
|
const Ballot = IDL.Record({
|
|
904
945
|
'vote' : IDL.Int32,
|
|
@@ -947,6 +988,9 @@ export const init = ({ IDL }) => {
|
|
|
947
988
|
'memo' : IDL.Opt(IDL.Nat64),
|
|
948
989
|
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
949
990
|
});
|
|
991
|
+
const AdvanceSnsTargetVersion = IDL.Record({
|
|
992
|
+
'new_target' : IDL.Opt(SnsVersion),
|
|
993
|
+
});
|
|
950
994
|
const ManageSnsMetadata = IDL.Record({
|
|
951
995
|
'url' : IDL.Opt(IDL.Text),
|
|
952
996
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -975,6 +1019,7 @@ export const init = ({ IDL }) => {
|
|
|
975
1019
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
976
1020
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
977
1021
|
'MintSnsTokens' : MintSnsTokens,
|
|
1022
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersion,
|
|
978
1023
|
'Unspecified' : IDL.Record({}),
|
|
979
1024
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
980
1025
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|