@pendle/core-v2 0.6.5 → 0.6.6

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 (415) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +1 -1
  2. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.json +13 -0
  3. package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +1 -1
  4. package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.dbg.json +1 -1
  5. package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.dbg.json +1 -1
  6. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.dbg.json +1 -1
  7. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json +13 -0
  8. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +1 -1
  9. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +13 -0
  10. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.json +1 -1
  12. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.json +56 -51
  14. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +30 -4
  16. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.dbg.json +4 -0
  17. package/build/artifacts/contracts/core/PendlePrincipalToken.sol/PendlePrincipalToken.json +452 -0
  18. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +1 -1
  19. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +2 -2
  20. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +1 -1
  21. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +20 -2
  22. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +1 -1
  23. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.dbg.json +1 -1
  24. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.json +21 -16
  25. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +21 -16
  27. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +1 -1
  28. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +23 -18
  29. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +1 -1
  30. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +22 -17
  31. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +1 -1
  32. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +7 -7
  33. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.dbg.json +1 -1
  34. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.json +9 -9
  35. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.json +628 -12
  37. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +1 -1
  38. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +3 -3
  39. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +1 -1
  40. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +128 -92
  41. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/ActionRedeem.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/{PendleRouterRedeemUpg.json → ActionRedeem.json} +3 -3
  43. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +1 -1
  44. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +105 -69
  45. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPTBase.sol/ActionSCYAndPTBase.dbg.json +4 -0
  46. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json → ActionSCYAndPTBase.sol/ActionSCYAndPTBase.json} +2 -2
  47. package/build/artifacts/contracts/core/actions/base/ActionSCYAndPYBase.sol/ActionSCYAndPYBase.dbg.json +4 -0
  48. package/build/artifacts/contracts/core/actions/base/{ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json → ActionSCYAndPYBase.sol/ActionSCYAndPYBase.json} +14 -14
  49. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +1 -1
  50. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +12 -12
  51. package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.dbg.json +1 -1
  52. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +1 -1
  53. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +1 -1
  54. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +1 -1
  55. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +1 -1
  56. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +1 -1
  57. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +1 -1
  58. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +1 -1
  59. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +114 -78
  60. package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.dbg.json +1 -1
  61. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +1 -1
  62. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +90 -54
  63. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
  64. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +210 -138
  65. package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.dbg.json +1 -1
  66. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +1 -1
  67. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +1 -1
  68. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +14 -14
  69. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +1 -1
  70. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +2 -2
  71. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +1 -1
  72. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +1 -1
  73. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +1 -1
  74. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +1 -1
  75. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +1 -1
  76. package/build/artifacts/contracts/interfaces/IPPrincipalToken.sol/IPPrincipalToken.dbg.json +4 -0
  77. package/build/artifacts/contracts/interfaces/{IPOwnershipToken.sol/IPOwnershipToken.json → IPPrincipalToken.sol/IPPrincipalToken.json} +2 -2
  78. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  79. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +626 -10
  80. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +1 -1
  81. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +3 -3
  82. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +1 -1
  83. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +5 -5
  84. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +1 -1
  85. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +1 -1
  86. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +1 -1
  87. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +1 -1
  88. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +1 -1
  89. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +1 -1
  90. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +1 -1
  91. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +1 -1
  92. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +2 -2
  93. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +1 -1
  94. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +2 -2
  95. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +1 -1
  96. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +1 -1
  97. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +2 -2
  98. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +1 -1
  99. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +2 -2
  100. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +1 -1
  101. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +2 -2
  102. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +1 -1
  103. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +2 -2
  104. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +1 -1
  105. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +2 -2
  106. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +1 -1
  107. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +3 -3
  108. package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +1 -1
  109. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +1 -1
  110. package/contracts/libraries/math/MarketApproxLib.sol +1 -1
  111. package/package.json +1 -1
  112. package/typechain-types/ActionCallback.ts +5 -5
  113. package/typechain-types/ActionCore.ts +232 -280
  114. package/typechain-types/{PendleRouterRedeemUpg.ts → ActionRedeem.ts} +5 -5
  115. package/typechain-types/{ActionSCYAndYOBase.ts → ActionSCYAndPYBase.ts} +54 -54
  116. package/typechain-types/ActionSCYAndYTBase.ts +49 -49
  117. package/typechain-types/ActionYT.ts +92 -140
  118. package/typechain-types/IPActionCore.ts +183 -231
  119. package/typechain-types/IPActionYT.ts +43 -91
  120. package/typechain-types/IPAllAction.ts +204 -322
  121. package/typechain-types/IPMarket.ts +55 -55
  122. package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
  123. package/typechain-types/IPMarketFactory.ts +3 -3
  124. package/typechain-types/IPMarketSwapCallback.ts +5 -5
  125. package/typechain-types/{IPOwnershipToken.ts → IPPrincipalToken.ts} +5 -5
  126. package/typechain-types/IPRouterStatic.ts +529 -49
  127. package/typechain-types/IPYieldContractFactory.ts +19 -19
  128. package/typechain-types/IPYieldToken.ts +29 -29
  129. package/typechain-types/ISuperComposableYield.ts +13 -0
  130. package/typechain-types/PendleAaveV3SCY.ts +13 -0
  131. package/typechain-types/PendleBaseToken.ts +1 -1
  132. package/typechain-types/PendleBenQiErc20SCY.ts +14 -20
  133. package/typechain-types/PendleBtrflyScy.ts +14 -20
  134. package/typechain-types/PendleGovernanceManager.ts +5 -5
  135. package/typechain-types/PendleMarket.ts +102 -105
  136. package/typechain-types/PendleMarketFactory.ts +48 -8
  137. package/typechain-types/{PendleOwnershipToken.ts → PendlePrincipalToken.ts} +15 -6
  138. package/typechain-types/PendleStEthSCY.ts +15 -23
  139. package/typechain-types/PendleYearnVaultScy.ts +15 -23
  140. package/typechain-types/PendleYieldContractFactory.ts +28 -28
  141. package/typechain-types/PendleYieldToken.ts +30 -30
  142. package/typechain-types/RouterStatic.ts +529 -49
  143. package/typechain-types/SCYBase.ts +13 -0
  144. package/typechain-types/SCYBaseWithRewards.ts +13 -0
  145. package/typechain-types/factories/ActionCallback__factory.ts +2 -2
  146. package/typechain-types/factories/ActionCore__factory.ts +127 -91
  147. package/typechain-types/factories/{PendleRouterRedeemUpg__factory.ts → ActionRedeem__factory.ts} +19 -26
  148. package/typechain-types/factories/{ActionSCYAndYOBase__factory.ts → ActionSCYAndPYBase__factory.ts} +20 -20
  149. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
  150. package/typechain-types/factories/ActionYT__factory.ts +104 -68
  151. package/typechain-types/factories/IPActionCore__factory.ts +114 -78
  152. package/typechain-types/factories/IPActionYT__factory.ts +90 -54
  153. package/typechain-types/factories/IPAllAction__factory.ts +210 -138
  154. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
  155. package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
  156. package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
  157. package/typechain-types/factories/IPMarket__factory.ts +14 -14
  158. package/typechain-types/factories/{IPOwnershipToken__factory.ts → IPPrincipalToken__factory.ts} +8 -8
  159. package/typechain-types/factories/IPRouterStatic__factory.ts +626 -10
  160. package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
  161. package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
  162. package/typechain-types/factories/ISuperComposableYield__factory.ts +13 -0
  163. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +24 -1
  164. package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
  165. package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +25 -15
  166. package/typechain-types/factories/PendleBtrflyScy__factory.ts +25 -15
  167. package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
  168. package/typechain-types/factories/PendleMarketFactory__factory.ts +29 -3
  169. package/typechain-types/factories/PendleMarket__factory.ts +59 -54
  170. package/typechain-types/factories/PendlePrincipalToken__factory.ts +540 -0
  171. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  172. package/typechain-types/factories/PendleStEthSCY__factory.ts +27 -17
  173. package/typechain-types/factories/PendleYearnVaultScy__factory.ts +26 -16
  174. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
  175. package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
  176. package/typechain-types/factories/RouterStatic__factory.ts +627 -11
  177. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +13 -0
  178. package/typechain-types/factories/SCYBase__factory.ts +13 -0
  179. package/typechain-types/hardhat.d.ts +20 -20
  180. package/typechain-types/index.ts +8 -8
  181. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +0 -4
  182. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +0 -439
  183. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +0 -4
  184. package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +0 -4
  185. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +0 -4
  186. package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +0 -4
  187. package/typechain-types/AggregatorV2V3Interface.ts +0 -380
  188. package/typechain-types/BenqiChainlinkOracle.ts +0 -362
  189. package/typechain-types/BoringOwnable.ts +0 -194
  190. package/typechain-types/BoringOwnableData.ts +0 -100
  191. package/typechain-types/BoringOwnableUpg.ts +0 -194
  192. package/typechain-types/BoringOwnableUpgData.ts +0 -100
  193. package/typechain-types/Comptroller.ts +0 -2860
  194. package/typechain-types/ComptrollerErrorReporter.ts +0 -70
  195. package/typechain-types/ComptrollerInterface.ts +0 -881
  196. package/typechain-types/ComptrollerVXStorage.ts +0 -781
  197. package/typechain-types/CrosschainContract.ts +0 -113
  198. package/typechain-types/CrosschainReceiver.ts +0 -347
  199. package/typechain-types/CrosschainSender.ts +0 -210
  200. package/typechain-types/EIP20Interface.ts +0 -337
  201. package/typechain-types/EIP20NonStandardInterface.ts +0 -298
  202. package/typechain-types/ERC20Burnable.ts +0 -473
  203. package/typechain-types/ERC20Locker.ts +0 -91
  204. package/typechain-types/ERC20Premined.ts +0 -473
  205. package/typechain-types/ERC20PresetFixedSupply.ts +0 -473
  206. package/typechain-types/EpochController.ts +0 -195
  207. package/typechain-types/FundKeeper.ts +0 -347
  208. package/typechain-types/GaugeTypeControllerAbstract.ts +0 -546
  209. package/typechain-types/GaugeTypeControllerCrosschain.ts +0 -733
  210. package/typechain-types/GaugeTypeControllerMainchain.ts +0 -604
  211. package/typechain-types/IGaugeController.ts +0 -99
  212. package/typechain-types/ILiquidYieldToken.ts +0 -639
  213. package/typechain-types/ILiquidYieldTokenWrap.ts +0 -790
  214. package/typechain-types/IMessageBus.ts +0 -543
  215. package/typechain-types/IMessageReceiverApp.ts +0 -110
  216. package/typechain-types/IPFlashCallback.ts +0 -115
  217. package/typechain-types/IPLiquidYieldToken.ts +0 -641
  218. package/typechain-types/IPMarketCallback.ts +0 -107
  219. package/typechain-types/IPRouterCore.ts +0 -769
  220. package/typechain-types/IPRouterRedeem.ts +0 -155
  221. package/typechain-types/IPRouterYT.ts +0 -489
  222. package/typechain-types/IPermissionsV2.ts +0 -87
  223. package/typechain-types/IRainbowBridge.ts +0 -91
  224. package/typechain-types/ISCYRewardIndex.ts +0 -695
  225. package/typechain-types/IVEPendleToken.ts +0 -121
  226. package/typechain-types/IXPendle.ts +0 -114
  227. package/typechain-types/InterestRateModel.ts +0 -178
  228. package/typechain-types/JumpRateModel.ts +0 -347
  229. package/typechain-types/LYTBase.ts +0 -721
  230. package/typechain-types/LYTBaseWithRewards.ts +0 -806
  231. package/typechain-types/LYTWrap.ts +0 -872
  232. package/typechain-types/LYTWrapWithRewards.ts +0 -979
  233. package/typechain-types/LiquidityMining.ts +0 -468
  234. package/typechain-types/Maximillion.ts +0 -145
  235. package/typechain-types/Ownable.ts +0 -160
  236. package/typechain-types/PendleAaveV3LYT.ts +0 -808
  237. package/typechain-types/PendleBenQiErc20LYT.ts +0 -901
  238. package/typechain-types/PendleBenqiLiquidYieldToken.ts +0 -1013
  239. package/typechain-types/PendleBtrflyLYT.ts +0 -781
  240. package/typechain-types/PendleGauge.ts +0 -469
  241. package/typechain-types/PendleJoeSwapHelper.ts +0 -92
  242. package/typechain-types/PendleLYTMockYT.ts +0 -894
  243. package/typechain-types/PendleLiquidYieldToken.ts +0 -814
  244. package/typechain-types/PendleLiquidYieldTokenBase.ts +0 -941
  245. package/typechain-types/PendleRouter01.ts +0 -184
  246. package/typechain-types/PendleRouter02.ts +0 -564
  247. package/typechain-types/PendleRouter03.ts +0 -224
  248. package/typechain-types/PendleRouterBase.ts +0 -126
  249. package/typechain-types/PendleRouterCore.ts +0 -328
  250. package/typechain-types/PendleRouterCoreUpg.ts +0 -798
  251. package/typechain-types/PendleRouterLytAndForge.ts +0 -331
  252. package/typechain-types/PendleRouterMarketBase.ts +0 -82
  253. package/typechain-types/PendleRouterOT.ts +0 -463
  254. package/typechain-types/PendleRouterProxy.ts +0 -335
  255. package/typechain-types/PendleRouterRawTokenOT.ts +0 -865
  256. package/typechain-types/PendleRouterRawTokenYT.ts +0 -520
  257. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +0 -98
  258. package/typechain-types/PendleRouterStaticUpg.ts +0 -399
  259. package/typechain-types/PendleRouterYT.ts +0 -227
  260. package/typechain-types/PendleRouterYTBaseUpg.ts +0 -134
  261. package/typechain-types/PendleRouterYTUpg.ts +0 -537
  262. package/typechain-types/PendleYTLYTBenqi.ts +0 -863
  263. package/typechain-types/PendleYearnVaultLYT.ts +0 -723
  264. package/typechain-types/PermissionsV2.ts +0 -87
  265. package/typechain-types/PermlessAbstract.ts +0 -57
  266. package/typechain-types/PglStakingContract.ts +0 -662
  267. package/typechain-types/PglStakingContractProxy.ts +0 -256
  268. package/typechain-types/PglStakingContractProxyStorage.ts +0 -136
  269. package/typechain-types/PglStakingContractStorage.ts +0 -397
  270. package/typechain-types/PriceOracle.ts +0 -116
  271. package/typechain-types/ProtocolFakeUser.ts +0 -105
  272. package/typechain-types/Qi.ts +0 -760
  273. package/typechain-types/QiAvax.ts +0 -1720
  274. package/typechain-types/QiDelegateInterface.ts +0 -145
  275. package/typechain-types/QiDelegationStorage.ts +0 -82
  276. package/typechain-types/QiDelegatorInterface.ts +0 -149
  277. package/typechain-types/QiErc20.ts +0 -1846
  278. package/typechain-types/QiErc20Delegate.ts +0 -1926
  279. package/typechain-types/QiErc20Delegator.ts +0 -1885
  280. package/typechain-types/QiErc20Interface.ts +0 -382
  281. package/typechain-types/QiErc20Storage.ts +0 -79
  282. package/typechain-types/QiToken.ts +0 -1475
  283. package/typechain-types/QiTokenInterface.ts +0 -1419
  284. package/typechain-types/QiTokenSaleDistributor.ts +0 -771
  285. package/typechain-types/QiTokenSaleDistributorProxy.ts +0 -256
  286. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +0 -136
  287. package/typechain-types/QiTokenSaleDistributorStorage.ts +0 -401
  288. package/typechain-types/QiTokenStorage.ts +0 -311
  289. package/typechain-types/ReentrancyGuard.ts +0 -52
  290. package/typechain-types/SingleGaugeTypeController.ts +0 -478
  291. package/typechain-types/TokenErrorReporter.ts +0 -70
  292. package/typechain-types/Unitroller.ts +0 -356
  293. package/typechain-types/UnitrollerAdminStorage.ts +0 -143
  294. package/typechain-types/VePendle.ts +0 -1156
  295. package/typechain-types/VePendleCrosschain.ts +0 -969
  296. package/typechain-types/VePendleToken.ts +0 -688
  297. package/typechain-types/VotingController.ts +0 -883
  298. package/typechain-types/WETH9.ts +0 -414
  299. package/typechain-types/WhitePaperInterestRateModel.ts +0 -304
  300. package/typechain-types/XPendle.ts +0 -618
  301. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +0 -288
  302. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +0 -311
  303. package/typechain-types/factories/BoringOwnableData__factory.ts +0 -90
  304. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +0 -94
  305. package/typechain-types/factories/BoringOwnableUpg__factory.ts +0 -139
  306. package/typechain-types/factories/BoringOwnable__factory.ts +0 -149
  307. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +0 -93
  308. package/typechain-types/factories/ComptrollerInterface__factory.ts +0 -595
  309. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +0 -610
  310. package/typechain-types/factories/Comptroller__factory.ts +0 -2189
  311. package/typechain-types/factories/CrosschainContract__factory.ts +0 -52
  312. package/typechain-types/factories/CrosschainReceiver__factory.ts +0 -187
  313. package/typechain-types/factories/CrosschainSender__factory.ts +0 -104
  314. package/typechain-types/factories/EIP20Interface__factory.ts +0 -248
  315. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +0 -213
  316. package/typechain-types/factories/ERC20Burnable__factory.ts +0 -324
  317. package/typechain-types/factories/ERC20Locker__factory.ts +0 -73
  318. package/typechain-types/factories/ERC20Premined__factory.ts +0 -393
  319. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +0 -422
  320. package/typechain-types/factories/EpochController__factory.ts +0 -170
  321. package/typechain-types/factories/FundKeeper__factory.ts +0 -212
  322. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +0 -387
  323. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +0 -522
  324. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +0 -431
  325. package/typechain-types/factories/IGaugeController__factory.ts +0 -45
  326. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +0 -533
  327. package/typechain-types/factories/ILiquidYieldToken__factory.ts +0 -429
  328. package/typechain-types/factories/IMessageBus__factory.ts +0 -396
  329. package/typechain-types/factories/IMessageReceiverApp__factory.ts +0 -55
  330. package/typechain-types/factories/IPFlashCallback__factory.ts +0 -49
  331. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +0 -433
  332. package/typechain-types/factories/IPMarketCallback__factory.ts +0 -55
  333. package/typechain-types/factories/IPRouterCore__factory.ts +0 -531
  334. package/typechain-types/factories/IPRouterRedeem__factory.ts +0 -72
  335. package/typechain-types/factories/IPRouterYT__factory.ts +0 -305
  336. package/typechain-types/factories/IPermissionsV2__factory.ts +0 -39
  337. package/typechain-types/factories/IRainbowBridge__factory.ts +0 -76
  338. package/typechain-types/factories/ISCYRewardIndex__factory.ts +0 -465
  339. package/typechain-types/factories/IVEPendleToken__factory.ts +0 -71
  340. package/typechain-types/factories/IXPendle__factory.ts +0 -61
  341. package/typechain-types/factories/InterestRateModel__factory.ts +0 -108
  342. package/typechain-types/factories/JumpRateModel__factory.ts +0 -334
  343. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +0 -530
  344. package/typechain-types/factories/LYTBase__factory.ts +0 -474
  345. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +0 -643
  346. package/typechain-types/factories/LYTWrap__factory.ts +0 -574
  347. package/typechain-types/factories/LiquidityMining__factory.ts +0 -367
  348. package/typechain-types/factories/Maximillion__factory.ts +0 -125
  349. package/typechain-types/factories/Ownable__factory.ts +0 -75
  350. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +0 -657
  351. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +0 -748
  352. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +0 -785
  353. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +0 -647
  354. package/typechain-types/factories/PendleGauge__factory.ts +0 -383
  355. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +0 -52
  356. package/typechain-types/factories/PendleLYTMockYT__factory.ts +0 -732
  357. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +0 -603
  358. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +0 -510
  359. package/typechain-types/factories/PendleOwnershipToken__factory.ts +0 -527
  360. package/typechain-types/factories/PendleRouter01__factory.ts +0 -152
  361. package/typechain-types/factories/PendleRouter02__factory.ts +0 -438
  362. package/typechain-types/factories/PendleRouter03__factory.ts +0 -190
  363. package/typechain-types/factories/PendleRouterBase__factory.ts +0 -68
  364. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +0 -635
  365. package/typechain-types/factories/PendleRouterCore__factory.ts +0 -268
  366. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +0 -294
  367. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +0 -43
  368. package/typechain-types/factories/PendleRouterOT__factory.ts +0 -372
  369. package/typechain-types/factories/PendleRouterProxy__factory.ts +0 -285
  370. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +0 -697
  371. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +0 -431
  372. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +0 -56
  373. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +0 -315
  374. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +0 -66
  375. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +0 -422
  376. package/typechain-types/factories/PendleRouterYT__factory.ts +0 -184
  377. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +0 -713
  378. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +0 -586
  379. package/typechain-types/factories/PermissionsV2__factory.ts +0 -36
  380. package/typechain-types/factories/PermlessAbstract__factory.ts +0 -30
  381. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +0 -130
  382. package/typechain-types/factories/PglStakingContractProxy__factory.ts +0 -187
  383. package/typechain-types/factories/PglStakingContractStorage__factory.ts +0 -309
  384. package/typechain-types/factories/PglStakingContract__factory.ts +0 -446
  385. package/typechain-types/factories/PriceOracle__factory.ts +0 -59
  386. package/typechain-types/factories/ProtocolFakeUser__factory.ts +0 -87
  387. package/typechain-types/factories/QiAvax__factory.ts +0 -1471
  388. package/typechain-types/factories/QiDelegateInterface__factory.ts +0 -65
  389. package/typechain-types/factories/QiDelegationStorage__factory.ts +0 -79
  390. package/typechain-types/factories/QiDelegatorInterface__factory.ts +0 -89
  391. package/typechain-types/factories/QiErc20Delegate__factory.ts +0 -1563
  392. package/typechain-types/factories/QiErc20Delegator__factory.ts +0 -1648
  393. package/typechain-types/factories/QiErc20Interface__factory.ts +0 -239
  394. package/typechain-types/factories/QiErc20Storage__factory.ts +0 -79
  395. package/typechain-types/factories/QiErc20__factory.ts +0 -1515
  396. package/typechain-types/factories/QiTokenInterface__factory.ts +0 -1182
  397. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +0 -124
  398. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +0 -171
  399. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +0 -289
  400. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +0 -480
  401. package/typechain-types/factories/QiTokenStorage__factory.ts +0 -274
  402. package/typechain-types/factories/QiToken__factory.ts +0 -1219
  403. package/typechain-types/factories/Qi__factory.ts +0 -648
  404. package/typechain-types/factories/ReentrancyGuard__factory.ts +0 -69
  405. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +0 -341
  406. package/typechain-types/factories/TokenErrorReporter__factory.ts +0 -89
  407. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +0 -128
  408. package/typechain-types/factories/Unitroller__factory.ts +0 -305
  409. package/typechain-types/factories/VePendleCrosschain__factory.ts +0 -727
  410. package/typechain-types/factories/VePendleToken__factory.ts +0 -494
  411. package/typechain-types/factories/VePendle__factory.ts +0 -800
  412. package/typechain-types/factories/VotingController__factory.ts +0 -610
  413. package/typechain-types/factories/WETH9__factory.ts +0 -342
  414. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +0 -281
  415. package/typechain-types/factories/XPendle__factory.ts +0 -473
