@underscore-finance/sdk 1.0.12 → 1.1.2

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 (307) hide show
  1. package/dist/contracts/AaveV3.d.ts +603 -279
  2. package/dist/contracts/AaveV3.d.ts.map +1 -1
  3. package/dist/contracts/AaveV3.js +718 -331
  4. package/dist/contracts/AeroClassic.d.ts +4 -17
  5. package/dist/contracts/AeroClassic.d.ts.map +1 -1
  6. package/dist/contracts/AeroClassic.js +5 -24
  7. package/dist/contracts/AeroSlipstream.d.ts +4 -17
  8. package/dist/contracts/AeroSlipstream.d.ts.map +1 -1
  9. package/dist/contracts/AeroSlipstream.js +5 -24
  10. package/dist/contracts/Appraiser.d.ts +4 -0
  11. package/dist/contracts/Appraiser.d.ts.map +1 -1
  12. package/dist/contracts/Appraiser.js +5 -1
  13. package/dist/contracts/CompoundV3.d.ts +556 -246
  14. package/dist/contracts/CompoundV3.d.ts.map +1 -1
  15. package/dist/contracts/CompoundV3.js +695 -327
  16. package/dist/contracts/Curve.d.ts +4 -17
  17. package/dist/contracts/Curve.d.ts.map +1 -1
  18. package/dist/contracts/Curve.js +5 -24
  19. package/dist/contracts/Euler.d.ts +581 -253
  20. package/dist/contracts/Euler.d.ts.map +1 -1
  21. package/dist/contracts/Euler.js +714 -324
  22. package/dist/contracts/Fluid.d.ts +644 -302
  23. package/dist/contracts/Fluid.d.ts.map +1 -1
  24. package/dist/contracts/Fluid.js +743 -334
  25. package/dist/contracts/{Agent_v1.d.ts → FortyAcres.d.ts} +1516 -1699
  26. package/dist/contracts/FortyAcres.d.ts.map +1 -0
  27. package/dist/contracts/{AgentTemplate.js → FortyAcres.js} +1681 -1946
  28. package/dist/contracts/LegoBook.d.ts +7 -0
  29. package/dist/contracts/LegoBook.d.ts.map +1 -1
  30. package/dist/contracts/LegoBook.js +9 -1
  31. package/dist/contracts/LegoTools.d.ts +4 -0
  32. package/dist/contracts/LegoTools.d.ts.map +1 -1
  33. package/dist/contracts/LegoTools.js +5 -1
  34. package/dist/contracts/Moonwell.d.ts +582 -254
  35. package/dist/contracts/Moonwell.d.ts.map +1 -1
  36. package/dist/contracts/Moonwell.js +705 -315
  37. package/dist/contracts/Morpho.d.ts +580 -252
  38. package/dist/contracts/Morpho.d.ts.map +1 -1
  39. package/dist/contracts/Morpho.js +723 -333
  40. package/dist/contracts/RipeLego.d.ts +719 -363
  41. package/dist/contracts/RipeLego.d.ts.map +1 -1
  42. package/dist/contracts/RipeLego.js +839 -413
  43. package/dist/contracts/SignatureHelperV1.d.ts +229 -229
  44. package/dist/contracts/SignatureHelperV1.js +333 -333
  45. package/dist/contracts/SwitchboardCharlie.d.ts +1470 -0
  46. package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -0
  47. package/dist/contracts/{v0_3_OracleRegistry.js → SwitchboardCharlie.js} +954 -691
  48. package/dist/contracts/{v0_1_Agent.d.ts → UnderscoreLego.d.ts} +1469 -1663
  49. package/dist/contracts/UnderscoreLego.d.ts.map +1 -0
  50. package/dist/contracts/{Agent_v1.js → UnderscoreLego.js} +1601 -1882
  51. package/dist/contracts/UndyBtc.d.ts +1487 -0
  52. package/dist/contracts/UndyBtc.d.ts.map +1 -0
  53. package/dist/contracts/{LegoUniswapV3.js → UndyBtc.js} +991 -754
  54. package/dist/contracts/UndyEth.d.ts +1487 -0
  55. package/dist/contracts/UndyEth.d.ts.map +1 -0
  56. package/dist/contracts/{v0_3_LegoUniswapV3.js → UndyEth.js} +991 -754
  57. package/dist/contracts/UndyRewardsLego.d.ts +3 -0
  58. package/dist/contracts/UndyRewardsLego.d.ts.map +1 -1
  59. package/dist/contracts/UndyRewardsLego.js +5 -1
  60. package/dist/contracts/UndyUsd.d.ts +1487 -0
  61. package/dist/contracts/UndyUsd.d.ts.map +1 -0
  62. package/dist/contracts/{LegoAeroSlipstream.js → UndyUsd.js} +1009 -725
  63. package/dist/contracts/UniswapV2.d.ts +4 -17
  64. package/dist/contracts/UniswapV2.d.ts.map +1 -1
  65. package/dist/contracts/UniswapV2.js +5 -24
  66. package/dist/contracts/UniswapV3.d.ts +4 -17
  67. package/dist/contracts/UniswapV3.d.ts.map +1 -1
  68. package/dist/contracts/UniswapV3.js +5 -24
  69. package/dist/contracts/VaultRegistry.d.ts +2265 -0
  70. package/dist/contracts/VaultRegistry.d.ts.map +1 -0
  71. package/dist/contracts/VaultRegistry.js +2848 -0
  72. package/dist/contracts/index.d.ts +7 -0
  73. package/dist/contracts/index.d.ts.map +1 -1
  74. package/dist/contracts/index.js +7 -0
  75. package/dist/contracts/sdk.d.ts +14 -0
  76. package/dist/contracts/sdk.d.ts.map +1 -1
  77. package/dist/contracts/sdk.js +14 -0
  78. package/package.json +1 -1
  79. package/dist/contracts/AddyRegistry.d.ts +0 -1109
  80. package/dist/contracts/AddyRegistry.d.ts.map +0 -1
  81. package/dist/contracts/AddyRegistry.js +0 -1392
  82. package/dist/contracts/AddyRegistry_v1.d.ts +0 -473
  83. package/dist/contracts/AddyRegistry_v1.d.ts.map +0 -1
  84. package/dist/contracts/AddyRegistry_v1.js +0 -594
  85. package/dist/contracts/AddyRegistry_v2.d.ts +0 -1050
  86. package/dist/contracts/AddyRegistry_v2.d.ts.map +0 -1
  87. package/dist/contracts/AddyRegistry_v2.js +0 -1313
  88. package/dist/contracts/AgentFactory.d.ts +0 -1665
  89. package/dist/contracts/AgentFactory.d.ts.map +0 -1
  90. package/dist/contracts/AgentFactory.js +0 -2078
  91. package/dist/contracts/AgentFactory_v1.d.ts +0 -1054
  92. package/dist/contracts/AgentFactory_v1.d.ts.map +0 -1
  93. package/dist/contracts/AgentFactory_v1.js +0 -1336
  94. package/dist/contracts/AgentFactory_v2.d.ts +0 -1275
  95. package/dist/contracts/AgentFactory_v2.d.ts.map +0 -1
  96. package/dist/contracts/AgentFactory_v2.js +0 -1609
  97. package/dist/contracts/AgentTemplate.d.ts +0 -2629
  98. package/dist/contracts/AgentTemplate.d.ts.map +0 -1
  99. package/dist/contracts/Agent_v1.d.ts.map +0 -1
  100. package/dist/contracts/Agent_v2.d.ts +0 -2709
  101. package/dist/contracts/Agent_v2.d.ts.map +0 -1
  102. package/dist/contracts/Agent_v2.js +0 -3458
  103. package/dist/contracts/ChainlinkFeeds.d.ts +0 -706
  104. package/dist/contracts/ChainlinkFeeds.d.ts.map +0 -1
  105. package/dist/contracts/ChainlinkFeeds.js +0 -900
  106. package/dist/contracts/LegoAaveV3.d.ts +0 -1033
  107. package/dist/contracts/LegoAaveV3.d.ts.map +0 -1
  108. package/dist/contracts/LegoAaveV3.js +0 -1330
  109. package/dist/contracts/LegoAeroClassic.d.ts +0 -1204
  110. package/dist/contracts/LegoAeroClassic.d.ts.map +0 -1
  111. package/dist/contracts/LegoAeroClassic.js +0 -1546
  112. package/dist/contracts/LegoAeroSlipstream.d.ts +0 -1300
  113. package/dist/contracts/LegoAeroSlipstream.d.ts.map +0 -1
  114. package/dist/contracts/LegoCommon.d.ts +0 -164
  115. package/dist/contracts/LegoCommon.d.ts.map +0 -1
  116. package/dist/contracts/LegoCommon.js +0 -202
  117. package/dist/contracts/LegoCompoundV3.d.ts +0 -1060
  118. package/dist/contracts/LegoCompoundV3.d.ts.map +0 -1
  119. package/dist/contracts/LegoCompoundV3.js +0 -1365
  120. package/dist/contracts/LegoCredit.d.ts +0 -140
  121. package/dist/contracts/LegoCredit.d.ts.map +0 -1
  122. package/dist/contracts/LegoCredit.js +0 -179
  123. package/dist/contracts/LegoCurve.d.ts +0 -1189
  124. package/dist/contracts/LegoCurve.d.ts.map +0 -1
  125. package/dist/contracts/LegoCurve.js +0 -1519
  126. package/dist/contracts/LegoDex.d.ts +0 -587
  127. package/dist/contracts/LegoDex.d.ts.map +0 -1
  128. package/dist/contracts/LegoDex.js +0 -774
  129. package/dist/contracts/LegoEuler.d.ts +0 -1074
  130. package/dist/contracts/LegoEuler.d.ts.map +0 -1
  131. package/dist/contracts/LegoEuler.js +0 -1383
  132. package/dist/contracts/LegoFluid.d.ts +0 -1025
  133. package/dist/contracts/LegoFluid.d.ts.map +0 -1
  134. package/dist/contracts/LegoFluid.js +0 -1320
  135. package/dist/contracts/LegoHelper.d.ts +0 -1563
  136. package/dist/contracts/LegoHelper.d.ts.map +0 -1
  137. package/dist/contracts/LegoHelper.js +0 -1947
  138. package/dist/contracts/LegoMoonwell.d.ts +0 -1042
  139. package/dist/contracts/LegoMoonwell.d.ts.map +0 -1
  140. package/dist/contracts/LegoMoonwell.js +0 -1342
  141. package/dist/contracts/LegoMorpho.d.ts +0 -1074
  142. package/dist/contracts/LegoMorpho.d.ts.map +0 -1
  143. package/dist/contracts/LegoMorpho.js +0 -1383
  144. package/dist/contracts/LegoRegistry.d.ts +0 -1079
  145. package/dist/contracts/LegoRegistry.d.ts.map +0 -1
  146. package/dist/contracts/LegoRegistry.js +0 -1368
  147. package/dist/contracts/LegoSky.d.ts +0 -923
  148. package/dist/contracts/LegoSky.d.ts.map +0 -1
  149. package/dist/contracts/LegoSky.js +0 -1180
  150. package/dist/contracts/LegoUniswapV0_2.d.ts +0 -1204
  151. package/dist/contracts/LegoUniswapV0_2.d.ts.map +0 -1
  152. package/dist/contracts/LegoUniswapV0_2.js +0 -1546
  153. package/dist/contracts/LegoUniswapV2.d.ts +0 -1204
  154. package/dist/contracts/LegoUniswapV2.d.ts.map +0 -1
  155. package/dist/contracts/LegoUniswapV2.js +0 -1546
  156. package/dist/contracts/LegoUniswapV3.d.ts +0 -1338
  157. package/dist/contracts/LegoUniswapV3.d.ts.map +0 -1
  158. package/dist/contracts/LegoYield.d.ts +0 -390
  159. package/dist/contracts/LegoYield.d.ts.map +0 -1
  160. package/dist/contracts/LegoYield.js +0 -511
  161. package/dist/contracts/OracleParser.d.ts +0 -207
  162. package/dist/contracts/OracleParser.d.ts.map +0 -1
  163. package/dist/contracts/OracleParser.js +0 -264
  164. package/dist/contracts/OracleRegistry.d.ts +0 -1221
  165. package/dist/contracts/OracleRegistry.d.ts.map +0 -1
  166. package/dist/contracts/OracleRegistry.js +0 -1562
  167. package/dist/contracts/PriceSheets.d.ts +0 -1127
  168. package/dist/contracts/PriceSheets.d.ts.map +0 -1
  169. package/dist/contracts/PriceSheets.js +0 -1383
  170. package/dist/contracts/PythFeeds.d.ts +0 -640
  171. package/dist/contracts/PythFeeds.d.ts.map +0 -1
  172. package/dist/contracts/PythFeeds.js +0 -813
  173. package/dist/contracts/StorkFeeds.d.ts +0 -640
  174. package/dist/contracts/StorkFeeds.d.ts.map +0 -1
  175. package/dist/contracts/StorkFeeds.js +0 -813
  176. package/dist/contracts/UserWalletConfig_v1.d.ts +0 -1400
  177. package/dist/contracts/UserWalletConfig_v1.d.ts.map +0 -1
  178. package/dist/contracts/UserWalletConfig_v1.js +0 -1676
  179. package/dist/contracts/UserWalletConfig_v2.d.ts +0 -1468
  180. package/dist/contracts/UserWalletConfig_v2.d.ts.map +0 -1
  181. package/dist/contracts/UserWalletConfig_v2.js +0 -1764
  182. package/dist/contracts/UserWallet_v1.d.ts +0 -1980
  183. package/dist/contracts/UserWallet_v1.d.ts.map +0 -1
  184. package/dist/contracts/UserWallet_v1.js +0 -2581
  185. package/dist/contracts/UserWallet_v2.d.ts +0 -1958
  186. package/dist/contracts/UserWallet_v2.d.ts.map +0 -1
  187. package/dist/contracts/UserWallet_v2.js +0 -2553
  188. package/dist/contracts/WalletConfig.d.ts +0 -1398
  189. package/dist/contracts/WalletConfig.d.ts.map +0 -1
  190. package/dist/contracts/WalletConfig.js +0 -1674
  191. package/dist/contracts/WalletFunds.d.ts +0 -1978
  192. package/dist/contracts/WalletFunds.d.ts.map +0 -1
  193. package/dist/contracts/WalletFunds.js +0 -2579
  194. package/dist/contracts/v0_1_AddyRegistry.d.ts +0 -473
  195. package/dist/contracts/v0_1_AddyRegistry.d.ts.map +0 -1
  196. package/dist/contracts/v0_1_AddyRegistry.js +0 -594
  197. package/dist/contracts/v0_1_Agent.d.ts.map +0 -1
  198. package/dist/contracts/v0_1_Agent.js +0 -3372
  199. package/dist/contracts/v0_1_AgentFactory.d.ts +0 -1054
  200. package/dist/contracts/v0_1_AgentFactory.d.ts.map +0 -1
  201. package/dist/contracts/v0_1_AgentFactory.js +0 -1336
  202. package/dist/contracts/v0_1_UserWallet.d.ts +0 -1980
  203. package/dist/contracts/v0_1_UserWallet.d.ts.map +0 -1
  204. package/dist/contracts/v0_1_UserWallet.js +0 -2581
  205. package/dist/contracts/v0_1_UserWalletConfig.d.ts +0 -1400
  206. package/dist/contracts/v0_1_UserWalletConfig.d.ts.map +0 -1
  207. package/dist/contracts/v0_1_UserWalletConfig.js +0 -1676
  208. package/dist/contracts/v0_2_AddyRegistry.d.ts +0 -1050
  209. package/dist/contracts/v0_2_AddyRegistry.d.ts.map +0 -1
  210. package/dist/contracts/v0_2_AddyRegistry.js +0 -1313
  211. package/dist/contracts/v0_2_Agent.d.ts +0 -2709
  212. package/dist/contracts/v0_2_Agent.d.ts.map +0 -1
  213. package/dist/contracts/v0_2_Agent.js +0 -3458
  214. package/dist/contracts/v0_2_AgentFactory.d.ts +0 -1275
  215. package/dist/contracts/v0_2_AgentFactory.d.ts.map +0 -1
  216. package/dist/contracts/v0_2_AgentFactory.js +0 -1609
  217. package/dist/contracts/v0_2_UserWallet.d.ts +0 -1958
  218. package/dist/contracts/v0_2_UserWallet.d.ts.map +0 -1
  219. package/dist/contracts/v0_2_UserWallet.js +0 -2553
  220. package/dist/contracts/v0_2_UserWalletConfig.d.ts +0 -1468
  221. package/dist/contracts/v0_2_UserWalletConfig.d.ts.map +0 -1
  222. package/dist/contracts/v0_2_UserWalletConfig.js +0 -1764
  223. package/dist/contracts/v0_3_AddyRegistry.d.ts +0 -1109
  224. package/dist/contracts/v0_3_AddyRegistry.d.ts.map +0 -1
  225. package/dist/contracts/v0_3_AddyRegistry.js +0 -1392
  226. package/dist/contracts/v0_3_Agent.d.ts +0 -2709
  227. package/dist/contracts/v0_3_Agent.d.ts.map +0 -1
  228. package/dist/contracts/v0_3_Agent.js +0 -3458
  229. package/dist/contracts/v0_3_AgentFactory.d.ts +0 -1665
  230. package/dist/contracts/v0_3_AgentFactory.d.ts.map +0 -1
  231. package/dist/contracts/v0_3_AgentFactory.js +0 -2078
  232. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts +0 -706
  233. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts.map +0 -1
  234. package/dist/contracts/v0_3_ChainlinkFeeds.js +0 -900
  235. package/dist/contracts/v0_3_LegoAaveV3.d.ts +0 -1033
  236. package/dist/contracts/v0_3_LegoAaveV3.d.ts.map +0 -1
  237. package/dist/contracts/v0_3_LegoAaveV3.js +0 -1330
  238. package/dist/contracts/v0_3_LegoAeroClassic.d.ts +0 -1204
  239. package/dist/contracts/v0_3_LegoAeroClassic.d.ts.map +0 -1
  240. package/dist/contracts/v0_3_LegoAeroClassic.js +0 -1546
  241. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts +0 -1300
  242. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts.map +0 -1
  243. package/dist/contracts/v0_3_LegoAeroSlipstream.js +0 -1671
  244. package/dist/contracts/v0_3_LegoCommon.d.ts +0 -164
  245. package/dist/contracts/v0_3_LegoCommon.d.ts.map +0 -1
  246. package/dist/contracts/v0_3_LegoCommon.js +0 -202
  247. package/dist/contracts/v0_3_LegoCompoundV3.d.ts +0 -1060
  248. package/dist/contracts/v0_3_LegoCompoundV3.d.ts.map +0 -1
  249. package/dist/contracts/v0_3_LegoCompoundV3.js +0 -1365
  250. package/dist/contracts/v0_3_LegoCredit.d.ts +0 -140
  251. package/dist/contracts/v0_3_LegoCredit.d.ts.map +0 -1
  252. package/dist/contracts/v0_3_LegoCredit.js +0 -179
  253. package/dist/contracts/v0_3_LegoCurve.d.ts +0 -1189
  254. package/dist/contracts/v0_3_LegoCurve.d.ts.map +0 -1
  255. package/dist/contracts/v0_3_LegoCurve.js +0 -1519
  256. package/dist/contracts/v0_3_LegoDex.d.ts +0 -587
  257. package/dist/contracts/v0_3_LegoDex.d.ts.map +0 -1
  258. package/dist/contracts/v0_3_LegoDex.js +0 -774
  259. package/dist/contracts/v0_3_LegoEuler.d.ts +0 -1074
  260. package/dist/contracts/v0_3_LegoEuler.d.ts.map +0 -1
  261. package/dist/contracts/v0_3_LegoEuler.js +0 -1383
  262. package/dist/contracts/v0_3_LegoFluid.d.ts +0 -1025
  263. package/dist/contracts/v0_3_LegoFluid.d.ts.map +0 -1
  264. package/dist/contracts/v0_3_LegoFluid.js +0 -1320
  265. package/dist/contracts/v0_3_LegoHelper.d.ts +0 -1563
  266. package/dist/contracts/v0_3_LegoHelper.d.ts.map +0 -1
  267. package/dist/contracts/v0_3_LegoHelper.js +0 -1947
  268. package/dist/contracts/v0_3_LegoMoonwell.d.ts +0 -1042
  269. package/dist/contracts/v0_3_LegoMoonwell.d.ts.map +0 -1
  270. package/dist/contracts/v0_3_LegoMoonwell.js +0 -1342
  271. package/dist/contracts/v0_3_LegoMorpho.d.ts +0 -1074
  272. package/dist/contracts/v0_3_LegoMorpho.d.ts.map +0 -1
  273. package/dist/contracts/v0_3_LegoMorpho.js +0 -1383
  274. package/dist/contracts/v0_3_LegoRegistry.d.ts +0 -1079
  275. package/dist/contracts/v0_3_LegoRegistry.d.ts.map +0 -1
  276. package/dist/contracts/v0_3_LegoRegistry.js +0 -1368
  277. package/dist/contracts/v0_3_LegoSky.d.ts +0 -923
  278. package/dist/contracts/v0_3_LegoSky.d.ts.map +0 -1
  279. package/dist/contracts/v0_3_LegoSky.js +0 -1180
  280. package/dist/contracts/v0_3_LegoUniswapV3.d.ts +0 -1338
  281. package/dist/contracts/v0_3_LegoUniswapV3.d.ts.map +0 -1
  282. package/dist/contracts/v0_3_LegoYield.d.ts +0 -390
  283. package/dist/contracts/v0_3_LegoYield.d.ts.map +0 -1
  284. package/dist/contracts/v0_3_LegoYield.js +0 -511
  285. package/dist/contracts/v0_3_OracleParser.d.ts +0 -207
  286. package/dist/contracts/v0_3_OracleParser.d.ts.map +0 -1
  287. package/dist/contracts/v0_3_OracleParser.js +0 -264
  288. package/dist/contracts/v0_3_OracleRegistry.d.ts +0 -1221
  289. package/dist/contracts/v0_3_OracleRegistry.d.ts.map +0 -1
  290. package/dist/contracts/v0_3_PriceSheets.d.ts +0 -1127
  291. package/dist/contracts/v0_3_PriceSheets.d.ts.map +0 -1
  292. package/dist/contracts/v0_3_PriceSheets.js +0 -1383
  293. package/dist/contracts/v0_3_PythFeeds.d.ts +0 -640
  294. package/dist/contracts/v0_3_PythFeeds.d.ts.map +0 -1
  295. package/dist/contracts/v0_3_PythFeeds.js +0 -813
  296. package/dist/contracts/v0_3_StorkFeeds.d.ts +0 -640
  297. package/dist/contracts/v0_3_StorkFeeds.d.ts.map +0 -1
  298. package/dist/contracts/v0_3_StorkFeeds.js +0 -813
  299. package/dist/contracts/v0_3_UserWallet.d.ts +0 -1975
  300. package/dist/contracts/v0_3_UserWallet.d.ts.map +0 -1
  301. package/dist/contracts/v0_3_UserWallet.js +0 -2577
  302. package/dist/contracts/v0_3_UserWalletConfig.d.ts +0 -1852
  303. package/dist/contracts/v0_3_UserWalletConfig.d.ts.map +0 -1
  304. package/dist/contracts/v0_3_UserWalletConfig.js +0 -2263
  305. package/dist/getLegacyContracts.d.ts +0 -69
  306. package/dist/getLegacyContracts.d.ts.map +0 -1
  307. package/dist/getLegacyContracts.js +0 -55
