@aztec/aztec.js 0.0.1-commit.e61ad554 → 0.0.1-commit.ee80a48

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 (44) hide show
  1. package/dest/api/keys.d.ts +1 -1
  2. package/dest/api/keys.js +1 -1
  3. package/dest/api/wallet.d.ts +3 -2
  4. package/dest/api/wallet.d.ts.map +1 -1
  5. package/dest/api/wallet.js +2 -1
  6. package/dest/contract/protocol_contracts/auth-registry.d.ts +1 -10
  7. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -1
  8. package/dest/contract/protocol_contracts/auth-registry.js +61 -466
  9. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +2 -11
  10. package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -1
  11. package/dest/contract/protocol_contracts/contract-class-registry.js +10 -409
  12. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +2 -11
  13. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -1
  14. package/dest/contract/protocol_contracts/contract-instance-registry.js +80 -473
  15. package/dest/contract/protocol_contracts/fee-juice.d.ts +1 -10
  16. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -1
  17. package/dest/contract/protocol_contracts/fee-juice.js +0 -401
  18. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts +1 -1
  19. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts.map +1 -1
  20. package/dest/contract/protocol_contracts/multi-call-entrypoint.js +12 -0
  21. package/dest/contract/protocol_contracts/public-checks.d.ts +1 -1
  22. package/dest/contract/protocol_contracts/public-checks.d.ts.map +1 -1
  23. package/dest/contract/protocol_contracts/public-checks.js +12 -8
  24. package/dest/wallet/capabilities.d.ts +444 -0
  25. package/dest/wallet/capabilities.d.ts.map +1 -0
  26. package/dest/wallet/capabilities.js +3 -0
  27. package/dest/wallet/index.d.ts +2 -1
  28. package/dest/wallet/index.d.ts.map +1 -1
  29. package/dest/wallet/index.js +1 -0
  30. package/dest/wallet/wallet.d.ts +1307 -14
  31. package/dest/wallet/wallet.d.ts.map +1 -1
  32. package/dest/wallet/wallet.js +120 -1
  33. package/package.json +9 -9
  34. package/src/api/keys.ts +2 -2
  35. package/src/api/wallet.ts +38 -0
  36. package/src/contract/protocol_contracts/auth-registry.ts +37 -231
  37. package/src/contract/protocol_contracts/contract-class-registry.ts +3 -195
  38. package/src/contract/protocol_contracts/contract-instance-registry.ts +34 -225
  39. package/src/contract/protocol_contracts/fee-juice.ts +0 -193
  40. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +3 -0
  41. package/src/contract/protocol_contracts/public-checks.ts +3 -2
  42. package/src/wallet/capabilities.ts +491 -0
  43. package/src/wallet/index.ts +1 -0
  44. package/src/wallet/wallet.ts +117 -1
