@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,594 +0,0 @@
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: true,
12
- name: 'addr',
13
- type: 'address',
14
- },
15
- {
16
- indexed: false,
17
- name: 'addyId',
18
- type: 'uint256',
19
- },
20
- {
21
- indexed: false,
22
- name: 'description',
23
- type: 'string',
24
- },
25
- ],
26
- name: 'NewAddyRegistered',
27
- type: 'event',
28
- },
29
- {
30
- anonymous: false,
31
- inputs: [
32
- {
33
- indexed: true,
34
- name: 'newAddr',
35
- type: 'address',
36
- },
37
- {
38
- indexed: true,
39
- name: 'prevAddy',
40
- type: 'address',
41
- },
42
- {
43
- indexed: false,
44
- name: 'addyId',
45
- type: 'uint256',
46
- },
47
- {
48
- indexed: false,
49
- name: 'version',
50
- type: 'uint256',
51
- },
52
- {
53
- indexed: false,
54
- name: 'description',
55
- type: 'string',
56
- },
57
- ],
58
- name: 'AddyIdUpdated',
59
- type: 'event',
60
- },
61
- {
62
- anonymous: false,
63
- inputs: [
64
- {
65
- indexed: true,
66
- name: 'prevAddy',
67
- type: 'address',
68
- },
69
- {
70
- indexed: false,
71
- name: 'addyId',
72
- type: 'uint256',
73
- },
74
- {
75
- indexed: false,
76
- name: 'version',
77
- type: 'uint256',
78
- },
79
- {
80
- indexed: false,
81
- name: 'description',
82
- type: 'string',
83
- },
84
- ],
85
- name: 'AddyIdDisabled',
86
- type: 'event',
87
- },
88
- {
89
- anonymous: false,
90
- inputs: [
91
- {
92
- indexed: true,
93
- name: 'governor',
94
- type: 'address',
95
- },
96
- ],
97
- name: 'AddyRegistryGovernorSet',
98
- type: 'event',
99
- },
100
- {
101
- anonymous: false,
102
- inputs: [
103
- {
104
- indexed: false,
105
- name: 'isActivated',
106
- type: 'bool',
107
- },
108
- ],
109
- name: 'AddyRegistryActivated',
110
- type: 'event',
111
- },
112
- {
113
- inputs: [
114
- {
115
- name: '_addy',
116
- type: 'address',
117
- },
118
- ],
119
- name: 'isValidNewAddy',
120
- outputs: [
121
- {
122
- name: '',
123
- type: 'bool',
124
- },
125
- ],
126
- stateMutability: 'view',
127
- type: 'function',
128
- },
129
- {
130
- inputs: [
131
- {
132
- name: '_addy',
133
- type: 'address',
134
- },
135
- {
136
- name: '_description',
137
- type: 'string',
138
- },
139
- ],
140
- name: 'registerNewAddy',
141
- outputs: [
142
- {
143
- name: '',
144
- type: 'uint256',
145
- },
146
- ],
147
- stateMutability: 'nonpayable',
148
- type: 'function',
149
- },
150
- {
151
- inputs: [
152
- {
153
- name: '_addyId',
154
- type: 'uint256',
155
- },
156
- {
157
- name: '_newAddy',
158
- type: 'address',
159
- },
160
- ],
161
- name: 'isValidAddyUpdate',
162
- outputs: [
163
- {
164
- name: '',
165
- type: 'bool',
166
- },
167
- ],
168
- stateMutability: 'view',
169
- type: 'function',
170
- },
171
- {
172
- inputs: [
173
- {
174
- name: '_addyId',
175
- type: 'uint256',
176
- },
177
- {
178
- name: '_newAddy',
179
- type: 'address',
180
- },
181
- ],
182
- name: 'updateAddy',
183
- outputs: [
184
- {
185
- name: '',
186
- type: 'bool',
187
- },
188
- ],
189
- stateMutability: 'nonpayable',
190
- type: 'function',
191
- },
192
- {
193
- inputs: [
194
- {
195
- name: '_addyId',
196
- type: 'uint256',
197
- },
198
- ],
199
- name: 'isValidAddyDisable',
200
- outputs: [
201
- {
202
- name: '',
203
- type: 'bool',
204
- },
205
- ],
206
- stateMutability: 'view',
207
- type: 'function',
208
- },
209
- {
210
- inputs: [
211
- {
212
- name: '_addyId',
213
- type: 'uint256',
214
- },
215
- ],
216
- name: 'disableAddy',
217
- outputs: [
218
- {
219
- name: '',
220
- type: 'bool',
221
- },
222
- ],
223
- stateMutability: 'nonpayable',
224
- type: 'function',
225
- },
226
- {
227
- inputs: [
228
- {
229
- name: '_addy',
230
- type: 'address',
231
- },
232
- ],
233
- name: 'isValidAddy',
234
- outputs: [
235
- {
236
- name: '',
237
- type: 'bool',
238
- },
239
- ],
240
- stateMutability: 'view',
241
- type: 'function',
242
- },
243
- {
244
- inputs: [
245
- {
246
- name: '_addyId',
247
- type: 'uint256',
248
- },
249
- ],
250
- name: 'isValidAddyId',
251
- outputs: [
252
- {
253
- name: '',
254
- type: 'bool',
255
- },
256
- ],
257
- stateMutability: 'view',
258
- type: 'function',
259
- },
260
- {
261
- inputs: [
262
- {
263
- name: '_addy',
264
- type: 'address',
265
- },
266
- ],
267
- name: 'getAddyId',
268
- outputs: [
269
- {
270
- name: '',
271
- type: 'uint256',
272
- },
273
- ],
274
- stateMutability: 'view',
275
- type: 'function',
276
- },
277
- {
278
- inputs: [
279
- {
280
- name: '_addyId',
281
- type: 'uint256',
282
- },
283
- ],
284
- name: 'getAddy',
285
- outputs: [
286
- {
287
- name: '',
288
- type: 'address',
289
- },
290
- ],
291
- stateMutability: 'view',
292
- type: 'function',
293
- },
294
- {
295
- inputs: [
296
- {
297
- name: '_addyId',
298
- type: 'uint256',
299
- },
300
- ],
301
- name: 'getAddyInfo',
302
- outputs: [
303
- {
304
- components: [
305
- {
306
- name: 'addr',
307
- type: 'address',
308
- },
309
- {
310
- name: 'version',
311
- type: 'uint256',
312
- },
313
- {
314
- name: 'lastModified',
315
- type: 'uint256',
316
- },
317
- {
318
- name: 'description',
319
- type: 'string',
320
- },
321
- ],
322
- name: '',
323
- type: 'tuple',
324
- },
325
- ],
326
- stateMutability: 'view',
327
- type: 'function',
328
- },
329
- {
330
- inputs: [
331
- {
332
- name: '_addyId',
333
- type: 'uint256',
334
- },
335
- ],
336
- name: 'getAddyDescription',
337
- outputs: [
338
- {
339
- name: '',
340
- type: 'string',
341
- },
342
- ],
343
- stateMutability: 'view',
344
- type: 'function',
345
- },
346
- {
347
- inputs: [],
348
- name: 'getNumAddys',
349
- outputs: [
350
- {
351
- name: '',
352
- type: 'uint256',
353
- },
354
- ],
355
- stateMutability: 'view',
356
- type: 'function',
357
- },
358
- {
359
- inputs: [],
360
- name: 'getLastAddy',
361
- outputs: [
362
- {
363
- name: '',
364
- type: 'address',
365
- },
366
- ],
367
- stateMutability: 'view',
368
- type: 'function',
369
- },
370
- {
371
- inputs: [],
372
- name: 'getLastAddyId',
373
- outputs: [
374
- {
375
- name: '',
376
- type: 'uint256',
377
- },
378
- ],
379
- stateMutability: 'view',
380
- type: 'function',
381
- },
382
- {
383
- inputs: [
384
- {
385
- name: '_newGovernor',
386
- type: 'address',
387
- },
388
- ],
389
- name: 'isValidGovernor',
390
- outputs: [
391
- {
392
- name: '',
393
- type: 'bool',
394
- },
395
- ],
396
- stateMutability: 'view',
397
- type: 'function',
398
- },
399
- {
400
- inputs: [
401
- {
402
- name: '_newGovernor',
403
- type: 'address',
404
- },
405
- ],
406
- name: 'setGovernor',
407
- outputs: [
408
- {
409
- name: '',
410
- type: 'bool',
411
- },
412
- ],
413
- stateMutability: 'nonpayable',
414
- type: 'function',
415
- },
416
- {
417
- inputs: [
418
- {
419
- name: 'arg0',
420
- type: 'uint256',
421
- },
422
- ],
423
- name: 'addyInfo',
424
- outputs: [
425
- {
426
- components: [
427
- {
428
- name: 'addr',
429
- type: 'address',
430
- },
431
- {
432
- name: 'version',
433
- type: 'uint256',
434
- },
435
- {
436
- name: 'lastModified',
437
- type: 'uint256',
438
- },
439
- {
440
- name: 'description',
441
- type: 'string',
442
- },
443
- ],
444
- name: '',
445
- type: 'tuple',
446
- },
447
- ],
448
- stateMutability: 'view',
449
- type: 'function',
450
- },
451
- {
452
- inputs: [
453
- {
454
- name: 'arg0',
455
- type: 'address',
456
- },
457
- ],
458
- name: 'addyToId',
459
- outputs: [
460
- {
461
- name: '',
462
- type: 'uint256',
463
- },
464
- ],
465
- stateMutability: 'view',
466
- type: 'function',
467
- },
468
- {
469
- inputs: [],
470
- name: 'numAddys',
471
- outputs: [
472
- {
473
- name: '',
474
- type: 'uint256',
475
- },
476
- ],
477
- stateMutability: 'view',
478
- type: 'function',
479
- },
480
- {
481
- inputs: [],
482
- name: 'governor',
483
- outputs: [
484
- {
485
- name: '',
486
- type: 'address',
487
- },
488
- ],
489
- stateMutability: 'view',
490
- type: 'function',
491
- },
492
- {
493
- inputs: [
494
- {
495
- name: '_governor',
496
- type: 'address',
497
- },
498
- ],
499
- outputs: [],
500
- stateMutability: 'nonpayable',
501
- type: 'constructor',
502
- },
503
- ];
504
- export const deployAddress = '0x49B08551e452cA99da7dE9B3a60E39e5f10C13CD';
505
- function getRequest(method, args, contractAddressOrOptions) {
506
- const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
507
- const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
508
- const call = {
509
- contractName: 'v0_1_AddyRegistry',
510
- method,
511
- args,
512
- address,
513
- deployAddress,
514
- defaultValue,
515
- getAbi: () => abi,
516
- with: (options) => {
517
- call.address = options.contractAddress;
518
- call.defaultValue = options.defaultValue;
519
- return call;
520
- },
521
- defaultTo: (defaultValue) => {
522
- call.defaultValue = defaultValue;
523
- return call;
524
- },
525
- at: (address) => {
526
- call.address = address;
527
- return call;
528
- },
529
- };
530
- return call;
531
- }
532
- export const call = {
533
- isValidNewAddy: (...args) => getRequest('isValidNewAddy', args),
534
- isValidAddyUpdate: (...args) => getRequest('isValidAddyUpdate', args),
535
- isValidAddyDisable: (...args) => getRequest('isValidAddyDisable', args),
536
- isValidAddy: (...args) => getRequest('isValidAddy', args),
537
- isValidAddyId: (...args) => getRequest('isValidAddyId', args),
538
- getAddyId: (...args) => getRequest('getAddyId', args),
539
- getAddy: (...args) => getRequest('getAddy', args),
540
- getAddyInfo: (...args) => getRequest('getAddyInfo', args),
541
- getAddyDescription: (...args) => getRequest('getAddyDescription', args),
542
- getNumAddys: (...args) => getRequest('getNumAddys', args),
543
- getLastAddy: (...args) => getRequest('getLastAddy', args),
544
- getLastAddyId: (...args) => getRequest('getLastAddyId', args),
545
- isValidGovernor: (...args) => getRequest('isValidGovernor', args),
546
- addyInfo: (...args) => getRequest('addyInfo', args),
547
- addyToId: (...args) => getRequest('addyToId', args),
548
- numAddys: (...args) => getRequest('numAddys', args),
549
- governor: (...args) => getRequest('governor', args),
550
- };
551
- function getMutation(functionName) {
552
- return {
553
- contractName: 'v0_1_AddyRegistry',
554
- functionName,
555
- deployAddress,
556
- argsType: undefined,
557
- getAbi: () => abi,
558
- };
559
- }
560
- export const mutation = {
561
- registerNewAddy: getMutation('registerNewAddy'),
562
- updateAddy: getMutation('updateAddy'),
563
- disableAddy: getMutation('disableAddy'),
564
- setGovernor: getMutation('setGovernor'),
565
- };
566
- export function toSdk(publicClient, walletClient) {
567
- return {
568
- deployAddress,
569
- abi,
570
- // Queries
571
- isValidNewAddy: (...args) => singleQuery(publicClient, call.isValidNewAddy(...args)),
572
- isValidAddyUpdate: (...args) => singleQuery(publicClient, call.isValidAddyUpdate(...args)),
573
- isValidAddyDisable: (...args) => singleQuery(publicClient, call.isValidAddyDisable(...args)),
574
- isValidAddy: (...args) => singleQuery(publicClient, call.isValidAddy(...args)),
575
- isValidAddyId: (...args) => singleQuery(publicClient, call.isValidAddyId(...args)),
576
- getAddyId: (...args) => singleQuery(publicClient, call.getAddyId(...args)),
577
- getAddy: (...args) => singleQuery(publicClient, call.getAddy(...args)),
578
- getAddyInfo: (...args) => singleQuery(publicClient, call.getAddyInfo(...args)),
579
- getAddyDescription: (...args) => singleQuery(publicClient, call.getAddyDescription(...args)),
580
- getNumAddys: (...args) => singleQuery(publicClient, call.getNumAddys(...args)),
581
- getLastAddy: (...args) => singleQuery(publicClient, call.getLastAddy(...args)),
582
- getLastAddyId: (...args) => singleQuery(publicClient, call.getLastAddyId(...args)),
583
- isValidGovernor: (...args) => singleQuery(publicClient, call.isValidGovernor(...args)),
584
- addyInfo: (...args) => singleQuery(publicClient, call.addyInfo(...args)),
585
- addyToId: (...args) => singleQuery(publicClient, call.addyToId(...args)),
586
- numAddys: (...args) => singleQuery(publicClient, call.numAddys(...args)),
587
- governor: (...args) => singleQuery(publicClient, call.governor(...args)),
588
- // Mutations
589
- registerNewAddy: (...args) => mutate(walletClient, mutation.registerNewAddy)(...args),
590
- updateAddy: (...args) => mutate(walletClient, mutation.updateAddy)(...args),
591
- disableAddy: (...args) => mutate(walletClient, mutation.disableAddy)(...args),
592
- setGovernor: (...args) => mutate(walletClient, mutation.setGovernor)(...args),
593
- };
594
- }