@pendle/core-v2 4.5.2 → 4.6.0

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 (129) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDESY.sol/PendleSUSDESY.json +2 -2
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol/PendleKarakVaultERC20SY.dbg.json +4 -0
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol/PendleKarakVaultERC20SY.json +1070 -0
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol/PendleKarakVaultEzETHSY.dbg.json +4 -0
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol/PendleKarakVaultEzETHSY.json +1144 -0
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol/PendleKarakVaultSUSDESY.dbg.json +4 -0
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol/PendleKarakVaultSUSDESY.json +1111 -0
  9. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSYBaseUpg.sol/PendleKarakVaultSYBaseUpg.dbg.json +4 -0
  10. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSYBaseUpg.sol/PendleKarakVaultSYBaseUpg.json +1036 -0
  11. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol/PendleKarakVaultUSDESY.dbg.json +4 -0
  12. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol/PendleKarakVaultUSDESY.json +1096 -0
  13. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol/PendleKarakVaultWEETHSY.dbg.json +4 -0
  14. package/build/artifacts/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol/PendleKarakVaultWEETHSY.json +1116 -0
  15. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626SY.sol/PendleERC4626SY.json +2 -2
  17. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC4626UpgSY.sol/PendleERC4626SYUpg.json +2 -2
  19. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleGdaiSY.sol/PendleGDaiSY.json +2 -2
  21. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleSfrxEthSY.sol/PendleSfrxEthSY.json +2 -2
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/PirexETH/PendleApxETHSY.sol/PendleApxETHSY.json +2 -2
  25. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufStETHSY.sol/PendlePufStETHSY.json +2 -2
  27. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/StandardizedYield/implementations/Puffer/PendlePufWETHSY.sol/PendlePufWETHSY.json +2 -2
  29. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.dbg.json +1 -1
  30. package/build/artifacts/contracts/interfaces/IERC4626.sol/IERC4626.json +19 -0
  31. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  32. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +1200 -34
  33. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  34. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +1228 -62
  35. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.dbg.json +4 -0
  36. package/build/artifacts/contracts/interfaces/IPReflector.sol/IPReflector.json +30 -0
  37. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.dbg.json +4 -0
  38. package/build/artifacts/contracts/interfaces/IPTokenWithSupplyCap.sol/IPTokenWithSupplyCap.json +37 -0
  39. package/build/artifacts/contracts/interfaces/Karak/IKarakVault.sol/IKarakVault.dbg.json +4 -0
  40. package/build/artifacts/contracts/interfaces/Karak/IKarakVault.sol/IKarakVault.json +24 -0
  41. package/build/artifacts/contracts/interfaces/Karak/IKarakVaultSupervisor.sol/IKarakVaultSupervisor.dbg.json +4 -0
  42. package/build/artifacts/contracts/interfaces/Karak/IKarakVaultSupervisor.sol/IKarakVaultSupervisor.json +76 -0
  43. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  44. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +25 -2
  45. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +1 -1
  46. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +1 -1
  47. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  48. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  49. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  50. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +1202 -36
  51. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  52. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  53. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  54. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  55. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +4 -0
  56. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +34 -0
  57. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  58. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultERC20SY.sol +32 -0
  59. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultEzETHSY.sol +80 -0
  60. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSUSDESY.sol +73 -0
  61. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSYBaseUpg.sol +141 -0
  62. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultUSDESY.sol +18 -0
  63. package/contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultWEETHSY.sol +71 -0
  64. package/contracts/interfaces/IERC4626.sol +2 -0
  65. package/contracts/interfaces/IPActionMiscV3.sol +99 -0
  66. package/contracts/interfaces/IPReflector.sol +6 -0
  67. package/contracts/interfaces/IPTokenWithSupplyCap.sol +9 -0
  68. package/contracts/interfaces/Karak/IKarakVault.sol +6 -0
  69. package/contracts/interfaces/Karak/IKarakVaultSupervisor.sol +8 -0
  70. package/contracts/offchain-helpers/PendlePoolDeployHelper.sol +5 -0
  71. package/contracts/router/ActionMiscV3.sol +182 -34
  72. package/contracts/router/ActionSwapYTV3.sol +0 -85
  73. package/contracts/router/Reflector.sol +70 -0
  74. package/contracts/router/base/ActionBase.sol +90 -1
  75. package/deployments/1-core.json +10 -1
  76. package/deployments/1-markets/KARAK-SUSDE-MAINNET-SEP2024.json +14 -0
  77. package/deployments/1-markets/KARAK-USDE-MAINNET-SEP2024.json +14 -0
  78. package/deployments/1-markets/KARAK-WEETH-MAINNET-SEP2024.json +14 -0
  79. package/deployments/10-core.json +10 -1
  80. package/deployments/42161-core.json +10 -1
  81. package/deployments/42161-markets/RSETH-ARBITRUM-SEP2024-NEW.json +11 -0
  82. package/deployments/5000-core.json +10 -1
  83. package/deployments/56-core.json +10 -1
  84. package/package.json +1 -1
  85. package/typechain-types/ActionMiscV3.ts +628 -16
  86. package/typechain-types/IERC4626.ts +34 -0
  87. package/typechain-types/IKarakVault.ts +84 -0
  88. package/typechain-types/IKarakVaultSupervisor.ts +190 -0
  89. package/typechain-types/IPActionMiscV3.ts +628 -16
  90. package/typechain-types/IPAllActionV3.ts +535 -0
  91. package/typechain-types/IPReflector.ts +95 -0
  92. package/typechain-types/IPTokenWithSupplyCap.ts +110 -0
  93. package/typechain-types/PendleKarakVaultERC20SY.ts +1324 -0
  94. package/typechain-types/PendleKarakVaultEzETHSY.ts +1400 -0
  95. package/typechain-types/PendleKarakVaultSUSDESY.ts +1380 -0
  96. package/typechain-types/PendleKarakVaultSYBaseUpg.ts +1312 -0
  97. package/typechain-types/PendleKarakVaultUSDESY.ts +1366 -0
  98. package/typechain-types/PendleKarakVaultWEETHSY.ts +1370 -0
  99. package/typechain-types/PendlePoolDeployHelper.ts +44 -0
  100. package/typechain-types/Reflector.ts +95 -0
  101. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  102. package/typechain-types/factories/ActionMiscV3__factory.ts +1201 -35
  103. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  104. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  105. package/typechain-types/factories/IERC4626__factory.ts +19 -0
  106. package/typechain-types/factories/IKarakVaultSupervisor__factory.ts +95 -0
  107. package/typechain-types/factories/IKarakVault__factory.ts +36 -0
  108. package/typechain-types/factories/IPActionMiscV3__factory.ts +1200 -34
  109. package/typechain-types/factories/IPAllActionV3__factory.ts +1228 -62
  110. package/typechain-types/factories/IPReflector__factory.ts +42 -0
  111. package/typechain-types/factories/IPTokenWithSupplyCap__factory.ts +56 -0
  112. package/typechain-types/factories/PendleApxETHSY__factory.ts +1 -1
  113. package/typechain-types/factories/PendleERC4626SYUpg__factory.ts +1 -1
  114. package/typechain-types/factories/PendleERC4626SY__factory.ts +1 -1
  115. package/typechain-types/factories/PendleGDaiSY__factory.ts +1 -1
  116. package/typechain-types/factories/PendleKarakVaultERC20SY__factory.ts +1139 -0
  117. package/typechain-types/factories/PendleKarakVaultEzETHSY__factory.ts +1236 -0
  118. package/typechain-types/factories/PendleKarakVaultSUSDESY__factory.ts +1180 -0
  119. package/typechain-types/factories/PendleKarakVaultSYBaseUpg__factory.ts +1055 -0
  120. package/typechain-types/factories/PendleKarakVaultUSDESY__factory.ts +1165 -0
  121. package/typechain-types/factories/PendleKarakVaultWEETHSY__factory.ts +1189 -0
  122. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +24 -1
  123. package/typechain-types/factories/PendlePufStETHSY__factory.ts +1 -1
  124. package/typechain-types/factories/PendlePufWETHSY__factory.ts +1 -1
  125. package/typechain-types/factories/PendleSUSDESY__factory.ts +1 -1
  126. package/typechain-types/factories/PendleSfrxEthSY__factory.ts +1 -1
  127. package/typechain-types/factories/Reflector__factory.ts +84 -0
  128. package/typechain-types/hardhat.d.ts +94 -31
  129. package/typechain-types/index.ts +22 -8
