@pendle/core-v2 5.1.1 → 5.1.2-beta-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 (204) hide show
  1. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseWithoutPermitUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.dbg.json +1 -1
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol/PendleCMETHSY.dbg.json +1 -1
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.dbg.json +4 -0
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol/PendleSiloWithIncentiveNonBorrowableSY.json +1222 -0
  9. package/build/artifacts/contracts/interfaces/AaveV3/IAaveStkGHO.sol/IAaveStkGHO.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.dbg.json +1 -1
  11. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  12. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.json +196 -0
  13. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  14. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.dbg.json +1 -1
  15. package/build/artifacts/contracts/interfaces/IPActionMarketCoreStatic.sol/IPActionMarketCoreStatic.json +66 -0
  16. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  17. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.json +196 -78
  18. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  19. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.json +196 -0
  20. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  21. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.json +196 -0
  22. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.json +196 -0
  24. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.dbg.json +4 -0
  25. package/build/artifacts/contracts/interfaces/IPActionSwapLimitV3.sol/IPActionSwapLimitV3.json +2638 -0
  26. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.json +196 -0
  28. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  29. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.json +196 -0
  30. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  31. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.json +1220 -48
  32. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  33. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  34. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  35. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.dbg.json +4 -0
  36. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapLimitV3Events.json +207 -0
  37. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  38. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  39. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  40. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.json +196 -0
  41. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  42. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +262 -0
  43. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  44. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  45. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  46. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  47. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  48. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  49. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  50. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  51. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  52. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  53. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +68 -2
  54. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  55. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  56. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  57. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +198 -2
  58. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  59. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  60. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  61. package/build/artifacts/contracts/oracles/PendleBoringOneracle.sol/PendleBoringOneracle.dbg.json +1 -1
  62. package/build/artifacts/contracts/oracles/PendleBoringSolvBTCOneracle.sol/PendleBoringSolvBTCOneracle.dbg.json +1 -1
  63. package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
  64. package/build/artifacts/contracts/oracles/PendlePYLpOracle.sol/PendlePYLpOracle.dbg.json +1 -1
  65. package/build/artifacts/contracts/oracles/PendlePYOracleLib.sol/PendlePYOracleLib.dbg.json +1 -1
  66. package/build/artifacts/contracts/oracles/PendleRedStoneRateOracleAdapter.sol/PendleRedStoneRateOracleAdapter.dbg.json +1 -1
  67. package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PTExpiry.dbg.json +1 -1
  68. package/build/artifacts/contracts/oracles/PendleSparkLinearDiscountOracle.sol/PendleSparkLinearDiscountOracle.dbg.json +1 -1
  69. package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
  70. package/build/artifacts/contracts/oracles/samples/BoringLpSeller.sol/BoringLpSeller.dbg.json +1 -1
  71. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkAssetOracle.sol/BoringPYUsdChainlinkAssetOracle.dbg.json +1 -1
  72. package/build/artifacts/contracts/oracles/samples/BoringPYUsdChainlinkSYOracle.sol/BoringPYUsdChainlinkSYOracle.dbg.json +1 -1
  73. package/build/artifacts/contracts/oracles/samples/BoringPtSeller.sol/BoringPtSeller.dbg.json +1 -1
  74. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +198 -2
  76. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  77. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +198 -80
  78. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  79. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +198 -2
  80. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  81. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +198 -2
  82. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.dbg.json +4 -0
  83. package/build/artifacts/contracts/router/ActionSwapLimitV3.sol/ActionSwapLimitV3.json +2638 -0
  84. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  85. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +198 -2
  86. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  87. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +198 -2
  88. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  89. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  90. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  91. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  92. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  93. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  94. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  95. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  96. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  97. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  98. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  99. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  100. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  101. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  102. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  103. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  104. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  105. package/contracts/core/StandardizedYield/implementations/Silo/PendleSiloWithIncentiveNonBorrowableSY.sol +154 -0
  106. package/contracts/interfaces/IPActionAddRemoveLiqV3.sol +6 -6
  107. package/contracts/interfaces/IPActionMarketCoreStatic.sol +4 -0
  108. package/contracts/interfaces/IPActionMiscV3.sol +2 -8
  109. package/contracts/interfaces/IPActionSwapLimitV3.sol +42 -0
  110. package/contracts/interfaces/IPActionSwapPTV3.sol +4 -4
  111. package/contracts/interfaces/IPActionSwapYTV3.sol +4 -4
  112. package/contracts/interfaces/IPAllActionTypeV3.sol +4 -0
  113. package/contracts/interfaces/IPAllActionV3.sol +3 -1
  114. package/contracts/interfaces/IPAllEventsV3.sol +44 -1
  115. package/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol +1 -1
  116. package/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol +1 -1
  117. package/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol +10 -4
  118. package/contracts/router/ActionAddRemoveLiqV3.sol +9 -9
  119. package/contracts/router/ActionMiscV3.sol +3 -17
  120. package/contracts/router/ActionSwapLimitV3.sol +126 -0
  121. package/contracts/router/ActionSwapPTV3.sol +4 -4
  122. package/contracts/router/ActionSwapYTV3.sol +4 -4
  123. package/contracts/router/base/ActionBase.sol +35 -12
  124. package/contracts/router/base/ActionDelegateBase.sol +1 -1
  125. package/deployments/1-markets/RSETH-MAINNET-JUN2025.json +14 -0
  126. package/deployments/1-markets/WEETH-MAINNET-JUN2025.json +14 -0
  127. package/deployments/42161-markets/RSETH-ARBITRUM-JUN2025.json +14 -0
  128. package/deployments/42161-markets/SPSILO-ARBITRUM-MAR2025.json +14 -0
  129. package/deployments/42161-markets/WEETH-ARBITRUM-JUN2025.json +14 -0
  130. package/deployments/56-core.json +1 -1
  131. package/package.json +1 -1
  132. package/typechain-types/ActionAddRemoveLiqV3.ts +148 -0
  133. package/typechain-types/ActionMarketCoreStatic.ts +68 -0
  134. package/typechain-types/ActionMiscV3.ts +148 -44
  135. package/typechain-types/ActionSimple.ts +148 -0
  136. package/typechain-types/ActionStorageStatic.ts +148 -0
  137. package/typechain-types/ActionStorageV4.ts +148 -0
  138. package/typechain-types/ActionSwapLimitV3.ts +1667 -0
  139. package/typechain-types/ActionSwapPTV3.ts +148 -0
  140. package/typechain-types/ActionSwapYTV3.ts +148 -0
  141. package/typechain-types/IPActionAddRemoveLiqV3.ts +148 -0
  142. package/typechain-types/IPActionMarketCoreStatic.ts +68 -0
  143. package/typechain-types/IPActionMiscV3.ts +148 -44
  144. package/typechain-types/IPActionSimple.ts +148 -0
  145. package/typechain-types/IPActionStorageStatic.ts +148 -0
  146. package/typechain-types/IPActionStorageV4.ts +148 -0
  147. package/typechain-types/IPActionSwapLimitV3.ts +1667 -0
  148. package/typechain-types/IPActionSwapLimitV3Events.ts +207 -0
  149. package/typechain-types/IPActionSwapPTV3.ts +148 -0
  150. package/typechain-types/IPActionSwapYTV3.ts +148 -0
  151. package/typechain-types/IPAllActionV3.ts +390 -20
  152. package/typechain-types/IPAllEventsV3.ts +148 -0
  153. package/typechain-types/IPChainlinkOracle.ts +221 -0
  154. package/typechain-types/IPChainlinkOracleFactory.ts +123 -0
  155. package/typechain-types/IPChainlinkOracleWithQuote.ts +404 -0
  156. package/typechain-types/IPRouterStatic.ts +182 -0
  157. package/typechain-types/PendleChainlinkOracle.ts +299 -0
  158. package/typechain-types/PendleChainlinkOracleBase.ts +299 -0
  159. package/typechain-types/PendleChainlinkOracleFactory.ts +389 -0
  160. package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
  161. package/typechain-types/PendleSiloWithIncentiveNonBorrowableSY.ts +1543 -0
  162. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +197 -1
  163. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  164. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  165. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +67 -1
  166. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  167. package/typechain-types/factories/ActionMiscV3__factory.ts +197 -79
  168. package/typechain-types/factories/ActionSimple__factory.ts +197 -1
  169. package/typechain-types/factories/ActionStorageStatic__factory.ts +197 -1
  170. package/typechain-types/factories/ActionStorageV4__factory.ts +197 -1
  171. package/typechain-types/factories/ActionSwapLimitV3__factory.ts +2691 -0
  172. package/typechain-types/factories/ActionSwapPTV3__factory.ts +197 -1
  173. package/typechain-types/factories/ActionSwapYTV3__factory.ts +197 -1
  174. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  175. package/typechain-types/factories/IPActionAddRemoveLiqV3__factory.ts +196 -0
  176. package/typechain-types/factories/IPActionMarketCoreStatic__factory.ts +66 -0
  177. package/typechain-types/factories/IPActionMiscV3__factory.ts +196 -78
  178. package/typechain-types/factories/IPActionSimple__factory.ts +196 -0
  179. package/typechain-types/factories/IPActionStorageStatic__factory.ts +196 -0
  180. package/typechain-types/factories/IPActionStorageV4__factory.ts +196 -0
  181. package/typechain-types/factories/IPActionSwapLimitV3Events__factory.ts +226 -0
  182. package/typechain-types/factories/IPActionSwapLimitV3__factory.ts +2653 -0
  183. package/typechain-types/factories/IPActionSwapPTV3__factory.ts +196 -0
  184. package/typechain-types/factories/IPActionSwapYTV3__factory.ts +196 -0
  185. package/typechain-types/factories/IPAllActionV3__factory.ts +1220 -48
  186. package/typechain-types/factories/IPAllEventsV3__factory.ts +196 -0
  187. package/typechain-types/factories/IPChainlinkOracleFactory__factory.ts +110 -0
  188. package/typechain-types/factories/IPChainlinkOracleWithQuote__factory.ts +281 -0
  189. package/typechain-types/factories/IPChainlinkOracle__factory.ts +137 -0
  190. package/typechain-types/factories/IPRouterStatic__factory.ts +262 -0
  191. package/typechain-types/factories/PendleChainlinkOracleBase__factory.ts +272 -0
  192. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +362 -0
  193. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +394 -0
  194. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +354 -0
  195. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  196. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  197. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  198. package/typechain-types/factories/PendleSiloWithIncentiveNonBorrowableSY__factory.ts +1317 -0
  199. package/typechain-types/factories/Reflector__factory.ts +1 -1
  200. package/typechain-types/hardhat.d.ts +36 -0
  201. package/typechain-types/index.ts +8 -0
  202. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.dbg.json +0 -4
  203. package/build/artifacts/contracts/offchain-helpers/MarketExchangeRateLib.sol/MarketExchangeRateLib.json +0 -10
  204. package/contracts/offchain-helpers/MarketExchangeRateLib.sol +0 -32
