@pendle/core-v2 4.2.2 → 4.2.3

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 (55) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.dbg.json +4 -0
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol/PendleEzETHL2SY.json +1114 -0
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol/PendleRenzoPreviewHelper.dbg.json +4 -0
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol/PendleRenzoPreviewHelper.json +347 -0
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.dbg.json +1 -1
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol/PendleThenaSY.json +4 -4
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/IThenaSY.dbg.json +1 -1
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.dbg.json +1 -1
  9. package/build/artifacts/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol/ThenaPreview.json +2 -2
  10. package/build/artifacts/contracts/interfaces/Connext/IConnext.sol/IConnext.dbg.json +4 -0
  11. package/build/artifacts/contracts/interfaces/Connext/IConnext.sol/IConnext.json +45 -0
  12. package/build/artifacts/contracts/interfaces/IPPreviewHelper.sol/IPPreviewHelper.dbg.json +4 -0
  13. package/build/artifacts/contracts/interfaces/{IPendlePreviewHelper.sol/IPendlePreviewHelper.json → IPPreviewHelper.sol/IPPreviewHelper.json} +2 -2
  14. package/build/artifacts/contracts/interfaces/Renzo/IRenzoDepositL2.sol/IRenzoDepositL2.dbg.json +4 -0
  15. package/build/artifacts/contracts/interfaces/Renzo/IRenzoDepositL2.sol/IRenzoDepositL2.json +105 -0
  16. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  17. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +12 -2
  18. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapBase.dbg.json +1 -1
  19. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.dbg.json +1 -1
  20. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL1.json +2 -2
  21. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.dbg.json +1 -1
  22. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwapL2.json +2 -2
  23. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.dbg.json +1 -1
  24. package/build/artifacts/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol/InputScalingHelperL2.json +2 -2
  25. package/contracts/core/StandardizedYield/implementations/Renzo/PendleEzETHL2SY.sol +110 -0
  26. package/contracts/core/StandardizedYield/implementations/Renzo/PendleRenzoPreviewHelper.sol +69 -0
  27. package/contracts/core/StandardizedYield/implementations/Thena/PendleThenaSY.sol +3 -3
  28. package/contracts/core/StandardizedYield/implementations/Thena/ThenaPreview.sol +2 -2
  29. package/contracts/interfaces/Connext/IConnext.sol +12 -0
  30. package/contracts/interfaces/{IPendlePreviewHelper.sol → IPPreviewHelper.sol} +1 -1
  31. package/contracts/interfaces/Renzo/IRenzoDepositL2.sol +16 -0
  32. package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +2 -0
  33. package/contracts/router/swap-aggregator/kyberswap/l2-contracts/InputScalingHelperL2.sol +2 -2
  34. package/deployments/10-core.json +1 -1
  35. package/deployments/42161-core.json +1 -1
  36. package/deployments/42161-markets/EZETH-JUNE2024.json +11 -0
  37. package/package.json +1 -1
  38. package/typechain-types/IConnext.ts +118 -0
  39. package/typechain-types/IPPreviewHelper.ts +147 -0
  40. package/typechain-types/IRenzoDepositL2.ts +191 -0
  41. package/typechain-types/PendleEzETHL2SY.ts +1400 -0
  42. package/typechain-types/PendleRenzoPreviewHelper.ts +527 -0
  43. package/typechain-types/factories/IConnext__factory.ts +57 -0
  44. package/typechain-types/factories/IPPreviewHelper__factory.ts +74 -0
  45. package/typechain-types/factories/IRenzoDepositL2__factory.ts +120 -0
  46. package/typechain-types/factories/PendleEzETHL2SY__factory.ts +1191 -0
  47. package/typechain-types/factories/PendleRenzoPreviewHelper__factory.ts +431 -0
  48. package/typechain-types/factories/PendleSwapL1__factory.ts +1 -1
  49. package/typechain-types/factories/PendleSwapL2__factory.ts +1 -1
  50. package/typechain-types/factories/PendleThenaSY__factory.ts +3 -3
  51. package/typechain-types/factories/SDKErrorsDirectory__factory.ts +11 -1
  52. package/typechain-types/factories/ThenaPreview__factory.ts +1 -1
  53. package/typechain-types/hardhat.d.ts +45 -54
  54. package/typechain-types/index.ts +12 -8
  55. package/build/artifacts/contracts/interfaces/IPendlePreviewHelper.sol/IPendlePreviewHelper.dbg.json +0 -4
@@ -0,0 +1,120 @@
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
+ IRenzoDepositL2,
9
+ IRenzoDepositL2Interface,
10
+ } from "../IRenzoDepositL2";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "bridgeRouterFeeBps",
16
+ outputs: [
17
+ {
18
+ internalType: "uint256",
19
+ name: "",
20
+ type: "uint256",
21
+ },
22
+ ],
23
+ stateMutability: "view",
24
+ type: "function",
25
+ },
26
+ {
27
+ inputs: [],
28
+ name: "collateralToken",
29
+ outputs: [
30
+ {
31
+ internalType: "address",
32
+ name: "",
33
+ type: "address",
34
+ },
35
+ ],
36
+ stateMutability: "view",
37
+ type: "function",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "connext",
42
+ outputs: [
43
+ {
44
+ internalType: "address",
45
+ name: "",
46
+ type: "address",
47
+ },
48
+ ],
49
+ stateMutability: "view",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [
54
+ {
55
+ internalType: "uint256",
56
+ name: "_amountIn",
57
+ type: "uint256",
58
+ },
59
+ {
60
+ internalType: "uint256",
61
+ name: "_minOut",
62
+ type: "uint256",
63
+ },
64
+ {
65
+ internalType: "uint256",
66
+ name: "_deadline",
67
+ type: "uint256",
68
+ },
69
+ ],
70
+ name: "deposit",
71
+ outputs: [
72
+ {
73
+ internalType: "uint256",
74
+ name: "",
75
+ type: "uint256",
76
+ },
77
+ ],
78
+ stateMutability: "nonpayable",
79
+ type: "function",
80
+ },
81
+ {
82
+ inputs: [],
83
+ name: "lastPrice",
84
+ outputs: [
85
+ {
86
+ internalType: "uint256",
87
+ name: "",
88
+ type: "uint256",
89
+ },
90
+ ],
91
+ stateMutability: "view",
92
+ type: "function",
93
+ },
94
+ {
95
+ inputs: [],
96
+ name: "swapKey",
97
+ outputs: [
98
+ {
99
+ internalType: "bytes32",
100
+ name: "",
101
+ type: "bytes32",
102
+ },
103
+ ],
104
+ stateMutability: "view",
105
+ type: "function",
106
+ },
107
+ ];
108
+
109
+ export class IRenzoDepositL2__factory {
110
+ static readonly abi = _abi;
111
+ static createInterface(): IRenzoDepositL2Interface {
112
+ return new utils.Interface(_abi) as IRenzoDepositL2Interface;
113
+ }
114
+ static connect(
115
+ address: string,
116
+ signerOrProvider: Signer | Provider
117
+ ): IRenzoDepositL2 {
118
+ return new Contract(address, _abi, signerOrProvider) as IRenzoDepositL2;
119
+ }
120
+ }