@pendle/core-v2 5.1.1-beta-2 → 5.2.0-beta-1

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 (168) hide show
  1. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  3. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol/PendleSUSDEMantleSY.dbg.json +1 -1
  5. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol/PendleSUSDEMantleSY.json +2 -2
  6. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEL2SY.sol/PendleUSDEL2SY.dbg.json +1 -1
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEL2SY.sol/PendleUSDEL2SY.json +2 -2
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEBTCSY.sol/PendleEBTCSY.dbg.json +1 -1
  9. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEBTCSY.sol/PendleEBTCSY.json +2 -2
  10. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEEigenSYUpg.sol/PendleEEigenSYUpg.dbg.json +1 -1
  11. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEEigenSYUpg.sol/PendleEEigenSYUpg.json +2 -2
  12. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthkSY.sol/PendleWEEthkSY.dbg.json +1 -1
  13. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthkSY.sol/PendleWEEthkSY.json +2 -2
  14. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthsSY.sol/PendleWEEthsSY.dbg.json +1 -1
  15. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthsSY.sol/PendleWEEthsSY.json +2 -2
  16. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  17. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol/PendleERC20SYUpg.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol/PendleERC20SYUpg.json +2 -2
  19. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  20. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  21. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  22. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  23. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  24. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  25. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  26. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  27. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  28. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  29. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  30. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  31. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  32. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  33. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  34. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.dbg.json +4 -0
  35. package/build/artifacts/contracts/interfaces/IPChainlinkOracle.sol/IPChainlinkOracle.json +122 -0
  36. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.dbg.json +4 -0
  37. package/build/artifacts/contracts/interfaces/IPChainlinkOracleFactory.sol/IPChainlinkOracleFactory.json +91 -0
  38. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.dbg.json +4 -0
  39. package/build/artifacts/contracts/interfaces/IPChainlinkOracleWithQuote.sol/IPChainlinkOracleWithQuote.json +262 -0
  40. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  41. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  42. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  43. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  44. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  45. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  46. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  47. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  48. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  49. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  50. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  51. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  52. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  53. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  54. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  55. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  56. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  57. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  58. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  59. package/build/artifacts/contracts/oracles/factory/PendleChainlinkOracle.sol/PendleChainlinkOracle.dbg.json +4 -0
  60. package/build/artifacts/contracts/oracles/factory/PendleChainlinkOracle.sol/PendleChainlinkOracle.json +274 -0
  61. package/build/artifacts/contracts/oracles/factory/PendleChainlinkOracleBase.sol/PendleChainlinkOracleBase.dbg.json +4 -0
  62. package/build/artifacts/contracts/oracles/factory/PendleChainlinkOracleBase.sol/PendleChainlinkOracleBase.json +253 -0
  63. package/build/artifacts/contracts/oracles/factory/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.dbg.json +4 -0
  64. package/build/artifacts/contracts/oracles/factory/PendleChainlinkOracleFactory.sol/PendleChainlinkOracleFactory.json +289 -0
  65. package/build/artifacts/contracts/oracles/factory/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.dbg.json +4 -0
  66. package/build/artifacts/contracts/oracles/factory/PendleChainlinkOracleWithQuote.sol/PendleChainlinkOracleWithQuote.json +305 -0
  67. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  68. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  69. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  70. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  71. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  72. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  73. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  74. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  75. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  76. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  77. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  78. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  79. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  80. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  81. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  82. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  83. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  84. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  85. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  86. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  87. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  88. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  89. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  90. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  91. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  92. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  93. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  94. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  95. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  96. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  97. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  98. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  99. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  100. package/contracts/core/StandardizedYield/implementations/EtherFi/PendleEEigenSYUpg.sol +6 -2
  101. package/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol +6 -1
  102. package/contracts/interfaces/IPChainlinkOracle.sol +15 -0
  103. package/contracts/interfaces/IPChainlinkOracleFactory.sol +22 -0
  104. package/contracts/interfaces/IPChainlinkOracleWithQuote.sol +8 -0
  105. package/contracts/oracles/factory/PendleChainlinkOracle.sol +21 -0
  106. package/contracts/oracles/factory/PendleChainlinkOracleBase.sol +138 -0
  107. package/contracts/oracles/factory/PendleChainlinkOracleFactory.sol +99 -0
  108. package/contracts/oracles/factory/PendleChainlinkOracleWithQuote.sol +46 -0
  109. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +1 -1
  110. package/contracts/router/swap-aggregator/PendleSwap.sol +0 -43
  111. package/deployments/1-core.json +1 -1
  112. package/deployments/10-core.json +1 -1
  113. package/deployments/42161-core.json +1 -1
  114. package/deployments/5000-core.json +1 -1
  115. package/deployments/56-core.json +1 -1
  116. package/package.json +1 -1
  117. package/typechain-types/IAaveStkGHO.ts +269 -0
  118. package/typechain-types/IAngleDistributor.ts +117 -0
  119. package/typechain-types/IPChainlinkOracle.ts +221 -0
  120. package/typechain-types/IPChainlinkOracleFactory.ts +123 -0
  121. package/typechain-types/IPChainlinkOracleWithQuote.ts +404 -0
  122. package/typechain-types/PendleCMETHSY.ts +1349 -0
  123. package/typechain-types/PendleChainlinkOracle.ts +299 -0
  124. package/typechain-types/PendleChainlinkOracleBase.ts +299 -0
  125. package/typechain-types/PendleChainlinkOracleFactory.ts +389 -0
  126. package/typechain-types/PendleChainlinkOracleWithQuote.ts +335 -0
  127. package/typechain-types/PendleStkGHOSY.ts +1522 -0
  128. package/typechain-types/SYBaseWithoutPermitUpg.ts +1101 -0
  129. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  130. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  131. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  132. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  133. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  134. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  135. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  136. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  137. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  138. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  139. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  140. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  141. package/typechain-types/factories/IAaveStkGHO__factory.ts +128 -0
  142. package/typechain-types/factories/IAngleDistributor__factory.ts +54 -0
  143. package/typechain-types/factories/IPChainlinkOracleFactory__factory.ts +110 -0
  144. package/typechain-types/factories/IPChainlinkOracleWithQuote__factory.ts +281 -0
  145. package/typechain-types/factories/IPChainlinkOracle__factory.ts +137 -0
  146. package/typechain-types/factories/PendleCMETHSY__factory.ts +1099 -0
  147. package/typechain-types/factories/PendleChainlinkOracleBase__factory.ts +272 -0
  148. package/typechain-types/factories/PendleChainlinkOracleFactory__factory.ts +351 -0
  149. package/typechain-types/factories/PendleChainlinkOracleWithQuote__factory.ts +389 -0
  150. package/typechain-types/factories/PendleChainlinkOracle__factory.ts +354 -0
  151. package/typechain-types/factories/PendleEBTCSY__factory.ts +1 -1
  152. package/typechain-types/factories/PendleEEigenSYUpg__factory.ts +1 -1
  153. package/typechain-types/factories/PendleERC20SYUpg__factory.ts +1 -1
  154. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  155. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  156. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  157. package/typechain-types/factories/PendleSUSDEMantleSY__factory.ts +1 -1
  158. package/typechain-types/factories/PendleStkGHOSY__factory.ts +1213 -0
  159. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  160. package/typechain-types/factories/PendleUSDEL2SY__factory.ts +1 -1
  161. package/typechain-types/factories/PendleWEEthkSY__factory.ts +1 -1
  162. package/typechain-types/factories/PendleWEEthsSY__factory.ts +1 -1
  163. package/typechain-types/factories/Reflector__factory.ts +1 -1
  164. package/typechain-types/factories/SYBaseWithoutPermitUpg__factory.ts +871 -0
  165. package/typechain-types/hardhat.d.ts +108 -9
  166. package/typechain-types/index.ts +24 -2
  167. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +0 -4
  168. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.json +0 -82