@@ -1175,6 +1175,202 @@ const _abi = [
1175
1175
  name: "SelectorToFacetSet",
1176
1176
  type: "event",
1177
1177
  },
1178
+ {
1179
+ anonymous: false,
1180
+ inputs: [
1181
+ {
1182
+ indexed: true,
1183
+ internalType: "address",
1184
+ name: "caller",
1185
+ type: "address",
1186
+ },
1187
+ {
1188
+ indexed: true,
1189
+ internalType: "address",
1190
+ name: "market",
1191
+ type: "address",
1192
+ },
1193
+ {
1194
+ indexed: true,
1195
+ internalType: "address",
1196
+ name: "receiver",
1197
+ type: "address",
1198
+ },
1199
+ {
1200
+ indexed: false,
1201
+ internalType: "uint256",
1202
+ name: "maxPtIn",
1203
+ type: "uint256",
1204
+ },
1205
+ {
1206
+ indexed: false,
1207
+ internalType: "uint256",
1208
+ name: "netSyOut",
1209
+ type: "uint256",
1210
+ },
1211
+ {
1212
+ indexed: false,
1213
+ internalType: "uint256",
1214
+ name: "netPtReturned",
1215
+ type: "uint256",
1216
+ },
1217
+ ],
1218
+ name: "SwapMaxPtForSyLimitOnly",
1219
+ type: "event",
1220
+ },
1221
+ {
1222
+ anonymous: false,
1223
+ inputs: [
1224
+ {
1225
+ indexed: true,
1226
+ internalType: "address",
1227
+ name: "caller",
1228
+ type: "address",
1229
+ },
1230
+ {
1231
+ indexed: true,
1232
+ internalType: "address",
1233
+ name: "market",
1234
+ type: "address",
1235
+ },
1236
+ {
1237
+ indexed: true,
1238
+ internalType: "address",
1239
+ name: "token",
1240
+ type: "address",
1241
+ },
1242
+ {
1243
+ indexed: false,
1244
+ internalType: "address",
1245
+ name: "receiver",
1246
+ type: "address",
1247
+ },
1248
+ {
1249
+ indexed: false,
1250
+ internalType: "uint256",
1251
+ name: "maxPtIn",
1252
+ type: "uint256",
1253
+ },
1254
+ {
1255
+ indexed: false,
1256
+ internalType: "uint256",
1257
+ name: "netTokenOut",
1258
+ type: "uint256",
1259
+ },
1260
+ {
1261
+ indexed: false,
1262
+ internalType: "uint256",
1263
+ name: "netSyInterm",
1264
+ type: "uint256",
1265
+ },
1266
+ {
1267
+ indexed: false,
1268
+ internalType: "uint256",
1269
+ name: "netPtReturned",
1270
+ type: "uint256",
1271
+ },
1272
+ ],
1273
+ name: "SwapMaxPtForTokenLimitOnly",
1274
+ type: "event",
1275
+ },
1276
+ {
1277
+ anonymous: false,
1278
+ inputs: [
1279
+ {
1280
+ indexed: true,
1281
+ internalType: "address",
1282
+ name: "caller",
1283
+ type: "address",
1284
+ },
1285
+ {
1286
+ indexed: true,
1287
+ internalType: "address",
1288
+ name: "market",
1289
+ type: "address",
1290
+ },
1291
+ {
1292
+ indexed: true,
1293
+ internalType: "address",
1294
+ name: "receiver",
1295
+ type: "address",
1296
+ },
1297
+ {
1298
+ indexed: false,
1299
+ internalType: "uint256",
1300
+ name: "maxSyIn",
1301
+ type: "uint256",
1302
+ },
1303
+ {
1304
+ indexed: false,
1305
+ internalType: "uint256",
1306
+ name: "netYtOut",
1307
+ type: "uint256",
1308
+ },
1309
+ {
1310
+ indexed: false,
1311
+ internalType: "uint256",
1312
+ name: "netSyReturned",
1313
+ type: "uint256",
1314
+ },
1315
+ ],
1316
+ name: "SwapMaxSyForYtLimitOnly",
1317
+ type: "event",
1318
+ },
1319
+ {
1320
+ anonymous: false,
1321
+ inputs: [
1322
+ {
1323
+ indexed: true,
1324
+ internalType: "address",
1325
+ name: "caller",
1326
+ type: "address",
1327
+ },
1328
+ {
1329
+ indexed: true,
1330
+ internalType: "address",
1331
+ name: "market",
1332
+ type: "address",
1333
+ },
1334
+ {
1335
+ indexed: true,
1336
+ internalType: "address",
1337
+ name: "token",
1338
+ type: "address",
1339
+ },
1340
+ {
1341
+ indexed: false,
1342
+ internalType: "address",
1343
+ name: "receiver",
1344
+ type: "address",
1345
+ },
1346
+ {
1347
+ indexed: false,
1348
+ internalType: "uint256",
1349
+ name: "maxTokenIn",
1350
+ type: "uint256",
1351
+ },
1352
+ {
1353
+ indexed: false,
1354
+ internalType: "uint256",
1355
+ name: "netYtOut",
1356
+ type: "uint256",
1357
+ },
1358
+ {
1359
+ indexed: false,
1360
+ internalType: "uint256",
1361
+ name: "netSyInterm",
1362
+ type: "uint256",
1363
+ },
1364
+ {
1365
+ indexed: false,
1366
+ internalType: "uint256",
1367
+ name: "netSyReturned",
1368
+ type: "uint256",
1369
+ },
1370
+ ],
1371
+ name: "SwapMaxTokenForYtLimitOnly",
1372
+ type: "event",
1373
+ },
1178
1374
  {
1179
1375
  anonymous: false,
1180
1376
  inputs: [
@@ -0,0 +1,110 @@
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
+ IPChainlinkOracleFactory,
9
+ IPChainlinkOracleFactoryInterface,
10
+ } from "../IPChainlinkOracleFactory";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "market",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "uint32",
25
+ name: "twapDuration",
26
+ type: "uint32",
27
+ },
28
+ {
29
+ indexed: true,
30
+ internalType: "enum PendleOracleType",
31
+ name: "baseOracleType",
32
+ type: "uint8",
33
+ },
34
+ {
35
+ indexed: false,
36
+ internalType: "address",
37
+ name: "oracle",
38
+ type: "address",
39
+ },
40
+ {
41
+ indexed: false,
42
+ internalType: "bytes32",
43
+ name: "oracleId",
44
+ type: "bytes32",
45
+ },
46
+ ],
47
+ name: "OracleCreated",
48
+ type: "event",
49
+ },
50
+ {
51
+ anonymous: false,
52
+ inputs: [
53
+ {
54
+ indexed: true,
55
+ internalType: "address",
56
+ name: "market",
57
+ type: "address",
58
+ },
59
+ {
60
+ indexed: true,
61
+ internalType: "uint32",
62
+ name: "twapDuration",
63
+ type: "uint32",
64
+ },
65
+ {
66
+ indexed: true,
67
+ internalType: "enum PendleOracleType",
68
+ name: "baseOracleType",
69
+ type: "uint8",
70
+ },
71
+ {
72
+ indexed: false,
73
+ internalType: "address",
74
+ name: "quoteOracle",
75
+ type: "address",
76
+ },
77
+ {
78
+ indexed: false,
79
+ internalType: "address",
80
+ name: "oracle",
81
+ type: "address",
82
+ },
83
+ {
84
+ indexed: false,
85
+ internalType: "bytes32",
86
+ name: "oracleId",
87
+ type: "bytes32",
88
+ },
89
+ ],
90
+ name: "OracleWithQuoteCreated",
91
+ type: "event",
92
+ },
93
+ ];
94
+
95
+ export class IPChainlinkOracleFactory__factory {
96
+ static readonly abi = _abi;
97
+ static createInterface(): IPChainlinkOracleFactoryInterface {
98
+ return new utils.Interface(_abi) as IPChainlinkOracleFactoryInterface;
99
+ }
100
+ static connect(
101
+ address: string,
102
+ signerOrProvider: Signer | Provider
103
+ ): IPChainlinkOracleFactory {
104
+ return new Contract(
105
+ address,
106
+ _abi,
107
+ signerOrProvider
108
+ ) as IPChainlinkOracleFactory;
109
+ }
110
+ }
@@ -0,0 +1,281 @@
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
+ IPChainlinkOracleWithQuote,
9
+ IPChainlinkOracleWithQuoteInterface,
10
+ } from "../IPChainlinkOracleWithQuote";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "int256",
19
+ name: "current",
20
+ type: "int256",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "uint256",
25
+ name: "roundId",
26
+ type: "uint256",
27
+ },
28
+ {
29
+ indexed: false,
30
+ internalType: "uint256",
31
+ name: "updatedAt",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "AnswerUpdated",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "uint256",
44
+ name: "roundId",
45
+ type: "uint256",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "startedBy",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "uint256",
56
+ name: "startedAt",
57
+ type: "uint256",
58
+ },
59
+ ],
60
+ name: "NewRound",
61
+ type: "event",
62
+ },
63
+ {
64
+ inputs: [],
65
+ name: "decimals",
66
+ outputs: [
67
+ {
68
+ internalType: "uint8",
69
+ name: "",
70
+ type: "uint8",
71
+ },
72
+ ],
73
+ stateMutability: "view",
74
+ type: "function",
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: "description",
79
+ outputs: [
80
+ {
81
+ internalType: "string",
82
+ name: "",
83
+ type: "string",
84
+ },
85
+ ],
86
+ stateMutability: "view",
87
+ type: "function",
88
+ },
89
+ {
90
+ inputs: [
91
+ {
92
+ internalType: "uint256",
93
+ name: "roundId",
94
+ type: "uint256",
95
+ },
96
+ ],
97
+ name: "getAnswer",
98
+ outputs: [
99
+ {
100
+ internalType: "int256",
101
+ name: "",
102
+ type: "int256",
103
+ },
104
+ ],
105
+ stateMutability: "view",
106
+ type: "function",
107
+ },
108
+ {
109
+ inputs: [
110
+ {
111
+ internalType: "uint80",
112
+ name: "_roundId",
113
+ type: "uint80",
114
+ },
115
+ ],
116
+ name: "getRoundData",
117
+ outputs: [
118
+ {
119
+ internalType: "uint80",
120
+ name: "roundId",
121
+ type: "uint80",
122
+ },
123
+ {
124
+ internalType: "int256",
125
+ name: "answer",
126
+ type: "int256",
127
+ },
128
+ {
129
+ internalType: "uint256",
130
+ name: "startedAt",
131
+ type: "uint256",
132
+ },
133
+ {
134
+ internalType: "uint256",
135
+ name: "updatedAt",
136
+ type: "uint256",
137
+ },
138
+ {
139
+ internalType: "uint80",
140
+ name: "answeredInRound",
141
+ type: "uint80",
142
+ },
143
+ ],
144
+ stateMutability: "view",
145
+ type: "function",
146
+ },
147
+ {
148
+ inputs: [
149
+ {
150
+ internalType: "uint256",
151
+ name: "roundId",
152
+ type: "uint256",
153
+ },
154
+ ],
155
+ name: "getTimestamp",
156
+ outputs: [
157
+ {
158
+ internalType: "uint256",
159
+ name: "",
160
+ type: "uint256",
161
+ },
162
+ ],
163
+ stateMutability: "view",
164
+ type: "function",
165
+ },
166
+ {
167
+ inputs: [],
168
+ name: "latestAnswer",
169
+ outputs: [
170
+ {
171
+ internalType: "int256",
172
+ name: "",
173
+ type: "int256",
174
+ },
175
+ ],
176
+ stateMutability: "view",
177
+ type: "function",
178
+ },
179
+ {
180
+ inputs: [],
181
+ name: "latestRound",
182
+ outputs: [
183
+ {
184
+ internalType: "uint256",
185
+ name: "",
186
+ type: "uint256",
187
+ },
188
+ ],
189
+ stateMutability: "view",
190
+ type: "function",
191
+ },
192
+ {
193
+ inputs: [],
194
+ name: "latestRoundData",
195
+ outputs: [
196
+ {
197
+ internalType: "uint80",
198
+ name: "roundId",
199
+ type: "uint80",
200
+ },
201
+ {
202
+ internalType: "int256",
203
+ name: "answer",
204
+ type: "int256",
205
+ },
206
+ {
207
+ internalType: "uint256",
208
+ name: "startedAt",
209
+ type: "uint256",
210
+ },
211
+ {
212
+ internalType: "uint256",
213
+ name: "updatedAt",
214
+ type: "uint256",
215
+ },
216
+ {
217
+ internalType: "uint80",
218
+ name: "answeredInRound",
219
+ type: "uint80",
220
+ },
221
+ ],
222
+ stateMutability: "view",
223
+ type: "function",
224
+ },
225
+ {
226
+ inputs: [],
227
+ name: "latestTimestamp",
228
+ outputs: [
229
+ {
230
+ internalType: "uint256",
231
+ name: "",
232
+ type: "uint256",
233
+ },
234
+ ],
235
+ stateMutability: "view",
236
+ type: "function",
237
+ },
238
+ {
239
+ inputs: [],
240
+ name: "quoteOracle",
241
+ outputs: [
242
+ {
243
+ internalType: "address",
244
+ name: "",
245
+ type: "address",
246
+ },
247
+ ],
248
+ stateMutability: "view",
249
+ type: "function",
250
+ },
251
+ {
252
+ inputs: [],
253
+ name: "version",
254
+ outputs: [
255
+ {
256
+ internalType: "uint256",
257
+ name: "",
258
+ type: "uint256",
259
+ },
260
+ ],
261
+ stateMutability: "view",
262
+ type: "function",
263
+ },
264
+ ];
265
+
266
+ export class IPChainlinkOracleWithQuote__factory {
267
+ static readonly abi = _abi;
268
+ static createInterface(): IPChainlinkOracleWithQuoteInterface {
269
+ return new utils.Interface(_abi) as IPChainlinkOracleWithQuoteInterface;
270
+ }
271
+ static connect(
272
+ address: string,
273
+ signerOrProvider: Signer | Provider
274
+ ): IPChainlinkOracleWithQuote {
275
+ return new Contract(
276
+ address,
277
+ _abi,
278
+ signerOrProvider
279
+ ) as IPChainlinkOracleWithQuote;
280
+ }
281
+ }
@@ -0,0 +1,137 @@
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
+ IPChainlinkOracle,
9
+ IPChainlinkOracleInterface,
10
+ } from "../IPChainlinkOracle";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [],
15
+ name: "decimals",
16
+ outputs: [
17
+ {
18
+ internalType: "uint8",
19
+ name: "",
20
+ type: "uint8",
21
+ },
22
+ ],
23
+ stateMutability: "view",
24
+ type: "function",
25
+ },
26
+ {
27
+ inputs: [],
28
+ name: "description",
29
+ outputs: [
30
+ {
31
+ internalType: "string",
32
+ name: "",
33
+ type: "string",
34
+ },
35
+ ],
36
+ stateMutability: "view",
37
+ type: "function",
38
+ },
39
+ {
40
+ inputs: [
41
+ {
42
+ internalType: "uint80",
43
+ name: "_roundId",
44
+ type: "uint80",
45
+ },
46
+ ],
47
+ name: "getRoundData",
48
+ outputs: [
49
+ {
50
+ internalType: "uint80",
51
+ name: "roundId",
52
+ type: "uint80",
53
+ },
54
+ {
55
+ internalType: "int256",
56
+ name: "answer",
57
+ type: "int256",
58
+ },
59
+ {
60
+ internalType: "uint256",
61
+ name: "startedAt",
62
+ type: "uint256",
63
+ },
64
+ {
65
+ internalType: "uint256",
66
+ name: "updatedAt",
67
+ type: "uint256",
68
+ },
69
+ {
70
+ internalType: "uint80",
71
+ name: "answeredInRound",
72
+ type: "uint80",
73
+ },
74
+ ],
75
+ stateMutability: "view",
76
+ type: "function",
77
+ },
78
+ {
79
+ inputs: [],
80
+ name: "latestRoundData",
81
+ outputs: [
82
+ {
83
+ internalType: "uint80",
84
+ name: "roundId",
85
+ type: "uint80",
86
+ },
87
+ {
88
+ internalType: "int256",
89
+ name: "answer",
90
+ type: "int256",
91
+ },
92
+ {
93
+ internalType: "uint256",
94
+ name: "startedAt",
95
+ type: "uint256",
96
+ },
97
+ {
98
+ internalType: "uint256",
99
+ name: "updatedAt",
100
+ type: "uint256",
101
+ },
102
+ {
103
+ internalType: "uint80",
104
+ name: "answeredInRound",
105
+ type: "uint80",
106
+ },
107
+ ],
108
+ stateMutability: "view",
109
+ type: "function",
110
+ },
111
+ {
112
+ inputs: [],
113
+ name: "version",
114
+ outputs: [
115
+ {
116
+ internalType: "uint256",
117
+ name: "",
118
+ type: "uint256",
119
+ },
120
+ ],
121
+ stateMutability: "view",
122
+ type: "function",
123
+ },
124
+ ];
125
+
126
+ export class IPChainlinkOracle__factory {
127
+ static readonly abi = _abi;
128
+ static createInterface(): IPChainlinkOracleInterface {
129
+ return new utils.Interface(_abi) as IPChainlinkOracleInterface;
130
+ }
131
+ static connect(
132
+ address: string,
133
+ signerOrProvider: Signer | Provider
134
+ ): IPChainlinkOracle {
135
+ return new Contract(address, _abi, signerOrProvider) as IPChainlinkOracle;
136
+ }
137
+ }