@pendle/core-v2 0.16.1-testnet → 0.16.1-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 (161) 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 +2 -2
  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 +2 -2
  6. package/build/artifacts/contracts/LiquidityMining/CrossChainMsg/PendleMsgSenderAppUpg.sol/PendleMsgSenderAppUpg.dbg.json +1 -1
  7. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/EpochResultManager.sol/EpochResultManager.dbg.json +1 -1
  8. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.dbg.json +1 -1
  9. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributor.sol/PendleFeeDistributor.json +2 -2
  10. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.dbg.json +1 -1
  11. package/build/artifacts/contracts/LiquidityMining/FeeDistributor/PendleFeeDistributorFactory.sol/PendleFeeDistributorFactory.json +2 -2
  12. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol/PendleGaugeControllerBaseUpg.dbg.json +1 -1
  13. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.dbg.json +1 -1
  14. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerMainchainUpg.sol/PendleGaugeControllerMainchainUpg.json +2 -2
  15. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/LiquidityMining/GaugeController/PendleGaugeControllerSidechainUpg.sol/PendleGaugeControllerSidechainUpg.json +2 -2
  17. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +2 -2
  19. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  20. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.dbg.json +1 -1
  21. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleMainchain.sol/VotingEscrowPendleMainchain.json +2 -2
  22. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.dbg.json +1 -1
  23. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowPendleSidechain.sol/VotingEscrowPendleSidechain.json +2 -2
  24. package/build/artifacts/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol/VotingEscrowTokenBase.dbg.json +1 -1
  25. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.dbg.json +1 -1
  26. package/build/artifacts/contracts/LiquidityMining/libraries/VeBalanceLib.sol/VeBalanceLib.json +2 -2
  27. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.dbg.json +1 -1
  28. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/CheckpointHelper.json +2 -2
  29. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.dbg.json +1 -1
  30. package/build/artifacts/contracts/LiquidityMining/libraries/VeHistoryLib.sol/Checkpoints.json +2 -2
  31. package/build/artifacts/contracts/LiquidityMining/libraries/WeekMath.sol/WeekMath.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  33. package/build/artifacts/contracts/core/Market/MarketMathCore.sol/MarketMathCore.json +2 -2
  34. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.dbg.json +1 -1
  35. package/build/artifacts/contracts/core/Market/OracleLib.sol/OracleLib.json +2 -2
  36. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  37. package/build/artifacts/contracts/core/Market/PendleMarket.sol/PendleMarket.json +2 -2
  38. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  39. package/build/artifacts/contracts/core/Market/PendleMarketFactory.sol/PendleMarketFactory.json +20 -2
  40. package/build/artifacts/contracts/core/StandardizedYield/SYBase.sol/SYBase.dbg.json +1 -1
  41. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithRewards.sol/SYBaseWithRewards.dbg.json +1 -1
  42. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.dbg.json +1 -1
  43. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenHelper.sol/PendleQiTokenHelper.json +2 -2
  44. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.dbg.json +1 -1
  45. package/build/artifacts/contracts/core/StandardizedYield/implementations/BenQi/PendleQiTokenSY.sol/PendleQiTokenSY.json +2 -2
  46. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +4 -0
  47. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP/Pendle3CrvAndTokenSY.sol → Pendle3CrvAndTokenSY.sol}/Pendle3CrvAndTokenSY.json +3 -3
  48. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleConvex2TokensSY.sol/PendleConvex2TokensSY.dbg.json +4 -0
  49. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/PendleConvex2TokensSY.sol/PendleConvex2TokensSY.json +1005 -0
  50. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +4 -0
  51. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{Pendle3CrvHelper.sol → base/Pendle3CrvHelper.sol}/Pendle3CrvHelper.json +3 -3
  52. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/base/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +4 -0
  53. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/{ConvexCurveLP → base}/PendleConvexLPSY.sol/PendleConvexLPSY.json +1 -1
  54. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.dbg.json +1 -1
  55. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleWstEthSY.sol/PendleWstEthSY.json +2 -2
  56. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +1 -1
  57. package/build/artifacts/contracts/core/YieldContracts/PendlePrincipalToken.sol/PendlePrincipalToken.json +2 -2
  58. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  59. package/build/artifacts/contracts/core/YieldContracts/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +75 -2
  60. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  61. package/build/artifacts/contracts/core/YieldContracts/PendleYieldToken.sol/PendleYieldToken.json +35 -4
  62. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.dbg.json +1 -1
  63. package/build/artifacts/contracts/core/libraries/Errors.sol/Errors.json +65 -2
  64. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.dbg.json +1 -1
  65. package/build/artifacts/contracts/interfaces/ConvexCurve/IBooster.sol/IBooster.json +1 -1
  66. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/Curve/ICrvPool.sol/ICrvPool.json +14 -7
  68. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
  69. package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
  71. package/build/artifacts/contracts/interfaces/IPActionSwapPTYT.sol/IPActionSwapPTYT.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPVotingController.sol/IPVotingController.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPVotingEscrowMainchain.sol/IPVotingEscrowMainchain.dbg.json +1 -1
  77. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.dbg.json +1 -1
  78. package/build/artifacts/contracts/offchain-helpers/MarketMathStatic.sol/MarketMathStatic.json +2 -2
  79. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  80. package/build/artifacts/contracts/offchain-helpers/RouterStatic.sol/RouterStatic.json +89 -60
  81. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
  82. package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.json +20 -4
  83. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  84. package/build/artifacts/contracts/router/ActionCallback.sol/ActionCallback.json +2 -2
  85. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
  86. package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.json +2 -2
  87. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.dbg.json +1 -1
  88. package/build/artifacts/contracts/router/ActionMisc.sol/ActionMisc.json +2 -2
  89. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
  90. package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.json +2 -2
  91. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.dbg.json +1 -1
  92. package/build/artifacts/contracts/router/ActionSwapPTYT.sol/ActionSwapPTYT.json +2 -2
  93. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
  94. package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.json +2 -2
  95. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  96. package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.json +2 -2
  97. package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
  98. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  99. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  100. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  101. package/build/artifacts/contracts/router/base/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  102. package/contracts/LiquidityMining/GaugeController/PendleGaugeControllerBaseUpg.sol +1 -1
  103. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +1 -1
  104. package/contracts/LiquidityMining/VotingEscrow/VotingEscrowTokenBase.sol +3 -3
  105. package/contracts/LiquidityMining/libraries/WeekMath.sol +1 -1
  106. package/contracts/offchain-helpers/RouterStatic.sol +1 -1
  107. package/deployments/43113-core.json +8 -8
  108. package/deployments/43113-markets/benqi-market-QI-USDC-FEB-2ND.json +4 -4
  109. package/deployments/43113-markets/benqi-market-QI-WETH-DEC-1ST.json +4 -4
  110. package/deployments/80001-core.json +10 -10
  111. package/package.json +1 -1
  112. package/typechain-types/IBooster.ts +9 -3
  113. package/typechain-types/ICrvPool.ts +4 -9
  114. package/typechain-types/PendleConvex2TokensSY.ts +1215 -0
  115. package/typechain-types/PendleMarketFactory.ts +21 -0
  116. package/typechain-types/PendleYieldContractFactory.ts +47 -2
  117. package/typechain-types/PendleYieldToken.ts +42 -0
  118. package/typechain-types/RouterStatic.ts +44 -0
  119. package/typechain-types/factories/ActionAddRemoveLiq__factory.ts +17 -1
  120. package/typechain-types/factories/ActionCallback__factory.ts +1 -1
  121. package/typechain-types/factories/ActionMintRedeem__factory.ts +1 -1
  122. package/typechain-types/factories/ActionMisc__factory.ts +1 -1
  123. package/typechain-types/factories/ActionSwapPTYT__factory.ts +1 -1
  124. package/typechain-types/factories/ActionSwapPT__factory.ts +1 -1
  125. package/typechain-types/factories/ActionSwapYT__factory.ts +1 -1
  126. package/typechain-types/factories/Errors__factory.ts +64 -1
  127. package/typechain-types/factories/IBooster__factory.ts +1 -1
  128. package/typechain-types/factories/ICrvPool__factory.ts +14 -7
  129. package/typechain-types/factories/MarketMathStatic__factory.ts +1 -1
  130. package/typechain-types/factories/OracleLib__factory.ts +1 -1
  131. package/typechain-types/factories/Pendle3CrvAndTokenSY__factory.ts +1 -1
  132. package/typechain-types/factories/Pendle3CrvHelper__factory.ts +1 -1
  133. package/typechain-types/factories/PendleConvex2TokensSY__factory.ts +1093 -0
  134. package/typechain-types/factories/PendleFeeDistributorFactory__factory.ts +1 -1
  135. package/typechain-types/factories/PendleFeeDistributor__factory.ts +1 -1
  136. package/typechain-types/factories/PendleGaugeControllerMainchainUpg__factory.ts +1 -1
  137. package/typechain-types/factories/PendleGaugeControllerSidechainUpg__factory.ts +1 -1
  138. package/typechain-types/factories/PendleMarketFactory__factory.ts +19 -1
  139. package/typechain-types/factories/PendleMarket__factory.ts +1 -1
  140. package/typechain-types/factories/PendleMsgReceiveEndpointUpg__factory.ts +1 -1
  141. package/typechain-types/factories/PendleMsgSendEndpointUpg__factory.ts +1 -1
  142. package/typechain-types/factories/PendlePrincipalToken__factory.ts +1 -1
  143. package/typechain-types/factories/PendleQiTokenHelper__factory.ts +1 -1
  144. package/typechain-types/factories/PendleQiTokenSY__factory.ts +1 -1
  145. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  146. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +1 -1
  147. package/typechain-types/factories/PendleWstEthSY__factory.ts +1 -1
  148. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +74 -1
  149. package/typechain-types/factories/PendleYieldToken__factory.ts +38 -3
  150. package/typechain-types/factories/RouterStatic__factory.ts +30 -1
  151. package/typechain-types/factories/VotingEscrowPendleMainchain__factory.ts +1 -1
  152. package/typechain-types/factories/VotingEscrowPendleSidechain__factory.ts +1 -1
  153. package/typechain-types/hardhat.d.ts +31 -40
  154. package/typechain-types/index.ts +6 -14
  155. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/Pendle3CrvAndTokenSY.sol/Pendle3CrvAndTokenSY.dbg.json +0 -4
  156. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/ConvexCurveLP/PendleConvexLPSY.sol/PendleConvexLPSY.dbg.json +0 -4
  157. package/build/artifacts/contracts/core/StandardizedYield/implementations/Convex/Pendle3CrvHelper.sol/Pendle3CrvHelper.dbg.json +0 -4
  158. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.dbg.json +0 -4
  159. package/build/artifacts/contracts/offchain-helpers/ImplicitSwapfeeContract.sol/ImplicitSwapfeeContract.json +0 -182
  160. package/deployments/80001-markets/benqi-market-QI-USDC-FEB-2ND.json +0 -8
  161. 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/b62d2a146016171c9f9ea6fa50815d27.json"
