@pendle/core-v2 0.16.0-testnet → 0.16.0-testnet-daily

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 (170) hide show
  1. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiveEndpointUpg.sol/PendleMsgReceiveEndpointUpg.json +97 -48
  3. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgReceiverAppUpg.sol/PendleMsgReceiverAppUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.dbg.json +1 -1
  5. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSendEndpointUpg.sol/PendleMsgSendEndpointUpg.json +62 -21
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.json +26 -0
  8. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.dbg.json +4 -0
  9. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/ExcessivelySafeCall.sol/ExcessivelySafeCall.json +10 -0
  10. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.dbg.json +4 -0
  11. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/libraries/LayerZeroHelper.sol/LayerZeroHelper.json +10 -0
  12. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
  17. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  19. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  20. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +33 -2
  24. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +39 -8
  27. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  29. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  31. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  32. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  33. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  34. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  35. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  36. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  37. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.json +2 -2
  38. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  40. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  42. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  44. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +2 -2
  46. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  47. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +1 -1
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.json +2 -2
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  56. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  57. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  58. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  59. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  60. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +2 -2
  61. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  62. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +2 -2
  63. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  64. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +21 -6
  65. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.dbg.json +4 -0
  66. package/build/artifacts/contracts/interfaces/ILayerZeroEndpoint.sol/ILayerZeroEndpoint.json +119 -0
  67. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.dbg.json +4 -0
  68. package/build/artifacts/contracts/interfaces/ILayerZeroReceiver.sol/ILayerZeroReceiver.json +39 -0
  69. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.dbg.json +1 -1
  77. package/build/artifacts/contracts/interfaces/IPMsgSendEndpoint.sol/IPMsgSendEndpoint.json +12 -2
  78. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  80. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +4 -0
  81. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +182 -0
  82. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  83. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
  84. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  85. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +2 -2
  86. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  87. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +2 -2
  88. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  89. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  90. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  91. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  92. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  93. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  94. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  95. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  96. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  97. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
  98. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  99. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  100. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  101. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  102. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  103. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  104. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  105. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  106. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  107. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
  108. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +1 -1
  109. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -3
  110. package/contracts/LiquidityMining/libraries/WeekMath.sol +1 -1
  111. package/contracts/offchain-helpers/RouterStatic.sol +1 -1
  112. package/deployments/43113-core.json +8 -8
  113. package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +4 -4
  114. package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +4 -4
  115. package/deployments/80001-core.json +10 -10
  116. package/package.json +1 -1
  117. package/typechain-types/IPMsgSendEndpoint.ts +24 -14
  118. package/typechain-types/ImplicitSwapfeeContract.ts +9 -17
  119. package/typechain-types/PendleMsgReceiveEndpointUpg.ts +126 -68
  120. package/typechain-types/PendleMsgSendEndpointUpg.ts +99 -39
  121. package/typechain-types/PendleMsgSenderAppUpg.ts +55 -0
  122. package/typechain-types/PendleVotingControllerUpg.ts +55 -0
  123. package/typechain-types/VotingEscrowPendleMainchain.ts +61 -6
  124. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +1 -1
  125. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  126. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  127. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  128. package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
  129. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  130. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  131. package/typechain-types/factories/Errors__factory.ts +20 -5
  132. package/typechain-types/factories/IPMsgSendEndpoint__factory.ts +12 -2
  133. package/typechain-types/factories/ImplicitSwapfeeContract__factory.ts +4 -12
  134. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  135. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  136. package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1 -1
  137. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
  138. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  139. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  140. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  141. package/typechain-types/factories/PendleMarketFactory__factory.ts +1 -1
  142. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  143. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +100 -51
  144. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +71 -23
  145. package/typechain-types/factories/PendleMsgSenderAppUpg__factory.ts +26 -0
  146. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  147. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  148. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  149. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  150. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +44 -2
  151. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  152. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
  153. package/typechain-types/factories/PendleYieldToken__factory.ts +1 -1
  154. package/typechain-types/factories/RouterStatic__factory.ts +1 -1
  155. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +50 -8
  156. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  157. package/typechain-types/hardhat.d.ts +9 -45
  158. package/typechain-types/index.ts +2 -10
  159. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStaking.sol/PendleLooksStaking.dbg.json +0 -4
  160. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleLooksStaking.sol/PendleLooksStaking.json +0 -856
  161. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.dbg.json +0 -4
  162. package/build/artifacts/contracts/interfaces/ICelerMessageBus.sol/ICelerMessageBus.json +0 -53
  163. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.dbg.json +0 -4
  164. package/build/artifacts/contracts/interfaces/ICelerMessageReceiverApp.sol/ICelerMessageReceiverApp.json +0 -45
  165. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.dbg.json +0 -4
  166. package/build/artifacts/contracts/interfaces/ILooksFeeSharing.sol/ILooksFeeSharing.json +0 -30
  167. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.dbg.json +0 -4
  168. package/build/artifacts/contracts/interfaces/ILooksStaking.sol/ILooksStaking.json +0 -69
  169. package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
  170. package/deployments/80001-markets/benqi-market-QI-WETH-DEC-1ST.json +0 -8
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2191e2c241e59d243cb1f474b38065b7.json"
3
+ "buildInfo": "../../../../build-info/b62d2a146016171c9f9ea6fa50815d27.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "MarketApproxPtInLib",
4
4
  "sourceName": "contracts/router/base/MarketApproxLib.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ffea378faad93d7d23215b357234b6b1262fcd090a58eba012f07706d5e4122f64736f6c63430008110033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220ffea378faad93d7d23215b357234b6b1262fcd090a58eba012f07706d5e4122f64736f6c63430008110033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220364178b3dbcabebcddfdab6f5d6a03e0f5621cc2daccf7cb3b8f6c6b53b1469b64736f6c63430008110033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220364178b3dbcabebcddfdab6f5d6a03e0f5621cc2daccf7cb3b8f6c6b53b1469b64736f6c63430008110033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2191e2c241e59d243cb1f474b38065b7.json"
