@pendle/core-v2 4.5.1-beta-1 → 4.5.1-beta-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 (104) 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/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.json +2 -2
  3. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.dbg.json +4 -0
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.json +1049 -0
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.dbg.json +4 -0
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.json +1039 -0
  7. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  8. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +805 -80
  9. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +958 -233
  11. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +4 -0
  12. package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +60 -0
  13. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +4 -0
  14. package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.json +25 -0
  15. package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +1 -1
  16. package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.dbg.json +4 -0
  17. package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.json +207 -0
  18. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +4 -0
  19. package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +401 -0
  20. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  21. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  22. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  23. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  24. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  25. package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +1 -1
  26. package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
  27. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
  28. package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
  29. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  30. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  31. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  32. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +707 -140
  33. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  34. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  35. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  36. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  37. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +4 -0
  38. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +39 -0
  39. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  40. package/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol +6 -1
  41. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol +56 -0
  42. package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol +111 -0
  43. package/contracts/interfaces/IPActionMiscV3.sol +85 -25
  44. package/contracts/interfaces/IPGovernanceProxy.sol +14 -0
  45. package/contracts/interfaces/IPPausingInterface.sol +8 -0
  46. package/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol +66 -0
  47. package/contracts/offchain-helpers/PendleGovernanceProxy.sol +84 -0
  48. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +12 -4
  49. package/contracts/router/ActionMiscV3.sol +140 -167
  50. package/contracts/router/Reflector.sol +61 -0
  51. package/contracts/router/base/ActionBase.sol +0 -16
  52. package/deployments/1-markets/EZETH-MAINNET-SEP2024.json +11 -0
  53. package/deployments/1-markets/PUFETH-MAINNET-SEP2024.json +11 -0
  54. package/deployments/1-markets/RSETH-MAINNET-SEP2024.json +11 -0
  55. package/deployments/1-markets/RSWETH-SWELL-STAKING-MAINNET-JUL2024.json +11 -0
  56. package/deployments/1-markets/SUSDE-MAINNET-SEP2024.json +13 -0
  57. package/deployments/1-markets/UNIETH-MAINNET-SEP2024.json +13 -0
  58. package/deployments/1-markets/WEETH-MAINNET-SEP2024.json +11 -0
  59. package/deployments/42161-core.json +1 -1
  60. package/deployments/42161-markets/EZETH-ARB-SEP2024.json +11 -0
  61. package/deployments/42161-markets/RSETH-ARBITRUM-SEP2024.json +11 -0
  62. package/deployments/42161-markets/SILO-PTEETH-ARBITRUM-JUNE2024.json +11 -0
  63. package/deployments/42161-markets/SILO-PTEZETH-ARBITRUM-JUNE2024.json +11 -0
  64. package/deployments/42161-markets/WEETH-ARB-SEP2024.json +11 -0
  65. package/deployments/56-markets/WEETH-BSC-SEP2024.json +11 -0
  66. package/package.json +2 -2
  67. package/typechain-types/ActionMiscV3.ts +358 -120
  68. package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
  69. package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
  70. package/typechain-types/IPActionMiscV3.ts +408 -40
  71. package/typechain-types/IPAllActionV3.ts +408 -40
  72. package/typechain-types/IPGovernanceProxy.ts +142 -0
  73. package/typechain-types/IPPYLpOracle.ts +379 -0
  74. package/typechain-types/IPPausingInterface.ts +112 -0
  75. package/typechain-types/IPossibleSupplyCapInterface.ts +142 -0
  76. package/typechain-types/PendleGovernanceProxy.ts +603 -0
  77. package/typechain-types/PendlePYLpOracle.ts +612 -0
  78. package/typechain-types/Reflector.ts +98 -0
  79. package/typechain-types/SupplyCapReader.ts +105 -0
  80. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  81. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  82. package/typechain-types/factories/ActionMiscV3__factory.ts +705 -138
  83. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  84. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  85. package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
  86. package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
  87. package/typechain-types/factories/IPActionMiscV3__factory.ts +805 -80
  88. package/typechain-types/factories/IPAllActionV3__factory.ts +958 -233
  89. package/typechain-types/factories/IPGovernanceProxy__factory.ts +75 -0
  90. package/typechain-types/factories/IPPYLpOracle__factory.ts +214 -0
  91. package/typechain-types/factories/IPPausingInterface__factory.ts +40 -0
  92. package/typechain-types/factories/IPossibleSupplyCapInterface__factory.ts +82 -0
  93. package/typechain-types/factories/PendleERC20WithSupplyCapSY__factory.ts +1 -1
  94. package/typechain-types/factories/PendleGovernanceProxy__factory.ts +458 -0
  95. package/typechain-types/factories/PendlePYLpOracle__factory.ts +487 -0
  96. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  97. package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1 -1
  98. package/typechain-types/factories/Reflector__factory.ts +89 -0
  99. package/typechain-types/factories/SupplyCapReader__factory.ts +88 -0
  100. package/typechain-types/hardhat.d.ts +54 -0
  101. package/typechain-types/index.ts +12 -0
  102. /package/deployments/1-markets/{EZETH-JUNE2024.json → EZETH-APR2024.json} +0 -0
  103. /package/deployments/42161-markets/{RSETH-MAY2024.json → RSETH-JUNE2024.json} +0 -0
  104. /package/deployments/42161-markets/{WEETH-MAY2024.json → WEETH-JUNE2024.json} +0 -0
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/bfd4f782b72a070787feb0e0595c089f.json"
4
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPGovernanceProxy",
4
+ "sourceName": "contracts/interfaces/IPGovernanceProxy.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "components": [
10
+ {
11
+ "internalType": "address",
12
+ "name": "target",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "internalType": "uint256",
17
+ "name": "value",
18
+ "type": "uint256"
19
+ },
20
+ {
21
+ "internalType": "bytes",
22
+ "name": "callData",
23
+ "type": "bytes"
24
+ }
25
+ ],
26
+ "internalType": "struct IPGovernanceProxy.Call[]",
27
+ "name": "calls",
28
+ "type": "tuple[]"
29
+ }
30
+ ],
31
+ "name": "aggregate",
32
+ "outputs": [
33
+ {
34
+ "internalType": "bytes[]",
35
+ "name": "rtnData",
36
+ "type": "bytes[]"
37
+ }
38
+ ],
39
+ "stateMutability": "payable",
40
+ "type": "function"
41
+ },
42
+ {
43
+ "inputs": [
44
+ {
45
+ "internalType": "address[]",
46
+ "name": "addrs",
47
+ "type": "address[]"
48
+ }
49
+ ],
50
+ "name": "pause",
51
+ "outputs": [],
52
+ "stateMutability": "nonpayable",
53
+ "type": "function"
54
+ }
55
+ ],
56
+ "bytecode": "0x",
57
+ "deployedBytecode": "0x",
58
+ "linkReferences": {},
59
+ "deployedLinkReferences": {}
60
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/bfd4f782b72a070787feb0e0595c089f.json"
4
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IPPausingInterface",
4
+ "sourceName": "contracts/interfaces/IPPausingInterface.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "pause",
9
+ "outputs": [],
10
+ "stateMutability": "nonpayable",
11
+ "type": "function"
12
+ },
13
+ {
14
+ "inputs": [],
15
+ "name": "unpause",
16
+ "outputs": [],
17
+ "stateMutability": "nonpayable",
18
+ "type": "function"
19
+ }
20
+ ],
21
+ "bytecode": "0x",
22
+ "deployedBytecode": "0x",
23
+ "linkReferences": {},
24
+ "deployedLinkReferences": {}
25
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/bef17e78572bbcff48ff16fd5132af49.json"
3
+ "buildInfo": "../../../build-info/432b0458b06757d664d5d5469e35eccb.json"
4
4
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/bfd4f782b72a070787feb0e0595c089f.json"
4
+ }
@@ -0,0 +1,207 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ISwellSimpleStakingERC20",
4
+ "sourceName": "contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ADDRESS_NULL",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "AMOUNT_NULL",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "INSUFFICIENT_BALANCE",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [
23
+ {
24
+ "internalType": "address",
25
+ "name": "token",
26
+ "type": "address"
27
+ }
28
+ ],
29
+ "name": "TOKEN_NOT_ALLOWED",
30
+ "type": "error"
31
+ },
32
+ {
33
+ "anonymous": false,
34
+ "inputs": [
35
+ {
36
+ "indexed": true,
37
+ "internalType": "address",
38
+ "name": "token",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "indexed": true,
43
+ "internalType": "address",
44
+ "name": "staker",
45
+ "type": "address"
46
+ },
47
+ {
48
+ "indexed": false,
49
+ "internalType": "uint256",
50
+ "name": "amount",
51
+ "type": "uint256"
52
+ }
53
+ ],
54
+ "name": "Deposit",
55
+ "type": "event"
56
+ },
57
+ {
58
+ "anonymous": false,
59
+ "inputs": [
60
+ {
61
+ "indexed": true,
62
+ "internalType": "address",
63
+ "name": "token",
64
+ "type": "address"
65
+ },
66
+ {
67
+ "components": [
68
+ {
69
+ "internalType": "bool",
70
+ "name": "deposit",
71
+ "type": "bool"
72
+ },
73
+ {
74
+ "internalType": "bool",
75
+ "name": "withdraw",
76
+ "type": "bool"
77
+ }
78
+ ],
79
+ "indexed": false,
80
+ "internalType": "struct ISwellSimpleStakingERC20.Supported",
81
+ "name": "supported",
82
+ "type": "tuple"
83
+ }
84
+ ],
85
+ "name": "SupportedToken",
86
+ "type": "event"
87
+ },
88
+ {
89
+ "anonymous": false,
90
+ "inputs": [
91
+ {
92
+ "indexed": true,
93
+ "internalType": "address",
94
+ "name": "token",
95
+ "type": "address"
96
+ },
97
+ {
98
+ "indexed": true,
99
+ "internalType": "address",
100
+ "name": "staker",
101
+ "type": "address"
102
+ },
103
+ {
104
+ "indexed": false,
105
+ "internalType": "uint256",
106
+ "name": "amount",
107
+ "type": "uint256"
108
+ }
109
+ ],
110
+ "name": "Withdraw",
111
+ "type": "event"
112
+ },
113
+ {
114
+ "inputs": [
115
+ {
116
+ "internalType": "address",
117
+ "name": "_token",
118
+ "type": "address"
119
+ },
120
+ {
121
+ "internalType": "uint256",
122
+ "name": "_amount",
123
+ "type": "uint256"
124
+ },
125
+ {
126
+ "internalType": "address",
127
+ "name": "_receiver",
128
+ "type": "address"
129
+ }
130
+ ],
131
+ "name": "deposit",
132
+ "outputs": [],
133
+ "stateMutability": "nonpayable",
134
+ "type": "function"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "address",
140
+ "name": "_token",
141
+ "type": "address"
142
+ }
143
+ ],
144
+ "name": "rescueERC20",
145
+ "outputs": [],
146
+ "stateMutability": "nonpayable",
147
+ "type": "function"
148
+ },
149
+ {
150
+ "inputs": [
151
+ {
152
+ "internalType": "address",
153
+ "name": "_token",
154
+ "type": "address"
155
+ },
156
+ {
157
+ "components": [
158
+ {
159
+ "internalType": "bool",
160
+ "name": "deposit",
161
+ "type": "bool"
162
+ },
163
+ {
164
+ "internalType": "bool",
165
+ "name": "withdraw",
166
+ "type": "bool"
167
+ }
168
+ ],
169
+ "internalType": "struct ISwellSimpleStakingERC20.Supported",
170
+ "name": "_supported",
171
+ "type": "tuple"
172
+ }
173
+ ],
174
+ "name": "supportToken",
175
+ "outputs": [],
176
+ "stateMutability": "nonpayable",
177
+ "type": "function"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "address",
183
+ "name": "_token",
184
+ "type": "address"
185
+ },
186
+ {
187
+ "internalType": "uint256",
188
+ "name": "_amount",
189
+ "type": "uint256"
190
+ },
191
+ {
192
+ "internalType": "address",
193
+ "name": "_receiver",
194
+ "type": "address"
195
+ }
196
+ ],
197
+ "name": "withdraw",
198
+ "outputs": [],
199
+ "stateMutability": "nonpayable",
200
+ "type": "function"
201
+ }
202
+ ],
203
+ "bytecode": "0x",
204
+ "deployedBytecode": "0x",
205
+ "linkReferences": {},
206
+ "deployedLinkReferences": {}
207
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/bfd4f782b72a070787feb0e0595c089f.json"
4
+ }