@pyratzlabs/react-fhevm-utils 3.4.6 → 3.4.7
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/dist/client/hooks/useFinalizeUnwrap.d.ts +1 -1
- package/dist/types/ABI/Wrapper.abi.d.ts +237 -485
- package/dist/types/ABI/Wrapper.abi.js +315 -636
- package/dist/types/ABI/encryptedABI.d.ts +662 -305
- package/dist/types/ABI/encryptedABI.js +790 -340
- package/package.json +1 -1
|
@@ -1,34 +1,23 @@
|
|
|
1
1
|
export const encryptedABI = [
|
|
2
2
|
{
|
|
3
3
|
inputs: [],
|
|
4
|
-
|
|
5
|
-
type: "
|
|
4
|
+
stateMutability: "nonpayable",
|
|
5
|
+
type: "constructor",
|
|
6
6
|
},
|
|
7
7
|
{
|
|
8
8
|
inputs: [
|
|
9
9
|
{
|
|
10
10
|
internalType: "address",
|
|
11
|
-
name: "
|
|
11
|
+
name: "target",
|
|
12
12
|
type: "address",
|
|
13
13
|
},
|
|
14
|
-
{
|
|
15
|
-
internalType: "bytes32",
|
|
16
|
-
name: "neededRole",
|
|
17
|
-
type: "bytes32",
|
|
18
|
-
},
|
|
19
14
|
],
|
|
20
|
-
name: "
|
|
15
|
+
name: "AddressEmptyCode",
|
|
21
16
|
type: "error",
|
|
22
17
|
},
|
|
23
18
|
{
|
|
24
|
-
inputs: [
|
|
25
|
-
|
|
26
|
-
internalType: "address",
|
|
27
|
-
name: "target",
|
|
28
|
-
type: "address",
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
name: "AddressEmptyCode",
|
|
19
|
+
inputs: [],
|
|
20
|
+
name: "CannotReceiveEthForTokenWrap",
|
|
32
21
|
type: "error",
|
|
33
22
|
},
|
|
34
23
|
{
|
|
@@ -47,92 +36,6 @@ export const encryptedABI = [
|
|
|
47
36
|
name: "ERC1967NonPayable",
|
|
48
37
|
type: "error",
|
|
49
38
|
},
|
|
50
|
-
{
|
|
51
|
-
inputs: [
|
|
52
|
-
{
|
|
53
|
-
internalType: "address",
|
|
54
|
-
name: "spender",
|
|
55
|
-
type: "address",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
internalType: "uint256",
|
|
59
|
-
name: "allowance",
|
|
60
|
-
type: "uint256",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
internalType: "uint256",
|
|
64
|
-
name: "needed",
|
|
65
|
-
type: "uint256",
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
name: "ERC20InsufficientAllowance",
|
|
69
|
-
type: "error",
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
inputs: [
|
|
73
|
-
{
|
|
74
|
-
internalType: "address",
|
|
75
|
-
name: "sender",
|
|
76
|
-
type: "address",
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
internalType: "uint256",
|
|
80
|
-
name: "balance",
|
|
81
|
-
type: "uint256",
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
internalType: "uint256",
|
|
85
|
-
name: "needed",
|
|
86
|
-
type: "uint256",
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
name: "ERC20InsufficientBalance",
|
|
90
|
-
type: "error",
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
inputs: [
|
|
94
|
-
{
|
|
95
|
-
internalType: "address",
|
|
96
|
-
name: "approver",
|
|
97
|
-
type: "address",
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
name: "ERC20InvalidApprover",
|
|
101
|
-
type: "error",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
inputs: [
|
|
105
|
-
{
|
|
106
|
-
internalType: "address",
|
|
107
|
-
name: "receiver",
|
|
108
|
-
type: "address",
|
|
109
|
-
},
|
|
110
|
-
],
|
|
111
|
-
name: "ERC20InvalidReceiver",
|
|
112
|
-
type: "error",
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
inputs: [
|
|
116
|
-
{
|
|
117
|
-
internalType: "address",
|
|
118
|
-
name: "sender",
|
|
119
|
-
type: "address",
|
|
120
|
-
},
|
|
121
|
-
],
|
|
122
|
-
name: "ERC20InvalidSender",
|
|
123
|
-
type: "error",
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
inputs: [
|
|
127
|
-
{
|
|
128
|
-
internalType: "address",
|
|
129
|
-
name: "spender",
|
|
130
|
-
type: "address",
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
name: "ERC20InvalidSpender",
|
|
134
|
-
type: "error",
|
|
135
|
-
},
|
|
136
39
|
{
|
|
137
40
|
inputs: [
|
|
138
41
|
{
|
|
@@ -177,6 +80,11 @@ export const encryptedABI = [
|
|
|
177
80
|
name: "ERC7984InvalidSender",
|
|
178
81
|
type: "error",
|
|
179
82
|
},
|
|
83
|
+
{
|
|
84
|
+
inputs: [],
|
|
85
|
+
name: "ERC7984TotalSupplyOverflow",
|
|
86
|
+
type: "error",
|
|
87
|
+
},
|
|
180
88
|
{
|
|
181
89
|
inputs: [
|
|
182
90
|
{
|
|
@@ -233,47 +141,97 @@ export const encryptedABI = [
|
|
|
233
141
|
},
|
|
234
142
|
{
|
|
235
143
|
inputs: [],
|
|
236
|
-
name: "
|
|
144
|
+
name: "EthFeeTransferFailed",
|
|
237
145
|
type: "error",
|
|
238
146
|
},
|
|
239
147
|
{
|
|
240
148
|
inputs: [],
|
|
241
|
-
name: "
|
|
149
|
+
name: "FailedCall",
|
|
242
150
|
type: "error",
|
|
243
151
|
},
|
|
244
152
|
{
|
|
245
153
|
inputs: [],
|
|
246
|
-
name: "
|
|
154
|
+
name: "IncorrectEthAmount",
|
|
247
155
|
type: "error",
|
|
248
156
|
},
|
|
249
157
|
{
|
|
250
158
|
inputs: [],
|
|
251
|
-
name: "
|
|
159
|
+
name: "InvalidInitialization",
|
|
252
160
|
type: "error",
|
|
253
161
|
},
|
|
254
162
|
{
|
|
255
163
|
inputs: [],
|
|
256
|
-
name: "
|
|
164
|
+
name: "InvalidKMSSignatures",
|
|
257
165
|
type: "error",
|
|
258
166
|
},
|
|
259
167
|
{
|
|
260
|
-
inputs: [
|
|
261
|
-
|
|
168
|
+
inputs: [
|
|
169
|
+
{
|
|
170
|
+
internalType: "euint64",
|
|
171
|
+
name: "amount",
|
|
172
|
+
type: "bytes32",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
name: "InvalidUnwrapRequest",
|
|
262
176
|
type: "error",
|
|
263
177
|
},
|
|
264
178
|
{
|
|
265
179
|
inputs: [],
|
|
266
|
-
name: "
|
|
180
|
+
name: "NotInitializing",
|
|
267
181
|
type: "error",
|
|
268
182
|
},
|
|
269
183
|
{
|
|
270
|
-
inputs: [
|
|
271
|
-
|
|
184
|
+
inputs: [
|
|
185
|
+
{
|
|
186
|
+
internalType: "address",
|
|
187
|
+
name: "owner",
|
|
188
|
+
type: "address",
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
name: "OwnableInvalidOwner",
|
|
192
|
+
type: "error",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
inputs: [
|
|
196
|
+
{
|
|
197
|
+
internalType: "address",
|
|
198
|
+
name: "account",
|
|
199
|
+
type: "address",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
name: "OwnableUnauthorizedAccount",
|
|
272
203
|
type: "error",
|
|
273
204
|
},
|
|
274
205
|
{
|
|
275
206
|
inputs: [],
|
|
276
|
-
name: "
|
|
207
|
+
name: "ReentrancyGuardReentrantCall",
|
|
208
|
+
type: "error",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [
|
|
212
|
+
{
|
|
213
|
+
internalType: "uint8",
|
|
214
|
+
name: "bits",
|
|
215
|
+
type: "uint8",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
internalType: "uint256",
|
|
219
|
+
name: "value",
|
|
220
|
+
type: "uint256",
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
name: "SafeCastOverflowedUintDowncast",
|
|
224
|
+
type: "error",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
inputs: [
|
|
228
|
+
{
|
|
229
|
+
internalType: "address",
|
|
230
|
+
name: "token",
|
|
231
|
+
type: "address",
|
|
232
|
+
},
|
|
233
|
+
],
|
|
234
|
+
name: "SafeERC20FailedOperation",
|
|
277
235
|
type: "error",
|
|
278
236
|
},
|
|
279
237
|
{
|
|
@@ -287,6 +245,22 @@ export const encryptedABI = [
|
|
|
287
245
|
name: "SanctionedAddress",
|
|
288
246
|
type: "error",
|
|
289
247
|
},
|
|
248
|
+
{
|
|
249
|
+
inputs: [
|
|
250
|
+
{
|
|
251
|
+
internalType: "bytes32",
|
|
252
|
+
name: "handle",
|
|
253
|
+
type: "bytes32",
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
internalType: "address",
|
|
257
|
+
name: "sender",
|
|
258
|
+
type: "address",
|
|
259
|
+
},
|
|
260
|
+
],
|
|
261
|
+
name: "SenderNotAllowedToUseHandle",
|
|
262
|
+
type: "error",
|
|
263
|
+
},
|
|
290
264
|
{
|
|
291
265
|
inputs: [],
|
|
292
266
|
name: "UUPSUnauthorizedCallContext",
|
|
@@ -303,6 +277,61 @@ export const encryptedABI = [
|
|
|
303
277
|
name: "UUPSUnsupportedProxiableUUID",
|
|
304
278
|
type: "error",
|
|
305
279
|
},
|
|
280
|
+
{
|
|
281
|
+
inputs: [
|
|
282
|
+
{
|
|
283
|
+
internalType: "euint64",
|
|
284
|
+
name: "burntAmount",
|
|
285
|
+
type: "bytes32",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
internalType: "address",
|
|
289
|
+
name: "caller",
|
|
290
|
+
type: "address",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
internalType: "address",
|
|
294
|
+
name: "unwrapInitiator",
|
|
295
|
+
type: "address",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
name: "UnauthorizedFinalizeUnwrapCaller",
|
|
299
|
+
type: "error",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [],
|
|
303
|
+
name: "WrapperBalanceExceedsMaxSupply",
|
|
304
|
+
type: "error",
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
inputs: [],
|
|
308
|
+
name: "ZamaProtocolUnsupported",
|
|
309
|
+
type: "error",
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
inputs: [],
|
|
313
|
+
name: "ZeroAddressDeploymentCoordinator",
|
|
314
|
+
type: "error",
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
anonymous: false,
|
|
318
|
+
inputs: [
|
|
319
|
+
{
|
|
320
|
+
indexed: true,
|
|
321
|
+
internalType: "euint64",
|
|
322
|
+
name: "encryptedAmount",
|
|
323
|
+
type: "bytes32",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
indexed: true,
|
|
327
|
+
internalType: "address",
|
|
328
|
+
name: "requester",
|
|
329
|
+
type: "address",
|
|
330
|
+
},
|
|
331
|
+
],
|
|
332
|
+
name: "AmountDiscloseRequested",
|
|
333
|
+
type: "event",
|
|
334
|
+
},
|
|
306
335
|
{
|
|
307
336
|
anonymous: false,
|
|
308
337
|
inputs: [
|
|
@@ -328,7 +357,7 @@ export const encryptedABI = [
|
|
|
328
357
|
{
|
|
329
358
|
indexed: true,
|
|
330
359
|
internalType: "address",
|
|
331
|
-
name: "
|
|
360
|
+
name: "from",
|
|
332
361
|
type: "address",
|
|
333
362
|
},
|
|
334
363
|
{
|
|
@@ -377,12 +406,24 @@ export const encryptedABI = [
|
|
|
377
406
|
inputs: [
|
|
378
407
|
{
|
|
379
408
|
indexed: true,
|
|
380
|
-
internalType: "
|
|
381
|
-
name: "
|
|
382
|
-
type: "
|
|
409
|
+
internalType: "address",
|
|
410
|
+
name: "holder",
|
|
411
|
+
type: "address",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
indexed: true,
|
|
415
|
+
internalType: "address",
|
|
416
|
+
name: "operator",
|
|
417
|
+
type: "address",
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
indexed: false,
|
|
421
|
+
internalType: "uint48",
|
|
422
|
+
name: "until",
|
|
423
|
+
type: "uint48",
|
|
383
424
|
},
|
|
384
425
|
],
|
|
385
|
-
name: "
|
|
426
|
+
name: "FinalizeUnwrapOperatorSet",
|
|
386
427
|
type: "event",
|
|
387
428
|
},
|
|
388
429
|
{
|
|
@@ -419,12 +460,6 @@ export const encryptedABI = [
|
|
|
419
460
|
name: "txId",
|
|
420
461
|
type: "uint256",
|
|
421
462
|
},
|
|
422
|
-
{
|
|
423
|
-
indexed: false,
|
|
424
|
-
internalType: "bool",
|
|
425
|
-
name: "isFee",
|
|
426
|
-
type: "bool",
|
|
427
|
-
},
|
|
428
463
|
],
|
|
429
464
|
name: "MintInfo",
|
|
430
465
|
type: "event",
|
|
@@ -459,74 +494,75 @@ export const encryptedABI = [
|
|
|
459
494
|
inputs: [
|
|
460
495
|
{
|
|
461
496
|
indexed: true,
|
|
462
|
-
internalType: "
|
|
463
|
-
name: "
|
|
464
|
-
type: "
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
indexed: true,
|
|
468
|
-
internalType: "bytes32",
|
|
469
|
-
name: "previousAdminRole",
|
|
470
|
-
type: "bytes32",
|
|
497
|
+
internalType: "address",
|
|
498
|
+
name: "previousOwner",
|
|
499
|
+
type: "address",
|
|
471
500
|
},
|
|
472
501
|
{
|
|
473
502
|
indexed: true,
|
|
474
|
-
internalType: "
|
|
475
|
-
name: "
|
|
476
|
-
type: "
|
|
503
|
+
internalType: "address",
|
|
504
|
+
name: "newOwner",
|
|
505
|
+
type: "address",
|
|
477
506
|
},
|
|
478
507
|
],
|
|
479
|
-
name: "
|
|
508
|
+
name: "OwnershipTransferStarted",
|
|
480
509
|
type: "event",
|
|
481
510
|
},
|
|
482
511
|
{
|
|
483
512
|
anonymous: false,
|
|
484
513
|
inputs: [
|
|
485
|
-
{
|
|
486
|
-
indexed: true,
|
|
487
|
-
internalType: "bytes32",
|
|
488
|
-
name: "role",
|
|
489
|
-
type: "bytes32",
|
|
490
|
-
},
|
|
491
514
|
{
|
|
492
515
|
indexed: true,
|
|
493
516
|
internalType: "address",
|
|
494
|
-
name: "
|
|
517
|
+
name: "previousOwner",
|
|
495
518
|
type: "address",
|
|
496
519
|
},
|
|
497
520
|
{
|
|
498
521
|
indexed: true,
|
|
499
522
|
internalType: "address",
|
|
500
|
-
name: "
|
|
523
|
+
name: "newOwner",
|
|
501
524
|
type: "address",
|
|
502
525
|
},
|
|
503
526
|
],
|
|
504
|
-
name: "
|
|
527
|
+
name: "OwnershipTransferred",
|
|
505
528
|
type: "event",
|
|
506
529
|
},
|
|
507
530
|
{
|
|
508
531
|
anonymous: false,
|
|
509
532
|
inputs: [
|
|
510
533
|
{
|
|
511
|
-
indexed:
|
|
512
|
-
internalType: "bytes32",
|
|
513
|
-
name: "
|
|
514
|
-
type: "bytes32",
|
|
534
|
+
indexed: false,
|
|
535
|
+
internalType: "bytes32[]",
|
|
536
|
+
name: "handlesList",
|
|
537
|
+
type: "bytes32[]",
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
indexed: false,
|
|
541
|
+
internalType: "bytes",
|
|
542
|
+
name: "abiEncodedCleartexts",
|
|
543
|
+
type: "bytes",
|
|
515
544
|
},
|
|
545
|
+
],
|
|
546
|
+
name: "PublicDecryptionVerified",
|
|
547
|
+
type: "event",
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
anonymous: false,
|
|
551
|
+
inputs: [
|
|
516
552
|
{
|
|
517
553
|
indexed: true,
|
|
518
554
|
internalType: "address",
|
|
519
|
-
name: "
|
|
555
|
+
name: "oldRegulator",
|
|
520
556
|
type: "address",
|
|
521
557
|
},
|
|
522
558
|
{
|
|
523
559
|
indexed: true,
|
|
524
560
|
internalType: "address",
|
|
525
|
-
name: "
|
|
561
|
+
name: "newRegulator",
|
|
526
562
|
type: "address",
|
|
527
563
|
},
|
|
528
564
|
],
|
|
529
|
-
name: "
|
|
565
|
+
name: "TokenRegulatorUpdated",
|
|
530
566
|
type: "event",
|
|
531
567
|
},
|
|
532
568
|
{
|
|
@@ -546,12 +582,18 @@ export const encryptedABI = [
|
|
|
546
582
|
},
|
|
547
583
|
{
|
|
548
584
|
indexed: false,
|
|
549
|
-
internalType: "
|
|
550
|
-
name: "
|
|
551
|
-
type: "
|
|
585
|
+
internalType: "euint64",
|
|
586
|
+
name: "encryptedAmount",
|
|
587
|
+
type: "bytes32",
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
indexed: false,
|
|
591
|
+
internalType: "uint256",
|
|
592
|
+
name: "txId",
|
|
593
|
+
type: "uint256",
|
|
552
594
|
},
|
|
553
595
|
],
|
|
554
|
-
name: "
|
|
596
|
+
name: "TransferInfo",
|
|
555
597
|
type: "event",
|
|
556
598
|
},
|
|
557
599
|
{
|
|
@@ -560,39 +602,113 @@ export const encryptedABI = [
|
|
|
560
602
|
{
|
|
561
603
|
indexed: true,
|
|
562
604
|
internalType: "address",
|
|
563
|
-
name: "
|
|
605
|
+
name: "receiver",
|
|
564
606
|
type: "address",
|
|
565
607
|
},
|
|
608
|
+
{
|
|
609
|
+
indexed: false,
|
|
610
|
+
internalType: "euint64",
|
|
611
|
+
name: "encryptedAmount",
|
|
612
|
+
type: "bytes32",
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
indexed: false,
|
|
616
|
+
internalType: "uint64",
|
|
617
|
+
name: "cleartextAmount",
|
|
618
|
+
type: "uint64",
|
|
619
|
+
},
|
|
620
|
+
],
|
|
621
|
+
name: "UnwrapFinalized",
|
|
622
|
+
type: "event",
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
anonymous: false,
|
|
626
|
+
inputs: [
|
|
566
627
|
{
|
|
567
628
|
indexed: true,
|
|
568
629
|
internalType: "address",
|
|
569
|
-
name: "
|
|
630
|
+
name: "receiver",
|
|
570
631
|
type: "address",
|
|
571
632
|
},
|
|
633
|
+
{
|
|
634
|
+
indexed: false,
|
|
635
|
+
internalType: "euint64",
|
|
636
|
+
name: "amount",
|
|
637
|
+
type: "bytes32",
|
|
638
|
+
},
|
|
639
|
+
],
|
|
640
|
+
name: "UnwrapRequested",
|
|
641
|
+
type: "event",
|
|
642
|
+
},
|
|
643
|
+
{
|
|
644
|
+
anonymous: false,
|
|
645
|
+
inputs: [
|
|
646
|
+
{
|
|
647
|
+
indexed: true,
|
|
648
|
+
internalType: "euint64",
|
|
649
|
+
name: "burntAmountHandle",
|
|
650
|
+
type: "bytes32",
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
indexed: false,
|
|
654
|
+
internalType: "bool",
|
|
655
|
+
name: "finalizeSuccess",
|
|
656
|
+
type: "bool",
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
indexed: false,
|
|
660
|
+
internalType: "bool",
|
|
661
|
+
name: "feeTransferSuccess",
|
|
662
|
+
type: "bool",
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
indexed: false,
|
|
666
|
+
internalType: "uint64",
|
|
667
|
+
name: "burnAmount",
|
|
668
|
+
type: "uint64",
|
|
669
|
+
},
|
|
572
670
|
{
|
|
573
671
|
indexed: false,
|
|
574
672
|
internalType: "uint256",
|
|
575
|
-
name: "
|
|
673
|
+
name: "unwrapAmount",
|
|
576
674
|
type: "uint256",
|
|
577
675
|
},
|
|
578
676
|
{
|
|
579
677
|
indexed: false,
|
|
580
|
-
internalType: "
|
|
678
|
+
internalType: "uint256",
|
|
581
679
|
name: "feeAmount",
|
|
582
|
-
type: "
|
|
680
|
+
type: "uint256",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
indexed: true,
|
|
684
|
+
internalType: "uint256",
|
|
685
|
+
name: "nextTxId",
|
|
686
|
+
type: "uint256",
|
|
583
687
|
},
|
|
584
688
|
],
|
|
585
|
-
name: "
|
|
689
|
+
name: "UnwrappedFinalized",
|
|
586
690
|
type: "event",
|
|
587
691
|
},
|
|
588
692
|
{
|
|
589
693
|
anonymous: false,
|
|
590
694
|
inputs: [
|
|
695
|
+
{
|
|
696
|
+
indexed: false,
|
|
697
|
+
internalType: "bool",
|
|
698
|
+
name: "returnVal",
|
|
699
|
+
type: "bool",
|
|
700
|
+
},
|
|
591
701
|
{
|
|
592
702
|
indexed: true,
|
|
593
|
-
internalType: "
|
|
594
|
-
name: "
|
|
595
|
-
type: "
|
|
703
|
+
internalType: "uint256",
|
|
704
|
+
name: "requestId",
|
|
705
|
+
type: "uint256",
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
indexed: true,
|
|
709
|
+
internalType: "uint256",
|
|
710
|
+
name: "txId",
|
|
711
|
+
type: "uint256",
|
|
596
712
|
},
|
|
597
713
|
{
|
|
598
714
|
indexed: true,
|
|
@@ -600,20 +716,26 @@ export const encryptedABI = [
|
|
|
600
716
|
name: "to",
|
|
601
717
|
type: "address",
|
|
602
718
|
},
|
|
719
|
+
{
|
|
720
|
+
indexed: false,
|
|
721
|
+
internalType: "address",
|
|
722
|
+
name: "refund",
|
|
723
|
+
type: "address",
|
|
724
|
+
},
|
|
603
725
|
{
|
|
604
726
|
indexed: false,
|
|
605
727
|
internalType: "euint64",
|
|
606
|
-
name: "
|
|
728
|
+
name: "requestedAmount",
|
|
607
729
|
type: "bytes32",
|
|
608
730
|
},
|
|
609
731
|
{
|
|
610
732
|
indexed: false,
|
|
611
|
-
internalType: "
|
|
612
|
-
name: "
|
|
613
|
-
type: "
|
|
733
|
+
internalType: "euint64",
|
|
734
|
+
name: "burnAmount",
|
|
735
|
+
type: "bytes32",
|
|
614
736
|
},
|
|
615
737
|
],
|
|
616
|
-
name: "
|
|
738
|
+
name: "UnwrappedStarted",
|
|
617
739
|
type: "event",
|
|
618
740
|
},
|
|
619
741
|
{
|
|
@@ -630,17 +752,41 @@ export const encryptedABI = [
|
|
|
630
752
|
type: "event",
|
|
631
753
|
},
|
|
632
754
|
{
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
outputs: [
|
|
755
|
+
anonymous: false,
|
|
756
|
+
inputs: [
|
|
636
757
|
{
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
758
|
+
indexed: false,
|
|
759
|
+
internalType: "uint64",
|
|
760
|
+
name: "mintAmount",
|
|
761
|
+
type: "uint64",
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
indexed: false,
|
|
765
|
+
internalType: "uint256",
|
|
766
|
+
name: "amountIn",
|
|
767
|
+
type: "uint256",
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
indexed: false,
|
|
771
|
+
internalType: "uint256",
|
|
772
|
+
name: "feeAmount",
|
|
773
|
+
type: "uint256",
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
indexed: true,
|
|
777
|
+
internalType: "address",
|
|
778
|
+
name: "to_",
|
|
779
|
+
type: "address",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
indexed: true,
|
|
783
|
+
internalType: "uint256",
|
|
784
|
+
name: "mintTxId",
|
|
785
|
+
type: "uint256",
|
|
640
786
|
},
|
|
641
787
|
],
|
|
642
|
-
|
|
643
|
-
type: "
|
|
788
|
+
name: "Wrapped",
|
|
789
|
+
type: "event",
|
|
644
790
|
},
|
|
645
791
|
{
|
|
646
792
|
inputs: [],
|
|
@@ -657,15 +803,9 @@ export const encryptedABI = [
|
|
|
657
803
|
},
|
|
658
804
|
{
|
|
659
805
|
inputs: [],
|
|
660
|
-
name: "
|
|
661
|
-
outputs: [
|
|
662
|
-
|
|
663
|
-
internalType: "bytes32",
|
|
664
|
-
name: "",
|
|
665
|
-
type: "bytes32",
|
|
666
|
-
},
|
|
667
|
-
],
|
|
668
|
-
stateMutability: "view",
|
|
806
|
+
name: "acceptOwnership",
|
|
807
|
+
outputs: [],
|
|
808
|
+
stateMutability: "nonpayable",
|
|
669
809
|
type: "function",
|
|
670
810
|
},
|
|
671
811
|
{
|
|
@@ -683,18 +823,13 @@ export const encryptedABI = [
|
|
|
683
823
|
},
|
|
684
824
|
{
|
|
685
825
|
inputs: [
|
|
686
|
-
{
|
|
687
|
-
internalType: "euint64",
|
|
688
|
-
name: "amount",
|
|
689
|
-
type: "bytes32",
|
|
690
|
-
},
|
|
691
826
|
{
|
|
692
827
|
internalType: "address",
|
|
693
|
-
name: "
|
|
828
|
+
name: "account",
|
|
694
829
|
type: "address",
|
|
695
830
|
},
|
|
696
831
|
],
|
|
697
|
-
name: "
|
|
832
|
+
name: "confidentialBalanceOf",
|
|
698
833
|
outputs: [
|
|
699
834
|
{
|
|
700
835
|
internalType: "euint64",
|
|
@@ -702,23 +837,17 @@ export const encryptedABI = [
|
|
|
702
837
|
type: "bytes32",
|
|
703
838
|
},
|
|
704
839
|
],
|
|
705
|
-
stateMutability: "
|
|
840
|
+
stateMutability: "view",
|
|
706
841
|
type: "function",
|
|
707
842
|
},
|
|
708
843
|
{
|
|
709
|
-
inputs: [
|
|
710
|
-
|
|
711
|
-
internalType: "address",
|
|
712
|
-
name: "account",
|
|
713
|
-
type: "address",
|
|
714
|
-
},
|
|
715
|
-
],
|
|
716
|
-
name: "confidentialBalanceOf",
|
|
844
|
+
inputs: [],
|
|
845
|
+
name: "confidentialProtocolId",
|
|
717
846
|
outputs: [
|
|
718
847
|
{
|
|
719
|
-
internalType: "
|
|
848
|
+
internalType: "uint256",
|
|
720
849
|
name: "",
|
|
721
|
-
type: "
|
|
850
|
+
type: "uint256",
|
|
722
851
|
},
|
|
723
852
|
],
|
|
724
853
|
stateMutability: "view",
|
|
@@ -763,7 +892,7 @@ export const encryptedABI = [
|
|
|
763
892
|
type: "bytes32",
|
|
764
893
|
},
|
|
765
894
|
],
|
|
766
|
-
stateMutability: "
|
|
895
|
+
stateMutability: "nonpayable",
|
|
767
896
|
type: "function",
|
|
768
897
|
},
|
|
769
898
|
{
|
|
@@ -787,7 +916,7 @@ export const encryptedABI = [
|
|
|
787
916
|
type: "bytes32",
|
|
788
917
|
},
|
|
789
918
|
],
|
|
790
|
-
stateMutability: "
|
|
919
|
+
stateMutability: "nonpayable",
|
|
791
920
|
type: "function",
|
|
792
921
|
},
|
|
793
922
|
{
|
|
@@ -816,7 +945,7 @@ export const encryptedABI = [
|
|
|
816
945
|
type: "bytes32",
|
|
817
946
|
},
|
|
818
947
|
],
|
|
819
|
-
stateMutability: "
|
|
948
|
+
stateMutability: "nonpayable",
|
|
820
949
|
type: "function",
|
|
821
950
|
},
|
|
822
951
|
{
|
|
@@ -850,7 +979,7 @@ export const encryptedABI = [
|
|
|
850
979
|
type: "bytes32",
|
|
851
980
|
},
|
|
852
981
|
],
|
|
853
|
-
stateMutability: "
|
|
982
|
+
stateMutability: "nonpayable",
|
|
854
983
|
type: "function",
|
|
855
984
|
},
|
|
856
985
|
{
|
|
@@ -884,7 +1013,7 @@ export const encryptedABI = [
|
|
|
884
1013
|
type: "bytes32",
|
|
885
1014
|
},
|
|
886
1015
|
],
|
|
887
|
-
stateMutability: "
|
|
1016
|
+
stateMutability: "nonpayable",
|
|
888
1017
|
type: "function",
|
|
889
1018
|
},
|
|
890
1019
|
{
|
|
@@ -913,7 +1042,7 @@ export const encryptedABI = [
|
|
|
913
1042
|
type: "bytes32",
|
|
914
1043
|
},
|
|
915
1044
|
],
|
|
916
|
-
stateMutability: "
|
|
1045
|
+
stateMutability: "nonpayable",
|
|
917
1046
|
type: "function",
|
|
918
1047
|
},
|
|
919
1048
|
{
|
|
@@ -952,7 +1081,7 @@ export const encryptedABI = [
|
|
|
952
1081
|
type: "bytes32",
|
|
953
1082
|
},
|
|
954
1083
|
],
|
|
955
|
-
stateMutability: "
|
|
1084
|
+
stateMutability: "nonpayable",
|
|
956
1085
|
type: "function",
|
|
957
1086
|
},
|
|
958
1087
|
{
|
|
@@ -986,7 +1115,20 @@ export const encryptedABI = [
|
|
|
986
1115
|
type: "bytes32",
|
|
987
1116
|
},
|
|
988
1117
|
],
|
|
989
|
-
stateMutability: "
|
|
1118
|
+
stateMutability: "nonpayable",
|
|
1119
|
+
type: "function",
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
inputs: [],
|
|
1123
|
+
name: "contractURI",
|
|
1124
|
+
outputs: [
|
|
1125
|
+
{
|
|
1126
|
+
internalType: "string",
|
|
1127
|
+
name: "",
|
|
1128
|
+
type: "string",
|
|
1129
|
+
},
|
|
1130
|
+
],
|
|
1131
|
+
stateMutability: "view",
|
|
990
1132
|
type: "function",
|
|
991
1133
|
},
|
|
992
1134
|
{
|
|
@@ -1002,6 +1144,19 @@ export const encryptedABI = [
|
|
|
1002
1144
|
stateMutability: "view",
|
|
1003
1145
|
type: "function",
|
|
1004
1146
|
},
|
|
1147
|
+
{
|
|
1148
|
+
inputs: [],
|
|
1149
|
+
name: "deploymentCoordinator",
|
|
1150
|
+
outputs: [
|
|
1151
|
+
{
|
|
1152
|
+
internalType: "contract IDeploymentCoordinator",
|
|
1153
|
+
name: "",
|
|
1154
|
+
type: "address",
|
|
1155
|
+
},
|
|
1156
|
+
],
|
|
1157
|
+
stateMutability: "view",
|
|
1158
|
+
type: "function",
|
|
1159
|
+
},
|
|
1005
1160
|
{
|
|
1006
1161
|
inputs: [
|
|
1007
1162
|
{
|
|
@@ -1009,6 +1164,16 @@ export const encryptedABI = [
|
|
|
1009
1164
|
name: "encryptedAmount",
|
|
1010
1165
|
type: "bytes32",
|
|
1011
1166
|
},
|
|
1167
|
+
{
|
|
1168
|
+
internalType: "uint64",
|
|
1169
|
+
name: "cleartextAmount",
|
|
1170
|
+
type: "uint64",
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
internalType: "bytes",
|
|
1174
|
+
name: "decryptionProof",
|
|
1175
|
+
type: "bytes",
|
|
1176
|
+
},
|
|
1012
1177
|
],
|
|
1013
1178
|
name: "discloseEncryptedAmount",
|
|
1014
1179
|
outputs: [],
|
|
@@ -1018,14 +1183,14 @@ export const encryptedABI = [
|
|
|
1018
1183
|
{
|
|
1019
1184
|
inputs: [
|
|
1020
1185
|
{
|
|
1021
|
-
internalType: "
|
|
1022
|
-
name: "
|
|
1023
|
-
type: "
|
|
1186
|
+
internalType: "euint64",
|
|
1187
|
+
name: "burntAmount",
|
|
1188
|
+
type: "bytes32",
|
|
1024
1189
|
},
|
|
1025
1190
|
{
|
|
1026
|
-
internalType: "
|
|
1027
|
-
name: "
|
|
1028
|
-
type: "
|
|
1191
|
+
internalType: "uint64",
|
|
1192
|
+
name: "burntAmountCleartext",
|
|
1193
|
+
type: "uint64",
|
|
1029
1194
|
},
|
|
1030
1195
|
{
|
|
1031
1196
|
internalType: "bytes",
|
|
@@ -1033,7 +1198,7 @@ export const encryptedABI = [
|
|
|
1033
1198
|
type: "bytes",
|
|
1034
1199
|
},
|
|
1035
1200
|
],
|
|
1036
|
-
name: "
|
|
1201
|
+
name: "finalizeUnwrap",
|
|
1037
1202
|
outputs: [],
|
|
1038
1203
|
stateMutability: "nonpayable",
|
|
1039
1204
|
type: "function",
|
|
@@ -1041,17 +1206,54 @@ export const encryptedABI = [
|
|
|
1041
1206
|
{
|
|
1042
1207
|
inputs: [
|
|
1043
1208
|
{
|
|
1044
|
-
internalType: "
|
|
1045
|
-
name: "
|
|
1209
|
+
internalType: "euint64",
|
|
1210
|
+
name: "burntAmount",
|
|
1046
1211
|
type: "bytes32",
|
|
1047
1212
|
},
|
|
1048
1213
|
],
|
|
1049
|
-
name: "
|
|
1214
|
+
name: "getReceiverEntry",
|
|
1050
1215
|
outputs: [
|
|
1051
1216
|
{
|
|
1052
|
-
|
|
1217
|
+
components: [
|
|
1218
|
+
{
|
|
1219
|
+
internalType: "address",
|
|
1220
|
+
name: "to",
|
|
1221
|
+
type: "address",
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
internalType: "address",
|
|
1225
|
+
name: "refund",
|
|
1226
|
+
type: "address",
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
internalType: "bytes",
|
|
1230
|
+
name: "callbackData",
|
|
1231
|
+
type: "bytes",
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
internalType: "euint64",
|
|
1235
|
+
name: "expectedBurnAmount",
|
|
1236
|
+
type: "bytes32",
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
internalType: "euint64",
|
|
1240
|
+
name: "actualBurnAmount",
|
|
1241
|
+
type: "bytes32",
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
internalType: "uint64",
|
|
1245
|
+
name: "committedFeeBasisPoints",
|
|
1246
|
+
type: "uint64",
|
|
1247
|
+
},
|
|
1248
|
+
{
|
|
1249
|
+
internalType: "address",
|
|
1250
|
+
name: "from",
|
|
1251
|
+
type: "address",
|
|
1252
|
+
},
|
|
1253
|
+
],
|
|
1254
|
+
internalType: "struct RegulatedERC7984ERC20WrapperWithFeesUpgradeable.ReceiverEntry",
|
|
1053
1255
|
name: "",
|
|
1054
|
-
type: "
|
|
1256
|
+
type: "tuple",
|
|
1055
1257
|
},
|
|
1056
1258
|
],
|
|
1057
1259
|
stateMutability: "view",
|
|
@@ -1060,17 +1262,37 @@ export const encryptedABI = [
|
|
|
1060
1262
|
{
|
|
1061
1263
|
inputs: [
|
|
1062
1264
|
{
|
|
1063
|
-
internalType: "
|
|
1064
|
-
name: "
|
|
1065
|
-
type: "
|
|
1265
|
+
internalType: "string",
|
|
1266
|
+
name: "name_",
|
|
1267
|
+
type: "string",
|
|
1066
1268
|
},
|
|
1067
1269
|
{
|
|
1068
|
-
internalType: "
|
|
1069
|
-
name: "
|
|
1270
|
+
internalType: "string",
|
|
1271
|
+
name: "symbol_",
|
|
1272
|
+
type: "string",
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
internalType: "string",
|
|
1276
|
+
name: "contractURI_",
|
|
1277
|
+
type: "string",
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
internalType: "contract IERC20",
|
|
1281
|
+
name: "underlying_",
|
|
1282
|
+
type: "address",
|
|
1283
|
+
},
|
|
1284
|
+
{
|
|
1285
|
+
internalType: "address",
|
|
1286
|
+
name: "owner_",
|
|
1287
|
+
type: "address",
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
internalType: "contract IDeploymentCoordinator",
|
|
1291
|
+
name: "deploymentCoordinator_",
|
|
1070
1292
|
type: "address",
|
|
1071
1293
|
},
|
|
1072
1294
|
],
|
|
1073
|
-
name: "
|
|
1295
|
+
name: "initialize",
|
|
1074
1296
|
outputs: [],
|
|
1075
1297
|
stateMutability: "nonpayable",
|
|
1076
1298
|
type: "function",
|
|
@@ -1078,17 +1300,17 @@ export const encryptedABI = [
|
|
|
1078
1300
|
{
|
|
1079
1301
|
inputs: [
|
|
1080
1302
|
{
|
|
1081
|
-
internalType: "
|
|
1082
|
-
name: "
|
|
1083
|
-
type: "
|
|
1303
|
+
internalType: "address",
|
|
1304
|
+
name: "holder",
|
|
1305
|
+
type: "address",
|
|
1084
1306
|
},
|
|
1085
1307
|
{
|
|
1086
1308
|
internalType: "address",
|
|
1087
|
-
name: "
|
|
1309
|
+
name: "operator",
|
|
1088
1310
|
type: "address",
|
|
1089
1311
|
},
|
|
1090
1312
|
],
|
|
1091
|
-
name: "
|
|
1313
|
+
name: "isFinalizeUnwrapOperator",
|
|
1092
1314
|
outputs: [
|
|
1093
1315
|
{
|
|
1094
1316
|
internalType: "bool",
|
|
@@ -1101,79 +1323,62 @@ export const encryptedABI = [
|
|
|
1101
1323
|
},
|
|
1102
1324
|
{
|
|
1103
1325
|
inputs: [
|
|
1104
|
-
{
|
|
1105
|
-
internalType: "string",
|
|
1106
|
-
name: "name_",
|
|
1107
|
-
type: "string",
|
|
1108
|
-
},
|
|
1109
|
-
{
|
|
1110
|
-
internalType: "string",
|
|
1111
|
-
name: "symbol_",
|
|
1112
|
-
type: "string",
|
|
1113
|
-
},
|
|
1114
|
-
{
|
|
1115
|
-
internalType: "uint8",
|
|
1116
|
-
name: "decimals_",
|
|
1117
|
-
type: "uint8",
|
|
1118
|
-
},
|
|
1119
1326
|
{
|
|
1120
1327
|
internalType: "address",
|
|
1121
|
-
name: "
|
|
1328
|
+
name: "holder",
|
|
1122
1329
|
type: "address",
|
|
1123
1330
|
},
|
|
1124
|
-
{
|
|
1125
|
-
internalType: "uint256",
|
|
1126
|
-
name: "rate_",
|
|
1127
|
-
type: "uint256",
|
|
1128
|
-
},
|
|
1129
1331
|
{
|
|
1130
1332
|
internalType: "address",
|
|
1131
|
-
name: "
|
|
1333
|
+
name: "spender",
|
|
1132
1334
|
type: "address",
|
|
1133
1335
|
},
|
|
1336
|
+
],
|
|
1337
|
+
name: "isOperator",
|
|
1338
|
+
outputs: [
|
|
1134
1339
|
{
|
|
1135
|
-
internalType: "
|
|
1136
|
-
name: "
|
|
1137
|
-
type: "
|
|
1340
|
+
internalType: "bool",
|
|
1341
|
+
name: "",
|
|
1342
|
+
type: "bool",
|
|
1138
1343
|
},
|
|
1139
1344
|
],
|
|
1140
|
-
|
|
1141
|
-
outputs: [],
|
|
1142
|
-
stateMutability: "nonpayable",
|
|
1345
|
+
stateMutability: "view",
|
|
1143
1346
|
type: "function",
|
|
1144
1347
|
},
|
|
1145
1348
|
{
|
|
1146
1349
|
inputs: [],
|
|
1147
|
-
name: "
|
|
1350
|
+
name: "maxTotalSupply",
|
|
1148
1351
|
outputs: [
|
|
1149
1352
|
{
|
|
1150
|
-
internalType: "
|
|
1353
|
+
internalType: "uint256",
|
|
1151
1354
|
name: "",
|
|
1152
|
-
type: "
|
|
1355
|
+
type: "uint256",
|
|
1153
1356
|
},
|
|
1154
1357
|
],
|
|
1155
1358
|
stateMutability: "view",
|
|
1156
1359
|
type: "function",
|
|
1157
1360
|
},
|
|
1158
1361
|
{
|
|
1159
|
-
inputs: [
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
name: "holder",
|
|
1163
|
-
type: "address",
|
|
1164
|
-
},
|
|
1362
|
+
inputs: [],
|
|
1363
|
+
name: "name",
|
|
1364
|
+
outputs: [
|
|
1165
1365
|
{
|
|
1166
|
-
internalType: "
|
|
1167
|
-
name: "
|
|
1168
|
-
type: "
|
|
1366
|
+
internalType: "string",
|
|
1367
|
+
name: "",
|
|
1368
|
+
type: "string",
|
|
1169
1369
|
},
|
|
1170
1370
|
],
|
|
1171
|
-
|
|
1371
|
+
stateMutability: "view",
|
|
1372
|
+
type: "function",
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
inputs: [],
|
|
1376
|
+
name: "nextTxId",
|
|
1172
1377
|
outputs: [
|
|
1173
1378
|
{
|
|
1174
|
-
internalType: "
|
|
1379
|
+
internalType: "uint256",
|
|
1175
1380
|
name: "",
|
|
1176
|
-
type: "
|
|
1381
|
+
type: "uint256",
|
|
1177
1382
|
},
|
|
1178
1383
|
],
|
|
1179
1384
|
stateMutability: "view",
|
|
@@ -1183,46 +1388,44 @@ export const encryptedABI = [
|
|
|
1183
1388
|
inputs: [
|
|
1184
1389
|
{
|
|
1185
1390
|
internalType: "address",
|
|
1186
|
-
name: "
|
|
1391
|
+
name: "",
|
|
1187
1392
|
type: "address",
|
|
1188
1393
|
},
|
|
1189
1394
|
{
|
|
1190
|
-
internalType: "
|
|
1395
|
+
internalType: "address",
|
|
1396
|
+
name: "from",
|
|
1397
|
+
type: "address",
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
internalType: "uint256",
|
|
1191
1401
|
name: "amount",
|
|
1192
|
-
type: "
|
|
1402
|
+
type: "uint256",
|
|
1193
1403
|
},
|
|
1194
1404
|
{
|
|
1195
|
-
internalType: "
|
|
1196
|
-
name: "
|
|
1197
|
-
type: "
|
|
1405
|
+
internalType: "bytes",
|
|
1406
|
+
name: "data",
|
|
1407
|
+
type: "bytes",
|
|
1198
1408
|
},
|
|
1199
1409
|
],
|
|
1200
|
-
name: "
|
|
1201
|
-
outputs: [],
|
|
1202
|
-
stateMutability: "nonpayable",
|
|
1203
|
-
type: "function",
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
inputs: [],
|
|
1207
|
-
name: "name",
|
|
1410
|
+
name: "onTransferReceived",
|
|
1208
1411
|
outputs: [
|
|
1209
1412
|
{
|
|
1210
|
-
internalType: "
|
|
1413
|
+
internalType: "bytes4",
|
|
1211
1414
|
name: "",
|
|
1212
|
-
type: "
|
|
1415
|
+
type: "bytes4",
|
|
1213
1416
|
},
|
|
1214
1417
|
],
|
|
1215
|
-
stateMutability: "
|
|
1418
|
+
stateMutability: "nonpayable",
|
|
1216
1419
|
type: "function",
|
|
1217
1420
|
},
|
|
1218
1421
|
{
|
|
1219
1422
|
inputs: [],
|
|
1220
|
-
name: "
|
|
1423
|
+
name: "owner",
|
|
1221
1424
|
outputs: [
|
|
1222
1425
|
{
|
|
1223
|
-
internalType: "
|
|
1426
|
+
internalType: "address",
|
|
1224
1427
|
name: "",
|
|
1225
|
-
type: "
|
|
1428
|
+
type: "address",
|
|
1226
1429
|
},
|
|
1227
1430
|
],
|
|
1228
1431
|
stateMutability: "view",
|
|
@@ -1230,15 +1433,15 @@ export const encryptedABI = [
|
|
|
1230
1433
|
},
|
|
1231
1434
|
{
|
|
1232
1435
|
inputs: [],
|
|
1233
|
-
name: "
|
|
1436
|
+
name: "pendingOwner",
|
|
1234
1437
|
outputs: [
|
|
1235
1438
|
{
|
|
1236
|
-
internalType: "
|
|
1439
|
+
internalType: "address",
|
|
1237
1440
|
name: "",
|
|
1238
|
-
type: "
|
|
1441
|
+
type: "address",
|
|
1239
1442
|
},
|
|
1240
1443
|
],
|
|
1241
|
-
stateMutability: "
|
|
1444
|
+
stateMutability: "view",
|
|
1242
1445
|
type: "function",
|
|
1243
1446
|
},
|
|
1244
1447
|
{
|
|
@@ -1281,19 +1484,8 @@ export const encryptedABI = [
|
|
|
1281
1484
|
type: "function",
|
|
1282
1485
|
},
|
|
1283
1486
|
{
|
|
1284
|
-
inputs: [
|
|
1285
|
-
|
|
1286
|
-
internalType: "bytes32",
|
|
1287
|
-
name: "role",
|
|
1288
|
-
type: "bytes32",
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
internalType: "address",
|
|
1292
|
-
name: "callerConfirmation",
|
|
1293
|
-
type: "address",
|
|
1294
|
-
},
|
|
1295
|
-
],
|
|
1296
|
-
name: "renounceRole",
|
|
1487
|
+
inputs: [],
|
|
1488
|
+
name: "renounceOwnership",
|
|
1297
1489
|
outputs: [],
|
|
1298
1490
|
stateMutability: "nonpayable",
|
|
1299
1491
|
type: "function",
|
|
@@ -1301,43 +1493,43 @@ export const encryptedABI = [
|
|
|
1301
1493
|
{
|
|
1302
1494
|
inputs: [
|
|
1303
1495
|
{
|
|
1304
|
-
internalType: "
|
|
1305
|
-
name: "
|
|
1496
|
+
internalType: "euint64",
|
|
1497
|
+
name: "encryptedAmount",
|
|
1306
1498
|
type: "bytes32",
|
|
1307
1499
|
},
|
|
1308
|
-
{
|
|
1309
|
-
internalType: "address",
|
|
1310
|
-
name: "account",
|
|
1311
|
-
type: "address",
|
|
1312
|
-
},
|
|
1313
1500
|
],
|
|
1314
|
-
name: "
|
|
1501
|
+
name: "requestDiscloseEncryptedAmount",
|
|
1315
1502
|
outputs: [],
|
|
1316
1503
|
stateMutability: "nonpayable",
|
|
1317
1504
|
type: "function",
|
|
1318
1505
|
},
|
|
1319
1506
|
{
|
|
1320
|
-
inputs: [
|
|
1507
|
+
inputs: [],
|
|
1508
|
+
name: "requestId",
|
|
1509
|
+
outputs: [
|
|
1321
1510
|
{
|
|
1322
|
-
internalType: "
|
|
1323
|
-
name: "
|
|
1324
|
-
type: "
|
|
1511
|
+
internalType: "uint256",
|
|
1512
|
+
name: "",
|
|
1513
|
+
type: "uint256",
|
|
1325
1514
|
},
|
|
1326
1515
|
],
|
|
1327
|
-
|
|
1328
|
-
outputs: [],
|
|
1329
|
-
stateMutability: "nonpayable",
|
|
1516
|
+
stateMutability: "view",
|
|
1330
1517
|
type: "function",
|
|
1331
1518
|
},
|
|
1332
1519
|
{
|
|
1333
1520
|
inputs: [
|
|
1334
1521
|
{
|
|
1335
|
-
internalType: "
|
|
1336
|
-
name: "
|
|
1337
|
-
type: "
|
|
1522
|
+
internalType: "address",
|
|
1523
|
+
name: "operator",
|
|
1524
|
+
type: "address",
|
|
1525
|
+
},
|
|
1526
|
+
{
|
|
1527
|
+
internalType: "uint48",
|
|
1528
|
+
name: "until",
|
|
1529
|
+
type: "uint48",
|
|
1338
1530
|
},
|
|
1339
1531
|
],
|
|
1340
|
-
name: "
|
|
1532
|
+
name: "setFinalizeUnwrapOperator",
|
|
1341
1533
|
outputs: [],
|
|
1342
1534
|
stateMutability: "nonpayable",
|
|
1343
1535
|
type: "function",
|
|
@@ -1360,6 +1552,19 @@ export const encryptedABI = [
|
|
|
1360
1552
|
stateMutability: "nonpayable",
|
|
1361
1553
|
type: "function",
|
|
1362
1554
|
},
|
|
1555
|
+
{
|
|
1556
|
+
inputs: [
|
|
1557
|
+
{
|
|
1558
|
+
internalType: "address",
|
|
1559
|
+
name: "newRegulator",
|
|
1560
|
+
type: "address",
|
|
1561
|
+
},
|
|
1562
|
+
],
|
|
1563
|
+
name: "setTokenRegulator",
|
|
1564
|
+
outputs: [],
|
|
1565
|
+
stateMutability: "nonpayable",
|
|
1566
|
+
type: "function",
|
|
1567
|
+
},
|
|
1363
1568
|
{
|
|
1364
1569
|
inputs: [
|
|
1365
1570
|
{
|
|
@@ -1394,17 +1599,43 @@ export const encryptedABI = [
|
|
|
1394
1599
|
},
|
|
1395
1600
|
{
|
|
1396
1601
|
inputs: [],
|
|
1397
|
-
name: "
|
|
1602
|
+
name: "tokenRegulator",
|
|
1398
1603
|
outputs: [
|
|
1399
1604
|
{
|
|
1400
|
-
internalType: "
|
|
1605
|
+
internalType: "address",
|
|
1401
1606
|
name: "",
|
|
1402
|
-
type: "
|
|
1607
|
+
type: "address",
|
|
1403
1608
|
},
|
|
1404
1609
|
],
|
|
1405
1610
|
stateMutability: "view",
|
|
1406
1611
|
type: "function",
|
|
1407
1612
|
},
|
|
1613
|
+
{
|
|
1614
|
+
inputs: [],
|
|
1615
|
+
name: "totalSupply",
|
|
1616
|
+
outputs: [
|
|
1617
|
+
{
|
|
1618
|
+
internalType: "uint256",
|
|
1619
|
+
name: "",
|
|
1620
|
+
type: "uint256",
|
|
1621
|
+
},
|
|
1622
|
+
],
|
|
1623
|
+
stateMutability: "view",
|
|
1624
|
+
type: "function",
|
|
1625
|
+
},
|
|
1626
|
+
{
|
|
1627
|
+
inputs: [
|
|
1628
|
+
{
|
|
1629
|
+
internalType: "address",
|
|
1630
|
+
name: "newOwner",
|
|
1631
|
+
type: "address",
|
|
1632
|
+
},
|
|
1633
|
+
],
|
|
1634
|
+
name: "transferOwnership",
|
|
1635
|
+
outputs: [],
|
|
1636
|
+
stateMutability: "nonpayable",
|
|
1637
|
+
type: "function",
|
|
1638
|
+
},
|
|
1408
1639
|
{
|
|
1409
1640
|
inputs: [],
|
|
1410
1641
|
name: "underlying",
|
|
@@ -1418,6 +1649,189 @@ export const encryptedABI = [
|
|
|
1418
1649
|
stateMutability: "view",
|
|
1419
1650
|
type: "function",
|
|
1420
1651
|
},
|
|
1652
|
+
{
|
|
1653
|
+
inputs: [
|
|
1654
|
+
{
|
|
1655
|
+
internalType: "address",
|
|
1656
|
+
name: "from",
|
|
1657
|
+
type: "address",
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
internalType: "address",
|
|
1661
|
+
name: "to",
|
|
1662
|
+
type: "address",
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
internalType: "externalEuint64",
|
|
1666
|
+
name: "encryptedAmount",
|
|
1667
|
+
type: "bytes32",
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
internalType: "bytes",
|
|
1671
|
+
name: "inputProof",
|
|
1672
|
+
type: "bytes",
|
|
1673
|
+
},
|
|
1674
|
+
],
|
|
1675
|
+
name: "unwrap",
|
|
1676
|
+
outputs: [],
|
|
1677
|
+
stateMutability: "nonpayable",
|
|
1678
|
+
type: "function",
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
inputs: [
|
|
1682
|
+
{
|
|
1683
|
+
internalType: "address",
|
|
1684
|
+
name: "from",
|
|
1685
|
+
type: "address",
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
internalType: "address",
|
|
1689
|
+
name: "to",
|
|
1690
|
+
type: "address",
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
internalType: "euint64",
|
|
1694
|
+
name: "amount",
|
|
1695
|
+
type: "bytes32",
|
|
1696
|
+
},
|
|
1697
|
+
],
|
|
1698
|
+
name: "unwrap",
|
|
1699
|
+
outputs: [],
|
|
1700
|
+
stateMutability: "nonpayable",
|
|
1701
|
+
type: "function",
|
|
1702
|
+
},
|
|
1703
|
+
{
|
|
1704
|
+
inputs: [
|
|
1705
|
+
{
|
|
1706
|
+
internalType: "address",
|
|
1707
|
+
name: "from",
|
|
1708
|
+
type: "address",
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
internalType: "address",
|
|
1712
|
+
name: "to",
|
|
1713
|
+
type: "address",
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
internalType: "euint64",
|
|
1717
|
+
name: "amount",
|
|
1718
|
+
type: "bytes32",
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
internalType: "address",
|
|
1722
|
+
name: "refund",
|
|
1723
|
+
type: "address",
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
internalType: "bytes",
|
|
1727
|
+
name: "unwrapCallbackData",
|
|
1728
|
+
type: "bytes",
|
|
1729
|
+
},
|
|
1730
|
+
],
|
|
1731
|
+
name: "unwrapAndCall",
|
|
1732
|
+
outputs: [],
|
|
1733
|
+
stateMutability: "nonpayable",
|
|
1734
|
+
type: "function",
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
inputs: [
|
|
1738
|
+
{
|
|
1739
|
+
internalType: "address",
|
|
1740
|
+
name: "from",
|
|
1741
|
+
type: "address",
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
internalType: "address",
|
|
1745
|
+
name: "to",
|
|
1746
|
+
type: "address",
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
internalType: "externalEuint64",
|
|
1750
|
+
name: "encryptedAmount",
|
|
1751
|
+
type: "bytes32",
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
internalType: "bytes",
|
|
1755
|
+
name: "inputProof",
|
|
1756
|
+
type: "bytes",
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
internalType: "address",
|
|
1760
|
+
name: "refund",
|
|
1761
|
+
type: "address",
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
internalType: "bytes",
|
|
1765
|
+
name: "unwrapCallbackData",
|
|
1766
|
+
type: "bytes",
|
|
1767
|
+
},
|
|
1768
|
+
],
|
|
1769
|
+
name: "unwrapAndCall",
|
|
1770
|
+
outputs: [],
|
|
1771
|
+
stateMutability: "nonpayable",
|
|
1772
|
+
type: "function",
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
inputs: [
|
|
1776
|
+
{
|
|
1777
|
+
internalType: "address",
|
|
1778
|
+
name: "from",
|
|
1779
|
+
type: "address",
|
|
1780
|
+
},
|
|
1781
|
+
{
|
|
1782
|
+
internalType: "address",
|
|
1783
|
+
name: "to",
|
|
1784
|
+
type: "address",
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
internalType: "euint64",
|
|
1788
|
+
name: "amount",
|
|
1789
|
+
type: "bytes32",
|
|
1790
|
+
},
|
|
1791
|
+
{
|
|
1792
|
+
internalType: "address",
|
|
1793
|
+
name: "refund",
|
|
1794
|
+
type: "address",
|
|
1795
|
+
},
|
|
1796
|
+
],
|
|
1797
|
+
name: "unwrapWithRefund",
|
|
1798
|
+
outputs: [],
|
|
1799
|
+
stateMutability: "nonpayable",
|
|
1800
|
+
type: "function",
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
inputs: [
|
|
1804
|
+
{
|
|
1805
|
+
internalType: "address",
|
|
1806
|
+
name: "from",
|
|
1807
|
+
type: "address",
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
internalType: "address",
|
|
1811
|
+
name: "to",
|
|
1812
|
+
type: "address",
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
internalType: "externalEuint64",
|
|
1816
|
+
name: "encryptedAmount",
|
|
1817
|
+
type: "bytes32",
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
internalType: "bytes",
|
|
1821
|
+
name: "inputProof",
|
|
1822
|
+
type: "bytes",
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
internalType: "address",
|
|
1826
|
+
name: "refund",
|
|
1827
|
+
type: "address",
|
|
1828
|
+
},
|
|
1829
|
+
],
|
|
1830
|
+
name: "unwrapWithRefund",
|
|
1831
|
+
outputs: [],
|
|
1832
|
+
stateMutability: "nonpayable",
|
|
1833
|
+
type: "function",
|
|
1834
|
+
},
|
|
1421
1835
|
{
|
|
1422
1836
|
inputs: [
|
|
1423
1837
|
{
|
|
@@ -1436,4 +1850,40 @@ export const encryptedABI = [
|
|
|
1436
1850
|
stateMutability: "payable",
|
|
1437
1851
|
type: "function",
|
|
1438
1852
|
},
|
|
1853
|
+
{
|
|
1854
|
+
inputs: [
|
|
1855
|
+
{
|
|
1856
|
+
internalType: "address",
|
|
1857
|
+
name: "to",
|
|
1858
|
+
type: "address",
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
internalType: "uint256",
|
|
1862
|
+
name: "amount",
|
|
1863
|
+
type: "uint256",
|
|
1864
|
+
},
|
|
1865
|
+
],
|
|
1866
|
+
name: "wrap",
|
|
1867
|
+
outputs: [],
|
|
1868
|
+
stateMutability: "nonpayable",
|
|
1869
|
+
type: "function",
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
inputs: [
|
|
1873
|
+
{
|
|
1874
|
+
internalType: "address",
|
|
1875
|
+
name: "to",
|
|
1876
|
+
type: "address",
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
internalType: "uint256",
|
|
1880
|
+
name: "amount",
|
|
1881
|
+
type: "uint256",
|
|
1882
|
+
},
|
|
1883
|
+
],
|
|
1884
|
+
name: "wrapETH",
|
|
1885
|
+
outputs: [],
|
|
1886
|
+
stateMutability: "payable",
|
|
1887
|
+
type: "function",
|
|
1888
|
+
},
|
|
1439
1889
|
];
|