@pendle/core-v2 0.6.3 → 0.6.5

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 (434) hide show
  1. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.dbg.json +4 -0
  2. package/build/artifacts/contracts/SuperComposableYield/ISuperComposableYield.sol/ISuperComposableYield.json +482 -0
  3. package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.dbg.json +4 -0
  4. package/build/artifacts/contracts/SuperComposableYield/SCYUtils.sol/SCYUtils.json +10 -0
  5. package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.dbg.json +4 -0
  6. package/build/artifacts/contracts/SuperComposableYield/implementations/IRewardManager.sol/IRewardManager.json +77 -0
  7. package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.dbg.json +4 -0
  8. package/build/artifacts/contracts/SuperComposableYield/implementations/RewardManager.sol/RewardManager.json +90 -0
  9. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.dbg.json +4 -0
  10. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBase.sol/SCYBase.json +543 -0
  11. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.dbg.json +4 -0
  12. package/build/artifacts/contracts/SuperComposableYield/implementations/SCYBaseWithRewards.sol/SCYBaseWithRewards.json +628 -0
  13. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.dbg.json +4 -0
  14. package/build/artifacts/contracts/core/PendleBaseToken.sol/PendleBaseToken.json +333 -0
  15. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.dbg.json +4 -0
  16. package/build/artifacts/contracts/core/PendleMarket.sol/PendleMarket.json +837 -0
  17. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.dbg.json +4 -0
  18. package/build/artifacts/contracts/core/PendleMarketFactory.sol/PendleMarketFactory.json +239 -0
  19. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.dbg.json +4 -0
  20. package/build/artifacts/contracts/core/PendleOwnershipToken.sol/PendleOwnershipToken.json +439 -0
  21. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.dbg.json +4 -0
  22. package/build/artifacts/contracts/core/PendleRouter.sol/PendleRouter.json +230 -0
  23. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.dbg.json +4 -0
  24. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/PendleAaveV3SCY.sol/PendleAaveV3SCY.json +765 -0
  25. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.dbg.json +4 -0
  26. package/build/artifacts/contracts/core/PendleSCYImpl/AaveV3/WadRayMath.sol/WadRayMath.json +10 -0
  27. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.dbg.json +4 -0
  28. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBenQiErc20SCY.sol/PendleBenQiErc20SCY.json +761 -0
  29. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.dbg.json +4 -0
  30. package/build/artifacts/contracts/core/PendleSCYImpl/PendleBtrflySCY.sol/PendleBtrflyScy.json +636 -0
  31. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.dbg.json +4 -0
  32. package/build/artifacts/contracts/core/PendleSCYImpl/PendleStETHSCY.sol/PendleStEthSCY.json +618 -0
  33. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.dbg.json +4 -0
  34. package/build/artifacts/contracts/core/PendleSCYImpl/PendleYearnVaultSCY.sol/PendleYearnVaultScy.json +618 -0
  35. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.dbg.json +4 -0
  36. package/build/artifacts/contracts/core/PendleYieldContractFactory.sol/PendleYieldContractFactory.json +339 -0
  37. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.dbg.json +4 -0
  38. package/build/artifacts/contracts/core/PendleYieldToken.sol/PendleYieldToken.json +808 -0
  39. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.dbg.json +4 -0
  40. package/build/artifacts/contracts/core/RouterStatic.sol/RouterStatic.json +246 -0
  41. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.dbg.json +4 -0
  42. package/build/artifacts/contracts/core/actions/ActionCallback.sol/ActionCallback.json +58 -0
  43. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.dbg.json +4 -0
  44. package/build/artifacts/contracts/core/actions/ActionCore.sol/ActionCore.json +714 -0
  45. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.dbg.json +4 -0
  46. package/build/artifacts/contracts/core/actions/ActionRedeem.sol/PendleRouterRedeemUpg.json +55 -0
  47. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.dbg.json +4 -0
  48. package/build/artifacts/contracts/core/actions/ActionYT.sol/ActionYT.json +485 -0
  49. package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.dbg.json +4 -0
  50. package/build/artifacts/contracts/core/actions/base/ActionSCYAndOTBase.sol/ActionSCYAndOTBase.json +10 -0
  51. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.dbg.json +4 -0
  52. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYOBase.sol/ActionSCYAndYOBase.json +185 -0
  53. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.dbg.json +4 -0
  54. package/build/artifacts/contracts/core/actions/base/ActionSCYAndYTBase.sol/ActionSCYAndYTBase.json +210 -0
  55. package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.dbg.json +4 -0
  56. package/build/artifacts/contracts/core/actions/base/ActionType.sol/ActionType.json +10 -0
  57. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.dbg.json +4 -0
  58. package/build/artifacts/contracts/interfaces/IAToken.sol/IAToken.json +213 -0
  59. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.dbg.json +4 -0
  60. package/build/artifacts/contracts/interfaces/IAavePool.sol/IAavePool.json +87 -0
  61. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.dbg.json +4 -0
  62. package/build/artifacts/contracts/interfaces/IAaveRewardsController.sol/IAaveRewardsController.json +59 -0
  63. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.dbg.json +4 -0
  64. package/build/artifacts/contracts/interfaces/IBenQiComptroller.sol/IBenQiComptroller.json +44 -0
  65. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.dbg.json +4 -0
  66. package/build/artifacts/contracts/interfaces/IJoePair.sol/IJoePair.json +662 -0
  67. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.dbg.json +4 -0
  68. package/build/artifacts/contracts/interfaces/IJoeRouter01.sol/IJoeRouter01.json +760 -0
  69. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.dbg.json +4 -0
  70. package/build/artifacts/contracts/interfaces/IPActionCore.sol/IPActionCore.json +519 -0
  71. package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.dbg.json +4 -0
  72. package/build/artifacts/contracts/interfaces/IPActionRedeem.sol/IPActionRedeem.json +55 -0
  73. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.dbg.json +4 -0
  74. package/build/artifacts/contracts/interfaces/IPActionYT.sol/IPActionYT.json +270 -0
  75. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +4 -0
  76. package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.json +822 -0
  77. package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.dbg.json +4 -0
  78. package/build/artifacts/contracts/interfaces/IPBaseToken.sol/IPBaseToken.json +259 -0
  79. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.dbg.json +4 -0
  80. package/build/artifacts/contracts/interfaces/IPGovernanceManager.sol/IPGovernanceManager.json +24 -0
  81. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.dbg.json +4 -0
  82. package/build/artifacts/contracts/interfaces/IPMarket.sol/IPMarket.json +670 -0
  83. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.dbg.json +4 -0
  84. package/build/artifacts/contracts/interfaces/IPMarketAddRemoveCallback.sol/IPMarketAddRemoveCallback.json +67 -0
  85. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.dbg.json +4 -0
  86. package/build/artifacts/contracts/interfaces/IPMarketFactory.sol/IPMarketFactory.json +96 -0
  87. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.dbg.json +4 -0
  88. package/build/artifacts/contracts/interfaces/IPMarketSwapCallback.sol/IPMarketSwapCallback.json +34 -0
  89. package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.dbg.json +4 -0
  90. package/build/artifacts/contracts/interfaces/IPOwnershipToken.sol/IPOwnershipToken.json +334 -0
  91. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.dbg.json +4 -0
  92. package/build/artifacts/contracts/interfaces/IPPermissionsV2Upg.sol/IPermissionsV2Upg.json +24 -0
  93. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +4 -0
  94. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.json +204 -0
  95. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.dbg.json +4 -0
  96. package/build/artifacts/contracts/interfaces/IPYieldContractFactory.sol/IPYieldContractFactory.json +206 -0
  97. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.dbg.json +4 -0
  98. package/build/artifacts/contracts/interfaces/IPYieldToken.sol/IPYieldToken.json +595 -0
  99. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.dbg.json +4 -0
  100. package/build/artifacts/contracts/interfaces/IQiErc20.sol/IQiErc20.json +258 -0
  101. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.dbg.json +4 -0
  102. package/build/artifacts/contracts/interfaces/IQiToken.sol/IQiToken.json +207 -0
  103. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.dbg.json +4 -0
  104. package/build/artifacts/contracts/interfaces/IREDACTEDStaking.sol/IREDACTEDStaking.json +92 -0
  105. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.dbg.json +4 -0
  106. package/build/artifacts/contracts/interfaces/IWETH.sol/IWETH.json +252 -0
  107. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.dbg.json +4 -0
  108. package/build/artifacts/contracts/interfaces/IWXBTRFLY.sol/IWXBTRFLY.json +119 -0
  109. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.dbg.json +4 -0
  110. package/build/artifacts/contracts/interfaces/IWstETH.sol/IWstETH.json +62 -0
  111. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.dbg.json +4 -0
  112. package/build/artifacts/contracts/interfaces/IYearnVault.sol/IYearnVault.json +62 -0
  113. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.dbg.json +4 -0
  114. package/build/artifacts/contracts/libraries/JoeLibrary.sol/JoeLibrary.json +10 -0
  115. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.dbg.json +4 -0
  116. package/build/artifacts/contracts/libraries/SCYIndex.sol/SCYIndexLib.json +10 -0
  117. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.dbg.json +4 -0
  118. package/build/artifacts/contracts/libraries/helpers/ExpiryUtilsLib.sol/ExpiryUtils.json +10 -0
  119. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.dbg.json +4 -0
  120. package/build/artifacts/contracts/libraries/math/LogExpMath.sol/LogExpMath.json +10 -0
  121. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.dbg.json +4 -0
  122. package/build/artifacts/contracts/libraries/math/MarketApproxLib.sol/MarketApproxLib.json +10 -0
  123. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.dbg.json +4 -0
  124. package/build/artifacts/contracts/libraries/math/MarketMathAux.sol/MarketMathAux.json +10 -0
  125. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.dbg.json +4 -0
  126. package/build/artifacts/contracts/libraries/math/MarketMathCore.sol/MarketMathCore.json +10 -0
  127. package/build/artifacts/contracts/libraries/math/Math.sol/Math.dbg.json +4 -0
  128. package/build/artifacts/contracts/libraries/math/Math.sol/Math.json +10 -0
  129. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.dbg.json +4 -0
  130. package/build/artifacts/contracts/periphery/PendleGovernanceManager.sol/PendleGovernanceManager.json +87 -0
  131. package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.dbg.json +4 -0
  132. package/build/artifacts/contracts/periphery/PendleJoeSwapHelperUpg.sol/PendleJoeSwapHelperUpg.json +37 -0
  133. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.dbg.json +4 -0
  134. package/build/artifacts/contracts/periphery/PermissionsV2Upg.sol/PermissionsV2Upg.json +24 -0
  135. package/deployments/kovan.json +31 -0
  136. package/package.json +4 -2
  137. package/typechain-types/ActionCallback.ts +5 -5
  138. package/typechain-types/ActionCore.ts +280 -232
  139. package/typechain-types/{ActionSCYAndPYBase.ts → ActionSCYAndYOBase.ts} +54 -54
  140. package/typechain-types/ActionSCYAndYTBase.ts +49 -49
  141. package/typechain-types/ActionYT.ts +140 -92
  142. package/typechain-types/AggregatorV2V3Interface.ts +380 -0
  143. package/typechain-types/BenqiChainlinkOracle.ts +362 -0
  144. package/typechain-types/BoringOwnable.ts +194 -0
  145. package/typechain-types/BoringOwnableData.ts +100 -0
  146. package/typechain-types/BoringOwnableUpg.ts +194 -0
  147. package/typechain-types/BoringOwnableUpgData.ts +100 -0
  148. package/typechain-types/Comptroller.ts +2860 -0
  149. package/typechain-types/ComptrollerErrorReporter.ts +70 -0
  150. package/typechain-types/ComptrollerInterface.ts +881 -0
  151. package/typechain-types/ComptrollerVXStorage.ts +781 -0
  152. package/typechain-types/CrosschainContract.ts +113 -0
  153. package/typechain-types/CrosschainReceiver.ts +347 -0
  154. package/typechain-types/CrosschainSender.ts +210 -0
  155. package/typechain-types/EIP20Interface.ts +337 -0
  156. package/typechain-types/EIP20NonStandardInterface.ts +298 -0
  157. package/typechain-types/ERC20Burnable.ts +473 -0
  158. package/typechain-types/ERC20Locker.ts +91 -0
  159. package/typechain-types/ERC20Premined.ts +473 -0
  160. package/typechain-types/ERC20PresetFixedSupply.ts +473 -0
  161. package/typechain-types/EpochController.ts +195 -0
  162. package/typechain-types/FundKeeper.ts +347 -0
  163. package/typechain-types/GaugeTypeControllerAbstract.ts +546 -0
  164. package/typechain-types/GaugeTypeControllerCrosschain.ts +733 -0
  165. package/typechain-types/GaugeTypeControllerMainchain.ts +604 -0
  166. package/typechain-types/IGaugeController.ts +99 -0
  167. package/typechain-types/ILiquidYieldToken.ts +639 -0
  168. package/typechain-types/ILiquidYieldTokenWrap.ts +790 -0
  169. package/typechain-types/IMessageBus.ts +543 -0
  170. package/typechain-types/IMessageReceiverApp.ts +110 -0
  171. package/typechain-types/IPActionCore.ts +231 -183
  172. package/typechain-types/IPActionYT.ts +91 -43
  173. package/typechain-types/IPAllAction.ts +322 -204
  174. package/typechain-types/IPFlashCallback.ts +115 -0
  175. package/typechain-types/IPLiquidYieldToken.ts +641 -0
  176. package/typechain-types/IPMarket.ts +55 -55
  177. package/typechain-types/IPMarketAddRemoveCallback.ts +10 -10
  178. package/typechain-types/IPMarketCallback.ts +107 -0
  179. package/typechain-types/IPMarketFactory.ts +3 -3
  180. package/typechain-types/IPMarketSwapCallback.ts +5 -5
  181. package/typechain-types/{IPPrincipalToken.ts → IPOwnershipToken.ts} +5 -5
  182. package/typechain-types/IPRouterCore.ts +769 -0
  183. package/typechain-types/IPRouterRedeem.ts +155 -0
  184. package/typechain-types/IPRouterStatic.ts +49 -529
  185. package/typechain-types/IPRouterYT.ts +489 -0
  186. package/typechain-types/IPYieldContractFactory.ts +19 -19
  187. package/typechain-types/IPYieldToken.ts +29 -29
  188. package/typechain-types/IPermissionsV2.ts +87 -0
  189. package/typechain-types/IRainbowBridge.ts +91 -0
  190. package/typechain-types/ISCYRewardIndex.ts +695 -0
  191. package/typechain-types/ISuperComposableYield.ts +0 -13
  192. package/typechain-types/IVEPendleToken.ts +121 -0
  193. package/typechain-types/IXPendle.ts +114 -0
  194. package/typechain-types/InterestRateModel.ts +178 -0
  195. package/typechain-types/JumpRateModel.ts +347 -0
  196. package/typechain-types/LYTBase.ts +721 -0
  197. package/typechain-types/LYTBaseWithRewards.ts +806 -0
  198. package/typechain-types/LYTWrap.ts +872 -0
  199. package/typechain-types/LYTWrapWithRewards.ts +979 -0
  200. package/typechain-types/LiquidityMining.ts +468 -0
  201. package/typechain-types/Maximillion.ts +145 -0
  202. package/typechain-types/Ownable.ts +160 -0
  203. package/typechain-types/PendleAaveV3LYT.ts +808 -0
  204. package/typechain-types/PendleAaveV3SCY.ts +0 -13
  205. package/typechain-types/PendleBaseToken.ts +1 -1
  206. package/typechain-types/PendleBenQiErc20LYT.ts +901 -0
  207. package/typechain-types/PendleBenQiErc20SCY.ts +20 -14
  208. package/typechain-types/PendleBenqiLiquidYieldToken.ts +1013 -0
  209. package/typechain-types/PendleBtrflyLYT.ts +781 -0
  210. package/typechain-types/PendleBtrflyScy.ts +20 -14
  211. package/typechain-types/PendleGauge.ts +469 -0
  212. package/typechain-types/PendleGovernanceManager.ts +5 -5
  213. package/typechain-types/PendleJoeSwapHelper.ts +92 -0
  214. package/typechain-types/PendleLYTMockYT.ts +894 -0
  215. package/typechain-types/PendleLiquidYieldToken.ts +814 -0
  216. package/typechain-types/PendleLiquidYieldTokenBase.ts +941 -0
  217. package/typechain-types/PendleMarket.ts +105 -102
  218. package/typechain-types/PendleMarketFactory.ts +8 -48
  219. package/typechain-types/{PendlePrincipalToken.ts → PendleOwnershipToken.ts} +6 -15
  220. package/typechain-types/PendleRouter01.ts +184 -0
  221. package/typechain-types/PendleRouter02.ts +564 -0
  222. package/typechain-types/PendleRouter03.ts +224 -0
  223. package/typechain-types/PendleRouterBase.ts +126 -0
  224. package/typechain-types/PendleRouterCore.ts +328 -0
  225. package/typechain-types/PendleRouterCoreUpg.ts +798 -0
  226. package/typechain-types/PendleRouterLytAndForge.ts +331 -0
  227. package/typechain-types/PendleRouterMarketBase.ts +82 -0
  228. package/typechain-types/PendleRouterOT.ts +463 -0
  229. package/typechain-types/PendleRouterProxy.ts +335 -0
  230. package/typechain-types/PendleRouterRawTokenOT.ts +865 -0
  231. package/typechain-types/PendleRouterRawTokenYT.ts +520 -0
  232. package/typechain-types/{ActionRedeem.ts → PendleRouterRedeemUpg.ts} +5 -5
  233. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +98 -0
  234. package/typechain-types/PendleRouterStaticUpg.ts +399 -0
  235. package/typechain-types/PendleRouterYT.ts +227 -0
  236. package/typechain-types/PendleRouterYTBaseUpg.ts +134 -0
  237. package/typechain-types/PendleRouterYTUpg.ts +537 -0
  238. package/typechain-types/PendleStEthSCY.ts +23 -15
  239. package/typechain-types/PendleYTLYTBenqi.ts +863 -0
  240. package/typechain-types/PendleYearnVaultLYT.ts +723 -0
  241. package/typechain-types/PendleYearnVaultScy.ts +23 -15
  242. package/typechain-types/PendleYieldContractFactory.ts +28 -28
  243. package/typechain-types/PendleYieldToken.ts +30 -30
  244. package/typechain-types/PermissionsV2.ts +87 -0
  245. package/typechain-types/PermlessAbstract.ts +57 -0
  246. package/typechain-types/PglStakingContract.ts +662 -0
  247. package/typechain-types/PglStakingContractProxy.ts +256 -0
  248. package/typechain-types/PglStakingContractProxyStorage.ts +136 -0
  249. package/typechain-types/PglStakingContractStorage.ts +397 -0
  250. package/typechain-types/PriceOracle.ts +116 -0
  251. package/typechain-types/ProtocolFakeUser.ts +105 -0
  252. package/typechain-types/Qi.ts +760 -0
  253. package/typechain-types/QiAvax.ts +1720 -0
  254. package/typechain-types/QiDelegateInterface.ts +145 -0
  255. package/typechain-types/QiDelegationStorage.ts +82 -0
  256. package/typechain-types/QiDelegatorInterface.ts +149 -0
  257. package/typechain-types/QiErc20.ts +1846 -0
  258. package/typechain-types/QiErc20Delegate.ts +1926 -0
  259. package/typechain-types/QiErc20Delegator.ts +1885 -0
  260. package/typechain-types/QiErc20Interface.ts +382 -0
  261. package/typechain-types/QiErc20Storage.ts +79 -0
  262. package/typechain-types/QiToken.ts +1475 -0
  263. package/typechain-types/QiTokenInterface.ts +1419 -0
  264. package/typechain-types/QiTokenSaleDistributor.ts +771 -0
  265. package/typechain-types/QiTokenSaleDistributorProxy.ts +256 -0
  266. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +136 -0
  267. package/typechain-types/QiTokenSaleDistributorStorage.ts +401 -0
  268. package/typechain-types/QiTokenStorage.ts +311 -0
  269. package/typechain-types/ReentrancyGuard.ts +52 -0
  270. package/typechain-types/RouterStatic.ts +50 -530
  271. package/typechain-types/SCYBase.ts +0 -13
  272. package/typechain-types/SCYBaseWithRewards.ts +0 -13
  273. package/typechain-types/SingleGaugeTypeController.ts +478 -0
  274. package/typechain-types/TokenErrorReporter.ts +70 -0
  275. package/typechain-types/Unitroller.ts +356 -0
  276. package/typechain-types/UnitrollerAdminStorage.ts +143 -0
  277. package/typechain-types/VePendle.ts +1156 -0
  278. package/typechain-types/VePendleCrosschain.ts +969 -0
  279. package/typechain-types/VePendleToken.ts +688 -0
  280. package/typechain-types/VotingController.ts +883 -0
  281. package/typechain-types/WETH9.ts +414 -0
  282. package/typechain-types/WhitePaperInterestRateModel.ts +304 -0
  283. package/typechain-types/XPendle.ts +618 -0
  284. package/typechain-types/factories/ActionCallback__factory.ts +2 -2
  285. package/typechain-types/factories/ActionCore__factory.ts +91 -127
  286. package/typechain-types/factories/{ActionSCYAndPYBase__factory.ts → ActionSCYAndYOBase__factory.ts} +20 -20
  287. package/typechain-types/factories/ActionSCYAndYTBase__factory.ts +12 -12
  288. package/typechain-types/factories/ActionYT__factory.ts +68 -104
  289. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +288 -0
  290. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +311 -0
  291. package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
  292. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +94 -0
  293. package/typechain-types/factories/BoringOwnableUpg__factory.ts +139 -0
  294. package/typechain-types/factories/BoringOwnable__factory.ts +149 -0
  295. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +93 -0
  296. package/typechain-types/factories/ComptrollerInterface__factory.ts +595 -0
  297. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +610 -0
  298. package/typechain-types/factories/Comptroller__factory.ts +2189 -0
  299. package/typechain-types/factories/CrosschainContract__factory.ts +52 -0
  300. package/typechain-types/factories/CrosschainReceiver__factory.ts +187 -0
  301. package/typechain-types/factories/CrosschainSender__factory.ts +104 -0
  302. package/typechain-types/factories/EIP20Interface__factory.ts +248 -0
  303. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +213 -0
  304. package/typechain-types/factories/ERC20Burnable__factory.ts +324 -0
  305. package/typechain-types/factories/ERC20Locker__factory.ts +73 -0
  306. package/typechain-types/factories/ERC20Premined__factory.ts +393 -0
  307. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +422 -0
  308. package/typechain-types/factories/EpochController__factory.ts +170 -0
  309. package/typechain-types/factories/FundKeeper__factory.ts +212 -0
  310. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +387 -0
  311. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +522 -0
  312. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +431 -0
  313. package/typechain-types/factories/IGaugeController__factory.ts +45 -0
  314. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +533 -0
  315. package/typechain-types/factories/ILiquidYieldToken__factory.ts +429 -0
  316. package/typechain-types/factories/IMessageBus__factory.ts +396 -0
  317. package/typechain-types/factories/IMessageReceiverApp__factory.ts +55 -0
  318. package/typechain-types/factories/IPActionCore__factory.ts +78 -114
  319. package/typechain-types/factories/IPActionYT__factory.ts +54 -90
  320. package/typechain-types/factories/IPAllAction__factory.ts +138 -210
  321. package/typechain-types/factories/IPFlashCallback__factory.ts +49 -0
  322. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +433 -0
  323. package/typechain-types/factories/IPMarketAddRemoveCallback__factory.ts +2 -2
  324. package/typechain-types/factories/IPMarketCallback__factory.ts +55 -0
  325. package/typechain-types/factories/IPMarketFactory__factory.ts +1 -1
  326. package/typechain-types/factories/IPMarketSwapCallback__factory.ts +1 -1
  327. package/typechain-types/factories/IPMarket__factory.ts +14 -14
  328. package/typechain-types/factories/{IPPrincipalToken__factory.ts → IPOwnershipToken__factory.ts} +8 -8
  329. package/typechain-types/factories/IPRouterCore__factory.ts +531 -0
  330. package/typechain-types/factories/IPRouterRedeem__factory.ts +72 -0
  331. package/typechain-types/factories/IPRouterStatic__factory.ts +10 -626
  332. package/typechain-types/factories/IPRouterYT__factory.ts +305 -0
  333. package/typechain-types/factories/IPYieldContractFactory__factory.ts +3 -3
  334. package/typechain-types/factories/IPYieldToken__factory.ts +5 -5
  335. package/typechain-types/factories/IPermissionsV2__factory.ts +39 -0
  336. package/typechain-types/factories/IRainbowBridge__factory.ts +76 -0
  337. package/typechain-types/factories/ISCYRewardIndex__factory.ts +465 -0
  338. package/typechain-types/factories/ISuperComposableYield__factory.ts +0 -13
  339. package/typechain-types/factories/IVEPendleToken__factory.ts +71 -0
  340. package/typechain-types/factories/IXPendle__factory.ts +61 -0
  341. package/typechain-types/factories/InterestRateModel__factory.ts +108 -0
  342. package/typechain-types/factories/JumpRateModel__factory.ts +334 -0
  343. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +530 -0
  344. package/typechain-types/factories/LYTBase__factory.ts +474 -0
  345. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +643 -0
  346. package/typechain-types/factories/LYTWrap__factory.ts +574 -0
  347. package/typechain-types/factories/LiquidityMining__factory.ts +367 -0
  348. package/typechain-types/factories/Maximillion__factory.ts +125 -0
  349. package/typechain-types/factories/Ownable__factory.ts +75 -0
  350. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +657 -0
  351. package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -24
  352. package/typechain-types/factories/PendleBaseToken__factory.ts +1 -1
  353. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +748 -0
  354. package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +15 -25
  355. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +785 -0
  356. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +647 -0
  357. package/typechain-types/factories/PendleBtrflyScy__factory.ts +15 -25
  358. package/typechain-types/factories/PendleGauge__factory.ts +383 -0
  359. package/typechain-types/factories/PendleGovernanceManager__factory.ts +2 -2
  360. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +52 -0
  361. package/typechain-types/factories/PendleLYTMockYT__factory.ts +732 -0
  362. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +603 -0
  363. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +510 -0
  364. package/typechain-types/factories/PendleMarketFactory__factory.ts +3 -29
  365. package/typechain-types/factories/PendleMarket__factory.ts +54 -59
  366. package/typechain-types/factories/PendleOwnershipToken__factory.ts +527 -0
  367. package/typechain-types/factories/PendleRouter01__factory.ts +152 -0
  368. package/typechain-types/factories/PendleRouter02__factory.ts +438 -0
  369. package/typechain-types/factories/PendleRouter03__factory.ts +190 -0
  370. package/typechain-types/factories/PendleRouterBase__factory.ts +68 -0
  371. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +635 -0
  372. package/typechain-types/factories/PendleRouterCore__factory.ts +268 -0
  373. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +294 -0
  374. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +43 -0
  375. package/typechain-types/factories/PendleRouterOT__factory.ts +372 -0
  376. package/typechain-types/factories/PendleRouterProxy__factory.ts +285 -0
  377. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +697 -0
  378. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +431 -0
  379. package/typechain-types/factories/{ActionRedeem__factory.ts → PendleRouterRedeemUpg__factory.ts} +26 -19
  380. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +56 -0
  381. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +315 -0
  382. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +66 -0
  383. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +422 -0
  384. package/typechain-types/factories/PendleRouterYT__factory.ts +184 -0
  385. package/typechain-types/factories/PendleRouter__factory.ts +1 -1
  386. package/typechain-types/factories/PendleStEthSCY__factory.ts +17 -27
  387. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +713 -0
  388. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +586 -0
  389. package/typechain-types/factories/PendleYearnVaultScy__factory.ts +16 -26
  390. package/typechain-types/factories/PendleYieldContractFactory__factory.ts +6 -6
  391. package/typechain-types/factories/PendleYieldToken__factory.ts +12 -12
  392. package/typechain-types/factories/PermissionsV2__factory.ts +36 -0
  393. package/typechain-types/factories/PermlessAbstract__factory.ts +30 -0
  394. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +130 -0
  395. package/typechain-types/factories/PglStakingContractProxy__factory.ts +187 -0
  396. package/typechain-types/factories/PglStakingContractStorage__factory.ts +309 -0
  397. package/typechain-types/factories/PglStakingContract__factory.ts +446 -0
  398. package/typechain-types/factories/PriceOracle__factory.ts +59 -0
  399. package/typechain-types/factories/ProtocolFakeUser__factory.ts +87 -0
  400. package/typechain-types/factories/QiAvax__factory.ts +1471 -0
  401. package/typechain-types/factories/QiDelegateInterface__factory.ts +65 -0
  402. package/typechain-types/factories/QiDelegationStorage__factory.ts +79 -0
  403. package/typechain-types/factories/QiDelegatorInterface__factory.ts +89 -0
  404. package/typechain-types/factories/QiErc20Delegate__factory.ts +1563 -0
  405. package/typechain-types/factories/QiErc20Delegator__factory.ts +1648 -0
  406. package/typechain-types/factories/QiErc20Interface__factory.ts +239 -0
  407. package/typechain-types/factories/QiErc20Storage__factory.ts +79 -0
  408. package/typechain-types/factories/QiErc20__factory.ts +1515 -0
  409. package/typechain-types/factories/QiTokenInterface__factory.ts +1182 -0
  410. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +124 -0
  411. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +171 -0
  412. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +289 -0
  413. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +480 -0
  414. package/typechain-types/factories/QiTokenStorage__factory.ts +274 -0
  415. package/typechain-types/factories/QiToken__factory.ts +1219 -0
  416. package/typechain-types/factories/Qi__factory.ts +648 -0
  417. package/typechain-types/factories/ReentrancyGuard__factory.ts +69 -0
  418. package/typechain-types/factories/RouterStatic__factory.ts +13 -629
  419. package/typechain-types/factories/SCYBaseWithRewards__factory.ts +0 -13
  420. package/typechain-types/factories/SCYBase__factory.ts +0 -13
  421. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +341 -0
  422. package/typechain-types/factories/TokenErrorReporter__factory.ts +89 -0
  423. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +128 -0
  424. package/typechain-types/factories/Unitroller__factory.ts +305 -0
  425. package/typechain-types/factories/VePendleCrosschain__factory.ts +727 -0
  426. package/typechain-types/factories/VePendleToken__factory.ts +494 -0
  427. package/typechain-types/factories/VePendle__factory.ts +800 -0
  428. package/typechain-types/factories/VotingController__factory.ts +610 -0
  429. package/typechain-types/factories/WETH9__factory.ts +342 -0
  430. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +281 -0
  431. package/typechain-types/factories/XPendle__factory.ts +473 -0
  432. package/typechain-types/hardhat.d.ts +20 -20
  433. package/typechain-types/index.ts +8 -8
  434. package/typechain-types/factories/PendlePrincipalToken__factory.ts +0 -540