3
+ "buildInfo": "../../../../build-info/bdf5dd82cd846347198978860919cb4b.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "MarketApproxPtInLib",
4
4
  "sourceName": "contracts/router/base/MarketApproxLib.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220364178b3dbcabebcddfdab6f5d6a03e0f5621cc2daccf7cb3b8f6c6b53b1469b64736f6c63430008110033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220364178b3dbcabebcddfdab6f5d6a03e0f5621cc2daccf7cb3b8f6c6b53b1469b64736f6c63430008110033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122058579a9f6ea2a9557e214efe0263062f0be710b9b3dfd24385ee0c83550a4e4864736f6c63430008110033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122058579a9f6ea2a9557e214efe0263062f0be710b9b3dfd24385ee0c83550a4e4864736f6c63430008110033",
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/b62d2a146016171c9f9ea6fa50815d27.json"
3
+ "buildInfo": "../../../../build-info/bdf5dd82cd846347198978860919cb4b.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "MarketApproxPtOutLib",
4
4
  "sourceName": "contracts/router/base/MarketApproxLib.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122025c8c8a241f6487d0d1744c4d00247cc27107ee6b81f12f43984d093d692392764736f6c63430008110033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122025c8c8a241f6487d0d1744c4d00247cc27107ee6b81f12f43984d093d692392764736f6c63430008110033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206570bdaa9d8a554ebc9c6ae56c5c586e9bbca1c7b20dcd7b18c821e0c443ab9264736f6c63430008110033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206570bdaa9d8a554ebc9c6ae56c5c586e9bbca1c7b20dcd7b18c821e0c443ab9264736f6c63430008110033",
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.1-testnet",
5
+ "version": "0.16.1-testnet-daily",
6
6
  "homepage": "https://pendle.finance",
