@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
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
// Generated from IC repo commit
|
|
1
|
+
// Generated from IC repo commit 2b109fb9ba (2024-07-25) 'rs/nns/governance/canister/governance_test.did' by import-candid
|
|
2
2
|
type AccountIdentifier = record { hash : blob };
|
|
3
3
|
type Action = variant {
|
|
4
4
|
RegisterKnownNeuron : KnownNeuron;
|
|
5
5
|
ManageNeuron : ManageNeuron;
|
|
6
|
+
UpdateCanisterSettings : UpdateCanisterSettings;
|
|
7
|
+
InstallCode : InstallCode;
|
|
8
|
+
StopOrStartCanister : StopOrStartCanister;
|
|
6
9
|
CreateServiceNervousSystem : CreateServiceNervousSystem;
|
|
7
10
|
ExecuteNnsFunction : ExecuteNnsFunction;
|
|
8
11
|
RewardNodeProvider : RewardNodeProvider;
|
|
@@ -11,7 +14,7 @@ type Action = variant {
|
|
|
11
14
|
SetDefaultFollowees : SetDefaultFollowees;
|
|
12
15
|
RewardNodeProviders : RewardNodeProviders;
|
|
13
16
|
ManageNetworkEconomics : NetworkEconomics;
|
|
14
|
-
ApproveGenesisKyc :
|
|
17
|
+
ApproveGenesisKyc : Principals;
|
|
15
18
|
AddOrRemoveNodeProvider : AddOrRemoveNodeProvider;
|
|
16
19
|
Motion : Motion;
|
|
17
20
|
};
|
|
@@ -27,6 +30,14 @@ type By = variant {
|
|
|
27
30
|
Memo : nat64;
|
|
28
31
|
};
|
|
29
32
|
type Canister = record { id : opt principal };
|
|
33
|
+
type CanisterSettings = record {
|
|
34
|
+
freezing_threshold : opt nat64;
|
|
35
|
+
controllers : opt Controllers;
|
|
36
|
+
log_visibility : opt int32;
|
|
37
|
+
wasm_memory_limit : opt nat64;
|
|
38
|
+
memory_allocation : opt nat64;
|
|
39
|
+
compute_allocation : opt nat64;
|
|
40
|
+
};
|
|
30
41
|
type CanisterStatusResultV2 = record {
|
|
31
42
|
status : opt int32;
|
|
32
43
|
freezing_threshold : opt nat64;
|
|
@@ -42,10 +53,12 @@ type CanisterSummary = record {
|
|
|
42
53
|
};
|
|
43
54
|
type CfNeuron = record {
|
|
44
55
|
has_created_neuron_recipes : opt bool;
|
|
56
|
+
hotkeys : opt Principals;
|
|
45
57
|
nns_neuron_id : nat64;
|
|
46
58
|
amount_icp_e8s : nat64;
|
|
47
59
|
};
|
|
48
60
|
type CfParticipant = record {
|
|
61
|
+
controller : opt principal;
|
|
49
62
|
hotkey_principal : text;
|
|
50
63
|
cf_neurons : vec CfNeuron;
|
|
51
64
|
};
|
|
@@ -111,6 +124,7 @@ type Committed_1 = record {
|
|
|
111
124
|
sns_governance_canister_id : opt principal;
|
|
112
125
|
};
|
|
113
126
|
type Configure = record { operation : opt Operation };
|
|
127
|
+
type Controllers = record { controllers : vec principal };
|
|
114
128
|
type Countries = record { iso_codes : vec text };
|
|
115
129
|
type CreateServiceNervousSystem = record {
|
|
116
130
|
url : opt text;
|
|
@@ -159,7 +173,7 @@ type GlobalTimeOfDay = record { seconds_after_utc_midnight : opt nat64 };
|
|
|
159
173
|
type Governance = record {
|
|
160
174
|
default_followees : vec record { int32; Followees };
|
|
161
175
|
making_sns_proposal : opt MakingSnsProposal;
|
|
162
|
-
most_recent_monthly_node_provider_rewards : opt
|
|
176
|
+
most_recent_monthly_node_provider_rewards : opt MonthlyNodeProviderRewards;
|
|
163
177
|
maturity_modulation_last_updated_at_timestamp_seconds : opt nat64;
|
|
164
178
|
wait_for_quiet_threshold_seconds : nat64;
|
|
165
179
|
metrics : opt GovernanceCachedMetrics;
|
|
@@ -202,11 +216,13 @@ type GovernanceCachedMetrics = record {
|
|
|
202
216
|
not_dissolving_neurons_count : nat64;
|
|
203
217
|
total_locked_e8s : nat64;
|
|
204
218
|
neurons_fund_total_active_neurons : nat64;
|
|
219
|
+
total_voting_power_non_self_authenticating_controller : opt nat64;
|
|
205
220
|
total_staked_maturity_e8s_equivalent : nat64;
|
|
206
221
|
not_dissolving_neurons_e8s_buckets_ect : vec record { nat64; float64 };
|
|
207
222
|
total_staked_e8s_ect : nat64;
|
|
208
223
|
not_dissolving_neurons_staked_maturity_e8s_equivalent_sum : nat64;
|
|
209
224
|
dissolved_neurons_e8s : nat64;
|
|
225
|
+
total_staked_e8s_non_self_authenticating_controller : opt nat64;
|
|
210
226
|
dissolving_neurons_e8s_buckets_seed : vec record { nat64; float64 };
|
|
211
227
|
neurons_with_less_than_6_months_dissolve_delay_e8s : nat64;
|
|
212
228
|
not_dissolving_neurons_staked_maturity_e8s_equivalent_buckets : vec record {
|
|
@@ -215,6 +231,7 @@ type GovernanceCachedMetrics = record {
|
|
|
215
231
|
};
|
|
216
232
|
dissolving_neurons_count_buckets : vec record { nat64; nat64 };
|
|
217
233
|
dissolving_neurons_e8s_buckets_ect : vec record { nat64; float64 };
|
|
234
|
+
non_self_authenticating_controller_neuron_subset_metrics : opt NeuronSubsetMetrics;
|
|
218
235
|
dissolving_neurons_count : nat64;
|
|
219
236
|
dissolving_neurons_e8s_buckets : vec record { nat64; float64 };
|
|
220
237
|
total_staked_maturity_e8s_equivalent_seed : nat64;
|
|
@@ -248,6 +265,13 @@ type InitialTokenDistribution = record {
|
|
|
248
265
|
developer_distribution : opt DeveloperDistribution;
|
|
249
266
|
swap_distribution : opt SwapDistribution;
|
|
250
267
|
};
|
|
268
|
+
type InstallCode = record {
|
|
269
|
+
arg : opt blob;
|
|
270
|
+
wasm_module : opt blob;
|
|
271
|
+
skip_stopping_before_installing : opt bool;
|
|
272
|
+
canister_id : opt principal;
|
|
273
|
+
install_mode : opt int32;
|
|
274
|
+
};
|
|
251
275
|
type KnownNeuron = record {
|
|
252
276
|
id : opt NeuronId;
|
|
253
277
|
known_neuron_data : opt KnownNeuronData;
|
|
@@ -262,6 +286,7 @@ type LedgerParameters = record {
|
|
|
262
286
|
type ListKnownNeuronsResponse = record { known_neurons : vec KnownNeuron };
|
|
263
287
|
type ListNeurons = record {
|
|
264
288
|
neuron_ids : vec nat64;
|
|
289
|
+
include_empty_neurons_readable_by_caller : opt bool;
|
|
265
290
|
include_neurons_readable_by_caller : bool;
|
|
266
291
|
};
|
|
267
292
|
type ListNeuronsResponse = record {
|
|
@@ -315,9 +340,14 @@ type Migrations = record {
|
|
|
315
340
|
neuron_indexes_migration : opt Migration;
|
|
316
341
|
copy_inactive_neurons_to_stable_memory_migration : opt Migration;
|
|
317
342
|
};
|
|
318
|
-
type
|
|
343
|
+
type MonthlyNodeProviderRewards = record {
|
|
344
|
+
minimum_xdr_permyriad_per_icp : opt nat64;
|
|
345
|
+
registry_version : opt nat64;
|
|
346
|
+
node_providers : vec NodeProvider;
|
|
319
347
|
timestamp : nat64;
|
|
320
348
|
rewards : vec RewardNodeProvider;
|
|
349
|
+
xdr_conversion_rate : opt XdrConversionRate;
|
|
350
|
+
maximum_node_provider_rewards_e8s : opt nat64;
|
|
321
351
|
};
|
|
322
352
|
type Motion = record { motion_text : text };
|
|
323
353
|
type NetworkEconomics = record {
|
|
@@ -350,6 +380,7 @@ type Neuron = record {
|
|
|
350
380
|
dissolve_state : opt DissolveState;
|
|
351
381
|
followees : vec record { int32; Followees };
|
|
352
382
|
neuron_fees_e8s : nat64;
|
|
383
|
+
visibility : opt int32;
|
|
353
384
|
transfer : opt NeuronStakeTransfer;
|
|
354
385
|
known_neuron_data : opt KnownNeuronData;
|
|
355
386
|
spawn_at_timestamp_seconds : opt nat64;
|
|
@@ -384,6 +415,7 @@ type NeuronInfo = record {
|
|
|
384
415
|
stake_e8s : nat64;
|
|
385
416
|
joined_community_fund_timestamp_seconds : opt nat64;
|
|
386
417
|
retrieved_at_timestamp_seconds : nat64;
|
|
418
|
+
visibility : opt int32;
|
|
387
419
|
known_neuron_data : opt KnownNeuronData;
|
|
388
420
|
voting_power : nat64;
|
|
389
421
|
age_seconds : nat64;
|
|
@@ -397,6 +429,18 @@ type NeuronStakeTransfer = record {
|
|
|
397
429
|
transfer_timestamp : nat64;
|
|
398
430
|
block_height : nat64;
|
|
399
431
|
};
|
|
432
|
+
type NeuronSubsetMetrics = record {
|
|
433
|
+
total_maturity_e8s_equivalent : opt nat64;
|
|
434
|
+
maturity_e8s_equivalent_buckets : vec record { nat64; nat64 };
|
|
435
|
+
voting_power_buckets : vec record { nat64; nat64 };
|
|
436
|
+
total_staked_e8s : opt nat64;
|
|
437
|
+
count : opt nat64;
|
|
438
|
+
total_staked_maturity_e8s_equivalent : opt nat64;
|
|
439
|
+
staked_maturity_e8s_equivalent_buckets : vec record { nat64; nat64 };
|
|
440
|
+
staked_e8s_buckets : vec record { nat64; nat64 };
|
|
441
|
+
total_voting_power : opt nat64;
|
|
442
|
+
count_buckets : vec record { nat64; nat64 };
|
|
443
|
+
};
|
|
400
444
|
type NeuronsFundAuditInfo = record {
|
|
401
445
|
final_neurons_fund_participation : opt NeuronsFundParticipation;
|
|
402
446
|
initial_neurons_fund_participation : opt NeuronsFundParticipation;
|
|
@@ -419,13 +463,17 @@ type NeuronsFundMatchedFundingCurveCoefficients = record {
|
|
|
419
463
|
full_participation_milestone_xdr : opt Decimal;
|
|
420
464
|
};
|
|
421
465
|
type NeuronsFundNeuron = record {
|
|
466
|
+
controller : opt principal;
|
|
422
467
|
hotkey_principal : opt text;
|
|
468
|
+
hotkeys : opt Principals;
|
|
423
469
|
is_capped : opt bool;
|
|
424
470
|
nns_neuron_id : opt nat64;
|
|
425
471
|
amount_icp_e8s : opt nat64;
|
|
426
472
|
};
|
|
427
473
|
type NeuronsFundNeuronPortion = record {
|
|
474
|
+
controller : opt principal;
|
|
428
475
|
hotkey_principal : opt principal;
|
|
476
|
+
hotkeys : vec principal;
|
|
429
477
|
is_capped : opt bool;
|
|
430
478
|
maturity_equivalent_icp_e8s : opt nat64;
|
|
431
479
|
nns_neuron_id : opt NeuronId;
|
|
@@ -462,6 +510,7 @@ type Operation = variant {
|
|
|
462
510
|
StopDissolving : record {};
|
|
463
511
|
StartDissolving : record {};
|
|
464
512
|
IncreaseDissolveDelay : IncreaseDissolveDelay;
|
|
513
|
+
SetVisibility : SetVisibility;
|
|
465
514
|
JoinCommunityFund : record {};
|
|
466
515
|
LeaveCommunityFund : record {};
|
|
467
516
|
SetDissolveTimestamp : SetDissolveTimestamp;
|
|
@@ -480,6 +529,7 @@ type Params = record {
|
|
|
480
529
|
max_direct_participation_icp_e8s : opt nat64;
|
|
481
530
|
};
|
|
482
531
|
type Percentage = record { basis_points : opt nat64 };
|
|
532
|
+
type Principals = record { principals : vec principal };
|
|
483
533
|
type Progress = variant { LastNeuronId : NeuronId };
|
|
484
534
|
type Proposal = record {
|
|
485
535
|
url : text;
|
|
@@ -582,6 +632,7 @@ type SetSnsTokenSwapOpenTimeWindow = record {
|
|
|
582
632
|
request : opt SetOpenTimeWindowRequest;
|
|
583
633
|
swap_canister_id : opt principal;
|
|
584
634
|
};
|
|
635
|
+
type SetVisibility = record { visibility : opt int32 };
|
|
585
636
|
type SettleCommunityFundParticipation = record {
|
|
586
637
|
result : opt Result_8;
|
|
587
638
|
open_sns_token_swap_proposal_id : opt nat64;
|
|
@@ -603,6 +654,10 @@ type StakeMaturityResponse = record {
|
|
|
603
654
|
maturity_e8s : nat64;
|
|
604
655
|
staked_maturity_e8s : nat64;
|
|
605
656
|
};
|
|
657
|
+
type StopOrStartCanister = record {
|
|
658
|
+
action : opt int32;
|
|
659
|
+
canister_id : opt principal;
|
|
660
|
+
};
|
|
606
661
|
type SwapBackgroundInformation = record {
|
|
607
662
|
ledger_index_canister_summary : opt CanisterSummary;
|
|
608
663
|
fallback_controller_principal_ids : vec principal;
|
|
@@ -647,6 +702,10 @@ type TimeWindow = record {
|
|
|
647
702
|
end_timestamp_seconds : nat64;
|
|
648
703
|
};
|
|
649
704
|
type Tokens = record { e8s : opt nat64 };
|
|
705
|
+
type UpdateCanisterSettings = record {
|
|
706
|
+
canister_id : opt principal;
|
|
707
|
+
settings : opt CanisterSettings;
|
|
708
|
+
};
|
|
650
709
|
type UpdateNodeProvider = record { reward_account : opt AccountIdentifier };
|
|
651
710
|
type VotingRewardParameters = record {
|
|
652
711
|
reward_rate_transition_duration : opt Duration;
|
|
@@ -672,7 +731,7 @@ service : (Governance) -> {
|
|
|
672
731
|
get_metrics : () -> (Result_3) query;
|
|
673
732
|
get_monthly_node_provider_rewards : () -> (Result_4);
|
|
674
733
|
get_most_recent_monthly_node_provider_rewards : () -> (
|
|
675
|
-
opt
|
|
734
|
+
opt MonthlyNodeProviderRewards,
|
|
676
735
|
) query;
|
|
677
736
|
get_network_economics_parameters : () -> (NetworkEconomics) query;
|
|
678
737
|
get_neuron_ids : () -> (vec nat64) query;
|
|
@@ -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
|
['query'],
|
|
800
864
|
),
|
|
801
865
|
'get_network_economics_parameters' : IDL.Func(
|
|
@@ -902,6 +966,7 @@ export const init = ({ IDL }) => {
|
|
|
902
966
|
const IncreaseDissolveDelay = IDL.Record({
|
|
903
967
|
'additional_dissolve_delay_seconds' : IDL.Nat32,
|
|
904
968
|
});
|
|
969
|
+
const SetVisibility = IDL.Record({ 'visibility' : IDL.Opt(IDL.Int32) });
|
|
905
970
|
const SetDissolveTimestamp = IDL.Record({
|
|
906
971
|
'dissolve_timestamp_seconds' : IDL.Nat64,
|
|
907
972
|
});
|
|
@@ -912,6 +977,7 @@ export const init = ({ IDL }) => {
|
|
|
912
977
|
'StopDissolving' : IDL.Record({}),
|
|
913
978
|
'StartDissolving' : IDL.Record({}),
|
|
914
979
|
'IncreaseDissolveDelay' : IncreaseDissolveDelay,
|
|
980
|
+
'SetVisibility' : SetVisibility,
|
|
915
981
|
'JoinCommunityFund' : IDL.Record({}),
|
|
916
982
|
'LeaveCommunityFund' : IDL.Record({}),
|
|
917
983
|
'SetDissolveTimestamp' : SetDissolveTimestamp,
|
|
@@ -962,6 +1028,30 @@ export const init = ({ IDL }) => {
|
|
|
962
1028
|
'command' : IDL.Opt(Command),
|
|
963
1029
|
'neuron_id_or_subaccount' : IDL.Opt(NeuronIdOrSubaccount),
|
|
964
1030
|
});
|
|
1031
|
+
const Controllers = IDL.Record({ 'controllers' : IDL.Vec(IDL.Principal) });
|
|
1032
|
+
const CanisterSettings = IDL.Record({
|
|
1033
|
+
'freezing_threshold' : IDL.Opt(IDL.Nat64),
|
|
1034
|
+
'controllers' : IDL.Opt(Controllers),
|
|
1035
|
+
'log_visibility' : IDL.Opt(IDL.Int32),
|
|
1036
|
+
'wasm_memory_limit' : IDL.Opt(IDL.Nat64),
|
|
1037
|
+
'memory_allocation' : IDL.Opt(IDL.Nat64),
|
|
1038
|
+
'compute_allocation' : IDL.Opt(IDL.Nat64),
|
|
1039
|
+
});
|
|
1040
|
+
const UpdateCanisterSettings = IDL.Record({
|
|
1041
|
+
'canister_id' : IDL.Opt(IDL.Principal),
|
|
1042
|
+
'settings' : IDL.Opt(CanisterSettings),
|
|
1043
|
+
});
|
|
1044
|
+
const InstallCode = IDL.Record({
|
|
1045
|
+
'arg' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
1046
|
+
'wasm_module' : IDL.Opt(IDL.Vec(IDL.Nat8)),
|
|
1047
|
+
'skip_stopping_before_installing' : IDL.Opt(IDL.Bool),
|
|
1048
|
+
'canister_id' : IDL.Opt(IDL.Principal),
|
|
1049
|
+
'install_mode' : IDL.Opt(IDL.Int32),
|
|
1050
|
+
});
|
|
1051
|
+
const StopOrStartCanister = IDL.Record({
|
|
1052
|
+
'action' : IDL.Opt(IDL.Int32),
|
|
1053
|
+
'canister_id' : IDL.Opt(IDL.Principal),
|
|
1054
|
+
});
|
|
965
1055
|
const Percentage = IDL.Record({ 'basis_points' : IDL.Opt(IDL.Nat64) });
|
|
966
1056
|
const Duration = IDL.Record({ 'seconds' : IDL.Opt(IDL.Nat64) });
|
|
967
1057
|
const Tokens = IDL.Record({ 'e8s' : IDL.Opt(IDL.Nat64) });
|
|
@@ -1132,9 +1222,7 @@ export const init = ({ IDL }) => {
|
|
|
1132
1222
|
'maximum_node_provider_rewards_e8s' : IDL.Nat64,
|
|
1133
1223
|
'neurons_fund_economics' : IDL.Opt(NeuronsFundEconomics),
|
|
1134
1224
|
});
|
|
1135
|
-
const
|
|
1136
|
-
'principals' : IDL.Vec(IDL.Principal),
|
|
1137
|
-
});
|
|
1225
|
+
const Principals = IDL.Record({ 'principals' : IDL.Vec(IDL.Principal) });
|
|
1138
1226
|
const Change = IDL.Variant({
|
|
1139
1227
|
'ToRemove' : NodeProvider,
|
|
1140
1228
|
'ToAdd' : NodeProvider,
|
|
@@ -1144,6 +1232,9 @@ export const init = ({ IDL }) => {
|
|
|
1144
1232
|
const Action = IDL.Variant({
|
|
1145
1233
|
'RegisterKnownNeuron' : KnownNeuron,
|
|
1146
1234
|
'ManageNeuron' : ManageNeuron,
|
|
1235
|
+
'UpdateCanisterSettings' : UpdateCanisterSettings,
|
|
1236
|
+
'InstallCode' : InstallCode,
|
|
1237
|
+
'StopOrStartCanister' : StopOrStartCanister,
|
|
1147
1238
|
'CreateServiceNervousSystem' : CreateServiceNervousSystem,
|
|
1148
1239
|
'ExecuteNnsFunction' : ExecuteNnsFunction,
|
|
1149
1240
|
'RewardNodeProvider' : RewardNodeProvider,
|
|
@@ -1152,7 +1243,7 @@ export const init = ({ IDL }) => {
|
|
|
1152
1243
|
'SetDefaultFollowees' : SetDefaultFollowees,
|
|
1153
1244
|
'RewardNodeProviders' : RewardNodeProviders,
|
|
1154
1245
|
'ManageNetworkEconomics' : NetworkEconomics,
|
|
1155
|
-
'ApproveGenesisKyc' :
|
|
1246
|
+
'ApproveGenesisKyc' : Principals,
|
|
1156
1247
|
'AddOrRemoveNodeProvider' : AddOrRemoveNodeProvider,
|
|
1157
1248
|
'Motion' : Motion,
|
|
1158
1249
|
});
|
|
@@ -1169,9 +1260,34 @@ export const init = ({ IDL }) => {
|
|
|
1169
1260
|
'caller' : IDL.Opt(IDL.Principal),
|
|
1170
1261
|
'proposer_id' : IDL.Opt(NeuronId),
|
|
1171
1262
|
});
|
|
1172
|
-
const
|
|
1263
|
+
const XdrConversionRate = IDL.Record({
|
|
1264
|
+
'xdr_permyriad_per_icp' : IDL.Opt(IDL.Nat64),
|
|
1265
|
+
'timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
1266
|
+
});
|
|
1267
|
+
const MonthlyNodeProviderRewards = IDL.Record({
|
|
1268
|
+
'minimum_xdr_permyriad_per_icp' : IDL.Opt(IDL.Nat64),
|
|
1269
|
+
'registry_version' : IDL.Opt(IDL.Nat64),
|
|
1270
|
+
'node_providers' : IDL.Vec(NodeProvider),
|
|
1173
1271
|
'timestamp' : IDL.Nat64,
|
|
1174
1272
|
'rewards' : IDL.Vec(RewardNodeProvider),
|
|
1273
|
+
'xdr_conversion_rate' : IDL.Opt(XdrConversionRate),
|
|
1274
|
+
'maximum_node_provider_rewards_e8s' : IDL.Opt(IDL.Nat64),
|
|
1275
|
+
});
|
|
1276
|
+
const NeuronSubsetMetrics = IDL.Record({
|
|
1277
|
+
'total_maturity_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
1278
|
+
'maturity_e8s_equivalent_buckets' : IDL.Vec(
|
|
1279
|
+
IDL.Tuple(IDL.Nat64, IDL.Nat64)
|
|
1280
|
+
),
|
|
1281
|
+
'voting_power_buckets' : IDL.Vec(IDL.Tuple(IDL.Nat64, IDL.Nat64)),
|
|
1282
|
+
'total_staked_e8s' : IDL.Opt(IDL.Nat64),
|
|
1283
|
+
'count' : IDL.Opt(IDL.Nat64),
|
|
1284
|
+
'total_staked_maturity_e8s_equivalent' : IDL.Opt(IDL.Nat64),
|
|
1285
|
+
'staked_maturity_e8s_equivalent_buckets' : IDL.Vec(
|
|
1286
|
+
IDL.Tuple(IDL.Nat64, IDL.Nat64)
|
|
1287
|
+
),
|
|
1288
|
+
'staked_e8s_buckets' : IDL.Vec(IDL.Tuple(IDL.Nat64, IDL.Nat64)),
|
|
1289
|
+
'total_voting_power' : IDL.Opt(IDL.Nat64),
|
|
1290
|
+
'count_buckets' : IDL.Vec(IDL.Tuple(IDL.Nat64, IDL.Nat64)),
|
|
1175
1291
|
});
|
|
1176
1292
|
const GovernanceCachedMetrics = IDL.Record({
|
|
1177
1293
|
'total_maturity_e8s_equivalent' : IDL.Nat64,
|
|
@@ -1198,6 +1314,9 @@ export const init = ({ IDL }) => {
|
|
|
1198
1314
|
'not_dissolving_neurons_count' : IDL.Nat64,
|
|
1199
1315
|
'total_locked_e8s' : IDL.Nat64,
|
|
1200
1316
|
'neurons_fund_total_active_neurons' : IDL.Nat64,
|
|
1317
|
+
'total_voting_power_non_self_authenticating_controller' : IDL.Opt(
|
|
1318
|
+
IDL.Nat64
|
|
1319
|
+
),
|
|
1201
1320
|
'total_staked_maturity_e8s_equivalent' : IDL.Nat64,
|
|
1202
1321
|
'not_dissolving_neurons_e8s_buckets_ect' : IDL.Vec(
|
|
1203
1322
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
@@ -1205,6 +1324,7 @@ export const init = ({ IDL }) => {
|
|
|
1205
1324
|
'total_staked_e8s_ect' : IDL.Nat64,
|
|
1206
1325
|
'not_dissolving_neurons_staked_maturity_e8s_equivalent_sum' : IDL.Nat64,
|
|
1207
1326
|
'dissolved_neurons_e8s' : IDL.Nat64,
|
|
1327
|
+
'total_staked_e8s_non_self_authenticating_controller' : IDL.Opt(IDL.Nat64),
|
|
1208
1328
|
'dissolving_neurons_e8s_buckets_seed' : IDL.Vec(
|
|
1209
1329
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
1210
1330
|
),
|
|
@@ -1218,6 +1338,9 @@ export const init = ({ IDL }) => {
|
|
|
1218
1338
|
'dissolving_neurons_e8s_buckets_ect' : IDL.Vec(
|
|
1219
1339
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
1220
1340
|
),
|
|
1341
|
+
'non_self_authenticating_controller_neuron_subset_metrics' : IDL.Opt(
|
|
1342
|
+
NeuronSubsetMetrics
|
|
1343
|
+
),
|
|
1221
1344
|
'dissolving_neurons_count' : IDL.Nat64,
|
|
1222
1345
|
'dissolving_neurons_e8s_buckets' : IDL.Vec(
|
|
1223
1346
|
IDL.Tuple(IDL.Nat64, IDL.Float64)
|
|
@@ -1278,10 +1401,12 @@ export const init = ({ IDL }) => {
|
|
|
1278
1401
|
});
|
|
1279
1402
|
const CfNeuron = IDL.Record({
|
|
1280
1403
|
'has_created_neuron_recipes' : IDL.Opt(IDL.Bool),
|
|
1404
|
+
'hotkeys' : IDL.Opt(Principals),
|
|
1281
1405
|
'nns_neuron_id' : IDL.Nat64,
|
|
1282
1406
|
'amount_icp_e8s' : IDL.Nat64,
|
|
1283
1407
|
});
|
|
1284
1408
|
const CfParticipant = IDL.Record({
|
|
1409
|
+
'controller' : IDL.Opt(IDL.Principal),
|
|
1285
1410
|
'hotkey_principal' : IDL.Text,
|
|
1286
1411
|
'cf_neurons' : IDL.Vec(CfNeuron),
|
|
1287
1412
|
});
|
|
@@ -1293,7 +1418,9 @@ export const init = ({ IDL }) => {
|
|
|
1293
1418
|
'max_direct_participation_icp_e8s' : IDL.Opt(IDL.Nat64),
|
|
1294
1419
|
});
|
|
1295
1420
|
const NeuronsFundNeuronPortion = IDL.Record({
|
|
1421
|
+
'controller' : IDL.Opt(IDL.Principal),
|
|
1296
1422
|
'hotkey_principal' : IDL.Opt(IDL.Principal),
|
|
1423
|
+
'hotkeys' : IDL.Vec(IDL.Principal),
|
|
1297
1424
|
'is_capped' : IDL.Opt(IDL.Bool),
|
|
1298
1425
|
'maturity_equivalent_icp_e8s' : IDL.Opt(IDL.Nat64),
|
|
1299
1426
|
'nns_neuron_id' : IDL.Opt(NeuronId),
|
|
@@ -1379,10 +1506,6 @@ export const init = ({ IDL }) => {
|
|
|
1379
1506
|
IDL.Nat64
|
|
1380
1507
|
),
|
|
1381
1508
|
});
|
|
1382
|
-
const XdrConversionRate = IDL.Record({
|
|
1383
|
-
'xdr_permyriad_per_icp' : IDL.Opt(IDL.Nat64),
|
|
1384
|
-
'timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
1385
|
-
});
|
|
1386
1509
|
const Command_2 = IDL.Variant({
|
|
1387
1510
|
'Spawn' : NeuronId,
|
|
1388
1511
|
'Split' : Split,
|
|
@@ -1425,6 +1548,7 @@ export const init = ({ IDL }) => {
|
|
|
1425
1548
|
'dissolve_state' : IDL.Opt(DissolveState),
|
|
1426
1549
|
'followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
|
|
1427
1550
|
'neuron_fees_e8s' : IDL.Nat64,
|
|
1551
|
+
'visibility' : IDL.Opt(IDL.Int32),
|
|
1428
1552
|
'transfer' : IDL.Opt(NeuronStakeTransfer),
|
|
1429
1553
|
'known_neuron_data' : IDL.Opt(KnownNeuronData),
|
|
1430
1554
|
'spawn_at_timestamp_seconds' : IDL.Opt(IDL.Nat64),
|
|
@@ -1433,7 +1557,7 @@ export const init = ({ IDL }) => {
|
|
|
1433
1557
|
'default_followees' : IDL.Vec(IDL.Tuple(IDL.Int32, Followees)),
|
|
1434
1558
|
'making_sns_proposal' : IDL.Opt(MakingSnsProposal),
|
|
1435
1559
|
'most_recent_monthly_node_provider_rewards' : IDL.Opt(
|
|
1436
|
-
|
|
1560
|
+
MonthlyNodeProviderRewards
|
|
1437
1561
|
),
|
|
1438
1562
|
'maturity_modulation_last_updated_at_timestamp_seconds' : IDL.Opt(
|
|
1439
1563
|
IDL.Nat64
|