@pendle/core-v2 5.0.0 → 5.0.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 (78) hide show
  1. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/Market/v1/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  3. package/build/artifacts/contracts/core/Market/v2/PendleGaugeV2.sol/PendleGaugeV2.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/Market/v2/PendleMarketV2.sol/PendleMarketV2.dbg.json +1 -1
  5. package/build/artifacts/contracts/core/Market/v3/PendleMarketV3.sol/PendleMarketV3.dbg.json +1 -1
  6. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  7. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  8. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewardsUpg.sol/SYBaseWithRewardsUpg.dbg.json +1 -1
  9. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleAaveV3WithRewardsSY.sol/PendleAaveV3WithRewardsSY.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraEthxBbAWethSY.sol/AuraEthxBbAWethSY.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraSwEthBbAWethSYV2.sol/AuraSwEthBbAWethSYV2.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/AuraWethVethSYUpg.sol/AuraWethVethSYUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraBbAWethSwethSY.sol/PendleAuraBbAWethSwethSY.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethAnkrethSYV2.sol/PendleAuraWethAnkrethSYV2.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethRocketEthSYV2.sol/PendleAuraWethRocketEthSYV2.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethStafiEthSY.sol/PendleAuraWethStafiEthSY.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWethWstethSYV2.sol/PendleAuraWethWstethSYV2.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV2.sol/PendleAuraBalancerStableLPSYV2.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/base/PendleAuraBalancerStableLPSYV3Upg.sol/PendleAuraBalancerStableLPSYV3Upg.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveFraxUsdcSY.sol/PendleCurveFraxUsdcSY.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleCurveUsdd3CrvSY.sol/PendleCurveUsdd3CrvSY.dbg.json +1 -1
  25. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol/PendleSUSDEMantleSY.dbg.json +1 -1
  27. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEL2SY.sol/PendleUSDEL2SY.dbg.json +1 -1
  29. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDESY.sol/PendleUSDESY.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGMV2TokenSY.sol/PendleGMV2TokenSY.dbg.json +1 -1
  31. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/StandardizedYield/implementations/HMX/PendleHlpSY.sol/PendleHlpSY.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/StandardizedYield/implementations/Kyber/PendleKyberElasticSYUpg.sol/PendleKyberElasticSYUpg.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/StandardizedYield/implementations/MUX/PendleMlpSY.sol/PendleMlpSY.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleAmphorWstETHVaultSY.sol/PendleAmphorWstETHVaultSY.dbg.json +4 -0
  36. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleAmphorWstETHVaultSY.sol/PendleAmphorWstETHVaultSY.json +1010 -0
  37. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC20SYUpg.sol/PendleMellowVaultERC20SYUpg.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC20SYUpg.sol/PendleMellowVaultERC20SYUpg.json +2 -2
  39. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC4626SYUpg.sol/PendleMellowVaultERC4626SYUpg.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC4626SYUpg.sol/PendleMellowVaultERC4626SYUpg.json +2 -2
  41. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleStargateLPSY.sol/PendleStargateLPSY.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveSY.sol/PendleSiloWithIncentiveSY.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldContractFactoryV2.sol/PendleYieldContractFactoryV2.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/YieldContractsV2/PendleYieldTokenV2.sol/PendleYieldTokenV2.dbg.json +1 -1
  46. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  47. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  48. package/contracts/core/StandardizedYield/implementations/Mellow/PendleAmphorWstETHVaultSY.sol +77 -0
  49. package/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC20SYUpg.sol +1 -1
  50. package/contracts/core/StandardizedYield/implementations/Mellow/PendleMellowVaultERC4626SYUpg.sol +1 -1
  51. package/contracts/router/Reflector.sol +33 -1
  52. package/deployments/1-core.json +2 -2
  53. package/deployments/1-markets/AMPHRLRT-MAINNET-SEP2024.json +14 -0
  54. package/deployments/1-markets/MELLOW-AMPHRETH-MAINNET-SEP2024.json +14 -0
  55. package/deployments/1-markets/MELLOW-RE7LRT-MAINNET-SEP2024.json +14 -0
  56. package/deployments/1-markets/MELLOW-RSTETH-MAINNET-SEP2024.json +14 -0
  57. package/deployments/1-markets/MELLOW-STEAKLRT-MAINNET-SEP2024.json +14 -0
  58. package/deployments/1-markets/RSWETH-SWELL-STAKING-MAINNET-SEP2024.json +15 -0
  59. package/deployments/1-markets/SUSDE-MAINNET-DEC2024.json +14 -0
  60. package/deployments/1-markets/SUSDE-MAINNET-OCT2024.json +14 -0
  61. package/deployments/1-markets/USDE-MAINNET-DEC2024.json +14 -0
  62. package/deployments/1-markets/USDE-MAINNET-OCT2024.json +14 -0
  63. package/deployments/10-core.json +2 -2
  64. package/deployments/42161-core.json +2 -2
  65. package/deployments/42161-markets/UNIETH-ARBITRUM-DEC2024.json +15 -0
  66. package/deployments/5000-core.json +2 -2
  67. package/deployments/5000-markets/USDE-MANTLE-DEC2024.json +14 -0
  68. package/deployments/56-core.json +2 -2
  69. package/package.json +1 -1
  70. package/typechain-types/PendleAmphorWstETHVaultSY.ts +1281 -0
  71. package/typechain-types/factories/PendleAmphorWstETHVaultSY__factory.ts +1067 -0
  72. package/typechain-types/factories/PendleMellowVaultERC20SYUpg__factory.ts +1 -1
  73. package/typechain-types/factories/PendleMellowVaultERC4626SYUpg__factory.ts +1 -1
  74. package/typechain-types/factories/Reflector__factory.ts +1 -1
  75. package/typechain-types/hardhat.d.ts +9 -0
  76. package/typechain-types/index.ts +2 -0
  77. package/contracts/core/RewardManager/diff.fish +0 -0
  78. /package/deployments/5000-markets/{USD-MANTLE-JUL2024.json → USDE-MANTLE-JUL2024.json} +0 -0
