@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,871 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ SYBaseWithoutPermitUpg,
9
+ SYBaseWithoutPermitUpgInterface,
10
+ } from "../SYBaseWithoutPermitUpg";
11
+
12
+ const _abi = [
13
+ {
14
+ inputs: [
15
+ {
16
+ internalType: "uint256",
17
+ name: "actualSharesOut",
18
+ type: "uint256",
19
+ },
20
+ {
21
+ internalType: "uint256",
22
+ name: "requiredSharesOut",
23
+ type: "uint256",
24
+ },
25
+ ],
26
+ name: "SYInsufficientSharesOut",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [
31
+ {
32
+ internalType: "uint256",
33
+ name: "actualTokenOut",
34
+ type: "uint256",
35
+ },
36
+ {
37
+ internalType: "uint256",
38
+ name: "requiredTokenOut",
39
+ type: "uint256",
40
+ },
41
+ ],
42
+ name: "SYInsufficientTokenOut",
43
+ type: "error",
44
+ },
45
+ {
46
+ inputs: [
47
+ {
48
+ internalType: "address",
49
+ name: "token",
50
+ type: "address",
51
+ },
52
+ ],
53
+ name: "SYInvalidTokenIn",
54
+ type: "error",
55
+ },
56
+ {
57
+ inputs: [
58
+ {
59
+ internalType: "address",
60
+ name: "token",
61
+ type: "address",
62
+ },
63
+ ],
64
+ name: "SYInvalidTokenOut",
65
+ type: "error",
66
+ },
67
+ {
68
+ inputs: [],
69
+ name: "SYZeroDeposit",
70
+ type: "error",
71
+ },
72
+ {
73
+ inputs: [],
74
+ name: "SYZeroRedeem",
75
+ type: "error",
76
+ },
77
+ {
78
+ anonymous: false,
79
+ inputs: [
80
+ {
81
+ indexed: true,
82
+ internalType: "address",
83
+ name: "owner",
84
+ type: "address",
85
+ },
86
+ {
87
+ indexed: true,
88
+ internalType: "address",
89
+ name: "spender",
90
+ type: "address",
91
+ },
92
+ {
93
+ indexed: false,
94
+ internalType: "uint256",
95
+ name: "value",
96
+ type: "uint256",
97
+ },
98
+ ],
99
+ name: "Approval",
100
+ type: "event",
101
+ },
102
+ {
103
+ anonymous: false,
104
+ inputs: [
105
+ {
106
+ indexed: true,
107
+ internalType: "address",
108
+ name: "user",
109
+ type: "address",
110
+ },
111
+ {
112
+ indexed: false,
113
+ internalType: "address[]",
114
+ name: "rewardTokens",
115
+ type: "address[]",
116
+ },
117
+ {
118
+ indexed: false,
119
+ internalType: "uint256[]",
120
+ name: "rewardAmounts",
121
+ type: "uint256[]",
122
+ },
123
+ ],
124
+ name: "ClaimRewards",
125
+ type: "event",
126
+ },
127
+ {
128
+ anonymous: false,
129
+ inputs: [
130
+ {
131
+ indexed: true,
132
+ internalType: "address",
133
+ name: "caller",
134
+ type: "address",
135
+ },
136
+ {
137
+ indexed: true,
138
+ internalType: "address",
139
+ name: "receiver",
140
+ type: "address",
141
+ },
142
+ {
143
+ indexed: true,
144
+ internalType: "address",
145
+ name: "tokenIn",
146
+ type: "address",
147
+ },
148
+ {
149
+ indexed: false,
150
+ internalType: "uint256",
151
+ name: "amountDeposited",
152
+ type: "uint256",
153
+ },
154
+ {
155
+ indexed: false,
156
+ internalType: "uint256",
157
+ name: "amountSyOut",
158
+ type: "uint256",
159
+ },
160
+ ],
161
+ name: "Deposit",
162
+ type: "event",
163
+ },
164
+ {
165
+ anonymous: false,
166
+ inputs: [
167
+ {
168
+ indexed: false,
169
+ internalType: "uint8",
170
+ name: "version",
171
+ type: "uint8",
172
+ },
173
+ ],
174
+ name: "Initialized",
175
+ type: "event",
176
+ },
177
+ {
178
+ anonymous: false,
179
+ inputs: [
180
+ {
181
+ indexed: true,
182
+ internalType: "address",
183
+ name: "previousOwner",
184
+ type: "address",
185
+ },
186
+ {
187
+ indexed: true,
188
+ internalType: "address",
189
+ name: "newOwner",
190
+ type: "address",
191
+ },
192
+ ],
193
+ name: "OwnershipTransferred",
194
+ type: "event",
195
+ },
196
+ {
197
+ anonymous: false,
198
+ inputs: [
199
+ {
200
+ indexed: false,
201
+ internalType: "address",
202
+ name: "account",
203
+ type: "address",
204
+ },
205
+ ],
206
+ name: "Paused",
207
+ type: "event",
208
+ },
209
+ {
210
+ anonymous: false,
211
+ inputs: [
212
+ {
213
+ indexed: true,
214
+ internalType: "address",
215
+ name: "caller",
216
+ type: "address",
217
+ },
218
+ {
219
+ indexed: true,
220
+ internalType: "address",
221
+ name: "receiver",
222
+ type: "address",
223
+ },
224
+ {
225
+ indexed: true,
226
+ internalType: "address",
227
+ name: "tokenOut",
228
+ type: "address",
229
+ },
230
+ {
231
+ indexed: false,
232
+ internalType: "uint256",
233
+ name: "amountSyToRedeem",
234
+ type: "uint256",
235
+ },
236
+ {
237
+ indexed: false,
238
+ internalType: "uint256",
239
+ name: "amountTokenOut",
240
+ type: "uint256",
241
+ },
242
+ ],
243
+ name: "Redeem",
244
+ type: "event",
245
+ },
246
+ {
247
+ anonymous: false,
248
+ inputs: [
249
+ {
250
+ indexed: true,
251
+ internalType: "address",
252
+ name: "from",
253
+ type: "address",
254
+ },
255
+ {
256
+ indexed: true,
257
+ internalType: "address",
258
+ name: "to",
259
+ type: "address",
260
+ },
261
+ {
262
+ indexed: false,
263
+ internalType: "uint256",
264
+ name: "value",
265
+ type: "uint256",
266
+ },
267
+ ],
268
+ name: "Transfer",
269
+ type: "event",
270
+ },
271
+ {
272
+ anonymous: false,
273
+ inputs: [
274
+ {
275
+ indexed: false,
276
+ internalType: "address",
277
+ name: "account",
278
+ type: "address",
279
+ },
280
+ ],
281
+ name: "Unpaused",
282
+ type: "event",
283
+ },
284
+ {
285
+ inputs: [
286
+ {
287
+ internalType: "address",
288
+ name: "",
289
+ type: "address",
290
+ },
291
+ ],
292
+ name: "accruedRewards",
293
+ outputs: [
294
+ {
295
+ internalType: "uint256[]",
296
+ name: "rewardAmounts",
297
+ type: "uint256[]",
298
+ },
299
+ ],
300
+ stateMutability: "view",
301
+ type: "function",
302
+ },
303
+ {
304
+ inputs: [
305
+ {
306
+ internalType: "address",
307
+ name: "owner",
308
+ type: "address",
309
+ },
310
+ {
311
+ internalType: "address",
312
+ name: "spender",
313
+ type: "address",
314
+ },
315
+ ],
316
+ name: "allowance",
317
+ outputs: [
318
+ {
319
+ internalType: "uint256",
320
+ name: "",
321
+ type: "uint256",
322
+ },
323
+ ],
324
+ stateMutability: "view",
325
+ type: "function",
326
+ },
327
+ {
328
+ inputs: [
329
+ {
330
+ internalType: "address",
331
+ name: "spender",
332
+ type: "address",
333
+ },
334
+ {
335
+ internalType: "uint256",
336
+ name: "amount",
337
+ type: "uint256",
338
+ },
339
+ ],
340
+ name: "approve",
341
+ outputs: [
342
+ {
343
+ internalType: "bool",
344
+ name: "",
345
+ type: "bool",
346
+ },
347
+ ],
348
+ stateMutability: "nonpayable",
349
+ type: "function",
350
+ },
351
+ {
352
+ inputs: [],
353
+ name: "assetInfo",
354
+ outputs: [
355
+ {
356
+ internalType: "enum IStandardizedYield.AssetType",
357
+ name: "assetType",
358
+ type: "uint8",
359
+ },
360
+ {
361
+ internalType: "address",
362
+ name: "assetAddress",
363
+ type: "address",
364
+ },
365
+ {
366
+ internalType: "uint8",
367
+ name: "assetDecimals",
368
+ type: "uint8",
369
+ },
370
+ ],
371
+ stateMutability: "view",
372
+ type: "function",
373
+ },
374
+ {
375
+ inputs: [
376
+ {
377
+ internalType: "address",
378
+ name: "account",
379
+ type: "address",
380
+ },
381
+ ],
382
+ name: "balanceOf",
383
+ outputs: [
384
+ {
385
+ internalType: "uint256",
386
+ name: "",
387
+ type: "uint256",
388
+ },
389
+ ],
390
+ stateMutability: "view",
391
+ type: "function",
392
+ },
393
+ {
394
+ inputs: [],
395
+ name: "claimOwnership",
396
+ outputs: [],
397
+ stateMutability: "nonpayable",
398
+ type: "function",
399
+ },
400
+ {
401
+ inputs: [
402
+ {
403
+ internalType: "address",
404
+ name: "",
405
+ type: "address",
406
+ },
407
+ ],
408
+ name: "claimRewards",
409
+ outputs: [
410
+ {
411
+ internalType: "uint256[]",
412
+ name: "rewardAmounts",
413
+ type: "uint256[]",
414
+ },
415
+ ],
416
+ stateMutability: "nonpayable",
417
+ type: "function",
418
+ },
419
+ {
420
+ inputs: [],
421
+ name: "decimals",
422
+ outputs: [
423
+ {
424
+ internalType: "uint8",
425
+ name: "",
426
+ type: "uint8",
427
+ },
428
+ ],
429
+ stateMutability: "view",
430
+ type: "function",
431
+ },
432
+ {
433
+ inputs: [
434
+ {
435
+ internalType: "address",
436
+ name: "receiver",
437
+ type: "address",
438
+ },
439
+ {
440
+ internalType: "address",
441
+ name: "tokenIn",
442
+ type: "address",
443
+ },
444
+ {
445
+ internalType: "uint256",
446
+ name: "amountTokenToDeposit",
447
+ type: "uint256",
448
+ },
449
+ {
450
+ internalType: "uint256",
451
+ name: "minSharesOut",
452
+ type: "uint256",
453
+ },
454
+ ],
455
+ name: "deposit",
456
+ outputs: [
457
+ {
458
+ internalType: "uint256",
459
+ name: "amountSharesOut",
460
+ type: "uint256",
461
+ },
462
+ ],
463
+ stateMutability: "payable",
464
+ type: "function",
465
+ },
466
+ {
467
+ inputs: [],
468
+ name: "exchangeRate",
469
+ outputs: [
470
+ {
471
+ internalType: "uint256",
472
+ name: "res",
473
+ type: "uint256",
474
+ },
475
+ ],
476
+ stateMutability: "view",
477
+ type: "function",
478
+ },
479
+ {
480
+ inputs: [],
481
+ name: "getRewardTokens",
482
+ outputs: [
483
+ {
484
+ internalType: "address[]",
485
+ name: "rewardTokens",
486
+ type: "address[]",
487
+ },
488
+ ],
489
+ stateMutability: "view",
490
+ type: "function",
491
+ },
492
+ {
493
+ inputs: [],
494
+ name: "getTokensIn",
495
+ outputs: [
496
+ {
497
+ internalType: "address[]",
498
+ name: "res",
499
+ type: "address[]",
500
+ },
501
+ ],
502
+ stateMutability: "view",
503
+ type: "function",
504
+ },
505
+ {
506
+ inputs: [],
507
+ name: "getTokensOut",
508
+ outputs: [
509
+ {
510
+ internalType: "address[]",
511
+ name: "res",
512
+ type: "address[]",
513
+ },
514
+ ],
515
+ stateMutability: "view",
516
+ type: "function",
517
+ },
518
+ {
519
+ inputs: [
520
+ {
521
+ internalType: "address",
522
+ name: "token",
523
+ type: "address",
524
+ },
525
+ ],
526
+ name: "isValidTokenIn",
527
+ outputs: [
528
+ {
529
+ internalType: "bool",
530
+ name: "",
531
+ type: "bool",
532
+ },
533
+ ],
534
+ stateMutability: "view",
535
+ type: "function",
536
+ },
537
+ {
538
+ inputs: [
539
+ {
540
+ internalType: "address",
541
+ name: "token",
542
+ type: "address",
543
+ },
544
+ ],
545
+ name: "isValidTokenOut",
546
+ outputs: [
547
+ {
548
+ internalType: "bool",
549
+ name: "",
550
+ type: "bool",
551
+ },
552
+ ],
553
+ stateMutability: "view",
554
+ type: "function",
555
+ },
556
+ {
557
+ inputs: [],
558
+ name: "name",
559
+ outputs: [
560
+ {
561
+ internalType: "string",
562
+ name: "",
563
+ type: "string",
564
+ },
565
+ ],
566
+ stateMutability: "view",
567
+ type: "function",
568
+ },
569
+ {
570
+ inputs: [],
571
+ name: "owner",
572
+ outputs: [
573
+ {
574
+ internalType: "address",
575
+ name: "",
576
+ type: "address",
577
+ },
578
+ ],
579
+ stateMutability: "view",
580
+ type: "function",
581
+ },
582
+ {
583
+ inputs: [],
584
+ name: "pause",
585
+ outputs: [],
586
+ stateMutability: "nonpayable",
587
+ type: "function",
588
+ },
589
+ {
590
+ inputs: [],
591
+ name: "paused",
592
+ outputs: [
593
+ {
594
+ internalType: "bool",
595
+ name: "",
596
+ type: "bool",
597
+ },
598
+ ],
599
+ stateMutability: "view",
600
+ type: "function",
601
+ },
602
+ {
603
+ inputs: [],
604
+ name: "pendingOwner",
605
+ outputs: [
606
+ {
607
+ internalType: "address",
608
+ name: "",
609
+ type: "address",
610
+ },
611
+ ],
612
+ stateMutability: "view",
613
+ type: "function",
614
+ },
615
+ {
616
+ inputs: [
617
+ {
618
+ internalType: "address",
619
+ name: "tokenIn",
620
+ type: "address",
621
+ },
622
+ {
623
+ internalType: "uint256",
624
+ name: "amountTokenToDeposit",
625
+ type: "uint256",
626
+ },
627
+ ],
628
+ name: "previewDeposit",
629
+ outputs: [
630
+ {
631
+ internalType: "uint256",
632
+ name: "amountSharesOut",
633
+ type: "uint256",
634
+ },
635
+ ],
636
+ stateMutability: "view",
637
+ type: "function",
638
+ },
639
+ {
640
+ inputs: [
641
+ {
642
+ internalType: "address",
643
+ name: "tokenOut",
644
+ type: "address",
645
+ },
646
+ {
647
+ internalType: "uint256",
648
+ name: "amountSharesToRedeem",
649
+ type: "uint256",
650
+ },
651
+ ],
652
+ name: "previewRedeem",
653
+ outputs: [
654
+ {
655
+ internalType: "uint256",
656
+ name: "amountTokenOut",
657
+ type: "uint256",
658
+ },
659
+ ],
660
+ stateMutability: "view",
661
+ type: "function",
662
+ },
663
+ {
664
+ inputs: [
665
+ {
666
+ internalType: "address",
667
+ name: "receiver",
668
+ type: "address",
669
+ },
670
+ {
671
+ internalType: "uint256",
672
+ name: "amountSharesToRedeem",
673
+ type: "uint256",
674
+ },
675
+ {
676
+ internalType: "address",
677
+ name: "tokenOut",
678
+ type: "address",
679
+ },
680
+ {
681
+ internalType: "uint256",
682
+ name: "minTokenOut",
683
+ type: "uint256",
684
+ },
685
+ {
686
+ internalType: "bool",
687
+ name: "burnFromInternalBalance",
688
+ type: "bool",
689
+ },
690
+ ],
691
+ name: "redeem",
692
+ outputs: [
693
+ {
694
+ internalType: "uint256",
695
+ name: "amountTokenOut",
696
+ type: "uint256",
697
+ },
698
+ ],
699
+ stateMutability: "nonpayable",
700
+ type: "function",
701
+ },
702
+ {
703
+ inputs: [],
704
+ name: "rewardIndexesCurrent",
705
+ outputs: [
706
+ {
707
+ internalType: "uint256[]",
708
+ name: "indexes",
709
+ type: "uint256[]",
710
+ },
711
+ ],
712
+ stateMutability: "nonpayable",
713
+ type: "function",
714
+ },
715
+ {
716
+ inputs: [],
717
+ name: "rewardIndexesStored",
718
+ outputs: [
719
+ {
720
+ internalType: "uint256[]",
721
+ name: "indexes",
722
+ type: "uint256[]",
723
+ },
724
+ ],
725
+ stateMutability: "view",
726
+ type: "function",
727
+ },
728
+ {
729
+ inputs: [],
730
+ name: "symbol",
731
+ outputs: [
732
+ {
733
+ internalType: "string",
734
+ name: "",
735
+ type: "string",
736
+ },
737
+ ],
738
+ stateMutability: "view",
739
+ type: "function",
740
+ },
741
+ {
742
+ inputs: [],
743
+ name: "totalSupply",
744
+ outputs: [
745
+ {
746
+ internalType: "uint256",
747
+ name: "",
748
+ type: "uint256",
749
+ },
750
+ ],
751
+ stateMutability: "view",
752
+ type: "function",
753
+ },
754
+ {
755
+ inputs: [
756
+ {
757
+ internalType: "address",
758
+ name: "to",
759
+ type: "address",
760
+ },
761
+ {
762
+ internalType: "uint256",
763
+ name: "amount",
764
+ type: "uint256",
765
+ },
766
+ ],
767
+ name: "transfer",
768
+ outputs: [
769
+ {
770
+ internalType: "bool",
771
+ name: "",
772
+ type: "bool",
773
+ },
774
+ ],
775
+ stateMutability: "nonpayable",
776
+ type: "function",
777
+ },
778
+ {
779
+ inputs: [
780
+ {
781
+ internalType: "address",
782
+ name: "from",
783
+ type: "address",
784
+ },
785
+ {
786
+ internalType: "address",
787
+ name: "to",
788
+ type: "address",
789
+ },
790
+ {
791
+ internalType: "uint256",
792
+ name: "amount",
793
+ type: "uint256",
794
+ },
795
+ ],
796
+ name: "transferFrom",
797
+ outputs: [
798
+ {
799
+ internalType: "bool",
800
+ name: "",
801
+ type: "bool",
802
+ },
803
+ ],
804
+ stateMutability: "nonpayable",
805
+ type: "function",
806
+ },
807
+ {
808
+ inputs: [
809
+ {
810
+ internalType: "address",
811
+ name: "newOwner",
812
+ type: "address",
813
+ },
814
+ {
815
+ internalType: "bool",
816
+ name: "direct",
817
+ type: "bool",
818
+ },
819
+ {
820
+ internalType: "bool",
821
+ name: "renounce",
822
+ type: "bool",
823
+ },
824
+ ],
825
+ name: "transferOwnership",
826
+ outputs: [],
827
+ stateMutability: "nonpayable",
828
+ type: "function",
829
+ },
830
+ {
831
+ inputs: [],
832
+ name: "unpause",
833
+ outputs: [],
834
+ stateMutability: "nonpayable",
835
+ type: "function",
836
+ },
837
+ {
838
+ inputs: [],
839
+ name: "yieldToken",
840
+ outputs: [
841
+ {
842
+ internalType: "address",
843
+ name: "",
844
+ type: "address",
845
+ },
846
+ ],
847
+ stateMutability: "view",
848
+ type: "function",
849
+ },
850
+ {
851
+ stateMutability: "payable",
852
+ type: "receive",
853
+ },
854
+ ];
855
+
856
+ export class SYBaseWithoutPermitUpg__factory {
857
+ static readonly abi = _abi;
858
+ static createInterface(): SYBaseWithoutPermitUpgInterface {
859
+ return new utils.Interface(_abi) as SYBaseWithoutPermitUpgInterface;
860
+ }
861
+ static connect(
862
+ address: string,
863
+ signerOrProvider: Signer | Provider
864
+ ): SYBaseWithoutPermitUpg {
865
+ return new Contract(
866
+ address,
867
+ _abi,
868
+ signerOrProvider
869
+ ) as SYBaseWithoutPermitUpg;
870
+ }
871
+ }