@pendle/core-v2 0.6.8 → 0.6.9

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 (265) hide show
  1. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPGauge.dbg.json +4 -0
  2. package/build/artifacts/contracts/interfaces/IPGauge.sol/{IPendleGauge.json → IPGauge.json} +1 -1
  3. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IPVeToken.dbg.json +4 -0
  4. package/build/artifacts/contracts/interfaces/IPVeToken.sol/{IVePToken.json → IPVeToken.json} +1 -1
  5. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IPVotingEscrow.dbg.json +4 -0
  6. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/{IVotingEscrowPendle.json → IPVotingEscrow.json} +1 -1
  7. package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/IPVotingEscrowController.dbg.json +4 -0
  8. package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/{VotingEscrowController.json → IPVotingEscrowController.json} +1 -1
  9. package/build/artifacts/contracts/interfaces/IVePToken.sol/IVePToken.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/IVotingEscrowPendle.sol/IVotingEscrowPendle.dbg.json +1 -1
  11. package/contracts/interfaces/IPGauge.sol +1 -1
  12. package/contracts/interfaces/IPVeToken.sol +1 -1
  13. package/contracts/interfaces/IPVotingEscrow.sol +2 -2
  14. package/contracts/interfaces/IPVotingEscrowController.sol +1 -1
  15. package/package.json +1 -1
  16. package/typechain-types/ActionSCYAndYOBase.ts +223 -0
  17. package/typechain-types/AggregatorV2V3Interface.ts +380 -0
  18. package/typechain-types/BenqiChainlinkOracle.ts +362 -0
  19. package/typechain-types/BoringOwnable.ts +194 -0
  20. package/typechain-types/BoringOwnableData.ts +100 -0
  21. package/typechain-types/BoringOwnableUpg.ts +194 -0
  22. package/typechain-types/BoringOwnableUpgData.ts +100 -0
  23. package/typechain-types/Comptroller.ts +2860 -0
  24. package/typechain-types/ComptrollerErrorReporter.ts +70 -0
  25. package/typechain-types/ComptrollerInterface.ts +881 -0
  26. package/typechain-types/ComptrollerVXStorage.ts +781 -0
  27. package/typechain-types/CrosschainContract.ts +113 -0
  28. package/typechain-types/CrosschainReceiver.ts +347 -0
  29. package/typechain-types/CrosschainSender.ts +210 -0
  30. package/typechain-types/EIP20Interface.ts +337 -0
  31. package/typechain-types/EIP20NonStandardInterface.ts +298 -0
  32. package/typechain-types/ERC20Burnable.ts +473 -0
  33. package/typechain-types/ERC20Locker.ts +91 -0
  34. package/typechain-types/ERC20Premined.ts +473 -0
  35. package/typechain-types/ERC20PresetFixedSupply.ts +473 -0
  36. package/typechain-types/EpochController.ts +195 -0
  37. package/typechain-types/FundKeeper.ts +347 -0
  38. package/typechain-types/GaugeTypeControllerAbstract.ts +546 -0
  39. package/typechain-types/GaugeTypeControllerCrosschain.ts +733 -0
  40. package/typechain-types/GaugeTypeControllerMainchain.ts +604 -0
  41. package/typechain-types/IGaugeController.ts +99 -0
  42. package/typechain-types/ILiquidYieldToken.ts +639 -0
  43. package/typechain-types/ILiquidYieldTokenWrap.ts +790 -0
  44. package/typechain-types/IMessageBus.ts +543 -0
  45. package/typechain-types/IMessageReceiverApp.ts +110 -0
  46. package/typechain-types/IPFlashCallback.ts +115 -0
  47. package/typechain-types/IPGauge.ts +241 -0
  48. package/typechain-types/IPLiquidYieldToken.ts +641 -0
  49. package/typechain-types/IPMarketCallback.ts +107 -0
  50. package/typechain-types/IPOwnershipToken.ts +488 -0
  51. package/typechain-types/IPRouterCore.ts +769 -0
  52. package/typechain-types/IPRouterRedeem.ts +155 -0
  53. package/typechain-types/IPRouterYT.ts +489 -0
  54. package/typechain-types/IPVeToken.ts +103 -0
  55. package/typechain-types/IPVotingEscrow.ts +297 -0
  56. package/typechain-types/IPVotingEscrowController.ts +154 -0
  57. package/typechain-types/IPermissionsV2.ts +87 -0
  58. package/typechain-types/IRainbowBridge.ts +91 -0
  59. package/typechain-types/ISCYRewardIndex.ts +695 -0
  60. package/typechain-types/IVEPendleToken.ts +121 -0
  61. package/typechain-types/IXPendle.ts +114 -0
  62. package/typechain-types/InterestRateModel.ts +178 -0
  63. package/typechain-types/JumpRateModel.ts +347 -0
  64. package/typechain-types/LYTBase.ts +721 -0
  65. package/typechain-types/LYTBaseWithRewards.ts +806 -0
  66. package/typechain-types/LYTWrap.ts +872 -0
  67. package/typechain-types/LYTWrapWithRewards.ts +979 -0
  68. package/typechain-types/LiquidityMining.ts +468 -0
  69. package/typechain-types/Maximillion.ts +145 -0
  70. package/typechain-types/Ownable.ts +160 -0
  71. package/typechain-types/PendleAaveV3LYT.ts +808 -0
  72. package/typechain-types/PendleBenQiErc20LYT.ts +901 -0
  73. package/typechain-types/PendleBenqiLiquidYieldToken.ts +1013 -0
  74. package/typechain-types/PendleBtrflyLYT.ts +781 -0
  75. package/typechain-types/PendleGauge.ts +469 -0
  76. package/typechain-types/PendleJoeSwapHelper.ts +92 -0
  77. package/typechain-types/PendleLYTMockYT.ts +894 -0
  78. package/typechain-types/PendleLiquidYieldToken.ts +814 -0
  79. package/typechain-types/PendleLiquidYieldTokenBase.ts +941 -0
  80. package/typechain-types/PendleOwnershipToken.ts +598 -0
  81. package/typechain-types/PendleRouter01.ts +184 -0
  82. package/typechain-types/PendleRouter02.ts +564 -0
  83. package/typechain-types/PendleRouter03.ts +224 -0
  84. package/typechain-types/PendleRouterBase.ts +126 -0
  85. package/typechain-types/PendleRouterCore.ts +328 -0
  86. package/typechain-types/PendleRouterCoreUpg.ts +798 -0
  87. package/typechain-types/PendleRouterLytAndForge.ts +331 -0
  88. package/typechain-types/PendleRouterMarketBase.ts +82 -0
  89. package/typechain-types/PendleRouterOT.ts +463 -0
  90. package/typechain-types/PendleRouterProxy.ts +335 -0
  91. package/typechain-types/PendleRouterRawTokenOT.ts +865 -0
  92. package/typechain-types/PendleRouterRawTokenYT.ts +520 -0
  93. package/typechain-types/PendleRouterRedeemUpg.ts +125 -0
  94. package/typechain-types/PendleRouterSCYAndForgeBaseUpg.ts +98 -0
  95. package/typechain-types/PendleRouterStaticUpg.ts +399 -0
  96. package/typechain-types/PendleRouterYT.ts +227 -0
  97. package/typechain-types/PendleRouterYTBaseUpg.ts +134 -0
  98. package/typechain-types/PendleRouterYTUpg.ts +537 -0
  99. package/typechain-types/PendleYTLYTBenqi.ts +863 -0
  100. package/typechain-types/PendleYearnVaultLYT.ts +723 -0
  101. package/typechain-types/PermissionsV2.ts +87 -0
  102. package/typechain-types/PermlessAbstract.ts +57 -0
  103. package/typechain-types/PglStakingContract.ts +662 -0
  104. package/typechain-types/PglStakingContractProxy.ts +256 -0
  105. package/typechain-types/PglStakingContractProxyStorage.ts +136 -0
  106. package/typechain-types/PglStakingContractStorage.ts +397 -0
  107. package/typechain-types/PriceOracle.ts +116 -0
  108. package/typechain-types/ProtocolFakeUser.ts +105 -0
  109. package/typechain-types/Qi.ts +760 -0
  110. package/typechain-types/QiAvax.ts +1720 -0
  111. package/typechain-types/QiDelegateInterface.ts +145 -0
  112. package/typechain-types/QiDelegationStorage.ts +82 -0
  113. package/typechain-types/QiDelegatorInterface.ts +149 -0
  114. package/typechain-types/QiErc20.ts +1846 -0
  115. package/typechain-types/QiErc20Delegate.ts +1926 -0
  116. package/typechain-types/QiErc20Delegator.ts +1885 -0
  117. package/typechain-types/QiErc20Interface.ts +382 -0
  118. package/typechain-types/QiErc20Storage.ts +79 -0
  119. package/typechain-types/QiToken.ts +1475 -0
  120. package/typechain-types/QiTokenInterface.ts +1419 -0
  121. package/typechain-types/QiTokenSaleDistributor.ts +771 -0
  122. package/typechain-types/QiTokenSaleDistributorProxy.ts +256 -0
  123. package/typechain-types/QiTokenSaleDistributorProxyStorage.ts +136 -0
  124. package/typechain-types/QiTokenSaleDistributorStorage.ts +401 -0
  125. package/typechain-types/QiTokenStorage.ts +311 -0
  126. package/typechain-types/ReentrancyGuard.ts +52 -0
  127. package/typechain-types/SingleGaugeTypeController.ts +478 -0
  128. package/typechain-types/TokenErrorReporter.ts +70 -0
  129. package/typechain-types/Unitroller.ts +356 -0
  130. package/typechain-types/UnitrollerAdminStorage.ts +143 -0
  131. package/typechain-types/VePendle.ts +1156 -0
  132. package/typechain-types/VePendleCrosschain.ts +969 -0
  133. package/typechain-types/VePendleToken.ts +688 -0
  134. package/typechain-types/VotingController.ts +883 -0
  135. package/typechain-types/WETH9.ts +414 -0
  136. package/typechain-types/WhitePaperInterestRateModel.ts +304 -0
  137. package/typechain-types/XPendle.ts +618 -0
  138. package/typechain-types/factories/ActionSCYAndYOBase__factory.ts +200 -0
  139. package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +288 -0
  140. package/typechain-types/factories/BenqiChainlinkOracle__factory.ts +311 -0
  141. package/typechain-types/factories/BoringOwnableData__factory.ts +90 -0
  142. package/typechain-types/factories/BoringOwnableUpgData__factory.ts +94 -0
  143. package/typechain-types/factories/BoringOwnableUpg__factory.ts +139 -0
  144. package/typechain-types/factories/BoringOwnable__factory.ts +149 -0
  145. package/typechain-types/factories/ComptrollerErrorReporter__factory.ts +93 -0
  146. package/typechain-types/factories/ComptrollerInterface__factory.ts +595 -0
  147. package/typechain-types/factories/ComptrollerVXStorage__factory.ts +610 -0
  148. package/typechain-types/factories/Comptroller__factory.ts +2189 -0
  149. package/typechain-types/factories/CrosschainContract__factory.ts +52 -0
  150. package/typechain-types/factories/CrosschainReceiver__factory.ts +187 -0
  151. package/typechain-types/factories/CrosschainSender__factory.ts +104 -0
  152. package/typechain-types/factories/EIP20Interface__factory.ts +248 -0
  153. package/typechain-types/factories/EIP20NonStandardInterface__factory.ts +213 -0
  154. package/typechain-types/factories/ERC20Burnable__factory.ts +324 -0
  155. package/typechain-types/factories/ERC20Locker__factory.ts +73 -0
  156. package/typechain-types/factories/ERC20Premined__factory.ts +393 -0
  157. package/typechain-types/factories/ERC20PresetFixedSupply__factory.ts +422 -0
  158. package/typechain-types/factories/EpochController__factory.ts +170 -0
  159. package/typechain-types/factories/FundKeeper__factory.ts +212 -0
  160. package/typechain-types/factories/GaugeTypeControllerAbstract__factory.ts +387 -0
  161. package/typechain-types/factories/GaugeTypeControllerCrosschain__factory.ts +522 -0
  162. package/typechain-types/factories/GaugeTypeControllerMainchain__factory.ts +431 -0
  163. package/typechain-types/factories/IGaugeController__factory.ts +45 -0
  164. package/typechain-types/factories/ILiquidYieldTokenWrap__factory.ts +533 -0
  165. package/typechain-types/factories/ILiquidYieldToken__factory.ts +429 -0
  166. package/typechain-types/factories/IMessageBus__factory.ts +396 -0
  167. package/typechain-types/factories/IMessageReceiverApp__factory.ts +55 -0
  168. package/typechain-types/factories/IPFlashCallback__factory.ts +49 -0
  169. package/typechain-types/factories/IPGauge__factory.ts +125 -0
  170. package/typechain-types/factories/IPLiquidYieldToken__factory.ts +433 -0
  171. package/typechain-types/factories/IPMarketCallback__factory.ts +55 -0
  172. package/typechain-types/factories/IPOwnershipToken__factory.ts +349 -0
  173. package/typechain-types/factories/IPRouterCore__factory.ts +531 -0
  174. package/typechain-types/factories/IPRouterRedeem__factory.ts +72 -0
  175. package/typechain-types/factories/IPRouterYT__factory.ts +305 -0
  176. package/typechain-types/factories/IPVeToken__factory.ts +55 -0
  177. package/typechain-types/factories/IPVotingEscrowController__factory.ts +80 -0
  178. package/typechain-types/factories/IPVotingEscrow__factory.ts +182 -0
  179. package/typechain-types/factories/IPermissionsV2__factory.ts +39 -0
  180. package/typechain-types/factories/IRainbowBridge__factory.ts +76 -0
  181. package/typechain-types/factories/ISCYRewardIndex__factory.ts +465 -0
  182. package/typechain-types/factories/IVEPendleToken__factory.ts +71 -0
  183. package/typechain-types/factories/IXPendle__factory.ts +61 -0
  184. package/typechain-types/factories/InterestRateModel__factory.ts +108 -0
  185. package/typechain-types/factories/JumpRateModel__factory.ts +334 -0
  186. package/typechain-types/factories/LYTBaseWithRewards__factory.ts +530 -0
  187. package/typechain-types/factories/LYTBase__factory.ts +474 -0
  188. package/typechain-types/factories/LYTWrapWithRewards__factory.ts +643 -0
  189. package/typechain-types/factories/LYTWrap__factory.ts +574 -0
  190. package/typechain-types/factories/LiquidityMining__factory.ts +367 -0
  191. package/typechain-types/factories/Maximillion__factory.ts +125 -0
  192. package/typechain-types/factories/Ownable__factory.ts +75 -0
  193. package/typechain-types/factories/PendleAaveV3LYT__factory.ts +657 -0
  194. package/typechain-types/factories/PendleBenQiErc20LYT__factory.ts +748 -0
  195. package/typechain-types/factories/PendleBenqiLiquidYieldToken__factory.ts +785 -0
  196. package/typechain-types/factories/PendleBtrflyLYT__factory.ts +647 -0
  197. package/typechain-types/factories/PendleGauge__factory.ts +383 -0
  198. package/typechain-types/factories/PendleJoeSwapHelper__factory.ts +52 -0
  199. package/typechain-types/factories/PendleLYTMockYT__factory.ts +732 -0
  200. package/typechain-types/factories/PendleLiquidYieldTokenBase__factory.ts +603 -0
  201. package/typechain-types/factories/PendleLiquidYieldToken__factory.ts +510 -0
  202. package/typechain-types/factories/PendleOwnershipToken__factory.ts +527 -0
  203. package/typechain-types/factories/PendleRouter01__factory.ts +152 -0
  204. package/typechain-types/factories/PendleRouter02__factory.ts +438 -0
  205. package/typechain-types/factories/PendleRouter03__factory.ts +190 -0
  206. package/typechain-types/factories/PendleRouterBase__factory.ts +68 -0
  207. package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +635 -0
  208. package/typechain-types/factories/PendleRouterCore__factory.ts +268 -0
  209. package/typechain-types/factories/PendleRouterLytAndForge__factory.ts +294 -0
  210. package/typechain-types/factories/PendleRouterMarketBase__factory.ts +43 -0
  211. package/typechain-types/factories/PendleRouterOT__factory.ts +372 -0
  212. package/typechain-types/factories/PendleRouterProxy__factory.ts +285 -0
  213. package/typechain-types/factories/PendleRouterRawTokenOT__factory.ts +697 -0
  214. package/typechain-types/factories/PendleRouterRawTokenYT__factory.ts +431 -0
  215. package/typechain-types/factories/PendleRouterRedeemUpg__factory.ts +112 -0
  216. package/typechain-types/factories/PendleRouterSCYAndForgeBaseUpg__factory.ts +56 -0
  217. package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +315 -0
  218. package/typechain-types/factories/PendleRouterYTBaseUpg__factory.ts +66 -0
  219. package/typechain-types/factories/PendleRouterYTUpg__factory.ts +422 -0
  220. package/typechain-types/factories/PendleRouterYT__factory.ts +184 -0
  221. package/typechain-types/factories/PendleYTLYTBenqi__factory.ts +713 -0
  222. package/typechain-types/factories/PendleYearnVaultLYT__factory.ts +586 -0
  223. package/typechain-types/factories/PermissionsV2__factory.ts +36 -0
  224. package/typechain-types/factories/PermlessAbstract__factory.ts +30 -0
  225. package/typechain-types/factories/PglStakingContractProxyStorage__factory.ts +130 -0
  226. package/typechain-types/factories/PglStakingContractProxy__factory.ts +187 -0
  227. package/typechain-types/factories/PglStakingContractStorage__factory.ts +309 -0
  228. package/typechain-types/factories/PglStakingContract__factory.ts +446 -0
  229. package/typechain-types/factories/PriceOracle__factory.ts +59 -0
  230. package/typechain-types/factories/ProtocolFakeUser__factory.ts +87 -0
  231. package/typechain-types/factories/QiAvax__factory.ts +1471 -0
  232. package/typechain-types/factories/QiDelegateInterface__factory.ts +65 -0
  233. package/typechain-types/factories/QiDelegationStorage__factory.ts +79 -0
  234. package/typechain-types/factories/QiDelegatorInterface__factory.ts +89 -0
  235. package/typechain-types/factories/QiErc20Delegate__factory.ts +1563 -0
  236. package/typechain-types/factories/QiErc20Delegator__factory.ts +1648 -0
  237. package/typechain-types/factories/QiErc20Interface__factory.ts +239 -0
  238. package/typechain-types/factories/QiErc20Storage__factory.ts +79 -0
  239. package/typechain-types/factories/QiErc20__factory.ts +1515 -0
  240. package/typechain-types/factories/QiTokenInterface__factory.ts +1182 -0
  241. package/typechain-types/factories/QiTokenSaleDistributorProxyStorage__factory.ts +124 -0
  242. package/typechain-types/factories/QiTokenSaleDistributorProxy__factory.ts +171 -0
  243. package/typechain-types/factories/QiTokenSaleDistributorStorage__factory.ts +289 -0
  244. package/typechain-types/factories/QiTokenSaleDistributor__factory.ts +480 -0
  245. package/typechain-types/factories/QiTokenStorage__factory.ts +274 -0
  246. package/typechain-types/factories/QiToken__factory.ts +1219 -0
  247. package/typechain-types/factories/Qi__factory.ts +648 -0
  248. package/typechain-types/factories/ReentrancyGuard__factory.ts +69 -0
  249. package/typechain-types/factories/SingleGaugeTypeController__factory.ts +341 -0
  250. package/typechain-types/factories/TokenErrorReporter__factory.ts +89 -0
  251. package/typechain-types/factories/UnitrollerAdminStorage__factory.ts +128 -0
  252. package/typechain-types/factories/Unitroller__factory.ts +305 -0
  253. package/typechain-types/factories/VePendleCrosschain__factory.ts +727 -0
  254. package/typechain-types/factories/VePendleToken__factory.ts +494 -0
  255. package/typechain-types/factories/VePendle__factory.ts +800 -0
  256. package/typechain-types/factories/VotingController__factory.ts +610 -0
  257. package/typechain-types/factories/WETH9__factory.ts +342 -0
  258. package/typechain-types/factories/WhitePaperInterestRateModel__factory.ts +281 -0
  259. package/typechain-types/factories/XPendle__factory.ts +473 -0
  260. package/typechain-types/hardhat.d.ts +52 -16
  261. package/typechain-types/index.ts +22 -6
  262. package/build/artifacts/contracts/interfaces/IPGauge.sol/IPendleGauge.dbg.json +0 -4
  263. package/build/artifacts/contracts/interfaces/IPVeToken.sol/IVePToken.dbg.json +0 -4
  264. package/build/artifacts/contracts/interfaces/IPVotingEscrow.sol/IVotingEscrowPendle.dbg.json +0 -4
  265. package/build/artifacts/contracts/interfaces/IPVotingEscrowController.sol/VotingEscrowController.dbg.json +0 -4
