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