@underscore-finance/sdk 1.0.12 → 1.2.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 (412) hide show
  1. package/dist/contracts/AaveV3.d.ts +688 -251
  2. package/dist/contracts/AaveV3.d.ts.map +1 -1
  3. package/dist/contracts/AaveV3.js +873 -340
  4. package/dist/contracts/AeroClassic.d.ts +85 -13
  5. package/dist/contracts/AeroClassic.d.ts.map +1 -1
  6. package/dist/contracts/AeroClassic.js +106 -17
  7. package/dist/contracts/AeroSlipstream.d.ts +120 -14
  8. package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
  9. package/dist/contracts/AeroSlipstream.js +149 -18
  10. package/dist/contracts/{v0_2_Agent.d.ts → AgentSenderGeneric.d.ts} +2546 -1228
  11. package/dist/contracts/AgentSenderGeneric.d.ts.map +1 -0
  12. package/dist/contracts/{v0_2_Agent.js → AgentSenderGeneric.js} +3210 -1388
  13. package/dist/contracts/AgentSenderSpecial.d.ts +1968 -0
  14. package/dist/contracts/AgentSenderSpecial.d.ts.map +1 -0
  15. package/dist/contracts/AgentSenderSpecial.js +2509 -0
  16. package/dist/contracts/AgentWrapper.d.ts +170 -1462
  17. package/dist/contracts/AgentWrapper.d.ts.map +1 -1
  18. package/dist/contracts/AgentWrapper.js +262 -1869
  19. package/dist/contracts/{v0_3_Agent.d.ts → AgentWrapperV1.d.ts} +1983 -932
  20. package/dist/contracts/AgentWrapperV1.d.ts.map +1 -0
  21. package/dist/contracts/{Agent_v2.js → AgentWrapperV1.js} +2582 -1118
  22. package/dist/contracts/Appraiser.d.ts +22 -459
  23. package/dist/contracts/Appraiser.d.ts.map +1 -1
  24. package/dist/contracts/Appraiser.js +26 -596
  25. package/dist/contracts/Avantis.d.ts +2565 -0
  26. package/dist/contracts/Avantis.d.ts.map +1 -0
  27. package/dist/contracts/{v0_1_Agent.js → Avantis.js} +1674 -1790
  28. package/dist/contracts/Billing.d.ts +4 -68
  29. package/dist/contracts/Billing.d.ts.map +1 -1
  30. package/dist/contracts/Billing.js +5 -82
  31. package/dist/contracts/ChequeBook.d.ts +52 -1
  32. package/dist/contracts/ChequeBook.d.ts.map +1 -1
  33. package/dist/contracts/ChequeBook.js +53 -1
  34. package/dist/contracts/CompoundV3.d.ts +674 -251
  35. package/dist/contracts/CompoundV3.d.ts.map +1 -1
  36. package/dist/contracts/CompoundV3.js +819 -305
  37. package/dist/contracts/ConvertVaultToken.d.ts +63 -0
  38. package/dist/contracts/ConvertVaultToken.d.ts.map +1 -0
  39. package/dist/contracts/ConvertVaultToken.js +75 -0
  40. package/dist/contracts/Curve.d.ts +18 -17
  41. package/dist/contracts/Curve.d.ts.map +1 -1
  42. package/dist/contracts/Curve.js +23 -24
  43. package/dist/contracts/DefaultsBase.d.ts +45 -56
  44. package/dist/contracts/DefaultsBase.d.ts.map +1 -1
  45. package/dist/contracts/DefaultsBase.js +45 -59
  46. package/dist/contracts/EarnVault.d.ts +1680 -0
  47. package/dist/contracts/EarnVault.d.ts.map +1 -0
  48. package/dist/contracts/{UserWallet_v2.js → EarnVault.js} +898 -1245
  49. package/dist/contracts/EarnVaultAgent.d.ts +1004 -0
  50. package/dist/contracts/EarnVaultAgent.d.ts.map +1 -0
  51. package/dist/contracts/{v0_3_LegoSky.js → EarnVaultAgent.js} +640 -547
  52. package/dist/contracts/EarnVaultAgentSigHelper.d.ts +904 -0
  53. package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +1 -0
  54. package/dist/contracts/EarnVaultAgentSigHelper.js +1198 -0
  55. package/dist/contracts/Euler.d.ts +700 -255
  56. package/dist/contracts/Euler.d.ts.map +1 -1
  57. package/dist/contracts/Euler.js +834 -293
  58. package/dist/contracts/Fluid.d.ts +771 -284
  59. package/dist/contracts/Fluid.d.ts.map +1 -1
  60. package/dist/contracts/Fluid.js +925 -329
  61. package/dist/contracts/FortyAcres.d.ts +2579 -0
  62. package/dist/contracts/FortyAcres.d.ts.map +1 -0
  63. package/dist/contracts/FortyAcres.js +3274 -0
  64. package/dist/contracts/Hatchery.d.ts +6 -176
  65. package/dist/contracts/Hatchery.d.ts.map +1 -1
  66. package/dist/contracts/Hatchery.js +5 -225
  67. package/dist/contracts/HighCommand.d.ts +237 -1
  68. package/dist/contracts/HighCommand.d.ts.map +1 -1
  69. package/dist/contracts/HighCommand.js +259 -1
  70. package/dist/contracts/Kernel.d.ts +8 -0
  71. package/dist/contracts/Kernel.d.ts.map +1 -1
  72. package/dist/contracts/Kernel.js +9 -1
  73. package/dist/contracts/LegoBook.d.ts +7 -0
  74. package/dist/contracts/LegoBook.d.ts.map +1 -1
  75. package/dist/contracts/LegoBook.js +9 -1
  76. package/dist/contracts/LegoTools.d.ts +4 -0
  77. package/dist/contracts/LegoTools.d.ts.map +1 -1
  78. package/dist/contracts/LegoTools.js +5 -1
  79. package/dist/contracts/LevgVaultHelper.d.ts +1070 -0
  80. package/dist/contracts/LevgVaultHelper.d.ts.map +1 -0
  81. package/dist/contracts/{LegoCurve.js → LevgVaultHelper.js} +662 -767
  82. package/dist/contracts/LootDistributor.d.ts +49 -131
  83. package/dist/contracts/LootDistributor.d.ts.map +1 -1
  84. package/dist/contracts/LootDistributor.js +58 -157
  85. package/dist/contracts/Migrator.d.ts +4 -0
  86. package/dist/contracts/Migrator.d.ts.map +1 -1
  87. package/dist/contracts/Migrator.js +5 -1
  88. package/dist/contracts/MissionControl.d.ts +211 -295
  89. package/dist/contracts/MissionControl.d.ts.map +1 -1
  90. package/dist/contracts/MissionControl.js +216 -305
  91. package/dist/contracts/Moonwell.d.ts +696 -251
  92. package/dist/contracts/Moonwell.d.ts.map +1 -1
  93. package/dist/contracts/Moonwell.js +832 -291
  94. package/dist/contracts/Morpho.d.ts +719 -274
  95. package/dist/contracts/Morpho.d.ts.map +1 -1
  96. package/dist/contracts/Morpho.js +849 -308
  97. package/dist/contracts/Paymaster.d.ts +4 -0
  98. package/dist/contracts/Paymaster.d.ts.map +1 -1
  99. package/dist/contracts/Paymaster.js +5 -1
  100. package/dist/contracts/RipeLego.d.ts +920 -378
  101. package/dist/contracts/RipeLego.d.ts.map +1 -1
  102. package/dist/contracts/RipeLego.js +1123 -462
  103. package/dist/contracts/Sentinel.d.ts +275 -7
  104. package/dist/contracts/Sentinel.d.ts.map +1 -1
  105. package/dist/contracts/Sentinel.js +331 -7
  106. package/dist/contracts/SignatureHelperV1.d.ts +229 -229
  107. package/dist/contracts/SignatureHelperV1.js +333 -333
  108. package/dist/contracts/SkyPsm.d.ts +2622 -0
  109. package/dist/contracts/SkyPsm.d.ts.map +1 -0
  110. package/dist/contracts/SkyPsm.js +3329 -0
  111. package/dist/contracts/Switchboard.d.ts +7 -0
  112. package/dist/contracts/Switchboard.d.ts.map +1 -1
  113. package/dist/contracts/Switchboard.js +9 -1
  114. package/dist/contracts/SwitchboardAlpha.d.ts +499 -264
  115. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
  116. package/dist/contracts/SwitchboardAlpha.js +566 -282
  117. package/dist/contracts/SwitchboardBravo.d.ts +4 -24
  118. package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
  119. package/dist/contracts/SwitchboardBravo.js +5 -32
  120. package/dist/contracts/SwitchboardCharlie.d.ts +2923 -0
  121. package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -0
  122. package/dist/contracts/SwitchboardCharlie.js +3635 -0
  123. package/dist/contracts/{Agent_v2.d.ts → UnderscoreLego.d.ts} +1605 -1763
  124. package/dist/contracts/UnderscoreLego.d.ts.map +1 -0
  125. package/dist/contracts/{AgentTemplate.js → UnderscoreLego.js} +1664 -1796
  126. package/dist/contracts/UndyAero.d.ts +1680 -0
  127. package/dist/contracts/UndyAero.d.ts.map +1 -0
  128. package/dist/contracts/{v0_2_UserWallet.js → UndyAero.js} +1056 -1403
  129. package/dist/contracts/UndyBtc.d.ts +1680 -0
  130. package/dist/contracts/UndyBtc.d.ts.map +1 -0
  131. package/dist/contracts/{WalletFunds.js → UndyBtc.js} +1063 -1436
  132. package/dist/contracts/UndyCbeth.d.ts +1680 -0
  133. package/dist/contracts/UndyCbeth.d.ts.map +1 -0
  134. package/dist/contracts/{UserWallet_v1.js → UndyCbeth.js} +1063 -1438
  135. package/dist/contracts/UndyEth.d.ts +1680 -0
  136. package/dist/contracts/UndyEth.d.ts.map +1 -0
  137. package/dist/contracts/UndyEth.js +2206 -0
  138. package/dist/contracts/UndyEurc.d.ts +1680 -0
  139. package/dist/contracts/UndyEurc.d.ts.map +1 -0
  140. package/dist/contracts/UndyEurc.js +2206 -0
  141. package/dist/contracts/UndyGho.d.ts +1680 -0
  142. package/dist/contracts/UndyGho.d.ts.map +1 -0
  143. package/dist/contracts/UndyGho.js +2206 -0
  144. package/dist/contracts/UndyRewardsLego.d.ts +3 -0
  145. package/dist/contracts/UndyRewardsLego.d.ts.map +1 -1
  146. package/dist/contracts/UndyRewardsLego.js +5 -1
  147. package/dist/contracts/UndyUsd.d.ts +1680 -0
  148. package/dist/contracts/UndyUsd.d.ts.map +1 -0
  149. package/dist/contracts/UndyUsd.js +2206 -0
  150. package/dist/contracts/UndyUsds.d.ts +1680 -0
  151. package/dist/contracts/UndyUsds.d.ts.map +1 -0
  152. package/dist/contracts/UndyUsds.js +2206 -0
  153. package/dist/contracts/UniswapV2.d.ts +85 -13
  154. package/dist/contracts/UniswapV2.d.ts.map +1 -1
  155. package/dist/contracts/UniswapV2.js +106 -17
  156. package/dist/contracts/UniswapV3.d.ts +120 -14
  157. package/dist/contracts/UniswapV3.d.ts.map +1 -1
  158. package/dist/contracts/UniswapV3.js +149 -18
  159. package/dist/contracts/UserWallet.d.ts +12 -8
  160. package/dist/contracts/UserWallet.d.ts.map +1 -1
  161. package/dist/contracts/UserWallet.js +13 -9
  162. package/dist/contracts/UserWalletConfig.d.ts +198 -56
  163. package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
  164. package/dist/contracts/UserWalletConfig.js +225 -72
  165. package/dist/contracts/UserWalletConfigV1.d.ts +3655 -0
  166. package/dist/contracts/UserWalletConfigV1.d.ts.map +1 -0
  167. package/dist/contracts/UserWalletConfigV1.js +4251 -0
  168. package/dist/contracts/{Agent_v1.d.ts → UserWalletV1.d.ts} +1178 -1176
  169. package/dist/contracts/UserWalletV1.d.ts.map +1 -0
  170. package/dist/contracts/{Agent_v1.js → UserWalletV1.js} +1468 -1340
  171. package/dist/contracts/VaultRegistry.d.ts +3028 -0
  172. package/dist/contracts/VaultRegistry.d.ts.map +1 -0
  173. package/dist/contracts/VaultRegistry.js +3843 -0
  174. package/dist/contracts/WalletBackpack.d.ts +4 -0
  175. package/dist/contracts/WalletBackpack.d.ts.map +1 -1
  176. package/dist/contracts/WalletBackpack.js +5 -1
  177. package/dist/contracts/Wasabi.d.ts +2579 -0
  178. package/dist/contracts/Wasabi.d.ts.map +1 -0
  179. package/dist/contracts/Wasabi.js +3274 -0
  180. package/dist/contracts/index.d.ts +25 -1
  181. package/dist/contracts/index.d.ts.map +1 -1
  182. package/dist/contracts/index.js +25 -1
  183. package/dist/contracts/sdk.d.ts +50 -2
  184. package/dist/contracts/sdk.d.ts.map +1 -1
  185. package/dist/contracts/sdk.js +50 -2
  186. package/dist/getSwapInstructions.js +1 -1
  187. package/dist/index.d.ts +33 -6
  188. package/dist/index.d.ts.map +1 -1
  189. package/dist/index.js +13 -7
  190. package/package.json +2 -2
  191. package/dist/contracts/AddyRegistry.d.ts +0 -1109
  192. package/dist/contracts/AddyRegistry.d.ts.map +0 -1
  193. package/dist/contracts/AddyRegistry.js +0 -1392
  194. package/dist/contracts/AddyRegistry_v1.d.ts +0 -473
  195. package/dist/contracts/AddyRegistry_v1.d.ts.map +0 -1
  196. package/dist/contracts/AddyRegistry_v1.js +0 -594
  197. package/dist/contracts/AddyRegistry_v2.d.ts +0 -1050
  198. package/dist/contracts/AddyRegistry_v2.d.ts.map +0 -1
  199. package/dist/contracts/AddyRegistry_v2.js +0 -1313
  200. package/dist/contracts/AgentFactory.d.ts +0 -1665
  201. package/dist/contracts/AgentFactory.d.ts.map +0 -1
  202. package/dist/contracts/AgentFactory.js +0 -2078
  203. package/dist/contracts/AgentFactory_v1.d.ts +0 -1054
  204. package/dist/contracts/AgentFactory_v1.d.ts.map +0 -1
  205. package/dist/contracts/AgentFactory_v1.js +0 -1336
  206. package/dist/contracts/AgentFactory_v2.d.ts +0 -1275
  207. package/dist/contracts/AgentFactory_v2.d.ts.map +0 -1
  208. package/dist/contracts/AgentFactory_v2.js +0 -1609
  209. package/dist/contracts/AgentTemplate.d.ts +0 -2629
  210. package/dist/contracts/AgentTemplate.d.ts.map +0 -1
  211. package/dist/contracts/Agent_v1.d.ts.map +0 -1
  212. package/dist/contracts/Agent_v2.d.ts.map +0 -1
  213. package/dist/contracts/ChainlinkFeeds.d.ts +0 -706
  214. package/dist/contracts/ChainlinkFeeds.d.ts.map +0 -1
  215. package/dist/contracts/ChainlinkFeeds.js +0 -900
  216. package/dist/contracts/LegoAaveV3.d.ts +0 -1033
  217. package/dist/contracts/LegoAaveV3.d.ts.map +0 -1
  218. package/dist/contracts/LegoAaveV3.js +0 -1330
  219. package/dist/contracts/LegoAeroClassic.d.ts +0 -1204
  220. package/dist/contracts/LegoAeroClassic.d.ts.map +0 -1
  221. package/dist/contracts/LegoAeroClassic.js +0 -1546
  222. package/dist/contracts/LegoAeroSlipstream.d.ts +0 -1300
  223. package/dist/contracts/LegoAeroSlipstream.d.ts.map +0 -1
  224. package/dist/contracts/LegoAeroSlipstream.js +0 -1671
  225. package/dist/contracts/LegoCommon.d.ts +0 -164
  226. package/dist/contracts/LegoCommon.d.ts.map +0 -1
  227. package/dist/contracts/LegoCommon.js +0 -202
  228. package/dist/contracts/LegoCompoundV3.d.ts +0 -1060
  229. package/dist/contracts/LegoCompoundV3.d.ts.map +0 -1
  230. package/dist/contracts/LegoCompoundV3.js +0 -1365
  231. package/dist/contracts/LegoCredit.d.ts +0 -140
  232. package/dist/contracts/LegoCredit.d.ts.map +0 -1
  233. package/dist/contracts/LegoCredit.js +0 -179
  234. package/dist/contracts/LegoCurve.d.ts +0 -1189
  235. package/dist/contracts/LegoCurve.d.ts.map +0 -1
  236. package/dist/contracts/LegoDex.d.ts +0 -587
  237. package/dist/contracts/LegoDex.d.ts.map +0 -1
  238. package/dist/contracts/LegoDex.js +0 -774
  239. package/dist/contracts/LegoEuler.d.ts +0 -1074
  240. package/dist/contracts/LegoEuler.d.ts.map +0 -1
  241. package/dist/contracts/LegoEuler.js +0 -1383
  242. package/dist/contracts/LegoFluid.d.ts +0 -1025
  243. package/dist/contracts/LegoFluid.d.ts.map +0 -1
  244. package/dist/contracts/LegoFluid.js +0 -1320
  245. package/dist/contracts/LegoHelper.d.ts +0 -1563
  246. package/dist/contracts/LegoHelper.d.ts.map +0 -1
  247. package/dist/contracts/LegoHelper.js +0 -1947
  248. package/dist/contracts/LegoMoonwell.d.ts +0 -1042
  249. package/dist/contracts/LegoMoonwell.d.ts.map +0 -1
  250. package/dist/contracts/LegoMoonwell.js +0 -1342
  251. package/dist/contracts/LegoMorpho.d.ts +0 -1074
  252. package/dist/contracts/LegoMorpho.d.ts.map +0 -1
  253. package/dist/contracts/LegoMorpho.js +0 -1383
  254. package/dist/contracts/LegoRegistry.d.ts +0 -1079
  255. package/dist/contracts/LegoRegistry.d.ts.map +0 -1
  256. package/dist/contracts/LegoRegistry.js +0 -1368
  257. package/dist/contracts/LegoSky.d.ts +0 -923
  258. package/dist/contracts/LegoSky.d.ts.map +0 -1
  259. package/dist/contracts/LegoSky.js +0 -1180
  260. package/dist/contracts/LegoUniswapV0_2.d.ts +0 -1204
  261. package/dist/contracts/LegoUniswapV0_2.d.ts.map +0 -1
  262. package/dist/contracts/LegoUniswapV0_2.js +0 -1546
  263. package/dist/contracts/LegoUniswapV2.d.ts +0 -1204
  264. package/dist/contracts/LegoUniswapV2.d.ts.map +0 -1
  265. package/dist/contracts/LegoUniswapV2.js +0 -1546
  266. package/dist/contracts/LegoUniswapV3.d.ts +0 -1338
  267. package/dist/contracts/LegoUniswapV3.d.ts.map +0 -1
  268. package/dist/contracts/LegoUniswapV3.js +0 -1718
  269. package/dist/contracts/LegoYield.d.ts +0 -390
  270. package/dist/contracts/LegoYield.d.ts.map +0 -1
  271. package/dist/contracts/LegoYield.js +0 -511
  272. package/dist/contracts/OracleParser.d.ts +0 -207
  273. package/dist/contracts/OracleParser.d.ts.map +0 -1
  274. package/dist/contracts/OracleParser.js +0 -264
  275. package/dist/contracts/OracleRegistry.d.ts +0 -1221
  276. package/dist/contracts/OracleRegistry.d.ts.map +0 -1
  277. package/dist/contracts/OracleRegistry.js +0 -1562
  278. package/dist/contracts/PriceSheets.d.ts +0 -1127
  279. package/dist/contracts/PriceSheets.d.ts.map +0 -1
  280. package/dist/contracts/PriceSheets.js +0 -1383
  281. package/dist/contracts/PythFeeds.d.ts +0 -640
  282. package/dist/contracts/PythFeeds.d.ts.map +0 -1
  283. package/dist/contracts/PythFeeds.js +0 -813
  284. package/dist/contracts/StorkFeeds.d.ts +0 -640
  285. package/dist/contracts/StorkFeeds.d.ts.map +0 -1
  286. package/dist/contracts/StorkFeeds.js +0 -813
  287. package/dist/contracts/UserWalletConfig_v1.d.ts +0 -1400
  288. package/dist/contracts/UserWalletConfig_v1.d.ts.map +0 -1
  289. package/dist/contracts/UserWalletConfig_v1.js +0 -1676
  290. package/dist/contracts/UserWalletConfig_v2.d.ts +0 -1468
  291. package/dist/contracts/UserWalletConfig_v2.d.ts.map +0 -1
  292. package/dist/contracts/UserWalletConfig_v2.js +0 -1764
  293. package/dist/contracts/UserWallet_v1.d.ts +0 -1980
  294. package/dist/contracts/UserWallet_v1.d.ts.map +0 -1
  295. package/dist/contracts/UserWallet_v2.d.ts +0 -1958
  296. package/dist/contracts/UserWallet_v2.d.ts.map +0 -1
  297. package/dist/contracts/WalletConfig.d.ts +0 -1398
  298. package/dist/contracts/WalletConfig.d.ts.map +0 -1
  299. package/dist/contracts/WalletConfig.js +0 -1674
  300. package/dist/contracts/WalletFunds.d.ts +0 -1978
  301. package/dist/contracts/WalletFunds.d.ts.map +0 -1
  302. package/dist/contracts/v0_1_AddyRegistry.d.ts +0 -473
  303. package/dist/contracts/v0_1_AddyRegistry.d.ts.map +0 -1
  304. package/dist/contracts/v0_1_AddyRegistry.js +0 -594
  305. package/dist/contracts/v0_1_Agent.d.ts +0 -2631
  306. package/dist/contracts/v0_1_Agent.d.ts.map +0 -1
  307. package/dist/contracts/v0_1_AgentFactory.d.ts +0 -1054
  308. package/dist/contracts/v0_1_AgentFactory.d.ts.map +0 -1
  309. package/dist/contracts/v0_1_AgentFactory.js +0 -1336
  310. package/dist/contracts/v0_1_UserWallet.d.ts +0 -1980
  311. package/dist/contracts/v0_1_UserWallet.d.ts.map +0 -1
  312. package/dist/contracts/v0_1_UserWallet.js +0 -2581
  313. package/dist/contracts/v0_1_UserWalletConfig.d.ts +0 -1400
  314. package/dist/contracts/v0_1_UserWalletConfig.d.ts.map +0 -1
  315. package/dist/contracts/v0_1_UserWalletConfig.js +0 -1676
  316. package/dist/contracts/v0_2_AddyRegistry.d.ts +0 -1050
  317. package/dist/contracts/v0_2_AddyRegistry.d.ts.map +0 -1
  318. package/dist/contracts/v0_2_AddyRegistry.js +0 -1313
  319. package/dist/contracts/v0_2_Agent.d.ts.map +0 -1
  320. package/dist/contracts/v0_2_AgentFactory.d.ts +0 -1275
  321. package/dist/contracts/v0_2_AgentFactory.d.ts.map +0 -1
  322. package/dist/contracts/v0_2_AgentFactory.js +0 -1609
  323. package/dist/contracts/v0_2_UserWallet.d.ts +0 -1958
  324. package/dist/contracts/v0_2_UserWallet.d.ts.map +0 -1
  325. package/dist/contracts/v0_2_UserWalletConfig.d.ts +0 -1468
  326. package/dist/contracts/v0_2_UserWalletConfig.d.ts.map +0 -1
  327. package/dist/contracts/v0_2_UserWalletConfig.js +0 -1764
  328. package/dist/contracts/v0_3_AddyRegistry.d.ts +0 -1109
  329. package/dist/contracts/v0_3_AddyRegistry.d.ts.map +0 -1
  330. package/dist/contracts/v0_3_AddyRegistry.js +0 -1392
  331. package/dist/contracts/v0_3_Agent.d.ts.map +0 -1
  332. package/dist/contracts/v0_3_Agent.js +0 -3458
  333. package/dist/contracts/v0_3_AgentFactory.d.ts +0 -1665
  334. package/dist/contracts/v0_3_AgentFactory.d.ts.map +0 -1
  335. package/dist/contracts/v0_3_AgentFactory.js +0 -2078
  336. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts +0 -706
  337. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts.map +0 -1
  338. package/dist/contracts/v0_3_ChainlinkFeeds.js +0 -900
  339. package/dist/contracts/v0_3_LegoAaveV3.d.ts +0 -1033
  340. package/dist/contracts/v0_3_LegoAaveV3.d.ts.map +0 -1
  341. package/dist/contracts/v0_3_LegoAaveV3.js +0 -1330
  342. package/dist/contracts/v0_3_LegoAeroClassic.d.ts +0 -1204
  343. package/dist/contracts/v0_3_LegoAeroClassic.d.ts.map +0 -1
  344. package/dist/contracts/v0_3_LegoAeroClassic.js +0 -1546
  345. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts +0 -1300
  346. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts.map +0 -1
  347. package/dist/contracts/v0_3_LegoAeroSlipstream.js +0 -1671
  348. package/dist/contracts/v0_3_LegoCommon.d.ts +0 -164
  349. package/dist/contracts/v0_3_LegoCommon.d.ts.map +0 -1
  350. package/dist/contracts/v0_3_LegoCommon.js +0 -202
  351. package/dist/contracts/v0_3_LegoCompoundV3.d.ts +0 -1060
  352. package/dist/contracts/v0_3_LegoCompoundV3.d.ts.map +0 -1
  353. package/dist/contracts/v0_3_LegoCompoundV3.js +0 -1365
  354. package/dist/contracts/v0_3_LegoCredit.d.ts +0 -140
  355. package/dist/contracts/v0_3_LegoCredit.d.ts.map +0 -1
  356. package/dist/contracts/v0_3_LegoCredit.js +0 -179
  357. package/dist/contracts/v0_3_LegoCurve.d.ts +0 -1189
  358. package/dist/contracts/v0_3_LegoCurve.d.ts.map +0 -1
  359. package/dist/contracts/v0_3_LegoCurve.js +0 -1519
  360. package/dist/contracts/v0_3_LegoDex.d.ts +0 -587
  361. package/dist/contracts/v0_3_LegoDex.d.ts.map +0 -1
  362. package/dist/contracts/v0_3_LegoDex.js +0 -774
  363. package/dist/contracts/v0_3_LegoEuler.d.ts +0 -1074
  364. package/dist/contracts/v0_3_LegoEuler.d.ts.map +0 -1
  365. package/dist/contracts/v0_3_LegoEuler.js +0 -1383
  366. package/dist/contracts/v0_3_LegoFluid.d.ts +0 -1025
  367. package/dist/contracts/v0_3_LegoFluid.d.ts.map +0 -1
  368. package/dist/contracts/v0_3_LegoFluid.js +0 -1320
  369. package/dist/contracts/v0_3_LegoHelper.d.ts +0 -1563
  370. package/dist/contracts/v0_3_LegoHelper.d.ts.map +0 -1
  371. package/dist/contracts/v0_3_LegoHelper.js +0 -1947
  372. package/dist/contracts/v0_3_LegoMoonwell.d.ts +0 -1042
  373. package/dist/contracts/v0_3_LegoMoonwell.d.ts.map +0 -1
  374. package/dist/contracts/v0_3_LegoMoonwell.js +0 -1342
  375. package/dist/contracts/v0_3_LegoMorpho.d.ts +0 -1074
  376. package/dist/contracts/v0_3_LegoMorpho.d.ts.map +0 -1
  377. package/dist/contracts/v0_3_LegoMorpho.js +0 -1383
  378. package/dist/contracts/v0_3_LegoRegistry.d.ts +0 -1079
  379. package/dist/contracts/v0_3_LegoRegistry.d.ts.map +0 -1
  380. package/dist/contracts/v0_3_LegoRegistry.js +0 -1368
  381. package/dist/contracts/v0_3_LegoSky.d.ts +0 -923
  382. package/dist/contracts/v0_3_LegoSky.d.ts.map +0 -1
  383. package/dist/contracts/v0_3_LegoUniswapV3.d.ts +0 -1338
  384. package/dist/contracts/v0_3_LegoUniswapV3.d.ts.map +0 -1
  385. package/dist/contracts/v0_3_LegoUniswapV3.js +0 -1718
  386. package/dist/contracts/v0_3_LegoYield.d.ts +0 -390
  387. package/dist/contracts/v0_3_LegoYield.d.ts.map +0 -1
  388. package/dist/contracts/v0_3_LegoYield.js +0 -511
  389. package/dist/contracts/v0_3_OracleParser.d.ts +0 -207
  390. package/dist/contracts/v0_3_OracleParser.d.ts.map +0 -1
  391. package/dist/contracts/v0_3_OracleParser.js +0 -264
  392. package/dist/contracts/v0_3_OracleRegistry.d.ts +0 -1221
  393. package/dist/contracts/v0_3_OracleRegistry.d.ts.map +0 -1
  394. package/dist/contracts/v0_3_OracleRegistry.js +0 -1562
  395. package/dist/contracts/v0_3_PriceSheets.d.ts +0 -1127
  396. package/dist/contracts/v0_3_PriceSheets.d.ts.map +0 -1
  397. package/dist/contracts/v0_3_PriceSheets.js +0 -1383
  398. package/dist/contracts/v0_3_PythFeeds.d.ts +0 -640
  399. package/dist/contracts/v0_3_PythFeeds.d.ts.map +0 -1
  400. package/dist/contracts/v0_3_PythFeeds.js +0 -813
  401. package/dist/contracts/v0_3_StorkFeeds.d.ts +0 -640
  402. package/dist/contracts/v0_3_StorkFeeds.d.ts.map +0 -1
  403. package/dist/contracts/v0_3_StorkFeeds.js +0 -813
  404. package/dist/contracts/v0_3_UserWallet.d.ts +0 -1975
  405. package/dist/contracts/v0_3_UserWallet.d.ts.map +0 -1
  406. package/dist/contracts/v0_3_UserWallet.js +0 -2577
  407. package/dist/contracts/v0_3_UserWalletConfig.d.ts +0 -1852
  408. package/dist/contracts/v0_3_UserWalletConfig.d.ts.map +0 -1
  409. package/dist/contracts/v0_3_UserWalletConfig.js +0 -2263
  410. package/dist/getLegacyContracts.d.ts +0 -69
  411. package/dist/getLegacyContracts.d.ts.map +0 -1
  412. package/dist/getLegacyContracts.js +0 -55
