@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,1213 @@
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 {
7
+ PendleStkGHOSY,
8
+ PendleStkGHOSYInterface,
9
+ } from "../PendleStkGHOSY";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ stateMutability: "nonpayable",
15
+ type: "constructor",
16
+ },
17
+ {
18
+ inputs: [
19
+ {
20
+ internalType: "uint256",
21
+ name: "actualSharesOut",
22
+ type: "uint256",
23
+ },
24
+ {
25
+ internalType: "uint256",
26
+ name: "requiredSharesOut",
27
+ type: "uint256",
28
+ },
29
+ ],
30
+ name: "SYInsufficientSharesOut",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [
35
+ {
36
+ internalType: "uint256",
37
+ name: "actualTokenOut",
38
+ type: "uint256",
39
+ },
40
+ {
41
+ internalType: "uint256",
42
+ name: "requiredTokenOut",
43
+ type: "uint256",
44
+ },
45
+ ],
46
+ name: "SYInsufficientTokenOut",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: "address",
53
+ name: "token",
54
+ type: "address",
55
+ },
56
+ ],
57
+ name: "SYInvalidTokenIn",
58
+ type: "error",
59
+ },
60
+ {
61
+ inputs: [
62
+ {
63
+ internalType: "address",
64
+ name: "token",
65
+ type: "address",
66
+ },
67
+ ],
68
+ name: "SYInvalidTokenOut",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [],
73
+ name: "SYZeroDeposit",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: "SYZeroRedeem",
79
+ type: "error",
80
+ },
81
+ {
82
+ anonymous: false,
83
+ inputs: [
84
+ {
85
+ indexed: true,
86
+ internalType: "address",
87
+ name: "owner",
88
+ type: "address",
89
+ },
90
+ {
91
+ indexed: true,
92
+ internalType: "address",
93
+ name: "spender",
94
+ type: "address",
95
+ },
96
+ {
97
+ indexed: false,
98
+ internalType: "uint256",
99
+ name: "value",
100
+ type: "uint256",
101
+ },
102
+ ],
103
+ name: "Approval",
104
+ type: "event",
105
+ },
106
+ {
107
+ anonymous: false,
108
+ inputs: [
109
+ {
110
+ indexed: true,
111
+ internalType: "address",
112
+ name: "user",
113
+ type: "address",
114
+ },
115
+ {
116
+ indexed: false,
117
+ internalType: "address[]",
118
+ name: "rewardTokens",
119
+ type: "address[]",
120
+ },
121
+ {
122
+ indexed: false,
123
+ internalType: "uint256[]",
124
+ name: "rewardAmounts",
125
+ type: "uint256[]",
126
+ },
127
+ ],
128
+ name: "ClaimRewards",
129
+ type: "event",
130
+ },
131
+ {
132
+ anonymous: false,
133
+ inputs: [
134
+ {
135
+ indexed: false,
136
+ internalType: "uint256",
137
+ name: "amountClaimed",
138
+ type: "uint256",
139
+ },
140
+ ],
141
+ name: "ClaimedOffchainGHO",
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: "AAVE",
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: "ANGLE_DISTRIBUTOR",
323
+ outputs: [
324
+ {
325
+ internalType: "address",
326
+ name: "",
327
+ type: "address",
328
+ },
329
+ ],
330
+ stateMutability: "view",
331
+ type: "function",
332
+ },
333
+ {
334
+ inputs: [],
335
+ name: "DOMAIN_SEPARATOR",
336
+ outputs: [
337
+ {
338
+ internalType: "bytes32",
339
+ name: "",
340
+ type: "bytes32",
341
+ },
342
+ ],
343
+ stateMutability: "view",
344
+ type: "function",
345
+ },
346
+ {
347
+ inputs: [],
348
+ name: "GHO",
349
+ outputs: [
350
+ {
351
+ internalType: "address",
352
+ name: "",
353
+ type: "address",
354
+ },
355
+ ],
356
+ stateMutability: "view",
357
+ type: "function",
358
+ },
359
+ {
360
+ inputs: [],
361
+ name: "STKGHO",
362
+ outputs: [
363
+ {
364
+ internalType: "address",
365
+ name: "",
366
+ type: "address",
367
+ },
368
+ ],
369
+ stateMutability: "view",
370
+ type: "function",
371
+ },
372
+ {
373
+ inputs: [],
374
+ name: "ZERO_REWARD_ERROR",
375
+ outputs: [
376
+ {
377
+ internalType: "bytes32",
378
+ name: "",
379
+ type: "bytes32",
380
+ },
381
+ ],
382
+ stateMutability: "view",
383
+ type: "function",
384
+ },
385
+ {
386
+ inputs: [
387
+ {
388
+ internalType: "address",
389
+ name: "user",
390
+ type: "address",
391
+ },
392
+ ],
393
+ name: "accruedRewards",
394
+ outputs: [
395
+ {
396
+ internalType: "uint256[]",
397
+ name: "rewardAmounts",
398
+ type: "uint256[]",
399
+ },
400
+ ],
401
+ stateMutability: "view",
402
+ type: "function",
403
+ },
404
+ {
405
+ inputs: [
406
+ {
407
+ internalType: "address",
408
+ name: "owner",
409
+ type: "address",
410
+ },
411
+ {
412
+ internalType: "address",
413
+ name: "spender",
414
+ type: "address",
415
+ },
416
+ ],
417
+ name: "allowance",
418
+ outputs: [
419
+ {
420
+ internalType: "uint256",
421
+ name: "",
422
+ type: "uint256",
423
+ },
424
+ ],
425
+ stateMutability: "view",
426
+ type: "function",
427
+ },
428
+ {
429
+ inputs: [
430
+ {
431
+ internalType: "address",
432
+ name: "spender",
433
+ type: "address",
434
+ },
435
+ {
436
+ internalType: "uint256",
437
+ name: "amount",
438
+ type: "uint256",
439
+ },
440
+ ],
441
+ name: "approve",
442
+ outputs: [
443
+ {
444
+ internalType: "bool",
445
+ name: "",
446
+ type: "bool",
447
+ },
448
+ ],
449
+ stateMutability: "nonpayable",
450
+ type: "function",
451
+ },
452
+ {
453
+ inputs: [],
454
+ name: "assetInfo",
455
+ outputs: [
456
+ {
457
+ internalType: "enum IStandardizedYield.AssetType",
458
+ name: "assetType",
459
+ type: "uint8",
460
+ },
461
+ {
462
+ internalType: "address",
463
+ name: "assetAddress",
464
+ type: "address",
465
+ },
466
+ {
467
+ internalType: "uint8",
468
+ name: "assetDecimals",
469
+ type: "uint8",
470
+ },
471
+ ],
472
+ stateMutability: "view",
473
+ type: "function",
474
+ },
475
+ {
476
+ inputs: [
477
+ {
478
+ internalType: "address",
479
+ name: "account",
480
+ type: "address",
481
+ },
482
+ ],
483
+ name: "balanceOf",
484
+ outputs: [
485
+ {
486
+ internalType: "uint256",
487
+ name: "",
488
+ type: "uint256",
489
+ },
490
+ ],
491
+ stateMutability: "view",
492
+ type: "function",
493
+ },
494
+ {
495
+ inputs: [
496
+ {
497
+ internalType: "address[]",
498
+ name: "users",
499
+ type: "address[]",
500
+ },
501
+ {
502
+ internalType: "address[]",
503
+ name: "tokens",
504
+ type: "address[]",
505
+ },
506
+ {
507
+ internalType: "uint256[]",
508
+ name: "amounts",
509
+ type: "uint256[]",
510
+ },
511
+ {
512
+ internalType: "bytes32[][]",
513
+ name: "proofs",
514
+ type: "bytes32[][]",
515
+ },
516
+ ],
517
+ name: "claimOffchainGHORewards",
518
+ outputs: [],
519
+ stateMutability: "nonpayable",
520
+ type: "function",
521
+ },
522
+ {
523
+ inputs: [],
524
+ name: "claimOwnership",
525
+ outputs: [],
526
+ stateMutability: "nonpayable",
527
+ type: "function",
528
+ },
529
+ {
530
+ inputs: [
531
+ {
532
+ internalType: "address",
533
+ name: "user",
534
+ type: "address",
535
+ },
536
+ ],
537
+ name: "claimRewards",
538
+ outputs: [
539
+ {
540
+ internalType: "uint256[]",
541
+ name: "rewardAmounts",
542
+ type: "uint256[]",
543
+ },
544
+ ],
545
+ stateMutability: "nonpayable",
546
+ type: "function",
547
+ },
548
+ {
549
+ inputs: [],
550
+ name: "decimals",
551
+ outputs: [
552
+ {
553
+ internalType: "uint8",
554
+ name: "",
555
+ type: "uint8",
556
+ },
557
+ ],
558
+ stateMutability: "view",
559
+ type: "function",
560
+ },
561
+ {
562
+ inputs: [
563
+ {
564
+ internalType: "address",
565
+ name: "receiver",
566
+ type: "address",
567
+ },
568
+ {
569
+ internalType: "address",
570
+ name: "tokenIn",
571
+ type: "address",
572
+ },
573
+ {
574
+ internalType: "uint256",
575
+ name: "amountTokenToDeposit",
576
+ type: "uint256",
577
+ },
578
+ {
579
+ internalType: "uint256",
580
+ name: "minSharesOut",
581
+ type: "uint256",
582
+ },
583
+ ],
584
+ name: "deposit",
585
+ outputs: [
586
+ {
587
+ internalType: "uint256",
588
+ name: "amountSharesOut",
589
+ type: "uint256",
590
+ },
591
+ ],
592
+ stateMutability: "payable",
593
+ type: "function",
594
+ },
595
+ {
596
+ inputs: [],
597
+ name: "eip712Domain",
598
+ outputs: [
599
+ {
600
+ internalType: "bytes1",
601
+ name: "fields",
602
+ type: "bytes1",
603
+ },
604
+ {
605
+ internalType: "string",
606
+ name: "name",
607
+ type: "string",
608
+ },
609
+ {
610
+ internalType: "string",
611
+ name: "version",
612
+ type: "string",
613
+ },
614
+ {
615
+ internalType: "uint256",
616
+ name: "chainId",
617
+ type: "uint256",
618
+ },
619
+ {
620
+ internalType: "address",
621
+ name: "verifyingContract",
622
+ type: "address",
623
+ },
624
+ {
625
+ internalType: "bytes32",
626
+ name: "salt",
627
+ type: "bytes32",
628
+ },
629
+ {
630
+ internalType: "uint256[]",
631
+ name: "extensions",
632
+ type: "uint256[]",
633
+ },
634
+ ],
635
+ stateMutability: "view",
636
+ type: "function",
637
+ },
638
+ {
639
+ inputs: [],
640
+ name: "exchangeRate",
641
+ outputs: [
642
+ {
643
+ internalType: "uint256",
644
+ name: "",
645
+ type: "uint256",
646
+ },
647
+ ],
648
+ stateMutability: "view",
649
+ type: "function",
650
+ },
651
+ {
652
+ inputs: [],
653
+ name: "getRewardTokens",
654
+ outputs: [
655
+ {
656
+ internalType: "address[]",
657
+ name: "rewardTokens",
658
+ type: "address[]",
659
+ },
660
+ ],
661
+ stateMutability: "view",
662
+ type: "function",
663
+ },
664
+ {
665
+ inputs: [],
666
+ name: "getTokensIn",
667
+ outputs: [
668
+ {
669
+ internalType: "address[]",
670
+ name: "",
671
+ type: "address[]",
672
+ },
673
+ ],
674
+ stateMutability: "view",
675
+ type: "function",
676
+ },
677
+ {
678
+ inputs: [],
679
+ name: "getTokensOut",
680
+ outputs: [
681
+ {
682
+ internalType: "address[]",
683
+ name: "",
684
+ type: "address[]",
685
+ },
686
+ ],
687
+ stateMutability: "view",
688
+ type: "function",
689
+ },
690
+ {
691
+ inputs: [],
692
+ name: "initialize",
693
+ outputs: [],
694
+ stateMutability: "nonpayable",
695
+ type: "function",
696
+ },
697
+ {
698
+ inputs: [
699
+ {
700
+ internalType: "address",
701
+ name: "token",
702
+ type: "address",
703
+ },
704
+ ],
705
+ name: "isValidTokenIn",
706
+ outputs: [
707
+ {
708
+ internalType: "bool",
709
+ name: "",
710
+ type: "bool",
711
+ },
712
+ ],
713
+ stateMutability: "view",
714
+ type: "function",
715
+ },
716
+ {
717
+ inputs: [
718
+ {
719
+ internalType: "address",
720
+ name: "token",
721
+ type: "address",
722
+ },
723
+ ],
724
+ name: "isValidTokenOut",
725
+ outputs: [
726
+ {
727
+ internalType: "bool",
728
+ name: "",
729
+ type: "bool",
730
+ },
731
+ ],
732
+ stateMutability: "view",
733
+ type: "function",
734
+ },
735
+ {
736
+ inputs: [],
737
+ name: "lastRewardBlock",
738
+ outputs: [
739
+ {
740
+ internalType: "uint256",
741
+ name: "",
742
+ type: "uint256",
743
+ },
744
+ ],
745
+ stateMutability: "view",
746
+ type: "function",
747
+ },
748
+ {
749
+ inputs: [],
750
+ name: "name",
751
+ outputs: [
752
+ {
753
+ internalType: "string",
754
+ name: "",
755
+ type: "string",
756
+ },
757
+ ],
758
+ stateMutability: "view",
759
+ type: "function",
760
+ },
761
+ {
762
+ inputs: [
763
+ {
764
+ internalType: "address",
765
+ name: "owner",
766
+ type: "address",
767
+ },
768
+ ],
769
+ name: "nonces",
770
+ outputs: [
771
+ {
772
+ internalType: "uint256",
773
+ name: "",
774
+ type: "uint256",
775
+ },
776
+ ],
777
+ stateMutability: "view",
778
+ type: "function",
779
+ },
780
+ {
781
+ inputs: [],
782
+ name: "owner",
783
+ outputs: [
784
+ {
785
+ internalType: "address",
786
+ name: "",
787
+ type: "address",
788
+ },
789
+ ],
790
+ stateMutability: "view",
791
+ type: "function",
792
+ },
793
+ {
794
+ inputs: [],
795
+ name: "pause",
796
+ outputs: [],
797
+ stateMutability: "nonpayable",
798
+ type: "function",
799
+ },
800
+ {
801
+ inputs: [],
802
+ name: "paused",
803
+ outputs: [
804
+ {
805
+ internalType: "bool",
806
+ name: "",
807
+ type: "bool",
808
+ },
809
+ ],
810
+ stateMutability: "view",
811
+ type: "function",
812
+ },
813
+ {
814
+ inputs: [],
815
+ name: "pendingOwner",
816
+ outputs: [
817
+ {
818
+ internalType: "address",
819
+ name: "",
820
+ type: "address",
821
+ },
822
+ ],
823
+ stateMutability: "view",
824
+ type: "function",
825
+ },
826
+ {
827
+ inputs: [
828
+ {
829
+ internalType: "address",
830
+ name: "owner",
831
+ type: "address",
832
+ },
833
+ {
834
+ internalType: "address",
835
+ name: "spender",
836
+ type: "address",
837
+ },
838
+ {
839
+ internalType: "uint256",
840
+ name: "value",
841
+ type: "uint256",
842
+ },
843
+ {
844
+ internalType: "uint256",
845
+ name: "deadline",
846
+ type: "uint256",
847
+ },
848
+ {
849
+ internalType: "uint8",
850
+ name: "v",
851
+ type: "uint8",
852
+ },
853
+ {
854
+ internalType: "bytes32",
855
+ name: "r",
856
+ type: "bytes32",
857
+ },
858
+ {
859
+ internalType: "bytes32",
860
+ name: "s",
861
+ type: "bytes32",
862
+ },
863
+ ],
864
+ name: "permit",
865
+ outputs: [],
866
+ stateMutability: "nonpayable",
867
+ type: "function",
868
+ },
869
+ {
870
+ inputs: [
871
+ {
872
+ internalType: "address",
873
+ name: "tokenIn",
874
+ type: "address",
875
+ },
876
+ {
877
+ internalType: "uint256",
878
+ name: "amountTokenToDeposit",
879
+ type: "uint256",
880
+ },
881
+ ],
882
+ name: "previewDeposit",
883
+ outputs: [
884
+ {
885
+ internalType: "uint256",
886
+ name: "amountSharesOut",
887
+ type: "uint256",
888
+ },
889
+ ],
890
+ stateMutability: "view",
891
+ type: "function",
892
+ },
893
+ {
894
+ inputs: [
895
+ {
896
+ internalType: "address",
897
+ name: "tokenOut",
898
+ type: "address",
899
+ },
900
+ {
901
+ internalType: "uint256",
902
+ name: "amountSharesToRedeem",
903
+ type: "uint256",
904
+ },
905
+ ],
906
+ name: "previewRedeem",
907
+ outputs: [
908
+ {
909
+ internalType: "uint256",
910
+ name: "amountTokenOut",
911
+ type: "uint256",
912
+ },
913
+ ],
914
+ stateMutability: "view",
915
+ type: "function",
916
+ },
917
+ {
918
+ inputs: [
919
+ {
920
+ internalType: "address",
921
+ name: "receiver",
922
+ type: "address",
923
+ },
924
+ {
925
+ internalType: "uint256",
926
+ name: "amountSharesToRedeem",
927
+ type: "uint256",
928
+ },
929
+ {
930
+ internalType: "address",
931
+ name: "tokenOut",
932
+ type: "address",
933
+ },
934
+ {
935
+ internalType: "uint256",
936
+ name: "minTokenOut",
937
+ type: "uint256",
938
+ },
939
+ {
940
+ internalType: "bool",
941
+ name: "burnFromInternalBalance",
942
+ type: "bool",
943
+ },
944
+ ],
945
+ name: "redeem",
946
+ outputs: [
947
+ {
948
+ internalType: "uint256",
949
+ name: "amountTokenOut",
950
+ type: "uint256",
951
+ },
952
+ ],
953
+ stateMutability: "nonpayable",
954
+ type: "function",
955
+ },
956
+ {
957
+ inputs: [],
958
+ name: "rewardIndexesCurrent",
959
+ outputs: [
960
+ {
961
+ internalType: "uint256[]",
962
+ name: "indexes",
963
+ type: "uint256[]",
964
+ },
965
+ ],
966
+ stateMutability: "nonpayable",
967
+ type: "function",
968
+ },
969
+ {
970
+ inputs: [],
971
+ name: "rewardIndexesStored",
972
+ outputs: [
973
+ {
974
+ internalType: "uint256[]",
975
+ name: "indexes",
976
+ type: "uint256[]",
977
+ },
978
+ ],
979
+ stateMutability: "view",
980
+ type: "function",
981
+ },
982
+ {
983
+ inputs: [
984
+ {
985
+ internalType: "address",
986
+ name: "",
987
+ type: "address",
988
+ },
989
+ ],
990
+ name: "rewardState",
991
+ outputs: [
992
+ {
993
+ internalType: "uint128",
994
+ name: "index",
995
+ type: "uint128",
996
+ },
997
+ {
998
+ internalType: "uint128",
999
+ name: "lastBalance",
1000
+ type: "uint128",
1001
+ },
1002
+ ],
1003
+ stateMutability: "view",
1004
+ type: "function",
1005
+ },
1006
+ {
1007
+ inputs: [],
1008
+ name: "symbol",
1009
+ outputs: [
1010
+ {
1011
+ internalType: "string",
1012
+ name: "",
1013
+ type: "string",
1014
+ },
1015
+ ],
1016
+ stateMutability: "view",
1017
+ type: "function",
1018
+ },
1019
+ {
1020
+ inputs: [],
1021
+ name: "totalSupply",
1022
+ outputs: [
1023
+ {
1024
+ internalType: "uint256",
1025
+ name: "",
1026
+ type: "uint256",
1027
+ },
1028
+ ],
1029
+ stateMutability: "view",
1030
+ type: "function",
1031
+ },
1032
+ {
1033
+ inputs: [
1034
+ {
1035
+ internalType: "address",
1036
+ name: "to",
1037
+ type: "address",
1038
+ },
1039
+ {
1040
+ internalType: "uint256",
1041
+ name: "amount",
1042
+ type: "uint256",
1043
+ },
1044
+ ],
1045
+ name: "transfer",
1046
+ outputs: [
1047
+ {
1048
+ internalType: "bool",
1049
+ name: "",
1050
+ type: "bool",
1051
+ },
1052
+ ],
1053
+ stateMutability: "nonpayable",
1054
+ type: "function",
1055
+ },
1056
+ {
1057
+ inputs: [
1058
+ {
1059
+ internalType: "address",
1060
+ name: "from",
1061
+ type: "address",
1062
+ },
1063
+ {
1064
+ internalType: "address",
1065
+ name: "to",
1066
+ type: "address",
1067
+ },
1068
+ {
1069
+ internalType: "uint256",
1070
+ name: "amount",
1071
+ type: "uint256",
1072
+ },
1073
+ ],
1074
+ name: "transferFrom",
1075
+ outputs: [
1076
+ {
1077
+ internalType: "bool",
1078
+ name: "",
1079
+ type: "bool",
1080
+ },
1081
+ ],
1082
+ stateMutability: "nonpayable",
1083
+ type: "function",
1084
+ },
1085
+ {
1086
+ inputs: [
1087
+ {
1088
+ internalType: "address",
1089
+ name: "newOwner",
1090
+ type: "address",
1091
+ },
1092
+ {
1093
+ internalType: "bool",
1094
+ name: "direct",
1095
+ type: "bool",
1096
+ },
1097
+ {
1098
+ internalType: "bool",
1099
+ name: "renounce",
1100
+ type: "bool",
1101
+ },
1102
+ ],
1103
+ name: "transferOwnership",
1104
+ outputs: [],
1105
+ stateMutability: "nonpayable",
1106
+ type: "function",
1107
+ },
1108
+ {
1109
+ inputs: [],
1110
+ name: "unpause",
1111
+ outputs: [],
1112
+ stateMutability: "nonpayable",
1113
+ type: "function",
1114
+ },
1115
+ {
1116
+ inputs: [
1117
+ {
1118
+ internalType: "address",
1119
+ name: "",
1120
+ type: "address",
1121
+ },
1122
+ {
1123
+ internalType: "address",
1124
+ name: "",
1125
+ type: "address",
1126
+ },
1127
+ ],
1128
+ name: "userReward",
1129
+ outputs: [
1130
+ {
1131
+ internalType: "uint128",
1132
+ name: "index",
1133
+ type: "uint128",
1134
+ },
1135
+ {
1136
+ internalType: "uint128",
1137
+ name: "accrued",
1138
+ type: "uint128",
1139
+ },
1140
+ ],
1141
+ stateMutability: "view",
1142
+ type: "function",
1143
+ },
1144
+ {
1145
+ inputs: [],
1146
+ name: "yieldToken",
1147
+ outputs: [
1148
+ {
1149
+ internalType: "address",
1150
+ name: "",
1151
+ type: "address",
1152
+ },
1153
+ ],
1154
+ stateMutability: "view",
1155
+ type: "function",
1156
+ },
1157
+ {
1158
+ stateMutability: "payable",
1159
+ type: "receive",
1160
+ },
1161
+ ];
1162
+
1163
+ const _bytecode =
1164
+ "0x60c06040523480156200001157600080fd5b50731a88df1cfe15af22b3c4c783d4e6f7f9e0c1885d806001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000066573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200008c919062000189565b60ff16608052610134805460ff191690556001600160a01b03811660a052620000b4620000bb565b50620001b5565b600154600160a81b900460ff16156200012a5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff9081161462000187576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6000602082840312156200019c57600080fd5b815160ff81168114620001ae57600080fd5b9392505050565b60805160a0516144df620001db600039600061051d0152600061036601526144df6000f3fe6080604052600436106102115760003560e01c806306fdde031461021d578063071bc3c914610248578063078dfbe71461026a578063095ea7b31461028c578063128fced1146102bc57806318160ddd146102e957806320e8c5651461030c578063213cae631461031f57806323b872dd14610334578063313ce567146103545780633644e5151461039a5780633ba0b9a9146103af5780633f4ba83a146103c457806348ccda3c146103d95780634e6578fe1461040e5780634e71e0c8146104305780635c975abb146104455780635cbadbe41461045e57806370a08231146104cb578063769f8e5d146104eb57806376d5de851461050b578063784367d61461053f5780637ecebe001461055f5780638129fc1c1461057f5780638456cb591461059457806384b0196e146105a95780638da5cb5b146105d157806395d89b41146105f1578063a1a3959414610606578063a40bee5014610628578063a9059cbb1461064c578063a9f8d1811461066c578063b8d008f314610683578063b8f82b26146106a5578063c4f59f9b146106c5578063cbe52ae3146106da578063cf2fa576146106fa578063d505accf14610722578063da88ecb414610742578063dd62ed3e14610757578063e234466f14610777578063e30c397814610797578063ea64a820146107b7578063ef5cfb8c146107f9578063f8b2f99114610819578063fa5a4f061461082e57600080fd5b3661021857005b600080fd5b34801561022957600080fd5b5061023261084e565b60405161023f91906138eb565b60405180910390f35b34801561025457600080fd5b5061025d6108e0565b60405161023f9190613943565b34801561027657600080fd5b5061028a610285366004613980565b6108fe565b005b34801561029857600080fd5b506102ac6102a73660046139c9565b610a03565b604051901515815260200161023f565b3480156102c857600080fd5b506102dc6102d73660046139f3565b610a1d565b60405161023f9190613a3f565b3480156102f557600080fd5b506102fe610b2a565b60405190815260200161023f565b6102fe61031a366004613a52565b610b39565b34801561032b57600080fd5b5061025d610c82565b34801561034057600080fd5b506102ac61034f366004613a94565b610caa565b34801561036057600080fd5b506103887f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161023f565b3480156103a657600080fd5b506102fe610d28565b3480156103bb57600080fd5b506102fe610d32565b3480156103d057600080fd5b5061028a610dbf565b3480156103e557600080fd5b50610401737fc66500c84a76ad7e9c93437bfc5ac33e2ddae981565b60405161023f9190613ad0565b34801561041a57600080fd5b506102fe60008051602061442a83398151915281565b34801561043c57600080fd5b5061028a610df3565b34801561045157600080fd5b506101345460ff166102ac565b34801561046a57600080fd5b506104ab610479366004613ae4565b6101996020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161023f565b3480156104d757600080fd5b506102fe6104e63660046139f3565b610e9e565b3480156104f757600080fd5b506102fe610506366004613b17565b610eb9565b34801561051757600080fd5b506104017f000000000000000000000000000000000000000000000000000000000000000081565b34801561054b57600080fd5b506102ac61055a3660046139f3565b61100e565b34801561056b57600080fd5b506102fe61057a3660046139f3565b61102a565b34801561058b57600080fd5b5061028a611048565b3480156105a057600080fd5b5061028a6111e2565b3480156105b557600080fd5b506105be611214565b60405161023f9796959493929190613b72565b3480156105dd57600080fd5b50600054610401906001600160a01b031681565b3480156105fd57600080fd5b506102326112b2565b34801561061257600080fd5b5061040160008051602061440a83398151915281565b34801561063457600080fd5b5061063d6112c1565b60405161023f93929190613bf8565b34801561065857600080fd5b506102ac6106673660046139c9565b611343565b34801561067857600080fd5b506102fe61019a5481565b34801561068f57600080fd5b5061040160008051602061448a83398151915281565b3480156106b157600080fd5b506102fe6106c03660046139c9565b6113b5565b3480156106d157600080fd5b5061025d6113f0565b3480156106e657600080fd5b506102fe6106f53660046139c9565b6113fa565b34801561070657600080fd5b50610401733ef3d8ba38ebe18db133cec108f4d14ce00dd9ae81565b34801561072e57600080fd5b5061028a61073d366004613c49565b61142a565b34801561074e57600080fd5b506102dc61158e565b34801561076357600080fd5b506102fe610772366004613ae4565b611660565b34801561078357600080fd5b5061028a610792366004613d01565b61168b565b3480156107a357600080fd5b50600154610401906001600160a01b031681565b3480156107c357600080fd5b506104ab6107d23660046139f3565b61019b602052600090815260409020546001600160801b0380821691600160801b90041682565b34801561080557600080fd5b506102dc6108143660046139f3565b6117cc565b34801561082557600080fd5b506102dc611893565b34801561083a57600080fd5b506102ac6108493660046139f3565b611904565b60606005805461085d90613dc4565b80601f016020809104026020016040519081016040528092919081815260200182805461088990613dc4565b80156108d65780601f106108ab576101008083540402835291602001916108d6565b820191906000526020600020905b8154815290600101906020018083116108b957829003601f168201915b5050505050905090565b60606108f960008051602061440a833981519152611946565b905090565b6000546001600160a01b031633146109315760405162461bcd60e51b815260040161092890613df8565b60405180910390fd5b81156109e2576001600160a01b03831615158061094b5750805b61098f5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610928565b600080546040516001600160a01b038087169392169160008051602061444a83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b600033610a118185856119a1565b60019150505b92915050565b60606000610a29611ac6565b905080516001600160401b03811115610a4457610a44613e2d565b604051908082528060200260200182016040528015610a6d578160200160208202803683370190505b50915060005b8151811015610b23576101996000838381518110610a9357610a93613e43565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b0316838281518110610b1057610b10613e43565b6020908102919091010152600101610a73565b5050919050565b6004546001600160f81b031690565b600454600090600119600160f81b90910460ff1601610b6a5760405162461bcd60e51b815260040161092890613e59565b600480546001600160f81b0316600160f91b179055610b8884611904565b610ba757836040516315d57ce360e31b81526004016109289190613ad0565b82600003610bc857604051630a907f2f60e41b815260040160405180910390fd5b610bd3843385611ae5565b610bdd8484611b4c565b905081811015610c04578082604051635e38f95d60e11b8152600401610928929190613e90565b610c0e8582611c25565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d598685604051610c5d929190613e90565b60405180910390a4600480546001600160f81b0316600160f81b179055949350505050565b60606108f960008051602061448a83398151915260008051602061440a833981519152611d3d565b600454600090600119600160f81b90910460ff1601610cdb5760405162461bcd60e51b815260040161092890613e59565b600480546001600160f81b0316600160f91b17905533610cfc858285611dcb565b610d07858585611e45565b6001915050600480546001600160f81b0316600160f81b1790559392505050565b60006108f9612067565b60006108f960008051602061440a8339815191526001600160a01b031663e6aa216c6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da79190613e9e565b670de0b6b3a7640000906001600160d81b0316612071565b6000546001600160a01b03163314610de95760405162461bcd60e51b815260040161092890613df8565b610df16120a0565b565b6001546001600160a01b0316338114610e4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610928565b600080546040516001600160a01b038085169392169160008051602061444a83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b6001600160a01b031660009081526002602052604090205490565b600454600090600119600160f81b90910460ff1601610eea5760405162461bcd60e51b815260040161092890613e59565b600480546001600160f81b0316600160f91b179055610f088461100e565b610f2757836040516388a5056160e01b81526004016109289190613ad0565b84600003610f485760405163c3d83b0760e01b815260040160405180910390fd5b8115610f5d57610f5830866120ed565b610f67565b610f6733866120ed565b610f72868587612266565b905082811015610f995780836040516305ff726560e51b8152600401610928929190613e90565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610fe8929190613e90565b60405180910390a4600480546001600160f81b0316600160f81b17905595945050505050565b6001600160a01b031660008051602061440a8339815191521490565b6001600160a01b0381166000908152609f6020526040812054610a17565b600154600160a81b900460ff161580801561106e575060018054600160a01b900460ff16105b80611095575061107d30612288565b158015611095575060018054600160a01b900460ff16145b6110f85760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610928565b6001805460ff60a01b1916600160a01b1790558015611125576001805460ff60a81b1916600160a81b1790555b6111726040518060400160405280600a81526020016953592073746b2047484f60b01b8152506040518060400160405280600981526020016853592d73746b47484f60b81b815250612297565b61119860008051602061448a83398151915260008051602061440a8339815191526122d2565b80156111df576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50565b6000546001600160a01b0316331461120c5760405162461bcd60e51b815260040161092890613df8565b610df1612392565b600060608060008060006060606b546000801b1480156112345750606c54155b6112785760405162461bcd60e51b81526020600482015260156024820152741152540dcc4c8e88155b9a5b9a5d1a585b1a5e9959605a1b6044820152606401610928565b6112806123d0565b6112886123df565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b60606006805461085d90613dc4565b60008060008060008051602061448a833981519152806001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611314573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113389190613ec7565b925092509250909192565b600454600090600119600160f81b90910460ff16016113745760405162461bcd60e51b815260040161092890613e59565b600480546001600160f81b0316600160f91b17905533611395818585611e45565b6001915050600480546001600160f81b0316600160f81b17905592915050565b60006113c083611904565b6113df57826040516315d57ce360e31b81526004016109289190613ad0565b6113e983836123ee565b9392505050565b60606108f9611ac6565b60006114058361100e565b61142457826040516388a5056160e01b81526004016109289190613ad0565b816113e9565b8342111561147a5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610928565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886114a98c61248a565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000611504826124b2565b90506000611514828787876124df565b9050896001600160a01b0316816001600160a01b0316146115775760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610928565b6115828a8a8a6119a1565b50505050505050505050565b6060600061159a611ac6565b905080516001600160401b038111156115b5576115b5613e2d565b6040519080825280602002602001820160405280156115de578160200160208202803683370190505b50915060005b815181101561165b5761019b600083838151811061160457611604613e43565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b039091169084908390811061164857611648613e43565b60209081029190910101526001016115e4565b505090565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b6000546001600160a01b031633146116b55760405162461bcd60e51b815260040161092890613df8565b60006116ce60008051602061448a833981519152612507565b6040516301c7ba5760e61b8152909150733ef3d8ba38ebe18db133cec108f4d14ce00dd9ae906371ee95c090611716908c908c908c908c908c908c908c908c90600401613f52565b600060405180830381600087803b15801561173057600080fd5b505af1158015611744573d6000803e3d6000fd5b5050505060008161176260008051602061448a833981519152612507565b61176c9190614048565b905080156115825761178d60008051602061448a8339815191523383612591565b6040518181527f503fa942b6c8c9a868ac49978d50dc6a9938418e507c08dfa1dfdaa9e422c67f9060200160405180910390a150505050505050505050565b600454606090600119600160f81b90910460ff16016117fd5760405162461bcd60e51b815260040161092890613e59565b600480546001600160f81b0316600160f91b17905561181a612655565b6118238261269c565b61182d82836126a7565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f611862611ac6565b8360405161187192919061405b565b60405180910390a2600480546001600160f81b0316600160f81b179055919050565b600454606090600119600160f81b90910460ff16016118c45760405162461bcd60e51b815260040161092890613e59565b600480546001600160f81b0316600160f91b1790556118e1612655565b6118e9612948565b600480546001600160f81b0316600160f81b17905592915050565b60006001600160a01b03821660008051602061448a8339815191521480610a1757506001600160a01b03821660008051602061440a8339815191521492915050565b60408051600180825281830190925260609160208083019080368337019050509050818160008151811061197c5761197c613e43565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b6001600160a01b038316611a035760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610928565b6001600160a01b038216611a645760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610928565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60606108f9737fc66500c84a76ad7e9c93437bfc5ac33e2ddae9611946565b6001600160a01b038316611b31578034146109fe5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610928565b80156109fe576109fe6001600160a01b038416833084612bc9565b6000731a88df1cfe15af22b3c4c783d4e6f7f9e0c1885c196001600160a01b03841601611b7a575080610a17565b6000611b9360008051602061440a833981519152612507565b6040516356e4bb9760e11b815290915060008051602061440a8339815191529063adc9772e90611bc99030908790600401614089565b600060405180830381600087803b158015611be357600080fd5b505af1158015611bf7573d6000803e3d6000fd5b5050505080611c1360008051602061440a833981519152612507565b611c1d9190614048565b949350505050565b6001600160a01b038216611c7b5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610928565b611c8760008383612c34565b611c9081612c46565b60048054600090611cab9084906001600160f81b03166140a2565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055508060026000846001600160a01b03166001600160a01b031681526020019081526020016000206000828254611d0491906140c2565b90915550506040518181526001600160a01b0383169060009060008051602061446a8339815191529060200160405180910390a35b5050565b60408051600280825260608083018452926020830190803683370190505090508281600081518110611d7157611d71613e43565b60200260200101906001600160a01b031690816001600160a01b0316815250508181600181518110611da557611da5613e43565b60200260200101906001600160a01b031690816001600160a01b03168152505092915050565b6000611dd78484611660565b90506000198114611e3f5781811015611e325760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610928565b611e3f84848484036119a1565b50505050565b6001600160a01b038316611ea95760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610928565b6001600160a01b038216611f0b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610928565b816001600160a01b0316836001600160a01b031603611f665760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610928565b611f71838383612c34565b6001600160a01b03831660009081526002602052604090205481811015611fe95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610928565b6001600160a01b038085166000908152600260205260408082208585039055918516815290812080548492906120209084906140c2565b92505081905550826001600160a01b0316846001600160a01b031660008051602061446a8339815191528460405161205a91815260200190565b60405180910390a3611e3f565b60006108f9612c60565b600080612086670de0b6b3a7640000856140d5565b9050828181612097576120976140ec565b04949350505050565b6120a8612cd4565b610134805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516120e39190613ad0565b60405180910390a1565b6001600160a01b03821661214d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610928565b61215982600083612c34565b6001600160a01b038216600090815260026020526040902054818110156121cd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610928565b6001600160a01b038316600090815260026020526040902082820390556121f382612c46565b6004805460009061220e9084906001600160f81b0316614102565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b031660008051602061446a83398151915284604051611ab991815260200190565b600061228160008051602061440a8339815191528584612591565b5092915050565b6001600160a01b03163b151590565b600154600160a81b900460ff166122c05760405162461bcd60e51b815260040161092890614122565b6122ca8282612d1e565b611d39612d74565b6001600160a01b0382166122e4575050565b6122f660026001600160601b0361416d565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801561234f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237391906141a1565b1015611d395761238582826000612db1565b611d398282600019612db1565b61239a612655565b610134805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586120d63390565b6060606d805461085d90613dc4565b6060606e805461085d90613dc4565b6000731a88df1cfe15af22b3c4c783d4e6f7f9e0c1885c196001600160a01b0384160161241c575080610a17565b60405163727a5d5760e01b81526004810183905260008051602061440a8339815191529063727a5d5790602401602060405180830381865afa158015612466573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e991906141a1565b6001600160a01b0381166000908152609f602052604090208054600181018255905b50919050565b6000610a176124bf612067565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060006124f087878787612ec5565b915091506124fd81612f7f565b5095945050505050565b60006001600160a01b0382161561258a576040516370a0823160e01b81526001600160a01b038316906370a0823190612544903090600401613ad0565b602060405180830381865afa158015612561573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061258591906141a1565b610a17565b4792915050565b8060000361259e57505050565b6001600160a01b038316612641576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146125f9576040519150601f19603f3d011682016040523d82523d6000602084013e6125fe565b606091505b5050905080611e3f5760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610928565b6109fe6001600160a01b03841683836130c4565b6101345460ff1615610df15760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610928565b6111df8160006130e3565b606060006126b3611ac6565b905080516001600160401b038111156126ce576126ce613e2d565b6040519080825280602002602001820160405280156126f7578160200160208202803683370190505b50915060005b815181101561294057610199600083838151811061271d5761271d613e43565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b031683828151811061279a5761279a613e43565b6020026020010181815250508281815181106127b8576127b8613e43565b602002602001015160001461293857600061019960008484815181106127e0576127e0613e43565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b0316021790555061287483828151811061286757612867613e43565b6020026020010151613163565b61019b600084848151811061288b5761288b613e43565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b03166128d791906141ba565b92506101000a8154816001600160801b0302191690836001600160801b0316021790555061293882828151811061291057612910613e43565b60200260200101518585848151811061292b5761292b613e43565b6020026020010151612591565b6001016126fd565b505092915050565b606080612953611ac6565b915081516001600160401b0381111561296e5761296e613e2d565b604051908082528060200260200182016040528015612997578160200160208202803683370190505b50905081516000036129a7579091565b4361019a5414612b4a574361019a5560006129c0613179565b90506129ca613183565b60005b8351811015612b445760008482815181106129ea576129ea613e43565b6020908102919091018101516001600160a01b038116600090815261019b835260408082208151808301909252546001600160801b03808216808452600160801b9092041694820185905289519395509093929091908390612a65908b9089908110612a5857612a58613e43565b6020026020010151612507565b612a6f9190614048565b905081600003612a7e57600191505b8615612a9b57612a8e8188612071565b612a9890836140c2565b91505b6040518060400160405280612aaf84613163565b6001600160801b03168152602001612acf612aca84876140c2565b613163565b6001600160801b039081169091526001600160a01b038716600090815261019b60209081526040909120835193909101518216600160801b029290911691909117905587518290899088908110612b2857612b28613e43565b60200260200101818152505050505050508060010190506129cd565b50509091565b60005b8251811015612bc45761019b6000848381518110612b6d57612b6d613e43565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b0390911690839083908110612bb157612bb1613e43565b6020908102919091010152600101612b4d565b509091565b6040516001600160a01b0380851660248301528316604482015260648101829052611e3f9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613270565b612c3c612655565b6109fe83836130e3565b60006001600160f81b03821115612c5c57600080fd5b5090565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f612c8b613345565b612c9361339e565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6101345460ff16610df15760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610928565b600154600160a81b900460ff16612d475760405162461bcd60e51b815260040161092890614122565b612d5182826133cf565b611d3982604051806040016040528060018152602001603160f81b81525061342b565b600154600160a81b900460ff16612d9d5760405162461bcd60e51b815260040161092890614122565b600080546001600160a01b03191633179055565b600080846001600160a01b031663095ea7b360e01b8585604051602401612dd9929190614089565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b0319909416939093179092529051612e1791906141da565b6000604051808303816000865af19150503d8060008114612e54576040519150601f19603f3d011682016040523d82523d6000602084013e612e59565b606091505b5091509150818015612e83575080511580612e83575080806020019051810190612e8391906141f6565b612ebe5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610928565b5050505050565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115612ef25750600090506003612f76565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612f46573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612f6f57600060019250925050612f76565b9150600090505b94509492505050565b6000816004811115612f9357612f93613be2565b03612f9b5750565b6001816004811115612faf57612faf613be2565b03612ff75760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610928565b600281600481111561300b5761300b613be2565b036130585760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610928565b600381600481111561306c5761306c613be2565b036111df5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610928565b6109fe8363a9059cbb60e01b8484604051602401612bfd929190614089565b6000806130ee612948565b9150915081516000036131015750505050565b6001600160a01b0384161580159061312257506001600160a01b0384163014155b156131325761313284838361345e565b6001600160a01b0383161580159061315357506001600160a01b0383163014155b15611e3f57611e3f83838361345e565b60006001600160801b03821115612c5c57600080fd5b60006108f9610b2a565b6040516309a99b4f60e41b815260008051602061440a83398151915290639a99b4f0906131b890309060001990600401614089565b600060405180830381600087803b1580156131d257600080fd5b505af19250505080156131e3575060015b610df1576131ef614213565b806308c379a003613264575061320361425b565b8061320e5750613266565b60405160008051602061442a8339815191529061322f9083906020016141da565b60405160208183030381529060405280519060200120146111df578060405162461bcd60e51b815260040161092891906138eb565b505b3d6000803e3d6000fd5b60006132c5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661369b9092919063ffffffff16565b90508051600014806132e65750808060200190518101906132e691906141f6565b6109fe5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610928565b6000806133506123d0565b805190915015613367578051602090910120919050565b606b5480156133765792915050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4709250505090565b6000806133a96123df565b8051909150156133c0578051602090910120919050565b606c5480156133765792915050565b600154600160a81b900460ff166133f85760405162461bcd60e51b815260040161092890614122565b60056134048382614334565b5060066134118282614334565b5050600480546001600160f81b0316600160f81b17905550565b600154600160a81b900460ff166134545760405162461bcd60e51b815260040161092890614122565b611d3982826136aa565b6001600160a01b0383161580159061347f57506001600160a01b0383163014155b61348b5761348b6143f3565b6000613496846136fb565b905060005b8351811015612ebe5760008482815181106134b8576134b8613e43565b6020026020010151905060008483815181106134d6576134d6613e43565b6020908102919091018101516001600160a01b03808516600090815261019984526040808220928c168252919093528220549092506001600160801b031690819003613532576135266001613163565b6001600160801b031690505b8181148061353e575081155b1561354b57505050613693565b60006135578284614048565b905060006135658783613706565b6001600160a01b03868116600090815261019960209081526040808320938f16835292905290812054919250906135ad908390600160801b90046001600160801b03166140c2565b905060405180604001604052806135c387613163565b6001600160801b031681526020016135da83613163565b6001600160801b03168152506101996000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b60010161349b565b6060611c1d8484600085613724565b600154600160a81b900460ff166136d35760405162461bcd60e51b815260040161092890614122565b606d6136df8382614334565b50606e6136ec8282614334565b50506000606b819055606c5550565b6000610a1782610e9e565b60008061371383856140d5565b9050670de0b6b3a764000081612097565b6060824710156137855760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610928565b600080866001600160a01b031685876040516137a191906141da565b60006040518083038185875af1925050503d80600081146137de576040519150601f19603f3d011682016040523d82523d6000602084013e6137e3565b606091505b50915091506137f4878383876137ff565b979650505050505050565b6060831561386c5782516000036138655761381985612288565b6138655760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610928565b5081611c1d565b611c1d83838151156138815781518083602001fd5b8060405162461bcd60e51b815260040161092891906138eb565b60005b838110156138b657818101518382015260200161389e565b50506000910152565b600081518084526138d781602086016020860161389b565b601f01601f19169290920160200192915050565b6020815260006113e960208301846138bf565b60008151808452602080850194506020840160005b838110156139385781516001600160a01b031687529582019590820190600101613913565b509495945050505050565b6020815260006113e960208301846138fe565b80356001600160a01b038116811461396d57600080fd5b919050565b80151581146111df57600080fd5b60008060006060848603121561399557600080fd5b61399e84613956565b925060208401356139ae81613972565b915060408401356139be81613972565b809150509250925092565b600080604083850312156139dc57600080fd5b6139e583613956565b946020939093013593505050565b600060208284031215613a0557600080fd5b6113e982613956565b60008151808452602080850194506020840160005b8381101561393857815187529582019590820190600101613a23565b6020815260006113e96020830184613a0e565b60008060008060808587031215613a6857600080fd5b613a7185613956565b9350613a7f60208601613956565b93969395505050506040820135916060013590565b600080600060608486031215613aa957600080fd5b613ab284613956565b9250613ac060208501613956565b9150604084013590509250925092565b6001600160a01b0391909116815260200190565b60008060408385031215613af757600080fd5b613b0083613956565b9150613b0e60208401613956565b90509250929050565b600080600080600060a08688031215613b2f57600080fd5b613b3886613956565b945060208601359350613b4d60408701613956565b9250606086013591506080860135613b6481613972565b809150509295509295909350565b60ff60f81b8816815260e060208201526000613b9160e08301896138bf565b8281036040840152613ba381896138bf565b606084018890526001600160a01b038716608085015260a0840186905283810360c08501529050613bd48185613a0e565b9a9950505050505050505050565b634e487b7160e01b600052602160045260246000fd5b6060810160028510613c1a57634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff811681146111df57600080fd5b600080600080600080600060e0888a031215613c6457600080fd5b613c6d88613956565b9650613c7b60208901613956565b955060408801359450606088013593506080880135613c9981613c3a565b9699959850939692959460a0840135945060c09093013592915050565b60008083601f840112613cc857600080fd5b5081356001600160401b03811115613cdf57600080fd5b6020830191508360208260051b8501011115613cfa57600080fd5b9250929050565b6000806000806000806000806080898b031215613d1d57600080fd5b88356001600160401b0380821115613d3457600080fd5b613d408c838d01613cb6565b909a50985060208b0135915080821115613d5957600080fd5b613d658c838d01613cb6565b909850965060408b0135915080821115613d7e57600080fd5b613d8a8c838d01613cb6565b909650945060608b0135915080821115613da357600080fd5b50613db08b828c01613cb6565b999c989b5096995094979396929594505050565b600181811c90821680613dd857607f821691505b6020821081036124ac57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b600060208284031215613eb057600080fd5b81516001600160d81b03811681146113e957600080fd5b600060208284031215613ed957600080fd5b81516113e981613c3a565b8183526000602080850194508260005b85811015613938576001600160a01b03613f0d83613956565b1687529582019590820190600101613ef4565b81835260006001600160fb1b03831115613f3957600080fd5b8260051b80836020870137939093016020019392505050565b608081526000613f66608083018a8c613ee4565b602083820381850152613f7a828a8c613ee4565b91508382036040850152613f8f82888a613f20565b84810360608601528581529150808201600586811b840183018860005b8981101561401d57868303601f190185528135368c9003601e19018112613fd257600080fd5b8b0186810190356001600160401b03811115613fed57600080fd5b80861b3603821315613ffe57600080fd5b614009858284613f20565b968801969450505090850190600101613fac565b50909f9e505050505050505050505050505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610a1757610a17614032565b60408152600061406e60408301856138fe565b82810360208401526140808185613a0e565b95945050505050565b6001600160a01b03929092168252602082015260400190565b6001600160f81b0381811683821601908082111561228157612281614032565b80820180821115610a1757610a17614032565b8082028115828204841417610a1757610a17614032565b634e487b7160e01b600052601260045260246000fd5b6001600160f81b0382811682821603908082111561228157612281614032565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60006001600160601b038381168061419557634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000602082840312156141b357600080fd5b5051919050565b6001600160801b0382811682821603908082111561228157612281614032565b600082516141ec81846020870161389b565b9190910192915050565b60006020828403121561420857600080fd5b81516113e981613972565b600060033d111561422c5760046000803e5060005160e01c5b90565b601f8201601f191681016001600160401b038111828210171561425457614254613e2d565b6040525050565b600060443d10156142695790565b6040516003193d81016004833e81513d6001600160401b03808311602484018310171561429857505050505090565b82850191508151818111156142b05750505050505090565b843d87010160208285010111156142ca5750505050505090565b6142d96020828601018761422f565b509095945050505050565b601f8211156109fe576000816000526020600020601f850160051c8101602086101561430d5750805b601f850160051c820191505b8181101561432c57828155600101614319565b505050505050565b81516001600160401b0381111561434d5761434d613e2d565b6143618161435b8454613dc4565b846142e4565b602080601f831160018114614396576000841561437e5750858301515b600019600386901b1c1916600185901b17855561432c565b600085815260208120601f198616915b828110156143c5578886015182559484019460019091019084016143a6565b50858210156143e35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052600160045260246000fdfe0000000000000000000000001a88df1cfe15af22b3c4c783d4e6f7f9e0c1885d33d2eb294587ef7b32eb48e48695ebfec45a9c8922ec7d1c444cfad1fb208e8d8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000040d16fc0246ad3160ccc09b8d0d3a2cd28ae6c2fa264697066735822122056b2048b7a45961e4e02a9573ca4b2e6ae4df2a49e958dfd8e6f039e48c9d4ac64736f6c63430008170033";
1165
+
1166
+ type PendleStkGHOSYConstructorParams =
1167
+ | [signer?: Signer]
1168
+ | ConstructorParameters<typeof ContractFactory>;
1169
+
1170
+ const isSuperArgs = (
1171
+ xs: PendleStkGHOSYConstructorParams
1172
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
1173
+
1174
+ export class PendleStkGHOSY__factory extends ContractFactory {
1175
+ constructor(...args: PendleStkGHOSYConstructorParams) {
1176
+ if (isSuperArgs(args)) {
1177
+ super(...args);
1178
+ } else {
1179
+ super(_abi, _bytecode, args[0]);
1180
+ }
1181
+ this.contractName = "PendleStkGHOSY";
1182
+ }
1183
+
1184
+ deploy(
1185
+ overrides?: Overrides & { from?: string | Promise<string> }
1186
+ ): Promise<PendleStkGHOSY> {
1187
+ return super.deploy(overrides || {}) as Promise<PendleStkGHOSY>;
1188
+ }
1189
+ getDeployTransaction(
1190
+ overrides?: Overrides & { from?: string | Promise<string> }
1191
+ ): TransactionRequest {
1192
+ return super.getDeployTransaction(overrides || {});
1193
+ }
1194
+ attach(address: string): PendleStkGHOSY {
1195
+ return super.attach(address) as PendleStkGHOSY;
1196
+ }
1197
+ connect(signer: Signer): PendleStkGHOSY__factory {
1198
+ return super.connect(signer) as PendleStkGHOSY__factory;
1199
+ }
1200
+ static readonly contractName: "PendleStkGHOSY";
1201
+ public readonly contractName: "PendleStkGHOSY";
1202
+ static readonly bytecode = _bytecode;
1203
+ static readonly abi = _abi;
1204
+ static createInterface(): PendleStkGHOSYInterface {
1205
+ return new utils.Interface(_abi) as PendleStkGHOSYInterface;
1206
+ }
1207
+ static connect(
1208
+ address: string,
1209
+ signerOrProvider: Signer | Provider
1210
+ ): PendleStkGHOSY {
1211
+ return new Contract(address, _abi, signerOrProvider) as PendleStkGHOSY;
1212
+ }
1213
+ }