@pendle/core-v2 4.5.0 → 4.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.json +2 -2
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.dbg.json +4 -0
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.json +1049 -0
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.dbg.json +4 -0
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.json +1039 -0
  7. package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.dbg.json +4 -0
  8. package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.json +207 -0
  9. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  10. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  11. package/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol +6 -1
  12. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol +57 -0
  13. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol +111 -0
  14. package/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol +66 -0
  15. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +12 -4
  16. package/deployments/1-markets/EZETH-MAINNET-SEP2024.json +11 -0
  17. package/deployments/1-markets/RSWETH-SWELL-STAKING-MAINNET-JUL2024.json +11 -0
  18. package/deployments/1-markets/WEETH-MAINNET-SEP2024.json +11 -0
  19. package/deployments/42161-markets/EZETH-ARB-SEP2024.json +11 -0
  20. package/deployments/42161-markets/SILO-PTEETH-ARBITRUM-JUNE2024.json +11 -0
  21. package/deployments/42161-markets/SILO-PTEZETH-ARBITRUM-JUNE2024.json +11 -0
  22. package/deployments/42161-markets/WEETH-ARB-SEP2024.json +11 -0
  23. package/deployments/56-markets/WEETH-BSC-SEP2024.json +11 -0
  24. package/deployments/merkle-distribution/2024-04-25.json +14930 -0
  25. package/package.json +1 -1
  26. package/typechain-types/ISwellSimpleStakingERC20.ts +289 -0
  27. package/typechain-types/PendleSwellRswETHStakingSY.ts +1325 -0
  28. package/typechain-types/PendleSwellStakingERC20SY.ts +1299 -0
  29. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  30. package/typechain-types/factories/ISwellSimpleStakingERC20__factory.ts +226 -0
  31. package/typechain-types/factories/PendleERC20WithSupplyCapSY__factory.ts +1 -1
  32. package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1106 -0
  33. package/typechain-types/factories/PendleSwellStakingERC20SY__factory.ts +1112 -0
  34. package/typechain-types/hardhat.d.ts +27 -0
  35. package/typechain-types/index.ts +6 -0
  36. /package/deployments/1-markets/{EZETH-JUNE2024.json → EZETH-APR2024.json} +0 -0
  37. /package/deployments/42161-markets/{RSETH-MAY2024.json → RSETH-JUNE2024.json} +0 -0
  38. /package/deployments/42161-markets/{WEETH-MAY2024.json → WEETH-JUNE2024.json} +0 -0