@@ -30,7 +30,7 @@
30
30
  "ActionStorageV4": "0x6a0Ed0A9193FCBe7ae9B0F3D90F88e365Cca64fC"
31
31
  },
32
32
  "routerStatic": "0xAdB09F65bd90d19e3148D9ccb693F3161C6DB3E8",
33
- "pendleSwap": "0x6bEce998B94C7F8bCb5a7d44C2CDB698e06B40ff",
33
+ "pendleSwap": "0x2E6ffA05cd6920dcc0d169efce2F4C96E774eCd2",
34
34
  "pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
35
35
  "yieldContractFactoryV3": "0xEb38531db128EcA928aea1B1CE9E5609B15ba146",
36
36
  "marketFactoryV3": "0x2FCb47B58350cD377f94d3821e7373Df60bD9Ced",
@@ -28,7 +28,7 @@
28
28
  "ActionStorageV4": "0x6a0Ed0A9193FCBe7ae9B0F3D90F88e365Cca64fC"
29
29
  },
30
30
  "routerStatic": "0xCAd502Bb55d1A3F79952F969BFF3f011CF30a94a",
31
- "pendleSwap": "0x6bEce998B94C7F8bCb5a7d44C2CDB698e06B40ff",
31
+ "pendleSwap": "0x2E6ffA05cd6920dcc0d169efce2F4C96E774eCd2",
32
32
  "pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