7
7
  "keywords": [
8
8
  "pendle",
@@ -120,7 +120,9 @@ export interface IBooster extends BaseContract {
120
120
  poolInfo(
121
121
  arg0: BigNumberish,
122
122
  overrides?: CallOverrides
123
- ): Promise<[string, string, string, string, string, boolean]>;
123
+ ): Promise<
124
+ [string, string, string, string, string, boolean] & { lpToken: string }
125
+ >;
124
126
 
125
127
  poolLength(overrides?: CallOverrides): Promise<[BigNumber]>;
126
128
 
@@ -154,7 +156,9 @@ export interface IBooster extends BaseContract {
154
156
  poolInfo(
155
157
  arg0: BigNumberish,
156
158
  overrides?: CallOverrides
157
- ): Promise<[string, string, string, string, string, boolean]>;
159
+ ): Promise<
160
+ [string, string, string, string, string, boolean] & { lpToken: string }
161
+ >;
158
162
 
159
163
  poolLength(overrides?: CallOverrides): Promise<BigNumber>;
160
164
 
@@ -188,7 +192,9 @@ export interface IBooster extends BaseContract {
188
192
  poolInfo(
189
193
  arg0: BigNumberish,
190
194
  overrides?: CallOverrides
191
- ): Promise<[string, string, string, string, string, boolean]>;
195
+ ): Promise<
196
+ [string, string, string, string, string, boolean] & { lpToken: string }
197
+ >;
192
198
 
193
199
  poolLength(overrides?: CallOverrides): Promise<BigNumber>;
194
200
 
@@ -29,7 +29,7 @@ export interface ICrvPoolInterface extends utils.Interface {
29
29
  "calc_token_amount(uint256[3],bool)": FunctionFragment;
30
30
  "calc_withdraw_one_coin(uint256,int128)": FunctionFragment;
31
31
  "coins(uint256)": FunctionFragment;
32
- "exchange(int128,int128,uint256,uint256,address)": FunctionFragment;
32
+ "exchange(int128,int128,uint256,uint256)": FunctionFragment;
33
33
  "get_dy(int128,int128,uint256)": FunctionFragment;
34
34
  "get_virtual_price()": FunctionFragment;
35
35
  "remove_liquidity(uint256,uint256[],address)": FunctionFragment;
@@ -51,7 +51,7 @@ export interface ICrvPoolInterface extends utils.Interface {
51
51
  encodeFunctionData(functionFragment: "coins", values: [BigNumberish]): string;
52
52
  encodeFunctionData(
53
53
  functionFragment: "exchange",
54
- values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, string]
54
+ values: [BigNumberish, BigNumberish, BigNumberish, BigNumberish]
55
55
  ): string;
56
56
  encodeFunctionData(
57
57
  functionFragment: "get_dy",
@@ -179,7 +179,6 @@ export interface ICrvPool extends BaseContract {
179
179
  j: BigNumberish,
180
180
  dx: BigNumberish,
181
181
  min_dy: BigNumberish,
182
- _receiver: string,
183
182
  overrides?: Overrides & { from?: string | Promise<string> }
184
183
  ): Promise<ContractTransaction>;
185
184
 
@@ -257,7 +256,6 @@ export interface ICrvPool extends BaseContract {
257
256
  j: BigNumberish,
258
257
  dx: BigNumberish,
259
258
  min_dy: BigNumberish,
260
- _receiver: string,
261
259
  overrides?: Overrides & { from?: string | Promise<string> }
262
260
  ): Promise<ContractTransaction>;
263
261
 
@@ -289,7 +287,7 @@ export interface ICrvPool extends BaseContract {
289
287
  _deposit_amount: [BigNumberish, BigNumberish],
290
288
  _min_amount: BigNumberish,
291
289
  overrides?: CallOverrides
292
- ): Promise<void>;
290
+ ): Promise<BigNumber>;
293
291
 
294
292
  "add_liquidity(uint256[3],uint256)"(
295
293
  _deposit_amount: [BigNumberish, BigNumberish, BigNumberish],
@@ -335,7 +333,6 @@ export interface ICrvPool extends BaseContract {
335
333
  j: BigNumberish,
336
334
  dx: BigNumberish,
337
335
  min_dy: BigNumberish,
338
- _receiver: string,
339
336
  overrides?: CallOverrides
340
337
  ): Promise<BigNumber>;
341
338
 
@@ -360,7 +357,7 @@ export interface ICrvPool extends BaseContract {
360
357
  i: BigNumberish,
361
358
  _min_amount: BigNumberish,
362
359
  overrides?: CallOverrides
363
- ): Promise<void>;
360
+ ): Promise<BigNumber>;
364
361
  };
365
362
 
366
363
  filters: {};
@@ -416,7 +413,6 @@ export interface ICrvPool extends BaseContract {
416
413
  j: BigNumberish,
417
414
  dx: BigNumberish,
418
415
  min_dy: BigNumberish,
419
- _receiver: string,
420
416
  overrides?: Overrides & { from?: string | Promise<string> }
421
417
  ): Promise<BigNumber>;
422
418
 
@@ -498,7 +494,6 @@ export interface ICrvPool extends BaseContract {
498
494
  j: BigNumberish,
499
495
  dx: BigNumberish,
500
496
  min_dy: BigNumberish,
501
- _receiver: string,
502
497
  overrides?: Overrides & { from?: string | Promise<string> }
503
498
  ): Promise<PopulatedTransaction>;
504
499