@pyratzlabs/react-fhevm-utils 3.4.0 → 3.4.3
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 +2 -2
- package/dist/client/hooks/useFinalizeUnwrap.js +3 -3
- package/dist/client/hooks/usePerformTransaction.d.ts +1 -1
- package/dist/client/hooks/usePerformTransaction.js +1 -1
- package/dist/types/ABI/Wrapper.abi.d.ts +237 -485
- package/dist/types/ABI/Wrapper.abi.js +315 -636
- package/package.json +2 -2
|
@@ -4,54 +4,6 @@ export const WRAPPER_ABI = [
|
|
|
4
4
|
stateMutability: "nonpayable",
|
|
5
5
|
type: "constructor",
|
|
6
6
|
},
|
|
7
|
-
{
|
|
8
|
-
inputs: [],
|
|
9
|
-
name: "AccessControlBadConfirmation",
|
|
10
|
-
type: "error",
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
inputs: [
|
|
14
|
-
{
|
|
15
|
-
internalType: "uint48",
|
|
16
|
-
name: "schedule",
|
|
17
|
-
type: "uint48",
|
|
18
|
-
},
|
|
19
|
-
],
|
|
20
|
-
name: "AccessControlEnforcedDefaultAdminDelay",
|
|
21
|
-
type: "error",
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
inputs: [],
|
|
25
|
-
name: "AccessControlEnforcedDefaultAdminRules",
|
|
26
|
-
type: "error",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
inputs: [
|
|
30
|
-
{
|
|
31
|
-
internalType: "address",
|
|
32
|
-
name: "defaultAdmin",
|
|
33
|
-
type: "address",
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
name: "AccessControlInvalidDefaultAdmin",
|
|
37
|
-
type: "error",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
inputs: [
|
|
41
|
-
{
|
|
42
|
-
internalType: "address",
|
|
43
|
-
name: "account",
|
|
44
|
-
type: "address",
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
internalType: "bytes32",
|
|
48
|
-
name: "neededRole",
|
|
49
|
-
type: "bytes32",
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
name: "AccessControlUnauthorizedAccount",
|
|
53
|
-
type: "error",
|
|
54
|
-
},
|
|
55
7
|
{
|
|
56
8
|
inputs: [
|
|
57
9
|
{
|
|
@@ -68,11 +20,6 @@ export const WRAPPER_ABI = [
|
|
|
68
20
|
name: "CannotReceiveEthForTokenWrap",
|
|
69
21
|
type: "error",
|
|
70
22
|
},
|
|
71
|
-
{
|
|
72
|
-
inputs: [],
|
|
73
|
-
name: "CannotSendToZeroAddress",
|
|
74
|
-
type: "error",
|
|
75
|
-
},
|
|
76
23
|
{
|
|
77
24
|
inputs: [
|
|
78
25
|
{
|
|
@@ -91,55 +38,24 @@ export const WRAPPER_ABI = [
|
|
|
91
38
|
},
|
|
92
39
|
{
|
|
93
40
|
inputs: [
|
|
94
|
-
{
|
|
95
|
-
internalType: "address",
|
|
96
|
-
name: "spender",
|
|
97
|
-
type: "address",
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
internalType: "uint256",
|
|
101
|
-
name: "allowance",
|
|
102
|
-
type: "uint256",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
internalType: "uint256",
|
|
106
|
-
name: "needed",
|
|
107
|
-
type: "uint256",
|
|
108
|
-
},
|
|
109
|
-
],
|
|
110
|
-
name: "ERC20InsufficientAllowance",
|
|
111
|
-
type: "error",
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
inputs: [
|
|
115
|
-
{
|
|
116
|
-
internalType: "address",
|
|
117
|
-
name: "sender",
|
|
118
|
-
type: "address",
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
internalType: "uint256",
|
|
122
|
-
name: "balance",
|
|
123
|
-
type: "uint256",
|
|
124
|
-
},
|
|
125
41
|
{
|
|
126
42
|
internalType: "uint256",
|
|
127
|
-
name: "
|
|
43
|
+
name: "requestId",
|
|
128
44
|
type: "uint256",
|
|
129
45
|
},
|
|
130
46
|
],
|
|
131
|
-
name: "
|
|
47
|
+
name: "ERC7984InvalidGatewayRequest",
|
|
132
48
|
type: "error",
|
|
133
49
|
},
|
|
134
50
|
{
|
|
135
51
|
inputs: [
|
|
136
52
|
{
|
|
137
53
|
internalType: "address",
|
|
138
|
-
name: "
|
|
54
|
+
name: "receiver",
|
|
139
55
|
type: "address",
|
|
140
56
|
},
|
|
141
57
|
],
|
|
142
|
-
name: "
|
|
58
|
+
name: "ERC7984InvalidReceiver",
|
|
143
59
|
type: "error",
|
|
144
60
|
},
|
|
145
61
|
{
|
|
@@ -150,7 +66,7 @@ export const WRAPPER_ABI = [
|
|
|
150
66
|
type: "address",
|
|
151
67
|
},
|
|
152
68
|
],
|
|
153
|
-
name: "
|
|
69
|
+
name: "ERC7984InvalidReceiver",
|
|
154
70
|
type: "error",
|
|
155
71
|
},
|
|
156
72
|
{
|
|
@@ -161,62 +77,23 @@ export const WRAPPER_ABI = [
|
|
|
161
77
|
type: "address",
|
|
162
78
|
},
|
|
163
79
|
],
|
|
164
|
-
name: "
|
|
165
|
-
type: "error",
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
inputs: [
|
|
169
|
-
{
|
|
170
|
-
internalType: "address",
|
|
171
|
-
name: "spender",
|
|
172
|
-
type: "address",
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
name: "ERC20InvalidSpender",
|
|
176
|
-
type: "error",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
inputs: [
|
|
180
|
-
{
|
|
181
|
-
internalType: "uint256",
|
|
182
|
-
name: "requestId",
|
|
183
|
-
type: "uint256",
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
name: "ERC7984InvalidGatewayRequest",
|
|
187
|
-
type: "error",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
inputs: [
|
|
191
|
-
{
|
|
192
|
-
internalType: "address",
|
|
193
|
-
name: "receiver",
|
|
194
|
-
type: "address",
|
|
195
|
-
},
|
|
196
|
-
],
|
|
197
|
-
name: "ERC7984InvalidReceiver",
|
|
80
|
+
name: "ERC7984InvalidSender",
|
|
198
81
|
type: "error",
|
|
199
82
|
},
|
|
200
83
|
{
|
|
201
|
-
inputs: [
|
|
202
|
-
|
|
203
|
-
internalType: "address",
|
|
204
|
-
name: "receiver",
|
|
205
|
-
type: "address",
|
|
206
|
-
},
|
|
207
|
-
],
|
|
208
|
-
name: "ERC7984InvalidReceiver",
|
|
84
|
+
inputs: [],
|
|
85
|
+
name: "ERC7984TotalSupplyOverflow",
|
|
209
86
|
type: "error",
|
|
210
87
|
},
|
|
211
88
|
{
|
|
212
89
|
inputs: [
|
|
213
90
|
{
|
|
214
91
|
internalType: "address",
|
|
215
|
-
name: "
|
|
92
|
+
name: "caller",
|
|
216
93
|
type: "address",
|
|
217
94
|
},
|
|
218
95
|
],
|
|
219
|
-
name: "
|
|
96
|
+
name: "ERC7984UnauthorizedCaller",
|
|
220
97
|
type: "error",
|
|
221
98
|
},
|
|
222
99
|
{
|
|
@@ -288,8 +165,14 @@ export const WRAPPER_ABI = [
|
|
|
288
165
|
type: "error",
|
|
289
166
|
},
|
|
290
167
|
{
|
|
291
|
-
inputs: [
|
|
292
|
-
|
|
168
|
+
inputs: [
|
|
169
|
+
{
|
|
170
|
+
internalType: "euint64",
|
|
171
|
+
name: "amount",
|
|
172
|
+
type: "bytes32",
|
|
173
|
+
},
|
|
174
|
+
],
|
|
175
|
+
name: "InvalidUnwrapRequest",
|
|
293
176
|
type: "error",
|
|
294
177
|
},
|
|
295
178
|
{
|
|
@@ -297,6 +180,28 @@ export const WRAPPER_ABI = [
|
|
|
297
180
|
name: "NotInitializing",
|
|
298
181
|
type: "error",
|
|
299
182
|
},
|
|
183
|
+
{
|
|
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",
|
|
203
|
+
type: "error",
|
|
204
|
+
},
|
|
300
205
|
{
|
|
301
206
|
inputs: [],
|
|
302
207
|
name: "ReentrancyGuardReentrantCall",
|
|
@@ -341,8 +246,19 @@ export const WRAPPER_ABI = [
|
|
|
341
246
|
type: "error",
|
|
342
247
|
},
|
|
343
248
|
{
|
|
344
|
-
inputs: [
|
|
345
|
-
|
|
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",
|
|
346
262
|
type: "error",
|
|
347
263
|
},
|
|
348
264
|
{
|
|
@@ -364,9 +280,9 @@ export const WRAPPER_ABI = [
|
|
|
364
280
|
{
|
|
365
281
|
inputs: [
|
|
366
282
|
{
|
|
367
|
-
internalType: "
|
|
368
|
-
name: "
|
|
369
|
-
type: "
|
|
283
|
+
internalType: "euint64",
|
|
284
|
+
name: "burntAmount",
|
|
285
|
+
type: "bytes32",
|
|
370
286
|
},
|
|
371
287
|
{
|
|
372
288
|
internalType: "address",
|
|
@@ -392,16 +308,6 @@ export const WRAPPER_ABI = [
|
|
|
392
308
|
name: "ZamaProtocolUnsupported",
|
|
393
309
|
type: "error",
|
|
394
310
|
},
|
|
395
|
-
{
|
|
396
|
-
inputs: [],
|
|
397
|
-
name: "ZeroAddressConfidentialToken",
|
|
398
|
-
type: "error",
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
inputs: [],
|
|
402
|
-
name: "ZeroAddressDeploymentCoordinator",
|
|
403
|
-
type: "error",
|
|
404
|
-
},
|
|
405
311
|
{
|
|
406
312
|
anonymous: false,
|
|
407
313
|
inputs: [
|
|
@@ -490,56 +396,6 @@ export const WRAPPER_ABI = [
|
|
|
490
396
|
name: "ConfidentialTransfer",
|
|
491
397
|
type: "event",
|
|
492
398
|
},
|
|
493
|
-
{
|
|
494
|
-
anonymous: false,
|
|
495
|
-
inputs: [],
|
|
496
|
-
name: "DefaultAdminDelayChangeCanceled",
|
|
497
|
-
type: "event",
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
anonymous: false,
|
|
501
|
-
inputs: [
|
|
502
|
-
{
|
|
503
|
-
indexed: false,
|
|
504
|
-
internalType: "uint48",
|
|
505
|
-
name: "newDelay",
|
|
506
|
-
type: "uint48",
|
|
507
|
-
},
|
|
508
|
-
{
|
|
509
|
-
indexed: false,
|
|
510
|
-
internalType: "uint48",
|
|
511
|
-
name: "effectSchedule",
|
|
512
|
-
type: "uint48",
|
|
513
|
-
},
|
|
514
|
-
],
|
|
515
|
-
name: "DefaultAdminDelayChangeScheduled",
|
|
516
|
-
type: "event",
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
anonymous: false,
|
|
520
|
-
inputs: [],
|
|
521
|
-
name: "DefaultAdminTransferCanceled",
|
|
522
|
-
type: "event",
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
anonymous: false,
|
|
526
|
-
inputs: [
|
|
527
|
-
{
|
|
528
|
-
indexed: true,
|
|
529
|
-
internalType: "address",
|
|
530
|
-
name: "newAdmin",
|
|
531
|
-
type: "address",
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
indexed: false,
|
|
535
|
-
internalType: "uint48",
|
|
536
|
-
name: "acceptSchedule",
|
|
537
|
-
type: "uint48",
|
|
538
|
-
},
|
|
539
|
-
],
|
|
540
|
-
name: "DefaultAdminTransferScheduled",
|
|
541
|
-
type: "event",
|
|
542
|
-
},
|
|
543
399
|
{
|
|
544
400
|
anonymous: false,
|
|
545
401
|
inputs: [
|
|
@@ -632,19 +488,19 @@ export const WRAPPER_ABI = [
|
|
|
632
488
|
anonymous: false,
|
|
633
489
|
inputs: [
|
|
634
490
|
{
|
|
635
|
-
indexed:
|
|
636
|
-
internalType: "
|
|
637
|
-
name: "
|
|
638
|
-
type: "
|
|
491
|
+
indexed: true,
|
|
492
|
+
internalType: "address",
|
|
493
|
+
name: "previousOwner",
|
|
494
|
+
type: "address",
|
|
639
495
|
},
|
|
640
496
|
{
|
|
641
|
-
indexed:
|
|
642
|
-
internalType: "
|
|
643
|
-
name: "
|
|
644
|
-
type: "
|
|
497
|
+
indexed: true,
|
|
498
|
+
internalType: "address",
|
|
499
|
+
name: "newOwner",
|
|
500
|
+
type: "address",
|
|
645
501
|
},
|
|
646
502
|
],
|
|
647
|
-
name: "
|
|
503
|
+
name: "OwnershipTransferStarted",
|
|
648
504
|
type: "event",
|
|
649
505
|
},
|
|
650
506
|
{
|
|
@@ -652,74 +508,87 @@ export const WRAPPER_ABI = [
|
|
|
652
508
|
inputs: [
|
|
653
509
|
{
|
|
654
510
|
indexed: true,
|
|
655
|
-
internalType: "
|
|
656
|
-
name: "
|
|
657
|
-
type: "
|
|
658
|
-
},
|
|
659
|
-
{
|
|
660
|
-
indexed: true,
|
|
661
|
-
internalType: "bytes32",
|
|
662
|
-
name: "previousAdminRole",
|
|
663
|
-
type: "bytes32",
|
|
511
|
+
internalType: "address",
|
|
512
|
+
name: "previousOwner",
|
|
513
|
+
type: "address",
|
|
664
514
|
},
|
|
665
515
|
{
|
|
666
516
|
indexed: true,
|
|
667
|
-
internalType: "
|
|
668
|
-
name: "
|
|
669
|
-
type: "
|
|
517
|
+
internalType: "address",
|
|
518
|
+
name: "newOwner",
|
|
519
|
+
type: "address",
|
|
670
520
|
},
|
|
671
521
|
],
|
|
672
|
-
name: "
|
|
522
|
+
name: "OwnershipTransferred",
|
|
673
523
|
type: "event",
|
|
674
524
|
},
|
|
675
525
|
{
|
|
676
526
|
anonymous: false,
|
|
677
527
|
inputs: [
|
|
678
528
|
{
|
|
679
|
-
indexed:
|
|
680
|
-
internalType: "bytes32",
|
|
681
|
-
name: "
|
|
682
|
-
type: "bytes32",
|
|
529
|
+
indexed: false,
|
|
530
|
+
internalType: "bytes32[]",
|
|
531
|
+
name: "handlesList",
|
|
532
|
+
type: "bytes32[]",
|
|
683
533
|
},
|
|
534
|
+
{
|
|
535
|
+
indexed: false,
|
|
536
|
+
internalType: "bytes",
|
|
537
|
+
name: "abiEncodedCleartexts",
|
|
538
|
+
type: "bytes",
|
|
539
|
+
},
|
|
540
|
+
],
|
|
541
|
+
name: "PublicDecryptionVerified",
|
|
542
|
+
type: "event",
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
anonymous: false,
|
|
546
|
+
inputs: [
|
|
684
547
|
{
|
|
685
548
|
indexed: true,
|
|
686
549
|
internalType: "address",
|
|
687
|
-
name: "
|
|
550
|
+
name: "oldRegulator",
|
|
688
551
|
type: "address",
|
|
689
552
|
},
|
|
690
553
|
{
|
|
691
554
|
indexed: true,
|
|
692
555
|
internalType: "address",
|
|
693
|
-
name: "
|
|
556
|
+
name: "newRegulator",
|
|
694
557
|
type: "address",
|
|
695
558
|
},
|
|
696
559
|
],
|
|
697
|
-
name: "
|
|
560
|
+
name: "TokenRegulatorUpdated",
|
|
698
561
|
type: "event",
|
|
699
562
|
},
|
|
700
563
|
{
|
|
701
564
|
anonymous: false,
|
|
702
565
|
inputs: [
|
|
703
|
-
{
|
|
704
|
-
indexed: true,
|
|
705
|
-
internalType: "bytes32",
|
|
706
|
-
name: "role",
|
|
707
|
-
type: "bytes32",
|
|
708
|
-
},
|
|
709
566
|
{
|
|
710
567
|
indexed: true,
|
|
711
568
|
internalType: "address",
|
|
712
|
-
name: "
|
|
569
|
+
name: "from",
|
|
713
570
|
type: "address",
|
|
714
571
|
},
|
|
715
572
|
{
|
|
716
573
|
indexed: true,
|
|
717
574
|
internalType: "address",
|
|
718
|
-
name: "
|
|
575
|
+
name: "to",
|
|
719
576
|
type: "address",
|
|
720
577
|
},
|
|
578
|
+
{
|
|
579
|
+
indexed: false,
|
|
580
|
+
internalType: "euint64",
|
|
581
|
+
name: "encryptedAmount",
|
|
582
|
+
type: "bytes32",
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
indexed: false,
|
|
586
|
+
internalType: "uint256",
|
|
587
|
+
name: "txId",
|
|
588
|
+
type: "uint256",
|
|
589
|
+
},
|
|
721
590
|
],
|
|
722
|
-
name: "
|
|
591
|
+
name: "TransferInfo",
|
|
723
592
|
type: "event",
|
|
724
593
|
},
|
|
725
594
|
{
|
|
@@ -728,17 +597,23 @@ export const WRAPPER_ABI = [
|
|
|
728
597
|
{
|
|
729
598
|
indexed: true,
|
|
730
599
|
internalType: "address",
|
|
731
|
-
name: "
|
|
600
|
+
name: "receiver",
|
|
732
601
|
type: "address",
|
|
733
602
|
},
|
|
734
603
|
{
|
|
735
|
-
indexed:
|
|
736
|
-
internalType: "
|
|
737
|
-
name: "
|
|
738
|
-
type: "
|
|
604
|
+
indexed: false,
|
|
605
|
+
internalType: "euint64",
|
|
606
|
+
name: "encryptedAmount",
|
|
607
|
+
type: "bytes32",
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
indexed: false,
|
|
611
|
+
internalType: "uint64",
|
|
612
|
+
name: "cleartextAmount",
|
|
613
|
+
type: "uint64",
|
|
739
614
|
},
|
|
740
615
|
],
|
|
741
|
-
name: "
|
|
616
|
+
name: "UnwrapFinalized",
|
|
742
617
|
type: "event",
|
|
743
618
|
},
|
|
744
619
|
{
|
|
@@ -747,29 +622,17 @@ export const WRAPPER_ABI = [
|
|
|
747
622
|
{
|
|
748
623
|
indexed: true,
|
|
749
624
|
internalType: "address",
|
|
750
|
-
name: "
|
|
751
|
-
type: "address",
|
|
752
|
-
},
|
|
753
|
-
{
|
|
754
|
-
indexed: true,
|
|
755
|
-
internalType: "address",
|
|
756
|
-
name: "to",
|
|
625
|
+
name: "receiver",
|
|
757
626
|
type: "address",
|
|
758
627
|
},
|
|
759
628
|
{
|
|
760
629
|
indexed: false,
|
|
761
630
|
internalType: "euint64",
|
|
762
|
-
name: "
|
|
631
|
+
name: "amount",
|
|
763
632
|
type: "bytes32",
|
|
764
633
|
},
|
|
765
|
-
{
|
|
766
|
-
indexed: false,
|
|
767
|
-
internalType: "uint256",
|
|
768
|
-
name: "txId",
|
|
769
|
-
type: "uint256",
|
|
770
|
-
},
|
|
771
634
|
],
|
|
772
|
-
name: "
|
|
635
|
+
name: "UnwrapRequested",
|
|
773
636
|
type: "event",
|
|
774
637
|
},
|
|
775
638
|
{
|
|
@@ -777,9 +640,9 @@ export const WRAPPER_ABI = [
|
|
|
777
640
|
inputs: [
|
|
778
641
|
{
|
|
779
642
|
indexed: true,
|
|
780
|
-
internalType: "
|
|
781
|
-
name: "
|
|
782
|
-
type: "
|
|
643
|
+
internalType: "euint64",
|
|
644
|
+
name: "burntAmountHandle",
|
|
645
|
+
type: "bytes32",
|
|
783
646
|
},
|
|
784
647
|
{
|
|
785
648
|
indexed: false,
|
|
@@ -920,32 +783,6 @@ export const WRAPPER_ABI = [
|
|
|
920
783
|
name: "Wrapped",
|
|
921
784
|
type: "event",
|
|
922
785
|
},
|
|
923
|
-
{
|
|
924
|
-
inputs: [],
|
|
925
|
-
name: "DEFAULT_ADMIN_ROLE",
|
|
926
|
-
outputs: [
|
|
927
|
-
{
|
|
928
|
-
internalType: "bytes32",
|
|
929
|
-
name: "",
|
|
930
|
-
type: "bytes32",
|
|
931
|
-
},
|
|
932
|
-
],
|
|
933
|
-
stateMutability: "view",
|
|
934
|
-
type: "function",
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
inputs: [],
|
|
938
|
-
name: "UPGRADER_ROLE",
|
|
939
|
-
outputs: [
|
|
940
|
-
{
|
|
941
|
-
internalType: "bytes32",
|
|
942
|
-
name: "",
|
|
943
|
-
type: "bytes32",
|
|
944
|
-
},
|
|
945
|
-
],
|
|
946
|
-
stateMutability: "view",
|
|
947
|
-
type: "function",
|
|
948
|
-
},
|
|
949
786
|
{
|
|
950
787
|
inputs: [],
|
|
951
788
|
name: "UPGRADE_INTERFACE_VERSION",
|
|
@@ -961,7 +798,7 @@ export const WRAPPER_ABI = [
|
|
|
961
798
|
},
|
|
962
799
|
{
|
|
963
800
|
inputs: [],
|
|
964
|
-
name: "
|
|
801
|
+
name: "acceptOwnership",
|
|
965
802
|
outputs: [],
|
|
966
803
|
stateMutability: "nonpayable",
|
|
967
804
|
type: "function",
|
|
@@ -979,39 +816,6 @@ export const WRAPPER_ABI = [
|
|
|
979
816
|
stateMutability: "view",
|
|
980
817
|
type: "function",
|
|
981
818
|
},
|
|
982
|
-
{
|
|
983
|
-
inputs: [
|
|
984
|
-
{
|
|
985
|
-
internalType: "address",
|
|
986
|
-
name: "newAdmin",
|
|
987
|
-
type: "address",
|
|
988
|
-
},
|
|
989
|
-
],
|
|
990
|
-
name: "beginDefaultAdminTransfer",
|
|
991
|
-
outputs: [],
|
|
992
|
-
stateMutability: "nonpayable",
|
|
993
|
-
type: "function",
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
inputs: [],
|
|
997
|
-
name: "cancelDefaultAdminTransfer",
|
|
998
|
-
outputs: [],
|
|
999
|
-
stateMutability: "nonpayable",
|
|
1000
|
-
type: "function",
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
inputs: [
|
|
1004
|
-
{
|
|
1005
|
-
internalType: "uint48",
|
|
1006
|
-
name: "newDelay",
|
|
1007
|
-
type: "uint48",
|
|
1008
|
-
},
|
|
1009
|
-
],
|
|
1010
|
-
name: "changeDefaultAdminDelay",
|
|
1011
|
-
outputs: [],
|
|
1012
|
-
stateMutability: "nonpayable",
|
|
1013
|
-
type: "function",
|
|
1014
|
-
},
|
|
1015
819
|
{
|
|
1016
820
|
inputs: [
|
|
1017
821
|
{
|
|
@@ -1337,220 +1141,12 @@ export const WRAPPER_ABI = [
|
|
|
1337
1141
|
},
|
|
1338
1142
|
{
|
|
1339
1143
|
inputs: [],
|
|
1340
|
-
name: "
|
|
1341
|
-
outputs: [
|
|
1342
|
-
{
|
|
1343
|
-
internalType: "address",
|
|
1344
|
-
name: "",
|
|
1345
|
-
type: "address",
|
|
1346
|
-
},
|
|
1347
|
-
],
|
|
1348
|
-
stateMutability: "view",
|
|
1349
|
-
type: "function",
|
|
1350
|
-
},
|
|
1351
|
-
{
|
|
1352
|
-
inputs: [],
|
|
1353
|
-
name: "defaultAdminDelay",
|
|
1354
|
-
outputs: [
|
|
1355
|
-
{
|
|
1356
|
-
internalType: "uint48",
|
|
1357
|
-
name: "",
|
|
1358
|
-
type: "uint48",
|
|
1359
|
-
},
|
|
1360
|
-
],
|
|
1361
|
-
stateMutability: "view",
|
|
1362
|
-
type: "function",
|
|
1363
|
-
},
|
|
1364
|
-
{
|
|
1365
|
-
inputs: [],
|
|
1366
|
-
name: "defaultAdminDelayIncreaseWait",
|
|
1367
|
-
outputs: [
|
|
1368
|
-
{
|
|
1369
|
-
internalType: "uint48",
|
|
1370
|
-
name: "",
|
|
1371
|
-
type: "uint48",
|
|
1372
|
-
},
|
|
1373
|
-
],
|
|
1374
|
-
stateMutability: "view",
|
|
1375
|
-
type: "function",
|
|
1376
|
-
},
|
|
1377
|
-
{
|
|
1378
|
-
inputs: [],
|
|
1379
|
-
name: "deploymentCoordinator",
|
|
1380
|
-
outputs: [
|
|
1381
|
-
{
|
|
1382
|
-
internalType: "contract IDeploymentCoordinator",
|
|
1383
|
-
name: "",
|
|
1384
|
-
type: "address",
|
|
1385
|
-
},
|
|
1386
|
-
],
|
|
1387
|
-
stateMutability: "view",
|
|
1388
|
-
type: "function",
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
inputs: [
|
|
1392
|
-
{
|
|
1393
|
-
internalType: "euint64",
|
|
1394
|
-
name: "encryptedAmount",
|
|
1395
|
-
type: "bytes32",
|
|
1396
|
-
},
|
|
1397
|
-
{
|
|
1398
|
-
internalType: "uint64",
|
|
1399
|
-
name: "cleartextAmount",
|
|
1400
|
-
type: "uint64",
|
|
1401
|
-
},
|
|
1402
|
-
{
|
|
1403
|
-
internalType: "bytes",
|
|
1404
|
-
name: "decryptionProof",
|
|
1405
|
-
type: "bytes",
|
|
1406
|
-
},
|
|
1407
|
-
],
|
|
1408
|
-
name: "discloseEncryptedAmount",
|
|
1409
|
-
outputs: [],
|
|
1410
|
-
stateMutability: "nonpayable",
|
|
1411
|
-
type: "function",
|
|
1412
|
-
},
|
|
1413
|
-
{
|
|
1414
|
-
inputs: [
|
|
1415
|
-
{
|
|
1416
|
-
internalType: "uint256",
|
|
1417
|
-
name: "requestId",
|
|
1418
|
-
type: "uint256",
|
|
1419
|
-
},
|
|
1420
|
-
{
|
|
1421
|
-
internalType: "bytes",
|
|
1422
|
-
name: "abiEncodedClearBurnAmounts",
|
|
1423
|
-
type: "bytes",
|
|
1424
|
-
},
|
|
1425
|
-
{
|
|
1426
|
-
internalType: "bytes",
|
|
1427
|
-
name: "decryptionProof",
|
|
1428
|
-
type: "bytes",
|
|
1429
|
-
},
|
|
1430
|
-
],
|
|
1431
|
-
name: "finalizeUnwrap",
|
|
1432
|
-
outputs: [
|
|
1433
|
-
{
|
|
1434
|
-
internalType: "bool",
|
|
1435
|
-
name: "",
|
|
1436
|
-
type: "bool",
|
|
1437
|
-
},
|
|
1438
|
-
],
|
|
1439
|
-
stateMutability: "nonpayable",
|
|
1440
|
-
type: "function",
|
|
1441
|
-
},
|
|
1442
|
-
{
|
|
1443
|
-
inputs: [
|
|
1444
|
-
{
|
|
1445
|
-
internalType: "uint256",
|
|
1446
|
-
name: "requestId_",
|
|
1447
|
-
type: "uint256",
|
|
1448
|
-
},
|
|
1449
|
-
],
|
|
1450
|
-
name: "getReceiverEntry",
|
|
1451
|
-
outputs: [
|
|
1452
|
-
{
|
|
1453
|
-
components: [
|
|
1454
|
-
{
|
|
1455
|
-
internalType: "address",
|
|
1456
|
-
name: "to",
|
|
1457
|
-
type: "address",
|
|
1458
|
-
},
|
|
1459
|
-
{
|
|
1460
|
-
internalType: "address",
|
|
1461
|
-
name: "refund",
|
|
1462
|
-
type: "address",
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
internalType: "bytes",
|
|
1466
|
-
name: "callbackData",
|
|
1467
|
-
type: "bytes",
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
internalType: "euint64",
|
|
1471
|
-
name: "expectedBurnAmount",
|
|
1472
|
-
type: "bytes32",
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
internalType: "euint64",
|
|
1476
|
-
name: "actualBurnAmount",
|
|
1477
|
-
type: "bytes32",
|
|
1478
|
-
},
|
|
1479
|
-
{
|
|
1480
|
-
internalType: "uint64",
|
|
1481
|
-
name: "committedFeeBasisPoints",
|
|
1482
|
-
type: "uint64",
|
|
1483
|
-
},
|
|
1484
|
-
{
|
|
1485
|
-
internalType: "address",
|
|
1486
|
-
name: "from",
|
|
1487
|
-
type: "address",
|
|
1488
|
-
},
|
|
1489
|
-
],
|
|
1490
|
-
internalType: "struct WrapperUpgradeable.ReceiverEntry",
|
|
1491
|
-
name: "",
|
|
1492
|
-
type: "tuple",
|
|
1493
|
-
},
|
|
1494
|
-
],
|
|
1495
|
-
stateMutability: "view",
|
|
1496
|
-
type: "function",
|
|
1497
|
-
},
|
|
1498
|
-
{
|
|
1499
|
-
inputs: [
|
|
1500
|
-
{
|
|
1501
|
-
internalType: "bytes32",
|
|
1502
|
-
name: "role",
|
|
1503
|
-
type: "bytes32",
|
|
1504
|
-
},
|
|
1505
|
-
],
|
|
1506
|
-
name: "getRoleAdmin",
|
|
1507
|
-
outputs: [
|
|
1508
|
-
{
|
|
1509
|
-
internalType: "bytes32",
|
|
1510
|
-
name: "",
|
|
1511
|
-
type: "bytes32",
|
|
1512
|
-
},
|
|
1513
|
-
],
|
|
1514
|
-
stateMutability: "view",
|
|
1515
|
-
type: "function",
|
|
1516
|
-
},
|
|
1517
|
-
{
|
|
1518
|
-
inputs: [
|
|
1519
|
-
{
|
|
1520
|
-
internalType: "bytes32",
|
|
1521
|
-
name: "role",
|
|
1522
|
-
type: "bytes32",
|
|
1523
|
-
},
|
|
1524
|
-
{
|
|
1525
|
-
internalType: "address",
|
|
1526
|
-
name: "account",
|
|
1527
|
-
type: "address",
|
|
1528
|
-
},
|
|
1529
|
-
],
|
|
1530
|
-
name: "grantRole",
|
|
1531
|
-
outputs: [],
|
|
1532
|
-
stateMutability: "nonpayable",
|
|
1533
|
-
type: "function",
|
|
1534
|
-
},
|
|
1535
|
-
{
|
|
1536
|
-
inputs: [
|
|
1537
|
-
{
|
|
1538
|
-
internalType: "bytes32",
|
|
1539
|
-
name: "role",
|
|
1540
|
-
type: "bytes32",
|
|
1541
|
-
},
|
|
1542
|
-
{
|
|
1543
|
-
internalType: "address",
|
|
1544
|
-
name: "account",
|
|
1545
|
-
type: "address",
|
|
1546
|
-
},
|
|
1547
|
-
],
|
|
1548
|
-
name: "hasRole",
|
|
1144
|
+
name: "deploymentCoordinator",
|
|
1549
1145
|
outputs: [
|
|
1550
1146
|
{
|
|
1551
|
-
internalType: "
|
|
1147
|
+
internalType: "contract IDeploymentCoordinator",
|
|
1552
1148
|
name: "",
|
|
1553
|
-
type: "
|
|
1149
|
+
type: "address",
|
|
1554
1150
|
},
|
|
1555
1151
|
],
|
|
1556
1152
|
stateMutability: "view",
|
|
@@ -1559,37 +1155,45 @@ export const WRAPPER_ABI = [
|
|
|
1559
1155
|
{
|
|
1560
1156
|
inputs: [
|
|
1561
1157
|
{
|
|
1562
|
-
internalType: "
|
|
1563
|
-
name: "
|
|
1564
|
-
type: "
|
|
1158
|
+
internalType: "euint64",
|
|
1159
|
+
name: "encryptedAmount",
|
|
1160
|
+
type: "bytes32",
|
|
1565
1161
|
},
|
|
1566
1162
|
{
|
|
1567
|
-
internalType: "
|
|
1568
|
-
name: "
|
|
1569
|
-
type: "
|
|
1163
|
+
internalType: "uint64",
|
|
1164
|
+
name: "cleartextAmount",
|
|
1165
|
+
type: "uint64",
|
|
1570
1166
|
},
|
|
1571
1167
|
{
|
|
1572
|
-
internalType: "
|
|
1573
|
-
name: "
|
|
1574
|
-
type: "
|
|
1168
|
+
internalType: "bytes",
|
|
1169
|
+
name: "decryptionProof",
|
|
1170
|
+
type: "bytes",
|
|
1575
1171
|
},
|
|
1172
|
+
],
|
|
1173
|
+
name: "discloseEncryptedAmount",
|
|
1174
|
+
outputs: [],
|
|
1175
|
+
stateMutability: "nonpayable",
|
|
1176
|
+
type: "function",
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
inputs: [
|
|
1576
1180
|
{
|
|
1577
|
-
internalType: "
|
|
1578
|
-
name: "
|
|
1579
|
-
type: "
|
|
1181
|
+
internalType: "euint64",
|
|
1182
|
+
name: "burntAmount",
|
|
1183
|
+
type: "bytes32",
|
|
1580
1184
|
},
|
|
1581
1185
|
{
|
|
1582
|
-
internalType: "
|
|
1583
|
-
name: "
|
|
1584
|
-
type: "
|
|
1186
|
+
internalType: "uint64",
|
|
1187
|
+
name: "burntAmountCleartext",
|
|
1188
|
+
type: "uint64",
|
|
1585
1189
|
},
|
|
1586
1190
|
{
|
|
1587
|
-
internalType: "
|
|
1588
|
-
name: "
|
|
1589
|
-
type: "
|
|
1191
|
+
internalType: "bytes",
|
|
1192
|
+
name: "decryptionProof",
|
|
1193
|
+
type: "bytes",
|
|
1590
1194
|
},
|
|
1591
1195
|
],
|
|
1592
|
-
name: "
|
|
1196
|
+
name: "finalizeUnwrap",
|
|
1593
1197
|
outputs: [],
|
|
1594
1198
|
stateMutability: "nonpayable",
|
|
1595
1199
|
type: "function",
|
|
@@ -1607,30 +1211,25 @@ export const WRAPPER_ABI = [
|
|
|
1607
1211
|
type: "string",
|
|
1608
1212
|
},
|
|
1609
1213
|
{
|
|
1610
|
-
internalType: "
|
|
1611
|
-
name: "
|
|
1612
|
-
type: "
|
|
1214
|
+
internalType: "string",
|
|
1215
|
+
name: "contractURI_",
|
|
1216
|
+
type: "string",
|
|
1613
1217
|
},
|
|
1614
1218
|
{
|
|
1615
|
-
internalType: "
|
|
1616
|
-
name: "
|
|
1219
|
+
internalType: "contract IERC20",
|
|
1220
|
+
name: "underlying_",
|
|
1617
1221
|
type: "address",
|
|
1618
1222
|
},
|
|
1619
1223
|
{
|
|
1620
|
-
internalType: "
|
|
1621
|
-
name: "
|
|
1622
|
-
type: "
|
|
1224
|
+
internalType: "address",
|
|
1225
|
+
name: "owner_",
|
|
1226
|
+
type: "address",
|
|
1623
1227
|
},
|
|
1624
1228
|
{
|
|
1625
1229
|
internalType: "contract IDeploymentCoordinator",
|
|
1626
1230
|
name: "deploymentCoordinator_",
|
|
1627
1231
|
type: "address",
|
|
1628
1232
|
},
|
|
1629
|
-
{
|
|
1630
|
-
internalType: "address",
|
|
1631
|
-
name: "originalToken_",
|
|
1632
|
-
type: "address",
|
|
1633
|
-
},
|
|
1634
1233
|
],
|
|
1635
1234
|
name: "initialize",
|
|
1636
1235
|
outputs: [],
|
|
@@ -1687,12 +1286,12 @@ export const WRAPPER_ABI = [
|
|
|
1687
1286
|
},
|
|
1688
1287
|
{
|
|
1689
1288
|
inputs: [],
|
|
1690
|
-
name: "
|
|
1289
|
+
name: "maxTotalSupply",
|
|
1691
1290
|
outputs: [
|
|
1692
1291
|
{
|
|
1693
|
-
internalType: "
|
|
1292
|
+
internalType: "uint256",
|
|
1694
1293
|
name: "",
|
|
1695
|
-
type: "
|
|
1294
|
+
type: "uint256",
|
|
1696
1295
|
},
|
|
1697
1296
|
],
|
|
1698
1297
|
stateMutability: "view",
|
|
@@ -1725,62 +1324,60 @@ export const WRAPPER_ABI = [
|
|
|
1725
1324
|
type: "function",
|
|
1726
1325
|
},
|
|
1727
1326
|
{
|
|
1728
|
-
inputs: [
|
|
1729
|
-
name: "originalToken",
|
|
1730
|
-
outputs: [
|
|
1327
|
+
inputs: [
|
|
1731
1328
|
{
|
|
1732
1329
|
internalType: "address",
|
|
1733
1330
|
name: "",
|
|
1734
1331
|
type: "address",
|
|
1735
1332
|
},
|
|
1333
|
+
{
|
|
1334
|
+
internalType: "address",
|
|
1335
|
+
name: "from",
|
|
1336
|
+
type: "address",
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
internalType: "uint256",
|
|
1340
|
+
name: "amount",
|
|
1341
|
+
type: "uint256",
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
internalType: "bytes",
|
|
1345
|
+
name: "data",
|
|
1346
|
+
type: "bytes",
|
|
1347
|
+
},
|
|
1736
1348
|
],
|
|
1737
|
-
|
|
1738
|
-
type: "function",
|
|
1739
|
-
},
|
|
1740
|
-
{
|
|
1741
|
-
inputs: [],
|
|
1742
|
-
name: "owner",
|
|
1349
|
+
name: "onTransferReceived",
|
|
1743
1350
|
outputs: [
|
|
1744
1351
|
{
|
|
1745
|
-
internalType: "
|
|
1352
|
+
internalType: "bytes4",
|
|
1746
1353
|
name: "",
|
|
1747
|
-
type: "
|
|
1354
|
+
type: "bytes4",
|
|
1748
1355
|
},
|
|
1749
1356
|
],
|
|
1750
|
-
stateMutability: "
|
|
1357
|
+
stateMutability: "nonpayable",
|
|
1751
1358
|
type: "function",
|
|
1752
1359
|
},
|
|
1753
1360
|
{
|
|
1754
1361
|
inputs: [],
|
|
1755
|
-
name: "
|
|
1362
|
+
name: "owner",
|
|
1756
1363
|
outputs: [
|
|
1757
1364
|
{
|
|
1758
1365
|
internalType: "address",
|
|
1759
|
-
name: "
|
|
1366
|
+
name: "",
|
|
1760
1367
|
type: "address",
|
|
1761
1368
|
},
|
|
1762
|
-
{
|
|
1763
|
-
internalType: "uint48",
|
|
1764
|
-
name: "schedule",
|
|
1765
|
-
type: "uint48",
|
|
1766
|
-
},
|
|
1767
1369
|
],
|
|
1768
1370
|
stateMutability: "view",
|
|
1769
1371
|
type: "function",
|
|
1770
1372
|
},
|
|
1771
1373
|
{
|
|
1772
1374
|
inputs: [],
|
|
1773
|
-
name: "
|
|
1375
|
+
name: "pendingOwner",
|
|
1774
1376
|
outputs: [
|
|
1775
1377
|
{
|
|
1776
|
-
internalType: "
|
|
1777
|
-
name: "
|
|
1778
|
-
type: "
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
internalType: "uint48",
|
|
1782
|
-
name: "schedule",
|
|
1783
|
-
type: "uint48",
|
|
1378
|
+
internalType: "address",
|
|
1379
|
+
name: "",
|
|
1380
|
+
type: "address",
|
|
1784
1381
|
},
|
|
1785
1382
|
],
|
|
1786
1383
|
stateMutability: "view",
|
|
@@ -1826,19 +1423,8 @@ export const WRAPPER_ABI = [
|
|
|
1826
1423
|
type: "function",
|
|
1827
1424
|
},
|
|
1828
1425
|
{
|
|
1829
|
-
inputs: [
|
|
1830
|
-
|
|
1831
|
-
internalType: "bytes32",
|
|
1832
|
-
name: "role",
|
|
1833
|
-
type: "bytes32",
|
|
1834
|
-
},
|
|
1835
|
-
{
|
|
1836
|
-
internalType: "address",
|
|
1837
|
-
name: "account",
|
|
1838
|
-
type: "address",
|
|
1839
|
-
},
|
|
1840
|
-
],
|
|
1841
|
-
name: "renounceRole",
|
|
1426
|
+
inputs: [],
|
|
1427
|
+
name: "renounceOwnership",
|
|
1842
1428
|
outputs: [],
|
|
1843
1429
|
stateMutability: "nonpayable",
|
|
1844
1430
|
type: "function",
|
|
@@ -1869,31 +1455,6 @@ export const WRAPPER_ABI = [
|
|
|
1869
1455
|
stateMutability: "view",
|
|
1870
1456
|
type: "function",
|
|
1871
1457
|
},
|
|
1872
|
-
{
|
|
1873
|
-
inputs: [
|
|
1874
|
-
{
|
|
1875
|
-
internalType: "bytes32",
|
|
1876
|
-
name: "role",
|
|
1877
|
-
type: "bytes32",
|
|
1878
|
-
},
|
|
1879
|
-
{
|
|
1880
|
-
internalType: "address",
|
|
1881
|
-
name: "account",
|
|
1882
|
-
type: "address",
|
|
1883
|
-
},
|
|
1884
|
-
],
|
|
1885
|
-
name: "revokeRole",
|
|
1886
|
-
outputs: [],
|
|
1887
|
-
stateMutability: "nonpayable",
|
|
1888
|
-
type: "function",
|
|
1889
|
-
},
|
|
1890
|
-
{
|
|
1891
|
-
inputs: [],
|
|
1892
|
-
name: "rollbackDefaultAdminDelay",
|
|
1893
|
-
outputs: [],
|
|
1894
|
-
stateMutability: "nonpayable",
|
|
1895
|
-
type: "function",
|
|
1896
|
-
},
|
|
1897
1458
|
{
|
|
1898
1459
|
inputs: [
|
|
1899
1460
|
{
|
|
@@ -1988,6 +1549,45 @@ export const WRAPPER_ABI = [
|
|
|
1988
1549
|
stateMutability: "view",
|
|
1989
1550
|
type: "function",
|
|
1990
1551
|
},
|
|
1552
|
+
{
|
|
1553
|
+
inputs: [],
|
|
1554
|
+
name: "totalSupply",
|
|
1555
|
+
outputs: [
|
|
1556
|
+
{
|
|
1557
|
+
internalType: "uint256",
|
|
1558
|
+
name: "",
|
|
1559
|
+
type: "uint256",
|
|
1560
|
+
},
|
|
1561
|
+
],
|
|
1562
|
+
stateMutability: "view",
|
|
1563
|
+
type: "function",
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
inputs: [
|
|
1567
|
+
{
|
|
1568
|
+
internalType: "address",
|
|
1569
|
+
name: "newOwner",
|
|
1570
|
+
type: "address",
|
|
1571
|
+
},
|
|
1572
|
+
],
|
|
1573
|
+
name: "transferOwnership",
|
|
1574
|
+
outputs: [],
|
|
1575
|
+
stateMutability: "nonpayable",
|
|
1576
|
+
type: "function",
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
inputs: [],
|
|
1580
|
+
name: "underlying",
|
|
1581
|
+
outputs: [
|
|
1582
|
+
{
|
|
1583
|
+
internalType: "address",
|
|
1584
|
+
name: "",
|
|
1585
|
+
type: "address",
|
|
1586
|
+
},
|
|
1587
|
+
],
|
|
1588
|
+
stateMutability: "view",
|
|
1589
|
+
type: "function",
|
|
1590
|
+
},
|
|
1991
1591
|
{
|
|
1992
1592
|
inputs: [
|
|
1993
1593
|
{
|
|
@@ -2110,6 +1710,67 @@ export const WRAPPER_ABI = [
|
|
|
2110
1710
|
stateMutability: "nonpayable",
|
|
2111
1711
|
type: "function",
|
|
2112
1712
|
},
|
|
1713
|
+
{
|
|
1714
|
+
inputs: [
|
|
1715
|
+
{
|
|
1716
|
+
internalType: "address",
|
|
1717
|
+
name: "from",
|
|
1718
|
+
type: "address",
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
internalType: "address",
|
|
1722
|
+
name: "to",
|
|
1723
|
+
type: "address",
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
internalType: "euint64",
|
|
1727
|
+
name: "amount",
|
|
1728
|
+
type: "bytes32",
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
internalType: "address",
|
|
1732
|
+
name: "refund",
|
|
1733
|
+
type: "address",
|
|
1734
|
+
},
|
|
1735
|
+
],
|
|
1736
|
+
name: "unwrapWithRefund",
|
|
1737
|
+
outputs: [],
|
|
1738
|
+
stateMutability: "nonpayable",
|
|
1739
|
+
type: "function",
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
inputs: [
|
|
1743
|
+
{
|
|
1744
|
+
internalType: "address",
|
|
1745
|
+
name: "from",
|
|
1746
|
+
type: "address",
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
internalType: "address",
|
|
1750
|
+
name: "to",
|
|
1751
|
+
type: "address",
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
internalType: "externalEuint64",
|
|
1755
|
+
name: "encryptedAmount",
|
|
1756
|
+
type: "bytes32",
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
internalType: "bytes",
|
|
1760
|
+
name: "inputProof",
|
|
1761
|
+
type: "bytes",
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
internalType: "address",
|
|
1765
|
+
name: "refund",
|
|
1766
|
+
type: "address",
|
|
1767
|
+
},
|
|
1768
|
+
],
|
|
1769
|
+
name: "unwrapWithRefund",
|
|
1770
|
+
outputs: [],
|
|
1771
|
+
stateMutability: "nonpayable",
|
|
1772
|
+
type: "function",
|
|
1773
|
+
},
|
|
2113
1774
|
{
|
|
2114
1775
|
inputs: [
|
|
2115
1776
|
{
|
|
@@ -2132,17 +1793,35 @@ export const WRAPPER_ABI = [
|
|
|
2132
1793
|
inputs: [
|
|
2133
1794
|
{
|
|
2134
1795
|
internalType: "address",
|
|
2135
|
-
name: "
|
|
1796
|
+
name: "to",
|
|
2136
1797
|
type: "address",
|
|
2137
1798
|
},
|
|
2138
1799
|
{
|
|
2139
1800
|
internalType: "uint256",
|
|
2140
|
-
name: "
|
|
1801
|
+
name: "amount",
|
|
2141
1802
|
type: "uint256",
|
|
2142
1803
|
},
|
|
2143
1804
|
],
|
|
2144
1805
|
name: "wrap",
|
|
2145
1806
|
outputs: [],
|
|
1807
|
+
stateMutability: "nonpayable",
|
|
1808
|
+
type: "function",
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
inputs: [
|
|
1812
|
+
{
|
|
1813
|
+
internalType: "address",
|
|
1814
|
+
name: "to",
|
|
1815
|
+
type: "address",
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
internalType: "uint256",
|
|
1819
|
+
name: "amount",
|
|
1820
|
+
type: "uint256",
|
|
1821
|
+
},
|
|
1822
|
+
],
|
|
1823
|
+
name: "wrapETH",
|
|
1824
|
+
outputs: [],
|
|
2146
1825
|
stateMutability: "payable",
|
|
2147
1826
|
type: "function",
|
|
2148
1827
|
},
|