@dfinity/nns 5.1.2 → 5.2.0-next-2024-07-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/README.md +48 -35
- package/dist/candid/genesis_token.did +1 -1
- package/dist/candid/governance.certified.idl.js +145 -21
- package/dist/candid/governance.d.ts +71 -6
- package/dist/candid/governance.did +64 -5
- package/dist/candid/governance.idl.js +145 -21
- package/dist/candid/governance_test.certified.idl.js +145 -21
- package/dist/candid/governance_test.d.ts +71 -6
- package/dist/candid/governance_test.did +64 -5
- package/dist/candid/governance_test.idl.js +145 -21
- package/dist/candid/old_list_neurons_service.certified.idl.d.ts +2 -0
- package/dist/candid/old_list_neurons_service.certified.idl.js +78 -0
- package/dist/candid/sns_wasm.certified.idl.js +3 -0
- package/dist/candid/sns_wasm.d.ts +5 -0
- package/dist/candid/sns_wasm.did +4 -1
- package/dist/candid/sns_wasm.idl.js +3 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +4 -4
- package/dist/esm/chunk-R4CH4PKK.js +2 -0
- package/dist/esm/chunk-R4CH4PKK.js.map +7 -0
- package/dist/esm/chunk-REL225EW.js +19 -0
- package/dist/esm/chunk-REL225EW.js.map +7 -0
- package/dist/esm/governance.canister.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +3 -3
- package/dist/esm/sns_wasm.canister.js +1 -1
- package/dist/types/canisters/governance/request.converters.d.ts +9 -2
- package/dist/types/canisters/governance/response.converters.d.ts +8 -1
- package/dist/types/enums/governance.enums.d.ts +18 -1
- package/dist/types/governance.canister.d.ts +11 -2
- package/dist/types/governance_test.canister.d.ts +2 -1
- package/dist/types/types/governance.options.d.ts +2 -0
- package/dist/types/types/governance_converters.d.ts +43 -1
- package/package.json +7 -7
- package/dist/esm/chunk-AN6DZS5M.js +0 -19
- package/dist/esm/chunk-AN6DZS5M.js.map +0 -7
- package/dist/esm/chunk-RRSEQTKA.js +0 -2
- package/dist/esm/chunk-RRSEQTKA.js.map +0 -7
|
@@ -41,6 +41,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
41
41
|
const IncreaseDissolveDelay = IDL.Record({
|
|
42
42
|
'additional_dissolve_delay_seconds' : IDL.Nat32,
|
|
43
43
|
});
|
|
44
|
+
const SetVisibility = IDL.Record({ 'visibility' : IDL.Opt(IDL.Int32) });
|
|
44
45
|
const SetDissolveTimestamp = IDL.Record({
|
|
45
46
|
'dissolve_timestamp_seconds' : IDL.Nat64,
|
|
46
47
|
});
|
|
@@ -51,6 +52,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
51
52
|
'StopDissolving' : IDL.Record({}),
|
|
52
53
|
'StartDissolving' : IDL.Record({}),
|
|
53
54
|
'IncreaseDissolveDelay' : IncreaseDissolveDelay,
|
|
55
|
+
'SetVisibility' : SetVisibility,
|
|
54
56
|
'JoinCommunityFund' : IDL.Record({}),
|
|
55
57
|
'LeaveCommunityFund' : IDL.Record({}),
|
|
56
58
|
'SetDissolveTimestamp' : SetDissolveTimestamp,
|
|
@@ -101,6 +103,30 @@ export const idlFactory = ({ IDL }) => {
|
|
|
101
103
|
'command' : IDL.Opt(Command),
|
|
102
104
|
'neuron_id_or_subaccount' : IDL.Opt(NeuronIdOrSubaccount),
|
|
103
105
|
});
|
|
106
|
+
const Controllers = IDL.Record({ 'controllers' : IDL.Vec(IDL.Principal) });
|
|
107
|
+
const CanisterSettings = IDL.Record({
|
|
108
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
109
|
+
'controllers' : IDL.Opt(Controllers),
|
|
110
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
111
|
+
'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
|
|
112
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
113
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
114
|
+
});
|
|
115
|
+
const UpdateCanisterSettings = IDL.Record({
|
|
116
|
+
'canister_id' : IDL.Opt(IDL.Principal),
|
|
117
|
+
'settings' : IDL.Opt(CanisterSettings),
|
|
118
|
+
});
|
|
119
|
+
const InstallCode = IDL.Record({
|
|
120
|
+
'arg' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
121
|
+
'wasm_module' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
122
|
+
'skip_stopping_before_installing' : IDL.Opt(IDL.Bool),
|
|
123
|
+
'canister_id' : IDL.Opt(IDL.Principal),
|
|
124
|
+
'install_mode' : IDL.Opt(IDL.Int32),
|
|
125
|
+
});
|
|
126
|
+
const StopOrStartCanister = IDL.Record({
|
|
127
|
+
'action' : IDL.Opt(IDL.Int32),
|
|
128
|
+
'canister_id' : IDL.Opt(IDL.Principal),
|
|
129
|
+
});
|
|
104
130
|
const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
|
|
105
131
|
const Duration = IDL.Record({ 'seconds' : IDL.Opt(IDL.Nat64) });
|
|
106
132
|
const Tokens = IDL.Record({ 'e8s' : IDL.Opt(IDL.Nat64) });
|
|
@@ -271,9 +297,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
271
297
|
'maximum_node_provider_rewards_e8s' : IDL.Nat64,
|
|
272
298
|
'neurons_fund_economics' : IDL.Opt(NeuronsFundEconomics),
|
|
273
299
|
});
|
|
274
|
-
const
|
|
275
|
-
'principals' : IDL.Vec(IDL.Principal),
|
|
276
|
-
});
|
|
300
|
+
const Principals = IDL.Record({ 'principals' : IDL.Vec(IDL.Principal) });
|
|
277
301
|
const Change = IDL.Variant({
|
|
278
302
|
'ToRemove' : NodeProvider,
|
|
279
303
|
'ToAdd' : NodeProvider,
|
|
@@ -283,6 +307,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
283
307
|
const Action = IDL.Variant({
|
|
284
308
|
'RegisterKnownNeuron' : KnownNeuron,
|
|
285
309
|
'ManageNeuron' : ManageNeuron,
|
|
310
|
+
'UpdateCanisterSettings' : UpdateCanisterSettings,
|
|
311
|
+
'InstallCode' : InstallCode,
|
|
312
|
+
'StopOrStartCanister' : StopOrStartCanister,
|
|
286
313
|
'CreateServiceNervousSystem' : CreateServiceNervousSystem,
|
|
287
314
|
'ExecuteNnsFunction' : ExecuteNnsFunction,
|
|
288
315
|
'RewardNodeProvider' : RewardNodeProvider,
|
|
@@ -291,7 +318,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
291
318
|
'SetDefaultFollowees' : SetDefaultFollowees,
|
|
292
319
|
'RewardNodeProviders' : RewardNodeProviders,
|
|
293
320
|
'ManageNetworkEconomics' : NetworkEconomics,
|
|
294
|
-
'ApproveGenesisKyc' :
|
|
321
|
+
'ApproveGenesisKyc' : Principals,
|
|
295
322
|
'AddOrRemoveNodeProvider' : AddOrRemoveNodeProvider,
|
|
296
323
|
'Motion' : Motion,
|
|
297
324
|
});
|
|
@@ -308,9 +335,34 @@ export const idlFactory = ({ IDL }) => {
|
|
|
308
335
|
'caller' : IDL.Opt(IDL.Principal),
|
|
309
336
|
'proposer_id' : IDL.Opt(NeuronId),
|
|
310
337
|
});
|
|
311
|
-
const
|
|
338
|
+
const XdrConversionRate = IDL.Record({
|
|
339
|
+
'xdr_permyriad_per_icp' : IDL.Opt(IDL.Nat64),
|
|
340
|
+
'timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
341
|
+
});
|
|
342
|
+
const MonthlyNodeProviderRewards = IDL.Record({
|
|
343
|
+
'minimum_xdr_permyriad_per_icp' : IDL.Opt(IDL.Nat64),
|
|
344
|
+
'registry_version' : IDL.Opt(IDL.Nat64),
|
|
345
|
+
'node_providers' : IDL.Vec(NodeProvider),
|
|
312
346
|
'timestamp' : IDL.Nat64,
|
|
313
347
|
'rewards' : IDL.Vec(RewardNodeProvider),
|
|
348
|
+
'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
|
|
349
|
+
'maximum_node_provider_rewards_e8s' : IDL.Opt(IDL.Nat64),
|
|
350
|
+
});
|
|
351
|
+
const NeuronSubsetMetrics = IDL.Record({
|
|
352
|
+
'total_maturity_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
353
|
+
'maturity_e8s_equivalent_buckets' : IDL.Vec(
|
|
354
|
+
IDL.Tuple(IDL.Nat64, IDL.Nat64)
|
|
355
|
+
),
|
|
356
|
+
'voting_power_buckets' : IDL.Vec(IDL.Tuple(IDL.Nat64, IDL.Nat64)),
|
|
357
|
+
'total_staked_e8s' : IDL.Opt(IDL.Nat64),
|
|
358
|
+
'count' : IDL.Opt(IDL.Nat64),
|
|
359
|
+
'total_staked_maturity_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
360
|
+
'staked_maturity_e8s_equivalent_buckets' : IDL.Vec(
|
|
361
|
+
IDL.Tuple(IDL.Nat64, IDL.Nat64)
|
|
362
|
+
),
|
|
363
|
+
'staked_e8s_buckets' : IDL.Vec(IDL.Tuple(IDL.Nat64, IDL.Nat64)),
|
|
364
|
+
'total_voting_power' : IDL.Opt(IDL.Nat64),
|
|
365
|
+
'count_buckets' : IDL.Vec(IDL.Tuple(IDL.Nat64, IDL.Nat64)),
|
|
314
366
|
});
|
|
315
367
|
const GovernanceCachedMetrics = IDL.Record({
|
|
316
368
|
'total_maturity_e8s_equivalent' : IDL.Nat64,
|
|
@@ -337,6 +389,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
337
389
|
'not_dissolving_neurons_count' : IDL.Nat64,
|
|
338
390
|
'total_locked_e8s' : IDL.Nat64,
|
|
339
391
|
'neurons_fund_total_active_neurons' : IDL.Nat64,
|
|
392
|
+
'total_voting_power_non_self_authenticating_controller' : IDL.Opt(
|
|
393
|
+
IDL.Nat64
|
|
394
|
+
),
|
|
340
395
|
'total_staked_maturity_e8s_equivalent' : IDL.Nat64,
|
|
341
396
|
'not_dissolving_neurons_e8s_buckets_ect' : IDL.Vec(
|
|
342
397
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
@@ -344,6 +399,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
344
399
|
'total_staked_e8s_ect' : IDL.Nat64,
|
|
345
400
|
'not_dissolving_neurons_staked_maturity_e8s_equivalent_sum' : IDL.Nat64,
|
|
346
401
|
'dissolved_neurons_e8s' : IDL.Nat64,
|
|
402
|
+
'total_staked_e8s_non_self_authenticating_controller' : IDL.Opt(IDL.Nat64),
|
|
347
403
|
'dissolving_neurons_e8s_buckets_seed' : IDL.Vec(
|
|
348
404
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
349
405
|
),
|
|
@@ -357,6 +413,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
357
413
|
'dissolving_neurons_e8s_buckets_ect' : IDL.Vec(
|
|
358
414
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
359
415
|
),
|
|
416
|
+
'non_self_authenticating_controller_neuron_subset_metrics' : IDL.Opt(
|
|
417
|
+
NeuronSubsetMetrics
|
|
418
|
+
),
|
|
360
419
|
'dissolving_neurons_count' : IDL.Nat64,
|
|
361
420
|
'dissolving_neurons_e8s_buckets' : IDL.Vec(
|
|
362
421
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
@@ -417,10 +476,12 @@ export const idlFactory = ({ IDL }) => {
|
|
|
417
476
|
});
|
|
418
477
|
const CfNeuron = IDL.Record({
|
|
419
478
|
'has_created_neuron_recipes' : IDL.Opt(IDL.Bool),
|
|
479
|
+
'hotkeys' : IDL.Opt(Principals),
|
|
420
480
|
'nns_neuron_id' : IDL.Nat64,
|
|
421
481
|
'amount_icp_e8s' : IDL.Nat64,
|
|
422
482
|
});
|
|
423
483
|
const CfParticipant = IDL.Record({
|
|
484
|
+
'controller' : IDL.Opt(IDL.Principal),
|
|
424
485
|
'hotkey_principal' : IDL.Text,
|
|
425
486
|
'cf_neurons' : IDL.Vec(CfNeuron),
|
|
426
487
|
});
|
|
@@ -432,7 +493,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
432
493
|
'max_direct_participation_icp_e8s' : IDL.Opt(IDL.Nat64),
|
|
433
494
|
});
|
|
434
495
|
const NeuronsFundNeuronPortion = IDL.Record({
|
|
496
|
+
'controller' : IDL.Opt(IDL.Principal),
|
|
435
497
|
'hotkey_principal' : IDL.Opt(IDL.Principal),
|
|
498
|
+
'hotkeys' : IDL.Vec(IDL.Principal),
|
|
436
499
|
'is_capped' : IDL.Opt(IDL.Bool),
|
|
437
500
|
'maturity_equivalent_icp_e8s' : IDL.Opt(IDL.Nat64),
|
|
438
501
|
'nns_neuron_id' : IDL.Opt(NeuronId),
|
|
@@ -518,10 +581,6 @@ export const idlFactory = ({ IDL }) => {
|
|
|
518
581
|
IDL.Nat64
|
|
519
582
|
),
|
|
520
583
|
});
|
|
521
|
-
const XdrConversionRate = IDL.Record({
|
|
522
|
-
'xdr_permyriad_per_icp' : IDL.Opt(IDL.Nat64),
|
|
523
|
-
'timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
524
|
-
});
|
|
525
584
|
const Command_2 = IDL.Variant({
|
|
526
585
|
'Spawn' : NeuronId,
|
|
527
586
|
'Split' : Split,
|
|
@@ -564,6 +623,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
564
623
|
'dissolve_state' : IDL.Opt(DissolveState),
|
|
565
624
|
'followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
|
|
566
625
|
'neuron_fees_e8s' : IDL.Nat64,
|
|
626
|
+
'visibility' : IDL.Opt(IDL.Int32),
|
|
567
627
|
'transfer' : IDL.Opt(NeuronStakeTransfer),
|
|
568
628
|
'known_neuron_data' : IDL.Opt(KnownNeuronData),
|
|
569
629
|
'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
@@ -572,7 +632,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
572
632
|
'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
|
|
573
633
|
'making_sns_proposal' : IDL.Opt(MakingSnsProposal),
|
|
574
634
|
'most_recent_monthly_node_provider_rewards' : IDL.Opt(
|
|
575
|
-
|
|
635
|
+
MonthlyNodeProviderRewards
|
|
576
636
|
),
|
|
577
637
|
'maturity_modulation_last_updated_at_timestamp_seconds' : IDL.Opt(
|
|
578
638
|
IDL.Nat64
|
|
@@ -622,6 +682,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
622
682
|
'stake_e8s' : IDL.Nat64,
|
|
623
683
|
'joined_community_fund_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
624
684
|
'retrieved_at_timestamp_seconds' : IDL.Nat64,
|
|
685
|
+
'visibility' : IDL.Opt(IDL.Int32),
|
|
625
686
|
'known_neuron_data' : IDL.Opt(KnownNeuronData),
|
|
626
687
|
'voting_power' : IDL.Nat64,
|
|
627
688
|
'age_seconds' : IDL.Nat64,
|
|
@@ -670,6 +731,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
670
731
|
});
|
|
671
732
|
const ListNeurons = IDL.Record({
|
|
672
733
|
'neuron_ids' : IDL.Vec(IDL.Nat64),
|
|
734
|
+
'include_empty_neurons_readable_by_caller' : IDL.Opt(IDL.Bool),
|
|
673
735
|
'include_neurons_readable_by_caller' : IDL.Bool,
|
|
674
736
|
});
|
|
675
737
|
const ListNeuronsResponse = IDL.Record({
|
|
@@ -757,7 +819,9 @@ export const idlFactory = ({ IDL }) => {
|
|
|
757
819
|
'nns_proposal_id' : IDL.Opt(IDL.Nat64),
|
|
758
820
|
});
|
|
759
821
|
const NeuronsFundNeuron = IDL.Record({
|
|
822
|
+
'controller' : IDL.Opt(IDL.Principal),
|
|
760
823
|
'hotkey_principal' : IDL.Opt(IDL.Text),
|
|
824
|
+
'hotkeys' : IDL.Opt(Principals),
|
|
761
825
|
'is_capped' : IDL.Opt(IDL.Bool),
|
|
762
826
|
'nns_neuron_id' : IDL.Opt(IDL.Nat64),
|
|
763
827
|
'amount_icp_e8s' : IDL.Opt(IDL.Nat64),
|
|
@@ -795,7 +859,7 @@ export const idlFactory = ({ IDL }) => {
|
|
|
795
859
|
'get_monthly_node_provider_rewards' : IDL.Func([], [Result_4], []),
|
|
796
860
|
'get_most_recent_monthly_node_provider_rewards' : IDL.Func(
|
|
797
861
|
[],
|
|
798
|
-
[IDL.Opt(
|
|
862
|
+
[IDL.Opt(MonthlyNodeProviderRewards)],
|
|
799
863
|
[],
|
|
800
864
|
),
|
|
801
865
|
'get_network_economics_parameters' : IDL.Func([], [NetworkEconomics], []),
|
|
@@ -885,6 +949,7 @@ export const init = ({ IDL }) => {
|
|
|
885
949
|
const IncreaseDissolveDelay = IDL.Record({
|
|
886
950
|
'additional_dissolve_delay_seconds' : IDL.Nat32,
|
|
887
951
|
});
|
|
952
|
+
const SetVisibility = IDL.Record({ 'visibility' : IDL.Opt(IDL.Int32) });
|
|
888
953
|
const SetDissolveTimestamp = IDL.Record({
|
|
889
954
|
'dissolve_timestamp_seconds' : IDL.Nat64,
|
|
890
955
|
});
|
|
@@ -895,6 +960,7 @@ export const init = ({ IDL }) => {
|
|
|
895
960
|
'StopDissolving' : IDL.Record({}),
|
|
896
961
|
'StartDissolving' : IDL.Record({}),
|
|
897
962
|
'IncreaseDissolveDelay' : IncreaseDissolveDelay,
|
|
963
|
+
'SetVisibility' : SetVisibility,
|
|
898
964
|
'JoinCommunityFund' : IDL.Record({}),
|
|
899
965
|
'LeaveCommunityFund' : IDL.Record({}),
|
|
900
966
|
'SetDissolveTimestamp' : SetDissolveTimestamp,
|
|
@@ -945,6 +1011,30 @@ export const init = ({ IDL }) => {
|
|
|
945
1011
|
'command' : IDL.Opt(Command),
|
|
946
1012
|
'neuron_id_or_subaccount' : IDL.Opt(NeuronIdOrSubaccount),
|
|
947
1013
|
});
|
|
1014
|
+
const Controllers = IDL.Record({ 'controllers' : IDL.Vec(IDL.Principal) });
|
|
1015
|
+
const CanisterSettings = IDL.Record({
|
|
1016
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
1017
|
+
'controllers' : IDL.Opt(Controllers),
|
|
1018
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
1019
|
+
'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
|
|
1020
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
1021
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
1022
|
+
});
|
|
1023
|
+
const UpdateCanisterSettings = IDL.Record({
|
|
1024
|
+
'canister_id' : IDL.Opt(IDL.Principal),
|
|
1025
|
+
'settings' : IDL.Opt(CanisterSettings),
|
|
1026
|
+
});
|
|
1027
|
+
const InstallCode = IDL.Record({
|
|
1028
|
+
'arg' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
1029
|
+
'wasm_module' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
1030
|
+
'skip_stopping_before_installing' : IDL.Opt(IDL.Bool),
|
|
1031
|
+
'canister_id' : IDL.Opt(IDL.Principal),
|
|
1032
|
+
'install_mode' : IDL.Opt(IDL.Int32),
|
|
1033
|
+
});
|
|
1034
|
+
const StopOrStartCanister = IDL.Record({
|
|
1035
|
+
'action' : IDL.Opt(IDL.Int32),
|
|
1036
|
+
'canister_id' : IDL.Opt(IDL.Principal),
|
|
1037
|
+
});
|
|
948
1038
|
const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
|
|
949
1039
|
const Duration = IDL.Record({ 'seconds' : IDL.Opt(IDL.Nat64) });
|
|
950
1040
|
const Tokens = IDL.Record({ 'e8s' : IDL.Opt(IDL.Nat64) });
|
|
@@ -1115,9 +1205,7 @@ export const init = ({ IDL }) => {
|
|
|
1115
1205
|
'maximum_node_provider_rewards_e8s' : IDL.Nat64,
|
|
1116
1206
|
'neurons_fund_economics' : IDL.Opt(NeuronsFundEconomics),
|
|
1117
1207
|
});
|
|
1118
|
-
const
|
|
1119
|
-
'principals' : IDL.Vec(IDL.Principal),
|
|
1120
|
-
});
|
|
1208
|
+
const Principals = IDL.Record({ 'principals' : IDL.Vec(IDL.Principal) });
|
|
1121
1209
|
const Change = IDL.Variant({
|
|
1122
1210
|
'ToRemove' : NodeProvider,
|
|
1123
1211
|
'ToAdd' : NodeProvider,
|
|
@@ -1127,6 +1215,9 @@ export const init = ({ IDL }) => {
|
|
|
1127
1215
|
const Action = IDL.Variant({
|
|
1128
1216
|
'RegisterKnownNeuron' : KnownNeuron,
|
|
1129
1217
|
'ManageNeuron' : ManageNeuron,
|
|
1218
|
+
'UpdateCanisterSettings' : UpdateCanisterSettings,
|
|
1219
|
+
'InstallCode' : InstallCode,
|
|
1220
|
+
'StopOrStartCanister' : StopOrStartCanister,
|
|
1130
1221
|
'CreateServiceNervousSystem' : CreateServiceNervousSystem,
|
|
1131
1222
|
'ExecuteNnsFunction' : ExecuteNnsFunction,
|
|
1132
1223
|
'RewardNodeProvider' : RewardNodeProvider,
|
|
@@ -1135,7 +1226,7 @@ export const init = ({ IDL }) => {
|
|
|
1135
1226
|
'SetDefaultFollowees' : SetDefaultFollowees,
|
|
1136
1227
|
'RewardNodeProviders' : RewardNodeProviders,
|
|
1137
1228
|
'ManageNetworkEconomics' : NetworkEconomics,
|
|
1138
|
-
'ApproveGenesisKyc' :
|
|
1229
|
+
'ApproveGenesisKyc' : Principals,
|
|
1139
1230
|
'AddOrRemoveNodeProvider' : AddOrRemoveNodeProvider,
|
|
1140
1231
|
'Motion' : Motion,
|
|
1141
1232
|
});
|
|
@@ -1152,9 +1243,34 @@ export const init = ({ IDL }) => {
|
|
|
1152
1243
|
'caller' : IDL.Opt(IDL.Principal),
|
|
1153
1244
|
'proposer_id' : IDL.Opt(NeuronId),
|
|
1154
1245
|
});
|
|
1155
|
-
const
|
|
1246
|
+
const XdrConversionRate = IDL.Record({
|
|
1247
|
+
'xdr_permyriad_per_icp' : IDL.Opt(IDL.Nat64),
|
|
1248
|
+
'timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
1249
|
+
});
|
|
1250
|
+
const MonthlyNodeProviderRewards = IDL.Record({
|
|
1251
|
+
'minimum_xdr_permyriad_per_icp' : IDL.Opt(IDL.Nat64),
|
|
1252
|
+
'registry_version' : IDL.Opt(IDL.Nat64),
|
|
1253
|
+
'node_providers' : IDL.Vec(NodeProvider),
|
|
1156
1254
|
'timestamp' : IDL.Nat64,
|
|
1157
1255
|
'rewards' : IDL.Vec(RewardNodeProvider),
|
|
1256
|
+
'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
|
|
1257
|
+
'maximum_node_provider_rewards_e8s' : IDL.Opt(IDL.Nat64),
|
|
1258
|
+
});
|
|
1259
|
+
const NeuronSubsetMetrics = IDL.Record({
|
|
1260
|
+
'total_maturity_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
1261
|
+
'maturity_e8s_equivalent_buckets' : IDL.Vec(
|
|
1262
|
+
IDL.Tuple(IDL.Nat64, IDL.Nat64)
|
|
1263
|
+
),
|
|
1264
|
+
'voting_power_buckets' : IDL.Vec(IDL.Tuple(IDL.Nat64, IDL.Nat64)),
|
|
1265
|
+
'total_staked_e8s' : IDL.Opt(IDL.Nat64),
|
|
1266
|
+
'count' : IDL.Opt(IDL.Nat64),
|
|
1267
|
+
'total_staked_maturity_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
1268
|
+
'staked_maturity_e8s_equivalent_buckets' : IDL.Vec(
|
|
1269
|
+
IDL.Tuple(IDL.Nat64, IDL.Nat64)
|
|
1270
|
+
),
|
|
1271
|
+
'staked_e8s_buckets' : IDL.Vec(IDL.Tuple(IDL.Nat64, IDL.Nat64)),
|
|
1272
|
+
'total_voting_power' : IDL.Opt(IDL.Nat64),
|
|
1273
|
+
'count_buckets' : IDL.Vec(IDL.Tuple(IDL.Nat64, IDL.Nat64)),
|
|
1158
1274
|
});
|
|
1159
1275
|
const GovernanceCachedMetrics = IDL.Record({
|
|
1160
1276
|
'total_maturity_e8s_equivalent' : IDL.Nat64,
|
|
@@ -1181,6 +1297,9 @@ export const init = ({ IDL }) => {
|
|
|
1181
1297
|
'not_dissolving_neurons_count' : IDL.Nat64,
|
|
1182
1298
|
'total_locked_e8s' : IDL.Nat64,
|
|
1183
1299
|
'neurons_fund_total_active_neurons' : IDL.Nat64,
|
|
1300
|
+
'total_voting_power_non_self_authenticating_controller' : IDL.Opt(
|
|
1301
|
+
IDL.Nat64
|
|
1302
|
+
),
|
|
1184
1303
|
'total_staked_maturity_e8s_equivalent' : IDL.Nat64,
|
|
1185
1304
|
'not_dissolving_neurons_e8s_buckets_ect' : IDL.Vec(
|
|
1186
1305
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
@@ -1188,6 +1307,7 @@ export const init = ({ IDL }) => {
|
|
|
1188
1307
|
'total_staked_e8s_ect' : IDL.Nat64,
|
|
1189
1308
|
'not_dissolving_neurons_staked_maturity_e8s_equivalent_sum' : IDL.Nat64,
|
|
1190
1309
|
'dissolved_neurons_e8s' : IDL.Nat64,
|
|
1310
|
+
'total_staked_e8s_non_self_authenticating_controller' : IDL.Opt(IDL.Nat64),
|
|
1191
1311
|
'dissolving_neurons_e8s_buckets_seed' : IDL.Vec(
|
|
1192
1312
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
1193
1313
|
),
|
|
@@ -1201,6 +1321,9 @@ export const init = ({ IDL }) => {
|
|
|
1201
1321
|
'dissolving_neurons_e8s_buckets_ect' : IDL.Vec(
|
|
1202
1322
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
1203
1323
|
),
|
|
1324
|
+
'non_self_authenticating_controller_neuron_subset_metrics' : IDL.Opt(
|
|
1325
|
+
NeuronSubsetMetrics
|
|
1326
|
+
),
|
|
1204
1327
|
'dissolving_neurons_count' : IDL.Nat64,
|
|
1205
1328
|
'dissolving_neurons_e8s_buckets' : IDL.Vec(
|
|
1206
1329
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
@@ -1261,10 +1384,12 @@ export const init = ({ IDL }) => {
|
|
|
1261
1384
|
});
|
|
1262
1385
|
const CfNeuron = IDL.Record({
|
|
1263
1386
|
'has_created_neuron_recipes' : IDL.Opt(IDL.Bool),
|
|
1387
|
+
'hotkeys' : IDL.Opt(Principals),
|
|
1264
1388
|
'nns_neuron_id' : IDL.Nat64,
|
|
1265
1389
|
'amount_icp_e8s' : IDL.Nat64,
|
|
1266
1390
|
});
|
|
1267
1391
|
const CfParticipant = IDL.Record({
|
|
1392
|
+
'controller' : IDL.Opt(IDL.Principal),
|
|
1268
1393
|
'hotkey_principal' : IDL.Text,
|
|
1269
1394
|
'cf_neurons' : IDL.Vec(CfNeuron),
|
|
1270
1395
|
});
|
|
@@ -1276,7 +1401,9 @@ export const init = ({ IDL }) => {
|
|
|
1276
1401
|
'max_direct_participation_icp_e8s' : IDL.Opt(IDL.Nat64),
|
|
1277
1402
|
});
|
|
1278
1403
|
const NeuronsFundNeuronPortion = IDL.Record({
|
|
1404
|
+
'controller' : IDL.Opt(IDL.Principal),
|
|
1279
1405
|
'hotkey_principal' : IDL.Opt(IDL.Principal),
|
|
1406
|
+
'hotkeys' : IDL.Vec(IDL.Principal),
|
|
1280
1407
|
'is_capped' : IDL.Opt(IDL.Bool),
|
|
1281
1408
|
'maturity_equivalent_icp_e8s' : IDL.Opt(IDL.Nat64),
|
|
1282
1409
|
'nns_neuron_id' : IDL.Opt(NeuronId),
|
|
@@ -1362,10 +1489,6 @@ export const init = ({ IDL }) => {
|
|
|
1362
1489
|
IDL.Nat64
|
|
1363
1490
|
),
|
|
1364
1491
|
});
|
|
1365
|
-
const XdrConversionRate = IDL.Record({
|
|
1366
|
-
'xdr_permyriad_per_icp' : IDL.Opt(IDL.Nat64),
|
|
1367
|
-
'timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
1368
|
-
});
|
|
1369
1492
|
const Command_2 = IDL.Variant({
|
|
1370
1493
|
'Spawn' : NeuronId,
|
|
1371
1494
|
'Split' : Split,
|
|
@@ -1408,6 +1531,7 @@ export const init = ({ IDL }) => {
|
|
|
1408
1531
|
'dissolve_state' : IDL.Opt(DissolveState),
|
|
1409
1532
|
'followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
|
|
1410
1533
|
'neuron_fees_e8s' : IDL.Nat64,
|
|
1534
|
+
'visibility' : IDL.Opt(IDL.Int32),
|
|
1411
1535
|
'transfer' : IDL.Opt(NeuronStakeTransfer),
|
|
1412
1536
|
'known_neuron_data' : IDL.Opt(KnownNeuronData),
|
|
1413
1537
|
'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
@@ -1416,7 +1540,7 @@ export const init = ({ IDL }) => {
|
|
|
1416
1540
|
'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
|
|
1417
1541
|
'making_sns_proposal' : IDL.Opt(MakingSnsProposal),
|
|
1418
1542
|
'most_recent_monthly_node_provider_rewards' : IDL.Opt(
|
|
1419
|
-
|
|
1543
|
+
MonthlyNodeProviderRewards
|
|
1420
1544
|
),
|
|
1421
1545
|
'maturity_modulation_last_updated_at_timestamp_seconds' : IDL.Opt(
|
|
1422
1546
|
IDL.Nat64
|
|
@@ -8,6 +8,9 @@ export interface AccountIdentifier {
|
|
|
8
8
|
export type Action =
|
|
9
9
|
| { RegisterKnownNeuron: KnownNeuron }
|
|
10
10
|
| { ManageNeuron: ManageNeuron }
|
|
11
|
+
| { UpdateCanisterSettings: UpdateCanisterSettings }
|
|
12
|
+
| { InstallCode: InstallCode }
|
|
13
|
+
| { StopOrStartCanister: StopOrStartCanister }
|
|
11
14
|
| { CreateServiceNervousSystem: CreateServiceNervousSystem }
|
|
12
15
|
| { ExecuteNnsFunction: ExecuteNnsFunction }
|
|
13
16
|
| { RewardNodeProvider: RewardNodeProvider }
|
|
@@ -16,7 +19,7 @@ export type Action =
|
|
|
16
19
|
| { SetDefaultFollowees: SetDefaultFollowees }
|
|
17
20
|
| { RewardNodeProviders: RewardNodeProviders }
|
|
18
21
|
| { ManageNetworkEconomics: NetworkEconomics }
|
|
19
|
-
| { ApproveGenesisKyc:
|
|
22
|
+
| { ApproveGenesisKyc: Principals }
|
|
20
23
|
| { AddOrRemoveNodeProvider: AddOrRemoveNodeProvider }
|
|
21
24
|
| { Motion: Motion };
|
|
22
25
|
export interface AddHotKey {
|
|
@@ -46,6 +49,14 @@ export type By =
|
|
|
46
49
|
export interface Canister {
|
|
47
50
|
id: [] | [Principal];
|
|
48
51
|
}
|
|
52
|
+
export interface CanisterSettings {
|
|
53
|
+
freezing_threshold: [] | [bigint];
|
|
54
|
+
controllers: [] | [Controllers];
|
|
55
|
+
log_visibility: [] | [number];
|
|
56
|
+
wasm_memory_limit: [] | [bigint];
|
|
57
|
+
memory_allocation: [] | [bigint];
|
|
58
|
+
compute_allocation: [] | [bigint];
|
|
59
|
+
}
|
|
49
60
|
export interface CanisterStatusResultV2 {
|
|
50
61
|
status: [] | [number];
|
|
51
62
|
freezing_threshold: [] | [bigint];
|
|
@@ -61,10 +72,12 @@ export interface CanisterSummary {
|
|
|
61
72
|
}
|
|
62
73
|
export interface CfNeuron {
|
|
63
74
|
has_created_neuron_recipes: [] | [boolean];
|
|
75
|
+
hotkeys: [] | [Principals];
|
|
64
76
|
nns_neuron_id: bigint;
|
|
65
77
|
amount_icp_e8s: bigint;
|
|
66
78
|
}
|
|
67
79
|
export interface CfParticipant {
|
|
80
|
+
controller: [] | [Principal];
|
|
68
81
|
hotkey_principal: string;
|
|
69
82
|
cf_neurons: Array<CfNeuron>;
|
|
70
83
|
}
|
|
@@ -135,6 +148,9 @@ export interface Committed_1 {
|
|
|
135
148
|
export interface Configure {
|
|
136
149
|
operation: [] | [Operation];
|
|
137
150
|
}
|
|
151
|
+
export interface Controllers {
|
|
152
|
+
controllers: Array<Principal>;
|
|
153
|
+
}
|
|
138
154
|
export interface Countries {
|
|
139
155
|
iso_codes: Array<string>;
|
|
140
156
|
}
|
|
@@ -208,9 +224,7 @@ export interface GlobalTimeOfDay {
|
|
|
208
224
|
export interface Governance {
|
|
209
225
|
default_followees: Array<[number, Followees]>;
|
|
210
226
|
making_sns_proposal: [] | [MakingSnsProposal];
|
|
211
|
-
most_recent_monthly_node_provider_rewards:
|
|
212
|
-
| []
|
|
213
|
-
| [MostRecentMonthlyNodeProviderRewards];
|
|
227
|
+
most_recent_monthly_node_provider_rewards: [] | [MonthlyNodeProviderRewards];
|
|
214
228
|
maturity_modulation_last_updated_at_timestamp_seconds: [] | [bigint];
|
|
215
229
|
wait_for_quiet_threshold_seconds: bigint;
|
|
216
230
|
metrics: [] | [GovernanceCachedMetrics];
|
|
@@ -252,11 +266,13 @@ export interface GovernanceCachedMetrics {
|
|
|
252
266
|
not_dissolving_neurons_count: bigint;
|
|
253
267
|
total_locked_e8s: bigint;
|
|
254
268
|
neurons_fund_total_active_neurons: bigint;
|
|
269
|
+
total_voting_power_non_self_authenticating_controller: [] | [bigint];
|
|
255
270
|
total_staked_maturity_e8s_equivalent: bigint;
|
|
256
271
|
not_dissolving_neurons_e8s_buckets_ect: Array<[bigint, number]>;
|
|
257
272
|
total_staked_e8s_ect: bigint;
|
|
258
273
|
not_dissolving_neurons_staked_maturity_e8s_equivalent_sum: bigint;
|
|
259
274
|
dissolved_neurons_e8s: bigint;
|
|
275
|
+
total_staked_e8s_non_self_authenticating_controller: [] | [bigint];
|
|
260
276
|
dissolving_neurons_e8s_buckets_seed: Array<[bigint, number]>;
|
|
261
277
|
neurons_with_less_than_6_months_dissolve_delay_e8s: bigint;
|
|
262
278
|
not_dissolving_neurons_staked_maturity_e8s_equivalent_buckets: Array<
|
|
@@ -264,6 +280,9 @@ export interface GovernanceCachedMetrics {
|
|
|
264
280
|
>;
|
|
265
281
|
dissolving_neurons_count_buckets: Array<[bigint, bigint]>;
|
|
266
282
|
dissolving_neurons_e8s_buckets_ect: Array<[bigint, number]>;
|
|
283
|
+
non_self_authenticating_controller_neuron_subset_metrics:
|
|
284
|
+
| []
|
|
285
|
+
| [NeuronSubsetMetrics];
|
|
267
286
|
dissolving_neurons_count: bigint;
|
|
268
287
|
dissolving_neurons_e8s_buckets: Array<[bigint, number]>;
|
|
269
288
|
total_staked_maturity_e8s_equivalent_seed: bigint;
|
|
@@ -302,6 +321,13 @@ export interface InitialTokenDistribution {
|
|
|
302
321
|
developer_distribution: [] | [DeveloperDistribution];
|
|
303
322
|
swap_distribution: [] | [SwapDistribution];
|
|
304
323
|
}
|
|
324
|
+
export interface InstallCode {
|
|
325
|
+
arg: [] | [Uint8Array | number[]];
|
|
326
|
+
wasm_module: [] | [Uint8Array | number[]];
|
|
327
|
+
skip_stopping_before_installing: [] | [boolean];
|
|
328
|
+
canister_id: [] | [Principal];
|
|
329
|
+
install_mode: [] | [number];
|
|
330
|
+
}
|
|
305
331
|
export interface KnownNeuron {
|
|
306
332
|
id: [] | [NeuronId];
|
|
307
333
|
known_neuron_data: [] | [KnownNeuronData];
|
|
@@ -321,6 +347,7 @@ export interface ListKnownNeuronsResponse {
|
|
|
321
347
|
}
|
|
322
348
|
export interface ListNeurons {
|
|
323
349
|
neuron_ids: BigUint64Array | bigint[];
|
|
350
|
+
include_empty_neurons_readable_by_caller: [] | [boolean];
|
|
324
351
|
include_neurons_readable_by_caller: boolean;
|
|
325
352
|
}
|
|
326
353
|
export interface ListNeuronsResponse {
|
|
@@ -384,9 +411,14 @@ export interface Migrations {
|
|
|
384
411
|
neuron_indexes_migration: [] | [Migration];
|
|
385
412
|
copy_inactive_neurons_to_stable_memory_migration: [] | [Migration];
|
|
386
413
|
}
|
|
387
|
-
export interface
|
|
414
|
+
export interface MonthlyNodeProviderRewards {
|
|
415
|
+
minimum_xdr_permyriad_per_icp: [] | [bigint];
|
|
416
|
+
registry_version: [] | [bigint];
|
|
417
|
+
node_providers: Array<NodeProvider>;
|
|
388
418
|
timestamp: bigint;
|
|
389
419
|
rewards: Array<RewardNodeProvider>;
|
|
420
|
+
xdr_conversion_rate: [] | [XdrConversionRate];
|
|
421
|
+
maximum_node_provider_rewards_e8s: [] | [bigint];
|
|
390
422
|
}
|
|
391
423
|
export interface Motion {
|
|
392
424
|
motion_text: string;
|
|
@@ -421,6 +453,7 @@ export interface Neuron {
|
|
|
421
453
|
dissolve_state: [] | [DissolveState];
|
|
422
454
|
followees: Array<[number, Followees]>;
|
|
423
455
|
neuron_fees_e8s: bigint;
|
|
456
|
+
visibility: [] | [number];
|
|
424
457
|
transfer: [] | [NeuronStakeTransfer];
|
|
425
458
|
known_neuron_data: [] | [KnownNeuronData];
|
|
426
459
|
spawn_at_timestamp_seconds: [] | [bigint];
|
|
@@ -459,6 +492,7 @@ export interface NeuronInfo {
|
|
|
459
492
|
stake_e8s: bigint;
|
|
460
493
|
joined_community_fund_timestamp_seconds: [] | [bigint];
|
|
461
494
|
retrieved_at_timestamp_seconds: bigint;
|
|
495
|
+
visibility: [] | [number];
|
|
462
496
|
known_neuron_data: [] | [KnownNeuronData];
|
|
463
497
|
voting_power: bigint;
|
|
464
498
|
age_seconds: bigint;
|
|
@@ -472,6 +506,18 @@ export interface NeuronStakeTransfer {
|
|
|
472
506
|
transfer_timestamp: bigint;
|
|
473
507
|
block_height: bigint;
|
|
474
508
|
}
|
|
509
|
+
export interface NeuronSubsetMetrics {
|
|
510
|
+
total_maturity_e8s_equivalent: [] | [bigint];
|
|
511
|
+
maturity_e8s_equivalent_buckets: Array<[bigint, bigint]>;
|
|
512
|
+
voting_power_buckets: Array<[bigint, bigint]>;
|
|
513
|
+
total_staked_e8s: [] | [bigint];
|
|
514
|
+
count: [] | [bigint];
|
|
515
|
+
total_staked_maturity_e8s_equivalent: [] | [bigint];
|
|
516
|
+
staked_maturity_e8s_equivalent_buckets: Array<[bigint, bigint]>;
|
|
517
|
+
staked_e8s_buckets: Array<[bigint, bigint]>;
|
|
518
|
+
total_voting_power: [] | [bigint];
|
|
519
|
+
count_buckets: Array<[bigint, bigint]>;
|
|
520
|
+
}
|
|
475
521
|
export interface NeuronsFundAuditInfo {
|
|
476
522
|
final_neurons_fund_participation: [] | [NeuronsFundParticipation];
|
|
477
523
|
initial_neurons_fund_participation: [] | [NeuronsFundParticipation];
|
|
@@ -496,13 +542,17 @@ export interface NeuronsFundMatchedFundingCurveCoefficients {
|
|
|
496
542
|
full_participation_milestone_xdr: [] | [Decimal];
|
|
497
543
|
}
|
|
498
544
|
export interface NeuronsFundNeuron {
|
|
545
|
+
controller: [] | [Principal];
|
|
499
546
|
hotkey_principal: [] | [string];
|
|
547
|
+
hotkeys: [] | [Principals];
|
|
500
548
|
is_capped: [] | [boolean];
|
|
501
549
|
nns_neuron_id: [] | [bigint];
|
|
502
550
|
amount_icp_e8s: [] | [bigint];
|
|
503
551
|
}
|
|
504
552
|
export interface NeuronsFundNeuronPortion {
|
|
553
|
+
controller: [] | [Principal];
|
|
505
554
|
hotkey_principal: [] | [Principal];
|
|
555
|
+
hotkeys: Array<Principal>;
|
|
506
556
|
is_capped: [] | [boolean];
|
|
507
557
|
maturity_equivalent_icp_e8s: [] | [bigint];
|
|
508
558
|
nns_neuron_id: [] | [NeuronId];
|
|
@@ -545,6 +595,7 @@ export type Operation =
|
|
|
545
595
|
| { StopDissolving: {} }
|
|
546
596
|
| { StartDissolving: {} }
|
|
547
597
|
| { IncreaseDissolveDelay: IncreaseDissolveDelay }
|
|
598
|
+
| { SetVisibility: SetVisibility }
|
|
548
599
|
| { JoinCommunityFund: {} }
|
|
549
600
|
| { LeaveCommunityFund: {} }
|
|
550
601
|
| { SetDissolveTimestamp: SetDissolveTimestamp };
|
|
@@ -566,6 +617,9 @@ export interface Params {
|
|
|
566
617
|
export interface Percentage {
|
|
567
618
|
basis_points: [] | [bigint];
|
|
568
619
|
}
|
|
620
|
+
export interface Principals {
|
|
621
|
+
principals: Array<Principal>;
|
|
622
|
+
}
|
|
569
623
|
export type Progress = { LastNeuronId: NeuronId };
|
|
570
624
|
export interface Proposal {
|
|
571
625
|
url: string;
|
|
@@ -682,6 +736,9 @@ export interface SetSnsTokenSwapOpenTimeWindow {
|
|
|
682
736
|
request: [] | [SetOpenTimeWindowRequest];
|
|
683
737
|
swap_canister_id: [] | [Principal];
|
|
684
738
|
}
|
|
739
|
+
export interface SetVisibility {
|
|
740
|
+
visibility: [] | [number];
|
|
741
|
+
}
|
|
685
742
|
export interface SettleCommunityFundParticipation {
|
|
686
743
|
result: [] | [Result_8];
|
|
687
744
|
open_sns_token_swap_proposal_id: [] | [bigint];
|
|
@@ -711,6 +768,10 @@ export interface StakeMaturityResponse {
|
|
|
711
768
|
maturity_e8s: bigint;
|
|
712
769
|
staked_maturity_e8s: bigint;
|
|
713
770
|
}
|
|
771
|
+
export interface StopOrStartCanister {
|
|
772
|
+
action: [] | [number];
|
|
773
|
+
canister_id: [] | [Principal];
|
|
774
|
+
}
|
|
714
775
|
export interface SwapBackgroundInformation {
|
|
715
776
|
ledger_index_canister_summary: [] | [CanisterSummary];
|
|
716
777
|
fallback_controller_principal_ids: Array<Principal>;
|
|
@@ -761,6 +822,10 @@ export interface TimeWindow {
|
|
|
761
822
|
export interface Tokens {
|
|
762
823
|
e8s: [] | [bigint];
|
|
763
824
|
}
|
|
825
|
+
export interface UpdateCanisterSettings {
|
|
826
|
+
canister_id: [] | [Principal];
|
|
827
|
+
settings: [] | [CanisterSettings];
|
|
828
|
+
}
|
|
764
829
|
export interface UpdateNodeProvider {
|
|
765
830
|
reward_account: [] | [AccountIdentifier];
|
|
766
831
|
}
|
|
@@ -793,7 +858,7 @@ export interface _SERVICE {
|
|
|
793
858
|
get_monthly_node_provider_rewards: ActorMethod<[], Result_4>;
|
|
794
859
|
get_most_recent_monthly_node_provider_rewards: ActorMethod<
|
|
795
860
|
[],
|
|
796
|
-
[] | [
|
|
861
|
+
[] | [MonthlyNodeProviderRewards]
|
|
797
862
|
>;
|
|
798
863
|
get_network_economics_parameters: ActorMethod<[], NetworkEconomics>;
|
|
799
864
|
get_neuron_ids: ActorMethod<[], BigUint64Array | bigint[]>;
|