@@ -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,474 +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
- '10135509984888824963': {
402
- error_kind: 'fmtstring',
403
- length: 58,
404
- item_types: [
405
- {
406
- kind: 'field'
407
- }
408
- ]
409
- },
410
- '10791800398362570014': {
411
- error_kind: 'string',
412
- string: 'extend_from_bounded_vec out of bounds'
413
- },
414
- '11692359521570349358': {
415
- error_kind: 'fmtstring',
416
- length: 40,
417
- item_types: []
418
- },
419
- '12469291177396340830': {
420
- error_kind: 'string',
421
- string: 'call to assert_max_bit_size'
422
- },
423
- '12913276134398371456': {
424
- error_kind: 'string',
425
- string: 'push out of bounds'
426
- },
427
- '13557316507370296400': {
428
- error_kind: 'fmtstring',
429
- length: 130,
430
- item_types: [
431
- {
432
- kind: 'integer',
433
- sign: 'unsigned',
434
- width: 32
435
- }
436
- ]
437
- },
438
- '14938672389828944159': {
439
- error_kind: 'fmtstring',
440
- length: 146,
441
- item_types: [
442
- {
443
- kind: 'integer',
444
- sign: 'unsigned',
445
- width: 32
446
- }
447
- ]
448
- },
449
- '14990209321349310352': {
450
- error_kind: 'string',
451
- string: 'attempt to add with overflow'
452
- },
453
- '15764276373176857197': {
454
- error_kind: 'string',
455
- string: 'Stack too deep'
456
- },
457
- '16431471497789672479': {
458
- error_kind: 'string',
459
- string: 'Index out of bounds'
460
- },
461
- '17531474008201752295': {
462
- error_kind: 'fmtstring',
463
- length: 133,
464
- item_types: [
465
- {
466
- kind: 'integer',
467
- sign: 'unsigned',
468
- width: 32
469
- }
470
- ]
471
- }
472
- }
473
- },
474
- bytecode: Buffer.from([]),
475
- debugSymbols: ''
476
- },
477
- {
478
- ...{
479
- functionType: FunctionType.PUBLIC,
480
- name: 'public_dispatch',
481
- isOnlySelf: false,
482
- isStatic: false,
483
- isInitializer: false,
484
- parameters: [
485
- {
486
- name: 'selector',
487
- type: {
488
- kind: 'field'
489
- },
490
- visibility: 'private'
491
- }
492
- ],
493
- returnTypes: [],
494
- errorTypes: {
495
- '361444214588792908': {
496
- error_kind: 'string',
497
- string: 'attempt to multiply with overflow'
498
- },
499
- '1998584279744703196': {
500
- error_kind: 'string',
501
- string: 'attempt to subtract with overflow'
502
- },
503
- '5755400808989454547': {
504
- error_kind: 'string',
505
- string: 'Function get_update_delay can only be called statically'
506
- },
507
- '6804164082532189961': {
508
- error_kind: 'string',
509
- string: 'New update delay is too low'
510
- },
511
- '12511970388699677811': {
512
- error_kind: 'fmtstring',
513
- length: 27,
514
- item_types: [
515
- {
516
- kind: 'field'
517
- }
518
- ]
519
- },
520
- '12579274401768182412': {
521
- error_kind: 'string',
522
- string: 'New contract class is not registered'
523
- },
524
- '13455385521185560676': {
525
- error_kind: 'string',
526
- string: 'Storage slot 0 not allowed. Storage slots must start from 1.'
527
- },
528
- '14990209321349310352': {
529
- error_kind: 'string',
530
- string: 'attempt to add with overflow'
531
- },
532
- '15353471697975175405': {
533
- error_kind: 'string',
534
- string: 'msg.sender is not deployed'
535
- },
536
- '15764276373176857197': {
537
- error_kind: 'string',
538
- string: 'Stack too deep'
539
- },
540
- '16431471497789672479': {
541
- error_kind: 'string',
542
- string: 'Index out of bounds'
543
- }
544
- }
545
- },
546
- bytecode: Buffer.from([]),
547
- debugSymbols: ''
548
- },
549
- {
550
- ...{
551
- functionType: FunctionType.UTILITY,
552
- name: 'sync_state',
553
- isOnlySelf: false,
554
- isStatic: false,
555
- isInitializer: false,
556
- parameters: [],
557
- returnTypes: [],
558
- errorTypes: {
559
- '361444214588792908': {
560
- error_kind: 'string',
561
- string: 'attempt to multiply with overflow'
562
- },
563
- '992401946138144806': {
564
- error_kind: 'string',
565
- string: 'Attempted to read past end of BoundedVec'
566
- },
567
- '1998584279744703196': {
568
- error_kind: 'string',
569
- string: 'attempt to subtract with overflow'
570
- },
571
- '2967937905572420042': {
572
- error_kind: 'fmtstring',
573
- length: 61,
574
- item_types: [
575
- {
576
- kind: 'field'
577
- },
578
- {
579
- kind: 'field'
580
- }
581
- ]
582
- },
583
- '3330370348214585450': {
584
- error_kind: 'fmtstring',
585
- length: 48,
586
- item_types: [
587
- {
588
- kind: 'field'
589
- },
590
- {
591
- kind: 'field'
592
- }
593
- ]
594
- },
595
- '3670003311596808700': {
596
- error_kind: 'fmtstring',
597
- length: 77,
598
- item_types: [
599
- {
600
- kind: 'integer',
601
- sign: 'unsigned',
602
- width: 32
603
- }
604
- ]
605
- },
606
- '4261968856572588300': {
607
- error_kind: 'string',
608
- string: 'Value does not fit in field'
609
- },
610
- '4440399188109668273': {
611
- error_kind: 'string',
612
- string: 'Input length must be a multiple of 32'
613
- },
614
- '9791669845391776238': {
615
- error_kind: 'string',
616
- string: '0 has a square root; you cannot claim it is not square'
617
- },
618
- '9885968605480832328': {
619
- error_kind: 'string',
620
- string: 'Attempted to read past the length of a CapsuleArray'
621
- },
622
- '10135509984888824963': {
623
- error_kind: 'fmtstring',
624
- length: 58,
625
- item_types: [
626
- {
627
- kind: 'field'
628
- }
629
- ]
630
- },
631
- '10791800398362570014': {
632
- error_kind: 'string',
633
- string: 'extend_from_bounded_vec out of bounds'
634
- },
635
- '11021520179822076911': {
636
- error_kind: 'string',
637
- string: 'Attempted to delete past the length of a CapsuleArray'
638
- },
639
- '11692359521570349358': {
640
- error_kind: 'fmtstring',
641
- length: 40,
642
- item_types: []
643
- },
644
- '12327971061804302172': {
645
- error_kind: 'fmtstring',
646
- length: 98,
647
- item_types: []
648
- },
649
- '12469291177396340830': {
650
- error_kind: 'string',
651
- string: 'call to assert_max_bit_size'
652
- },
653
- '12913276134398371456': {
654
- error_kind: 'string',
655
- string: 'push out of bounds'
656
- },
657
- '13557316507370296400': {
658
- error_kind: 'fmtstring',
659
- length: 130,
660
- item_types: [
661
- {
662
- kind: 'integer',
663
- sign: 'unsigned',
664
- width: 32
665
- }
666
- ]
667
- },
668
- '14938672389828944159': {
669
- error_kind: 'fmtstring',
670
- length: 146,
671
- item_types: [
672
- {
673
- kind: 'integer',
674
- sign: 'unsigned',
675
- width: 32
676
- }
677
- ]
678
- },
679
- '14990209321349310352': {
680
- error_kind: 'string',
681
- string: 'attempt to add with overflow'
682
- },
683
- '15764276373176857197': {
684
- error_kind: 'string',
685
- string: 'Stack too deep'
686
- },
687
- '16431471497789672479': {
688
- error_kind: 'string',
689
- string: 'Index out of bounds'
690
- },
691
- '17531474008201752295': {
692
- error_kind: 'fmtstring',
693
- length: 133,
694
- item_types: [
695
- {
696
- kind: 'integer',
697
- sign: 'unsigned',
698
- width: 32
699
- }
700
- ]
701
- }
702
- }
703
- },
704
- bytecode: Buffer.from([]),
705
- debugSymbols: ''
706
305
  }
