@pendle/core-v2 4.4.6 → 4.5.0-beta-2

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