@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.
Files changed (38) hide show
  1. package/README.md +48 -35
  2. package/dist/candid/genesis_token.did +1 -1
  3. package/dist/candid/governance.certified.idl.js +145 -21
  4. package/dist/candid/governance.d.ts +71 -6
  5. package/dist/candid/governance.did +64 -5
  6. package/dist/candid/governance.idl.js +145 -21
  7. package/dist/candid/governance_test.certified.idl.js +145 -21
  8. package/dist/candid/governance_test.d.ts +71 -6
  9. package/dist/candid/governance_test.did +64 -5
  10. package/dist/candid/governance_test.idl.js +145 -21
  11. package/dist/candid/old_list_neurons_service.certified.idl.d.ts +2 -0
  12. package/dist/candid/old_list_neurons_service.certified.idl.js +78 -0
  13. package/dist/candid/sns_wasm.certified.idl.js +3 -0
  14. package/dist/candid/sns_wasm.d.ts +5 -0
  15. package/dist/candid/sns_wasm.did +4 -1
  16. package/dist/candid/sns_wasm.idl.js +3 -0
  17. package/dist/cjs/index.cjs.js +1 -1
  18. package/dist/cjs/index.cjs.js.map +4 -4
  19. package/dist/esm/chunk-R4CH4PKK.js +2 -0
  20. package/dist/esm/chunk-R4CH4PKK.js.map +7 -0
  21. package/dist/esm/chunk-REL225EW.js +19 -0
  22. package/dist/esm/chunk-REL225EW.js.map +7 -0
  23. package/dist/esm/governance.canister.js +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/esm/index.js.map +3 -3
  26. package/dist/esm/sns_wasm.canister.js +1 -1
  27. package/dist/types/canisters/governance/request.converters.d.ts +9 -2
  28. package/dist/types/canisters/governance/response.converters.d.ts +8 -1
  29. package/dist/types/enums/governance.enums.d.ts +18 -1
  30. package/dist/types/governance.canister.d.ts +11 -2
  31. package/dist/types/governance_test.canister.d.ts +2 -1
  32. package/dist/types/types/governance.options.d.ts +2 -0
  33. package/dist/types/types/governance_converters.d.ts +43 -1
  34. package/package.json +7 -7
  35. package/dist/esm/chunk-AN6DZS5M.js +0 -19
  36. package/dist/esm/chunk-AN6DZS5M.js.map +0 -7
  37. package/dist/esm/chunk-RRSEQTKA.js +0 -2
  38. package/dist/esm/chunk-RRSEQTKA.js.map +0 -7
package/README.md CHANGED
@@ -155,7 +155,7 @@ Parameters:
155
155
 
156
156
  ### :factory: GovernanceCanister
157
157
 
158
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L91)
158
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L94)
159
159
 
160
160
  #### Methods
161
161
 
@@ -173,6 +173,7 @@ Parameters:
173
173
  - [joinCommunityFund](#gear-joincommunityfund)
174
174
  - [autoStakeMaturity](#gear-autostakematurity)
175
175
  - [leaveCommunityFund](#gear-leavecommunityfund)
176
+ - [setVisibility](#gear-setvisibility)
176
177
  - [setNodeProviderAccount](#gear-setnodeprovideraccount)
177
178
  - [mergeNeurons](#gear-mergeneurons)
178
179
  - [simulateMergeNeurons](#gear-simulatemergeneurons)
@@ -197,7 +198,7 @@ Parameters:
197
198
  | -------- | ------------------------------------------------------------- |
198
199
  | `create` | `(options?: GovernanceCanisterOptions) => GovernanceCanister` |
199
200
 
200
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L104)
201
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L109)
201
202
 
202
203
  ##### :gear: listNeurons
203
204
 
@@ -208,11 +209,13 @@ If an array of neuron IDs is provided, precisely those neurons will be fetched.
208
209
  If `certified` is true, the request is fetched as an update call, otherwise
209
210
  it is fetched using a query call.
210
211
 
211
- | Method | Type |
212
- | ------------- | ------------------------------------------------------------------------------------------------------------------ |
213
- | `listNeurons` | `({ certified, neuronIds, }: { certified: boolean; neuronIds?: bigint[] or undefined; }) => Promise<NeuronInfo[]>` |
212
+ The backend treats `includeEmptyNeurons` as true if absent.
214
213
 
215
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L130)
214
+ | Method | Type |
215
+ | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
216
+ | `listNeurons` | `({ certified, neuronIds, includeEmptyNeurons, }: { certified: boolean; neuronIds?: bigint[] or undefined; includeEmptyNeurons?: boolean or undefined; }) => Promise<NeuronInfo[]>` |
217
+
218
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L149)
216
219
 
217
220
  ##### :gear: listKnownNeurons
218
221
 
@@ -226,7 +229,7 @@ it is fetched using a query call.
226
229
  | ------------------ | ------------------------------------------------- |
227
230
  | `listKnownNeurons` | `(certified?: boolean) => Promise<KnownNeuron[]>` |
228
231
 
229
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L153)
232
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L182)
230
233
 
231
234
  ##### :gear: getLastestRewardEvent
232
235
 
@@ -239,7 +242,7 @@ it's fetched using a query call.
239
242
  | ----------------------- | ----------------------------------------------- |
240
243
  | `getLastestRewardEvent` | `(certified?: boolean) => Promise<RewardEvent>` |
241
244
 
242
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L175)
245
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L204)
243
246
 
