@pendle/core-v2 4.5.1 → 4.5.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 (63) hide show
  1. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +1 -1
  2. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.dbg.json +1 -1
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.json +2 -2
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  6. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  7. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +4 -0
  8. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +60 -0
  9. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +4 -0
  10. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.json +25 -0
  11. package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +1 -1
  12. package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.dbg.json +1 -1
  13. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +4 -0
  14. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +401 -0
  15. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  16. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +4 -0
  17. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.json +63 -0
  18. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +4 -0
  19. package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.json +35 -0
  20. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  21. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  22. package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +1 -1
  23. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  24. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
  25. package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
  26. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  27. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol +0 -1
  28. package/contracts/interfaces/IPGovernanceProxy.sol +14 -0
  29. package/contracts/interfaces/IPPausingInterface.sol +8 -0
  30. package/contracts/offchain-helpers/PendleGovernanceProxy.sol +84 -0
  31. package/contracts/offchain-helpers/SupplyCapReader.sol +25 -0
  32. package/deployments/1-markets/PUFETH-MAINNET-SEP2024.json +11 -0
  33. package/deployments/1-markets/RSETH-MAINNET-SEP2024.json +11 -0
  34. package/deployments/1-markets/SUSDE-MAINNET-SEP2024.json +13 -0
  35. package/deployments/1-markets/UNIETH-MAINNET-SEP2024.json +13 -0
  36. package/deployments/1-offchain-helper.json +2 -1
  37. package/deployments/10-offchain-helper.json +2 -1
  38. package/deployments/42161-markets/RSETH-ARBITRUM-SEP2024.json +11 -0
  39. package/deployments/42161-offchain-helper.json +2 -1
  40. package/deployments/5000-offchain-helper.json +2 -1
  41. package/deployments/56-offchain-helper.json +2 -1
  42. package/package.json +1 -1
  43. package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
  44. package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
  45. package/typechain-types/IPGovernanceProxy.ts +142 -0
  46. package/typechain-types/IPPYLpOracle.ts +379 -0
  47. package/typechain-types/IPPausingInterface.ts +112 -0
  48. package/typechain-types/IPossibleSupplyCapInterface.ts +142 -0
  49. package/typechain-types/PendleGovernanceProxy.ts +603 -0
  50. package/typechain-types/PendlePYLpOracle.ts +612 -0
  51. package/typechain-types/SupplyCapReader.ts +105 -0
  52. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
  53. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
  54. package/typechain-types/factories/IPGovernanceProxy__factory.ts +75 -0
  55. package/typechain-types/factories/IPPYLpOracle__factory.ts +214 -0
  56. package/typechain-types/factories/IPPausingInterface__factory.ts +40 -0
  57. package/typechain-types/factories/IPossibleSupplyCapInterface__factory.ts +82 -0
  58. package/typechain-types/factories/PendleGovernanceProxy__factory.ts +458 -0
  59. package/typechain-types/factories/PendlePYLpOracle__factory.ts +487 -0
  60. package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1 -1
  61. package/typechain-types/factories/SupplyCapReader__factory.ts +88 -0
  62. package/typechain-types/hardhat.d.ts +81 -0
  63. package/typechain-types/index.ts +18 -0