707
306
  ],
708
307
  nonDispatchPublicFunctions: [
@@ -754,6 +353,10 @@ const ContractInstanceRegistryContractArtifact = {
754
353
  ],
755
354
  returnTypes: [],
756
355
  errorTypes: {
356
+ '361444214588792908': {
357
+ error_kind: 'string',
358
+ string: 'attempt to multiply with overflow'
359
+ },
757
360
  '1998584279744703196': {
758
361
  error_kind: 'string',
759
362
  string: 'attempt to subtract with overflow'
@@ -810,6 +413,10 @@ const ContractInstanceRegistryContractArtifact = {
810
413
  ],
811
414
  returnTypes: [],
812
415
  errorTypes: {
416
+ '361444214588792908': {
417
+ error_kind: 'string',
418
+ string: 'attempt to multiply with overflow'
419
+ },
813
420
  '1998584279744703196': {
814
421
  error_kind: 'string',
815
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_state() */
27
- sync_state: (() => ContractFunctionInteraction) & Pick<ContractMethod, 'selector'>;
28
19
  };
29
20
  }
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmVlLWp1aWNlLmQudHMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29udHJhY3QvcHJvdG9jb2xfY29udHJhY3RzL2ZlZS1qdWljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPQSxPQUFPLEtBQUssRUFDVixnQkFBZ0IsRUFFaEIsU0FBUyxFQUdWLE1BQU0sMEJBQTBCLENBQUM7QUFDbEMsT0FBTyxLQUFLLEVBQUUsTUFBTSxFQUFFLE1BQU0sd0JBQXdCLENBQUM7QUFDckQsT0FBTyxFQUFFLFlBQVksRUFBRSxLQUFLLGNBQWMsRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ3hFLE9BQU8sRUFBRSwyQkFBMkIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBb1lsRixxQkFBYSxnQkFBaUIsU0FBUSxZQUFZO0lBQ2hELE9BQU8sZUFFTjtJQUVELE9BQWMsRUFBRSxDQUFDLE1BQU0sRUFBRSxNQUFNLEdBQUcsZ0JBQWdCLENBRWpEO0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