244
247
  ##### :gear: listProposals
245
248
 
@@ -258,7 +261,7 @@ Parameters:
258
261
  - `request`: the options to list the proposals (limit number of results, topics to search for, etc.)
259
262
  - `certified`: query or update calls
260
263
 
261
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L191)
264
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L220)
262
265
 
263
266
  ##### :gear: stakeNeuron
264
267
 
@@ -266,7 +269,7 @@ Parameters:
266
269
  | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
267
270
  | `stakeNeuron` | `({ stake, principal, fromSubAccount, ledgerCanister, createdAt, fee, }: { stake: bigint; principal: Principal; fromSubAccount?: number[] or undefined; ledgerCanister: LedgerCanister; createdAt?: bigint or undefined; fee?: bigint or undefined; }) => Promise<...>` |
268
271
 
269
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L210)
272
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L239)
270
273
 
271
274
  ##### :gear: stakeNeuronIcrc1
272
275
 
@@ -274,7 +277,7 @@ Parameters:
274
277
  | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
275
278
  | `stakeNeuronIcrc1` | `({ stake, principal, fromSubAccount, ledgerCanister, createdAt, fee, }: { stake: bigint; principal: Principal; fromSubAccount?: Uint8Array or undefined; ledgerCanister: LedgerCanister; createdAt?: bigint or undefined; fee?: bigint or undefined; }) => Promise<...>` |
276
279
 
277
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L276)
280
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L305)
278
281
 
279
282
  ##### :gear: increaseDissolveDelay
280
283
 
@@ -284,7 +287,7 @@ Increases dissolve delay of a neuron
284
287
  | ----------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
285
288
  | `increaseDissolveDelay` | `({ neuronId, additionalDissolveDelaySeconds, }: { neuronId: bigint; additionalDissolveDelaySeconds: number; }) => Promise<void>` |
286
289
 
287
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L341)
290
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L370)
288
291
 
289
292
  ##### :gear: setDissolveDelay
290
293
 
@@ -295,7 +298,7 @@ The new date is now + dissolveDelaySeconds.
295
298
  | ------------------ | ------------------------------------------------------------------------------------------------------------- |
296
299
  | `setDissolveDelay` | `({ neuronId, dissolveDelaySeconds, }: { neuronId: bigint; dissolveDelaySeconds: number; }) => Promise<void>` |
297
300
 
298
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L367)
301
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L396)
299
302
 
300
303
  ##### :gear: startDissolving
301
304
 
@@ -305,7 +308,7 @@ Start dissolving process of a neuron
305
308
  | ----------------- | ------------------------------------- |
306
309
  | `startDissolving` | `(neuronId: bigint) => Promise<void>` |
307
310
 
308
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L390)
311
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L419)
309
312
 
310
313
  ##### :gear: stopDissolving
311
314
 
@@ -315,7 +318,7 @@ Stop dissolving process of a neuron
315
318
  | ---------------- | ------------------------------------- |
316
319
  | `stopDissolving` | `(neuronId: bigint) => Promise<void>` |
317
320
 
318
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L404)
321
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L433)
319
322
 
320
323
  ##### :gear: joinCommunityFund
321
324
 
@@ -325,7 +328,7 @@ Neuron joins the community fund
325
328
  | ------------------- | ------------------------------------- |
326
329
  | `joinCommunityFund` | `(neuronId: bigint) => Promise<void>` |
