@pushchain/core 0.1.25 → 0.1.27

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.
@@ -2,19 +2,34 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UEA_EVM = void 0;
4
4
  exports.UEA_EVM = [
5
- { type: 'receive', stateMutability: 'payable' },
5
+ {
6
+ type: 'receive',
7
+ stateMutability: 'payable',
8
+ },
6
9
  {
7
10
  type: 'function',
8
11
  name: 'VERSION',
9
12
  inputs: [],
10
- outputs: [{ name: '', type: 'string', internalType: 'string' }],
13
+ outputs: [
14
+ {
15
+ name: '',
16
+ type: 'string',
17
+ internalType: 'string',
18
+ },
19
+ ],
11
20
  stateMutability: 'view',
12
21
  },
13
22
  {
14
23
  type: 'function',
15
24
  name: 'domainSeparator',
16
25
  inputs: [],
17
- outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
26
+ outputs: [
27
+ {
28
+ name: '',
29
+ type: 'bytes32',
30
+ internalType: 'bytes32',
31
+ },
32
+ ],
18
33
  stateMutability: 'view',
19
34
  },
20
35
  {
@@ -26,9 +41,21 @@ exports.UEA_EVM = [
26
41
  type: 'tuple',
27
42
  internalType: 'struct UniversalPayload',
28
43
  components: [
29
- { name: 'to', type: 'address', internalType: 'address' },
30
- { name: 'value', type: 'uint256', internalType: 'uint256' },
31
- { name: 'data', type: 'bytes', internalType: 'bytes' },
44
+ {
45
+ name: 'to',
46
+ type: 'address',
47
+ internalType: 'address',
48
+ },
49
+ {
50
+ name: 'value',
51
+ type: 'uint256',
52
+ internalType: 'uint256',
53
+ },
54
+ {
55
+ name: 'data',
56
+ type: 'bytes',
57
+ internalType: 'bytes',
58
+ },
32
59
  {
33
60
  name: 'gasLimit',
34
61
  type: 'uint256',
@@ -44,20 +71,28 @@ exports.UEA_EVM = [
44
71
  type: 'uint256',
45
72
  internalType: 'uint256',
46
73
  },
47
- { name: 'nonce', type: 'uint256', internalType: 'uint256' },
74
+ {
75
+ name: 'nonce',
76
+ type: 'uint256',
77
+ internalType: 'uint256',
78
+ },
48
79
  {
49
80
  name: 'deadline',
50
81
  type: 'uint256',
51
82
  internalType: 'uint256',
52
83
  },
53
84
  {
54
- name: 'sigType',
85
+ name: 'vType',
55
86
  type: 'uint8',
56
- internalType: 'enum SignatureType',
87
+ internalType: 'enum VerificationType',
57
88
  },
58
89
  ],
59
90
  },
60
- { name: 'signature', type: 'bytes', internalType: 'bytes' },
91
+ {
92
+ name: 'signature',
93
+ type: 'bytes',
94
+ internalType: 'bytes',
95
+ },
61
96
  ],
62
97
  outputs: [],
63
98
  stateMutability: 'nonpayable',
@@ -71,9 +106,21 @@ exports.UEA_EVM = [
71
106
  type: 'tuple',
72
107
  internalType: 'struct UniversalPayload',
73
108
  components: [
74
- { name: 'to', type: 'address', internalType: 'address' },
75
- { name: 'value', type: 'uint256', internalType: 'uint256' },
76
- { name: 'data', type: 'bytes', internalType: 'bytes' },
109
+ {
110
+ name: 'to',
111
+ type: 'address',
112
+ internalType: 'address',
113
+ },
114
+ {
115
+ name: 'value',
116
+ type: 'uint256',
117
+ internalType: 'uint256',
118
+ },
119
+ {
120
+ name: 'data',
121
+ type: 'bytes',
122
+ internalType: 'bytes',
123
+ },
77
124
  {
78
125
  name: 'gasLimit',
79
126
  type: 'uint256',
@@ -89,21 +136,31 @@ exports.UEA_EVM = [
89
136
  type: 'uint256',
90
137
  internalType: 'uint256',
91
138
  },
92
- { name: 'nonce', type: 'uint256', internalType: 'uint256' },
139
+ {
140
+ name: 'nonce',
141
+ type: 'uint256',
142
+ internalType: 'uint256',
143
+ },
93
144
  {
94
145
  name: 'deadline',
95
146
  type: 'uint256',
96
147
  internalType: 'uint256',
97
148
  },
98
149
  {
99
- name: 'sigType',
150
+ name: 'vType',
100
151
  type: 'uint8',
101
- internalType: 'enum SignatureType',
152
+ internalType: 'enum VerificationType',
102
153
  },
103
154
  ],
104
155
  },
105
156
  ],
106
- outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
157
+ outputs: [
158
+ {
159
+ name: '',
160
+ type: 'bytes32',
161
+ internalType: 'bytes32',
162
+ },
163
+ ],
107
164
  stateMutability: 'view',
108
165
  },
109
166
  {
@@ -113,10 +170,23 @@ exports.UEA_EVM = [
113
170
  {
114
171
  name: '_id',
115
172
  type: 'tuple',
116
- internalType: 'struct UniversalAccount',
173
+ internalType: 'struct UniversalAccountId',
117
174
  components: [
118
- { name: 'chain', type: 'string', internalType: 'string' },
119
- { name: 'owner', type: 'bytes', internalType: 'bytes' },
175
+ {
176
+ name: 'chainNamespace',
177
+ type: 'string',
178
+ internalType: 'string',
179
+ },
180
+ {
181
+ name: 'chainId',
182
+ type: 'string',
183
+ internalType: 'string',
184
+ },
185
+ {
186
+ name: 'owner',
187
+ type: 'bytes',
188
+ internalType: 'bytes',
189
+ },
120
190
  ],
121
191
  },
122
192
  ],
@@ -127,7 +197,13 @@ exports.UEA_EVM = [
127
197
  type: 'function',
128
198
  name: 'nonce',
129
199
  inputs: [],
130
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
200
+ outputs: [
201
+ {
202
+ name: '',
203
+ type: 'uint256',
204
+ internalType: 'uint256',
205
+ },
206
+ ],
131
207
  stateMutability: 'view',
132
208
  },
133
209
  {
@@ -138,10 +214,23 @@ exports.UEA_EVM = [
138
214
  {
139
215
  name: '',
140
216
  type: 'tuple',
141
- internalType: 'struct UniversalAccount',
217
+ internalType: 'struct UniversalAccountId',
142
218
  components: [
143
- { name: 'chain', type: 'string', internalType: 'string' },
144
- { name: 'owner', type: 'bytes', internalType: 'bytes' },
219
+ {
220
+ name: 'chainNamespace',
221
+ type: 'string',
222
+ internalType: 'string',
223
+ },
224
+ {
225
+ name: 'chainId',
226
+ type: 'string',
227
+ internalType: 'string',
228
+ },
229
+ {
230
+ name: 'owner',
231
+ type: 'bytes',
232
+ internalType: 'bytes',
233
+ },
145
234
  ],
146
235
  },
147
236
  ],
@@ -151,10 +240,24 @@ exports.UEA_EVM = [
151
240
  type: 'function',
152
241
  name: 'verifyPayloadSignature',
153
242
  inputs: [
154
- { name: 'messageHash', type: 'bytes32', internalType: 'bytes32' },
155
- { name: 'signature', type: 'bytes', internalType: 'bytes' },
243
+ {
244
+ name: 'messageHash',
245
+ type: 'bytes32',
246
+ internalType: 'bytes32',
247
+ },
248
+ {
249
+ name: 'signature',
250
+ type: 'bytes',
251
+ internalType: 'bytes',
252
+ },
253
+ ],
254
+ outputs: [
255
+ {
256
+ name: '',
257
+ type: 'bool',
258
+ internalType: 'bool',
259
+ },
156
260
  ],
157
- outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
158
261
  stateMutability: 'view',
159
262
  },
160
263
  {
@@ -182,21 +285,57 @@ exports.UEA_EVM = [
182
285
  ],
183
286
  anonymous: false,
184
287
  },
185
- { type: 'error', name: 'AlreadyInitialized', inputs: [] },
186
- { type: 'error', name: 'ECDSAInvalidSignature', inputs: [] },
288
+ {
289
+ type: 'error',
290
+ name: 'AlreadyInitialized',
291
+ inputs: [],
292
+ },
293
+ {
294
+ type: 'error',
295
+ name: 'ECDSAInvalidSignature',
296
+ inputs: [],
297
+ },
187
298
  {
188
299
  type: 'error',
189
300
  name: 'ECDSAInvalidSignatureLength',
190
- inputs: [{ name: 'length', type: 'uint256', internalType: 'uint256' }],
301
+ inputs: [
302
+ {
303
+ name: 'length',
304
+ type: 'uint256',
305
+ internalType: 'uint256',
306
+ },
307
+ ],
191
308
  },
192
309
  {
193
310
  type: 'error',
194
311
  name: 'ECDSAInvalidSignatureS',
195
- inputs: [{ name: 's', type: 'bytes32', internalType: 'bytes32' }],
312
+ inputs: [
313
+ {
314
+ name: 's',
315
+ type: 'bytes32',
316
+ internalType: 'bytes32',
317
+ },
318
+ ],
319
+ },
320
+ {
321
+ type: 'error',
322
+ name: 'ExecutionFailed',
323
+ inputs: [],
324
+ },
325
+ {
326
+ type: 'error',
327
+ name: 'ExpiredDeadline',
328
+ inputs: [],
329
+ },
330
+ {
331
+ type: 'error',
332
+ name: 'InvalidEVMSignature',
333
+ inputs: [],
334
+ },
335
+ {
336
+ type: 'error',
337
+ name: 'ReentrancyGuardReentrantCall',
338
+ inputs: [],
196
339
  },
197
- { type: 'error', name: 'ExecutionFailed', inputs: [] },
198
- { type: 'error', name: 'ExpiredDeadline', inputs: [] },
199
- { type: 'error', name: 'InvalidEVMSignature', inputs: [] },
200
- { type: 'error', name: 'ReentrancyGuardReentrantCall', inputs: [] },
201
340
  ];
202
341
  //# sourceMappingURL=uea.evm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"uea.evm.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/uea.evm.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE;IAC/C;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,CAAC;QAC/D,eAAe,EAAE,MAAM;KACxB;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,iBAAiB;QACvB,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;KACxB;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO;gBACb,YAAY,EAAE,yBAAyB;gBACvC,UAAU,EAAE;oBACV,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;oBACxD,EAAE,I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AE,OAAO;gBACb,OAAO,EAAE,KAAK;gBACd,YAAY,EAAE,OAAO;aACtB;SACF;QACD,SAAS,EAAE,KAAK;KACjB;IACD,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,EAAE,EAAE,EAAE;IACzD,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,uBAAuB,EAAE,MAAM,EAAE,EAAE,EAAE;IAC5D;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,6BAA6B;QACnC,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;KACvE;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,wBAAwB;QAC9B,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;KAClE;IACD,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,EAAE,EAAE;IACtD,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,MAAM,EAAE,EAAE,EAAE;IACtD,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,qBAAqB,EAAE,MAAM,EAAE,EAAE,EAAE;IAC1D,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,8BAA8B,EAAE,MAAM,EAAE,EAAE,EAAE;CACpE,CAAC"}
1
+ {"version":3,"file":"uea.evm.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/uea.evm.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB;QACE,IAAI,EAAE,SAAS;QACf,eAAe,EAAE,SAAS;KAC3B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,EAAE;QACV,OA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;QACb,IAAI,EAAE,wBAAwB;QAC9B,MAAM,EAAE;YACN;gBACE,IAAI,EAAE,GAAG;gBACT,IAAI,EAAE,SAAS;gBACf,YAAY,EAAE,SAAS;aACxB;SACF;KACF;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,iBAAiB;QACvB,MAAM,EAAE,EAAE;KACX;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,iBAAiB;QACvB,MAAM,EAAE,EAAE;KACX;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,EAAE;KACX;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,8BAA8B;QACpC,MAAM,EAAE,EAAE;KACX;CACF,CAAC"}
@@ -2,26 +2,47 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UEA_SVM = void 0;
4
4
  exports.UEA_SVM = [
5
- { type: 'receive', stateMutability: 'payable' },
5
+ {
6
+ type: 'receive',
7
+ stateMutability: 'payable',
8
+ },
6
9
  {
7
10
  type: 'function',
8
11
  name: 'VERIFIER_PRECOMPILE',
9
12
  inputs: [],
10
- outputs: [{ name: '', type: 'address', internalType: 'address' }],
13
+ outputs: [
14
+ {
15
+ name: '',
16
+ type: 'address',
17
+ internalType: 'address',
18
+ },
19
+ ],
11
20
  stateMutability: 'view',
12
21
  },
13
22
  {
14
23
  type: 'function',
15
24
  name: 'VERSION',
16
25
  inputs: [],
17
- outputs: [{ name: '', type: 'string', internalType: 'string' }],
26
+ outputs: [
27
+ {
28
+ name: '',
29
+ type: 'string',
30
+ internalType: 'string',
31
+ },
32
+ ],
18
33
  stateMutability: 'view',
19
34
  },
20
35
  {
21
36
  type: 'function',
22
37
  name: 'domainSeparator',
23
38
  inputs: [],
24
- outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
39
+ outputs: [
40
+ {
41
+ name: '',
42
+ type: 'bytes32',
43
+ internalType: 'bytes32',
44
+ },
45
+ ],
25
46
  stateMutability: 'view',
26
47
  },
27
48
  {
@@ -33,9 +54,21 @@ exports.UEA_SVM = [
33
54
  type: 'tuple',
34
55
  internalType: 'struct UniversalPayload',
35
56
  components: [
36
- { name: 'to', type: 'address', internalType: 'address' },
37
- { name: 'value', type: 'uint256', internalType: 'uint256' },
38
- { name: 'data', type: 'bytes', internalType: 'bytes' },
57
+ {
58
+ name: 'to',
59
+ type: 'address',
60
+ internalType: 'address',
61
+ },
62
+ {
63
+ name: 'value',
64
+ type: 'uint256',
65
+ internalType: 'uint256',
66
+ },
67
+ {
68
+ name: 'data',
69
+ type: 'bytes',
70
+ internalType: 'bytes',
71
+ },
39
72
  {
40
73
  name: 'gasLimit',
41
74
  type: 'uint256',
@@ -51,20 +84,28 @@ exports.UEA_SVM = [
51
84
  type: 'uint256',
52
85
  internalType: 'uint256',
53
86
  },
54
- { name: 'nonce', type: 'uint256', internalType: 'uint256' },
87
+ {
88
+ name: 'nonce',
89
+ type: 'uint256',
90
+ internalType: 'uint256',
91
+ },
55
92
  {
56
93
  name: 'deadline',
57
94
  type: 'uint256',
58
95
  internalType: 'uint256',
59
96
  },
60
97
  {
61
- name: 'sigType',
98
+ name: 'vType',
62
99
  type: 'uint8',
63
- internalType: 'enum SignatureType',
100
+ internalType: 'enum VerificationType',
64
101
  },
65
102
  ],
66
103
  },
67
- { name: 'signature', type: 'bytes', internalType: 'bytes' },
104
+ {
105
+ name: 'signature',
106
+ type: 'bytes',
107
+ internalType: 'bytes',
108
+ },
68
109
  ],
69
110
  outputs: [],
70
111
  stateMutability: 'nonpayable',
@@ -78,9 +119,21 @@ exports.UEA_SVM = [
78
119
  type: 'tuple',
79
120
  internalType: 'struct UniversalPayload',
80
121
  components: [
81
- { name: 'to', type: 'address', internalType: 'address' },
82
- { name: 'value', type: 'uint256', internalType: 'uint256' },
83
- { name: 'data', type: 'bytes', internalType: 'bytes' },
122
+ {
123
+ name: 'to',
124
+ type: 'address',
125
+ internalType: 'address',
126
+ },
127
+ {
128
+ name: 'value',
129
+ type: 'uint256',
130
+ internalType: 'uint256',
131
+ },
132
+ {
133
+ name: 'data',
134
+ type: 'bytes',
135
+ internalType: 'bytes',
136
+ },
84
137
  {
85
138
  name: 'gasLimit',
86
139
  type: 'uint256',
@@ -96,21 +149,31 @@ exports.UEA_SVM = [
96
149
  type: 'uint256',
97
150
  internalType: 'uint256',
98
151
  },
99
- { name: 'nonce', type: 'uint256', internalType: 'uint256' },
152
+ {
153
+ name: 'nonce',
154
+ type: 'uint256',
155
+ internalType: 'uint256',
156
+ },
100
157
  {
101
158
  name: 'deadline',
102
159
  type: 'uint256',
103
160
  internalType: 'uint256',
104
161
  },
105
162
  {
106
- name: 'sigType',
163
+ name: 'vType',
107
164
  type: 'uint8',
108
- internalType: 'enum SignatureType',
165
+ internalType: 'enum VerificationType',
109
166
  },
110
167
  ],
111
168
  },
112
169
  ],
113
- outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
170
+ outputs: [
171
+ {
172
+ name: '',
173
+ type: 'bytes32',
174
+ internalType: 'bytes32',
175
+ },
176
+ ],
114
177
  stateMutability: 'view',
115
178
  },
116
179
  {
@@ -120,10 +183,23 @@ exports.UEA_SVM = [
120
183
  {
121
184
  name: '_id',
122
185
  type: 'tuple',
123
- internalType: 'struct UniversalAccount',
186
+ internalType: 'struct UniversalAccountId',
124
187
  components: [
125
- { name: 'chain', type: 'string', internalType: 'string' },
126
- { name: 'owner', type: 'bytes', internalType: 'bytes' },
188
+ {
189
+ name: 'chainNamespace',
190
+ type: 'string',
191
+ internalType: 'string',
192
+ },
193
+ {
194
+ name: 'chainId',
195
+ type: 'string',
196
+ internalType: 'string',
197
+ },
198
+ {
199
+ name: 'owner',
200
+ type: 'bytes',
201
+ internalType: 'bytes',
202
+ },
127
203
  ],
128
204
  },
129
205
  ],
@@ -134,7 +210,13 @@ exports.UEA_SVM = [
134
210
  type: 'function',
135
211
  name: 'nonce',
136
212
  inputs: [],
137
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
213
+ outputs: [
214
+ {
215
+ name: '',
216
+ type: 'uint256',
217
+ internalType: 'uint256',
218
+ },
219
+ ],
138
220
  stateMutability: 'view',
139
221
  },
140
222
  {
@@ -145,10 +227,23 @@ exports.UEA_SVM = [
145
227
  {
146
228
  name: '',
147
229
  type: 'tuple',
148
- internalType: 'struct UniversalAccount',
230
+ internalType: 'struct UniversalAccountId',
149
231
  components: [
150
- { name: 'chain', type: 'string', internalType: 'string' },
151
- { name: 'owner', type: 'bytes', internalType: 'bytes' },
232
+ {
233
+ name: 'chainNamespace',
234
+ type: 'string',
235
+ internalType: 'string',
236
+ },
237
+ {
238
+ name: 'chainId',
239
+ type: 'string',
240
+ internalType: 'string',
241
+ },
242
+ {
243
+ name: 'owner',
244
+ type: 'bytes',
245
+ internalType: 'bytes',
246
+ },
152
247
  ],
153
248
  },
154
249
  ],
@@ -158,10 +253,24 @@ exports.UEA_SVM = [
158
253
  type: 'function',
159
254
  name: 'verifyPayloadSignature',
160
255
  inputs: [
161
- { name: 'messageHash', type: 'bytes32', internalType: 'bytes32' },
162
- { name: 'signature', type: 'bytes', internalType: 'bytes' },
256
+ {
257
+ name: 'messageHash',
258
+ type: 'bytes32',
259
+ internalType: 'bytes32',
260
+ },
261
+ {
262
+ name: 'signature',
263
+ type: 'bytes',
264
+ internalType: 'bytes',
265
+ },
266
+ ],
267
+ outputs: [
268
+ {
269
+ name: '',
270
+ type: 'bool',
271
+ internalType: 'bool',
272
+ },
163
273
  ],
164
- outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
165
274
  stateMutability: 'view',
166
275
  },
167
276
  {
@@ -189,11 +298,35 @@ exports.UEA_SVM = [
189
298
  ],
190
299
  anonymous: false,
191
300
  },
192
- { type: 'error', name: 'AlreadyInitialized', inputs: [] },
193
- { type: 'error', name: 'ExecutionFailed', inputs: [] },
194
- { type: 'error', name: 'ExpiredDeadline', inputs: [] },
195
- { type: 'error', name: 'InvalidSVMSignature', inputs: [] },
196
- { type: 'error', name: 'PrecompileCallFailed', inputs: [] },
197
- { type: 'error', name: 'ReentrancyGuardReentrantCall', inputs: [] },
301
+ {
302
+ type: 'error',
303
+ name: 'AlreadyInitialized',
304
+ inputs: [],
305
+ },
306
+ {
307
+ type: 'error',
308
+ name: 'ExecutionFailed',
309
+ inputs: [],
310
+ },
311
+ {
312
+ type: 'error',
313
+ name: 'ExpiredDeadline',
314
+ inputs: [],
315
+ },
316
+ {
317
+ type: 'error',
318
+ name: 'InvalidSVMSignature',
319
+ inputs: [],
320
+ },
321
+ {
322
+ type: 'error',
323
+ name: 'PrecompileCallFailed',
324
+ inputs: [],
325
+ },
326
+ {
327
+ type: 'error',
328
+ name: 'ReentrancyGuardReentrantCall',
329
+ inputs: [],
330
+ },
198
331
  ];
199
332
  //# sourceMappingURL=uea.svm.js.map