@@ -0,0 +1,214 @@
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 { IPPYLpOracle, IPPYLpOracleInterface } from "../IPPYLpOracle";
8
+
9
+ const _abi = [
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: false,
15
+ internalType: "uint16",
16
+ name: "newBlockCycleNumerator",
17
+ type: "uint16",
18
+ },
19
+ ],
20
+ name: "SetBlockCycleNumerator",
21
+ type: "event",
22
+ },
23
+ {
24
+ inputs: [
25
+ {
26
+ internalType: "address",
27
+ name: "market",
28
+ type: "address",
29
+ },
30
+ {
31
+ internalType: "uint32",
32
+ name: "duration",
33
+ type: "uint32",
34
+ },
35
+ ],
36
+ name: "getLpToAssetRate",
37
+ outputs: [
38
+ {
39
+ internalType: "uint256",
40
+ name: "",
41
+ type: "uint256",
42
+ },
43
+ ],
44
+ stateMutability: "view",
45
+ type: "function",
46
+ },
47
+ {
48
+ inputs: [
49
+ {
50
+ internalType: "address",
51
+ name: "market",
52
+ type: "address",
53
+ },
54
+ {
55
+ internalType: "uint32",
56
+ name: "duration",
57
+ type: "uint32",
58
+ },
59
+ ],
60
+ name: "getLpToSyRate",
61
+ outputs: [
62
+ {
63
+ internalType: "uint256",
64
+ name: "",
65
+ type: "uint256",
66
+ },
67
+ ],
68
+ stateMutability: "view",
69
+ type: "function",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: "address",
75
+ name: "market",
76
+ type: "address",
77
+ },
78
+ {
79
+ internalType: "uint32",
80
+ name: "duration",
81
+ type: "uint32",
82
+ },
83
+ ],
84
+ name: "getOracleState",
85
+ outputs: [
86
+ {
87
+ internalType: "bool",
88
+ name: "increaseCardinalityRequired",
89
+ type: "bool",
90
+ },
91
+ {
92
+ internalType: "uint16",
93
+ name: "cardinalityRequired",
94
+ type: "uint16",
95
+ },
96
+ {
97
+ internalType: "bool",
98
+ name: "oldestObservationSatisfied",
99
+ type: "bool",
100
+ },
101
+ ],
102
+ stateMutability: "view",
103
+ type: "function",
104
+ },
105
+ {
106
+ inputs: [
107
+ {
108
+ internalType: "address",
109
+ name: "market",
110
+ type: "address",
111
+ },
112
+ {
113
+ internalType: "uint32",
114
+ name: "duration",
115
+ type: "uint32",
116
+ },
117
+ ],
118
+ name: "getPtToAssetRate",
119
+ outputs: [
120
+ {
121
+ internalType: "uint256",
122
+ name: "",
123
+ type: "uint256",
124
+ },
125
+ ],
126
+ stateMutability: "view",
127
+ type: "function",
128
+ },
129
+ {
130
+ inputs: [
131
+ {
132
+ internalType: "address",
133
+ name: "market",
134
+ type: "address",
135
+ },
136
+ {
137
+ internalType: "uint32",
138
+ name: "duration",
139
+ type: "uint32",
140
+ },
141
+ ],
142
+ name: "getPtToSyRate",
143
+ outputs: [
144
+ {
145
+ internalType: "uint256",
146
+ name: "",
147
+ type: "uint256",
148
+ },
149
+ ],
150
+ stateMutability: "view",
151
+ type: "function",
152
+ },
153
+ {
154
+ inputs: [
155
+ {
156
+ internalType: "address",
157
+ name: "market",
158
+ type: "address",
159
+ },
160
+ {
161
+ internalType: "uint32",
162
+ name: "duration",
163
+ type: "uint32",
164
+ },
165
+ ],
166
+ name: "getYtToAssetRate",
167
+ outputs: [
168
+ {
169
+ internalType: "uint256",
170
+ name: "",
171
+ type: "uint256",
172
+ },
173
+ ],
174
+ stateMutability: "view",
175
+ type: "function",
176
+ },
177
+ {
178
+ inputs: [
179
+ {
180
+ internalType: "address",
181
+ name: "market",
182
+ type: "address",
183
+ },
184
+ {
185
+ internalType: "uint32",
186
+ name: "duration",
187
+ type: "uint32",
188
+ },
189
+ ],
190
+ name: "getYtToSyRate",
191
+ outputs: [
192
+ {
193
+ internalType: "uint256",
194
+ name: "",
195
+ type: "uint256",
196
+ },
197
+ ],
198
+ stateMutability: "view",
199
+ type: "function",
200
+ },
201
+ ];
202
+
203
+ export class IPPYLpOracle__factory {
204
+ static readonly abi = _abi;
205
+ static createInterface(): IPPYLpOracleInterface {
206
+ return new utils.Interface(_abi) as IPPYLpOracleInterface;
207
+ }
208
+ static connect(
209
+ address: string,
210
+ signerOrProvider: Signer | Provider
211
+ ): IPPYLpOracle {
212
+ return new Contract(address, _abi, signerOrProvider) as IPPYLpOracle;
213
+ }
214
+ }
@@ -0,0 +1,40 @@
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
+ IPPausingInterface,
9
+ IPPausingInterfaceInterface,
10
+ } from "../IPPausingInterface";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "pause",
16
+ outputs: [],
17
+ stateMutability: "nonpayable",
18
+ type: "function",
19
+ },
20
+ {
21
+ inputs: [],
22
+ name: "unpause",
23
+ outputs: [],
24
+ stateMutability: "nonpayable",
25
+ type: "function",
26
+ },
27
+ ];
28
+
29
+ export class IPPausingInterface__factory {
30
+ static readonly abi = _abi;
31
+ static createInterface(): IPPausingInterfaceInterface {
32
+ return new utils.Interface(_abi) as IPPausingInterfaceInterface;
33
+ }
34
+ static connect(
35
+ address: string,
36
+ signerOrProvider: Signer | Provider
37
+ ): IPPausingInterface {
38
+ return new Contract(address, _abi, signerOrProvider) as IPPausingInterface;
39
+ }
40
+ }
@@ -0,0 +1,82 @@
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
+ IPossibleSupplyCapInterface,
9
+ IPossibleSupplyCapInterfaceInterface,
10
+ } from "../IPossibleSupplyCapInterface";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "getAbsoluteSupplyCap",
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: "getAbsoluteTotalSupply",
29
+ outputs: [
30
+ {
31
+ internalType: "uint256",
32
+ name: "",
33
+ type: "uint256",
34
+ },
35
+ ],
36
+ stateMutability: "view",
37
+ type: "function",
38
+ },
39
+ {
40
+ inputs: [],
41
+ name: "supplyCap",
42
+ outputs: [
43
+ {
44
+ internalType: "uint256",
45
+ name: "",
46
+ type: "uint256",
47
+ },
48
+ ],
49
+ stateMutability: "view",
50
+ type: "function",
51
+ },
52
+ {
53
+ inputs: [],
54
+ name: "totalSupply",
55
+ outputs: [
56
+ {
57
+ internalType: "uint256",
58
+ name: "",
59
+ type: "uint256",
60
+ },
61
+ ],
62
+ stateMutability: "view",
63
+ type: "function",
64
+ },
65
+ ];
66
+
67
+ export class IPossibleSupplyCapInterface__factory {
68
+ static readonly abi = _abi;
69
+ static createInterface(): IPossibleSupplyCapInterfaceInterface {
70
+ return new utils.Interface(_abi) as IPossibleSupplyCapInterfaceInterface;
71
+ }
72
+ static connect(
73
+ address: string,
74
+ signerOrProvider: Signer | Provider
75
+ ): IPossibleSupplyCapInterface {
76
+ return new Contract(
77
+ address,
78
+ _abi,
79
+ signerOrProvider
80
+ ) as IPossibleSupplyCapInterface;
81
+ }
82
+ }