@@ -0,0 +1,124 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ QiTokenSaleDistributorProxyStorage,
8
+ QiTokenSaleDistributorProxyStorageInterface,
9
+ } from "../QiTokenSaleDistributorProxyStorage";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ name: "admin",
15
+ outputs: [
16
+ {
17
+ internalType: "address",
18
+ name: "",
19
+ type: "address",
20
+ },
21
+ ],
22
+ stateMutability: "view",
23
+ type: "function",
24
+ },
25
+ {
26
+ inputs: [],
27
+ name: "implementation",
28
+ outputs: [
29
+ {
30
+ internalType: "address",
31
+ name: "",
32
+ type: "address",
33
+ },
34
+ ],
35
+ stateMutability: "view",
36
+ type: "function",
37
+ },
38
+ {
39
+ inputs: [],
40
+ name: "pendingAdmin",
41
+ outputs: [
42
+ {
43
+ internalType: "address",
44
+ name: "",
45
+ type: "address",
46
+ },
47
+ ],
48
+ stateMutability: "view",
49
+ type: "function",
50
+ },
51
+ {
52
+ inputs: [],
53
+ name: "pendingImplementation",
54
+ outputs: [
55
+ {
56
+ internalType: "address",
57
+ name: "",
58
+ type: "address",
59
+ },
60
+ ],
61
+ stateMutability: "view",
62
+ type: "function",
63
+ },
64
+ ];
65
+
66
+ const _bytecode =
67
+ "0x608060405234801561001057600080fd5b5060f18061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060465760003560e01c80632678224714604b578063396f7b2314606d5780635c60da1b146073578063f851a440146079575b600080fd5b6051607f565b604080516001600160a01b039092168252519081900360200190f35b6051608e565b6051609d565b605160ac565b6001546001600160a01b031681565b6003546001600160a01b031681565b6002546001600160a01b031681565b6000546001600160a01b03168156fea264697066735822122084ce37bb6bb2ea2f203a9da7719ff8ff3b85f39b383426e6e777aad153a86a0e64736f6c634300060c0033";
68
+
69
+ type QiTokenSaleDistributorProxyStorageConstructorParams =
70
+ | [signer?: Signer]
71
+ | ConstructorParameters<typeof ContractFactory>;
72
+
73
+ const isSuperArgs = (
74
+ xs: QiTokenSaleDistributorProxyStorageConstructorParams
75
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
76
+
77
+ export class QiTokenSaleDistributorProxyStorage__factory extends ContractFactory {
78
+ constructor(...args: QiTokenSaleDistributorProxyStorageConstructorParams) {
79
+ if (isSuperArgs(args)) {
80
+ super(...args);
81
+ } else {
82
+ super(_abi, _bytecode, args[0]);
83
+ }
84
+ this.contractName = "QiTokenSaleDistributorProxyStorage";
85
+ }
86
+
87
+ deploy(
88
+ overrides?: Overrides & { from?: string | Promise<string> }
89
+ ): Promise<QiTokenSaleDistributorProxyStorage> {
90
+ return super.deploy(
91
+ overrides || {}
92
+ ) as Promise<QiTokenSaleDistributorProxyStorage>;
93
+ }
94
+ getDeployTransaction(
95
+ overrides?: Overrides & { from?: string | Promise<string> }
96
+ ): TransactionRequest {
97
+ return super.getDeployTransaction(overrides || {});
98
+ }
99
+ attach(address: string): QiTokenSaleDistributorProxyStorage {
100
+ return super.attach(address) as QiTokenSaleDistributorProxyStorage;
101
+ }
102
+ connect(signer: Signer): QiTokenSaleDistributorProxyStorage__factory {
103
+ return super.connect(signer) as QiTokenSaleDistributorProxyStorage__factory;
104
+ }
105
+ static readonly contractName: "QiTokenSaleDistributorProxyStorage";
106
+ public readonly contractName: "QiTokenSaleDistributorProxyStorage";
107
+ static readonly bytecode = _bytecode;
108
+ static readonly abi = _abi;
109
+ static createInterface(): QiTokenSaleDistributorProxyStorageInterface {
110
+ return new utils.Interface(
111
+ _abi
112
+ ) as QiTokenSaleDistributorProxyStorageInterface;
113
+ }
114
+ static connect(
115
+ address: string,
116
+ signerOrProvider: Signer | Provider
117
+ ): QiTokenSaleDistributorProxyStorage {
118
+ return new Contract(
119
+ address,
120
+ _abi,
121
+ signerOrProvider
122
+ ) as QiTokenSaleDistributorProxyStorage;
123
+ }
124
+ }
@@ -0,0 +1,171 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ QiTokenSaleDistributorProxy,
8
+ QiTokenSaleDistributorProxyInterface,
9
+ } from "../QiTokenSaleDistributorProxy";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ stateMutability: "payable",
19
+ type: "fallback",
20
+ },
21
+ {
22
+ inputs: [],
23
+ name: "acceptPendingAdmin",
24
+ outputs: [],
25
+ stateMutability: "nonpayable",
26
+ type: "function",
27
+ },
28
+ {
29
+ inputs: [],
30
+ name: "acceptPendingImplementation",
31
+ outputs: [],
32
+ stateMutability: "nonpayable",
33
+ type: "function",
34
+ },
35
+ {
36
+ inputs: [],
37
+ name: "admin",
38
+ outputs: [
39
+ {
40
+ internalType: "address",
41
+ name: "",
42
+ type: "address",
43
+ },
44
+ ],
45
+ stateMutability: "view",
46
+ type: "function",
47
+ },
48
+ {
49
+ inputs: [],
50
+ name: "implementation",
51
+ outputs: [
52
+ {
53
+ internalType: "address",
54
+ name: "",
55
+ type: "address",
56
+ },
57
+ ],
58
+ stateMutability: "view",
59
+ type: "function",
60
+ },
61
+ {
62
+ inputs: [],
63
+ name: "pendingAdmin",
64
+ outputs: [
65
+ {
66
+ internalType: "address",
67
+ name: "",
68
+ type: "address",
69
+ },
70
+ ],
71
+ stateMutability: "view",
72
+ type: "function",
73
+ },
74
+ {
75
+ inputs: [],
76
+ name: "pendingImplementation",
77
+ outputs: [
78
+ {
79
+ internalType: "address",
80
+ name: "",
81
+ type: "address",
82
+ },
83
+ ],
84
+ stateMutability: "view",
85
+ type: "function",
86
+ },
87
+ {
88
+ inputs: [
89
+ {
90
+ internalType: "address",
91
+ name: "newAdmin",
92
+ type: "address",
93
+ },
94
+ ],
95
+ name: "setPendingAdmin",
96
+ outputs: [],
97
+ stateMutability: "nonpayable",
98
+ type: "function",
99
+ },
100
+ {
101
+ inputs: [
102
+ {
103
+ internalType: "address",
104
+ name: "newImplementation",
105
+ type: "address",
106
+ },
107
+ ],
108
+ name: "setPendingImplementation",
109
+ outputs: [],
110
+ stateMutability: "nonpayable",
111
+ type: "function",
112
+ },
113
+ ];
114
+
115
+ const _bytecode =
116
+ "0x608060405234801561001057600080fd5b506001600081905580546001600160a01b03191633179055610497806100376000396000f3fe60806040526004361061006b5760003560e01c806309ed43c9146100ef57806316ec205c146101245780632678224714610139578063396f7b231461016a5780634dd18bf51461017f5780635c60da1b146101b2578063709920c1146101c7578063f851a440146101dc575b6003546040516000916001600160a01b031690829036908083838082843760405192019450600093509091505080830381855af49150503d80600081146100ce576040519150601f19603f3d011682016040523d82523d6000602084013e6100d3565b606091505b505090506040513d806000833e8280156100eb578183f35b8183fd5b3480156100fb57600080fd5b506101226004803603602081101561011257600080fd5b50356001600160a01b03166101f1565b005b34801561013057600080fd5b5061012261025f565b34801561014557600080fd5b5061014e6102e5565b604080516001600160a01b039092168252519081900360200190f35b34801561017657600080fd5b5061014e6102f4565b34801561018b57600080fd5b50610122600480360360208110156101a257600080fd5b50356001600160a01b0316610303565b3480156101be57600080fd5b5061014e610371565b3480156101d357600080fd5b50610122610380565b3480156101e857600080fd5b5061014e61041c565b6001546001600160a01b0316331461023d576040805162461bcd60e51b815260206004820152600a60248201526961646d696e206f6e6c7960b01b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b03163314801561028357506004546001600160a01b031615155b6102be5760405162461bcd60e51b815260040180806020018281038252603681526020018061042c6036913960400191505060405180910390fd5b60048054600380546001600160a01b03199081166001600160a01b03841617909155169055565b6002546001600160a01b031681565b6004546001600160a01b031681565b6001546001600160a01b0316331461034f576040805162461bcd60e51b815260206004820152600a60248201526961646d696e206f6e6c7960b01b604482015290519081900360640190fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b6002546001600160a01b0316331480156103a457506002546001600160a01b031615155b6103f5576040805162461bcd60e51b815260206004820181905260248201527f43616c6c6572206d757374206265207468652070656e64696e672061646d696e604482015290519081900360640190fd5b60028054600180546001600160a01b03199081166001600160a01b03841617909155169055565b6001546001600160a01b03168156fe4f6e6c79207468652070656e64696e6720696d706c656d656e746174696f6e20636f6e74726163742063616e2063616c6c2074686973a2646970667358221220ab423e7649b9144c6f19b321264a49b4f35bcf60fada15b80f17b39b471e770864736f6c634300060c0033";
117
+
118
+ type QiTokenSaleDistributorProxyConstructorParams =
119
+ | [signer?: Signer]
120
+ | ConstructorParameters<typeof ContractFactory>;
121
+
122
+ const isSuperArgs = (
123
+ xs: QiTokenSaleDistributorProxyConstructorParams
124
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
125
+
126
+ export class QiTokenSaleDistributorProxy__factory extends ContractFactory {
127
+ constructor(...args: QiTokenSaleDistributorProxyConstructorParams) {
128
+ if (isSuperArgs(args)) {
129
+ super(...args);
130
+ } else {
131
+ super(_abi, _bytecode, args[0]);
132
+ }
133
+ this.contractName = "QiTokenSaleDistributorProxy";
134
+ }
135
+
136
+ deploy(
137
+ overrides?: Overrides & { from?: string | Promise<string> }
138
+ ): Promise<QiTokenSaleDistributorProxy> {
139
+ return super.deploy(
140
+ overrides || {}
141
+ ) as Promise<QiTokenSaleDistributorProxy>;
142
+ }
143
+ getDeployTransaction(
144
+ overrides?: Overrides & { from?: string | Promise<string> }
145
+ ): TransactionRequest {
146
+ return super.getDeployTransaction(overrides || {});
147
+ }
148
+ attach(address: string): QiTokenSaleDistributorProxy {
149
+ return super.attach(address) as QiTokenSaleDistributorProxy;
150
+ }
151
+ connect(signer: Signer): QiTokenSaleDistributorProxy__factory {
152
+ return super.connect(signer) as QiTokenSaleDistributorProxy__factory;
153
+ }
154
+ static readonly contractName: "QiTokenSaleDistributorProxy";
155
+ public readonly contractName: "QiTokenSaleDistributorProxy";
156
+ static readonly bytecode = _bytecode;
157
+ static readonly abi = _abi;
158
+ static createInterface(): QiTokenSaleDistributorProxyInterface {
159
+ return new utils.Interface(_abi) as QiTokenSaleDistributorProxyInterface;
160
+ }
161
+ static connect(
162
+ address: string,
163
+ signerOrProvider: Signer | Provider
164
+ ): QiTokenSaleDistributorProxy {
165
+ return new Contract(
166
+ address,
167
+ _abi,
168
+ signerOrProvider
169
+ ) as QiTokenSaleDistributorProxy;
170
+ }
171
+ }
@@ -0,0 +1,289 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type {
7
+ QiTokenSaleDistributorStorage,
8
+ QiTokenSaleDistributorStorageInterface,
9
+ } from "../QiTokenSaleDistributorStorage";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ name: "admin",
15
+ outputs: [
16
+ {
17
+ internalType: "address",
18
+ name: "",
19
+ type: "address",
20
+ },
21
+ ],
22
+ stateMutability: "view",
23
+ type: "function",
24
+ },
25
+ {
26
+ inputs: [
27
+ {
28
+ internalType: "address",
29
+ name: "",
30
+ type: "address",
31
+ },
32
+ {
33
+ internalType: "uint256",
34
+ name: "",
35
+ type: "uint256",
36
+ },
37
+ ],
38
+ name: "claimedTokens",
39
+ outputs: [
40
+ {
41
+ internalType: "uint256",
42
+ name: "",
43
+ type: "uint256",
44
+ },
45
+ ],
46
+ stateMutability: "view",
47
+ type: "function",
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: "address",
53
+ name: "",
54
+ type: "address",
55
+ },
56
+ ],
57
+ name: "completedPurchaseRounds",
58
+ outputs: [
59
+ {
60
+ internalType: "uint256",
61
+ name: "",
62
+ type: "uint256",
63
+ },
64
+ ],
65
+ stateMutability: "view",
66
+ type: "function",
67
+ },
68
+ {
69
+ inputs: [],
70
+ name: "dataAdmin",
71
+ outputs: [
72
+ {
73
+ internalType: "address",
74
+ name: "",
75
+ type: "address",
76
+ },
77
+ ],
78
+ stateMutability: "view",
79
+ type: "function",
80
+ },
81
+ {
82
+ inputs: [],
83
+ name: "implementation",
84
+ outputs: [
85
+ {
86
+ internalType: "address",
87
+ name: "",
88
+ type: "address",
89
+ },
90
+ ],
91
+ stateMutability: "view",
92
+ type: "function",
93
+ },
94
+ {
95
+ inputs: [
96
+ {
97
+ internalType: "address",
98
+ name: "",
99
+ type: "address",
100
+ },
101
+ {
102
+ internalType: "uint256",
103
+ name: "",
104
+ type: "uint256",
105
+ },
106
+ ],
107
+ name: "initialReleasePercentages",
108
+ outputs: [
109
+ {
110
+ internalType: "uint256",
111
+ name: "",
112
+ type: "uint256",
113
+ },
114
+ ],
115
+ stateMutability: "view",
116
+ type: "function",
117
+ },
118
+ {
119
+ inputs: [],
120
+ name: "pendingAdmin",
121
+ outputs: [
122
+ {
123
+ internalType: "address",
124
+ name: "",
125
+ type: "address",
126
+ },
127
+ ],
128
+ stateMutability: "view",
129
+ type: "function",
130
+ },
131
+ {
132
+ inputs: [],
133
+ name: "pendingImplementation",
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
+ internalType: "uint256",
153
+ name: "",
154
+ type: "uint256",
155
+ },
156
+ ],
157
+ name: "purchasedTokens",
158
+ outputs: [
159
+ {
160
+ internalType: "uint256",
161
+ name: "",
162
+ type: "uint256",
163
+ },
164
+ ],
165
+ stateMutability: "view",
166
+ type: "function",
167
+ },
168
+ {
169
+ inputs: [],
170
+ name: "qiContractAddress",
171
+ outputs: [
172
+ {
173
+ internalType: "address",
174
+ name: "",
175
+ type: "address",
176
+ },
177
+ ],
178
+ stateMutability: "view",
179
+ type: "function",
180
+ },
181
+ {
182
+ inputs: [],
183
+ name: "releasePeriodLength",
184
+ outputs: [
185
+ {
186
+ internalType: "uint256",
187
+ name: "",
188
+ type: "uint256",
189
+ },
190
+ ],
191
+ stateMutability: "view",
192
+ type: "function",
193
+ },
194
+ {
195
+ inputs: [
196
+ {
197
+ internalType: "address",
198
+ name: "",
199
+ type: "address",
200
+ },
201
+ {
202
+ internalType: "uint256",
203
+ name: "",
204
+ type: "uint256",
205
+ },
206
+ ],
207
+ name: "releasePeriods",
208
+ outputs: [
209
+ {
210
+ internalType: "uint256",
211
+ name: "",
212
+ type: "uint256",
213
+ },
214
+ ],
215
+ stateMutability: "view",
216
+ type: "function",
217
+ },
218
+ {
219
+ inputs: [],
220
+ name: "vestingScheduleEpoch",
221
+ outputs: [
222
+ {
223
+ internalType: "uint256",
224
+ name: "",
225
+ type: "uint256",
226
+ },
227
+ ],
228
+ stateMutability: "view",
229
+ type: "function",
230
+ },
231
+ ];
232
+
233
+ const _bytecode =
234
+ "0x608060405234801561001057600080fd5b5061031d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100af5760003560e01c80630a35549f146100b45780630ea4f987146100d8578063198ac67514610116578063267822471461013c578063396f7b23146101445780635c60da1b1461014c5780635cc9b99f1461015457806365560db51461015c5780639532126f14610164578063987ad3d814610190578063cd18846a146101bc578063d199168d146101c4578063f851a440146101f0575b600080fd5b6100bc6101f8565b604080516001600160a01b039092168252519081900360200190f35b610104600480360360408110156100ee57600080fd5b506001600160a01b038135169060200135610207565b60408051918252519081900360200190f35b6101046004803603602081101561012c57600080fd5b50356001600160a01b0316610224565b6100bc610236565b6100bc610245565b6100bc610254565b6100bc610263565b610104610272565b6101046004803603604081101561017a57600080fd5b506001600160a01b03813516906020013561027a565b610104600480360360408110156101a657600080fd5b506001600160a01b038135169060200135610297565b6101046102b4565b610104600480360360408110156101da57600080fd5b506001600160a01b0381351690602001356102bb565b6100bc6102d8565b6004546001600160a01b031681565b600760209081526000928352604080842090915290825290205481565b600a6020526000908152604090205481565b6001546001600160a01b031681565b6003546001600160a01b031681565b6002546001600160a01b031681565b6005546001600160a01b031681565b63611e017081565b600660209081526000928352604080842090915290825290205481565b600860209081526000928352604080842090915290825290205481565b622819a081565b600960209081526000928352604080842090915290825290205481565b6000546001600160a01b03168156fea2646970667358221220cf8e161ec32348e7dcf6ce6a13480961b1b8df24b8e07bfe5ba76bc70c3d8fe664736f6c634300060c0033";
235
+
236
+ type QiTokenSaleDistributorStorageConstructorParams =
237
+ | [signer?: Signer]
238
+ | ConstructorParameters<typeof ContractFactory>;
239
+
240
+ const isSuperArgs = (
241
+ xs: QiTokenSaleDistributorStorageConstructorParams
242
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
243
+
244
+ export class QiTokenSaleDistributorStorage__factory extends ContractFactory {
245
+ constructor(...args: QiTokenSaleDistributorStorageConstructorParams) {
246
+ if (isSuperArgs(args)) {
247
+ super(...args);
248
+ } else {
249
+ super(_abi, _bytecode, args[0]);
250
+ }
251
+ this.contractName = "QiTokenSaleDistributorStorage";
252
+ }
253
+
254
+ deploy(
255
+ overrides?: Overrides & { from?: string | Promise<string> }
256
+ ): Promise<QiTokenSaleDistributorStorage> {
257
+ return super.deploy(
258
+ overrides || {}
259
+ ) as Promise<QiTokenSaleDistributorStorage>;
260
+ }
261
+ getDeployTransaction(
262
+ overrides?: Overrides & { from?: string | Promise<string> }
263
+ ): TransactionRequest {
264
+ return super.getDeployTransaction(overrides || {});
265
+ }
266
+ attach(address: string): QiTokenSaleDistributorStorage {
267
+ return super.attach(address) as QiTokenSaleDistributorStorage;
268
+ }
269
+ connect(signer: Signer): QiTokenSaleDistributorStorage__factory {
270
+ return super.connect(signer) as QiTokenSaleDistributorStorage__factory;
271
+ }
272
+ static readonly contractName: "QiTokenSaleDistributorStorage";
273
+ public readonly contractName: "QiTokenSaleDistributorStorage";
274
+ static readonly bytecode = _bytecode;
275
+ static readonly abi = _abi;
276
+ static createInterface(): QiTokenSaleDistributorStorageInterface {
277
+ return new utils.Interface(_abi) as QiTokenSaleDistributorStorageInterface;
278
+ }
279
+ static connect(
280
+ address: string,
281
+ signerOrProvider: Signer | Provider
282
+ ): QiTokenSaleDistributorStorage {
283
+ return new Contract(
284
+ address,
285
+ _abi,
286
+ signerOrProvider
287
+ ) as QiTokenSaleDistributorStorage;
288
+ }
289
+ }