@@ -1,727 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- import {
5
- Signer,
6
- utils,
7
- Contract,
8
- ContractFactory,
9
- Overrides,
10
- BigNumberish,
11
- } from "ethers";
12
- import { Provider, TransactionRequest } from "@ethersproject/providers";
13
- import type {
14
- VePendleCrosschain,
15
- VePendleCrosschainInterface,
16
- } from "../VePendleCrosschain";
17
-
18
- const _abi = [
19
- {
20
- inputs: [
21
- {
22
- internalType: "contract IERC20",
23
- name: "_pendle",
24
- type: "address",
25
- },
26
- {
27
- internalType: "uint256",
28
- name: "_startTime",
29
- type: "uint256",
30
- },
31
- ],
32
- stateMutability: "nonpayable",
33
- type: "constructor",
34
- },
35
- {
36
- anonymous: false,
37
- inputs: [
38
- {
39
- indexed: true,
40
- internalType: "address",
41
- name: "previousOwner",
42
- type: "address",
43
- },
44
- {
45
- indexed: true,
46
- internalType: "address",
47
- name: "newOwner",
48
- type: "address",
49
- },
50
- ],
51
- name: "OwnershipTransferred",
52
- type: "event",
53
- },
54
- {
55
- inputs: [],
56
- name: "EPOCH_DURATION",
57
- outputs: [
58
- {
59
- internalType: "uint256",
60
- name: "",
61
- type: "uint256",
62
- },
63
- ],
64
- stateMutability: "view",
65
- type: "function",
66
- },
67
- {
68
- inputs: [],
69
- name: "ZERO_ADDRESS",
70
- outputs: [
71
- {
72
- internalType: "address",
73
- name: "",
74
- type: "address",
75
- },
76
- ],
77
- stateMutability: "view",
78
- type: "function",
79
- },
80
- {
81
- inputs: [
82
- {
83
- internalType: "address",
84
- name: "user",
85
- type: "address",
86
- },
87
- ],
88
- name: "acceptDelegation",
89
- outputs: [],
90
- stateMutability: "nonpayable",
91
- type: "function",
92
- },
93
- {
94
- inputs: [
95
- {
96
- internalType: "address",
97
- name: "user",
98
- type: "address",
99
- },
100
- ],
101
- name: "balanceOf",
102
- outputs: [
103
- {
104
- internalType: "uint256",
105
- name: "",
106
- type: "uint256",
107
- },
108
- ],
109
- stateMutability: "view",
110
- type: "function",
111
- },
112
- {
113
- inputs: [
114
- {
115
- internalType: "address",
116
- name: "user",
117
- type: "address",
118
- },
119
- ],
120
- name: "delegateTo",
121
- outputs: [],
122
- stateMutability: "nonpayable",
123
- type: "function",
124
- },
125
- {
126
- inputs: [
127
- {
128
- internalType: "address",
129
- name: "",
130
- type: "address",
131
- },
132
- ],
133
- name: "delegateeOf",
134
- outputs: [
135
- {
136
- internalType: "address",
137
- name: "",
138
- type: "address",
139
- },
140
- ],
141
- stateMutability: "view",
142
- type: "function",
143
- },
144
- {
145
- inputs: [
146
- {
147
- internalType: "address",
148
- name: "",
149
- type: "address",
150
- },
151
- ],
152
- name: "delegatorOf",
153
- outputs: [
154
- {
155
- internalType: "address",
156
- name: "",
157
- type: "address",
158
- },
159
- ],
160
- stateMutability: "view",
161
- type: "function",
162
- },
163
- {
164
- inputs: [
165
- {
166
- internalType: "address",
167
- name: "_sender",
168
- type: "address",
169
- },
170
- {
171
- internalType: "uint64",
172
- name: "_srcChainId",
173
- type: "uint64",
174
- },
175
- {
176
- internalType: "bytes",
177
- name: "_message",
178
- type: "bytes",
179
- },
180
- ],
181
- name: "executeMessage",
182
- outputs: [
183
- {
184
- internalType: "bool",
185
- name: "",
186
- type: "bool",
187
- },
188
- ],
189
- stateMutability: "payable",
190
- type: "function",
191
- },
192
- {
193
- inputs: [
194
- {
195
- internalType: "uint256",
196
- name: "",
197
- type: "uint256",
198
- },
199
- ],
200
- name: "expiredVotes",
201
- outputs: [
202
- {
203
- internalType: "uint256",
204
- name: "",
205
- type: "uint256",
206
- },
207
- ],
208
- stateMutability: "view",
209
- type: "function",
210
- },
211
- {
212
- inputs: [
213
- {
214
- components: [
215
- {
216
- components: [
217
- {
218
- internalType: "uint256",
219
- name: "slope",
220
- type: "uint256",
221
- },
222
- {
223
- internalType: "uint256",
224
- name: "bias",
225
- type: "uint256",
226
- },
227
- ],
228
- internalType: "struct Line",
229
- name: "value",
230
- type: "tuple",
231
- },
232
- {
233
- internalType: "uint256",
234
- name: "timestamp",
235
- type: "uint256",
236
- },
237
- ],
238
- internalType: "struct vePendleToken.Checkpoint[]",
239
- name: "checkpoints",
240
- type: "tuple[]",
241
- },
242
- {
243
- internalType: "uint256",
244
- name: "timestamp",
245
- type: "uint256",
246
- },
247
- ],
248
- name: "getCheckpointAt",
249
- outputs: [
250
- {
251
- components: [
252
- {
253
- components: [
254
- {
255
- internalType: "uint256",
256
- name: "slope",
257
- type: "uint256",
258
- },
259
- {
260
- internalType: "uint256",
261
- name: "bias",
262
- type: "uint256",
263
- },
264
- ],
265
- internalType: "struct Line",
266
- name: "value",
267
- type: "tuple",
268
- },
269
- {
270
- internalType: "uint256",
271
- name: "timestamp",
272
- type: "uint256",
273
- },
274
- ],
275
- internalType: "struct vePendleToken.Checkpoint",
276
- name: "",
277
- type: "tuple",
278
- },
279
- ],
280
- stateMutability: "pure",
281
- type: "function",
282
- },
283
- {
284
- inputs: [
285
- {
286
- internalType: "uint256",
287
- name: "epochId",
288
- type: "uint256",
289
- },
290
- ],
291
- name: "getEpochEndingTimestamp",
292
- outputs: [
293
- {
294
- internalType: "uint256",
295
- name: "",
296
- type: "uint256",
297
- },
298
- ],
299
- stateMutability: "view",
300
- type: "function",
301
- },
302
- {
303
- inputs: [
304
- {
305
- internalType: "uint256",
306
- name: "timestamp",
307
- type: "uint256",
308
- },
309
- ],
310
- name: "getEpochId",
311
- outputs: [
312
- {
313
- internalType: "uint256",
314
- name: "",
315
- type: "uint256",
316
- },
317
- ],
318
- stateMutability: "view",
319
- type: "function",
320
- },
321
- {
322
- inputs: [
323
- {
324
- internalType: "uint256",
325
- name: "epochId",
326
- type: "uint256",
327
- },
328
- ],
329
- name: "getEpochStartingTimestamp",
330
- outputs: [
331
- {
332
- internalType: "uint256",
333
- name: "",
334
- type: "uint256",
335
- },
336
- ],
337
- stateMutability: "view",
338
- type: "function",
339
- },
340
- {
341
- inputs: [
342
- {
343
- internalType: "uint256",
344
- name: "timestamp",
345
- type: "uint256",
346
- },
347
- ],
348
- name: "getSupplyAt",
349
- outputs: [
350
- {
351
- internalType: "uint256",
352
- name: "",
353
- type: "uint256",
354
- },
355
- ],
356
- stateMutability: "view",
357
- type: "function",
358
- },
359
- {
360
- inputs: [
361
- {
362
- internalType: "address",
363
- name: "user",
364
- type: "address",
365
- },
366
- {
367
- internalType: "uint256",
368
- name: "timestamp",
369
- type: "uint256",
370
- },
371
- ],
372
- name: "getUserBalanceAt",
373
- outputs: [
374
- {
375
- internalType: "uint256",
376
- name: "",
377
- type: "uint256",
378
- },
379
- ],
380
- stateMutability: "view",
381
- type: "function",
382
- },
383
- {
384
- inputs: [],
385
- name: "lastEpoch",
386
- outputs: [
387
- {
388
- internalType: "uint256",
389
- name: "",
390
- type: "uint256",
391
- },
392
- ],
393
- stateMutability: "view",
394
- type: "function",
395
- },
396
- {
397
- inputs: [],
398
- name: "messageOrigin",
399
- outputs: [
400
- {
401
- internalType: "address",
402
- name: "addr",
403
- type: "address",
404
- },
405
- {
406
- internalType: "uint64",
407
- name: "chainId",
408
- type: "uint64",
409
- },
410
- ],
411
- stateMutability: "view",
412
- type: "function",
413
- },
414
- {
415
- inputs: [],
416
- name: "owner",
417
- outputs: [
418
- {
419
- internalType: "address",
420
- name: "",
421
- type: "address",
422
- },
423
- ],
424
- stateMutability: "view",
425
- type: "function",
426
- },
427
- {
428
- inputs: [],
429
- name: "pendle",
430
- outputs: [
431
- {
432
- internalType: "contract IERC20",
433
- name: "",
434
- type: "address",
435
- },
436
- ],
437
- stateMutability: "view",
438
- type: "function",
439
- },
440
- {
441
- inputs: [],
442
- name: "renounceOwnership",
443
- outputs: [],
444
- stateMutability: "nonpayable",
445
- type: "function",
446
- },
447
- {
448
- inputs: [
449
- {
450
- internalType: "address",
451
- name: "messageBus",
452
- type: "address",
453
- },
454
- {
455
- internalType: "bool",
456
- name: "state",
457
- type: "bool",
458
- },
459
- ],
460
- name: "setMessageBusWhitelist",
461
- outputs: [],
462
- stateMutability: "nonpayable",
463
- type: "function",
464
- },
465
- {
466
- inputs: [
467
- {
468
- components: [
469
- {
470
- internalType: "address",
471
- name: "addr",
472
- type: "address",
473
- },
474
- {
475
- internalType: "uint64",
476
- name: "chainId",
477
- type: "uint64",
478
- },
479
- ],
480
- internalType: "struct CrosschainReceiver.MessageOrigin",
481
- name: "newMessageOrigin",
482
- type: "tuple",
483
- },
484
- ],
485
- name: "setMessageOrigin",
486
- outputs: [],
487
- stateMutability: "nonpayable",
488
- type: "function",
489
- },
490
- {
491
- inputs: [],
492
- name: "startTime",
493
- outputs: [
494
- {
495
- internalType: "uint256",
496
- name: "",
497
- type: "uint256",
498
- },
499
- ],
500
- stateMutability: "view",
501
- type: "function",
502
- },
503
- {
504
- inputs: [],
505
- name: "supply",
506
- outputs: [
507
- {
508
- internalType: "uint256",
509
- name: "slope",
510
- type: "uint256",
511
- },
512
- {
513
- internalType: "uint256",
514
- name: "bias",
515
- type: "uint256",
516
- },
517
- ],
518
- stateMutability: "view",
519
- type: "function",
520
- },
521
- {
522
- inputs: [
523
- {
524
- internalType: "uint256",
525
- name: "",
526
- type: "uint256",
527
- },
528
- ],
529
- name: "supplyCheckpoints",
530
- outputs: [
531
- {
532
- components: [
533
- {
534
- internalType: "uint256",
535
- name: "slope",
536
- type: "uint256",
537
- },
538
- {
539
- internalType: "uint256",
540
- name: "bias",
541
- type: "uint256",
542
- },
543
- ],
544
- internalType: "struct Line",
545
- name: "value",
546
- type: "tuple",
547
- },
548
- {
549
- internalType: "uint256",
550
- name: "timestamp",
551
- type: "uint256",
552
- },
553
- ],
554
- stateMutability: "view",
555
- type: "function",
556
- },
557
- {
558
- inputs: [],
559
- name: "totalSupply",
560
- outputs: [
561
- {
562
- internalType: "uint256",
563
- name: "",
564
- type: "uint256",
565
- },
566
- ],
567
- stateMutability: "nonpayable",
568
- type: "function",
569
- },
570
- {
571
- inputs: [
572
- {
573
- internalType: "address",
574
- name: "newOwner",
575
- type: "address",
576
- },
577
- ],
578
- name: "transferOwnership",
579
- outputs: [],
580
- stateMutability: "nonpayable",
581
- type: "function",
582
- },
583
- {
584
- inputs: [
585
- {
586
- internalType: "address",
587
- name: "",
588
- type: "address",
589
- },
590
- {
591
- internalType: "uint256",
592
- name: "",
593
- type: "uint256",
594
- },
595
- ],
596
- name: "userCheckpoints",
597
- outputs: [
598
- {
599
- components: [
600
- {
601
- internalType: "uint256",
602
- name: "slope",
603
- type: "uint256",
604
- },
605
- {
606
- internalType: "uint256",
607
- name: "bias",
608
- type: "uint256",
609
- },
610
- ],
611
- internalType: "struct Line",
612
- name: "value",
613
- type: "tuple",
614
- },
615
- {
616
- internalType: "uint256",
617
- name: "timestamp",
618
- type: "uint256",
619
- },
620
- ],
621
- stateMutability: "view",
622
- type: "function",
623
- },
624
- {
625
- inputs: [
626
- {
627
- internalType: "address",
628
- name: "",
629
- type: "address",
630
- },
631
- ],
632
- name: "userLock",
633
- outputs: [
634
- {
635
- internalType: "uint256",
636
- name: "slope",
637
- type: "uint256",
638
- },
639
- {
640
- internalType: "uint256",
641
- name: "bias",
642
- type: "uint256",
643
- },
644
- ],
645
- stateMutability: "view",
646
- type: "function",
647
- },
648
- {
649
- inputs: [
650
- {
651
- internalType: "address",
652
- name: "",
653
- type: "address",
654
- },
655
- ],
656
- name: "whitelistedMessageBus",
657
- outputs: [
658
- {
659
- internalType: "bool",
660
- name: "",
661
- type: "bool",
662
- },
663
- ],
664
- stateMutability: "view",
665
- type: "function",
666
- },
667
- ];
668
-
669
- const _bytecode =
670
- "0x60c060405234801561001057600080fd5b5060405161196538038061196583398101604081905261002f916100a1565b608081905261003d3361004f565b506001600160a01b031660a0526100db565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600080604083850312156100b457600080fd5b82516001600160a01b03811681146100cb57600080fd5b6020939093015192949293505050565b60805160a05161185061011560003960006105830152600081816105110152818161087601528181610931015261099c01526118506000f3fe6080604052600436106101cd5760003560e01c80635617a6e8116100f7578063a2c530da11610095578063e7b58bdd11610064578063e7b58bdd146105fc578063ee1c2dcb14610640578063f2fde38b14610660578063f7412baf1461068057600080fd5b8063a2c530da14610571578063a70b9f0c146105a5578063ac637c7a146105bc578063b48a9634146105dc57600080fd5b8063715018a6116100d1578063715018a6146104ea57806378e97925146104ff57806382c8ab53146105335780638da5cb5b1461055357600080fd5b80635617a6e814610460578063605d47291461049457806370a08231146104ca57600080fd5b806327c8e9b61161016f5780634b31197e1161013e5780634b31197e146103e95780635303548b1461040b578063532051ca1461042b578063538ba4f91461044b57600080fd5b806327c8e9b61461032157806336d5a7e3146103415780633b1623fe1461036e57806343a3a397146103c957600080fd5b80631599d265116101ab5780631599d2651461026b578063176bca561461028e57806318160ddd146102be5780632222ef9f146102d357600080fd5b8063047fc9aa146101d257806306a4c98314610207578063094383201461022b575b600080fd5b3480156101de57600080fd5b506001546002546101ed919082565b604080519283526020830191909152015b60405180910390f35b34801561021357600080fd5b5061021d60035481565b6040519081526020016101fe565b34801561023757600080fd5b5061024b6102463660046113f0565b6106a0565b6040805183518152602093840151938101939093528201526060016101fe565b61027e610279366004611432565b6106f5565b60405190151581526020016101fe565b34801561029a57600080fd5b5061027e6102a93660046114c4565b600b6020526000908152604090205460ff1681565b3480156102ca57600080fd5b5061021d6107e4565b3480156102df57600080fd5b506103096102ee3660046114c4565b6007602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101fe565b34801561032d57600080fd5b5061021d61033c3660046114e1565b610813565b34801561034d57600080fd5b5061021d61035c3660046114e1565b60046020526000908152604090205481565b34801561037a57600080fd5b50600a546103a1906001600160a01b03811690600160a01b900467ffffffffffffffff1682565b604080516001600160a01b03909316835267ffffffffffffffff9091166020830152016101fe565b3480156103d557600080fd5b5061021d6103e43660046114e1565b6108a0565b3480156103f557600080fd5b506104096104043660046114fa565b6108f1565b005b34801561041757600080fd5b5061021d6104263660046114e1565b61092d565b34801561043757600080fd5b5061021d6104463660046113f0565b6109d6565b34801561045757600080fd5b50610309600081565b34801561046c57600080fd5b506101ed61047b3660046114c4565b6000602081905290815260409020805460019091015482565b3480156104a057600080fd5b506103096104af3660046114c4565b6008602052600090815260409020546001600160a01b031681565b3480156104d657600080fd5b5061021d6104e53660046114c4565b610a8b565b3480156104f657600080fd5b50610409610b52565b34801561050b57600080fd5b5061021d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561053f57600080fd5b5061021d61054e3660046114e1565b610b88565b34801561055f57600080fd5b506009546001600160a01b0316610309565b34801561057d57600080fd5b506103097f000000000000000000000000000000000000000000000000000000000000000081565b3480156105b157600080fd5b5061021d62093a8081565b3480156105c857600080fd5b506104096105d73660046114c4565b610c85565b3480156105e857600080fd5b506104096105f73660046114c4565b610d2a565b34801561060857600080fd5b5061061c610617366004611582565b610d7f565b604080518251805182526020908101518183015290920151908201526060016101fe565b34801561064c57600080fd5b5061040961065b366004611674565b610e95565b34801561066c57600080fd5b5061040961067b3660046114c4565b610eea565b34801561068c57600080fd5b5061024b61069b3660046114e1565b610f85565b600660205281600052604060002081815481106106bc57600080fd5b60009182526020918290206040805180820190915260039092020180548252600181015492820192909252600290910154909250905082565b336000908152600b602052604081205460ff166107595760405162461bcd60e51b815260206004820152601b60248201527f4e4f545f57484954454c49535445445f4d4553534147455f425553000000000060448201526064015b60405180910390fd5b600a546001600160a01b03868116911614158061078c5750600a5467ffffffffffffffff858116600160a01b9092041614155b15610799575060006107dc565b6107d883838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610fcc92505050565b5060015b949350505050565b60006107ee61100f565b604080518082019091526001548152600254602082015261080e906110bf565b905090565b60008082116108575760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d15413d0d217d25160821b6044820152606401610750565b62093a806108666001846116c8565b61087091906116df565b61089a907f00000000000000000000000000000000000000000000000000000000000000006116fe565b92915050565b60008082116108e45760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d15413d0d217d25160821b6044820152606401610750565b61087062093a80836116df565b6009546001600160a01b0316331461091b5760405162461bcd60e51b815260040161075090611716565b80600a610928828261174b565b505050565b60007f00000000000000000000000000000000000000000000000000000000000000008210156109935760405162461bcd60e51b81526020600482015260116024820152700494e56414c49445f54494d455354414d5607c1b6044820152606401610750565b62093a806109c17f0000000000000000000000000000000000000000000000000000000000000000846116c8565b6109cb91906117ab565b61089a9060016116fe565b6000610a8482610a7d60066000876001600160a01b03166001600160a01b03168152602001908152602001600020805480602002602001604051908101604052809291908181526020016000905b82821015610a7357600084815260209081902060408051608081018252600386029092018054918301918252600180820154606085015291835260020154828401529083529092019101610a24565b5050505085610d7f565b51906110c7565b9392505050565b6001600160a01b0381811660009081526007602052604081205490911615610af3576001600160a01b03808316600090815260076020908152604080832054909316825281815290829020825180840190935280548352600101549082015261089a906110bf565b6001600160a01b038281166000908152600860205260409020541615610b1b57506000919050565b6001600160a01b03821660009081526020818152604091829020825180840190935280548352600101549082015261089a906110bf565b6009546001600160a01b03163314610b7c5760405162461bcd60e51b815260040161075090611716565b610b8660006110fd565b565b600080610c096005805480602002602001604051908101604052809291908181526020016000905b82821015610bff57600084815260209081902060408051608081018252600386029092018054918301918252600180820154606085015291835260020154828401529083529092019101610bb0565b5050505084610d7f565b90506000610c1d6103e4836020015161092d565b90505b83811015610c785760008181526004602090815260409182902054825180840190935280835291610c61918101610c5785856116df565b905284519061114f565b835250610c7162093a80826116fe565b9050610c20565b508051610a8490846110c7565b6001600160a01b038082166000908152600860205260409020543391168015801590610ccd57506001600160a01b038181166000908152600760205260409020548116908316145b15610cf9576001600160a01b038116600090815260076020526040902080546001600160a01b03191690555b506001600160a01b0390811660009081526008602052604090208054919092166001600160a01b0319909116179055565b6001600160a01b03818116600090815260086020526040902054163314610d5057600080fd5b33600090815260076020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b604080516080810182526000918101828152606082018390528152602081019190915282511580610dcd57508183600081518110610dbf57610dbf6117cd565b602002602001015160200151115b15610dfb5750604080516080810182526000918101828152606082018390528152602081019190915261089a565b60008060018551610e0c91906116c8565b90505b80821015610e715760006002610e2583856116fe565b610e2f91906117ab565b905084868281518110610e4457610e446117cd565b60200260200101516020015111610e5d57809250610e6b565b610e686001826116c8565b91505b50610e0f565b848281518110610e8357610e836117cd565b60200260200101519250505092915050565b6009546001600160a01b03163314610ebf5760405162461bcd60e51b815260040161075090611716565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b6009546001600160a01b03163314610f145760405162461bcd60e51b815260040161075090611716565b6001600160a01b038116610f795760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610750565b610f82816110fd565b50565b60058181548110610f9557600080fd5b6000918252602091829020604080518082019091526003909202018054825260018101549282019290925260029091015490915082565b600080600083806020019051810190610fe591906117e3565b92509250925061100983604051806040016040528085815260200184815250611192565b50505050565b600061102360035460016103e491906116fe565b9050805b428110156110bb576000818152600460209081526040918290205482518084019093528083529161107d91810161105e85856116df565b905260408051808201909152600154815260025460208201529061114f565b805160019081556020909101516002556003805460009061109f9084906116fe565b909155506110b4915062093a809050826116fe565b9050611027565b5050565b600061089a82425b81516000906110d79083906116df565b83602001511061089a5782516110ee9083906116df565b8360200151610a8491906116c8565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051808201909152600080825260208201528151835161117191906116c8565b81526020808301519084015161118791906116c8565b602082015292915050565b61119a61100f565b6001600160a01b0382166000908152602081815260408083208151808301909252805480835260019091015492820192909252916004906111da84611390565b815260200190815260200160002060008282546111f791906116c8565b909155505081516004600061120b85611390565b8152602001908152602001600020600082825461122891906116fe565b90915550506001600160a01b03831660009081526020818152604091829020845181558185015160019182015582518084019093525482526002549082015261127d908390611277908461114f565b906113a3565b8051600190815560209182015160029081556001600160a01b03959095166000908152600683526040808220815180830183529687524287860181815282548087018455928552868520985180516003948502909a01998a55870151898701555197890197909755815160808101835284549281019283529754606089015290875286840195865260058054938401815590915294518051919095027f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db08101919091559301517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db184015550517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db290910155565b8051602082015160009161089a916117ab565b6040805180820190915260008082526020820152815183516113c591906116fe565b81526020808301519084015161118791906116fe565b6001600160a01b0381168114610f8257600080fd5b6000806040838503121561140357600080fd5b823561140e816113db565b946020939093013593505050565b67ffffffffffffffff81168114610f8257600080fd5b6000806000806060858703121561144857600080fd5b8435611453816113db565b935060208501356114638161141c565b9250604085013567ffffffffffffffff8082111561148057600080fd5b818701915087601f83011261149457600080fd5b8135818111156114a357600080fd5b8860208285010111156114b557600080fd5b95989497505060200194505050565b6000602082840312156114d657600080fd5b8135610a84816113db565b6000602082840312156114f357600080fd5b5035919050565b60006040828403121561150c57600080fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff8111828210171561154b5761154b611512565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561157a5761157a611512565b604052919050565b600080604080848603121561159657600080fd5b833567ffffffffffffffff808211156115ae57600080fd5b818601915086601f8301126115c257600080fd5b81356020828211156115d6576115d6611512565b6115e4818360051b01611551565b8281528181019350606092830285018201928a84111561160357600080fd5b948201945b8386101561166557858b03818112156116215760008081fd5b611629611528565b888212156116375760008081fd5b61163f611528565b883581528589013586820152815288880135818601528652509485019493820193611608565b50999701359750505050505050565b6000806040838503121561168757600080fd5b8235611692816113db565b9150602083013580151581146116a757600080fd5b809150509250929050565b634e487b7160e01b600052601160045260246000fd5b6000828210156116da576116da6116b2565b500390565b60008160001904831182151516156116f9576116f96116b2565b500290565b60008219821115611711576117116116b2565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8135611756816113db565b81546001600160a01b031981166001600160a01b0392909216918217835560208401356117828161141c565b6001600160e01b03199190911690911760a09190911b67ffffffffffffffff60a01b1617905550565b6000826117c857634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b6000806000606084860312156117f857600080fd5b8351611803816113db565b60208501516040909501519096949550939250505056fea2646970667358221220f1f9cdfaeeb74942f2c596ea95d754bd8cda767e93479ac350881d9e59a77e8164736f6c63430008090033";
671
-
672
- type VePendleCrosschainConstructorParams =
673
- | [signer?: Signer]
674
- | ConstructorParameters<typeof ContractFactory>;
675
-
676
- const isSuperArgs = (
677
- xs: VePendleCrosschainConstructorParams
678
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
679
-
680
- export class VePendleCrosschain__factory extends ContractFactory {
681
- constructor(...args: VePendleCrosschainConstructorParams) {
682
- if (isSuperArgs(args)) {
683
- super(...args);
684
- } else {
685
- super(_abi, _bytecode, args[0]);
686
- }
687
- this.contractName = "VePendleCrosschain";
688
- }
689
-
690
- deploy(
691
- _pendle: string,
692
- _startTime: BigNumberish,
693
- overrides?: Overrides & { from?: string | Promise<string> }
694
- ): Promise<VePendleCrosschain> {
695
- return super.deploy(
696
- _pendle,
697
- _startTime,
698
- overrides || {}
699
- ) as Promise<VePendleCrosschain>;
700
- }
701
- getDeployTransaction(
702
- _pendle: string,
703
- _startTime: BigNumberish,
704
- overrides?: Overrides & { from?: string | Promise<string> }
705
- ): TransactionRequest {
706
- return super.getDeployTransaction(_pendle, _startTime, overrides || {});
707
- }
708
- attach(address: string): VePendleCrosschain {
709
- return super.attach(address) as VePendleCrosschain;
710
- }
711
- connect(signer: Signer): VePendleCrosschain__factory {
712
- return super.connect(signer) as VePendleCrosschain__factory;
713
- }
714
- static readonly contractName: "VePendleCrosschain";
715
- public readonly contractName: "VePendleCrosschain";
716
- static readonly bytecode = _bytecode;
717
- static readonly abi = _abi;
718
- static createInterface(): VePendleCrosschainInterface {
719
- return new utils.Interface(_abi) as VePendleCrosschainInterface;
720
- }
721
- static connect(
722
- address: string,
723
- signerOrProvider: Signer | Provider
724
- ): VePendleCrosschain {
725
- return new Contract(address, _abi, signerOrProvider) as VePendleCrosschain;
726
- }
727
- }