@pendle/core-v2 2.13.2-mainnet → 2.14.0-mainnet

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 (42) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +6 -6
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.json +0 -26
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +10 -41
  9. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +48 -0
  11. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +4 -0
  12. package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.json +638 -0
  13. package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
  14. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol +18 -10
  15. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol +2 -10
  16. package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol +43 -41
  17. package/contracts/interfaces/Camelot/ICamelotNFTPool.sol +14 -0
  18. package/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol +95 -0
  19. package/deployments/42161-markets/CAMELOT-ARBETH-27JUNE2024-ARBITRUM.json +10 -0
  20. package/deployments/42161-markets/CAMELOT-PEP-27JUNE2024-ARBITRUM.json +4 -4
  21. package/package.json +1 -1
  22. package/typechain-types/CamelotV1LpHelper.ts +203 -0
  23. package/typechain-types/CamelotV1Preview.ts +431 -0
  24. package/typechain-types/CamelotV1VolatileLpHelper.ts +0 -32
  25. package/typechain-types/ICamelotNFTPool.ts +85 -0
  26. package/typechain-types/ICamelotNitroPoolFactory.ts +1053 -0
  27. package/typechain-types/ICamelotSY.ts +100 -0
  28. package/typechain-types/IPendlePreviewHelper.ts +147 -0
  29. package/typechain-types/PendleCamelotV1SY.ts +2014 -0
  30. package/typechain-types/PendleCamelotV1VolatileSY.ts +14 -46
  31. package/typechain-types/factories/CamelotRewardHelper__factory.ts +24 -13
  32. package/typechain-types/factories/CamelotV1LpHelper__factory.ts +143 -0
  33. package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
  34. package/typechain-types/factories/CamelotV1VolatileLpHelper__factory.ts +0 -26
  35. package/typechain-types/factories/ICamelotNFTPool__factory.ts +48 -0
  36. package/typechain-types/factories/ICamelotNitroPoolFactory__factory.ts +657 -0
  37. package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
  38. package/typechain-types/factories/IPendlePreviewHelper__factory.ts +78 -0
  39. package/typechain-types/factories/PendleCamelotV1SY__factory.ts +1614 -0
  40. package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +25 -53
  41. package/typechain-types/hardhat.d.ts +9 -0
  42. package/typechain-types/index.ts +2 -0
@@ -0,0 +1,78 @@
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
+ IPendlePreviewHelper,
9
+ IPendlePreviewHelperInterface,
10
+ } from "../IPendlePreviewHelper";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "address",
17
+ name: "tokenIn",
18
+ type: "address",
19
+ },
20
+ {
21
+ internalType: "uint256",
22
+ name: "amountTokenIn",
23
+ type: "uint256",
24
+ },
25
+ ],
26
+ name: "previewDeposit",
27
+ outputs: [
28
+ {
29
+ internalType: "uint256",
30
+ name: "amountSharesOut",
31
+ type: "uint256",
32
+ },
33
+ ],
34
+ stateMutability: "view",
35
+ type: "function",
36
+ },
37
+ {
38
+ inputs: [
39
+ {
40
+ internalType: "address",
41
+ name: "tokenOut",
42
+ type: "address",
43
+ },
44
+ {
45
+ internalType: "uint256",
46
+ name: "amountSharesToBurn",
47
+ type: "uint256",
48
+ },
49
+ ],
50
+ name: "previewRedeem",
51
+ outputs: [
52
+ {
53
+ internalType: "uint256",
54
+ name: "amountTokenOut",
55
+ type: "uint256",
56
+ },
57
+ ],
58
+ stateMutability: "view",
59
+ type: "function",
60
+ },
61
+ ];
62
+
63
+ export class IPendlePreviewHelper__factory {
64
+ static readonly abi = _abi;
65
+ static createInterface(): IPendlePreviewHelperInterface {
66
+ return new utils.Interface(_abi) as IPendlePreviewHelperInterface;
67
+ }
68
+ static connect(
69
+ address: string,
70
+ signerOrProvider: Signer | Provider
71
+ ): IPendlePreviewHelper {
72
+ return new Contract(
73
+ address,
74
+ _abi,
75
+ signerOrProvider
76
+ ) as IPendlePreviewHelper;
77
+ }
78
+ }