@@ -0,0 +1,603 @@
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
+ PendleLiquidYieldTokenBase,
9
+ PendleLiquidYieldTokenBaseInterface,
10
+ } from "../PendleLiquidYieldTokenBase";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: true,
18
+ internalType: "address",
19
+ name: "owner",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: true,
24
+ internalType: "address",
25
+ name: "spender",
26
+ type: "address",
27
+ },
28
+ {
29
+ indexed: false,
30
+ internalType: "uint256",
31
+ name: "value",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "Approval",
36
+ type: "event",
37
+ },
38
+ {
39
+ anonymous: false,
40
+ inputs: [
41
+ {
42
+ indexed: true,
43
+ internalType: "address",
44
+ name: "from",
45
+ type: "address",
46
+ },
47
+ {
48
+ indexed: true,
49
+ internalType: "address",
50
+ name: "to",
51
+ type: "address",
52
+ },
53
+ {
54
+ indexed: false,
55
+ internalType: "uint256",
56
+ name: "value",
57
+ type: "uint256",
58
+ },
59
+ ],
60
+ name: "Transfer",
61
+ type: "event",
62
+ },
63
+ {
64
+ inputs: [
65
+ {
66
+ internalType: "address",
67
+ name: "owner",
68
+ type: "address",
69
+ },
70
+ {
71
+ internalType: "address",
72
+ name: "spender",
73
+ type: "address",
74
+ },
75
+ ],
76
+ name: "allowance",
77
+ outputs: [
78
+ {
79
+ internalType: "uint256",
80
+ name: "",
81
+ type: "uint256",
82
+ },
83
+ ],
84
+ stateMutability: "view",
85
+ type: "function",
86
+ },
87
+ {
88
+ inputs: [
89
+ {
90
+ internalType: "address",
91
+ name: "spender",
92
+ type: "address",
93
+ },
94
+ {
95
+ internalType: "uint256",
96
+ name: "amount",
97
+ type: "uint256",
98
+ },
99
+ ],
100
+ name: "approve",
101
+ outputs: [
102
+ {
103
+ internalType: "bool",
104
+ name: "",
105
+ type: "bool",
106
+ },
107
+ ],
108
+ stateMutability: "nonpayable",
109
+ type: "function",
110
+ },
111
+ {
112
+ inputs: [
113
+ {
114
+ internalType: "address",
115
+ name: "account",
116
+ type: "address",
117
+ },
118
+ ],
119
+ name: "balanceOf",
120
+ outputs: [
121
+ {
122
+ internalType: "uint256",
123
+ name: "",
124
+ type: "uint256",
125
+ },
126
+ ],
127
+ stateMutability: "view",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [
132
+ {
133
+ internalType: "address",
134
+ name: "account",
135
+ type: "address",
136
+ },
137
+ ],
138
+ name: "baseBalanceOf",
139
+ outputs: [
140
+ {
141
+ internalType: "uint256",
142
+ name: "",
143
+ type: "uint256",
144
+ },
145
+ ],
146
+ stateMutability: "nonpayable",
147
+ type: "function",
148
+ },
149
+ {
150
+ inputs: [
151
+ {
152
+ internalType: "address",
153
+ name: "to",
154
+ type: "address",
155
+ },
156
+ {
157
+ internalType: "uint256",
158
+ name: "amount",
159
+ type: "uint256",
160
+ },
161
+ ],
162
+ name: "burn",
163
+ outputs: [],
164
+ stateMutability: "nonpayable",
165
+ type: "function",
166
+ },
167
+ {
168
+ inputs: [
169
+ {
170
+ internalType: "address",
171
+ name: "to",
172
+ type: "address",
173
+ },
174
+ {
175
+ internalType: "address",
176
+ name: "token",
177
+ type: "address",
178
+ },
179
+ {
180
+ internalType: "uint256",
181
+ name: "amount",
182
+ type: "uint256",
183
+ },
184
+ {
185
+ internalType: "uint256",
186
+ name: "minAmountTokenOut",
187
+ type: "uint256",
188
+ },
189
+ {
190
+ internalType: "bytes",
191
+ name: "data",
192
+ type: "bytes",
193
+ },
194
+ ],
195
+ name: "burnToBaseToken",
196
+ outputs: [
197
+ {
198
+ internalType: "uint256",
199
+ name: "amountTokenOut",
200
+ type: "uint256",
201
+ },
202
+ ],
203
+ stateMutability: "nonpayable",
204
+ type: "function",
205
+ },
206
+ {
207
+ inputs: [],
208
+ name: "decimals",
209
+ outputs: [
210
+ {
211
+ internalType: "uint8",
212
+ name: "",
213
+ type: "uint8",
214
+ },
215
+ ],
216
+ stateMutability: "view",
217
+ type: "function",
218
+ },
219
+ {
220
+ inputs: [
221
+ {
222
+ internalType: "address",
223
+ name: "spender",
224
+ type: "address",
225
+ },
226
+ {
227
+ internalType: "uint256",
228
+ name: "subtractedValue",
229
+ type: "uint256",
230
+ },
231
+ ],
232
+ name: "decreaseAllowance",
233
+ outputs: [
234
+ {
235
+ internalType: "bool",
236
+ name: "",
237
+ type: "bool",
238
+ },
239
+ ],
240
+ stateMutability: "nonpayable",
241
+ type: "function",
242
+ },
243
+ {
244
+ inputs: [],
245
+ name: "exchangeRateCurrent",
246
+ outputs: [
247
+ {
248
+ internalType: "uint256",
249
+ name: "",
250
+ type: "uint256",
251
+ },
252
+ ],
253
+ stateMutability: "nonpayable",
254
+ type: "function",
255
+ },
256
+ {
257
+ inputs: [],
258
+ name: "exchangeRateStored",
259
+ outputs: [
260
+ {
261
+ internalType: "uint256",
262
+ name: "",
263
+ type: "uint256",
264
+ },
265
+ ],
266
+ stateMutability: "view",
267
+ type: "function",
268
+ },
269
+ {
270
+ inputs: [],
271
+ name: "getRewardTokens",
272
+ outputs: [
273
+ {
274
+ internalType: "address[]",
275
+ name: "res",
276
+ type: "address[]",
277
+ },
278
+ ],
279
+ stateMutability: "view",
280
+ type: "function",
281
+ },
282
+ {
283
+ inputs: [
284
+ {
285
+ internalType: "uint256",
286
+ name: "",
287
+ type: "uint256",
288
+ },
289
+ ],
290
+ name: "globalReward",
291
+ outputs: [
292
+ {
293
+ internalType: "uint256",
294
+ name: "index",
295
+ type: "uint256",
296
+ },
297
+ {
298
+ internalType: "uint256",
299
+ name: "lastBalance",
300
+ type: "uint256",
301
+ },
302
+ ],
303
+ stateMutability: "view",
304
+ type: "function",
305
+ },
306
+ {
307
+ inputs: [
308
+ {
309
+ internalType: "address",
310
+ name: "spender",
311
+ type: "address",
312
+ },
313
+ {
314
+ internalType: "uint256",
315
+ name: "addedValue",
316
+ type: "uint256",
317
+ },
318
+ ],
319
+ name: "increaseAllowance",
320
+ outputs: [
321
+ {
322
+ internalType: "bool",
323
+ name: "",
324
+ type: "bool",
325
+ },
326
+ ],
327
+ stateMutability: "nonpayable",
328
+ type: "function",
329
+ },
330
+ {
331
+ inputs: [
332
+ {
333
+ internalType: "address",
334
+ name: "to",
335
+ type: "address",
336
+ },
337
+ {
338
+ internalType: "uint256",
339
+ name: "amount",
340
+ type: "uint256",
341
+ },
342
+ ],
343
+ name: "mint",
344
+ outputs: [],
345
+ stateMutability: "nonpayable",
346
+ type: "function",
347
+ },
348
+ {
349
+ inputs: [
350
+ {
351
+ internalType: "address",
352
+ name: "to",
353
+ type: "address",
354
+ },
355
+ {
356
+ internalType: "address",
357
+ name: "token",
358
+ type: "address",
359
+ },
360
+ {
361
+ internalType: "uint256",
362
+ name: "amount",
363
+ type: "uint256",
364
+ },
365
+ {
366
+ internalType: "uint256",
367
+ name: "minAmountLYTOut",
368
+ type: "uint256",
369
+ },
370
+ {
371
+ internalType: "bytes",
372
+ name: "data",
373
+ type: "bytes",
374
+ },
375
+ ],
376
+ name: "mintFromBaseToken",
377
+ outputs: [
378
+ {
379
+ internalType: "uint256",
380
+ name: "amountLYTOut",
381
+ type: "uint256",
382
+ },
383
+ ],
384
+ stateMutability: "nonpayable",
385
+ type: "function",
386
+ },
387
+ {
388
+ inputs: [],
389
+ name: "name",
390
+ outputs: [
391
+ {
392
+ internalType: "string",
393
+ name: "",
394
+ type: "string",
395
+ },
396
+ ],
397
+ stateMutability: "view",
398
+ type: "function",
399
+ },
400
+ {
401
+ inputs: [],
402
+ name: "redeemReward",
403
+ outputs: [
404
+ {
405
+ internalType: "uint256[]",
406
+ name: "outAmounts",
407
+ type: "uint256[]",
408
+ },
409
+ ],
410
+ stateMutability: "nonpayable",
411
+ type: "function",
412
+ },
413
+ {
414
+ inputs: [
415
+ {
416
+ internalType: "uint256",
417
+ name: "",
418
+ type: "uint256",
419
+ },
420
+ ],
421
+ name: "rewardTokens",
422
+ outputs: [
423
+ {
424
+ internalType: "address",
425
+ name: "",
426
+ type: "address",
427
+ },
428
+ ],
429
+ stateMutability: "view",
430
+ type: "function",
431
+ },
432
+ {
433
+ inputs: [],
434
+ name: "symbol",
435
+ outputs: [
436
+ {
437
+ internalType: "string",
438
+ name: "",
439
+ type: "string",
440
+ },
441
+ ],
442
+ stateMutability: "view",
443
+ type: "function",
444
+ },
445
+ {
446
+ inputs: [],
447
+ name: "totalSupply",
448
+ outputs: [
449
+ {
450
+ internalType: "uint256",
451
+ name: "",
452
+ type: "uint256",
453
+ },
454
+ ],
455
+ stateMutability: "view",
456
+ type: "function",
457
+ },
458
+ {
459
+ inputs: [
460
+ {
461
+ internalType: "address",
462
+ name: "recipient",
463
+ type: "address",
464
+ },
465
+ {
466
+ internalType: "uint256",
467
+ name: "amount",
468
+ type: "uint256",
469
+ },
470
+ ],
471
+ name: "transfer",
472
+ outputs: [
473
+ {
474
+ internalType: "bool",
475
+ name: "",
476
+ type: "bool",
477
+ },
478
+ ],
479
+ stateMutability: "nonpayable",
480
+ type: "function",
481
+ },
482
+ {
483
+ inputs: [
484
+ {
485
+ internalType: "address",
486
+ name: "sender",
487
+ type: "address",
488
+ },
489
+ {
490
+ internalType: "address",
491
+ name: "recipient",
492
+ type: "address",
493
+ },
494
+ {
495
+ internalType: "uint256",
496
+ name: "amount",
497
+ type: "uint256",
498
+ },
499
+ ],
500
+ name: "transferFrom",
501
+ outputs: [
502
+ {
503
+ internalType: "bool",
504
+ name: "",
505
+ type: "bool",
506
+ },
507
+ ],
508
+ stateMutability: "nonpayable",
509
+ type: "function",
510
+ },
511
+ {
512
+ inputs: [],
513
+ name: "underlyingDecimals",
514
+ outputs: [
515
+ {
516
+ internalType: "uint8",
517
+ name: "",
518
+ type: "uint8",
519
+ },
520
+ ],
521
+ stateMutability: "view",
522
+ type: "function",
523
+ },
524
+ {
525
+ inputs: [],
526
+ name: "underlyingYieldToken",
527
+ outputs: [
528
+ {
529
+ internalType: "address",
530
+ name: "",
531
+ type: "address",
532
+ },
533
+ ],
534
+ stateMutability: "view",
535
+ type: "function",
536
+ },
537
+ {
538
+ inputs: [],
539
+ name: "updateGlobalReward",
540
+ outputs: [],
541
+ stateMutability: "nonpayable",
542
+ type: "function",
543
+ },
544
+ {
545
+ inputs: [
546
+ {
547
+ internalType: "address",
548
+ name: "user",
549
+ type: "address",
550
+ },
551
+ ],
552
+ name: "updateUserReward",
553
+ outputs: [],
554
+ stateMutability: "nonpayable",
555
+ type: "function",
556
+ },
557
+ {
558
+ inputs: [
559
+ {
560
+ internalType: "address",
561
+ name: "",
562
+ type: "address",
563
+ },
564
+ {
565
+ internalType: "uint256",
566
+ name: "",
567
+ type: "uint256",
568
+ },
569
+ ],
570
+ name: "userReward",
571
+ outputs: [
572
+ {
573
+ internalType: "uint256",
574
+ name: "lastIndex",
575
+ type: "uint256",
576
+ },
577
+ {
578
+ internalType: "uint256",
579
+ name: "accuredReward",
580
+ type: "uint256",
581
+ },
582
+ ],
583
+ stateMutability: "view",
584
+ type: "function",
585
+ },
586
+ ];
587
+
588
+ export class PendleLiquidYieldTokenBase__factory {
589
+ static readonly abi = _abi;
590
+ static createInterface(): PendleLiquidYieldTokenBaseInterface {
591
+ return new utils.Interface(_abi) as PendleLiquidYieldTokenBaseInterface;
592
+ }
593
+ static connect(
594
+ address: string,
595
+ signerOrProvider: Signer | Provider
596
+ ): PendleLiquidYieldTokenBase {
597
+ return new Contract(
598
+ address,
599
+ _abi,
600
+ signerOrProvider
601
+ ) as PendleLiquidYieldTokenBase;
602
+ }
603
+ }