@@ -0,0 +1,1106 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ PendleSwellRswETHStakingSY,
8
+ PendleSwellRswETHStakingSYInterface,
9
+ } from "../PendleSwellRswETHStakingSY";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ inputs: [],
19
+ name: "InvalidShortString",
20
+ type: "error",
21
+ },
22
+ {
23
+ inputs: [
24
+ {
25
+ internalType: "uint256",
26
+ name: "actualSharesOut",
27
+ type: "uint256",
28
+ },
29
+ {
30
+ internalType: "uint256",
31
+ name: "requiredSharesOut",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "SYInsufficientSharesOut",
36
+ type: "error",
37
+ },
38
+ {
39
+ inputs: [
40
+ {
41
+ internalType: "uint256",
42
+ name: "actualTokenOut",
43
+ type: "uint256",
44
+ },
45
+ {
46
+ internalType: "uint256",
47
+ name: "requiredTokenOut",
48
+ type: "uint256",
49
+ },
50
+ ],
51
+ name: "SYInsufficientTokenOut",
52
+ type: "error",
53
+ },
54
+ {
55
+ inputs: [
56
+ {
57
+ internalType: "address",
58
+ name: "token",
59
+ type: "address",
60
+ },
61
+ ],
62
+ name: "SYInvalidTokenIn",
63
+ type: "error",
64
+ },
65
+ {
66
+ inputs: [
67
+ {
68
+ internalType: "address",
69
+ name: "token",
70
+ type: "address",
71
+ },
72
+ ],
73
+ name: "SYInvalidTokenOut",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: "SYZeroDeposit",
79
+ type: "error",
80
+ },
81
+ {
82
+ inputs: [],
83
+ name: "SYZeroRedeem",
84
+ type: "error",
85
+ },
86
+ {
87
+ inputs: [
88
+ {
89
+ internalType: "string",
90
+ name: "str",
91
+ type: "string",
92
+ },
93
+ ],
94
+ name: "StringTooLong",
95
+ type: "error",
96
+ },
97
+ {
98
+ anonymous: false,
99
+ inputs: [
100
+ {
101
+ indexed: true,
102
+ internalType: "address",
103
+ name: "owner",
104
+ type: "address",
105
+ },
106
+ {
107
+ indexed: true,
108
+ internalType: "address",
109
+ name: "spender",
110
+ type: "address",
111
+ },
112
+ {
113
+ indexed: false,
114
+ internalType: "uint256",
115
+ name: "value",
116
+ type: "uint256",
117
+ },
118
+ ],
119
+ name: "Approval",
120
+ type: "event",
121
+ },
122
+ {
123
+ anonymous: false,
124
+ inputs: [
125
+ {
126
+ indexed: true,
127
+ internalType: "address",
128
+ name: "user",
129
+ type: "address",
130
+ },
131
+ {
132
+ indexed: false,
133
+ internalType: "address[]",
134
+ name: "rewardTokens",
135
+ type: "address[]",
136
+ },
137
+ {
138
+ indexed: false,
139
+ internalType: "uint256[]",
140
+ name: "rewardAmounts",
141
+ type: "uint256[]",
142
+ },
143
+ ],
144
+ name: "ClaimRewards",
145
+ type: "event",
146
+ },
147
+ {
148
+ anonymous: false,
149
+ inputs: [
150
+ {
151
+ indexed: true,
152
+ internalType: "address",
153
+ name: "caller",
154
+ type: "address",
155
+ },
156
+ {
157
+ indexed: true,
158
+ internalType: "address",
159
+ name: "receiver",
160
+ type: "address",
161
+ },
162
+ {
163
+ indexed: true,
164
+ internalType: "address",
165
+ name: "tokenIn",
166
+ type: "address",
167
+ },
168
+ {
169
+ indexed: false,
170
+ internalType: "uint256",
171
+ name: "amountDeposited",
172
+ type: "uint256",
173
+ },
174
+ {
175
+ indexed: false,
176
+ internalType: "uint256",
177
+ name: "amountSyOut",
178
+ type: "uint256",
179
+ },
180
+ ],
181
+ name: "Deposit",
182
+ type: "event",
183
+ },
184
+ {
185
+ anonymous: false,
186
+ inputs: [],
187
+ name: "EIP712DomainChanged",
188
+ type: "event",
189
+ },
190
+ {
191
+ anonymous: false,
192
+ inputs: [
193
+ {
194
+ indexed: false,
195
+ internalType: "uint8",
196
+ name: "version",
197
+ type: "uint8",
198
+ },
199
+ ],
200
+ name: "Initialized",
201
+ type: "event",
202
+ },
203
+ {
204
+ anonymous: false,
205
+ inputs: [
206
+ {
207
+ indexed: true,
208
+ internalType: "address",
209
+ name: "previousOwner",
210
+ type: "address",
211
+ },
212
+ {
213
+ indexed: true,
214
+ internalType: "address",
215
+ name: "newOwner",
216
+ type: "address",
217
+ },
218
+ ],
219
+ name: "OwnershipTransferred",
220
+ type: "event",
221
+ },
222
+ {
223
+ anonymous: false,
224
+ inputs: [
225
+ {
226
+ indexed: false,
227
+ internalType: "address",
228
+ name: "account",
229
+ type: "address",
230
+ },
231
+ ],
232
+ name: "Paused",
233
+ type: "event",
234
+ },
235
+ {
236
+ anonymous: false,
237
+ inputs: [
238
+ {
239
+ indexed: true,
240
+ internalType: "address",
241
+ name: "caller",
242
+ type: "address",
243
+ },
244
+ {
245
+ indexed: true,
246
+ internalType: "address",
247
+ name: "receiver",
248
+ type: "address",
249
+ },
250
+ {
251
+ indexed: true,
252
+ internalType: "address",
253
+ name: "tokenOut",
254
+ type: "address",
255
+ },
256
+ {
257
+ indexed: false,
258
+ internalType: "uint256",
259
+ name: "amountSyToRedeem",
260
+ type: "uint256",
261
+ },
262
+ {
263
+ indexed: false,
264
+ internalType: "uint256",
265
+ name: "amountTokenOut",
266
+ type: "uint256",
267
+ },
268
+ ],
269
+ name: "Redeem",
270
+ type: "event",
271
+ },
272
+ {
273
+ anonymous: false,
274
+ inputs: [
275
+ {
276
+ indexed: true,
277
+ internalType: "address",
278
+ name: "from",
279
+ type: "address",
280
+ },
281
+ {
282
+ indexed: true,
283
+ internalType: "address",
284
+ name: "to",
285
+ type: "address",
286
+ },
287
+ {
288
+ indexed: false,
289
+ internalType: "uint256",
290
+ name: "value",
291
+ type: "uint256",
292
+ },
293
+ ],
294
+ name: "Transfer",
295
+ type: "event",
296
+ },
297
+ {
298
+ anonymous: false,
299
+ inputs: [
300
+ {
301
+ indexed: false,
302
+ internalType: "address",
303
+ name: "account",
304
+ type: "address",
305
+ },
306
+ ],
307
+ name: "Unpaused",
308
+ type: "event",
309
+ },
310
+ {
311
+ inputs: [],
312
+ name: "DOMAIN_SEPARATOR",
313
+ outputs: [
314
+ {
315
+ internalType: "bytes32",
316
+ name: "",
317
+ type: "bytes32",
318
+ },
319
+ ],
320
+ stateMutability: "view",
321
+ type: "function",
322
+ },
323
+ {
324
+ inputs: [],
325
+ name: "REFERRAL",
326
+ outputs: [
327
+ {
328
+ internalType: "address",
329
+ name: "",
330
+ type: "address",
331
+ },
332
+ ],
333
+ stateMutability: "view",
334
+ type: "function",
335
+ },
336
+ {
337
+ inputs: [],
338
+ name: "RSWETH",
339
+ outputs: [
340
+ {
341
+ internalType: "address",
342
+ name: "",
343
+ type: "address",
344
+ },
345
+ ],
346
+ stateMutability: "view",
347
+ type: "function",
348
+ },
349
+ {
350
+ inputs: [],
351
+ name: "SWELL_STAKING",
352
+ outputs: [
353
+ {
354
+ internalType: "address",
355
+ name: "",
356
+ type: "address",
357
+ },
358
+ ],
359
+ stateMutability: "view",
360
+ type: "function",
361
+ },
362
+ {
363
+ inputs: [
364
+ {
365
+ internalType: "address",
366
+ name: "",
367
+ type: "address",
368
+ },
369
+ ],
370
+ name: "accruedRewards",
371
+ outputs: [
372
+ {
373
+ internalType: "uint256[]",
374
+ name: "rewardAmounts",
375
+ type: "uint256[]",
376
+ },
377
+ ],
378
+ stateMutability: "view",
379
+ type: "function",
380
+ },
381
+ {
382
+ inputs: [
383
+ {
384
+ internalType: "address",
385
+ name: "owner",
386
+ type: "address",
387
+ },
388
+ {
389
+ internalType: "address",
390
+ name: "spender",
391
+ type: "address",
392
+ },
393
+ ],
394
+ name: "allowance",
395
+ outputs: [
396
+ {
397
+ internalType: "uint256",
398
+ name: "",
399
+ type: "uint256",
400
+ },
401
+ ],
402
+ stateMutability: "view",
403
+ type: "function",
404
+ },
405
+ {
406
+ inputs: [
407
+ {
408
+ internalType: "address",
409
+ name: "spender",
410
+ type: "address",
411
+ },
412
+ {
413
+ internalType: "uint256",
414
+ name: "amount",
415
+ type: "uint256",
416
+ },
417
+ ],
418
+ name: "approve",
419
+ outputs: [
420
+ {
421
+ internalType: "bool",
422
+ name: "",
423
+ type: "bool",
424
+ },
425
+ ],
426
+ stateMutability: "nonpayable",
427
+ type: "function",
428
+ },
429
+ {
430
+ inputs: [],
431
+ name: "assetInfo",
432
+ outputs: [
433
+ {
434
+ internalType: "enum IStandardizedYield.AssetType",
435
+ name: "assetType",
436
+ type: "uint8",
437
+ },
438
+ {
439
+ internalType: "address",
440
+ name: "assetAddress",
441
+ type: "address",
442
+ },
443
+ {
444
+ internalType: "uint8",
445
+ name: "assetDecimals",
446
+ type: "uint8",
447
+ },
448
+ ],
449
+ stateMutability: "view",
450
+ type: "function",
451
+ },
452
+ {
453
+ inputs: [
454
+ {
455
+ internalType: "address",
456
+ name: "account",
457
+ type: "address",
458
+ },
459
+ ],
460
+ name: "balanceOf",
461
+ outputs: [
462
+ {
463
+ internalType: "uint256",
464
+ name: "",
465
+ type: "uint256",
466
+ },
467
+ ],
468
+ stateMutability: "view",
469
+ type: "function",
470
+ },
471
+ {
472
+ inputs: [],
473
+ name: "claimOwnership",
474
+ outputs: [],
475
+ stateMutability: "nonpayable",
476
+ type: "function",
477
+ },
478
+ {
479
+ inputs: [
480
+ {
481
+ internalType: "address",
482
+ name: "",
483
+ type: "address",
484
+ },
485
+ ],
486
+ name: "claimRewards",
487
+ outputs: [
488
+ {
489
+ internalType: "uint256[]",
490
+ name: "rewardAmounts",
491
+ type: "uint256[]",
492
+ },
493
+ ],
494
+ stateMutability: "nonpayable",
495
+ type: "function",
496
+ },
497
+ {
498
+ inputs: [],
499
+ name: "decimals",
500
+ outputs: [
501
+ {
502
+ internalType: "uint8",
503
+ name: "",
504
+ type: "uint8",
505
+ },
506
+ ],
507
+ stateMutability: "view",
508
+ type: "function",
509
+ },
510
+ {
511
+ inputs: [
512
+ {
513
+ internalType: "address",
514
+ name: "receiver",
515
+ type: "address",
516
+ },
517
+ {
518
+ internalType: "address",
519
+ name: "tokenIn",
520
+ type: "address",
521
+ },
522
+ {
523
+ internalType: "uint256",
524
+ name: "amountTokenToDeposit",
525
+ type: "uint256",
526
+ },
527
+ {
528
+ internalType: "uint256",
529
+ name: "minSharesOut",
530
+ type: "uint256",
531
+ },
532
+ ],
533
+ name: "deposit",
534
+ outputs: [
535
+ {
536
+ internalType: "uint256",
537
+ name: "amountSharesOut",
538
+ type: "uint256",
539
+ },
540
+ ],
541
+ stateMutability: "payable",
542
+ type: "function",
543
+ },
544
+ {
545
+ inputs: [],
546
+ name: "eip712Domain",
547
+ outputs: [
548
+ {
549
+ internalType: "bytes1",
550
+ name: "fields",
551
+ type: "bytes1",
552
+ },
553
+ {
554
+ internalType: "string",
555
+ name: "name",
556
+ type: "string",
557
+ },
558
+ {
559
+ internalType: "string",
560
+ name: "version",
561
+ type: "string",
562
+ },
563
+ {
564
+ internalType: "uint256",
565
+ name: "chainId",
566
+ type: "uint256",
567
+ },
568
+ {
569
+ internalType: "address",
570
+ name: "verifyingContract",
571
+ type: "address",
572
+ },
573
+ {
574
+ internalType: "bytes32",
575
+ name: "salt",
576
+ type: "bytes32",
577
+ },
578
+ {
579
+ internalType: "uint256[]",
580
+ name: "extensions",
581
+ type: "uint256[]",
582
+ },
583
+ ],
584
+ stateMutability: "view",
585
+ type: "function",
586
+ },
587
+ {
588
+ inputs: [],
589
+ name: "exchangeRate",
590
+ outputs: [
591
+ {
592
+ internalType: "uint256",
593
+ name: "",
594
+ type: "uint256",
595
+ },
596
+ ],
597
+ stateMutability: "view",
598
+ type: "function",
599
+ },
600
+ {
601
+ inputs: [],
602
+ name: "getRewardTokens",
603
+ outputs: [
604
+ {
605
+ internalType: "address[]",
606
+ name: "rewardTokens",
607
+ type: "address[]",
608
+ },
609
+ ],
610
+ stateMutability: "view",
611
+ type: "function",
612
+ },
613
+ {
614
+ inputs: [],
615
+ name: "getTokensIn",
616
+ outputs: [
617
+ {
618
+ internalType: "address[]",
619
+ name: "",
620
+ type: "address[]",
621
+ },
622
+ ],
623
+ stateMutability: "view",
624
+ type: "function",
625
+ },
626
+ {
627
+ inputs: [],
628
+ name: "getTokensOut",
629
+ outputs: [
630
+ {
631
+ internalType: "address[]",
632
+ name: "",
633
+ type: "address[]",
634
+ },
635
+ ],
636
+ stateMutability: "view",
637
+ type: "function",
638
+ },
639
+ {
640
+ inputs: [
641
+ {
642
+ internalType: "address",
643
+ name: "token",
644
+ type: "address",
645
+ },
646
+ ],
647
+ name: "isValidTokenIn",
648
+ outputs: [
649
+ {
650
+ internalType: "bool",
651
+ name: "",
652
+ type: "bool",
653
+ },
654
+ ],
655
+ stateMutability: "view",
656
+ type: "function",
657
+ },
658
+ {
659
+ inputs: [
660
+ {
661
+ internalType: "address",
662
+ name: "token",
663
+ type: "address",
664
+ },
665
+ ],
666
+ name: "isValidTokenOut",
667
+ outputs: [
668
+ {
669
+ internalType: "bool",
670
+ name: "",
671
+ type: "bool",
672
+ },
673
+ ],
674
+ stateMutability: "view",
675
+ type: "function",
676
+ },
677
+ {
678
+ inputs: [],
679
+ name: "name",
680
+ outputs: [
681
+ {
682
+ internalType: "string",
683
+ name: "",
684
+ type: "string",
685
+ },
686
+ ],
687
+ stateMutability: "view",
688
+ type: "function",
689
+ },
690
+ {
691
+ inputs: [
692
+ {
693
+ internalType: "address",
694
+ name: "owner",
695
+ type: "address",
696
+ },
697
+ ],
698
+ name: "nonces",
699
+ outputs: [
700
+ {
701
+ internalType: "uint256",
702
+ name: "",
703
+ type: "uint256",
704
+ },
705
+ ],
706
+ stateMutability: "view",
707
+ type: "function",
708
+ },
709
+ {
710
+ inputs: [],
711
+ name: "owner",
712
+ outputs: [
713
+ {
714
+ internalType: "address",
715
+ name: "",
716
+ type: "address",
717
+ },
718
+ ],
719
+ stateMutability: "view",
720
+ type: "function",
721
+ },
722
+ {
723
+ inputs: [],
724
+ name: "pause",
725
+ outputs: [],
726
+ stateMutability: "nonpayable",
727
+ type: "function",
728
+ },
729
+ {
730
+ inputs: [],
731
+ name: "paused",
732
+ outputs: [
733
+ {
734
+ internalType: "bool",
735
+ name: "",
736
+ type: "bool",
737
+ },
738
+ ],
739
+ stateMutability: "view",
740
+ type: "function",
741
+ },
742
+ {
743
+ inputs: [],
744
+ name: "pendingOwner",
745
+ outputs: [
746
+ {
747
+ internalType: "address",
748
+ name: "",
749
+ type: "address",
750
+ },
751
+ ],
752
+ stateMutability: "view",
753
+ type: "function",
754
+ },
755
+ {
756
+ inputs: [
757
+ {
758
+ internalType: "address",
759
+ name: "owner",
760
+ type: "address",
761
+ },
762
+ {
763
+ internalType: "address",
764
+ name: "spender",
765
+ type: "address",
766
+ },
767
+ {
768
+ internalType: "uint256",
769
+ name: "value",
770
+ type: "uint256",
771
+ },
772
+ {
773
+ internalType: "uint256",
774
+ name: "deadline",
775
+ type: "uint256",
776
+ },
777
+ {
778
+ internalType: "uint8",
779
+ name: "v",
780
+ type: "uint8",
781
+ },
782
+ {
783
+ internalType: "bytes32",
784
+ name: "r",
785
+ type: "bytes32",
786
+ },
787
+ {
788
+ internalType: "bytes32",
789
+ name: "s",
790
+ type: "bytes32",
791
+ },
792
+ ],
793
+ name: "permit",
794
+ outputs: [],
795
+ stateMutability: "nonpayable",
796
+ type: "function",
797
+ },
798
+ {
799
+ inputs: [
800
+ {
801
+ internalType: "address",
802
+ name: "tokenIn",
803
+ type: "address",
804
+ },
805
+ {
806
+ internalType: "uint256",
807
+ name: "amountTokenToDeposit",
808
+ type: "uint256",
809
+ },
810
+ ],
811
+ name: "previewDeposit",
812
+ outputs: [
813
+ {
814
+ internalType: "uint256",
815
+ name: "amountSharesOut",
816
+ type: "uint256",
817
+ },
818
+ ],
819
+ stateMutability: "view",
820
+ type: "function",
821
+ },
822
+ {
823
+ inputs: [
824
+ {
825
+ internalType: "address",
826
+ name: "tokenOut",
827
+ type: "address",
828
+ },
829
+ {
830
+ internalType: "uint256",
831
+ name: "amountSharesToRedeem",
832
+ type: "uint256",
833
+ },
834
+ ],
835
+ name: "previewRedeem",
836
+ outputs: [
837
+ {
838
+ internalType: "uint256",
839
+ name: "amountTokenOut",
840
+ type: "uint256",
841
+ },
842
+ ],
843
+ stateMutability: "view",
844
+ type: "function",
845
+ },
846
+ {
847
+ inputs: [
848
+ {
849
+ internalType: "address",
850
+ name: "receiver",
851
+ type: "address",
852
+ },
853
+ {
854
+ internalType: "uint256",
855
+ name: "amountSharesToRedeem",
856
+ type: "uint256",
857
+ },
858
+ {
859
+ internalType: "address",
860
+ name: "tokenOut",
861
+ type: "address",
862
+ },
863
+ {
864
+ internalType: "uint256",
865
+ name: "minTokenOut",
866
+ type: "uint256",
867
+ },
868
+ {
869
+ internalType: "bool",
870
+ name: "burnFromInternalBalance",
871
+ type: "bool",
872
+ },
873
+ ],
874
+ name: "redeem",
875
+ outputs: [
876
+ {
877
+ internalType: "uint256",
878
+ name: "amountTokenOut",
879
+ type: "uint256",
880
+ },
881
+ ],
882
+ stateMutability: "nonpayable",
883
+ type: "function",
884
+ },
885
+ {
886
+ inputs: [],
887
+ name: "rewardIndexesCurrent",
888
+ outputs: [
889
+ {
890
+ internalType: "uint256[]",
891
+ name: "indexes",
892
+ type: "uint256[]",
893
+ },
894
+ ],
895
+ stateMutability: "nonpayable",
896
+ type: "function",
897
+ },
898
+ {
899
+ inputs: [],
900
+ name: "rewardIndexesStored",
901
+ outputs: [
902
+ {
903
+ internalType: "uint256[]",
904
+ name: "indexes",
905
+ type: "uint256[]",
906
+ },
907
+ ],
908
+ stateMutability: "view",
909
+ type: "function",
910
+ },
911
+ {
912
+ inputs: [],
913
+ name: "stakeToken",
914
+ outputs: [
915
+ {
916
+ internalType: "address",
917
+ name: "",
918
+ type: "address",
919
+ },
920
+ ],
921
+ stateMutability: "view",
922
+ type: "function",
923
+ },
924
+ {
925
+ inputs: [],
926
+ name: "symbol",
927
+ outputs: [
928
+ {
929
+ internalType: "string",
930
+ name: "",
931
+ type: "string",
932
+ },
933
+ ],
934
+ stateMutability: "view",
935
+ type: "function",
936
+ },
937
+ {
938
+ inputs: [],
939
+ name: "totalSupply",
940
+ outputs: [
941
+ {
942
+ internalType: "uint256",
943
+ name: "",
944
+ type: "uint256",
945
+ },
946
+ ],
947
+ stateMutability: "view",
948
+ type: "function",
949
+ },
950
+ {
951
+ inputs: [
952
+ {
953
+ internalType: "address",
954
+ name: "to",
955
+ type: "address",
956
+ },
957
+ {
958
+ internalType: "uint256",
959
+ name: "amount",
960
+ type: "uint256",
961
+ },
962
+ ],
963
+ name: "transfer",
964
+ outputs: [
965
+ {
966
+ internalType: "bool",
967
+ name: "",
968
+ type: "bool",
969
+ },
970
+ ],
971
+ stateMutability: "nonpayable",
972
+ type: "function",
973
+ },
974
+ {
975
+ inputs: [
976
+ {
977
+ internalType: "address",
978
+ name: "from",
979
+ type: "address",
980
+ },
981
+ {
982
+ internalType: "address",
983
+ name: "to",
984
+ type: "address",
985
+ },
986
+ {
987
+ internalType: "uint256",
988
+ name: "amount",
989
+ type: "uint256",
990
+ },
991
+ ],
992
+ name: "transferFrom",
993
+ outputs: [
994
+ {
995
+ internalType: "bool",
996
+ name: "",
997
+ type: "bool",
998
+ },
999
+ ],
1000
+ stateMutability: "nonpayable",
1001
+ type: "function",
1002
+ },
1003
+ {
1004
+ inputs: [
1005
+ {
1006
+ internalType: "address",
1007
+ name: "newOwner",
1008
+ type: "address",
1009
+ },
1010
+ {
1011
+ internalType: "bool",
1012
+ name: "direct",
1013
+ type: "bool",
1014
+ },
1015
+ {
1016
+ internalType: "bool",
1017
+ name: "renounce",
1018
+ type: "bool",
1019
+ },
1020
+ ],
1021
+ name: "transferOwnership",
1022
+ outputs: [],
1023
+ stateMutability: "nonpayable",
1024
+ type: "function",
1025
+ },
1026
+ {
1027
+ inputs: [],
1028
+ name: "unpause",
1029
+ outputs: [],
1030
+ stateMutability: "nonpayable",
1031
+ type: "function",
1032
+ },
1033
+ {
1034
+ inputs: [],
1035
+ name: "yieldToken",
1036
+ outputs: [
1037
+ {
1038
+ internalType: "address",
1039
+ name: "",
1040
+ type: "address",
1041
+ },
1042
+ ],
1043
+ stateMutability: "view",
1044
+ type: "function",
1045
+ },
1046
+ {
1047
+ stateMutability: "payable",
1048
+ type: "receive",
1049
+ },
1050
+ ];
1051
+
1052
+ const _bytecode =
1053
+ "0x6101c06040523480156200001257600080fd5b506040518060400160405280601a81526020017f5359205377656c6c204c32204465706f736974205273774554480000000000008152506040518060400160405280600c81526020016b0a6b25ae6ee64a4e6eecae8d60a31b81525073fae103dc9cf190ed75350761e95403b7b8afa6c08282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000ed91906200066a565b6040805180820190915260018152603160f81b6020820152839081848460036200011884826200073d565b5060046200012783826200073d565b5060ff166080525050600280546001600160f81b0316600160f81b1790556200015282600562000388565b610140526200016381600662000388565b61016052815160208084019190912061010052815190820120610120524660c052620001f36101005161012051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60a05250503060e0525050603a805460ff1916905550600954600160a81b900460ff16158080156200023257506009546001600160a01b90910460ff16105b80620002555750303b158015620002555750600954600160a01b900460ff166001145b620002be5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6009805460ff60a01b1916600160a01b1790558015620002ec576009805460ff60a81b1916600160a81b1790555b6001600160a01b0382166101805262000304620003c1565b80156200034d576009805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050506001600160a01b0382166101a052506200037f817338d43a6cb8da0e855a42fb6b0733a0498531d77462000444565b5050506200091a565b6000602083511015620003a857620003a08362000513565b9050620003bb565b81620003b584826200073d565b5060ff90505b92915050565b600954600160a81b900460ff16620004305760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620002b5565b600880546001600160a01b03191633179055565b6001600160a01b03821662000457575050565b6200046b60026001600160601b0362000809565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015620004c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004eb91906200083e565b10156200050f57620005008282600062000556565b6200050f828260001962000556565b5050565b600080829050601f8151111562000541578260405163305a27a960e01b8152600401620002b591906200087e565b80516200054e82620008b3565b179392505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691620005b49190620008d8565b6000604051808303816000865af19150503d8060008114620005f3576040519150601f19603f3d011682016040523d82523d6000602084013e620005f8565b606091505b50915091508180156200062657508051158062000626575080806020019051810190620006269190620008f6565b620006635760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401620002b5565b5050505050565b6000602082840312156200067d57600080fd5b815160ff811681146200068f57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006c157607f821691505b602082108103620006e257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000738576000816000526020600020601f850160051c81016020861015620007135750805b601f850160051c820191505b8181101562000734578281556001016200071f565b5050505b505050565b81516001600160401b0381111562000759576200075962000696565b62000771816200076a8454620006ac565b84620006e8565b602080601f831160018114620007a95760008415620007905750858301515b600019600386901b1c1916600185901b17855562000734565b600085815260208120601f198616915b82811015620007da57888601518255948401946001909101908401620007b9565b5085821015620007f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006001600160601b03838116806200083257634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000602082840312156200085157600080fd5b5051919050565b60005b83811015620008755781810151838201526020016200085b565b50506000910152565b60208152600082518060208401526200089f81604085016020870162000858565b601f01601f19169190910160400192915050565b80516020808301519190811015620006e25760001960209190910360031b1b16919050565b60008251620008ec81846020870162000858565b9190910192915050565b6000602082840312156200090957600080fd5b815180151581146200068f57600080fd5b60805160a05160c05160e05161010051610120516101405161016051610180516101a051612d7c620009ce600039600081816103c30152818161079a01528181610a5901528181610dba0152818161114201528181611376015281816113e901528181611d130152611e650152600061047201526000610e7301526000610e4801526000611acb01526000611aa3015260006119fe01526000611a2801526000611a52015260006103290152612d7c6000f3fe6080604052600436106101cf5760003560e01c806306fdde03146101db578063071bc3c914610206578063078dfbe714610228578063095ea7b31461024a578063128fced11461027a57806318160ddd146102a757806320e8c565146102cf578063213cae63146102e257806323b872dd146102f7578063313ce567146103175780633644e5151461035d5780633ba0b9a9146103725780633f4ba83a146103875780634e71e0c81461039c57806351ed6a30146103b15780635c975abb146103f257806370a082311461040a578063769f8e5d1461044057806376d5de8514610460578063784367d6146104945780637ecebe00146104b45780638456cb59146104d457806384b0196e146104e95780638da5cb5b1461051157806395d89b4114610531578063a40bee5014610546578063a9059cbb14610567578063b8f82b2614610587578063c455a355146105a7578063c4f59f9b146105cf578063c63568c7146105f0578063cbe52ae314610618578063d505accf14610638578063da88ecb414610658578063dd62ed3e14610679578063e30c397814610699578063ef5cfb8c1461027a578063f8b2f99114610658578063fa5a4f06146106b9578063fb3a4998146106d957600080fd5b366101d657005b600080fd5b3480156101e757600080fd5b506101f0610701565b6040516101fd919061274c565b60405180910390f35b34801561021257600080fd5b5061021b610793565b6040516101fd919061275f565b34801561023457600080fd5b506102486102433660046127d6565b6107c3565b005b34801561025657600080fd5b5061026a61026536600461281f565b6108c9565b60405190151581526020016101fd565b34801561028657600080fd5b5061029a610295366004612849565b6108e3565b6040516101fd91906128a0565b3480156102b357600080fd5b506002546001600160f81b03165b6040519081526020016101fd565b6102c16102dd3660046128b3565b6108fe565b3480156102ee57600080fd5b5061021b610a47565b34801561030357600080fd5b5061026a6103123660046128f5565b610a83565b34801561032357600080fd5b5061034b7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101fd565b34801561036957600080fd5b506102c1610b01565b34801561037e57600080fd5b506102c1610b0b565b34801561039357600080fd5b50610248610b83565b3480156103a857600080fd5b50610248610bb7565b3480156103bd57600080fd5b506103e57f000000000000000000000000000000000000000000000000000000000000000081565b6040516101fd9190612931565b3480156103fe57600080fd5b50603a5460ff1661026a565b34801561041657600080fd5b506102c1610425366004612849565b6001600160a01b031660009081526020819052604090205490565b34801561044c57600080fd5b506102c161045b366004612945565b610c63565b34801561046c57600080fd5b506103e57f000000000000000000000000000000000000000000000000000000000000000081565b3480156104a057600080fd5b5061026a6104af366004612849565b610db8565b3480156104c057600080fd5b506102c16104cf366004612849565b610dea565b3480156104e057600080fd5b50610248610e08565b3480156104f557600080fd5b506104fe610e3a565b6040516101fd97969594939291906129a0565b34801561051d57600080fd5b506008546103e5906001600160a01b031681565b34801561053d57600080fd5b506101f0610ec3565b34801561055257600080fd5b5060008060126040516101fd93929190612a26565b34801561057357600080fd5b5061026a61058236600461281f565b610ed2565b34801561059357600080fd5b506102c16105a236600461281f565b610f44565b3480156105b357600080fd5b506103e57338d43a6cb8da0e855a42fb6b0733a0498531d77481565b3480156105db57600080fd5b5060408051600081526020810190915261021b565b3480156105fc57600080fd5b506103e5738119ec16f0573b7dac7c0cb94eb504fb32456ee181565b34801561062457600080fd5b506102c161063336600461281f565b610f7f565b34801561064457600080fd5b50610248610653366004612a68565b610faf565b34801561066457600080fd5b5060408051600081526020810190915261029a565b34801561068557600080fd5b506102c1610694366004612adb565b611113565b3480156106a557600080fd5b506009546103e5906001600160a01b031681565b3480156106c557600080fd5b5061026a6106d4366004612849565b61113e565b3480156106e557600080fd5b506103e573fae103dc9cf190ed75350761e95403b7b8afa6c081565b60606003805461071090612b0e565b80601f016020809104026020016040519081016040528092919081815260200182805461073c90612b0e565b80156107895780601f1061075e57610100808354040283529160200191610789565b820191906000526020600020905b81548152906001019060200180831161076c57829003601f168201915b5050505050905090565b60606107be7f000000000000000000000000000000000000000000000000000000000000000061118b565b905090565b6008546001600160a01b031633146107f65760405162461bcd60e51b81526004016107ed90612b42565b60405180910390fd5b81156108a8576001600160a01b0383161515806108105750805b6108545760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016107ed565b6008546040516001600160a01b03808616921690600080516020612d0783398151915290600090a3600880546001600160a01b0385166001600160a01b031991821617909155600980549091169055505050565b600980546001600160a01b0319166001600160a01b0385161790555b505050565b6000336108d78185856111e6565b60019150505b92915050565b604080516000808252602082019092526060915b5092915050565b600254600090600119600160f81b90910460ff160161092f5760405162461bcd60e51b81526004016107ed90612b8d565b600280546001600160f81b0316600160f91b17905561094d8461113e565b61096c57836040516315d57ce360e31b81526004016107ed9190612931565b8260000361098d57604051630a907f2f60e41b815260040160405180910390fd5b61099884338561130b565b6109a28484611372565b9050818110156109c9578082604051635e38f95d60e11b81526004016107ed929190612bc4565b6109d3858261144e565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610a22929190612bc4565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b60606107be610a54611564565b610a7d7f000000000000000000000000000000000000000000000000000000000000000061118b565b90611570565b600254600090600119600160f81b90910460ff1601610ab45760405162461bcd60e51b81526004016107ed90612b8d565b600280546001600160f81b0316600160f91b17905533610ad5858285611755565b610ae08585856117cf565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b60006107be6119f1565b600073fae103dc9cf190ed75350761e95403b7b8afa6c06001600160a01b031663679aefce6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be9190612bd2565b6008546001600160a01b03163314610bad5760405162461bcd60e51b81526004016107ed90612b42565b610bb5611b1c565b565b6009546001600160a01b0316338114610c125760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016107ed565b6008546040516001600160a01b03808416921690600080516020612d0783398151915290600090a3600880546001600160a01b039092166001600160a01b0319928316179055600980549091169055565b600254600090600119600160f81b90910460ff1601610c945760405162461bcd60e51b81526004016107ed90612b8d565b600280546001600160f81b0316600160f91b179055610cb284610db8565b610cd157836040516388a5056160e01b81526004016107ed9190612931565b84600003610cf25760405163c3d83b0760e01b815260040160405180910390fd5b8115610d0757610d023086611b68565b610d11565b610d113386611b68565b610d1c868587611ce1565b905082811015610d435780836040516305ff726560e51b81526004016107ed929190612bc4565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610d92929190612bc4565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6001600160a01b0381166000908152600760205260408120546108dd565b6008546001600160a01b03163314610e325760405162461bcd60e51b81526004016107ed90612b42565b610bb5611d79565b600060608082808083610e6e7f00000000000000000000000000000000000000000000000000000000000000006005611db6565b610e997f00000000000000000000000000000000000000000000000000000000000000006006611db6565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461071090612b0e565b600254600090600119600160f81b90910460ff1601610f035760405162461bcd60e51b81526004016107ed90612b8d565b600280546001600160f81b0316600160f91b17905533610f248185856117cf565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6000610f4f8361113e565b610f6e57826040516315d57ce360e31b81526004016107ed9190612931565b610f788383611e61565b9392505050565b6000610f8a83610db8565b610fa957826040516388a5056160e01b81526004016107ed9190612931565b81610f78565b83421115610fff5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016107ed565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c988888861102e8c611ead565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061108982611ed5565b9050600061109982878787611f02565b9050896001600160a01b0316816001600160a01b0316146110fc5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016107ed565b6111078a8a8a6111e6565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614806108dd57506001600160a01b038216156108dd565b6040805160018082528183019092526060916020808301908036833701905050905081816000815181106111c1576111c1612beb565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b6001600160a01b0383166112485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107ed565b6001600160a01b0382166112a95760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107ed565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316611357578034146108c45760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016107ed565b80156108c4576108c46001600160a01b038416833084611f2c565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316146113ba576113b78383611f86565b91505b604051633d14d1b760e21b81527338d43a6cb8da0e855a42fb6b0733a0498531d7749063f45346dc90611415907f00000000000000000000000000000000000000000000000000000000000000009086903090600401612c01565b600060405180830381600087803b15801561142f57600080fd5b505af1158015611443573d6000803e3d6000fd5b509395945050505050565b6001600160a01b0382166114a45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107ed565b6114b060008383612050565b6114b981612058565b600280546000906114d49084906001600160f81b0316612c3a565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b03168152602001908152602001600020600082825461152c9190612c5a565b90915550506040518181526001600160a01b03831690600090600080516020612d278339815191529060200160405180910390a35050565b60606107be600061118b565b606060008083516001600160401b0381111561158e5761158e612b77565b6040519080825280602002602001820160405280156115b7578160200160208202803683370190505b50905060005b8451811015611622576115e9868683815181106115dc576115dc612beb565b6020026020010151612072565b61161a578280600101935050600182828151811061160957611609612beb565b911515602092830291909101909101525b6001016115bd565b50818551016001600160401b0381111561163e5761163e612b77565b604051908082528060200260200182016040528015611667578160200160208202803683370190505b50925060005b85518110156116c25785818151811061168857611688612beb565b60200260200101518482815181106116a2576116a2612beb565b6001600160a01b039092166020928302919091019091015260010161166d565b50845160005b855181101561174b578281815181106116e3576116e3612beb565b6020026020010151156117435785818151811061170257611702612beb565b602002602001015185838060010194508151811061172257611722612beb565b60200260200101906001600160a01b031690816001600160a01b0316815250505b6001016116c8565b5050505092915050565b60006117618484611113565b905060001981146117c957818110156117bc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107ed565b6117c984848484036111e6565b50505050565b6001600160a01b0383166118335760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107ed565b6001600160a01b0382166118955760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107ed565b816001600160a01b0316836001600160a01b0316036118f05760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016107ed565b6118fb838383612050565b6001600160a01b038316600090815260208190526040902054818110156119735760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107ed565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906119aa908490612c5a565b92505081905550826001600160a01b0316846001600160a01b0316600080516020612d27833981519152846040516119e491815260200190565b60405180910390a36117c9565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015611a4a57507f000000000000000000000000000000000000000000000000000000000000000046145b15611a7457507f000000000000000000000000000000000000000000000000000000000000000090565b6107be604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b611b246120d1565b603a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051611b5e9190612931565b60405180910390a1565b6001600160a01b038216611bc85760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107ed565b611bd482600083612050565b6001600160a01b03821660009081526020819052604090205481811015611c485760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107ed565b6001600160a01b03831660009081526020819052604090208282039055611c6e82612058565b60028054600090611c899084906001600160f81b0316612c6d565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020612d27833981519152846040516112fe91815260200190565b604051631a4ca37b60e21b81526000907338d43a6cb8da0e855a42fb6b0733a0498531d774906369328dec90611d3f907f00000000000000000000000000000000000000000000000000000000000000009086908990600401612c01565b600060405180830381600087803b158015611d5957600080fd5b505af1158015611d6d573d6000803e3d6000fd5b50939695505050505050565b611d8161211a565b603a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611b513390565b606060ff8314611dd057611dc983612160565b90506108dd565b818054611ddc90612b0e565b80601f0160208091040260200160405190810160405280929190818152602001828054611e0890612b0e565b8015611e555780601f10611e2a57610100808354040283529160200191611e55565b820191906000526020600020905b815481529060010190602001808311611e3857829003601f168201915b505050505090506108dd565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603611ea35750806108dd565b610f78838361219f565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b60006108dd611ee26119f1565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000611f1387878787612221565b91509150611f20816122db565b5090505b949350505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526117c9908590612423565b600080611fa673fae103dc9cf190ed75350761e95403b7b8afa6c06124f8565b60405163c18d7cb760e01b815290915073fae103dc9cf190ed75350761e95403b7b8afa6c09063c18d7cb7908590611ff690738119ec16f0573b7dac7c0cb94eb504fb32456ee190600401612931565b6000604051808303818588803b15801561200f57600080fd5b505af1158015612023573d6000803e3d6000fd5b50505050508061204673fae103dc9cf190ed75350761e95403b7b8afa6c06124f8565b611f249190612c8d565b6108c461211a565b60006001600160f81b0382111561206e57600080fd5b5090565b8151600090815b818110156120c657836001600160a01b031685828151811061209d5761209d612beb565b60200260200101516001600160a01b0316036120be576001925050506108dd565b600101612079565b506000949350505050565b603a5460ff16610bb55760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107ed565b603a5460ff1615610bb55760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107ed565b6060600061216d83612582565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000610f7873fae103dc9cf190ed75350761e95403b7b8afa6c06001600160a01b031663679aefce6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221a9190612bd2565b83906125aa565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b0383111561224e57506000905060036122d2565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156122a2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166122cb576000600192509250506122d2565b9150600090505b94509492505050565b60008160048111156122ef576122ef612a10565b036122f75750565b600181600481111561230b5761230b612a10565b036123535760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016107ed565b600281600481111561236757612367612a10565b036123b45760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107ed565b60038160048111156123c8576123c8612a10565b036124205760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107ed565b50565b6000612478826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125d99092919063ffffffff16565b90508051600014806124995750808060200190518101906124999190612ca0565b6108c45760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107ed565b60006001600160a01b0382161561257b576040516370a0823160e01b81526001600160a01b038316906370a0823190612535903090600401612931565b602060405180830381865afa158015612552573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125769190612bd2565b6108dd565b4792915050565b600060ff8216601f8111156108dd57604051632cd44ac360e21b815260040160405180910390fd5b6000806125bf670de0b6b3a764000085612cbd565b90508281816125d0576125d0612cd4565b04949350505050565b6060611f24848460008585600080866001600160a01b031685876040516126009190612cea565b60006040518083038185875af1925050503d806000811461263d576040519150601f19603f3d011682016040523d82523d6000602084013e612642565b606091505b50915091506126538783838761265e565b979650505050505050565b606083156126cd5782516000036126c6576001600160a01b0385163b6126c65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107ed565b5081611f24565b611f2483838151156126e25781518083602001fd5b8060405162461bcd60e51b81526004016107ed919061274c565b60005b838110156127175781810151838201526020016126ff565b50506000910152565b600081518084526127388160208601602086016126fc565b601f01601f19169290920160200192915050565b602081526000610f786020830184612720565b6020808252825182820181905260009190848201906040850190845b818110156127a05783516001600160a01b03168352928401929184019160010161277b565b50909695505050505050565b80356001600160a01b03811681146127c357600080fd5b919050565b801515811461242057600080fd5b6000806000606084860312156127eb57600080fd5b6127f4846127ac565b92506020840135612804816127c8565b91506040840135612814816127c8565b809150509250925092565b6000806040838503121561283257600080fd5b61283b836127ac565b946020939093013593505050565b60006020828403121561285b57600080fd5b610f78826127ac565b60008151808452602080850194506020840160005b8381101561289557815187529582019590820190600101612879565b509495945050505050565b602081526000610f786020830184612864565b600080600080608085870312156128c957600080fd5b6128d2856127ac565b93506128e0602086016127ac565b93969395505050506040820135916060013590565b60008060006060848603121561290a57600080fd5b612913846127ac565b9250612921602085016127ac565b9150604084013590509250925092565b6001600160a01b0391909116815260200190565b600080600080600060a0868803121561295d57600080fd5b612966866127ac565b94506020860135935061297b604087016127ac565b9250606086013591506080860135612992816127c8565b809150509295509295909350565b60ff60f81b8816815260e0602082015260006129bf60e0830189612720565b82810360408401526129d18189612720565b606084018890526001600160a01b038716608085015260a0840186905283810360c08501529050612a028185612864565b9a9950505050505050505050565b634e487b7160e01b600052602160045260246000fd5b6060810160028510612a4857634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b600080600080600080600060e0888a031215612a8357600080fd5b612a8c886127ac565b9650612a9a602089016127ac565b95506040880135945060608801359350608088013560ff81168114612abe57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612aee57600080fd5b612af7836127ac565b9150612b05602084016127ac565b90509250929050565b600181811c90821680612b2257607f821691505b602082108103611ecf57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b600060208284031215612be457600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0393841681526020810192909252909116604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6001600160f81b038181168382160190808211156108f7576108f7612c24565b808201808211156108dd576108dd612c24565b6001600160f81b038281168282160390808211156108f7576108f7612c24565b818103818111156108dd576108dd612c24565b600060208284031215612cb257600080fd5b8151610f78816127c8565b80820281158282048414176108dd576108dd612c24565b634e487b7160e01b600052601260045260246000fd5b60008251612cfc8184602087016126fc565b919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220426d2c6f82b115e99f6942c27a4e64016b37977b43a06d7176310370b5c3ac1164736f6c63430008170033";
1054
+
1055
+ type PendleSwellRswETHStakingSYConstructorParams =
1056
+ | [signer?: Signer]
1057
+ | ConstructorParameters<typeof ContractFactory>;
1058
+
1059
+ const isSuperArgs = (
1060
+ xs: PendleSwellRswETHStakingSYConstructorParams
1061
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1062
+
1063
+ export class PendleSwellRswETHStakingSY__factory extends ContractFactory {
1064
+ constructor(...args: PendleSwellRswETHStakingSYConstructorParams) {
1065
+ if (isSuperArgs(args)) {
1066
+ super(...args);
1067
+ } else {
1068
+ super(_abi, _bytecode, args[0]);
1069
+ }
1070
+ this.contractName = "PendleSwellRswETHStakingSY";
1071
+ }
1072
+
1073
+ deploy(
1074
+ overrides?: Overrides & { from?: string | Promise<string> }
1075
+ ): Promise<PendleSwellRswETHStakingSY> {
1076
+ return super.deploy(overrides || {}) as Promise<PendleSwellRswETHStakingSY>;
1077
+ }
1078
+ getDeployTransaction(
1079
+ overrides?: Overrides & { from?: string | Promise<string> }
1080
+ ): TransactionRequest {
1081
+ return super.getDeployTransaction(overrides || {});
1082
+ }
1083
+ attach(address: string): PendleSwellRswETHStakingSY {
1084
+ return super.attach(address) as PendleSwellRswETHStakingSY;
1085
+ }
1086
+ connect(signer: Signer): PendleSwellRswETHStakingSY__factory {
1087
+ return super.connect(signer) as PendleSwellRswETHStakingSY__factory;
1088
+ }
1089
+ static readonly contractName: "PendleSwellRswETHStakingSY";
1090
+ public readonly contractName: "PendleSwellRswETHStakingSY";
1091
+ static readonly bytecode = _bytecode;
1092
+ static readonly abi = _abi;
1093
+ static createInterface(): PendleSwellRswETHStakingSYInterface {
1094
+ return new utils.Interface(_abi) as PendleSwellRswETHStakingSYInterface;
1095
+ }
1096
+ static connect(
1097
+ address: string,
1098
+ signerOrProvider: Signer | Provider
1099
+ ): PendleSwellRswETHStakingSY {
1100
+ return new Contract(
1101
+ address,
1102
+ _abi,
1103
+ signerOrProvider
1104
+ ) as PendleSwellRswETHStakingSY;
1105
+ }
1106
+ }