3
+ "buildInfo": "../../../../build-info/b62d2a146016171c9f9ea6fa50815d27.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "MarketApproxPtOutLib",
4
4
  "sourceName": "contracts/router/base/MarketApproxLib.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a5e4f8ad4b582a7774691e56155a78137d4a1c08446a7cc98b879b9b95982e0c64736f6c63430008110033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a5e4f8ad4b582a7774691e56155a78137d4a1c08446a7cc98b879b9b95982e0c64736f6c63430008110033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122025c8c8a241f6487d0d1744c4d00247cc27107ee6b81f12f43984d093d692392764736f6c63430008110033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122025c8c8a241f6487d0d1744c4d00247cc27107ee6b81f12f43984d093d692392764736f6c63430008110033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -44,7 +44,7 @@ abstract contract PendleGaugeControllerBaseUpg is
44
44
  uint128 incentiveEndsAt;
45
45
  }
46
46
 
47
- uint128 internal constant WEEK = 1 weeks;
47
+ uint128 internal constant WEEK = 1 days;
48
48
 
49
49
  address public immutable pendle;
50
50
  IPMarketFactory public immutable marketFactory;
@@ -49,7 +49,7 @@ abstract contract VotingControllerStorageUpg is IPVotingController {
49
49
  }
50
50
 
51
51
  uint128 public constant MAX_LOCK_TIME = 104 weeks;
52
- uint128 public constant WEEK = 1 weeks;
52
+ uint128 public constant WEEK = 1 days;
53
53
  uint128 public constant GOVERNANCE_PENDLE_VOTE = 10**24;
54
54
 
55
55
  IPVeToken public immutable vePendle;
@@ -21,13 +21,13 @@ import "../libraries/WeekMath.sol";
21
21
  * + No other transaction is allowed to write on sidechain storage
22
22
  */
23
23
 