33
33
  "yieldContractFactoryV3": "0x964840644B88C583500F473E4B829Ab629aF96A8",
34
34
  "marketFactoryV3": "0xD228EC1f7D4313fe321fab511A872475D07F5bA6",
@@ -30,7 +30,7 @@
30
30
  "ActionStorageV4": "0x6a0Ed0A9193FCBe7ae9B0F3D90F88e365Cca64fC"
31
31
  },
32
32
  "routerStatic": "0x2700ADB035F82a11899ce1D3f1BF8451c296eABb",
33
- "pendleSwap": "0x6bEce998B94C7F8bCb5a7d44C2CDB698e06B40ff",
33
+ "pendleSwap": "0x2E6ffA05cd6920dcc0d169efce2F4C96E774eCd2",
34
34
  "pyYtLpOracle": "0x9a9fa8338dd5e5b2188006f1cd2ef26d921650c2",
35
35
  "yieldContractFactoryV3": "0x40Ae6da2d92aa3DCb7f8d7a7209FD12BDfcb7C85",
36
36
  "marketFactoryV3": "0xC40fEbF5A33b8C92B187d9be0fD3fe0ac2E4B07c",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pendle/core-v2",
3
3
  "description": "Core smart contracts of Pendle Protocol.",
4
4
  "license": "BUSL-1.1",
5
- "version": "5.1.1-beta-2",
5
+ "version": "5.2.0-beta-1",
6
6
  "homepage": "https://pendle.finance",
