@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,4251 @@
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
+ anonymous: false,
9
+ inputs: [
10
+ {
11
+ indexed: false,
12
+ name: 'inEjectMode',
13
+ type: 'bool',
14
+ },
15
+ ],
16
+ name: 'EjectionModeSet',
17
+ type: 'event',
18
+ },
19
+ {
20
+ anonymous: false,
21
+ inputs: [
22
+ {
23
+ indexed: false,
24
+ name: 'isFrozen',
25
+ type: 'bool',
26
+ },
27
+ {
28
+ indexed: true,
29
+ name: 'caller',
30
+ type: 'address',
31
+ },
32
+ ],
33
+ name: 'FrozenSet',
34
+ type: 'event',
35
+ },
36
+ {
37
+ anonymous: false,
38
+ inputs: [
39
+ {
40
+ indexed: true,
41
+ name: 'collection',
42
+ type: 'address',
43
+ },
44
+ {
45
+ indexed: false,
46
+ name: 'nftTokenId',
47
+ type: 'uint256',
48
+ },
49
+ {
50
+ indexed: true,
51
+ name: 'recipient',
52
+ type: 'address',
53
+ },
54
+ ],
55
+ name: 'NftRecovered',
56
+ type: 'event',
57
+ },
58
+ {
59
+ anonymous: false,
60
+ inputs: [
61
+ {
62
+ indexed: true,
63
+ name: 'prevOwner',
64
+ type: 'address',
65
+ },
66
+ {
67
+ indexed: true,
68
+ name: 'newOwner',
69
+ type: 'address',
70
+ },
71
+ {
72
+ indexed: false,
73
+ name: 'confirmBlock',
74
+ type: 'uint256',
75
+ },
76
+ ],
77
+ name: 'OwnershipChangeInitiated',
78
+ type: 'event',
79
+ },
80
+ {
81
+ anonymous: false,
82
+ inputs: [
83
+ {
84
+ indexed: true,
85
+ name: 'prevOwner',
86
+ type: 'address',
87
+ },
88
+ {
89
+ indexed: true,
90
+ name: 'newOwner',
91
+ type: 'address',
92
+ },
93
+ {
94
+ indexed: false,
95
+ name: 'initiatedBlock',
96
+ type: 'uint256',
97
+ },
98
+ {
99
+ indexed: false,
100
+ name: 'confirmBlock',
101
+ type: 'uint256',
102
+ },
103
+ ],
104
+ name: 'OwnershipChangeConfirmed',
105
+ type: 'event',
106
+ },
107
+ {
108
+ anonymous: false,
109
+ inputs: [
110
+ {
111
+ indexed: true,
112
+ name: 'cancelledOwner',
113
+ type: 'address',
114
+ },
115
+ {
116
+ indexed: true,
117
+ name: 'cancelledBy',
118
+ type: 'address',
119
+ },
120
+ {
121
+ indexed: false,
122
+ name: 'initiatedBlock',
123
+ type: 'uint256',
124
+ },
125
+ {
126
+ indexed: false,
127
+ name: 'confirmBlock',
128
+ type: 'uint256',
129
+ },
130
+ ],
131
+ name: 'OwnershipChangeCancelled',
132
+ type: 'event',
133
+ },
134
+ {
135
+ anonymous: false,
136
+ inputs: [
137
+ {
138
+ indexed: false,
139
+ name: 'numBlocks',
140
+ type: 'uint256',
141
+ },
142
+ ],
143
+ name: 'OwnershipTimeLockSet',
144
+ type: 'event',
145
+ },
146
+ {
147
+ inputs: [
148
+ {
149
+ name: '_newOwner',
150
+ type: 'address',
151
+ },
152
+ ],
153
+ name: 'changeOwnership',
154
+ outputs: [],
155
+ stateMutability: 'nonpayable',
156
+ type: 'function',
157
+ },
158
+ {
159
+ inputs: [],
160
+ name: 'confirmOwnershipChange',
161
+ outputs: [],
162
+ stateMutability: 'nonpayable',
163
+ type: 'function',
164
+ },
165
+ {
166
+ inputs: [],
167
+ name: 'cancelOwnershipChange',
168
+ outputs: [],
169
+ stateMutability: 'nonpayable',
170
+ type: 'function',
171
+ },
172
+ {
173
+ inputs: [],
174
+ name: 'hasPendingOwnerChange',
175
+ outputs: [
176
+ {
177
+ name: '',
178
+ type: 'bool',
179
+ },
180
+ ],
181
+ stateMutability: 'view',
182
+ type: 'function',
183
+ },
184
+ {
185
+ inputs: [
186
+ {
187
+ name: '_numBlocks',
188
+ type: 'uint256',
189
+ },
190
+ ],
191
+ name: 'setOwnershipTimeLock',
192
+ outputs: [],
193
+ stateMutability: 'nonpayable',
194
+ type: 'function',
195
+ },
196
+ {
197
+ inputs: [],
198
+ name: 'owner',
199
+ outputs: [
200
+ {
201
+ name: '',
202
+ type: 'address',
203
+ },
204
+ ],
205
+ stateMutability: 'view',
206
+ type: 'function',
207
+ },
208
+ {
209
+ inputs: [],
210
+ name: 'ownershipTimeLock',
211
+ outputs: [
212
+ {
213
+ name: '',
214
+ type: 'uint256',
215
+ },
216
+ ],
217
+ stateMutability: 'view',
218
+ type: 'function',
219
+ },
220
+ {
221
+ inputs: [],
222
+ name: 'pendingOwner',
223
+ outputs: [
224
+ {
225
+ components: [
226
+ {
227
+ name: 'newOwner',
228
+ type: 'address',
229
+ },
230
+ {
231
+ name: 'initiatedBlock',
232
+ type: 'uint256',
233
+ },
234
+ {
235
+ name: 'confirmBlock',
236
+ type: 'uint256',
237
+ },
238
+ ],
239
+ name: '',
240
+ type: 'tuple',
241
+ },
242
+ ],
243
+ stateMutability: 'view',
244
+ type: 'function',
245
+ },
246
+ {
247
+ inputs: [],
248
+ name: 'MIN_OWNERSHIP_TIMELOCK',
249
+ outputs: [
250
+ {
251
+ name: '',
252
+ type: 'uint256',
253
+ },
254
+ ],
255
+ stateMutability: 'view',
256
+ type: 'function',
257
+ },
258
+ {
259
+ inputs: [],
260
+ name: 'MAX_OWNERSHIP_TIMELOCK',
261
+ outputs: [
262
+ {
263
+ name: '',
264
+ type: 'uint256',
265
+ },
266
+ ],
267
+ stateMutability: 'view',
268
+ type: 'function',
269
+ },
270
+ {
271
+ inputs: [
272
+ {
273
+ name: '_wallet',
274
+ type: 'address',
275
+ },
276
+ ],
277
+ name: 'setWallet',
278
+ outputs: [
279
+ {
280
+ name: '',
281
+ type: 'bool',
282
+ },
283
+ ],
284
+ stateMutability: 'nonpayable',
285
+ type: 'function',
286
+ },
287
+ {
288
+ inputs: [],
289
+ name: 'apiVersion',
290
+ outputs: [
291
+ {
292
+ name: '',
293
+ type: 'string',
294
+ },
295
+ ],
296
+ stateMutability: 'pure',
297
+ type: 'function',
298
+ },
299
+ {
300
+ inputs: [
301
+ {
302
+ name: '_signer',
303
+ type: 'address',
304
+ },
305
+ {
306
+ name: '_action',
307
+ type: 'uint256',
308
+ },
309
+ ],
310
+ name: 'checkSignerPermissionsAndGetBundle',
311
+ outputs: [
312
+ {
313
+ components: [
314
+ {
315
+ name: 'ledger',
316
+ type: 'address',
317
+ },
318
+ {
319
+ name: 'missionControl',
320
+ type: 'address',
321
+ },
322
+ {
323
+ name: 'legoBook',
324
+ type: 'address',
325
+ },
326
+ {
327
+ name: 'hatchery',
328
+ type: 'address',
329
+ },
330
+ {
331
+ name: 'lootDistributor',
332
+ type: 'address',
333
+ },
334
+ {
335
+ name: 'appraiser',
336
+ type: 'address',
337
+ },
338
+ {
339
+ name: 'billing',
340
+ type: 'address',
341
+ },
342
+ {
343
+ name: 'wallet',
344
+ type: 'address',
345
+ },
346
+ {
347
+ name: 'walletConfig',
348
+ type: 'address',
349
+ },
350
+ {
351
+ name: 'walletOwner',
352
+ type: 'address',
353
+ },
354
+ {
355
+ name: 'inEjectMode',
356
+ type: 'bool',
357
+ },
358
+ {
359
+ name: 'isFrozen',
360
+ type: 'bool',
361
+ },
362
+ {
363
+ name: 'lastTotalUsdValue',
364
+ type: 'uint256',
365
+ },
366
+ {
367
+ name: 'signer',
368
+ type: 'address',
369
+ },
370
+ {
371
+ name: 'isManager',
372
+ type: 'bool',
373
+ },
374
+ {
375
+ name: 'legoId',
376
+ type: 'uint256',
377
+ },
378
+ {
379
+ name: 'legoAddr',
380
+ type: 'address',
381
+ },
382
+ {
383
+ name: 'eth',
384
+ type: 'address',
385
+ },
386
+ {
387
+ name: 'weth',
388
+ type: 'address',
389
+ },
390
+ ],
391
+ name: '',
392
+ type: 'tuple',
393
+ },
394
+ ],
395
+ stateMutability: 'view',
396
+ type: 'function',
397
+ },
398
+ {
399
+ inputs: [
400
+ {
401
+ name: '_signer',
402
+ type: 'address',
403
+ },
404
+ {
405
+ name: '_action',
406
+ type: 'uint256',
407
+ },
408
+ {
409
+ name: '_assets',
410
+ type: 'address[]',
411
+ },
412
+ ],
413
+ name: 'checkSignerPermissionsAndGetBundle',
414
+ outputs: [
415
+ {
416
+ components: [
417
+ {
418
+ name: 'ledger',
419
+ type: 'address',
420
+ },
421
+ {
422
+ name: 'missionControl',
423
+ type: 'address',
424
+ },
425
+ {
426
+ name: 'legoBook',
427
+ type: 'address',
428
+ },
429
+ {
430
+ name: 'hatchery',
431
+ type: 'address',
432
+ },
433
+ {
434
+ name: 'lootDistributor',
435
+ type: 'address',
436
+ },
437
+ {
438
+ name: 'appraiser',
439
+ type: 'address',
440
+ },
441
+ {
442
+ name: 'billing',
443
+ type: 'address',
444
+ },
445
+ {
446
+ name: 'wallet',
447
+ type: 'address',
448
+ },
449
+ {
450
+ name: 'walletConfig',
451
+ type: 'address',
452
+ },
453
+ {
454
+ name: 'walletOwner',
455
+ type: 'address',
456
+ },
457
+ {
458
+ name: 'inEjectMode',
459
+ type: 'bool',
460
+ },
461
+ {
462
+ name: 'isFrozen',
463
+ type: 'bool',
464
+ },
465
+ {
466
+ name: 'lastTotalUsdValue',
467
+ type: 'uint256',
468
+ },
469
+ {
470
+ name: 'signer',
471
+ type: 'address',
472
+ },
473
+ {
474
+ name: 'isManager',
475
+ type: 'bool',
476
+ },
477
+ {
478
+ name: 'legoId',
479
+ type: 'uint256',
480
+ },
481
+ {
482
+ name: 'legoAddr',
483
+ type: 'address',
484
+ },
485
+ {
486
+ name: 'eth',
487
+ type: 'address',
488
+ },
489
+ {
490
+ name: 'weth',
491
+ type: 'address',
492
+ },
493
+ ],
494
+ name: '',
495
+ type: 'tuple',
496
+ },
497
+ ],
498
+ stateMutability: 'view',
499
+ type: 'function',
500
+ },
501
+ {
502
+ inputs: [
503
+ {
504
+ name: '_signer',
505
+ type: 'address',
506
+ },
507
+ {
508
+ name: '_action',
509
+ type: 'uint256',
510
+ },
511
+ {
512
+ name: '_assets',
513
+ type: 'address[]',
514
+ },
515
+ {
516
+ name: '_legoIds',
517
+ type: 'uint256[]',
518
+ },
519
+ ],
520
+ name: 'checkSignerPermissionsAndGetBundle',
521
+ outputs: [
522
+ {
523
+ components: [
524
+ {
525
+ name: 'ledger',
526
+ type: 'address',
527
+ },
528
+ {
529
+ name: 'missionControl',
530
+ type: 'address',
531
+ },
532
+ {
533
+ name: 'legoBook',
534
+ type: 'address',
535
+ },
536
+ {
537
+ name: 'hatchery',
538
+ type: 'address',
539
+ },
540
+ {
541
+ name: 'lootDistributor',
542
+ type: 'address',
543
+ },
544
+ {
545
+ name: 'appraiser',
546
+ type: 'address',
547
+ },
548
+ {
549
+ name: 'billing',
550
+ type: 'address',
551
+ },
552
+ {
553
+ name: 'wallet',
554
+ type: 'address',
555
+ },
556
+ {
557
+ name: 'walletConfig',
558
+ type: 'address',
559
+ },
560
+ {
561
+ name: 'walletOwner',
562
+ type: 'address',
563
+ },
564
+ {
565
+ name: 'inEjectMode',
566
+ type: 'bool',
567
+ },
568
+ {
569
+ name: 'isFrozen',
570
+ type: 'bool',
571
+ },
572
+ {
573
+ name: 'lastTotalUsdValue',
574
+ type: 'uint256',
575
+ },
576
+ {
577
+ name: 'signer',
578
+ type: 'address',
579
+ },
580
+ {
581
+ name: 'isManager',
582
+ type: 'bool',
583
+ },
584
+ {
585
+ name: 'legoId',
586
+ type: 'uint256',
587
+ },
588
+ {
589
+ name: 'legoAddr',
590
+ type: 'address',
591
+ },
592
+ {
593
+ name: 'eth',
594
+ type: 'address',
595
+ },
596
+ {
597
+ name: 'weth',
598
+ type: 'address',
599
+ },
600
+ ],
601
+ name: '',
602
+ type: 'tuple',
603
+ },
604
+ ],
605
+ stateMutability: 'view',
606
+ type: 'function',
607
+ },
608
+ {
609
+ inputs: [
610
+ {
611
+ name: '_signer',
612
+ type: 'address',
613
+ },
614
+ {
615
+ name: '_action',
616
+ type: 'uint256',
617
+ },
618
+ {
619
+ name: '_assets',
620
+ type: 'address[]',
621
+ },
622
+ {
623
+ name: '_legoIds',
624
+ type: 'uint256[]',
625
+ },
626
+ {
627
+ name: '_transferRecipient',
628
+ type: 'address',
629
+ },
630
+ ],
631
+ name: 'checkSignerPermissionsAndGetBundle',
632
+ outputs: [
633
+ {
634
+ components: [
635
+ {
636
+ name: 'ledger',
637
+ type: 'address',
638
+ },
639
+ {
640
+ name: 'missionControl',
641
+ type: 'address',
642
+ },
643
+ {
644
+ name: 'legoBook',
645
+ type: 'address',
646
+ },
647
+ {
648
+ name: 'hatchery',
649
+ type: 'address',
650
+ },
651
+ {
652
+ name: 'lootDistributor',
653
+ type: 'address',
654
+ },
655
+ {
656
+ name: 'appraiser',
657
+ type: 'address',
658
+ },
659
+ {
660
+ name: 'billing',
661
+ type: 'address',
662
+ },
663
+ {
664
+ name: 'wallet',
665
+ type: 'address',
666
+ },
667
+ {
668
+ name: 'walletConfig',
669
+ type: 'address',
670
+ },
671
+ {
672
+ name: 'walletOwner',
673
+ type: 'address',
674
+ },
675
+ {
676
+ name: 'inEjectMode',
677
+ type: 'bool',
678
+ },
679
+ {
680
+ name: 'isFrozen',
681
+ type: 'bool',
682
+ },
683
+ {
684
+ name: 'lastTotalUsdValue',
685
+ type: 'uint256',
686
+ },
687
+ {
688
+ name: 'signer',
689
+ type: 'address',
690
+ },
691
+ {
692
+ name: 'isManager',
693
+ type: 'bool',
694
+ },
695
+ {
696
+ name: 'legoId',
697
+ type: 'uint256',
698
+ },
699
+ {
700
+ name: 'legoAddr',
701
+ type: 'address',
702
+ },
703
+ {
704
+ name: 'eth',
705
+ type: 'address',
706
+ },
707
+ {
708
+ name: 'weth',
709
+ type: 'address',
710
+ },
711
+ ],
712
+ name: '',
713
+ type: 'tuple',
714
+ },
715
+ ],
716
+ stateMutability: 'view',
717
+ type: 'function',
718
+ },
719
+ {
720
+ inputs: [
721
+ {
722
+ name: '_manager',
723
+ type: 'address',
724
+ },
725
+ {
726
+ name: '_txUsdValue',
727
+ type: 'uint256',
728
+ },
729
+ ],
730
+ name: 'checkManagerUsdLimitsAndUpdateData',
731
+ outputs: [
732
+ {
733
+ name: '',
734
+ type: 'bool',
735
+ },
736
+ ],
737
+ stateMutability: 'nonpayable',
738
+ type: 'function',
739
+ },
740
+ {
741
+ inputs: [
742
+ {
743
+ name: '_recipient',
744
+ type: 'address',
745
+ },
746
+ {
747
+ name: '_txUsdValue',
748
+ type: 'uint256',
749
+ },
750
+ {
751
+ name: '_asset',
752
+ type: 'address',
753
+ },
754
+ {
755
+ name: '_amount',
756
+ type: 'uint256',
757
+ },
758
+ ],
759
+ name: 'checkRecipientLimitsAndUpdateData',
760
+ outputs: [
761
+ {
762
+ name: '',
763
+ type: 'bool',
764
+ },
765
+ ],
766
+ stateMutability: 'nonpayable',
767
+ type: 'function',
768
+ },
769
+ {
770
+ inputs: [
771
+ {
772
+ name: '_recipient',
773
+ type: 'address',
774
+ },
775
+ {
776
+ name: '_asset',
777
+ type: 'address',
778
+ },
779
+ {
780
+ name: '_amount',
781
+ type: 'uint256',
782
+ },
783
+ {
784
+ name: '_txUsdValue',
785
+ type: 'uint256',
786
+ },
787
+ {
788
+ name: '_signer',
789
+ type: 'address',
790
+ },
791
+ ],
792
+ name: 'validateCheque',
793
+ outputs: [
794
+ {
795
+ name: '',
796
+ type: 'bool',
797
+ },
798
+ ],
799
+ stateMutability: 'nonpayable',
800
+ type: 'function',
801
+ },
802
+ {
803
+ inputs: [
804
+ {
805
+ name: '_addr',
806
+ type: 'address',
807
+ },
808
+ {
809
+ components: [
810
+ {
811
+ name: 'initiatedBlock',
812
+ type: 'uint256',
813
+ },
814
+ {
815
+ name: 'confirmBlock',
816
+ type: 'uint256',
817
+ },
818
+ {
819
+ name: 'currentOwner',
820
+ type: 'address',
821
+ },
822
+ ],
823
+ name: '_pending',
824
+ type: 'tuple',
825
+ },
826
+ ],
827
+ name: 'addPendingWhitelistAddr',
828
+ outputs: [],
829
+ stateMutability: 'nonpayable',
830
+ type: 'function',
831
+ },
832
+ {
833
+ inputs: [
834
+ {
835
+ name: '_addr',
836
+ type: 'address',
837
+ },
838
+ ],
839
+ name: 'cancelPendingWhitelistAddr',
840
+ outputs: [],
841
+ stateMutability: 'nonpayable',
842
+ type: 'function',
843
+ },
844
+ {
845
+ inputs: [
846
+ {
847
+ name: '_addr',
848
+ type: 'address',
849
+ },
850
+ ],
851
+ name: 'confirmWhitelistAddr',
852
+ outputs: [],
853
+ stateMutability: 'nonpayable',
854
+ type: 'function',
855
+ },
856
+ {
857
+ inputs: [
858
+ {
859
+ name: '_addr',
860
+ type: 'address',
861
+ },
862
+ ],
863
+ name: 'addWhitelistAddrViaMigrator',
864
+ outputs: [],
865
+ stateMutability: 'nonpayable',
866
+ type: 'function',
867
+ },
868
+ {
869
+ inputs: [
870
+ {
871
+ name: '_addr',
872
+ type: 'address',
873
+ },
874
+ ],
875
+ name: 'removeWhitelistAddr',
876
+ outputs: [],
877
+ stateMutability: 'nonpayable',
878
+ type: 'function',
879
+ },
880
+ {
881
+ inputs: [
882
+ {
883
+ name: '_manager',
884
+ type: 'address',
885
+ },
886
+ {
887
+ components: [
888
+ {
889
+ name: 'startBlock',
890
+ type: 'uint256',
891
+ },
892
+ {
893
+ name: 'expiryBlock',
894
+ type: 'uint256',
895
+ },
896
+ {
897
+ components: [
898
+ {
899
+ name: 'maxUsdValuePerTx',
900
+ type: 'uint256',
901
+ },
902
+ {
903
+ name: 'maxUsdValuePerPeriod',
904
+ type: 'uint256',
905
+ },
906
+ {
907
+ name: 'maxUsdValueLifetime',
908
+ type: 'uint256',
909
+ },
910
+ {
911
+ name: 'maxNumTxsPerPeriod',
912
+ type: 'uint256',
913
+ },
914
+ {
915
+ name: 'txCooldownBlocks',
916
+ type: 'uint256',
917
+ },
918
+ {
919
+ name: 'failOnZeroPrice',
920
+ type: 'bool',
921
+ },
922
+ ],
923
+ name: 'limits',
924
+ type: 'tuple',
925
+ },
926
+ {
927
+ components: [
928
+ {
929
+ name: 'canManageYield',
930
+ type: 'bool',
931
+ },
932
+ {
933
+ name: 'canBuyAndSell',
934
+ type: 'bool',
935
+ },
936
+ {
937
+ name: 'canManageDebt',
938
+ type: 'bool',
939
+ },
940
+ {
941
+ name: 'canManageLiq',
942
+ type: 'bool',
943
+ },
944
+ {
945
+ name: 'canClaimRewards',
946
+ type: 'bool',
947
+ },
948
+ {
949
+ name: 'allowedLegos',
950
+ type: 'uint256[]',
951
+ },
952
+ ],
953
+ name: 'legoPerms',
954
+ type: 'tuple',
955
+ },
956
+ {
957
+ components: [
958
+ {
959
+ name: 'canAddPending',
960
+ type: 'bool',
961
+ },
962
+ {
963
+ name: 'canConfirm',
964
+ type: 'bool',
965
+ },
966
+ {
967
+ name: 'canCancel',
968
+ type: 'bool',
969
+ },
970
+ {
971
+ name: 'canRemove',
972
+ type: 'bool',
973
+ },
974
+ ],
975
+ name: 'whitelistPerms',
976
+ type: 'tuple',
977
+ },
978
+ {
979
+ components: [
980
+ {
981
+ name: 'canTransfer',
982
+ type: 'bool',
983
+ },
984
+ {
985
+ name: 'canCreateCheque',
986
+ type: 'bool',
987
+ },
988
+ {
989
+ name: 'canAddPendingPayee',
990
+ type: 'bool',
991
+ },
992
+ {
993
+ name: 'allowedPayees',
994
+ type: 'address[]',
995
+ },
996
+ ],
997
+ name: 'transferPerms',
998
+ type: 'tuple',
999
+ },
1000
+ {
1001
+ name: 'allowedAssets',
1002
+ type: 'address[]',
1003
+ },
1004
+ {
1005
+ name: 'canClaimLoot',
1006
+ type: 'bool',
1007
+ },
1008
+ ],
1009
+ name: '_config',
1010
+ type: 'tuple',
1011
+ },
1012
+ ],
1013
+ name: 'addManager',
1014
+ outputs: [],
1015
+ stateMutability: 'nonpayable',
1016
+ type: 'function',
1017
+ },
1018
+ {
1019
+ inputs: [
1020
+ {
1021
+ name: '_manager',
1022
+ type: 'address',
1023
+ },
1024
+ {
1025
+ components: [
1026
+ {
1027
+ name: 'startBlock',
1028
+ type: 'uint256',
1029
+ },
1030
+ {
1031
+ name: 'expiryBlock',
1032
+ type: 'uint256',
1033
+ },
1034
+ {
1035
+ components: [
1036
+ {
1037
+ name: 'maxUsdValuePerTx',
1038
+ type: 'uint256',
1039
+ },
1040
+ {
1041
+ name: 'maxUsdValuePerPeriod',
1042
+ type: 'uint256',
1043
+ },
1044
+ {
1045
+ name: 'maxUsdValueLifetime',
1046
+ type: 'uint256',
1047
+ },
1048
+ {
1049
+ name: 'maxNumTxsPerPeriod',
1050
+ type: 'uint256',
1051
+ },
1052
+ {
1053
+ name: 'txCooldownBlocks',
1054
+ type: 'uint256',
1055
+ },
1056
+ {
1057
+ name: 'failOnZeroPrice',
1058
+ type: 'bool',
1059
+ },
1060
+ ],
1061
+ name: 'limits',
1062
+ type: 'tuple',
1063
+ },
1064
+ {
1065
+ components: [
1066
+ {
1067
+ name: 'canManageYield',
1068
+ type: 'bool',
1069
+ },
1070
+ {
1071
+ name: 'canBuyAndSell',
1072
+ type: 'bool',
1073
+ },
1074
+ {
1075
+ name: 'canManageDebt',
1076
+ type: 'bool',
1077
+ },
1078
+ {
1079
+ name: 'canManageLiq',
1080
+ type: 'bool',
1081
+ },
1082
+ {
1083
+ name: 'canClaimRewards',
1084
+ type: 'bool',
1085
+ },
1086
+ {
1087
+ name: 'allowedLegos',
1088
+ type: 'uint256[]',
1089
+ },
1090
+ ],
1091
+ name: 'legoPerms',
1092
+ type: 'tuple',
1093
+ },
1094
+ {
1095
+ components: [
1096
+ {
1097
+ name: 'canAddPending',
1098
+ type: 'bool',
1099
+ },
1100
+ {
1101
+ name: 'canConfirm',
1102
+ type: 'bool',
1103
+ },
1104
+ {
1105
+ name: 'canCancel',
1106
+ type: 'bool',
1107
+ },
1108
+ {
1109
+ name: 'canRemove',
1110
+ type: 'bool',
1111
+ },
1112
+ ],
1113
+ name: 'whitelistPerms',
1114
+ type: 'tuple',
1115
+ },
1116
+ {
1117
+ components: [
1118
+ {
1119
+ name: 'canTransfer',
1120
+ type: 'bool',
1121
+ },
1122
+ {
1123
+ name: 'canCreateCheque',
1124
+ type: 'bool',
1125
+ },
1126
+ {
1127
+ name: 'canAddPendingPayee',
1128
+ type: 'bool',
1129
+ },
1130
+ {
1131
+ name: 'allowedPayees',
1132
+ type: 'address[]',
1133
+ },
1134
+ ],
1135
+ name: 'transferPerms',
1136
+ type: 'tuple',
1137
+ },
1138
+ {
1139
+ name: 'allowedAssets',
1140
+ type: 'address[]',
1141
+ },
1142
+ {
1143
+ name: 'canClaimLoot',
1144
+ type: 'bool',
1145
+ },
1146
+ ],
1147
+ name: '_config',
1148
+ type: 'tuple',
1149
+ },
1150
+ ],
1151
+ name: 'updateManager',
1152
+ outputs: [],
1153
+ stateMutability: 'nonpayable',
1154
+ type: 'function',
1155
+ },
1156
+ {
1157
+ inputs: [
1158
+ {
1159
+ name: '_manager',
1160
+ type: 'address',
1161
+ },
1162
+ ],
1163
+ name: 'removeManager',
1164
+ outputs: [],
1165
+ stateMutability: 'nonpayable',
1166
+ type: 'function',
1167
+ },
1168
+ {
1169
+ inputs: [
1170
+ {
1171
+ components: [
1172
+ {
1173
+ name: 'managerPeriod',
1174
+ type: 'uint256',
1175
+ },
1176
+ {
1177
+ name: 'startDelay',
1178
+ type: 'uint256',
1179
+ },
1180
+ {
1181
+ name: 'activationLength',
1182
+ type: 'uint256',
1183
+ },
1184
+ {
1185
+ name: 'canOwnerManage',
1186
+ type: 'bool',
1187
+ },
1188
+ {
1189
+ components: [
1190
+ {
1191
+ name: 'maxUsdValuePerTx',
1192
+ type: 'uint256',
1193
+ },
1194
+ {
1195
+ name: 'maxUsdValuePerPeriod',
1196
+ type: 'uint256',
1197
+ },
1198
+ {
1199
+ name: 'maxUsdValueLifetime',
1200
+ type: 'uint256',
1201
+ },
1202
+ {
1203
+ name: 'maxNumTxsPerPeriod',
1204
+ type: 'uint256',
1205
+ },
1206
+ {
1207
+ name: 'txCooldownBlocks',
1208
+ type: 'uint256',
1209
+ },
1210
+ {
1211
+ name: 'failOnZeroPrice',
1212
+ type: 'bool',
1213
+ },
1214
+ ],
1215
+ name: 'limits',
1216
+ type: 'tuple',
1217
+ },
1218
+ {
1219
+ components: [
1220
+ {
1221
+ name: 'canManageYield',
1222
+ type: 'bool',
1223
+ },
1224
+ {
1225
+ name: 'canBuyAndSell',
1226
+ type: 'bool',
1227
+ },
1228
+ {
1229
+ name: 'canManageDebt',
1230
+ type: 'bool',
1231
+ },
1232
+ {
1233
+ name: 'canManageLiq',
1234
+ type: 'bool',
1235
+ },
1236
+ {
1237
+ name: 'canClaimRewards',
1238
+ type: 'bool',
1239
+ },
1240
+ {
1241
+ name: 'allowedLegos',
1242
+ type: 'uint256[]',
1243
+ },
1244
+ ],
1245
+ name: 'legoPerms',
1246
+ type: 'tuple',
1247
+ },
1248
+ {
1249
+ components: [
1250
+ {
1251
+ name: 'canAddPending',
1252
+ type: 'bool',
1253
+ },
1254
+ {
1255
+ name: 'canConfirm',
1256
+ type: 'bool',
1257
+ },
1258
+ {
1259
+ name: 'canCancel',
1260
+ type: 'bool',
1261
+ },
1262
+ {
1263
+ name: 'canRemove',
1264
+ type: 'bool',
1265
+ },
1266
+ ],
1267
+ name: 'whitelistPerms',
1268
+ type: 'tuple',
1269
+ },
1270
+ {
1271
+ components: [
1272
+ {
1273
+ name: 'canTransfer',
1274
+ type: 'bool',
1275
+ },
1276
+ {
1277
+ name: 'canCreateCheque',
1278
+ type: 'bool',
1279
+ },
1280
+ {
1281
+ name: 'canAddPendingPayee',
1282
+ type: 'bool',
1283
+ },
1284
+ {
1285
+ name: 'allowedPayees',
1286
+ type: 'address[]',
1287
+ },
1288
+ ],
1289
+ name: 'transferPerms',
1290
+ type: 'tuple',
1291
+ },
1292
+ {
1293
+ name: 'allowedAssets',
1294
+ type: 'address[]',
1295
+ },
1296
+ ],
1297
+ name: '_config',
1298
+ type: 'tuple',
1299
+ },
1300
+ ],
1301
+ name: 'setGlobalManagerSettings',
1302
+ outputs: [],
1303
+ stateMutability: 'nonpayable',
1304
+ type: 'function',
1305
+ },
1306
+ {
1307
+ inputs: [
1308
+ {
1309
+ name: '_payee',
1310
+ type: 'address',
1311
+ },
1312
+ {
1313
+ components: [
1314
+ {
1315
+ name: 'startBlock',
1316
+ type: 'uint256',
1317
+ },
1318
+ {
1319
+ name: 'expiryBlock',
1320
+ type: 'uint256',
1321
+ },
1322
+ {
1323
+ name: 'canPull',
1324
+ type: 'bool',
1325
+ },
1326
+ {
1327
+ name: 'periodLength',
1328
+ type: 'uint256',
1329
+ },
1330
+ {
1331
+ name: 'maxNumTxsPerPeriod',
1332
+ type: 'uint256',
1333
+ },
1334
+ {
1335
+ name: 'txCooldownBlocks',
1336
+ type: 'uint256',
1337
+ },
1338
+ {
1339
+ name: 'failOnZeroPrice',
1340
+ type: 'bool',
1341
+ },
1342
+ {
1343
+ name: 'primaryAsset',
1344
+ type: 'address',
1345
+ },
1346
+ {
1347
+ name: 'onlyPrimaryAsset',
1348
+ type: 'bool',
1349
+ },
1350
+ {
1351
+ components: [
1352
+ {
1353
+ name: 'perTxCap',
1354
+ type: 'uint256',
1355
+ },
1356
+ {
1357
+ name: 'perPeriodCap',
1358
+ type: 'uint256',
1359
+ },
1360
+ {
1361
+ name: 'lifetimeCap',
1362
+ type: 'uint256',
1363
+ },
1364
+ ],
1365
+ name: 'unitLimits',
1366
+ type: 'tuple',
1367
+ },
1368
+ {
1369
+ components: [
1370
+ {
1371
+ name: 'perTxCap',
1372
+ type: 'uint256',
1373
+ },
1374
+ {
1375
+ name: 'perPeriodCap',
1376
+ type: 'uint256',
1377
+ },
1378
+ {
1379
+ name: 'lifetimeCap',
1380
+ type: 'uint256',
1381
+ },
1382
+ ],
1383
+ name: 'usdLimits',
1384
+ type: 'tuple',
1385
+ },
1386
+ ],
1387
+ name: '_config',
1388
+ type: 'tuple',
1389
+ },
1390
+ ],
1391
+ name: 'addPayee',
1392
+ outputs: [],
1393
+ stateMutability: 'nonpayable',
1394
+ type: 'function',
1395
+ },
1396
+ {
1397
+ inputs: [
1398
+ {
1399
+ name: '_payee',
1400
+ type: 'address',
1401
+ },
1402
+ {
1403
+ components: [
1404
+ {
1405
+ name: 'startBlock',
1406
+ type: 'uint256',
1407
+ },
1408
+ {
1409
+ name: 'expiryBlock',
1410
+ type: 'uint256',
1411
+ },
1412
+ {
1413
+ name: 'canPull',
1414
+ type: 'bool',
1415
+ },
1416
+ {
1417
+ name: 'periodLength',
1418
+ type: 'uint256',
1419
+ },
1420
+ {
1421
+ name: 'maxNumTxsPerPeriod',
1422
+ type: 'uint256',
1423
+ },
1424
+ {
1425
+ name: 'txCooldownBlocks',
1426
+ type: 'uint256',
1427
+ },
1428
+ {
1429
+ name: 'failOnZeroPrice',
1430
+ type: 'bool',
1431
+ },
1432
+ {
1433
+ name: 'primaryAsset',
1434
+ type: 'address',
1435
+ },
1436
+ {
1437
+ name: 'onlyPrimaryAsset',
1438
+ type: 'bool',
1439
+ },
1440
+ {
1441
+ components: [
1442
+ {
1443
+ name: 'perTxCap',
1444
+ type: 'uint256',
1445
+ },
1446
+ {
1447
+ name: 'perPeriodCap',
1448
+ type: 'uint256',
1449
+ },
1450
+ {
1451
+ name: 'lifetimeCap',
1452
+ type: 'uint256',
1453
+ },
1454
+ ],
1455
+ name: 'unitLimits',
1456
+ type: 'tuple',
1457
+ },
1458
+ {
1459
+ components: [
1460
+ {
1461
+ name: 'perTxCap',
1462
+ type: 'uint256',
1463
+ },
1464
+ {
1465
+ name: 'perPeriodCap',
1466
+ type: 'uint256',
1467
+ },
1468
+ {
1469
+ name: 'lifetimeCap',
1470
+ type: 'uint256',
1471
+ },
1472
+ ],
1473
+ name: 'usdLimits',
1474
+ type: 'tuple',
1475
+ },
1476
+ ],
1477
+ name: '_config',
1478
+ type: 'tuple',
1479
+ },
1480
+ ],
1481
+ name: 'updatePayee',
1482
+ outputs: [],
1483
+ stateMutability: 'nonpayable',
1484
+ type: 'function',
1485
+ },
1486
+ {
1487
+ inputs: [
1488
+ {
1489
+ name: '_payee',
1490
+ type: 'address',
1491
+ },
1492
+ ],
1493
+ name: 'removePayee',
1494
+ outputs: [],
1495
+ stateMutability: 'nonpayable',
1496
+ type: 'function',
1497
+ },
1498
+ {
1499
+ inputs: [
1500
+ {
1501
+ components: [
1502
+ {
1503
+ name: 'defaultPeriodLength',
1504
+ type: 'uint256',
1505
+ },
1506
+ {
1507
+ name: 'startDelay',
1508
+ type: 'uint256',
1509
+ },
1510
+ {
1511
+ name: 'activationLength',
1512
+ type: 'uint256',
1513
+ },
1514
+ {
1515
+ name: 'maxNumTxsPerPeriod',
1516
+ type: 'uint256',
1517
+ },
1518
+ {
1519
+ name: 'txCooldownBlocks',
1520
+ type: 'uint256',
1521
+ },
1522
+ {
1523
+ name: 'failOnZeroPrice',
1524
+ type: 'bool',
1525
+ },
1526
+ {
1527
+ components: [
1528
+ {
1529
+ name: 'perTxCap',
1530
+ type: 'uint256',
1531
+ },
1532
+ {
1533
+ name: 'perPeriodCap',
1534
+ type: 'uint256',
1535
+ },
1536
+ {
1537
+ name: 'lifetimeCap',
1538
+ type: 'uint256',
1539
+ },
1540
+ ],
1541
+ name: 'usdLimits',
1542
+ type: 'tuple',
1543
+ },
1544
+ {
1545
+ name: 'canPayOwner',
1546
+ type: 'bool',
1547
+ },
1548
+ {
1549
+ name: 'canPull',
1550
+ type: 'bool',
1551
+ },
1552
+ ],
1553
+ name: '_config',
1554
+ type: 'tuple',
1555
+ },
1556
+ ],
1557
+ name: 'setGlobalPayeeSettings',
1558
+ outputs: [],
1559
+ stateMutability: 'nonpayable',
1560
+ type: 'function',
1561
+ },
1562
+ {
1563
+ inputs: [
1564
+ {
1565
+ name: '_payee',
1566
+ type: 'address',
1567
+ },
1568
+ {
1569
+ components: [
1570
+ {
1571
+ components: [
1572
+ {
1573
+ name: 'startBlock',
1574
+ type: 'uint256',
1575
+ },
1576
+ {
1577
+ name: 'expiryBlock',
1578
+ type: 'uint256',
1579
+ },
1580
+ {
1581
+ name: 'canPull',
1582
+ type: 'bool',
1583
+ },
1584
+ {
1585
+ name: 'periodLength',
1586
+ type: 'uint256',
1587
+ },
1588
+ {
1589
+ name: 'maxNumTxsPerPeriod',
1590
+ type: 'uint256',
1591
+ },
1592
+ {
1593
+ name: 'txCooldownBlocks',
1594
+ type: 'uint256',
1595
+ },
1596
+ {
1597
+ name: 'failOnZeroPrice',
1598
+ type: 'bool',
1599
+ },
1600
+ {
1601
+ name: 'primaryAsset',
1602
+ type: 'address',
1603
+ },
1604
+ {
1605
+ name: 'onlyPrimaryAsset',
1606
+ type: 'bool',
1607
+ },
1608
+ {
1609
+ components: [
1610
+ {
1611
+ name: 'perTxCap',
1612
+ type: 'uint256',
1613
+ },
1614
+ {
1615
+ name: 'perPeriodCap',
1616
+ type: 'uint256',
1617
+ },
1618
+ {
1619
+ name: 'lifetimeCap',
1620
+ type: 'uint256',
1621
+ },
1622
+ ],
1623
+ name: 'unitLimits',
1624
+ type: 'tuple',
1625
+ },
1626
+ {
1627
+ components: [
1628
+ {
1629
+ name: 'perTxCap',
1630
+ type: 'uint256',
1631
+ },
1632
+ {
1633
+ name: 'perPeriodCap',
1634
+ type: 'uint256',
1635
+ },
1636
+ {
1637
+ name: 'lifetimeCap',
1638
+ type: 'uint256',
1639
+ },
1640
+ ],
1641
+ name: 'usdLimits',
1642
+ type: 'tuple',
1643
+ },
1644
+ ],
1645
+ name: 'settings',
1646
+ type: 'tuple',
1647
+ },
1648
+ {
1649
+ name: 'initiatedBlock',
1650
+ type: 'uint256',
1651
+ },
1652
+ {
1653
+ name: 'confirmBlock',
1654
+ type: 'uint256',
1655
+ },
1656
+ {
1657
+ name: 'currentOwner',
1658
+ type: 'address',
1659
+ },
1660
+ ],
1661
+ name: '_pending',
1662
+ type: 'tuple',
1663
+ },
1664
+ ],
1665
+ name: 'addPendingPayee',
1666
+ outputs: [],
1667
+ stateMutability: 'nonpayable',
1668
+ type: 'function',
1669
+ },
1670
+ {
1671
+ inputs: [
1672
+ {
1673
+ name: '_payee',
1674
+ type: 'address',
1675
+ },
1676
+ ],
1677
+ name: 'confirmPendingPayee',
1678
+ outputs: [],
1679
+ stateMutability: 'nonpayable',
1680
+ type: 'function',
1681
+ },
1682
+ {
1683
+ inputs: [
1684
+ {
1685
+ name: '_payee',
1686
+ type: 'address',
1687
+ },
1688
+ ],
1689
+ name: 'cancelPendingPayee',
1690
+ outputs: [],
1691
+ stateMutability: 'nonpayable',
1692
+ type: 'function',
1693
+ },
1694
+ {
1695
+ inputs: [
1696
+ {
1697
+ name: '_recipient',
1698
+ type: 'address',
1699
+ },
1700
+ {
1701
+ components: [
1702
+ {
1703
+ name: 'recipient',
1704
+ type: 'address',
1705
+ },
1706
+ {
1707
+ name: 'asset',
1708
+ type: 'address',
1709
+ },
1710
+ {
1711
+ name: 'amount',
1712
+ type: 'uint256',
1713
+ },
1714
+ {
1715
+ name: 'creationBlock',
1716
+ type: 'uint256',
1717
+ },
1718
+ {
1719
+ name: 'unlockBlock',
1720
+ type: 'uint256',
1721
+ },
1722
+ {
1723
+ name: 'expiryBlock',
1724
+ type: 'uint256',
1725
+ },
1726
+ {
1727
+ name: 'usdValueOnCreation',
1728
+ type: 'uint256',
1729
+ },
1730
+ {
1731
+ name: 'canManagerPay',
1732
+ type: 'bool',
1733
+ },
1734
+ {
1735
+ name: 'canBePulled',
1736
+ type: 'bool',
1737
+ },
1738
+ {
1739
+ name: 'creator',
1740
+ type: 'address',
1741
+ },
1742
+ {
1743
+ name: 'active',
1744
+ type: 'bool',
1745
+ },
1746
+ ],
1747
+ name: '_cheque',
1748
+ type: 'tuple',
1749
+ },
1750
+ {
1751
+ components: [
1752
+ {
1753
+ name: 'numChequesPaidInPeriod',
1754
+ type: 'uint256',
1755
+ },
1756
+ {
1757
+ name: 'totalUsdValuePaidInPeriod',
1758
+ type: 'uint256',
1759
+ },
1760
+ {
1761
+ name: 'totalNumChequesPaid',
1762
+ type: 'uint256',
1763
+ },
1764
+ {
1765
+ name: 'totalUsdValuePaid',
1766
+ type: 'uint256',
1767
+ },
1768
+ {
1769
+ name: 'lastChequePaidBlock',
1770
+ type: 'uint256',
1771
+ },
1772
+ {
1773
+ name: 'numChequesCreatedInPeriod',
1774
+ type: 'uint256',
1775
+ },
1776
+ {
1777
+ name: 'totalUsdValueCreatedInPeriod',
1778
+ type: 'uint256',
1779
+ },
1780
+ {
1781
+ name: 'totalNumChequesCreated',
1782
+ type: 'uint256',
1783
+ },
1784
+ {
1785
+ name: 'totalUsdValueCreated',
1786
+ type: 'uint256',
1787
+ },
1788
+ {
1789
+ name: 'lastChequeCreatedBlock',
1790
+ type: 'uint256',
1791
+ },
1792
+ {
1793
+ name: 'periodStartBlock',
1794
+ type: 'uint256',
1795
+ },
1796
+ ],
1797
+ name: '_chequeData',
1798
+ type: 'tuple',
1799
+ },
1800
+ {
1801
+ name: '_isExistingCheque',
1802
+ type: 'bool',
1803
+ },
1804
+ ],
1805
+ name: 'createCheque',
1806
+ outputs: [],
1807
+ stateMutability: 'nonpayable',
1808
+ type: 'function',
1809
+ },
1810
+ {
1811
+ inputs: [
1812
+ {
1813
+ name: '_recipient',
1814
+ type: 'address',
1815
+ },
1816
+ ],
1817
+ name: 'cancelCheque',
1818
+ outputs: [],
1819
+ stateMutability: 'nonpayable',
1820
+ type: 'function',
1821
+ },
1822
+ {
1823
+ inputs: [
1824
+ {
1825
+ components: [
1826
+ {
1827
+ name: 'maxNumActiveCheques',
1828
+ type: 'uint256',
1829
+ },
1830
+ {
1831
+ name: 'maxChequeUsdValue',
1832
+ type: 'uint256',
1833
+ },
1834
+ {
1835
+ name: 'instantUsdThreshold',
1836
+ type: 'uint256',
1837
+ },
1838
+ {
1839
+ name: 'perPeriodPaidUsdCap',
1840
+ type: 'uint256',
1841
+ },
1842
+ {
1843
+ name: 'maxNumChequesPaidPerPeriod',
1844
+ type: 'uint256',
1845
+ },
1846
+ {
1847
+ name: 'payCooldownBlocks',
1848
+ type: 'uint256',
1849
+ },
1850
+ {
1851
+ name: 'perPeriodCreatedUsdCap',
1852
+ type: 'uint256',
1853
+ },
1854
+ {
1855
+ name: 'maxNumChequesCreatedPerPeriod',
1856
+ type: 'uint256',
1857
+ },
1858
+ {
1859
+ name: 'createCooldownBlocks',
1860
+ type: 'uint256',
1861
+ },
1862
+ {
1863
+ name: 'periodLength',
1864
+ type: 'uint256',
1865
+ },
1866
+ {
1867
+ name: 'expensiveDelayBlocks',
1868
+ type: 'uint256',
1869
+ },
1870
+ {
1871
+ name: 'defaultExpiryBlocks',
1872
+ type: 'uint256',
1873
+ },
1874
+ {
1875
+ name: 'allowedAssets',
1876
+ type: 'address[]',
1877
+ },
1878
+ {
1879
+ name: 'canManagersCreateCheques',
1880
+ type: 'bool',
1881
+ },
1882
+ {
1883
+ name: 'canManagerPay',
1884
+ type: 'bool',
1885
+ },
1886
+ {
1887
+ name: 'canBePulled',
1888
+ type: 'bool',
1889
+ },
1890
+ ],
1891
+ name: '_config',
1892
+ type: 'tuple',
1893
+ },
1894
+ ],
1895
+ name: 'setChequeSettings',
1896
+ outputs: [],
1897
+ stateMutability: 'nonpayable',
1898
+ type: 'function',
1899
+ },
1900
+ {
1901
+ inputs: [
1902
+ {
1903
+ name: '_legoId',
1904
+ type: 'uint256',
1905
+ },
1906
+ {
1907
+ name: '_asset',
1908
+ type: 'address',
1909
+ },
1910
+ {
1911
+ name: '_shouldCheckYield',
1912
+ type: 'bool',
1913
+ },
1914
+ ],
1915
+ name: 'updateAssetData',
1916
+ outputs: [
1917
+ {
1918
+ name: '',
1919
+ type: 'uint256',
1920
+ },
1921
+ ],
1922
+ stateMutability: 'nonpayable',
1923
+ type: 'function',
1924
+ },
1925
+ {
1926
+ inputs: [
1927
+ {
1928
+ name: '_shouldCheckYield',
1929
+ type: 'bool',
1930
+ },
1931
+ ],
1932
+ name: 'updateAllAssetData',
1933
+ outputs: [
1934
+ {
1935
+ name: '',
1936
+ type: 'uint256',
1937
+ },
1938
+ ],
1939
+ stateMutability: 'nonpayable',
1940
+ type: 'function',
1941
+ },
1942
+ {
1943
+ inputs: [],
1944
+ name: 'removeTrialFunds',
1945
+ outputs: [
1946
+ {
1947
+ name: '',
1948
+ type: 'uint256',
1949
+ },
1950
+ ],
1951
+ stateMutability: 'nonpayable',
1952
+ type: 'function',
1953
+ },
1954
+ {
1955
+ inputs: [],
1956
+ name: 'getTrialFundsInfo',
1957
+ outputs: [
1958
+ {
1959
+ name: '',
1960
+ type: 'address',
1961
+ },
1962
+ {
1963
+ name: '',
1964
+ type: 'uint256',
1965
+ },
1966
+ ],
1967
+ stateMutability: 'view',
1968
+ type: 'function',
1969
+ },
1970
+ {
1971
+ inputs: [
1972
+ {
1973
+ name: '_toWallet',
1974
+ type: 'address',
1975
+ },
1976
+ {
1977
+ name: '_asset',
1978
+ type: 'address',
1979
+ },
1980
+ ],
1981
+ name: 'migrateFunds',
1982
+ outputs: [
1983
+ {
1984
+ name: '',
1985
+ type: 'uint256',
1986
+ },
1987
+ ],
1988
+ stateMutability: 'nonpayable',
1989
+ type: 'function',
1990
+ },
1991
+ {
1992
+ inputs: [
1993
+ {
1994
+ name: '_targetAsset',
1995
+ type: 'address',
1996
+ },
1997
+ {
1998
+ name: '_legoId',
1999
+ type: 'uint256',
2000
+ },
2001
+ {
2002
+ name: '_vaultToken',
2003
+ type: 'address',
2004
+ },
2005
+ ],
2006
+ name: 'preparePayment',
2007
+ outputs: [
2008
+ {
2009
+ name: '',
2010
+ type: 'uint256',
2011
+ },
2012
+ {
2013
+ name: '',
2014
+ type: 'uint256',
2015
+ },
2016
+ ],
2017
+ stateMutability: 'nonpayable',
2018
+ type: 'function',
2019
+ },
2020
+ {
2021
+ inputs: [
2022
+ {
2023
+ name: '_targetAsset',
2024
+ type: 'address',
2025
+ },
2026
+ {
2027
+ name: '_legoId',
2028
+ type: 'uint256',
2029
+ },
2030
+ {
2031
+ name: '_vaultToken',
2032
+ type: 'address',
2033
+ },
2034
+ {
2035
+ name: '_vaultAmount',
2036
+ type: 'uint256',
2037
+ },
2038
+ ],
2039
+ name: 'preparePayment',
2040
+ outputs: [
2041
+ {
2042
+ name: '',
2043
+ type: 'uint256',
2044
+ },
2045
+ {
2046
+ name: '',
2047
+ type: 'uint256',
2048
+ },
2049
+ ],
2050
+ stateMutability: 'nonpayable',
2051
+ type: 'function',
2052
+ },
2053
+ {
2054
+ inputs: [
2055
+ {
2056
+ name: '_asset',
2057
+ type: 'address',
2058
+ },
2059
+ ],
2060
+ name: 'deregisterAsset',
2061
+ outputs: [
2062
+ {
2063
+ name: '',
2064
+ type: 'bool',
2065
+ },
2066
+ ],
2067
+ stateMutability: 'nonpayable',
2068
+ type: 'function',
2069
+ },
2070
+ {
2071
+ inputs: [
2072
+ {
2073
+ name: '_collection',
2074
+ type: 'address',
2075
+ },
2076
+ {
2077
+ name: '_nftTokenId',
2078
+ type: 'uint256',
2079
+ },
2080
+ {
2081
+ name: '_recipient',
2082
+ type: 'address',
2083
+ },
2084
+ ],
2085
+ name: 'recoverNft',
2086
+ outputs: [],
2087
+ stateMutability: 'nonpayable',
2088
+ type: 'function',
2089
+ },
2090
+ {
2091
+ inputs: [
2092
+ {
2093
+ name: '_isFrozen',
2094
+ type: 'bool',
2095
+ },
2096
+ ],
2097
+ name: 'setFrozen',
2098
+ outputs: [],
2099
+ stateMutability: 'nonpayable',
2100
+ type: 'function',
2101
+ },
2102
+ {
2103
+ inputs: [
2104
+ {
2105
+ name: '_shouldEject',
2106
+ type: 'bool',
2107
+ },
2108
+ ],
2109
+ name: 'setEjectionMode',
2110
+ outputs: [],
2111
+ stateMutability: 'nonpayable',
2112
+ type: 'function',
2113
+ },
2114
+ {
2115
+ inputs: [
2116
+ {
2117
+ name: '_legoId',
2118
+ type: 'uint256',
2119
+ },
2120
+ {
2121
+ name: '_action',
2122
+ type: 'uint256',
2123
+ },
2124
+ ],
2125
+ name: 'setLegoAccessForAction',
2126
+ outputs: [
2127
+ {
2128
+ name: '',
2129
+ type: 'bool',
2130
+ },
2131
+ ],
2132
+ stateMutability: 'nonpayable',
2133
+ type: 'function',
2134
+ },
2135
+ {
2136
+ inputs: [
2137
+ {
2138
+ name: '_kernel',
2139
+ type: 'address',
2140
+ },
2141
+ ],
2142
+ name: 'setKernel',
2143
+ outputs: [],
2144
+ stateMutability: 'nonpayable',
2145
+ type: 'function',
2146
+ },
2147
+ {
2148
+ inputs: [
2149
+ {
2150
+ name: '_sentinel',
2151
+ type: 'address',
2152
+ },
2153
+ ],
2154
+ name: 'setSentinel',
2155
+ outputs: [],
2156
+ stateMutability: 'nonpayable',
2157
+ type: 'function',
2158
+ },
2159
+ {
2160
+ inputs: [
2161
+ {
2162
+ name: '_highCommand',
2163
+ type: 'address',
2164
+ },
2165
+ ],
2166
+ name: 'setHighCommand',
2167
+ outputs: [],
2168
+ stateMutability: 'nonpayable',
2169
+ type: 'function',
2170
+ },
2171
+ {
2172
+ inputs: [
2173
+ {
2174
+ name: '_paymaster',
2175
+ type: 'address',
2176
+ },
2177
+ ],
2178
+ name: 'setPaymaster',
2179
+ outputs: [],
2180
+ stateMutability: 'nonpayable',
2181
+ type: 'function',
2182
+ },
2183
+ {
2184
+ inputs: [
2185
+ {
2186
+ name: '_chequeBook',
2187
+ type: 'address',
2188
+ },
2189
+ ],
2190
+ name: 'setChequeBook',
2191
+ outputs: [],
2192
+ stateMutability: 'nonpayable',
2193
+ type: 'function',
2194
+ },
2195
+ {
2196
+ inputs: [
2197
+ {
2198
+ name: '_migrator',
2199
+ type: 'address',
2200
+ },
2201
+ ],
2202
+ name: 'setMigrator',
2203
+ outputs: [],
2204
+ stateMutability: 'nonpayable',
2205
+ type: 'function',
2206
+ },
2207
+ {
2208
+ inputs: [
2209
+ {
2210
+ name: '_legoId',
2211
+ type: 'uint256',
2212
+ },
2213
+ {
2214
+ name: '_signer',
2215
+ type: 'address',
2216
+ },
2217
+ ],
2218
+ name: 'getActionDataBundle',
2219
+ outputs: [
2220
+ {
2221
+ components: [
2222
+ {
2223
+ name: 'ledger',
2224
+ type: 'address',
2225
+ },
2226
+ {
2227
+ name: 'missionControl',
2228
+ type: 'address',
2229
+ },
2230
+ {
2231
+ name: 'legoBook',
2232
+ type: 'address',
2233
+ },
2234
+ {
2235
+ name: 'hatchery',
2236
+ type: 'address',
2237
+ },
2238
+ {
2239
+ name: 'lootDistributor',
2240
+ type: 'address',
2241
+ },
2242
+ {
2243
+ name: 'appraiser',
2244
+ type: 'address',
2245
+ },
2246
+ {
2247
+ name: 'billing',
2248
+ type: 'address',
2249
+ },
2250
+ {
2251
+ name: 'wallet',
2252
+ type: 'address',
2253
+ },
2254
+ {
2255
+ name: 'walletConfig',
2256
+ type: 'address',
2257
+ },
2258
+ {
2259
+ name: 'walletOwner',
2260
+ type: 'address',
2261
+ },
2262
+ {
2263
+ name: 'inEjectMode',
2264
+ type: 'bool',
2265
+ },
2266
+ {
2267
+ name: 'isFrozen',
2268
+ type: 'bool',
2269
+ },
2270
+ {
2271
+ name: 'lastTotalUsdValue',
2272
+ type: 'uint256',
2273
+ },
2274
+ {
2275
+ name: 'signer',
2276
+ type: 'address',
2277
+ },
2278
+ {
2279
+ name: 'isManager',
2280
+ type: 'bool',
2281
+ },
2282
+ {
2283
+ name: 'legoId',
2284
+ type: 'uint256',
2285
+ },
2286
+ {
2287
+ name: 'legoAddr',
2288
+ type: 'address',
2289
+ },
2290
+ {
2291
+ name: 'eth',
2292
+ type: 'address',
2293
+ },
2294
+ {
2295
+ name: 'weth',
2296
+ type: 'address',
2297
+ },
2298
+ ],
2299
+ name: '',
2300
+ type: 'tuple',
2301
+ },
2302
+ ],
2303
+ stateMutability: 'view',
2304
+ type: 'function',
2305
+ },
2306
+ {
2307
+ inputs: [],
2308
+ name: 'wallet',
2309
+ outputs: [
2310
+ {
2311
+ name: '',
2312
+ type: 'address',
2313
+ },
2314
+ ],
2315
+ stateMutability: 'view',
2316
+ type: 'function',
2317
+ },
2318
+ {
2319
+ inputs: [],
2320
+ name: 'kernel',
2321
+ outputs: [
2322
+ {
2323
+ name: '',
2324
+ type: 'address',
2325
+ },
2326
+ ],
2327
+ stateMutability: 'view',
2328
+ type: 'function',
2329
+ },
2330
+ {
2331
+ inputs: [],
2332
+ name: 'sentinel',
2333
+ outputs: [
2334
+ {
2335
+ name: '',
2336
+ type: 'address',
2337
+ },
2338
+ ],
2339
+ stateMutability: 'view',
2340
+ type: 'function',
2341
+ },
2342
+ {
2343
+ inputs: [],
2344
+ name: 'highCommand',
2345
+ outputs: [
2346
+ {
2347
+ name: '',
2348
+ type: 'address',
2349
+ },
2350
+ ],
2351
+ stateMutability: 'view',
2352
+ type: 'function',
2353
+ },
2354
+ {
2355
+ inputs: [],
2356
+ name: 'paymaster',
2357
+ outputs: [
2358
+ {
2359
+ name: '',
2360
+ type: 'address',
2361
+ },
2362
+ ],
2363
+ stateMutability: 'view',
2364
+ type: 'function',
2365
+ },
2366
+ {
2367
+ inputs: [],
2368
+ name: 'chequeBook',
2369
+ outputs: [
2370
+ {
2371
+ name: '',
2372
+ type: 'address',
2373
+ },
2374
+ ],
2375
+ stateMutability: 'view',
2376
+ type: 'function',
2377
+ },
2378
+ {
2379
+ inputs: [],
2380
+ name: 'migrator',
2381
+ outputs: [
2382
+ {
2383
+ name: '',
2384
+ type: 'address',
2385
+ },
2386
+ ],
2387
+ stateMutability: 'view',
2388
+ type: 'function',
2389
+ },
2390
+ {
2391
+ inputs: [],
2392
+ name: 'trialFundsAsset',
2393
+ outputs: [
2394
+ {
2395
+ name: '',
2396
+ type: 'address',
2397
+ },
2398
+ ],
2399
+ stateMutability: 'view',
2400
+ type: 'function',
2401
+ },
2402
+ {
2403
+ inputs: [],
2404
+ name: 'trialFundsAmount',
2405
+ outputs: [
2406
+ {
2407
+ name: '',
2408
+ type: 'uint256',
2409
+ },
2410
+ ],
2411
+ stateMutability: 'view',
2412
+ type: 'function',
2413
+ },
2414
+ {
2415
+ inputs: [
2416
+ {
2417
+ name: 'arg0',
2418
+ type: 'address',
2419
+ },
2420
+ ],
2421
+ name: 'managerSettings',
2422
+ outputs: [
2423
+ {
2424
+ components: [
2425
+ {
2426
+ name: 'startBlock',
2427
+ type: 'uint256',
2428
+ },
2429
+ {
2430
+ name: 'expiryBlock',
2431
+ type: 'uint256',
2432
+ },
2433
+ {
2434
+ components: [
2435
+ {
2436
+ name: 'maxUsdValuePerTx',
2437
+ type: 'uint256',
2438
+ },
2439
+ {
2440
+ name: 'maxUsdValuePerPeriod',
2441
+ type: 'uint256',
2442
+ },
2443
+ {
2444
+ name: 'maxUsdValueLifetime',
2445
+ type: 'uint256',
2446
+ },
2447
+ {
2448
+ name: 'maxNumTxsPerPeriod',
2449
+ type: 'uint256',
2450
+ },
2451
+ {
2452
+ name: 'txCooldownBlocks',
2453
+ type: 'uint256',
2454
+ },
2455
+ {
2456
+ name: 'failOnZeroPrice',
2457
+ type: 'bool',
2458
+ },
2459
+ ],
2460
+ name: 'limits',
2461
+ type: 'tuple',
2462
+ },
2463
+ {
2464
+ components: [
2465
+ {
2466
+ name: 'canManageYield',
2467
+ type: 'bool',
2468
+ },
2469
+ {
2470
+ name: 'canBuyAndSell',
2471
+ type: 'bool',
2472
+ },
2473
+ {
2474
+ name: 'canManageDebt',
2475
+ type: 'bool',
2476
+ },
2477
+ {
2478
+ name: 'canManageLiq',
2479
+ type: 'bool',
2480
+ },
2481
+ {
2482
+ name: 'canClaimRewards',
2483
+ type: 'bool',
2484
+ },
2485
+ {
2486
+ name: 'allowedLegos',
2487
+ type: 'uint256[]',
2488
+ },
2489
+ ],
2490
+ name: 'legoPerms',
2491
+ type: 'tuple',
2492
+ },
2493
+ {
2494
+ components: [
2495
+ {
2496
+ name: 'canAddPending',
2497
+ type: 'bool',
2498
+ },
2499
+ {
2500
+ name: 'canConfirm',
2501
+ type: 'bool',
2502
+ },
2503
+ {
2504
+ name: 'canCancel',
2505
+ type: 'bool',
2506
+ },
2507
+ {
2508
+ name: 'canRemove',
2509
+ type: 'bool',
2510
+ },
2511
+ ],
2512
+ name: 'whitelistPerms',
2513
+ type: 'tuple',
2514
+ },
2515
+ {
2516
+ components: [
2517
+ {
2518
+ name: 'canTransfer',
2519
+ type: 'bool',
2520
+ },
2521
+ {
2522
+ name: 'canCreateCheque',
2523
+ type: 'bool',
2524
+ },
2525
+ {
2526
+ name: 'canAddPendingPayee',
2527
+ type: 'bool',
2528
+ },
2529
+ {
2530
+ name: 'allowedPayees',
2531
+ type: 'address[]',
2532
+ },
2533
+ ],
2534
+ name: 'transferPerms',
2535
+ type: 'tuple',
2536
+ },
2537
+ {
2538
+ name: 'allowedAssets',
2539
+ type: 'address[]',
2540
+ },
2541
+ {
2542
+ name: 'canClaimLoot',
2543
+ type: 'bool',
2544
+ },
2545
+ ],
2546
+ name: '',
2547
+ type: 'tuple',
2548
+ },
2549
+ ],
2550
+ stateMutability: 'view',
2551
+ type: 'function',
2552
+ },
2553
+ {
2554
+ inputs: [
2555
+ {
2556
+ name: 'arg0',
2557
+ type: 'address',
2558
+ },
2559
+ ],
2560
+ name: 'managerPeriodData',
2561
+ outputs: [
2562
+ {
2563
+ components: [
2564
+ {
2565
+ name: 'numTxsInPeriod',
2566
+ type: 'uint256',
2567
+ },
2568
+ {
2569
+ name: 'totalUsdValueInPeriod',
2570
+ type: 'uint256',
2571
+ },
2572
+ {
2573
+ name: 'totalNumTxs',
2574
+ type: 'uint256',
2575
+ },
2576
+ {
2577
+ name: 'totalUsdValue',
2578
+ type: 'uint256',
2579
+ },
2580
+ {
2581
+ name: 'lastTxBlock',
2582
+ type: 'uint256',
2583
+ },
2584
+ {
2585
+ name: 'periodStartBlock',
2586
+ type: 'uint256',
2587
+ },
2588
+ ],
2589
+ name: '',
2590
+ type: 'tuple',
2591
+ },
2592
+ ],
2593
+ stateMutability: 'view',
2594
+ type: 'function',
2595
+ },
2596
+ {
2597
+ inputs: [
2598
+ {
2599
+ name: 'arg0',
2600
+ type: 'uint256',
2601
+ },
2602
+ ],
2603
+ name: 'managers',
2604
+ outputs: [
2605
+ {
2606
+ name: '',
2607
+ type: 'address',
2608
+ },
2609
+ ],
2610
+ stateMutability: 'view',
2611
+ type: 'function',
2612
+ },
2613
+ {
2614
+ inputs: [
2615
+ {
2616
+ name: 'arg0',
2617
+ type: 'address',
2618
+ },
2619
+ ],
2620
+ name: 'indexOfManager',
2621
+ outputs: [
2622
+ {
2623
+ name: '',
2624
+ type: 'uint256',
2625
+ },
2626
+ ],
2627
+ stateMutability: 'view',
2628
+ type: 'function',
2629
+ },
2630
+ {
2631
+ inputs: [],
2632
+ name: 'numManagers',
2633
+ outputs: [
2634
+ {
2635
+ name: '',
2636
+ type: 'uint256',
2637
+ },
2638
+ ],
2639
+ stateMutability: 'view',
2640
+ type: 'function',
2641
+ },
2642
+ {
2643
+ inputs: [
2644
+ {
2645
+ name: 'arg0',
2646
+ type: 'address',
2647
+ },
2648
+ ],
2649
+ name: 'payeeSettings',
2650
+ outputs: [
2651
+ {
2652
+ components: [
2653
+ {
2654
+ name: 'startBlock',
2655
+ type: 'uint256',
2656
+ },
2657
+ {
2658
+ name: 'expiryBlock',
2659
+ type: 'uint256',
2660
+ },
2661
+ {
2662
+ name: 'canPull',
2663
+ type: 'bool',
2664
+ },
2665
+ {
2666
+ name: 'periodLength',
2667
+ type: 'uint256',
2668
+ },
2669
+ {
2670
+ name: 'maxNumTxsPerPeriod',
2671
+ type: 'uint256',
2672
+ },
2673
+ {
2674
+ name: 'txCooldownBlocks',
2675
+ type: 'uint256',
2676
+ },
2677
+ {
2678
+ name: 'failOnZeroPrice',
2679
+ type: 'bool',
2680
+ },
2681
+ {
2682
+ name: 'primaryAsset',
2683
+ type: 'address',
2684
+ },
2685
+ {
2686
+ name: 'onlyPrimaryAsset',
2687
+ type: 'bool',
2688
+ },
2689
+ {
2690
+ components: [
2691
+ {
2692
+ name: 'perTxCap',
2693
+ type: 'uint256',
2694
+ },
2695
+ {
2696
+ name: 'perPeriodCap',
2697
+ type: 'uint256',
2698
+ },
2699
+ {
2700
+ name: 'lifetimeCap',
2701
+ type: 'uint256',
2702
+ },
2703
+ ],
2704
+ name: 'unitLimits',
2705
+ type: 'tuple',
2706
+ },
2707
+ {
2708
+ components: [
2709
+ {
2710
+ name: 'perTxCap',
2711
+ type: 'uint256',
2712
+ },
2713
+ {
2714
+ name: 'perPeriodCap',
2715
+ type: 'uint256',
2716
+ },
2717
+ {
2718
+ name: 'lifetimeCap',
2719
+ type: 'uint256',
2720
+ },
2721
+ ],
2722
+ name: 'usdLimits',
2723
+ type: 'tuple',
2724
+ },
2725
+ ],
2726
+ name: '',
2727
+ type: 'tuple',
2728
+ },
2729
+ ],
2730
+ stateMutability: 'view',
2731
+ type: 'function',
2732
+ },
2733
+ {
2734
+ inputs: [
2735
+ {
2736
+ name: 'arg0',
2737
+ type: 'address',
2738
+ },
2739
+ ],
2740
+ name: 'payeePeriodData',
2741
+ outputs: [
2742
+ {
2743
+ components: [
2744
+ {
2745
+ name: 'numTxsInPeriod',
2746
+ type: 'uint256',
2747
+ },
2748
+ {
2749
+ name: 'totalUnitsInPeriod',
2750
+ type: 'uint256',
2751
+ },
2752
+ {
2753
+ name: 'totalUsdValueInPeriod',
2754
+ type: 'uint256',
2755
+ },
2756
+ {
2757
+ name: 'totalNumTxs',
2758
+ type: 'uint256',
2759
+ },
2760
+ {
2761
+ name: 'totalUnits',
2762
+ type: 'uint256',
2763
+ },
2764
+ {
2765
+ name: 'totalUsdValue',
2766
+ type: 'uint256',
2767
+ },
2768
+ {
2769
+ name: 'lastTxBlock',
2770
+ type: 'uint256',
2771
+ },
2772
+ {
2773
+ name: 'periodStartBlock',
2774
+ type: 'uint256',
2775
+ },
2776
+ ],
2777
+ name: '',
2778
+ type: 'tuple',
2779
+ },
2780
+ ],
2781
+ stateMutability: 'view',
2782
+ type: 'function',
2783
+ },
2784
+ {
2785
+ inputs: [
2786
+ {
2787
+ name: 'arg0',
2788
+ type: 'uint256',
2789
+ },
2790
+ ],
2791
+ name: 'payees',
2792
+ outputs: [
2793
+ {
2794
+ name: '',
2795
+ type: 'address',
2796
+ },
2797
+ ],
2798
+ stateMutability: 'view',
2799
+ type: 'function',
2800
+ },
2801
+ {
2802
+ inputs: [
2803
+ {
2804
+ name: 'arg0',
2805
+ type: 'address',
2806
+ },
2807
+ ],
2808
+ name: 'indexOfPayee',
2809
+ outputs: [
2810
+ {
2811
+ name: '',
2812
+ type: 'uint256',
2813
+ },
2814
+ ],
2815
+ stateMutability: 'view',
2816
+ type: 'function',
2817
+ },
2818
+ {
2819
+ inputs: [],
2820
+ name: 'numPayees',
2821
+ outputs: [
2822
+ {
2823
+ name: '',
2824
+ type: 'uint256',
2825
+ },
2826
+ ],
2827
+ stateMutability: 'view',
2828
+ type: 'function',
2829
+ },
2830
+ {
2831
+ inputs: [
2832
+ {
2833
+ name: 'arg0',
2834
+ type: 'address',
2835
+ },
2836
+ ],
2837
+ name: 'pendingPayees',
2838
+ outputs: [
2839
+ {
2840
+ components: [
2841
+ {
2842
+ components: [
2843
+ {
2844
+ name: 'startBlock',
2845
+ type: 'uint256',
2846
+ },
2847
+ {
2848
+ name: 'expiryBlock',
2849
+ type: 'uint256',
2850
+ },
2851
+ {
2852
+ name: 'canPull',
2853
+ type: 'bool',
2854
+ },
2855
+ {
2856
+ name: 'periodLength',
2857
+ type: 'uint256',
2858
+ },
2859
+ {
2860
+ name: 'maxNumTxsPerPeriod',
2861
+ type: 'uint256',
2862
+ },
2863
+ {
2864
+ name: 'txCooldownBlocks',
2865
+ type: 'uint256',
2866
+ },
2867
+ {
2868
+ name: 'failOnZeroPrice',
2869
+ type: 'bool',
2870
+ },
2871
+ {
2872
+ name: 'primaryAsset',
2873
+ type: 'address',
2874
+ },
2875
+ {
2876
+ name: 'onlyPrimaryAsset',
2877
+ type: 'bool',
2878
+ },
2879
+ {
2880
+ components: [
2881
+ {
2882
+ name: 'perTxCap',
2883
+ type: 'uint256',
2884
+ },
2885
+ {
2886
+ name: 'perPeriodCap',
2887
+ type: 'uint256',
2888
+ },
2889
+ {
2890
+ name: 'lifetimeCap',
2891
+ type: 'uint256',
2892
+ },
2893
+ ],
2894
+ name: 'unitLimits',
2895
+ type: 'tuple',
2896
+ },
2897
+ {
2898
+ components: [
2899
+ {
2900
+ name: 'perTxCap',
2901
+ type: 'uint256',
2902
+ },
2903
+ {
2904
+ name: 'perPeriodCap',
2905
+ type: 'uint256',
2906
+ },
2907
+ {
2908
+ name: 'lifetimeCap',
2909
+ type: 'uint256',
2910
+ },
2911
+ ],
2912
+ name: 'usdLimits',
2913
+ type: 'tuple',
2914
+ },
2915
+ ],
2916
+ name: 'settings',
2917
+ type: 'tuple',
2918
+ },
2919
+ {
2920
+ name: 'initiatedBlock',
2921
+ type: 'uint256',
2922
+ },
2923
+ {
2924
+ name: 'confirmBlock',
2925
+ type: 'uint256',
2926
+ },
2927
+ {
2928
+ name: 'currentOwner',
2929
+ type: 'address',
2930
+ },
2931
+ ],
2932
+ name: '',
2933
+ type: 'tuple',
2934
+ },
2935
+ ],
2936
+ stateMutability: 'view',
2937
+ type: 'function',
2938
+ },
2939
+ {
2940
+ inputs: [
2941
+ {
2942
+ name: 'arg0',
2943
+ type: 'uint256',
2944
+ },
2945
+ ],
2946
+ name: 'whitelistAddr',
2947
+ outputs: [
2948
+ {
2949
+ name: '',
2950
+ type: 'address',
2951
+ },
2952
+ ],
2953
+ stateMutability: 'view',
2954
+ type: 'function',
2955
+ },
2956
+ {
2957
+ inputs: [
2958
+ {
2959
+ name: 'arg0',
2960
+ type: 'address',
2961
+ },
2962
+ ],
2963
+ name: 'indexOfWhitelist',
2964
+ outputs: [
2965
+ {
2966
+ name: '',
2967
+ type: 'uint256',
2968
+ },
2969
+ ],
2970
+ stateMutability: 'view',
2971
+ type: 'function',
2972
+ },
2973
+ {
2974
+ inputs: [],
2975
+ name: 'numWhitelisted',
2976
+ outputs: [
2977
+ {
2978
+ name: '',
2979
+ type: 'uint256',
2980
+ },
2981
+ ],
2982
+ stateMutability: 'view',
2983
+ type: 'function',
2984
+ },
2985
+ {
2986
+ inputs: [
2987
+ {
2988
+ name: 'arg0',
2989
+ type: 'address',
2990
+ },
2991
+ ],
2992
+ name: 'pendingWhitelist',
2993
+ outputs: [
2994
+ {
2995
+ components: [
2996
+ {
2997
+ name: 'initiatedBlock',
2998
+ type: 'uint256',
2999
+ },
3000
+ {
3001
+ name: 'confirmBlock',
3002
+ type: 'uint256',
3003
+ },
3004
+ {
3005
+ name: 'currentOwner',
3006
+ type: 'address',
3007
+ },
3008
+ ],
3009
+ name: '',
3010
+ type: 'tuple',
3011
+ },
3012
+ ],
3013
+ stateMutability: 'view',
3014
+ type: 'function',
3015
+ },
3016
+ {
3017
+ inputs: [
3018
+ {
3019
+ name: 'arg0',
3020
+ type: 'address',
3021
+ },
3022
+ ],
3023
+ name: 'cheques',
3024
+ outputs: [
3025
+ {
3026
+ components: [
3027
+ {
3028
+ name: 'recipient',
3029
+ type: 'address',
3030
+ },
3031
+ {
3032
+ name: 'asset',
3033
+ type: 'address',
3034
+ },
3035
+ {
3036
+ name: 'amount',
3037
+ type: 'uint256',
3038
+ },
3039
+ {
3040
+ name: 'creationBlock',
3041
+ type: 'uint256',
3042
+ },
3043
+ {
3044
+ name: 'unlockBlock',
3045
+ type: 'uint256',
3046
+ },
3047
+ {
3048
+ name: 'expiryBlock',
3049
+ type: 'uint256',
3050
+ },
3051
+ {
3052
+ name: 'usdValueOnCreation',
3053
+ type: 'uint256',
3054
+ },
3055
+ {
3056
+ name: 'canManagerPay',
3057
+ type: 'bool',
3058
+ },
3059
+ {
3060
+ name: 'canBePulled',
3061
+ type: 'bool',
3062
+ },
3063
+ {
3064
+ name: 'creator',
3065
+ type: 'address',
3066
+ },
3067
+ {
3068
+ name: 'active',
3069
+ type: 'bool',
3070
+ },
3071
+ ],
3072
+ name: '',
3073
+ type: 'tuple',
3074
+ },
3075
+ ],
3076
+ stateMutability: 'view',
3077
+ type: 'function',
3078
+ },
3079
+ {
3080
+ inputs: [],
3081
+ name: 'chequeSettings',
3082
+ outputs: [
3083
+ {
3084
+ components: [
3085
+ {
3086
+ name: 'maxNumActiveCheques',
3087
+ type: 'uint256',
3088
+ },
3089
+ {
3090
+ name: 'maxChequeUsdValue',
3091
+ type: 'uint256',
3092
+ },
3093
+ {
3094
+ name: 'instantUsdThreshold',
3095
+ type: 'uint256',
3096
+ },
3097
+ {
3098
+ name: 'perPeriodPaidUsdCap',
3099
+ type: 'uint256',
3100
+ },
3101
+ {
3102
+ name: 'maxNumChequesPaidPerPeriod',
3103
+ type: 'uint256',
3104
+ },
3105
+ {
3106
+ name: 'payCooldownBlocks',
3107
+ type: 'uint256',
3108
+ },
3109
+ {
3110
+ name: 'perPeriodCreatedUsdCap',
3111
+ type: 'uint256',
3112
+ },
3113
+ {
3114
+ name: 'maxNumChequesCreatedPerPeriod',
3115
+ type: 'uint256',
3116
+ },
3117
+ {
3118
+ name: 'createCooldownBlocks',
3119
+ type: 'uint256',
3120
+ },
3121
+ {
3122
+ name: 'periodLength',
3123
+ type: 'uint256',
3124
+ },
3125
+ {
3126
+ name: 'expensiveDelayBlocks',
3127
+ type: 'uint256',
3128
+ },
3129
+ {
3130
+ name: 'defaultExpiryBlocks',
3131
+ type: 'uint256',
3132
+ },
3133
+ {
3134
+ name: 'allowedAssets',
3135
+ type: 'address[]',
3136
+ },
3137
+ {
3138
+ name: 'canManagersCreateCheques',
3139
+ type: 'bool',
3140
+ },
3141
+ {
3142
+ name: 'canManagerPay',
3143
+ type: 'bool',
3144
+ },
3145
+ {
3146
+ name: 'canBePulled',
3147
+ type: 'bool',
3148
+ },
3149
+ ],
3150
+ name: '',
3151
+ type: 'tuple',
3152
+ },
3153
+ ],
3154
+ stateMutability: 'view',
3155
+ type: 'function',
3156
+ },
3157
+ {
3158
+ inputs: [],
3159
+ name: 'chequePeriodData',
3160
+ outputs: [
3161
+ {
3162
+ components: [
3163
+ {
3164
+ name: 'numChequesPaidInPeriod',
3165
+ type: 'uint256',
3166
+ },
3167
+ {
3168
+ name: 'totalUsdValuePaidInPeriod',
3169
+ type: 'uint256',
3170
+ },
3171
+ {
3172
+ name: 'totalNumChequesPaid',
3173
+ type: 'uint256',
3174
+ },
3175
+ {
3176
+ name: 'totalUsdValuePaid',
3177
+ type: 'uint256',
3178
+ },
3179
+ {
3180
+ name: 'lastChequePaidBlock',
3181
+ type: 'uint256',
3182
+ },
3183
+ {
3184
+ name: 'numChequesCreatedInPeriod',
3185
+ type: 'uint256',
3186
+ },
3187
+ {
3188
+ name: 'totalUsdValueCreatedInPeriod',
3189
+ type: 'uint256',
3190
+ },
3191
+ {
3192
+ name: 'totalNumChequesCreated',
3193
+ type: 'uint256',
3194
+ },
3195
+ {
3196
+ name: 'totalUsdValueCreated',
3197
+ type: 'uint256',
3198
+ },
3199
+ {
3200
+ name: 'lastChequeCreatedBlock',
3201
+ type: 'uint256',
3202
+ },
3203
+ {
3204
+ name: 'periodStartBlock',
3205
+ type: 'uint256',
3206
+ },
3207
+ ],
3208
+ name: '',
3209
+ type: 'tuple',
3210
+ },
3211
+ ],
3212
+ stateMutability: 'view',
3213
+ type: 'function',
3214
+ },
3215
+ {
3216
+ inputs: [],
3217
+ name: 'numActiveCheques',
3218
+ outputs: [
3219
+ {
3220
+ name: '',
3221
+ type: 'uint256',
3222
+ },
3223
+ ],
3224
+ stateMutability: 'view',
3225
+ type: 'function',
3226
+ },
3227
+ {
3228
+ inputs: [],
3229
+ name: 'globalManagerSettings',
3230
+ outputs: [
3231
+ {
3232
+ components: [
3233
+ {
3234
+ name: 'managerPeriod',
3235
+ type: 'uint256',
3236
+ },
3237
+ {
3238
+ name: 'startDelay',
3239
+ type: 'uint256',
3240
+ },
3241
+ {
3242
+ name: 'activationLength',
3243
+ type: 'uint256',
3244
+ },
3245
+ {
3246
+ name: 'canOwnerManage',
3247
+ type: 'bool',
3248
+ },
3249
+ {
3250
+ components: [
3251
+ {
3252
+ name: 'maxUsdValuePerTx',
3253
+ type: 'uint256',
3254
+ },
3255
+ {
3256
+ name: 'maxUsdValuePerPeriod',
3257
+ type: 'uint256',
3258
+ },
3259
+ {
3260
+ name: 'maxUsdValueLifetime',
3261
+ type: 'uint256',
3262
+ },
3263
+ {
3264
+ name: 'maxNumTxsPerPeriod',
3265
+ type: 'uint256',
3266
+ },
3267
+ {
3268
+ name: 'txCooldownBlocks',
3269
+ type: 'uint256',
3270
+ },
3271
+ {
3272
+ name: 'failOnZeroPrice',
3273
+ type: 'bool',
3274
+ },
3275
+ ],
3276
+ name: 'limits',
3277
+ type: 'tuple',
3278
+ },
3279
+ {
3280
+ components: [
3281
+ {
3282
+ name: 'canManageYield',
3283
+ type: 'bool',
3284
+ },
3285
+ {
3286
+ name: 'canBuyAndSell',
3287
+ type: 'bool',
3288
+ },
3289
+ {
3290
+ name: 'canManageDebt',
3291
+ type: 'bool',
3292
+ },
3293
+ {
3294
+ name: 'canManageLiq',
3295
+ type: 'bool',
3296
+ },
3297
+ {
3298
+ name: 'canClaimRewards',
3299
+ type: 'bool',
3300
+ },
3301
+ {
3302
+ name: 'allowedLegos',
3303
+ type: 'uint256[]',
3304
+ },
3305
+ ],
3306
+ name: 'legoPerms',
3307
+ type: 'tuple',
3308
+ },
3309
+ {
3310
+ components: [
3311
+ {
3312
+ name: 'canAddPending',
3313
+ type: 'bool',
3314
+ },
3315
+ {
3316
+ name: 'canConfirm',
3317
+ type: 'bool',
3318
+ },
3319
+ {
3320
+ name: 'canCancel',
3321
+ type: 'bool',
3322
+ },
3323
+ {
3324
+ name: 'canRemove',
3325
+ type: 'bool',
3326
+ },
3327
+ ],
3328
+ name: 'whitelistPerms',
3329
+ type: 'tuple',
3330
+ },
3331
+ {
3332
+ components: [
3333
+ {
3334
+ name: 'canTransfer',
3335
+ type: 'bool',
3336
+ },
3337
+ {
3338
+ name: 'canCreateCheque',
3339
+ type: 'bool',
3340
+ },
3341
+ {
3342
+ name: 'canAddPendingPayee',
3343
+ type: 'bool',
3344
+ },
3345
+ {
3346
+ name: 'allowedPayees',
3347
+ type: 'address[]',
3348
+ },
3349
+ ],
3350
+ name: 'transferPerms',
3351
+ type: 'tuple',
3352
+ },
3353
+ {
3354
+ name: 'allowedAssets',
3355
+ type: 'address[]',
3356
+ },
3357
+ ],
3358
+ name: '',
3359
+ type: 'tuple',
3360
+ },
3361
+ ],
3362
+ stateMutability: 'view',
3363
+ type: 'function',
3364
+ },
3365
+ {
3366
+ inputs: [],
3367
+ name: 'globalPayeeSettings',
3368
+ outputs: [
3369
+ {
3370
+ components: [
3371
+ {
3372
+ name: 'defaultPeriodLength',
3373
+ type: 'uint256',
3374
+ },
3375
+ {
3376
+ name: 'startDelay',
3377
+ type: 'uint256',
3378
+ },
3379
+ {
3380
+ name: 'activationLength',
3381
+ type: 'uint256',
3382
+ },
3383
+ {
3384
+ name: 'maxNumTxsPerPeriod',
3385
+ type: 'uint256',
3386
+ },
3387
+ {
3388
+ name: 'txCooldownBlocks',
3389
+ type: 'uint256',
3390
+ },
3391
+ {
3392
+ name: 'failOnZeroPrice',
3393
+ type: 'bool',
3394
+ },
3395
+ {
3396
+ components: [
3397
+ {
3398
+ name: 'perTxCap',
3399
+ type: 'uint256',
3400
+ },
3401
+ {
3402
+ name: 'perPeriodCap',
3403
+ type: 'uint256',
3404
+ },
3405
+ {
3406
+ name: 'lifetimeCap',
3407
+ type: 'uint256',
3408
+ },
3409
+ ],
3410
+ name: 'usdLimits',
3411
+ type: 'tuple',
3412
+ },
3413
+ {
3414
+ name: 'canPayOwner',
3415
+ type: 'bool',
3416
+ },
3417
+ {
3418
+ name: 'canPull',
3419
+ type: 'bool',
3420
+ },
3421
+ ],
3422
+ name: '',
3423
+ type: 'tuple',
3424
+ },
3425
+ ],
3426
+ stateMutability: 'view',
3427
+ type: 'function',
3428
+ },
3429
+ {
3430
+ inputs: [],
3431
+ name: 'timeLock',
3432
+ outputs: [
3433
+ {
3434
+ name: '',
3435
+ type: 'uint256',
3436
+ },
3437
+ ],
3438
+ stateMutability: 'view',
3439
+ type: 'function',
3440
+ },
3441
+ {
3442
+ inputs: [],
3443
+ name: 'isFrozen',
3444
+ outputs: [
3445
+ {
3446
+ name: '',
3447
+ type: 'bool',
3448
+ },
3449
+ ],
3450
+ stateMutability: 'view',
3451
+ type: 'function',
3452
+ },
3453
+ {
3454
+ inputs: [],
3455
+ name: 'inEjectMode',
3456
+ outputs: [
3457
+ {
3458
+ name: '',
3459
+ type: 'bool',
3460
+ },
3461
+ ],
3462
+ stateMutability: 'view',
3463
+ type: 'function',
3464
+ },
3465
+ {
3466
+ inputs: [],
3467
+ name: 'groupId',
3468
+ outputs: [
3469
+ {
3470
+ name: '',
3471
+ type: 'uint256',
3472
+ },
3473
+ ],
3474
+ stateMutability: 'view',
3475
+ type: 'function',
3476
+ },
3477
+ {
3478
+ inputs: [],
3479
+ name: 'startingAgent',
3480
+ outputs: [
3481
+ {
3482
+ name: '',
3483
+ type: 'address',
3484
+ },
3485
+ ],
3486
+ stateMutability: 'view',
3487
+ type: 'function',
3488
+ },
3489
+ {
3490
+ inputs: [],
3491
+ name: 'didSetWallet',
3492
+ outputs: [
3493
+ {
3494
+ name: '',
3495
+ type: 'bool',
3496
+ },
3497
+ ],
3498
+ stateMutability: 'view',
3499
+ type: 'function',
3500
+ },
3501
+ {
3502
+ inputs: [],
3503
+ name: 'UNDY_HQ',
3504
+ outputs: [
3505
+ {
3506
+ name: '',
3507
+ type: 'address',
3508
+ },
3509
+ ],
3510
+ stateMutability: 'view',
3511
+ type: 'function',
3512
+ },
3513
+ {
3514
+ inputs: [],
3515
+ name: 'WETH',
3516
+ outputs: [
3517
+ {
3518
+ name: '',
3519
+ type: 'address',
3520
+ },
3521
+ ],
3522
+ stateMutability: 'view',
3523
+ type: 'function',
3524
+ },
3525
+ {
3526
+ inputs: [],
3527
+ name: 'ETH',
3528
+ outputs: [
3529
+ {
3530
+ name: '',
3531
+ type: 'address',
3532
+ },
3533
+ ],
3534
+ stateMutability: 'view',
3535
+ type: 'function',
3536
+ },
3537
+ {
3538
+ inputs: [],
3539
+ name: 'MIN_TIMELOCK',
3540
+ outputs: [
3541
+ {
3542
+ name: '',
3543
+ type: 'uint256',
3544
+ },
3545
+ ],
3546
+ stateMutability: 'view',
3547
+ type: 'function',
3548
+ },
3549
+ {
3550
+ inputs: [],
3551
+ name: 'MAX_TIMELOCK',
3552
+ outputs: [
3553
+ {
3554
+ name: '',
3555
+ type: 'uint256',
3556
+ },
3557
+ ],
3558
+ stateMutability: 'view',
3559
+ type: 'function',
3560
+ },
3561
+ {
3562
+ inputs: [
3563
+ {
3564
+ name: '_undyHq',
3565
+ type: 'address',
3566
+ },
3567
+ {
3568
+ name: '_owner',
3569
+ type: 'address',
3570
+ },
3571
+ {
3572
+ name: '_groupId',
3573
+ type: 'uint256',
3574
+ },
3575
+ {
3576
+ name: '_trialFundsAsset',
3577
+ type: 'address',
3578
+ },
3579
+ {
3580
+ name: '_trialFundsAmount',
3581
+ type: 'uint256',
3582
+ },
3583
+ {
3584
+ components: [
3585
+ {
3586
+ name: 'managerPeriod',
3587
+ type: 'uint256',
3588
+ },
3589
+ {
3590
+ name: 'startDelay',
3591
+ type: 'uint256',
3592
+ },
3593
+ {
3594
+ name: 'activationLength',
3595
+ type: 'uint256',
3596
+ },
3597
+ {
3598
+ name: 'canOwnerManage',
3599
+ type: 'bool',
3600
+ },
3601
+ {
3602
+ components: [
3603
+ {
3604
+ name: 'maxUsdValuePerTx',
3605
+ type: 'uint256',
3606
+ },
3607
+ {
3608
+ name: 'maxUsdValuePerPeriod',
3609
+ type: 'uint256',
3610
+ },
3611
+ {
3612
+ name: 'maxUsdValueLifetime',
3613
+ type: 'uint256',
3614
+ },
3615
+ {
3616
+ name: 'maxNumTxsPerPeriod',
3617
+ type: 'uint256',
3618
+ },
3619
+ {
3620
+ name: 'txCooldownBlocks',
3621
+ type: 'uint256',
3622
+ },
3623
+ {
3624
+ name: 'failOnZeroPrice',
3625
+ type: 'bool',
3626
+ },
3627
+ ],
3628
+ name: 'limits',
3629
+ type: 'tuple',
3630
+ },
3631
+ {
3632
+ components: [
3633
+ {
3634
+ name: 'canManageYield',
3635
+ type: 'bool',
3636
+ },
3637
+ {
3638
+ name: 'canBuyAndSell',
3639
+ type: 'bool',
3640
+ },
3641
+ {
3642
+ name: 'canManageDebt',
3643
+ type: 'bool',
3644
+ },
3645
+ {
3646
+ name: 'canManageLiq',
3647
+ type: 'bool',
3648
+ },
3649
+ {
3650
+ name: 'canClaimRewards',
3651
+ type: 'bool',
3652
+ },
3653
+ {
3654
+ name: 'allowedLegos',
3655
+ type: 'uint256[]',
3656
+ },
3657
+ ],
3658
+ name: 'legoPerms',
3659
+ type: 'tuple',
3660
+ },
3661
+ {
3662
+ components: [
3663
+ {
3664
+ name: 'canAddPending',
3665
+ type: 'bool',
3666
+ },
3667
+ {
3668
+ name: 'canConfirm',
3669
+ type: 'bool',
3670
+ },
3671
+ {
3672
+ name: 'canCancel',
3673
+ type: 'bool',
3674
+ },
3675
+ {
3676
+ name: 'canRemove',
3677
+ type: 'bool',
3678
+ },
3679
+ ],
3680
+ name: 'whitelistPerms',
3681
+ type: 'tuple',
3682
+ },
3683
+ {
3684
+ components: [
3685
+ {
3686
+ name: 'canTransfer',
3687
+ type: 'bool',
3688
+ },
3689
+ {
3690
+ name: 'canCreateCheque',
3691
+ type: 'bool',
3692
+ },
3693
+ {
3694
+ name: 'canAddPendingPayee',
3695
+ type: 'bool',
3696
+ },
3697
+ {
3698
+ name: 'allowedPayees',
3699
+ type: 'address[]',
3700
+ },
3701
+ ],
3702
+ name: 'transferPerms',
3703
+ type: 'tuple',
3704
+ },
3705
+ {
3706
+ name: 'allowedAssets',
3707
+ type: 'address[]',
3708
+ },
3709
+ ],
3710
+ name: '_globalManagerSettings',
3711
+ type: 'tuple',
3712
+ },
3713
+ {
3714
+ components: [
3715
+ {
3716
+ name: 'defaultPeriodLength',
3717
+ type: 'uint256',
3718
+ },
3719
+ {
3720
+ name: 'startDelay',
3721
+ type: 'uint256',
3722
+ },
3723
+ {
3724
+ name: 'activationLength',
3725
+ type: 'uint256',
3726
+ },
3727
+ {
3728
+ name: 'maxNumTxsPerPeriod',
3729
+ type: 'uint256',
3730
+ },
3731
+ {
3732
+ name: 'txCooldownBlocks',
3733
+ type: 'uint256',
3734
+ },
3735
+ {
3736
+ name: 'failOnZeroPrice',
3737
+ type: 'bool',
3738
+ },
3739
+ {
3740
+ components: [
3741
+ {
3742
+ name: 'perTxCap',
3743
+ type: 'uint256',
3744
+ },
3745
+ {
3746
+ name: 'perPeriodCap',
3747
+ type: 'uint256',
3748
+ },
3749
+ {
3750
+ name: 'lifetimeCap',
3751
+ type: 'uint256',
3752
+ },
3753
+ ],
3754
+ name: 'usdLimits',
3755
+ type: 'tuple',
3756
+ },
3757
+ {
3758
+ name: 'canPayOwner',
3759
+ type: 'bool',
3760
+ },
3761
+ {
3762
+ name: 'canPull',
3763
+ type: 'bool',
3764
+ },
3765
+ ],
3766
+ name: '_globalPayeeSettings',
3767
+ type: 'tuple',
3768
+ },
3769
+ {
3770
+ components: [
3771
+ {
3772
+ name: 'maxNumActiveCheques',
3773
+ type: 'uint256',
3774
+ },
3775
+ {
3776
+ name: 'maxChequeUsdValue',
3777
+ type: 'uint256',
3778
+ },
3779
+ {
3780
+ name: 'instantUsdThreshold',
3781
+ type: 'uint256',
3782
+ },
3783
+ {
3784
+ name: 'perPeriodPaidUsdCap',
3785
+ type: 'uint256',
3786
+ },
3787
+ {
3788
+ name: 'maxNumChequesPaidPerPeriod',
3789
+ type: 'uint256',
3790
+ },
3791
+ {
3792
+ name: 'payCooldownBlocks',
3793
+ type: 'uint256',
3794
+ },
3795
+ {
3796
+ name: 'perPeriodCreatedUsdCap',
3797
+ type: 'uint256',
3798
+ },
3799
+ {
3800
+ name: 'maxNumChequesCreatedPerPeriod',
3801
+ type: 'uint256',
3802
+ },
3803
+ {
3804
+ name: 'createCooldownBlocks',
3805
+ type: 'uint256',
3806
+ },
3807
+ {
3808
+ name: 'periodLength',
3809
+ type: 'uint256',
3810
+ },
3811
+ {
3812
+ name: 'expensiveDelayBlocks',
3813
+ type: 'uint256',
3814
+ },
3815
+ {
3816
+ name: 'defaultExpiryBlocks',
3817
+ type: 'uint256',
3818
+ },
3819
+ {
3820
+ name: 'allowedAssets',
3821
+ type: 'address[]',
3822
+ },
3823
+ {
3824
+ name: 'canManagersCreateCheques',
3825
+ type: 'bool',
3826
+ },
3827
+ {
3828
+ name: 'canManagerPay',
3829
+ type: 'bool',
3830
+ },
3831
+ {
3832
+ name: 'canBePulled',
3833
+ type: 'bool',
3834
+ },
3835
+ ],
3836
+ name: '_chequeSettings',
3837
+ type: 'tuple',
3838
+ },
3839
+ {
3840
+ name: '_startingAgent',
3841
+ type: 'address',
3842
+ },
3843
+ {
3844
+ components: [
3845
+ {
3846
+ name: 'startBlock',
3847
+ type: 'uint256',
3848
+ },
3849
+ {
3850
+ name: 'expiryBlock',
3851
+ type: 'uint256',
3852
+ },
3853
+ {
3854
+ components: [
3855
+ {
3856
+ name: 'maxUsdValuePerTx',
3857
+ type: 'uint256',
3858
+ },
3859
+ {
3860
+ name: 'maxUsdValuePerPeriod',
3861
+ type: 'uint256',
3862
+ },
3863
+ {
3864
+ name: 'maxUsdValueLifetime',
3865
+ type: 'uint256',
3866
+ },
3867
+ {
3868
+ name: 'maxNumTxsPerPeriod',
3869
+ type: 'uint256',
3870
+ },
3871
+ {
3872
+ name: 'txCooldownBlocks',
3873
+ type: 'uint256',
3874
+ },
3875
+ {
3876
+ name: 'failOnZeroPrice',
3877
+ type: 'bool',
3878
+ },
3879
+ ],
3880
+ name: 'limits',
3881
+ type: 'tuple',
3882
+ },
3883
+ {
3884
+ components: [
3885
+ {
3886
+ name: 'canManageYield',
3887
+ type: 'bool',
3888
+ },
3889
+ {
3890
+ name: 'canBuyAndSell',
3891
+ type: 'bool',
3892
+ },
3893
+ {
3894
+ name: 'canManageDebt',
3895
+ type: 'bool',
3896
+ },
3897
+ {
3898
+ name: 'canManageLiq',
3899
+ type: 'bool',
3900
+ },
3901
+ {
3902
+ name: 'canClaimRewards',
3903
+ type: 'bool',
3904
+ },
3905
+ {
3906
+ name: 'allowedLegos',
3907
+ type: 'uint256[]',
3908
+ },
3909
+ ],
3910
+ name: 'legoPerms',
3911
+ type: 'tuple',
3912
+ },
3913
+ {
3914
+ components: [
3915
+ {
3916
+ name: 'canAddPending',
3917
+ type: 'bool',
3918
+ },
3919
+ {
3920
+ name: 'canConfirm',
3921
+ type: 'bool',
3922
+ },
3923
+ {
3924
+ name: 'canCancel',
3925
+ type: 'bool',
3926
+ },
3927
+ {
3928
+ name: 'canRemove',
3929
+ type: 'bool',
3930
+ },
3931
+ ],
3932
+ name: 'whitelistPerms',
3933
+ type: 'tuple',
3934
+ },
3935
+ {
3936
+ components: [
3937
+ {
3938
+ name: 'canTransfer',
3939
+ type: 'bool',
3940
+ },
3941
+ {
3942
+ name: 'canCreateCheque',
3943
+ type: 'bool',
3944
+ },
3945
+ {
3946
+ name: 'canAddPendingPayee',
3947
+ type: 'bool',
3948
+ },
3949
+ {
3950
+ name: 'allowedPayees',
3951
+ type: 'address[]',
3952
+ },
3953
+ ],
3954
+ name: 'transferPerms',
3955
+ type: 'tuple',
3956
+ },
3957
+ {
3958
+ name: 'allowedAssets',
3959
+ type: 'address[]',
3960
+ },
3961
+ {
3962
+ name: 'canClaimLoot',
3963
+ type: 'bool',
3964
+ },
3965
+ ],
3966
+ name: '_starterAgentSettings',
3967
+ type: 'tuple',
3968
+ },
3969
+ {
3970
+ name: '_kernel',
3971
+ type: 'address',
3972
+ },
3973
+ {
3974
+ name: '_sentinel',
3975
+ type: 'address',
3976
+ },
3977
+ {
3978
+ name: '_highCommand',
3979
+ type: 'address',
3980
+ },
3981
+ {
3982
+ name: '_paymaster',
3983
+ type: 'address',
3984
+ },
3985
+ {
3986
+ name: '_chequeBook',
3987
+ type: 'address',
3988
+ },
3989
+ {
3990
+ name: '_migrator',
3991
+ type: 'address',
3992
+ },
3993
+ {
3994
+ name: '_wethAddr',
3995
+ type: 'address',
3996
+ },
3997
+ {
3998
+ name: '_ethAddr',
3999
+ type: 'address',
4000
+ },
4001
+ {
4002
+ name: '_minTimeLock',
4003
+ type: 'uint256',
4004
+ },
4005
+ {
4006
+ name: '_maxTimeLock',
4007
+ type: 'uint256',
4008
+ },
4009
+ ],
4010
+ outputs: [],
4011
+ stateMutability: 'nonpayable',
4012
+ type: 'constructor',
4013
+ },
4014
+ ];
4015
+ export const deployAddress = '0x0E7064202c4F906Adc4D9F6D3C92470b62F624F1';
4016
+ function getRequest(method, args, contractAddressOrOptions) {
4017
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
4018
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
4019
+ const call = {
4020
+ contractName: 'UserWalletConfigV1',
4021
+ method,
4022
+ args,
4023
+ address,
4024
+ deployAddress,
4025
+ defaultValue,
4026
+ getAbi: () => abi,
4027
+ with: (options) => {
4028
+ call.address = options.contractAddress;
4029
+ call.defaultValue = options.defaultValue;
4030
+ return call;
4031
+ },
4032
+ defaultTo: (defaultValue) => {
4033
+ call.defaultValue = defaultValue;
4034
+ return call;
4035
+ },
4036
+ at: (address) => {
4037
+ call.address = address;
4038
+ return call;
4039
+ },
4040
+ };
4041
+ return call;
4042
+ }
4043
+ export const call = {
4044
+ hasPendingOwnerChange: (...args) => getRequest('hasPendingOwnerChange', args),
4045
+ owner: (...args) => getRequest('owner', args),
4046
+ ownershipTimeLock: (...args) => getRequest('ownershipTimeLock', args),
4047
+ pendingOwner: (...args) => getRequest('pendingOwner', args),
4048
+ MIN_OWNERSHIP_TIMELOCK: (...args) => getRequest('MIN_OWNERSHIP_TIMELOCK', args),
4049
+ MAX_OWNERSHIP_TIMELOCK: (...args) => getRequest('MAX_OWNERSHIP_TIMELOCK', args),
4050
+ apiVersion: (...args) => getRequest('apiVersion', args),
4051
+ checkSignerPermissionsAndGetBundle: (...args) => getRequest('checkSignerPermissionsAndGetBundle', args),
4052
+ getTrialFundsInfo: (...args) => getRequest('getTrialFundsInfo', args),
4053
+ getActionDataBundle: (...args) => getRequest('getActionDataBundle', args),
4054
+ wallet: (...args) => getRequest('wallet', args),
4055
+ kernel: (...args) => getRequest('kernel', args),
4056
+ sentinel: (...args) => getRequest('sentinel', args),
4057
+ highCommand: (...args) => getRequest('highCommand', args),
4058
+ paymaster: (...args) => getRequest('paymaster', args),
4059
+ chequeBook: (...args) => getRequest('chequeBook', args),
4060
+ migrator: (...args) => getRequest('migrator', args),
4061
+ trialFundsAsset: (...args) => getRequest('trialFundsAsset', args),
4062
+ trialFundsAmount: (...args) => getRequest('trialFundsAmount', args),
4063
+ managerSettings: (...args) => getRequest('managerSettings', args),
4064
+ managerPeriodData: (...args) => getRequest('managerPeriodData', args),
4065
+ managers: (...args) => getRequest('managers', args),
4066
+ indexOfManager: (...args) => getRequest('indexOfManager', args),
4067
+ numManagers: (...args) => getRequest('numManagers', args),
4068
+ payeeSettings: (...args) => getRequest('payeeSettings', args),
4069
+ payeePeriodData: (...args) => getRequest('payeePeriodData', args),
4070
+ payees: (...args) => getRequest('payees', args),
4071
+ indexOfPayee: (...args) => getRequest('indexOfPayee', args),
4072
+ numPayees: (...args) => getRequest('numPayees', args),
4073
+ pendingPayees: (...args) => getRequest('pendingPayees', args),
4074
+ whitelistAddr: (...args) => getRequest('whitelistAddr', args),
4075
+ indexOfWhitelist: (...args) => getRequest('indexOfWhitelist', args),
4076
+ numWhitelisted: (...args) => getRequest('numWhitelisted', args),
4077
+ pendingWhitelist: (...args) => getRequest('pendingWhitelist', args),
4078
+ cheques: (...args) => getRequest('cheques', args),
4079
+ chequeSettings: (...args) => getRequest('chequeSettings', args),
4080
+ chequePeriodData: (...args) => getRequest('chequePeriodData', args),
4081
+ numActiveCheques: (...args) => getRequest('numActiveCheques', args),
4082
+ globalManagerSettings: (...args) => getRequest('globalManagerSettings', args),
4083
+ globalPayeeSettings: (...args) => getRequest('globalPayeeSettings', args),
4084
+ timeLock: (...args) => getRequest('timeLock', args),
4085
+ isFrozen: (...args) => getRequest('isFrozen', args),
4086
+ inEjectMode: (...args) => getRequest('inEjectMode', args),
4087
+ groupId: (...args) => getRequest('groupId', args),
4088
+ startingAgent: (...args) => getRequest('startingAgent', args),
4089
+ didSetWallet: (...args) => getRequest('didSetWallet', args),
4090
+ UNDY_HQ: (...args) => getRequest('UNDY_HQ', args),
4091
+ WETH: (...args) => getRequest('WETH', args),
4092
+ ETH: (...args) => getRequest('ETH', args),
4093
+ MIN_TIMELOCK: (...args) => getRequest('MIN_TIMELOCK', args),
4094
+ MAX_TIMELOCK: (...args) => getRequest('MAX_TIMELOCK', args),
4095
+ };
4096
+ function getMutation(functionName) {
4097
+ return {
4098
+ contractName: 'UserWalletConfigV1',
4099
+ functionName,
4100
+ deployAddress,
4101
+ argsType: undefined,
4102
+ getAbi: () => abi,
4103
+ };
4104
+ }
4105
+ export const mutation = {
4106
+ changeOwnership: getMutation('changeOwnership'),
4107
+ confirmOwnershipChange: getMutation('confirmOwnershipChange'),
4108
+ cancelOwnershipChange: getMutation('cancelOwnershipChange'),
4109
+ setOwnershipTimeLock: getMutation('setOwnershipTimeLock'),
4110
+ setWallet: getMutation('setWallet'),
4111
+ checkManagerUsdLimitsAndUpdateData: getMutation('checkManagerUsdLimitsAndUpdateData'),
4112
+ checkRecipientLimitsAndUpdateData: getMutation('checkRecipientLimitsAndUpdateData'),
4113
+ validateCheque: getMutation('validateCheque'),
4114
+ addPendingWhitelistAddr: getMutation('addPendingWhitelistAddr'),
4115
+ cancelPendingWhitelistAddr: getMutation('cancelPendingWhitelistAddr'),
4116
+ confirmWhitelistAddr: getMutation('confirmWhitelistAddr'),
4117
+ addWhitelistAddrViaMigrator: getMutation('addWhitelistAddrViaMigrator'),
4118
+ removeWhitelistAddr: getMutation('removeWhitelistAddr'),
4119
+ addManager: getMutation('addManager'),
4120
+ updateManager: getMutation('updateManager'),
4121
+ removeManager: getMutation('removeManager'),
4122
+ setGlobalManagerSettings: getMutation('setGlobalManagerSettings'),
4123
+ addPayee: getMutation('addPayee'),
4124
+ updatePayee: getMutation('updatePayee'),
4125
+ removePayee: getMutation('removePayee'),
4126
+ setGlobalPayeeSettings: getMutation('setGlobalPayeeSettings'),
4127
+ addPendingPayee: getMutation('addPendingPayee'),
4128
+ confirmPendingPayee: getMutation('confirmPendingPayee'),
4129
+ cancelPendingPayee: getMutation('cancelPendingPayee'),
4130
+ createCheque: getMutation('createCheque'),
4131
+ cancelCheque: getMutation('cancelCheque'),
4132
+ setChequeSettings: getMutation('setChequeSettings'),
4133
+ updateAssetData: getMutation('updateAssetData'),
4134
+ updateAllAssetData: getMutation('updateAllAssetData'),
4135
+ removeTrialFunds: getMutation('removeTrialFunds'),
4136
+ migrateFunds: getMutation('migrateFunds'),
4137
+ preparePayment: getMutation('preparePayment'),
4138
+ deregisterAsset: getMutation('deregisterAsset'),
4139
+ recoverNft: getMutation('recoverNft'),
4140
+ setFrozen: getMutation('setFrozen'),
4141
+ setEjectionMode: getMutation('setEjectionMode'),
4142
+ setLegoAccessForAction: getMutation('setLegoAccessForAction'),
4143
+ setKernel: getMutation('setKernel'),
4144
+ setSentinel: getMutation('setSentinel'),
4145
+ setHighCommand: getMutation('setHighCommand'),
4146
+ setPaymaster: getMutation('setPaymaster'),
4147
+ setChequeBook: getMutation('setChequeBook'),
4148
+ setMigrator: getMutation('setMigrator'),
4149
+ };
4150
+ export function toSdk(deployAddress, publicClient, walletClient) {
4151
+ return {
4152
+ deployAddress,
4153
+ abi,
4154
+ // Queries
4155
+ hasPendingOwnerChange: (...args) => singleQuery(publicClient, call.hasPendingOwnerChange(...args).at(deployAddress)),
4156
+ owner: (...args) => singleQuery(publicClient, call.owner(...args).at(deployAddress)),
4157
+ ownershipTimeLock: (...args) => singleQuery(publicClient, call.ownershipTimeLock(...args).at(deployAddress)),
4158
+ pendingOwner: (...args) => singleQuery(publicClient, call.pendingOwner(...args).at(deployAddress)),
4159
+ MIN_OWNERSHIP_TIMELOCK: (...args) => singleQuery(publicClient, call.MIN_OWNERSHIP_TIMELOCK(...args).at(deployAddress)),
4160
+ MAX_OWNERSHIP_TIMELOCK: (...args) => singleQuery(publicClient, call.MAX_OWNERSHIP_TIMELOCK(...args).at(deployAddress)),
4161
+ apiVersion: (...args) => singleQuery(publicClient, call.apiVersion(...args).at(deployAddress)),
4162
+ checkSignerPermissionsAndGetBundle: (...args) => singleQuery(publicClient, call.checkSignerPermissionsAndGetBundle(...args).at(deployAddress)),
4163
+ getTrialFundsInfo: (...args) => singleQuery(publicClient, call.getTrialFundsInfo(...args).at(deployAddress)),
4164
+ getActionDataBundle: (...args) => singleQuery(publicClient, call.getActionDataBundle(...args).at(deployAddress)),
4165
+ wallet: (...args) => singleQuery(publicClient, call.wallet(...args).at(deployAddress)),
4166
+ kernel: (...args) => singleQuery(publicClient, call.kernel(...args).at(deployAddress)),
4167
+ sentinel: (...args) => singleQuery(publicClient, call.sentinel(...args).at(deployAddress)),
4168
+ highCommand: (...args) => singleQuery(publicClient, call.highCommand(...args).at(deployAddress)),
4169
+ paymaster: (...args) => singleQuery(publicClient, call.paymaster(...args).at(deployAddress)),
4170
+ chequeBook: (...args) => singleQuery(publicClient, call.chequeBook(...args).at(deployAddress)),
4171
+ migrator: (...args) => singleQuery(publicClient, call.migrator(...args).at(deployAddress)),
4172
+ trialFundsAsset: (...args) => singleQuery(publicClient, call.trialFundsAsset(...args).at(deployAddress)),
4173
+ trialFundsAmount: (...args) => singleQuery(publicClient, call.trialFundsAmount(...args).at(deployAddress)),
4174
+ managerSettings: (...args) => singleQuery(publicClient, call.managerSettings(...args).at(deployAddress)),
4175
+ managerPeriodData: (...args) => singleQuery(publicClient, call.managerPeriodData(...args).at(deployAddress)),
4176
+ managers: (...args) => singleQuery(publicClient, call.managers(...args).at(deployAddress)),
4177
+ indexOfManager: (...args) => singleQuery(publicClient, call.indexOfManager(...args).at(deployAddress)),
4178
+ numManagers: (...args) => singleQuery(publicClient, call.numManagers(...args).at(deployAddress)),
4179
+ payeeSettings: (...args) => singleQuery(publicClient, call.payeeSettings(...args).at(deployAddress)),
4180
+ payeePeriodData: (...args) => singleQuery(publicClient, call.payeePeriodData(...args).at(deployAddress)),
4181
+ payees: (...args) => singleQuery(publicClient, call.payees(...args).at(deployAddress)),
4182
+ indexOfPayee: (...args) => singleQuery(publicClient, call.indexOfPayee(...args).at(deployAddress)),
4183
+ numPayees: (...args) => singleQuery(publicClient, call.numPayees(...args).at(deployAddress)),
4184
+ pendingPayees: (...args) => singleQuery(publicClient, call.pendingPayees(...args).at(deployAddress)),
4185
+ whitelistAddr: (...args) => singleQuery(publicClient, call.whitelistAddr(...args).at(deployAddress)),
4186
+ indexOfWhitelist: (...args) => singleQuery(publicClient, call.indexOfWhitelist(...args).at(deployAddress)),
4187
+ numWhitelisted: (...args) => singleQuery(publicClient, call.numWhitelisted(...args).at(deployAddress)),
4188
+ pendingWhitelist: (...args) => singleQuery(publicClient, call.pendingWhitelist(...args).at(deployAddress)),
4189
+ cheques: (...args) => singleQuery(publicClient, call.cheques(...args).at(deployAddress)),
4190
+ chequeSettings: (...args) => singleQuery(publicClient, call.chequeSettings(...args).at(deployAddress)),
4191
+ chequePeriodData: (...args) => singleQuery(publicClient, call.chequePeriodData(...args).at(deployAddress)),
4192
+ numActiveCheques: (...args) => singleQuery(publicClient, call.numActiveCheques(...args).at(deployAddress)),
4193
+ globalManagerSettings: (...args) => singleQuery(publicClient, call.globalManagerSettings(...args).at(deployAddress)),
4194
+ globalPayeeSettings: (...args) => singleQuery(publicClient, call.globalPayeeSettings(...args).at(deployAddress)),
4195
+ timeLock: (...args) => singleQuery(publicClient, call.timeLock(...args).at(deployAddress)),
4196
+ isFrozen: (...args) => singleQuery(publicClient, call.isFrozen(...args).at(deployAddress)),
4197
+ inEjectMode: (...args) => singleQuery(publicClient, call.inEjectMode(...args).at(deployAddress)),
4198
+ groupId: (...args) => singleQuery(publicClient, call.groupId(...args).at(deployAddress)),
4199
+ startingAgent: (...args) => singleQuery(publicClient, call.startingAgent(...args).at(deployAddress)),
4200
+ didSetWallet: (...args) => singleQuery(publicClient, call.didSetWallet(...args).at(deployAddress)),
4201
+ UNDY_HQ: (...args) => singleQuery(publicClient, call.UNDY_HQ(...args).at(deployAddress)),
4202
+ WETH: (...args) => singleQuery(publicClient, call.WETH(...args).at(deployAddress)),
4203
+ ETH: (...args) => singleQuery(publicClient, call.ETH(...args).at(deployAddress)),
4204
+ MIN_TIMELOCK: (...args) => singleQuery(publicClient, call.MIN_TIMELOCK(...args).at(deployAddress)),
4205
+ MAX_TIMELOCK: (...args) => singleQuery(publicClient, call.MAX_TIMELOCK(...args).at(deployAddress)),
4206
+ // Mutations
4207
+ changeOwnership: (...args) => mutate(walletClient, mutation.changeOwnership, { address: deployAddress })(...args),
4208
+ confirmOwnershipChange: (...args) => mutate(walletClient, mutation.confirmOwnershipChange, { address: deployAddress })(...args),
4209
+ cancelOwnershipChange: (...args) => mutate(walletClient, mutation.cancelOwnershipChange, { address: deployAddress })(...args),
4210
+ setOwnershipTimeLock: (...args) => mutate(walletClient, mutation.setOwnershipTimeLock, { address: deployAddress })(...args),
4211
+ setWallet: (...args) => mutate(walletClient, mutation.setWallet, { address: deployAddress })(...args),
4212
+ checkManagerUsdLimitsAndUpdateData: (...args) => mutate(walletClient, mutation.checkManagerUsdLimitsAndUpdateData, { address: deployAddress })(...args),
4213
+ checkRecipientLimitsAndUpdateData: (...args) => mutate(walletClient, mutation.checkRecipientLimitsAndUpdateData, { address: deployAddress })(...args),
4214
+ validateCheque: (...args) => mutate(walletClient, mutation.validateCheque, { address: deployAddress })(...args),
4215
+ addPendingWhitelistAddr: (...args) => mutate(walletClient, mutation.addPendingWhitelistAddr, { address: deployAddress })(...args),
4216
+ cancelPendingWhitelistAddr: (...args) => mutate(walletClient, mutation.cancelPendingWhitelistAddr, { address: deployAddress })(...args),
4217
+ confirmWhitelistAddr: (...args) => mutate(walletClient, mutation.confirmWhitelistAddr, { address: deployAddress })(...args),
4218
+ addWhitelistAddrViaMigrator: (...args) => mutate(walletClient, mutation.addWhitelistAddrViaMigrator, { address: deployAddress })(...args),
4219
+ removeWhitelistAddr: (...args) => mutate(walletClient, mutation.removeWhitelistAddr, { address: deployAddress })(...args),
4220
+ addManager: (...args) => mutate(walletClient, mutation.addManager, { address: deployAddress })(...args),
4221
+ updateManager: (...args) => mutate(walletClient, mutation.updateManager, { address: deployAddress })(...args),
4222
+ removeManager: (...args) => mutate(walletClient, mutation.removeManager, { address: deployAddress })(...args),
4223
+ setGlobalManagerSettings: (...args) => mutate(walletClient, mutation.setGlobalManagerSettings, { address: deployAddress })(...args),
4224
+ addPayee: (...args) => mutate(walletClient, mutation.addPayee, { address: deployAddress })(...args),
4225
+ updatePayee: (...args) => mutate(walletClient, mutation.updatePayee, { address: deployAddress })(...args),
4226
+ removePayee: (...args) => mutate(walletClient, mutation.removePayee, { address: deployAddress })(...args),
4227
+ setGlobalPayeeSettings: (...args) => mutate(walletClient, mutation.setGlobalPayeeSettings, { address: deployAddress })(...args),
4228
+ addPendingPayee: (...args) => mutate(walletClient, mutation.addPendingPayee, { address: deployAddress })(...args),
4229
+ confirmPendingPayee: (...args) => mutate(walletClient, mutation.confirmPendingPayee, { address: deployAddress })(...args),
4230
+ cancelPendingPayee: (...args) => mutate(walletClient, mutation.cancelPendingPayee, { address: deployAddress })(...args),
4231
+ createCheque: (...args) => mutate(walletClient, mutation.createCheque, { address: deployAddress })(...args),
4232
+ cancelCheque: (...args) => mutate(walletClient, mutation.cancelCheque, { address: deployAddress })(...args),
4233
+ setChequeSettings: (...args) => mutate(walletClient, mutation.setChequeSettings, { address: deployAddress })(...args),
4234
+ updateAssetData: (...args) => mutate(walletClient, mutation.updateAssetData, { address: deployAddress })(...args),
4235
+ updateAllAssetData: (...args) => mutate(walletClient, mutation.updateAllAssetData, { address: deployAddress })(...args),
4236
+ removeTrialFunds: (...args) => mutate(walletClient, mutation.removeTrialFunds, { address: deployAddress })(...args),
4237
+ migrateFunds: (...args) => mutate(walletClient, mutation.migrateFunds, { address: deployAddress })(...args),
4238
+ preparePayment: (...args) => mutate(walletClient, mutation.preparePayment, { address: deployAddress })(...args),
4239
+ deregisterAsset: (...args) => mutate(walletClient, mutation.deregisterAsset, { address: deployAddress })(...args),
4240
+ recoverNft: (...args) => mutate(walletClient, mutation.recoverNft, { address: deployAddress })(...args),
4241
+ setFrozen: (...args) => mutate(walletClient, mutation.setFrozen, { address: deployAddress })(...args),
4242
+ setEjectionMode: (...args) => mutate(walletClient, mutation.setEjectionMode, { address: deployAddress })(...args),
4243
+ setLegoAccessForAction: (...args) => mutate(walletClient, mutation.setLegoAccessForAction, { address: deployAddress })(...args),
4244
+ setKernel: (...args) => mutate(walletClient, mutation.setKernel, { address: deployAddress })(...args),
4245
+ setSentinel: (...args) => mutate(walletClient, mutation.setSentinel, { address: deployAddress })(...args),
4246
+ setHighCommand: (...args) => mutate(walletClient, mutation.setHighCommand, { address: deployAddress })(...args),
4247
+ setPaymaster: (...args) => mutate(walletClient, mutation.setPaymaster, { address: deployAddress })(...args),
4248
+ setChequeBook: (...args) => mutate(walletClient, mutation.setChequeBook, { address: deployAddress })(...args),
4249
+ setMigrator: (...args) => mutate(walletClient, mutation.setMigrator, { address: deployAddress })(...args),
4250
+ };
4251
+ }