@pendle/core-v2 0.19.0-testnet → 0.20.1-testnet

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 (51) hide show
  1. package/build/artifacts/contracts/core/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
  3. package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
  6. package/deployments/43113-helper.json +1 -1
  7. package/deployments/80001-helper.json +3 -0
  8. package/package.json +1 -1
  9. package/typechain-types/ComposableStablePreview.ts +217 -0
  10. package/typechain-types/IBalancerFees.ts +89 -0
  11. package/typechain-types/IBalancerStablePreview.ts +217 -0
  12. package/typechain-types/IBasePool.ts +482 -0
  13. package/typechain-types/IComposableStable.ts +730 -0
  14. package/typechain-types/IGauge.ts +160 -0
  15. package/typechain-types/ILiquidityGaugeFactory.ts +99 -0
  16. package/typechain-types/IMetaStablePool.ts +619 -0
  17. package/typechain-types/IRateProvider.ts +81 -0
  18. package/typechain-types/IVault.ts +410 -0
  19. package/typechain-types/MetaStableMath.ts +113 -0
  20. package/typechain-types/MetaStablePreview.ts +501 -0
  21. package/typechain-types/Multicall2.ts +437 -0
  22. package/typechain-types/PendleAura3EthSY.ts +1639 -0
  23. package/typechain-types/PendleAuraBalancerStableLPSY.ts +1523 -0
  24. package/typechain-types/PendleAuraCbethWstethSY.ts +1626 -0
  25. package/typechain-types/PendleAuraWethRethSY.ts +1549 -0
  26. package/typechain-types/PendleAuraWethWstethSY.ts +1562 -0
  27. package/typechain-types/StEthHelper.ts +107 -0
  28. package/typechain-types/StablePreviewBase.ts +217 -0
  29. package/typechain-types/factories/ComposableStablePreview__factory.ts +190 -0
  30. package/typechain-types/factories/IBalancerFees__factory.ts +36 -0
  31. package/typechain-types/factories/IBalancerStablePreview__factory.ts +152 -0
  32. package/typechain-types/factories/IBasePool__factory.ts +340 -0
  33. package/typechain-types/factories/IComposableStable__factory.ts +482 -0
  34. package/typechain-types/factories/IGauge__factory.ts +70 -0
  35. package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +49 -0
  36. package/typechain-types/factories/IMetaStablePool__factory.ts +413 -0
  37. package/typechain-types/factories/IRateProvider__factory.ts +36 -0
  38. package/typechain-types/factories/IVault__factory.ts +287 -0
  39. package/typechain-types/factories/MetaStableMath__factory.ts +93 -0
  40. package/typechain-types/factories/MetaStablePreview__factory.ts +375 -0
  41. package/typechain-types/factories/Multicall2__factory.ts +372 -0
  42. package/typechain-types/factories/PendleAura3EthSY__factory.ts +1365 -0
  43. package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +1190 -0
  44. package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1356 -0
  45. package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1291 -0
  46. package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1304 -0
  47. package/typechain-types/factories/StEthHelper__factory.ts +62 -0
  48. package/typechain-types/factories/StablePreviewBase__factory.ts +148 -0
  49. package/typechain-types/hardhat.d.ts +180 -9
  50. package/typechain-types/index.ts +40 -2
  51. package/deployments/1-markets/APE-JUNE-29.json +0 -8
