@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,288 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import { Provider } from "@ethersproject/providers";
7
- import type {
8
- AggregatorV2V3Interface,
9
- AggregatorV2V3InterfaceInterface,
10
- } from "../AggregatorV2V3Interface";
11
-
12
- const _abi = [
13
- {
14
- anonymous: false,
15
- inputs: [
16
- {
17
- indexed: true,
18
- internalType: "int256",
19
- name: "current",
20
- type: "int256",
21
- },
22
- {
23
- indexed: true,
24
- internalType: "uint256",
25
- name: "roundId",
26
- type: "uint256",
27
- },
28
- {
29
- indexed: false,
30
- internalType: "uint256",
31
- name: "timestamp",
32
- type: "uint256",
33
- },
34
- ],
35
- name: "AnswerUpdated",
36
- type: "event",
37
- },
38
- {
39
- anonymous: false,
40
- inputs: [
41
- {
42
- indexed: true,
43
- internalType: "uint256",
44
- name: "roundId",
45
- type: "uint256",
46
- },
47
- {
48
- indexed: true,
49
- internalType: "address",
50
- name: "startedBy",
51
- type: "address",
52
- },
53
- {
54
- indexed: false,
55
- internalType: "uint256",
56
- name: "startedAt",
57
- type: "uint256",
58
- },
59
- ],
60
- name: "NewRound",
61
- type: "event",
62
- },
63
- {
64
- constant: true,
65
- inputs: [],
66
- name: "decimals",
67
- outputs: [
68
- {
69
- internalType: "uint8",
70
- name: "",
71
- type: "uint8",
72
- },
73
- ],
74
- payable: false,
75
- stateMutability: "view",
76
- type: "function",
77
- },
78
- {
79
- constant: true,
80
- inputs: [],
81
- name: "description",
82
- outputs: [
83
- {
84
- internalType: "string",
85
- name: "",
86
- type: "string",
87
- },
88
- ],
89
- payable: false,
90
- stateMutability: "view",
91
- type: "function",
92
- },
93
- {
94
- constant: true,
95
- inputs: [
96
- {
97
- internalType: "uint256",
98
- name: "roundId",
99
- type: "uint256",
100
- },
101
- ],
102
- name: "getAnswer",
103
- outputs: [
104
- {
105
- internalType: "int256",
106
- name: "",
107
- type: "int256",
108
- },
109
- ],
110
- payable: false,
111
- stateMutability: "view",
112
- type: "function",
113
- },
114
- {
115
- constant: true,
116
- inputs: [
117
- {
118
- internalType: "uint80",
119
- name: "_roundId",
120
- type: "uint80",
121
- },
122
- ],
123
- name: "getRoundData",
124
- outputs: [
125
- {
126
- internalType: "uint80",
127
- name: "roundId",
128
- type: "uint80",
129
- },
130
- {
131
- internalType: "int256",
132
- name: "answer",
133
- type: "int256",
134
- },
135
- {
136
- internalType: "uint256",
137
- name: "startedAt",
138
- type: "uint256",
139
- },
140
- {
141
- internalType: "uint256",
142
- name: "updatedAt",
143
- type: "uint256",
144
- },
145
- {
146
- internalType: "uint80",
147
- name: "answeredInRound",
148
- type: "uint80",
149
- },
150
- ],
151
- payable: false,
152
- stateMutability: "view",
153
- type: "function",
154
- },
155
- {
156
- constant: true,
157
- inputs: [
158
- {
159
- internalType: "uint256",
160
- name: "roundId",
161
- type: "uint256",
162
- },
163
- ],
164
- name: "getTimestamp",
165
- outputs: [
166
- {
167
- internalType: "uint256",
168
- name: "",
169
- type: "uint256",
170
- },
171
- ],
172
- payable: false,
173
- stateMutability: "view",
174
- type: "function",
175
- },
176
- {
177
- constant: true,
178
- inputs: [],
179
- name: "latestAnswer",
180
- outputs: [
181
- {
182
- internalType: "int256",
183
- name: "",
184
- type: "int256",
185
- },
186
- ],
187
- payable: false,
188
- stateMutability: "view",
189
- type: "function",
190
- },
191
- {
192
- constant: true,
193
- inputs: [],
194
- name: "latestRound",
195
- outputs: [
196
- {
197
- internalType: "uint256",
198
- name: "",
199
- type: "uint256",
200
- },
201
- ],
202
- payable: false,
203
- stateMutability: "view",
204
- type: "function",
205
- },
206
- {
207
- constant: true,
208
- inputs: [],
209
- name: "latestRoundData",
210
- outputs: [
211
- {
212
- internalType: "uint80",
213
- name: "roundId",
214
- type: "uint80",
215
- },
216
- {
217
- internalType: "int256",
218
- name: "answer",
219
- type: "int256",
220
- },
221
- {
222
- internalType: "uint256",
223
- name: "startedAt",
224
- type: "uint256",
225
- },
226
- {
227
- internalType: "uint256",
228
- name: "updatedAt",
229
- type: "uint256",
230
- },
231
- {
232
- internalType: "uint80",
233
- name: "answeredInRound",
234
- type: "uint80",
235
- },
236
- ],
237
- payable: false,
238
- stateMutability: "view",
239
- type: "function",
240
- },
241
- {
242
- constant: true,
243
- inputs: [],
244
- name: "latestTimestamp",
245
- outputs: [
246
- {
247
- internalType: "uint256",
248
- name: "",
249
- type: "uint256",
250
- },
251
- ],
252
- payable: false,
253
- stateMutability: "view",
254
- type: "function",
255
- },
256
- {
257
- constant: true,
258
- inputs: [],
259
- name: "version",
260
- outputs: [
261
- {
262
- internalType: "uint256",
263
- name: "",
264
- type: "uint256",
265
- },
266
- ],
267
- payable: false,
268
- stateMutability: "view",
269
- type: "function",
270
- },
271
- ];
272
-
273
- export class AggregatorV2V3Interface__factory {
274
- static readonly abi = _abi;
275
- static createInterface(): AggregatorV2V3InterfaceInterface {
276
- return new utils.Interface(_abi) as AggregatorV2V3InterfaceInterface;
277
- }
278
- static connect(
279
- address: string,
280
- signerOrProvider: Signer | Provider
281
- ): AggregatorV2V3Interface {
282
- return new Contract(
283
- address,
284
- _abi,
285
- signerOrProvider
286
- ) as AggregatorV2V3Interface;
287
- }
288
- }
@@ -1,311 +0,0 @@
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
- BenqiChainlinkOracle,
8
- BenqiChainlinkOracleInterface,
9
- } from "../BenqiChainlinkOracle";
10
-
11
- const _abi = [
12
- {
13
- inputs: [],
14
- payable: false,
15
- stateMutability: "nonpayable",
16
- type: "constructor",
17
- },
18
- {
19
- anonymous: false,
20
- inputs: [
21
- {
22
- indexed: false,
23
- internalType: "address",
24
- name: "feed",
25
- type: "address",
26
- },
27
- {
28
- indexed: false,
29
- internalType: "string",
30
- name: "symbol",
31
- type: "string",
32
- },
33
- ],
34
- name: "FeedSet",
35
- type: "event",
36
- },
37
- {
38
- anonymous: false,
39
- inputs: [
40
- {
41
- indexed: false,
42
- internalType: "address",
43
- name: "oldAdmin",
44
- type: "address",
45
- },
46
- {
47
- indexed: false,
48
- internalType: "address",
49
- name: "newAdmin",
50
- type: "address",
51
- },
52
- ],
53
- name: "NewAdmin",
54
- type: "event",
55
- },
56
- {
57
- anonymous: false,
58
- inputs: [
59
- {
60
- indexed: false,
61
- internalType: "address",
62
- name: "asset",
63
- type: "address",
64
- },
65
- {
66
- indexed: false,
67
- internalType: "uint256",
68
- name: "previousPriceMantissa",
69
- type: "uint256",
70
- },
71
- {
72
- indexed: false,
73
- internalType: "uint256",
74
- name: "requestedPriceMantissa",
75
- type: "uint256",
76
- },
77
- {
78
- indexed: false,
79
- internalType: "uint256",
80
- name: "newPriceMantissa",
81
- type: "uint256",
82
- },
83
- ],
84
- name: "PricePosted",
85
- type: "event",
86
- },
87
- {
88
- constant: true,
89
- inputs: [],
90
- name: "admin",
91
- outputs: [
92
- {
93
- internalType: "address",
94
- name: "",
95
- type: "address",
96
- },
97
- ],
98
- payable: false,
99
- stateMutability: "view",
100
- type: "function",
101
- },
102
- {
103
- constant: true,
104
- inputs: [
105
- {
106
- internalType: "address",
107
- name: "asset",
108
- type: "address",
109
- },
110
- ],
111
- name: "assetPrices",
112
- outputs: [
113
- {
114
- internalType: "uint256",
115
- name: "",
116
- type: "uint256",
117
- },
118
- ],
119
- payable: false,
120
- stateMutability: "view",
121
- type: "function",
122
- },
123
- {
124
- constant: true,
125
- inputs: [
126
- {
127
- internalType: "string",
128
- name: "symbol",
129
- type: "string",
130
- },
131
- ],
132
- name: "getFeed",
133
- outputs: [
134
- {
135
- internalType: "contract AggregatorV2V3Interface",
136
- name: "",
137
- type: "address",
138
- },
139
- ],
140
- payable: false,
141
- stateMutability: "view",
142
- type: "function",
143
- },
144
- {
145
- constant: true,
146
- inputs: [
147
- {
148
- internalType: "contract QiToken",
149
- name: "qiToken",
150
- type: "address",
151
- },
152
- ],
153
- name: "getUnderlyingPrice",
154
- outputs: [
155
- {
156
- internalType: "uint256",
157
- name: "",
158
- type: "uint256",
159
- },
160
- ],
161
- payable: false,
162
- stateMutability: "view",
163
- type: "function",
164
- },
165
- {
166
- constant: true,
167
- inputs: [],
168
- name: "isPriceOracle",
169
- outputs: [
170
- {
171
- internalType: "bool",
172
- name: "",
173
- type: "bool",
174
- },
175
- ],
176
- payable: false,
177
- stateMutability: "view",
178
- type: "function",
179
- },
180
- {
181
- constant: false,
182
- inputs: [
183
- {
184
- internalType: "address",
185
- name: "newAdmin",
186
- type: "address",
187
- },
188
- ],
189
- name: "setAdmin",
190
- outputs: [],
191
- payable: false,
192
- stateMutability: "nonpayable",
193
- type: "function",
194
- },
195
- {
196
- constant: false,
197
- inputs: [
198
- {
199
- internalType: "address",
200
- name: "asset",
201
- type: "address",
202
- },
203
- {
204
- internalType: "uint256",
205
- name: "price",
206
- type: "uint256",
207
- },
208
- ],
209
- name: "setDirectPrice",
210
- outputs: [],
211
- payable: false,
212
- stateMutability: "nonpayable",
213
- type: "function",
214
- },
215
- {
216
- constant: false,
217
- inputs: [
218
- {
219
- internalType: "string",
220
- name: "symbol",
221
- type: "string",
222
- },
223
- {
224
- internalType: "address",
225
- name: "feed",
226
- type: "address",
227
- },
228
- ],
229
- name: "setFeed",
230
- outputs: [],
231
- payable: false,
232
- stateMutability: "nonpayable",
233
- type: "function",
234
- },
235
- {
236
- constant: false,
237
- inputs: [
238
- {
239
- internalType: "contract QiToken",
240
- name: "qiToken",
241
- type: "address",
242
- },
243
- {
244
- internalType: "uint256",
245
- name: "underlyingPriceMantissa",
246
- type: "uint256",
247
- },
248
- ],
249
- name: "setUnderlyingPrice",
250
- outputs: [],
251
- payable: false,
252
- stateMutability: "nonpayable",
253
- type: "function",
254
- },
255
- ];
256
-
257
- const _bytecode =
258
- "0x608060405234801561001057600080fd5b50600080546001600160a01b03191633179055610fa2806100326000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80635e9a523c116100665780635e9a523c1461022957806366331bba14610261578063704b6c021461027d578063f851a440146102a3578063fc57d4df146102ab57610093565b806309a8acb0146100985780630c607acf146100c6578063127ffda01461013d5780633b39a51c14610169575b600080fd5b6100c4600480360360408110156100ae57600080fd5b506001600160a01b0381351690602001356102d1565b005b6100c4600480360360408110156100dc57600080fd5b810190602081018135600160201b8111156100f657600080fd5b82018360208201111561010857600080fd5b803590602001918460018302840111600160201b8311171561012957600080fd5b9193509150356001600160a01b03166103a0565b6100c46004803603604081101561015357600080fd5b506001600160a01b038135169060200135610544565b61020d6004803603602081101561017f57600080fd5b810190602081018135600160201b81111561019957600080fd5b8201836020820111156101ab57600080fd5b803590602001918460018302840111600160201b831117156101cc57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061067d945050505050565b604080516001600160a01b039092168252519081900360200190f35b61024f6004803603602081101561023f57600080fd5b50356001600160a01b031661071b565b60408051918252519081900360200190f35b610269610736565b604080519115158252519081900360200190f35b6100c46004803603602081101561029357600080fd5b50356001600160a01b031661073b565b61020d6107f3565b61024f600480360360208110156102c157600080fd5b50356001600160a01b0316610802565b6000546001600160a01b03163314610326576040805162461bcd60e51b81526020600482015260136024820152721bdb9b1e4818591b5a5b881b585e4818d85b1b606a1b604482015290519081900360640190fd5b6001600160a01b0382166000818152600160209081526040918290205482519384529083015281810183905260608201839052517fdd71a1d19fcba687442a1d5c58578f1e409af71a79d10fd95a4d66efd8fa9ae79181900360800190a16001600160a01b03909116600090815260016020526040902055565b6000546001600160a01b031633146103f5576040805162461bcd60e51b81526020600482015260136024820152721bdb9b1e4818591b5a5b881b585e4818d85b1b606a1b604482015290519081900360640190fd5b6001600160a01b0381161580159061041657506001600160a01b0381163014155b61045e576040805162461bcd60e51b8152602060048201526014602482015273696e76616c69642066656564206164647265737360601b604482015290519081900360640190fd5b7fd9e7d1778ca05570ced72c9aeb12a41fcc76f7f57ea25853dea228f8836d002281848460405180846001600160a01b03166001600160a01b03168152602001806020018281038252848482818152602001925080828437600083820152604051601f909101601f1916909201829003965090945050505050a18060026000858560405160200180838380828437808301925050509250505060405160208183030381529060405280519060200120815260200190815260200160002060006101000a8154816001600160a01b0302191690836001600160a01b03160217905550505050565b6000546001600160a01b03163314610599576040805162461bcd60e51b81526020600482015260136024820152721bdb9b1e4818591b5a5b881b585e4818d85b1b606a1b604482015290519081900360640190fd5b6000826001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b1580156105d457600080fd5b505afa1580156105e8573d6000803e3d6000fd5b505050506040513d60208110156105fe57600080fd5b50516001600160a01b0381166000818152600160209081526040918290205482519384529083015281810185905260608201859052519192507fdd71a1d19fcba687442a1d5c58578f1e409af71a79d10fd95a4d66efd8fa9ae7919081900360800190a16001600160a01b031660009081526001602052604090205550565b600060026000836040516020018082805190602001908083835b602083106106b65780518252601f199092019160209182019101610697565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120815260200190815260200160002060009054906101000a90046001600160a01b031690505b919050565b6001600160a01b031660009081526001602052604090205490565b600181565b6000546001600160a01b03163314610790576040805162461bcd60e51b81526020600482015260136024820152721bdb9b1e4818591b5a5b881b585e4818d85b1b606a1b604482015290519081900360640190fd5b600080546001600160a01b038381166001600160a01b0319831681179093556040805191909216808252602082019390935281517ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc929181900390910190a15050565b6000546001600160a01b031681565b60006060826001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561083f57600080fd5b505afa158015610853573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561087c57600080fd5b8101908080516040519392919084600160201b82111561089b57600080fd5b9083019060208201858111156108b057600080fd5b8251600160201b8111828201881017156108c957600080fd5b82525081516020918201929091019080838360005b838110156108f65781810151838201526020016108de565b50505050905090810190601f1680156109235780820380516001836020036101000a031916815260200191505b50604052505050905061095481604051806040016040528060068152602001650e2d282ac82b60d31b81525061097b565b156109725761096a6109658261067d565b610a63565b915050610716565b61096a83610bcd565b6000816040516020018082805190602001908083835b602083106109b05780518252601f199092019160209182019101610991565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120836040516020018082805190602001908083835b60208310610a1e5780518252601f1990920191602091820191016109ff565b6001836020036101000a038019825116818451168082178552505050505050905001915050604051602081830303815290604052805190602001201490505b92915050565b600080610adf836001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa257600080fd5b505afa158015610ab6573d6000803e3d6000fd5b505050506040513d6020811015610acc57600080fd5b505160129060ff1663ffffffff610e1316565b90508015610b5f5761096a81600a0a846001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b2757600080fd5b505afa158015610b3b573d6000803e3d6000fd5b505050506040513d6020811015610b5157600080fd5b50519063ffffffff610e5c16565b826001600160a01b03166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610b9857600080fd5b505afa158015610bac573d6000803e3d6000fd5b505050506040513d6020811015610bc257600080fd5b505191506107169050565b600080826001600160a01b0316636f307dc36040518163ffffffff1660e01b815260040160206040518083038186803b158015610c0957600080fd5b505afa158015610c1d573d6000803e3d6000fd5b505050506040513d6020811015610c3357600080fd5b50516001600160a01b03811660009081526001602052604090205490915015610c76576001600160a01b0381166000908152600160205260409020549150610da8565b610da5610965826001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b158015610cb557600080fd5b505afa158015610cc9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526020811015610cf257600080fd5b8101908080516040519392919084600160201b821115610d1157600080fd5b908301906020820185811115610d2657600080fd5b8251600160201b811182820188101715610d3f57600080fd5b82525081516020918201929091019080838360005b83811015610d6c578181015183820152602001610d54565b50505050905090810190601f168015610d995780820380516001836020036101000a031916815260200191505b5060405250505061067d565b91505b6000610de6826001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610aa257600080fd5b90508015610e0b57610e0283600a83900a63ffffffff610e5c16565b92505050610716565b506107169050565b6000610e5583836040518060400160405280601f81526020017f536166654d6174683a207375627472616374696f6e20756e646572666c6f7700815250610eb5565b9392505050565b600082610e6b57506000610a5d565b82820282848281610e7857fe5b0414610e555760405162461bcd60e51b8152600401808060200182810382526021815260200180610f4d6021913960400191505060405180910390fd5b60008184841115610f445760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610f09578181015183820152602001610ef1565b50505050905090810190601f168015610f365780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a265627a7a723158203769d2beeac82e230deb25e8f851e51c42197747544ec32ccf5247d38f12ce4164736f6c63430005110032";
259
-
260
- type BenqiChainlinkOracleConstructorParams =
261
- | [signer?: Signer]
262
- | ConstructorParameters<typeof ContractFactory>;
263
-
264
- const isSuperArgs = (
265
- xs: BenqiChainlinkOracleConstructorParams
266
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
267
-
268
- export class BenqiChainlinkOracle__factory extends ContractFactory {
269
- constructor(...args: BenqiChainlinkOracleConstructorParams) {
270
- if (isSuperArgs(args)) {
271
- super(...args);
272
- } else {
273
- super(_abi, _bytecode, args[0]);
274
- }
275
- this.contractName = "BenqiChainlinkOracle";
276
- }
277
-
278
- deploy(
279
- overrides?: Overrides & { from?: string | Promise<string> }
280
- ): Promise<BenqiChainlinkOracle> {
281
- return super.deploy(overrides || {}) as Promise<BenqiChainlinkOracle>;
282
- }
283
- getDeployTransaction(
284
- overrides?: Overrides & { from?: string | Promise<string> }
285
- ): TransactionRequest {
286
- return super.getDeployTransaction(overrides || {});
287
- }
288
- attach(address: string): BenqiChainlinkOracle {
289
- return super.attach(address) as BenqiChainlinkOracle;
290
- }
291
- connect(signer: Signer): BenqiChainlinkOracle__factory {
292
- return super.connect(signer) as BenqiChainlinkOracle__factory;
293
- }
294
- static readonly contractName: "BenqiChainlinkOracle";
295
- public readonly contractName: "BenqiChainlinkOracle";
296
- static readonly bytecode = _bytecode;
297
- static readonly abi = _abi;
298
- static createInterface(): BenqiChainlinkOracleInterface {
299
- return new utils.Interface(_abi) as BenqiChainlinkOracleInterface;
300
- }
301
- static connect(
302
- address: string,
303
- signerOrProvider: Signer | Provider
304
- ): BenqiChainlinkOracle {
305
- return new Contract(
306
- address,
307
- _abi,
308
- signerOrProvider
309
- ) as BenqiChainlinkOracle;
310
- }
311
- }
@@ -1,90 +0,0 @@
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
- BoringOwnableData,
8
- BoringOwnableDataInterface,
9
- } from "../BoringOwnableData";
10
-
11
- const _abi = [
12
- {
13
- inputs: [],
14
- name: "owner",
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: "pendingOwner",
28
- outputs: [
29
- {
30
- internalType: "address",
31
- name: "",
32
- type: "address",
33
- },
34
- ],
35
- stateMutability: "view",
36
- type: "function",
37
- },
38
- ];
39
-
40
- const _bytecode =
41
- "0x6080604052348015600f57600080fd5b5060ad8061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80638da5cb5b146037578063e30c3978146065575b600080fd5b6000546049906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6001546049906001600160a01b03168156fea26469706673582212204a433f308b4838f186f6aafcee6997934ca484bb390b219ad75e9aa5e49beab964736f6c63430008090033";
42
-
43
- type BoringOwnableDataConstructorParams =
44
- | [signer?: Signer]
45
- | ConstructorParameters<typeof ContractFactory>;
46
-
47
- const isSuperArgs = (
48
- xs: BoringOwnableDataConstructorParams
49
- ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
50
-
51
- export class BoringOwnableData__factory extends ContractFactory {
52
- constructor(...args: BoringOwnableDataConstructorParams) {
53
- if (isSuperArgs(args)) {
54
- super(...args);
55
- } else {
56
- super(_abi, _bytecode, args[0]);
57
- }
58
- this.contractName = "BoringOwnableData";
59
- }
60
-
61
- deploy(
62
- overrides?: Overrides & { from?: string | Promise<string> }
63
- ): Promise<BoringOwnableData> {
64
- return super.deploy(overrides || {}) as Promise<BoringOwnableData>;
65
- }
66
- getDeployTransaction(
67
- overrides?: Overrides & { from?: string | Promise<string> }
68
- ): TransactionRequest {
69
- return super.getDeployTransaction(overrides || {});
70
- }
71
- attach(address: string): BoringOwnableData {
72
- return super.attach(address) as BoringOwnableData;
73
- }
74
- connect(signer: Signer): BoringOwnableData__factory {
75
- return super.connect(signer) as BoringOwnableData__factory;
76
- }
77
- static readonly contractName: "BoringOwnableData";
78
- public readonly contractName: "BoringOwnableData";
79
- static readonly bytecode = _bytecode;
80
- static readonly abi = _abi;
81
- static createInterface(): BoringOwnableDataInterface {
82
- return new utils.Interface(_abi) as BoringOwnableDataInterface;
83
- }
84
- static connect(
85
- address: string,
86
- signerOrProvider: Signer | Provider
87
- ): BoringOwnableData {
88
- return new Contract(address, _abi, signerOrProvider) as BoringOwnableData;
89
- }
90
- }