@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
@@ -1,1665 +0,0 @@
1
- import { PublicClient, WalletClient } from 'viem';
2
- type ExtractArgs<T> = T extends (...args: infer P) => any ? P : never;
3
- type Address = `0x${string}`;
4
- export declare const abi: readonly [{
5
- readonly anonymous: false;
6
- readonly inputs: readonly [{
7
- readonly indexed: true;
8
- readonly name: "mainAddr";
9
- readonly type: "address";
10
- }, {
11
- readonly indexed: true;
12
- readonly name: "configAddr";
13
- readonly type: "address";
14
- }, {
15
- readonly indexed: true;
16
- readonly name: "owner";
17
- readonly type: "address";
18
- }, {
19
- readonly indexed: false;
20
- readonly name: "agent";
21
- readonly type: "address";
22
- }, {
23
- readonly indexed: false;
24
- readonly name: "ambassador";
25
- readonly type: "address";
26
- }, {
27
- readonly indexed: false;
28
- readonly name: "creator";
29
- readonly type: "address";
30
- }];
31
- readonly name: "UserWalletCreated";
32
- readonly type: "event";
33
- }, {
34
- readonly anonymous: false;
35
- readonly inputs: readonly [{
36
- readonly indexed: true;
37
- readonly name: "agent";
38
- readonly type: "address";
39
- }, {
40
- readonly indexed: true;
41
- readonly name: "owner";
42
- readonly type: "address";
43
- }, {
44
- readonly indexed: false;
45
- readonly name: "creator";
46
- readonly type: "address";
47
- }];
48
- readonly name: "AgentCreated";
49
- readonly type: "event";
50
- }, {
51
- readonly anonymous: false;
52
- readonly inputs: readonly [{
53
- readonly indexed: true;
54
- readonly name: "prevAddr";
55
- readonly type: "address";
56
- }, {
57
- readonly indexed: true;
58
- readonly name: "newAddr";
59
- readonly type: "address";
60
- }, {
61
- readonly indexed: false;
62
- readonly name: "confirmBlock";
63
- readonly type: "uint256";
64
- }, {
65
- readonly indexed: false;
66
- readonly name: "addressType";
67
- readonly type: "uint256";
68
- }];
69
- readonly name: "AddressUpdateInitiated";
70
- readonly type: "event";
71
- }, {
72
- readonly anonymous: false;
73
- readonly inputs: readonly [{
74
- readonly indexed: true;
75
- readonly name: "prevAddr";
76
- readonly type: "address";
77
- }, {
78
- readonly indexed: true;
79
- readonly name: "newAddr";
80
- readonly type: "address";
81
- }, {
82
- readonly indexed: false;
83
- readonly name: "initiatedBlock";
84
- readonly type: "uint256";
85
- }, {
86
- readonly indexed: false;
87
- readonly name: "confirmBlock";
88
- readonly type: "uint256";
89
- }, {
90
- readonly indexed: false;
91
- readonly name: "addressType";
92
- readonly type: "uint256";
93
- }];
94
- readonly name: "AddressUpdateConfirmed";
95
- readonly type: "event";
96
- }, {
97
- readonly anonymous: false;
98
- readonly inputs: readonly [{
99
- readonly indexed: true;
100
- readonly name: "cancelledTemplate";
101
- readonly type: "address";
102
- }, {
103
- readonly indexed: false;
104
- readonly name: "initiatedBlock";
105
- readonly type: "uint256";
106
- }, {
107
- readonly indexed: false;
108
- readonly name: "confirmBlock";
109
- readonly type: "uint256";
110
- }, {
111
- readonly indexed: false;
112
- readonly name: "addressType";
113
- readonly type: "uint256";
114
- }];
115
- readonly name: "AddressUpdateCancelled";
116
- readonly type: "event";
117
- }, {
118
- readonly anonymous: false;
119
- readonly inputs: readonly [{
120
- readonly indexed: false;
121
- readonly name: "delayBlocks";
122
- readonly type: "uint256";
123
- }];
124
- readonly name: "AddressChangeDelaySet";
125
- readonly type: "event";
126
- }, {
127
- readonly anonymous: false;
128
- readonly inputs: readonly [{
129
- readonly indexed: false;
130
- readonly name: "addr";
131
- readonly type: "address";
132
- }, {
133
- readonly indexed: false;
134
- readonly name: "shouldWhitelist";
135
- readonly type: "bool";
136
- }];
137
- readonly name: "WhitelistSet";
138
- readonly type: "event";
139
- }, {
140
- readonly anonymous: false;
141
- readonly inputs: readonly [{
142
- readonly indexed: false;
143
- readonly name: "shouldEnforce";
144
- readonly type: "bool";
145
- }];
146
- readonly name: "ShouldEnforceWhitelistSet";
147
- readonly type: "event";
148
- }, {
149
- readonly anonymous: false;
150
- readonly inputs: readonly [{
151
- readonly indexed: false;
152
- readonly name: "numAllowed";
153
- readonly type: "uint256";
154
- }];
155
- readonly name: "NumUserWalletsAllowedSet";
156
- readonly type: "event";
157
- }, {
158
- readonly anonymous: false;
159
- readonly inputs: readonly [{
160
- readonly indexed: false;
161
- readonly name: "numAllowed";
162
- readonly type: "uint256";
163
- }];
164
- readonly name: "NumAgentsAllowedSet";
165
- readonly type: "event";
166
- }, {
167
- readonly anonymous: false;
168
- readonly inputs: readonly [{
169
- readonly indexed: true;
170
- readonly name: "agentAddr";
171
- readonly type: "address";
172
- }, {
173
- readonly indexed: false;
174
- readonly name: "shouldBlacklist";
175
- readonly type: "bool";
176
- }];
177
- readonly name: "AgentBlacklistSet";
178
- readonly type: "event";
179
- }, {
180
- readonly anonymous: false;
181
- readonly inputs: readonly [{
182
- readonly indexed: true;
183
- readonly name: "addr";
184
- readonly type: "address";
185
- }, {
186
- readonly indexed: false;
187
- readonly name: "canCancel";
188
- readonly type: "bool";
189
- }];
190
- readonly name: "CanCriticalCancelSet";
191
- readonly type: "event";
192
- }, {
193
- readonly anonymous: false;
194
- readonly inputs: readonly [{
195
- readonly indexed: true;
196
- readonly name: "asset";
197
- readonly type: "address";
198
- }, {
199
- readonly indexed: false;
200
- readonly name: "amount";
201
- readonly type: "uint256";
202
- }];
203
- readonly name: "TrialFundsDataSet";
204
- readonly type: "event";
205
- }, {
206
- readonly anonymous: false;
207
- readonly inputs: readonly [{
208
- readonly indexed: true;
209
- readonly name: "user";
210
- readonly type: "address";
211
- }, {
212
- readonly indexed: true;
213
- readonly name: "ambassador";
214
- readonly type: "address";
215
- }, {
216
- readonly indexed: true;
217
- readonly name: "asset";
218
- readonly type: "address";
219
- }, {
220
- readonly indexed: false;
221
- readonly name: "amount";
222
- readonly type: "uint256";
223
- }, {
224
- readonly indexed: false;
225
- readonly name: "ratio";
226
- readonly type: "uint256";
227
- }];
228
- readonly name: "AmbassadorYieldBonusPaid";
229
- readonly type: "event";
230
- }, {
231
- readonly anonymous: false;
232
- readonly inputs: readonly [{
233
- readonly indexed: false;
234
- readonly name: "ratio";
235
- readonly type: "uint256";
236
- }];
237
- readonly name: "AmbassadorBonusRatioSet";
238
- readonly type: "event";
239
- }, {
240
- readonly anonymous: false;
241
- readonly inputs: readonly [{
242
- readonly indexed: true;
243
- readonly name: "asset";
244
- readonly type: "address";
245
- }, {
246
- readonly indexed: true;
247
- readonly name: "recipient";
248
- readonly type: "address";
249
- }, {
250
- readonly indexed: false;
251
- readonly name: "balance";
252
- readonly type: "uint256";
253
- }];
254
- readonly name: "AgentFactoryFundsRecovered";
255
- readonly type: "event";
256
- }, {
257
- readonly anonymous: false;
258
- readonly inputs: readonly [{
259
- readonly indexed: false;
260
- readonly name: "isActivated";
261
- readonly type: "bool";
262
- }];
263
- readonly name: "AgentFactoryActivated";
264
- readonly type: "event";
265
- }, {
266
- readonly anonymous: false;
267
- readonly inputs: readonly [{
268
- readonly indexed: true;
269
- readonly name: "prevGov";
270
- readonly type: "address";
271
- }, {
272
- readonly indexed: true;
273
- readonly name: "newGov";
274
- readonly type: "address";
275
- }, {
276
- readonly indexed: false;
277
- readonly name: "confirmBlock";
278
- readonly type: "uint256";
279
- }];
280
- readonly name: "GovChangeInitiated";
281
- readonly type: "event";
282
- }, {
283
- readonly anonymous: false;
284
- readonly inputs: readonly [{
285
- readonly indexed: true;
286
- readonly name: "prevGov";
287
- readonly type: "address";
288
- }, {
289
- readonly indexed: true;
290
- readonly name: "newGov";
291
- readonly type: "address";
292
- }, {
293
- readonly indexed: false;
294
- readonly name: "initiatedBlock";
295
- readonly type: "uint256";
296
- }, {
297
- readonly indexed: false;
298
- readonly name: "confirmBlock";
299
- readonly type: "uint256";
300
- }];
301
- readonly name: "GovChangeConfirmed";
302
- readonly type: "event";
303
- }, {
304
- readonly anonymous: false;
305
- readonly inputs: readonly [{
306
- readonly indexed: true;
307
- readonly name: "cancelledGov";
308
- readonly type: "address";
309
- }, {
310
- readonly indexed: false;
311
- readonly name: "initiatedBlock";
312
- readonly type: "uint256";
313
- }, {
314
- readonly indexed: false;
315
- readonly name: "confirmBlock";
316
- readonly type: "uint256";
317
- }];
318
- readonly name: "GovChangeCancelled";
319
- readonly type: "event";
320
- }, {
321
- readonly anonymous: false;
322
- readonly inputs: readonly [{
323
- readonly indexed: false;
324
- readonly name: "delayBlocks";
325
- readonly type: "uint256";
326
- }];
327
- readonly name: "GovChangeDelaySet";
328
- readonly type: "event";
329
- }, {
330
- readonly inputs: readonly [{
331
- readonly name: "_address";
332
- readonly type: "address";
333
- }];
334
- readonly name: "canGovern";
335
- readonly outputs: readonly [{
336
- readonly name: "";
337
- readonly type: "bool";
338
- }];
339
- readonly stateMutability: "view";
340
- readonly type: "function";
341
- }, {
342
- readonly inputs: readonly [];
343
- readonly name: "hasPendingGovChange";
344
- readonly outputs: readonly [{
345
- readonly name: "";
346
- readonly type: "bool";
347
- }];
348
- readonly stateMutability: "view";
349
- readonly type: "function";
350
- }, {
351
- readonly inputs: readonly [{
352
- readonly name: "_newGov";
353
- readonly type: "address";
354
- }];
355
- readonly name: "changeGovernance";
356
- readonly outputs: readonly [];
357
- readonly stateMutability: "nonpayable";
358
- readonly type: "function";
359
- }, {
360
- readonly inputs: readonly [];
361
- readonly name: "confirmGovernanceChange";
362
- readonly outputs: readonly [];
363
- readonly stateMutability: "nonpayable";
364
- readonly type: "function";
365
- }, {
366
- readonly inputs: readonly [];
367
- readonly name: "cancelGovernanceChange";
368
- readonly outputs: readonly [];
369
- readonly stateMutability: "nonpayable";
370
- readonly type: "function";
371
- }, {
372
- readonly inputs: readonly [{
373
- readonly name: "_numBlocks";
374
- readonly type: "uint256";
375
- }];
376
- readonly name: "setGovernanceChangeDelay";
377
- readonly outputs: readonly [];
378
- readonly stateMutability: "nonpayable";
379
- readonly type: "function";
380
- }, {
381
- readonly inputs: readonly [];
382
- readonly name: "governance";
383
- readonly outputs: readonly [{
384
- readonly name: "";
385
- readonly type: "address";
386
- }];
387
- readonly stateMutability: "view";
388
- readonly type: "function";
389
- }, {
390
- readonly inputs: readonly [];
391
- readonly name: "pendingGov";
392
- readonly outputs: readonly [{
393
- readonly components: readonly [{
394
- readonly name: "newGov";
395
- readonly type: "address";
396
- }, {
397
- readonly name: "initiatedBlock";
398
- readonly type: "uint256";
399
- }, {
400
- readonly name: "confirmBlock";
401
- readonly type: "uint256";
402
- }];
403
- readonly name: "";
404
- readonly type: "tuple";
405
- }];
406
- readonly stateMutability: "view";
407
- readonly type: "function";
408
- }, {
409
- readonly inputs: readonly [];
410
- readonly name: "govChangeDelay";
411
- readonly outputs: readonly [{
412
- readonly name: "";
413
- readonly type: "uint256";
414
- }];
415
- readonly stateMutability: "view";
416
- readonly type: "function";
417
- }, {
418
- readonly inputs: readonly [];
419
- readonly name: "MIN_GOV_CHANGE_DELAY";
420
- readonly outputs: readonly [{
421
- readonly name: "";
422
- readonly type: "uint256";
423
- }];
424
- readonly stateMutability: "view";
425
- readonly type: "function";
426
- }, {
427
- readonly inputs: readonly [];
428
- readonly name: "MAX_GOV_CHANGE_DELAY";
429
- readonly outputs: readonly [{
430
- readonly name: "";
431
- readonly type: "uint256";
432
- }];
433
- readonly stateMutability: "view";
434
- readonly type: "function";
435
- }, {
436
- readonly inputs: readonly [{
437
- readonly name: "_addr";
438
- readonly type: "address";
439
- }];
440
- readonly name: "isUserWallet";
441
- readonly outputs: readonly [{
442
- readonly name: "";
443
- readonly type: "bool";
444
- }];
445
- readonly stateMutability: "view";
446
- readonly type: "function";
447
- }, {
448
- readonly inputs: readonly [];
449
- readonly name: "createUserWallet";
450
- readonly outputs: readonly [{
451
- readonly name: "";
452
- readonly type: "address";
453
- }];
454
- readonly stateMutability: "nonpayable";
455
- readonly type: "function";
456
- }, {
457
- readonly inputs: readonly [{
458
- readonly name: "_owner";
459
- readonly type: "address";
460
- }];
461
- readonly name: "createUserWallet";
462
- readonly outputs: readonly [{
463
- readonly name: "";
464
- readonly type: "address";
465
- }];
466
- readonly stateMutability: "nonpayable";
467
- readonly type: "function";
468
- }, {
469
- readonly inputs: readonly [{
470
- readonly name: "_owner";
471
- readonly type: "address";
472
- }, {
473
- readonly name: "_ambassador";
474
- readonly type: "address";
475
- }];
476
- readonly name: "createUserWallet";
477
- readonly outputs: readonly [{
478
- readonly name: "";
479
- readonly type: "address";
480
- }];
481
- readonly stateMutability: "nonpayable";
482
- readonly type: "function";
483
- }, {
484
- readonly inputs: readonly [{
485
- readonly name: "_owner";
486
- readonly type: "address";
487
- }, {
488
- readonly name: "_ambassador";
489
- readonly type: "address";
490
- }, {
491
- readonly name: "_shouldUseTrialFunds";
492
- readonly type: "bool";
493
- }];
494
- readonly name: "createUserWallet";
495
- readonly outputs: readonly [{
496
- readonly name: "";
497
- readonly type: "address";
498
- }];
499
- readonly stateMutability: "nonpayable";
500
- readonly type: "function";
501
- }, {
502
- readonly inputs: readonly [{
503
- readonly name: "_addr";
504
- readonly type: "address";
505
- }];
506
- readonly name: "isAgent";
507
- readonly outputs: readonly [{
508
- readonly name: "";
509
- readonly type: "bool";
510
- }];
511
- readonly stateMutability: "view";
512
- readonly type: "function";
513
- }, {
514
- readonly inputs: readonly [];
515
- readonly name: "createAgent";
516
- readonly outputs: readonly [{
517
- readonly name: "";
518
- readonly type: "address";
519
- }];
520
- readonly stateMutability: "nonpayable";
521
- readonly type: "function";
522
- }, {
523
- readonly inputs: readonly [{
524
- readonly name: "_owner";
525
- readonly type: "address";
526
- }];
527
- readonly name: "createAgent";
528
- readonly outputs: readonly [{
529
- readonly name: "";
530
- readonly type: "address";
531
- }];
532
- readonly stateMutability: "nonpayable";
533
- readonly type: "function";
534
- }, {
535
- readonly inputs: readonly [{
536
- readonly name: "_newAddr";
537
- readonly type: "address";
538
- }];
539
- readonly name: "initiateUserWalletTemplateUpdate";
540
- readonly outputs: readonly [{
541
- readonly name: "";
542
- readonly type: "bool";
543
- }];
544
- readonly stateMutability: "nonpayable";
545
- readonly type: "function";
546
- }, {
547
- readonly inputs: readonly [];
548
- readonly name: "confirmUserWalletTemplateUpdate";
549
- readonly outputs: readonly [{
550
- readonly name: "";
551
- readonly type: "bool";
552
- }];
553
- readonly stateMutability: "nonpayable";
554
- readonly type: "function";
555
- }, {
556
- readonly inputs: readonly [];
557
- readonly name: "cancelUserWalletTemplateUpdate";
558
- readonly outputs: readonly [{
559
- readonly name: "";
560
- readonly type: "bool";
561
- }];
562
- readonly stateMutability: "nonpayable";
563
- readonly type: "function";
564
- }, {
565
- readonly inputs: readonly [];
566
- readonly name: "getUserWalletTemplateAddr";
567
- readonly outputs: readonly [{
568
- readonly name: "";
569
- readonly type: "address";
570
- }];
571
- readonly stateMutability: "view";
572
- readonly type: "function";
573
- }, {
574
- readonly inputs: readonly [];
575
- readonly name: "getUserWalletTemplateInfo";
576
- readonly outputs: readonly [{
577
- readonly components: readonly [{
578
- readonly name: "addr";
579
- readonly type: "address";
580
- }, {
581
- readonly name: "version";
582
- readonly type: "uint256";
583
- }, {
584
- readonly name: "lastModified";
585
- readonly type: "uint256";
586
- }];
587
- readonly name: "";
588
- readonly type: "tuple";
589
- }];
590
- readonly stateMutability: "view";
591
- readonly type: "function";
592
- }, {
593
- readonly inputs: readonly [];
594
- readonly name: "getPendingUserWalletTemplateUpdate";
595
- readonly outputs: readonly [{
596
- readonly components: readonly [{
597
- readonly name: "newAddr";
598
- readonly type: "address";
599
- }, {
600
- readonly name: "initiatedBlock";
601
- readonly type: "uint256";
602
- }, {
603
- readonly name: "confirmBlock";
604
- readonly type: "uint256";
605
- }];
606
- readonly name: "";
607
- readonly type: "tuple";
608
- }];
609
- readonly stateMutability: "view";
610
- readonly type: "function";
611
- }, {
612
- readonly inputs: readonly [];
613
- readonly name: "hasPendingUserWalletTemplateUpdate";
614
- readonly outputs: readonly [{
615
- readonly name: "";
616
- readonly type: "bool";
617
- }];
618
- readonly stateMutability: "view";
619
- readonly type: "function";
620
- }, {
621
- readonly inputs: readonly [{
622
- readonly name: "_newAddr";
623
- readonly type: "address";
624
- }];
625
- readonly name: "initiateUserWalletConfigTemplateUpdate";
626
- readonly outputs: readonly [{
627
- readonly name: "";
628
- readonly type: "bool";
629
- }];
630
- readonly stateMutability: "nonpayable";
631
- readonly type: "function";
632
- }, {
633
- readonly inputs: readonly [];
634
- readonly name: "confirmUserWalletConfigTemplateUpdate";
635
- readonly outputs: readonly [{
636
- readonly name: "";
637
- readonly type: "bool";
638
- }];
639
- readonly stateMutability: "nonpayable";
640
- readonly type: "function";
641
- }, {
642
- readonly inputs: readonly [];
643
- readonly name: "cancelUserWalletConfigTemplateUpdate";
644
- readonly outputs: readonly [{
645
- readonly name: "";
646
- readonly type: "bool";
647
- }];
648
- readonly stateMutability: "nonpayable";
649
- readonly type: "function";
650
- }, {
651
- readonly inputs: readonly [];
652
- readonly name: "getUserWalletConfigTemplateAddr";
653
- readonly outputs: readonly [{
654
- readonly name: "";
655
- readonly type: "address";
656
- }];
657
- readonly stateMutability: "view";
658
- readonly type: "function";
659
- }, {
660
- readonly inputs: readonly [];
661
- readonly name: "getUserWalletConfigTemplateInfo";
662
- readonly outputs: readonly [{
663
- readonly components: readonly [{
664
- readonly name: "addr";
665
- readonly type: "address";
666
- }, {
667
- readonly name: "version";
668
- readonly type: "uint256";
669
- }, {
670
- readonly name: "lastModified";
671
- readonly type: "uint256";
672
- }];
673
- readonly name: "";
674
- readonly type: "tuple";
675
- }];
676
- readonly stateMutability: "view";
677
- readonly type: "function";
678
- }, {
679
- readonly inputs: readonly [];
680
- readonly name: "getPendingUserWalletConfigTemplateUpdate";
681
- readonly outputs: readonly [{
682
- readonly components: readonly [{
683
- readonly name: "newAddr";
684
- readonly type: "address";
685
- }, {
686
- readonly name: "initiatedBlock";
687
- readonly type: "uint256";
688
- }, {
689
- readonly name: "confirmBlock";
690
- readonly type: "uint256";
691
- }];
692
- readonly name: "";
693
- readonly type: "tuple";
694
- }];
695
- readonly stateMutability: "view";
696
- readonly type: "function";
697
- }, {
698
- readonly inputs: readonly [];
699
- readonly name: "hasPendingUserWalletConfigTemplateUpdate";
700
- readonly outputs: readonly [{
701
- readonly name: "";
702
- readonly type: "bool";
703
- }];
704
- readonly stateMutability: "view";
705
- readonly type: "function";
706
- }, {
707
- readonly inputs: readonly [{
708
- readonly name: "_newAddr";
709
- readonly type: "address";
710
- }];
711
- readonly name: "initiateAgentTemplateUpdate";
712
- readonly outputs: readonly [{
713
- readonly name: "";
714
- readonly type: "bool";
715
- }];
716
- readonly stateMutability: "nonpayable";
717
- readonly type: "function";
718
- }, {
719
- readonly inputs: readonly [];
720
- readonly name: "confirmAgentTemplateUpdate";
721
- readonly outputs: readonly [{
722
- readonly name: "";
723
- readonly type: "bool";
724
- }];
725
- readonly stateMutability: "nonpayable";
726
- readonly type: "function";
727
- }, {
728
- readonly inputs: readonly [];
729
- readonly name: "cancelAgentTemplateUpdate";
730
- readonly outputs: readonly [{
731
- readonly name: "";
732
- readonly type: "bool";
733
- }];
734
- readonly stateMutability: "nonpayable";
735
- readonly type: "function";
736
- }, {
737
- readonly inputs: readonly [];
738
- readonly name: "getAgentTemplateAddr";
739
- readonly outputs: readonly [{
740
- readonly name: "";
741
- readonly type: "address";
742
- }];
743
- readonly stateMutability: "view";
744
- readonly type: "function";
745
- }, {
746
- readonly inputs: readonly [];
747
- readonly name: "getAgentTemplateInfo";
748
- readonly outputs: readonly [{
749
- readonly components: readonly [{
750
- readonly name: "addr";
751
- readonly type: "address";
752
- }, {
753
- readonly name: "version";
754
- readonly type: "uint256";
755
- }, {
756
- readonly name: "lastModified";
757
- readonly type: "uint256";
758
- }];
759
- readonly name: "";
760
- readonly type: "tuple";
761
- }];
762
- readonly stateMutability: "view";
763
- readonly type: "function";
764
- }, {
765
- readonly inputs: readonly [];
766
- readonly name: "getPendingAgentTemplateUpdate";
767
- readonly outputs: readonly [{
768
- readonly components: readonly [{
769
- readonly name: "newAddr";
770
- readonly type: "address";
771
- }, {
772
- readonly name: "initiatedBlock";
773
- readonly type: "uint256";
774
- }, {
775
- readonly name: "confirmBlock";
776
- readonly type: "uint256";
777
- }];
778
- readonly name: "";
779
- readonly type: "tuple";
780
- }];
781
- readonly stateMutability: "view";
782
- readonly type: "function";
783
- }, {
784
- readonly inputs: readonly [];
785
- readonly name: "hasPendingAgentTemplateUpdate";
786
- readonly outputs: readonly [{
787
- readonly name: "";
788
- readonly type: "bool";
789
- }];
790
- readonly stateMutability: "view";
791
- readonly type: "function";
792
- }, {
793
- readonly inputs: readonly [{
794
- readonly name: "_numBlocks";
795
- readonly type: "uint256";
796
- }];
797
- readonly name: "setAddressChangeDelay";
798
- readonly outputs: readonly [];
799
- readonly stateMutability: "nonpayable";
800
- readonly type: "function";
801
- }, {
802
- readonly inputs: readonly [{
803
- readonly name: "_addr";
804
- readonly type: "address";
805
- }, {
806
- readonly name: "_shouldWhitelist";
807
- readonly type: "bool";
808
- }];
809
- readonly name: "setWhitelist";
810
- readonly outputs: readonly [{
811
- readonly name: "";
812
- readonly type: "bool";
813
- }];
814
- readonly stateMutability: "nonpayable";
815
- readonly type: "function";
816
- }, {
817
- readonly inputs: readonly [{
818
- readonly name: "_shouldEnforce";
819
- readonly type: "bool";
820
- }];
821
- readonly name: "setShouldEnforceWhitelist";
822
- readonly outputs: readonly [{
823
- readonly name: "";
824
- readonly type: "bool";
825
- }];
826
- readonly stateMutability: "nonpayable";
827
- readonly type: "function";
828
- }, {
829
- readonly inputs: readonly [];
830
- readonly name: "setNumUserWalletsAllowed";
831
- readonly outputs: readonly [{
832
- readonly name: "";
833
- readonly type: "bool";
834
- }];
835
- readonly stateMutability: "nonpayable";
836
- readonly type: "function";
837
- }, {
838
- readonly inputs: readonly [{
839
- readonly name: "_numAllowed";
840
- readonly type: "uint256";
841
- }];
842
- readonly name: "setNumUserWalletsAllowed";
843
- readonly outputs: readonly [{
844
- readonly name: "";
845
- readonly type: "bool";
846
- }];
847
- readonly stateMutability: "nonpayable";
848
- readonly type: "function";
849
- }, {
850
- readonly inputs: readonly [];
851
- readonly name: "setNumAgentsAllowed";
852
- readonly outputs: readonly [{
853
- readonly name: "";
854
- readonly type: "bool";
855
- }];
856
- readonly stateMutability: "nonpayable";
857
- readonly type: "function";
858
- }, {
859
- readonly inputs: readonly [{
860
- readonly name: "_numAllowed";
861
- readonly type: "uint256";
862
- }];
863
- readonly name: "setNumAgentsAllowed";
864
- readonly outputs: readonly [{
865
- readonly name: "";
866
- readonly type: "bool";
867
- }];
868
- readonly stateMutability: "nonpayable";
869
- readonly type: "function";
870
- }, {
871
- readonly inputs: readonly [{
872
- readonly name: "_agentAddr";
873
- readonly type: "address";
874
- }, {
875
- readonly name: "_shouldBlacklist";
876
- readonly type: "bool";
877
- }];
878
- readonly name: "setAgentBlacklist";
879
- readonly outputs: readonly [{
880
- readonly name: "";
881
- readonly type: "bool";
882
- }];
883
- readonly stateMutability: "nonpayable";
884
- readonly type: "function";
885
- }, {
886
- readonly inputs: readonly [{
887
- readonly name: "_addr";
888
- readonly type: "address";
889
- }];
890
- readonly name: "canCancelCriticalAction";
891
- readonly outputs: readonly [{
892
- readonly name: "";
893
- readonly type: "bool";
894
- }];
895
- readonly stateMutability: "view";
896
- readonly type: "function";
897
- }, {
898
- readonly inputs: readonly [{
899
- readonly name: "_addr";
900
- readonly type: "address";
901
- }, {
902
- readonly name: "_canCancel";
903
- readonly type: "bool";
904
- }];
905
- readonly name: "setCanCriticalCancel";
906
- readonly outputs: readonly [{
907
- readonly name: "";
908
- readonly type: "bool";
909
- }];
910
- readonly stateMutability: "nonpayable";
911
- readonly type: "function";
912
- }, {
913
- readonly inputs: readonly [{
914
- readonly name: "_asset";
915
- readonly type: "address";
916
- }, {
917
- readonly name: "_amount";
918
- readonly type: "uint256";
919
- }];
920
- readonly name: "setTrialFundsData";
921
- readonly outputs: readonly [{
922
- readonly name: "";
923
- readonly type: "bool";
924
- }];
925
- readonly stateMutability: "nonpayable";
926
- readonly type: "function";
927
- }, {
928
- readonly inputs: readonly [{
929
- readonly name: "_wallets";
930
- readonly type: "address[]";
931
- }];
932
- readonly name: "clawBackTrialFunds";
933
- readonly outputs: readonly [{
934
- readonly name: "";
935
- readonly type: "bool";
936
- }];
937
- readonly stateMutability: "nonpayable";
938
- readonly type: "function";
939
- }, {
940
- readonly inputs: readonly [{
941
- readonly components: readonly [{
942
- readonly name: "wallet";
943
- readonly type: "address";
944
- }, {
945
- readonly components: readonly [{
946
- readonly name: "legoId";
947
- readonly type: "uint256";
948
- }, {
949
- readonly name: "vaultToken";
950
- readonly type: "address";
951
- }];
952
- readonly name: "opportunities";
953
- readonly type: "tuple[]";
954
- }];
955
- readonly name: "_recoveries";
956
- readonly type: "tuple[]";
957
- }];
958
- readonly name: "clawBackTrialFundsLegacy";
959
- readonly outputs: readonly [{
960
- readonly name: "";
961
- readonly type: "bool";
962
- }];
963
- readonly stateMutability: "nonpayable";
964
- readonly type: "function";
965
- }, {
966
- readonly inputs: readonly [{
967
- readonly name: "_ambassador";
968
- readonly type: "address";
969
- }, {
970
- readonly name: "_asset";
971
- readonly type: "address";
972
- }, {
973
- readonly name: "_amount";
974
- readonly type: "uint256";
975
- }];
976
- readonly name: "payAmbassadorYieldBonus";
977
- readonly outputs: readonly [{
978
- readonly name: "";
979
- readonly type: "bool";
980
- }];
981
- readonly stateMutability: "nonpayable";
982
- readonly type: "function";
983
- }, {
984
- readonly inputs: readonly [{
985
- readonly name: "_bonusRatio";
986
- readonly type: "uint256";
987
- }];
988
- readonly name: "setAmbassadorBonusRatio";
989
- readonly outputs: readonly [{
990
- readonly name: "";
991
- readonly type: "bool";
992
- }];
993
- readonly stateMutability: "nonpayable";
994
- readonly type: "function";
995
- }, {
996
- readonly inputs: readonly [{
997
- readonly name: "_newAddr";
998
- readonly type: "address";
999
- }];
1000
- readonly name: "initiateDefaultAgentUpdate";
1001
- readonly outputs: readonly [{
1002
- readonly name: "";
1003
- readonly type: "bool";
1004
- }];
1005
- readonly stateMutability: "nonpayable";
1006
- readonly type: "function";
1007
- }, {
1008
- readonly inputs: readonly [];
1009
- readonly name: "confirmDefaultAgentUpdate";
1010
- readonly outputs: readonly [{
1011
- readonly name: "";
1012
- readonly type: "bool";
1013
- }];
1014
- readonly stateMutability: "nonpayable";
1015
- readonly type: "function";
1016
- }, {
1017
- readonly inputs: readonly [];
1018
- readonly name: "cancelDefaultAgentUpdate";
1019
- readonly outputs: readonly [{
1020
- readonly name: "";
1021
- readonly type: "bool";
1022
- }];
1023
- readonly stateMutability: "nonpayable";
1024
- readonly type: "function";
1025
- }, {
1026
- readonly inputs: readonly [];
1027
- readonly name: "getDefaultAgentAddr";
1028
- readonly outputs: readonly [{
1029
- readonly name: "";
1030
- readonly type: "address";
1031
- }];
1032
- readonly stateMutability: "view";
1033
- readonly type: "function";
1034
- }, {
1035
- readonly inputs: readonly [];
1036
- readonly name: "getDefaultAgentInfo";
1037
- readonly outputs: readonly [{
1038
- readonly components: readonly [{
1039
- readonly name: "addr";
1040
- readonly type: "address";
1041
- }, {
1042
- readonly name: "version";
1043
- readonly type: "uint256";
1044
- }, {
1045
- readonly name: "lastModified";
1046
- readonly type: "uint256";
1047
- }];
1048
- readonly name: "";
1049
- readonly type: "tuple";
1050
- }];
1051
- readonly stateMutability: "view";
1052
- readonly type: "function";
1053
- }, {
1054
- readonly inputs: readonly [];
1055
- readonly name: "getPendingDefaultAgentUpdate";
1056
- readonly outputs: readonly [{
1057
- readonly components: readonly [{
1058
- readonly name: "newAddr";
1059
- readonly type: "address";
1060
- }, {
1061
- readonly name: "initiatedBlock";
1062
- readonly type: "uint256";
1063
- }, {
1064
- readonly name: "confirmBlock";
1065
- readonly type: "uint256";
1066
- }];
1067
- readonly name: "";
1068
- readonly type: "tuple";
1069
- }];
1070
- readonly stateMutability: "view";
1071
- readonly type: "function";
1072
- }, {
1073
- readonly inputs: readonly [];
1074
- readonly name: "hasPendingDefaultAgentUpdate";
1075
- readonly outputs: readonly [{
1076
- readonly name: "";
1077
- readonly type: "bool";
1078
- }];
1079
- readonly stateMutability: "view";
1080
- readonly type: "function";
1081
- }, {
1082
- readonly inputs: readonly [{
1083
- readonly name: "_asset";
1084
- readonly type: "address";
1085
- }, {
1086
- readonly name: "_recipient";
1087
- readonly type: "address";
1088
- }];
1089
- readonly name: "recoverFundsFromAgentFactory";
1090
- readonly outputs: readonly [{
1091
- readonly name: "";
1092
- readonly type: "bool";
1093
- }];
1094
- readonly stateMutability: "nonpayable";
1095
- readonly type: "function";
1096
- }, {
1097
- readonly inputs: readonly [{
1098
- readonly name: "_shouldActivate";
1099
- readonly type: "bool";
1100
- }];
1101
- readonly name: "activate";
1102
- readonly outputs: readonly [];
1103
- readonly stateMutability: "nonpayable";
1104
- readonly type: "function";
1105
- }, {
1106
- readonly inputs: readonly [{
1107
- readonly name: "arg0";
1108
- readonly type: "address";
1109
- }];
1110
- readonly name: "isUserWalletLocal";
1111
- readonly outputs: readonly [{
1112
- readonly name: "";
1113
- readonly type: "bool";
1114
- }];
1115
- readonly stateMutability: "view";
1116
- readonly type: "function";
1117
- }, {
1118
- readonly inputs: readonly [];
1119
- readonly name: "numUserWallets";
1120
- readonly outputs: readonly [{
1121
- readonly name: "";
1122
- readonly type: "uint256";
1123
- }];
1124
- readonly stateMutability: "view";
1125
- readonly type: "function";
1126
- }, {
1127
- readonly inputs: readonly [{
1128
- readonly name: "arg0";
1129
- readonly type: "address";
1130
- }];
1131
- readonly name: "isAgentLocal";
1132
- readonly outputs: readonly [{
1133
- readonly name: "";
1134
- readonly type: "bool";
1135
- }];
1136
- readonly stateMutability: "view";
1137
- readonly type: "function";
1138
- }, {
1139
- readonly inputs: readonly [];
1140
- readonly name: "numAgents";
1141
- readonly outputs: readonly [{
1142
- readonly name: "";
1143
- readonly type: "uint256";
1144
- }];
1145
- readonly stateMutability: "view";
1146
- readonly type: "function";
1147
- }, {
1148
- readonly inputs: readonly [{
1149
- readonly name: "arg0";
1150
- readonly type: "uint256";
1151
- }];
1152
- readonly name: "addressInfo";
1153
- readonly outputs: readonly [{
1154
- readonly components: readonly [{
1155
- readonly name: "addr";
1156
- readonly type: "address";
1157
- }, {
1158
- readonly name: "version";
1159
- readonly type: "uint256";
1160
- }, {
1161
- readonly name: "lastModified";
1162
- readonly type: "uint256";
1163
- }];
1164
- readonly name: "";
1165
- readonly type: "tuple";
1166
- }];
1167
- readonly stateMutability: "view";
1168
- readonly type: "function";
1169
- }, {
1170
- readonly inputs: readonly [{
1171
- readonly name: "arg0";
1172
- readonly type: "uint256";
1173
- }];
1174
- readonly name: "pendingAddress";
1175
- readonly outputs: readonly [{
1176
- readonly components: readonly [{
1177
- readonly name: "newAddr";
1178
- readonly type: "address";
1179
- }, {
1180
- readonly name: "initiatedBlock";
1181
- readonly type: "uint256";
1182
- }, {
1183
- readonly name: "confirmBlock";
1184
- readonly type: "uint256";
1185
- }];
1186
- readonly name: "";
1187
- readonly type: "tuple";
1188
- }];
1189
- readonly stateMutability: "view";
1190
- readonly type: "function";
1191
- }, {
1192
- readonly inputs: readonly [];
1193
- readonly name: "addressChangeDelay";
1194
- readonly outputs: readonly [{
1195
- readonly name: "";
1196
- readonly type: "uint256";
1197
- }];
1198
- readonly stateMutability: "view";
1199
- readonly type: "function";
1200
- }, {
1201
- readonly inputs: readonly [];
1202
- readonly name: "ambassadorBonusRatio";
1203
- readonly outputs: readonly [{
1204
- readonly name: "";
1205
- readonly type: "uint256";
1206
- }];
1207
- readonly stateMutability: "view";
1208
- readonly type: "function";
1209
- }, {
1210
- readonly inputs: readonly [];
1211
- readonly name: "trialFundsData";
1212
- readonly outputs: readonly [{
1213
- readonly components: readonly [{
1214
- readonly name: "asset";
1215
- readonly type: "address";
1216
- }, {
1217
- readonly name: "amount";
1218
- readonly type: "uint256";
1219
- }];
1220
- readonly name: "";
1221
- readonly type: "tuple";
1222
- }];
1223
- readonly stateMutability: "view";
1224
- readonly type: "function";
1225
- }, {
1226
- readonly inputs: readonly [];
1227
- readonly name: "numUserWalletsAllowed";
1228
- readonly outputs: readonly [{
1229
- readonly name: "";
1230
- readonly type: "uint256";
1231
- }];
1232
- readonly stateMutability: "view";
1233
- readonly type: "function";
1234
- }, {
1235
- readonly inputs: readonly [];
1236
- readonly name: "numAgentsAllowed";
1237
- readonly outputs: readonly [{
1238
- readonly name: "";
1239
- readonly type: "uint256";
1240
- }];
1241
- readonly stateMutability: "view";
1242
- readonly type: "function";
1243
- }, {
1244
- readonly inputs: readonly [{
1245
- readonly name: "arg0";
1246
- readonly type: "address";
1247
- }];
1248
- readonly name: "whitelist";
1249
- readonly outputs: readonly [{
1250
- readonly name: "";
1251
- readonly type: "bool";
1252
- }];
1253
- readonly stateMutability: "view";
1254
- readonly type: "function";
1255
- }, {
1256
- readonly inputs: readonly [];
1257
- readonly name: "shouldEnforceWhitelist";
1258
- readonly outputs: readonly [{
1259
- readonly name: "";
1260
- readonly type: "bool";
1261
- }];
1262
- readonly stateMutability: "view";
1263
- readonly type: "function";
1264
- }, {
1265
- readonly inputs: readonly [{
1266
- readonly name: "arg0";
1267
- readonly type: "address";
1268
- }];
1269
- readonly name: "agentBlacklist";
1270
- readonly outputs: readonly [{
1271
- readonly name: "";
1272
- readonly type: "bool";
1273
- }];
1274
- readonly stateMutability: "view";
1275
- readonly type: "function";
1276
- }, {
1277
- readonly inputs: readonly [{
1278
- readonly name: "arg0";
1279
- readonly type: "address";
1280
- }];
1281
- readonly name: "canCriticalCancel";
1282
- readonly outputs: readonly [{
1283
- readonly name: "";
1284
- readonly type: "bool";
1285
- }];
1286
- readonly stateMutability: "view";
1287
- readonly type: "function";
1288
- }, {
1289
- readonly inputs: readonly [];
1290
- readonly name: "isActivated";
1291
- readonly outputs: readonly [{
1292
- readonly name: "";
1293
- readonly type: "bool";
1294
- }];
1295
- readonly stateMutability: "view";
1296
- readonly type: "function";
1297
- }, {
1298
- readonly inputs: readonly [];
1299
- readonly name: "ADDY_REGISTRY";
1300
- readonly outputs: readonly [{
1301
- readonly name: "";
1302
- readonly type: "address";
1303
- }];
1304
- readonly stateMutability: "view";
1305
- readonly type: "function";
1306
- }, {
1307
- readonly inputs: readonly [];
1308
- readonly name: "WETH_ADDR";
1309
- readonly outputs: readonly [{
1310
- readonly name: "";
1311
- readonly type: "address";
1312
- }];
1313
- readonly stateMutability: "view";
1314
- readonly type: "function";
1315
- }, {
1316
- readonly inputs: readonly [];
1317
- readonly name: "MIN_OWNER_CHANGE_DELAY";
1318
- readonly outputs: readonly [{
1319
- readonly name: "";
1320
- readonly type: "uint256";
1321
- }];
1322
- readonly stateMutability: "view";
1323
- readonly type: "function";
1324
- }, {
1325
- readonly inputs: readonly [];
1326
- readonly name: "MAX_OWNER_CHANGE_DELAY";
1327
- readonly outputs: readonly [{
1328
- readonly name: "";
1329
- readonly type: "uint256";
1330
- }];
1331
- readonly stateMutability: "view";
1332
- readonly type: "function";
1333
- }, {
1334
- readonly inputs: readonly [];
1335
- readonly name: "MIN_ADDRESS_CHANGE_DELAY";
1336
- readonly outputs: readonly [{
1337
- readonly name: "";
1338
- readonly type: "uint256";
1339
- }];
1340
- readonly stateMutability: "view";
1341
- readonly type: "function";
1342
- }, {
1343
- readonly inputs: readonly [];
1344
- readonly name: "MAX_ADDRESS_CHANGE_DELAY";
1345
- readonly outputs: readonly [{
1346
- readonly name: "";
1347
- readonly type: "uint256";
1348
- }];
1349
- readonly stateMutability: "view";
1350
- readonly type: "function";
1351
- }, {
1352
- readonly inputs: readonly [{
1353
- readonly name: "_addyRegistry";
1354
- readonly type: "address";
1355
- }, {
1356
- readonly name: "_wethAddr";
1357
- readonly type: "address";
1358
- }, {
1359
- readonly name: "_userWalletTemplate";
1360
- readonly type: "address";
1361
- }, {
1362
- readonly name: "_userConfigTemplate";
1363
- readonly type: "address";
1364
- }, {
1365
- readonly name: "_agentTemplate";
1366
- readonly type: "address";
1367
- }, {
1368
- readonly name: "_defaultAgent";
1369
- readonly type: "address";
1370
- }, {
1371
- readonly name: "_minChangeDelay";
1372
- readonly type: "uint256";
1373
- }, {
1374
- readonly name: "_maxChangeDelay";
1375
- readonly type: "uint256";
1376
- }];
1377
- readonly outputs: readonly [];
1378
- readonly stateMutability: "nonpayable";
1379
- readonly type: "constructor";
1380
- }];
1381
- export declare const deployAddress: Address | undefined;
1382
- export type Contract = {
1383
- calls: {
1384
- canGovern: (address: `0x${string}`) => Promise<boolean>;
1385
- hasPendingGovChange: () => Promise<boolean>;
1386
- governance: () => Promise<`0x${string}`>;
1387
- pendingGov: () => Promise<{
1388
- newGov: `0x${string}`;
1389
- initiatedBlock: bigint;
1390
- confirmBlock: bigint;
1391
- }>;
1392
- govChangeDelay: () => Promise<bigint>;
1393
- MIN_GOV_CHANGE_DELAY: () => Promise<bigint>;
1394
- MAX_GOV_CHANGE_DELAY: () => Promise<bigint>;
1395
- isUserWallet: (addr: `0x${string}`) => Promise<boolean>;
1396
- isAgent: (addr: `0x${string}`) => Promise<boolean>;
1397
- getUserWalletTemplateAddr: () => Promise<`0x${string}`>;
1398
- getUserWalletTemplateInfo: () => Promise<{
1399
- addr: `0x${string}`;
1400
- version: bigint;
1401
- lastModified: bigint;
1402
- }>;
1403
- getPendingUserWalletTemplateUpdate: () => Promise<{
1404
- newAddr: `0x${string}`;
1405
- initiatedBlock: bigint;
1406
- confirmBlock: bigint;
1407
- }>;
1408
- hasPendingUserWalletTemplateUpdate: () => Promise<boolean>;
1409
- getUserWalletConfigTemplateAddr: () => Promise<`0x${string}`>;
1410
- getUserWalletConfigTemplateInfo: () => Promise<{
1411
- addr: `0x${string}`;
1412
- version: bigint;
1413
- lastModified: bigint;
1414
- }>;
1415
- getPendingUserWalletConfigTemplateUpdate: () => Promise<{
1416
- newAddr: `0x${string}`;
1417
- initiatedBlock: bigint;
1418
- confirmBlock: bigint;
1419
- }>;
1420
- hasPendingUserWalletConfigTemplateUpdate: () => Promise<boolean>;
1421
- getAgentTemplateAddr: () => Promise<`0x${string}`>;
1422
- getAgentTemplateInfo: () => Promise<{
1423
- addr: `0x${string}`;
1424
- version: bigint;
1425
- lastModified: bigint;
1426
- }>;
1427
- getPendingAgentTemplateUpdate: () => Promise<{
1428
- newAddr: `0x${string}`;
1429
- initiatedBlock: bigint;
1430
- confirmBlock: bigint;
1431
- }>;
1432
- hasPendingAgentTemplateUpdate: () => Promise<boolean>;
1433
- canCancelCriticalAction: (addr: `0x${string}`) => Promise<boolean>;
1434
- getDefaultAgentAddr: () => Promise<`0x${string}`>;
1435
- getDefaultAgentInfo: () => Promise<{
1436
- addr: `0x${string}`;
1437
- version: bigint;
1438
- lastModified: bigint;
1439
- }>;
1440
- getPendingDefaultAgentUpdate: () => Promise<{
1441
- newAddr: `0x${string}`;
1442
- initiatedBlock: bigint;
1443
- confirmBlock: bigint;
1444
- }>;
1445
- hasPendingDefaultAgentUpdate: () => Promise<boolean>;
1446
- isUserWalletLocal: (arg0: `0x${string}`) => Promise<boolean>;
1447
- numUserWallets: () => Promise<bigint>;
1448
- isAgentLocal: (arg0: `0x${string}`) => Promise<boolean>;
1449
- numAgents: () => Promise<bigint>;
1450
- addressInfo: (arg0: bigint) => Promise<{
1451
- addr: `0x${string}`;
1452
- version: bigint;
1453
- lastModified: bigint;
1454
- }>;
1455
- pendingAddress: (arg0: bigint) => Promise<{
1456
- newAddr: `0x${string}`;
1457
- initiatedBlock: bigint;
1458
- confirmBlock: bigint;
1459
- }>;
1460
- addressChangeDelay: () => Promise<bigint>;
1461
- ambassadorBonusRatio: () => Promise<bigint>;
1462
- trialFundsData: () => Promise<{
1463
- asset: `0x${string}`;
1464
- amount: bigint;
1465
- }>;
1466
- numUserWalletsAllowed: () => Promise<bigint>;
1467
- numAgentsAllowed: () => Promise<bigint>;
1468
- whitelist: (arg0: `0x${string}`) => Promise<boolean>;
1469
- shouldEnforceWhitelist: () => Promise<boolean>;
1470
- agentBlacklist: (arg0: `0x${string}`) => Promise<boolean>;
1471
- canCriticalCancel: (arg0: `0x${string}`) => Promise<boolean>;
1472
- isActivated: () => Promise<boolean>;
1473
- ADDY_REGISTRY: () => Promise<`0x${string}`>;
1474
- WETH_ADDR: () => Promise<`0x${string}`>;
1475
- MIN_OWNER_CHANGE_DELAY: () => Promise<bigint>;
1476
- MAX_OWNER_CHANGE_DELAY: () => Promise<bigint>;
1477
- MIN_ADDRESS_CHANGE_DELAY: () => Promise<bigint>;
1478
- MAX_ADDRESS_CHANGE_DELAY: () => Promise<bigint>;
1479
- };
1480
- mutations: {
1481
- changeGovernance: (newGov: `0x${string}`) => Promise<void>;
1482
- confirmGovernanceChange: () => Promise<void>;
1483
- cancelGovernanceChange: () => Promise<void>;
1484
- setGovernanceChangeDelay: (numBlocks: bigint) => Promise<void>;
1485
- createUserWallet: (owner?: `0x${string}`, ambassador?: `0x${string}`, shouldUseTrialFunds?: boolean) => Promise<`0x${string}`>;
1486
- createAgent: (owner?: `0x${string}`) => Promise<`0x${string}`>;
1487
- initiateUserWalletTemplateUpdate: (newAddr: `0x${string}`) => Promise<boolean>;
1488
- confirmUserWalletTemplateUpdate: () => Promise<boolean>;
1489
- cancelUserWalletTemplateUpdate: () => Promise<boolean>;
1490
- initiateUserWalletConfigTemplateUpdate: (newAddr: `0x${string}`) => Promise<boolean>;
1491
- confirmUserWalletConfigTemplateUpdate: () => Promise<boolean>;
1492
- cancelUserWalletConfigTemplateUpdate: () => Promise<boolean>;
1493
- initiateAgentTemplateUpdate: (newAddr: `0x${string}`) => Promise<boolean>;
1494
- confirmAgentTemplateUpdate: () => Promise<boolean>;
1495
- cancelAgentTemplateUpdate: () => Promise<boolean>;
1496
- setAddressChangeDelay: (numBlocks: bigint) => Promise<void>;
1497
- setWhitelist: (addr: `0x${string}`, shouldWhitelist: boolean) => Promise<boolean>;
1498
- setShouldEnforceWhitelist: (shouldEnforce: boolean) => Promise<boolean>;
1499
- setNumUserWalletsAllowed: (numAllowed?: bigint) => Promise<boolean>;
1500
- setNumAgentsAllowed: (numAllowed?: bigint) => Promise<boolean>;
1501
- setAgentBlacklist: (agentAddr: `0x${string}`, shouldBlacklist: boolean) => Promise<boolean>;
1502
- setCanCriticalCancel: (addr: `0x${string}`, canCancel: boolean) => Promise<boolean>;
1503
- setTrialFundsData: (asset: `0x${string}`, amount: bigint) => Promise<boolean>;
1504
- clawBackTrialFunds: (wallets: `0x${string}`[]) => Promise<boolean>;
1505
- clawBackTrialFundsLegacy: (recoveries: {
1506
- wallet: `0x${string}`;
1507
- opportunities: {
1508
- legoId: bigint;
1509
- vaultToken: `0x${string}`;
1510
- }[];
1511
- }[]) => Promise<boolean>;
1512
- payAmbassadorYieldBonus: (ambassador: `0x${string}`, asset: `0x${string}`, amount: bigint) => Promise<boolean>;
1513
- setAmbassadorBonusRatio: (bonusRatio: bigint) => Promise<boolean>;
1514
- initiateDefaultAgentUpdate: (newAddr: `0x${string}`) => Promise<boolean>;
1515
- confirmDefaultAgentUpdate: () => Promise<boolean>;
1516
- cancelDefaultAgentUpdate: () => Promise<boolean>;
1517
- recoverFundsFromAgentFactory: (asset: `0x${string}`, recipient: `0x${string}`) => Promise<boolean>;
1518
- activate: (shouldActivate: boolean) => Promise<void>;
1519
- };
1520
- events: {
1521
- UserWalletCreated: (mainAddr: `0x${string}`, configAddr: `0x${string}`, owner: `0x${string}`, agent: `0x${string}`, ambassador: `0x${string}`, creator: `0x${string}`) => Promise<void>;
1522
- AgentCreated: (agent: `0x${string}`, owner: `0x${string}`, creator: `0x${string}`) => Promise<void>;
1523
- AddressUpdateInitiated: (prevAddr: `0x${string}`, newAddr: `0x${string}`, confirmBlock: bigint, addressType: bigint) => Promise<void>;
1524
- AddressUpdateConfirmed: (prevAddr: `0x${string}`, newAddr: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint, addressType: bigint) => Promise<void>;
1525
- AddressUpdateCancelled: (cancelledTemplate: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint, addressType: bigint) => Promise<void>;
1526
- AddressChangeDelaySet: (delayBlocks: bigint) => Promise<void>;
1527
- WhitelistSet: (addr: `0x${string}`, shouldWhitelist: boolean) => Promise<void>;
1528
- ShouldEnforceWhitelistSet: (shouldEnforce: boolean) => Promise<void>;
1529
- NumUserWalletsAllowedSet: (numAllowed: bigint) => Promise<void>;
1530
- NumAgentsAllowedSet: (numAllowed: bigint) => Promise<void>;
1531
- AgentBlacklistSet: (agentAddr: `0x${string}`, shouldBlacklist: boolean) => Promise<void>;
1532
- CanCriticalCancelSet: (addr: `0x${string}`, canCancel: boolean) => Promise<void>;
1533
- TrialFundsDataSet: (asset: `0x${string}`, amount: bigint) => Promise<void>;
1534
- AmbassadorYieldBonusPaid: (user: `0x${string}`, ambassador: `0x${string}`, asset: `0x${string}`, amount: bigint, ratio: bigint) => Promise<void>;
1535
- AmbassadorBonusRatioSet: (ratio: bigint) => Promise<void>;
1536
- AgentFactoryFundsRecovered: (asset: `0x${string}`, recipient: `0x${string}`, balance: bigint) => Promise<void>;
1537
- AgentFactoryActivated: (isActivated: boolean) => Promise<void>;
1538
- GovChangeInitiated: (prevGov: `0x${string}`, newGov: `0x${string}`, confirmBlock: bigint) => Promise<void>;
1539
- GovChangeConfirmed: (prevGov: `0x${string}`, newGov: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
1540
- GovChangeCancelled: (cancelledGov: `0x${string}`, initiatedBlock: bigint, confirmBlock: bigint) => Promise<void>;
1541
- GovChangeDelaySet: (delayBlocks: bigint) => Promise<void>;
1542
- };
1543
- };
1544
- export type Calls = keyof Contract['calls'];
1545
- export type Request<M extends Calls> = {
1546
- contractName: 'v0_3_AgentFactory';
1547
- method: M;
1548
- args: ExtractArgs<Contract['calls'][M]>;
1549
- address: Address | undefined;
1550
- deployAddress: Address | undefined;
1551
- defaultValue: Awaited<ReturnType<Contract['calls'][M]>> | undefined;
1552
- getAbi: () => typeof abi;
1553
- with: (options: {
1554
- contractAddress?: Address;
1555
- defaultValue?: Awaited<ReturnType<Contract['calls'][M]>>;
1556
- }) => Request<M>;
1557
- defaultTo: (defaultValue: Awaited<ReturnType<Contract['calls'][M]>>) => Request<M>;
1558
- at: (address: Address) => Request<M>;
1559
- };
1560
- export type CallReturn<M extends Calls> = NonNullable<Request<M>['defaultValue']>;
1561
- declare function getRequest<M extends Calls>(method: M, args: ExtractArgs<Contract['calls'][M]>, contractAddressOrOptions?: Address | {
1562
- contractAddress?: Address;
1563
- defaultValue?: Awaited<ReturnType<Contract['calls'][M]>>;
1564
- }): Request<M>;
1565
- type CallType = {
1566
- [K in Calls]: (...args: ExtractArgs<Contract['calls'][K]>) => ReturnType<typeof getRequest<K>>;
1567
- };
1568
- export declare const call: CallType;
1569
- export type Mutations = keyof Contract['mutations'];
1570
- export declare const mutation: {
1571
- [K in Mutations]: {
1572
- contractName: 'v0_3_AgentFactory';
1573
- deployAddress: Address | undefined;
1574
- getAbi: () => typeof abi;
1575
- functionName: K;
1576
- argsType: ExtractArgs<Contract['mutations'][K]> | undefined;
1577
- };
1578
- };
1579
- export type SDK = {
1580
- deployAddress: Address | undefined;
1581
- abi: typeof abi;
1582
- canGovern: (...args: ExtractArgs<Contract['calls']['canGovern']>) => Promise<CallReturn<'canGovern'>>;
1583
- hasPendingGovChange: (...args: ExtractArgs<Contract['calls']['hasPendingGovChange']>) => Promise<CallReturn<'hasPendingGovChange'>>;
1584
- governance: (...args: ExtractArgs<Contract['calls']['governance']>) => Promise<CallReturn<'governance'>>;
1585
- pendingGov: (...args: ExtractArgs<Contract['calls']['pendingGov']>) => Promise<CallReturn<'pendingGov'>>;
1586
- govChangeDelay: (...args: ExtractArgs<Contract['calls']['govChangeDelay']>) => Promise<CallReturn<'govChangeDelay'>>;
1587
- MIN_GOV_CHANGE_DELAY: (...args: ExtractArgs<Contract['calls']['MIN_GOV_CHANGE_DELAY']>) => Promise<CallReturn<'MIN_GOV_CHANGE_DELAY'>>;
1588
- MAX_GOV_CHANGE_DELAY: (...args: ExtractArgs<Contract['calls']['MAX_GOV_CHANGE_DELAY']>) => Promise<CallReturn<'MAX_GOV_CHANGE_DELAY'>>;
1589
- isUserWallet: (...args: ExtractArgs<Contract['calls']['isUserWallet']>) => Promise<CallReturn<'isUserWallet'>>;
1590
- isAgent: (...args: ExtractArgs<Contract['calls']['isAgent']>) => Promise<CallReturn<'isAgent'>>;
1591
- getUserWalletTemplateAddr: (...args: ExtractArgs<Contract['calls']['getUserWalletTemplateAddr']>) => Promise<CallReturn<'getUserWalletTemplateAddr'>>;
1592
- getUserWalletTemplateInfo: (...args: ExtractArgs<Contract['calls']['getUserWalletTemplateInfo']>) => Promise<CallReturn<'getUserWalletTemplateInfo'>>;
1593
- getPendingUserWalletTemplateUpdate: (...args: ExtractArgs<Contract['calls']['getPendingUserWalletTemplateUpdate']>) => Promise<CallReturn<'getPendingUserWalletTemplateUpdate'>>;
1594
- hasPendingUserWalletTemplateUpdate: (...args: ExtractArgs<Contract['calls']['hasPendingUserWalletTemplateUpdate']>) => Promise<CallReturn<'hasPendingUserWalletTemplateUpdate'>>;
1595
- getUserWalletConfigTemplateAddr: (...args: ExtractArgs<Contract['calls']['getUserWalletConfigTemplateAddr']>) => Promise<CallReturn<'getUserWalletConfigTemplateAddr'>>;
1596
- getUserWalletConfigTemplateInfo: (...args: ExtractArgs<Contract['calls']['getUserWalletConfigTemplateInfo']>) => Promise<CallReturn<'getUserWalletConfigTemplateInfo'>>;
1597
- getPendingUserWalletConfigTemplateUpdate: (...args: ExtractArgs<Contract['calls']['getPendingUserWalletConfigTemplateUpdate']>) => Promise<CallReturn<'getPendingUserWalletConfigTemplateUpdate'>>;
1598
- hasPendingUserWalletConfigTemplateUpdate: (...args: ExtractArgs<Contract['calls']['hasPendingUserWalletConfigTemplateUpdate']>) => Promise<CallReturn<'hasPendingUserWalletConfigTemplateUpdate'>>;
1599
- getAgentTemplateAddr: (...args: ExtractArgs<Contract['calls']['getAgentTemplateAddr']>) => Promise<CallReturn<'getAgentTemplateAddr'>>;
1600
- getAgentTemplateInfo: (...args: ExtractArgs<Contract['calls']['getAgentTemplateInfo']>) => Promise<CallReturn<'getAgentTemplateInfo'>>;
1601
- getPendingAgentTemplateUpdate: (...args: ExtractArgs<Contract['calls']['getPendingAgentTemplateUpdate']>) => Promise<CallReturn<'getPendingAgentTemplateUpdate'>>;
1602
- hasPendingAgentTemplateUpdate: (...args: ExtractArgs<Contract['calls']['hasPendingAgentTemplateUpdate']>) => Promise<CallReturn<'hasPendingAgentTemplateUpdate'>>;
1603
- canCancelCriticalAction: (...args: ExtractArgs<Contract['calls']['canCancelCriticalAction']>) => Promise<CallReturn<'canCancelCriticalAction'>>;
1604
- getDefaultAgentAddr: (...args: ExtractArgs<Contract['calls']['getDefaultAgentAddr']>) => Promise<CallReturn<'getDefaultAgentAddr'>>;
1605
- getDefaultAgentInfo: (...args: ExtractArgs<Contract['calls']['getDefaultAgentInfo']>) => Promise<CallReturn<'getDefaultAgentInfo'>>;
1606
- getPendingDefaultAgentUpdate: (...args: ExtractArgs<Contract['calls']['getPendingDefaultAgentUpdate']>) => Promise<CallReturn<'getPendingDefaultAgentUpdate'>>;
1607
- hasPendingDefaultAgentUpdate: (...args: ExtractArgs<Contract['calls']['hasPendingDefaultAgentUpdate']>) => Promise<CallReturn<'hasPendingDefaultAgentUpdate'>>;
1608
- isUserWalletLocal: (...args: ExtractArgs<Contract['calls']['isUserWalletLocal']>) => Promise<CallReturn<'isUserWalletLocal'>>;
1609
- numUserWallets: (...args: ExtractArgs<Contract['calls']['numUserWallets']>) => Promise<CallReturn<'numUserWallets'>>;
1610
- isAgentLocal: (...args: ExtractArgs<Contract['calls']['isAgentLocal']>) => Promise<CallReturn<'isAgentLocal'>>;
1611
- numAgents: (...args: ExtractArgs<Contract['calls']['numAgents']>) => Promise<CallReturn<'numAgents'>>;
1612
- addressInfo: (...args: ExtractArgs<Contract['calls']['addressInfo']>) => Promise<CallReturn<'addressInfo'>>;
1613
- pendingAddress: (...args: ExtractArgs<Contract['calls']['pendingAddress']>) => Promise<CallReturn<'pendingAddress'>>;
1614
- addressChangeDelay: (...args: ExtractArgs<Contract['calls']['addressChangeDelay']>) => Promise<CallReturn<'addressChangeDelay'>>;
1615
- ambassadorBonusRatio: (...args: ExtractArgs<Contract['calls']['ambassadorBonusRatio']>) => Promise<CallReturn<'ambassadorBonusRatio'>>;
1616
- trialFundsData: (...args: ExtractArgs<Contract['calls']['trialFundsData']>) => Promise<CallReturn<'trialFundsData'>>;
1617
- numUserWalletsAllowed: (...args: ExtractArgs<Contract['calls']['numUserWalletsAllowed']>) => Promise<CallReturn<'numUserWalletsAllowed'>>;
1618
- numAgentsAllowed: (...args: ExtractArgs<Contract['calls']['numAgentsAllowed']>) => Promise<CallReturn<'numAgentsAllowed'>>;
1619
- whitelist: (...args: ExtractArgs<Contract['calls']['whitelist']>) => Promise<CallReturn<'whitelist'>>;
1620
- shouldEnforceWhitelist: (...args: ExtractArgs<Contract['calls']['shouldEnforceWhitelist']>) => Promise<CallReturn<'shouldEnforceWhitelist'>>;
1621
- agentBlacklist: (...args: ExtractArgs<Contract['calls']['agentBlacklist']>) => Promise<CallReturn<'agentBlacklist'>>;
1622
- canCriticalCancel: (...args: ExtractArgs<Contract['calls']['canCriticalCancel']>) => Promise<CallReturn<'canCriticalCancel'>>;
1623
- isActivated: (...args: ExtractArgs<Contract['calls']['isActivated']>) => Promise<CallReturn<'isActivated'>>;
1624
- ADDY_REGISTRY: (...args: ExtractArgs<Contract['calls']['ADDY_REGISTRY']>) => Promise<CallReturn<'ADDY_REGISTRY'>>;
1625
- WETH_ADDR: (...args: ExtractArgs<Contract['calls']['WETH_ADDR']>) => Promise<CallReturn<'WETH_ADDR'>>;
1626
- MIN_OWNER_CHANGE_DELAY: (...args: ExtractArgs<Contract['calls']['MIN_OWNER_CHANGE_DELAY']>) => Promise<CallReturn<'MIN_OWNER_CHANGE_DELAY'>>;
1627
- MAX_OWNER_CHANGE_DELAY: (...args: ExtractArgs<Contract['calls']['MAX_OWNER_CHANGE_DELAY']>) => Promise<CallReturn<'MAX_OWNER_CHANGE_DELAY'>>;
1628
- MIN_ADDRESS_CHANGE_DELAY: (...args: ExtractArgs<Contract['calls']['MIN_ADDRESS_CHANGE_DELAY']>) => Promise<CallReturn<'MIN_ADDRESS_CHANGE_DELAY'>>;
1629
- MAX_ADDRESS_CHANGE_DELAY: (...args: ExtractArgs<Contract['calls']['MAX_ADDRESS_CHANGE_DELAY']>) => Promise<CallReturn<'MAX_ADDRESS_CHANGE_DELAY'>>;
1630
- changeGovernance: (...args: ExtractArgs<Contract['mutations']['changeGovernance']>) => Promise<Address>;
1631
- confirmGovernanceChange: (...args: ExtractArgs<Contract['mutations']['confirmGovernanceChange']>) => Promise<Address>;
1632
- cancelGovernanceChange: (...args: ExtractArgs<Contract['mutations']['cancelGovernanceChange']>) => Promise<Address>;
1633
- setGovernanceChangeDelay: (...args: ExtractArgs<Contract['mutations']['setGovernanceChangeDelay']>) => Promise<Address>;
1634
- createUserWallet: (...args: ExtractArgs<Contract['mutations']['createUserWallet']>) => Promise<Address>;
1635
- createAgent: (...args: ExtractArgs<Contract['mutations']['createAgent']>) => Promise<Address>;
1636
- initiateUserWalletTemplateUpdate: (...args: ExtractArgs<Contract['mutations']['initiateUserWalletTemplateUpdate']>) => Promise<Address>;
1637
- confirmUserWalletTemplateUpdate: (...args: ExtractArgs<Contract['mutations']['confirmUserWalletTemplateUpdate']>) => Promise<Address>;
1638
- cancelUserWalletTemplateUpdate: (...args: ExtractArgs<Contract['mutations']['cancelUserWalletTemplateUpdate']>) => Promise<Address>;
1639
- initiateUserWalletConfigTemplateUpdate: (...args: ExtractArgs<Contract['mutations']['initiateUserWalletConfigTemplateUpdate']>) => Promise<Address>;
1640
- confirmUserWalletConfigTemplateUpdate: (...args: ExtractArgs<Contract['mutations']['confirmUserWalletConfigTemplateUpdate']>) => Promise<Address>;
1641
- cancelUserWalletConfigTemplateUpdate: (...args: ExtractArgs<Contract['mutations']['cancelUserWalletConfigTemplateUpdate']>) => Promise<Address>;
1642
- initiateAgentTemplateUpdate: (...args: ExtractArgs<Contract['mutations']['initiateAgentTemplateUpdate']>) => Promise<Address>;
1643
- confirmAgentTemplateUpdate: (...args: ExtractArgs<Contract['mutations']['confirmAgentTemplateUpdate']>) => Promise<Address>;
1644
- cancelAgentTemplateUpdate: (...args: ExtractArgs<Contract['mutations']['cancelAgentTemplateUpdate']>) => Promise<Address>;
1645
- setAddressChangeDelay: (...args: ExtractArgs<Contract['mutations']['setAddressChangeDelay']>) => Promise<Address>;
1646
- setWhitelist: (...args: ExtractArgs<Contract['mutations']['setWhitelist']>) => Promise<Address>;
1647
- setShouldEnforceWhitelist: (...args: ExtractArgs<Contract['mutations']['setShouldEnforceWhitelist']>) => Promise<Address>;
1648
- setNumUserWalletsAllowed: (...args: ExtractArgs<Contract['mutations']['setNumUserWalletsAllowed']>) => Promise<Address>;
1649
- setNumAgentsAllowed: (...args: ExtractArgs<Contract['mutations']['setNumAgentsAllowed']>) => Promise<Address>;
1650
- setAgentBlacklist: (...args: ExtractArgs<Contract['mutations']['setAgentBlacklist']>) => Promise<Address>;
1651
- setCanCriticalCancel: (...args: ExtractArgs<Contract['mutations']['setCanCriticalCancel']>) => Promise<Address>;
1652
- setTrialFundsData: (...args: ExtractArgs<Contract['mutations']['setTrialFundsData']>) => Promise<Address>;
1653
- clawBackTrialFunds: (...args: ExtractArgs<Contract['mutations']['clawBackTrialFunds']>) => Promise<Address>;
1654
- clawBackTrialFundsLegacy: (...args: ExtractArgs<Contract['mutations']['clawBackTrialFundsLegacy']>) => Promise<Address>;
1655
- payAmbassadorYieldBonus: (...args: ExtractArgs<Contract['mutations']['payAmbassadorYieldBonus']>) => Promise<Address>;
1656
- setAmbassadorBonusRatio: (...args: ExtractArgs<Contract['mutations']['setAmbassadorBonusRatio']>) => Promise<Address>;
1657
- initiateDefaultAgentUpdate: (...args: ExtractArgs<Contract['mutations']['initiateDefaultAgentUpdate']>) => Promise<Address>;
1658
- confirmDefaultAgentUpdate: (...args: ExtractArgs<Contract['mutations']['confirmDefaultAgentUpdate']>) => Promise<Address>;
1659
- cancelDefaultAgentUpdate: (...args: ExtractArgs<Contract['mutations']['cancelDefaultAgentUpdate']>) => Promise<Address>;
1660
- recoverFundsFromAgentFactory: (...args: ExtractArgs<Contract['mutations']['recoverFundsFromAgentFactory']>) => Promise<Address>;
1661
- activate: (...args: ExtractArgs<Contract['mutations']['activate']>) => Promise<Address>;
1662
- };
1663
- export declare function toSdk(publicClient?: PublicClient, walletClient?: WalletClient): SDK;
1664
- export {};
1665
- //# sourceMappingURL=v0_3_AgentFactory.d.ts.map