@@ -384,7 +384,7 @@ Set visibility of a neuron
384
384
| --------------- | ------------------------------------------------------------------- |
385
385
| ` setVisibility ` | ` (neuronId: bigint, visibility: NeuronVisibility) => Promise<void> ` |
386
386
387
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L525 )
387
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L526 )
388
388
389
389
##### :gear : setNodeProviderAccount
390
390
@@ -395,7 +395,7 @@ Where the reward is paid to.
395
395
| ------------------------ | ---------------------------------------------- |
396
396
| ` setNodeProviderAccount ` | ` (accountIdentifier: string) => Promise<void> ` |
397
397
398
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L545 )
398
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L546 )
399
399
400
400
##### :gear : mergeNeurons
401
401
@@ -405,7 +405,7 @@ Merge two neurons
405
405
| -------------- | --------------------------------------------------------------------------------- |
406
406
| ` mergeNeurons ` | ` (request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<void> ` |
407
407
408
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L565 )
408
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L566 )
409
409
410
410
##### :gear : simulateMergeNeurons
411
411
@@ -415,7 +415,7 @@ Simulate merging two neurons
415
415
| ---------------------- | --------------------------------------------------------------------------------------- |
416
416
| ` simulateMergeNeurons ` | ` (request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<NeuronInfo> ` |
417
417
418
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L582 )
418
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L583 )
419
419
420
420
##### :gear : splitNeuron
421
421
@@ -425,7 +425,7 @@ Splits a neuron creating a new one
425
425
| ------------- | ----------------------------------------------------------------------------------- |
426
426
| ` splitNeuron ` | ` ({ neuronId, amount, }: { neuronId: bigint; amount: bigint; }) => Promise<bigint> ` |
427
427
428
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L627 )
428
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L628 )
429
429
430
430
##### :gear : getProposal
431
431
@@ -438,7 +438,7 @@ it is fetched using a query call.
438
438
| ------------- | ------------------------------------------------------------------------------------------------------------------------------- |
439
439
| ` getProposal ` | ` ({ proposalId, certified, }: { proposalId: bigint; certified?: boolean or undefined; }) => Promise<ProposalInfo or undefined> ` |
440
440
441
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L667 )
441
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L668 )
442
442
443
443
##### :gear : makeProposal
444
444
@@ -448,7 +448,7 @@ Create new proposal
448
448
| -------------- | ---------------------------------------------------------------- |
449
449
| ` makeProposal ` | ` (request: MakeProposalRequest) => Promise<bigint or undefined> ` |
450
450
451
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L685 )
451
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L686 )
452
452
453
453
##### :gear : registerVote
454
454
@@ -458,7 +458,7 @@ Registers vote for a proposal from the neuron passed.
458
458
| -------------- | ----------------------------------------------------------------------------------------------------------- |
459
459
| ` registerVote ` | ` ({ neuronId, vote, proposalId, }: { neuronId: bigint; vote: Vote; proposalId: bigint; }) => Promise<void> ` |
460
460
461
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L706 )
461
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L707 )
462
462
463
463
##### :gear : setFollowees
464
464
@@ -468,7 +468,7 @@ Edit neuron followees per topic
468
468
| -------------- | ------------------------------------------------- |
469
469
| ` setFollowees ` | ` (followRequest: FollowRequest) => Promise<void> ` |
470
470
471
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L728 )
471
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L729 )
472
472
473
473
##### :gear : disburse
474
474
@@ -478,7 +478,7 @@ Disburse neuron on Account
478
478
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
479
479
| ` disburse ` | ` ({ neuronId, toAccountId, amount, }: { neuronId: bigint; toAccountId?: string or undefined; amount?: bigint or undefined; }) => Promise<void> ` |
480
480
481
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L743 )
481
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L744 )
482
482
483
483
##### :gear : refreshVotingPower
484
484
@@ -490,7 +490,7 @@ parameter of the neuron to the current time).
490
490
| -------------------- | --------------------------------------------------------- |
491
491
| ` refreshVotingPower ` | ` ({ neuronId, }: { neuronId: bigint; }) => Promise<void> ` |
492
492
493
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L779 )
493
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L780 )
494
494
495
495
##### :gear : mergeMaturity
496
496
@@ -500,7 +500,7 @@ Merge Maturity of a neuron
500
500
| --------------- | ------------------------------------------------------------------------------------------------------- |
501
501
| ` mergeMaturity ` | ` ({ neuronId, percentageToMerge, }: { neuronId: bigint; percentageToMerge: number; }) => Promise<void> ` |
502
502
503
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L801 )
503
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L802 )
504
504
505
505
##### :gear : stakeMaturity
506
506
@@ -515,7 +515,7 @@ Parameters:
515
515
- ` neuronId ` : The id of the neuron for which to stake the maturity
516
516
- ` percentageToStake ` : Optional. Percentage of the current maturity to stake. If not provided, all of the neuron's current maturity will be staked.
517
517
518
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L830 )
518
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L831 )
519
519
520
520
##### :gear : spawnNeuron
521
521
@@ -525,7 +525,7 @@ Merge Maturity of a neuron
525
525
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
526
526
| ` spawnNeuron ` | ` ({ neuronId, percentageToSpawn, newController, nonce, }: { neuronId: bigint; percentageToSpawn?: number or undefined; newController?: Principal or undefined; nonce?: bigint or undefined; }) => Promise<bigint> ` |
527
527
528
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L852 )
528
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L853 )
529
529
530
530
##### :gear : addHotkey
531
531
@@ -535,7 +535,7 @@ Add hotkey to neuron
535
535
| ----------- | ------------------------------------------------------------------------------------------ |
536
536
| ` addHotkey ` | ` ({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void> ` |
537
537
538
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L899 )
538
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L900 )
539
539
540
540
##### :gear : removeHotkey
541
541
@@ -545,7 +545,7 @@ Remove hotkey to neuron
545
545
| -------------- | ------------------------------------------------------------------------------------------ |
546
546
| ` removeHotkey ` | ` ({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void> ` |
547
547
548
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L919 )
548
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L920 )
549
549
550
550
##### :gear : claimOrRefreshNeuronFromAccount
551
551
@@ -555,7 +555,7 @@ Gets the NeuronID of a newly created neuron.
555
555
| --------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
556
556
| ` claimOrRefreshNeuronFromAccount ` | ` ({ memo, controller, }: { memo: bigint; controller?: Principal or undefined; }) => Promise<bigint or undefined> ` |
557
557
558
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L937 )
558
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L938 )
559
559
560
560
##### :gear : claimOrRefreshNeuron
561
561
@@ -566,7 +566,7 @@ Uses query call only.
566
566
| ---------------------- | ------------------------------------------------------------------------ |
567
567
| ` claimOrRefreshNeuron ` | ` (request: ClaimOrRefreshNeuronRequest) => Promise<bigint or undefined> ` |
568
568
569
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L968 )
569
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L969 )
570
570
571
571
##### :gear : getNeuron
572
572
@@ -576,7 +576,7 @@ Return the data of the neuron provided as id.
576
576
| ----------- | ----------------------------------------------------------------------------------------------------------- |
577
577
| ` getNeuron ` | ` ({ certified, neuronId, }: { certified: boolean; neuronId: bigint; }) => Promise<NeuronInfo or undefined> ` |
578
578
579
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L993 )
579
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L994 )
580
580
581
581
##### :gear : getNetworkEconomicsParameters
582
582
@@ -586,7 +586,7 @@ Return the [Network Economics](https://github.com/dfinity/ic/blob/d90e934eb440c7
586
586
| ------------------------------- | ------------------------------------------------------------------------ |
587
587
| ` getNetworkEconomicsParameters ` | ` ({ certified, }: { certified: boolean; }) => Promise<NetworkEconomics> ` |
588
588
589
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1014 )
589
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1015 )
590
590
591
591
##### :gear : disburseMaturity
592
592
@@ -597,7 +597,7 @@ Reference: https://github.com/dfinity/ic/blob/ca2be53acf413bb92478ee7694ac0fb92a
597
597
| ------------------ | ------------------------------------------------------------------------------------------------------------- |
598
598
| ` disburseMaturity ` | ` ({ neuronId, percentageToDisburse, }: { neuronId: bigint; percentageToDisburse: number; }) => Promise<void> ` |
599
599
600
- [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1037 )
600
+ [ :link : Source] ( https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L1038 )
601
601
602
602
### :factory : SnsWasmCanister
603
603
0 commit comments