@dfinity/sns 3.2.4 → 3.2.5
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 +45 -9
- package/dist/candid/sns_governance.d.ts +31 -4
- package/dist/candid/sns_governance.did +30 -4
- package/dist/candid/sns_governance.idl.js +45 -9
- package/dist/candid/sns_governance_test.certified.idl.js +45 -9
- package/dist/candid/sns_governance_test.d.ts +31 -4
- package/dist/candid/sns_governance_test.did +33 -11
- package/dist/candid/sns_governance_test.idl.js +45 -9
- 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-5CSRAAID.js +2 -0
- package/dist/esm/chunk-5CSRAAID.js.map +7 -0
- package/dist/esm/{chunk-X7UB3EAO.js → chunk-FV3WJPBZ.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 +3 -3
- 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-FV3WJPBZ.js.map} +0 -0
|
@@ -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,7 +31,8 @@ export type ActionAuxiliary =
|
|
|
30
31
|
| {
|
|
31
32
|
TransferSnsTreasuryFunds: MintSnsTokensActionAuxiliary;
|
|
32
33
|
}
|
|
33
|
-
| { MintSnsTokens: MintSnsTokensActionAuxiliary }
|
|
34
|
+
| { MintSnsTokens: MintSnsTokensActionAuxiliary }
|
|
35
|
+
| { AdvanceSnsTargetVersion: AdvanceSnsTargetVersionActionAuxiliary };
|
|
34
36
|
export interface AddMaturityRequest {
|
|
35
37
|
id: [] | [NeuronId];
|
|
36
38
|
amount_e8s: [] | [bigint];
|
|
@@ -42,6 +44,12 @@ export interface AddNeuronPermissions {
|
|
|
42
44
|
permissions_to_add: [] | [NeuronPermissionList];
|
|
43
45
|
principal_id: [] | [Principal];
|
|
44
46
|
}
|
|
47
|
+
export interface AdvanceSnsTargetVersion {
|
|
48
|
+
new_target: [] | [SnsVersion];
|
|
49
|
+
}
|
|
50
|
+
export interface AdvanceSnsTargetVersionActionAuxiliary {
|
|
51
|
+
target_version: [] | [SnsVersion];
|
|
52
|
+
}
|
|
45
53
|
export interface AdvanceTargetVersionRequest {
|
|
46
54
|
target_version: [] | [Version];
|
|
47
55
|
}
|
|
@@ -228,7 +236,16 @@ export interface GetProposalResponse {
|
|
|
228
236
|
}
|
|
229
237
|
export interface GetRunningSnsVersionResponse {
|
|
230
238
|
deployed_version: [] | [Version];
|
|
231
|
-
pending_version:
|
|
239
|
+
pending_version:
|
|
240
|
+
| []
|
|
241
|
+
| [
|
|
242
|
+
{
|
|
243
|
+
mark_failed_at_seconds: bigint;
|
|
244
|
+
checking_upgrade_lock: bigint;
|
|
245
|
+
proposal_id: bigint;
|
|
246
|
+
target_version: [] | [Version];
|
|
247
|
+
},
|
|
248
|
+
];
|
|
232
249
|
}
|
|
233
250
|
export interface GetSnsInitializationParametersResponse {
|
|
234
251
|
sns_initialization_parameters: string;
|
|
@@ -241,6 +258,7 @@ export interface GetUpgradeJournalResponse {
|
|
|
241
258
|
upgrade_journal: [] | [UpgradeJournal];
|
|
242
259
|
upgrade_steps: [] | [Versions];
|
|
243
260
|
response_timestamp_seconds: [] | [bigint];
|
|
261
|
+
deployed_version: [] | [Version];
|
|
244
262
|
target_version: [] | [Version];
|
|
245
263
|
}
|
|
246
264
|
export interface Governance {
|
|
@@ -472,7 +490,7 @@ export type Participant = { NeuronsFund: NeuronsFund } | { Direct: {} };
|
|
|
472
490
|
export interface PendingVersion {
|
|
473
491
|
mark_failed_at_seconds: bigint;
|
|
474
492
|
checking_upgrade_lock: bigint;
|
|
475
|
-
proposal_id: bigint;
|
|
493
|
+
proposal_id: [] | [bigint];
|
|
476
494
|
target_version: [] | [Version];
|
|
477
495
|
}
|
|
478
496
|
export interface Percentage {
|
|
@@ -542,6 +560,14 @@ export interface SetDissolveTimestamp {
|
|
|
542
560
|
export interface SetMode {
|
|
543
561
|
mode: number;
|
|
544
562
|
}
|
|
563
|
+
export interface SnsVersion {
|
|
564
|
+
archive_wasm_hash: [] | [Uint8Array | number[]];
|
|
565
|
+
root_wasm_hash: [] | [Uint8Array | number[]];
|
|
566
|
+
swap_wasm_hash: [] | [Uint8Array | number[]];
|
|
567
|
+
ledger_wasm_hash: [] | [Uint8Array | number[]];
|
|
568
|
+
governance_wasm_hash: [] | [Uint8Array | number[]];
|
|
569
|
+
index_wasm_hash: [] | [Uint8Array | number[]];
|
|
570
|
+
}
|
|
545
571
|
export interface Split {
|
|
546
572
|
memo: bigint;
|
|
547
573
|
amount_e8s: bigint;
|
|
@@ -570,6 +596,7 @@ export interface Tally {
|
|
|
570
596
|
timestamp_seconds: bigint;
|
|
571
597
|
}
|
|
572
598
|
export interface TargetVersionReset {
|
|
599
|
+
human_readable: [] | [string];
|
|
573
600
|
old_target_version: [] | [Version];
|
|
574
601
|
new_target_version: [] | [Version];
|
|
575
602
|
}
|
|
@@ -595,7 +622,7 @@ export interface TransferSnsTreasuryFunds {
|
|
|
595
622
|
export interface UpgradeInProgress {
|
|
596
623
|
mark_failed_at_seconds: bigint;
|
|
597
624
|
checking_upgrade_lock: bigint;
|
|
598
|
-
proposal_id: bigint;
|
|
625
|
+
proposal_id: [] | [bigint];
|
|
599
626
|
target_version: [] | [Version];
|
|
600
627
|
}
|
|
601
628
|
export interface UpgradeJournal {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 5d20289 (2024-11-21 tags: release-2024-11-21_03-11-24.04-base-kernel) 'rs/sns/governance/canister/governance_test.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 AddMaturityRequest = record {
|
|
@@ -267,7 +269,12 @@ type GetProposalResponse = record {
|
|
|
267
269
|
|
|
268
270
|
type GetRunningSnsVersionResponse = record {
|
|
269
271
|
deployed_version : opt Version;
|
|
270
|
-
pending_version : opt
|
|
272
|
+
pending_version : opt record {
|
|
273
|
+
mark_failed_at_seconds : nat64;
|
|
274
|
+
checking_upgrade_lock : nat64;
|
|
275
|
+
proposal_id : nat64;
|
|
276
|
+
target_version : opt Version;
|
|
277
|
+
};
|
|
271
278
|
};
|
|
272
279
|
|
|
273
280
|
type GetSnsInitializationParametersResponse = record {
|
|
@@ -300,7 +307,7 @@ type Governance = record {
|
|
|
300
307
|
sns_metadata : opt ManageSnsMetadata;
|
|
301
308
|
neurons : vec record { text; Neuron };
|
|
302
309
|
genesis_timestamp_seconds : nat64;
|
|
303
|
-
target_version: opt Version;
|
|
310
|
+
target_version : opt Version;
|
|
304
311
|
timers : opt Timers;
|
|
305
312
|
upgrade_journal : opt UpgradeJournal;
|
|
306
313
|
};
|
|
@@ -380,6 +387,19 @@ type ManageDappCanisterSettings = record {
|
|
|
380
387
|
compute_allocation : opt nat64;
|
|
381
388
|
};
|
|
382
389
|
|
|
390
|
+
type SnsVersion = record {
|
|
391
|
+
governance_wasm_hash : opt blob;
|
|
392
|
+
swap_wasm_hash : opt blob;
|
|
393
|
+
root_wasm_hash : opt blob;
|
|
394
|
+
index_wasm_hash : opt blob;
|
|
395
|
+
ledger_wasm_hash : opt blob;
|
|
396
|
+
archive_wasm_hash : opt blob;
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
type AdvanceSnsTargetVersion = record {
|
|
400
|
+
new_target : opt SnsVersion;
|
|
401
|
+
};
|
|
402
|
+
|
|
383
403
|
type ManageLedgerParameters = record {
|
|
384
404
|
token_symbol : opt text;
|
|
385
405
|
transfer_fee : opt nat64;
|
|
@@ -433,6 +453,10 @@ type MintSnsTokensActionAuxiliary = record {
|
|
|
433
453
|
valuation : opt Valuation;
|
|
434
454
|
};
|
|
435
455
|
|
|
456
|
+
type AdvanceSnsTargetVersionActionAuxiliary = record {
|
|
457
|
+
target_version : opt SnsVersion;
|
|
458
|
+
};
|
|
459
|
+
|
|
436
460
|
type MintTokensRequest = record {
|
|
437
461
|
recipient : opt Account;
|
|
438
462
|
amount_e8s : opt nat64;
|
|
@@ -689,14 +713,14 @@ type TransferSnsTreasuryFunds = record {
|
|
|
689
713
|
type UpgradeInProgress = record {
|
|
690
714
|
mark_failed_at_seconds : nat64;
|
|
691
715
|
checking_upgrade_lock : nat64;
|
|
692
|
-
proposal_id : nat64;
|
|
716
|
+
proposal_id : opt nat64;
|
|
693
717
|
target_version : opt Version;
|
|
694
718
|
};
|
|
695
719
|
|
|
696
720
|
type PendingVersion = record {
|
|
697
721
|
mark_failed_at_seconds : nat64;
|
|
698
722
|
checking_upgrade_lock : nat64;
|
|
699
|
-
proposal_id : nat64;
|
|
723
|
+
proposal_id : opt nat64;
|
|
700
724
|
target_version : opt Version;
|
|
701
725
|
};
|
|
702
726
|
|
|
@@ -771,6 +795,7 @@ type TargetVersionSet = record {
|
|
|
771
795
|
type TargetVersionReset = record {
|
|
772
796
|
new_target_version : opt Version;
|
|
773
797
|
old_target_version : opt Version;
|
|
798
|
+
human_readable : opt text;
|
|
774
799
|
};
|
|
775
800
|
|
|
776
801
|
type UpgradeStarted = record {
|
|
@@ -802,6 +827,7 @@ type GetUpgradeJournalResponse = record {
|
|
|
802
827
|
upgrade_steps : opt Versions;
|
|
803
828
|
response_timestamp_seconds : opt nat64;
|
|
804
829
|
target_version : opt Version;
|
|
830
|
+
deployed_version : opt Version;
|
|
805
831
|
upgrade_journal : opt UpgradeJournal;
|
|
806
832
|
};
|
|
807
833
|
|
|
@@ -822,13 +848,9 @@ service : (Governance) -> {
|
|
|
822
848
|
get_proposal : (GetProposal) -> (GetProposalResponse) query;
|
|
823
849
|
get_root_canister_status : (null) -> (CanisterStatusResultV2);
|
|
824
850
|
get_running_sns_version : (record {}) -> (GetRunningSnsVersionResponse) query;
|
|
825
|
-
get_sns_initialization_parameters : (record {}) -> (
|
|
826
|
-
GetSnsInitializationParametersResponse,
|
|
827
|
-
) query;
|
|
851
|
+
get_sns_initialization_parameters : (record {}) -> (GetSnsInitializationParametersResponse) query;
|
|
828
852
|
get_upgrade_journal : (GetUpgradeJournalRequest) -> (GetUpgradeJournalResponse) query;
|
|
829
|
-
list_nervous_system_functions : () -> (
|
|
830
|
-
ListNervousSystemFunctionsResponse,
|
|
831
|
-
) query;
|
|
853
|
+
list_nervous_system_functions : () -> (ListNervousSystemFunctionsResponse) query;
|
|
832
854
|
list_neurons : (ListNeurons) -> (ListNeuronsResponse) query;
|
|
833
855
|
list_proposals : (ListProposals) -> (ListProposalsResponse) query;
|
|
834
856
|
manage_neuron : (ManageNeuron) -> (ManageNeuronResponse);
|
|
@@ -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,15 +550,16 @@ 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,
|
|
@@ -552,6 +570,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
552
570
|
'upgrade_journal' : IDL.Opt(UpgradeJournal),
|
|
553
571
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
554
572
|
'response_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
573
|
+
'deployed_version' : IDL.Opt(Version),
|
|
555
574
|
'target_version' : IDL.Opt(Version),
|
|
556
575
|
});
|
|
557
576
|
const ListNervousSystemFunctionsResponse = IDL.Record({
|
|
@@ -809,6 +828,7 @@ export const init = ({ IDL }) => {
|
|
|
809
828
|
'upgrade_steps' : IDL.Opt(Versions),
|
|
810
829
|
});
|
|
811
830
|
const TargetVersionReset = IDL.Record({
|
|
831
|
+
'human_readable' : IDL.Opt(IDL.Text),
|
|
812
832
|
'old_target_version' : IDL.Opt(Version),
|
|
813
833
|
'new_target_version' : IDL.Opt(Version),
|
|
814
834
|
});
|
|
@@ -876,7 +896,7 @@ export const init = ({ IDL }) => {
|
|
|
876
896
|
const PendingVersion = IDL.Record({
|
|
877
897
|
'mark_failed_at_seconds' : IDL.Nat64,
|
|
878
898
|
'checking_upgrade_lock' : IDL.Nat64,
|
|
879
|
-
'proposal_id' : IDL.Nat64,
|
|
899
|
+
'proposal_id' : IDL.Opt(IDL.Nat64),
|
|
880
900
|
'target_version' : IDL.Opt(Version),
|
|
881
901
|
});
|
|
882
902
|
const GovernanceError = IDL.Record({
|
|
@@ -904,9 +924,21 @@ export const init = ({ IDL }) => {
|
|
|
904
924
|
const MintSnsTokensActionAuxiliary = IDL.Record({
|
|
905
925
|
'valuation' : IDL.Opt(Valuation),
|
|
906
926
|
});
|
|
927
|
+
const SnsVersion = IDL.Record({
|
|
928
|
+
'archive_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
929
|
+
'root_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
930
|
+
'swap_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
931
|
+
'ledger_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
932
|
+
'governance_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
933
|
+
'index_wasm_hash' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
934
|
+
});
|
|
935
|
+
const AdvanceSnsTargetVersionActionAuxiliary = IDL.Record({
|
|
936
|
+
'target_version' : IDL.Opt(SnsVersion),
|
|
937
|
+
});
|
|
907
938
|
const ActionAuxiliary = IDL.Variant({
|
|
908
939
|
'TransferSnsTreasuryFunds' : MintSnsTokensActionAuxiliary,
|
|
909
940
|
'MintSnsTokens' : MintSnsTokensActionAuxiliary,
|
|
941
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersionActionAuxiliary,
|
|
910
942
|
});
|
|
911
943
|
const Ballot = IDL.Record({
|
|
912
944
|
'vote' : IDL.Int32,
|
|
@@ -955,6 +987,9 @@ export const init = ({ IDL }) => {
|
|
|
955
987
|
'memo' : IDL.Opt(IDL.Nat64),
|
|
956
988
|
'amount_e8s' : IDL.Opt(IDL.Nat64),
|
|
957
989
|
});
|
|
990
|
+
const AdvanceSnsTargetVersion = IDL.Record({
|
|
991
|
+
'new_target' : IDL.Opt(SnsVersion),
|
|
992
|
+
});
|
|
958
993
|
const ManageSnsMetadata = IDL.Record({
|
|
959
994
|
'url' : IDL.Opt(IDL.Text),
|
|
960
995
|
'logo' : IDL.Opt(IDL.Text),
|
|
@@ -983,6 +1018,7 @@ export const init = ({ IDL }) => {
|
|
|
983
1018
|
'UpgradeSnsControlledCanister' : UpgradeSnsControlledCanister,
|
|
984
1019
|
'DeregisterDappCanisters' : DeregisterDappCanisters,
|
|
985
1020
|
'MintSnsTokens' : MintSnsTokens,
|
|
1021
|
+
'AdvanceSnsTargetVersion' : AdvanceSnsTargetVersion,
|
|
986
1022
|
'Unspecified' : IDL.Record({}),
|
|
987
1023
|
'ManageSnsMetadata' : ManageSnsMetadata,
|
|
988
1024
|
'ExecuteGenericNervousSystemFunction' : ExecuteGenericNervousSystemFunction,
|
package/dist/candid/sns_root.did
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 5d20289 (2024-11-21 tags: release-2024-11-21_03-11-24.04-base-kernel) 'rs/sns/root/canister/root.did' by import-candid
|
|
2
2
|
type CanisterCallError = record {
|
|
3
3
|
code : opt int32;
|
|
4
4
|
description : text;
|
package/dist/candid/sns_swap.did
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 5d20289 (2024-11-21 tags: release-2024-11-21_03-11-24.04-base-kernel) '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;
|