@aztec/aztec.js 0.0.1-commit.d431d1c → 0.0.1-commit.e310a4c8

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 (97) hide show
  1. package/dest/api/block.d.ts +2 -2
  2. package/dest/api/block.d.ts.map +1 -1
  3. package/dest/api/block.js +1 -1
  4. package/dest/api/contract.d.ts +16 -10
  5. package/dest/api/contract.d.ts.map +1 -1
  6. package/dest/api/contract.js +14 -8
  7. package/dest/api/keys.d.ts +1 -1
  8. package/dest/api/keys.js +1 -1
  9. package/dest/api/node.d.ts +8 -4
  10. package/dest/api/node.d.ts.map +1 -1
  11. package/dest/api/node.js +7 -3
  12. package/dest/api/tx.d.ts +2 -2
  13. package/dest/api/tx.d.ts.map +1 -1
  14. package/dest/api/tx.js +1 -1
  15. package/dest/api/wallet.d.ts +3 -2
  16. package/dest/api/wallet.d.ts.map +1 -1
  17. package/dest/api/wallet.js +2 -1
  18. package/dest/contract/base_contract_interaction.d.ts +8 -10
  19. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  20. package/dest/contract/base_contract_interaction.js +5 -17
  21. package/dest/contract/deploy_method.d.ts +63 -16
  22. package/dest/contract/deploy_method.d.ts.map +1 -1
  23. package/dest/contract/deploy_method.js +36 -19
  24. package/dest/contract/interaction_options.d.ts +42 -5
  25. package/dest/contract/interaction_options.d.ts.map +1 -1
  26. package/dest/contract/interaction_options.js +8 -1
  27. package/dest/contract/protocol_contracts/auth-registry.d.ts +1 -10
  28. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -1
  29. package/dest/contract/protocol_contracts/auth-registry.js +61 -479
  30. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +2 -11
  31. package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -1
  32. package/dest/contract/protocol_contracts/contract-class-registry.js +10 -422
  33. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +2 -11
  34. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -1
  35. package/dest/contract/protocol_contracts/contract-instance-registry.js +80 -486
  36. package/dest/contract/protocol_contracts/fee-juice.d.ts +1 -10
  37. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -1
  38. package/dest/contract/protocol_contracts/fee-juice.js +0 -414
  39. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts +3 -3
  40. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts.map +1 -1
  41. package/dest/contract/protocol_contracts/multi-call-entrypoint.js +13 -14
  42. package/dest/contract/protocol_contracts/public-checks.d.ts +3 -3
  43. package/dest/contract/protocol_contracts/public-checks.d.ts.map +1 -1
  44. package/dest/contract/protocol_contracts/public-checks.js +13 -22
  45. package/dest/contract/wait_for_proven.js +1 -1
  46. package/dest/contract/wait_opts.d.ts +16 -0
  47. package/dest/contract/wait_opts.d.ts.map +1 -0
  48. package/dest/contract/wait_opts.js +5 -0
  49. package/dest/utils/authwit.d.ts +6 -6
  50. package/dest/utils/authwit.d.ts.map +1 -1
  51. package/dest/utils/authwit.js +2 -6
  52. package/dest/utils/node.d.ts +12 -1
  53. package/dest/utils/node.d.ts.map +1 -1
  54. package/dest/utils/node.js +46 -0
  55. package/dest/wallet/capabilities.d.ts +444 -0
  56. package/dest/wallet/capabilities.d.ts.map +1 -0
  57. package/dest/wallet/capabilities.js +3 -0
  58. package/dest/wallet/deploy_account_method.d.ts +19 -5
  59. package/dest/wallet/deploy_account_method.d.ts.map +1 -1
  60. package/dest/wallet/index.d.ts +2 -1
  61. package/dest/wallet/index.d.ts.map +1 -1
  62. package/dest/wallet/index.js +1 -0
  63. package/dest/wallet/wallet.d.ts +1356 -18
  64. package/dest/wallet/wallet.d.ts.map +1 -1
  65. package/dest/wallet/wallet.js +136 -4
  66. package/package.json +9 -9
  67. package/src/api/block.ts +1 -1
  68. package/src/api/contract.ts +22 -7
  69. package/src/api/keys.ts +2 -2
  70. package/src/api/node.ts +7 -3
  71. package/src/api/tx.ts +2 -0
  72. package/src/api/wallet.ts +43 -0
  73. package/src/contract/base_contract_interaction.ts +27 -15
  74. package/src/contract/deploy_method.ts +115 -23
  75. package/src/contract/interaction_options.ts +49 -4
  76. package/src/contract/protocol_contracts/auth-registry.ts +37 -240
  77. package/src/contract/protocol_contracts/contract-class-registry.ts +3 -204
  78. package/src/contract/protocol_contracts/contract-instance-registry.ts +34 -234
  79. package/src/contract/protocol_contracts/fee-juice.ts +0 -202
  80. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +6 -12
  81. package/src/contract/protocol_contracts/public-checks.ts +6 -14
  82. package/src/contract/wait_for_proven.ts +1 -1
  83. package/src/contract/wait_opts.ts +21 -0
  84. package/src/utils/authwit.ts +16 -4
  85. package/src/utils/node.ts +62 -0
  86. package/src/wallet/capabilities.ts +491 -0
  87. package/src/wallet/deploy_account_method.ts +19 -4
  88. package/src/wallet/index.ts +1 -0
  89. package/src/wallet/wallet.ts +148 -12
  90. package/dest/contract/deploy_sent_tx.d.ts +0 -48
  91. package/dest/contract/deploy_sent_tx.d.ts.map +0 -1
  92. package/dest/contract/deploy_sent_tx.js +0 -46
  93. package/dest/contract/sent_tx.d.ts +0 -50
  94. package/dest/contract/sent_tx.d.ts.map +0 -1
  95. package/dest/contract/sent_tx.js +0 -90
  96. package/src/contract/deploy_sent_tx.ts +0 -75
  97. package/src/contract/sent_tx.ts +0 -129
