@pendle/core-v2 0.6.5 → 0.6.7

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