@@ -0,0 +1,413 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ IMetaStablePool,
9
+ IMetaStablePoolInterface,
10
+ } from "../IMetaStablePool";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "owner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "spender",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: false,
30
+ internalType: "uint256",
31
+ name: "value",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "Approval",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "address",
44
+ name: "from",
45
+ type: "address",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "to",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "uint256",
56
+ name: "value",
57
+ type: "uint256",
58
+ },
59
+ ],
60
+ name: "Transfer",
61
+ type: "event",
62
+ },
63
+ {
64
+ inputs: [
65
+ {
66
+ internalType: "address",
67
+ name: "owner",
68
+ type: "address",
69
+ },
70
+ {
71
+ internalType: "address",
72
+ name: "spender",
73
+ type: "address",
74
+ },
75
+ ],
76
+ name: "allowance",
77
+ outputs: [
78
+ {
79
+ internalType: "uint256",
80
+ name: "",
81
+ type: "uint256",
82
+ },
83
+ ],
84
+ stateMutability: "view",
85
+ type: "function",
86
+ },
87
+ {
88
+ inputs: [
89
+ {
90
+ internalType: "address",
91
+ name: "spender",
92
+ type: "address",
93
+ },
94
+ {
95
+ internalType: "uint256",
96
+ name: "amount",
97
+ type: "uint256",
98
+ },
99
+ ],
100
+ name: "approve",
101
+ outputs: [
102
+ {
103
+ internalType: "bool",
104
+ name: "",
105
+ type: "bool",
106
+ },
107
+ ],
108
+ stateMutability: "nonpayable",
109
+ type: "function",
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: "address",
115
+ name: "account",
116
+ type: "address",
117
+ },
118
+ ],
119
+ name: "balanceOf",
120
+ outputs: [
121
+ {
122
+ internalType: "uint256",
123
+ name: "",
124
+ type: "uint256",
125
+ },
126
+ ],
127
+ stateMutability: "view",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [],
132
+ name: "getAmplificationParameter",
133
+ outputs: [
134
+ {
135
+ internalType: "uint256",
136
+ name: "value",
137
+ type: "uint256",
138
+ },
139
+ {
140
+ internalType: "bool",
141
+ name: "isUpdating",
142
+ type: "bool",
143
+ },
144
+ {
145
+ internalType: "uint256",
146
+ name: "precision",
147
+ type: "uint256",
148
+ },
149
+ ],
150
+ stateMutability: "view",
151
+ type: "function",
152
+ },
153
+ {
154
+ inputs: [],
155
+ name: "getLastInvariant",
156
+ outputs: [
157
+ {
158
+ internalType: "uint256",
159
+ name: "lastInvariant",
160
+ type: "uint256",
161
+ },
162
+ {
163
+ internalType: "uint256",
164
+ name: "lastInvariantAmp",
165
+ type: "uint256",
166
+ },
167
+ ],
168
+ stateMutability: "view",
169
+ type: "function",
170
+ },
171
+ {
172
+ inputs: [],
173
+ name: "getPoolId",
174
+ outputs: [
175
+ {
176
+ internalType: "bytes32",
177
+ name: "",
178
+ type: "bytes32",
179
+ },
180
+ ],
181
+ stateMutability: "view",
182
+ type: "function",
183
+ },
184
+ {
185
+ inputs: [
186
+ {
187
+ internalType: "contract IERC20",
188
+ name: "token",
189
+ type: "address",
190
+ },
191
+ ],
192
+ name: "getPriceRateCache",
193
+ outputs: [
194
+ {
195
+ internalType: "uint256",
196
+ name: "rate",
197
+ type: "uint256",
198
+ },
199
+ {
200
+ internalType: "uint256",
201
+ name: "duration",
202
+ type: "uint256",
203
+ },
204
+ {
205
+ internalType: "uint256",
206
+ name: "expires",
207
+ type: "uint256",
208
+ },
209
+ ],
210
+ stateMutability: "view",
211
+ type: "function",
212
+ },
213
+ {
214
+ inputs: [],
215
+ name: "getSwapFeePercentage",
216
+ outputs: [
217
+ {
218
+ internalType: "uint256",
219
+ name: "",
220
+ type: "uint256",
221
+ },
222
+ ],
223
+ stateMutability: "view",
224
+ type: "function",
225
+ },
226
+ {
227
+ inputs: [
228
+ {
229
+ internalType: "bytes32",
230
+ name: "poolId",
231
+ type: "bytes32",
232
+ },
233
+ {
234
+ internalType: "address",
235
+ name: "sender",
236
+ type: "address",
237
+ },
238
+ {
239
+ internalType: "address",
240
+ name: "recipient",
241
+ type: "address",
242
+ },
243
+ {
244
+ internalType: "uint256[]",
245
+ name: "balances",
246
+ type: "uint256[]",
247
+ },
248
+ {
249
+ internalType: "uint256",
250
+ name: "lastChangeBlock",
251
+ type: "uint256",
252
+ },
253
+ {
254
+ internalType: "uint256",
255
+ name: "protocolSwapFeePercentage",
256
+ type: "uint256",
257
+ },
258
+ {
259
+ internalType: "bytes",
260
+ name: "userData",
261
+ type: "bytes",
262
+ },
263
+ ],
264
+ name: "onExitPool",
265
+ outputs: [
266
+ {
267
+ internalType: "uint256[]",
268
+ name: "amountsOut",
269
+ type: "uint256[]",
270
+ },
271
+ {
272
+ internalType: "uint256[]",
273
+ name: "dueProtocolFeeAmounts",
274
+ type: "uint256[]",
275
+ },
276
+ ],
277
+ stateMutability: "nonpayable",
278
+ type: "function",
279
+ },
280
+ {
281
+ inputs: [
282
+ {
283
+ internalType: "bytes32",
284
+ name: "poolId",
285
+ type: "bytes32",
286
+ },
287
+ {
288
+ internalType: "address",
289
+ name: "sender",
290
+ type: "address",
291
+ },
292
+ {
293
+ internalType: "address",
294
+ name: "recipient",
295
+ type: "address",
296
+ },
297
+ {
298
+ internalType: "uint256[]",
299
+ name: "balances",
300
+ type: "uint256[]",
301
+ },
302
+ {
303
+ internalType: "uint256",
304
+ name: "lastChangeBlock",
305
+ type: "uint256",
306
+ },
307
+ {
308
+ internalType: "uint256",
309
+ name: "protocolSwapFeePercentage",
310
+ type: "uint256",
311
+ },
312
+ {
313
+ internalType: "bytes",
314
+ name: "userData",
315
+ type: "bytes",
316
+ },
317
+ ],
318
+ name: "onJoinPool",
319
+ outputs: [
320
+ {
321
+ internalType: "uint256[]",
322
+ name: "amountsIn",
323
+ type: "uint256[]",
324
+ },
325
+ {
326
+ internalType: "uint256[]",
327
+ name: "dueProtocolFeeAmounts",
328
+ type: "uint256[]",
329
+ },
330
+ ],
331
+ stateMutability: "nonpayable",
332
+ type: "function",
333
+ },
334
+ {
335
+ inputs: [],
336
+ name: "totalSupply",
337
+ outputs: [
338
+ {
339
+ internalType: "uint256",
340
+ name: "",
341
+ type: "uint256",
342
+ },
343
+ ],
344
+ stateMutability: "view",
345
+ type: "function",
346
+ },
347
+ {
348
+ inputs: [
349
+ {
350
+ internalType: "address",
351
+ name: "to",
352
+ type: "address",
353
+ },
354
+ {
355
+ internalType: "uint256",
356
+ name: "amount",
357
+ type: "uint256",
358
+ },
359
+ ],
360
+ name: "transfer",
361
+ outputs: [
362
+ {
363
+ internalType: "bool",
364
+ name: "",
365
+ type: "bool",
366
+ },
367
+ ],
368
+ stateMutability: "nonpayable",
369
+ type: "function",
370
+ },
371
+ {
372
+ inputs: [
373
+ {
374
+ internalType: "address",
375
+ name: "from",
376
+ type: "address",
377
+ },
378
+ {
379
+ internalType: "address",
380
+ name: "to",
381
+ type: "address",
382
+ },
383
+ {
384
+ internalType: "uint256",
385
+ name: "amount",
386
+ type: "uint256",
387
+ },
388
+ ],
389
+ name: "transferFrom",
390
+ outputs: [
391
+ {
392
+ internalType: "bool",
393
+ name: "",
394
+ type: "bool",
395
+ },
396
+ ],
397
+ stateMutability: "nonpayable",
398
+ type: "function",
399
+ },
400
+ ];
401
+
402
+ export class IMetaStablePool__factory {
403
+ static readonly abi = _abi;
404
+ static createInterface(): IMetaStablePoolInterface {
405
+ return new utils.Interface(_abi) as IMetaStablePoolInterface;
406
+ }
407
+ static connect(
408
+ address: string,
409
+ signerOrProvider: Signer | Provider
410
+ ): IMetaStablePool {
411
+ return new Contract(address, _abi, signerOrProvider) as IMetaStablePool;
412
+ }
413
+ }
@@ -0,0 +1,36 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type { IRateProvider, IRateProviderInterface } from "../IRateProvider";
8
+
9
+ const _abi = [
10
+ {
11
+ inputs: [],
12
+ name: "getRate",
13
+ outputs: [
14
+ {
15
+ internalType: "uint256",
16
+ name: "",
17
+ type: "uint256",
18
+ },
19
+ ],
20
+ stateMutability: "view",
21
+ type: "function",
22
+ },
23
+ ];
24
+
25
+ export class IRateProvider__factory {
26
+ static readonly abi = _abi;
27
+ static createInterface(): IRateProviderInterface {
28
+ return new utils.Interface(_abi) as IRateProviderInterface;
29
+ }
30
+ static connect(
31
+ address: string,
32
+ signerOrProvider: Signer | Provider
33
+ ): IRateProvider {
34
+ return new Contract(address, _abi, signerOrProvider) as IRateProvider;
35
+ }
36
+ }