327
330
 
328
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L418)
331
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L447)
329
332
 
330
333
  ##### :gear: autoStakeMaturity
331
334
 
@@ -340,7 +343,7 @@ Parameters:
340
343
  - `neuronId`: The id of the neuron for which to request a change of the auto stake feature
341
344
  - `autoStake`: `true` to enable the auto-stake maturity for this neuron, `false` to turn it off
342
345
 
343
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L436)
346
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L465)
344
347
 
345
348
  ##### :gear: leaveCommunityFund
346
349
 
@@ -350,7 +353,17 @@ Neuron leaves the community fund
350
353
  | -------------------- | ------------------------------------- |
351
354
  | `leaveCommunityFund` | `(neuronId: bigint) => Promise<void>` |
352
355
 
353
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L451)
356
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L480)
357
+
358
+ ##### :gear: setVisibility
359
+
360
+ Set visibility of a neuron
361
+
362
+ | Method | Type |
363
+ | --------------- | ------------------------------------------------------------------- |
364
+ | `setVisibility` | `(neuronId: bigint, visibility: NeuronVisibility) => Promise<void>` |
365
+
366
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L494)
354
367
 
355
368
  ##### :gear: setNodeProviderAccount
356
369
 
@@ -361,7 +374,7 @@ Where the reward is paid to.
361
374
  | ------------------------ | ---------------------------------------------- |
362
375
  | `setNodeProviderAccount` | `(accountIdentifier: string) => Promise<void>` |
363
376
 
364
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L468)
377
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L514)
365
378
 
366
379
  ##### :gear: mergeNeurons
367
380
 
@@ -371,7 +384,7 @@ Merge two neurons
371
384
  | -------------- | --------------------------------------------------------------------------------- |
372
385
  | `mergeNeurons` | `(request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<void>` |
373
386
 
374
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L488)
387
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L534)
375
388
 
376
389
  ##### :gear: simulateMergeNeurons
377
390
 
@@ -381,7 +394,7 @@ Simulate merging two neurons
381
394
  | ---------------------- | --------------------------------------------------------------------------------------- |
382
395
  | `simulateMergeNeurons` | `(request: { sourceNeuronId: bigint; targetNeuronId: bigint; }) => Promise<NeuronInfo>` |
383
396
 
384
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L505)
397
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L551)
385
398
 
386
399
  ##### :gear: splitNeuron
387
400
 
@@ -391,7 +404,7 @@ Splits a neuron creating a new one
391
404
  | ------------- | ----------------------------------------------------------------------------------- |
392
405
  | `splitNeuron` | `({ neuronId, amount, }: { neuronId: bigint; amount: bigint; }) => Promise<bigint>` |
393
406
 
394
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L550)
407
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L596)
395
408
 
396
409
  ##### :gear: getProposal
397
410
 
@@ -404,7 +417,7 @@ it is fetched using a query call.
404
417
  | ------------- | ------------------------------------------------------------------------------------------------------------------------------- |
405
418
  | `getProposal` | `({ proposalId, certified, }: { proposalId: bigint; certified?: boolean or undefined; }) => Promise<ProposalInfo or undefined>` |
406
419
 
407
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L590)
420
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L636)
408
421
 
409
422
  ##### :gear: makeProposal
410
423
 
@@ -414,7 +427,7 @@ Create new proposal
414
427
  | -------------- | ---------------------------------------------------------------- |
415
428
  | `makeProposal` | `(request: MakeProposalRequest) => Promise<bigint or undefined>` |
416
429
 
417
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L608)
430
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L654)
418
431
 
419
432
  ##### :gear: registerVote
420
433
 
@@ -424,7 +437,7 @@ Registers vote for a proposal from the neuron passed.
424
437
  | -------------- | ----------------------------------------------------------------------------------------------------------- |
425
438
  | `registerVote` | `({ neuronId, vote, proposalId, }: { neuronId: bigint; vote: Vote; proposalId: bigint; }) => Promise<void>` |
426
439
 
427
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L629)
440
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L675)
428
441
 
429
442
  ##### :gear: setFollowees
430
443
 
@@ -434,7 +447,7 @@ Edit neuron followees per topic
434
447
  | -------------- | ------------------------------------------------- |
435
448
  | `setFollowees` | `(followRequest: FollowRequest) => Promise<void>` |
436
449
 
437
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L651)
450
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L697)
438
451
 
439
452
  ##### :gear: disburse
440
453
 
