@dfinity/sns 3.2.2 → 3.2.3-next-2024-11-14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/candid/sns_governance.certified.idl.js +157 -20
- package/dist/candid/sns_governance.d.ts +80 -1
- package/dist/candid/sns_governance.did +85 -8
- package/dist/candid/sns_governance.idl.js +157 -20
- package/dist/candid/sns_governance_test.certified.idl.js +166 -20
- package/dist/candid/sns_governance_test.d.ts +88 -1
- package/dist/candid/sns_governance_test.did +87 -2
- package/dist/candid/sns_governance_test.idl.js +166 -20
- package/dist/candid/sns_root.certified.idl.js +15 -0
- package/dist/candid/sns_root.d.ts +11 -0
- package/dist/candid/sns_root.did +14 -1
- package/dist/candid/sns_root.idl.js +15 -0
- package/dist/candid/sns_swap.certified.idl.js +9 -0
- package/dist/candid/sns_swap.d.ts +11 -0
- package/dist/candid/sns_swap.did +14 -1
- package/dist/candid/sns_swap.idl.js +9 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +3 -3
- package/dist/esm/chunk-BNILACKH.js +2 -0
- package/dist/esm/chunk-BNILACKH.js.map +7 -0
- package/dist/esm/chunk-GCMQLWR5.js +2 -0
- package/dist/esm/chunk-GCMQLWR5.js.map +7 -0
- package/dist/esm/{chunk-7V3B657R.js → chunk-XGUZCIOP.js} +2 -2
- package/dist/esm/chunk-XKKPAZAY.js +2 -0
- package/dist/esm/chunk-XKKPAZAY.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-5YPS4ZYR.js +0 -2
- package/dist/esm/chunk-5YPS4ZYR.js.map +0 -7
- package/dist/esm/chunk-JY2TPU5D.js +0 -2
- package/dist/esm/chunk-JY2TPU5D.js.map +0 -7
- package/dist/esm/chunk-ODQ7CAD7.js +0 -2
- package/dist/esm/chunk-ODQ7CAD7.js.map +0 -7
- /package/dist/esm/{chunk-7V3B657R.js.map → chunk-XGUZCIOP.js.map} +0 -0
|
@@ -42,6 +42,10 @@ export interface AddNeuronPermissions {
|
|
|
42
42
|
permissions_to_add: [] | [NeuronPermissionList];
|
|
43
43
|
principal_id: [] | [Principal];
|
|
44
44
|
}
|
|
45
|
+
export interface AdvanceTargetVersionRequest {
|
|
46
|
+
target_version: [] | [Version];
|
|
47
|
+
}
|
|
48
|
+
export type AdvanceTargetVersionResponse = {};
|
|
45
49
|
export interface Amount {
|
|
46
50
|
e8s: bigint;
|
|
47
51
|
}
|
|
@@ -51,6 +55,11 @@ export interface Ballot {
|
|
|
51
55
|
voting_power: bigint;
|
|
52
56
|
}
|
|
53
57
|
export type By = { MemoAndController: MemoAndController } | { NeuronId: {} };
|
|
58
|
+
export interface CachedUpgradeSteps {
|
|
59
|
+
upgrade_steps: [] | [Versions];
|
|
60
|
+
response_timestamp_seconds: [] | [bigint];
|
|
61
|
+
requested_timestamp_seconds: [] | [bigint];
|
|
62
|
+
}
|
|
54
63
|
export interface CanisterStatusResultV2 {
|
|
55
64
|
status: CanisterStatusType;
|
|
56
65
|
memory_size: bigint;
|
|
@@ -224,11 +233,24 @@ export interface GetRunningSnsVersionResponse {
|
|
|
224
233
|
export interface GetSnsInitializationParametersResponse {
|
|
225
234
|
sns_initialization_parameters: string;
|
|
226
235
|
}
|
|
236
|
+
export interface GetTimersResponse {
|
|
237
|
+
timers: [] | [Timers];
|
|
238
|
+
}
|
|
239
|
+
export type GetUpgradeJournalRequest = {};
|
|
240
|
+
export interface GetUpgradeJournalResponse {
|
|
241
|
+
upgrade_journal: [] | [UpgradeJournal];
|
|
242
|
+
upgrade_steps: [] | [Versions];
|
|
243
|
+
response_timestamp_seconds: [] | [bigint];
|
|
244
|
+
target_version: [] | [Version];
|
|
245
|
+
}
|
|
227
246
|
export interface Governance {
|
|
228
247
|
root_canister_id: [] | [Principal];
|
|
248
|
+
timers: [] | [Timers];
|
|
249
|
+
cached_upgrade_steps: [] | [CachedUpgradeSteps];
|
|
229
250
|
id_to_nervous_system_functions: Array<[bigint, NervousSystemFunction]>;
|
|
230
251
|
metrics: [] | [GovernanceCachedMetrics];
|
|
231
252
|
maturity_modulation: [] | [MaturityModulation];
|
|
253
|
+
upgrade_journal: [] | [UpgradeJournal];
|
|
232
254
|
mode: number;
|
|
233
255
|
parameters: [] | [NervousSystemParameters];
|
|
234
256
|
is_finalizing_disburse_maturity: [] | [boolean];
|
|
@@ -241,8 +263,8 @@ export interface Governance {
|
|
|
241
263
|
proposals: Array<[bigint, ProposalData]>;
|
|
242
264
|
in_flight_commands: Array<[string, NeuronInFlightCommand]>;
|
|
243
265
|
sns_metadata: [] | [ManageSnsMetadata];
|
|
244
|
-
migrated_root_wasm_memory_limit: [] | [boolean];
|
|
245
266
|
neurons: Array<[string, Neuron]>;
|
|
267
|
+
target_version: [] | [Version];
|
|
246
268
|
genesis_timestamp_seconds: bigint;
|
|
247
269
|
}
|
|
248
270
|
export interface GovernanceCachedMetrics {
|
|
@@ -541,6 +563,19 @@ export interface Tally {
|
|
|
541
563
|
total: bigint;
|
|
542
564
|
timestamp_seconds: bigint;
|
|
543
565
|
}
|
|
566
|
+
export interface TargetVersionReset {
|
|
567
|
+
old_target_version: [] | [Version];
|
|
568
|
+
new_target_version: [] | [Version];
|
|
569
|
+
}
|
|
570
|
+
export interface TargetVersionSet {
|
|
571
|
+
old_target_version: [] | [Version];
|
|
572
|
+
new_target_version: [] | [Version];
|
|
573
|
+
}
|
|
574
|
+
export interface Timers {
|
|
575
|
+
last_spawned_timestamp_seconds: [] | [bigint];
|
|
576
|
+
last_reset_timestamp_seconds: [] | [bigint];
|
|
577
|
+
requires_periodic_tasks: [] | [boolean];
|
|
578
|
+
}
|
|
544
579
|
export interface Tokens {
|
|
545
580
|
e8s: [] | [bigint];
|
|
546
581
|
}
|
|
@@ -557,12 +592,51 @@ export interface UpgradeInProgress {
|
|
|
557
592
|
proposal_id: bigint;
|
|
558
593
|
target_version: [] | [Version];
|
|
559
594
|
}
|
|
595
|
+
export interface UpgradeJournal {
|
|
596
|
+
entries: Array<UpgradeJournalEntry>;
|
|
597
|
+
}
|
|
598
|
+
export interface UpgradeJournalEntry {
|
|
599
|
+
event:
|
|
600
|
+
| []
|
|
601
|
+
| [
|
|
602
|
+
| { TargetVersionSet: TargetVersionSet }
|
|
603
|
+
| { UpgradeOutcome: UpgradeOutcome }
|
|
604
|
+
| { UpgradeStarted: UpgradeStarted }
|
|
605
|
+
| { UpgradeStepsRefreshed: UpgradeStepsRefreshed }
|
|
606
|
+
| { TargetVersionReset: TargetVersionReset },
|
|
607
|
+
];
|
|
608
|
+
timestamp_seconds: [] | [bigint];
|
|
609
|
+
}
|
|
610
|
+
export interface UpgradeOutcome {
|
|
611
|
+
status:
|
|
612
|
+
| []
|
|
613
|
+
| [
|
|
614
|
+
| { Success: {} }
|
|
615
|
+
| { Timeout: {} }
|
|
616
|
+
| { ExternalFailure: {} }
|
|
617
|
+
| { InvalidState: { version: [] | [Version] } },
|
|
618
|
+
];
|
|
619
|
+
human_readable: [] | [string];
|
|
620
|
+
}
|
|
560
621
|
export interface UpgradeSnsControlledCanister {
|
|
561
622
|
new_canister_wasm: Uint8Array | number[];
|
|
562
623
|
mode: [] | [number];
|
|
563
624
|
canister_id: [] | [Principal];
|
|
564
625
|
canister_upgrade_arg: [] | [Uint8Array | number[]];
|
|
565
626
|
}
|
|
627
|
+
export interface UpgradeStarted {
|
|
628
|
+
current_version: [] | [Version];
|
|
629
|
+
expected_version: [] | [Version];
|
|
630
|
+
reason:
|
|
631
|
+
| []
|
|
632
|
+
| [
|
|
633
|
+
| { UpgradeSnsToNextVersionProposal: ProposalId }
|
|
634
|
+
| { BehindTargetVersion: {} },
|
|
635
|
+
];
|
|
636
|
+
}
|
|
637
|
+
export interface UpgradeStepsRefreshed {
|
|
638
|
+
upgrade_steps: [] | [Versions];
|
|
639
|
+
}
|
|
566
640
|
export interface Valuation {
|
|
567
641
|
token: [] | [number];
|
|
568
642
|
account: [] | [Account];
|
|
@@ -582,6 +656,9 @@ export interface Version {
|
|
|
582
656
|
governance_wasm_hash: Uint8Array | number[];
|
|
583
657
|
index_wasm_hash: Uint8Array | number[];
|
|
584
658
|
}
|
|
659
|
+
export interface Versions {
|
|
660
|
+
versions: Array<Version>;
|
|
661
|
+
}
|
|
585
662
|
export interface VotingRewardsParameters {
|
|
586
663
|
final_reward_rate_basis_points: [] | [bigint];
|
|
587
664
|
initial_reward_rate_basis_points: [] | [bigint];
|
|
@@ -593,6 +670,10 @@ export interface WaitForQuietState {
|
|
|
593
670
|
}
|
|
594
671
|
export interface _SERVICE {
|
|
595
672
|
add_maturity: ActorMethod<[AddMaturityRequest], AddMaturityResponse>;
|
|
673
|
+
advance_target_version: ActorMethod<
|
|
674
|
+
[AdvanceTargetVersionRequest],
|
|
675
|
+
AdvanceTargetVersionResponse
|
|
676
|
+
>;
|
|
596
677
|
claim_swap_neurons: ActorMethod<
|
|
597
678
|
[ClaimSwapNeuronsRequest],
|
|
598
679
|
ClaimSwapNeuronsResponse
|
|
@@ -612,6 +693,11 @@ export interface _SERVICE {
|
|
|
612
693
|
[{}],
|
|
613
694
|
GetSnsInitializationParametersResponse
|
|
614
695
|
>;
|
|
696
|
+
get_timers: ActorMethod<[{}], GetTimersResponse>;
|
|
697
|
+
get_upgrade_journal: ActorMethod<
|
|
698
|
+
[GetUpgradeJournalRequest],
|
|
699
|
+
GetUpgradeJournalResponse
|
|
700
|
+
>;
|
|
615
701
|
list_nervous_system_functions: ActorMethod<
|
|
616
702
|
[],
|
|
617
703
|
ListNervousSystemFunctionsResponse
|
|
@@ -620,6 +706,7 @@ export interface _SERVICE {
|
|
|
620
706
|
list_proposals: ActorMethod<[ListProposals], ListProposalsResponse>;
|
|
621
707
|
manage_neuron: ActorMethod<[ManageNeuron], ManageNeuronResponse>;
|
|
622
708
|
mint_tokens: ActorMethod<[MintTokensRequest], {}>;
|
|
709
|
+
reset_timers: ActorMethod<[{}], {}>;
|
|
623
710
|
set_mode: ActorMethod<[SetMode], {}>;
|
|
624
711
|
update_neuron: ActorMethod<[Neuron], [] | [GovernanceError]>;
|
|
625
712
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit c47e172 (2024-10-25 tags: release-2024-11-07_03-07-6.11-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;
|
|
@@ -274,6 +274,12 @@ type GetSnsInitializationParametersResponse = record {
|
|
|
274
274
|
sns_initialization_parameters : text;
|
|
275
275
|
};
|
|
276
276
|
|
|
277
|
+
type CachedUpgradeSteps = record {
|
|
278
|
+
upgrade_steps : opt Versions;
|
|
279
|
+
requested_timestamp_seconds : opt nat64;
|
|
280
|
+
response_timestamp_seconds : opt nat64;
|
|
281
|
+
};
|
|
282
|
+
|
|
277
283
|
type Governance = record {
|
|
278
284
|
root_canister_id : opt principal;
|
|
279
285
|
id_to_nervous_system_functions : vec record { nat64; NervousSystemFunction };
|
|
@@ -283,6 +289,7 @@ type Governance = record {
|
|
|
283
289
|
parameters : opt NervousSystemParameters;
|
|
284
290
|
is_finalizing_disburse_maturity : opt bool;
|
|
285
291
|
deployed_version : opt Version;
|
|
292
|
+
cached_upgrade_steps : opt CachedUpgradeSteps;
|
|
286
293
|
sns_initialization_parameters : text;
|
|
287
294
|
latest_reward_event : opt RewardEvent;
|
|
288
295
|
pending_version : opt UpgradeInProgress;
|
|
@@ -293,7 +300,19 @@ type Governance = record {
|
|
|
293
300
|
sns_metadata : opt ManageSnsMetadata;
|
|
294
301
|
neurons : vec record { text; Neuron };
|
|
295
302
|
genesis_timestamp_seconds : nat64;
|
|
296
|
-
|
|
303
|
+
target_version: opt Version;
|
|
304
|
+
timers : opt Timers;
|
|
305
|
+
upgrade_journal : opt UpgradeJournal;
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
type Timers = record {
|
|
309
|
+
requires_periodic_tasks : opt bool;
|
|
310
|
+
last_reset_timestamp_seconds : opt nat64;
|
|
311
|
+
last_spawned_timestamp_seconds : opt nat64;
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
type GetTimersResponse = record {
|
|
315
|
+
timers : opt Timers;
|
|
297
316
|
};
|
|
298
317
|
|
|
299
318
|
type GovernanceCachedMetrics = record {
|
|
@@ -703,6 +722,8 @@ type Version = record {
|
|
|
703
722
|
index_wasm_hash : blob;
|
|
704
723
|
};
|
|
705
724
|
|
|
725
|
+
type Versions = record { versions : vec Version };
|
|
726
|
+
|
|
706
727
|
type VotingRewardsParameters = record {
|
|
707
728
|
final_reward_rate_basis_points : opt nat64;
|
|
708
729
|
initial_reward_rate_basis_points : opt nat64;
|
|
@@ -714,6 +735,66 @@ type WaitForQuietState = record {
|
|
|
714
735
|
current_deadline_timestamp_seconds : nat64;
|
|
715
736
|
};
|
|
716
737
|
|
|
738
|
+
type UpgradeJournalEntry = record {
|
|
739
|
+
event : opt variant {
|
|
740
|
+
UpgradeStepsRefreshed : UpgradeStepsRefreshed;
|
|
741
|
+
TargetVersionSet : TargetVersionSet;
|
|
742
|
+
TargetVersionReset : TargetVersionReset;
|
|
743
|
+
UpgradeStarted : UpgradeStarted;
|
|
744
|
+
UpgradeOutcome : UpgradeOutcome;
|
|
745
|
+
};
|
|
746
|
+
timestamp_seconds : opt nat64;
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
type UpgradeStepsRefreshed = record {
|
|
750
|
+
upgrade_steps : opt Versions;
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
type TargetVersionSet = record {
|
|
754
|
+
new_target_version : opt Version;
|
|
755
|
+
old_target_version : opt Version;
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
type TargetVersionReset = record {
|
|
759
|
+
new_target_version : opt Version;
|
|
760
|
+
old_target_version : opt Version;
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
type UpgradeStarted = record {
|
|
764
|
+
current_version : opt Version;
|
|
765
|
+
expected_version : opt Version;
|
|
766
|
+
reason : opt variant {
|
|
767
|
+
UpgradeSnsToNextVersionProposal : ProposalId;
|
|
768
|
+
BehindTargetVersion : record {};
|
|
769
|
+
}
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
type UpgradeOutcome = record {
|
|
773
|
+
human_readable : opt text;
|
|
774
|
+
status : opt variant {
|
|
775
|
+
Success : record {};
|
|
776
|
+
Timeout : record {};
|
|
777
|
+
InvalidState : record { version : opt Version };
|
|
778
|
+
ExternalFailure : record {};
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
|
|
782
|
+
type UpgradeJournal = record {
|
|
783
|
+
entries : vec UpgradeJournalEntry;
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
type GetUpgradeJournalRequest = record {};
|
|
787
|
+
|
|
788
|
+
type GetUpgradeJournalResponse = record {
|
|
789
|
+
upgrade_steps : opt Versions;
|
|
790
|
+
response_timestamp_seconds : opt nat64;
|
|
791
|
+
target_version : opt Version;
|
|
792
|
+
upgrade_journal : opt UpgradeJournal;
|
|
793
|
+
};
|
|
794
|
+
|
|
795
|
+
type AdvanceTargetVersionRequest = record { target_version : opt Version; };
|
|
796
|
+
type AdvanceTargetVersionResponse = record {};
|
|
797
|
+
|
|
717
798
|
service : (Governance) -> {
|
|
718
799
|
add_maturity : (AddMaturityRequest) -> (AddMaturityResponse);
|
|
719
800
|
claim_swap_neurons : (ClaimSwapNeuronsRequest) -> (ClaimSwapNeuronsResponse);
|
|
@@ -731,6 +812,7 @@ service : (Governance) -> {
|
|
|
731
812
|
get_sns_initialization_parameters : (record {}) -> (
|
|
732
813
|
GetSnsInitializationParametersResponse,
|
|
733
814
|
) query;
|
|
815
|
+
get_upgrade_journal : (GetUpgradeJournalRequest) -> (GetUpgradeJournalResponse) query;
|
|
734
816
|
list_nervous_system_functions : () -> (
|
|
735
817
|
ListNervousSystemFunctionsResponse,
|
|
736
818
|
) query;
|
|
@@ -740,4 +822,7 @@ service : (Governance) -> {
|
|
|
740
822
|
mint_tokens : (MintTokensRequest) -> (record {});
|
|
741
823
|
set_mode : (SetMode) -> (record {});
|
|
742
824
|
update_neuron : (Neuron) -> (opt GovernanceError);
|
|
825
|
+
advance_target_version : (AdvanceTargetVersionRequest) -> (AdvanceTargetVersionResponse);
|
|
826
|
+
reset_timers : (record {}) -> (record {});
|
|
827
|
+
get_timers : (record {}) -> (GetTimersResponse) query;
|
|
743
828
|
}
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
/* Do not edit. Compiled with ./scripts/compile-idl-js from packages/sns/candid/sns_governance_test.did */
|
|
2
2
|
export const idlFactory = ({ IDL }) => {
|
|
3
|
+
const Timers = IDL.Record({
|
|
4
|
+
'last_spawned_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
5
|
+
'last_reset_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
6
|
+
'requires_periodic_tasks' : IDL.Opt(IDL.Bool),
|
|
7
|
+
});
|
|
8
|
+
const Version = IDL.Record({
|
|
9
|
+
'archive_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
10
|
+
'root_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
11
|
+
'swap_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
12
|
+
'ledger_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
13
|
+
'governance_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
14
|
+
'index_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
15
|
+
});
|
|
16
|
+
const Versions = IDL.Record({ 'versions' : IDL.Vec(Version) });
|
|
17
|
+
const CachedUpgradeSteps = IDL.Record({
|
|
18
|
+
'upgrade_steps' : IDL.Opt(Versions),
|
|
19
|
+
'response_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
20
|
+
'requested_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
21
|
+
});
|
|
3
22
|
const GenericNervousSystemFunction = IDL.Record({
|
|
4
23
|
'validator_canister_id' : IDL.Opt(IDL.Principal),
|
|
5
24
|
'target_canister_id' : IDL.Opt(IDL.Principal),
|
|
@@ -45,6 +64,54 @@ export const idlFactory = ({ IDL }) => {
|
|
|
45
64
|
'current_basis_points' : IDL.Opt(IDL.Int32),
|
|
46
65
|
'updated_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
47
66
|
});
|
|
67
|
+
const TargetVersionSet = IDL.Record({
|
|
68
|
+
'old_target_version' : IDL.Opt(Version),
|
|
69
|
+
'new_target_version' : IDL.Opt(Version),
|
|
70
|
+
});
|
|
71
|
+
const UpgradeOutcome = IDL.Record({
|
|
72
|
+
'status' : IDL.Opt(
|
|
73
|
+
IDL.Variant({
|
|
74
|
+
'Success' : IDL.Record({}),
|
|
75
|
+
'Timeout' : IDL.Record({}),
|
|
76
|
+
'ExternalFailure' : IDL.Record({}),
|
|
77
|
+
'InvalidState' : IDL.Record({ 'version' : IDL.Opt(Version) }),
|
|
78
|
+
})
|
|
79
|
+
),
|
|
80
|
+
'human_readable' : IDL.Opt(IDL.Text),
|
|
81
|
+
});
|
|
82
|
+
const ProposalId = IDL.Record({ 'id' : IDL.Nat64 });
|
|
83
|
+
const UpgradeStarted = IDL.Record({
|
|
84
|
+
'current_version' : IDL.Opt(Version),
|
|
85
|
+
'expected_version' : IDL.Opt(Version),
|
|
86
|
+
'reason' : IDL.Opt(
|
|
87
|
+
IDL.Variant({
|
|
88
|
+
'UpgradeSnsToNextVersionProposal' : ProposalId,
|
|
89
|
+
'BehindTargetVersion' : IDL.Record({}),
|
|
90
|
+
})
|
|
91
|
+
),
|
|
92
|
+
});
|
|
93
|
+
const UpgradeStepsRefreshed = IDL.Record({
|
|
94
|
+
'upgrade_steps' : IDL.Opt(Versions),
|
|
95
|
+
});
|
|
96
|
+
const TargetVersionReset = IDL.Record({
|
|
97
|
+
'old_target_version' : IDL.Opt(Version),
|
|
98
|
+
'new_target_version' : IDL.Opt(Version),
|
|
99
|
+
});
|
|
100
|
+
const UpgradeJournalEntry = IDL.Record({
|
|
101
|
+
'event' : IDL.Opt(
|
|
102
|
+
IDL.Variant({
|
|
103
|
+
'TargetVersionSet' : TargetVersionSet,
|
|
104
|
+
'UpgradeOutcome' : UpgradeOutcome,
|
|
105
|
+
'UpgradeStarted' : UpgradeStarted,
|
|
106
|
+
'UpgradeStepsRefreshed' : UpgradeStepsRefreshed,
|
|
107
|
+
'TargetVersionReset' : TargetVersionReset,
|
|
108
|
+
})
|
|
109
|
+
),
|
|
110
|
+
'timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
111
|
+
});
|
|
112
|
+
const UpgradeJournal = IDL.Record({
|
|
113
|
+
'entries' : IDL.Vec(UpgradeJournalEntry),
|
|
114
|
+
});
|
|
48
115
|
const NeuronId = IDL.Record({ 'id' : IDL.Vec(IDL.Nat8) });
|
|
49
116
|
const Followees = IDL.Record({ 'followees' : IDL.Vec(NeuronId) });
|
|
50
117
|
const DefaultFollowees = IDL.Record({
|
|
@@ -81,15 +148,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
81
148
|
'maturity_modulation_disabled' : IDL.Opt(IDL.Bool),
|
|
82
149
|
'max_number_of_principals_per_neuron' : IDL.Opt(IDL.Nat64),
|
|
83
150
|
});
|
|
84
|
-
const Version = IDL.Record({
|
|
85
|
-
'archive_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
86
|
-
'root_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
87
|
-
'swap_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
88
|
-
'ledger_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
89
|
-
'governance_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
90
|
-
'index_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
91
|
-
});
|
|
92
|
-
const ProposalId = IDL.Record({ 'id' : IDL.Nat64 });
|
|
93
151
|
const RewardEvent = IDL.Record({
|
|
94
152
|
'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
|
|
95
153
|
'actual_timestamp_seconds' : IDL.Nat64,
|
|
@@ -357,11 +415,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
357
415
|
});
|
|
358
416
|
const Governance = IDL.Record({
|
|
359
417
|
'root_canister_id' : IDL.Opt(IDL.Principal),
|
|
418
|
+
'timers' : IDL.Opt(Timers),
|
|
419
|
+
'cached_upgrade_steps' : IDL.Opt(CachedUpgradeSteps),
|
|
360
420
|
'id_to_nervous_system_functions' : IDL.Vec(
|
|
361
421
|
IDL.Tuple(IDL.Nat64, NervousSystemFunction)
|
|
362
422
|
),
|
|
363
423
|
'metrics' : IDL.Opt(GovernanceCachedMetrics),
|
|
364
424
|
'maturity_modulation' : IDL.Opt(MaturityModulation),
|
|
425
|
+
'upgrade_journal' : IDL.Opt(UpgradeJournal),
|
|
365
426
|
'mode' : IDL.Int32,
|
|
366
427
|
'parameters' : IDL.Opt(NervousSystemParameters),
|
|
367
428
|
'is_finalizing_disburse_maturity' : IDL.Opt(IDL.Bool),
|
|
@@ -374,8 +435,8 @@ export const idlFactory = ({ IDL }) => {
|
|
|
374
435
|
'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
|
|
375
436
|
'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Text, NeuronInFlightCommand)),
|
|
376
437
|
'sns_metadata' : IDL.Opt(ManageSnsMetadata),
|
|
377
|
-
'migrated_root_wasm_memory_limit' : IDL.Opt(IDL.Bool),
|
|
378
438
|
'neurons' : IDL.Vec(IDL.Tuple(IDL.Text, Neuron)),
|
|
439
|
+
'target_version' : IDL.Opt(Version),
|
|
379
440
|
'genesis_timestamp_seconds' : IDL.Nat64,
|
|
380
441
|
});
|
|
381
442
|
const AddMaturityRequest = IDL.Record({
|
|
@@ -385,6 +446,10 @@ export const idlFactory = ({ IDL }) => {
|
|
|
385
446
|
const AddMaturityResponse = IDL.Record({
|
|
386
447
|
'new_maturity_e8s' : IDL.Opt(IDL.Nat64),
|
|
387
448
|
});
|
|
449
|
+
const AdvanceTargetVersionRequest = IDL.Record({
|
|
450
|
+
'target_version' : IDL.Opt(Version),
|
|
451
|
+
});
|
|
452
|
+
const AdvanceTargetVersionResponse = IDL.Record({});
|
|
388
453
|
const Principals = IDL.Record({ 'principals' : IDL.Vec(IDL.Principal) });
|
|
389
454
|
const NeuronsFund = IDL.Record({
|
|
390
455
|
'nns_neuron_hotkeys' : IDL.Opt(Principals),
|
|
@@ -470,6 +535,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
470
535
|
const GetSnsInitializationParametersResponse = IDL.Record({
|
|
471
536
|
'sns_initialization_parameters' : IDL.Text,
|
|
472
537
|
});
|
|
538
|
+
const GetTimersResponse = IDL.Record({ 'timers' : IDL.Opt(Timers) });
|
|
539
|
+
const GetUpgradeJournalRequest = IDL.Record({});
|
|
540
|
+
const GetUpgradeJournalResponse = IDL.Record({
|
|
541
|
+
'upgrade_journal' : IDL.Opt(UpgradeJournal),
|
|
542
|
+
'upgrade_steps' : IDL.Opt(Versions),
|
|
543
|
+
'response_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
544
|
+
'target_version' : IDL.Opt(Version),
|
|
545
|
+
});
|
|
473
546
|
const ListNervousSystemFunctionsResponse = IDL.Record({
|
|
474
547
|
'reserved_ids' : IDL.Vec(IDL.Nat64),
|
|
475
548
|
'functions' : IDL.Vec(NervousSystemFunction),
|
|
@@ -552,6 +625,11 @@ export const idlFactory = ({ IDL }) => {
|
|
|
552
625
|
const SetMode = IDL.Record({ 'mode' : IDL.Int32 });
|
|
553
626
|
return IDL.Service({
|
|
554
627
|
'add_maturity' : IDL.Func([AddMaturityRequest], [AddMaturityResponse], []),
|
|
628
|
+
'advance_target_version' : IDL.Func(
|
|
629
|
+
[AdvanceTargetVersionRequest],
|
|
630
|
+
[AdvanceTargetVersionResponse],
|
|
631
|
+
[],
|
|
632
|
+
),
|
|
555
633
|
'claim_swap_neurons' : IDL.Func(
|
|
556
634
|
[ClaimSwapNeuronsRequest],
|
|
557
635
|
[ClaimSwapNeuronsResponse],
|
|
@@ -597,6 +675,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
597
675
|
[GetSnsInitializationParametersResponse],
|
|
598
676
|
['query'],
|
|
599
677
|
),
|
|
678
|
+
'get_timers' : IDL.Func([IDL.Record({})], [GetTimersResponse], ['query']),
|
|
679
|
+
'get_upgrade_journal' : IDL.Func(
|
|
680
|
+
[GetUpgradeJournalRequest],
|
|
681
|
+
[GetUpgradeJournalResponse],
|
|
682
|
+
['query'],
|
|
683
|
+
),
|
|
600
684
|
'list_nervous_system_functions' : IDL.Func(
|
|
601
685
|
[],
|
|
602
686
|
[ListNervousSystemFunctionsResponse],
|
|
@@ -610,11 +694,31 @@ export const idlFactory = ({ IDL }) => {
|
|
|
610
694
|
),
|
|
611
695
|
'manage_neuron' : IDL.Func([ManageNeuron], [ManageNeuronResponse], []),
|
|
612
696
|
'mint_tokens' : IDL.Func([MintTokensRequest], [IDL.Record({})], []),
|
|
697
|
+
'reset_timers' : IDL.Func([IDL.Record({})], [IDL.Record({})], []),
|
|
613
698
|
'set_mode' : IDL.Func([SetMode], [IDL.Record({})], []),
|
|
614
699
|
'update_neuron' : IDL.Func([Neuron], [IDL.Opt(GovernanceError)], []),
|
|
615
700
|
});
|
|
616
701
|
};
|
|
617
702
|
export const init = ({ IDL }) => {
|
|
703
|
+
const Timers = IDL.Record({
|
|
704
|
+
'last_spawned_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
705
|
+
'last_reset_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
706
|
+
'requires_periodic_tasks' : IDL.Opt(IDL.Bool),
|
|
707
|
+
});
|
|
708
|
+
const Version = IDL.Record({
|
|
709
|
+
'archive_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
710
|
+
'root_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
711
|
+
'swap_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
712
|
+
'ledger_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
713
|
+
'governance_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
714
|
+
'index_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
715
|
+
});
|
|
716
|
+
const Versions = IDL.Record({ 'versions' : IDL.Vec(Version) });
|
|
717
|
+
const CachedUpgradeSteps = IDL.Record({
|
|
718
|
+
'upgrade_steps' : IDL.Opt(Versions),
|
|
719
|
+
'response_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
720
|
+
'requested_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
721
|
+
});
|
|
618
722
|
const GenericNervousSystemFunction = IDL.Record({
|
|
619
723
|
'validator_canister_id' : IDL.Opt(IDL.Principal),
|
|
620
724
|
'target_canister_id' : IDL.Opt(IDL.Principal),
|
|
@@ -660,6 +764,54 @@ export const init = ({ IDL }) => {
|
|
|
660
764
|
'current_basis_points' : IDL.Opt(IDL.Int32),
|
|
661
765
|
'updated_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
662
766
|
});
|
|
767
|
+
const TargetVersionSet = IDL.Record({
|
|
768
|
+
'old_target_version' : IDL.Opt(Version),
|
|
769
|
+
'new_target_version' : IDL.Opt(Version),
|
|
770
|
+
});
|
|
771
|
+
const UpgradeOutcome = IDL.Record({
|
|
772
|
+
'status' : IDL.Opt(
|
|
773
|
+
IDL.Variant({
|
|
774
|
+
'Success' : IDL.Record({}),
|
|
775
|
+
'Timeout' : IDL.Record({}),
|
|
776
|
+
'ExternalFailure' : IDL.Record({}),
|
|
777
|
+
'InvalidState' : IDL.Record({ 'version' : IDL.Opt(Version) }),
|
|
778
|
+
})
|
|
779
|
+
),
|
|
780
|
+
'human_readable' : IDL.Opt(IDL.Text),
|
|
781
|
+
});
|
|
782
|
+
const ProposalId = IDL.Record({ 'id' : IDL.Nat64 });
|
|
783
|
+
const UpgradeStarted = IDL.Record({
|
|
784
|
+
'current_version' : IDL.Opt(Version),
|
|
785
|
+
'expected_version' : IDL.Opt(Version),
|
|
786
|
+
'reason' : IDL.Opt(
|
|
787
|
+
IDL.Variant({
|
|
788
|
+
'UpgradeSnsToNextVersionProposal' : ProposalId,
|
|
789
|
+
'BehindTargetVersion' : IDL.Record({}),
|
|
790
|
+
})
|
|
791
|
+
),
|
|
792
|
+
});
|
|
793
|
+
const UpgradeStepsRefreshed = IDL.Record({
|
|
794
|
+
'upgrade_steps' : IDL.Opt(Versions),
|
|
795
|
+
});
|
|
796
|
+
const TargetVersionReset = IDL.Record({
|
|
797
|
+
'old_target_version' : IDL.Opt(Version),
|
|
798
|
+
'new_target_version' : IDL.Opt(Version),
|
|
799
|
+
});
|
|
800
|
+
const UpgradeJournalEntry = IDL.Record({
|
|
801
|
+
'event' : IDL.Opt(
|
|
802
|
+
IDL.Variant({
|
|
803
|
+
'TargetVersionSet' : TargetVersionSet,
|
|
804
|
+
'UpgradeOutcome' : UpgradeOutcome,
|
|
805
|
+
'UpgradeStarted' : UpgradeStarted,
|
|
806
|
+
'UpgradeStepsRefreshed' : UpgradeStepsRefreshed,
|
|
807
|
+
'TargetVersionReset' : TargetVersionReset,
|
|
808
|
+
})
|
|
809
|
+
),
|
|
810
|
+
'timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
811
|
+
});
|
|
812
|
+
const UpgradeJournal = IDL.Record({
|
|
813
|
+
'entries' : IDL.Vec(UpgradeJournalEntry),
|
|
814
|
+
});
|
|
663
815
|
const NeuronId = IDL.Record({ 'id' : IDL.Vec(IDL.Nat8) });
|
|
664
816
|
const Followees = IDL.Record({ 'followees' : IDL.Vec(NeuronId) });
|
|
665
817
|
const DefaultFollowees = IDL.Record({
|
|
@@ -696,15 +848,6 @@ export const init = ({ IDL }) => {
|
|
|
696
848
|
'maturity_modulation_disabled' : IDL.Opt(IDL.Bool),
|
|
697
849
|
'max_number_of_principals_per_neuron' : IDL.Opt(IDL.Nat64),
|
|
698
850
|
});
|
|
699
|
-
const Version = IDL.Record({
|
|
700
|
-
'archive_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
701
|
-
'root_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
702
|
-
'swap_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
703
|
-
'ledger_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
704
|
-
'governance_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
705
|
-
'index_wasm_hash' : IDL.Vec(IDL.Nat8),
|
|
706
|
-
});
|
|
707
|
-
const ProposalId = IDL.Record({ 'id' : IDL.Nat64 });
|
|
708
851
|
const RewardEvent = IDL.Record({
|
|
709
852
|
'rounds_since_last_distribution' : IDL.Opt(IDL.Nat64),
|
|
710
853
|
'actual_timestamp_seconds' : IDL.Nat64,
|
|
@@ -972,11 +1115,14 @@ export const init = ({ IDL }) => {
|
|
|
972
1115
|
});
|
|
973
1116
|
const Governance = IDL.Record({
|
|
974
1117
|
'root_canister_id' : IDL.Opt(IDL.Principal),
|
|
1118
|
+
'timers' : IDL.Opt(Timers),
|
|
1119
|
+
'cached_upgrade_steps' : IDL.Opt(CachedUpgradeSteps),
|
|
975
1120
|
'id_to_nervous_system_functions' : IDL.Vec(
|
|
976
1121
|
IDL.Tuple(IDL.Nat64, NervousSystemFunction)
|
|
977
1122
|
),
|
|
978
1123
|
'metrics' : IDL.Opt(GovernanceCachedMetrics),
|
|
979
1124
|
'maturity_modulation' : IDL.Opt(MaturityModulation),
|
|
1125
|
+
'upgrade_journal' : IDL.Opt(UpgradeJournal),
|
|
980
1126
|
'mode' : IDL.Int32,
|
|
981
1127
|
'parameters' : IDL.Opt(NervousSystemParameters),
|
|
982
1128
|
'is_finalizing_disburse_maturity' : IDL.Opt(IDL.Bool),
|
|
@@ -989,8 +1135,8 @@ export const init = ({ IDL }) => {
|
|
|
989
1135
|
'proposals' : IDL.Vec(IDL.Tuple(IDL.Nat64, ProposalData)),
|
|
990
1136
|
'in_flight_commands' : IDL.Vec(IDL.Tuple(IDL.Text, NeuronInFlightCommand)),
|
|
991
1137
|
'sns_metadata' : IDL.Opt(ManageSnsMetadata),
|
|
992
|
-
'migrated_root_wasm_memory_limit' : IDL.Opt(IDL.Bool),
|
|
993
1138
|
'neurons' : IDL.Vec(IDL.Tuple(IDL.Text, Neuron)),
|
|
1139
|
+
'target_version' : IDL.Opt(Version),
|
|
994
1140
|
'genesis_timestamp_seconds' : IDL.Nat64,
|
|
995
1141
|
});
|
|
996
1142
|
return [Governance];
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
/* Do not edit. Compiled with ./scripts/compile-idl-js from packages/sns/candid/sns_root.did */
|
|
2
2
|
export const idlFactory = ({ IDL }) => {
|
|
3
|
+
const Timers = IDL.Record({
|
|
4
|
+
'last_spawned_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
5
|
+
'last_reset_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
6
|
+
'requires_periodic_tasks' : IDL.Opt(IDL.Bool),
|
|
7
|
+
});
|
|
3
8
|
const SnsRootCanister = IDL.Record({
|
|
4
9
|
'dapp_canister_ids' : IDL.Vec(IDL.Principal),
|
|
10
|
+
'timers' : IDL.Opt(Timers),
|
|
5
11
|
'testflight' : IDL.Bool,
|
|
6
12
|
'archive_canister_ids' : IDL.Vec(IDL.Principal),
|
|
7
13
|
'governance_canister_id' : IDL.Opt(IDL.Principal),
|
|
@@ -82,6 +88,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
82
88
|
'dapps' : IDL.Vec(CanisterSummary),
|
|
83
89
|
'archives' : IDL.Vec(CanisterSummary),
|
|
84
90
|
});
|
|
91
|
+
const GetTimersResponse = IDL.Record({ 'timers' : IDL.Opt(Timers) });
|
|
85
92
|
const ListSnsCanistersResponse = IDL.Record({
|
|
86
93
|
'root' : IDL.Opt(IDL.Principal),
|
|
87
94
|
'swap' : IDL.Opt(IDL.Principal),
|
|
@@ -137,6 +144,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
137
144
|
[GetSnsCanistersSummaryResponse],
|
|
138
145
|
[],
|
|
139
146
|
),
|
|
147
|
+
'get_timers' : IDL.Func([IDL.Record({})], [GetTimersResponse], []),
|
|
140
148
|
'list_sns_canisters' : IDL.Func(
|
|
141
149
|
[IDL.Record({})],
|
|
142
150
|
[ListSnsCanistersResponse],
|
|
@@ -157,6 +165,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
157
165
|
[IDL.Record({})],
|
|
158
166
|
[],
|
|
159
167
|
),
|
|
168
|
+
'reset_timers' : IDL.Func([IDL.Record({})], [IDL.Record({})], []),
|
|
160
169
|
'set_dapp_controllers' : IDL.Func(
|
|
161
170
|
[SetDappControllersRequest],
|
|
162
171
|
[SetDappControllersResponse],
|
|
@@ -165,8 +174,14 @@ export const idlFactory = ({ IDL }) => {
|
|
|
165
174
|
});
|
|
166
175
|
};
|
|
167
176
|
export const init = ({ IDL }) => {
|
|
177
|
+
const Timers = IDL.Record({
|
|
178
|
+
'last_spawned_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
179
|
+
'last_reset_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
180
|
+
'requires_periodic_tasks' : IDL.Opt(IDL.Bool),
|
|
181
|
+
});
|
|
168
182
|
const SnsRootCanister = IDL.Record({
|
|
169
183
|
'dapp_canister_ids' : IDL.Vec(IDL.Principal),
|
|
184
|
+
'timers' : IDL.Opt(Timers),
|
|
170
185
|
'testflight' : IDL.Bool,
|
|
171
186
|
'archive_canister_ids' : IDL.Vec(IDL.Principal),
|
|
172
187
|
'governance_canister_id' : IDL.Opt(IDL.Principal),
|
|
@@ -79,6 +79,9 @@ export interface GetSnsCanistersSummaryResponse {
|
|
|
79
79
|
dapps: Array<CanisterSummary>;
|
|
80
80
|
archives: Array<CanisterSummary>;
|
|
81
81
|
}
|
|
82
|
+
export interface GetTimersResponse {
|
|
83
|
+
timers: [] | [Timers];
|
|
84
|
+
}
|
|
82
85
|
export interface ListSnsCanistersResponse {
|
|
83
86
|
root: [] | [Principal];
|
|
84
87
|
swap: [] | [Principal];
|
|
@@ -116,6 +119,7 @@ export interface SetDappControllersResponse {
|
|
|
116
119
|
}
|
|
117
120
|
export interface SnsRootCanister {
|
|
118
121
|
dapp_canister_ids: Array<Principal>;
|
|
122
|
+
timers: [] | [Timers];
|
|
119
123
|
testflight: boolean;
|
|
120
124
|
archive_canister_ids: Array<Principal>;
|
|
121
125
|
governance_canister_id: [] | [Principal];
|
|
@@ -123,6 +127,11 @@ export interface SnsRootCanister {
|
|
|
123
127
|
swap_canister_id: [] | [Principal];
|
|
124
128
|
ledger_canister_id: [] | [Principal];
|
|
125
129
|
}
|
|
130
|
+
export interface Timers {
|
|
131
|
+
last_spawned_timestamp_seconds: [] | [bigint];
|
|
132
|
+
last_reset_timestamp_seconds: [] | [bigint];
|
|
133
|
+
requires_periodic_tasks: [] | [boolean];
|
|
134
|
+
}
|
|
126
135
|
export interface _SERVICE {
|
|
127
136
|
canister_status: ActorMethod<[CanisterIdRecord], CanisterStatusResult>;
|
|
128
137
|
change_canister: ActorMethod<[ChangeCanisterRequest], undefined>;
|
|
@@ -131,6 +140,7 @@ export interface _SERVICE {
|
|
|
131
140
|
[GetSnsCanistersSummaryRequest],
|
|
132
141
|
GetSnsCanistersSummaryResponse
|
|
133
142
|
>;
|
|
143
|
+
get_timers: ActorMethod<[{}], GetTimersResponse>;
|
|
134
144
|
list_sns_canisters: ActorMethod<[{}], ListSnsCanistersResponse>;
|
|
135
145
|
manage_dapp_canister_settings: ActorMethod<
|
|
136
146
|
[ManageDappCanisterSettingsRequest],
|
|
@@ -138,6 +148,7 @@ export interface _SERVICE {
|
|
|
138
148
|
>;
|
|
139
149
|
register_dapp_canister: ActorMethod<[RegisterDappCanisterRequest], {}>;
|
|
140
150
|
register_dapp_canisters: ActorMethod<[RegisterDappCanistersRequest], {}>;
|
|
151
|
+
reset_timers: ActorMethod<[{}], {}>;
|
|
141
152
|
set_dapp_controllers: ActorMethod<
|
|
142
153
|
[SetDappControllersRequest],
|
|
143
154
|
SetDappControllersResponse
|