24
- abstract contract VotingEscrowTokenBase is IPVeToken {
24
+ abstract contract VotingEscrowTokenBase is IPVeToken {
25
25
  using VeBalanceLib for VeBalance;
26
26
  using VeBalanceLib for LockedPosition;
27
27
 
28
- uint128 public constant WEEK = 1 weeks;
28
+ uint128 public constant WEEK = 1 days;
29
29
  uint128 public constant MAX_LOCK_TIME = 104 weeks;
30
- uint128 public constant MIN_LOCK_TIME = 1 weeks;
30
+ uint128 public constant MIN_LOCK_TIME = 1 days;
31
31
 
32
32
  VeBalance internal _totalSupply;
33
33
  uint128 public lastSlopeChangeAppliedAt;
@@ -3,7 +3,7 @@
3
3
  pragma solidity 0.8.17;
4
4
 
5
5
  library WeekMath {
6
- uint128 internal constant WEEK = 7 days;
6
+ uint128 internal constant WEEK = 1 days;
7
7
 
8
8
  function getWeekStartTimestamp(uint128 timestamp) internal pure returns (uint128) {
9
9
  return (timestamp / WEEK) * WEEK;
@@ -20,7 +20,7 @@ contract RouterStatic is Initializable, BoringOwnableUpgradeable, UUPSUpgradeabl
20
20
  using VeBalanceLib for LockedPosition;
21
21
 
22
22
  uint128 public constant MAX_LOCK_TIME = 104 weeks;
23
- uint128 public constant MIN_LOCK_TIME = 1 weeks;
23
+ uint128 public constant MIN_LOCK_TIME = 1 days;
24
24
 
25
25
  struct TokenAmount {
26
26
  address token;
@@ -5,12 +5,12 @@
5
5
  "lzEndpoint": "0x93f54D755A063cE7bB9e6Ac47Eccc8e33411d706",
6
6
  "treasury": "0x243b7CFD29AcAF9cDe98C1958902FAA3B1F095D5",
7
7
  "PENDLE": "0xB7609dec1C926204c3B67345cbCd54bc4aa7a940",
8
- "yieldContractFactory": "0xC39Efc7bb273B75B75471167Cb0EB4D3D41398a8",
9
- "marketFactory": "0xa28B2445C8e1751733e75e6794971AEEA4806F45",
10
- "router": "0x37e0018919832abC3EDfbfE700df5bb15ed0682D",
11
- "routerStatic": "0xFE1129fFa39A2660f5A99eF96343F06D472f781B",
12
- "vePendle": "0x74E578b27aD53f23387b9Dcb7902F7Def6D4dB7c",
13
- "senderEndpoint": "0xa87c479d77040d1c5433b9cD3b88b2B562A7cb10",
14
- "votingController": "0x0b24c845feF83f8403EEF3922F3B53a05182512A",
15
- "gaugeController": "0xf0cFb8781F17d51523922Ace5eB69a4b42e35a15"
8
+ "yieldContractFactory": "0xfD5EDf66bf3A2E5c2fBd5d4be243c5802e699b6a",
9
+ "marketFactory": "0x6aE219f9B761D8D94780FE0F3EC7Ab4151842dBD",
10
+ "router": "0x86E983e99402663bBd50eA6F7e77FaA9219305CC",
11
+ "routerStatic": "0xaB0Aa804291f7090F423D27e3eaEB5E4434CC731",
12
+ "vePendle": "0x8391B95F016FFE2a4c32F69B4363ca55470fDfe1",
13
+ "senderEndpoint": "0x8E7E8bdbaA68bDCcAFC3586d7fDa43bb1310Ec71",
14
+ "votingController": "0xD6d778846B2d4A013d44fAF346FcdFa34b58E222",
15
+ "gaugeController": "0x2324819386c3867494c7654Bdc0B6D93B6FecD13"
16
16
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "symbol": "SY-qiUSDC",
3
- "SY": "0x922FD937e7C59E58F2E425260fb21Ddc8486BcDE",
3
+ "SY": "0xFFc4208cC825baD56909C7fbff63BB43286D4c67",
4
4
  "expiry": 1675382400,
5
- "PT": "0x3cBf269875C4eFf9374AF93e736f3c3487cEA993",
6
- "YT": "0x8700D3bb93E21dEAcB84c006106B3b914Cca32e2",
7
- "market": "0x20A564b60A21c107eAC5FbFea54D4Aad6db452A1"
5
+ "PT": "0x7354104DCE0cED4Bbf6c7798a9D52Adb1340B1c0",
6
+ "YT": "0x869BD2A765c43a9811cc9a8B2ABCE5C78a0aa004",
7
+ "market": "0x3Ca64162AD9A6D25B37c67FF4b474cb925d2cCA9"
8
8
  }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "symbol": "SY-qiWETH",
3
- "SY": "0xF82E799c78B53c814dBf101431cC24F121Fa1098",
3
+ "SY": "0xC4907BBd480F53Ae5dA80F723975F8c2125783eC",
4
4
  "expiry": 1669852800,
5
- "PT": "0xEAa59b2532D7e49b6f8CAC1b4AdAb6a6F868C7eB",
6
- "YT": "0xb899c25fF3c73127F0B96aDAb9997a703C3Fd88D",
7
- "market": "0xA9905Bd9d4813a78c4F9Ed4Ba285b49DE50F7406"
5
+ "PT": "0xa1da6AFaE358135b1e9E43aCF0C00d0E2A501F84",
6
+ "YT": "0x818dd5ad650B064A5314F6df60CDdC2a63272b58",
7
+ "market": "0xAc92B8B795f9DBb784e97fC69cDBF4167621D458"
8
8
  }
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "deployer": "0x1FcCC097db89A86Bfc474A1028F93958295b1Fb7",
3
3
  "network": 80001,
4
- "splitter": "0x07D39E2025Fd0B1F0065FE39172df246f063BB15",
4
+ "splitter": "0x335289ccb76C1A11aDB82E2aa2ab39a83DdcC49a",
5
5
  "lzEndpoint": "0xf69186dfBa60DdB133E91E9A4B5673624293d8F8",
6
- "treasury": "0x47F77E3fAC652E05FFEB7E8E1cEf69E775628B24",
7
- "PENDLE": "0x5FDA5b3b05B2884F9f028550069B9D321E84814A",
8
- "yieldContractFactory": "0x8B3C5BD39E6B82272eCf0d6828D458536dc44dea",
9
- "marketFactory": "0xf963474FAe462B06B026DE500f605B3578B66c66",
10
- "router": "0x7cD7cc0990A0F61532410fE11f884f2caD7e59D3",
11
- "routerStatic": "0xc9132D222e681c86A522120B41585B87992D61b9",
12
- "receiverEndpoint": "0x57D55237374b0D1AFdac5E25F16A4EE5C57A627c",
13
- "vePendle": "0x89Cec94a14FAB1cb27C1A5cd32af05ef448d9829",
14
- "gaugeController": "0x8a6c59A80aA3Bbf32E7b3F0C359Eb528Cf6f7288"
6
+ "treasury": "0xdC1b3B6b2091a3bB2c7439005A24F33a9A4f87Be",
7
+ "PENDLE": "0x7b5b5105dFBacc2A84d00406FEa5B454a73979a4",
8
+ "yieldContractFactory": "0xeC1AF9aA4801E44879c5cB800887478d98De37c0",
9
+ "marketFactory": "0xA91817a07A7A8020972E5115196f59E347C35b99",
10
+ "router": "0xa96527ddb4353559132db1CB347978fc552ce1FF",
11
+ "routerStatic": "0x00Da82d7B30D39B896380EDf460425F7556BfDb6",
12
+ "receiverEndpoint": "0xa0c3840e5FD27f3C51bda5f0b6a75738ddeB6062",
13
+ "vePendle": "0x1367c812418c67895C2474169F6753272be8B5f4",
14
+ "gaugeController": "0x98F5Ff866AAfF8A4109380CE2dC02CA6644AD81d"
15
15
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pendle/core-v2",
3
3
  "description": "Core smart contracts of Pendle Protocol.",
4
4
  "license": "BUSL-1.1",
5
- "version": "0.16.0-testnet",
5
+ "version": "0.16.0-testnet-daily",
6
6
  "homepage": "https://pendle.finance",
7
7
  "keywords": [
8
8
  "pendle",
@@ -25,17 +25,17 @@ import type {
25
25
  export interface IPMsgSendEndpointInterface extends utils.Interface {
26
26
  contractName: "IPMsgSendEndpoint";
27
27
  functions: {
28
- "calcFee(address,uint256,bytes)": FunctionFragment;
29
- "sendMessage(address,uint256,bytes)": FunctionFragment;
28
+ "calcFee(address,uint256,bytes,uint256)": FunctionFragment;
29
+ "sendMessage(address,uint256,bytes,uint256)": FunctionFragment;
30
30
  };
31
31
 
32
32
  encodeFunctionData(
33
33
  functionFragment: "calcFee",
34
- values: [string, BigNumberish, BytesLike]
34
+ values: [string, BigNumberish, BytesLike, BigNumberish]
35
35
  ): string;
36
36
  encodeFunctionData(
37
37
  functionFragment: "sendMessage",
38
- values: [string, BigNumberish, BytesLike]
38
+ values: [string, BigNumberish, BytesLike, BigNumberish]
39
39
  ): string;
40
40
 
41
41
  decodeFunctionResult(functionFragment: "calcFee", data: BytesLike): Result;
@@ -78,14 +78,16 @@ export interface IPMsgSendEndpoint extends BaseContract {
78
78
  calcFee(
79
79
  dstAddress: string,
80
80
  dstChainId: BigNumberish,
81
- message: BytesLike,
81
+ payload: BytesLike,
82
+ estimatedGasAmount: BigNumberish,
82
83
  overrides?: CallOverrides
83
84
  ): Promise<[BigNumber]>;
84
85
 
85
86
  sendMessage(
86
87
  dstAddress: string,
87
88
  dstChainId: BigNumberish,
88
- message: BytesLike,
89
+ payload: BytesLike,
90
+ estimatedGasAmount: BigNumberish,
89
91
  overrides?: PayableOverrides & { from?: string | Promise<string> }
90
92
  ): Promise<ContractTransaction>;
91
93
  };
@@ -93,14 +95,16 @@ export interface IPMsgSendEndpoint extends BaseContract {
93
95
  calcFee(
94
96
  dstAddress: string,
95
97
  dstChainId: BigNumberish,
96
- message: BytesLike,
98
+ payload: BytesLike,
99
+ estimatedGasAmount: BigNumberish,
97
100
  overrides?: CallOverrides
98
101
  ): Promise<BigNumber>;
99
102
 
100
103
  sendMessage(
101
104
  dstAddress: string,
102
105
  dstChainId: BigNumberish,
103
- message: BytesLike,
106
+ payload: BytesLike,
107
+ estimatedGasAmount: BigNumberish,
104
108
  overrides?: PayableOverrides & { from?: string | Promise<string> }
105
109
  ): Promise<ContractTransaction>;
106
110
 
@@ -108,14 +112,16 @@ export interface IPMsgSendEndpoint extends BaseContract {
108
112
  calcFee(
109
113
  dstAddress: string,
110
114
  dstChainId: BigNumberish,
111
- message: BytesLike,
115
+ payload: BytesLike,
116
+ estimatedGasAmount: BigNumberish,
112
117
  overrides?: CallOverrides
113
118
  ): Promise<BigNumber>;
114
119
 
115
120
  sendMessage(
116
121
  dstAddress: string,
117
122
  dstChainId: BigNumberish,
118
- message: BytesLike,
123
+ payload: BytesLike,
124
+ estimatedGasAmount: BigNumberish,
119
125
  overrides?: CallOverrides
120
126
  ): Promise<void>;
121
127
  };
@@ -126,14 +132,16 @@ export interface IPMsgSendEndpoint extends BaseContract {
126
132
  calcFee(
127
133
  dstAddress: string,
128
134
  dstChainId: BigNumberish,
129
- message: BytesLike,
135
+ payload: BytesLike,
136
+ estimatedGasAmount: BigNumberish,
130
137
  overrides?: CallOverrides
131
138
  ): Promise<BigNumber>;
132
139
 
133
140
  sendMessage(
134
141
  dstAddress: string,
135
142
  dstChainId: BigNumberish,
136
- message: BytesLike,
143
+ payload: BytesLike,
144
+ estimatedGasAmount: BigNumberish,
137
145
  overrides?: PayableOverrides & { from?: string | Promise<string> }
138
146
  ): Promise<BigNumber>;
139
147
  };
@@ -142,14 +150,16 @@ export interface IPMsgSendEndpoint extends BaseContract {
142
150
  calcFee(
143
151
  dstAddress: string,
144
152
  dstChainId: BigNumberish,
145
- message: BytesLike,
153
+ payload: BytesLike,
154
+ estimatedGasAmount: BigNumberish,
146
155
  overrides?: CallOverrides
147
156
  ): Promise<PopulatedTransaction>;
148
157
 
149
158
  sendMessage(
150
159
  dstAddress: string,
151
160
  dstChainId: BigNumberish,
152
- message: BytesLike,
161
+ payload: BytesLike,
162
+ estimatedGasAmount: BigNumberish,
153
163
  overrides?: PayableOverrides & { from?: string | Promise<string> }
154
164
  ): Promise<PopulatedTransaction>;
155
165
  };
@@ -22,7 +22,7 @@ import type {
22
22
 
23
23
  export type MarketStateStruct = {
24
24
  totalPt: BigNumberish;
25
- totalScy: BigNumberish;
25
+ totalSy: BigNumberish;
26
26
  totalLp: BigNumberish;
27
27
  treasury: string;
28
28
  scalarRoot: BigNumberish;
@@ -44,7 +44,7 @@ export type MarketStateStructOutput = [
44
44
  BigNumber
45
45
  ] & {
46
46
  totalPt: BigNumber;
47
- totalScy: BigNumber;
47
+ totalSy: BigNumber;
48
48
  totalLp: BigNumber;
49
49
  treasury: string;
50
50
  scalarRoot: BigNumber;
@@ -57,17 +57,14 @@ export type MarketStateStructOutput = [
57
57
  export interface ImplicitSwapfeeContractInterface extends utils.Interface {
58
58
  contractName: "ImplicitSwapfeeContract";
59
59
  functions: {
60
- "K()": FunctionFragment;
61
- "execute(address,(int256,int256,int256,address,int256,uint256,uint256,uint256,uint256),int256)": FunctionFragment;
60
+ "execute(int256,address,(int256,int256,int256,address,int256,uint256,uint256,uint256,uint256),int256)": FunctionFragment;
62
61
  };
63
62
 
64
- encodeFunctionData(functionFragment: "K", values?: undefined): string;
65
63
  encodeFunctionData(
66
64
  functionFragment: "execute",
67
- values: [string, MarketStateStruct, BigNumberish]
65
+ values: [BigNumberish, string, MarketStateStruct, BigNumberish]
68
66
  ): string;
69
67
 
70
- decodeFunctionResult(functionFragment: "K", data: BytesLike): Result;
71
68
  decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
72
69
 
73
70
  events: {};
@@ -101,9 +98,8 @@ export interface ImplicitSwapfeeContract extends BaseContract {
101
98
  removeListener: OnEvent<this>;
102
99
 
103
100
  functions: {
104
- K(overrides?: CallOverrides): Promise<[BigNumber]>;
105
-
106
101
  execute(
102
+ K: BigNumberish,
107
103
  market: string,
108
104
  prevState: MarketStateStruct,
109
105
  netPtToAccount: BigNumberish,
@@ -111,9 +107,8 @@ export interface ImplicitSwapfeeContract extends BaseContract {
111
107
  ): Promise<[BigNumber] & { netScyToAccount: BigNumber }>;
112
108
  };
113
109
 
114
- K(overrides?: CallOverrides): Promise<BigNumber>;
115
-
116
110
  execute(
111
+ K: BigNumberish,
117
112
  market: string,
118
113
  prevState: MarketStateStruct,
119
114
  netPtToAccount: BigNumberish,
@@ -121,9 +116,8 @@ export interface ImplicitSwapfeeContract extends BaseContract {
121
116
  ): Promise<BigNumber>;
122
117
 
123
118
  callStatic: {
124
- K(overrides?: CallOverrides): Promise<BigNumber>;
125
-
126
119
  execute(
120
+ K: BigNumberish,
127
121
  market: string,
128
122
  prevState: MarketStateStruct,
129
123
  netPtToAccount: BigNumberish,
@@ -134,9 +128,8 @@ export interface ImplicitSwapfeeContract extends BaseContract {
134
128
  filters: {};
135
129
 
136
130
  estimateGas: {
137
- K(overrides?: CallOverrides): Promise<BigNumber>;
138
-
139
131
  execute(
132
+ K: BigNumberish,
140
133
  market: string,
141
134
  prevState: MarketStateStruct,
142
135
  netPtToAccount: BigNumberish,
@@ -145,9 +138,8 @@ export interface ImplicitSwapfeeContract extends BaseContract {
145
138
  };
146
139
 
147
140
  populateTransaction: {
148
- K(overrides?: CallOverrides): Promise<PopulatedTransaction>;
149
-
150
141
  execute(
142
+ K: BigNumberish,
151
143
  market: string,
152
144
  prevState: MarketStateStruct,
153
145
  netPtToAccount: BigNumberish,