@pendle/core-v2 5.1.1-beta → 5.1.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 (167) hide show
  1. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.dbg.json +1 -1
  2. package/build/artifacts/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol/PendleVotingControllerUpg.json +67 -23
  3. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.dbg.json +1 -1
  4. package/build/artifacts/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol/VotingControllerStorageUpg.json +19 -6
  5. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseWithoutPermitUpg.dbg.json +4 -0
  6. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/{SYBaseUpg.json → SYBaseWithoutPermitUpg.json} +1 -1
  7. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.dbg.json +4 -0
  8. package/build/artifacts/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol/PendleStkGHOSY.json +1160 -0
  9. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol/PendleSUSDEMantleSY.dbg.json +1 -1
  10. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleSUSDEMantleSY.sol/PendleSUSDEMantleSY.json +2 -2
  11. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEL2SY.sol/PendleUSDEL2SY.dbg.json +1 -1
  12. package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEL2SY.sol/PendleUSDEL2SY.json +2 -2
  13. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEBTCSY.sol/PendleEBTCSY.dbg.json +1 -1
  14. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEBTCSY.sol/PendleEBTCSY.json +2 -2
  15. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEEigenSYUpg.sol/PendleEEigenSYUpg.dbg.json +1 -1
  16. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleEEigenSYUpg.sol/PendleEEigenSYUpg.json +2 -2
  17. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthkSY.sol/PendleWEEthkSY.dbg.json +1 -1
  18. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthkSY.sol/PendleWEEthkSY.json +2 -2
  19. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthsSY.sol/PendleWEEthsSY.dbg.json +1 -1
  20. package/build/artifacts/contracts/core/StandardizedYield/implementations/EtherFi/PendleWEEthsSY.sol/PendleWEEthsSY.json +2 -2
  21. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.dbg.json +1 -1
  22. package/build/artifacts/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol/PendleGlpSY.json +2 -2
  23. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol/PendleCMETHSY.dbg.json +4 -0
  24. package/build/artifacts/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol/PendleCMETHSY.json +1049 -0
  25. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol/PendleERC20SYUpg.dbg.json +1 -1
  26. package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol/PendleERC20SYUpg.json +2 -2
  27. package/build/artifacts/contracts/interfaces/AaveV3/IAaveStkGHO.sol/IAaveStkGHO.dbg.json +4 -0
  28. package/build/artifacts/contracts/interfaces/AaveV3/IAaveStkGHO.sol/IAaveStkGHO.json +116 -0
  29. package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.dbg.json +4 -0
  30. package/build/artifacts/contracts/interfaces/Angle/IAngleDistributor.sol/IAngleDistributor.json +39 -0
  31. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  32. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  33. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  34. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  35. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  36. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  37. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  38. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  39. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  40. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  41. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  42. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  43. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  44. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  45. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  46. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  47. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  48. package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.json +2 -2
  49. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.dbg.json +1 -1
  50. package/build/artifacts/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol/SDKErrorsDirectory.json +27 -2
  51. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  52. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.json +2 -2
  53. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  54. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.json +2 -2
  55. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  56. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.json +2 -2
  57. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  58. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.json +2 -2
  59. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  60. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.json +2 -2
  61. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  62. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.json +2 -2
  63. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  64. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.json +2 -2
  65. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  66. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  67. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  68. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  69. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  70. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.dbg.json +1 -1
  71. package/build/artifacts/contracts/router/ActionSimple.sol/ActionSimple.json +2 -2
  72. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  73. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.json +2 -2
  74. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  75. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  76. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  77. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  78. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  79. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.json +2 -2
  80. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  81. package/build/artifacts/contracts/router/Reflector.sol/Reflector.json +2 -2
  82. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  83. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  84. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.json +2 -2
  85. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  86. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.json +2 -2
  87. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.dbg.json +1 -1
  88. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtInLib.json +2 -2
  89. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.dbg.json +1 -1
  90. package/build/artifacts/contracts/router/math/MarketApproxLib.sol/MarketApproxPtOutLib.json +2 -2
  91. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  92. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.json +2 -2
  93. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  94. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.json +2 -2
  95. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  96. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  97. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  98. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +2 -2
  99. package/contracts/LiquidityMining/VotingController/PendleVotingControllerUpg.sol +27 -6
  100. package/contracts/LiquidityMining/VotingController/VotingControllerStorageUpg.sol +3 -2
  101. package/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol +1 -1
  102. package/contracts/core/StandardizedYield/implementations/AaveV3/PendleStkGHOSY.sol +130 -0
  103. package/contracts/core/StandardizedYield/implementations/EtherFi/PendleEEigenSYUpg.sol +6 -2
  104. package/contracts/core/StandardizedYield/implementations/GLP/PendleGlpSY.sol +1 -2
  105. package/contracts/core/StandardizedYield/implementations/Mantle/PendleCMETHSY.sol +82 -0
  106. package/contracts/core/StandardizedYield/implementations/PendleERC20SYUpg.sol +6 -1
  107. package/contracts/interfaces/AaveV3/IAaveStkGHO.sol +17 -0
  108. package/contracts/interfaces/Angle/IAngleDistributor.sol +12 -0
  109. package/contracts/offchain-helpers/errors/SDKErrorsDirectory.sol +5 -0
  110. package/contracts/router/swap-aggregator/IPSwapAggregator.sol +1 -1
  111. package/contracts/router/swap-aggregator/PendleSwap.sol +0 -43
  112. package/deployments/1-core.json +1 -1
  113. package/deployments/1-markets/STKGHO-MAINNET-APR2025.json +14 -0
  114. package/deployments/10-core.json +1 -1
  115. package/deployments/42161-core.json +1 -1
  116. package/deployments/42161-markets/DOLOMITE-USDC-ARBITRUM-JUN2025.json +14 -0
  117. package/deployments/42161-markets/DOLOMITE-WBTC-ARBITRUM-JUN2025.json +14 -0
  118. package/deployments/5000-core.json +1 -1
  119. package/deployments/5000-markets/CMETH-MANTLE-FEB2025.json +14 -0
  120. package/deployments/56-core.json +1 -1
  121. package/deployments/56-markets/VENUS-BNB-BSC-JUN2025.json +14 -0
  122. package/package.json +1 -1
  123. package/typechain-types/IAaveStkGHO.ts +269 -0
  124. package/typechain-types/IAngleDistributor.ts +117 -0
  125. package/typechain-types/PendleCMETHSY.ts +1349 -0
  126. package/typechain-types/PendleStkGHOSY.ts +1522 -0
  127. package/typechain-types/PendleVotingControllerUpg.ts +135 -43
  128. package/typechain-types/SYBaseWithoutPermitUpg.ts +1101 -0
  129. package/typechain-types/VotingControllerStorageUpg.ts +34 -15
  130. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  131. package/typechain-types/factories/ActionInfoStatic__factory.ts +1 -1
  132. package/typechain-types/factories/ActionMarketAuxStatic__factory.ts +1 -1
  133. package/typechain-types/factories/ActionMarketCoreStatic__factory.ts +1 -1
  134. package/typechain-types/factories/ActionMintRedeemStatic__factory.ts +1 -1
  135. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  136. package/typechain-types/factories/ActionSimple__factory.ts +1 -1
  137. package/typechain-types/factories/ActionStorageStatic__factory.ts +1 -1
  138. package/typechain-types/factories/ActionStorageV4__factory.ts +1 -1
  139. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  140. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  141. package/typechain-types/factories/ActionVePendleStatic__factory.ts +1 -1
  142. package/typechain-types/factories/IAaveStkGHO__factory.ts +128 -0
  143. package/typechain-types/factories/IAngleDistributor__factory.ts +54 -0
  144. package/typechain-types/factories/PendleCMETHSY__factory.ts +1099 -0
  145. package/typechain-types/factories/PendleEBTCSY__factory.ts +1 -1
  146. package/typechain-types/factories/PendleEEigenSYUpg__factory.ts +1 -1
  147. package/typechain-types/factories/PendleERC20SYUpg__factory.ts +1 -1
  148. package/typechain-types/factories/PendleGlpSY__factory.ts +1 -1
  149. package/typechain-types/factories/PendlePoolDeployHelper__factory.ts +1 -1
  150. package/typechain-types/factories/PendleRouterStatic__factory.ts +1 -1
  151. package/typechain-types/factories/PendleRouterV4__factory.ts +1 -1
  152. package/typechain-types/factories/PendleSUSDEMantleSY__factory.ts +1 -1
  153. package/typechain-types/factories/PendleStkGHOSY__factory.ts +1213 -0
  154. package/typechain-types/factories/PendleSwap__factory.ts +1 -1
  155. package/typechain-types/factories/PendleUSDEL2SY__factory.ts +1 -1
  156. package/typechain-types/factories/PendleVotingControllerUpg__factory.ts +66 -22
  157. package/typechain-types/factories/PendleWEEthkSY__factory.ts +1 -1
  158. package/typechain-types/factories/PendleWEEthsSY__factory.ts +1 -1
  159. package/typechain-types/factories/Reflector__factory.ts +1 -1
  160. package/typechain-types/factories/SDKErrorsDirectory__factory.ts +26 -1
  161. package/typechain-types/factories/SYBaseWithoutPermitUpg__factory.ts +871 -0
  162. package/typechain-types/factories/VotingControllerStorageUpg__factory.ts +19 -6
  163. package/typechain-types/hardhat.d.ts +40 -13
  164. package/typechain-types/index.ts +10 -2
  165. package/build/artifacts/contracts/core/StandardizedYield/SYBaseWithoutPermitUpg.sol/SYBaseUpg.dbg.json +0 -4
  166. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +0 -4
  167. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.json +0 -82