@@ -444,7 +457,7 @@ Disburse neuron on Account
444
457
  | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
445
458
  | `disburse` | `({ neuronId, toAccountId, amount, }: { neuronId: bigint; toAccountId?: string or undefined; amount?: bigint or undefined; }) => Promise<void>` |
446
459
 
447
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L666)
460
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L712)
448
461
 
449
462
  ##### :gear: mergeMaturity
450
463
 
@@ -454,7 +467,7 @@ Merge Maturity of a neuron
454
467
  | --------------- | ------------------------------------------------------------------------------------------------------- |
455
468
  | `mergeMaturity` | `({ neuronId, percentageToMerge, }: { neuronId: bigint; percentageToMerge: number; }) => Promise<void>` |
456
469
 
457
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L702)
470
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L748)
458
471
 
459
472
  ##### :gear: stakeMaturity
460
473
 
@@ -469,7 +482,7 @@ Parameters:
469
482
  - `neuronId`: The id of the neuron for which to stake the maturity
470
483
  - `percentageToStake`: Optional. Percentage of the current maturity to stake. If not provided, all of the neuron's current maturity will be staked.
471
484
 
472
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L731)
485
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L777)
473
486
 
474
487
  ##### :gear: spawnNeuron
475
488
 
@@ -479,7 +492,7 @@ Merge Maturity of a neuron
479
492
  | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
480
493
  | `spawnNeuron` | `({ neuronId, percentageToSpawn, newController, nonce, }: { neuronId: bigint; percentageToSpawn?: number or undefined; newController?: Principal or undefined; nonce?: bigint or undefined; }) => Promise<bigint>` |
481
494
 
482
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L753)
495
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L799)
483
496
 
484
497
  ##### :gear: addHotkey
485
498
 
@@ -489,7 +502,7 @@ Add hotkey to neuron
489
502
  | ----------- | ------------------------------------------------------------------------------------------ |
490
503
  | `addHotkey` | `({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void>` |
491
504
 
492
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L800)
505
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L846)
493
506
 
494
507
  ##### :gear: removeHotkey
495
508
 
@@ -499,7 +512,7 @@ Remove hotkey to neuron
499
512
  | -------------- | ------------------------------------------------------------------------------------------ |
500
513
  | `removeHotkey` | `({ neuronId, principal, }: { neuronId: bigint; principal: Principal; }) => Promise<void>` |
501
514
 
502
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L820)
515
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L866)
503
516
 
504
517
  ##### :gear: claimOrRefreshNeuronFromAccount
505
518
 
@@ -509,7 +522,7 @@ Gets the NeuronID of a newly created neuron.
509
522
  | --------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
510
523
  | `claimOrRefreshNeuronFromAccount` | `({ memo, controller, }: { memo: bigint; controller?: Principal or undefined; }) => Promise<bigint or undefined>` |
511
524
 
512
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L838)
525
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L884)
513
526
 
514
527
  ##### :gear: claimOrRefreshNeuron
515
528
 
@@ -520,7 +533,7 @@ Uses query call only.
520
533
  | ---------------------- | ------------------------------------------------------------------------ |
521
534
  | `claimOrRefreshNeuron` | `(request: ClaimOrRefreshNeuronRequest) => Promise<bigint or undefined>` |
522
535
 
523
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L869)
536
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L915)
524
537
 
525
538
  ##### :gear: getNeuron
526
539
 
@@ -530,7 +543,7 @@ Return the data of the neuron provided as id.
530
543
  | ----------- | ----------------------------------------------------------------------------------------------------------- |
531
544
  | `getNeuron` | `({ certified, neuronId, }: { certified: boolean; neuronId: bigint; }) => Promise<NeuronInfo or undefined>` |
532
545
 
533
- [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L920)
546
+ [:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/nns/src/governance.canister.ts#L966)
534
547
 
535
548
  ### :factory: SnsWasmCanister
536
549
 
@@ -1,4 +1,4 @@
1
- // Generated from IC repo commit d19fa44 (2024-06-05 tags: release-2024-06-05_23-01-base) 'rs/nns/gtc/canister/gtc.did' by import-candid
1
+ // Generated from IC repo commit 2b109fb9ba (2024-07-25) 'rs/nns/gtc/canister/gtc.did' by import-candid
2
2
  type AccountState = record {
3
3
  authenticated_principal_id : opt principal;
4
4
  successfully_transferred_neurons : vec TransferredNeuron;