@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,422 +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
- ERC20PresetFixedSupply,
15
- ERC20PresetFixedSupplyInterface,
16
- } from "../ERC20PresetFixedSupply";
17
-
18
- const _abi = [
19
- {
20
- inputs: [
21
- {
22
- internalType: "string",
23
- name: "name",
24
- type: "string",
25
- },
26
- {
27
- internalType: "string",
28
- name: "symbol",
29
- type: "string",
30
- },
31
- {
32
- internalType: "uint256",
33
- name: "initialSupply",
34
- type: "uint256",
35
- },
36
- {
37
- internalType: "address",
38
- name: "owner",
39
- type: "address",
40
- },
41
- ],
42
- stateMutability: "nonpayable",
43
- type: "constructor",
44
- },
45
- {
46
- anonymous: false,
47
- inputs: [
48
- {
49
- indexed: true,
50
- internalType: "address",
51
- name: "owner",
52
- type: "address",
53
- },
54
- {
55
- indexed: true,
56
- internalType: "address",
57
- name: "spender",
58
- type: "address",
59
- },
60
- {
61
- indexed: false,
62
- internalType: "uint256",
63
- name: "value",
64
- type: "uint256",
65
- },
66
- ],
67
- name: "Approval",
68
- type: "event",
69
- },
70
- {
71
- anonymous: false,
72
- inputs: [
73
- {
74
- indexed: true,
75
- internalType: "address",
76
- name: "from",
77
- type: "address",
78
- },
79
- {
80
- indexed: true,
81
- internalType: "address",
82
- name: "to",
83
- type: "address",
84
- },
85
- {
86
- indexed: false,
87
- internalType: "uint256",
88
- name: "value",
89
- type: "uint256",
90
- },
91
- ],
92
- name: "Transfer",
93
- type: "event",
94
- },
95
- {
96
- inputs: [
97
- {
98
- internalType: "address",
99
- name: "owner",
100
- type: "address",
101
- },
102
- {
103
- internalType: "address",
104
- name: "spender",
105
- type: "address",
106
- },
107
- ],
108
- name: "allowance",
109
- outputs: [
110
- {
111
- internalType: "uint256",
112
- name: "",
113
- type: "uint256",
114
- },
115
- ],
116
- stateMutability: "view",
117
- type: "function",
118
- },
119
- {
120
- inputs: [
121
- {
122
- internalType: "address",
123
- name: "spender",
124
- type: "address",
125
- },
126
- {
127
- internalType: "uint256",
128
- name: "amount",
129
- type: "uint256",
130
- },
131
- ],
132
- name: "approve",
133
- outputs: [
134
- {
135
- internalType: "bool",
136
- name: "",
137
- type: "bool",
138
- },
139
- ],
140
- stateMutability: "nonpayable",
141
- type: "function",
142
- },
143
- {
144
- inputs: [
145
- {
146
- internalType: "address",
147
- name: "account",
148
- type: "address",
149
- },
150
- ],
151
- name: "balanceOf",
152
- outputs: [
153
- {
154
- internalType: "uint256",
155
- name: "",
156
- type: "uint256",
157
- },
158
- ],
159
- stateMutability: "view",
160
- type: "function",
161
- },
162
- {
163
- inputs: [
164
- {
165
- internalType: "uint256",
166
- name: "amount",
167
- type: "uint256",
168
- },
169
- ],
170
- name: "burn",
171
- outputs: [],
172
- stateMutability: "nonpayable",
173
- type: "function",
174
- },
175
- {
176
- inputs: [
177
- {
178
- internalType: "address",
179
- name: "account",
180
- type: "address",
181
- },
182
- {
183
- internalType: "uint256",
184
- name: "amount",
185
- type: "uint256",
186
- },
187
- ],
188
- name: "burnFrom",
189
- outputs: [],
190
- stateMutability: "nonpayable",
191
- type: "function",
192
- },
193
- {
194
- inputs: [],
195
- name: "decimals",
196
- outputs: [
197
- {
198
- internalType: "uint8",
199
- name: "",
200
- type: "uint8",
201
- },
202
- ],
203
- stateMutability: "view",
204
- type: "function",
205
- },
206
- {
207
- inputs: [
208
- {
209
- internalType: "address",
210
- name: "spender",
211
- type: "address",
212
- },
213
- {
214
- internalType: "uint256",
215
- name: "subtractedValue",
216
- type: "uint256",
217
- },
218
- ],
219
- name: "decreaseAllowance",
220
- outputs: [
221
- {
222
- internalType: "bool",
223
- name: "",
224
- type: "bool",
225
- },
226
- ],
227
- stateMutability: "nonpayable",
228
- type: "function",
229
- },
230
- {
231
- inputs: [
232
- {
233
- internalType: "address",
234
- name: "spender",
235
- type: "address",
236
- },
237
- {
238
- internalType: "uint256",
239
- name: "addedValue",
240
- type: "uint256",
241
- },
242
- ],
243
- name: "increaseAllowance",
244
- outputs: [
245
- {
246
- internalType: "bool",
247
- name: "",
248
- type: "bool",
249
- },
250
- ],
251
- stateMutability: "nonpayable",
252
- type: "function",
253
- },
254
- {
255
- inputs: [],
256
- name: "name",
257
- outputs: [
258
- {
259
- internalType: "string",
260
- name: "",
261
- type: "string",
262
- },
263
- ],
264
- stateMutability: "view",
265
- type: "function",
266
- },
267
- {
268
- inputs: [],
269
- name: "symbol",
270
- outputs: [
271
- {
272
- internalType: "string",
273
- name: "",
274
- type: "string",
275
- },
276
- ],
277
- stateMutability: "view",
278
- type: "function",
279
- },
280
- {
281
- inputs: [],
282
- name: "totalSupply",
283
- outputs: [
284
- {
285
- internalType: "uint256",
286
- name: "",
287
- type: "uint256",
288
- },
289
- ],
290
- stateMutability: "view",
291
- type: "function",
292
- },
293
- {
294
- inputs: [
295
- {
296
- internalType: "address",
297
- name: "to",
298
- type: "address",
299
- },
300
- {
301
- internalType: "uint256",
302
- name: "amount",
303
- type: "uint256",
304
- },
305
- ],
306
- name: "transfer",
307
- outputs: [
308
- {
309
- internalType: "bool",
310
- name: "",
311
- type: "bool",
312
- },
313
- ],
314
- stateMutability: "nonpayable",
315
- type: "function",
316
- },
317
- {
318
- inputs: [
319
- {
320
- internalType: "address",
321
- name: "from",
322
- type: "address",
323
- },
324
- {
325
- internalType: "address",
326
- name: "to",
327
- type: "address",
328
- },
329
- {
330
- internalType: "uint256",
331
- name: "amount",
332
- type: "uint256",
333
- },
334
- ],
335
- name: "transferFrom",
336
- outputs: [
337
- {
338
- internalType: "bool",
339
- name: "",
340
- type: "bool",
341
- },
342
- ],
343
- stateMutability: "nonpayable",
344
- type: "function",
345
- },
346
- ];
347
-
348
- const _bytecode =
349
- "0x60806040523480156200001157600080fd5b5060405162000ea738038062000ea78339810160408190526200003491620002dd565b8351849084906200004d9060039060208501906200016a565b508051620000639060049060208401906200016a565b5050506200007881836200008260201b60201c565b50505050620003d6565b6001600160a01b038216620000dd5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620000f1919062000372565b90915550506001600160a01b038216600090815260208190526040812080548392906200012090849062000372565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b828054620001789062000399565b90600052602060002090601f0160209004810192826200019c5760008555620001e7565b82601f10620001b757805160ff1916838001178555620001e7565b82800160010185558215620001e7579182015b82811115620001e7578251825591602001919060010190620001ca565b50620001f5929150620001f9565b5090565b5b80821115620001f55760008155600101620001fa565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200023857600080fd5b81516001600160401b038082111562000255576200025562000210565b604051601f8301601f19908116603f0116810190828211818310171562000280576200028062000210565b816040528381526020925086838588010111156200029d57600080fd5b600091505b83821015620002c15785820183015181830184015290820190620002a2565b83821115620002d35760008385830101525b9695505050505050565b60008060008060808587031215620002f457600080fd5b84516001600160401b03808211156200030c57600080fd5b6200031a8883890162000226565b955060208701519150808211156200033157600080fd5b50620003408782880162000226565b60408701516060880151919550935090506001600160a01b03811681146200036757600080fd5b939692955090935050565b600082198211156200039457634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620003ae57607f821691505b60208210811415620003d057634e487b7160e01b600052602260045260246000fd5b50919050565b610ac180620003e66000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806342966c681161008c57806395d89b411161006657806395d89b41146101ad578063a457c2d7146101b5578063a9059cbb146101c8578063dd62ed3e146101db57600080fd5b806342966c681461015c57806370a082311461017157806379cc67901461019a57600080fd5b806306fdde03146100d4578063095ea7b3146100f257806318160ddd1461011557806323b872dd14610127578063313ce5671461013a5780633950935114610149575b600080fd5b6100dc610214565b6040516100e991906108c6565b60405180910390f35b610105610100366004610937565b6102a6565b60405190151581526020016100e9565b6002545b6040519081526020016100e9565b610105610135366004610961565b6102be565b604051601281526020016100e9565b610105610157366004610937565b6102e2565b61016f61016a36600461099d565b610321565b005b61011961017f3660046109b6565b6001600160a01b031660009081526020819052604090205490565b61016f6101a8366004610937565b61032e565b6100dc610347565b6101056101c3366004610937565b610356565b6101056101d6366004610937565b6103ed565b6101196101e93660046109d8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606003805461022390610a0b565b80601f016020809104026020016040519081016040528092919081815260200182805461024f90610a0b565b801561029c5780601f106102715761010080835404028352916020019161029c565b820191906000526020600020905b81548152906001019060200180831161027f57829003601f168201915b5050505050905090565b6000336102b48185856103fb565b5060019392505050565b6000336102cc858285610520565b6102d78585856105b2565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906102b4908290869061031c908790610a5c565b6103fb565b61032b3382610780565b50565b610339823383610520565b6103438282610780565b5050565b60606004805461022390610a0b565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156103e05760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b6102d782868684036103fb565b6000336102b48185856105b2565b6001600160a01b03831661045d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103d7565b6001600160a01b0382166104be5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103d7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146105ac578181101561059f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103d7565b6105ac84848484036103fb565b50505050565b6001600160a01b0383166106165760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103d7565b6001600160a01b0382166106785760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103d7565b6001600160a01b038316600090815260208190526040902054818110156106f05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103d7565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610727908490610a5c565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161077391815260200190565b60405180910390a36105ac565b6001600160a01b0382166107e05760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016103d7565b6001600160a01b038216600090815260208190526040902054818110156108545760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016103d7565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610883908490610a74565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610513565b600060208083528351808285015260005b818110156108f3578581018301518582016040015282016108d7565b81811115610905576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461093257600080fd5b919050565b6000806040838503121561094a57600080fd5b6109538361091b565b946020939093013593505050565b60008060006060848603121561097657600080fd5b61097f8461091b565b925061098d6020850161091b565b9150604084013590509250925092565b6000602082840312156109af57600080fd5b5035919050565b6000602082840312156109c857600080fd5b6109d18261091b565b9392505050565b600080604083850312156109eb57600080fd5b6109f48361091b565b9150610a026020840161091b565b90509250929050565b600181811c90821680610a1f57607f821691505b60208210811415610a4057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610a6f57610a6f610a46565b500190565b600082821015610a8657610a86610a46565b50039056fea2646970667358221220b0921898bffe37c1e4b1447f73325dab532e1ce17e7bc67f56460dda9be48fbf64736f6c63430008090033";
350
-
351
- type ERC20PresetFixedSupplyConstructorParams =
352
- | [signer?: Signer]
353
- | ConstructorParameters<typeof ContractFactory>;
354
-
355
- const isSuperArgs = (
356
- xs: ERC20PresetFixedSupplyConstructorParams
357
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
358
-
359
- export class ERC20PresetFixedSupply__factory extends ContractFactory {
360
- constructor(...args: ERC20PresetFixedSupplyConstructorParams) {
361
- if (isSuperArgs(args)) {
362
- super(...args);
363
- } else {
364
- super(_abi, _bytecode, args[0]);
365
- }
366
- this.contractName = "ERC20PresetFixedSupply";
367
- }
368
-
369
- deploy(
370
- name: string,
371
- symbol: string,
372
- initialSupply: BigNumberish,
373
- owner: string,
374
- overrides?: Overrides & { from?: string | Promise<string> }
375
- ): Promise<ERC20PresetFixedSupply> {
376
- return super.deploy(
377
- name,
378
- symbol,
379
- initialSupply,
380
- owner,
381
- overrides || {}
382
- ) as Promise<ERC20PresetFixedSupply>;
383
- }
384
- getDeployTransaction(
385
- name: string,
386
- symbol: string,
387
- initialSupply: BigNumberish,
388
- owner: string,
389
- overrides?: Overrides & { from?: string | Promise<string> }
390
- ): TransactionRequest {
391
- return super.getDeployTransaction(
392
- name,
393
- symbol,
394
- initialSupply,
395
- owner,
396
- overrides || {}
397
- );
398
- }
399
- attach(address: string): ERC20PresetFixedSupply {
400
- return super.attach(address) as ERC20PresetFixedSupply;
401
- }
402
- connect(signer: Signer): ERC20PresetFixedSupply__factory {
403
- return super.connect(signer) as ERC20PresetFixedSupply__factory;
404
- }
405
- static readonly contractName: "ERC20PresetFixedSupply";
406
- public readonly contractName: "ERC20PresetFixedSupply";
407
- static readonly bytecode = _bytecode;
408
- static readonly abi = _abi;
409
- static createInterface(): ERC20PresetFixedSupplyInterface {
410
- return new utils.Interface(_abi) as ERC20PresetFixedSupplyInterface;
411
- }
412
- static connect(
413
- address: string,
414
- signerOrProvider: Signer | Provider
415
- ): ERC20PresetFixedSupply {
416
- return new Contract(
417
- address,
418
- _abi,
419
- signerOrProvider
420
- ) as ERC20PresetFixedSupply;
421
- }
422
- }
@@ -1,170 +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
- EpochController,
15
- EpochControllerInterface,
16
- } from "../EpochController";
17
-
18
- const _abi = [
19
- {
20
- inputs: [
21
- {
22
- internalType: "uint256",
23
- name: "_startTime",
24
- type: "uint256",
25
- },
26
- ],
27
- stateMutability: "nonpayable",
28
- type: "constructor",
29
- },
30
- {
31
- inputs: [],
32
- name: "EPOCH_DURATION",
33
- outputs: [
34
- {
35
- internalType: "uint256",
36
- name: "",
37
- type: "uint256",
38
- },
39
- ],
40
- stateMutability: "view",
41
- type: "function",
42
- },
43
- {
44
- inputs: [
45
- {
46
- internalType: "uint256",
47
- name: "epochId",
48
- type: "uint256",
49
- },
50
- ],
51
- name: "getEpochEndingTimestamp",
52
- outputs: [
53
- {
54
- internalType: "uint256",
55
- name: "",
56
- type: "uint256",
57
- },
58
- ],
59
- stateMutability: "view",
60
- type: "function",
61
- },
62
- {
63
- inputs: [
64
- {
65
- internalType: "uint256",
66
- name: "timestamp",
67
- type: "uint256",
68
- },
69
- ],
70
- name: "getEpochId",
71
- outputs: [
72
- {
73
- internalType: "uint256",
74
- name: "",
75
- type: "uint256",
76
- },
77
- ],
78
- stateMutability: "view",
79
- type: "function",
80
- },
81
- {
82
- inputs: [
83
- {
84
- internalType: "uint256",
85
- name: "epochId",
86
- type: "uint256",
87
- },
88
- ],
89
- name: "getEpochStartingTimestamp",
90
- outputs: [
91
- {
92
- internalType: "uint256",
93
- name: "",
94
- type: "uint256",
95
- },
96
- ],
97
- stateMutability: "view",
98
- type: "function",
99
- },
100
- {
101
- inputs: [],
102
- name: "startTime",
103
- outputs: [
104
- {
105
- internalType: "uint256",
106
- name: "",
107
- type: "uint256",
108
- },
109
- ],
110
- stateMutability: "view",
111
- type: "function",
112
- },
113
- ];
114
-
115
- const _bytecode =
116
- "0x60a060405234801561001057600080fd5b506040516103b83803806103b883398101604081905261002f91610037565b608052610050565b60006020828403121561004957600080fd5b5051919050565b60805161033961007f6000396000818160ac01528181610140015281816101bf015261022a01526103396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806327c8e9b61461005c57806343a3a397146100815780635303548b1461009457806378e97925146100a7578063a70b9f0c146100ce575b600080fd5b61006f61006a366004610264565b6100d8565b60405190815260200160405180910390f35b61006f61008f366004610264565b61016a565b61006f6100a2366004610264565b6101bb565b61006f7f000000000000000000000000000000000000000000000000000000000000000081565b61006f62093a8081565b60008082116101215760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d15413d0d217d25160821b60448201526064015b60405180910390fd5b62093a80610130600184610293565b61013a91906102aa565b610164907f00000000000000000000000000000000000000000000000000000000000000006102c9565b92915050565b60008082116101ae5760405162461bcd60e51b815260206004820152601060248201526f1253959053125117d15413d0d217d25160821b6044820152606401610118565b61013a62093a80836102aa565b60007f00000000000000000000000000000000000000000000000000000000000000008210156102215760405162461bcd60e51b81526020600482015260116024820152700494e56414c49445f54494d455354414d5607c1b6044820152606401610118565b62093a8061024f7f000000000000000000000000000000000000000000000000000000000000000084610293565b61025991906102e1565b6101649060016102c9565b60006020828403121561027657600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156102a5576102a561027d565b500390565b60008160001904831182151516156102c4576102c461027d565b500290565b600082198211156102dc576102dc61027d565b500190565b6000826102fe57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212203a8c85134b3cfc5c83332ed4707d12864d7cf7d9bc05bd5f307b8d30e0cf1b4f64736f6c63430008090033";
117
-
118
- type EpochControllerConstructorParams =
119
- | [signer?: Signer]
120
- | ConstructorParameters<typeof ContractFactory>;
121
-
122
- const isSuperArgs = (
123
- xs: EpochControllerConstructorParams
124
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
125
-
126
- export class EpochController__factory extends ContractFactory {
127
- constructor(...args: EpochControllerConstructorParams) {
128
- if (isSuperArgs(args)) {
129
- super(...args);
130
- } else {
131
- super(_abi, _bytecode, args[0]);
132
- }
133
- this.contractName = "EpochController";
134
- }
135
-
136
- deploy(
137
- _startTime: BigNumberish,
138
- overrides?: Overrides & { from?: string | Promise<string> }
139
- ): Promise<EpochController> {
140
- return super.deploy(
141
- _startTime,
142
- overrides || {}
143
- ) as Promise<EpochController>;
144
- }
145
- getDeployTransaction(
146
- _startTime: BigNumberish,
147
- overrides?: Overrides & { from?: string | Promise<string> }
148
- ): TransactionRequest {
149
- return super.getDeployTransaction(_startTime, overrides || {});
150
- }
151
- attach(address: string): EpochController {
152
- return super.attach(address) as EpochController;
153
- }
154
- connect(signer: Signer): EpochController__factory {
155
- return super.connect(signer) as EpochController__factory;
156
- }
157
- static readonly contractName: "EpochController";
158
- public readonly contractName: "EpochController";
159
- static readonly bytecode = _bytecode;
160
- static readonly abi = _abi;
161
- static createInterface(): EpochControllerInterface {
162
- return new utils.Interface(_abi) as EpochControllerInterface;
163
- }
164
- static connect(
165
- address: string,
166
- signerOrProvider: Signer | Provider
167
- ): EpochController {
168
- return new Contract(address, _abi, signerOrProvider) as EpochController;
169
- }
170
- }