@@ -0,0 +1,3843 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* @ts-nocheck */
5
+ import { singleQuery, mutate } from '@dappql/async';
6
+ export const abi = [
7
+ {
8
+ name: 'CanDepositSet',
9
+ inputs: [
10
+ {
11
+ name: 'vaultAddr',
12
+ type: 'address',
13
+ indexed: true,
14
+ },
15
+ {
16
+ name: 'canDeposit',
17
+ type: 'bool',
18
+ indexed: false,
19
+ },
20
+ ],
21
+ anonymous: false,
22
+ type: 'event',
23
+ },
24
+ {
25
+ name: 'CanWithdrawSet',
26
+ inputs: [
27
+ {
28
+ name: 'vaultAddr',
29
+ type: 'address',
30
+ indexed: true,
31
+ },
32
+ {
33
+ name: 'canWithdraw',
34
+ type: 'bool',
35
+ indexed: false,
36
+ },
37
+ ],
38
+ anonymous: false,
39
+ type: 'event',
40
+ },
41
+ {
42
+ name: 'MaxDepositAmountSet',
43
+ inputs: [
44
+ {
45
+ name: 'vaultAddr',
46
+ type: 'address',
47
+ indexed: true,
48
+ },
49
+ {
50
+ name: 'maxDepositAmount',
51
+ type: 'uint256',
52
+ indexed: false,
53
+ },
54
+ ],
55
+ anonymous: false,
56
+ type: 'event',
57
+ },
58
+ {
59
+ name: 'VaultOpsFrozenSet',
60
+ inputs: [
61
+ {
62
+ name: 'vaultAddr',
63
+ type: 'address',
64
+ indexed: true,
65
+ },
66
+ {
67
+ name: 'isFrozen',
68
+ type: 'bool',
69
+ indexed: false,
70
+ },
71
+ ],
72
+ anonymous: false,
73
+ type: 'event',
74
+ },
75
+ {
76
+ name: 'RedemptionBufferSet',
77
+ inputs: [
78
+ {
79
+ name: 'vaultAddr',
80
+ type: 'address',
81
+ indexed: true,
82
+ },
83
+ {
84
+ name: 'buffer',
85
+ type: 'uint256',
86
+ indexed: false,
87
+ },
88
+ ],
89
+ anonymous: false,
90
+ type: 'event',
91
+ },
92
+ {
93
+ name: 'MinYieldWithdrawAmountSet',
94
+ inputs: [
95
+ {
96
+ name: 'vaultAddr',
97
+ type: 'address',
98
+ indexed: true,
99
+ },
100
+ {
101
+ name: 'amount',
102
+ type: 'uint256',
103
+ indexed: false,
104
+ },
105
+ ],
106
+ anonymous: false,
107
+ type: 'event',
108
+ },
109
+ {
110
+ name: 'PerformanceFeeSet',
111
+ inputs: [
112
+ {
113
+ name: 'vaultAddr',
114
+ type: 'address',
115
+ indexed: true,
116
+ },
117
+ {
118
+ name: 'performanceFee',
119
+ type: 'uint256',
120
+ indexed: false,
121
+ },
122
+ ],
123
+ anonymous: false,
124
+ type: 'event',
125
+ },
126
+ {
127
+ name: 'DefaultTargetVaultTokenSet',
128
+ inputs: [
129
+ {
130
+ name: 'vaultAddr',
131
+ type: 'address',
132
+ indexed: true,
133
+ },
134
+ {
135
+ name: 'targetVaultToken',
136
+ type: 'address',
137
+ indexed: true,
138
+ },
139
+ ],
140
+ anonymous: false,
141
+ type: 'event',
142
+ },
143
+ {
144
+ name: 'ShouldAutoDepositSet',
145
+ inputs: [
146
+ {
147
+ name: 'vaultAddr',
148
+ type: 'address',
149
+ indexed: true,
150
+ },
151
+ {
152
+ name: 'shouldAutoDeposit',
153
+ type: 'bool',
154
+ indexed: false,
155
+ },
156
+ ],
157
+ anonymous: false,
158
+ type: 'event',
159
+ },
160
+ {
161
+ name: 'IsLeveragedVaultSet',
162
+ inputs: [
163
+ {
164
+ name: 'vaultAddr',
165
+ type: 'address',
166
+ indexed: true,
167
+ },
168
+ {
169
+ name: 'isLeveragedVault',
170
+ type: 'bool',
171
+ indexed: false,
172
+ },
173
+ ],
174
+ anonymous: false,
175
+ type: 'event',
176
+ },
177
+ {
178
+ name: 'ApprovedVaultTokenSet',
179
+ inputs: [
180
+ {
181
+ name: 'undyVaultAddr',
182
+ type: 'address',
183
+ indexed: true,
184
+ },
185
+ {
186
+ name: 'underlyingAsset',
187
+ type: 'address',
188
+ indexed: true,
189
+ },
190
+ {
191
+ name: 'vaultToken',
192
+ type: 'address',
193
+ indexed: true,
194
+ },
195
+ {
196
+ name: 'isApproved',
197
+ type: 'bool',
198
+ indexed: false,
199
+ },
200
+ {
201
+ name: 'shouldMaxWithdraw',
202
+ type: 'bool',
203
+ indexed: false,
204
+ },
205
+ ],
206
+ anonymous: false,
207
+ type: 'event',
208
+ },
209
+ {
210
+ name: 'VaultTokenAdded',
211
+ inputs: [
212
+ {
213
+ name: 'undyVaultAddr',
214
+ type: 'address',
215
+ indexed: true,
216
+ },
217
+ {
218
+ name: 'underlyingAsset',
219
+ type: 'address',
220
+ indexed: true,
221
+ },
222
+ {
223
+ name: 'vaultToken',
224
+ type: 'address',
225
+ indexed: true,
226
+ },
227
+ ],
228
+ anonymous: false,
229
+ type: 'event',
230
+ },
231
+ {
232
+ name: 'VaultTokenRemoved',
233
+ inputs: [
234
+ {
235
+ name: 'undyVaultAddr',
236
+ type: 'address',
237
+ indexed: true,
238
+ },
239
+ {
240
+ name: 'underlyingAsset',
241
+ type: 'address',
242
+ indexed: true,
243
+ },
244
+ {
245
+ name: 'vaultToken',
246
+ type: 'address',
247
+ indexed: true,
248
+ },
249
+ ],
250
+ anonymous: false,
251
+ type: 'event',
252
+ },
253
+ {
254
+ name: 'AssetVaultTokenAdded',
255
+ inputs: [
256
+ {
257
+ name: 'asset',
258
+ type: 'address',
259
+ indexed: true,
260
+ },
261
+ {
262
+ name: 'vaultToken',
263
+ type: 'address',
264
+ indexed: true,
265
+ },
266
+ ],
267
+ anonymous: false,
268
+ type: 'event',
269
+ },
270
+ {
271
+ name: 'AssetVaultTokenRemoved',
272
+ inputs: [
273
+ {
274
+ name: 'asset',
275
+ type: 'address',
276
+ indexed: true,
277
+ },
278
+ {
279
+ name: 'vaultToken',
280
+ type: 'address',
281
+ indexed: true,
282
+ },
283
+ ],
284
+ anonymous: false,
285
+ type: 'event',
286
+ },
287
+ {
288
+ name: 'ShouldEnforceAllowlistSet',
289
+ inputs: [
290
+ {
291
+ name: 'undyVault',
292
+ type: 'address',
293
+ indexed: true,
294
+ },
295
+ {
296
+ name: 'shouldEnforce',
297
+ type: 'bool',
298
+ indexed: false,
299
+ },
300
+ ],
301
+ anonymous: false,
302
+ type: 'event',
303
+ },
304
+ {
305
+ name: 'AllowlistSet',
306
+ inputs: [
307
+ {
308
+ name: 'undyVault',
309
+ type: 'address',
310
+ indexed: true,
311
+ },
312
+ {
313
+ name: 'user',
314
+ type: 'address',
315
+ indexed: true,
316
+ },
317
+ {
318
+ name: 'isAllowed',
319
+ type: 'bool',
320
+ indexed: false,
321
+ },
322
+ ],
323
+ anonymous: false,
324
+ type: 'event',
325
+ },
326
+ {
327
+ name: 'GovChangeTimeLockModified',
328
+ inputs: [
329
+ {
330
+ name: 'prevTimeLock',
331
+ type: 'uint256',
332
+ indexed: false,
333
+ },
334
+ {
335
+ name: 'newTimeLock',
336
+ type: 'uint256',
337
+ indexed: false,
338
+ },
339
+ ],
340
+ anonymous: false,
341
+ type: 'event',
342
+ },
343
+ {
344
+ name: 'RegistryTimeLockModified',
345
+ inputs: [
346
+ {
347
+ name: 'newTimeLock',
348
+ type: 'uint256',
349
+ indexed: false,
350
+ },
351
+ {
352
+ name: 'prevTimeLock',
353
+ type: 'uint256',
354
+ indexed: false,
355
+ },
356
+ {
357
+ name: 'registry',
358
+ type: 'string',
359
+ indexed: false,
360
+ },
361
+ ],
362
+ anonymous: false,
363
+ type: 'event',
364
+ },
365
+ {
366
+ name: 'GovChangeStarted',
367
+ inputs: [
368
+ {
369
+ name: 'prevGov',
370
+ type: 'address',
371
+ indexed: true,
372
+ },
373
+ {
374
+ name: 'newGov',
375
+ type: 'address',
376
+ indexed: true,
377
+ },
378
+ {
379
+ name: 'confirmBlock',
380
+ type: 'uint256',
381
+ indexed: false,
382
+ },
383
+ ],
384
+ anonymous: false,
385
+ type: 'event',
386
+ },
387
+ {
388
+ name: 'GovChangeConfirmed',
389
+ inputs: [
390
+ {
391
+ name: 'prevGov',
392
+ type: 'address',
393
+ indexed: true,
394
+ },
395
+ {
396
+ name: 'newGov',
397
+ type: 'address',
398
+ indexed: true,
399
+ },
400
+ {
401
+ name: 'initiatedBlock',
402
+ type: 'uint256',
403
+ indexed: false,
404
+ },
405
+ {
406
+ name: 'confirmBlock',
407
+ type: 'uint256',
408
+ indexed: false,
409
+ },
410
+ ],
411
+ anonymous: false,
412
+ type: 'event',
413
+ },
414
+ {
415
+ name: 'GovChangeCancelled',
416
+ inputs: [
417
+ {
418
+ name: 'cancelledGov',
419
+ type: 'address',
420
+ indexed: true,
421
+ },
422
+ {
423
+ name: 'initiatedBlock',
424
+ type: 'uint256',
425
+ indexed: false,
426
+ },
427
+ {
428
+ name: 'confirmBlock',
429
+ type: 'uint256',
430
+ indexed: false,
431
+ },
432
+ ],
433
+ anonymous: false,
434
+ type: 'event',
435
+ },
436
+ {
437
+ name: 'GovRelinquished',
438
+ inputs: [
439
+ {
440
+ name: 'prevGov',
441
+ type: 'address',
442
+ indexed: true,
443
+ },
444
+ ],
445
+ anonymous: false,
446
+ type: 'event',
447
+ },
448
+ {
449
+ name: 'UndyHqSetupFinished',
450
+ inputs: [
451
+ {
452
+ name: 'prevGov',
453
+ type: 'address',
454
+ indexed: true,
455
+ },
456
+ {
457
+ name: 'newGov',
458
+ type: 'address',
459
+ indexed: true,
460
+ },
461
+ {
462
+ name: 'timeLock',
463
+ type: 'uint256',
464
+ indexed: false,
465
+ },
466
+ ],
467
+ anonymous: false,
468
+ type: 'event',
469
+ },
470
+ {
471
+ name: 'DepartmentPauseModified',
472
+ inputs: [
473
+ {
474
+ name: 'isPaused',
475
+ type: 'bool',
476
+ indexed: false,
477
+ },
478
+ ],
479
+ anonymous: false,
480
+ type: 'event',
481
+ },
482
+ {
483
+ name: 'DepartmentFundsRecovered',
484
+ inputs: [
485
+ {
486
+ name: 'asset',
487
+ type: 'address',
488
+ indexed: true,
489
+ },
490
+ {
491
+ name: 'recipient',
492
+ type: 'address',
493
+ indexed: true,
494
+ },
495
+ {
496
+ name: 'balance',
497
+ type: 'uint256',
498
+ indexed: false,
499
+ },
500
+ ],
501
+ anonymous: false,
502
+ type: 'event',
503
+ },
504
+ {
505
+ name: 'NewAddressPending',
506
+ inputs: [
507
+ {
508
+ name: 'addr',
509
+ type: 'address',
510
+ indexed: true,
511
+ },
512
+ {
513
+ name: 'description',
514
+ type: 'string',
515
+ indexed: false,
516
+ },
517
+ {
518
+ name: 'confirmBlock',
519
+ type: 'uint256',
520
+ indexed: false,
521
+ },
522
+ {
523
+ name: 'registry',
524
+ type: 'string',
525
+ indexed: false,
526
+ },
527
+ ],
528
+ anonymous: false,
529
+ type: 'event',
530
+ },
531
+ {
532
+ name: 'NewAddressConfirmed',
533
+ inputs: [
534
+ {
535
+ name: 'addr',
536
+ type: 'address',
537
+ indexed: true,
538
+ },
539
+ {
540
+ name: 'regId',
541
+ type: 'uint256',
542
+ indexed: false,
543
+ },
544
+ {
545
+ name: 'description',
546
+ type: 'string',
547
+ indexed: false,
548
+ },
549
+ {
550
+ name: 'registry',
551
+ type: 'string',
552
+ indexed: false,
553
+ },
554
+ ],
555
+ anonymous: false,
556
+ type: 'event',
557
+ },
558
+ {
559
+ name: 'NewAddressCancelled',
560
+ inputs: [
561
+ {
562
+ name: 'description',
563
+ type: 'string',
564
+ indexed: false,
565
+ },
566
+ {
567
+ name: 'addr',
568
+ type: 'address',
569
+ indexed: true,
570
+ },
571
+ {
572
+ name: 'initiatedBlock',
573
+ type: 'uint256',
574
+ indexed: false,
575
+ },
576
+ {
577
+ name: 'confirmBlock',
578
+ type: 'uint256',
579
+ indexed: false,
580
+ },
581
+ {
582
+ name: 'registry',
583
+ type: 'string',
584
+ indexed: false,
585
+ },
586
+ ],
587
+ anonymous: false,
588
+ type: 'event',
589
+ },
590
+ {
591
+ name: 'AddressDisablePending',
592
+ inputs: [
593
+ {
594
+ name: 'regId',
595
+ type: 'uint256',
596
+ indexed: false,
597
+ },
598
+ {
599
+ name: 'description',
600
+ type: 'string',
601
+ indexed: false,
602
+ },
603
+ {
604
+ name: 'addr',
605
+ type: 'address',
606
+ indexed: true,
607
+ },
608
+ {
609
+ name: 'version',
610
+ type: 'uint256',
611
+ indexed: false,
612
+ },
613
+ {
614
+ name: 'confirmBlock',
615
+ type: 'uint256',
616
+ indexed: false,
617
+ },
618
+ {
619
+ name: 'registry',
620
+ type: 'string',
621
+ indexed: false,
622
+ },
623
+ ],
624
+ anonymous: false,
625
+ type: 'event',
626
+ },
627
+ {
628
+ name: 'AddressDisableConfirmed',
629
+ inputs: [
630
+ {
631
+ name: 'regId',
632
+ type: 'uint256',
633
+ indexed: false,
634
+ },
635
+ {
636
+ name: 'description',
637
+ type: 'string',
638
+ indexed: false,
639
+ },
640
+ {
641
+ name: 'addr',
642
+ type: 'address',
643
+ indexed: true,
644
+ },
645
+ {
646
+ name: 'version',
647
+ type: 'uint256',
648
+ indexed: false,
649
+ },
650
+ {
651
+ name: 'registry',
652
+ type: 'string',
653
+ indexed: false,
654
+ },
655
+ ],
656
+ anonymous: false,
657
+ type: 'event',
658
+ },
659
+ {
660
+ name: 'AddressDisableCancelled',
661
+ inputs: [
662
+ {
663
+ name: 'regId',
664
+ type: 'uint256',
665
+ indexed: false,
666
+ },
667
+ {
668
+ name: 'description',
669
+ type: 'string',
670
+ indexed: false,
671
+ },
672
+ {
673
+ name: 'addr',
674
+ type: 'address',
675
+ indexed: true,
676
+ },
677
+ {
678
+ name: 'initiatedBlock',
679
+ type: 'uint256',
680
+ indexed: false,
681
+ },
682
+ {
683
+ name: 'confirmBlock',
684
+ type: 'uint256',
685
+ indexed: false,
686
+ },
687
+ {
688
+ name: 'registry',
689
+ type: 'string',
690
+ indexed: false,
691
+ },
692
+ ],
693
+ anonymous: false,
694
+ type: 'event',
695
+ },
696
+ {
697
+ stateMutability: 'view',
698
+ type: 'function',
699
+ name: 'getUndyHqFromGov',
700
+ inputs: [],
701
+ outputs: [
702
+ {
703
+ name: '',
704
+ type: 'address',
705
+ },
706
+ ],
707
+ },
708
+ {
709
+ stateMutability: 'view',
710
+ type: 'function',
711
+ name: 'canGovern',
712
+ inputs: [
713
+ {
714
+ name: '_addr',
715
+ type: 'address',
716
+ },
717
+ ],
718
+ outputs: [
719
+ {
720
+ name: '',
721
+ type: 'bool',
722
+ },
723
+ ],
724
+ },
725
+ {
726
+ stateMutability: 'view',
727
+ type: 'function',
728
+ name: 'getGovernors',
729
+ inputs: [],
730
+ outputs: [
731
+ {
732
+ name: '',
733
+ type: 'address[]',
734
+ },
735
+ ],
736
+ },
737
+ {
738
+ stateMutability: 'view',
739
+ type: 'function',
740
+ name: 'hasPendingGovChange',
741
+ inputs: [],
742
+ outputs: [
743
+ {
744
+ name: '',
745
+ type: 'bool',
746
+ },
747
+ ],
748
+ },
749
+ {
750
+ stateMutability: 'nonpayable',
751
+ type: 'function',
752
+ name: 'startGovernanceChange',
753
+ inputs: [
754
+ {
755
+ name: '_newGov',
756
+ type: 'address',
757
+ },
758
+ ],
759
+ outputs: [],
760
+ },
761
+ {
762
+ stateMutability: 'nonpayable',
763
+ type: 'function',
764
+ name: 'confirmGovernanceChange',
765
+ inputs: [],
766
+ outputs: [],
767
+ },
768
+ {
769
+ stateMutability: 'nonpayable',
770
+ type: 'function',
771
+ name: 'cancelGovernanceChange',
772
+ inputs: [],
773
+ outputs: [],
774
+ },
775
+ {
776
+ stateMutability: 'nonpayable',
777
+ type: 'function',
778
+ name: 'relinquishGov',
779
+ inputs: [],
780
+ outputs: [],
781
+ },
782
+ {
783
+ stateMutability: 'nonpayable',
784
+ type: 'function',
785
+ name: 'setGovTimeLock',
786
+ inputs: [
787
+ {
788
+ name: '_numBlocks',
789
+ type: 'uint256',
790
+ },
791
+ ],
792
+ outputs: [
793
+ {
794
+ name: '',
795
+ type: 'bool',
796
+ },
797
+ ],
798
+ },
799
+ {
800
+ stateMutability: 'view',
801
+ type: 'function',
802
+ name: 'isValidGovTimeLock',
803
+ inputs: [
804
+ {
805
+ name: '_newTimeLock',
806
+ type: 'uint256',
807
+ },
808
+ ],
809
+ outputs: [
810
+ {
811
+ name: '',
812
+ type: 'bool',
813
+ },
814
+ ],
815
+ },
816
+ {
817
+ stateMutability: 'view',
818
+ type: 'function',
819
+ name: 'minGovChangeTimeLock',
820
+ inputs: [],
821
+ outputs: [
822
+ {
823
+ name: '',
824
+ type: 'uint256',
825
+ },
826
+ ],
827
+ },
828
+ {
829
+ stateMutability: 'view',
830
+ type: 'function',
831
+ name: 'maxGovChangeTimeLock',
832
+ inputs: [],
833
+ outputs: [
834
+ {
835
+ name: '',
836
+ type: 'uint256',
837
+ },
838
+ ],
839
+ },
840
+ {
841
+ stateMutability: 'nonpayable',
842
+ type: 'function',
843
+ name: 'finishUndyHqSetup',
844
+ inputs: [
845
+ {
846
+ name: '_newGov',
847
+ type: 'address',
848
+ },
849
+ ],
850
+ outputs: [
851
+ {
852
+ name: '',
853
+ type: 'bool',
854
+ },
855
+ ],
856
+ },
857
+ {
858
+ stateMutability: 'nonpayable',
859
+ type: 'function',
860
+ name: 'finishUndyHqSetup',
861
+ inputs: [
862
+ {
863
+ name: '_newGov',
864
+ type: 'address',
865
+ },
866
+ {
867
+ name: '_timeLock',
868
+ type: 'uint256',
869
+ },
870
+ ],
871
+ outputs: [
872
+ {
873
+ name: '',
874
+ type: 'bool',
875
+ },
876
+ ],
877
+ },
878
+ {
879
+ stateMutability: 'view',
880
+ type: 'function',
881
+ name: 'governance',
882
+ inputs: [],
883
+ outputs: [
884
+ {
885
+ name: '',
886
+ type: 'address',
887
+ },
888
+ ],
889
+ },
890
+ {
891
+ stateMutability: 'view',
892
+ type: 'function',
893
+ name: 'pendingGov',
894
+ inputs: [],
895
+ outputs: [
896
+ {
897
+ name: '',
898
+ type: 'tuple',
899
+ components: [
900
+ {
901
+ name: 'newGov',
902
+ type: 'address',
903
+ },
904
+ {
905
+ name: 'initiatedBlock',
906
+ type: 'uint256',
907
+ },
908
+ {
909
+ name: 'confirmBlock',
910
+ type: 'uint256',
911
+ },
912
+ ],
913
+ },
914
+ ],
915
+ },
916
+ {
917
+ stateMutability: 'view',
918
+ type: 'function',
919
+ name: 'numGovChanges',
920
+ inputs: [],
921
+ outputs: [
922
+ {
923
+ name: '',
924
+ type: 'uint256',
925
+ },
926
+ ],
927
+ },
928
+ {
929
+ stateMutability: 'view',
930
+ type: 'function',
931
+ name: 'govChangeTimeLock',
932
+ inputs: [],
933
+ outputs: [
934
+ {
935
+ name: '',
936
+ type: 'uint256',
937
+ },
938
+ ],
939
+ },
940
+ {
941
+ stateMutability: 'view',
942
+ type: 'function',
943
+ name: 'getRegistryDescription',
944
+ inputs: [],
945
+ outputs: [
946
+ {
947
+ name: '',
948
+ type: 'string',
949
+ },
950
+ ],
951
+ },
952
+ {
953
+ stateMutability: 'view',
954
+ type: 'function',
955
+ name: 'isValidNewAddress',
956
+ inputs: [
957
+ {
958
+ name: '_addr',
959
+ type: 'address',
960
+ },
961
+ ],
962
+ outputs: [
963
+ {
964
+ name: '',
965
+ type: 'bool',
966
+ },
967
+ ],
968
+ },
969
+ {
970
+ stateMutability: 'view',
971
+ type: 'function',
972
+ name: 'isValidAddressUpdate',
973
+ inputs: [
974
+ {
975
+ name: '_regId',
976
+ type: 'uint256',
977
+ },
978
+ {
979
+ name: '_newAddr',
980
+ type: 'address',
981
+ },
982
+ ],
983
+ outputs: [
984
+ {
985
+ name: '',
986
+ type: 'bool',
987
+ },
988
+ ],
989
+ },
990
+ {
991
+ stateMutability: 'view',
992
+ type: 'function',
993
+ name: 'isValidAddressDisable',
994
+ inputs: [
995
+ {
996
+ name: '_regId',
997
+ type: 'uint256',
998
+ },
999
+ ],
1000
+ outputs: [
1001
+ {
1002
+ name: '',
1003
+ type: 'bool',
1004
+ },
1005
+ ],
1006
+ },
1007
+ {
1008
+ stateMutability: 'nonpayable',
1009
+ type: 'function',
1010
+ name: 'setRegistryTimeLock',
1011
+ inputs: [
1012
+ {
1013
+ name: '_numBlocks',
1014
+ type: 'uint256',
1015
+ },
1016
+ ],
1017
+ outputs: [
1018
+ {
1019
+ name: '',
1020
+ type: 'bool',
1021
+ },
1022
+ ],
1023
+ },
1024
+ {
1025
+ stateMutability: 'view',
1026
+ type: 'function',
1027
+ name: 'isValidRegistryTimeLock',
1028
+ inputs: [
1029
+ {
1030
+ name: '_numBlocks',
1031
+ type: 'uint256',
1032
+ },
1033
+ ],
1034
+ outputs: [
1035
+ {
1036
+ name: '',
1037
+ type: 'bool',
1038
+ },
1039
+ ],
1040
+ },
1041
+ {
1042
+ stateMutability: 'nonpayable',
1043
+ type: 'function',
1044
+ name: 'setRegistryTimeLockAfterSetup',
1045
+ inputs: [],
1046
+ outputs: [
1047
+ {
1048
+ name: '',
1049
+ type: 'bool',
1050
+ },
1051
+ ],
1052
+ },
1053
+ {
1054
+ stateMutability: 'nonpayable',
1055
+ type: 'function',
1056
+ name: 'setRegistryTimeLockAfterSetup',
1057
+ inputs: [
1058
+ {
1059
+ name: '_numBlocks',
1060
+ type: 'uint256',
1061
+ },
1062
+ ],
1063
+ outputs: [
1064
+ {
1065
+ name: '',
1066
+ type: 'bool',
1067
+ },
1068
+ ],
1069
+ },
1070
+ {
1071
+ stateMutability: 'view',
1072
+ type: 'function',
1073
+ name: 'minRegistryTimeLock',
1074
+ inputs: [],
1075
+ outputs: [
1076
+ {
1077
+ name: '',
1078
+ type: 'uint256',
1079
+ },
1080
+ ],
1081
+ },
1082
+ {
1083
+ stateMutability: 'view',
1084
+ type: 'function',
1085
+ name: 'maxRegistryTimeLock',
1086
+ inputs: [],
1087
+ outputs: [
1088
+ {
1089
+ name: '',
1090
+ type: 'uint256',
1091
+ },
1092
+ ],
1093
+ },
1094
+ {
1095
+ stateMutability: 'view',
1096
+ type: 'function',
1097
+ name: 'isValidAddr',
1098
+ inputs: [
1099
+ {
1100
+ name: '_addr',
1101
+ type: 'address',
1102
+ },
1103
+ ],
1104
+ outputs: [
1105
+ {
1106
+ name: '',
1107
+ type: 'bool',
1108
+ },
1109
+ ],
1110
+ },
1111
+ {
1112
+ stateMutability: 'view',
1113
+ type: 'function',
1114
+ name: 'isValidRegId',
1115
+ inputs: [
1116
+ {
1117
+ name: '_regId',
1118
+ type: 'uint256',
1119
+ },
1120
+ ],
1121
+ outputs: [
1122
+ {
1123
+ name: '',
1124
+ type: 'bool',
1125
+ },
1126
+ ],
1127
+ },
1128
+ {
1129
+ stateMutability: 'view',
1130
+ type: 'function',
1131
+ name: 'getRegId',
1132
+ inputs: [
1133
+ {
1134
+ name: '_addr',
1135
+ type: 'address',
1136
+ },
1137
+ ],
1138
+ outputs: [
1139
+ {
1140
+ name: '',
1141
+ type: 'uint256',
1142
+ },
1143
+ ],
1144
+ },
1145
+ {
1146
+ stateMutability: 'view',
1147
+ type: 'function',
1148
+ name: 'getAddr',
1149
+ inputs: [
1150
+ {
1151
+ name: '_regId',
1152
+ type: 'uint256',
1153
+ },
1154
+ ],
1155
+ outputs: [
1156
+ {
1157
+ name: '',
1158
+ type: 'address',
1159
+ },
1160
+ ],
1161
+ },
1162
+ {
1163
+ stateMutability: 'view',
1164
+ type: 'function',
1165
+ name: 'getAddrInfo',
1166
+ inputs: [
1167
+ {
1168
+ name: '_regId',
1169
+ type: 'uint256',
1170
+ },
1171
+ ],
1172
+ outputs: [
1173
+ {
1174
+ name: '',
1175
+ type: 'tuple',
1176
+ components: [
1177
+ {
1178
+ name: 'addr',
1179
+ type: 'address',
1180
+ },
1181
+ {
1182
+ name: 'version',
1183
+ type: 'uint256',
1184
+ },
1185
+ {
1186
+ name: 'lastModified',
1187
+ type: 'uint256',
1188
+ },
1189
+ {
1190
+ name: 'description',
1191
+ type: 'string',
1192
+ },
1193
+ ],
1194
+ },
1195
+ ],
1196
+ },
1197
+ {
1198
+ stateMutability: 'view',
1199
+ type: 'function',
1200
+ name: 'getAddrDescription',
1201
+ inputs: [
1202
+ {
1203
+ name: '_regId',
1204
+ type: 'uint256',
1205
+ },
1206
+ ],
1207
+ outputs: [
1208
+ {
1209
+ name: '',
1210
+ type: 'string',
1211
+ },
1212
+ ],
1213
+ },
1214
+ {
1215
+ stateMutability: 'view',
1216
+ type: 'function',
1217
+ name: 'getNumAddrs',
1218
+ inputs: [],
1219
+ outputs: [
1220
+ {
1221
+ name: '',
1222
+ type: 'uint256',
1223
+ },
1224
+ ],
1225
+ },
1226
+ {
1227
+ stateMutability: 'view',
1228
+ type: 'function',
1229
+ name: 'getLastAddr',
1230
+ inputs: [],
1231
+ outputs: [
1232
+ {
1233
+ name: '',
1234
+ type: 'address',
1235
+ },
1236
+ ],
1237
+ },
1238
+ {
1239
+ stateMutability: 'view',
1240
+ type: 'function',
1241
+ name: 'getLastRegId',
1242
+ inputs: [],
1243
+ outputs: [
1244
+ {
1245
+ name: '',
1246
+ type: 'uint256',
1247
+ },
1248
+ ],
1249
+ },
1250
+ {
1251
+ stateMutability: 'view',
1252
+ type: 'function',
1253
+ name: 'registryChangeTimeLock',
1254
+ inputs: [],
1255
+ outputs: [
1256
+ {
1257
+ name: '',
1258
+ type: 'uint256',
1259
+ },
1260
+ ],
1261
+ },
1262
+ {
1263
+ stateMutability: 'view',
1264
+ type: 'function',
1265
+ name: 'addrInfo',
1266
+ inputs: [
1267
+ {
1268
+ name: 'arg0',
1269
+ type: 'uint256',
1270
+ },
1271
+ ],
1272
+ outputs: [
1273
+ {
1274
+ name: '',
1275
+ type: 'tuple',
1276
+ components: [
1277
+ {
1278
+ name: 'addr',
1279
+ type: 'address',
1280
+ },
1281
+ {
1282
+ name: 'version',
1283
+ type: 'uint256',
1284
+ },
1285
+ {
1286
+ name: 'lastModified',
1287
+ type: 'uint256',
1288
+ },
1289
+ {
1290
+ name: 'description',
1291
+ type: 'string',
1292
+ },
1293
+ ],
1294
+ },
1295
+ ],
1296
+ },
1297
+ {
1298
+ stateMutability: 'view',
1299
+ type: 'function',
1300
+ name: 'addrToRegId',
1301
+ inputs: [
1302
+ {
1303
+ name: 'arg0',
1304
+ type: 'address',
1305
+ },
1306
+ ],
1307
+ outputs: [
1308
+ {
1309
+ name: '',
1310
+ type: 'uint256',
1311
+ },
1312
+ ],
1313
+ },
1314
+ {
1315
+ stateMutability: 'view',
1316
+ type: 'function',
1317
+ name: 'numAddrs',
1318
+ inputs: [],
1319
+ outputs: [
1320
+ {
1321
+ name: '',
1322
+ type: 'uint256',
1323
+ },
1324
+ ],
1325
+ },
1326
+ {
1327
+ stateMutability: 'view',
1328
+ type: 'function',
1329
+ name: 'pendingNewAddr',
1330
+ inputs: [
1331
+ {
1332
+ name: 'arg0',
1333
+ type: 'address',
1334
+ },
1335
+ ],
1336
+ outputs: [
1337
+ {
1338
+ name: '',
1339
+ type: 'tuple',
1340
+ components: [
1341
+ {
1342
+ name: 'description',
1343
+ type: 'string',
1344
+ },
1345
+ {
1346
+ name: 'initiatedBlock',
1347
+ type: 'uint256',
1348
+ },
1349
+ {
1350
+ name: 'confirmBlock',
1351
+ type: 'uint256',
1352
+ },
1353
+ ],
1354
+ },
1355
+ ],
1356
+ },
1357
+ {
1358
+ stateMutability: 'view',
1359
+ type: 'function',
1360
+ name: 'pendingAddrUpdate',
1361
+ inputs: [
1362
+ {
1363
+ name: 'arg0',
1364
+ type: 'uint256',
1365
+ },
1366
+ ],
1367
+ outputs: [
1368
+ {
1369
+ name: '',
1370
+ type: 'tuple',
1371
+ components: [
1372
+ {
1373
+ name: 'newAddr',
1374
+ type: 'address',
1375
+ },
1376
+ {
1377
+ name: 'initiatedBlock',
1378
+ type: 'uint256',
1379
+ },
1380
+ {
1381
+ name: 'confirmBlock',
1382
+ type: 'uint256',
1383
+ },
1384
+ ],
1385
+ },
1386
+ ],
1387
+ },
1388
+ {
1389
+ stateMutability: 'view',
1390
+ type: 'function',
1391
+ name: 'pendingAddrDisable',
1392
+ inputs: [
1393
+ {
1394
+ name: 'arg0',
1395
+ type: 'uint256',
1396
+ },
1397
+ ],
1398
+ outputs: [
1399
+ {
1400
+ name: '',
1401
+ type: 'tuple',
1402
+ components: [
1403
+ {
1404
+ name: 'initiatedBlock',
1405
+ type: 'uint256',
1406
+ },
1407
+ {
1408
+ name: 'confirmBlock',
1409
+ type: 'uint256',
1410
+ },
1411
+ ],
1412
+ },
1413
+ ],
1414
+ },
1415
+ {
1416
+ stateMutability: 'view',
1417
+ type: 'function',
1418
+ name: 'getAddys',
1419
+ inputs: [],
1420
+ outputs: [
1421
+ {
1422
+ name: '',
1423
+ type: 'tuple',
1424
+ components: [
1425
+ {
1426
+ name: 'hq',
1427
+ type: 'address',
1428
+ },
1429
+ {
1430
+ name: 'undyToken',
1431
+ type: 'address',
1432
+ },
1433
+ {
1434
+ name: 'ledger',
1435
+ type: 'address',
1436
+ },
1437
+ {
1438
+ name: 'missionControl',
1439
+ type: 'address',
1440
+ },
1441
+ {
1442
+ name: 'legoBook',
1443
+ type: 'address',
1444
+ },
1445
+ {
1446
+ name: 'switchboard',
1447
+ type: 'address',
1448
+ },
1449
+ {
1450
+ name: 'hatchery',
1451
+ type: 'address',
1452
+ },
1453
+ {
1454
+ name: 'lootDistributor',
1455
+ type: 'address',
1456
+ },
1457
+ {
1458
+ name: 'appraiser',
1459
+ type: 'address',
1460
+ },
1461
+ {
1462
+ name: 'walletBackpack',
1463
+ type: 'address',
1464
+ },
1465
+ {
1466
+ name: 'billing',
1467
+ type: 'address',
1468
+ },
1469
+ {
1470
+ name: 'vaultRegistry',
1471
+ type: 'address',
1472
+ },
1473
+ ],
1474
+ },
1475
+ ],
1476
+ },
1477
+ {
1478
+ stateMutability: 'view',
1479
+ type: 'function',
1480
+ name: 'getUndyHq',
1481
+ inputs: [],
1482
+ outputs: [
1483
+ {
1484
+ name: '',
1485
+ type: 'address',
1486
+ },
1487
+ ],
1488
+ },
1489
+ {
1490
+ stateMutability: 'view',
1491
+ type: 'function',
1492
+ name: 'canMintUndy',
1493
+ inputs: [],
1494
+ outputs: [
1495
+ {
1496
+ name: '',
1497
+ type: 'bool',
1498
+ },
1499
+ ],
1500
+ },
1501
+ {
1502
+ stateMutability: 'nonpayable',
1503
+ type: 'function',
1504
+ name: 'pause',
1505
+ inputs: [
1506
+ {
1507
+ name: '_shouldPause',
1508
+ type: 'bool',
1509
+ },
1510
+ ],
1511
+ outputs: [],
1512
+ },
1513
+ {
1514
+ stateMutability: 'nonpayable',
1515
+ type: 'function',
1516
+ name: 'recoverFunds',
1517
+ inputs: [
1518
+ {
1519
+ name: '_recipient',
1520
+ type: 'address',
1521
+ },
1522
+ {
1523
+ name: '_asset',
1524
+ type: 'address',
1525
+ },
1526
+ ],
1527
+ outputs: [],
1528
+ },
1529
+ {
1530
+ stateMutability: 'nonpayable',
1531
+ type: 'function',
1532
+ name: 'recoverFundsMany',
1533
+ inputs: [
1534
+ {
1535
+ name: '_recipient',
1536
+ type: 'address',
1537
+ },
1538
+ {
1539
+ name: '_assets',
1540
+ type: 'address[]',
1541
+ },
1542
+ ],
1543
+ outputs: [],
1544
+ },
1545
+ {
1546
+ stateMutability: 'view',
1547
+ type: 'function',
1548
+ name: 'isPaused',
1549
+ inputs: [],
1550
+ outputs: [
1551
+ {
1552
+ name: '',
1553
+ type: 'bool',
1554
+ },
1555
+ ],
1556
+ },
1557
+ {
1558
+ stateMutability: 'view',
1559
+ type: 'function',
1560
+ name: 'isEarnVault',
1561
+ inputs: [
1562
+ {
1563
+ name: '_undyVaultAddr',
1564
+ type: 'address',
1565
+ },
1566
+ ],
1567
+ outputs: [
1568
+ {
1569
+ name: '',
1570
+ type: 'bool',
1571
+ },
1572
+ ],
1573
+ },
1574
+ {
1575
+ stateMutability: 'view',
1576
+ type: 'function',
1577
+ name: 'isLeveragedVault',
1578
+ inputs: [
1579
+ {
1580
+ name: '_undyVaultAddr',
1581
+ type: 'address',
1582
+ },
1583
+ ],
1584
+ outputs: [
1585
+ {
1586
+ name: '',
1587
+ type: 'bool',
1588
+ },
1589
+ ],
1590
+ },
1591
+ {
1592
+ stateMutability: 'view',
1593
+ type: 'function',
1594
+ name: 'isBasicEarnVault',
1595
+ inputs: [
1596
+ {
1597
+ name: '_undyVaultAddr',
1598
+ type: 'address',
1599
+ },
1600
+ ],
1601
+ outputs: [
1602
+ {
1603
+ name: '',
1604
+ type: 'bool',
1605
+ },
1606
+ ],
1607
+ },
1608
+ {
1609
+ stateMutability: 'view',
1610
+ type: 'function',
1611
+ name: 'hasConfig',
1612
+ inputs: [
1613
+ {
1614
+ name: '_undyVaultAddr',
1615
+ type: 'address',
1616
+ },
1617
+ ],
1618
+ outputs: [
1619
+ {
1620
+ name: '',
1621
+ type: 'bool',
1622
+ },
1623
+ ],
1624
+ },
1625
+ {
1626
+ stateMutability: 'nonpayable',
1627
+ type: 'function',
1628
+ name: 'startAddNewAddressToRegistry',
1629
+ inputs: [
1630
+ {
1631
+ name: '_undyVaultAddr',
1632
+ type: 'address',
1633
+ },
1634
+ {
1635
+ name: '_description',
1636
+ type: 'string',
1637
+ },
1638
+ ],
1639
+ outputs: [
1640
+ {
1641
+ name: '',
1642
+ type: 'bool',
1643
+ },
1644
+ ],
1645
+ },
1646
+ {
1647
+ stateMutability: 'nonpayable',
1648
+ type: 'function',
1649
+ name: 'confirmNewAddressToRegistry',
1650
+ inputs: [
1651
+ {
1652
+ name: '_undyVaultAddr',
1653
+ type: 'address',
1654
+ },
1655
+ ],
1656
+ outputs: [
1657
+ {
1658
+ name: '',
1659
+ type: 'uint256',
1660
+ },
1661
+ ],
1662
+ },
1663
+ {
1664
+ stateMutability: 'nonpayable',
1665
+ type: 'function',
1666
+ name: 'confirmNewAddressToRegistry',
1667
+ inputs: [
1668
+ {
1669
+ name: '_undyVaultAddr',
1670
+ type: 'address',
1671
+ },
1672
+ {
1673
+ name: '_isLeveragedVault',
1674
+ type: 'bool',
1675
+ },
1676
+ ],
1677
+ outputs: [
1678
+ {
1679
+ name: '',
1680
+ type: 'uint256',
1681
+ },
1682
+ ],
1683
+ },
1684
+ {
1685
+ stateMutability: 'nonpayable',
1686
+ type: 'function',
1687
+ name: 'confirmNewAddressToRegistry',
1688
+ inputs: [
1689
+ {
1690
+ name: '_undyVaultAddr',
1691
+ type: 'address',
1692
+ },
1693
+ {
1694
+ name: '_isLeveragedVault',
1695
+ type: 'bool',
1696
+ },
1697
+ {
1698
+ name: '_shouldEnforceAllowlist',
1699
+ type: 'bool',
1700
+ },
1701
+ ],
1702
+ outputs: [
1703
+ {
1704
+ name: '',
1705
+ type: 'uint256',
1706
+ },
1707
+ ],
1708
+ },
1709
+ {
1710
+ stateMutability: 'nonpayable',
1711
+ type: 'function',
1712
+ name: 'confirmNewAddressToRegistry',
1713
+ inputs: [
1714
+ {
1715
+ name: '_undyVaultAddr',
1716
+ type: 'address',
1717
+ },
1718
+ {
1719
+ name: '_isLeveragedVault',
1720
+ type: 'bool',
1721
+ },
1722
+ {
1723
+ name: '_shouldEnforceAllowlist',
1724
+ type: 'bool',
1725
+ },
1726
+ {
1727
+ name: '_approvedVaultTokens',
1728
+ type: 'address[]',
1729
+ },
1730
+ ],
1731
+ outputs: [
1732
+ {
1733
+ name: '',
1734
+ type: 'uint256',
1735
+ },
1736
+ ],
1737
+ },
1738
+ {
1739
+ stateMutability: 'nonpayable',
1740
+ type: 'function',
1741
+ name: 'confirmNewAddressToRegistry',
1742
+ inputs: [
1743
+ {
1744
+ name: '_undyVaultAddr',
1745
+ type: 'address',
1746
+ },
1747
+ {
1748
+ name: '_isLeveragedVault',
1749
+ type: 'bool',
1750
+ },
1751
+ {
1752
+ name: '_shouldEnforceAllowlist',
1753
+ type: 'bool',
1754
+ },
1755
+ {
1756
+ name: '_approvedVaultTokens',
1757
+ type: 'address[]',
1758
+ },
1759
+ {
1760
+ name: '_maxDepositAmount',
1761
+ type: 'uint256',
1762
+ },
1763
+ ],
1764
+ outputs: [
1765
+ {
1766
+ name: '',
1767
+ type: 'uint256',
1768
+ },
1769
+ ],
1770
+ },
1771
+ {
1772
+ stateMutability: 'nonpayable',
1773
+ type: 'function',
1774
+ name: 'confirmNewAddressToRegistry',
1775
+ inputs: [
1776
+ {
1777
+ name: '_undyVaultAddr',
1778
+ type: 'address',
1779
+ },
1780
+ {
1781
+ name: '_isLeveragedVault',
1782
+ type: 'bool',
1783
+ },
1784
+ {
1785
+ name: '_shouldEnforceAllowlist',
1786
+ type: 'bool',
1787
+ },
1788
+ {
1789
+ name: '_approvedVaultTokens',
1790
+ type: 'address[]',
1791
+ },
1792
+ {
1793
+ name: '_maxDepositAmount',
1794
+ type: 'uint256',
1795
+ },
1796
+ {
1797
+ name: '_minYieldWithdrawAmount',
1798
+ type: 'uint256',
1799
+ },
1800
+ ],
1801
+ outputs: [
1802
+ {
1803
+ name: '',
1804
+ type: 'uint256',
1805
+ },
1806
+ ],
1807
+ },
1808
+ {
1809
+ stateMutability: 'nonpayable',
1810
+ type: 'function',
1811
+ name: 'confirmNewAddressToRegistry',
1812
+ inputs: [
1813
+ {
1814
+ name: '_undyVaultAddr',
1815
+ type: 'address',
1816
+ },
1817
+ {
1818
+ name: '_isLeveragedVault',
1819
+ type: 'bool',
1820
+ },
1821
+ {
1822
+ name: '_shouldEnforceAllowlist',
1823
+ type: 'bool',
1824
+ },
1825
+ {
1826
+ name: '_approvedVaultTokens',
1827
+ type: 'address[]',
1828
+ },
1829
+ {
1830
+ name: '_maxDepositAmount',
1831
+ type: 'uint256',
1832
+ },
1833
+ {
1834
+ name: '_minYieldWithdrawAmount',
1835
+ type: 'uint256',
1836
+ },
1837
+ {
1838
+ name: '_performanceFee',
1839
+ type: 'uint256',
1840
+ },
1841
+ ],
1842
+ outputs: [
1843
+ {
1844
+ name: '',
1845
+ type: 'uint256',
1846
+ },
1847
+ ],
1848
+ },
1849
+ {
1850
+ stateMutability: 'nonpayable',
1851
+ type: 'function',
1852
+ name: 'confirmNewAddressToRegistry',
1853
+ inputs: [
1854
+ {
1855
+ name: '_undyVaultAddr',
1856
+ type: 'address',
1857
+ },
1858
+ {
1859
+ name: '_isLeveragedVault',
1860
+ type: 'bool',
1861
+ },
1862
+ {
1863
+ name: '_shouldEnforceAllowlist',
1864
+ type: 'bool',
1865
+ },
1866
+ {
1867
+ name: '_approvedVaultTokens',
1868
+ type: 'address[]',
1869
+ },
1870
+ {
1871
+ name: '_maxDepositAmount',
1872
+ type: 'uint256',
1873
+ },
1874
+ {
1875
+ name: '_minYieldWithdrawAmount',
1876
+ type: 'uint256',
1877
+ },
1878
+ {
1879
+ name: '_performanceFee',
1880
+ type: 'uint256',
1881
+ },
1882
+ {
1883
+ name: '_defaultTargetVaultToken',
1884
+ type: 'address',
1885
+ },
1886
+ ],
1887
+ outputs: [
1888
+ {
1889
+ name: '',
1890
+ type: 'uint256',
1891
+ },
1892
+ ],
1893
+ },
1894
+ {
1895
+ stateMutability: 'nonpayable',
1896
+ type: 'function',
1897
+ name: 'confirmNewAddressToRegistry',
1898
+ inputs: [
1899
+ {
1900
+ name: '_undyVaultAddr',
1901
+ type: 'address',
1902
+ },
1903
+ {
1904
+ name: '_isLeveragedVault',
1905
+ type: 'bool',
1906
+ },
1907
+ {
1908
+ name: '_shouldEnforceAllowlist',
1909
+ type: 'bool',
1910
+ },
1911
+ {
1912
+ name: '_approvedVaultTokens',
1913
+ type: 'address[]',
1914
+ },
1915
+ {
1916
+ name: '_maxDepositAmount',
1917
+ type: 'uint256',
1918
+ },
1919
+ {
1920
+ name: '_minYieldWithdrawAmount',
1921
+ type: 'uint256',
1922
+ },
1923
+ {
1924
+ name: '_performanceFee',
1925
+ type: 'uint256',
1926
+ },
1927
+ {
1928
+ name: '_defaultTargetVaultToken',
1929
+ type: 'address',
1930
+ },
1931
+ {
1932
+ name: '_shouldAutoDeposit',
1933
+ type: 'bool',
1934
+ },
1935
+ ],
1936
+ outputs: [
1937
+ {
1938
+ name: '',
1939
+ type: 'uint256',
1940
+ },
1941
+ ],
1942
+ },
1943
+ {
1944
+ stateMutability: 'nonpayable',
1945
+ type: 'function',
1946
+ name: 'confirmNewAddressToRegistry',
1947
+ inputs: [
1948
+ {
1949
+ name: '_undyVaultAddr',
1950
+ type: 'address',
1951
+ },
1952
+ {
1953
+ name: '_isLeveragedVault',
1954
+ type: 'bool',
1955
+ },
1956
+ {
1957
+ name: '_shouldEnforceAllowlist',
1958
+ type: 'bool',
1959
+ },
1960
+ {
1961
+ name: '_approvedVaultTokens',
1962
+ type: 'address[]',
1963
+ },
1964
+ {
1965
+ name: '_maxDepositAmount',
1966
+ type: 'uint256',
1967
+ },
1968
+ {
1969
+ name: '_minYieldWithdrawAmount',
1970
+ type: 'uint256',
1971
+ },
1972
+ {
1973
+ name: '_performanceFee',
1974
+ type: 'uint256',
1975
+ },
1976
+ {
1977
+ name: '_defaultTargetVaultToken',
1978
+ type: 'address',
1979
+ },
1980
+ {
1981
+ name: '_shouldAutoDeposit',
1982
+ type: 'bool',
1983
+ },
1984
+ {
1985
+ name: '_canDeposit',
1986
+ type: 'bool',
1987
+ },
1988
+ ],
1989
+ outputs: [
1990
+ {
1991
+ name: '',
1992
+ type: 'uint256',
1993
+ },
1994
+ ],
1995
+ },
1996
+ {
1997
+ stateMutability: 'nonpayable',
1998
+ type: 'function',
1999
+ name: 'confirmNewAddressToRegistry',
2000
+ inputs: [
2001
+ {
2002
+ name: '_undyVaultAddr',
2003
+ type: 'address',
2004
+ },
2005
+ {
2006
+ name: '_isLeveragedVault',
2007
+ type: 'bool',
2008
+ },
2009
+ {
2010
+ name: '_shouldEnforceAllowlist',
2011
+ type: 'bool',
2012
+ },
2013
+ {
2014
+ name: '_approvedVaultTokens',
2015
+ type: 'address[]',
2016
+ },
2017
+ {
2018
+ name: '_maxDepositAmount',
2019
+ type: 'uint256',
2020
+ },
2021
+ {
2022
+ name: '_minYieldWithdrawAmount',
2023
+ type: 'uint256',
2024
+ },
2025
+ {
2026
+ name: '_performanceFee',
2027
+ type: 'uint256',
2028
+ },
2029
+ {
2030
+ name: '_defaultTargetVaultToken',
2031
+ type: 'address',
2032
+ },
2033
+ {
2034
+ name: '_shouldAutoDeposit',
2035
+ type: 'bool',
2036
+ },
2037
+ {
2038
+ name: '_canDeposit',
2039
+ type: 'bool',
2040
+ },
2041
+ {
2042
+ name: '_canWithdraw',
2043
+ type: 'bool',
2044
+ },
2045
+ ],
2046
+ outputs: [
2047
+ {
2048
+ name: '',
2049
+ type: 'uint256',
2050
+ },
2051
+ ],
2052
+ },
2053
+ {
2054
+ stateMutability: 'nonpayable',
2055
+ type: 'function',
2056
+ name: 'confirmNewAddressToRegistry',
2057
+ inputs: [
2058
+ {
2059
+ name: '_undyVaultAddr',
2060
+ type: 'address',
2061
+ },
2062
+ {
2063
+ name: '_isLeveragedVault',
2064
+ type: 'bool',
2065
+ },
2066
+ {
2067
+ name: '_shouldEnforceAllowlist',
2068
+ type: 'bool',
2069
+ },
2070
+ {
2071
+ name: '_approvedVaultTokens',
2072
+ type: 'address[]',
2073
+ },
2074
+ {
2075
+ name: '_maxDepositAmount',
2076
+ type: 'uint256',
2077
+ },
2078
+ {
2079
+ name: '_minYieldWithdrawAmount',
2080
+ type: 'uint256',
2081
+ },
2082
+ {
2083
+ name: '_performanceFee',
2084
+ type: 'uint256',
2085
+ },
2086
+ {
2087
+ name: '_defaultTargetVaultToken',
2088
+ type: 'address',
2089
+ },
2090
+ {
2091
+ name: '_shouldAutoDeposit',
2092
+ type: 'bool',
2093
+ },
2094
+ {
2095
+ name: '_canDeposit',
2096
+ type: 'bool',
2097
+ },
2098
+ {
2099
+ name: '_canWithdraw',
2100
+ type: 'bool',
2101
+ },
2102
+ {
2103
+ name: '_isVaultOpsFrozen',
2104
+ type: 'bool',
2105
+ },
2106
+ ],
2107
+ outputs: [
2108
+ {
2109
+ name: '',
2110
+ type: 'uint256',
2111
+ },
2112
+ ],
2113
+ },
2114
+ {
2115
+ stateMutability: 'nonpayable',
2116
+ type: 'function',
2117
+ name: 'confirmNewAddressToRegistry',
2118
+ inputs: [
2119
+ {
2120
+ name: '_undyVaultAddr',
2121
+ type: 'address',
2122
+ },
2123
+ {
2124
+ name: '_isLeveragedVault',
2125
+ type: 'bool',
2126
+ },
2127
+ {
2128
+ name: '_shouldEnforceAllowlist',
2129
+ type: 'bool',
2130
+ },
2131
+ {
2132
+ name: '_approvedVaultTokens',
2133
+ type: 'address[]',
2134
+ },
2135
+ {
2136
+ name: '_maxDepositAmount',
2137
+ type: 'uint256',
2138
+ },
2139
+ {
2140
+ name: '_minYieldWithdrawAmount',
2141
+ type: 'uint256',
2142
+ },
2143
+ {
2144
+ name: '_performanceFee',
2145
+ type: 'uint256',
2146
+ },
2147
+ {
2148
+ name: '_defaultTargetVaultToken',
2149
+ type: 'address',
2150
+ },
2151
+ {
2152
+ name: '_shouldAutoDeposit',
2153
+ type: 'bool',
2154
+ },
2155
+ {
2156
+ name: '_canDeposit',
2157
+ type: 'bool',
2158
+ },
2159
+ {
2160
+ name: '_canWithdraw',
2161
+ type: 'bool',
2162
+ },
2163
+ {
2164
+ name: '_isVaultOpsFrozen',
2165
+ type: 'bool',
2166
+ },
2167
+ {
2168
+ name: '_redemptionBuffer',
2169
+ type: 'uint256',
2170
+ },
2171
+ ],
2172
+ outputs: [
2173
+ {
2174
+ name: '',
2175
+ type: 'uint256',
2176
+ },
2177
+ ],
2178
+ },
2179
+ {
2180
+ stateMutability: 'nonpayable',
2181
+ type: 'function',
2182
+ name: 'cancelNewAddressToRegistry',
2183
+ inputs: [
2184
+ {
2185
+ name: '_undyVaultAddr',
2186
+ type: 'address',
2187
+ },
2188
+ ],
2189
+ outputs: [
2190
+ {
2191
+ name: '',
2192
+ type: 'bool',
2193
+ },
2194
+ ],
2195
+ },
2196
+ {
2197
+ stateMutability: 'nonpayable',
2198
+ type: 'function',
2199
+ name: 'startAddressDisableInRegistry',
2200
+ inputs: [
2201
+ {
2202
+ name: '_regId',
2203
+ type: 'uint256',
2204
+ },
2205
+ ],
2206
+ outputs: [
2207
+ {
2208
+ name: '',
2209
+ type: 'bool',
2210
+ },
2211
+ ],
2212
+ },
2213
+ {
2214
+ stateMutability: 'nonpayable',
2215
+ type: 'function',
2216
+ name: 'confirmAddressDisableInRegistry',
2217
+ inputs: [
2218
+ {
2219
+ name: '_regId',
2220
+ type: 'uint256',
2221
+ },
2222
+ ],
2223
+ outputs: [
2224
+ {
2225
+ name: '',
2226
+ type: 'bool',
2227
+ },
2228
+ ],
2229
+ },
2230
+ {
2231
+ stateMutability: 'nonpayable',
2232
+ type: 'function',
2233
+ name: 'cancelAddressDisableInRegistry',
2234
+ inputs: [
2235
+ {
2236
+ name: '_regId',
2237
+ type: 'uint256',
2238
+ },
2239
+ ],
2240
+ outputs: [
2241
+ {
2242
+ name: '',
2243
+ type: 'bool',
2244
+ },
2245
+ ],
2246
+ },
2247
+ {
2248
+ stateMutability: 'nonpayable',
2249
+ type: 'function',
2250
+ name: 'setCanDeposit',
2251
+ inputs: [
2252
+ {
2253
+ name: '_undyVaultAddr',
2254
+ type: 'address',
2255
+ },
2256
+ {
2257
+ name: '_canDeposit',
2258
+ type: 'bool',
2259
+ },
2260
+ ],
2261
+ outputs: [],
2262
+ },
2263
+ {
2264
+ stateMutability: 'nonpayable',
2265
+ type: 'function',
2266
+ name: 'setCanWithdraw',
2267
+ inputs: [
2268
+ {
2269
+ name: '_undyVaultAddr',
2270
+ type: 'address',
2271
+ },
2272
+ {
2273
+ name: '_canWithdraw',
2274
+ type: 'bool',
2275
+ },
2276
+ ],
2277
+ outputs: [],
2278
+ },
2279
+ {
2280
+ stateMutability: 'nonpayable',
2281
+ type: 'function',
2282
+ name: 'setMaxDepositAmount',
2283
+ inputs: [
2284
+ {
2285
+ name: '_undyVaultAddr',
2286
+ type: 'address',
2287
+ },
2288
+ {
2289
+ name: '_maxDepositAmount',
2290
+ type: 'uint256',
2291
+ },
2292
+ ],
2293
+ outputs: [],
2294
+ },
2295
+ {
2296
+ stateMutability: 'nonpayable',
2297
+ type: 'function',
2298
+ name: 'setVaultOpsFrozen',
2299
+ inputs: [
2300
+ {
2301
+ name: '_undyVaultAddr',
2302
+ type: 'address',
2303
+ },
2304
+ {
2305
+ name: '_isFrozen',
2306
+ type: 'bool',
2307
+ },
2308
+ ],
2309
+ outputs: [],
2310
+ },
2311
+ {
2312
+ stateMutability: 'nonpayable',
2313
+ type: 'function',
2314
+ name: 'setShouldAutoDeposit',
2315
+ inputs: [
2316
+ {
2317
+ name: '_undyVaultAddr',
2318
+ type: 'address',
2319
+ },
2320
+ {
2321
+ name: '_shouldAutoDeposit',
2322
+ type: 'bool',
2323
+ },
2324
+ ],
2325
+ outputs: [],
2326
+ },
2327
+ {
2328
+ stateMutability: 'nonpayable',
2329
+ type: 'function',
2330
+ name: 'setMinYieldWithdrawAmount',
2331
+ inputs: [
2332
+ {
2333
+ name: '_undyVaultAddr',
2334
+ type: 'address',
2335
+ },
2336
+ {
2337
+ name: '_amount',
2338
+ type: 'uint256',
2339
+ },
2340
+ ],
2341
+ outputs: [],
2342
+ },
2343
+ {
2344
+ stateMutability: 'nonpayable',
2345
+ type: 'function',
2346
+ name: 'setIsLeveragedVault',
2347
+ inputs: [
2348
+ {
2349
+ name: '_undyVaultAddr',
2350
+ type: 'address',
2351
+ },
2352
+ {
2353
+ name: '_isLeveragedVault',
2354
+ type: 'bool',
2355
+ },
2356
+ ],
2357
+ outputs: [],
2358
+ },
2359
+ {
2360
+ stateMutability: 'nonpayable',
2361
+ type: 'function',
2362
+ name: 'setShouldEnforceAllowlist',
2363
+ inputs: [
2364
+ {
2365
+ name: '_undyVaultAddr',
2366
+ type: 'address',
2367
+ },
2368
+ {
2369
+ name: '_shouldEnforce',
2370
+ type: 'bool',
2371
+ },
2372
+ ],
2373
+ outputs: [],
2374
+ },
2375
+ {
2376
+ stateMutability: 'nonpayable',
2377
+ type: 'function',
2378
+ name: 'setAllowed',
2379
+ inputs: [
2380
+ {
2381
+ name: '_undyVaultAddr',
2382
+ type: 'address',
2383
+ },
2384
+ {
2385
+ name: '_user',
2386
+ type: 'address',
2387
+ },
2388
+ {
2389
+ name: '_isAllowed',
2390
+ type: 'bool',
2391
+ },
2392
+ ],
2393
+ outputs: [],
2394
+ },
2395
+ {
2396
+ stateMutability: 'nonpayable',
2397
+ type: 'function',
2398
+ name: 'setAllowedBatch',
2399
+ inputs: [
2400
+ {
2401
+ name: '_undyVaultAddr',
2402
+ type: 'address',
2403
+ },
2404
+ {
2405
+ name: '_users',
2406
+ type: 'address[]',
2407
+ },
2408
+ {
2409
+ name: '_isAllowed',
2410
+ type: 'bool',
2411
+ },
2412
+ ],
2413
+ outputs: [],
2414
+ },
2415
+ {
2416
+ stateMutability: 'nonpayable',
2417
+ type: 'function',
2418
+ name: 'setDefaultTargetVaultToken',
2419
+ inputs: [
2420
+ {
2421
+ name: '_undyVaultAddr',
2422
+ type: 'address',
2423
+ },
2424
+ {
2425
+ name: '_targetVaultToken',
2426
+ type: 'address',
2427
+ },
2428
+ ],
2429
+ outputs: [],
2430
+ },
2431
+ {
2432
+ stateMutability: 'view',
2433
+ type: 'function',
2434
+ name: 'isValidDefaultTargetVaultToken',
2435
+ inputs: [
2436
+ {
2437
+ name: '_undyVaultAddr',
2438
+ type: 'address',
2439
+ },
2440
+ {
2441
+ name: '_targetVaultToken',
2442
+ type: 'address',
2443
+ },
2444
+ ],
2445
+ outputs: [
2446
+ {
2447
+ name: '',
2448
+ type: 'bool',
2449
+ },
2450
+ ],
2451
+ },
2452
+ {
2453
+ stateMutability: 'nonpayable',
2454
+ type: 'function',
2455
+ name: 'setPerformanceFee',
2456
+ inputs: [
2457
+ {
2458
+ name: '_undyVaultAddr',
2459
+ type: 'address',
2460
+ },
2461
+ {
2462
+ name: '_performanceFee',
2463
+ type: 'uint256',
2464
+ },
2465
+ ],
2466
+ outputs: [],
2467
+ },
2468
+ {
2469
+ stateMutability: 'view',
2470
+ type: 'function',
2471
+ name: 'isValidPerformanceFee',
2472
+ inputs: [
2473
+ {
2474
+ name: '_performanceFee',
2475
+ type: 'uint256',
2476
+ },
2477
+ ],
2478
+ outputs: [
2479
+ {
2480
+ name: '',
2481
+ type: 'bool',
2482
+ },
2483
+ ],
2484
+ },
2485
+ {
2486
+ stateMutability: 'nonpayable',
2487
+ type: 'function',
2488
+ name: 'setRedemptionBuffer',
2489
+ inputs: [
2490
+ {
2491
+ name: '_undyVaultAddr',
2492
+ type: 'address',
2493
+ },
2494
+ {
2495
+ name: '_buffer',
2496
+ type: 'uint256',
2497
+ },
2498
+ ],
2499
+ outputs: [],
2500
+ },
2501
+ {
2502
+ stateMutability: 'view',
2503
+ type: 'function',
2504
+ name: 'isValidRedemptionBuffer',
2505
+ inputs: [
2506
+ {
2507
+ name: '_buffer',
2508
+ type: 'uint256',
2509
+ },
2510
+ ],
2511
+ outputs: [
2512
+ {
2513
+ name: '',
2514
+ type: 'bool',
2515
+ },
2516
+ ],
2517
+ },
2518
+ {
2519
+ stateMutability: 'nonpayable',
2520
+ type: 'function',
2521
+ name: 'setApprovedVaultToken',
2522
+ inputs: [
2523
+ {
2524
+ name: '_undyVaultAddr',
2525
+ type: 'address',
2526
+ },
2527
+ {
2528
+ name: '_vaultToken',
2529
+ type: 'address',
2530
+ },
2531
+ {
2532
+ name: '_isApproved',
2533
+ type: 'bool',
2534
+ },
2535
+ {
2536
+ name: '_shouldMaxWithdraw',
2537
+ type: 'bool',
2538
+ },
2539
+ ],
2540
+ outputs: [],
2541
+ },
2542
+ {
2543
+ stateMutability: 'nonpayable',
2544
+ type: 'function',
2545
+ name: 'setApprovedVaultTokens',
2546
+ inputs: [
2547
+ {
2548
+ name: '_undyVaultAddr',
2549
+ type: 'address',
2550
+ },
2551
+ {
2552
+ name: '_vaultTokens',
2553
+ type: 'address[]',
2554
+ },
2555
+ {
2556
+ name: '_isApproved',
2557
+ type: 'bool',
2558
+ },
2559
+ {
2560
+ name: '_shouldMaxWithdraw',
2561
+ type: 'bool',
2562
+ },
2563
+ ],
2564
+ outputs: [],
2565
+ },
2566
+ {
2567
+ stateMutability: 'view',
2568
+ type: 'function',
2569
+ name: 'getApprovedVaultTokens',
2570
+ inputs: [
2571
+ {
2572
+ name: '_undyVaultAddr',
2573
+ type: 'address',
2574
+ },
2575
+ ],
2576
+ outputs: [
2577
+ {
2578
+ name: '',
2579
+ type: 'address[]',
2580
+ },
2581
+ ],
2582
+ },
2583
+ {
2584
+ stateMutability: 'view',
2585
+ type: 'function',
2586
+ name: 'getAssetVaultTokens',
2587
+ inputs: [
2588
+ {
2589
+ name: '_asset',
2590
+ type: 'address',
2591
+ },
2592
+ ],
2593
+ outputs: [
2594
+ {
2595
+ name: '',
2596
+ type: 'address[]',
2597
+ },
2598
+ ],
2599
+ },
2600
+ {
2601
+ stateMutability: 'view',
2602
+ type: 'function',
2603
+ name: 'getNumApprovedVaultTokens',
2604
+ inputs: [
2605
+ {
2606
+ name: '_undyVaultAddr',
2607
+ type: 'address',
2608
+ },
2609
+ ],
2610
+ outputs: [
2611
+ {
2612
+ name: '',
2613
+ type: 'uint256',
2614
+ },
2615
+ ],
2616
+ },
2617
+ {
2618
+ stateMutability: 'view',
2619
+ type: 'function',
2620
+ name: 'getNumAssetVaultTokens',
2621
+ inputs: [
2622
+ {
2623
+ name: '_asset',
2624
+ type: 'address',
2625
+ },
2626
+ ],
2627
+ outputs: [
2628
+ {
2629
+ name: '',
2630
+ type: 'uint256',
2631
+ },
2632
+ ],
2633
+ },
2634
+ {
2635
+ stateMutability: 'view',
2636
+ type: 'function',
2637
+ name: 'isApprovedVaultTokenForAsset',
2638
+ inputs: [
2639
+ {
2640
+ name: '_underlyingAsset',
2641
+ type: 'address',
2642
+ },
2643
+ {
2644
+ name: '_vaultToken',
2645
+ type: 'address',
2646
+ },
2647
+ ],
2648
+ outputs: [
2649
+ {
2650
+ name: '',
2651
+ type: 'bool',
2652
+ },
2653
+ ],
2654
+ },
2655
+ {
2656
+ stateMutability: 'view',
2657
+ type: 'function',
2658
+ name: 'canDeposit',
2659
+ inputs: [
2660
+ {
2661
+ name: '_undyVaultAddr',
2662
+ type: 'address',
2663
+ },
2664
+ ],
2665
+ outputs: [
2666
+ {
2667
+ name: '',
2668
+ type: 'bool',
2669
+ },
2670
+ ],
2671
+ },
2672
+ {
2673
+ stateMutability: 'view',
2674
+ type: 'function',
2675
+ name: 'canWithdraw',
2676
+ inputs: [
2677
+ {
2678
+ name: '_undyVaultAddr',
2679
+ type: 'address',
2680
+ },
2681
+ ],
2682
+ outputs: [
2683
+ {
2684
+ name: '',
2685
+ type: 'bool',
2686
+ },
2687
+ ],
2688
+ },
2689
+ {
2690
+ stateMutability: 'view',
2691
+ type: 'function',
2692
+ name: 'maxDepositAmount',
2693
+ inputs: [
2694
+ {
2695
+ name: '_undyVaultAddr',
2696
+ type: 'address',
2697
+ },
2698
+ ],
2699
+ outputs: [
2700
+ {
2701
+ name: '',
2702
+ type: 'uint256',
2703
+ },
2704
+ ],
2705
+ },
2706
+ {
2707
+ stateMutability: 'view',
2708
+ type: 'function',
2709
+ name: 'isVaultOpsFrozen',
2710
+ inputs: [
2711
+ {
2712
+ name: '_undyVaultAddr',
2713
+ type: 'address',
2714
+ },
2715
+ ],
2716
+ outputs: [
2717
+ {
2718
+ name: '',
2719
+ type: 'bool',
2720
+ },
2721
+ ],
2722
+ },
2723
+ {
2724
+ stateMutability: 'view',
2725
+ type: 'function',
2726
+ name: 'redemptionBuffer',
2727
+ inputs: [
2728
+ {
2729
+ name: '_undyVaultAddr',
2730
+ type: 'address',
2731
+ },
2732
+ ],
2733
+ outputs: [
2734
+ {
2735
+ name: '',
2736
+ type: 'uint256',
2737
+ },
2738
+ ],
2739
+ },
2740
+ {
2741
+ stateMutability: 'view',
2742
+ type: 'function',
2743
+ name: 'minYieldWithdrawAmount',
2744
+ inputs: [
2745
+ {
2746
+ name: '_undyVaultAddr',
2747
+ type: 'address',
2748
+ },
2749
+ ],
2750
+ outputs: [
2751
+ {
2752
+ name: '',
2753
+ type: 'uint256',
2754
+ },
2755
+ ],
2756
+ },
2757
+ {
2758
+ stateMutability: 'view',
2759
+ type: 'function',
2760
+ name: 'redemptionConfig',
2761
+ inputs: [
2762
+ {
2763
+ name: '_undyVaultAddr',
2764
+ type: 'address',
2765
+ },
2766
+ ],
2767
+ outputs: [
2768
+ {
2769
+ name: '',
2770
+ type: 'uint256',
2771
+ },
2772
+ {
2773
+ name: '',
2774
+ type: 'uint256',
2775
+ },
2776
+ ],
2777
+ },
2778
+ {
2779
+ stateMutability: 'view',
2780
+ type: 'function',
2781
+ name: 'getPerformanceFee',
2782
+ inputs: [
2783
+ {
2784
+ name: '_undyVaultAddr',
2785
+ type: 'address',
2786
+ },
2787
+ ],
2788
+ outputs: [
2789
+ {
2790
+ name: '',
2791
+ type: 'uint256',
2792
+ },
2793
+ ],
2794
+ },
2795
+ {
2796
+ stateMutability: 'view',
2797
+ type: 'function',
2798
+ name: 'getDefaultTargetVaultToken',
2799
+ inputs: [
2800
+ {
2801
+ name: '_undyVaultAddr',
2802
+ type: 'address',
2803
+ },
2804
+ ],
2805
+ outputs: [
2806
+ {
2807
+ name: '',
2808
+ type: 'address',
2809
+ },
2810
+ ],
2811
+ },
2812
+ {
2813
+ stateMutability: 'view',
2814
+ type: 'function',
2815
+ name: 'shouldAutoDeposit',
2816
+ inputs: [
2817
+ {
2818
+ name: '_undyVaultAddr',
2819
+ type: 'address',
2820
+ },
2821
+ ],
2822
+ outputs: [
2823
+ {
2824
+ name: '',
2825
+ type: 'bool',
2826
+ },
2827
+ ],
2828
+ },
2829
+ {
2830
+ stateMutability: 'view',
2831
+ type: 'function',
2832
+ name: 'shouldEnforceAllowlist',
2833
+ inputs: [
2834
+ {
2835
+ name: '_undyVaultAddr',
2836
+ type: 'address',
2837
+ },
2838
+ ],
2839
+ outputs: [
2840
+ {
2841
+ name: '',
2842
+ type: 'bool',
2843
+ },
2844
+ ],
2845
+ },
2846
+ {
2847
+ stateMutability: 'view',
2848
+ type: 'function',
2849
+ name: 'isUserAllowed',
2850
+ inputs: [
2851
+ {
2852
+ name: '_undyVaultAddr',
2853
+ type: 'address',
2854
+ },
2855
+ {
2856
+ name: '_userAddr',
2857
+ type: 'address',
2858
+ },
2859
+ ],
2860
+ outputs: [
2861
+ {
2862
+ name: '',
2863
+ type: 'bool',
2864
+ },
2865
+ ],
2866
+ },
2867
+ {
2868
+ stateMutability: 'view',
2869
+ type: 'function',
2870
+ name: 'isApprovedVaultTokenByAddr',
2871
+ inputs: [
2872
+ {
2873
+ name: '_undyVaultAddr',
2874
+ type: 'address',
2875
+ },
2876
+ {
2877
+ name: '_vaultToken',
2878
+ type: 'address',
2879
+ },
2880
+ ],
2881
+ outputs: [
2882
+ {
2883
+ name: '',
2884
+ type: 'bool',
2885
+ },
2886
+ ],
2887
+ },
2888
+ {
2889
+ stateMutability: 'view',
2890
+ type: 'function',
2891
+ name: 'checkVaultApprovals',
2892
+ inputs: [
2893
+ {
2894
+ name: '_undyVaultAddr',
2895
+ type: 'address',
2896
+ },
2897
+ {
2898
+ name: '_vaultToken',
2899
+ type: 'address',
2900
+ },
2901
+ ],
2902
+ outputs: [
2903
+ {
2904
+ name: '',
2905
+ type: 'bool',
2906
+ },
2907
+ ],
2908
+ },
2909
+ {
2910
+ stateMutability: 'view',
2911
+ type: 'function',
2912
+ name: 'getVaultConfig',
2913
+ inputs: [
2914
+ {
2915
+ name: '_regId',
2916
+ type: 'uint256',
2917
+ },
2918
+ ],
2919
+ outputs: [
2920
+ {
2921
+ name: '',
2922
+ type: 'tuple',
2923
+ components: [
2924
+ {
2925
+ name: 'canDeposit',
2926
+ type: 'bool',
2927
+ },
2928
+ {
2929
+ name: 'canWithdraw',
2930
+ type: 'bool',
2931
+ },
2932
+ {
2933
+ name: 'maxDepositAmount',
2934
+ type: 'uint256',
2935
+ },
2936
+ {
2937
+ name: 'isVaultOpsFrozen',
2938
+ type: 'bool',
2939
+ },
2940
+ {
2941
+ name: 'redemptionBuffer',
2942
+ type: 'uint256',
2943
+ },
2944
+ {
2945
+ name: 'minYieldWithdrawAmount',
2946
+ type: 'uint256',
2947
+ },
2948
+ {
2949
+ name: 'performanceFee',
2950
+ type: 'uint256',
2951
+ },
2952
+ {
2953
+ name: 'shouldAutoDeposit',
2954
+ type: 'bool',
2955
+ },
2956
+ {
2957
+ name: 'defaultTargetVaultToken',
2958
+ type: 'address',
2959
+ },
2960
+ {
2961
+ name: 'isLeveragedVault',
2962
+ type: 'bool',
2963
+ },
2964
+ {
2965
+ name: 'shouldEnforceAllowlist',
2966
+ type: 'bool',
2967
+ },
2968
+ ],
2969
+ },
2970
+ ],
2971
+ },
2972
+ {
2973
+ stateMutability: 'view',
2974
+ type: 'function',
2975
+ name: 'getVaultConfigByAddr',
2976
+ inputs: [
2977
+ {
2978
+ name: '_undyVaultAddr',
2979
+ type: 'address',
2980
+ },
2981
+ ],
2982
+ outputs: [
2983
+ {
2984
+ name: '',
2985
+ type: 'tuple',
2986
+ components: [
2987
+ {
2988
+ name: 'canDeposit',
2989
+ type: 'bool',
2990
+ },
2991
+ {
2992
+ name: 'canWithdraw',
2993
+ type: 'bool',
2994
+ },
2995
+ {
2996
+ name: 'maxDepositAmount',
2997
+ type: 'uint256',
2998
+ },
2999
+ {
3000
+ name: 'isVaultOpsFrozen',
3001
+ type: 'bool',
3002
+ },
3003
+ {
3004
+ name: 'redemptionBuffer',
3005
+ type: 'uint256',
3006
+ },
3007
+ {
3008
+ name: 'minYieldWithdrawAmount',
3009
+ type: 'uint256',
3010
+ },
3011
+ {
3012
+ name: 'performanceFee',
3013
+ type: 'uint256',
3014
+ },
3015
+ {
3016
+ name: 'shouldAutoDeposit',
3017
+ type: 'bool',
3018
+ },
3019
+ {
3020
+ name: 'defaultTargetVaultToken',
3021
+ type: 'address',
3022
+ },
3023
+ {
3024
+ name: 'isLeveragedVault',
3025
+ type: 'bool',
3026
+ },
3027
+ {
3028
+ name: 'shouldEnforceAllowlist',
3029
+ type: 'bool',
3030
+ },
3031
+ ],
3032
+ },
3033
+ ],
3034
+ },
3035
+ {
3036
+ stateMutability: 'view',
3037
+ type: 'function',
3038
+ name: 'getVaultActionDataBundle',
3039
+ inputs: [
3040
+ {
3041
+ name: '_legoId',
3042
+ type: 'uint256',
3043
+ },
3044
+ {
3045
+ name: '_signer',
3046
+ type: 'address',
3047
+ },
3048
+ ],
3049
+ outputs: [
3050
+ {
3051
+ name: '',
3052
+ type: 'tuple',
3053
+ components: [
3054
+ {
3055
+ name: 'ledger',
3056
+ type: 'address',
3057
+ },
3058
+ {
3059
+ name: 'missionControl',
3060
+ type: 'address',
3061
+ },
3062
+ {
3063
+ name: 'legoBook',
3064
+ type: 'address',
3065
+ },
3066
+ {
3067
+ name: 'appraiser',
3068
+ type: 'address',
3069
+ },
3070
+ {
3071
+ name: 'vaultRegistry',
3072
+ type: 'address',
3073
+ },
3074
+ {
3075
+ name: 'vaultAsset',
3076
+ type: 'address',
3077
+ },
3078
+ {
3079
+ name: 'signer',
3080
+ type: 'address',
3081
+ },
3082
+ {
3083
+ name: 'legoId',
3084
+ type: 'uint256',
3085
+ },
3086
+ {
3087
+ name: 'legoAddr',
3088
+ type: 'address',
3089
+ },
3090
+ ],
3091
+ },
3092
+ ],
3093
+ },
3094
+ {
3095
+ stateMutability: 'view',
3096
+ type: 'function',
3097
+ name: 'getVaultActionDataWithFrozenStatus',
3098
+ inputs: [
3099
+ {
3100
+ name: '_legoId',
3101
+ type: 'uint256',
3102
+ },
3103
+ {
3104
+ name: '_signer',
3105
+ type: 'address',
3106
+ },
3107
+ {
3108
+ name: '_undyVaultAddr',
3109
+ type: 'address',
3110
+ },
3111
+ ],
3112
+ outputs: [
3113
+ {
3114
+ name: '',
3115
+ type: 'tuple',
3116
+ components: [
3117
+ {
3118
+ name: 'ledger',
3119
+ type: 'address',
3120
+ },
3121
+ {
3122
+ name: 'missionControl',
3123
+ type: 'address',
3124
+ },
3125
+ {
3126
+ name: 'legoBook',
3127
+ type: 'address',
3128
+ },
3129
+ {
3130
+ name: 'appraiser',
3131
+ type: 'address',
3132
+ },
3133
+ {
3134
+ name: 'vaultRegistry',
3135
+ type: 'address',
3136
+ },
3137
+ {
3138
+ name: 'vaultAsset',
3139
+ type: 'address',
3140
+ },
3141
+ {
3142
+ name: 'signer',
3143
+ type: 'address',
3144
+ },
3145
+ {
3146
+ name: 'legoId',
3147
+ type: 'uint256',
3148
+ },
3149
+ {
3150
+ name: 'legoAddr',
3151
+ type: 'address',
3152
+ },
3153
+ ],
3154
+ },
3155
+ {
3156
+ name: '',
3157
+ type: 'bool',
3158
+ },
3159
+ ],
3160
+ },
3161
+ {
3162
+ stateMutability: 'view',
3163
+ type: 'function',
3164
+ name: 'getLegoDataFromVaultToken',
3165
+ inputs: [
3166
+ {
3167
+ name: '_vaultToken',
3168
+ type: 'address',
3169
+ },
3170
+ ],
3171
+ outputs: [
3172
+ {
3173
+ name: '',
3174
+ type: 'uint256',
3175
+ },
3176
+ {
3177
+ name: '',
3178
+ type: 'address',
3179
+ },
3180
+ ],
3181
+ },
3182
+ {
3183
+ stateMutability: 'view',
3184
+ type: 'function',
3185
+ name: 'getLegoAddrFromVaultToken',
3186
+ inputs: [
3187
+ {
3188
+ name: '_vaultToken',
3189
+ type: 'address',
3190
+ },
3191
+ ],
3192
+ outputs: [
3193
+ {
3194
+ name: '',
3195
+ type: 'address',
3196
+ },
3197
+ ],
3198
+ },
3199
+ {
3200
+ stateMutability: 'view',
3201
+ type: 'function',
3202
+ name: 'getDepositConfig',
3203
+ inputs: [
3204
+ {
3205
+ name: '_undyVaultAddr',
3206
+ type: 'address',
3207
+ },
3208
+ ],
3209
+ outputs: [
3210
+ {
3211
+ name: '',
3212
+ type: 'bool',
3213
+ },
3214
+ {
3215
+ name: '',
3216
+ type: 'uint256',
3217
+ },
3218
+ {
3219
+ name: '',
3220
+ type: 'bool',
3221
+ },
3222
+ {
3223
+ name: '',
3224
+ type: 'address',
3225
+ },
3226
+ ],
3227
+ },
3228
+ {
3229
+ stateMutability: 'view',
3230
+ type: 'function',
3231
+ name: 'getDepositConfig',
3232
+ inputs: [
3233
+ {
3234
+ name: '_undyVaultAddr',
3235
+ type: 'address',
3236
+ },
3237
+ {
3238
+ name: '_user',
3239
+ type: 'address',
3240
+ },
3241
+ ],
3242
+ outputs: [
3243
+ {
3244
+ name: '',
3245
+ type: 'bool',
3246
+ },
3247
+ {
3248
+ name: '',
3249
+ type: 'uint256',
3250
+ },
3251
+ {
3252
+ name: '',
3253
+ type: 'bool',
3254
+ },
3255
+ {
3256
+ name: '',
3257
+ type: 'address',
3258
+ },
3259
+ ],
3260
+ },
3261
+ {
3262
+ stateMutability: 'view',
3263
+ type: 'function',
3264
+ name: 'canUserDeposit',
3265
+ inputs: [
3266
+ {
3267
+ name: '_undyVaultAddr',
3268
+ type: 'address',
3269
+ },
3270
+ ],
3271
+ outputs: [
3272
+ {
3273
+ name: '',
3274
+ type: 'bool',
3275
+ },
3276
+ ],
3277
+ },
3278
+ {
3279
+ stateMutability: 'view',
3280
+ type: 'function',
3281
+ name: 'canUserDeposit',
3282
+ inputs: [
3283
+ {
3284
+ name: '_undyVaultAddr',
3285
+ type: 'address',
3286
+ },
3287
+ {
3288
+ name: '_user',
3289
+ type: 'address',
3290
+ },
3291
+ ],
3292
+ outputs: [
3293
+ {
3294
+ name: '',
3295
+ type: 'bool',
3296
+ },
3297
+ ],
3298
+ },
3299
+ {
3300
+ stateMutability: 'view',
3301
+ type: 'function',
3302
+ name: 'vaultConfigs',
3303
+ inputs: [
3304
+ {
3305
+ name: 'arg0',
3306
+ type: 'address',
3307
+ },
3308
+ ],
3309
+ outputs: [
3310
+ {
3311
+ name: '',
3312
+ type: 'tuple',
3313
+ components: [
3314
+ {
3315
+ name: 'canDeposit',
3316
+ type: 'bool',
3317
+ },
3318
+ {
3319
+ name: 'canWithdraw',
3320
+ type: 'bool',
3321
+ },
3322
+ {
3323
+ name: 'maxDepositAmount',
3324
+ type: 'uint256',
3325
+ },
3326
+ {
3327
+ name: 'isVaultOpsFrozen',
3328
+ type: 'bool',
3329
+ },
3330
+ {
3331
+ name: 'redemptionBuffer',
3332
+ type: 'uint256',
3333
+ },
3334
+ {
3335
+ name: 'minYieldWithdrawAmount',
3336
+ type: 'uint256',
3337
+ },
3338
+ {
3339
+ name: 'performanceFee',
3340
+ type: 'uint256',
3341
+ },
3342
+ {
3343
+ name: 'shouldAutoDeposit',
3344
+ type: 'bool',
3345
+ },
3346
+ {
3347
+ name: 'defaultTargetVaultToken',
3348
+ type: 'address',
3349
+ },
3350
+ {
3351
+ name: 'isLeveragedVault',
3352
+ type: 'bool',
3353
+ },
3354
+ {
3355
+ name: 'shouldEnforceAllowlist',
3356
+ type: 'bool',
3357
+ },
3358
+ ],
3359
+ },
3360
+ ],
3361
+ },
3362
+ {
3363
+ stateMutability: 'view',
3364
+ type: 'function',
3365
+ name: 'isApprovedVaultToken',
3366
+ inputs: [
3367
+ {
3368
+ name: 'arg0',
3369
+ type: 'address',
3370
+ },
3371
+ {
3372
+ name: 'arg1',
3373
+ type: 'address',
3374
+ },
3375
+ ],
3376
+ outputs: [
3377
+ {
3378
+ name: '',
3379
+ type: 'bool',
3380
+ },
3381
+ ],
3382
+ },
3383
+ {
3384
+ stateMutability: 'view',
3385
+ type: 'function',
3386
+ name: 'approvedVaultTokens',
3387
+ inputs: [
3388
+ {
3389
+ name: 'arg0',
3390
+ type: 'address',
3391
+ },
3392
+ {
3393
+ name: 'arg1',
3394
+ type: 'uint256',
3395
+ },
3396
+ ],
3397
+ outputs: [
3398
+ {
3399
+ name: '',
3400
+ type: 'address',
3401
+ },
3402
+ ],
3403
+ },
3404
+ {
3405
+ stateMutability: 'view',
3406
+ type: 'function',
3407
+ name: 'indexOfApprovedVaultToken',
3408
+ inputs: [
3409
+ {
3410
+ name: 'arg0',
3411
+ type: 'address',
3412
+ },
3413
+ {
3414
+ name: 'arg1',
3415
+ type: 'address',
3416
+ },
3417
+ ],
3418
+ outputs: [
3419
+ {
3420
+ name: '',
3421
+ type: 'uint256',
3422
+ },
3423
+ ],
3424
+ },
3425
+ {
3426
+ stateMutability: 'view',
3427
+ type: 'function',
3428
+ name: 'numApprovedVaultTokens',
3429
+ inputs: [
3430
+ {
3431
+ name: 'arg0',
3432
+ type: 'address',
3433
+ },
3434
+ ],
3435
+ outputs: [
3436
+ {
3437
+ name: '',
3438
+ type: 'uint256',
3439
+ },
3440
+ ],
3441
+ },
3442
+ {
3443
+ stateMutability: 'view',
3444
+ type: 'function',
3445
+ name: 'assetVaultTokens',
3446
+ inputs: [
3447
+ {
3448
+ name: 'arg0',
3449
+ type: 'address',
3450
+ },
3451
+ {
3452
+ name: 'arg1',
3453
+ type: 'uint256',
3454
+ },
3455
+ ],
3456
+ outputs: [
3457
+ {
3458
+ name: '',
3459
+ type: 'address',
3460
+ },
3461
+ ],
3462
+ },
3463
+ {
3464
+ stateMutability: 'view',
3465
+ type: 'function',
3466
+ name: 'indexOfAssetVaultToken',
3467
+ inputs: [
3468
+ {
3469
+ name: 'arg0',
3470
+ type: 'address',
3471
+ },
3472
+ {
3473
+ name: 'arg1',
3474
+ type: 'address',
3475
+ },
3476
+ ],
3477
+ outputs: [
3478
+ {
3479
+ name: '',
3480
+ type: 'uint256',
3481
+ },
3482
+ ],
3483
+ },
3484
+ {
3485
+ stateMutability: 'view',
3486
+ type: 'function',
3487
+ name: 'numAssetVaultTokens',
3488
+ inputs: [
3489
+ {
3490
+ name: 'arg0',
3491
+ type: 'address',
3492
+ },
3493
+ ],
3494
+ outputs: [
3495
+ {
3496
+ name: '',
3497
+ type: 'uint256',
3498
+ },
3499
+ ],
3500
+ },
3501
+ {
3502
+ stateMutability: 'view',
3503
+ type: 'function',
3504
+ name: 'assetVaultTokenRefCount',
3505
+ inputs: [
3506
+ {
3507
+ name: 'arg0',
3508
+ type: 'address',
3509
+ },
3510
+ {
3511
+ name: 'arg1',
3512
+ type: 'address',
3513
+ },
3514
+ ],
3515
+ outputs: [
3516
+ {
3517
+ name: '',
3518
+ type: 'uint256',
3519
+ },
3520
+ ],
3521
+ },
3522
+ {
3523
+ stateMutability: 'view',
3524
+ type: 'function',
3525
+ name: 'isAllowed',
3526
+ inputs: [
3527
+ {
3528
+ name: 'arg0',
3529
+ type: 'address',
3530
+ },
3531
+ {
3532
+ name: 'arg1',
3533
+ type: 'address',
3534
+ },
3535
+ ],
3536
+ outputs: [
3537
+ {
3538
+ name: '',
3539
+ type: 'bool',
3540
+ },
3541
+ ],
3542
+ },
3543
+ {
3544
+ stateMutability: 'nonpayable',
3545
+ type: 'constructor',
3546
+ inputs: [
3547
+ {
3548
+ name: '_undyHq',
3549
+ type: 'address',
3550
+ },
3551
+ {
3552
+ name: '_tempGov',
3553
+ type: 'address',
3554
+ },
3555
+ {
3556
+ name: '_minRegistryTimeLock',
3557
+ type: 'uint256',
3558
+ },
3559
+ {
3560
+ name: '_maxRegistryTimeLock',
3561
+ type: 'uint256',
3562
+ },
3563
+ ],
3564
+ outputs: [],
3565
+ },
3566
+ ];
3567
+ export const deployAddress = '0x1C17ef5Ef2AefcEE958E7e3dC345e96aBfF4e3Cf';
3568
+ function getRequest(method, args, contractAddressOrOptions) {
3569
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
3570
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
3571
+ const call = {
3572
+ contractName: 'VaultRegistry',
3573
+ method,
3574
+ args,
3575
+ address,
3576
+ deployAddress,
3577
+ defaultValue,
3578
+ getAbi: () => abi,
3579
+ with: (options) => {
3580
+ call.address = options.contractAddress;
3581
+ call.defaultValue = options.defaultValue;
3582
+ return call;
3583
+ },
3584
+ defaultTo: (defaultValue) => {
3585
+ call.defaultValue = defaultValue;
3586
+ return call;
3587
+ },
3588
+ at: (address) => {
3589
+ call.address = address;
3590
+ return call;
3591
+ },
3592
+ };
3593
+ return call;
3594
+ }
3595
+ export const call = {
3596
+ getUndyHqFromGov: (...args) => getRequest('getUndyHqFromGov', args),
3597
+ canGovern: (...args) => getRequest('canGovern', args),
3598
+ getGovernors: (...args) => getRequest('getGovernors', args),
3599
+ hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
3600
+ isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
3601
+ minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
3602
+ maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
3603
+ governance: (...args) => getRequest('governance', args),
3604
+ pendingGov: (...args) => getRequest('pendingGov', args),
3605
+ numGovChanges: (...args) => getRequest('numGovChanges', args),
3606
+ govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
3607
+ getRegistryDescription: (...args) => getRequest('getRegistryDescription', args),
3608
+ isValidNewAddress: (...args) => getRequest('isValidNewAddress', args),
3609
+ isValidAddressUpdate: (...args) => getRequest('isValidAddressUpdate', args),
3610
+ isValidAddressDisable: (...args) => getRequest('isValidAddressDisable', args),
3611
+ isValidRegistryTimeLock: (...args) => getRequest('isValidRegistryTimeLock', args),
3612
+ minRegistryTimeLock: (...args) => getRequest('minRegistryTimeLock', args),
3613
+ maxRegistryTimeLock: (...args) => getRequest('maxRegistryTimeLock', args),
3614
+ isValidAddr: (...args) => getRequest('isValidAddr', args),
3615
+ isValidRegId: (...args) => getRequest('isValidRegId', args),
3616
+ getRegId: (...args) => getRequest('getRegId', args),
3617
+ getAddr: (...args) => getRequest('getAddr', args),
3618
+ getAddrInfo: (...args) => getRequest('getAddrInfo', args),
3619
+ getAddrDescription: (...args) => getRequest('getAddrDescription', args),
3620
+ getNumAddrs: (...args) => getRequest('getNumAddrs', args),
3621
+ getLastAddr: (...args) => getRequest('getLastAddr', args),
3622
+ getLastRegId: (...args) => getRequest('getLastRegId', args),
3623
+ registryChangeTimeLock: (...args) => getRequest('registryChangeTimeLock', args),
3624
+ addrInfo: (...args) => getRequest('addrInfo', args),
3625
+ addrToRegId: (...args) => getRequest('addrToRegId', args),
3626
+ numAddrs: (...args) => getRequest('numAddrs', args),
3627
+ pendingNewAddr: (...args) => getRequest('pendingNewAddr', args),
3628
+ pendingAddrUpdate: (...args) => getRequest('pendingAddrUpdate', args),
3629
+ pendingAddrDisable: (...args) => getRequest('pendingAddrDisable', args),
3630
+ getAddys: (...args) => getRequest('getAddys', args),
3631
+ getUndyHq: (...args) => getRequest('getUndyHq', args),
3632
+ canMintUndy: (...args) => getRequest('canMintUndy', args),
3633
+ isPaused: (...args) => getRequest('isPaused', args),
3634
+ isEarnVault: (...args) => getRequest('isEarnVault', args),
3635
+ isLeveragedVault: (...args) => getRequest('isLeveragedVault', args),
3636
+ isBasicEarnVault: (...args) => getRequest('isBasicEarnVault', args),
3637
+ hasConfig: (...args) => getRequest('hasConfig', args),
3638
+ isValidDefaultTargetVaultToken: (...args) => getRequest('isValidDefaultTargetVaultToken', args),
3639
+ isValidPerformanceFee: (...args) => getRequest('isValidPerformanceFee', args),
3640
+ isValidRedemptionBuffer: (...args) => getRequest('isValidRedemptionBuffer', args),
3641
+ getApprovedVaultTokens: (...args) => getRequest('getApprovedVaultTokens', args),
3642
+ getAssetVaultTokens: (...args) => getRequest('getAssetVaultTokens', args),
3643
+ getNumApprovedVaultTokens: (...args) => getRequest('getNumApprovedVaultTokens', args),
3644
+ getNumAssetVaultTokens: (...args) => getRequest('getNumAssetVaultTokens', args),
3645
+ isApprovedVaultTokenForAsset: (...args) => getRequest('isApprovedVaultTokenForAsset', args),
3646
+ canDeposit: (...args) => getRequest('canDeposit', args),
3647
+ canWithdraw: (...args) => getRequest('canWithdraw', args),
3648
+ maxDepositAmount: (...args) => getRequest('maxDepositAmount', args),
3649
+ isVaultOpsFrozen: (...args) => getRequest('isVaultOpsFrozen', args),
3650
+ redemptionBuffer: (...args) => getRequest('redemptionBuffer', args),
3651
+ minYieldWithdrawAmount: (...args) => getRequest('minYieldWithdrawAmount', args),
3652
+ redemptionConfig: (...args) => getRequest('redemptionConfig', args),
3653
+ getPerformanceFee: (...args) => getRequest('getPerformanceFee', args),
3654
+ getDefaultTargetVaultToken: (...args) => getRequest('getDefaultTargetVaultToken', args),
3655
+ shouldAutoDeposit: (...args) => getRequest('shouldAutoDeposit', args),
3656
+ shouldEnforceAllowlist: (...args) => getRequest('shouldEnforceAllowlist', args),
3657
+ isUserAllowed: (...args) => getRequest('isUserAllowed', args),
3658
+ isApprovedVaultTokenByAddr: (...args) => getRequest('isApprovedVaultTokenByAddr', args),
3659
+ checkVaultApprovals: (...args) => getRequest('checkVaultApprovals', args),
3660
+ getVaultConfig: (...args) => getRequest('getVaultConfig', args),
3661
+ getVaultConfigByAddr: (...args) => getRequest('getVaultConfigByAddr', args),
3662
+ getVaultActionDataBundle: (...args) => getRequest('getVaultActionDataBundle', args),
3663
+ getVaultActionDataWithFrozenStatus: (...args) => getRequest('getVaultActionDataWithFrozenStatus', args),
3664
+ getLegoDataFromVaultToken: (...args) => getRequest('getLegoDataFromVaultToken', args),
3665
+ getLegoAddrFromVaultToken: (...args) => getRequest('getLegoAddrFromVaultToken', args),
3666
+ getDepositConfig: (...args) => getRequest('getDepositConfig', args),
3667
+ canUserDeposit: (...args) => getRequest('canUserDeposit', args),
3668
+ vaultConfigs: (...args) => getRequest('vaultConfigs', args),
3669
+ isApprovedVaultToken: (...args) => getRequest('isApprovedVaultToken', args),
3670
+ approvedVaultTokens: (...args) => getRequest('approvedVaultTokens', args),
3671
+ indexOfApprovedVaultToken: (...args) => getRequest('indexOfApprovedVaultToken', args),
3672
+ numApprovedVaultTokens: (...args) => getRequest('numApprovedVaultTokens', args),
3673
+ assetVaultTokens: (...args) => getRequest('assetVaultTokens', args),
3674
+ indexOfAssetVaultToken: (...args) => getRequest('indexOfAssetVaultToken', args),
3675
+ numAssetVaultTokens: (...args) => getRequest('numAssetVaultTokens', args),
3676
+ assetVaultTokenRefCount: (...args) => getRequest('assetVaultTokenRefCount', args),
3677
+ isAllowed: (...args) => getRequest('isAllowed', args),
3678
+ };
3679
+ function getMutation(functionName) {
3680
+ return {
3681
+ contractName: 'VaultRegistry',
3682
+ functionName,
3683
+ deployAddress,
3684
+ argsType: undefined,
3685
+ getAbi: () => abi,
3686
+ };
3687
+ }
3688
+ export const mutation = {
3689
+ startGovernanceChange: getMutation('startGovernanceChange'),
3690
+ confirmGovernanceChange: getMutation('confirmGovernanceChange'),
3691
+ cancelGovernanceChange: getMutation('cancelGovernanceChange'),
3692
+ relinquishGov: getMutation('relinquishGov'),
3693
+ setGovTimeLock: getMutation('setGovTimeLock'),
3694
+ finishUndyHqSetup: getMutation('finishUndyHqSetup'),
3695
+ setRegistryTimeLock: getMutation('setRegistryTimeLock'),
3696
+ setRegistryTimeLockAfterSetup: getMutation('setRegistryTimeLockAfterSetup'),
3697
+ pause: getMutation('pause'),
3698
+ recoverFunds: getMutation('recoverFunds'),
3699
+ recoverFundsMany: getMutation('recoverFundsMany'),
3700
+ startAddNewAddressToRegistry: getMutation('startAddNewAddressToRegistry'),
3701
+ confirmNewAddressToRegistry: getMutation('confirmNewAddressToRegistry'),
3702
+ cancelNewAddressToRegistry: getMutation('cancelNewAddressToRegistry'),
3703
+ startAddressDisableInRegistry: getMutation('startAddressDisableInRegistry'),
3704
+ confirmAddressDisableInRegistry: getMutation('confirmAddressDisableInRegistry'),
3705
+ cancelAddressDisableInRegistry: getMutation('cancelAddressDisableInRegistry'),
3706
+ setCanDeposit: getMutation('setCanDeposit'),
3707
+ setCanWithdraw: getMutation('setCanWithdraw'),
3708
+ setMaxDepositAmount: getMutation('setMaxDepositAmount'),
3709
+ setVaultOpsFrozen: getMutation('setVaultOpsFrozen'),
3710
+ setShouldAutoDeposit: getMutation('setShouldAutoDeposit'),
3711
+ setMinYieldWithdrawAmount: getMutation('setMinYieldWithdrawAmount'),
3712
+ setIsLeveragedVault: getMutation('setIsLeveragedVault'),
3713
+ setShouldEnforceAllowlist: getMutation('setShouldEnforceAllowlist'),
3714
+ setAllowed: getMutation('setAllowed'),
3715
+ setAllowedBatch: getMutation('setAllowedBatch'),
3716
+ setDefaultTargetVaultToken: getMutation('setDefaultTargetVaultToken'),
3717
+ setPerformanceFee: getMutation('setPerformanceFee'),
3718
+ setRedemptionBuffer: getMutation('setRedemptionBuffer'),
3719
+ setApprovedVaultToken: getMutation('setApprovedVaultToken'),
3720
+ setApprovedVaultTokens: getMutation('setApprovedVaultTokens'),
3721
+ };
3722
+ export function toSdk(publicClient, walletClient) {
3723
+ return {
3724
+ deployAddress,
3725
+ abi,
3726
+ // Queries
3727
+ getUndyHqFromGov: (...args) => singleQuery(publicClient, call.getUndyHqFromGov(...args)),
3728
+ canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
3729
+ getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
3730
+ hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
3731
+ isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
3732
+ minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
3733
+ maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
3734
+ governance: (...args) => singleQuery(publicClient, call.governance(...args)),
3735
+ pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
3736
+ numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
3737
+ govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
3738
+ getRegistryDescription: (...args) => singleQuery(publicClient, call.getRegistryDescription(...args)),
3739
+ isValidNewAddress: (...args) => singleQuery(publicClient, call.isValidNewAddress(...args)),
3740
+ isValidAddressUpdate: (...args) => singleQuery(publicClient, call.isValidAddressUpdate(...args)),
3741
+ isValidAddressDisable: (...args) => singleQuery(publicClient, call.isValidAddressDisable(...args)),
3742
+ isValidRegistryTimeLock: (...args) => singleQuery(publicClient, call.isValidRegistryTimeLock(...args)),
3743
+ minRegistryTimeLock: (...args) => singleQuery(publicClient, call.minRegistryTimeLock(...args)),
3744
+ maxRegistryTimeLock: (...args) => singleQuery(publicClient, call.maxRegistryTimeLock(...args)),
3745
+ isValidAddr: (...args) => singleQuery(publicClient, call.isValidAddr(...args)),
3746
+ isValidRegId: (...args) => singleQuery(publicClient, call.isValidRegId(...args)),
3747
+ getRegId: (...args) => singleQuery(publicClient, call.getRegId(...args)),
3748
+ getAddr: (...args) => singleQuery(publicClient, call.getAddr(...args)),
3749
+ getAddrInfo: (...args) => singleQuery(publicClient, call.getAddrInfo(...args)),
3750
+ getAddrDescription: (...args) => singleQuery(publicClient, call.getAddrDescription(...args)),
3751
+ getNumAddrs: (...args) => singleQuery(publicClient, call.getNumAddrs(...args)),
3752
+ getLastAddr: (...args) => singleQuery(publicClient, call.getLastAddr(...args)),
3753
+ getLastRegId: (...args) => singleQuery(publicClient, call.getLastRegId(...args)),
3754
+ registryChangeTimeLock: (...args) => singleQuery(publicClient, call.registryChangeTimeLock(...args)),
3755
+ addrInfo: (...args) => singleQuery(publicClient, call.addrInfo(...args)),
3756
+ addrToRegId: (...args) => singleQuery(publicClient, call.addrToRegId(...args)),
3757
+ numAddrs: (...args) => singleQuery(publicClient, call.numAddrs(...args)),
3758
+ pendingNewAddr: (...args) => singleQuery(publicClient, call.pendingNewAddr(...args)),
3759
+ pendingAddrUpdate: (...args) => singleQuery(publicClient, call.pendingAddrUpdate(...args)),
3760
+ pendingAddrDisable: (...args) => singleQuery(publicClient, call.pendingAddrDisable(...args)),
3761
+ getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args)),
3762
+ getUndyHq: (...args) => singleQuery(publicClient, call.getUndyHq(...args)),
3763
+ canMintUndy: (...args) => singleQuery(publicClient, call.canMintUndy(...args)),
3764
+ isPaused: (...args) => singleQuery(publicClient, call.isPaused(...args)),
3765
+ isEarnVault: (...args) => singleQuery(publicClient, call.isEarnVault(...args)),
3766
+ isLeveragedVault: (...args) => singleQuery(publicClient, call.isLeveragedVault(...args)),
3767
+ isBasicEarnVault: (...args) => singleQuery(publicClient, call.isBasicEarnVault(...args)),
3768
+ hasConfig: (...args) => singleQuery(publicClient, call.hasConfig(...args)),
3769
+ isValidDefaultTargetVaultToken: (...args) => singleQuery(publicClient, call.isValidDefaultTargetVaultToken(...args)),
3770
+ isValidPerformanceFee: (...args) => singleQuery(publicClient, call.isValidPerformanceFee(...args)),
3771
+ isValidRedemptionBuffer: (...args) => singleQuery(publicClient, call.isValidRedemptionBuffer(...args)),
3772
+ getApprovedVaultTokens: (...args) => singleQuery(publicClient, call.getApprovedVaultTokens(...args)),
3773
+ getAssetVaultTokens: (...args) => singleQuery(publicClient, call.getAssetVaultTokens(...args)),
3774
+ getNumApprovedVaultTokens: (...args) => singleQuery(publicClient, call.getNumApprovedVaultTokens(...args)),
3775
+ getNumAssetVaultTokens: (...args) => singleQuery(publicClient, call.getNumAssetVaultTokens(...args)),
3776
+ isApprovedVaultTokenForAsset: (...args) => singleQuery(publicClient, call.isApprovedVaultTokenForAsset(...args)),
3777
+ canDeposit: (...args) => singleQuery(publicClient, call.canDeposit(...args)),
3778
+ canWithdraw: (...args) => singleQuery(publicClient, call.canWithdraw(...args)),
3779
+ maxDepositAmount: (...args) => singleQuery(publicClient, call.maxDepositAmount(...args)),
3780
+ isVaultOpsFrozen: (...args) => singleQuery(publicClient, call.isVaultOpsFrozen(...args)),
3781
+ redemptionBuffer: (...args) => singleQuery(publicClient, call.redemptionBuffer(...args)),
3782
+ minYieldWithdrawAmount: (...args) => singleQuery(publicClient, call.minYieldWithdrawAmount(...args)),
3783
+ redemptionConfig: (...args) => singleQuery(publicClient, call.redemptionConfig(...args)),
3784
+ getPerformanceFee: (...args) => singleQuery(publicClient, call.getPerformanceFee(...args)),
3785
+ getDefaultTargetVaultToken: (...args) => singleQuery(publicClient, call.getDefaultTargetVaultToken(...args)),
3786
+ shouldAutoDeposit: (...args) => singleQuery(publicClient, call.shouldAutoDeposit(...args)),
3787
+ shouldEnforceAllowlist: (...args) => singleQuery(publicClient, call.shouldEnforceAllowlist(...args)),
3788
+ isUserAllowed: (...args) => singleQuery(publicClient, call.isUserAllowed(...args)),
3789
+ isApprovedVaultTokenByAddr: (...args) => singleQuery(publicClient, call.isApprovedVaultTokenByAddr(...args)),
3790
+ checkVaultApprovals: (...args) => singleQuery(publicClient, call.checkVaultApprovals(...args)),
3791
+ getVaultConfig: (...args) => singleQuery(publicClient, call.getVaultConfig(...args)),
3792
+ getVaultConfigByAddr: (...args) => singleQuery(publicClient, call.getVaultConfigByAddr(...args)),
3793
+ getVaultActionDataBundle: (...args) => singleQuery(publicClient, call.getVaultActionDataBundle(...args)),
3794
+ getVaultActionDataWithFrozenStatus: (...args) => singleQuery(publicClient, call.getVaultActionDataWithFrozenStatus(...args)),
3795
+ getLegoDataFromVaultToken: (...args) => singleQuery(publicClient, call.getLegoDataFromVaultToken(...args)),
3796
+ getLegoAddrFromVaultToken: (...args) => singleQuery(publicClient, call.getLegoAddrFromVaultToken(...args)),
3797
+ getDepositConfig: (...args) => singleQuery(publicClient, call.getDepositConfig(...args)),
3798
+ canUserDeposit: (...args) => singleQuery(publicClient, call.canUserDeposit(...args)),
3799
+ vaultConfigs: (...args) => singleQuery(publicClient, call.vaultConfigs(...args)),
3800
+ isApprovedVaultToken: (...args) => singleQuery(publicClient, call.isApprovedVaultToken(...args)),
3801
+ approvedVaultTokens: (...args) => singleQuery(publicClient, call.approvedVaultTokens(...args)),
3802
+ indexOfApprovedVaultToken: (...args) => singleQuery(publicClient, call.indexOfApprovedVaultToken(...args)),
3803
+ numApprovedVaultTokens: (...args) => singleQuery(publicClient, call.numApprovedVaultTokens(...args)),
3804
+ assetVaultTokens: (...args) => singleQuery(publicClient, call.assetVaultTokens(...args)),
3805
+ indexOfAssetVaultToken: (...args) => singleQuery(publicClient, call.indexOfAssetVaultToken(...args)),
3806
+ numAssetVaultTokens: (...args) => singleQuery(publicClient, call.numAssetVaultTokens(...args)),
3807
+ assetVaultTokenRefCount: (...args) => singleQuery(publicClient, call.assetVaultTokenRefCount(...args)),
3808
+ isAllowed: (...args) => singleQuery(publicClient, call.isAllowed(...args)),
3809
+ // Mutations
3810
+ startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
3811
+ confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
3812
+ cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
3813
+ relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov)(...args),
3814
+ setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
3815
+ finishUndyHqSetup: (...args) => mutate(walletClient, mutation.finishUndyHqSetup)(...args),
3816
+ setRegistryTimeLock: (...args) => mutate(walletClient, mutation.setRegistryTimeLock)(...args),
3817
+ setRegistryTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setRegistryTimeLockAfterSetup)(...args),
3818
+ pause: (...args) => mutate(walletClient, mutation.pause)(...args),
3819
+ recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds)(...args),
3820
+ recoverFundsMany: (...args) => mutate(walletClient, mutation.recoverFundsMany)(...args),
3821
+ startAddNewAddressToRegistry: (...args) => mutate(walletClient, mutation.startAddNewAddressToRegistry)(...args),
3822
+ confirmNewAddressToRegistry: (...args) => mutate(walletClient, mutation.confirmNewAddressToRegistry)(...args),
3823
+ cancelNewAddressToRegistry: (...args) => mutate(walletClient, mutation.cancelNewAddressToRegistry)(...args),
3824
+ startAddressDisableInRegistry: (...args) => mutate(walletClient, mutation.startAddressDisableInRegistry)(...args),
3825
+ confirmAddressDisableInRegistry: (...args) => mutate(walletClient, mutation.confirmAddressDisableInRegistry)(...args),
3826
+ cancelAddressDisableInRegistry: (...args) => mutate(walletClient, mutation.cancelAddressDisableInRegistry)(...args),
3827
+ setCanDeposit: (...args) => mutate(walletClient, mutation.setCanDeposit)(...args),
3828
+ setCanWithdraw: (...args) => mutate(walletClient, mutation.setCanWithdraw)(...args),
3829
+ setMaxDepositAmount: (...args) => mutate(walletClient, mutation.setMaxDepositAmount)(...args),
3830
+ setVaultOpsFrozen: (...args) => mutate(walletClient, mutation.setVaultOpsFrozen)(...args),
3831
+ setShouldAutoDeposit: (...args) => mutate(walletClient, mutation.setShouldAutoDeposit)(...args),
3832
+ setMinYieldWithdrawAmount: (...args) => mutate(walletClient, mutation.setMinYieldWithdrawAmount)(...args),
3833
+ setIsLeveragedVault: (...args) => mutate(walletClient, mutation.setIsLeveragedVault)(...args),
3834
+ setShouldEnforceAllowlist: (...args) => mutate(walletClient, mutation.setShouldEnforceAllowlist)(...args),
3835
+ setAllowed: (...args) => mutate(walletClient, mutation.setAllowed)(...args),
3836
+ setAllowedBatch: (...args) => mutate(walletClient, mutation.setAllowedBatch)(...args),
3837
+ setDefaultTargetVaultToken: (...args) => mutate(walletClient, mutation.setDefaultTargetVaultToken)(...args),
3838
+ setPerformanceFee: (...args) => mutate(walletClient, mutation.setPerformanceFee)(...args),
3839
+ setRedemptionBuffer: (...args) => mutate(walletClient, mutation.setRedemptionBuffer)(...args),
3840
+ setApprovedVaultToken: (...args) => mutate(walletClient, mutation.setApprovedVaultToken)(...args),
3841
+ setApprovedVaultTokens: (...args) => mutate(walletClient, mutation.setApprovedVaultTokens)(...args),
3842
+ };
3843
+ }