@hinkal/common 0.0.103 → 0.0.106

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 (272) hide show
  1. package/API/API.js +58 -0
  2. package/API/HinkalPointsCalls.js +38 -0
  3. package/API/callBeefyGraphAPI.js +37 -0
  4. package/API/callCurveAPI.js +156 -0
  5. package/API/callMonitor.js +30 -0
  6. package/API/callOdosAPI.js +44 -0
  7. package/API/callOneInchAPI.js +37 -0
  8. package/API/callRelayer.js +32 -0
  9. package/API/checkRisk.js +30 -0
  10. package/API/dataServerCalls.js +32 -0
  11. package/API/fetchCommitmentsCache.js +31 -0
  12. package/API/fetchNullifiers.js +30 -0
  13. package/API/getAxelarGasEstimate.js +37 -0
  14. package/API/getCoingeckoPrice.js +27 -0
  15. package/API/getConnextReceiveFee.js +30 -0
  16. package/API/getGasEstimates.js +38 -0
  17. package/API/getRelayerURL.js +32 -0
  18. package/API/getServerURL.js +67 -0
  19. package/API/getTokenPrice.js +41 -0
  20. package/API/kycCalls.js +32 -0
  21. package/API/passwordCalls.js +36 -0
  22. package/API/referralProgramCalls.js +58 -0
  23. package/API/relayCalls.js +30 -0
  24. package/API/restoreSnapshots.js +32 -0
  25. package/API/rewardsPointsCalls.js +40 -0
  26. package/API/userVerifyTransactions.js +45 -0
  27. package/README.md +134 -12
  28. package/assets/{snarkjsWorkerLogic-CatB8Hso.js → snarkjsWorkerLogic-Fv0M38Mc.js} +2 -2
  29. package/assets/{utxoWorkerLogic-DDqTe7hT.js → utxoWorkerLogic-CtFLQiAX.js} +2 -2
  30. package/assets/{zkProofWorkerLauncher-C-pvCm0b.js → zkProofWorkerLauncher-J3Ts5_Ba.js} +1 -1
  31. package/assets/{zkProofWorkerLogic-CLpRqNRx.js → zkProofWorkerLogic-CPNuu61R.js} +18 -19
  32. package/constants/assets.constants.js +16 -0
  33. package/constants/axelar.constants.js +55 -0
  34. package/constants/backend.constants.js +18 -0
  35. package/constants/beefy.registry.js +24 -0
  36. package/constants/chains.constants.js +204 -0
  37. package/constants/coingecko.constants.js +53 -0
  38. package/constants/contracts.constants.js +276 -0
  39. package/constants/crvCvx.registry.js +636 -0
  40. package/constants/crvDynamic.registry.js +24 -0
  41. package/constants/deploy-data/deploy-data-arbMainnet.json.js +7415 -0
  42. package/constants/deploy-data/deploy-data-avalanche.json.js +7411 -0
  43. package/constants/deploy-data/deploy-data-axelar1.json.js +4329 -0
  44. package/constants/deploy-data/deploy-data-axelar2.json.js +4329 -0
  45. package/constants/deploy-data/deploy-data-base.json.js +8425 -0
  46. package/constants/deploy-data/deploy-data-blast.json.js +9600 -0
  47. package/constants/deploy-data/deploy-data-bnbMainnet.json.js +6877 -0
  48. package/constants/deploy-data/deploy-data-ethMainnet.json.js +11427 -0
  49. package/constants/deploy-data/deploy-data-localhost.json.js +13283 -0
  50. package/constants/deploy-data/deploy-data-optimism.json.js +7417 -0
  51. package/constants/deploy-data/deploy-data-polygon.json.js +7439 -0
  52. package/constants/fees.constants.js +57 -0
  53. package/constants/kyc.constants.js +118 -0
  54. package/constants/lido.constants.js +13 -0
  55. package/constants/pendle.registry.js +253 -0
  56. package/constants/protocol.constants.js +26 -0
  57. package/constants/reorg-depths.constants.js +15 -0
  58. package/constants/rewards.constants.js +27 -0
  59. package/constants/server.constants.js +157 -0
  60. package/constants/token-data/ERC20Registry.js +85 -0
  61. package/constants/token-data/arbMainnetRegistry.json.js +946 -0
  62. package/constants/token-data/arbMainnetRegistryFixed.json.js +856 -0
  63. package/constants/token-data/avalancheRegistry.json.js +591 -0
  64. package/constants/token-data/avalancheRegistryFixed.json.js +591 -0
  65. package/constants/token-data/baseRegistry.json.js +490 -0
  66. package/constants/token-data/baseRegistryFixed.json.js +463 -0
  67. package/constants/token-data/blastRegistry.json.js +137 -0
  68. package/constants/token-data/blastRegistryFixed.json.js +137 -0
  69. package/constants/token-data/bnbMainnetRegistry.json.js +973 -0
  70. package/constants/token-data/bnbMainnetRegistryFixed.json.js +973 -0
  71. package/constants/token-data/coingeckoRegistry.json.js +115623 -0
  72. package/constants/token-data/ethMainnetRegistry.json.js +2700 -0
  73. package/constants/token-data/ethMainnetRegistryFixed.json.js +2251 -0
  74. package/constants/token-data/index.js +6 -0
  75. package/constants/token-data/localhostRegistry.json.js +2768 -0
  76. package/constants/token-data/optimismRegistry.json.js +1455 -0
  77. package/constants/token-data/optimismRegistryFixed.json.js +1392 -0
  78. package/constants/token-data/polygonRegistry.json.js +1327 -0
  79. package/constants/token-data/polygonRegistryFixed.json.js +1255 -0
  80. package/constants/token-data/popularTokens.constants.js +14 -0
  81. package/constants/token-data/tokenPricing.consts.js +8 -0
  82. package/constants/vite.constants.js +29 -0
  83. package/crypto/babyJub.js +15 -0
  84. package/crypto/poseidon.js +26 -0
  85. package/crypto/preProcessing.js +9 -0
  86. package/data-structures/Hinkal/Hinkal.js +299 -0
  87. package/data-structures/Hinkal/hinkalActionBeefy.js +101 -0
  88. package/data-structures/Hinkal/hinkalActionConvex.js +83 -0
  89. package/data-structures/Hinkal/hinkalActionCurve.js +112 -0
  90. package/data-structures/Hinkal/hinkalActionLidoEth.js +91 -0
  91. package/data-structures/Hinkal/hinkalActionPendle.js +140 -0
  92. package/data-structures/Hinkal/hinkalActionPendleLP.js +96 -0
  93. package/data-structures/Hinkal/hinkalActionStake.js +138 -0
  94. package/data-structures/Hinkal/hinkalActionVolatile.js +112 -0
  95. package/data-structures/Hinkal/hinkalDeposit.js +95 -0
  96. package/data-structures/Hinkal/hinkalGetZkMeProvider.js +47 -0
  97. package/data-structures/Hinkal/hinkalPrivateWallet.js +66 -0
  98. package/data-structures/Hinkal/hinkalSwap.js +98 -0
  99. package/data-structures/Hinkal/hinkalTransfer.js +5 -0
  100. package/data-structures/Hinkal/hinkalWithdraw.js +91 -0
  101. package/data-structures/Hinkal/resetMerkleTrees.js +49 -0
  102. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.js +83 -0
  103. package/data-structures/ValueCache/ValueCache.js +25 -0
  104. package/data-structures/crypto-keys/decodeUTXO.js +40 -0
  105. package/data-structures/crypto-keys/encryptDecryptUtxo.js +41 -0
  106. package/data-structures/crypto-keys/keyUtils.js +10 -0
  107. package/data-structures/crypto-keys/keys.js +90 -0
  108. package/data-structures/custom-token-registry/CustomTokenRegistry.js +33 -0
  109. package/data-structures/event-service/AbstractAccessTokenSnapshotService.js +131 -0
  110. package/data-structures/event-service/AbstractCommitmentsSnapshotService.js +132 -0
  111. package/data-structures/event-service/AbstractEventService.js +118 -0
  112. package/data-structures/event-service/AbstractNullifierSnapshotService.js +59 -0
  113. package/data-structures/event-service/AbstractSnapshotService.js +35 -0
  114. package/data-structures/merkle-tree/MerkleTree.js +177 -0
  115. package/data-structures/merkle-tree/MerkleTreeIncompleteError.js +8 -0
  116. package/data-structures/snapshot/ClientAccessTokenSnapshotService.js +48 -0
  117. package/data-structures/snapshot/ClientCommitmentsSnapshotService.js +47 -0
  118. package/data-structures/snapshot/ClientNullifierSnapshotService.js +44 -0
  119. package/data-structures/token-price-fetcher/TokenChecker.js +29 -0
  120. package/data-structures/token-price-fetcher/TokenPriceFetcher.js +218 -0
  121. package/data-structures/transactions-manager/TransactionsManager.js +194 -0
  122. package/data-structures/transactions-manager/history/getBeefyData.js +68 -0
  123. package/data-structures/transactions-manager/history/getConvexData.js +57 -0
  124. package/data-structures/transactions-manager/history/getCurveData.js +97 -0
  125. package/data-structures/transactions-manager/history/getDepositData.js +36 -0
  126. package/data-structures/transactions-manager/history/getLidoData.js +44 -0
  127. package/data-structures/transactions-manager/history/getPendleData.js +59 -0
  128. package/data-structures/transactions-manager/history/getSwapData.js +43 -0
  129. package/data-structures/transactions-manager/history/getTxDetails.js +74 -0
  130. package/data-structures/transactions-manager/history/getVolatileData.js +75 -0
  131. package/data-structures/transactions-manager/history/history.types.js +62 -0
  132. package/data-structures/transactions-manager/history/history.utils.js +8 -0
  133. package/data-structures/utxo/Utxo.js +134 -0
  134. package/data-structures/volatile-helper/VolatileHelper.js +181 -0
  135. package/error-handling/customErrors/ErrorWithAmount.js +9 -0
  136. package/error-handling/customErrors/FeeOverTransactionValueError.js +9 -0
  137. package/error-handling/customErrors/customErrors.helpers.js +21 -0
  138. package/error-handling/error-codes.constants.js +184 -0
  139. package/error-handling/get-error.message.js +53 -0
  140. package/error-handling/handleErrorRestore.js +35 -0
  141. package/error-handling/logError.js +7 -0
  142. package/error-handling/types.js +4 -0
  143. package/externalABIs/BUSD.js +519 -0
  144. package/externalABIs/BabPassport.json.js +24 -0
  145. package/externalABIs/BeefyRouterAbi.json.js +1022 -0
  146. package/externalABIs/BeefyStrategyAbi.json.js +1423 -0
  147. package/externalABIs/BeefyVaultAbi.json.js +570 -0
  148. package/externalABIs/BeefyZapAbi.json.js +208 -0
  149. package/externalABIs/BeefyZapOneInchAbi.json.js +340 -0
  150. package/externalABIs/ConvexBoosterAbi.json.js +674 -0
  151. package/externalABIs/ConvexBoosterAbiMainnet.json.js +1002 -0
  152. package/externalABIs/ConvexRewardPoolAbi.json.js +883 -0
  153. package/externalABIs/CurveReadingWrapperAbi.json.js +1422 -0
  154. package/externalABIs/CurveWrappedMainPool.json.js +1136 -0
  155. package/externalABIs/CurveZap.json.js +262 -0
  156. package/externalABIs/CvxCrvUtilities.json.js +264 -0
  157. package/externalABIs/DAI.js +334 -0
  158. package/externalABIs/ERC20.json.js +291 -0
  159. package/externalABIs/GalxePassport.json.js +41 -0
  160. package/externalABIs/IQuoterV2.json.js +205 -0
  161. package/externalABIs/ISwapRouter.json.js +568 -0
  162. package/externalABIs/IUniswapV3Factory.json.js +201 -0
  163. package/externalABIs/IUniswapV3Pool.json.js +999 -0
  164. package/externalABIs/LidoStEthAbi.json.js +1603 -0
  165. package/externalABIs/LidoStMaticAbi.json.js +1764 -0
  166. package/externalABIs/LidoStakeManagerAbi.json.js +2082 -0
  167. package/externalABIs/LidoWithdrawalQueueERC721Abi.json.js +2030 -0
  168. package/externalABIs/LidoWstEthAbi.json.js +480 -0
  169. package/externalABIs/OptimismGasPriceOracle.json.js +206 -0
  170. package/externalABIs/PendleRouterAbi.json.js +173 -0
  171. package/externalABIs/PoLidoNftAbi.json.js +701 -0
  172. package/externalABIs/SanctionsList.js +89 -0
  173. package/externalABIs/USDC.js +721 -0
  174. package/externalABIs/USDR.js +346 -0
  175. package/externalABIs/USDR3CRV.js +542 -0
  176. package/externalABIs/USDT.js +393 -0
  177. package/externalABIs/UniswapV2PoolAbi.json.js +80 -0
  178. package/externalABIs/WETH.js +156 -0
  179. package/externalABIs/amToken.js +350 -0
  180. package/externalABIs/transactionsProver.json.js +39 -0
  181. package/functions/kyc/authentoHelper.js +42 -0
  182. package/functions/kyc/passportHelper.js +39 -0
  183. package/functions/kyc/zkMeHelper.js +56 -0
  184. package/functions/pre-transaction/getFlatFees.js +203 -0
  185. package/functions/pre-transaction/interaction-to-action.js +57 -0
  186. package/functions/pre-transaction/outputUtxoProcessing.js +45 -0
  187. package/functions/pre-transaction/process-gas-estimates.js +57 -0
  188. package/functions/pre-transaction/processAmountChanges.js +229 -0
  189. package/functions/private-wallet/emporium.helpers.js +19 -0
  190. package/functions/private-wallet/opProducer.js +24 -0
  191. package/functions/protocols/convex.protocols.js +41 -0
  192. package/functions/protocols/curve.protocols.js +45 -0
  193. package/functions/protocols/pendle.helpers.js +108 -0
  194. package/functions/snarkjs/common.snarkjs.js +96 -0
  195. package/functions/snarkjs/constant.js +211 -0
  196. package/functions/snarkjs/constructEmporiumProof.js +105 -0
  197. package/functions/snarkjs/constructGeneralZkProof.js +129 -0
  198. package/functions/snarkjs/generateCircomData.js +60 -0
  199. package/functions/snarkjs/generateZkProof.js +18 -0
  200. package/functions/snarkjs/getZKFiles.js +30 -0
  201. package/functions/staking/index.js +40 -0
  202. package/functions/utils/amounts.utils.js +70 -0
  203. package/functions/utils/axelar.utils.js +38 -0
  204. package/functions/utils/cacheFunctions.js +67 -0
  205. package/functions/utils/caseInsensitive.utils.js +6 -0
  206. package/functions/utils/convertIntegrationProviderToExternalActionId.js +16 -0
  207. package/functions/utils/create-provider.js +5 -0
  208. package/functions/utils/enum.utils.js +14 -0
  209. package/functions/utils/erc20tokenFunctions.js +20 -0
  210. package/functions/utils/evmNetworkFunctions.js +29 -0
  211. package/functions/utils/external-action.utils.js +61 -0
  212. package/functions/utils/getDataFromTransaction.js +105 -0
  213. package/functions/utils/memoize.utils.js +14 -0
  214. package/functions/utils/nickname.utils.js +7 -0
  215. package/functions/utils/process.utils.js +4 -0
  216. package/functions/utils/reloadPage.js +4 -0
  217. package/functions/utils/requireEnv.js +7 -0
  218. package/functions/utils/resolve-sync.utils.js +22 -0
  219. package/functions/utils/serialize.utils.js +4 -0
  220. package/functions/utils/string.utils.js +14 -0
  221. package/functions/utils/time.utils.js +8 -0
  222. package/functions/utils/userAgent.js +15 -0
  223. package/functions/utils/volatile-patcher.utils.js +40 -0
  224. package/functions/web3/etherFunctions.js +41 -0
  225. package/functions/web3/events/balanceChangedHandler.js +10 -0
  226. package/functions/web3/events/getInputUtxoAndBalance.js +72 -0
  227. package/functions/web3/events/getShieldedBalance.js +107 -0
  228. package/functions/web3/events/web3RetrieveEvents.js +9 -0
  229. package/functions/web3/functionCalls/accessTokenCalls.js +48 -0
  230. package/functions/web3/functionCalls/approveToken.js +153 -0
  231. package/functions/web3/functionCalls/estimateGasRelayer.js +18 -0
  232. package/functions/web3/functionCalls/transactCallDirect.js +60 -0
  233. package/functions/web3/functionCalls/transactCallRelayer.js +42 -0
  234. package/functions/web3/odosAPI.js +65 -0
  235. package/functions/web3/oneInchAPI.js +61 -0
  236. package/functions/web3/runContractFunction.js +95 -0
  237. package/functions/web3/uniswapAPI.js +97 -0
  238. package/index.js +644 -0
  239. package/package.json +5 -4
  240. package/types/beefy.types.js +21 -0
  241. package/types/circom-data.types.js +22 -0
  242. package/types/curve.types.js +25 -0
  243. package/types/ethereum-network.types.js +4 -0
  244. package/types/external-action.types.js +4 -0
  245. package/types/hinkal.stake.types.js +4 -0
  246. package/types/hinkal.types.js +15 -0
  247. package/types/kyc.types.js +13 -0
  248. package/types/pendle.types.js +15 -0
  249. package/types/rewards.types.js +27 -0
  250. package/types/slippage.types.js +15 -0
  251. package/types/time.types.js +58 -0
  252. package/types/token.types.js +4 -0
  253. package/types/transactions.types.js +36 -0
  254. package/webworker/performTaskWithWorker.js +62 -0
  255. package/webworker/snarkjsWorker/snarkjsWorker.types.js +4 -0
  256. package/webworker/snarkjsWorker/snarkjsWorkerLogic.js +32 -0
  257. package/webworker/utxoWorker/utxoWorker.types.js +4 -0
  258. package/webworker/utxoWorker/utxoWorkerLogic.js +70 -0
  259. package/webworker/viteWorkerURL.constant.d.ts +3 -3
  260. package/webworker/worker.registry.js +4 -0
  261. package/webworker/workerFactory.d.ts +0 -1
  262. package/webworker/workerFactory.js +42 -0
  263. package/{workerProxy-BDj498Ht.mjs → webworker/workerProxy.js} +1 -1
  264. package/webworker/zkProofWorker/zkProofWorker.types.js +4 -0
  265. package/webworker/zkProofWorker/zkProofWorkerLogic.js +66 -0
  266. package/assets/viteWorkerURL.constant-DrIQXA2B.js +0 -11
  267. package/index-COLpGMpe.mjs +0 -398153
  268. package/index.mjs +0 -457
  269. package/snarkjsWorkerLogic-BpNWzeoy.mjs +0 -12086
  270. package/utxoWorkerLogic-DyerYrK3.mjs +0 -64
  271. package/viteWorkerURL.constant-DnU4hEv_.mjs +0 -9
  272. package/zkProofWorkerLogic-DN4QUc_a.mjs +0 -60