7
7
  "keywords": [
8
8
  "pendle",
@@ -0,0 +1,269 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import { FunctionFragment, Result } from "@ethersproject/abi";
17
+ import { Listener, Provider } from "@ethersproject/providers";
18
+ import type {
19
+ TypedEventFilter,
20
+ TypedEvent,
21
+ TypedListener,
22
+ OnEvent,
23
+ } from "./common";
24
+
25
+ export interface IAaveStkGHOInterface extends utils.Interface {
26
+ contractName: "IAaveStkGHO";
27
+ functions: {
28
+ "claimRewards(address,uint256)": FunctionFragment;
29
+ "getExchangeRate()": FunctionFragment;
30
+ "previewRedeem(uint256)": FunctionFragment;
31
+ "previewStake(uint256)": FunctionFragment;
32
+ "redeem(address,uint256)": FunctionFragment;
33
+ "stake(address,uint256)": FunctionFragment;
34
+ };
35
+
36
+ encodeFunctionData(
37
+ functionFragment: "claimRewards",
38
+ values: [string, BigNumberish]
39
+ ): string;
40
+ encodeFunctionData(
41
+ functionFragment: "getExchangeRate",
42
+ values?: undefined
43
+ ): string;
44
+ encodeFunctionData(
45
+ functionFragment: "previewRedeem",
46
+ values: [BigNumberish]
47
+ ): string;
48
+ encodeFunctionData(
49
+ functionFragment: "previewStake",
50
+ values: [BigNumberish]
51
+ ): string;
52
+ encodeFunctionData(
53
+ functionFragment: "redeem",
54
+ values: [string, BigNumberish]
55
+ ): string;
56
+ encodeFunctionData(
57
+ functionFragment: "stake",
58
+ values: [string, BigNumberish]
59
+ ): string;
60
+
61
+ decodeFunctionResult(
62
+ functionFragment: "claimRewards",
63
+ data: BytesLike
64
+ ): Result;
65
+ decodeFunctionResult(
66
+ functionFragment: "getExchangeRate",
67
+ data: BytesLike
68
+ ): Result;
69
+ decodeFunctionResult(
70
+ functionFragment: "previewRedeem",
71
+ data: BytesLike
72
+ ): Result;
73
+ decodeFunctionResult(
74
+ functionFragment: "previewStake",
75
+ data: BytesLike
76
+ ): Result;
77
+ decodeFunctionResult(functionFragment: "redeem", data: BytesLike): Result;
78
+ decodeFunctionResult(functionFragment: "stake", data: BytesLike): Result;
79
+
80
+ events: {};
81
+ }
82
+
83
+ export interface IAaveStkGHO extends BaseContract {
84
+ contractName: "IAaveStkGHO";
85
+ connect(signerOrProvider: Signer | Provider | string): this;
86
+ attach(addressOrName: string): this;
87
+ deployed(): Promise<this>;
88
+
89
+ interface: IAaveStkGHOInterface;
90
+
91
+ queryFilter<TEvent extends TypedEvent>(
92
+ event: TypedEventFilter<TEvent>,
93
+ fromBlockOrBlockhash?: string | number | undefined,
94
+ toBlock?: string | number | undefined
95
+ ): Promise<Array<TEvent>>;
96
+
97
+ listeners<TEvent extends TypedEvent>(
98
+ eventFilter?: TypedEventFilter<TEvent>
99
+ ): Array<TypedListener<TEvent>>;
100
+ listeners(eventName?: string): Array<Listener>;
101
+ removeAllListeners<TEvent extends TypedEvent>(
102
+ eventFilter: TypedEventFilter<TEvent>
103
+ ): this;
104
+ removeAllListeners(eventName?: string): this;
105
+ off: OnEvent<this>;
106
+ on: OnEvent<this>;
107
+ once: OnEvent<this>;
108
+ removeListener: OnEvent<this>;
109
+
110
+ functions: {
111
+ claimRewards(
112
+ to: string,
113
+ amount: BigNumberish,
114
+ overrides?: Overrides & { from?: string | Promise<string> }
115
+ ): Promise<ContractTransaction>;
116
+
117
+ getExchangeRate(overrides?: CallOverrides): Promise<[BigNumber]>;
118
+
119
+ previewRedeem(
120
+ shares: BigNumberish,
121
+ overrides?: CallOverrides
122
+ ): Promise<[BigNumber]>;
123
+
124
+ previewStake(
125
+ assets: BigNumberish,
126
+ overrides?: CallOverrides
127
+ ): Promise<[BigNumber]>;
128
+
129
+ redeem(
130
+ to: string,
131
+ amount: BigNumberish,
132
+ overrides?: Overrides & { from?: string | Promise<string> }
133
+ ): Promise<ContractTransaction>;
134
+
135
+ stake(
136
+ to: string,
137
+ amount: BigNumberish,
138
+ overrides?: Overrides & { from?: string | Promise<string> }
139
+ ): Promise<ContractTransaction>;
140
+ };
141
+
142
+ claimRewards(
143
+ to: string,
144
+ amount: BigNumberish,
145
+ overrides?: Overrides & { from?: string | Promise<string> }
146
+ ): Promise<ContractTransaction>;
147
+
148
+ getExchangeRate(overrides?: CallOverrides): Promise<BigNumber>;
149
+
150
+ previewRedeem(
151
+ shares: BigNumberish,
152
+ overrides?: CallOverrides
153
+ ): Promise<BigNumber>;
154
+
155
+ previewStake(
156
+ assets: BigNumberish,
157
+ overrides?: CallOverrides
158
+ ): Promise<BigNumber>;
159
+
160
+ redeem(
161
+ to: string,
162
+ amount: BigNumberish,
163
+ overrides?: Overrides & { from?: string | Promise<string> }
164
+ ): Promise<ContractTransaction>;
165
+
166
+ stake(
167
+ to: string,
168
+ amount: BigNumberish,
169
+ overrides?: Overrides & { from?: string | Promise<string> }
170
+ ): Promise<ContractTransaction>;
171
+
172
+ callStatic: {
173
+ claimRewards(
174
+ to: string,
175
+ amount: BigNumberish,
176
+ overrides?: CallOverrides
177
+ ): Promise<void>;
178
+
179
+ getExchangeRate(overrides?: CallOverrides): Promise<BigNumber>;
180
+
181
+ previewRedeem(
182
+ shares: BigNumberish,
183
+ overrides?: CallOverrides
184
+ ): Promise<BigNumber>;
185
+
186
+ previewStake(
187
+ assets: BigNumberish,
188
+ overrides?: CallOverrides
189
+ ): Promise<BigNumber>;
190
+
191
+ redeem(
192
+ to: string,
193
+ amount: BigNumberish,
194
+ overrides?: CallOverrides
195
+ ): Promise<void>;
196
+
197
+ stake(
198
+ to: string,
199
+ amount: BigNumberish,
200
+ overrides?: CallOverrides
201
+ ): Promise<void>;
202
+ };
203
+
204
+ filters: {};
205
+
206
+ estimateGas: {
207
+ claimRewards(
208
+ to: string,
209
+ amount: BigNumberish,
210
+ overrides?: Overrides & { from?: string | Promise<string> }
211
+ ): Promise<BigNumber>;
212
+
213
+ getExchangeRate(overrides?: CallOverrides): Promise<BigNumber>;
214
+
215
+ previewRedeem(
216
+ shares: BigNumberish,
217
+ overrides?: CallOverrides
218
+ ): Promise<BigNumber>;
219
+
220
+ previewStake(
221
+ assets: BigNumberish,
222
+ overrides?: CallOverrides
223
+ ): Promise<BigNumber>;
224
+
225
+ redeem(
226
+ to: string,
227
+ amount: BigNumberish,
228
+ overrides?: Overrides & { from?: string | Promise<string> }
229
+ ): Promise<BigNumber>;
230
+
231
+ stake(
232
+ to: string,
233
+ amount: BigNumberish,
234
+ overrides?: Overrides & { from?: string | Promise<string> }
235
+ ): Promise<BigNumber>;
236
+ };
237
+
238
+ populateTransaction: {
239
+ claimRewards(
240
+ to: string,
241
+ amount: BigNumberish,
242
+ overrides?: Overrides & { from?: string | Promise<string> }
243
+ ): Promise<PopulatedTransaction>;
244
+
245
+ getExchangeRate(overrides?: CallOverrides): Promise<PopulatedTransaction>;
246
+
247
+ previewRedeem(
248
+ shares: BigNumberish,
249
+ overrides?: CallOverrides
250
+ ): Promise<PopulatedTransaction>;
251
+
252
+ previewStake(
253
+ assets: BigNumberish,
254
+ overrides?: CallOverrides
255
+ ): Promise<PopulatedTransaction>;
256
+
257
+ redeem(
258
+ to: string,
259
+ amount: BigNumberish,
260
+ overrides?: Overrides & { from?: string | Promise<string> }
261
+ ): Promise<PopulatedTransaction>;
262
+
263
+ stake(
264
+ to: string,
265
+ amount: BigNumberish,
266
+ overrides?: Overrides & { from?: string | Promise<string> }
267
+ ): Promise<PopulatedTransaction>;
268
+ };
269
+ }
@@ -0,0 +1,117 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ ContractTransaction,
11
+ Overrides,
12
+ PopulatedTransaction,
13
+ Signer,
14
+ utils,
15
+ } from "ethers";
16
+ import { FunctionFragment, Result } from "@ethersproject/abi";
17
+ import { Listener, Provider } from "@ethersproject/providers";
18
+ import type {
19
+ TypedEventFilter,
20
+ TypedEvent,
21
+ TypedListener,
22
+ OnEvent,
23
+ } from "./common";
24
+
25
+ export interface IAngleDistributorInterface extends utils.Interface {
26
+ contractName: "IAngleDistributor";
27
+ functions: {
28
+ "claim(address[],address[],uint256[],bytes32[][])": FunctionFragment;
29
+ };
30
+
31
+ encodeFunctionData(
32
+ functionFragment: "claim",
33
+ values: [string[], string[], BigNumberish[], BytesLike[][]]
34
+ ): string;
35
+
36
+ decodeFunctionResult(functionFragment: "claim", data: BytesLike): Result;
37
+
38
+ events: {};
39
+ }
40
+
41
+ export interface IAngleDistributor extends BaseContract {
42
+ contractName: "IAngleDistributor";
43
+ connect(signerOrProvider: Signer | Provider | string): this;
44
+ attach(addressOrName: string): this;
45
+ deployed(): Promise<this>;
46
+
47
+ interface: IAngleDistributorInterface;
48
+
49
+ queryFilter<TEvent extends TypedEvent>(
50
+ event: TypedEventFilter<TEvent>,
51
+ fromBlockOrBlockhash?: string | number | undefined,
52
+ toBlock?: string | number | undefined
53
+ ): Promise<Array<TEvent>>;
54
+
55
+ listeners<TEvent extends TypedEvent>(
56
+ eventFilter?: TypedEventFilter<TEvent>
57
+ ): Array<TypedListener<TEvent>>;
58
+ listeners(eventName?: string): Array<Listener>;
59
+ removeAllListeners<TEvent extends TypedEvent>(
60
+ eventFilter: TypedEventFilter<TEvent>
61
+ ): this;
62
+ removeAllListeners(eventName?: string): this;
63
+ off: OnEvent<this>;
64
+ on: OnEvent<this>;
65
+ once: OnEvent<this>;
66
+ removeListener: OnEvent<this>;
67
+
68
+ functions: {
69
+ claim(
70
+ users: string[],
71
+ tokens: string[],
72
+ amounts: BigNumberish[],
73
+ proofs: BytesLike[][],
74
+ overrides?: Overrides & { from?: string | Promise<string> }
75
+ ): Promise<ContractTransaction>;
76
+ };
77
+
78
+ claim(
79
+ users: string[],
80
+ tokens: string[],
81
+ amounts: BigNumberish[],
82
+ proofs: BytesLike[][],
83
+ overrides?: Overrides & { from?: string | Promise<string> }
84
+ ): Promise<ContractTransaction>;
85
+
86
+ callStatic: {
87
+ claim(
88
+ users: string[],
89
+ tokens: string[],
90
+ amounts: BigNumberish[],
91
+ proofs: BytesLike[][],
92
+ overrides?: CallOverrides
93
+ ): Promise<void>;
94
+ };
95
+
96
+ filters: {};
97
+
98
+ estimateGas: {
99
+ claim(
100
+ users: string[],
101
+ tokens: string[],
102
+ amounts: BigNumberish[],
103
+ proofs: BytesLike[][],
104
+ overrides?: Overrides & { from?: string | Promise<string> }
105
+ ): Promise<BigNumber>;
106
+ };
107
+
108
+ populateTransaction: {
109
+ claim(
110
+ users: string[],
111
+ tokens: string[],
112
+ amounts: BigNumberish[],
113
+ proofs: BytesLike[][],
114
+ overrides?: Overrides & { from?: string | Promise<string> }
115
+ ): Promise<PopulatedTransaction>;
116
+ };
117
+ }
@@ -0,0 +1,221 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import {
5
+ BaseContract,
6
+ BigNumber,
7
+ BigNumberish,
8
+ BytesLike,
9
+ CallOverrides,
10
+ PopulatedTransaction,
11
+ Signer,
12
+ utils,
13
+ } from "ethers";
14
+ import { FunctionFragment, Result } from "@ethersproject/abi";
15
+ import { Listener, Provider } from "@ethersproject/providers";
16
+ import type {
17
+ TypedEventFilter,
18
+ TypedEvent,
19
+ TypedListener,
20
+ OnEvent,
21
+ } from "./common";
22
+
23
+ export interface IPChainlinkOracleInterface extends utils.Interface {
24
+ contractName: "IPChainlinkOracle";
25
+ functions: {
26
+ "decimals()": FunctionFragment;
27
+ "description()": FunctionFragment;
28
+ "getRoundData(uint80)": FunctionFragment;
29
+ "latestRoundData()": FunctionFragment;
30
+ "version()": FunctionFragment;
31
+ };
32
+
33
+ encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
34
+ encodeFunctionData(
35
+ functionFragment: "description",
36
+ values?: undefined
37
+ ): string;
38
+ encodeFunctionData(
39
+ functionFragment: "getRoundData",
40
+ values: [BigNumberish]
41
+ ): string;
42
+ encodeFunctionData(
43
+ functionFragment: "latestRoundData",
44
+ values?: undefined
45
+ ): string;
46
+ encodeFunctionData(functionFragment: "version", values?: undefined): string;
47
+
48
+ decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
49
+ decodeFunctionResult(
50
+ functionFragment: "description",
51
+ data: BytesLike
52
+ ): Result;
53
+ decodeFunctionResult(
54
+ functionFragment: "getRoundData",
55
+ data: BytesLike
56
+ ): Result;
57
+ decodeFunctionResult(
58
+ functionFragment: "latestRoundData",
59
+ data: BytesLike
60
+ ): Result;
61
+ decodeFunctionResult(functionFragment: "version", data: BytesLike): Result;
62
+
63
+ events: {};
64
+ }
65
+
66
+ export interface IPChainlinkOracle extends BaseContract {
67
+ contractName: "IPChainlinkOracle";
68
+ connect(signerOrProvider: Signer | Provider | string): this;
69
+ attach(addressOrName: string): this;
70
+ deployed(): Promise<this>;
71
+
72
+ interface: IPChainlinkOracleInterface;
73
+
74
+ queryFilter<TEvent extends TypedEvent>(
75
+ event: TypedEventFilter<TEvent>,
76
+ fromBlockOrBlockhash?: string | number | undefined,
77
+ toBlock?: string | number | undefined
78
+ ): Promise<Array<TEvent>>;
79
+
80
+ listeners<TEvent extends TypedEvent>(
81
+ eventFilter?: TypedEventFilter<TEvent>
82
+ ): Array<TypedListener<TEvent>>;
83
+ listeners(eventName?: string): Array<Listener>;
84
+ removeAllListeners<TEvent extends TypedEvent>(
85
+ eventFilter: TypedEventFilter<TEvent>
86
+ ): this;
87
+ removeAllListeners(eventName?: string): this;
88
+ off: OnEvent<this>;
89
+ on: OnEvent<this>;
90
+ once: OnEvent<this>;
91
+ removeListener: OnEvent<this>;
92
+
93
+ functions: {
94
+ decimals(overrides?: CallOverrides): Promise<[number]>;
95
+
96
+ description(overrides?: CallOverrides): Promise<[string]>;
97
+
98
+ getRoundData(
99
+ _roundId: BigNumberish,
100
+ overrides?: CallOverrides
101
+ ): Promise<
102
+ [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
103
+ roundId: BigNumber;
104
+ answer: BigNumber;
105
+ startedAt: BigNumber;
106
+ updatedAt: BigNumber;
107
+ answeredInRound: BigNumber;
108
+ }
109
+ >;
110
+
111
+ latestRoundData(
112
+ overrides?: CallOverrides
113
+ ): Promise<
114
+ [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
115
+ roundId: BigNumber;
116
+ answer: BigNumber;
117
+ startedAt: BigNumber;
118
+ updatedAt: BigNumber;
119
+ answeredInRound: BigNumber;
120
+ }
121
+ >;
122
+
123
+ version(overrides?: CallOverrides): Promise<[BigNumber]>;
124
+ };
125
+
126
+ decimals(overrides?: CallOverrides): Promise<number>;
127
+
128
+ description(overrides?: CallOverrides): Promise<string>;
129
+
130
+ getRoundData(
131
+ _roundId: BigNumberish,
132
+ overrides?: CallOverrides
133
+ ): Promise<
134
+ [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
135
+ roundId: BigNumber;
136
+ answer: BigNumber;
137
+ startedAt: BigNumber;
138
+ updatedAt: BigNumber;
139
+ answeredInRound: BigNumber;
140
+ }
141
+ >;
142
+
143
+ latestRoundData(
144
+ overrides?: CallOverrides
145
+ ): Promise<
146
+ [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
147
+ roundId: BigNumber;
148
+ answer: BigNumber;
149
+ startedAt: BigNumber;
150
+ updatedAt: BigNumber;
151
+ answeredInRound: BigNumber;
152
+ }
153
+ >;
154
+
155
+ version(overrides?: CallOverrides): Promise<BigNumber>;
156
+
157
+ callStatic: {
158
+ decimals(overrides?: CallOverrides): Promise<number>;
159
+
160
+ description(overrides?: CallOverrides): Promise<string>;
161
+
162
+ getRoundData(
163
+ _roundId: BigNumberish,
164
+ overrides?: CallOverrides
165
+ ): Promise<
166
+ [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
167
+ roundId: BigNumber;
168
+ answer: BigNumber;
169
+ startedAt: BigNumber;
170
+ updatedAt: BigNumber;
171
+ answeredInRound: BigNumber;
172
+ }
173
+ >;
174
+
175
+ latestRoundData(
176
+ overrides?: CallOverrides
177
+ ): Promise<
178
+ [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber] & {
179
+ roundId: BigNumber;
180
+ answer: BigNumber;
181
+ startedAt: BigNumber;
182
+ updatedAt: BigNumber;
183
+ answeredInRound: BigNumber;
184
+ }
185
+ >;
186
+
187
+ version(overrides?: CallOverrides): Promise<BigNumber>;
188
+ };
189
+
190
+ filters: {};
191
+
192
+ estimateGas: {
193
+ decimals(overrides?: CallOverrides): Promise<BigNumber>;
194
+
195
+ description(overrides?: CallOverrides): Promise<BigNumber>;
196
+
197
+ getRoundData(
198
+ _roundId: BigNumberish,
199
+ overrides?: CallOverrides
200
+ ): Promise<BigNumber>;
201
+
202
+ latestRoundData(overrides?: CallOverrides): Promise<BigNumber>;
203
+
204
+ version(overrides?: CallOverrides): Promise<BigNumber>;
205
+ };
206
+
207
+ populateTransaction: {
208
+ decimals(overrides?: CallOverrides): Promise<PopulatedTransaction>;
209
+
210
+ description(overrides?: CallOverrides): Promise<PopulatedTransaction>;
211
+
212
+ getRoundData(
213
+ _roundId: BigNumberish,
214
+ overrides?: CallOverrides
215
+ ): Promise<PopulatedTransaction>;
216
+
217
+ latestRoundData(overrides?: CallOverrides): Promise<PopulatedTransaction>;
218
+
219
+ version(overrides?: CallOverrides): Promise<PopulatedTransaction>;
220
+ };
221
+ }