@aztec/aztec.js 0.0.1-commit.f295ac2 → 0.0.1-commit.f2ce05ee

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 (157) hide show
  1. package/dest/account/account.d.ts +25 -40
  2. package/dest/account/account.d.ts.map +1 -1
  3. package/dest/account/account.js +19 -47
  4. package/dest/account/account_contract.d.ts +7 -8
  5. package/dest/account/account_contract.d.ts.map +1 -1
  6. package/dest/account/account_with_secret_key.d.ts +18 -7
  7. package/dest/account/account_with_secret_key.d.ts.map +1 -1
  8. package/dest/account/account_with_secret_key.js +21 -4
  9. package/dest/account/index.d.ts +3 -2
  10. package/dest/account/index.d.ts.map +1 -1
  11. package/dest/account/index.js +2 -0
  12. package/dest/account/signerless_account.d.ts +5 -6
  13. package/dest/account/signerless_account.d.ts.map +1 -1
  14. package/dest/account/signerless_account.js +8 -11
  15. package/dest/api/account.d.ts +2 -4
  16. package/dest/api/account.d.ts.map +1 -1
  17. package/dest/api/account.js +1 -3
  18. package/dest/api/authorization.d.ts +2 -2
  19. package/dest/api/authorization.d.ts.map +1 -1
  20. package/dest/api/authorization.js +1 -1
  21. package/dest/api/block.d.ts +2 -2
  22. package/dest/api/block.d.ts.map +1 -1
  23. package/dest/api/block.js +1 -1
  24. package/dest/api/contract.d.ts +16 -10
  25. package/dest/api/contract.d.ts.map +1 -1
  26. package/dest/api/contract.js +14 -8
  27. package/dest/api/events.d.ts +10 -6
  28. package/dest/api/events.d.ts.map +1 -1
  29. package/dest/api/events.js +30 -20
  30. package/dest/api/fields.d.ts +2 -1
  31. package/dest/api/fields.d.ts.map +1 -1
  32. package/dest/api/fields.js +1 -0
  33. package/dest/api/keys.d.ts +1 -1
  34. package/dest/api/keys.js +1 -1
  35. package/dest/api/node.d.ts +8 -4
  36. package/dest/api/node.d.ts.map +1 -1
  37. package/dest/api/node.js +7 -3
  38. package/dest/api/tx.d.ts +2 -2
  39. package/dest/api/tx.d.ts.map +1 -1
  40. package/dest/api/tx.js +1 -1
  41. package/dest/api/wallet.d.ts +3 -2
  42. package/dest/api/wallet.d.ts.map +1 -1
  43. package/dest/api/wallet.js +2 -1
  44. package/dest/contract/base_contract_interaction.d.ts +8 -10
  45. package/dest/contract/base_contract_interaction.d.ts.map +1 -1
  46. package/dest/contract/base_contract_interaction.js +5 -17
  47. package/dest/contract/contract_function_interaction.d.ts +3 -12
  48. package/dest/contract/contract_function_interaction.d.ts.map +1 -1
  49. package/dest/contract/contract_function_interaction.js +6 -6
  50. package/dest/contract/deploy_method.d.ts +63 -16
  51. package/dest/contract/deploy_method.d.ts.map +1 -1
  52. package/dest/contract/deploy_method.js +36 -19
  53. package/dest/contract/interaction_options.d.ts +42 -5
  54. package/dest/contract/interaction_options.d.ts.map +1 -1
  55. package/dest/contract/interaction_options.js +8 -1
  56. package/dest/contract/protocol_contracts/auth-registry.d.ts +1 -10
  57. package/dest/contract/protocol_contracts/auth-registry.d.ts.map +1 -1
  58. package/dest/contract/protocol_contracts/auth-registry.js +97 -467
  59. package/dest/contract/protocol_contracts/contract-class-registry.d.ts +2 -11
  60. package/dest/contract/protocol_contracts/contract-class-registry.d.ts.map +1 -1
  61. package/dest/contract/protocol_contracts/contract-class-registry.js +10 -422
  62. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts +2 -11
  63. package/dest/contract/protocol_contracts/contract-instance-registry.d.ts.map +1 -1
  64. package/dest/contract/protocol_contracts/contract-instance-registry.js +80 -482
  65. package/dest/contract/protocol_contracts/fee-juice.d.ts +1 -10
  66. package/dest/contract/protocol_contracts/fee-juice.d.ts.map +1 -1
  67. package/dest/contract/protocol_contracts/fee-juice.js +14 -412
  68. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts +3 -3
  69. package/dest/contract/protocol_contracts/multi-call-entrypoint.d.ts.map +1 -1
  70. package/dest/contract/protocol_contracts/multi-call-entrypoint.js +23 -14
  71. package/dest/contract/protocol_contracts/public-checks.d.ts +3 -3
  72. package/dest/contract/protocol_contracts/public-checks.d.ts.map +1 -1
  73. package/dest/contract/protocol_contracts/public-checks.js +23 -22
  74. package/dest/contract/wait_for_proven.js +1 -1
  75. package/dest/contract/wait_opts.d.ts +16 -0
  76. package/dest/contract/wait_opts.d.ts.map +1 -0
  77. package/dest/contract/wait_opts.js +5 -0
  78. package/dest/fee/fee_juice_payment_method_with_claim.js +6 -6
  79. package/dest/fee/private_fee_payment_method.js +10 -10
  80. package/dest/fee/public_fee_payment_method.js +10 -10
  81. package/dest/fee/sponsored_fee_payment.js +3 -3
  82. package/dest/utils/authwit.d.ts +8 -6
  83. package/dest/utils/authwit.d.ts.map +1 -1
  84. package/dest/utils/authwit.js +5 -9
  85. package/dest/utils/node.d.ts +12 -1
  86. package/dest/utils/node.d.ts.map +1 -1
  87. package/dest/utils/node.js +46 -0
  88. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts +5 -8
  89. package/dest/wallet/account_entrypoint_meta_payment_method.d.ts.map +1 -1
  90. package/dest/wallet/account_entrypoint_meta_payment_method.js +28 -43
  91. package/dest/wallet/account_manager.d.ts +1 -7
  92. package/dest/wallet/account_manager.d.ts.map +1 -1
  93. package/dest/wallet/account_manager.js +5 -11
  94. package/dest/wallet/capabilities.d.ts +444 -0
  95. package/dest/wallet/capabilities.d.ts.map +1 -0
  96. package/dest/wallet/capabilities.js +3 -0
  97. package/dest/wallet/deploy_account_method.d.ts +34 -6
  98. package/dest/wallet/deploy_account_method.d.ts.map +1 -1
  99. package/dest/wallet/deploy_account_method.js +7 -5
  100. package/dest/wallet/index.d.ts +2 -1
  101. package/dest/wallet/index.d.ts.map +1 -1
  102. package/dest/wallet/index.js +1 -0
  103. package/dest/wallet/wallet.d.ts +1493 -94
  104. package/dest/wallet/wallet.d.ts.map +1 -1
  105. package/dest/wallet/wallet.js +158 -26
  106. package/package.json +19 -10
  107. package/src/account/account.ts +34 -58
  108. package/src/account/account_contract.ts +6 -7
  109. package/src/account/account_with_secret_key.ts +33 -8
  110. package/src/account/index.ts +2 -1
  111. package/src/account/signerless_account.ts +13 -12
  112. package/src/api/account.ts +9 -3
  113. package/src/api/authorization.ts +1 -0
  114. package/src/api/block.ts +1 -1
  115. package/src/api/contract.ts +22 -7
  116. package/src/api/events.ts +35 -27
  117. package/src/api/fields.ts +1 -0
  118. package/src/api/keys.ts +2 -2
  119. package/src/api/node.ts +7 -3
  120. package/src/api/tx.ts +2 -0
  121. package/src/api/wallet.ts +47 -1
  122. package/src/contract/base_contract_interaction.ts +27 -15
  123. package/src/contract/contract_function_interaction.ts +13 -6
  124. package/src/contract/deploy_method.ts +115 -23
  125. package/src/contract/interaction_options.ts +49 -4
  126. package/src/contract/protocol_contracts/auth-registry.ts +45 -236
  127. package/src/contract/protocol_contracts/contract-class-registry.ts +3 -204
  128. package/src/contract/protocol_contracts/contract-instance-registry.ts +34 -233
  129. package/src/contract/protocol_contracts/fee-juice.ts +4 -202
  130. package/src/contract/protocol_contracts/multi-call-entrypoint.ts +6 -12
  131. package/src/contract/protocol_contracts/public-checks.ts +6 -14
  132. package/src/contract/wait_for_proven.ts +1 -1
  133. package/src/contract/wait_opts.ts +21 -0
  134. package/src/fee/fee_juice_payment_method_with_claim.ts +5 -5
  135. package/src/fee/private_fee_payment_method.ts +7 -7
  136. package/src/fee/public_fee_payment_method.ts +8 -8
  137. package/src/fee/sponsored_fee_payment.ts +3 -3
  138. package/src/utils/authwit.ts +19 -7
  139. package/src/utils/node.ts +62 -0
  140. package/src/wallet/account_entrypoint_meta_payment_method.ts +28 -60
  141. package/src/wallet/account_manager.ts +5 -13
  142. package/src/wallet/capabilities.ts +491 -0
  143. package/src/wallet/deploy_account_method.ts +37 -13
  144. package/src/wallet/index.ts +1 -0
  145. package/src/wallet/wallet.ts +214 -48
  146. package/dest/account/interface.d.ts +0 -19
  147. package/dest/account/interface.d.ts.map +0 -1
  148. package/dest/account/interface.js +0 -5
  149. package/dest/contract/deploy_sent_tx.d.ts +0 -48
  150. package/dest/contract/deploy_sent_tx.d.ts.map +0 -1
  151. package/dest/contract/deploy_sent_tx.js +0 -46
  152. package/dest/contract/sent_tx.d.ts +0 -50
  153. package/dest/contract/sent_tx.d.ts.map +0 -1
  154. package/dest/contract/sent_tx.js +0 -90
  155. package/src/account/interface.ts +0 -25
  156. package/src/contract/deploy_sent_tx.ts +0 -75
  157. package/src/contract/sent_tx.ts +0 -129