@@ -0,0 +1,1067 @@
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
+ PendleAmphorWstETHVaultSY,
8
+ PendleAmphorWstETHVaultSYInterface,
9
+ } from "../PendleAmphorWstETHVaultSY";
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: "VAULT",
326
+ outputs: [
327
+ {
328
+ internalType: "address",
329
+ name: "",
330
+ type: "address",
331
+ },
332
+ ],
333
+ stateMutability: "view",
334
+ type: "function",
335
+ },
336
+ {
337
+ inputs: [
338
+ {
339
+ internalType: "address",
340
+ name: "",
341
+ type: "address",
342
+ },
343
+ ],
344
+ name: "accruedRewards",
345
+ outputs: [
346
+ {
347
+ internalType: "uint256[]",
348
+ name: "rewardAmounts",
349
+ type: "uint256[]",
350
+ },
351
+ ],
352
+ stateMutability: "view",
353
+ type: "function",
354
+ },
355
+ {
356
+ inputs: [
357
+ {
358
+ internalType: "address",
359
+ name: "owner",
360
+ type: "address",
361
+ },
362
+ {
363
+ internalType: "address",
364
+ name: "spender",
365
+ type: "address",
366
+ },
367
+ ],
368
+ name: "allowance",
369
+ outputs: [
370
+ {
371
+ internalType: "uint256",
372
+ name: "",
373
+ type: "uint256",
374
+ },
375
+ ],
376
+ stateMutability: "view",
377
+ type: "function",
378
+ },
379
+ {
380
+ inputs: [
381
+ {
382
+ internalType: "address",
383
+ name: "spender",
384
+ type: "address",
385
+ },
386
+ {
387
+ internalType: "uint256",
388
+ name: "amount",
389
+ type: "uint256",
390
+ },
391
+ ],
392
+ name: "approve",
393
+ outputs: [
394
+ {
395
+ internalType: "bool",
396
+ name: "",
397
+ type: "bool",
398
+ },
399
+ ],
400
+ stateMutability: "nonpayable",
401
+ type: "function",
402
+ },
403
+ {
404
+ inputs: [],
405
+ name: "assetInfo",
406
+ outputs: [
407
+ {
408
+ internalType: "enum IStandardizedYield.AssetType",
409
+ name: "assetType",
410
+ type: "uint8",
411
+ },
412
+ {
413
+ internalType: "address",
414
+ name: "assetAddress",
415
+ type: "address",
416
+ },
417
+ {
418
+ internalType: "uint8",
419
+ name: "assetDecimals",
420
+ type: "uint8",
421
+ },
422
+ ],
423
+ stateMutability: "pure",
424
+ type: "function",
425
+ },
426
+ {
427
+ inputs: [
428
+ {
429
+ internalType: "address",
430
+ name: "account",
431
+ type: "address",
432
+ },
433
+ ],
434
+ name: "balanceOf",
435
+ outputs: [
436
+ {
437
+ internalType: "uint256",
438
+ name: "",
439
+ type: "uint256",
440
+ },
441
+ ],
442
+ stateMutability: "view",
443
+ type: "function",
444
+ },
445
+ {
446
+ inputs: [],
447
+ name: "claimOwnership",
448
+ outputs: [],
449
+ stateMutability: "nonpayable",
450
+ type: "function",
451
+ },
452
+ {
453
+ inputs: [
454
+ {
455
+ internalType: "address",
456
+ name: "",
457
+ type: "address",
458
+ },
459
+ ],
460
+ name: "claimRewards",
461
+ outputs: [
462
+ {
463
+ internalType: "uint256[]",
464
+ name: "rewardAmounts",
465
+ type: "uint256[]",
466
+ },
467
+ ],
468
+ stateMutability: "nonpayable",
469
+ type: "function",
470
+ },
471
+ {
472
+ inputs: [],
473
+ name: "decimals",
474
+ outputs: [
475
+ {
476
+ internalType: "uint8",
477
+ name: "",
478
+ type: "uint8",
479
+ },
480
+ ],
481
+ stateMutability: "view",
482
+ type: "function",
483
+ },
484
+ {
485
+ inputs: [
486
+ {
487
+ internalType: "address",
488
+ name: "receiver",
489
+ type: "address",
490
+ },
491
+ {
492
+ internalType: "address",
493
+ name: "tokenIn",
494
+ type: "address",
495
+ },
496
+ {
497
+ internalType: "uint256",
498
+ name: "amountTokenToDeposit",
499
+ type: "uint256",
500
+ },
501
+ {
502
+ internalType: "uint256",
503
+ name: "minSharesOut",
504
+ type: "uint256",
505
+ },
506
+ ],
507
+ name: "deposit",
508
+ outputs: [
509
+ {
510
+ internalType: "uint256",
511
+ name: "amountSharesOut",
512
+ type: "uint256",
513
+ },
514
+ ],
515
+ stateMutability: "payable",
516
+ type: "function",
517
+ },
518
+ {
519
+ inputs: [],
520
+ name: "eip712Domain",
521
+ outputs: [
522
+ {
523
+ internalType: "bytes1",
524
+ name: "fields",
525
+ type: "bytes1",
526
+ },
527
+ {
528
+ internalType: "string",
529
+ name: "name",
530
+ type: "string",
531
+ },
532
+ {
533
+ internalType: "string",
534
+ name: "version",
535
+ type: "string",
536
+ },
537
+ {
538
+ internalType: "uint256",
539
+ name: "chainId",
540
+ type: "uint256",
541
+ },
542
+ {
543
+ internalType: "address",
544
+ name: "verifyingContract",
545
+ type: "address",
546
+ },
547
+ {
548
+ internalType: "bytes32",
549
+ name: "salt",
550
+ type: "bytes32",
551
+ },
552
+ {
553
+ internalType: "uint256[]",
554
+ name: "extensions",
555
+ type: "uint256[]",
556
+ },
557
+ ],
558
+ stateMutability: "view",
559
+ type: "function",
560
+ },
561
+ {
562
+ inputs: [],
563
+ name: "exchangeRate",
564
+ outputs: [
565
+ {
566
+ internalType: "uint256",
567
+ name: "",
568
+ type: "uint256",
569
+ },
570
+ ],
571
+ stateMutability: "view",
572
+ type: "function",
573
+ },
574
+ {
575
+ inputs: [],
576
+ name: "getRewardTokens",
577
+ outputs: [
578
+ {
579
+ internalType: "address[]",
580
+ name: "rewardTokens",
581
+ type: "address[]",
582
+ },
583
+ ],
584
+ stateMutability: "view",
585
+ type: "function",
586
+ },
587
+ {
588
+ inputs: [],
589
+ name: "getTokensIn",
590
+ outputs: [
591
+ {
592
+ internalType: "address[]",
593
+ name: "res",
594
+ type: "address[]",
595
+ },
596
+ ],
597
+ stateMutability: "pure",
598
+ type: "function",
599
+ },
600
+ {
601
+ inputs: [],
602
+ name: "getTokensOut",
603
+ outputs: [
604
+ {
605
+ internalType: "address[]",
606
+ name: "res",
607
+ type: "address[]",
608
+ },
609
+ ],
610
+ stateMutability: "pure",
611
+ type: "function",
612
+ },
613
+ {
614
+ inputs: [
615
+ {
616
+ internalType: "address",
617
+ name: "token",
618
+ type: "address",
619
+ },
620
+ ],
621
+ name: "isValidTokenIn",
622
+ outputs: [
623
+ {
624
+ internalType: "bool",
625
+ name: "",
626
+ type: "bool",
627
+ },
628
+ ],
629
+ stateMutability: "pure",
630
+ type: "function",
631
+ },
632
+ {
633
+ inputs: [
634
+ {
635
+ internalType: "address",
636
+ name: "token",
637
+ type: "address",
638
+ },
639
+ ],
640
+ name: "isValidTokenOut",
641
+ outputs: [
642
+ {
643
+ internalType: "bool",
644
+ name: "",
645
+ type: "bool",
646
+ },
647
+ ],
648
+ stateMutability: "pure",
649
+ type: "function",
650
+ },
651
+ {
652
+ inputs: [],
653
+ name: "name",
654
+ outputs: [
655
+ {
656
+ internalType: "string",
657
+ name: "",
658
+ type: "string",
659
+ },
660
+ ],
661
+ stateMutability: "view",
662
+ type: "function",
663
+ },
664
+ {
665
+ inputs: [
666
+ {
667
+ internalType: "address",
668
+ name: "owner",
669
+ type: "address",
670
+ },
671
+ ],
672
+ name: "nonces",
673
+ outputs: [
674
+ {
675
+ internalType: "uint256",
676
+ name: "",
677
+ type: "uint256",
678
+ },
679
+ ],
680
+ stateMutability: "view",
681
+ type: "function",
682
+ },
683
+ {
684
+ inputs: [],
685
+ name: "owner",
686
+ outputs: [
687
+ {
688
+ internalType: "address",
689
+ name: "",
690
+ type: "address",
691
+ },
692
+ ],
693
+ stateMutability: "view",
694
+ type: "function",
695
+ },
696
+ {
697
+ inputs: [],
698
+ name: "pause",
699
+ outputs: [],
700
+ stateMutability: "nonpayable",
701
+ type: "function",
702
+ },
703
+ {
704
+ inputs: [],
705
+ name: "paused",
706
+ outputs: [
707
+ {
708
+ internalType: "bool",
709
+ name: "",
710
+ type: "bool",
711
+ },
712
+ ],
713
+ stateMutability: "view",
714
+ type: "function",
715
+ },
716
+ {
717
+ inputs: [],
718
+ name: "pendingOwner",
719
+ outputs: [
720
+ {
721
+ internalType: "address",
722
+ name: "",
723
+ type: "address",
724
+ },
725
+ ],
726
+ stateMutability: "view",
727
+ type: "function",
728
+ },
729
+ {
730
+ inputs: [
731
+ {
732
+ internalType: "address",
733
+ name: "owner",
734
+ type: "address",
735
+ },
736
+ {
737
+ internalType: "address",
738
+ name: "spender",
739
+ type: "address",
740
+ },
741
+ {
742
+ internalType: "uint256",
743
+ name: "value",
744
+ type: "uint256",
745
+ },
746
+ {
747
+ internalType: "uint256",
748
+ name: "deadline",
749
+ type: "uint256",
750
+ },
751
+ {
752
+ internalType: "uint8",
753
+ name: "v",
754
+ type: "uint8",
755
+ },
756
+ {
757
+ internalType: "bytes32",
758
+ name: "r",
759
+ type: "bytes32",
760
+ },
761
+ {
762
+ internalType: "bytes32",
763
+ name: "s",
764
+ type: "bytes32",
765
+ },
766
+ ],
767
+ name: "permit",
768
+ outputs: [],
769
+ stateMutability: "nonpayable",
770
+ type: "function",
771
+ },
772
+ {
773
+ inputs: [
774
+ {
775
+ internalType: "address",
776
+ name: "tokenIn",
777
+ type: "address",
778
+ },
779
+ {
780
+ internalType: "uint256",
781
+ name: "amountTokenToDeposit",
782
+ type: "uint256",
783
+ },
784
+ ],
785
+ name: "previewDeposit",
786
+ outputs: [
787
+ {
788
+ internalType: "uint256",
789
+ name: "amountSharesOut",
790
+ type: "uint256",
791
+ },
792
+ ],
793
+ stateMutability: "view",
794
+ type: "function",
795
+ },
796
+ {
797
+ inputs: [
798
+ {
799
+ internalType: "address",
800
+ name: "tokenOut",
801
+ type: "address",
802
+ },
803
+ {
804
+ internalType: "uint256",
805
+ name: "amountSharesToRedeem",
806
+ type: "uint256",
807
+ },
808
+ ],
809
+ name: "previewRedeem",
810
+ outputs: [
811
+ {
812
+ internalType: "uint256",
813
+ name: "amountTokenOut",
814
+ type: "uint256",
815
+ },
816
+ ],
817
+ stateMutability: "view",
818
+ type: "function",
819
+ },
820
+ {
821
+ inputs: [
822
+ {
823
+ internalType: "address",
824
+ name: "receiver",
825
+ type: "address",
826
+ },
827
+ {
828
+ internalType: "uint256",
829
+ name: "amountSharesToRedeem",
830
+ type: "uint256",
831
+ },
832
+ {
833
+ internalType: "address",
834
+ name: "tokenOut",
835
+ type: "address",
836
+ },
837
+ {
838
+ internalType: "uint256",
839
+ name: "minTokenOut",
840
+ type: "uint256",
841
+ },
842
+ {
843
+ internalType: "bool",
844
+ name: "burnFromInternalBalance",
845
+ type: "bool",
846
+ },
847
+ ],
848
+ name: "redeem",
849
+ outputs: [
850
+ {
851
+ internalType: "uint256",
852
+ name: "amountTokenOut",
853
+ type: "uint256",
854
+ },
855
+ ],
856
+ stateMutability: "nonpayable",
857
+ type: "function",
858
+ },
859
+ {
860
+ inputs: [],
861
+ name: "rewardIndexesCurrent",
862
+ outputs: [
863
+ {
864
+ internalType: "uint256[]",
865
+ name: "indexes",
866
+ type: "uint256[]",
867
+ },
868
+ ],
869
+ stateMutability: "nonpayable",
870
+ type: "function",
871
+ },
872
+ {
873
+ inputs: [],
874
+ name: "rewardIndexesStored",
875
+ outputs: [
876
+ {
877
+ internalType: "uint256[]",
878
+ name: "indexes",
879
+ type: "uint256[]",
880
+ },
881
+ ],
882
+ stateMutability: "view",
883
+ type: "function",
884
+ },
885
+ {
886
+ inputs: [],
887
+ name: "symbol",
888
+ outputs: [
889
+ {
890
+ internalType: "string",
891
+ name: "",
892
+ type: "string",
893
+ },
894
+ ],
895
+ stateMutability: "view",
896
+ type: "function",
897
+ },
898
+ {
899
+ inputs: [],
900
+ name: "totalSupply",
901
+ outputs: [
902
+ {
903
+ internalType: "uint256",
904
+ name: "",
905
+ type: "uint256",
906
+ },
907
+ ],
908
+ stateMutability: "view",
909
+ type: "function",
910
+ },
911
+ {
912
+ inputs: [
913
+ {
914
+ internalType: "address",
915
+ name: "to",
916
+ type: "address",
917
+ },
918
+ {
919
+ internalType: "uint256",
920
+ name: "amount",
921
+ type: "uint256",
922
+ },
923
+ ],
924
+ name: "transfer",
925
+ outputs: [
926
+ {
927
+ internalType: "bool",
928
+ name: "",
929
+ type: "bool",
930
+ },
931
+ ],
932
+ stateMutability: "nonpayable",
933
+ type: "function",
934
+ },
935
+ {
936
+ inputs: [
937
+ {
938
+ internalType: "address",
939
+ name: "from",
940
+ type: "address",
941
+ },
942
+ {
943
+ internalType: "address",
944
+ name: "to",
945
+ type: "address",
946
+ },
947
+ {
948
+ internalType: "uint256",
949
+ name: "amount",
950
+ type: "uint256",
951
+ },
952
+ ],
953
+ name: "transferFrom",
954
+ outputs: [
955
+ {
956
+ internalType: "bool",
957
+ name: "",
958
+ type: "bool",
959
+ },
960
+ ],
961
+ stateMutability: "nonpayable",
962
+ type: "function",
963
+ },
964
+ {
965
+ inputs: [
966
+ {
967
+ internalType: "address",
968
+ name: "newOwner",
969
+ type: "address",
970
+ },
971
+ {
972
+ internalType: "bool",
973
+ name: "direct",
974
+ type: "bool",
975
+ },
976
+ {
977
+ internalType: "bool",
978
+ name: "renounce",
979
+ type: "bool",
980
+ },
981
+ ],
982
+ name: "transferOwnership",
983
+ outputs: [],
984
+ stateMutability: "nonpayable",
985
+ type: "function",
986
+ },
987
+ {
988
+ inputs: [],
989
+ name: "unpause",
990
+ outputs: [],
991
+ stateMutability: "nonpayable",
992
+ type: "function",
993
+ },
994
+ {
995
+ inputs: [],
996
+ name: "yieldToken",
997
+ outputs: [
998
+ {
999
+ internalType: "address",
1000
+ name: "",
1001
+ type: "address",
1002
+ },
1003
+ ],
1004
+ stateMutability: "view",
1005
+ type: "function",
1006
+ },
1007
+ {
1008
+ stateMutability: "payable",
1009
+ type: "receive",
1010
+ },
1011
+ ];
1012
+
1013
+ const _bytecode =
1014
+ "0x6101a06040523480156200001257600080fd5b506040518060400160405280600d81526020016c14d648105b5c1a1bdc88131495609a1b8152506040518060400160405280600b81526020016a14d64b585b5c1a1c93149560aa1b8152507306824c27c8a0dbde5f72f770ec82e3c0fd4dcec38282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d9919062000693565b6040805180820190915260018152603160f81b60208201528390818484600362000104848262000766565b50600462000113838262000766565b5060ff166080525050600280546001600160f81b0316600160f81b1790556200013e826005620003b1565b610140526200014f816006620003b1565b61016052815160208084019190912061010052815190820120610120524660c052620001df6101005161012051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60a05250503060e0525050603a805460ff1916905550600954600160a81b900460ff16158080156200021e57506009546001600160a01b90910460ff16105b80620002415750303b158015620002415750600954600160a01b900460ff166001145b620002aa5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6009805460ff60a01b1916600160a01b1790558015620002d8576009805460ff60a81b1916600160a81b1790555b6001600160a01b03821661018052620002f0620003ea565b801562000339576009805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050506200037773ae7ab96520de3a18e5e111b5eaab095312d7fe84737f39c581f595b53c5cb19bd0b3f8da6c935e2ca06200046d60201b60201c565b620003ab737f39c581f595b53c5cb19bd0b3f8da6c935e2ca07306824c27c8a0dbde5f72f770ec82e3c0fd4dcec36200046d565b62000943565b6000602083511015620003d157620003c9836200053c565b9050620003e4565b81620003de848262000766565b5060ff90505b92915050565b600954600160a81b900460ff16620004595760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620002a1565b600880546001600160a01b03191633179055565b6001600160a01b03821662000480575050565b6200049460026001600160601b0362000832565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015620004ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000514919062000867565b1015620005385762000529828260006200057f565b6200053882826000196200057f565b5050565b600080829050601f815111156200056a578260405163305a27a960e01b8152600401620002a19190620008a7565b80516200057782620008dc565b179392505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b1790529151600092839290871691620005dd919062000901565b6000604051808303816000865af19150503d80600081146200061c576040519150601f19603f3d011682016040523d82523d6000602084013e62000621565b606091505b50915091508180156200064f5750805115806200064f5750808060200190518101906200064f91906200091f565b6200068c5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401620002a1565b5050505050565b600060208284031215620006a657600080fd5b815160ff81168114620006b857600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006ea57607f821691505b6020821081036200070b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000761576000816000526020600020601f850160051c810160208610156200073c5750805b601f850160051c820191505b818110156200075d5782815560010162000748565b5050505b505050565b81516001600160401b03811115620007825762000782620006bf565b6200079a81620007938454620006d5565b8462000711565b602080601f831160018114620007d25760008415620007b95750858301515b600019600386901b1c1916600185901b1785556200075d565b600085815260208120601f198616915b828110156200080357888601518255948401946001909101908401620007e2565b5085821015620008225787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006001600160601b03838116806200085b57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000602082840312156200087a57600080fd5b5051919050565b60005b838110156200089e57818101518382015260200162000884565b50506000910152565b6020815260008251806020840152620008c881604085016020870162000881565b601f01601f19169190910160400192915050565b805160208083015191908110156200070b5760001960209190910360031b1b16919050565b600082516200091581846020870162000881565b9190910192915050565b6000602082840312156200093257600080fd5b81518015158114620006b857600080fd5b60805160a05160c05160e0516101005161012051610140516101605161018051612daa620009b4600039600061044501526000610d3001526000610d050152600061188801526000611860015260006117bb015260006117e50152600061180f015260006103080152612daa6000f3fe6080604052600436106101ae5760003560e01c806306fdde03146101ba578063071bc3c9146101e5578063078dfbe714610207578063095ea7b314610229578063128fced11461025957806318160ddd1461028657806320e8c565146102ae578063213cae63146102c157806323b872dd146102d6578063313ce567146102f65780633644e5151461033c5780633ba0b9a9146103515780633f4ba83a1461036c578063411557d1146103815780634e71e0c8146103b05780635c975abb146103c557806370a08231146103dd578063769f8e5d1461041357806376d5de8514610433578063784367d6146104675780637ecebe00146104875780638456cb59146104a757806384b0196e146104bc5780638da5cb5b146104e457806395d89b4114610504578063a40bee5014610519578063a9059cbb14610548578063b8f82b2614610568578063c4f59f9b14610588578063cbe52ae3146105a9578063d505accf146105c9578063da88ecb4146105e9578063dd62ed3e1461060a578063e30c39781461062a578063ef5cfb8c14610259578063f8b2f991146105e9578063fa5a4f061461064a57600080fd5b366101b557005b600080fd5b3480156101c657600080fd5b506101cf61066a565b6040516101dc9190612764565b60405180910390f35b3480156101f157600080fd5b506101fa6106fc565b6040516101dc9190612777565b34801561021357600080fd5b506102276102223660046127ee565b61071a565b005b34801561023557600080fd5b50610249610244366004612837565b610820565b60405190151581526020016101dc565b34801561026557600080fd5b50610279610274366004612861565b61083a565b6040516101dc91906128b8565b34801561029257600080fd5b506002546001600160f81b03165b6040519081526020016101dc565b6102a06102bc3660046128cb565b610855565b3480156102cd57600080fd5b506101fa61099e565b3480156102e257600080fd5b506102496102f136600461290d565b6109ce565b34801561030257600080fd5b5061032a7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101dc565b34801561034857600080fd5b506102a0610a4c565b34801561035d57600080fd5b50670de0b6b3a76400006102a0565b34801561037857600080fd5b50610227610a56565b34801561038d57600080fd5b506103a3600080516020612d5583398151915281565b6040516101dc9190612949565b3480156103bc57600080fd5b50610227610a8a565b3480156103d157600080fd5b50603a5460ff16610249565b3480156103e957600080fd5b506102a06103f8366004612861565b6001600160a01b031660009081526020819052604090205490565b34801561041f57600080fd5b506102a061042e36600461295d565b610b36565b34801561043f57600080fd5b506103a37f000000000000000000000000000000000000000000000000000000000000000081565b34801561047357600080fd5b50610249610482366004612861565b610c8b565b34801561049357600080fd5b506102a06104a2366004612861565b610ca7565b3480156104b357600080fd5b50610227610cc5565b3480156104c857600080fd5b506104d1610cf7565b6040516101dc97969594939291906129b8565b3480156104f057600080fd5b506008546103a3906001600160a01b031681565b34801561051057600080fd5b506101cf610d80565b34801561052557600080fd5b506000600080516020612d5583398151915260126040516101dc93929190612a3e565b34801561055457600080fd5b50610249610563366004612837565b610d8f565b34801561057457600080fd5b506102a0610583366004612837565b610e01565b34801561059457600080fd5b506040805160008152602081019091526101fa565b3480156105b557600080fd5b506102a06105c4366004612837565b610e3c565b3480156105d557600080fd5b506102276105e4366004612a80565b610e6c565b3480156105f557600080fd5b50604080516000815260208101909152610279565b34801561061657600080fd5b506102a0610625366004612af3565b610fee565b34801561063657600080fd5b506009546103a3906001600160a01b031681565b34801561065657600080fd5b50610249610665366004612861565b611019565b60606003805461067990612b26565b80601f01602080910402602001604051908101604052809291908181526020018280546106a590612b26565b80156106f25780601f106106c7576101008083540402835291602001916106f2565b820191906000526020600020905b8154815290600101906020018083116106d557829003601f168201915b5050505050905090565b6060610715600080516020612d55833981519152611073565b905090565b6008546001600160a01b0316331461074d5760405162461bcd60e51b815260040161074490612b5a565b60405180910390fd5b81156107ff576001600160a01b0383161515806107675750805b6107ab5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610744565b6008546040516001600160a01b03808616921690600080516020612cf583398151915290600090a3600880546001600160a01b0385166001600160a01b031991821617909155600980549091169055505050565b600980546001600160a01b0319166001600160a01b0385161790555b505050565b60003361082e8185856110ce565b60019150505b92915050565b604080516000808252602082019092526060915b5092915050565b600254600090600119600160f81b90910460ff16016108865760405162461bcd60e51b815260040161074490612b8f565b600280546001600160f81b0316600160f91b1790556108a484611019565b6108c357836040516315d57ce360e31b81526004016107449190612949565b826000036108e457604051630a907f2f60e41b815260040160405180910390fd5b6108ef8433856111f3565b6108f9848461125a565b905081811015610920578082604051635e38f95d60e11b8152600401610744929190612bc6565b61092a8582611337565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610979929190612bc6565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b60606107156000737f39c581f595b53c5cb19bd0b3f8da6c935e2ca0600080516020612d5583398151915261144d565b600254600090600119600160f81b90910460ff16016109ff5760405162461bcd60e51b815260040161074490612b8f565b600280546001600160f81b0316600160f91b17905533610a20858285611512565b610a2b85858561158c565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b60006107156117ae565b6008546001600160a01b03163314610a805760405162461bcd60e51b815260040161074490612b5a565b610a886118d9565b565b6009546001600160a01b0316338114610ae55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610744565b6008546040516001600160a01b03808416921690600080516020612cf583398151915290600090a3600880546001600160a01b039092166001600160a01b0319928316179055600980549091169055565b600254600090600119600160f81b90910460ff1601610b675760405162461bcd60e51b815260040161074490612b8f565b600280546001600160f81b0316600160f91b179055610b8584610c8b565b610ba457836040516388a5056160e01b81526004016107449190612949565b84600003610bc55760405163c3d83b0760e01b815260040160405180910390fd5b8115610bda57610bd53086611925565b610be4565b610be43386611925565b610bef868587611a9e565b905082811015610c165780836040516305ff726560e51b8152600401610744929190612bc6565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610c65929190612bc6565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b6001600160a01b0316600080516020612d558339815191521490565b6001600160a01b038116600090815260076020526040812054610834565b6008546001600160a01b03163314610cef5760405162461bcd60e51b815260040161074490612b5a565b610a88611ab9565b600060608082808083610d2b7f00000000000000000000000000000000000000000000000000000000000000006005611af6565b610d567f00000000000000000000000000000000000000000000000000000000000000006006611af6565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606004805461067990612b26565b600254600090600119600160f81b90910460ff1601610dc05760405162461bcd60e51b815260040161074490612b8f565b600280546001600160f81b0316600160f91b17905533610de181858561158c565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6000610e0c83611019565b610e2b57826040516315d57ce360e31b81526004016107449190612949565b610e358383611b9a565b9392505050565b6000610e4783610c8b565b610e6657826040516388a5056160e01b81526004016107449190612949565b81610e35565b83421115610ebc5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610744565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610f098c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610f6482611bb5565b90506000610f7482878787611be2565b9050896001600160a01b0316816001600160a01b031614610fd75760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610744565b610fe28a8a8a6110ce565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160a01b038216158061104d57506001600160a01b038216737f39c581f595b53c5cb19bd0b3f8da6c935e2ca0145b8061083457506001600160a01b038216600080516020612d558339815191521492915050565b6040805160018082528183019092526060916020808301908036833701905050905081816000815181106110a9576110a9612bd4565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b6001600160a01b0383166111305760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610744565b6001600160a01b0382166111915760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610744565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661123f5780341461081b5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610744565b801561081b5761081b6001600160a01b038416833084611c0c565b60006001600160a01b03831661128f57611275600083611c77565b737f39c581f595b53c5cb19bd0b3f8da6c935e2ca0935091505b737f39c581f595b53c5cb19bd0b3f8da6c935e2c9f196001600160a01b0384160161133157604051636e553f6560e01b815260048101839052306024820152600080516020612d5583398151915290636e553f65906044016020604051808303816000875af1158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190612bea565b9050610834565b50919050565b6001600160a01b03821661138d5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610744565b61139960008383611e95565b6113a281611e9d565b600280546000906113bd9084906001600160f81b0316612c19565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546114159190612c39565b90915550506040518181526001600160a01b03831690600090600080516020612d158339815191529060200160405180910390a35050565b60408051600380825260808201909252606091602082018380368337019050509050838160008151811061148357611483612bd4565b60200260200101906001600160a01b031690816001600160a01b03168152505082816001815181106114b7576114b7612bd4565b60200260200101906001600160a01b031690816001600160a01b03168152505081816002815181106114eb576114eb612bd4565b60200260200101906001600160a01b031690816001600160a01b0316815250509392505050565b600061151e8484610fee565b9050600019811461158657818110156115795760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610744565b61158684848484036110ce565b50505050565b6001600160a01b0383166115f05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610744565b6001600160a01b0382166116525760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610744565b816001600160a01b0316836001600160a01b0316036116ad5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610744565b6116b8838383611e95565b6001600160a01b038316600090815260208190526040902054818110156117305760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610744565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611767908490612c39565b92505081905550826001600160a01b0316846001600160a01b0316600080516020612d15833981519152846040516117a191815260200190565b60405180910390a3611586565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561180757507f000000000000000000000000000000000000000000000000000000000000000046145b1561183157507f000000000000000000000000000000000000000000000000000000000000000090565b610715604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6118e1611eb7565b603a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405161191b9190612949565b60405180910390a1565b6001600160a01b0382166119855760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610744565b61199182600083611e95565b6001600160a01b03821660009081526020819052604090205481811015611a055760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610744565b6001600160a01b03831660009081526020819052604090208282039055611a2b82611e9d565b60028054600090611a469084906001600160f81b0316612c4c565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b0316600080516020612d15833981519152846040516111e691815260200190565b600061084e600080516020612d558339815191528584611f00565b611ac1611fc4565b603a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861190e3390565b606060ff8314611b095761132a8361200a565b818054611b1590612b26565b80601f0160208091040260200160405190810160405280929190818152602001828054611b4190612b26565b8015611b8e5780601f10611b6357610100808354040283529160200191611b8e565b820191906000526020600020905b815481529060010190602001808311611b7157829003601f168201915b50505050509050610834565b60006001600160a01b0383166113315761132a600083612049565b6000610834611bc26117ae565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000611bf3878787876122c2565b91509150611c008161237c565b5090505b949350505050565b6040516001600160a01b03808516602483015283166044820152606481018290526115869085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526124c4565b60008073ae7ab96520de3a18e5e111b5eaab095312d7fe83196001600160a01b03851601611ca6575081611e1f565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc1196001600160a01b03851601611d3157604051632e1a7d4d60e01b81526004810184905273c02aaa39b223fe8d0a0e5c4f27ead9083c756cc290632e1a7d4d90602401600060405180830381600087803b158015611d1857600080fd5b505af1158015611d2c573d6000803e3d6000fd5b505050505b60405163a1903eab60e01b8152600090600080516020612d358339815191529063a1903eab908690611d67908590600401612949565b60206040518083038185885af1158015611d85573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611daa9190612bea565b604051630f451f7160e31b815260048101829052909150600080516020612d3583398151915290637a28fb8890602401602060405180830381865afa158015611df7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1b9190612bea565b9150505b604051630ea598cb60e41b815260048101829052737f39c581f595b53c5cb19bd0b3f8da6c935e2ca09063ea598cb0906024016020604051808303816000875af1158015611e71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c049190612bea565b61081b611fc4565b60006001600160f81b03821115611eb357600080fd5b5090565b603a5460ff16610a885760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610744565b80600003611f0d57505050565b6001600160a01b038316611fb0576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611f68576040519150601f19603f3d011682016040523d82523d6000602084013e611f6d565b606091505b50509050806115865760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610744565b61081b6001600160a01b0384168383612599565b603a5460ff1615610a885760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610744565b60606000612017836125c9565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b60006001600160a01b038316600080516020612d3583398151915214612254576001600160a01b03831673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2148061209b57506001600160a01b038316155b6120a7576120a7612c6c565b6000600080516020612d358339815191526001600160a01b031663d5002f2e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121199190612bea565b90506000600080516020612d358339815191526001600160a01b03166337cfdaca6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612169573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218d9190612bea565b604051631920845160e01b815260048101869052909150600090600080516020612d3583398151915290631920845190602401602060405180830381865afa1580156121dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122019190612bea565b905061220d8184612c39565b92506122198583612c39565b91506000836122288484612c82565b6122329190612c99565b90508261223f8583612c82565b6122499190612c99565b945050505050610834565b604051631920845160e01b815260048101839052600080516020612d3583398151915290631920845190602401602060405180830381865afa15801561229e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e359190612bea565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b038311156122ef5750600090506003612373565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612343573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661236c57600060019250925050612373565b9150600090505b94509492505050565b600081600481111561239057612390612a28565b036123985750565b60018160048111156123ac576123ac612a28565b036123f45760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610744565b600281600481111561240857612408612a28565b036124555760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610744565b600381600481111561246957612469612a28565b036124c15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610744565b50565b6000612519826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166125f19092919063ffffffff16565b905080516000148061253a57508080602001905181019061253a9190612cbb565b61081b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610744565b6040516001600160a01b03831660248201526044810182905261081b90849063a9059cbb60e01b90606401611c40565b600060ff8216601f81111561083457604051632cd44ac360e21b815260040160405180910390fd5b6060611c04848460008585600080866001600160a01b031685876040516126189190612cd8565b60006040518083038185875af1925050503d8060008114612655576040519150601f19603f3d011682016040523d82523d6000602084013e61265a565b606091505b509150915061266b87838387612676565b979650505050505050565b606083156126e55782516000036126de576001600160a01b0385163b6126de5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610744565b5081611c04565b611c0483838151156126fa5781518083602001fd5b8060405162461bcd60e51b81526004016107449190612764565b60005b8381101561272f578181015183820152602001612717565b50506000910152565b60008151808452612750816020860160208601612714565b601f01601f19169290920160200192915050565b602081526000610e356020830184612738565b6020808252825182820181905260009190848201906040850190845b818110156127b85783516001600160a01b031683529284019291840191600101612793565b50909695505050505050565b80356001600160a01b03811681146127db57600080fd5b919050565b80151581146124c157600080fd5b60008060006060848603121561280357600080fd5b61280c846127c4565b9250602084013561281c816127e0565b9150604084013561282c816127e0565b809150509250925092565b6000806040838503121561284a57600080fd5b612853836127c4565b946020939093013593505050565b60006020828403121561287357600080fd5b610e35826127c4565b60008151808452602080850194506020840160005b838110156128ad57815187529582019590820190600101612891565b509495945050505050565b602081526000610e35602083018461287c565b600080600080608085870312156128e157600080fd5b6128ea856127c4565b93506128f8602086016127c4565b93969395505050506040820135916060013590565b60008060006060848603121561292257600080fd5b61292b846127c4565b9250612939602085016127c4565b9150604084013590509250925092565b6001600160a01b0391909116815260200190565b600080600080600060a0868803121561297557600080fd5b61297e866127c4565b945060208601359350612993604087016127c4565b92506060860135915060808601356129aa816127e0565b809150509295509295909350565b60ff60f81b8816815260e0602082015260006129d760e0830189612738565b82810360408401526129e98189612738565b606084018890526001600160a01b038716608085015260a0840186905283810360c08501529050612a1a818561287c565b9a9950505050505050505050565b634e487b7160e01b600052602160045260246000fd5b6060810160028510612a6057634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b600080600080600080600060e0888a031215612a9b57600080fd5b612aa4886127c4565b9650612ab2602089016127c4565b95506040880135945060608801359350608088013560ff81168114612ad657600080fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215612b0657600080fd5b612b0f836127c4565b9150612b1d602084016127c4565b90509250929050565b600181811c90821680612b3a57607f821691505b60208210810361133157634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612bfc57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b6001600160f81b0381811683821601908082111561084e5761084e612c03565b8082018082111561083457610834612c03565b6001600160f81b0382811682821603908082111561084e5761084e612c03565b634e487b7160e01b600052600160045260246000fd5b808202811582820484141761083457610834612c03565b600082612cb657634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612ccd57600080fd5b8151610e35816127e0565b60008251612cea818460208701612714565b919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef000000000000000000000000ae7ab96520de3a18e5e111b5eaab095312d7fe8400000000000000000000000006824c27c8a0dbde5f72f770ec82e3c0fd4dcec3a264697066735822122032d7be369dd9f298b7afb795442ebcb00bb9f162479f48a24d16d52747252f3164736f6c63430008170033";
1015
+
1016
+ type PendleAmphorWstETHVaultSYConstructorParams =
1017
+ | [signer?: Signer]
1018
+ | ConstructorParameters<typeof ContractFactory>;
1019
+
1020
+ const isSuperArgs = (
1021
+ xs: PendleAmphorWstETHVaultSYConstructorParams
1022
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1023
+
1024
+ export class PendleAmphorWstETHVaultSY__factory extends ContractFactory {
1025
+ constructor(...args: PendleAmphorWstETHVaultSYConstructorParams) {
1026
+ if (isSuperArgs(args)) {
1027
+ super(...args);
1028
+ } else {
1029
+ super(_abi, _bytecode, args[0]);
1030
+ }
1031
+ this.contractName = "PendleAmphorWstETHVaultSY";
1032
+ }
1033
+
1034
+ deploy(
1035
+ overrides?: Overrides & { from?: string | Promise<string> }
1036
+ ): Promise<PendleAmphorWstETHVaultSY> {
1037
+ return super.deploy(overrides || {}) as Promise<PendleAmphorWstETHVaultSY>;
1038
+ }
1039
+ getDeployTransaction(
1040
+ overrides?: Overrides & { from?: string | Promise<string> }
1041
+ ): TransactionRequest {
1042
+ return super.getDeployTransaction(overrides || {});
1043
+ }
1044
+ attach(address: string): PendleAmphorWstETHVaultSY {
1045
+ return super.attach(address) as PendleAmphorWstETHVaultSY;
1046
+ }
1047
+ connect(signer: Signer): PendleAmphorWstETHVaultSY__factory {
1048
+ return super.connect(signer) as PendleAmphorWstETHVaultSY__factory;
1049
+ }
1050
+ static readonly contractName: "PendleAmphorWstETHVaultSY";
1051
+ public readonly contractName: "PendleAmphorWstETHVaultSY";
1052
+ static readonly bytecode = _bytecode;
1053
+ static readonly abi = _abi;
1054
+ static createInterface(): PendleAmphorWstETHVaultSYInterface {
1055
+ return new utils.Interface(_abi) as PendleAmphorWstETHVaultSYInterface;
1056
+ }
1057
+ static connect(
1058
+ address: string,
1059
+ signerOrProvider: Signer | Provider
1060
+ ): PendleAmphorWstETHVaultSY {
1061
+ return new Contract(
1062
+ address,
1063
+ _abi,
1064
+ signerOrProvider
1065
+ ) as PendleAmphorWstETHVaultSY;
1066
+ }
1067
+ }