@@ -0,0 +1,1099 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
5
+ import { Provider, TransactionRequest } from "@ethersproject/providers";
6
+ import type { PendleCMETHSY, PendleCMETHSYInterface } from "../PendleCMETHSY";
7
+
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ stateMutability: "nonpayable",
12
+ type: "constructor",
13
+ },
14
+ {
15
+ inputs: [],
16
+ name: "InvalidShortString",
17
+ type: "error",
18
+ },
19
+ {
20
+ inputs: [
21
+ {
22
+ internalType: "uint256",
23
+ name: "actualSharesOut",
24
+ type: "uint256",
25
+ },
26
+ {
27
+ internalType: "uint256",
28
+ name: "requiredSharesOut",
29
+ type: "uint256",
30
+ },
31
+ ],
32
+ name: "SYInsufficientSharesOut",
33
+ type: "error",
34
+ },
35
+ {
36
+ inputs: [
37
+ {
38
+ internalType: "uint256",
39
+ name: "actualTokenOut",
40
+ type: "uint256",
41
+ },
42
+ {
43
+ internalType: "uint256",
44
+ name: "requiredTokenOut",
45
+ type: "uint256",
46
+ },
47
+ ],
48
+ name: "SYInsufficientTokenOut",
49
+ type: "error",
50
+ },
51
+ {
52
+ inputs: [
53
+ {
54
+ internalType: "address",
55
+ name: "token",
56
+ type: "address",
57
+ },
58
+ ],
59
+ name: "SYInvalidTokenIn",
60
+ type: "error",
61
+ },
62
+ {
63
+ inputs: [
64
+ {
65
+ internalType: "address",
66
+ name: "token",
67
+ type: "address",
68
+ },
69
+ ],
70
+ name: "SYInvalidTokenOut",
71
+ type: "error",
72
+ },
73
+ {
74
+ inputs: [],
75
+ name: "SYZeroDeposit",
76
+ type: "error",
77
+ },
78
+ {
79
+ inputs: [],
80
+ name: "SYZeroRedeem",
81
+ type: "error",
82
+ },
83
+ {
84
+ inputs: [
85
+ {
86
+ internalType: "string",
87
+ name: "str",
88
+ type: "string",
89
+ },
90
+ ],
91
+ name: "StringTooLong",
92
+ type: "error",
93
+ },
94
+ {
95
+ anonymous: false,
96
+ inputs: [
97
+ {
98
+ indexed: true,
99
+ internalType: "address",
100
+ name: "owner",
101
+ type: "address",
102
+ },
103
+ {
104
+ indexed: true,
105
+ internalType: "address",
106
+ name: "spender",
107
+ type: "address",
108
+ },
109
+ {
110
+ indexed: false,
111
+ internalType: "uint256",
112
+ name: "value",
113
+ type: "uint256",
114
+ },
115
+ ],
116
+ name: "Approval",
117
+ type: "event",
118
+ },
119
+ {
120
+ anonymous: false,
121
+ inputs: [
122
+ {
123
+ indexed: true,
124
+ internalType: "address",
125
+ name: "user",
126
+ type: "address",
127
+ },
128
+ {
129
+ indexed: false,
130
+ internalType: "address[]",
131
+ name: "rewardTokens",
132
+ type: "address[]",
133
+ },
134
+ {
135
+ indexed: false,
136
+ internalType: "uint256[]",
137
+ name: "rewardAmounts",
138
+ type: "uint256[]",
139
+ },
140
+ ],
141
+ name: "ClaimRewards",
142
+ type: "event",
143
+ },
144
+ {
145
+ anonymous: false,
146
+ inputs: [
147
+ {
148
+ indexed: true,
149
+ internalType: "address",
150
+ name: "caller",
151
+ type: "address",
152
+ },
153
+ {
154
+ indexed: true,
155
+ internalType: "address",
156
+ name: "receiver",
157
+ type: "address",
158
+ },
159
+ {
160
+ indexed: true,
161
+ internalType: "address",
162
+ name: "tokenIn",
163
+ type: "address",
164
+ },
165
+ {
166
+ indexed: false,
167
+ internalType: "uint256",
168
+ name: "amountDeposited",
169
+ type: "uint256",
170
+ },
171
+ {
172
+ indexed: false,
173
+ internalType: "uint256",
174
+ name: "amountSyOut",
175
+ type: "uint256",
176
+ },
177
+ ],
178
+ name: "Deposit",
179
+ type: "event",
180
+ },
181
+ {
182
+ anonymous: false,
183
+ inputs: [],
184
+ name: "EIP712DomainChanged",
185
+ type: "event",
186
+ },
187
+ {
188
+ anonymous: false,
189
+ inputs: [
190
+ {
191
+ indexed: false,
192
+ internalType: "uint8",
193
+ name: "version",
194
+ type: "uint8",
195
+ },
196
+ ],
197
+ name: "Initialized",
198
+ type: "event",
199
+ },
200
+ {
201
+ anonymous: false,
202
+ inputs: [
203
+ {
204
+ indexed: true,
205
+ internalType: "address",
206
+ name: "previousOwner",
207
+ type: "address",
208
+ },
209
+ {
210
+ indexed: true,
211
+ internalType: "address",
212
+ name: "newOwner",
213
+ type: "address",
214
+ },
215
+ ],
216
+ name: "OwnershipTransferred",
217
+ type: "event",
218
+ },
219
+ {
220
+ anonymous: false,
221
+ inputs: [
222
+ {
223
+ indexed: false,
224
+ internalType: "address",
225
+ name: "account",
226
+ type: "address",
227
+ },
228
+ ],
229
+ name: "Paused",
230
+ type: "event",
231
+ },
232
+ {
233
+ anonymous: false,
234
+ inputs: [
235
+ {
236
+ indexed: true,
237
+ internalType: "address",
238
+ name: "caller",
239
+ type: "address",
240
+ },
241
+ {
242
+ indexed: true,
243
+ internalType: "address",
244
+ name: "receiver",
245
+ type: "address",
246
+ },
247
+ {
248
+ indexed: true,
249
+ internalType: "address",
250
+ name: "tokenOut",
251
+ type: "address",
252
+ },
253
+ {
254
+ indexed: false,
255
+ internalType: "uint256",
256
+ name: "amountSyToRedeem",
257
+ type: "uint256",
258
+ },
259
+ {
260
+ indexed: false,
261
+ internalType: "uint256",
262
+ name: "amountTokenOut",
263
+ type: "uint256",
264
+ },
265
+ ],
266
+ name: "Redeem",
267
+ type: "event",
268
+ },
269
+ {
270
+ anonymous: false,
271
+ inputs: [
272
+ {
273
+ indexed: true,
274
+ internalType: "address",
275
+ name: "from",
276
+ type: "address",
277
+ },
278
+ {
279
+ indexed: true,
280
+ internalType: "address",
281
+ name: "to",
282
+ type: "address",
283
+ },
284
+ {
285
+ indexed: false,
286
+ internalType: "uint256",
287
+ name: "value",
288
+ type: "uint256",
289
+ },
290
+ ],
291
+ name: "Transfer",
292
+ type: "event",
293
+ },
294
+ {
295
+ anonymous: false,
296
+ inputs: [
297
+ {
298
+ indexed: false,
299
+ internalType: "address",
300
+ name: "account",
301
+ type: "address",
302
+ },
303
+ ],
304
+ name: "Unpaused",
305
+ type: "event",
306
+ },
307
+ {
308
+ inputs: [],
309
+ name: "CMETH",
310
+ outputs: [
311
+ {
312
+ internalType: "address",
313
+ name: "",
314
+ type: "address",
315
+ },
316
+ ],
317
+ stateMutability: "view",
318
+ type: "function",
319
+ },
320
+ {
321
+ inputs: [],
322
+ name: "DOMAIN_SEPARATOR",
323
+ outputs: [
324
+ {
325
+ internalType: "bytes32",
326
+ name: "",
327
+ type: "bytes32",
328
+ },
329
+ ],
330
+ stateMutability: "view",
331
+ type: "function",
332
+ },
333
+ {
334
+ inputs: [],
335
+ name: "WETH",
336
+ outputs: [
337
+ {
338
+ internalType: "address",
339
+ name: "",
340
+ type: "address",
341
+ },
342
+ ],
343
+ stateMutability: "view",
344
+ type: "function",
345
+ },
346
+ {
347
+ inputs: [
348
+ {
349
+ internalType: "address",
350
+ name: "",
351
+ type: "address",
352
+ },
353
+ ],
354
+ name: "accruedRewards",
355
+ outputs: [
356
+ {
357
+ internalType: "uint256[]",
358
+ name: "rewardAmounts",
359
+ type: "uint256[]",
360
+ },
361
+ ],
362
+ stateMutability: "view",
363
+ type: "function",
364
+ },
365
+ {
366
+ inputs: [
367
+ {
368
+ internalType: "address",
369
+ name: "owner",
370
+ type: "address",
371
+ },
372
+ {
373
+ internalType: "address",
374
+ name: "spender",
375
+ type: "address",
376
+ },
377
+ ],
378
+ name: "allowance",
379
+ outputs: [
380
+ {
381
+ internalType: "uint256",
382
+ name: "",
383
+ type: "uint256",
384
+ },
385
+ ],
386
+ stateMutability: "view",
387
+ type: "function",
388
+ },
389
+ {
390
+ inputs: [
391
+ {
392
+ internalType: "address",
393
+ name: "spender",
394
+ type: "address",
395
+ },
396
+ {
397
+ internalType: "uint256",
398
+ name: "amount",
399
+ type: "uint256",
400
+ },
401
+ ],
402
+ name: "approve",
403
+ outputs: [
404
+ {
405
+ internalType: "bool",
406
+ name: "",
407
+ type: "bool",
408
+ },
409
+ ],
410
+ stateMutability: "nonpayable",
411
+ type: "function",
412
+ },
413
+ {
414
+ inputs: [],
415
+ name: "assetInfo",
416
+ outputs: [
417
+ {
418
+ internalType: "enum IStandardizedYield.AssetType",
419
+ name: "assetType",
420
+ type: "uint8",
421
+ },
422
+ {
423
+ internalType: "address",
424
+ name: "assetAddress",
425
+ type: "address",
426
+ },
427
+ {
428
+ internalType: "uint8",
429
+ name: "assetDecimals",
430
+ type: "uint8",
431
+ },
432
+ ],
433
+ stateMutability: "view",
434
+ type: "function",
435
+ },
436
+ {
437
+ inputs: [
438
+ {
439
+ internalType: "address",
440
+ name: "account",
441
+ type: "address",
442
+ },
443
+ ],
444
+ name: "balanceOf",
445
+ outputs: [
446
+ {
447
+ internalType: "uint256",
448
+ name: "",
449
+ type: "uint256",
450
+ },
451
+ ],
452
+ stateMutability: "view",
453
+ type: "function",
454
+ },
455
+ {
456
+ inputs: [],
457
+ name: "claimOwnership",
458
+ outputs: [],
459
+ stateMutability: "nonpayable",
460
+ type: "function",
461
+ },
462
+ {
463
+ inputs: [
464
+ {
465
+ internalType: "address",
466
+ name: "",
467
+ type: "address",
468
+ },
469
+ ],
470
+ name: "claimRewards",
471
+ outputs: [
472
+ {
473
+ internalType: "uint256[]",
474
+ name: "rewardAmounts",
475
+ type: "uint256[]",
476
+ },
477
+ ],
478
+ stateMutability: "nonpayable",
479
+ type: "function",
480
+ },
481
+ {
482
+ inputs: [],
483
+ name: "decimals",
484
+ outputs: [
485
+ {
486
+ internalType: "uint8",
487
+ name: "",
488
+ type: "uint8",
489
+ },
490
+ ],
491
+ stateMutability: "view",
492
+ type: "function",
493
+ },
494
+ {
495
+ inputs: [
496
+ {
497
+ internalType: "address",
498
+ name: "receiver",
499
+ type: "address",
500
+ },
501
+ {
502
+ internalType: "address",
503
+ name: "tokenIn",
504
+ type: "address",
505
+ },
506
+ {
507
+ internalType: "uint256",
508
+ name: "amountTokenToDeposit",
509
+ type: "uint256",
510
+ },
511
+ {
512
+ internalType: "uint256",
513
+ name: "minSharesOut",
514
+ type: "uint256",
515
+ },
516
+ ],
517
+ name: "deposit",
518
+ outputs: [
519
+ {
520
+ internalType: "uint256",
521
+ name: "amountSharesOut",
522
+ type: "uint256",
523
+ },
524
+ ],
525
+ stateMutability: "payable",
526
+ type: "function",
527
+ },
528
+ {
529
+ inputs: [],
530
+ name: "eip712Domain",
531
+ outputs: [
532
+ {
533
+ internalType: "bytes1",
534
+ name: "fields",
535
+ type: "bytes1",
536
+ },
537
+ {
538
+ internalType: "string",
539
+ name: "name",
540
+ type: "string",
541
+ },
542
+ {
543
+ internalType: "string",
544
+ name: "version",
545
+ type: "string",
546
+ },
547
+ {
548
+ internalType: "uint256",
549
+ name: "chainId",
550
+ type: "uint256",
551
+ },
552
+ {
553
+ internalType: "address",
554
+ name: "verifyingContract",
555
+ type: "address",
556
+ },
557
+ {
558
+ internalType: "bytes32",
559
+ name: "salt",
560
+ type: "bytes32",
561
+ },
562
+ {
563
+ internalType: "uint256[]",
564
+ name: "extensions",
565
+ type: "uint256[]",
566
+ },
567
+ ],
568
+ stateMutability: "view",
569
+ type: "function",
570
+ },
571
+ {
572
+ inputs: [],
573
+ name: "exchangeRate",
574
+ outputs: [
575
+ {
576
+ internalType: "uint256",
577
+ name: "",
578
+ type: "uint256",
579
+ },
580
+ ],
581
+ stateMutability: "view",
582
+ type: "function",
583
+ },
584
+ {
585
+ inputs: [],
586
+ name: "exchangeRateOracle",
587
+ outputs: [
588
+ {
589
+ internalType: "address",
590
+ name: "",
591
+ type: "address",
592
+ },
593
+ ],
594
+ stateMutability: "view",
595
+ type: "function",
596
+ },
597
+ {
598
+ inputs: [],
599
+ name: "getRewardTokens",
600
+ outputs: [
601
+ {
602
+ internalType: "address[]",
603
+ name: "rewardTokens",
604
+ type: "address[]",
605
+ },
606
+ ],
607
+ stateMutability: "view",
608
+ type: "function",
609
+ },
610
+ {
611
+ inputs: [],
612
+ name: "getTokensIn",
613
+ outputs: [
614
+ {
615
+ internalType: "address[]",
616
+ name: "res",
617
+ type: "address[]",
618
+ },
619
+ ],
620
+ stateMutability: "view",
621
+ type: "function",
622
+ },
623
+ {
624
+ inputs: [],
625
+ name: "getTokensOut",
626
+ outputs: [
627
+ {
628
+ internalType: "address[]",
629
+ name: "res",
630
+ type: "address[]",
631
+ },
632
+ ],
633
+ stateMutability: "view",
634
+ type: "function",
635
+ },
636
+ {
637
+ inputs: [
638
+ {
639
+ internalType: "address",
640
+ name: "token",
641
+ type: "address",
642
+ },
643
+ ],
644
+ name: "isValidTokenIn",
645
+ outputs: [
646
+ {
647
+ internalType: "bool",
648
+ name: "",
649
+ type: "bool",
650
+ },
651
+ ],
652
+ stateMutability: "view",
653
+ type: "function",
654
+ },
655
+ {
656
+ inputs: [
657
+ {
658
+ internalType: "address",
659
+ name: "token",
660
+ type: "address",
661
+ },
662
+ ],
663
+ name: "isValidTokenOut",
664
+ outputs: [
665
+ {
666
+ internalType: "bool",
667
+ name: "",
668
+ type: "bool",
669
+ },
670
+ ],
671
+ stateMutability: "view",
672
+ type: "function",
673
+ },
674
+ {
675
+ inputs: [],
676
+ name: "name",
677
+ outputs: [
678
+ {
679
+ internalType: "string",
680
+ name: "",
681
+ type: "string",
682
+ },
683
+ ],
684
+ stateMutability: "view",
685
+ type: "function",
686
+ },
687
+ {
688
+ inputs: [
689
+ {
690
+ internalType: "address",
691
+ name: "owner",
692
+ type: "address",
693
+ },
694
+ ],
695
+ name: "nonces",
696
+ outputs: [
697
+ {
698
+ internalType: "uint256",
699
+ name: "",
700
+ type: "uint256",
701
+ },
702
+ ],
703
+ stateMutability: "view",
704
+ type: "function",
705
+ },
706
+ {
707
+ inputs: [],
708
+ name: "owner",
709
+ outputs: [
710
+ {
711
+ internalType: "address",
712
+ name: "",
713
+ type: "address",
714
+ },
715
+ ],
716
+ stateMutability: "view",
717
+ type: "function",
718
+ },
719
+ {
720
+ inputs: [],
721
+ name: "pause",
722
+ outputs: [],
723
+ stateMutability: "nonpayable",
724
+ type: "function",
725
+ },
726
+ {
727
+ inputs: [],
728
+ name: "paused",
729
+ outputs: [
730
+ {
731
+ internalType: "bool",
732
+ name: "",
733
+ type: "bool",
734
+ },
735
+ ],
736
+ stateMutability: "view",
737
+ type: "function",
738
+ },
739
+ {
740
+ inputs: [],
741
+ name: "pendingOwner",
742
+ outputs: [
743
+ {
744
+ internalType: "address",
745
+ name: "",
746
+ type: "address",
747
+ },
748
+ ],
749
+ stateMutability: "view",
750
+ type: "function",
751
+ },
752
+ {
753
+ inputs: [
754
+ {
755
+ internalType: "address",
756
+ name: "owner",
757
+ type: "address",
758
+ },
759
+ {
760
+ internalType: "address",
761
+ name: "spender",
762
+ type: "address",
763
+ },
764
+ {
765
+ internalType: "uint256",
766
+ name: "value",
767
+ type: "uint256",
768
+ },
769
+ {
770
+ internalType: "uint256",
771
+ name: "deadline",
772
+ type: "uint256",
773
+ },
774
+ {
775
+ internalType: "uint8",
776
+ name: "v",
777
+ type: "uint8",
778
+ },
779
+ {
780
+ internalType: "bytes32",
781
+ name: "r",
782
+ type: "bytes32",
783
+ },
784
+ {
785
+ internalType: "bytes32",
786
+ name: "s",
787
+ type: "bytes32",
788
+ },
789
+ ],
790
+ name: "permit",
791
+ outputs: [],
792
+ stateMutability: "nonpayable",
793
+ type: "function",
794
+ },
795
+ {
796
+ inputs: [
797
+ {
798
+ internalType: "address",
799
+ name: "tokenIn",
800
+ type: "address",
801
+ },
802
+ {
803
+ internalType: "uint256",
804
+ name: "amountTokenToDeposit",
805
+ type: "uint256",
806
+ },
807
+ ],
808
+ name: "previewDeposit",
809
+ outputs: [
810
+ {
811
+ internalType: "uint256",
812
+ name: "amountSharesOut",
813
+ type: "uint256",
814
+ },
815
+ ],
816
+ stateMutability: "view",
817
+ type: "function",
818
+ },
819
+ {
820
+ inputs: [
821
+ {
822
+ internalType: "address",
823
+ name: "tokenOut",
824
+ type: "address",
825
+ },
826
+ {
827
+ internalType: "uint256",
828
+ name: "amountSharesToRedeem",
829
+ type: "uint256",
830
+ },
831
+ ],
832
+ name: "previewRedeem",
833
+ outputs: [
834
+ {
835
+ internalType: "uint256",
836
+ name: "amountTokenOut",
837
+ type: "uint256",
838
+ },
839
+ ],
840
+ stateMutability: "view",
841
+ type: "function",
842
+ },
843
+ {
844
+ inputs: [
845
+ {
846
+ internalType: "address",
847
+ name: "receiver",
848
+ type: "address",
849
+ },
850
+ {
851
+ internalType: "uint256",
852
+ name: "amountSharesToRedeem",
853
+ type: "uint256",
854
+ },
855
+ {
856
+ internalType: "address",
857
+ name: "tokenOut",
858
+ type: "address",
859
+ },
860
+ {
861
+ internalType: "uint256",
862
+ name: "minTokenOut",
863
+ type: "uint256",
864
+ },
865
+ {
866
+ internalType: "bool",
867
+ name: "burnFromInternalBalance",
868
+ type: "bool",
869
+ },
870
+ ],
871
+ name: "redeem",
872
+ outputs: [
873
+ {
874
+ internalType: "uint256",
875
+ name: "amountTokenOut",
876
+ type: "uint256",
877
+ },
878
+ ],
879
+ stateMutability: "nonpayable",
880
+ type: "function",
881
+ },
882
+ {
883
+ inputs: [],
884
+ name: "rewardIndexesCurrent",
885
+ outputs: [
886
+ {
887
+ internalType: "uint256[]",
888
+ name: "indexes",
889
+ type: "uint256[]",
890
+ },
891
+ ],
892
+ stateMutability: "nonpayable",
893
+ type: "function",
894
+ },
895
+ {
896
+ inputs: [],
897
+ name: "rewardIndexesStored",
898
+ outputs: [
899
+ {
900
+ internalType: "uint256[]",
901
+ name: "indexes",
902
+ type: "uint256[]",
903
+ },
904
+ ],
905
+ stateMutability: "view",
906
+ type: "function",
907
+ },
908
+ {
909
+ inputs: [
910
+ {
911
+ internalType: "address",
912
+ name: "newOracle",
913
+ type: "address",
914
+ },
915
+ ],
916
+ name: "setExchangeRateOracle",
917
+ outputs: [],
918
+ stateMutability: "nonpayable",
919
+ type: "function",
920
+ },
921
+ {
922
+ inputs: [],
923
+ name: "symbol",
924
+ outputs: [
925
+ {
926
+ internalType: "string",
927
+ name: "",
928
+ type: "string",
929
+ },
930
+ ],
931
+ stateMutability: "view",
932
+ type: "function",
933
+ },
934
+ {
935
+ inputs: [],
936
+ name: "totalSupply",
937
+ outputs: [
938
+ {
939
+ internalType: "uint256",
940
+ name: "",
941
+ type: "uint256",
942
+ },
943
+ ],
944
+ stateMutability: "view",
945
+ type: "function",
946
+ },
947
+ {
948
+ inputs: [
949
+ {
950
+ internalType: "address",
951
+ name: "to",
952
+ type: "address",
953
+ },
954
+ {
955
+ internalType: "uint256",
956
+ name: "amount",
957
+ type: "uint256",
958
+ },
959
+ ],
960
+ name: "transfer",
961
+ outputs: [
962
+ {
963
+ internalType: "bool",
964
+ name: "",
965
+ type: "bool",
966
+ },
967
+ ],
968
+ stateMutability: "nonpayable",
969
+ type: "function",
970
+ },
971
+ {
972
+ inputs: [
973
+ {
974
+ internalType: "address",
975
+ name: "from",
976
+ type: "address",
977
+ },
978
+ {
979
+ internalType: "address",
980
+ name: "to",
981
+ type: "address",
982
+ },
983
+ {
984
+ internalType: "uint256",
985
+ name: "amount",
986
+ type: "uint256",
987
+ },
988
+ ],
989
+ name: "transferFrom",
990
+ outputs: [
991
+ {
992
+ internalType: "bool",
993
+ name: "",
994
+ type: "bool",
995
+ },
996
+ ],
997
+ stateMutability: "nonpayable",
998
+ type: "function",
999
+ },
1000
+ {
1001
+ inputs: [
1002
+ {
1003
+ internalType: "address",
1004
+ name: "newOwner",
1005
+ type: "address",
1006
+ },
1007
+ {
1008
+ internalType: "bool",
1009
+ name: "direct",
1010
+ type: "bool",
1011
+ },
1012
+ {
1013
+ internalType: "bool",
1014
+ name: "renounce",
1015
+ type: "bool",
1016
+ },
1017
+ ],
1018
+ name: "transferOwnership",
1019
+ outputs: [],
1020
+ stateMutability: "nonpayable",
1021
+ type: "function",
1022
+ },
1023
+ {
1024
+ inputs: [],
1025
+ name: "unpause",
1026
+ outputs: [],
1027
+ stateMutability: "nonpayable",
1028
+ type: "function",
1029
+ },
1030
+ {
1031
+ inputs: [],
1032
+ name: "yieldToken",
1033
+ outputs: [
1034
+ {
1035
+ internalType: "address",
1036
+ name: "",
1037
+ type: "address",
1038
+ },
1039
+ ],
1040
+ stateMutability: "view",
1041
+ type: "function",
1042
+ },
1043
+ {
1044
+ stateMutability: "payable",
1045
+ type: "receive",
1046
+ },
1047
+ ];
1048
+
1049
+ const _bytecode =
1050
+ "0x6101a0604052603a8054610100600160a81b031916741e2ad9764cfac60876486a7c714bc71f5b55f5c2001790553480156200003a57600080fd5b50604051806040016040528060088152602001670a6b240c6da8aa8960c31b815250604051806040016040528060088152602001670a6b25ac6da8aa8960c31b81525073e6829d9a7ee3040e1276fa75293bde931859e8fa8282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015620000d3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000f9919062000462565b6040805180820190915260018152603160f81b60208201528390818484600362000124848262000535565b50600462000133838262000535565b5060ff166080525050600280546001600160f81b0316600160f81b1790556200015e82600562000363565b610140526200016f81600662000363565b61016052815160208084019190912061010052815190820120610120524660c052620001ff6101005161012051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60a05250503060e0525050603a805460ff1916905550600954600160a81b900460ff16158080156200023e57506009546001600160a01b90910460ff16105b80620002615750303b158015620002615750600954600160a01b900460ff166001145b620002ca5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6009805460ff60a01b1916600160a01b1790558015620002f8576009805460ff60a81b1916600160a81b1790555b6001600160a01b03821661018052620003106200039c565b801562000359576009805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505062000677565b600060208351101562000383576200037b836200041f565b905062000396565b8162000390848262000535565b5060ff90505b92915050565b600954600160a81b900460ff166200040b5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b6064820152608401620002c1565b600880546001600160a01b03191633179055565b600080829050601f815111156200044d578260405163305a27a960e01b8152600401620002c1919062000601565b80516200045a8262000652565b179392505050565b6000602082840312156200047557600080fd5b815160ff811681146200048757600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620004b957607f821691505b602082108103620004da57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000530576000816000526020600020601f850160051c810160208610156200050b5750805b601f850160051c820191505b818110156200052c5782815560010162000517565b5050505b505050565b81516001600160401b038111156200055157620005516200048e565b6200056981620005628454620004a4565b84620004e0565b602080601f831160018114620005a15760008415620005885750858301515b600019600386901b1c1916600185901b1785556200052c565b600085815260208120601f198616915b82811015620005d257888601518255948401946001909101908401620005b1565b5085821015620005f15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020808352835180602085015260005b81811015620006315785810183015185820160400152820162000613565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620004da5760001960209190910360031b1b16919050565b60805160a05160c05160e051610100516101205161014051610160516101805161277a620006f660003960008181610471015281816107620152610d8f01526000610e4801526000610e1d0152600061177801526000611750015260006116ab015260006116d5015260006116ff01526000610314015261277a6000f3fe6080604052600436106101cf5760003560e01c806306fdde03146101db578063071bc3c914610206578063078dfbe714610228578063095ea7b31461024a578063128fced11461027a57806318160ddd146102a757806320e8c565146102cf578063213cae631461020657806323b872dd146102e2578063313ce567146103025780633644e515146103485780633ba0b9a91461035d5780633f4ba83a1461037257806341d8bc5f146103875780634e71e0c8146103a75780635c461608146103bc5780635c975abb146103f157806370a0823114610409578063769f8e5d1461043f57806376d5de851461045f578063784367d6146104935780637ecebe00146104b35780638456cb59146104d357806384b0196e146104e85780638da5cb5b1461051057806395d89b4114610530578063a40bee5014610545578063a9059cbb1461057a578063ad5c46481461059a578063b8f82b26146105c2578063c4f59f9b146105e2578063cbe52ae314610603578063d505accf14610623578063da88ecb414610643578063dd62ed3e14610664578063e30c397814610684578063ef5cfb8c1461027a578063f8b2f99114610643578063fa5a4f0614610493578063ffffce47146106a457600080fd5b366101d657005b600080fd5b3480156101e757600080fd5b506101f06106c9565b6040516101fd91906121c3565b60405180910390f35b34801561021257600080fd5b5061021b61075b565b6040516101fd91906121d6565b34801561023457600080fd5b5061024861024336600461224d565b61078b565b005b34801561025657600080fd5b5061026a610265366004612296565b610891565b60405190151581526020016101fd565b34801561028657600080fd5b5061029a6102953660046122c0565b6108ab565b6040516101fd9190612317565b3480156102b357600080fd5b506002546001600160f81b03165b6040519081526020016101fd565b6102c16102dd36600461232a565b6108c6565b3480156102ee57600080fd5b5061026a6102fd36600461236c565b610a05565b34801561030e57600080fd5b506103367f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101fd565b34801561035457600080fd5b506102c1610a83565b34801561036957600080fd5b506102c1610a8d565b34801561037e57600080fd5b50610248610b06565b34801561039357600080fd5b506102486103a23660046122c0565b610b3a565b3480156103b357600080fd5b50610248610b8c565b3480156103c857600080fd5b506103e473e6829d9a7ee3040e1276fa75293bde931859e8fa81565b6040516101fd91906123a8565b3480156103fd57600080fd5b50603a5460ff1661026a565b34801561041557600080fd5b506102c16104243660046122c0565b6001600160a01b031660009081526020819052604090205490565b34801561044b57600080fd5b506102c161045a3660046123bc565b610c38565b34801561046b57600080fd5b506103e47f000000000000000000000000000000000000000000000000000000000000000081565b34801561049f57600080fd5b5061026a6104ae3660046122c0565b610d8d565b3480156104bf57600080fd5b506102c16104ce3660046122c0565b610dbf565b3480156104df57600080fd5b50610248610ddd565b3480156104f457600080fd5b506104fd610e0f565b6040516101fd9796959493929190612417565b34801561051c57600080fd5b506008546103e4906001600160a01b031681565b34801561053c57600080fd5b506101f0610e98565b34801561055157600080fd5b50600073deaddeaddeaddeaddeaddeaddeaddeaddead111160126040516101fd9392919061249d565b34801561058657600080fd5b5061026a610595366004612296565b610ea7565b3480156105a657600080fd5b506103e473deaddeaddeaddeaddeaddeaddeaddeaddead111181565b3480156105ce57600080fd5b506102c16105dd366004612296565b610f19565b3480156105ee57600080fd5b5060408051600081526020810190915261021b565b34801561060f57600080fd5b506102c161061e366004612296565b610f4c565b34801561062f57600080fd5b5061024861063e3660046124df565b610f76565b34801561064f57600080fd5b5060408051600081526020810190915261029a565b34801561067057600080fd5b506102c161067f366004612552565b6110da565b34801561069057600080fd5b506009546103e4906001600160a01b031681565b3480156106b057600080fd5b50603a546103e49061010090046001600160a01b031681565b6060600380546106d890612585565b80601f016020809104026020016040519081016040528092919081815260200182805461070490612585565b80156107515780601f1061072657610100808354040283529160200191610751565b820191906000526020600020905b81548152906001019060200180831161073457829003601f168201915b5050505050905090565b60606107867f0000000000000000000000000000000000000000000000000000000000000000611105565b905090565b6008546001600160a01b031633146107be5760405162461bcd60e51b81526004016107b5906125b9565b60405180910390fd5b8115610870576001600160a01b0383161515806107d85750805b61081c5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016107b5565b6008546040516001600160a01b0380861692169060008051602061270583398151915290600090a3600880546001600160a01b0385166001600160a01b031991821617909155600980549091169055505050565b600980546001600160a01b0319166001600160a01b0385161790555b505050565b60003361089f818585611160565b60019150505b92915050565b604080516000808252602082019092526060915b5092915050565b600254600090600119600160f81b90910460ff16016108f75760405162461bcd60e51b81526004016107b5906125ee565b600280546001600160f81b0316600160f91b17905561091584610d8d565b61093457836040516315d57ce360e31b81526004016107b591906123a8565b8260000361095557604051630a907f2f60e41b815260040160405180910390fd5b610960843385611285565b508181811015610987578082604051635e38f95d60e11b81526004016107b5929190612625565b61099185826112ec565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5986856040516109e0929190612625565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff1601610a365760405162461bcd60e51b81526004016107b5906125ee565b600280546001600160f81b0316600160f91b17905533610a57858285611402565b610a6285858561147c565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b600061078661169e565b6000603a60019054906101000a90046001600160a01b03166001600160a01b031663e6aa216c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ae2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107869190612633565b6008546001600160a01b03163314610b305760405162461bcd60e51b81526004016107b5906125b9565b610b386117c9565b565b6008546001600160a01b03163314610b645760405162461bcd60e51b81526004016107b5906125b9565b603a80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b6009546001600160a01b0316338114610be75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016107b5565b6008546040516001600160a01b0380841692169060008051602061270583398151915290600090a3600880546001600160a01b039092166001600160a01b0319928316179055600980549091169055565b600254600090600119600160f81b90910460ff1601610c695760405162461bcd60e51b81526004016107b5906125ee565b600280546001600160f81b0316600160f91b179055610c8784610d8d565b610ca657836040516388a5056160e01b81526004016107b591906123a8565b84600003610cc75760405163c3d83b0760e01b815260040160405180910390fd5b8115610cdc57610cd73086611815565b610ce6565b610ce63386611815565b610cf186858761198e565b905082811015610d185780836040516305ff726560e51b81526004016107b5929190612625565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610d67929190612625565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6001600160a01b0381166000908152600760205260408120546108a5565b6008546001600160a01b03163314610e075760405162461bcd60e51b81526004016107b5906125b9565b610b3861199b565b600060608082808083610e437f000000000000000000000000000000000000000000000000000000000000000060056119d8565b610e6e7f000000000000000000000000000000000000000000000000000000000000000060066119d8565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546106d890612585565b600254600090600119600160f81b90910460ff1601610ed85760405162461bcd60e51b81526004016107b5906125ee565b600280546001600160f81b0316600160f91b17905533610ef981858561147c565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6000610f2483610d8d565b610f4357826040516315d57ce360e31b81526004016107b591906123a8565b815b9392505050565b6000610f5783610d8d565b610f4357826040516388a5056160e01b81526004016107b591906123a8565b83421115610fc65760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016107b5565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610ff58c611a83565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061105082611aab565b9050600061106082878787611ad8565b9050896001600160a01b0316816001600160a01b0316146110c35760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016107b5565b6110ce8a8a8a611160565b50505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60408051600180825281830190925260609160208083019080368337019050509050818160008151811061113b5761113b61264c565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b6001600160a01b0383166111c25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107b5565b6001600160a01b0382166112235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107b5565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166112d15780341461088c5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016107b5565b801561088c5761088c6001600160a01b038416833084611b02565b6001600160a01b0382166113425760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107b5565b61134e60008383611b6d565b61135781611b75565b600280546000906113729084906001600160f81b0316612678565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b0316815260200190815260200160002060008282546113ca9190612698565b90915550506040518181526001600160a01b038316906000906000805160206127258339815191529060200160405180910390a35050565b600061140e84846110da565b9050600019811461147657818110156114695760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107b5565b6114768484848403611160565b50505050565b6001600160a01b0383166114e05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107b5565b6001600160a01b0382166115425760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107b5565b816001600160a01b0316836001600160a01b03160361159d5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016107b5565b6115a8838383611b6d565b6001600160a01b038316600090815260208190526040902054818110156116205760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107b5565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611657908490612698565b92505081905550826001600160a01b0316846001600160a01b03166000805160206127258339815191528460405161169191815260200190565b60405180910390a3611476565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156116f757507f000000000000000000000000000000000000000000000000000000000000000046145b1561172157507f000000000000000000000000000000000000000000000000000000000000000090565b610786604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6117d1611b8f565b603a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405161180b91906123a8565b60405180910390a1565b6001600160a01b0382166118755760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107b5565b61188182600083611b6d565b6001600160a01b038216600090815260208190526040902054818110156118f55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107b5565b6001600160a01b0383166000908152602081905260409020828203905561191b82611b75565b600280546000906119369084906001600160f81b03166126ab565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206127258339815191528460405161127891815260200190565b60006108bf838584611bd8565b6119a3611c9c565b603a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586117fe3390565b606060ff83146119f2576119eb83611ce2565b90506108a5565b8180546119fe90612585565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2a90612585565b8015611a775780601f10611a4c57610100808354040283529160200191611a77565b820191906000526020600020905b815481529060010190602001808311611a5a57829003601f168201915b505050505090506108a5565b6001600160a01b03811660009081526007602052604090208054600181018255905b50919050565b60006108a5611ab861169e565b8360405161190160f01b8152600281019290925260228201526042902090565b6000806000611ae987878787611d21565b91509150611af681611ddb565b5090505b949350505050565b6040516001600160a01b03808516602483015283166044820152606481018290526114769085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611f23565b61088c611c9c565b60006001600160f81b03821115611b8b57600080fd5b5090565b603a5460ff16610b385760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107b5565b80600003611be557505050565b6001600160a01b038316611c88576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c40576040519150601f19603f3d011682016040523d82523d6000602084013e611c45565b606091505b50509050806114765760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016107b5565b61088c6001600160a01b0384168383611ff8565b603a5460ff1615610b385760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107b5565b60606000611cef83612028565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115611d4e5750600090506003611dd2565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611da2573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611dcb57600060019250925050611dd2565b9150600090505b94509492505050565b6000816004811115611def57611def612487565b03611df75750565b6001816004811115611e0b57611e0b612487565b03611e535760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016107b5565b6002816004811115611e6757611e67612487565b03611eb45760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107b5565b6003816004811115611ec857611ec8612487565b03611f205760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107b5565b50565b6000611f78826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120509092919063ffffffff16565b9050805160001480611f99575080806020019051810190611f9991906126cb565b61088c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107b5565b6040516001600160a01b03831660248201526044810182905261088c90849063a9059cbb60e01b90606401611b36565b600060ff8216601f8111156108a557604051632cd44ac360e21b815260040160405180910390fd5b6060611afa848460008585600080866001600160a01b0316858760405161207791906126e8565b60006040518083038185875af1925050503d80600081146120b4576040519150601f19603f3d011682016040523d82523d6000602084013e6120b9565b606091505b50915091506120ca878383876120d5565b979650505050505050565b6060831561214457825160000361213d576001600160a01b0385163b61213d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107b5565b5081611afa565b611afa83838151156121595781518083602001fd5b8060405162461bcd60e51b81526004016107b591906121c3565b60005b8381101561218e578181015183820152602001612176565b50506000910152565b600081518084526121af816020860160208601612173565b601f01601f19169290920160200192915050565b602081526000610f456020830184612197565b6020808252825182820181905260009190848201906040850190845b818110156122175783516001600160a01b0316835292840192918401916001016121f2565b50909695505050505050565b80356001600160a01b038116811461223a57600080fd5b919050565b8015158114611f2057600080fd5b60008060006060848603121561226257600080fd5b61226b84612223565b9250602084013561227b8161223f565b9150604084013561228b8161223f565b809150509250925092565b600080604083850312156122a957600080fd5b6122b283612223565b946020939093013593505050565b6000602082840312156122d257600080fd5b610f4582612223565b60008151808452602080850194506020840160005b8381101561230c578151875295820195908201906001016122f0565b509495945050505050565b602081526000610f4560208301846122db565b6000806000806080858703121561234057600080fd5b61234985612223565b935061235760208601612223565b93969395505050506040820135916060013590565b60008060006060848603121561238157600080fd5b61238a84612223565b925061239860208501612223565b9150604084013590509250925092565b6001600160a01b0391909116815260200190565b600080600080600060a086880312156123d457600080fd5b6123dd86612223565b9450602086013593506123f260408701612223565b92506060860135915060808601356124098161223f565b809150509295509295909350565b60ff60f81b8816815260e06020820152600061243660e0830189612197565b82810360408401526124488189612197565b606084018890526001600160a01b038716608085015260a0840186905283810360c0850152905061247981856122db565b9a9950505050505050505050565b634e487b7160e01b600052602160045260246000fd5b60608101600285106124bf57634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b600080600080600080600060e0888a0312156124fa57600080fd5b61250388612223565b965061251160208901612223565b95506040880135945060608801359350608088013560ff8116811461253557600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561256557600080fd5b61256e83612223565b915061257c60208401612223565b90509250929050565b600181811c9082168061259957607f821691505b602082108103611aa557634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b60006020828403121561264557600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6001600160f81b038181168382160190808211156108bf576108bf612662565b808201808211156108a5576108a5612662565b6001600160f81b038281168282160390808211156108bf576108bf612662565b6000602082840312156126dd57600080fd5b8151610f458161223f565b600082516126fa818460208701612173565b919091019291505056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220e22b8bc8d0b91a2ed45b255740f68cead1efe1d8eb040593e20e4d566128092664736f6c63430008170033";
1051
+
1052
+ type PendleCMETHSYConstructorParams =
1053
+ | [signer?: Signer]
1054
+ | ConstructorParameters<typeof ContractFactory>;
1055
+
1056
+ const isSuperArgs = (
1057
+ xs: PendleCMETHSYConstructorParams
1058
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1059
+
1060
+ export class PendleCMETHSY__factory extends ContractFactory {
1061
+ constructor(...args: PendleCMETHSYConstructorParams) {
1062
+ if (isSuperArgs(args)) {
1063
+ super(...args);
1064
+ } else {
1065
+ super(_abi, _bytecode, args[0]);
1066
+ }
1067
+ this.contractName = "PendleCMETHSY";
1068
+ }
1069
+
1070
+ deploy(
1071
+ overrides?: Overrides & { from?: string | Promise<string> }
1072
+ ): Promise<PendleCMETHSY> {
1073
+ return super.deploy(overrides || {}) as Promise<PendleCMETHSY>;
1074
+ }
1075
+ getDeployTransaction(
1076
+ overrides?: Overrides & { from?: string | Promise<string> }
1077
+ ): TransactionRequest {
1078
+ return super.getDeployTransaction(overrides || {});
1079
+ }
1080
+ attach(address: string): PendleCMETHSY {
1081
+ return super.attach(address) as PendleCMETHSY;
1082
+ }
1083
+ connect(signer: Signer): PendleCMETHSY__factory {
1084
+ return super.connect(signer) as PendleCMETHSY__factory;
1085
+ }
1086
+ static readonly contractName: "PendleCMETHSY";
1087
+ public readonly contractName: "PendleCMETHSY";
1088
+ static readonly bytecode = _bytecode;
1089
+ static readonly abi = _abi;
1090
+ static createInterface(): PendleCMETHSYInterface {
1091
+ return new utils.Interface(_abi) as PendleCMETHSYInterface;
1092
+ }
1093
+ static connect(
1094
+ address: string,
1095
+ signerOrProvider: Signer | Provider
1096
+ ): PendleCMETHSY {
1097
+ return new Contract(address, _abi, signerOrProvider) as PendleCMETHSY;
1098
+ }
1099
+ }