@@ -6,57 +6,54 @@ const AuthRegistryContractArtifact = {
6
6
  functions: [
7
7
  {
8
8
  ...{
9
- functionType: FunctionType.PRIVATE,
10
- name: 'set_authorized_private',
9
+ functionType: FunctionType.PUBLIC,
10
+ name: 'public_dispatch',
11
11
  isOnlySelf: false,
12
12
  isStatic: false,
13
13
  isInitializer: false,
14
14
  parameters: [
15
15
  {
16
- name: 'approver',
17
- type: {
18
- kind: 'struct',
19
- fields: [
20
- {
21
- name: 'inner',
22
- type: {
23
- kind: 'field'
24
- }
25
- }
26
- ],
27
- path: 'aztec::protocol_types::address::aztec_address::AztecAddress'
28
- },
29
- visibility: 'private'
30
- },
31
- {
32
- name: 'message_hash',
16
+ name: 'selector',
33
17
  type: {
34
18
  kind: 'field'
35
19
  },
36
20
  visibility: 'private'
37
- },
38
- {
39
- name: 'authorize',
40
- type: {
41
- kind: 'boolean'
42
- },
43
- visibility: 'private'
44
21
  }
45
22
  ],
46
23
  returnTypes: [],
47
24
  errorTypes: {
48
- '2754040237334517471': {
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
+ '5525725861591553972': {
34
+ error_kind: 'string',
35
+ string: 'rejecting all'
36
+ },
37
+ '11691217184967371519': {
38
+ error_kind: 'string',
39
+ string: 'Function is_reject_all can only be called statically'
40
+ },
41
+ '12511970388699677811': {
49
42
  error_kind: 'fmtstring',
50
- length: 92,
51
- item_types: []
43
+ length: 27,
44
+ item_types: [
45
+ {
46
+ kind: 'field'
47
+ }
48
+ ]
52
49
  },
53
- '7555607922535724711': {
50
+ '13455385521185560676': {
54
51
  error_kind: 'string',
55
- string: 'Preimage mismatch'
52
+ string: 'Storage slot 0 not allowed. Storage slots must start from 1.'
56
53
  },
57
- '9894212961085021188': {
54
+ '13929691561421487185': {
58
55
  error_kind: 'string',
59
- string: 'Message not authorized by account'
56
+ string: 'Function _set_authorized can only be called by the same contract'
60
57
  },
61
58
  '14990209321349310352': {
62
59
  error_kind: 'string',
@@ -69,6 +66,14 @@ const AuthRegistryContractArtifact = {
69
66
  '16431471497789672479': {
70
67
  error_kind: 'string',
71
68
  string: 'Index out of bounds'
69
+ },
70
+ '17089945683942782951': {
71
+ error_kind: 'string',
72
+ string: 'unauthorized'
73
+ },
74
+ '17312933876399746100': {
75
+ error_kind: 'string',
76
+ string: 'Function is_consumable can only be called statically'
72
77
  }
73
78
  }
74
79
  },
@@ -77,14 +82,14 @@ const AuthRegistryContractArtifact = {
77
82
  },
78
83
  {
79
84
  ...{
80
- functionType: FunctionType.UTILITY,
81
- name: 'utility_is_consumable',
85
+ functionType: FunctionType.PRIVATE,
86
+ name: 'set_authorized_private',
82
87
  isOnlySelf: false,
83
88
  isStatic: false,
84
89
  isInitializer: false,
85
90
  parameters: [
86
91
  {
87
- name: 'on_behalf_of',
92
+ name: 'approver',
88
93
  type: {
89
94
  kind: 'struct',
90
95
  fields: [
@@ -105,17 +110,24 @@ const AuthRegistryContractArtifact = {
105
110
  kind: 'field'
106
111
  },
107
112
  visibility: 'private'
108
- }
109
- ],
110
- returnTypes: [
113
+ },
111
114
  {
112
- kind: 'boolean'
115
+ name: 'authorize',
116
+ type: {
117
+ kind: 'boolean'
118
+ },
119
+ visibility: 'private'
113
120
  }
114
121
  ],
122
+ returnTypes: [],
115
123
  errorTypes: {
116
- '13455385521185560676': {
124
+ '7555607922535724711': {
117
125
  error_kind: 'string',
118
- string: 'Storage slot 0 not allowed. Storage slots must start from 1.'
126
+ string: 'Preimage mismatch'
127
+ },
128
+ '9894212961085021188': {
129
+ error_kind: 'string',
130
+ string: 'Message not authorized by account'
119
131
  },
120
132
  '14990209321349310352': {
121
133
  error_kind: 'string',
@@ -124,10 +136,6 @@ const AuthRegistryContractArtifact = {
124
136
  '15764276373176857197': {
125
137
  error_kind: 'string',
126
138
  string: 'Stack too deep'
127
- },
128
- '16431471497789672479': {
129
- error_kind: 'string',
130
- string: 'Index out of bounds'
131
139
  }
132
140
  }
133
141
  },
@@ -137,451 +145,52 @@ const AuthRegistryContractArtifact = {
137
145
  {
138
146
  ...{
139
147
  functionType: FunctionType.UTILITY,
140
- name: 'process_message',
148
+ name: 'utility_is_consumable',
141
149
  isOnlySelf: false,
142
150
  isStatic: false,
143
151
  isInitializer: false,
144
152
  parameters: [
145
153
  {
146
- name: 'message_ciphertext',
147
- type: {
148
- kind: 'struct',
149
- fields: [
150
- {
151
- name: 'storage',
152
- type: {
153
- kind: 'array',
154
- length: 17,
155
- type: {
156
- kind: 'field'
157
- }
158
- }
159
- },
160
- {
161
- name: 'len',
162
- type: {
163
- kind: 'integer',
164
- sign: 'unsigned',
165
- width: 32
166
- }
167
- }
168
- ],
169
- path: 'std::collections::bounded_vec::BoundedVec'
170
- },
171
- visibility: 'private'
172
- },
173
- {
174
- name: 'message_context',
154
+ name: 'on_behalf_of',
175
155
  type: {
176
156
  kind: 'struct',
177
157
  fields: [
178
158
  {
179
- name: 'tx_hash',
180
- type: {
181
- kind: 'field'
182
- }
183
- },
184
- {
185
- name: 'unique_note_hashes_in_tx',
186
- type: {
187
- kind: 'struct',
188
- fields: [
189
- {
190
- name: 'storage',
191
- type: {
192
- kind: 'array',
193
- length: 64,
194
- type: {
195
- kind: 'field'
196
- }
197
- }
198
- },
199
- {
200
- name: 'len',
201
- type: {
202
- kind: 'integer',
203
- sign: 'unsigned',
204
- width: 32
205
- }
206
- }
207
- ],
208
- path: 'std::collections::bounded_vec::BoundedVec'
209
- }
210
- },
211
- {
212
- name: 'first_nullifier_in_tx',
159
+ name: 'inner',
213
160
  type: {
214
161
  kind: 'field'
215
162
  }
216
- },
217
- {
218
- name: 'recipient',
219
- type: {
220
- kind: 'struct',
221
- fields: [
222
- {
223
- name: 'inner',
224
- type: {
225
- kind: 'field'
226
- }
227
- }
228
- ],
229
- path: 'aztec::protocol_types::address::aztec_address::AztecAddress'
230
- }
231
163
  }
232
164
  ],
233
- path: 'aztec::messages::processing::message_context::MessageContext'
165
+ path: 'aztec::protocol_types::address::aztec_address::AztecAddress'
234
166
  },
235
167
  visibility: 'private'
236
- }
237
- ],
238
- returnTypes: [],
239
- errorTypes: {
240
- '361444214588792908': {
241
- error_kind: 'string',
242
- string: 'attempt to multiply with overflow'
243
- },
244
- '992401946138144806': {
245
- error_kind: 'string',
246
- string: 'Attempted to read past end of BoundedVec'
247
- },
248
- '1998584279744703196': {
249
- error_kind: 'string',
250
- string: 'attempt to subtract with overflow'
251
- },
252
- '2967937905572420042': {
253
- error_kind: 'fmtstring',
254
- length: 61,
255
- item_types: [
256
- {
257
- kind: 'field'
258
- },
259
- {
260
- kind: 'field'
261
- }
262
- ]
263
- },
264
- '3330370348214585450': {
265
- error_kind: 'fmtstring',
266
- length: 48,
267
- item_types: [
268
- {
269
- kind: 'field'
270
- },
271
- {
272
- kind: 'field'
273
- }
274
- ]
275
- },
276
- '3670003311596808700': {
277
- error_kind: 'fmtstring',
278
- length: 77,
279
- item_types: [
280
- {
281
- kind: 'integer',
282
- sign: 'unsigned',
283
- width: 32
284
- }
285
- ]
286
- },
287
- '4261968856572588300': {
288
- error_kind: 'string',
289
- string: 'Value does not fit in field'
290
- },
291
- '4440399188109668273': {
292
- error_kind: 'string',
293
- string: 'Input length must be a multiple of 32'
294
- },
295
- '9791669845391776238': {
296
- error_kind: 'string',
297
- string: '0 has a square root; you cannot claim it is not square'
298
- },
299
- '9885968605480832328': {
300
- error_kind: 'string',
301
- string: 'Attempted to read past the length of a CapsuleArray'
302
- },
303
- '10135509984888824963': {
304
- error_kind: 'fmtstring',
305
- length: 58,
306
- item_types: [
307
- {
308
- kind: 'field'
309
- }
310
- ]
311
- },
312
- '10791800398362570014': {
313
- error_kind: 'string',
314
- string: 'extend_from_bounded_vec out of bounds'
315
- },
316
- '11021520179822076911': {
317
- error_kind: 'string',
318
- string: 'Attempted to delete past the length of a CapsuleArray'
319
- },
320
- '11692359521570349358': {
321
- error_kind: 'fmtstring',
322
- length: 40,
323
- item_types: []
324
- },
325
- '12327971061804302172': {
326
- error_kind: 'fmtstring',
327
- length: 98,
328
- item_types: []
329
- },
330
- '12469291177396340830': {
331
- error_kind: 'string',
332
- string: 'call to assert_max_bit_size'
333
- },
334
- '12913276134398371456': {
335
- error_kind: 'string',
336
- string: 'push out of bounds'
337
- },
338
- '13557316507370296400': {
339
- error_kind: 'fmtstring',
340
- length: 130,
341
- item_types: [
342
- {
343
- kind: 'integer',
344
- sign: 'unsigned',
345
- width: 32
346
- }
347
- ]
348
- },
349
- '14938672389828944159': {
350
- error_kind: 'fmtstring',
351
- length: 146,
352
- item_types: [
353
- {
354
- kind: 'integer',
355
- sign: 'unsigned',
356
- width: 32
357
- }
358
- ]
359
- },
360
- '14990209321349310352': {
361
- error_kind: 'string',
362
- string: 'attempt to add with overflow'
363
- },
364
- '15764276373176857197': {
365
- error_kind: 'string',
366
- string: 'Stack too deep'
367
168
  },
368
- '16431471497789672479': {
369
- error_kind: 'string',
370
- string: 'Index out of bounds'
371
- },
372
- '17531474008201752295': {
373
- error_kind: 'fmtstring',
374
- length: 133,
375
- item_types: [
376
- {
377
- kind: 'integer',
378
- sign: 'unsigned',
379
- width: 32
380
- }
381
- ]
382
- }
383
- }
384
- },
385
- bytecode: Buffer.from([]),
386
- debugSymbols: ''
387
- },
388
- {
389
- ...{
390
- functionType: FunctionType.PUBLIC,
391
- name: 'public_dispatch',
392
- isOnlySelf: false,
393
- isStatic: false,
394
- isInitializer: false,
395
- parameters: [
396
169
  {
397
- name: 'selector',
170
+ name: 'message_hash',
398
171
  type: {
399
172
  kind: 'field'
400
173
  },
401
174
  visibility: 'private'
402
175
  }
403
176
  ],
404
- returnTypes: [],
405
- errorTypes: {
406
- '5525725861591553972': {
407
- error_kind: 'string',
408
- string: 'rejecting all'
409
- },
410
- '11691217184967371519': {
411
- error_kind: 'string',
412
- string: 'Function is_reject_all can only be called statically'
413
- },
414
- '12511970388699677811': {
415
- error_kind: 'fmtstring',
416
- length: 27,
417
- item_types: [
418
- {
419
- kind: 'field'
420
- }
421
- ]
422
- },
423
- '13455385521185560676': {
424
- error_kind: 'string',
425
- string: 'Storage slot 0 not allowed. Storage slots must start from 1.'
426
- },
427
- '13929691561421487185': {
428
- error_kind: 'string',
429
- string: 'Function _set_authorized can only be called by the same contract'
430
- },
431
- '14990209321349310352': {
432
- error_kind: 'string',
433
- string: 'attempt to add with overflow'
434
- },
435
- '15764276373176857197': {
436
- error_kind: 'string',
437
- string: 'Stack too deep'
438
- },
439
- '16431471497789672479': {
440
- error_kind: 'string',
441
- string: 'Index out of bounds'
442
- },
443
- '17089945683942782951': {
444
- error_kind: 'string',
445
- string: 'unauthorized'
446
- },
447
- '17312933876399746100': {
448
- error_kind: 'string',
449
- string: 'Function is_consumable can only be called statically'
177
+ returnTypes: [
178
+ {
179
+ kind: 'boolean'
450
180
  }
451
- }
452
- },
453
- bytecode: Buffer.from([]),
454
- debugSymbols: ''
455
- },
456
- {
457
- ...{
458
- functionType: FunctionType.UTILITY,
459
- name: 'sync_private_state',
460
- isOnlySelf: false,
461
- isStatic: false,
462
- isInitializer: false,
463
- parameters: [],
464
- returnTypes: [],
181
+ ],
465
182
  errorTypes: {
466
183
  '361444214588792908': {
467
184
  error_kind: 'string',
468
185
  string: 'attempt to multiply with overflow'
469
186
  },
470
- '992401946138144806': {
471
- error_kind: 'string',
472
- string: 'Attempted to read past end of BoundedVec'
473
- },
474
187
  '1998584279744703196': {
475
188
  error_kind: 'string',
476
189
  string: 'attempt to subtract with overflow'
477
190
  },
478
- '2967937905572420042': {
479
- error_kind: 'fmtstring',
480
- length: 61,
481
- item_types: [
482
- {
483
- kind: 'field'
484
- },
485
- {
486
- kind: 'field'
487
- }
488
- ]
489
- },
490
- '3330370348214585450': {
491
- error_kind: 'fmtstring',
492
- length: 48,
493
- item_types: [
494
- {
495
- kind: 'field'
496
- },
497
- {
498
- kind: 'field'
499
- }
500
- ]
501
- },
502
- '3670003311596808700': {
503
- error_kind: 'fmtstring',
504
- length: 77,
505
- item_types: [
506
- {
507
- kind: 'integer',
508
- sign: 'unsigned',
509
- width: 32
510
- }
511
- ]
512
- },
513
- '4261968856572588300': {
514
- error_kind: 'string',
515
- string: 'Value does not fit in field'
516
- },
517
- '4440399188109668273': {
518
- error_kind: 'string',
519
- string: 'Input length must be a multiple of 32'
520
- },
521
- '9791669845391776238': {
522
- error_kind: 'string',
523
- string: '0 has a square root; you cannot claim it is not square'
524
- },
525
- '9885968605480832328': {
526
- error_kind: 'string',
527
- string: 'Attempted to read past the length of a CapsuleArray'
528
- },
529
- '10135509984888824963': {
530
- error_kind: 'fmtstring',
531
- length: 58,
532
- item_types: [
533
- {
534
- kind: 'field'
535
- }
536
- ]
537
- },
538
- '10791800398362570014': {
539
- error_kind: 'string',
540
- string: 'extend_from_bounded_vec out of bounds'
541
- },
542
- '11021520179822076911': {
543
- error_kind: 'string',
544
- string: 'Attempted to delete past the length of a CapsuleArray'
545
- },
546
- '11692359521570349358': {
547
- error_kind: 'fmtstring',
548
- length: 40,
549
- item_types: []
550
- },
551
- '12327971061804302172': {
552
- error_kind: 'fmtstring',
553
- length: 98,
554
- item_types: []
555
- },
556
- '12469291177396340830': {
557
- error_kind: 'string',
558
- string: 'call to assert_max_bit_size'
559
- },
560
- '12913276134398371456': {
191
+ '13455385521185560676': {
561
192
  error_kind: 'string',
562
- string: 'push out of bounds'
563
- },
564
- '13557316507370296400': {
565
- error_kind: 'fmtstring',
566
- length: 130,
567
- item_types: [
568
- {
569
- kind: 'integer',
570
- sign: 'unsigned',
571
- width: 32
572
- }
573
- ]
574
- },
575
- '14938672389828944159': {
576
- error_kind: 'fmtstring',
577
- length: 146,
578
- item_types: [
579
- {
580
- kind: 'integer',
581
- sign: 'unsigned',
582
- width: 32
583
- }
584
- ]
193
+ string: 'Storage slot 0 not allowed. Storage slots must start from 1.'
585
194
  },
586
195
  '14990209321349310352': {
587
196
  error_kind: 'string',
@@ -594,17 +203,6 @@ const AuthRegistryContractArtifact = {
594
203
  '16431471497789672479': {
595
204
  error_kind: 'string',
596
205
  string: 'Index out of bounds'
597
- },
598
- '17531474008201752295': {
599
- error_kind: 'fmtstring',
600
- length: 133,
601
- item_types: [
602
- {
603
- kind: 'integer',
604
- sign: 'unsigned',
605
- width: 32
606
- }
607
- ]
608
206
  }
609
207
  }
610
208
  },
@@ -653,6 +251,14 @@ const AuthRegistryContractArtifact = {
653
251
  ],
654
252
  returnTypes: [],
655
253
  errorTypes: {
254
+ '361444214588792908': {
255
+ error_kind: 'string',
256
+ string: 'attempt to multiply with overflow'
257
+ },
258
+ '1998584279744703196': {
259
+ error_kind: 'string',
260
+ string: 'attempt to subtract with overflow'
261
+ },
656
262
  '13455385521185560676': {
657
263
  error_kind: 'string',
658
264
  string: 'Storage slot 0 not allowed. Storage slots must start from 1.'
@@ -712,6 +318,14 @@ const AuthRegistryContractArtifact = {
712
318
  }
713
319
  ],
714
320
  errorTypes: {
321
+ '361444214588792908': {
322
+ error_kind: 'string',
323
+ string: 'attempt to multiply with overflow'
324
+ },
325
+ '1998584279744703196': {
326
+ error_kind: 'string',
327
+ string: 'attempt to subtract with overflow'
328
+ },
715
329
  '5525725861591553972': {
716
330
  error_kind: 'string',
717
331
  string: 'rejecting all'
@@ -775,6 +389,14 @@ const AuthRegistryContractArtifact = {
775
389
  }
776
390
  ],
777
391
  errorTypes: {
392
+ '361444214588792908': {
393
+ error_kind: 'string',
394
+ string: 'attempt to multiply with overflow'
395
+ },
396
+ '1998584279744703196': {
397
+ error_kind: 'string',
398
+ string: 'attempt to subtract with overflow'
399
+ },
778
400
  '13455385521185560676': {
779
401
  error_kind: 'string',
780
402
  string: 'Storage slot 0 not allowed. Storage slots must start from 1.'
@@ -865,6 +487,14 @@ const AuthRegistryContractArtifact = {
865
487
  ],
866
488
  returnTypes: [],
867
489
  errorTypes: {
490
+ '361444214588792908': {
491
+ error_kind: 'string',
492
+ string: 'attempt to multiply with overflow'
493
+ },
494
+ '1998584279744703196': {
495
+ error_kind: 'string',
496
+ string: 'attempt to subtract with overflow'
497
+ },
868
498
  '13455385521185560676': {
869
499
  error_kind: 'string',
870
500
  string: 'Storage slot 0 not allowed. Storage slots must start from 1.'