@@ -0,0 +1,1036 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PendleKarakVaultSYBaseUpg",
4
+ "sourceName": "contracts/core/StandardizedYield/implementations/Karak/PendleKarakVaultSYBaseUpg.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "uint256",
10
+ "name": "assetLimit",
11
+ "type": "uint256"
12
+ },
13
+ {
14
+ "internalType": "uint256",
15
+ "name": "totalAsset",
16
+ "type": "uint256"
17
+ },
18
+ {
19
+ "internalType": "uint256",
20
+ "name": "amountAssetToDeposit",
21
+ "type": "uint256"
22
+ }
23
+ ],
24
+ "name": "KarakVaultAssetLimitExceeded",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "uint256",
31
+ "name": "actualSharesOut",
32
+ "type": "uint256"
33
+ },
34
+ {
35
+ "internalType": "uint256",
36
+ "name": "requiredSharesOut",
37
+ "type": "uint256"
38
+ }
39
+ ],
40
+ "name": "SYInsufficientSharesOut",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [
45
+ {
46
+ "internalType": "uint256",
47
+ "name": "actualTokenOut",
48
+ "type": "uint256"
49
+ },
50
+ {
51
+ "internalType": "uint256",
52
+ "name": "requiredTokenOut",
53
+ "type": "uint256"
54
+ }
55
+ ],
56
+ "name": "SYInsufficientTokenOut",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "address",
63
+ "name": "token",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "SYInvalidTokenIn",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "token",
75
+ "type": "address"
76
+ }
77
+ ],
78
+ "name": "SYInvalidTokenOut",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "SYZeroDeposit",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "SYZeroRedeem",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "anonymous": false,
93
+ "inputs": [
94
+ {
95
+ "indexed": true,
96
+ "internalType": "address",
97
+ "name": "owner",
98
+ "type": "address"
99
+ },
100
+ {
101
+ "indexed": true,
102
+ "internalType": "address",
103
+ "name": "spender",
104
+ "type": "address"
105
+ },
106
+ {
107
+ "indexed": false,
108
+ "internalType": "uint256",
109
+ "name": "value",
110
+ "type": "uint256"
111
+ }
112
+ ],
113
+ "name": "Approval",
114
+ "type": "event"
115
+ },
116
+ {
117
+ "anonymous": false,
118
+ "inputs": [
119
+ {
120
+ "indexed": true,
121
+ "internalType": "address",
122
+ "name": "user",
123
+ "type": "address"
124
+ },
125
+ {
126
+ "indexed": false,
127
+ "internalType": "address[]",
128
+ "name": "rewardTokens",
129
+ "type": "address[]"
130
+ },
131
+ {
132
+ "indexed": false,
133
+ "internalType": "uint256[]",
134
+ "name": "rewardAmounts",
135
+ "type": "uint256[]"
136
+ }
137
+ ],
138
+ "name": "ClaimRewards",
139
+ "type": "event"
140
+ },
141
+ {
142
+ "anonymous": false,
143
+ "inputs": [
144
+ {
145
+ "indexed": true,
146
+ "internalType": "address",
147
+ "name": "caller",
148
+ "type": "address"
149
+ },
150
+ {
151
+ "indexed": true,
152
+ "internalType": "address",
153
+ "name": "receiver",
154
+ "type": "address"
155
+ },
156
+ {
157
+ "indexed": true,
158
+ "internalType": "address",
159
+ "name": "tokenIn",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "indexed": false,
164
+ "internalType": "uint256",
165
+ "name": "amountDeposited",
166
+ "type": "uint256"
167
+ },
168
+ {
169
+ "indexed": false,
170
+ "internalType": "uint256",
171
+ "name": "amountSyOut",
172
+ "type": "uint256"
173
+ }
174
+ ],
175
+ "name": "Deposit",
176
+ "type": "event"
177
+ },
178
+ {
179
+ "anonymous": false,
180
+ "inputs": [],
181
+ "name": "EIP712DomainChanged",
182
+ "type": "event"
183
+ },
184
+ {
185
+ "anonymous": false,
186
+ "inputs": [
187
+ {
188
+ "indexed": false,
189
+ "internalType": "uint8",
190
+ "name": "version",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "Initialized",
195
+ "type": "event"
196
+ },
197
+ {
198
+ "anonymous": false,
199
+ "inputs": [
200
+ {
201
+ "indexed": true,
202
+ "internalType": "address",
203
+ "name": "previousOwner",
204
+ "type": "address"
205
+ },
206
+ {
207
+ "indexed": true,
208
+ "internalType": "address",
209
+ "name": "newOwner",
210
+ "type": "address"
211
+ }
212
+ ],
213
+ "name": "OwnershipTransferred",
214
+ "type": "event"
215
+ },
216
+ {
217
+ "anonymous": false,
218
+ "inputs": [
219
+ {
220
+ "indexed": false,
221
+ "internalType": "address",
222
+ "name": "account",
223
+ "type": "address"
224
+ }
225
+ ],
226
+ "name": "Paused",
227
+ "type": "event"
228
+ },
229
+ {
230
+ "anonymous": false,
231
+ "inputs": [
232
+ {
233
+ "indexed": true,
234
+ "internalType": "address",
235
+ "name": "caller",
236
+ "type": "address"
237
+ },
238
+ {
239
+ "indexed": true,
240
+ "internalType": "address",
241
+ "name": "receiver",
242
+ "type": "address"
243
+ },
244
+ {
245
+ "indexed": true,
246
+ "internalType": "address",
247
+ "name": "tokenOut",
248
+ "type": "address"
249
+ },
250
+ {
251
+ "indexed": false,
252
+ "internalType": "uint256",
253
+ "name": "amountSyToRedeem",
254
+ "type": "uint256"
255
+ },
256
+ {
257
+ "indexed": false,
258
+ "internalType": "uint256",
259
+ "name": "amountTokenOut",
260
+ "type": "uint256"
261
+ }
262
+ ],
263
+ "name": "Redeem",
264
+ "type": "event"
265
+ },
266
+ {
267
+ "anonymous": false,
268
+ "inputs": [
269
+ {
270
+ "indexed": true,
271
+ "internalType": "address",
272
+ "name": "from",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "indexed": true,
277
+ "internalType": "address",
278
+ "name": "to",
279
+ "type": "address"
280
+ },
281
+ {
282
+ "indexed": false,
283
+ "internalType": "uint256",
284
+ "name": "value",
285
+ "type": "uint256"
286
+ }
287
+ ],
288
+ "name": "Transfer",
289
+ "type": "event"
290
+ },
291
+ {
292
+ "anonymous": false,
293
+ "inputs": [
294
+ {
295
+ "indexed": false,
296
+ "internalType": "address",
297
+ "name": "account",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "name": "Unpaused",
302
+ "type": "event"
303
+ },
304
+ {
305
+ "inputs": [],
306
+ "name": "DOMAIN_SEPARATOR",
307
+ "outputs": [
308
+ {
309
+ "internalType": "bytes32",
310
+ "name": "",
311
+ "type": "bytes32"
312
+ }
313
+ ],
314
+ "stateMutability": "view",
315
+ "type": "function"
316
+ },
317
+ {
318
+ "inputs": [
319
+ {
320
+ "internalType": "address",
321
+ "name": "",
322
+ "type": "address"
323
+ }
324
+ ],
325
+ "name": "accruedRewards",
326
+ "outputs": [
327
+ {
328
+ "internalType": "uint256[]",
329
+ "name": "rewardAmounts",
330
+ "type": "uint256[]"
331
+ }
332
+ ],
333
+ "stateMutability": "view",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "address",
340
+ "name": "owner",
341
+ "type": "address"
342
+ },
343
+ {
344
+ "internalType": "address",
345
+ "name": "spender",
346
+ "type": "address"
347
+ }
348
+ ],
349
+ "name": "allowance",
350
+ "outputs": [
351
+ {
352
+ "internalType": "uint256",
353
+ "name": "",
354
+ "type": "uint256"
355
+ }
356
+ ],
357
+ "stateMutability": "view",
358
+ "type": "function"
359
+ },
360
+ {
361
+ "inputs": [
362
+ {
363
+ "internalType": "address",
364
+ "name": "spender",
365
+ "type": "address"
366
+ },
367
+ {
368
+ "internalType": "uint256",
369
+ "name": "amount",
370
+ "type": "uint256"
371
+ }
372
+ ],
373
+ "name": "approve",
374
+ "outputs": [
375
+ {
376
+ "internalType": "bool",
377
+ "name": "",
378
+ "type": "bool"
379
+ }
380
+ ],
381
+ "stateMutability": "nonpayable",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [],
386
+ "name": "assetInfo",
387
+ "outputs": [
388
+ {
389
+ "internalType": "enum IStandardizedYield.AssetType",
390
+ "name": "assetType",
391
+ "type": "uint8"
392
+ },
393
+ {
394
+ "internalType": "address",
395
+ "name": "assetAddress",
396
+ "type": "address"
397
+ },
398
+ {
399
+ "internalType": "uint8",
400
+ "name": "assetDecimals",
401
+ "type": "uint8"
402
+ }
403
+ ],
404
+ "stateMutability": "view",
405
+ "type": "function"
406
+ },
407
+ {
408
+ "inputs": [
409
+ {
410
+ "internalType": "address",
411
+ "name": "account",
412
+ "type": "address"
413
+ }
414
+ ],
415
+ "name": "balanceOf",
416
+ "outputs": [
417
+ {
418
+ "internalType": "uint256",
419
+ "name": "",
420
+ "type": "uint256"
421
+ }
422
+ ],
423
+ "stateMutability": "view",
424
+ "type": "function"
425
+ },
426
+ {
427
+ "inputs": [],
428
+ "name": "claimOwnership",
429
+ "outputs": [],
430
+ "stateMutability": "nonpayable",
431
+ "type": "function"
432
+ },
433
+ {
434
+ "inputs": [
435
+ {
436
+ "internalType": "address",
437
+ "name": "",
438
+ "type": "address"
439
+ }
440
+ ],
441
+ "name": "claimRewards",
442
+ "outputs": [
443
+ {
444
+ "internalType": "uint256[]",
445
+ "name": "rewardAmounts",
446
+ "type": "uint256[]"
447
+ }
448
+ ],
449
+ "stateMutability": "nonpayable",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [],
454
+ "name": "decimals",
455
+ "outputs": [
456
+ {
457
+ "internalType": "uint8",
458
+ "name": "",
459
+ "type": "uint8"
460
+ }
461
+ ],
462
+ "stateMutability": "view",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [
467
+ {
468
+ "internalType": "address",
469
+ "name": "receiver",
470
+ "type": "address"
471
+ },
472
+ {
473
+ "internalType": "address",
474
+ "name": "tokenIn",
475
+ "type": "address"
476
+ },
477
+ {
478
+ "internalType": "uint256",
479
+ "name": "amountTokenToDeposit",
480
+ "type": "uint256"
481
+ },
482
+ {
483
+ "internalType": "uint256",
484
+ "name": "minSharesOut",
485
+ "type": "uint256"
486
+ }
487
+ ],
488
+ "name": "deposit",
489
+ "outputs": [
490
+ {
491
+ "internalType": "uint256",
492
+ "name": "amountSharesOut",
493
+ "type": "uint256"
494
+ }
495
+ ],
496
+ "stateMutability": "payable",
497
+ "type": "function"
498
+ },
499
+ {
500
+ "inputs": [],
501
+ "name": "eip712Domain",
502
+ "outputs": [
503
+ {
504
+ "internalType": "bytes1",
505
+ "name": "fields",
506
+ "type": "bytes1"
507
+ },
508
+ {
509
+ "internalType": "string",
510
+ "name": "name",
511
+ "type": "string"
512
+ },
513
+ {
514
+ "internalType": "string",
515
+ "name": "version",
516
+ "type": "string"
517
+ },
518
+ {
519
+ "internalType": "uint256",
520
+ "name": "chainId",
521
+ "type": "uint256"
522
+ },
523
+ {
524
+ "internalType": "address",
525
+ "name": "verifyingContract",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "internalType": "bytes32",
530
+ "name": "salt",
531
+ "type": "bytes32"
532
+ },
533
+ {
534
+ "internalType": "uint256[]",
535
+ "name": "extensions",
536
+ "type": "uint256[]"
537
+ }
538
+ ],
539
+ "stateMutability": "view",
540
+ "type": "function"
541
+ },
542
+ {
543
+ "inputs": [],
544
+ "name": "exchangeRate",
545
+ "outputs": [
546
+ {
547
+ "internalType": "uint256",
548
+ "name": "",
549
+ "type": "uint256"
550
+ }
551
+ ],
552
+ "stateMutability": "view",
553
+ "type": "function"
554
+ },
555
+ {
556
+ "inputs": [],
557
+ "name": "getRewardTokens",
558
+ "outputs": [
559
+ {
560
+ "internalType": "address[]",
561
+ "name": "rewardTokens",
562
+ "type": "address[]"
563
+ }
564
+ ],
565
+ "stateMutability": "view",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [],
570
+ "name": "getTokensIn",
571
+ "outputs": [
572
+ {
573
+ "internalType": "address[]",
574
+ "name": "",
575
+ "type": "address[]"
576
+ }
577
+ ],
578
+ "stateMutability": "view",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "inputs": [],
583
+ "name": "getTokensOut",
584
+ "outputs": [
585
+ {
586
+ "internalType": "address[]",
587
+ "name": "",
588
+ "type": "address[]"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [
596
+ {
597
+ "internalType": "address",
598
+ "name": "token",
599
+ "type": "address"
600
+ }
601
+ ],
602
+ "name": "isValidTokenIn",
603
+ "outputs": [
604
+ {
605
+ "internalType": "bool",
606
+ "name": "",
607
+ "type": "bool"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [
615
+ {
616
+ "internalType": "address",
617
+ "name": "token",
618
+ "type": "address"
619
+ }
620
+ ],
621
+ "name": "isValidTokenOut",
622
+ "outputs": [
623
+ {
624
+ "internalType": "bool",
625
+ "name": "",
626
+ "type": "bool"
627
+ }
628
+ ],
629
+ "stateMutability": "view",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [],
634
+ "name": "name",
635
+ "outputs": [
636
+ {
637
+ "internalType": "string",
638
+ "name": "",
639
+ "type": "string"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "address",
649
+ "name": "owner",
650
+ "type": "address"
651
+ }
652
+ ],
653
+ "name": "nonces",
654
+ "outputs": [
655
+ {
656
+ "internalType": "uint256",
657
+ "name": "",
658
+ "type": "uint256"
659
+ }
660
+ ],
661
+ "stateMutability": "view",
662
+ "type": "function"
663
+ },
664
+ {
665
+ "inputs": [],
666
+ "name": "owner",
667
+ "outputs": [
668
+ {
669
+ "internalType": "address",
670
+ "name": "",
671
+ "type": "address"
672
+ }
673
+ ],
674
+ "stateMutability": "view",
675
+ "type": "function"
676
+ },
677
+ {
678
+ "inputs": [],
679
+ "name": "pause",
680
+ "outputs": [],
681
+ "stateMutability": "nonpayable",
682
+ "type": "function"
683
+ },
684
+ {
685
+ "inputs": [],
686
+ "name": "paused",
687
+ "outputs": [
688
+ {
689
+ "internalType": "bool",
690
+ "name": "",
691
+ "type": "bool"
692
+ }
693
+ ],
694
+ "stateMutability": "view",
695
+ "type": "function"
696
+ },
697
+ {
698
+ "inputs": [],
699
+ "name": "pendingOwner",
700
+ "outputs": [
701
+ {
702
+ "internalType": "address",
703
+ "name": "",
704
+ "type": "address"
705
+ }
706
+ ],
707
+ "stateMutability": "view",
708
+ "type": "function"
709
+ },
710
+ {
711
+ "inputs": [
712
+ {
713
+ "internalType": "address",
714
+ "name": "owner",
715
+ "type": "address"
716
+ },
717
+ {
718
+ "internalType": "address",
719
+ "name": "spender",
720
+ "type": "address"
721
+ },
722
+ {
723
+ "internalType": "uint256",
724
+ "name": "value",
725
+ "type": "uint256"
726
+ },
727
+ {
728
+ "internalType": "uint256",
729
+ "name": "deadline",
730
+ "type": "uint256"
731
+ },
732
+ {
733
+ "internalType": "uint8",
734
+ "name": "v",
735
+ "type": "uint8"
736
+ },
737
+ {
738
+ "internalType": "bytes32",
739
+ "name": "r",
740
+ "type": "bytes32"
741
+ },
742
+ {
743
+ "internalType": "bytes32",
744
+ "name": "s",
745
+ "type": "bytes32"
746
+ }
747
+ ],
748
+ "name": "permit",
749
+ "outputs": [],
750
+ "stateMutability": "nonpayable",
751
+ "type": "function"
752
+ },
753
+ {
754
+ "inputs": [
755
+ {
756
+ "internalType": "address",
757
+ "name": "tokenIn",
758
+ "type": "address"
759
+ },
760
+ {
761
+ "internalType": "uint256",
762
+ "name": "amountTokenToDeposit",
763
+ "type": "uint256"
764
+ }
765
+ ],
766
+ "name": "previewDeposit",
767
+ "outputs": [
768
+ {
769
+ "internalType": "uint256",
770
+ "name": "amountSharesOut",
771
+ "type": "uint256"
772
+ }
773
+ ],
774
+ "stateMutability": "view",
775
+ "type": "function"
776
+ },
777
+ {
778
+ "inputs": [
779
+ {
780
+ "internalType": "address",
781
+ "name": "tokenOut",
782
+ "type": "address"
783
+ },
784
+ {
785
+ "internalType": "uint256",
786
+ "name": "amountSharesToRedeem",
787
+ "type": "uint256"
788
+ }
789
+ ],
790
+ "name": "previewRedeem",
791
+ "outputs": [
792
+ {
793
+ "internalType": "uint256",
794
+ "name": "amountTokenOut",
795
+ "type": "uint256"
796
+ }
797
+ ],
798
+ "stateMutability": "view",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [
803
+ {
804
+ "internalType": "address",
805
+ "name": "receiver",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "internalType": "uint256",
810
+ "name": "amountSharesToRedeem",
811
+ "type": "uint256"
812
+ },
813
+ {
814
+ "internalType": "address",
815
+ "name": "tokenOut",
816
+ "type": "address"
817
+ },
818
+ {
819
+ "internalType": "uint256",
820
+ "name": "minTokenOut",
821
+ "type": "uint256"
822
+ },
823
+ {
824
+ "internalType": "bool",
825
+ "name": "burnFromInternalBalance",
826
+ "type": "bool"
827
+ }
828
+ ],
829
+ "name": "redeem",
830
+ "outputs": [
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "amountTokenOut",
834
+ "type": "uint256"
835
+ }
836
+ ],
837
+ "stateMutability": "nonpayable",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "inputs": [],
842
+ "name": "rewardIndexesCurrent",
843
+ "outputs": [
844
+ {
845
+ "internalType": "uint256[]",
846
+ "name": "indexes",
847
+ "type": "uint256[]"
848
+ }
849
+ ],
850
+ "stateMutability": "nonpayable",
851
+ "type": "function"
852
+ },
853
+ {
854
+ "inputs": [],
855
+ "name": "rewardIndexesStored",
856
+ "outputs": [
857
+ {
858
+ "internalType": "uint256[]",
859
+ "name": "indexes",
860
+ "type": "uint256[]"
861
+ }
862
+ ],
863
+ "stateMutability": "view",
864
+ "type": "function"
865
+ },
866
+ {
867
+ "inputs": [],
868
+ "name": "stakeToken",
869
+ "outputs": [
870
+ {
871
+ "internalType": "address",
872
+ "name": "",
873
+ "type": "address"
874
+ }
875
+ ],
876
+ "stateMutability": "view",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [],
881
+ "name": "symbol",
882
+ "outputs": [
883
+ {
884
+ "internalType": "string",
885
+ "name": "",
886
+ "type": "string"
887
+ }
888
+ ],
889
+ "stateMutability": "view",
890
+ "type": "function"
891
+ },
892
+ {
893
+ "inputs": [],
894
+ "name": "totalSupply",
895
+ "outputs": [
896
+ {
897
+ "internalType": "uint256",
898
+ "name": "",
899
+ "type": "uint256"
900
+ }
901
+ ],
902
+ "stateMutability": "view",
903
+ "type": "function"
904
+ },
905
+ {
906
+ "inputs": [
907
+ {
908
+ "internalType": "address",
909
+ "name": "to",
910
+ "type": "address"
911
+ },
912
+ {
913
+ "internalType": "uint256",
914
+ "name": "amount",
915
+ "type": "uint256"
916
+ }
917
+ ],
918
+ "name": "transfer",
919
+ "outputs": [
920
+ {
921
+ "internalType": "bool",
922
+ "name": "",
923
+ "type": "bool"
924
+ }
925
+ ],
926
+ "stateMutability": "nonpayable",
927
+ "type": "function"
928
+ },
929
+ {
930
+ "inputs": [
931
+ {
932
+ "internalType": "address",
933
+ "name": "from",
934
+ "type": "address"
935
+ },
936
+ {
937
+ "internalType": "address",
938
+ "name": "to",
939
+ "type": "address"
940
+ },
941
+ {
942
+ "internalType": "uint256",
943
+ "name": "amount",
944
+ "type": "uint256"
945
+ }
946
+ ],
947
+ "name": "transferFrom",
948
+ "outputs": [
949
+ {
950
+ "internalType": "bool",
951
+ "name": "",
952
+ "type": "bool"
953
+ }
954
+ ],
955
+ "stateMutability": "nonpayable",
956
+ "type": "function"
957
+ },
958
+ {
959
+ "inputs": [
960
+ {
961
+ "internalType": "address",
962
+ "name": "newOwner",
963
+ "type": "address"
964
+ },
965
+ {
966
+ "internalType": "bool",
967
+ "name": "direct",
968
+ "type": "bool"
969
+ },
970
+ {
971
+ "internalType": "bool",
972
+ "name": "renounce",
973
+ "type": "bool"
974
+ }
975
+ ],
976
+ "name": "transferOwnership",
977
+ "outputs": [],
978
+ "stateMutability": "nonpayable",
979
+ "type": "function"
980
+ },
981
+ {
982
+ "inputs": [],
983
+ "name": "unpause",
984
+ "outputs": [],
985
+ "stateMutability": "nonpayable",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [],
990
+ "name": "vault",
991
+ "outputs": [
992
+ {
993
+ "internalType": "address",
994
+ "name": "",
995
+ "type": "address"
996
+ }
997
+ ],
998
+ "stateMutability": "view",
999
+ "type": "function"
1000
+ },
1001
+ {
1002
+ "inputs": [],
1003
+ "name": "vaultSupervisor",
1004
+ "outputs": [
1005
+ {
1006
+ "internalType": "address",
1007
+ "name": "",
1008
+ "type": "address"
1009
+ }
1010
+ ],
1011
+ "stateMutability": "view",
1012
+ "type": "function"
1013
+ },
1014
+ {
1015
+ "inputs": [],
1016
+ "name": "yieldToken",
1017
+ "outputs": [
1018
+ {
1019
+ "internalType": "address",
1020
+ "name": "",
1021
+ "type": "address"
1022
+ }
1023
+ ],
1024
+ "stateMutability": "view",
1025
+ "type": "function"
1026
+ },
1027
+ {
1028
+ "stateMutability": "payable",
1029
+ "type": "receive"
1030
+ }
1031
+ ],
1032
+ "bytecode": "0x",
1033
+ "deployedBytecode": "0x",
1034
+ "linkReferences": {},
1035
+ "deployedLinkReferences": {}
1036
+ }