@@ -4,6 +4,78 @@ import { ContractBase } from '../contract_base.js';
4
4
  const ContractInstanceRegistryContractArtifact = {
5
5
  name: 'ContractInstanceRegistry',
6
6
  functions: [
7
+ {
8
+ ...{
9
+ functionType: FunctionType.PUBLIC,
10
+ name: 'public_dispatch',
11
+ isOnlySelf: false,
12
+ isStatic: false,
13
+ isInitializer: false,
14
+ parameters: [
15
+ {
16
+ name: 'selector',
17
+ type: {
18
+ kind: 'field'
19
+ },
20
+ visibility: 'private'
21
+ }
22
+ ],
23
+ returnTypes: [],
24
+ errorTypes: {
25
+ '361444214588792908': {
26
+ error_kind: 'string',
27
+ string: 'attempt to multiply with overflow'
28
+ },
29
+ '1998584279744703196': {
30
+ error_kind: 'string',
31
+ string: 'attempt to subtract with overflow'
32
+ },
33
+ '5755400808989454547': {
34
+ error_kind: 'string',
35
+ string: 'Function get_update_delay can only be called statically'
36
+ },
37
+ '6804164082532189961': {
38
+ error_kind: 'string',
39
+ string: 'New update delay is too low'
40
+ },
41
+ '12511970388699677811': {
42
+ error_kind: 'fmtstring',
43
+ length: 27,
44
+ item_types: [
45
+ {
46
+ kind: 'field'
47
+ }
48
+ ]
49
+ },
50
+ '12579274401768182412': {
51
+ error_kind: 'string',
52
+ string: 'New contract class is not registered'
53
+ },
54
+ '13455385521185560676': {
55
+ error_kind: 'string',
56
+ string: 'Storage slot 0 not allowed. Storage slots must start from 1.'
57
+ },
58
+ '14990209321349310352': {
59
+ error_kind: 'string',
60
+ string: 'attempt to add with overflow'
61
+ },
62
+ '15353471697975175405': {
63
+ error_kind: 'string',
64
+ string: 'msg.sender is not deployed'
65
+ },
66
+ '15764276373176857197': {
67
+ error_kind: 'string',
68
+ string: 'Stack too deep'
69
+ },
70
+ '16431471497789672479': {
71
+ error_kind: 'string',
72
+ string: 'Index out of bounds'
73
+ }
74
+ }
75
+ },
76
+ bytecode: Buffer.from([]),
77
+ debugSymbols: ''
78
+ },
7
79
  {
8
80
  ...{
9
81
  functionType: FunctionType.PRIVATE,
@@ -210,11 +282,6 @@ const ContractInstanceRegistryContractArtifact = {
210
282
  error_kind: 'string',
211
283
  string: 'Point not on curve'
212
284
  },
213
- '2754040237334517471': {
214
- error_kind: 'fmtstring',
215
- length: 92,
216
- item_types: []
217
- },
218
285
  '4135474769840782447': {
219
286
  error_kind: 'string',
220
287
  string: 'Point at infinity should have canonical representation (0 0)'
@@ -235,487 +302,6 @@ const ContractInstanceRegistryContractArtifact = {
235
302
  },
236
303
  bytecode: Buffer.from([]),
237
304
  debugSymbols: ''
238
- },
239
- {
240
- ...{
241
- functionType: FunctionType.UTILITY,
242
- name: 'process_message',
243
- isOnlySelf: false,
244
- isStatic: false,
245
- isInitializer: false,
246
- parameters: [
247
- {
248
- name: 'message_ciphertext',
249
- type: {
250
- kind: 'struct',
251
- fields: [
252
- {
253
- name: 'storage',
254
- type: {
255
- kind: 'array',
256
- length: 17,
257
- type: {
258
- kind: 'field'
259
- }
260
- }
261
- },
262
- {
263
- name: 'len',
264
- type: {
265
- kind: 'integer',
266
- sign: 'unsigned',
267
- width: 32
268
- }
269
- }
270
- ],
271
- path: 'std::collections::bounded_vec::BoundedVec'
272
- },
273
- visibility: 'private'
274
- },
275
- {
276
- name: 'message_context',
277
- type: {
278
- kind: 'struct',
279
- fields: [
280
- {
281
- name: 'tx_hash',
282
- type: {
283
- kind: 'field'
284
- }
285
- },
286
- {
287
- name: 'unique_note_hashes_in_tx',
288
- type: {
289
- kind: 'struct',
290
- fields: [
291
- {
292
- name: 'storage',
293
- type: {
294
- kind: 'array',
295
- length: 64,
296
- type: {
297
- kind: 'field'
298
- }
299
- }
300
- },
301
- {
302
- name: 'len',
303
- type: {
304
- kind: 'integer',
305
- sign: 'unsigned',
306
- width: 32
307
- }
308
- }
309
- ],
310
- path: 'std::collections::bounded_vec::BoundedVec'
311
- }
312
- },
313
- {
314
- name: 'first_nullifier_in_tx',
315
- type: {
316
- kind: 'field'
317
- }
318
- },
319
- {
320
- name: 'recipient',
321
- type: {
322
- kind: 'struct',
323
- fields: [
324
- {
325
- name: 'inner',
326
- type: {
327
- kind: 'field'
328
- }
329
- }
330
- ],
331
- path: 'aztec::protocol_types::address::aztec_address::AztecAddress'
332
- }
333
- }
334
- ],
335
- path: 'aztec::messages::processing::message_context::MessageContext'
336
- },
337
- visibility: 'private'
338
- }
339
- ],
340
- returnTypes: [],
341
- errorTypes: {
342
- '361444214588792908': {
343
- error_kind: 'string',
344
- string: 'attempt to multiply with overflow'
345
- },
346
- '992401946138144806': {
347
- error_kind: 'string',
348
- string: 'Attempted to read past end of BoundedVec'
349
- },
350
- '1998584279744703196': {
351
- error_kind: 'string',
352
- string: 'attempt to subtract with overflow'
353
- },
354
- '2967937905572420042': {
355
- error_kind: 'fmtstring',
356
- length: 61,
357
- item_types: [
358
- {
359
- kind: 'field'
360
- },
361
- {
362
- kind: 'field'
363
- }
364
- ]
365
- },
366
- '3330370348214585450': {
367
- error_kind: 'fmtstring',
368
- length: 48,
369
- item_types: [
370
- {
371
- kind: 'field'
372
- },
373
- {
374
- kind: 'field'
375
- }
376
- ]
377
- },
378
- '3670003311596808700': {
379
- error_kind: 'fmtstring',
380
- length: 77,
381
- item_types: [
382
- {
383
- kind: 'integer',
384
- sign: 'unsigned',
385
- width: 32
386
- }
387
- ]
388
- },
389
- '4261968856572588300': {
390
- error_kind: 'string',
391
- string: 'Value does not fit in field'
392
- },
393
- '4440399188109668273': {
394
- error_kind: 'string',
395
- string: 'Input length must be a multiple of 32'
396
- },
397
- '9791669845391776238': {
398
- error_kind: 'string',
399
- string: '0 has a square root; you cannot claim it is not square'
400
- },
401
- '9885968605480832328': {
402
- error_kind: 'string',
403
- string: 'Attempted to read past the length of a CapsuleArray'
404
- },
405
- '10135509984888824963': {
406
- error_kind: 'fmtstring',
407
- length: 58,
408
- item_types: [
409
- {
410
- kind: 'field'
411
- }
412
- ]
413
- },
414
- '10791800398362570014': {
415
- error_kind: 'string',
416
- string: 'extend_from_bounded_vec out of bounds'
417
- },
418
- '11021520179822076911': {
419
- error_kind: 'string',
420
- string: 'Attempted to delete past the length of a CapsuleArray'
421
- },
422
- '11692359521570349358': {
423
- error_kind: 'fmtstring',
424
- length: 40,
425
- item_types: []
426
- },
427
- '12327971061804302172': {
428
- error_kind: 'fmtstring',
429
- length: 98,
430
- item_types: []
431
- },
432
- '12469291177396340830': {
433
- error_kind: 'string',
434
- string: 'call to assert_max_bit_size'
435
- },
436
- '12913276134398371456': {
437
- error_kind: 'string',
438
- string: 'push out of bounds'
439
- },
440
- '13557316507370296400': {
441
- error_kind: 'fmtstring',
442
- length: 130,
443
- item_types: [
444
- {
445
- kind: 'integer',
446
- sign: 'unsigned',
447
- width: 32
448
- }
449
- ]
450
- },
451
- '14938672389828944159': {
452
- error_kind: 'fmtstring',
453
- length: 146,
454
- item_types: [
455
- {
456
- kind: 'integer',
457
- sign: 'unsigned',
458
- width: 32
459
- }
460
- ]
461
- },
462
- '14990209321349310352': {
463
- error_kind: 'string',
464
- string: 'attempt to add with overflow'
465
- },
466
- '15764276373176857197': {
467
- error_kind: 'string',
468
- string: 'Stack too deep'
469
- },
470
- '16431471497789672479': {
471
- error_kind: 'string',
472
- string: 'Index out of bounds'
473
- },
474
- '17531474008201752295': {
475
- error_kind: 'fmtstring',
476
- length: 133,
477
- item_types: [
478
- {
479
- kind: 'integer',
480
- sign: 'unsigned',
481
- width: 32
482
- }
483
- ]
484
- }
485
- }
486
- },
487
- bytecode: Buffer.from([]),
488
- debugSymbols: ''
489
- },
490
- {
491
- ...{
492
- functionType: FunctionType.PUBLIC,
493
- name: 'public_dispatch',
494
- isOnlySelf: false,
495
- isStatic: false,
496
- isInitializer: false,
497
- parameters: [
498
- {
499
- name: 'selector',
500
- type: {
501
- kind: 'field'
502
- },
503
- visibility: 'private'
504
- }
505
- ],
506
- returnTypes: [],
507
- errorTypes: {
508
- '361444214588792908': {
509
- error_kind: 'string',
510
- string: 'attempt to multiply with overflow'
511
- },
512
- '1998584279744703196': {
513
- error_kind: 'string',
514
- string: 'attempt to subtract with overflow'
515
- },
516
- '5755400808989454547': {
517
- error_kind: 'string',
518
- string: 'Function get_update_delay can only be called statically'
519
- },
520
- '6804164082532189961': {
521
- error_kind: 'string',
522
- string: 'New update delay is too low'
523
- },
524
- '12511970388699677811': {
525
- error_kind: 'fmtstring',
526
- length: 27,
527
- item_types: [
528
- {
529
- kind: 'field'
530
- }
531
- ]
532
- },
533
- '12579274401768182412': {
534
- error_kind: 'string',
535
- string: 'New contract class is not registered'
536
- },
537
- '13455385521185560676': {
538
- error_kind: 'string',
539
- string: 'Storage slot 0 not allowed. Storage slots must start from 1.'
540
- },
541
- '14990209321349310352': {
542
- error_kind: 'string',
543
- string: 'attempt to add with overflow'
544
- },
545
- '15353471697975175405': {
546
- error_kind: 'string',
547
- string: 'msg.sender is not deployed'
548
- },
549
- '15764276373176857197': {
550
- error_kind: 'string',
551
- string: 'Stack too deep'
552
- },
553
- '16431471497789672479': {
554
- error_kind: 'string',
555
- string: 'Index out of bounds'
556
- }
557
- }
558
- },
559
- bytecode: Buffer.from([]),
560
- debugSymbols: ''
561
- },
562
- {
563
- ...{
564
- functionType: FunctionType.UTILITY,
565
- name: 'sync_private_state',
566
- isOnlySelf: false,
567
- isStatic: false,
568
- isInitializer: false,
569
- parameters: [],
570
- returnTypes: [],
571
- errorTypes: {
572
- '361444214588792908': {
573
- error_kind: 'string',
574
- string: 'attempt to multiply with overflow'
575
- },
576
- '992401946138144806': {
577
- error_kind: 'string',
578
- string: 'Attempted to read past end of BoundedVec'
579
- },
580
- '1998584279744703196': {
581
- error_kind: 'string',
582
- string: 'attempt to subtract with overflow'
583
- },
584
- '2967937905572420042': {
585
- error_kind: 'fmtstring',
586
- length: 61,
587
- item_types: [
588
- {
589
- kind: 'field'
590
- },
591
- {
592
- kind: 'field'
593
- }
594
- ]
595
- },
596
- '3330370348214585450': {
597
- error_kind: 'fmtstring',
598
- length: 48,
599
- item_types: [
600
- {
601
- kind: 'field'
602
- },
603
- {
604
- kind: 'field'
605
- }
606
- ]
607
- },
608
- '3670003311596808700': {
609
- error_kind: 'fmtstring',
610
- length: 77,
611
- item_types: [
612
- {
613
- kind: 'integer',
614
- sign: 'unsigned',
615
- width: 32
616
- }
617
- ]
618
- },
619
- '4261968856572588300': {
620
- error_kind: 'string',
621
- string: 'Value does not fit in field'
622
- },
623
- '4440399188109668273': {
624
- error_kind: 'string',
625
- string: 'Input length must be a multiple of 32'
626
- },
627
- '9791669845391776238': {
628
- error_kind: 'string',
629
- string: '0 has a square root; you cannot claim it is not square'
630
- },
631
- '9885968605480832328': {
632
- error_kind: 'string',
633
- string: 'Attempted to read past the length of a CapsuleArray'
634
- },
635
- '10135509984888824963': {
636
- error_kind: 'fmtstring',
637
- length: 58,
638
- item_types: [
639
- {
640
- kind: 'field'
641
- }
642
- ]
643
- },
644
- '10791800398362570014': {
645
- error_kind: 'string',
646
- string: 'extend_from_bounded_vec out of bounds'
647
- },
648
- '11021520179822076911': {
649
- error_kind: 'string',
650
- string: 'Attempted to delete past the length of a CapsuleArray'
651
- },
652
- '11692359521570349358': {
653
- error_kind: 'fmtstring',
654
- length: 40,
655
- item_types: []
656
- },
657
- '12327971061804302172': {
658
- error_kind: 'fmtstring',
659
- length: 98,
660
- item_types: []
661
- },
662
- '12469291177396340830': {
663
- error_kind: 'string',
664
- string: 'call to assert_max_bit_size'
665
- },
666
- '12913276134398371456': {
667
- error_kind: 'string',
668
- string: 'push out of bounds'
669
- },
670
- '13557316507370296400': {
671
- error_kind: 'fmtstring',
672
- length: 130,
673
- item_types: [
674
- {
675
- kind: 'integer',
676
- sign: 'unsigned',
677
- width: 32
678
- }
679
- ]
680
- },
681
- '14938672389828944159': {
682
- error_kind: 'fmtstring',
683
- length: 146,
684
- item_types: [
685
- {
686
- kind: 'integer',
687
- sign: 'unsigned',
688
- width: 32
689
- }
690
- ]
691
- },
692
- '14990209321349310352': {
693
- error_kind: 'string',
694
- string: 'attempt to add with overflow'
695
- },
696
- '15764276373176857197': {
697
- error_kind: 'string',
698
- string: 'Stack too deep'
699
- },
700
- '16431471497789672479': {
701
- error_kind: 'string',
702
- string: 'Index out of bounds'
703
- },
704
- '17531474008201752295': {
705
- error_kind: 'fmtstring',
706
- length: 133,
707
- item_types: [
708
- {
709
- kind: 'integer',
710
- sign: 'unsigned',
711
- width: 32
712
- }
713
- ]
714
- }
715
- }
716
- },
717
- bytecode: Buffer.from([]),
718
- debugSymbols: ''
719
305
  }
720
306
  ],
721
307
  nonDispatchPublicFunctions: [
@@ -767,6 +353,10 @@ const ContractInstanceRegistryContractArtifact = {
767
353
  ],
768
354
  returnTypes: [],
769
355
  errorTypes: {
356
+ '361444214588792908': {
357
+ error_kind: 'string',
358
+ string: 'attempt to multiply with overflow'
359
+ },
770
360
  '1998584279744703196': {
771
361
  error_kind: 'string',
772
362
  string: 'attempt to subtract with overflow'
@@ -823,6 +413,10 @@ const ContractInstanceRegistryContractArtifact = {
823
413
  ],
824
414
  returnTypes: [],
825
415
  errorTypes: {
416
+ '361444214588792908': {
417
+ error_kind: 'string',
418
+ string: 'attempt to multiply with overflow'
419
+ },
826
420
  '1998584279744703196': {
827
421
  error_kind: 'string',
828
422
  string: 'attempt to subtract with overflow'
@@ -14,17 +14,8 @@ export declare class FeeJuiceContract extends ContractBase {
14
14
  claim: ((to: AztecAddressLike, amount: bigint | number, secret: FieldLike, message_leaf_index: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
15
15
  /** claim_and_end_setup(to: struct, amount: integer, secret: field, message_leaf_index: field) */
16
16
  claim_and_end_setup: ((to: AztecAddressLike, amount: bigint | number, secret: FieldLike, message_leaf_index: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
17
- /** process_message(message_ciphertext: struct, message_context: struct) */
18
- process_message: ((message_ciphertext: FieldLike[], message_context: {
19
- tx_hash: FieldLike;
20
- unique_note_hashes_in_tx: FieldLike[];
21
- first_nullifier_in_tx: FieldLike;
22
- recipient: AztecAddressLike;
23
- }) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
24
17
  /** public_dispatch(selector: field) */
25
18
  public_dispatch: ((selector: FieldLike) => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
26
- /** sync_private_state() */
27
- sync_private_state: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
28
19
  };
29
20
  }
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlLWp1aWNlLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29udHJhY3QvcHJ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