@@ -5,1414 +5,1673 @@
5
5
  import { singleQuery, mutate } from '@dappql/async';
6
6
  export const abi = [
7
7
  {
8
- anonymous: false,
8
+ name: 'PendingRedemptionBufferChange',
9
9
  inputs: [
10
10
  {
11
- indexed: false,
12
- name: 'numIds',
11
+ name: 'vaultAddr',
12
+ type: 'address',
13
+ indexed: true,
14
+ },
15
+ {
16
+ name: 'buffer',
13
17
  type: 'uint256',
18
+ indexed: false,
14
19
  },
15
- ],
16
- name: 'PriorityOraclePartnerIdsModified',
17
- type: 'event',
18
- },
19
- {
20
- anonymous: false,
21
- inputs: [
22
20
  {
21
+ name: 'confirmationBlock',
22
+ type: 'uint256',
23
23
  indexed: false,
24
- name: 'staleTime',
24
+ },
25
+ {
26
+ name: 'actionId',
25
27
  type: 'uint256',
28
+ indexed: false,
26
29
  },
27
30
  ],
28
- name: 'StaleTimeSet',
31
+ anonymous: false,
29
32
  type: 'event',
30
33
  },
31
34
  {
32
- anonymous: false,
35
+ name: 'RedemptionBufferSet',
33
36
  inputs: [
34
37
  {
35
- indexed: true,
36
- name: 'prevGov',
38
+ name: 'vaultAddr',
37
39
  type: 'address',
38
- },
39
- {
40
40
  indexed: true,
41
- name: 'newGov',
42
- type: 'address',
43
41
  },
44
42
  {
45
- indexed: false,
46
- name: 'confirmBlock',
43
+ name: 'buffer',
47
44
  type: 'uint256',
45
+ indexed: false,
48
46
  },
49
47
  ],
50
- name: 'GovChangeInitiated',
48
+ anonymous: false,
51
49
  type: 'event',
52
50
  },
53
51
  {
54
- anonymous: false,
52
+ name: 'PendingMinYieldWithdrawAmountChange',
55
53
  inputs: [
56
54
  {
57
- indexed: true,
58
- name: 'prevGov',
55
+ name: 'vaultAddr',
59
56
  type: 'address',
60
- },
61
- {
62
57
  indexed: true,
63
- name: 'newGov',
64
- type: 'address',
65
58
  },
66
59
  {
67
- indexed: false,
68
- name: 'initiatedBlock',
60
+ name: 'amount',
69
61
  type: 'uint256',
62
+ indexed: false,
70
63
  },
71
64
  {
65
+ name: 'confirmationBlock',
66
+ type: 'uint256',
72
67
  indexed: false,
73
- name: 'confirmBlock',
68
+ },
69
+ {
70
+ name: 'actionId',
74
71
  type: 'uint256',
72
+ indexed: false,
75
73
  },
76
74
  ],
77
- name: 'GovChangeConfirmed',
75
+ anonymous: false,
78
76
  type: 'event',
79
77
  },
80
78
  {
81
- anonymous: false,
79
+ name: 'MinYieldWithdrawAmountSet',
82
80
  inputs: [
83
81
  {
84
- indexed: true,
85
- name: 'cancelledGov',
82
+ name: 'vaultAddr',
86
83
  type: 'address',
84
+ indexed: true,
87
85
  },
88
86
  {
89
- indexed: false,
90
- name: 'initiatedBlock',
87
+ name: 'amount',
91
88
  type: 'uint256',
92
- },
93
- {
94
89
  indexed: false,
95
- name: 'confirmBlock',
96
- type: 'uint256',
97
90
  },
98
91
  ],
99
- name: 'GovChangeCancelled',
92
+ anonymous: false,
100
93
  type: 'event',
101
94
  },
102
95
  {
103
- anonymous: false,
96
+ name: 'PendingSnapShotPriceConfigChange',
104
97
  inputs: [
105
98
  {
106
- indexed: false,
107
- name: 'delayBlocks',
99
+ name: 'legoId',
108
100
  type: 'uint256',
101
+ indexed: true,
109
102
  },
110
- ],
111
- name: 'GovChangeDelaySet',
112
- type: 'event',
113
- },
114
- {
115
- anonymous: false,
116
- inputs: [
117
103
  {
118
- indexed: true,
119
- name: 'addr',
120
- type: 'address',
104
+ name: 'minSnapshotDelay',
105
+ type: 'uint256',
106
+ indexed: false,
121
107
  },
122
108
  {
109
+ name: 'maxNumSnapshots',
110
+ type: 'uint256',
123
111
  indexed: false,
124
- name: 'description',
125
- type: 'string',
126
112
  },
127
113
  {
114
+ name: 'maxUpsideDeviation',
115
+ type: 'uint256',
128
116
  indexed: false,
129
- name: 'confirmBlock',
117
+ },
118
+ {
119
+ name: 'staleTime',
120
+ type: 'uint256',
121
+ indexed: false,
122
+ },
123
+ {
124
+ name: 'confirmationBlock',
130
125
  type: 'uint256',
126
+ indexed: false,
131
127
  },
132
128
  {
129
+ name: 'actionId',
130
+ type: 'uint256',
133
131
  indexed: false,
134
- name: 'registry',
135
- type: 'string',
136
132
  },
137
133
  ],
138
- name: 'NewAddyPending',
134
+ anonymous: false,
139
135
  type: 'event',
140
136
  },
141
137
  {
142
- anonymous: false,
138
+ name: 'SnapShotPriceConfigSet',
143
139
  inputs: [
144
140
  {
141
+ name: 'legoId',
142
+ type: 'uint256',
145
143
  indexed: true,
146
- name: 'addr',
144
+ },
145
+ {
146
+ name: 'legoAddr',
147
147
  type: 'address',
148
+ indexed: true,
148
149
  },
149
150
  {
151
+ name: 'minSnapshotDelay',
152
+ type: 'uint256',
150
153
  indexed: false,
151
- name: 'addyId',
154
+ },
155
+ {
156
+ name: 'maxNumSnapshots',
152
157
  type: 'uint256',
158
+ indexed: false,
153
159
  },
154
160
  {
161
+ name: 'maxUpsideDeviation',
162
+ type: 'uint256',
155
163
  indexed: false,
156
- name: 'description',
157
- type: 'string',
158
164
  },
159
165
  {
166
+ name: 'staleTime',
167
+ type: 'uint256',
160
168
  indexed: false,
161
- name: 'registry',
162
- type: 'string',
163
169
  },
164
170
  ],
165
- name: 'NewAddyConfirmed',
171
+ anonymous: false,
166
172
  type: 'event',
167
173
  },
168
174
  {
169
- anonymous: false,
175
+ name: 'PendingApprovedVaultTokenChange',
170
176
  inputs: [
171
177
  {
172
- indexed: false,
173
- name: 'description',
174
- type: 'string',
178
+ name: 'vaultAddr',
179
+ type: 'address',
180
+ indexed: true,
175
181
  },
176
182
  {
177
- indexed: true,
178
- name: 'addr',
183
+ name: 'vaultToken',
179
184
  type: 'address',
185
+ indexed: true,
180
186
  },
181
187
  {
188
+ name: 'isApproved',
189
+ type: 'bool',
182
190
  indexed: false,
183
- name: 'initiatedBlock',
184
- type: 'uint256',
185
191
  },
186
192
  {
187
- indexed: false,
188
- name: 'confirmBlock',
193
+ name: 'confirmationBlock',
189
194
  type: 'uint256',
195
+ indexed: false,
190
196
  },
191
197
  {
198
+ name: 'actionId',
199
+ type: 'uint256',
192
200
  indexed: false,
193
- name: 'registry',
194
- type: 'string',
195
201
  },
196
202
  ],
197
- name: 'NewPendingAddyCancelled',
203
+ anonymous: false,
198
204
  type: 'event',
199
205
  },
200
206
  {
201
- anonymous: false,
207
+ name: 'ApprovedVaultTokenSet',
202
208
  inputs: [
203
209
  {
204
- indexed: false,
205
- name: 'addyId',
206
- type: 'uint256',
210
+ name: 'vaultAddr',
211
+ type: 'address',
212
+ indexed: true,
207
213
  },
208
214
  {
209
- indexed: false,
210
- name: 'description',
211
- type: 'string',
215
+ name: 'vaultToken',
216
+ type: 'address',
217
+ indexed: true,
212
218
  },
213
219
  {
214
- indexed: true,
215
- name: 'newAddr',
216
- type: 'address',
220
+ name: 'isApproved',
221
+ type: 'bool',
222
+ indexed: false,
217
223
  },
224
+ ],
225
+ anonymous: false,
226
+ type: 'event',
227
+ },
228
+ {
229
+ name: 'PendingPerformanceFeeChange',
230
+ inputs: [
218
231
  {
219
- indexed: true,
220
- name: 'prevAddr',
232
+ name: 'vaultAddr',
221
233
  type: 'address',
234
+ indexed: true,
222
235
  },
223
236
  {
224
- indexed: false,
225
- name: 'version',
237
+ name: 'performanceFee',
226
238
  type: 'uint256',
239
+ indexed: false,
227
240
  },
228
241
  {
229
- indexed: false,
230
- name: 'confirmBlock',
242
+ name: 'confirmationBlock',
231
243
  type: 'uint256',
244
+ indexed: false,
232
245
  },
233
246
  {
247
+ name: 'actionId',
248
+ type: 'uint256',
234
249
  indexed: false,
235
- name: 'registry',
236
- type: 'string',
237
250
  },
238
251
  ],
239
- name: 'AddyUpdatePending',
252
+ anonymous: false,
240
253
  type: 'event',
241
254
  },
242
255
  {
243
- anonymous: false,
256
+ name: 'PerformanceFeeSet',
244
257
  inputs: [
245
258
  {
246
- indexed: false,
247
- name: 'addyId',
248
- type: 'uint256',
259
+ name: 'vaultAddr',
260
+ type: 'address',
261
+ indexed: true,
249
262
  },
250
263
  {
264
+ name: 'performanceFee',
265
+ type: 'uint256',
251
266
  indexed: false,
252
- name: 'description',
253
- type: 'string',
254
267
  },
268
+ ],
269
+ anonymous: false,
270
+ type: 'event',
271
+ },
272
+ {
273
+ name: 'PendingDefaultTargetVaultTokenChange',
274
+ inputs: [
255
275
  {
256
- indexed: true,
257
- name: 'newAddr',
276
+ name: 'vaultAddr',
258
277
  type: 'address',
278
+ indexed: true,
259
279
  },
260
280
  {
261
- indexed: true,
262
- name: 'prevAddr',
281
+ name: 'targetVaultToken',
263
282
  type: 'address',
283
+ indexed: true,
264
284
  },
265
285
  {
266
- indexed: false,
267
- name: 'version',
286
+ name: 'confirmationBlock',
268
287
  type: 'uint256',
288
+ indexed: false,
269
289
  },
270
290
  {
291
+ name: 'actionId',
292
+ type: 'uint256',
271
293
  indexed: false,
272
- name: 'registry',
273
- type: 'string',
274
294
  },
275
295
  ],
276
- name: 'AddyUpdateConfirmed',
296
+ anonymous: false,
277
297
  type: 'event',
278
298
  },
279
299
  {
280
- anonymous: false,
300
+ name: 'DefaultTargetVaultTokenSet',
281
301
  inputs: [
282
302
  {
283
- indexed: false,
284
- name: 'addyId',
285
- type: 'uint256',
286
- },
287
- {
288
- indexed: false,
289
- name: 'description',
290
- type: 'string',
303
+ name: 'vaultAddr',
304
+ type: 'address',
305
+ indexed: true,
291
306
  },
292
307
  {
293
- indexed: true,
294
- name: 'newAddr',
308
+ name: 'targetVaultToken',
295
309
  type: 'address',
310
+ indexed: true,
296
311
  },
312
+ ],
313
+ anonymous: false,
314
+ type: 'event',
315
+ },
316
+ {
317
+ name: 'PendingMaxDepositAmountChange',
318
+ inputs: [
297
319
  {
298
- indexed: true,
299
- name: 'prevAddr',
320
+ name: 'vaultAddr',
300
321
  type: 'address',
322
+ indexed: true,
301
323
  },
302
324
  {
303
- indexed: false,
304
- name: 'initiatedBlock',
325
+ name: 'maxDepositAmount',
305
326
  type: 'uint256',
327
+ indexed: false,
306
328
  },
307
329
  {
308
- indexed: false,
309
- name: 'confirmBlock',
330
+ name: 'confirmationBlock',
310
331
  type: 'uint256',
332
+ indexed: false,
311
333
  },
312
334
  {
335
+ name: 'actionId',
336
+ type: 'uint256',
313
337
  indexed: false,
314
- name: 'registry',
315
- type: 'string',
316
338
  },
317
339
  ],
318
- name: 'AddyUpdateCancelled',
340
+ anonymous: false,
319
341
  type: 'event',
320
342
  },
321
343
  {
322
- anonymous: false,
344
+ name: 'MaxDepositAmountSet',
323
345
  inputs: [
324
346
  {
325
- indexed: false,
326
- name: 'addyId',
327
- type: 'uint256',
347
+ name: 'vaultAddr',
348
+ type: 'address',
349
+ indexed: true,
328
350
  },
329
351
  {
352
+ name: 'maxDepositAmount',
353
+ type: 'uint256',
330
354
  indexed: false,
331
- name: 'description',
332
- type: 'string',
333
355
  },
356
+ ],
357
+ anonymous: false,
358
+ type: 'event',
359
+ },
360
+ {
361
+ name: 'CanDepositSet',
362
+ inputs: [
334
363
  {
335
- indexed: true,
336
- name: 'addr',
364
+ name: 'vaultAddr',
337
365
  type: 'address',
366
+ indexed: true,
338
367
  },
339
368
  {
369
+ name: 'canDeposit',
370
+ type: 'bool',
340
371
  indexed: false,
341
- name: 'version',
342
- type: 'uint256',
343
- },
344
- {
345
- indexed: false,
346
- name: 'confirmBlock',
347
- type: 'uint256',
348
372
  },
349
373
  {
350
- indexed: false,
351
- name: 'registry',
352
- type: 'string',
374
+ name: 'caller',
375
+ type: 'address',
376
+ indexed: true,
353
377
  },
354
378
  ],
355
- name: 'AddyDisablePending',
379
+ anonymous: false,
356
380
  type: 'event',
357
381
  },
358
382
  {
359
- anonymous: false,
383
+ name: 'CanWithdrawSet',
360
384
  inputs: [
361
385
  {
362
- indexed: false,
363
- name: 'addyId',
364
- type: 'uint256',
386
+ name: 'vaultAddr',
387
+ type: 'address',
388
+ indexed: true,
365
389
  },
366
390
  {
391
+ name: 'canWithdraw',
392
+ type: 'bool',
367
393
  indexed: false,
368
- name: 'description',
369
- type: 'string',
370
394
  },
371
395
  {
396
+ name: 'caller',
397
+ type: 'address',
372
398
  indexed: true,
373
- name: 'addr',
399
+ },
400
+ ],
401
+ anonymous: false,
402
+ type: 'event',
403
+ },
404
+ {
405
+ name: 'VaultOpsFrozenSet',
406
+ inputs: [
407
+ {
408
+ name: 'vaultAddr',
374
409
  type: 'address',
410
+ indexed: true,
375
411
  },
376
412
  {
413
+ name: 'isFrozen',
414
+ type: 'bool',
377
415
  indexed: false,
378
- name: 'version',
379
- type: 'uint256',
380
416
  },
381
417
  {
382
- indexed: false,
383
- name: 'registry',
384
- type: 'string',
418
+ name: 'caller',
419
+ type: 'address',
420
+ indexed: true,
385
421
  },
386
422
  ],
387
- name: 'AddyDisableConfirmed',
423
+ anonymous: false,
388
424
  type: 'event',
389
425
  },
390
426
  {
391
- anonymous: false,
427
+ name: 'ShouldAutoDepositSet',
392
428
  inputs: [
393
429
  {
394
- indexed: false,
395
- name: 'addyId',
396
- type: 'uint256',
430
+ name: 'vaultAddr',
431
+ type: 'address',
432
+ indexed: true,
397
433
  },
398
434
  {
435
+ name: 'shouldAutoDeposit',
436
+ type: 'bool',
399
437
  indexed: false,
400
- name: 'description',
401
- type: 'string',
402
438
  },
403
439
  {
404
- indexed: true,
405
- name: 'addr',
440
+ name: 'caller',
406
441
  type: 'address',
442
+ indexed: true,
407
443
  },
444
+ ],
445
+ anonymous: false,
446
+ type: 'event',
447
+ },
448
+ {
449
+ name: 'GovChangeTimeLockModified',
450
+ inputs: [
408
451
  {
409
- indexed: false,
410
- name: 'initiatedBlock',
452
+ name: 'prevTimeLock',
411
453
  type: 'uint256',
412
- },
413
- {
414
454
  indexed: false,
415
- name: 'confirmBlock',
416
- type: 'uint256',
417
455
  },
418
456
  {
457
+ name: 'newTimeLock',
458
+ type: 'uint256',
419
459
  indexed: false,
420
- name: 'registry',
421
- type: 'string',
422
460
  },
423
461
  ],
424
- name: 'AddyDisableCancelled',
462
+ anonymous: false,
425
463
  type: 'event',
426
464
  },
427
465
  {
428
- anonymous: false,
466
+ name: 'ExpirationSet',
429
467
  inputs: [
430
468
  {
431
- indexed: false,
432
- name: 'delayBlocks',
469
+ name: 'expiration',
433
470
  type: 'uint256',
471
+ indexed: false,
472
+ },
473
+ ],
474
+ anonymous: false,
475
+ type: 'event',
476
+ },
477
+ {
478
+ name: 'ActionTimeLockSet',
479
+ inputs: [
480
+ {
481
+ name: 'newTimeLock',
482
+ type: 'uint256',
483
+ indexed: false,
434
484
  },
435
485
  {
486
+ name: 'prevTimeLock',
487
+ type: 'uint256',
436
488
  indexed: false,
437
- name: 'registry',
438
- type: 'string',
439
489
  },
440
490
  ],
441
- name: 'AddyChangeDelaySet',
491
+ anonymous: false,
442
492
  type: 'event',
443
493
  },
444
494
  {
495
+ name: 'GovChangeStarted',
445
496
  inputs: [
446
497
  {
447
- name: '_address',
498
+ name: 'prevGov',
448
499
  type: 'address',
500
+ indexed: true,
449
501
  },
450
- ],
451
- name: 'canGovern',
452
- outputs: [
453
502
  {
454
- name: '',
455
- type: 'bool',
503
+ name: 'newGov',
504
+ type: 'address',
505
+ indexed: true,
506
+ },
507
+ {
508
+ name: 'confirmBlock',
509
+ type: 'uint256',
510
+ indexed: false,
456
511
  },
457
512
  ],
458
- stateMutability: 'view',
459
- type: 'function',
513
+ anonymous: false,
514
+ type: 'event',
460
515
  },
461
516
  {
462
- inputs: [],
463
- name: 'hasPendingGovChange',
464
- outputs: [
517
+ name: 'GovChangeConfirmed',
518
+ inputs: [
465
519
  {
466
- name: '',
467
- type: 'bool',
520
+ name: 'prevGov',
521
+ type: 'address',
522
+ indexed: true,
523
+ },
524
+ {
525
+ name: 'newGov',
526
+ type: 'address',
527
+ indexed: true,
528
+ },
529
+ {
530
+ name: 'initiatedBlock',
531
+ type: 'uint256',
532
+ indexed: false,
533
+ },
534
+ {
535
+ name: 'confirmBlock',
536
+ type: 'uint256',
537
+ indexed: false,
468
538
  },
469
539
  ],
470
- stateMutability: 'view',
471
- type: 'function',
540
+ anonymous: false,
541
+ type: 'event',
472
542
  },
473
543
  {
544
+ name: 'GovChangeCancelled',
474
545
  inputs: [
475
546
  {
476
- name: '_newGov',
547
+ name: 'cancelledGov',
477
548
  type: 'address',
549
+ indexed: true,
550
+ },
551
+ {
552
+ name: 'initiatedBlock',
553
+ type: 'uint256',
554
+ indexed: false,
555
+ },
556
+ {
557
+ name: 'confirmBlock',
558
+ type: 'uint256',
559
+ indexed: false,
478
560
  },
479
561
  ],
480
- name: 'changeGovernance',
481
- outputs: [],
482
- stateMutability: 'nonpayable',
483
- type: 'function',
484
- },
485
- {
486
- inputs: [],
487
- name: 'confirmGovernanceChange',
488
- outputs: [],
489
- stateMutability: 'nonpayable',
490
- type: 'function',
491
- },
492
- {
493
- inputs: [],
494
- name: 'cancelGovernanceChange',
495
- outputs: [],
496
- stateMutability: 'nonpayable',
497
- type: 'function',
562
+ anonymous: false,
563
+ type: 'event',
498
564
  },
499
565
  {
566
+ name: 'GovRelinquished',
500
567
  inputs: [
501
568
  {
502
- name: '_numBlocks',
503
- type: 'uint256',
569
+ name: 'prevGov',
570
+ type: 'address',
571
+ indexed: true,
504
572
  },
505
573
  ],
506
- name: 'setGovernanceChangeDelay',
507
- outputs: [],
508
- stateMutability: 'nonpayable',
509
- type: 'function',
574
+ anonymous: false,
575
+ type: 'event',
510
576
  },
511
577
  {
512
- inputs: [],
513
- name: 'governance',
514
- outputs: [
578
+ name: 'UndyHqSetupFinished',
579
+ inputs: [
515
580
  {
516
- name: '',
581
+ name: 'prevGov',
517
582
  type: 'address',
583
+ indexed: true,
584
+ },
585
+ {
586
+ name: 'newGov',
587
+ type: 'address',
588
+ indexed: true,
589
+ },
590
+ {
591
+ name: 'timeLock',
592
+ type: 'uint256',
593
+ indexed: false,
518
594
  },
519
595
  ],
520
- stateMutability: 'view',
521
- type: 'function',
596
+ anonymous: false,
597
+ type: 'event',
522
598
  },
523
599
  {
600
+ stateMutability: 'view',
601
+ type: 'function',
602
+ name: 'getAddys',
524
603
  inputs: [],
525
- name: 'pendingGov',
526
604
  outputs: [
527
605
  {
606
+ name: '',
607
+ type: 'tuple',
528
608
  components: [
529
609
  {
530
- name: 'newGov',
610
+ name: 'hq',
531
611
  type: 'address',
532
612
  },
533
613
  {
534
- name: 'initiatedBlock',
535
- type: 'uint256',
614
+ name: 'undyToken',
615
+ type: 'address',
536
616
  },
537
617
  {
538
- name: 'confirmBlock',
539
- type: 'uint256',
618
+ name: 'ledger',
619
+ type: 'address',
620
+ },
621
+ {
622
+ name: 'missionControl',
623
+ type: 'address',
624
+ },
625
+ {
626
+ name: 'legoBook',
627
+ type: 'address',
628
+ },
629
+ {
630
+ name: 'switchboard',
631
+ type: 'address',
632
+ },
633
+ {
634
+ name: 'hatchery',
635
+ type: 'address',
636
+ },
637
+ {
638
+ name: 'lootDistributor',
639
+ type: 'address',
640
+ },
641
+ {
642
+ name: 'appraiser',
643
+ type: 'address',
644
+ },
645
+ {
646
+ name: 'walletBackpack',
647
+ type: 'address',
648
+ },
649
+ {
650
+ name: 'billing',
651
+ type: 'address',
652
+ },
653
+ {
654
+ name: 'vaultRegistry',
655
+ type: 'address',
540
656
  },
541
657
  ],
542
- name: '',
543
- type: 'tuple',
544
658
  },
545
659
  ],
546
- stateMutability: 'view',
547
- type: 'function',
548
660
  },
549
661
  {
550
- inputs: [],
551
- name: 'govChangeDelay',
552
- outputs: [
553
- {
554
- name: '',
555
- type: 'uint256',
556
- },
557
- ],
558
662
  stateMutability: 'view',
559
663
  type: 'function',
560
- },
561
- {
664
+ name: 'getUndyHq',
562
665
  inputs: [],
563
- name: 'MIN_GOV_CHANGE_DELAY',
564
666
  outputs: [
565
667
  {
566
668
  name: '',
567
- type: 'uint256',
669
+ type: 'address',
568
670
  },
569
671
  ],
570
- stateMutability: 'view',
571
- type: 'function',
572
672
  },
573
673
  {
674
+ stateMutability: 'view',
675
+ type: 'function',
676
+ name: 'getUndyHqFromGov',
574
677
  inputs: [],
575
- name: 'MAX_GOV_CHANGE_DELAY',
576
678
  outputs: [
577
679
  {
578
680
  name: '',
579
- type: 'uint256',
681
+ type: 'address',
580
682
  },
581
683
  ],
582
- stateMutability: 'view',
583
- type: 'function',
584
684
  },
585
685
  {
686
+ stateMutability: 'view',
687
+ type: 'function',
688
+ name: 'canGovern',
586
689
  inputs: [
587
690
  {
588
- name: '_asset',
691
+ name: '_addr',
589
692
  type: 'address',
590
693
  },
591
694
  ],
592
- name: 'getPrice',
593
695
  outputs: [
594
696
  {
595
697
  name: '',
596
- type: 'uint256',
698
+ type: 'bool',
597
699
  },
598
700
  ],
599
- stateMutability: 'view',
600
- type: 'function',
601
701
  },
602
702
  {
603
- inputs: [
604
- {
605
- name: '_asset',
606
- type: 'address',
607
- },
703
+ stateMutability: 'view',
704
+ type: 'function',
705
+ name: 'getGovernors',
706
+ inputs: [],
707
+ outputs: [
608
708
  {
609
- name: '_shouldRaise',
610
- type: 'bool',
709
+ name: '',
710
+ type: 'address[]',
611
711
  },
612
712
  ],
613
- name: 'getPrice',
713
+ },
714
+ {
715
+ stateMutability: 'view',
716
+ type: 'function',
717
+ name: 'hasPendingGovChange',
718
+ inputs: [],
614
719
  outputs: [
615
720
  {
616
721
  name: '',
617
- type: 'uint256',
722
+ type: 'bool',
618
723
  },
619
724
  ],
620
- stateMutability: 'view',
621
- type: 'function',
622
725
  },
623
726
  {
727
+ stateMutability: 'nonpayable',
728
+ type: 'function',
729
+ name: 'startGovernanceChange',
624
730
  inputs: [
625
731
  {
626
- name: '_asset',
732
+ name: '_newGov',
627
733
  type: 'address',
628
734
  },
735
+ ],
736
+ outputs: [],
737
+ },
738
+ {
739
+ stateMutability: 'nonpayable',
740
+ type: 'function',
741
+ name: 'confirmGovernanceChange',
742
+ inputs: [],
743
+ outputs: [],
744
+ },
745
+ {
746
+ stateMutability: 'nonpayable',
747
+ type: 'function',
748
+ name: 'cancelGovernanceChange',
749
+ inputs: [],
750
+ outputs: [],
751
+ },
752
+ {
753
+ stateMutability: 'nonpayable',
754
+ type: 'function',
755
+ name: 'relinquishGov',
756
+ inputs: [],
757
+ outputs: [],
758
+ },
759
+ {
760
+ stateMutability: 'nonpayable',
761
+ type: 'function',
762
+ name: 'setGovTimeLock',
763
+ inputs: [
629
764
  {
630
- name: '_amount',
765
+ name: '_numBlocks',
631
766
  type: 'uint256',
632
767
  },
633
768
  ],
634
- name: 'getUsdValue',
635
769
  outputs: [
636
770
  {
637
771
  name: '',
638
- type: 'uint256',
772
+ type: 'bool',
639
773
  },
640
774
  ],
641
- stateMutability: 'view',
642
- type: 'function',
643
775
  },
644
776
  {
777
+ stateMutability: 'view',
778
+ type: 'function',
779
+ name: 'isValidGovTimeLock',
645
780
  inputs: [
646
781
  {
647
- name: '_asset',
648
- type: 'address',
649
- },
650
- {
651
- name: '_amount',
782
+ name: '_newTimeLock',
652
783
  type: 'uint256',
653
784
  },
785
+ ],
786
+ outputs: [
654
787
  {
655
- name: '_shouldRaise',
788
+ name: '',
656
789
  type: 'bool',
657
790
  },
658
791
  ],
659
- name: 'getUsdValue',
792
+ },
793
+ {
794
+ stateMutability: 'view',
795
+ type: 'function',
796
+ name: 'minGovChangeTimeLock',
797
+ inputs: [],
798
+ outputs: [
799
+ {
800
+ name: '',
801
+ type: 'uint256',
802
+ },
803
+ ],
804
+ },
805
+ {
806
+ stateMutability: 'view',
807
+ type: 'function',
808
+ name: 'maxGovChangeTimeLock',
809
+ inputs: [],
660
810
  outputs: [
661
811
  {
662
812
  name: '',
663
813
  type: 'uint256',
664
814
  },
665
815
  ],
666
- stateMutability: 'view',
667
- type: 'function',
668
816
  },
669
817
  {
818
+ stateMutability: 'nonpayable',
819
+ type: 'function',
820
+ name: 'finishUndyHqSetup',
670
821
  inputs: [
671
822
  {
672
- name: '_asset',
823
+ name: '_newGov',
673
824
  type: 'address',
674
825
  },
675
- {
676
- name: '_usdValue',
677
- type: 'uint256',
678
- },
679
826
  ],
680
- name: 'getAssetAmount',
681
827
  outputs: [
682
828
  {
683
829
  name: '',
684
- type: 'uint256',
830
+ type: 'bool',
685
831
  },
686
832
  ],
687
- stateMutability: 'view',
688
- type: 'function',
689
833
  },
690
834
  {
835
+ stateMutability: 'nonpayable',
836
+ type: 'function',
837
+ name: 'finishUndyHqSetup',
691
838
  inputs: [
692
839
  {
693
- name: '_asset',
840
+ name: '_newGov',
694
841
  type: 'address',
695
842
  },
696
843
  {
697
- name: '_usdValue',
844
+ name: '_timeLock',
698
845
  type: 'uint256',
699
846
  },
700
- {
701
- name: '_shouldRaise',
702
- type: 'bool',
703
- },
704
847
  ],
705
- name: 'getAssetAmount',
706
848
  outputs: [
707
849
  {
708
850
  name: '',
709
- type: 'uint256',
851
+ type: 'bool',
710
852
  },
711
853
  ],
712
- stateMutability: 'view',
713
- type: 'function',
714
854
  },
715
855
  {
716
- inputs: [
856
+ stateMutability: 'view',
857
+ type: 'function',
858
+ name: 'governance',
859
+ inputs: [],
860
+ outputs: [
717
861
  {
718
- name: '_asset',
862
+ name: '',
719
863
  type: 'address',
720
864
  },
721
865
  ],
722
- name: 'hasPriceFeed',
866
+ },
867
+ {
868
+ stateMutability: 'view',
869
+ type: 'function',
870
+ name: 'pendingGov',
871
+ inputs: [],
723
872
  outputs: [
724
873
  {
725
874
  name: '',
726
- type: 'bool',
875
+ type: 'tuple',
876
+ components: [
877
+ {
878
+ name: 'newGov',
879
+ type: 'address',
880
+ },
881
+ {
882
+ name: 'initiatedBlock',
883
+ type: 'uint256',
884
+ },
885
+ {
886
+ name: 'confirmBlock',
887
+ type: 'uint256',
888
+ },
889
+ ],
727
890
  },
728
891
  ],
729
- stateMutability: 'view',
730
- type: 'function',
731
892
  },
732
893
  {
733
- inputs: [
894
+ stateMutability: 'view',
895
+ type: 'function',
896
+ name: 'numGovChanges',
897
+ inputs: [],
898
+ outputs: [
734
899
  {
735
- name: '_amount',
900
+ name: '',
736
901
  type: 'uint256',
737
902
  },
738
903
  ],
739
- name: 'getEthUsdValue',
904
+ },
905
+ {
906
+ stateMutability: 'view',
907
+ type: 'function',
908
+ name: 'govChangeTimeLock',
909
+ inputs: [],
740
910
  outputs: [
741
911
  {
742
912
  name: '',
743
913
  type: 'uint256',
744
914
  },
745
915
  ],
746
- stateMutability: 'view',
747
- type: 'function',
748
916
  },
749
917
  {
918
+ stateMutability: 'view',
919
+ type: 'function',
920
+ name: 'canConfirmAction',
750
921
  inputs: [
751
922
  {
752
- name: '_amount',
923
+ name: '_actionId',
753
924
  type: 'uint256',
754
925
  },
755
- {
756
- name: '_shouldRaise',
757
- type: 'bool',
758
- },
759
926
  ],
760
- name: 'getEthUsdValue',
761
927
  outputs: [
762
928
  {
763
929
  name: '',
764
- type: 'uint256',
930
+ type: 'bool',
765
931
  },
766
932
  ],
767
- stateMutability: 'view',
768
- type: 'function',
769
933
  },
770
934
  {
935
+ stateMutability: 'view',
936
+ type: 'function',
937
+ name: 'isExpired',
771
938
  inputs: [
772
939
  {
773
- name: '_usdValue',
940
+ name: '_actionId',
774
941
  type: 'uint256',
775
942
  },
776
943
  ],
777
- name: 'getEthAmount',
778
944
  outputs: [
779
945
  {
780
946
  name: '',
781
- type: 'uint256',
947
+ type: 'bool',
782
948
  },
783
949
  ],
784
- stateMutability: 'view',
785
- type: 'function',
786
950
  },
787
951
  {
952
+ stateMutability: 'view',
953
+ type: 'function',
954
+ name: 'hasPendingAction',
788
955
  inputs: [
789
956
  {
790
- name: '_usdValue',
957
+ name: '_actionId',
791
958
  type: 'uint256',
792
959
  },
793
- {
794
- name: '_shouldRaise',
795
- type: 'bool',
796
- },
797
960
  ],
798
- name: 'getEthAmount',
799
961
  outputs: [
800
962
  {
801
963
  name: '',
802
- type: 'uint256',
964
+ type: 'bool',
803
965
  },
804
966
  ],
805
- stateMutability: 'view',
806
- type: 'function',
807
967
  },
808
968
  {
969
+ stateMutability: 'view',
970
+ type: 'function',
971
+ name: 'getActionConfirmationBlock',
809
972
  inputs: [
810
973
  {
811
- name: '_addr',
812
- type: 'address',
974
+ name: '_actionId',
975
+ type: 'uint256',
813
976
  },
814
977
  ],
815
- name: 'isValidNewOraclePartnerAddr',
816
978
  outputs: [
817
979
  {
818
980
  name: '',
819
- type: 'bool',
981
+ type: 'uint256',
820
982
  },
821
983
  ],
822
- stateMutability: 'view',
823
- type: 'function',
824
984
  },
825
985
  {
986
+ stateMutability: 'nonpayable',
987
+ type: 'function',
988
+ name: 'setActionTimeLock',
826
989
  inputs: [
827
990
  {
828
- name: '_addr',
829
- type: 'address',
830
- },
831
- {
832
- name: '_description',
833
- type: 'string',
991
+ name: '_newTimeLock',
992
+ type: 'uint256',
834
993
  },
835
994
  ],
836
- name: 'registerNewOraclePartner',
837
995
  outputs: [
838
996
  {
839
997
  name: '',
840
998
  type: 'bool',
841
999
  },
842
1000
  ],
843
- stateMutability: 'nonpayable',
844
- type: 'function',
845
1001
  },
846
1002
  {
1003
+ stateMutability: 'view',
1004
+ type: 'function',
1005
+ name: 'isValidActionTimeLock',
847
1006
  inputs: [
848
1007
  {
849
- name: '_addr',
850
- type: 'address',
1008
+ name: '_newTimeLock',
1009
+ type: 'uint256',
851
1010
  },
852
1011
  ],
853
- name: 'confirmNewOraclePartnerRegistration',
854
1012
  outputs: [
855
1013
  {
856
1014
  name: '',
857
- type: 'uint256',
1015
+ type: 'bool',
858
1016
  },
859
1017
  ],
860
- stateMutability: 'nonpayable',
861
- type: 'function',
862
1018
  },
863
1019
  {
864
- inputs: [
1020
+ stateMutability: 'view',
1021
+ type: 'function',
1022
+ name: 'minActionTimeLock',
1023
+ inputs: [],
1024
+ outputs: [
865
1025
  {
866
- name: '_addr',
867
- type: 'address',
1026
+ name: '',
1027
+ type: 'uint256',
868
1028
  },
869
1029
  ],
870
- name: 'cancelPendingNewOraclePartner',
1030
+ },
1031
+ {
1032
+ stateMutability: 'view',
1033
+ type: 'function',
1034
+ name: 'maxActionTimeLock',
1035
+ inputs: [],
871
1036
  outputs: [
872
1037
  {
873
1038
  name: '',
874
- type: 'bool',
1039
+ type: 'uint256',
875
1040
  },
876
1041
  ],
877
- stateMutability: 'nonpayable',
878
- type: 'function',
879
1042
  },
880
1043
  {
1044
+ stateMutability: 'nonpayable',
1045
+ type: 'function',
1046
+ name: 'setExpiration',
881
1047
  inputs: [
882
1048
  {
883
- name: '_oracleId',
1049
+ name: '_expiration',
884
1050
  type: 'uint256',
885
1051
  },
886
- {
887
- name: '_newAddr',
888
- type: 'address',
889
- },
890
1052
  ],
891
- name: 'isValidOraclePartnerUpdate',
892
1053
  outputs: [
893
1054
  {
894
1055
  name: '',
895
1056
  type: 'bool',
896
1057
  },
897
1058
  ],
898
- stateMutability: 'view',
899
- type: 'function',
900
1059
  },
901
1060
  {
902
- inputs: [
903
- {
904
- name: '_oracleId',
905
- type: 'uint256',
906
- },
907
- {
908
- name: '_newAddr',
909
- type: 'address',
910
- },
911
- ],
912
- name: 'updateOraclePartnerAddr',
1061
+ stateMutability: 'nonpayable',
1062
+ type: 'function',
1063
+ name: 'setActionTimeLockAfterSetup',
1064
+ inputs: [],
913
1065
  outputs: [
914
1066
  {
915
1067
  name: '',
916
1068
  type: 'bool',
917
1069
  },
918
1070
  ],
919
- stateMutability: 'nonpayable',
920
- type: 'function',
921
1071
  },
922
1072
  {
1073
+ stateMutability: 'nonpayable',
1074
+ type: 'function',
1075
+ name: 'setActionTimeLockAfterSetup',
923
1076
  inputs: [
924
1077
  {
925
- name: '_oracleId',
1078
+ name: '_newTimeLock',
926
1079
  type: 'uint256',
927
1080
  },
928
1081
  ],
929
- name: 'confirmOraclePartnerUpdate',
930
1082
  outputs: [
931
1083
  {
932
1084
  name: '',
933
1085
  type: 'bool',
934
1086
  },
935
1087
  ],
936
- stateMutability: 'nonpayable',
937
- type: 'function',
938
1088
  },
939
1089
  {
1090
+ stateMutability: 'view',
1091
+ type: 'function',
1092
+ name: 'pendingActions',
940
1093
  inputs: [
941
1094
  {
942
- name: '_oracleId',
1095
+ name: 'arg0',
943
1096
  type: 'uint256',
944
1097
  },
945
1098
  ],
946
- name: 'cancelPendingOraclePartnerUpdate',
947
1099
  outputs: [
948
1100
  {
949
1101
  name: '',
950
- type: 'bool',
1102
+ type: 'tuple',
1103
+ components: [
1104
+ {
1105
+ name: 'initiatedBlock',
1106
+ type: 'uint256',
1107
+ },
1108
+ {
1109
+ name: 'confirmBlock',
1110
+ type: 'uint256',
1111
+ },
1112
+ {
1113
+ name: 'expiration',
1114
+ type: 'uint256',
1115
+ },
1116
+ ],
951
1117
  },
952
1118
  ],
953
- stateMutability: 'nonpayable',
954
- type: 'function',
955
1119
  },
956
1120
  {
957
- inputs: [
1121
+ stateMutability: 'view',
1122
+ type: 'function',
1123
+ name: 'actionId',
1124
+ inputs: [],
1125
+ outputs: [
958
1126
  {
959
- name: '_oracleId',
1127
+ name: '',
960
1128
  type: 'uint256',
961
1129
  },
962
1130
  ],
963
- name: 'isValidOraclePartnerDisable',
1131
+ },
1132
+ {
1133
+ stateMutability: 'view',
1134
+ type: 'function',
1135
+ name: 'actionTimeLock',
1136
+ inputs: [],
964
1137
  outputs: [
965
1138
  {
966
1139
  name: '',
967
- type: 'bool',
1140
+ type: 'uint256',
968
1141
  },
969
1142
  ],
1143
+ },
1144
+ {
970
1145
  stateMutability: 'view',
971
1146
  type: 'function',
1147
+ name: 'expiration',
1148
+ inputs: [],
1149
+ outputs: [
1150
+ {
1151
+ name: '',
1152
+ type: 'uint256',
1153
+ },
1154
+ ],
972
1155
  },
973
1156
  {
1157
+ stateMutability: 'nonpayable',
1158
+ type: 'function',
1159
+ name: 'setCanDeposit',
974
1160
  inputs: [
975
1161
  {
976
- name: '_oracleId',
977
- type: 'uint256',
1162
+ name: '_vaultAddr',
1163
+ type: 'address',
978
1164
  },
979
- ],
980
- name: 'disableOraclePartnerAddr',
981
- outputs: [
982
1165
  {
983
- name: '',
1166
+ name: '_canDeposit',
984
1167
  type: 'bool',
985
1168
  },
986
1169
  ],
987
- stateMutability: 'nonpayable',
988
- type: 'function',
1170
+ outputs: [],
989
1171
  },
990
1172
  {
1173
+ stateMutability: 'nonpayable',
1174
+ type: 'function',
1175
+ name: 'setCanWithdraw',
991
1176
  inputs: [
992
1177
  {
993
- name: '_oracleId',
994
- type: 'uint256',
1178
+ name: '_vaultAddr',
1179
+ type: 'address',
995
1180
  },
996
- ],
997
- name: 'confirmOraclePartnerDisable',
998
- outputs: [
999
1181
  {
1000
- name: '',
1182
+ name: '_canWithdraw',
1001
1183
  type: 'bool',
1002
1184
  },
1003
1185
  ],
1004
- stateMutability: 'nonpayable',
1005
- type: 'function',
1186
+ outputs: [],
1006
1187
  },
1007
1188
  {
1189
+ stateMutability: 'nonpayable',
1190
+ type: 'function',
1191
+ name: 'setVaultOpsFrozen',
1008
1192
  inputs: [
1009
1193
  {
1010
- name: '_oracleId',
1011
- type: 'uint256',
1194
+ name: '_vaultAddr',
1195
+ type: 'address',
1012
1196
  },
1013
- ],
1014
- name: 'cancelPendingOraclePartnerDisable',
1015
- outputs: [
1016
1197
  {
1017
- name: '',
1198
+ name: '_isFrozen',
1018
1199
  type: 'bool',
1019
1200
  },
1020
1201
  ],
1021
- stateMutability: 'nonpayable',
1022
- type: 'function',
1202
+ outputs: [],
1023
1203
  },
1024
1204
  {
1205
+ stateMutability: 'nonpayable',
1206
+ type: 'function',
1207
+ name: 'setShouldAutoDeposit',
1025
1208
  inputs: [
1026
1209
  {
1027
- name: '_numBlocks',
1028
- type: 'uint256',
1210
+ name: '_vaultAddr',
1211
+ type: 'address',
1029
1212
  },
1030
- ],
1031
- name: 'setOraclePartnerChangeDelay',
1032
- outputs: [
1033
1213
  {
1034
- name: '',
1214
+ name: '_shouldAutoDeposit',
1035
1215
  type: 'bool',
1036
1216
  },
1037
1217
  ],
1038
- stateMutability: 'nonpayable',
1039
- type: 'function',
1218
+ outputs: [],
1040
1219
  },
1041
1220
  {
1042
- inputs: [],
1043
- name: 'oracleChangeDelay',
1221
+ stateMutability: 'nonpayable',
1222
+ type: 'function',
1223
+ name: 'setRedemptionBuffer',
1224
+ inputs: [
1225
+ {
1226
+ name: '_vaultAddr',
1227
+ type: 'address',
1228
+ },
1229
+ {
1230
+ name: '_buffer',
1231
+ type: 'uint256',
1232
+ },
1233
+ ],
1044
1234
  outputs: [
1045
1235
  {
1046
1236
  name: '',
1047
1237
  type: 'uint256',
1048
1238
  },
1049
1239
  ],
1050
- stateMutability: 'view',
1051
- type: 'function',
1052
1240
  },
1053
1241
  {
1054
- inputs: [],
1055
- name: 'setOraclePartnerChangeDelayToMin',
1056
- outputs: [
1242
+ stateMutability: 'nonpayable',
1243
+ type: 'function',
1244
+ name: 'setMinYieldWithdrawAmount',
1245
+ inputs: [
1057
1246
  {
1058
- name: '',
1059
- type: 'bool',
1247
+ name: '_vaultAddr',
1248
+ type: 'address',
1249
+ },
1250
+ {
1251
+ name: '_amount',
1252
+ type: 'uint256',
1060
1253
  },
1061
1254
  ],
1062
- stateMutability: 'nonpayable',
1063
- type: 'function',
1064
- },
1065
- {
1066
- inputs: [],
1067
- name: 'getPriorityOraclePartnerIds',
1068
1255
  outputs: [
1069
1256
  {
1070
1257
  name: '',
1071
- type: 'uint256[]',
1258
+ type: 'uint256',
1072
1259
  },
1073
1260
  ],
1074
- stateMutability: 'view',
1075
- type: 'function',
1076
1261
  },
1077
1262
  {
1263
+ stateMutability: 'nonpayable',
1264
+ type: 'function',
1265
+ name: 'setSnapShotPriceConfig',
1078
1266
  inputs: [
1079
1267
  {
1080
- name: '_priorityIds',
1081
- type: 'uint256[]',
1268
+ name: '_legoId',
1269
+ type: 'uint256',
1270
+ },
1271
+ {
1272
+ name: '_minSnapshotDelay',
1273
+ type: 'uint256',
1274
+ },
1275
+ {
1276
+ name: '_maxNumSnapshots',
1277
+ type: 'uint256',
1278
+ },
1279
+ {
1280
+ name: '_maxUpsideDeviation',
1281
+ type: 'uint256',
1282
+ },
1283
+ {
1284
+ name: '_staleTime',
1285
+ type: 'uint256',
1082
1286
  },
1083
1287
  ],
1084
- name: 'areValidPriorityOraclePartnerIds',
1085
1288
  outputs: [
1086
1289
  {
1087
1290
  name: '',
1088
- type: 'bool',
1291
+ type: 'uint256',
1089
1292
  },
1090
1293
  ],
1091
- stateMutability: 'view',
1092
- type: 'function',
1093
1294
  },
1094
1295
  {
1296
+ stateMutability: 'nonpayable',
1297
+ type: 'function',
1298
+ name: 'setApprovedVaultToken',
1095
1299
  inputs: [
1096
1300
  {
1097
- name: '_priorityIds',
1098
- type: 'uint256[]',
1301
+ name: '_vaultAddr',
1302
+ type: 'address',
1303
+ },
1304
+ {
1305
+ name: '_vaultToken',
1306
+ type: 'address',
1307
+ },
1308
+ {
1309
+ name: '_isApproved',
1310
+ type: 'bool',
1099
1311
  },
1100
1312
  ],
1101
- name: 'setPriorityOraclePartnerIds',
1102
1313
  outputs: [
1103
1314
  {
1104
1315
  name: '',
1105
- type: 'bool',
1316
+ type: 'uint256',
1106
1317
  },
1107
1318
  ],
1108
- stateMutability: 'nonpayable',
1109
- type: 'function',
1110
1319
  },
1111
1320
  {
1321
+ stateMutability: 'nonpayable',
1322
+ type: 'function',
1323
+ name: 'setPerformanceFee',
1112
1324
  inputs: [
1113
1325
  {
1114
- name: '_staleTime',
1326
+ name: '_vaultAddr',
1327
+ type: 'address',
1328
+ },
1329
+ {
1330
+ name: '_performanceFee',
1115
1331
  type: 'uint256',
1116
1332
  },
1117
1333
  ],
1118
- name: 'isValidStaleTime',
1119
1334
  outputs: [
1120
1335
  {
1121
1336
  name: '',
1122
- type: 'bool',
1337
+ type: 'uint256',
1123
1338
  },
1124
1339
  ],
1125
- stateMutability: 'view',
1126
- type: 'function',
1127
1340
  },
1128
1341
  {
1342
+ stateMutability: 'nonpayable',
1343
+ type: 'function',
1344
+ name: 'setDefaultTargetVaultToken',
1129
1345
  inputs: [
1130
1346
  {
1131
- name: '_staleTime',
1132
- type: 'uint256',
1347
+ name: '_vaultAddr',
1348
+ type: 'address',
1349
+ },
1350
+ {
1351
+ name: '_targetVaultToken',
1352
+ type: 'address',
1133
1353
  },
1134
1354
  ],
1135
- name: 'setStaleTime',
1136
1355
  outputs: [
1137
1356
  {
1138
1357
  name: '',
1139
- type: 'bool',
1358
+ type: 'uint256',
1140
1359
  },
1141
1360
  ],
1142
- stateMutability: 'nonpayable',
1143
- type: 'function',
1144
1361
  },
1145
1362
  {
1146
- inputs: [],
1147
- name: 'numOraclePartnersRaw',
1363
+ stateMutability: 'nonpayable',
1364
+ type: 'function',
1365
+ name: 'setMaxDepositAmount',
1366
+ inputs: [
1367
+ {
1368
+ name: '_vaultAddr',
1369
+ type: 'address',
1370
+ },
1371
+ {
1372
+ name: '_maxDepositAmount',
1373
+ type: 'uint256',
1374
+ },
1375
+ ],
1148
1376
  outputs: [
1149
1377
  {
1150
1378
  name: '',
1151
1379
  type: 'uint256',
1152
1380
  },
1153
1381
  ],
1154
- stateMutability: 'view',
1155
- type: 'function',
1156
1382
  },
1157
1383
  {
1384
+ stateMutability: 'nonpayable',
1385
+ type: 'function',
1386
+ name: 'executePendingAction',
1158
1387
  inputs: [
1159
1388
  {
1160
- name: '_addr',
1161
- type: 'address',
1389
+ name: '_aid',
1390
+ type: 'uint256',
1162
1391
  },
1163
1392
  ],
1164
- name: 'isValidOraclePartnerAddr',
1165
1393
  outputs: [
1166
1394
  {
1167
1395
  name: '',
1168
1396
  type: 'bool',
1169
1397
  },
1170
1398
  ],
1171
- stateMutability: 'view',
1172
- type: 'function',
1173
1399
  },
1174
1400
  {
1401
+ stateMutability: 'nonpayable',
1402
+ type: 'function',
1403
+ name: 'cancelPendingAction',
1175
1404
  inputs: [
1176
1405
  {
1177
- name: '_oracleId',
1406
+ name: '_aid',
1178
1407
  type: 'uint256',
1179
1408
  },
1180
1409
  ],
1181
- name: 'isValidOraclePartnerId',
1182
1410
  outputs: [
1183
1411
  {
1184
1412
  name: '',
1185
1413
  type: 'bool',
1186
1414
  },
1187
1415
  ],
1188
- stateMutability: 'view',
1189
- type: 'function',
1190
1416
  },
1191
1417
  {
1418
+ stateMutability: 'view',
1419
+ type: 'function',
1420
+ name: 'actionType',
1192
1421
  inputs: [
1193
1422
  {
1194
- name: '_addr',
1195
- type: 'address',
1423
+ name: 'arg0',
1424
+ type: 'uint256',
1196
1425
  },
1197
1426
  ],
1198
- name: 'getOraclePartnerId',
1199
1427
  outputs: [
1200
1428
  {
1201
1429
  name: '',
1202
1430
  type: 'uint256',
1203
1431
  },
1204
1432
  ],
1205
- stateMutability: 'view',
1206
- type: 'function',
1207
1433
  },
1208
1434
  {
1435
+ stateMutability: 'view',
1436
+ type: 'function',
1437
+ name: 'pendingRedemptionBuffer',
1209
1438
  inputs: [
1210
1439
  {
1211
- name: '_oracleId',
1440
+ name: 'arg0',
1212
1441
  type: 'uint256',
1213
1442
  },
1214
1443
  ],
1215
- name: 'getOraclePartnerAddr',
1216
1444
  outputs: [
1217
1445
  {
1218
1446
  name: '',
1219
- type: 'address',
1447
+ type: 'tuple',
1448
+ components: [
1449
+ {
1450
+ name: 'vaultAddr',
1451
+ type: 'address',
1452
+ },
1453
+ {
1454
+ name: 'buffer',
1455
+ type: 'uint256',
1456
+ },
1457
+ ],
1220
1458
  },
1221
1459
  ],
1222
- stateMutability: 'view',
1223
- type: 'function',
1224
1460
  },
1225
1461
  {
1462
+ stateMutability: 'view',
1463
+ type: 'function',
1464
+ name: 'pendingMinYieldWithdrawAmount',
1226
1465
  inputs: [
1227
1466
  {
1228
- name: '_oracleId',
1467
+ name: 'arg0',
1229
1468
  type: 'uint256',
1230
1469
  },
1231
1470
  ],
1232
- name: 'getOraclePartnerInfo',
1233
1471
  outputs: [
1234
1472
  {
1473
+ name: '',
1474
+ type: 'tuple',
1235
1475
  components: [
1236
1476
  {
1237
- name: 'addr',
1477
+ name: 'vaultAddr',
1238
1478
  type: 'address',
1239
1479
  },
1240
1480
  {
1241
- name: 'version',
1242
- type: 'uint256',
1243
- },
1244
- {
1245
- name: 'lastModified',
1481
+ name: 'amount',
1246
1482
  type: 'uint256',
1247
1483
  },
1248
- {
1249
- name: 'description',
1250
- type: 'string',
1251
- },
1252
1484
  ],
1253
- name: '',
1254
- type: 'tuple',
1255
1485
  },
1256
1486
  ],
1257
- stateMutability: 'view',
1258
- type: 'function',
1259
1487
  },
1260
1488
  {
1489
+ stateMutability: 'view',
1490
+ type: 'function',
1491
+ name: 'pendingSnapShotPriceConfig',
1261
1492
  inputs: [
1262
1493
  {
1263
- name: '_oracleId',
1494
+ name: 'arg0',
1264
1495
  type: 'uint256',
1265
1496
  },
1266
1497
  ],
1267
- name: 'getOraclePartnerDescription',
1268
1498
  outputs: [
1269
1499
  {
1270
1500
  name: '',
1271
- type: 'string',
1501
+ type: 'tuple',
1502
+ components: [
1503
+ {
1504
+ name: 'legoId',
1505
+ type: 'uint256',
1506
+ },
1507
+ {
1508
+ name: 'config',
1509
+ type: 'tuple',
1510
+ components: [
1511
+ {
1512
+ name: 'minSnapshotDelay',
1513
+ type: 'uint256',
1514
+ },
1515
+ {
1516
+ name: 'maxNumSnapshots',
1517
+ type: 'uint256',
1518
+ },
1519
+ {
1520
+ name: 'maxUpsideDeviation',
1521
+ type: 'uint256',
1522
+ },
1523
+ {
1524
+ name: 'staleTime',
1525
+ type: 'uint256',
1526
+ },
1527
+ ],
1528
+ },
1529
+ ],
1272
1530
  },
1273
1531
  ],
1274
- stateMutability: 'view',
1275
- type: 'function',
1276
1532
  },
1277
1533
  {
1278
- inputs: [],
1279
- name: 'getNumOraclePartners',
1280
- outputs: [
1534
+ stateMutability: 'view',
1535
+ type: 'function',
1536
+ name: 'pendingApprovedVaultToken',
1537
+ inputs: [
1281
1538
  {
1282
- name: '',
1539
+ name: 'arg0',
1283
1540
  type: 'uint256',
1284
1541
  },
1285
1542
  ],
1286
- stateMutability: 'view',
1287
- type: 'function',
1288
- },
1289
- {
1290
- inputs: [],
1291
- name: 'getLastOraclePartnerAddr',
1292
1543
  outputs: [
1293
1544
  {
1294
1545
  name: '',
1295
- type: 'address',
1546
+ type: 'tuple',
1547
+ components: [
1548
+ {
1549
+ name: 'vaultAddr',
1550
+ type: 'address',
1551
+ },
1552
+ {
1553
+ name: 'vaultToken',
1554
+ type: 'address',
1555
+ },
1556
+ {
1557
+ name: 'isApproved',
1558
+ type: 'bool',
1559
+ },
1560
+ ],
1296
1561
  },
1297
1562
  ],
1298
- stateMutability: 'view',
1299
- type: 'function',
1300
1563
  },
1301
1564
  {
1302
- inputs: [],
1303
- name: 'getLastOraclePartnerId',
1304
- outputs: [
1305
- {
1306
- name: '',
1307
- type: 'uint256',
1308
- },
1309
- ],
1310
1565
  stateMutability: 'view',
1311
1566
  type: 'function',
1312
- },
1313
- {
1567
+ name: 'pendingPerformanceFee',
1314
1568
  inputs: [
1315
1569
  {
1316
1570
  name: 'arg0',
1317
1571
  type: 'uint256',
1318
1572
  },
1319
1573
  ],
1320
- name: 'priorityOraclePartnerIds',
1321
1574
  outputs: [
1322
1575
  {
1323
1576
  name: '',
1324
- type: 'uint256',
1577
+ type: 'tuple',
1578
+ components: [
1579
+ {
1580
+ name: 'vaultAddr',
1581
+ type: 'address',
1582
+ },
1583
+ {
1584
+ name: 'performanceFee',
1585
+ type: 'uint256',
1586
+ },
1587
+ ],
1325
1588
  },
1326
1589
  ],
1327
- stateMutability: 'view',
1328
- type: 'function',
1329
1590
  },
1330
1591
  {
1331
- inputs: [],
1332
- name: 'staleTime',
1333
- outputs: [
1592
+ stateMutability: 'view',
1593
+ type: 'function',
1594
+ name: 'pendingDefaultTargetVaultToken',
1595
+ inputs: [
1334
1596
  {
1335
- name: '',
1597
+ name: 'arg0',
1336
1598
  type: 'uint256',
1337
1599
  },
1338
1600
  ],
1339
- stateMutability: 'view',
1340
- type: 'function',
1341
- },
1342
- {
1343
- inputs: [],
1344
- name: 'ETH',
1345
1601
  outputs: [
1346
1602
  {
1347
1603
  name: '',
1348
- type: 'address',
1604
+ type: 'tuple',
1605
+ components: [
1606
+ {
1607
+ name: 'vaultAddr',
1608
+ type: 'address',
1609
+ },
1610
+ {
1611
+ name: 'targetVaultToken',
1612
+ type: 'address',
1613
+ },
1614
+ ],
1349
1615
  },
1350
1616
  ],
1351
- stateMutability: 'view',
1352
- type: 'function',
1353
1617
  },
1354
1618
  {
1355
- inputs: [],
1356
- name: 'MIN_STALE_TIME',
1357
- outputs: [
1619
+ stateMutability: 'view',
1620
+ type: 'function',
1621
+ name: 'pendingMaxDepositAmount',
1622
+ inputs: [
1358
1623
  {
1359
- name: '',
1624
+ name: 'arg0',
1360
1625
  type: 'uint256',
1361
1626
  },
1362
1627
  ],
1363
- stateMutability: 'view',
1364
- type: 'function',
1365
- },
1366
- {
1367
- inputs: [],
1368
- name: 'MAX_STALE_TIME',
1369
1628
  outputs: [
1370
1629
  {
1371
1630
  name: '',
1372
- type: 'uint256',
1631
+ type: 'tuple',
1632
+ components: [
1633
+ {
1634
+ name: 'vaultAddr',
1635
+ type: 'address',
1636
+ },
1637
+ {
1638
+ name: 'maxDepositAmount',
1639
+ type: 'uint256',
1640
+ },
1641
+ ],
1373
1642
  },
1374
1643
  ],
1375
- stateMutability: 'view',
1376
- type: 'function',
1377
1644
  },
1378
1645
  {
1646
+ stateMutability: 'nonpayable',
1647
+ type: 'constructor',
1379
1648
  inputs: [
1380
1649
  {
1381
- name: '_addyRegistry',
1650
+ name: '_undyHq',
1382
1651
  type: 'address',
1383
1652
  },
1384
1653
  {
1385
- name: '_ethAddr',
1654
+ name: '_tempGov',
1386
1655
  type: 'address',
1387
1656
  },
1388
1657
  {
1389
- name: '_minStaleTime',
1658
+ name: '_minConfigTimeLock',
1390
1659
  type: 'uint256',
1391
1660
  },
1392
1661
  {
1393
- name: '_maxStaleTime',
1394
- type: 'uint256',
1395
- },
1396
- {
1397
- name: '_minOracleChangeDelay',
1398
- type: 'uint256',
1399
- },
1400
- {
1401
- name: '_maxOracleChangeDelay',
1662
+ name: '_maxConfigTimeLock',
1402
1663
  type: 'uint256',
1403
1664
  },
1404
1665
  ],
1405
1666
  outputs: [],
1406
- stateMutability: 'nonpayable',
1407
- type: 'constructor',
1408
1667
  },
1409
1668
  ];
1410
- export const deployAddress = '0xe133F22aAdC23F9B7ca7A9f16B6D9A0C662Cf90b';
1669
+ export const deployAddress = '0x2258662cA2AF19846b9e62A74b803009f5770417';
1411
1670
  function getRequest(method, args, contractAddressOrOptions) {
1412
1671
  const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
1413
1672
  const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
1414
1673
  const call = {
1415
- contractName: 'v0_3_OracleRegistry',
1674
+ contractName: 'SwitchboardCharlie',
1416
1675
  method,
1417
1676
  args,
1418
1677
  address,
@@ -1436,45 +1695,42 @@ function getRequest(method, args, contractAddressOrOptions) {
1436
1695
  return call;
1437
1696
  }
1438
1697
  export const call = {
1698
+ getAddys: (...args) => getRequest('getAddys', args),
1699
+ getUndyHq: (...args) => getRequest('getUndyHq', args),
1700
+ getUndyHqFromGov: (...args) => getRequest('getUndyHqFromGov', args),
1439
1701
  canGovern: (...args) => getRequest('canGovern', args),
1702
+ getGovernors: (...args) => getRequest('getGovernors', args),
1440
1703
  hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
1704
+ isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
1705
+ minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
1706
+ maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
1441
1707
  governance: (...args) => getRequest('governance', args),
1442
1708
  pendingGov: (...args) => getRequest('pendingGov', args),
1443
- govChangeDelay: (...args) => getRequest('govChangeDelay', args),
1444
- MIN_GOV_CHANGE_DELAY: (...args) => getRequest('MIN_GOV_CHANGE_DELAY', args),
1445
- MAX_GOV_CHANGE_DELAY: (...args) => getRequest('MAX_GOV_CHANGE_DELAY', args),
1446
- getPrice: (...args) => getRequest('getPrice', args),
1447
- getUsdValue: (...args) => getRequest('getUsdValue', args),
1448
- getAssetAmount: (...args) => getRequest('getAssetAmount', args),
1449
- hasPriceFeed: (...args) => getRequest('hasPriceFeed', args),
1450
- getEthUsdValue: (...args) => getRequest('getEthUsdValue', args),
1451
- getEthAmount: (...args) => getRequest('getEthAmount', args),
1452
- isValidNewOraclePartnerAddr: (...args) => getRequest('isValidNewOraclePartnerAddr', args),
1453
- isValidOraclePartnerUpdate: (...args) => getRequest('isValidOraclePartnerUpdate', args),
1454
- isValidOraclePartnerDisable: (...args) => getRequest('isValidOraclePartnerDisable', args),
1455
- oracleChangeDelay: (...args) => getRequest('oracleChangeDelay', args),
1456
- getPriorityOraclePartnerIds: (...args) => getRequest('getPriorityOraclePartnerIds', args),
1457
- areValidPriorityOraclePartnerIds: (...args) => getRequest('areValidPriorityOraclePartnerIds', args),
1458
- isValidStaleTime: (...args) => getRequest('isValidStaleTime', args),
1459
- numOraclePartnersRaw: (...args) => getRequest('numOraclePartnersRaw', args),
1460
- isValidOraclePartnerAddr: (...args) => getRequest('isValidOraclePartnerAddr', args),
1461
- isValidOraclePartnerId: (...args) => getRequest('isValidOraclePartnerId', args),
1462
- getOraclePartnerId: (...args) => getRequest('getOraclePartnerId', args),
1463
- getOraclePartnerAddr: (...args) => getRequest('getOraclePartnerAddr', args),
1464
- getOraclePartnerInfo: (...args) => getRequest('getOraclePartnerInfo', args),
1465
- getOraclePartnerDescription: (...args) => getRequest('getOraclePartnerDescription', args),
1466
- getNumOraclePartners: (...args) => getRequest('getNumOraclePartners', args),
1467
- getLastOraclePartnerAddr: (...args) => getRequest('getLastOraclePartnerAddr', args),
1468
- getLastOraclePartnerId: (...args) => getRequest('getLastOraclePartnerId', args),
1469
- priorityOraclePartnerIds: (...args) => getRequest('priorityOraclePartnerIds', args),
1470
- staleTime: (...args) => getRequest('staleTime', args),
1471
- ETH: (...args) => getRequest('ETH', args),
1472
- MIN_STALE_TIME: (...args) => getRequest('MIN_STALE_TIME', args),
1473
- MAX_STALE_TIME: (...args) => getRequest('MAX_STALE_TIME', args),
1709
+ numGovChanges: (...args) => getRequest('numGovChanges', args),
1710
+ govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
1711
+ canConfirmAction: (...args) => getRequest('canConfirmAction', args),
1712
+ isExpired: (...args) => getRequest('isExpired', args),
1713
+ hasPendingAction: (...args) => getRequest('hasPendingAction', args),
1714
+ getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
1715
+ isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
1716
+ minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
1717
+ maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
1718
+ pendingActions: (...args) => getRequest('pendingActions', args),
1719
+ actionId: (...args) => getRequest('actionId', args),
1720
+ actionTimeLock: (...args) => getRequest('actionTimeLock', args),
1721
+ expiration: (...args) => getRequest('expiration', args),
1722
+ actionType: (...args) => getRequest('actionType', args),
1723
+ pendingRedemptionBuffer: (...args) => getRequest('pendingRedemptionBuffer', args),
1724
+ pendingMinYieldWithdrawAmount: (...args) => getRequest('pendingMinYieldWithdrawAmount', args),
1725
+ pendingSnapShotPriceConfig: (...args) => getRequest('pendingSnapShotPriceConfig', args),
1726
+ pendingApprovedVaultToken: (...args) => getRequest('pendingApprovedVaultToken', args),
1727
+ pendingPerformanceFee: (...args) => getRequest('pendingPerformanceFee', args),
1728
+ pendingDefaultTargetVaultToken: (...args) => getRequest('pendingDefaultTargetVaultToken', args),
1729
+ pendingMaxDepositAmount: (...args) => getRequest('pendingMaxDepositAmount', args),
1474
1730
  };
1475
1731
  function getMutation(functionName) {
1476
1732
  return {
1477
- contractName: 'v0_3_OracleRegistry',
1733
+ contractName: 'SwitchboardCharlie',
1478
1734
  functionName,
1479
1735
  deployAddress,
1480
1736
  argsType: undefined,
@@ -1482,81 +1738,88 @@ function getMutation(functionName) {
1482
1738
  };
1483
1739
  }
1484
1740
  export const mutation = {
1485
- changeGovernance: getMutation('changeGovernance'),
1741
+ startGovernanceChange: getMutation('startGovernanceChange'),
1486
1742
  confirmGovernanceChange: getMutation('confirmGovernanceChange'),
1487
1743
  cancelGovernanceChange: getMutation('cancelGovernanceChange'),
1488
- setGovernanceChangeDelay: getMutation('setGovernanceChangeDelay'),
1489
- registerNewOraclePartner: getMutation('registerNewOraclePartner'),
1490
- confirmNewOraclePartnerRegistration: getMutation('confirmNewOraclePartnerRegistration'),
1491
- cancelPendingNewOraclePartner: getMutation('cancelPendingNewOraclePartner'),
1492
- updateOraclePartnerAddr: getMutation('updateOraclePartnerAddr'),
1493
- confirmOraclePartnerUpdate: getMutation('confirmOraclePartnerUpdate'),
1494
- cancelPendingOraclePartnerUpdate: getMutation('cancelPendingOraclePartnerUpdate'),
1495
- disableOraclePartnerAddr: getMutation('disableOraclePartnerAddr'),
1496
- confirmOraclePartnerDisable: getMutation('confirmOraclePartnerDisable'),
1497
- cancelPendingOraclePartnerDisable: getMutation('cancelPendingOraclePartnerDisable'),
1498
- setOraclePartnerChangeDelay: getMutation('setOraclePartnerChangeDelay'),
1499
- setOraclePartnerChangeDelayToMin: getMutation('setOraclePartnerChangeDelayToMin'),
1500
- setPriorityOraclePartnerIds: getMutation('setPriorityOraclePartnerIds'),
1501
- setStaleTime: getMutation('setStaleTime'),
1744
+ relinquishGov: getMutation('relinquishGov'),
1745
+ setGovTimeLock: getMutation('setGovTimeLock'),
1746
+ finishUndyHqSetup: getMutation('finishUndyHqSetup'),
1747
+ setActionTimeLock: getMutation('setActionTimeLock'),
1748
+ setExpiration: getMutation('setExpiration'),
1749
+ setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
1750
+ setCanDeposit: getMutation('setCanDeposit'),
1751
+ setCanWithdraw: getMutation('setCanWithdraw'),
1752
+ setVaultOpsFrozen: getMutation('setVaultOpsFrozen'),
1753
+ setShouldAutoDeposit: getMutation('setShouldAutoDeposit'),
1754
+ setRedemptionBuffer: getMutation('setRedemptionBuffer'),
1755
+ setMinYieldWithdrawAmount: getMutation('setMinYieldWithdrawAmount'),
1756
+ setSnapShotPriceConfig: getMutation('setSnapShotPriceConfig'),
1757
+ setApprovedVaultToken: getMutation('setApprovedVaultToken'),
1758
+ setPerformanceFee: getMutation('setPerformanceFee'),
1759
+ setDefaultTargetVaultToken: getMutation('setDefaultTargetVaultToken'),
1760
+ setMaxDepositAmount: getMutation('setMaxDepositAmount'),
1761
+ executePendingAction: getMutation('executePendingAction'),
1762
+ cancelPendingAction: getMutation('cancelPendingAction'),
1502
1763
  };
1503
1764
  export function toSdk(publicClient, walletClient) {
1504
1765
  return {
1505
1766
  deployAddress,
1506
1767
  abi,
1507
1768
  // Queries
1769
+ getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args)),
1770
+ getUndyHq: (...args) => singleQuery(publicClient, call.getUndyHq(...args)),
1771
+ getUndyHqFromGov: (...args) => singleQuery(publicClient, call.getUndyHqFromGov(...args)),
1508
1772
  canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
1773
+ getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
1509
1774
  hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
1775
+ isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
1776
+ minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
1777
+ maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
1510
1778
  governance: (...args) => singleQuery(publicClient, call.governance(...args)),
1511
1779
  pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
1512
- govChangeDelay: (...args) => singleQuery(publicClient, call.govChangeDelay(...args)),
1513
- MIN_GOV_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MIN_GOV_CHANGE_DELAY(...args)),
1514
- MAX_GOV_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MAX_GOV_CHANGE_DELAY(...args)),
1515
- getPrice: (...args) => singleQuery(publicClient, call.getPrice(...args)),
1516
- getUsdValue: (...args) => singleQuery(publicClient, call.getUsdValue(...args)),
1517
- getAssetAmount: (...args) => singleQuery(publicClient, call.getAssetAmount(...args)),
1518
- hasPriceFeed: (...args) => singleQuery(publicClient, call.hasPriceFeed(...args)),
1519
- getEthUsdValue: (...args) => singleQuery(publicClient, call.getEthUsdValue(...args)),
1520
- getEthAmount: (...args) => singleQuery(publicClient, call.getEthAmount(...args)),
1521
- isValidNewOraclePartnerAddr: (...args) => singleQuery(publicClient, call.isValidNewOraclePartnerAddr(...args)),
1522
- isValidOraclePartnerUpdate: (...args) => singleQuery(publicClient, call.isValidOraclePartnerUpdate(...args)),
1523
- isValidOraclePartnerDisable: (...args) => singleQuery(publicClient, call.isValidOraclePartnerDisable(...args)),
1524
- oracleChangeDelay: (...args) => singleQuery(publicClient, call.oracleChangeDelay(...args)),
1525
- getPriorityOraclePartnerIds: (...args) => singleQuery(publicClient, call.getPriorityOraclePartnerIds(...args)),
1526
- areValidPriorityOraclePartnerIds: (...args) => singleQuery(publicClient, call.areValidPriorityOraclePartnerIds(...args)),
1527
- isValidStaleTime: (...args) => singleQuery(publicClient, call.isValidStaleTime(...args)),
1528
- numOraclePartnersRaw: (...args) => singleQuery(publicClient, call.numOraclePartnersRaw(...args)),
1529
- isValidOraclePartnerAddr: (...args) => singleQuery(publicClient, call.isValidOraclePartnerAddr(...args)),
1530
- isValidOraclePartnerId: (...args) => singleQuery(publicClient, call.isValidOraclePartnerId(...args)),
1531
- getOraclePartnerId: (...args) => singleQuery(publicClient, call.getOraclePartnerId(...args)),
1532
- getOraclePartnerAddr: (...args) => singleQuery(publicClient, call.getOraclePartnerAddr(...args)),
1533
- getOraclePartnerInfo: (...args) => singleQuery(publicClient, call.getOraclePartnerInfo(...args)),
1534
- getOraclePartnerDescription: (...args) => singleQuery(publicClient, call.getOraclePartnerDescription(...args)),
1535
- getNumOraclePartners: (...args) => singleQuery(publicClient, call.getNumOraclePartners(...args)),
1536
- getLastOraclePartnerAddr: (...args) => singleQuery(publicClient, call.getLastOraclePartnerAddr(...args)),
1537
- getLastOraclePartnerId: (...args) => singleQuery(publicClient, call.getLastOraclePartnerId(...args)),
1538
- priorityOraclePartnerIds: (...args) => singleQuery(publicClient, call.priorityOraclePartnerIds(...args)),
1539
- staleTime: (...args) => singleQuery(publicClient, call.staleTime(...args)),
1540
- ETH: (...args) => singleQuery(publicClient, call.ETH(...args)),
1541
- MIN_STALE_TIME: (...args) => singleQuery(publicClient, call.MIN_STALE_TIME(...args)),
1542
- MAX_STALE_TIME: (...args) => singleQuery(publicClient, call.MAX_STALE_TIME(...args)),
1780
+ numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
1781
+ govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
1782
+ canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
1783
+ isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
1784
+ hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
1785
+ getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
1786
+ isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
1787
+ minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
1788
+ maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
1789
+ pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
1790
+ actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
1791
+ actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
1792
+ expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
1793
+ actionType: (...args) => singleQuery(publicClient, call.actionType(...args)),
1794
+ pendingRedemptionBuffer: (...args) => singleQuery(publicClient, call.pendingRedemptionBuffer(...args)),
1795
+ pendingMinYieldWithdrawAmount: (...args) => singleQuery(publicClient, call.pendingMinYieldWithdrawAmount(...args)),
1796
+ pendingSnapShotPriceConfig: (...args) => singleQuery(publicClient, call.pendingSnapShotPriceConfig(...args)),
1797
+ pendingApprovedVaultToken: (...args) => singleQuery(publicClient, call.pendingApprovedVaultToken(...args)),
1798
+ pendingPerformanceFee: (...args) => singleQuery(publicClient, call.pendingPerformanceFee(...args)),
1799
+ pendingDefaultTargetVaultToken: (...args) => singleQuery(publicClient, call.pendingDefaultTargetVaultToken(...args)),
1800
+ pendingMaxDepositAmount: (...args) => singleQuery(publicClient, call.pendingMaxDepositAmount(...args)),
1543
1801
  // Mutations
1544
- changeGovernance: (...args) => mutate(walletClient, mutation.changeGovernance)(...args),
1802
+ startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
1545
1803
  confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
1546
1804
  cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
1547
- setGovernanceChangeDelay: (...args) => mutate(walletClient, mutation.setGovernanceChangeDelay)(...args),
1548
- registerNewOraclePartner: (...args) => mutate(walletClient, mutation.registerNewOraclePartner)(...args),
1549
- confirmNewOraclePartnerRegistration: (...args) => mutate(walletClient, mutation.confirmNewOraclePartnerRegistration)(...args),
1550
- cancelPendingNewOraclePartner: (...args) => mutate(walletClient, mutation.cancelPendingNewOraclePartner)(...args),
1551
- updateOraclePartnerAddr: (...args) => mutate(walletClient, mutation.updateOraclePartnerAddr)(...args),
1552
- confirmOraclePartnerUpdate: (...args) => mutate(walletClient, mutation.confirmOraclePartnerUpdate)(...args),
1553
- cancelPendingOraclePartnerUpdate: (...args) => mutate(walletClient, mutation.cancelPendingOraclePartnerUpdate)(...args),
1554
- disableOraclePartnerAddr: (...args) => mutate(walletClient, mutation.disableOraclePartnerAddr)(...args),
1555
- confirmOraclePartnerDisable: (...args) => mutate(walletClient, mutation.confirmOraclePartnerDisable)(...args),
1556
- cancelPendingOraclePartnerDisable: (...args) => mutate(walletClient, mutation.cancelPendingOraclePartnerDisable)(...args),
1557
- setOraclePartnerChangeDelay: (...args) => mutate(walletClient, mutation.setOraclePartnerChangeDelay)(...args),
1558
- setOraclePartnerChangeDelayToMin: (...args) => mutate(walletClient, mutation.setOraclePartnerChangeDelayToMin)(...args),
1559
- setPriorityOraclePartnerIds: (...args) => mutate(walletClient, mutation.setPriorityOraclePartnerIds)(...args),
1560
- setStaleTime: (...args) => mutate(walletClient, mutation.setStaleTime)(...args),
1805
+ relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov)(...args),
1806
+ setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
1807
+ finishUndyHqSetup: (...args) => mutate(walletClient, mutation.finishUndyHqSetup)(...args),
1808
+ setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
1809
+ setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
1810
+ setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
1811
+ setCanDeposit: (...args) => mutate(walletClient, mutation.setCanDeposit)(...args),
1812
+ setCanWithdraw: (...args) => mutate(walletClient, mutation.setCanWithdraw)(...args),
1813
+ setVaultOpsFrozen: (...args) => mutate(walletClient, mutation.setVaultOpsFrozen)(...args),
1814
+ setShouldAutoDeposit: (...args) => mutate(walletClient, mutation.setShouldAutoDeposit)(...args),
1815
+ setRedemptionBuffer: (...args) => mutate(walletClient, mutation.setRedemptionBuffer)(...args),
1816
+ setMinYieldWithdrawAmount: (...args) => mutate(walletClient, mutation.setMinYieldWithdrawAmount)(...args),
1817
+ setSnapShotPriceConfig: (...args) => mutate(walletClient, mutation.setSnapShotPriceConfig)(...args),
1818
+ setApprovedVaultToken: (...args) => mutate(walletClient, mutation.setApprovedVaultToken)(...args),
1819
+ setPerformanceFee: (...args) => mutate(walletClient, mutation.setPerformanceFee)(...args),
1820
+ setDefaultTargetVaultToken: (...args) => mutate(walletClient, mutation.setDefaultTargetVaultToken)(...args),
1821
+ setMaxDepositAmount: (...args) => mutate(walletClient, mutation.setMaxDepositAmount)(...args),
1822
+ executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
1823
+ cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
1561
1824
  };
1562
1825
  }