@@ -0,0 +1,1423 @@
1
+ const e = [
2
+ {
3
+ anonymous: !1,
4
+ inputs: [
5
+ {
6
+ indexed: !1,
7
+ internalType: "uint256",
8
+ name: "callFees",
9
+ type: "uint256"
10
+ },
11
+ {
12
+ indexed: !1,
13
+ internalType: "uint256",
14
+ name: "beefyFees",
15
+ type: "uint256"
16
+ },
17
+ {
18
+ indexed: !1,
19
+ internalType: "uint256",
20
+ name: "strategistFees",
21
+ type: "uint256"
22
+ }
23
+ ],
24
+ name: "ChargedFees",
25
+ type: "event"
26
+ },
27
+ {
28
+ anonymous: !1,
29
+ inputs: [
30
+ {
31
+ indexed: !1,
32
+ internalType: "uint256",
33
+ name: "tvl",
34
+ type: "uint256"
35
+ }
36
+ ],
37
+ name: "Deposit",
38
+ type: "event"
39
+ },
40
+ {
41
+ anonymous: !1,
42
+ inputs: [
43
+ {
44
+ indexed: !1,
45
+ internalType: "uint8",
46
+ name: "version",
47
+ type: "uint8"
48
+ }
49
+ ],
50
+ name: "Initialized",
51
+ type: "event"
52
+ },
53
+ {
54
+ anonymous: !1,
55
+ inputs: [
56
+ {
57
+ indexed: !0,
58
+ internalType: "address",
59
+ name: "previousOwner",
60
+ type: "address"
61
+ },
62
+ {
63
+ indexed: !0,
64
+ internalType: "address",
65
+ name: "newOwner",
66
+ type: "address"
67
+ }
68
+ ],
69
+ name: "OwnershipTransferred",
70
+ type: "event"
71
+ },
72
+ {
73
+ anonymous: !1,
74
+ inputs: [
75
+ {
76
+ indexed: !1,
77
+ internalType: "address",
78
+ name: "account",
79
+ type: "address"
80
+ }
81
+ ],
82
+ name: "Paused",
83
+ type: "event"
84
+ },
85
+ {
86
+ anonymous: !1,
87
+ inputs: [
88
+ {
89
+ indexed: !1,
90
+ internalType: "address",
91
+ name: "beefyFeeConfig",
92
+ type: "address"
93
+ }
94
+ ],
95
+ name: "SetBeefyFeeConfig",
96
+ type: "event"
97
+ },
98
+ {
99
+ anonymous: !1,
100
+ inputs: [
101
+ {
102
+ indexed: !1,
103
+ internalType: "address",
104
+ name: "beefyFeeRecipient",
105
+ type: "address"
106
+ }
107
+ ],
108
+ name: "SetBeefyFeeRecipient",
109
+ type: "event"
110
+ },
111
+ {
112
+ anonymous: !1,
113
+ inputs: [
114
+ {
115
+ indexed: !1,
116
+ internalType: "address",
117
+ name: "keeper",
118
+ type: "address"
119
+ }
120
+ ],
121
+ name: "SetKeeper",
122
+ type: "event"
123
+ },
124
+ {
125
+ anonymous: !1,
126
+ inputs: [
127
+ {
128
+ indexed: !1,
129
+ internalType: "uint256",
130
+ name: "feeId",
131
+ type: "uint256"
132
+ }
133
+ ],
134
+ name: "SetStratFeeId",
135
+ type: "event"
136
+ },
137
+ {
138
+ anonymous: !1,
139
+ inputs: [
140
+ {
141
+ indexed: !1,
142
+ internalType: "address",
143
+ name: "strategist",
144
+ type: "address"
145
+ }
146
+ ],
147
+ name: "SetStrategist",
148
+ type: "event"
149
+ },
150
+ {
151
+ anonymous: !1,
152
+ inputs: [
153
+ {
154
+ indexed: !1,
155
+ internalType: "address",
156
+ name: "unirouter",
157
+ type: "address"
158
+ }
159
+ ],
160
+ name: "SetUnirouter",
161
+ type: "event"
162
+ },
163
+ {
164
+ anonymous: !1,
165
+ inputs: [
166
+ {
167
+ indexed: !1,
168
+ internalType: "address",
169
+ name: "vault",
170
+ type: "address"
171
+ }
172
+ ],
173
+ name: "SetVault",
174
+ type: "event"
175
+ },
176
+ {
177
+ anonymous: !1,
178
+ inputs: [
179
+ {
180
+ indexed: !1,
181
+ internalType: "uint256",
182
+ name: "withdrawalFee",
183
+ type: "uint256"
184
+ }
185
+ ],
186
+ name: "SetWithdrawalFee",
187
+ type: "event"
188
+ },
189
+ {
190
+ anonymous: !1,
191
+ inputs: [
192
+ {
193
+ indexed: !0,
194
+ internalType: "address",
195
+ name: "harvester",
196
+ type: "address"
197
+ },
198
+ {
199
+ indexed: !1,
200
+ internalType: "uint256",
201
+ name: "wantHarvested",
202
+ type: "uint256"
203
+ },
204
+ {
205
+ indexed: !1,
206
+ internalType: "uint256",
207
+ name: "tvl",
208
+ type: "uint256"
209
+ }
210
+ ],
211
+ name: "StratHarvest",
212
+ type: "event"
213
+ },
214
+ {
215
+ anonymous: !1,
216
+ inputs: [
217
+ {
218
+ indexed: !1,
219
+ internalType: "address",
220
+ name: "account",
221
+ type: "address"
222
+ }
223
+ ],
224
+ name: "Unpaused",
225
+ type: "event"
226
+ },
227
+ {
228
+ anonymous: !1,
229
+ inputs: [
230
+ {
231
+ indexed: !1,
232
+ internalType: "uint256",
233
+ name: "tvl",
234
+ type: "uint256"
235
+ }
236
+ ],
237
+ name: "Withdraw",
238
+ type: "event"
239
+ },
240
+ {
241
+ inputs: [],
242
+ name: "NO_PID",
243
+ outputs: [
244
+ {
245
+ internalType: "uint256",
246
+ name: "",
247
+ type: "uint256"
248
+ }
249
+ ],
250
+ stateMutability: "view",
251
+ type: "function"
252
+ },
253
+ {
254
+ inputs: [],
255
+ name: "WITHDRAWAL_FEE_CAP",
256
+ outputs: [
257
+ {
258
+ internalType: "uint256",
259
+ name: "",
260
+ type: "uint256"
261
+ }
262
+ ],
263
+ stateMutability: "view",
264
+ type: "function"
265
+ },
266
+ {
267
+ inputs: [],
268
+ name: "WITHDRAWAL_MAX",
269
+ outputs: [
270
+ {
271
+ internalType: "uint256",
272
+ name: "",
273
+ type: "uint256"
274
+ }
275
+ ],
276
+ stateMutability: "view",
277
+ type: "function"
278
+ },
279
+ {
280
+ inputs: [
281
+ {
282
+ internalType: "address[9]",
283
+ name: "_rewardToNativeRoute",
284
+ type: "address[9]"
285
+ },
286
+ {
287
+ internalType: "uint256[3][4]",
288
+ name: "_swapParams",
289
+ type: "uint256[3][4]"
290
+ },
291
+ {
292
+ internalType: "uint256",
293
+ name: "_minAmount",
294
+ type: "uint256"
295
+ }
296
+ ],
297
+ name: "addReward",
298
+ outputs: [],
299
+ stateMutability: "nonpayable",
300
+ type: "function"
301
+ },
302
+ {
303
+ inputs: [
304
+ {
305
+ internalType: "address",
306
+ name: "_router",
307
+ type: "address"
308
+ },
309
+ {
310
+ internalType: "address[]",
311
+ name: "_rewardToNativeRoute",
312
+ type: "address[]"
313
+ },
314
+ {
315
+ internalType: "uint256",
316
+ name: "_minAmount",
317
+ type: "uint256"
318
+ }
319
+ ],
320
+ name: "addRewardV2",
321
+ outputs: [],
322
+ stateMutability: "nonpayable",
323
+ type: "function"
324
+ },
325
+ {
326
+ inputs: [
327
+ {
328
+ internalType: "bytes",
329
+ name: "_rewardToNativePath",
330
+ type: "bytes"
331
+ },
332
+ {
333
+ internalType: "uint256",
334
+ name: "_minAmount",
335
+ type: "uint256"
336
+ }
337
+ ],
338
+ name: "addRewardV3",
339
+ outputs: [],
340
+ stateMutability: "nonpayable",
341
+ type: "function"
342
+ },
343
+ {
344
+ inputs: [],
345
+ name: "balanceOf",
346
+ outputs: [
347
+ {
348
+ internalType: "uint256",
349
+ name: "",
350
+ type: "uint256"
351
+ }
352
+ ],
353
+ stateMutability: "view",
354
+ type: "function"
355
+ },
356
+ {
357
+ inputs: [],
358
+ name: "balanceOfPool",
359
+ outputs: [
360
+ {
361
+ internalType: "uint256",
362
+ name: "",
363
+ type: "uint256"
364
+ }
365
+ ],
366
+ stateMutability: "view",
367
+ type: "function"
368
+ },
369
+ {
370
+ inputs: [],
371
+ name: "balanceOfWant",
372
+ outputs: [
373
+ {
374
+ internalType: "uint256",
375
+ name: "",
376
+ type: "uint256"
377
+ }
378
+ ],
379
+ stateMutability: "view",
380
+ type: "function"
381
+ },
382
+ {
383
+ inputs: [],
384
+ name: "beefyFeeConfig",
385
+ outputs: [
386
+ {
387
+ internalType: "contract IFeeConfig",
388
+ name: "",
389
+ type: "address"
390
+ }
391
+ ],
392
+ stateMutability: "view",
393
+ type: "function"
394
+ },
395
+ {
396
+ inputs: [],
397
+ name: "beefyFeeRecipient",
398
+ outputs: [
399
+ {
400
+ internalType: "address",
401
+ name: "",
402
+ type: "address"
403
+ }
404
+ ],
405
+ stateMutability: "view",
406
+ type: "function"
407
+ },
408
+ {
409
+ inputs: [],
410
+ name: "beforeDeposit",
411
+ outputs: [],
412
+ stateMutability: "nonpayable",
413
+ type: "function"
414
+ },
415
+ {
416
+ inputs: [],
417
+ name: "booster",
418
+ outputs: [
419
+ {
420
+ internalType: "contract IConvexBooster",
421
+ name: "",
422
+ type: "address"
423
+ }
424
+ ],
425
+ stateMutability: "view",
426
+ type: "function"
427
+ },
428
+ {
429
+ inputs: [],
430
+ name: "callReward",
431
+ outputs: [
432
+ {
433
+ internalType: "uint256",
434
+ name: "",
435
+ type: "uint256"
436
+ }
437
+ ],
438
+ stateMutability: "pure",
439
+ type: "function"
440
+ },
441
+ {
442
+ inputs: [
443
+ {
444
+ internalType: "uint256",
445
+ name: "i",
446
+ type: "uint256"
447
+ }
448
+ ],
449
+ name: "curveReward",
450
+ outputs: [
451
+ {
452
+ internalType: "address[9]",
453
+ name: "",
454
+ type: "address[9]"
455
+ },
456
+ {
457
+ internalType: "uint256[3][4]",
458
+ name: "",
459
+ type: "uint256[3][4]"
460
+ },
461
+ {
462
+ internalType: "uint256",
463
+ name: "",
464
+ type: "uint256"
465
+ }
466
+ ],
467
+ stateMutability: "view",
468
+ type: "function"
469
+ },
470
+ {
471
+ inputs: [
472
+ {
473
+ internalType: "uint256",
474
+ name: "",
475
+ type: "uint256"
476
+ }
477
+ ],
478
+ name: "curveRewards",
479
+ outputs: [
480
+ {
481
+ internalType: "uint256",
482
+ name: "minAmount",
483
+ type: "uint256"
484
+ }
485
+ ],
486
+ stateMutability: "view",
487
+ type: "function"
488
+ },
489
+ {
490
+ inputs: [],
491
+ name: "curveRewardsLength",
492
+ outputs: [
493
+ {
494
+ internalType: "uint256",
495
+ name: "",
496
+ type: "uint256"
497
+ }
498
+ ],
499
+ stateMutability: "view",
500
+ type: "function"
501
+ },
502
+ {
503
+ inputs: [],
504
+ name: "curveRouter",
505
+ outputs: [
506
+ {
507
+ internalType: "address",
508
+ name: "",
509
+ type: "address"
510
+ }
511
+ ],
512
+ stateMutability: "view",
513
+ type: "function"
514
+ },
515
+ {
516
+ inputs: [],
517
+ name: "deposit",
518
+ outputs: [],
519
+ stateMutability: "nonpayable",
520
+ type: "function"
521
+ },
522
+ {
523
+ inputs: [],
524
+ name: "depositFee",
525
+ outputs: [
526
+ {
527
+ internalType: "uint256",
528
+ name: "",
529
+ type: "uint256"
530
+ }
531
+ ],
532
+ stateMutability: "view",
533
+ type: "function"
534
+ },
535
+ {
536
+ inputs: [],
537
+ name: "depositToWant",
538
+ outputs: [
539
+ {
540
+ internalType: "uint256",
541
+ name: "minAmount",
542
+ type: "uint256"
543
+ }
544
+ ],
545
+ stateMutability: "view",
546
+ type: "function"
547
+ },
548
+ {
549
+ inputs: [],
550
+ name: "depositToWantRoute",
551
+ outputs: [
552
+ {
553
+ internalType: "address[9]",
554
+ name: "",
555
+ type: "address[9]"
556
+ },
557
+ {
558
+ internalType: "uint256[3][4]",
559
+ name: "",
560
+ type: "uint256[3][4]"
561
+ },
562
+ {
563
+ internalType: "uint256",
564
+ name: "",
565
+ type: "uint256"
566
+ }
567
+ ],
568
+ stateMutability: "view",
569
+ type: "function"
570
+ },
571
+ {
572
+ inputs: [],
573
+ name: "gauge",
574
+ outputs: [
575
+ {
576
+ internalType: "address",
577
+ name: "",
578
+ type: "address"
579
+ }
580
+ ],
581
+ stateMutability: "view",
582
+ type: "function"
583
+ },
584
+ {
585
+ inputs: [],
586
+ name: "getAllFees",
587
+ outputs: [
588
+ {
589
+ components: [
590
+ {
591
+ components: [
592
+ {
593
+ internalType: "uint256",
594
+ name: "total",
595
+ type: "uint256"
596
+ },
597
+ {
598
+ internalType: "uint256",
599
+ name: "beefy",
600
+ type: "uint256"
601
+ },
602
+ {
603
+ internalType: "uint256",
604
+ name: "call",
605
+ type: "uint256"
606
+ },
607
+ {
608
+ internalType: "uint256",
609
+ name: "strategist",
610
+ type: "uint256"
611
+ },
612
+ {
613
+ internalType: "string",
614
+ name: "label",
615
+ type: "string"
616
+ },
617
+ {
618
+ internalType: "bool",
619
+ name: "active",
620
+ type: "bool"
621
+ }
622
+ ],
623
+ internalType: "struct IFeeConfig.FeeCategory",
624
+ name: "performance",
625
+ type: "tuple"
626
+ },
627
+ {
628
+ internalType: "uint256",
629
+ name: "deposit",
630
+ type: "uint256"
631
+ },
632
+ {
633
+ internalType: "uint256",
634
+ name: "withdraw",
635
+ type: "uint256"
636
+ }
637
+ ],
638
+ internalType: "struct IFeeConfig.AllFees",
639
+ name: "",
640
+ type: "tuple"
641
+ }
642
+ ],
643
+ stateMutability: "view",
644
+ type: "function"
645
+ },
646
+ {
647
+ inputs: [],
648
+ name: "getStratFeeId",
649
+ outputs: [
650
+ {
651
+ internalType: "uint256",
652
+ name: "",
653
+ type: "uint256"
654
+ }
655
+ ],
656
+ stateMutability: "view",
657
+ type: "function"
658
+ },
659
+ {
660
+ inputs: [
661
+ {
662
+ internalType: "address",
663
+ name: "callFeeRecipient",
664
+ type: "address"
665
+ }
666
+ ],
667
+ name: "harvest",
668
+ outputs: [],
669
+ stateMutability: "nonpayable",
670
+ type: "function"
671
+ },
672
+ {
673
+ inputs: [],
674
+ name: "harvest",
675
+ outputs: [],
676
+ stateMutability: "nonpayable",
677
+ type: "function"
678
+ },
679
+ {
680
+ inputs: [],
681
+ name: "harvestOnDeposit",
682
+ outputs: [
683
+ {
684
+ internalType: "bool",
685
+ name: "",
686
+ type: "bool"
687
+ }
688
+ ],
689
+ stateMutability: "view",
690
+ type: "function"
691
+ },
692
+ {
693
+ inputs: [
694
+ {
695
+ internalType: "address",
696
+ name: "_want",
697
+ type: "address"
698
+ },
699
+ {
700
+ internalType: "address",
701
+ name: "_gauge",
702
+ type: "address"
703
+ },
704
+ {
705
+ internalType: "uint256",
706
+ name: "_pid",
707
+ type: "uint256"
708
+ },
709
+ {
710
+ internalType: "bytes",
711
+ name: "_crvToNativePath",
712
+ type: "bytes"
713
+ },
714
+ {
715
+ internalType: "bytes",
716
+ name: "_cvxToNativePath",
717
+ type: "bytes"
718
+ },
719
+ {
720
+ internalType: "bytes",
721
+ name: "_nativeToDepositPath",
722
+ type: "bytes"
723
+ },
724
+ {
725
+ components: [
726
+ {
727
+ internalType: "address[9]",
728
+ name: "route",
729
+ type: "address[9]"
730
+ },
731
+ {
732
+ internalType: "uint256[3][4]",
733
+ name: "swapParams",
734
+ type: "uint256[3][4]"
735
+ },
736
+ {
737
+ internalType: "uint256",
738
+ name: "minAmount",
739
+ type: "uint256"
740
+ }
741
+ ],
742
+ internalType: "struct StrategyCurveConvex.CurveRoute",
743
+ name: "_depositToWant",
744
+ type: "tuple"
745
+ },
746
+ {
747
+ components: [
748
+ {
749
+ internalType: "address",
750
+ name: "vault",
751
+ type: "address"
752
+ },
753
+ {
754
+ internalType: "address",
755
+ name: "unirouter",
756
+ type: "address"
757
+ },
758
+ {
759
+ internalType: "address",
760
+ name: "keeper",
761
+ type: "address"
762
+ },
763
+ {
764
+ internalType: "address",
765
+ name: "strategist",
766
+ type: "address"
767
+ },
768
+ {
769
+ internalType: "address",
770
+ name: "beefyFeeRecipient",
771
+ type: "address"
772
+ },
773
+ {
774
+ internalType: "address",
775
+ name: "beefyFeeConfig",
776
+ type: "address"
777
+ }
778
+ ],
779
+ internalType: "struct StratFeeManagerInitializable.CommonAddresses",
780
+ name: "_commonAddresses",
781
+ type: "tuple"
782
+ }
783
+ ],
784
+ name: "initialize",
785
+ outputs: [],
786
+ stateMutability: "nonpayable",
787
+ type: "function"
788
+ },
789
+ {
790
+ inputs: [],
791
+ name: "isCrvMintable",
792
+ outputs: [
793
+ {
794
+ internalType: "bool",
795
+ name: "",
796
+ type: "bool"
797
+ }
798
+ ],
799
+ stateMutability: "view",
800
+ type: "function"
801
+ },
802
+ {
803
+ inputs: [],
804
+ name: "keeper",
805
+ outputs: [
806
+ {
807
+ internalType: "address",
808
+ name: "",
809
+ type: "address"
810
+ }
811
+ ],
812
+ stateMutability: "view",
813
+ type: "function"
814
+ },
815
+ {
816
+ inputs: [],
817
+ name: "lastHarvest",
818
+ outputs: [
819
+ {
820
+ internalType: "uint256",
821
+ name: "",
822
+ type: "uint256"
823
+ }
824
+ ],
825
+ stateMutability: "view",
826
+ type: "function"
827
+ },
828
+ {
829
+ inputs: [],
830
+ name: "minter",
831
+ outputs: [
832
+ {
833
+ internalType: "contract ICrvMinter",
834
+ name: "",
835
+ type: "address"
836
+ }
837
+ ],
838
+ stateMutability: "view",
839
+ type: "function"
840
+ },
841
+ {
842
+ inputs: [],
843
+ name: "native",
844
+ outputs: [
845
+ {
846
+ internalType: "address",
847
+ name: "",
848
+ type: "address"
849
+ }
850
+ ],
851
+ stateMutability: "view",
852
+ type: "function"
853
+ },
854
+ {
855
+ inputs: [],
856
+ name: "nativeToDepositPath",
857
+ outputs: [
858
+ {
859
+ internalType: "bytes",
860
+ name: "",
861
+ type: "bytes"
862
+ }
863
+ ],
864
+ stateMutability: "view",
865
+ type: "function"
866
+ },
867
+ {
868
+ inputs: [],
869
+ name: "owner",
870
+ outputs: [
871
+ {
872
+ internalType: "address",
873
+ name: "",
874
+ type: "address"
875
+ }
876
+ ],
877
+ stateMutability: "view",
878
+ type: "function"
879
+ },
880
+ {
881
+ inputs: [],
882
+ name: "panic",
883
+ outputs: [],
884
+ stateMutability: "nonpayable",
885
+ type: "function"
886
+ },
887
+ {
888
+ inputs: [],
889
+ name: "pause",
890
+ outputs: [],
891
+ stateMutability: "nonpayable",
892
+ type: "function"
893
+ },
894
+ {
895
+ inputs: [],
896
+ name: "paused",
897
+ outputs: [
898
+ {
899
+ internalType: "bool",
900
+ name: "",
901
+ type: "bool"
902
+ }
903
+ ],
904
+ stateMutability: "view",
905
+ type: "function"
906
+ },
907
+ {
908
+ inputs: [],
909
+ name: "pid",
910
+ outputs: [
911
+ {
912
+ internalType: "uint256",
913
+ name: "",
914
+ type: "uint256"
915
+ }
916
+ ],
917
+ stateMutability: "view",
918
+ type: "function"
919
+ },
920
+ {
921
+ inputs: [],
922
+ name: "renounceOwnership",
923
+ outputs: [],
924
+ stateMutability: "nonpayable",
925
+ type: "function"
926
+ },
927
+ {
928
+ inputs: [],
929
+ name: "resetCurveRewards",
930
+ outputs: [],
931
+ stateMutability: "nonpayable",
932
+ type: "function"
933
+ },
934
+ {
935
+ inputs: [],
936
+ name: "resetRewardsV2",
937
+ outputs: [],
938
+ stateMutability: "nonpayable",
939
+ type: "function"
940
+ },
941
+ {
942
+ inputs: [],
943
+ name: "resetRewardsV3",
944
+ outputs: [],
945
+ stateMutability: "nonpayable",
946
+ type: "function"
947
+ },
948
+ {
949
+ inputs: [],
950
+ name: "retireStrat",
951
+ outputs: [],
952
+ stateMutability: "nonpayable",
953
+ type: "function"
954
+ },
955
+ {
956
+ inputs: [],
957
+ name: "rewardPool",
958
+ outputs: [
959
+ {
960
+ internalType: "address",
961
+ name: "",
962
+ type: "address"
963
+ }
964
+ ],
965
+ stateMutability: "view",
966
+ type: "function"
967
+ },
968
+ {
969
+ inputs: [
970
+ {
971
+ internalType: "uint256",
972
+ name: "i",
973
+ type: "uint256"
974
+ }
975
+ ],
976
+ name: "rewardV2",
977
+ outputs: [
978
+ {
979
+ internalType: "address",
980
+ name: "",
981
+ type: "address"
982
+ },
983
+ {
984
+ internalType: "address[]",
985
+ name: "",
986
+ type: "address[]"
987
+ },
988
+ {
989
+ internalType: "uint256",
990
+ name: "",
991
+ type: "uint256"
992
+ }
993
+ ],
994
+ stateMutability: "view",
995
+ type: "function"
996
+ },
997
+ {
998
+ inputs: [
999
+ {
1000
+ internalType: "uint256",
1001
+ name: "i",
1002
+ type: "uint256"
1003
+ }
1004
+ ],
1005
+ name: "rewardV3Route",
1006
+ outputs: [
1007
+ {
1008
+ internalType: "address[]",
1009
+ name: "",
1010
+ type: "address[]"
1011
+ }
1012
+ ],
1013
+ stateMutability: "view",
1014
+ type: "function"
1015
+ },
1016
+ {
1017
+ inputs: [],
1018
+ name: "rewardsAvailable",
1019
+ outputs: [
1020
+ {
1021
+ internalType: "uint256",
1022
+ name: "",
1023
+ type: "uint256"
1024
+ }
1025
+ ],
1026
+ stateMutability: "view",
1027
+ type: "function"
1028
+ },
1029
+ {
1030
+ inputs: [
1031
+ {
1032
+ internalType: "uint256",
1033
+ name: "",
1034
+ type: "uint256"
1035
+ }
1036
+ ],
1037
+ name: "rewardsV2",
1038
+ outputs: [
1039
+ {
1040
+ internalType: "address",
1041
+ name: "token",
1042
+ type: "address"
1043
+ },
1044
+ {
1045
+ internalType: "address",
1046
+ name: "router",
1047
+ type: "address"
1048
+ },
1049
+ {
1050
+ internalType: "uint256",
1051
+ name: "minAmount",
1052
+ type: "uint256"
1053
+ }
1054
+ ],
1055
+ stateMutability: "view",
1056
+ type: "function"
1057
+ },
1058
+ {
1059
+ inputs: [],
1060
+ name: "rewardsV2Length",
1061
+ outputs: [
1062
+ {
1063
+ internalType: "uint256",
1064
+ name: "",
1065
+ type: "uint256"
1066
+ }
1067
+ ],
1068
+ stateMutability: "view",
1069
+ type: "function"
1070
+ },
1071
+ {
1072
+ inputs: [
1073
+ {
1074
+ internalType: "uint256",
1075
+ name: "",
1076
+ type: "uint256"
1077
+ }
1078
+ ],
1079
+ name: "rewardsV3",
1080
+ outputs: [
1081
+ {
1082
+ internalType: "address",
1083
+ name: "token",
1084
+ type: "address"
1085
+ },
1086
+ {
1087
+ internalType: "bytes",
1088
+ name: "toNativePath",
1089
+ type: "bytes"
1090
+ },
1091
+ {
1092
+ internalType: "uint256",
1093
+ name: "minAmount",
1094
+ type: "uint256"
1095
+ }
1096
+ ],
1097
+ stateMutability: "view",
1098
+ type: "function"
1099
+ },
1100
+ {
1101
+ inputs: [],
1102
+ name: "rewardsV3Length",
1103
+ outputs: [
1104
+ {
1105
+ internalType: "uint256",
1106
+ name: "",
1107
+ type: "uint256"
1108
+ }
1109
+ ],
1110
+ stateMutability: "view",
1111
+ type: "function"
1112
+ },
1113
+ {
1114
+ inputs: [
1115
+ {
1116
+ internalType: "address",
1117
+ name: "_beefyFeeConfig",
1118
+ type: "address"
1119
+ }
1120
+ ],
1121
+ name: "setBeefyFeeConfig",
1122
+ outputs: [],
1123
+ stateMutability: "nonpayable",
1124
+ type: "function"
1125
+ },
1126
+ {
1127
+ inputs: [
1128
+ {
1129
+ internalType: "address",
1130
+ name: "_beefyFeeRecipient",
1131
+ type: "address"
1132
+ }
1133
+ ],
1134
+ name: "setBeefyFeeRecipient",
1135
+ outputs: [],
1136
+ stateMutability: "nonpayable",
1137
+ type: "function"
1138
+ },
1139
+ {
1140
+ inputs: [
1141
+ {
1142
+ internalType: "uint256",
1143
+ name: "_pid",
1144
+ type: "uint256"
1145
+ }
1146
+ ],
1147
+ name: "setConvexPid",
1148
+ outputs: [],
1149
+ stateMutability: "nonpayable",
1150
+ type: "function"
1151
+ },
1152
+ {
1153
+ inputs: [
1154
+ {
1155
+ internalType: "bool",
1156
+ name: "_isCrvMintable",
1157
+ type: "bool"
1158
+ }
1159
+ ],
1160
+ name: "setCrvMintable",
1161
+ outputs: [],
1162
+ stateMutability: "nonpayable",
1163
+ type: "function"
1164
+ },
1165
+ {
1166
+ inputs: [
1167
+ {
1168
+ internalType: "address[9]",
1169
+ name: "_route",
1170
+ type: "address[9]"
1171
+ },
1172
+ {
1173
+ internalType: "uint256[3][4]",
1174
+ name: "_swapParams",
1175
+ type: "uint256[3][4]"
1176
+ },
1177
+ {
1178
+ internalType: "uint256",
1179
+ name: "minAmount",
1180
+ type: "uint256"
1181
+ }
1182
+ ],
1183
+ name: "setDepositToWant",
1184
+ outputs: [],
1185
+ stateMutability: "nonpayable",
1186
+ type: "function"
1187
+ },
1188
+ {
1189
+ inputs: [
1190
+ {
1191
+ internalType: "bool",
1192
+ name: "_harvestOnDeposit",
1193
+ type: "bool"
1194
+ }
1195
+ ],
1196
+ name: "setHarvestOnDeposit",
1197
+ outputs: [],
1198
+ stateMutability: "nonpayable",
1199
+ type: "function"
1200
+ },
1201
+ {
1202
+ inputs: [
1203
+ {
1204
+ internalType: "address",
1205
+ name: "_keeper",
1206
+ type: "address"
1207
+ }
1208
+ ],
1209
+ name: "setKeeper",
1210
+ outputs: [],
1211
+ stateMutability: "nonpayable",
1212
+ type: "function"
1213
+ },
1214
+ {
1215
+ inputs: [
1216
+ {
1217
+ internalType: "bytes",
1218
+ name: "_nativeToDepositPath",
1219
+ type: "bytes"
1220
+ }
1221
+ ],
1222
+ name: "setNativeToDepositPath",
1223
+ outputs: [],
1224
+ stateMutability: "nonpayable",
1225
+ type: "function"
1226
+ },
1227
+ {
1228
+ inputs: [
1229
+ {
1230
+ internalType: "bool",
1231
+ name: "_skipEarmarkRewards",
1232
+ type: "bool"
1233
+ }
1234
+ ],
1235
+ name: "setSkipEarmarkRewards",
1236
+ outputs: [],
1237
+ stateMutability: "nonpayable",
1238
+ type: "function"
1239
+ },
1240
+ {
1241
+ inputs: [
1242
+ {
1243
+ internalType: "uint256",
1244
+ name: "_feeId",
1245
+ type: "uint256"
1246
+ }
1247
+ ],
1248
+ name: "setStratFeeId",
1249
+ outputs: [],
1250
+ stateMutability: "nonpayable",
1251
+ type: "function"
1252
+ },
1253
+ {
1254
+ inputs: [
1255
+ {
1256
+ internalType: "address",
1257
+ name: "_strategist",
1258
+ type: "address"
1259
+ }
1260
+ ],
1261
+ name: "setStrategist",
1262
+ outputs: [],
1263
+ stateMutability: "nonpayable",
1264
+ type: "function"
1265
+ },
1266
+ {
1267
+ inputs: [
1268
+ {
1269
+ internalType: "address",
1270
+ name: "_unirouter",
1271
+ type: "address"
1272
+ }
1273
+ ],
1274
+ name: "setUnirouter",
1275
+ outputs: [],
1276
+ stateMutability: "nonpayable",
1277
+ type: "function"
1278
+ },
1279
+ {
1280
+ inputs: [
1281
+ {
1282
+ internalType: "address",
1283
+ name: "_vault",
1284
+ type: "address"
1285
+ }
1286
+ ],
1287
+ name: "setVault",
1288
+ outputs: [],
1289
+ stateMutability: "nonpayable",
1290
+ type: "function"
1291
+ },
1292
+ {
1293
+ inputs: [
1294
+ {
1295
+ internalType: "uint256",
1296
+ name: "_fee",
1297
+ type: "uint256"
1298
+ }
1299
+ ],
1300
+ name: "setWithdrawalFee",
1301
+ outputs: [],
1302
+ stateMutability: "nonpayable",
1303
+ type: "function"
1304
+ },
1305
+ {
1306
+ inputs: [],
1307
+ name: "skipEarmarkRewards",
1308
+ outputs: [
1309
+ {
1310
+ internalType: "bool",
1311
+ name: "",
1312
+ type: "bool"
1313
+ }
1314
+ ],
1315
+ stateMutability: "view",
1316
+ type: "function"
1317
+ },
1318
+ {
1319
+ inputs: [],
1320
+ name: "strategist",
1321
+ outputs: [
1322
+ {
1323
+ internalType: "address",
1324
+ name: "",
1325
+ type: "address"
1326
+ }
1327
+ ],
1328
+ stateMutability: "view",
1329
+ type: "function"
1330
+ },
1331
+ {
1332
+ inputs: [
1333
+ {
1334
+ internalType: "address",
1335
+ name: "newOwner",
1336
+ type: "address"
1337
+ }
1338
+ ],
1339
+ name: "transferOwnership",
1340
+ outputs: [],
1341
+ stateMutability: "nonpayable",
1342
+ type: "function"
1343
+ },
1344
+ {
1345
+ inputs: [],
1346
+ name: "unirouter",
1347
+ outputs: [
1348
+ {
1349
+ internalType: "address",
1350
+ name: "",
1351
+ type: "address"
1352
+ }
1353
+ ],
1354
+ stateMutability: "view",
1355
+ type: "function"
1356
+ },
1357
+ {
1358
+ inputs: [],
1359
+ name: "unpause",
1360
+ outputs: [],
1361
+ stateMutability: "nonpayable",
1362
+ type: "function"
1363
+ },
1364
+ {
1365
+ inputs: [],
1366
+ name: "vault",
1367
+ outputs: [
1368
+ {
1369
+ internalType: "address",
1370
+ name: "",
1371
+ type: "address"
1372
+ }
1373
+ ],
1374
+ stateMutability: "view",
1375
+ type: "function"
1376
+ },
1377
+ {
1378
+ inputs: [],
1379
+ name: "want",
1380
+ outputs: [
1381
+ {
1382
+ internalType: "address",
1383
+ name: "",
1384
+ type: "address"
1385
+ }
1386
+ ],
1387
+ stateMutability: "view",
1388
+ type: "function"
1389
+ },
1390
+ {
1391
+ inputs: [
1392
+ {
1393
+ internalType: "uint256",
1394
+ name: "_amount",
1395
+ type: "uint256"
1396
+ }
1397
+ ],
1398
+ name: "withdraw",
1399
+ outputs: [],
1400
+ stateMutability: "nonpayable",
1401
+ type: "function"
1402
+ },
1403
+ {
1404
+ inputs: [],
1405
+ name: "withdrawFee",
1406
+ outputs: [
1407
+ {
1408
+ internalType: "uint256",
1409
+ name: "",
1410
+ type: "uint256"
1411
+ }
1412
+ ],
1413
+ stateMutability: "view",
1414
+ type: "function"
1415
+ },
1416
+ {
1417
+ stateMutability: "payable",
1418
+ type: "receive"
1419
+ }
1420
+ ];
1421
+ export {
1422
+ e as abi
1423
+ };