@underscore-finance/sdk 0.3.4 → 1.0.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 (244) hide show
  1. package/dist/contracts/AaveV3.d.ts +2120 -0
  2. package/dist/contracts/AaveV3.d.ts.map +1 -0
  3. package/dist/contracts/AaveV3.js +2714 -0
  4. package/dist/contracts/AeroClassic.d.ts +2017 -0
  5. package/dist/contracts/AeroClassic.d.ts.map +1 -0
  6. package/dist/contracts/AeroClassic.js +2567 -0
  7. package/dist/contracts/AeroSlipstream.d.ts +2113 -0
  8. package/dist/contracts/AeroSlipstream.d.ts.map +1 -0
  9. package/dist/contracts/AeroSlipstream.js +2692 -0
  10. package/dist/contracts/Agent.d.ts +2189 -1138
  11. package/dist/contracts/Agent.d.ts.map +1 -1
  12. package/dist/contracts/Agent.js +2807 -1343
  13. package/dist/contracts/AgentWrapper.d.ts +3760 -0
  14. package/dist/contracts/AgentWrapper.d.ts.map +1 -0
  15. package/dist/contracts/AgentWrapper.js +4922 -0
  16. package/dist/contracts/Appraiser.d.ts +997 -0
  17. package/dist/contracts/Appraiser.d.ts.map +1 -0
  18. package/dist/contracts/Appraiser.js +1285 -0
  19. package/dist/contracts/Billing.d.ts +420 -0
  20. package/dist/contracts/Billing.d.ts.map +1 -0
  21. package/dist/contracts/Billing.js +506 -0
  22. package/dist/contracts/ChequeBook.d.ts +1184 -0
  23. package/dist/contracts/ChequeBook.d.ts.map +1 -0
  24. package/dist/contracts/ChequeBook.js +1352 -0
  25. package/dist/contracts/CompoundV3.d.ts +2158 -0
  26. package/dist/contracts/CompoundV3.d.ts.map +1 -0
  27. package/dist/contracts/CompoundV3.js +2764 -0
  28. package/dist/contracts/Curve.d.ts +1077 -0
  29. package/dist/contracts/Curve.d.ts.map +1 -0
  30. package/dist/contracts/Curve.js +1357 -0
  31. package/dist/contracts/DefaultsBase.d.ts +290 -0
  32. package/dist/contracts/DefaultsBase.d.ts.map +1 -0
  33. package/dist/contracts/DefaultsBase.js +316 -0
  34. package/dist/contracts/Euler.d.ts +2172 -0
  35. package/dist/contracts/Euler.d.ts.map +1 -0
  36. package/dist/contracts/Euler.js +2782 -0
  37. package/dist/contracts/Fluid.d.ts +2106 -0
  38. package/dist/contracts/Fluid.d.ts.map +1 -0
  39. package/dist/contracts/Fluid.js +2696 -0
  40. package/dist/contracts/Hatchery.d.ts +541 -0
  41. package/dist/contracts/Hatchery.d.ts.map +1 -0
  42. package/dist/contracts/Hatchery.js +671 -0
  43. package/dist/contracts/HighCommand.d.ts +1868 -0
  44. package/dist/contracts/HighCommand.d.ts.map +1 -0
  45. package/dist/contracts/HighCommand.js +2149 -0
  46. package/dist/contracts/Kernel.d.ts +354 -0
  47. package/dist/contracts/Kernel.d.ts.map +1 -0
  48. package/dist/contracts/Kernel.js +412 -0
  49. package/dist/contracts/Ledger.d.ts +694 -0
  50. package/dist/contracts/Ledger.d.ts.map +1 -0
  51. package/dist/contracts/Ledger.js +834 -0
  52. package/dist/contracts/LegoBook.d.ts +1424 -0
  53. package/dist/contracts/LegoBook.d.ts.map +1 -0
  54. package/dist/contracts/LegoBook.js +1783 -0
  55. package/dist/contracts/LegoTools.d.ts +1898 -0
  56. package/dist/contracts/LegoTools.d.ts.map +1 -0
  57. package/dist/contracts/LegoTools.js +2378 -0
  58. package/dist/contracts/LegoUniswapV0_2.d.ts +1204 -0
  59. package/dist/contracts/LegoUniswapV0_2.d.ts.map +1 -0
  60. package/dist/contracts/LegoUniswapV0_2.js +1546 -0
  61. package/dist/contracts/LootDistributor.d.ts +996 -0
  62. package/dist/contracts/LootDistributor.d.ts.map +1 -0
  63. package/dist/contracts/LootDistributor.js +1255 -0
  64. package/dist/contracts/Migrator.d.ts +268 -0
  65. package/dist/contracts/Migrator.d.ts.map +1 -0
  66. package/dist/contracts/Migrator.js +324 -0
  67. package/dist/contracts/MissionControl.d.ts +1331 -0
  68. package/dist/contracts/MissionControl.d.ts.map +1 -0
  69. package/dist/contracts/MissionControl.js +1485 -0
  70. package/dist/contracts/Moonwell.d.ts +2137 -0
  71. package/dist/contracts/Moonwell.d.ts.map +1 -0
  72. package/dist/contracts/Moonwell.js +2737 -0
  73. package/dist/contracts/Morpho.d.ts +2172 -0
  74. package/dist/contracts/Morpho.d.ts.map +1 -0
  75. package/dist/contracts/Morpho.js +2782 -0
  76. package/dist/contracts/Paymaster.d.ts +1679 -0
  77. package/dist/contracts/Paymaster.d.ts.map +1 -0
  78. package/dist/contracts/Paymaster.js +2077 -0
  79. package/dist/contracts/RipeLego.d.ts +2263 -0
  80. package/dist/contracts/RipeLego.d.ts.map +1 -0
  81. package/dist/contracts/RipeLego.js +2891 -0
  82. package/dist/contracts/Sentinel.d.ts +1804 -0
  83. package/dist/contracts/Sentinel.d.ts.map +1 -0
  84. package/dist/contracts/Sentinel.js +2152 -0
  85. package/dist/contracts/Switchboard.d.ts +1395 -0
  86. package/dist/contracts/Switchboard.d.ts.map +1 -0
  87. package/dist/contracts/Switchboard.js +1746 -0
  88. package/dist/contracts/SwitchboardAlpha.d.ts +2228 -0
  89. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -0
  90. package/dist/contracts/SwitchboardAlpha.js +2743 -0
  91. package/dist/contracts/SwitchboardBravo.d.ts +1498 -0
  92. package/dist/contracts/SwitchboardBravo.d.ts.map +1 -0
  93. package/dist/contracts/SwitchboardBravo.js +1855 -0
  94. package/dist/contracts/UndyHq.d.ts +1580 -0
  95. package/dist/contracts/UndyHq.d.ts.map +1 -0
  96. package/dist/contracts/UndyHq.js +1986 -0
  97. package/dist/contracts/UniswapV2.d.ts +2017 -0
  98. package/dist/contracts/UniswapV2.d.ts.map +1 -0
  99. package/dist/contracts/UniswapV2.js +2567 -0
  100. package/dist/contracts/UniswapV3.d.ts +2113 -0
  101. package/dist/contracts/UniswapV3.d.ts.map +1 -0
  102. package/dist/contracts/UniswapV3.js +2692 -0
  103. package/dist/contracts/UserWallet.d.ts +1438 -784
  104. package/dist/contracts/UserWallet.d.ts.map +1 -1
  105. package/dist/contracts/UserWallet.js +1854 -935
  106. package/dist/contracts/UserWalletConfig.d.ts +3034 -1231
  107. package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
  108. package/dist/contracts/UserWalletConfig.js +3395 -1407
  109. package/dist/contracts/WalletBackpack.d.ts +1183 -0
  110. package/dist/contracts/WalletBackpack.d.ts.map +1 -0
  111. package/dist/contracts/WalletBackpack.js +1484 -0
  112. package/dist/contracts/index.d.ts +72 -36
  113. package/dist/contracts/index.d.ts.map +1 -1
  114. package/dist/contracts/index.js +72 -36
  115. package/dist/contracts/sdk.d.ts +146 -72
  116. package/dist/contracts/sdk.d.ts.map +1 -1
  117. package/dist/contracts/sdk.js +146 -72
  118. package/dist/contracts/v0_1_AddyRegistry.d.ts +473 -0
  119. package/dist/contracts/v0_1_AddyRegistry.d.ts.map +1 -0
  120. package/dist/contracts/v0_1_AddyRegistry.js +594 -0
  121. package/dist/contracts/v0_1_Agent.d.ts +2631 -0
  122. package/dist/contracts/v0_1_Agent.d.ts.map +1 -0
  123. package/dist/contracts/v0_1_Agent.js +3372 -0
  124. package/dist/contracts/v0_1_AgentFactory.d.ts +1054 -0
  125. package/dist/contracts/v0_1_AgentFactory.d.ts.map +1 -0
  126. package/dist/contracts/v0_1_AgentFactory.js +1336 -0
  127. package/dist/contracts/v0_1_UserWallet.d.ts +1980 -0
  128. package/dist/contracts/v0_1_UserWallet.d.ts.map +1 -0
  129. package/dist/contracts/v0_1_UserWallet.js +2581 -0
  130. package/dist/contracts/v0_1_UserWalletConfig.d.ts +1400 -0
  131. package/dist/contracts/v0_1_UserWalletConfig.d.ts.map +1 -0
  132. package/dist/contracts/v0_1_UserWalletConfig.js +1676 -0
  133. package/dist/contracts/v0_2_AddyRegistry.d.ts +1050 -0
  134. package/dist/contracts/v0_2_AddyRegistry.d.ts.map +1 -0
  135. package/dist/contracts/v0_2_AddyRegistry.js +1313 -0
  136. package/dist/contracts/v0_2_Agent.d.ts +2709 -0
  137. package/dist/contracts/v0_2_Agent.d.ts.map +1 -0
  138. package/dist/contracts/v0_2_Agent.js +3458 -0
  139. package/dist/contracts/v0_2_AgentFactory.d.ts +1275 -0
  140. package/dist/contracts/v0_2_AgentFactory.d.ts.map +1 -0
  141. package/dist/contracts/v0_2_AgentFactory.js +1609 -0
  142. package/dist/contracts/v0_2_UserWallet.d.ts +1958 -0
  143. package/dist/contracts/v0_2_UserWallet.d.ts.map +1 -0
  144. package/dist/contracts/v0_2_UserWallet.js +2553 -0
  145. package/dist/contracts/v0_2_UserWalletConfig.d.ts +1468 -0
  146. package/dist/contracts/v0_2_UserWalletConfig.d.ts.map +1 -0
  147. package/dist/contracts/v0_2_UserWalletConfig.js +1764 -0
  148. package/dist/contracts/v0_3_AddyRegistry.d.ts +1109 -0
  149. package/dist/contracts/v0_3_AddyRegistry.d.ts.map +1 -0
  150. package/dist/contracts/v0_3_AddyRegistry.js +1392 -0
  151. package/dist/contracts/v0_3_Agent.d.ts +2709 -0
  152. package/dist/contracts/v0_3_Agent.d.ts.map +1 -0
  153. package/dist/contracts/v0_3_Agent.js +3458 -0
  154. package/dist/contracts/v0_3_AgentFactory.d.ts +1665 -0
  155. package/dist/contracts/v0_3_AgentFactory.d.ts.map +1 -0
  156. package/dist/contracts/v0_3_AgentFactory.js +2078 -0
  157. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts +706 -0
  158. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts.map +1 -0
  159. package/dist/contracts/v0_3_ChainlinkFeeds.js +900 -0
  160. package/dist/contracts/v0_3_LegoAaveV3.d.ts +1033 -0
  161. package/dist/contracts/v0_3_LegoAaveV3.d.ts.map +1 -0
  162. package/dist/contracts/v0_3_LegoAaveV3.js +1330 -0
  163. package/dist/contracts/v0_3_LegoAeroClassic.d.ts +1204 -0
  164. package/dist/contracts/v0_3_LegoAeroClassic.d.ts.map +1 -0
  165. package/dist/contracts/v0_3_LegoAeroClassic.js +1546 -0
  166. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts +1300 -0
  167. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts.map +1 -0
  168. package/dist/contracts/v0_3_LegoAeroSlipstream.js +1671 -0
  169. package/dist/contracts/v0_3_LegoCommon.d.ts +164 -0
  170. package/dist/contracts/v0_3_LegoCommon.d.ts.map +1 -0
  171. package/dist/contracts/v0_3_LegoCommon.js +202 -0
  172. package/dist/contracts/v0_3_LegoCompoundV3.d.ts +1060 -0
  173. package/dist/contracts/v0_3_LegoCompoundV3.d.ts.map +1 -0
  174. package/dist/contracts/v0_3_LegoCompoundV3.js +1365 -0
  175. package/dist/contracts/v0_3_LegoCredit.d.ts +140 -0
  176. package/dist/contracts/v0_3_LegoCredit.d.ts.map +1 -0
  177. package/dist/contracts/v0_3_LegoCredit.js +179 -0
  178. package/dist/contracts/v0_3_LegoCurve.d.ts +1189 -0
  179. package/dist/contracts/v0_3_LegoCurve.d.ts.map +1 -0
  180. package/dist/contracts/v0_3_LegoCurve.js +1519 -0
  181. package/dist/contracts/v0_3_LegoDex.d.ts +587 -0
  182. package/dist/contracts/v0_3_LegoDex.d.ts.map +1 -0
  183. package/dist/contracts/v0_3_LegoDex.js +774 -0
  184. package/dist/contracts/v0_3_LegoEuler.d.ts +1074 -0
  185. package/dist/contracts/v0_3_LegoEuler.d.ts.map +1 -0
  186. package/dist/contracts/v0_3_LegoEuler.js +1383 -0
  187. package/dist/contracts/v0_3_LegoFluid.d.ts +1025 -0
  188. package/dist/contracts/v0_3_LegoFluid.d.ts.map +1 -0
  189. package/dist/contracts/v0_3_LegoFluid.js +1320 -0
  190. package/dist/contracts/v0_3_LegoHelper.d.ts +1563 -0
  191. package/dist/contracts/v0_3_LegoHelper.d.ts.map +1 -0
  192. package/dist/contracts/v0_3_LegoHelper.js +1947 -0
  193. package/dist/contracts/v0_3_LegoMoonwell.d.ts +1042 -0
  194. package/dist/contracts/v0_3_LegoMoonwell.d.ts.map +1 -0
  195. package/dist/contracts/v0_3_LegoMoonwell.js +1342 -0
  196. package/dist/contracts/v0_3_LegoMorpho.d.ts +1074 -0
  197. package/dist/contracts/v0_3_LegoMorpho.d.ts.map +1 -0
  198. package/dist/contracts/v0_3_LegoMorpho.js +1383 -0
  199. package/dist/contracts/v0_3_LegoRegistry.d.ts +1079 -0
  200. package/dist/contracts/v0_3_LegoRegistry.d.ts.map +1 -0
  201. package/dist/contracts/v0_3_LegoRegistry.js +1368 -0
  202. package/dist/contracts/v0_3_LegoSky.d.ts +923 -0
  203. package/dist/contracts/v0_3_LegoSky.d.ts.map +1 -0
  204. package/dist/contracts/v0_3_LegoSky.js +1180 -0
  205. package/dist/contracts/v0_3_LegoUniswapV3.d.ts +1338 -0
  206. package/dist/contracts/v0_3_LegoUniswapV3.d.ts.map +1 -0
  207. package/dist/contracts/v0_3_LegoUniswapV3.js +1718 -0
  208. package/dist/contracts/v0_3_LegoYield.d.ts +390 -0
  209. package/dist/contracts/v0_3_LegoYield.d.ts.map +1 -0
  210. package/dist/contracts/v0_3_LegoYield.js +511 -0
  211. package/dist/contracts/v0_3_OracleParser.d.ts +207 -0
  212. package/dist/contracts/v0_3_OracleParser.d.ts.map +1 -0
  213. package/dist/contracts/v0_3_OracleParser.js +264 -0
  214. package/dist/contracts/v0_3_OracleRegistry.d.ts +1221 -0
  215. package/dist/contracts/v0_3_OracleRegistry.d.ts.map +1 -0
  216. package/dist/contracts/v0_3_OracleRegistry.js +1562 -0
  217. package/dist/contracts/v0_3_PriceSheets.d.ts +1127 -0
  218. package/dist/contracts/v0_3_PriceSheets.d.ts.map +1 -0
  219. package/dist/contracts/v0_3_PriceSheets.js +1383 -0
  220. package/dist/contracts/v0_3_PythFeeds.d.ts +640 -0
  221. package/dist/contracts/v0_3_PythFeeds.d.ts.map +1 -0
  222. package/dist/contracts/v0_3_PythFeeds.js +813 -0
  223. package/dist/contracts/v0_3_StorkFeeds.d.ts +640 -0
  224. package/dist/contracts/v0_3_StorkFeeds.d.ts.map +1 -0
  225. package/dist/contracts/v0_3_StorkFeeds.js +813 -0
  226. package/dist/contracts/v0_3_UserWallet.d.ts +1975 -0
  227. package/dist/contracts/v0_3_UserWallet.d.ts.map +1 -0
  228. package/dist/contracts/v0_3_UserWallet.js +2577 -0
  229. package/dist/contracts/v0_3_UserWalletConfig.d.ts +1852 -0
  230. package/dist/contracts/v0_3_UserWalletConfig.d.ts.map +1 -0
  231. package/dist/contracts/v0_3_UserWalletConfig.js +2263 -0
  232. package/dist/getContracts.d.ts +77 -0
  233. package/dist/getContracts.d.ts.map +1 -0
  234. package/dist/getContracts.js +67 -0
  235. package/dist/getLegacyContracts.d.ts +69 -0
  236. package/dist/getLegacyContracts.d.ts.map +1 -0
  237. package/dist/getLegacyContracts.js +55 -0
  238. package/dist/getSwapInstructions.d.ts +60 -0
  239. package/dist/getSwapInstructions.d.ts.map +1 -0
  240. package/dist/getSwapInstructions.js +41 -0
  241. package/dist/index.d.ts +7 -477
  242. package/dist/index.d.ts.map +1 -1
  243. package/dist/index.js +8 -182
  244. package/package.json +2 -2
@@ -0,0 +1,2743 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* @ts-nocheck */
5
+ import { singleQuery, mutate } from '@dappql/async';
6
+ export const abi = [
7
+ {
8
+ name: 'PendingUserWalletTemplatesChange',
9
+ inputs: [
10
+ {
11
+ name: 'walletTemplate',
12
+ type: 'address',
13
+ indexed: false,
14
+ },
15
+ {
16
+ name: 'configTemplate',
17
+ type: 'address',
18
+ indexed: false,
19
+ },
20
+ {
21
+ name: 'confirmationBlock',
22
+ type: 'uint256',
23
+ indexed: false,
24
+ },
25
+ {
26
+ name: 'actionId',
27
+ type: 'uint256',
28
+ indexed: false,
29
+ },
30
+ ],
31
+ anonymous: false,
32
+ type: 'event',
33
+ },
34
+ {
35
+ name: 'UserWalletTemplatesSet',
36
+ inputs: [
37
+ {
38
+ name: 'walletTemplate',
39
+ type: 'address',
40
+ indexed: false,
41
+ },
42
+ {
43
+ name: 'configTemplate',
44
+ type: 'address',
45
+ indexed: false,
46
+ },
47
+ ],
48
+ anonymous: false,
49
+ type: 'event',
50
+ },
51
+ {
52
+ name: 'PendingTrialFundsChange',
53
+ inputs: [
54
+ {
55
+ name: 'trialAsset',
56
+ type: 'address',
57
+ indexed: false,
58
+ },
59
+ {
60
+ name: 'trialAmount',
61
+ type: 'uint256',
62
+ indexed: false,
63
+ },
64
+ {
65
+ name: 'confirmationBlock',
66
+ type: 'uint256',
67
+ indexed: false,
68
+ },
69
+ {
70
+ name: 'actionId',
71
+ type: 'uint256',
72
+ indexed: false,
73
+ },
74
+ ],
75
+ anonymous: false,
76
+ type: 'event',
77
+ },
78
+ {
79
+ name: 'TrialFundsSet',
80
+ inputs: [
81
+ {
82
+ name: 'trialAsset',
83
+ type: 'address',
84
+ indexed: false,
85
+ },
86
+ {
87
+ name: 'trialAmount',
88
+ type: 'uint256',
89
+ indexed: false,
90
+ },
91
+ ],
92
+ anonymous: false,
93
+ type: 'event',
94
+ },
95
+ {
96
+ name: 'PendingWalletCreationLimitsChange',
97
+ inputs: [
98
+ {
99
+ name: 'numUserWalletsAllowed',
100
+ type: 'uint256',
101
+ indexed: false,
102
+ },
103
+ {
104
+ name: 'enforceCreatorWhitelist',
105
+ type: 'bool',
106
+ indexed: false,
107
+ },
108
+ {
109
+ name: 'confirmationBlock',
110
+ type: 'uint256',
111
+ indexed: false,
112
+ },
113
+ {
114
+ name: 'actionId',
115
+ type: 'uint256',
116
+ indexed: false,
117
+ },
118
+ ],
119
+ anonymous: false,
120
+ type: 'event',
121
+ },
122
+ {
123
+ name: 'WalletCreationLimitsSet',
124
+ inputs: [
125
+ {
126
+ name: 'numUserWalletsAllowed',
127
+ type: 'uint256',
128
+ indexed: false,
129
+ },
130
+ {
131
+ name: 'enforceCreatorWhitelist',
132
+ type: 'bool',
133
+ indexed: false,
134
+ },
135
+ ],
136
+ anonymous: false,
137
+ type: 'event',
138
+ },
139
+ {
140
+ name: 'PendingKeyActionTimelockBoundsChange',
141
+ inputs: [
142
+ {
143
+ name: 'minKeyActionTimeLock',
144
+ type: 'uint256',
145
+ indexed: false,
146
+ },
147
+ {
148
+ name: 'maxKeyActionTimeLock',
149
+ type: 'uint256',
150
+ indexed: false,
151
+ },
152
+ {
153
+ name: 'confirmationBlock',
154
+ type: 'uint256',
155
+ indexed: false,
156
+ },
157
+ {
158
+ name: 'actionId',
159
+ type: 'uint256',
160
+ indexed: false,
161
+ },
162
+ ],
163
+ anonymous: false,
164
+ type: 'event',
165
+ },
166
+ {
167
+ name: 'KeyActionTimelockBoundsSet',
168
+ inputs: [
169
+ {
170
+ name: 'minKeyActionTimeLock',
171
+ type: 'uint256',
172
+ indexed: false,
173
+ },
174
+ {
175
+ name: 'maxKeyActionTimeLock',
176
+ type: 'uint256',
177
+ indexed: false,
178
+ },
179
+ ],
180
+ anonymous: false,
181
+ type: 'event',
182
+ },
183
+ {
184
+ name: 'PendingDefaultStaleBlocksChange',
185
+ inputs: [
186
+ {
187
+ name: 'defaultStaleBlocks',
188
+ type: 'uint256',
189
+ indexed: false,
190
+ },
191
+ {
192
+ name: 'confirmationBlock',
193
+ type: 'uint256',
194
+ indexed: false,
195
+ },
196
+ {
197
+ name: 'actionId',
198
+ type: 'uint256',
199
+ indexed: false,
200
+ },
201
+ ],
202
+ anonymous: false,
203
+ type: 'event',
204
+ },
205
+ {
206
+ name: 'DefaultStaleBlocksSet',
207
+ inputs: [
208
+ {
209
+ name: 'defaultStaleBlocks',
210
+ type: 'uint256',
211
+ indexed: false,
212
+ },
213
+ ],
214
+ anonymous: false,
215
+ type: 'event',
216
+ },
217
+ {
218
+ name: 'PendingTxFeesChange',
219
+ inputs: [
220
+ {
221
+ name: 'swapFee',
222
+ type: 'uint256',
223
+ indexed: false,
224
+ },
225
+ {
226
+ name: 'stableSwapFee',
227
+ type: 'uint256',
228
+ indexed: false,
229
+ },
230
+ {
231
+ name: 'rewardsFee',
232
+ type: 'uint256',
233
+ indexed: false,
234
+ },
235
+ {
236
+ name: 'confirmationBlock',
237
+ type: 'uint256',
238
+ indexed: false,
239
+ },
240
+ {
241
+ name: 'actionId',
242
+ type: 'uint256',
243
+ indexed: false,
244
+ },
245
+ ],
246
+ anonymous: false,
247
+ type: 'event',
248
+ },
249
+ {
250
+ name: 'TxFeesSet',
251
+ inputs: [
252
+ {
253
+ name: 'swapFee',
254
+ type: 'uint256',
255
+ indexed: false,
256
+ },
257
+ {
258
+ name: 'stableSwapFee',
259
+ type: 'uint256',
260
+ indexed: false,
261
+ },
262
+ {
263
+ name: 'rewardsFee',
264
+ type: 'uint256',
265
+ indexed: false,
266
+ },
267
+ ],
268
+ anonymous: false,
269
+ type: 'event',
270
+ },
271
+ {
272
+ name: 'PendingAmbassadorRevShareChange',
273
+ inputs: [
274
+ {
275
+ name: 'swapRatio',
276
+ type: 'uint256',
277
+ indexed: false,
278
+ },
279
+ {
280
+ name: 'rewardsRatio',
281
+ type: 'uint256',
282
+ indexed: false,
283
+ },
284
+ {
285
+ name: 'yieldRatio',
286
+ type: 'uint256',
287
+ indexed: false,
288
+ },
289
+ {
290
+ name: 'confirmationBlock',
291
+ type: 'uint256',
292
+ indexed: false,
293
+ },
294
+ {
295
+ name: 'actionId',
296
+ type: 'uint256',
297
+ indexed: false,
298
+ },
299
+ ],
300
+ anonymous: false,
301
+ type: 'event',
302
+ },
303
+ {
304
+ name: 'AmbassadorRevShareSet',
305
+ inputs: [
306
+ {
307
+ name: 'swapRatio',
308
+ type: 'uint256',
309
+ indexed: false,
310
+ },
311
+ {
312
+ name: 'rewardsRatio',
313
+ type: 'uint256',
314
+ indexed: false,
315
+ },
316
+ {
317
+ name: 'yieldRatio',
318
+ type: 'uint256',
319
+ indexed: false,
320
+ },
321
+ ],
322
+ anonymous: false,
323
+ type: 'event',
324
+ },
325
+ {
326
+ name: 'PendingDefaultYieldParamsChange',
327
+ inputs: [
328
+ {
329
+ name: 'defaultYieldMaxIncrease',
330
+ type: 'uint256',
331
+ indexed: false,
332
+ },
333
+ {
334
+ name: 'defaultYieldPerformanceFee',
335
+ type: 'uint256',
336
+ indexed: false,
337
+ },
338
+ {
339
+ name: 'defaultYieldAmbassadorBonusRatio',
340
+ type: 'uint256',
341
+ indexed: false,
342
+ },
343
+ {
344
+ name: 'defaultYieldBonusRatio',
345
+ type: 'uint256',
346
+ indexed: false,
347
+ },
348
+ {
349
+ name: 'defaultYieldAltBonusAsset',
350
+ type: 'address',
351
+ indexed: false,
352
+ },
353
+ {
354
+ name: 'confirmationBlock',
355
+ type: 'uint256',
356
+ indexed: false,
357
+ },
358
+ {
359
+ name: 'actionId',
360
+ type: 'uint256',
361
+ indexed: false,
362
+ },
363
+ ],
364
+ anonymous: false,
365
+ type: 'event',
366
+ },
367
+ {
368
+ name: 'DefaultYieldParamsSet',
369
+ inputs: [
370
+ {
371
+ name: 'defaultYieldMaxIncrease',
372
+ type: 'uint256',
373
+ indexed: false,
374
+ },
375
+ {
376
+ name: 'defaultYieldPerformanceFee',
377
+ type: 'uint256',
378
+ indexed: false,
379
+ },
380
+ {
381
+ name: 'defaultYieldAmbassadorBonusRatio',
382
+ type: 'uint256',
383
+ indexed: false,
384
+ },
385
+ {
386
+ name: 'defaultYieldBonusRatio',
387
+ type: 'uint256',
388
+ indexed: false,
389
+ },
390
+ {
391
+ name: 'defaultYieldAltBonusAsset',
392
+ type: 'address',
393
+ indexed: false,
394
+ },
395
+ ],
396
+ anonymous: false,
397
+ type: 'event',
398
+ },
399
+ {
400
+ name: 'PendingLootParamsChange',
401
+ inputs: [
402
+ {
403
+ name: 'depositRewardsAsset',
404
+ type: 'address',
405
+ indexed: false,
406
+ },
407
+ {
408
+ name: 'lootClaimCoolOffPeriod',
409
+ type: 'uint256',
410
+ indexed: false,
411
+ },
412
+ {
413
+ name: 'confirmationBlock',
414
+ type: 'uint256',
415
+ indexed: false,
416
+ },
417
+ {
418
+ name: 'actionId',
419
+ type: 'uint256',
420
+ indexed: false,
421
+ },
422
+ ],
423
+ anonymous: false,
424
+ type: 'event',
425
+ },
426
+ {
427
+ name: 'LootParamsSet',
428
+ inputs: [
429
+ {
430
+ name: 'depositRewardsAsset',
431
+ type: 'address',
432
+ indexed: false,
433
+ },
434
+ {
435
+ name: 'lootClaimCoolOffPeriod',
436
+ type: 'uint256',
437
+ indexed: false,
438
+ },
439
+ ],
440
+ anonymous: false,
441
+ type: 'event',
442
+ },
443
+ {
444
+ name: 'PendingAssetConfigChange',
445
+ inputs: [
446
+ {
447
+ name: 'asset',
448
+ type: 'address',
449
+ indexed: false,
450
+ },
451
+ {
452
+ name: 'legoId',
453
+ type: 'uint256',
454
+ indexed: false,
455
+ },
456
+ {
457
+ name: 'staleBlocks',
458
+ type: 'uint256',
459
+ indexed: false,
460
+ },
461
+ {
462
+ name: 'txFeesSwapFee',
463
+ type: 'uint256',
464
+ indexed: false,
465
+ },
466
+ {
467
+ name: 'txFeesStableSwapFee',
468
+ type: 'uint256',
469
+ indexed: false,
470
+ },
471
+ {
472
+ name: 'txFeesRewardsFee',
473
+ type: 'uint256',
474
+ indexed: false,
475
+ },
476
+ {
477
+ name: 'ambassadorRevShareSwapRatio',
478
+ type: 'uint256',
479
+ indexed: false,
480
+ },
481
+ {
482
+ name: 'ambassadorRevShareRewardsRatio',
483
+ type: 'uint256',
484
+ indexed: false,
485
+ },
486
+ {
487
+ name: 'ambassadorRevShareYieldRatio',
488
+ type: 'uint256',
489
+ indexed: false,
490
+ },
491
+ {
492
+ name: 'isYieldAsset',
493
+ type: 'bool',
494
+ indexed: false,
495
+ },
496
+ {
497
+ name: 'isRebasing',
498
+ type: 'bool',
499
+ indexed: false,
500
+ },
501
+ {
502
+ name: 'underlyingAsset',
503
+ type: 'address',
504
+ indexed: false,
505
+ },
506
+ {
507
+ name: 'maxYieldIncrease',
508
+ type: 'uint256',
509
+ indexed: false,
510
+ },
511
+ {
512
+ name: 'performanceFee',
513
+ type: 'uint256',
514
+ indexed: false,
515
+ },
516
+ {
517
+ name: 'ambassadorBonusRatio',
518
+ type: 'uint256',
519
+ indexed: false,
520
+ },
521
+ {
522
+ name: 'bonusRatio',
523
+ type: 'uint256',
524
+ indexed: false,
525
+ },
526
+ {
527
+ name: 'altBonusAsset',
528
+ type: 'address',
529
+ indexed: false,
530
+ },
531
+ {
532
+ name: 'confirmationBlock',
533
+ type: 'uint256',
534
+ indexed: false,
535
+ },
536
+ {
537
+ name: 'actionId',
538
+ type: 'uint256',
539
+ indexed: false,
540
+ },
541
+ ],
542
+ anonymous: false,
543
+ type: 'event',
544
+ },
545
+ {
546
+ name: 'PendingIsStablecoinChange',
547
+ inputs: [
548
+ {
549
+ name: 'asset',
550
+ type: 'address',
551
+ indexed: false,
552
+ },
553
+ {
554
+ name: 'isStablecoin',
555
+ type: 'bool',
556
+ indexed: false,
557
+ },
558
+ {
559
+ name: 'confirmationBlock',
560
+ type: 'uint256',
561
+ indexed: false,
562
+ },
563
+ {
564
+ name: 'actionId',
565
+ type: 'uint256',
566
+ indexed: false,
567
+ },
568
+ ],
569
+ anonymous: false,
570
+ type: 'event',
571
+ },
572
+ {
573
+ name: 'IsStablecoinSet',
574
+ inputs: [
575
+ {
576
+ name: 'asset',
577
+ type: 'address',
578
+ indexed: false,
579
+ },
580
+ {
581
+ name: 'isStablecoin',
582
+ type: 'bool',
583
+ indexed: false,
584
+ },
585
+ ],
586
+ anonymous: false,
587
+ type: 'event',
588
+ },
589
+ {
590
+ name: 'AssetConfigSet',
591
+ inputs: [
592
+ {
593
+ name: 'asset',
594
+ type: 'address',
595
+ indexed: false,
596
+ },
597
+ {
598
+ name: 'legoId',
599
+ type: 'uint256',
600
+ indexed: false,
601
+ },
602
+ {
603
+ name: 'staleBlocks',
604
+ type: 'uint256',
605
+ indexed: false,
606
+ },
607
+ {
608
+ name: 'txFeesSwapFee',
609
+ type: 'uint256',
610
+ indexed: false,
611
+ },
612
+ {
613
+ name: 'txFeesStableSwapFee',
614
+ type: 'uint256',
615
+ indexed: false,
616
+ },
617
+ {
618
+ name: 'txFeesRewardsFee',
619
+ type: 'uint256',
620
+ indexed: false,
621
+ },
622
+ {
623
+ name: 'ambassadorRevShareSwapRatio',
624
+ type: 'uint256',
625
+ indexed: false,
626
+ },
627
+ {
628
+ name: 'ambassadorRevShareRewardsRatio',
629
+ type: 'uint256',
630
+ indexed: false,
631
+ },
632
+ {
633
+ name: 'ambassadorRevShareYieldRatio',
634
+ type: 'uint256',
635
+ indexed: false,
636
+ },
637
+ {
638
+ name: 'isYieldAsset',
639
+ type: 'bool',
640
+ indexed: false,
641
+ },
642
+ {
643
+ name: 'isRebasing',
644
+ type: 'bool',
645
+ indexed: false,
646
+ },
647
+ {
648
+ name: 'underlyingAsset',
649
+ type: 'address',
650
+ indexed: false,
651
+ },
652
+ {
653
+ name: 'maxYieldIncrease',
654
+ type: 'uint256',
655
+ indexed: false,
656
+ },
657
+ {
658
+ name: 'performanceFee',
659
+ type: 'uint256',
660
+ indexed: false,
661
+ },
662
+ {
663
+ name: 'ambassadorBonusRatio',
664
+ type: 'uint256',
665
+ indexed: false,
666
+ },
667
+ {
668
+ name: 'bonusRatio',
669
+ type: 'uint256',
670
+ indexed: false,
671
+ },
672
+ {
673
+ name: 'altBonusAsset',
674
+ type: 'address',
675
+ indexed: false,
676
+ },
677
+ ],
678
+ anonymous: false,
679
+ type: 'event',
680
+ },
681
+ {
682
+ name: 'PendingAgentTemplateChange',
683
+ inputs: [
684
+ {
685
+ name: 'agentTemplate',
686
+ type: 'address',
687
+ indexed: false,
688
+ },
689
+ {
690
+ name: 'confirmationBlock',
691
+ type: 'uint256',
692
+ indexed: false,
693
+ },
694
+ {
695
+ name: 'actionId',
696
+ type: 'uint256',
697
+ indexed: false,
698
+ },
699
+ ],
700
+ anonymous: false,
701
+ type: 'event',
702
+ },
703
+ {
704
+ name: 'AgentTemplateSet',
705
+ inputs: [
706
+ {
707
+ name: 'agentTemplate',
708
+ type: 'address',
709
+ indexed: false,
710
+ },
711
+ ],
712
+ anonymous: false,
713
+ type: 'event',
714
+ },
715
+ {
716
+ name: 'PendingAgentCreationLimitsChange',
717
+ inputs: [
718
+ {
719
+ name: 'numAgentsAllowed',
720
+ type: 'uint256',
721
+ indexed: false,
722
+ },
723
+ {
724
+ name: 'enforceCreatorWhitelist',
725
+ type: 'bool',
726
+ indexed: false,
727
+ },
728
+ {
729
+ name: 'confirmationBlock',
730
+ type: 'uint256',
731
+ indexed: false,
732
+ },
733
+ {
734
+ name: 'actionId',
735
+ type: 'uint256',
736
+ indexed: false,
737
+ },
738
+ ],
739
+ anonymous: false,
740
+ type: 'event',
741
+ },
742
+ {
743
+ name: 'AgentCreationLimitsSet',
744
+ inputs: [
745
+ {
746
+ name: 'numAgentsAllowed',
747
+ type: 'uint256',
748
+ indexed: false,
749
+ },
750
+ {
751
+ name: 'enforceCreatorWhitelist',
752
+ type: 'bool',
753
+ indexed: false,
754
+ },
755
+ ],
756
+ anonymous: false,
757
+ type: 'event',
758
+ },
759
+ {
760
+ name: 'PendingStarterAgentParamsChange',
761
+ inputs: [
762
+ {
763
+ name: 'startingAgent',
764
+ type: 'address',
765
+ indexed: false,
766
+ },
767
+ {
768
+ name: 'startingAgentActivationLength',
769
+ type: 'uint256',
770
+ indexed: false,
771
+ },
772
+ {
773
+ name: 'confirmationBlock',
774
+ type: 'uint256',
775
+ indexed: false,
776
+ },
777
+ {
778
+ name: 'actionId',
779
+ type: 'uint256',
780
+ indexed: false,
781
+ },
782
+ ],
783
+ anonymous: false,
784
+ type: 'event',
785
+ },
786
+ {
787
+ name: 'StarterAgentParamsSet',
788
+ inputs: [
789
+ {
790
+ name: 'startingAgent',
791
+ type: 'address',
792
+ indexed: false,
793
+ },
794
+ {
795
+ name: 'startingAgentActivationLength',
796
+ type: 'uint256',
797
+ indexed: false,
798
+ },
799
+ ],
800
+ anonymous: false,
801
+ type: 'event',
802
+ },
803
+ {
804
+ name: 'PendingManagerConfigChange',
805
+ inputs: [
806
+ {
807
+ name: 'managerPeriod',
808
+ type: 'uint256',
809
+ indexed: false,
810
+ },
811
+ {
812
+ name: 'managerActivationLength',
813
+ type: 'uint256',
814
+ indexed: false,
815
+ },
816
+ {
817
+ name: 'confirmationBlock',
818
+ type: 'uint256',
819
+ indexed: false,
820
+ },
821
+ {
822
+ name: 'actionId',
823
+ type: 'uint256',
824
+ indexed: false,
825
+ },
826
+ ],
827
+ anonymous: false,
828
+ type: 'event',
829
+ },
830
+ {
831
+ name: 'PendingPayeeConfigChange',
832
+ inputs: [
833
+ {
834
+ name: 'payeePeriod',
835
+ type: 'uint256',
836
+ indexed: false,
837
+ },
838
+ {
839
+ name: 'payeeActivationLength',
840
+ type: 'uint256',
841
+ indexed: false,
842
+ },
843
+ {
844
+ name: 'confirmationBlock',
845
+ type: 'uint256',
846
+ indexed: false,
847
+ },
848
+ {
849
+ name: 'actionId',
850
+ type: 'uint256',
851
+ indexed: false,
852
+ },
853
+ ],
854
+ anonymous: false,
855
+ type: 'event',
856
+ },
857
+ {
858
+ name: 'PendingCanPerformSecurityAction',
859
+ inputs: [
860
+ {
861
+ name: 'signer',
862
+ type: 'address',
863
+ indexed: false,
864
+ },
865
+ {
866
+ name: 'canPerform',
867
+ type: 'bool',
868
+ indexed: false,
869
+ },
870
+ {
871
+ name: 'confirmationBlock',
872
+ type: 'uint256',
873
+ indexed: false,
874
+ },
875
+ {
876
+ name: 'actionId',
877
+ type: 'uint256',
878
+ indexed: false,
879
+ },
880
+ ],
881
+ anonymous: false,
882
+ type: 'event',
883
+ },
884
+ {
885
+ name: 'CreatorWhitelistSet',
886
+ inputs: [
887
+ {
888
+ name: 'creator',
889
+ type: 'address',
890
+ indexed: false,
891
+ },
892
+ {
893
+ name: 'isWhitelisted',
894
+ type: 'bool',
895
+ indexed: false,
896
+ },
897
+ {
898
+ name: 'caller',
899
+ type: 'address',
900
+ indexed: false,
901
+ },
902
+ ],
903
+ anonymous: false,
904
+ type: 'event',
905
+ },
906
+ {
907
+ name: 'ManagerConfigSet',
908
+ inputs: [
909
+ {
910
+ name: 'managerPeriod',
911
+ type: 'uint256',
912
+ indexed: false,
913
+ },
914
+ {
915
+ name: 'managerActivationLength',
916
+ type: 'uint256',
917
+ indexed: false,
918
+ },
919
+ ],
920
+ anonymous: false,
921
+ type: 'event',
922
+ },
923
+ {
924
+ name: 'PayeeConfigSet',
925
+ inputs: [
926
+ {
927
+ name: 'payeePeriod',
928
+ type: 'uint256',
929
+ indexed: false,
930
+ },
931
+ {
932
+ name: 'payeeActivationLength',
933
+ type: 'uint256',
934
+ indexed: false,
935
+ },
936
+ ],
937
+ anonymous: false,
938
+ type: 'event',
939
+ },
940
+ {
941
+ name: 'CanPerformSecurityAction',
942
+ inputs: [
943
+ {
944
+ name: 'signer',
945
+ type: 'address',
946
+ indexed: false,
947
+ },
948
+ {
949
+ name: 'canPerform',
950
+ type: 'bool',
951
+ indexed: false,
952
+ },
953
+ ],
954
+ anonymous: false,
955
+ type: 'event',
956
+ },
957
+ {
958
+ name: 'LockedSignerSet',
959
+ inputs: [
960
+ {
961
+ name: 'signer',
962
+ type: 'address',
963
+ indexed: false,
964
+ },
965
+ {
966
+ name: 'isLocked',
967
+ type: 'bool',
968
+ indexed: false,
969
+ },
970
+ {
971
+ name: 'caller',
972
+ type: 'address',
973
+ indexed: false,
974
+ },
975
+ ],
976
+ anonymous: false,
977
+ type: 'event',
978
+ },
979
+ {
980
+ name: 'GovChangeTimeLockModified',
981
+ inputs: [
982
+ {
983
+ name: 'prevTimeLock',
984
+ type: 'uint256',
985
+ indexed: false,
986
+ },
987
+ {
988
+ name: 'newTimeLock',
989
+ type: 'uint256',
990
+ indexed: false,
991
+ },
992
+ ],
993
+ anonymous: false,
994
+ type: 'event',
995
+ },
996
+ {
997
+ name: 'ExpirationSet',
998
+ inputs: [
999
+ {
1000
+ name: 'expiration',
1001
+ type: 'uint256',
1002
+ indexed: false,
1003
+ },
1004
+ ],
1005
+ anonymous: false,
1006
+ type: 'event',
1007
+ },
1008
+ {
1009
+ name: 'ActionTimeLockSet',
1010
+ inputs: [
1011
+ {
1012
+ name: 'newTimeLock',
1013
+ type: 'uint256',
1014
+ indexed: false,
1015
+ },
1016
+ {
1017
+ name: 'prevTimeLock',
1018
+ type: 'uint256',
1019
+ indexed: false,
1020
+ },
1021
+ ],
1022
+ anonymous: false,
1023
+ type: 'event',
1024
+ },
1025
+ {
1026
+ name: 'GovChangeStarted',
1027
+ inputs: [
1028
+ {
1029
+ name: 'prevGov',
1030
+ type: 'address',
1031
+ indexed: true,
1032
+ },
1033
+ {
1034
+ name: 'newGov',
1035
+ type: 'address',
1036
+ indexed: true,
1037
+ },
1038
+ {
1039
+ name: 'confirmBlock',
1040
+ type: 'uint256',
1041
+ indexed: false,
1042
+ },
1043
+ ],
1044
+ anonymous: false,
1045
+ type: 'event',
1046
+ },
1047
+ {
1048
+ name: 'GovChangeConfirmed',
1049
+ inputs: [
1050
+ {
1051
+ name: 'prevGov',
1052
+ type: 'address',
1053
+ indexed: true,
1054
+ },
1055
+ {
1056
+ name: 'newGov',
1057
+ type: 'address',
1058
+ indexed: true,
1059
+ },
1060
+ {
1061
+ name: 'initiatedBlock',
1062
+ type: 'uint256',
1063
+ indexed: false,
1064
+ },
1065
+ {
1066
+ name: 'confirmBlock',
1067
+ type: 'uint256',
1068
+ indexed: false,
1069
+ },
1070
+ ],
1071
+ anonymous: false,
1072
+ type: 'event',
1073
+ },
1074
+ {
1075
+ name: 'GovChangeCancelled',
1076
+ inputs: [
1077
+ {
1078
+ name: 'cancelledGov',
1079
+ type: 'address',
1080
+ indexed: true,
1081
+ },
1082
+ {
1083
+ name: 'initiatedBlock',
1084
+ type: 'uint256',
1085
+ indexed: false,
1086
+ },
1087
+ {
1088
+ name: 'confirmBlock',
1089
+ type: 'uint256',
1090
+ indexed: false,
1091
+ },
1092
+ ],
1093
+ anonymous: false,
1094
+ type: 'event',
1095
+ },
1096
+ {
1097
+ name: 'GovRelinquished',
1098
+ inputs: [
1099
+ {
1100
+ name: 'prevGov',
1101
+ type: 'address',
1102
+ indexed: true,
1103
+ },
1104
+ ],
1105
+ anonymous: false,
1106
+ type: 'event',
1107
+ },
1108
+ {
1109
+ name: 'UndyHqSetupFinished',
1110
+ inputs: [
1111
+ {
1112
+ name: 'prevGov',
1113
+ type: 'address',
1114
+ indexed: true,
1115
+ },
1116
+ {
1117
+ name: 'newGov',
1118
+ type: 'address',
1119
+ indexed: true,
1120
+ },
1121
+ {
1122
+ name: 'timeLock',
1123
+ type: 'uint256',
1124
+ indexed: false,
1125
+ },
1126
+ ],
1127
+ anonymous: false,
1128
+ type: 'event',
1129
+ },
1130
+ {
1131
+ stateMutability: 'view',
1132
+ type: 'function',
1133
+ name: 'getAddys',
1134
+ inputs: [],
1135
+ outputs: [
1136
+ {
1137
+ name: '',
1138
+ type: 'tuple',
1139
+ components: [
1140
+ {
1141
+ name: 'hq',
1142
+ type: 'address',
1143
+ },
1144
+ {
1145
+ name: 'undyToken',
1146
+ type: 'address',
1147
+ },
1148
+ {
1149
+ name: 'ledger',
1150
+ type: 'address',
1151
+ },
1152
+ {
1153
+ name: 'missionControl',
1154
+ type: 'address',
1155
+ },
1156
+ {
1157
+ name: 'legoBook',
1158
+ type: 'address',
1159
+ },
1160
+ {
1161
+ name: 'switchboard',
1162
+ type: 'address',
1163
+ },
1164
+ {
1165
+ name: 'hatchery',
1166
+ type: 'address',
1167
+ },
1168
+ {
1169
+ name: 'lootDistributor',
1170
+ type: 'address',
1171
+ },
1172
+ {
1173
+ name: 'appraiser',
1174
+ type: 'address',
1175
+ },
1176
+ {
1177
+ name: 'walletBackpack',
1178
+ type: 'address',
1179
+ },
1180
+ {
1181
+ name: 'billing',
1182
+ type: 'address',
1183
+ },
1184
+ ],
1185
+ },
1186
+ ],
1187
+ },
1188
+ {
1189
+ stateMutability: 'view',
1190
+ type: 'function',
1191
+ name: 'getUndyHq',
1192
+ inputs: [],
1193
+ outputs: [
1194
+ {
1195
+ name: '',
1196
+ type: 'address',
1197
+ },
1198
+ ],
1199
+ },
1200
+ {
1201
+ stateMutability: 'view',
1202
+ type: 'function',
1203
+ name: 'getUndyHqFromGov',
1204
+ inputs: [],
1205
+ outputs: [
1206
+ {
1207
+ name: '',
1208
+ type: 'address',
1209
+ },
1210
+ ],
1211
+ },
1212
+ {
1213
+ stateMutability: 'view',
1214
+ type: 'function',
1215
+ name: 'canGovern',
1216
+ inputs: [
1217
+ {
1218
+ name: '_addr',
1219
+ type: 'address',
1220
+ },
1221
+ ],
1222
+ outputs: [
1223
+ {
1224
+ name: '',
1225
+ type: 'bool',
1226
+ },
1227
+ ],
1228
+ },
1229
+ {
1230
+ stateMutability: 'view',
1231
+ type: 'function',
1232
+ name: 'getGovernors',
1233
+ inputs: [],
1234
+ outputs: [
1235
+ {
1236
+ name: '',
1237
+ type: 'address[]',
1238
+ },
1239
+ ],
1240
+ },
1241
+ {
1242
+ stateMutability: 'view',
1243
+ type: 'function',
1244
+ name: 'hasPendingGovChange',
1245
+ inputs: [],
1246
+ outputs: [
1247
+ {
1248
+ name: '',
1249
+ type: 'bool',
1250
+ },
1251
+ ],
1252
+ },
1253
+ {
1254
+ stateMutability: 'nonpayable',
1255
+ type: 'function',
1256
+ name: 'startGovernanceChange',
1257
+ inputs: [
1258
+ {
1259
+ name: '_newGov',
1260
+ type: 'address',
1261
+ },
1262
+ ],
1263
+ outputs: [],
1264
+ },
1265
+ {
1266
+ stateMutability: 'nonpayable',
1267
+ type: 'function',
1268
+ name: 'confirmGovernanceChange',
1269
+ inputs: [],
1270
+ outputs: [],
1271
+ },
1272
+ {
1273
+ stateMutability: 'nonpayable',
1274
+ type: 'function',
1275
+ name: 'cancelGovernanceChange',
1276
+ inputs: [],
1277
+ outputs: [],
1278
+ },
1279
+ {
1280
+ stateMutability: 'nonpayable',
1281
+ type: 'function',
1282
+ name: 'relinquishGov',
1283
+ inputs: [],
1284
+ outputs: [],
1285
+ },
1286
+ {
1287
+ stateMutability: 'nonpayable',
1288
+ type: 'function',
1289
+ name: 'setGovTimeLock',
1290
+ inputs: [
1291
+ {
1292
+ name: '_numBlocks',
1293
+ type: 'uint256',
1294
+ },
1295
+ ],
1296
+ outputs: [
1297
+ {
1298
+ name: '',
1299
+ type: 'bool',
1300
+ },
1301
+ ],
1302
+ },
1303
+ {
1304
+ stateMutability: 'view',
1305
+ type: 'function',
1306
+ name: 'isValidGovTimeLock',
1307
+ inputs: [
1308
+ {
1309
+ name: '_newTimeLock',
1310
+ type: 'uint256',
1311
+ },
1312
+ ],
1313
+ outputs: [
1314
+ {
1315
+ name: '',
1316
+ type: 'bool',
1317
+ },
1318
+ ],
1319
+ },
1320
+ {
1321
+ stateMutability: 'view',
1322
+ type: 'function',
1323
+ name: 'minGovChangeTimeLock',
1324
+ inputs: [],
1325
+ outputs: [
1326
+ {
1327
+ name: '',
1328
+ type: 'uint256',
1329
+ },
1330
+ ],
1331
+ },
1332
+ {
1333
+ stateMutability: 'view',
1334
+ type: 'function',
1335
+ name: 'maxGovChangeTimeLock',
1336
+ inputs: [],
1337
+ outputs: [
1338
+ {
1339
+ name: '',
1340
+ type: 'uint256',
1341
+ },
1342
+ ],
1343
+ },
1344
+ {
1345
+ stateMutability: 'nonpayable',
1346
+ type: 'function',
1347
+ name: 'finishUndyHqSetup',
1348
+ inputs: [
1349
+ {
1350
+ name: '_newGov',
1351
+ type: 'address',
1352
+ },
1353
+ ],
1354
+ outputs: [
1355
+ {
1356
+ name: '',
1357
+ type: 'bool',
1358
+ },
1359
+ ],
1360
+ },
1361
+ {
1362
+ stateMutability: 'nonpayable',
1363
+ type: 'function',
1364
+ name: 'finishUndyHqSetup',
1365
+ inputs: [
1366
+ {
1367
+ name: '_newGov',
1368
+ type: 'address',
1369
+ },
1370
+ {
1371
+ name: '_timeLock',
1372
+ type: 'uint256',
1373
+ },
1374
+ ],
1375
+ outputs: [
1376
+ {
1377
+ name: '',
1378
+ type: 'bool',
1379
+ },
1380
+ ],
1381
+ },
1382
+ {
1383
+ stateMutability: 'view',
1384
+ type: 'function',
1385
+ name: 'governance',
1386
+ inputs: [],
1387
+ outputs: [
1388
+ {
1389
+ name: '',
1390
+ type: 'address',
1391
+ },
1392
+ ],
1393
+ },
1394
+ {
1395
+ stateMutability: 'view',
1396
+ type: 'function',
1397
+ name: 'pendingGov',
1398
+ inputs: [],
1399
+ outputs: [
1400
+ {
1401
+ name: '',
1402
+ type: 'tuple',
1403
+ components: [
1404
+ {
1405
+ name: 'newGov',
1406
+ type: 'address',
1407
+ },
1408
+ {
1409
+ name: 'initiatedBlock',
1410
+ type: 'uint256',
1411
+ },
1412
+ {
1413
+ name: 'confirmBlock',
1414
+ type: 'uint256',
1415
+ },
1416
+ ],
1417
+ },
1418
+ ],
1419
+ },
1420
+ {
1421
+ stateMutability: 'view',
1422
+ type: 'function',
1423
+ name: 'numGovChanges',
1424
+ inputs: [],
1425
+ outputs: [
1426
+ {
1427
+ name: '',
1428
+ type: 'uint256',
1429
+ },
1430
+ ],
1431
+ },
1432
+ {
1433
+ stateMutability: 'view',
1434
+ type: 'function',
1435
+ name: 'govChangeTimeLock',
1436
+ inputs: [],
1437
+ outputs: [
1438
+ {
1439
+ name: '',
1440
+ type: 'uint256',
1441
+ },
1442
+ ],
1443
+ },
1444
+ {
1445
+ stateMutability: 'view',
1446
+ type: 'function',
1447
+ name: 'canConfirmAction',
1448
+ inputs: [
1449
+ {
1450
+ name: '_actionId',
1451
+ type: 'uint256',
1452
+ },
1453
+ ],
1454
+ outputs: [
1455
+ {
1456
+ name: '',
1457
+ type: 'bool',
1458
+ },
1459
+ ],
1460
+ },
1461
+ {
1462
+ stateMutability: 'view',
1463
+ type: 'function',
1464
+ name: 'isExpired',
1465
+ inputs: [
1466
+ {
1467
+ name: '_actionId',
1468
+ type: 'uint256',
1469
+ },
1470
+ ],
1471
+ outputs: [
1472
+ {
1473
+ name: '',
1474
+ type: 'bool',
1475
+ },
1476
+ ],
1477
+ },
1478
+ {
1479
+ stateMutability: 'view',
1480
+ type: 'function',
1481
+ name: 'hasPendingAction',
1482
+ inputs: [
1483
+ {
1484
+ name: '_actionId',
1485
+ type: 'uint256',
1486
+ },
1487
+ ],
1488
+ outputs: [
1489
+ {
1490
+ name: '',
1491
+ type: 'bool',
1492
+ },
1493
+ ],
1494
+ },
1495
+ {
1496
+ stateMutability: 'view',
1497
+ type: 'function',
1498
+ name: 'getActionConfirmationBlock',
1499
+ inputs: [
1500
+ {
1501
+ name: '_actionId',
1502
+ type: 'uint256',
1503
+ },
1504
+ ],
1505
+ outputs: [
1506
+ {
1507
+ name: '',
1508
+ type: 'uint256',
1509
+ },
1510
+ ],
1511
+ },
1512
+ {
1513
+ stateMutability: 'nonpayable',
1514
+ type: 'function',
1515
+ name: 'setActionTimeLock',
1516
+ inputs: [
1517
+ {
1518
+ name: '_newTimeLock',
1519
+ type: 'uint256',
1520
+ },
1521
+ ],
1522
+ outputs: [
1523
+ {
1524
+ name: '',
1525
+ type: 'bool',
1526
+ },
1527
+ ],
1528
+ },
1529
+ {
1530
+ stateMutability: 'view',
1531
+ type: 'function',
1532
+ name: 'isValidActionTimeLock',
1533
+ inputs: [
1534
+ {
1535
+ name: '_newTimeLock',
1536
+ type: 'uint256',
1537
+ },
1538
+ ],
1539
+ outputs: [
1540
+ {
1541
+ name: '',
1542
+ type: 'bool',
1543
+ },
1544
+ ],
1545
+ },
1546
+ {
1547
+ stateMutability: 'view',
1548
+ type: 'function',
1549
+ name: 'minActionTimeLock',
1550
+ inputs: [],
1551
+ outputs: [
1552
+ {
1553
+ name: '',
1554
+ type: 'uint256',
1555
+ },
1556
+ ],
1557
+ },
1558
+ {
1559
+ stateMutability: 'view',
1560
+ type: 'function',
1561
+ name: 'maxActionTimeLock',
1562
+ inputs: [],
1563
+ outputs: [
1564
+ {
1565
+ name: '',
1566
+ type: 'uint256',
1567
+ },
1568
+ ],
1569
+ },
1570
+ {
1571
+ stateMutability: 'nonpayable',
1572
+ type: 'function',
1573
+ name: 'setExpiration',
1574
+ inputs: [
1575
+ {
1576
+ name: '_expiration',
1577
+ type: 'uint256',
1578
+ },
1579
+ ],
1580
+ outputs: [
1581
+ {
1582
+ name: '',
1583
+ type: 'bool',
1584
+ },
1585
+ ],
1586
+ },
1587
+ {
1588
+ stateMutability: 'nonpayable',
1589
+ type: 'function',
1590
+ name: 'setActionTimeLockAfterSetup',
1591
+ inputs: [],
1592
+ outputs: [
1593
+ {
1594
+ name: '',
1595
+ type: 'bool',
1596
+ },
1597
+ ],
1598
+ },
1599
+ {
1600
+ stateMutability: 'nonpayable',
1601
+ type: 'function',
1602
+ name: 'setActionTimeLockAfterSetup',
1603
+ inputs: [
1604
+ {
1605
+ name: '_newTimeLock',
1606
+ type: 'uint256',
1607
+ },
1608
+ ],
1609
+ outputs: [
1610
+ {
1611
+ name: '',
1612
+ type: 'bool',
1613
+ },
1614
+ ],
1615
+ },
1616
+ {
1617
+ stateMutability: 'view',
1618
+ type: 'function',
1619
+ name: 'pendingActions',
1620
+ inputs: [
1621
+ {
1622
+ name: 'arg0',
1623
+ type: 'uint256',
1624
+ },
1625
+ ],
1626
+ outputs: [
1627
+ {
1628
+ name: '',
1629
+ type: 'tuple',
1630
+ components: [
1631
+ {
1632
+ name: 'initiatedBlock',
1633
+ type: 'uint256',
1634
+ },
1635
+ {
1636
+ name: 'confirmBlock',
1637
+ type: 'uint256',
1638
+ },
1639
+ {
1640
+ name: 'expiration',
1641
+ type: 'uint256',
1642
+ },
1643
+ ],
1644
+ },
1645
+ ],
1646
+ },
1647
+ {
1648
+ stateMutability: 'view',
1649
+ type: 'function',
1650
+ name: 'actionId',
1651
+ inputs: [],
1652
+ outputs: [
1653
+ {
1654
+ name: '',
1655
+ type: 'uint256',
1656
+ },
1657
+ ],
1658
+ },
1659
+ {
1660
+ stateMutability: 'view',
1661
+ type: 'function',
1662
+ name: 'actionTimeLock',
1663
+ inputs: [],
1664
+ outputs: [
1665
+ {
1666
+ name: '',
1667
+ type: 'uint256',
1668
+ },
1669
+ ],
1670
+ },
1671
+ {
1672
+ stateMutability: 'view',
1673
+ type: 'function',
1674
+ name: 'expiration',
1675
+ inputs: [],
1676
+ outputs: [
1677
+ {
1678
+ name: '',
1679
+ type: 'uint256',
1680
+ },
1681
+ ],
1682
+ },
1683
+ {
1684
+ stateMutability: 'nonpayable',
1685
+ type: 'function',
1686
+ name: 'setUserWalletTemplates',
1687
+ inputs: [
1688
+ {
1689
+ name: '_walletTemplate',
1690
+ type: 'address',
1691
+ },
1692
+ {
1693
+ name: '_configTemplate',
1694
+ type: 'address',
1695
+ },
1696
+ ],
1697
+ outputs: [
1698
+ {
1699
+ name: '',
1700
+ type: 'uint256',
1701
+ },
1702
+ ],
1703
+ },
1704
+ {
1705
+ stateMutability: 'nonpayable',
1706
+ type: 'function',
1707
+ name: 'setTrialFunds',
1708
+ inputs: [
1709
+ {
1710
+ name: '_trialAsset',
1711
+ type: 'address',
1712
+ },
1713
+ {
1714
+ name: '_trialAmount',
1715
+ type: 'uint256',
1716
+ },
1717
+ ],
1718
+ outputs: [
1719
+ {
1720
+ name: '',
1721
+ type: 'uint256',
1722
+ },
1723
+ ],
1724
+ },
1725
+ {
1726
+ stateMutability: 'nonpayable',
1727
+ type: 'function',
1728
+ name: 'setWalletCreationLimits',
1729
+ inputs: [
1730
+ {
1731
+ name: '_numUserWalletsAllowed',
1732
+ type: 'uint256',
1733
+ },
1734
+ {
1735
+ name: '_enforceCreatorWhitelist',
1736
+ type: 'bool',
1737
+ },
1738
+ ],
1739
+ outputs: [
1740
+ {
1741
+ name: '',
1742
+ type: 'uint256',
1743
+ },
1744
+ ],
1745
+ },
1746
+ {
1747
+ stateMutability: 'nonpayable',
1748
+ type: 'function',
1749
+ name: 'setKeyActionTimelockBounds',
1750
+ inputs: [
1751
+ {
1752
+ name: '_minKeyActionTimeLock',
1753
+ type: 'uint256',
1754
+ },
1755
+ {
1756
+ name: '_maxKeyActionTimeLock',
1757
+ type: 'uint256',
1758
+ },
1759
+ ],
1760
+ outputs: [
1761
+ {
1762
+ name: '',
1763
+ type: 'uint256',
1764
+ },
1765
+ ],
1766
+ },
1767
+ {
1768
+ stateMutability: 'nonpayable',
1769
+ type: 'function',
1770
+ name: 'setDefaultStaleBlocks',
1771
+ inputs: [
1772
+ {
1773
+ name: '_defaultStaleBlocks',
1774
+ type: 'uint256',
1775
+ },
1776
+ ],
1777
+ outputs: [
1778
+ {
1779
+ name: '',
1780
+ type: 'uint256',
1781
+ },
1782
+ ],
1783
+ },
1784
+ {
1785
+ stateMutability: 'nonpayable',
1786
+ type: 'function',
1787
+ name: 'setTxFees',
1788
+ inputs: [
1789
+ {
1790
+ name: '_swapFee',
1791
+ type: 'uint256',
1792
+ },
1793
+ {
1794
+ name: '_stableSwapFee',
1795
+ type: 'uint256',
1796
+ },
1797
+ {
1798
+ name: '_rewardsFee',
1799
+ type: 'uint256',
1800
+ },
1801
+ ],
1802
+ outputs: [
1803
+ {
1804
+ name: '',
1805
+ type: 'uint256',
1806
+ },
1807
+ ],
1808
+ },
1809
+ {
1810
+ stateMutability: 'nonpayable',
1811
+ type: 'function',
1812
+ name: 'setAmbassadorRevShare',
1813
+ inputs: [
1814
+ {
1815
+ name: '_swapRatio',
1816
+ type: 'uint256',
1817
+ },
1818
+ {
1819
+ name: '_rewardsRatio',
1820
+ type: 'uint256',
1821
+ },
1822
+ {
1823
+ name: '_yieldRatio',
1824
+ type: 'uint256',
1825
+ },
1826
+ ],
1827
+ outputs: [
1828
+ {
1829
+ name: '',
1830
+ type: 'uint256',
1831
+ },
1832
+ ],
1833
+ },
1834
+ {
1835
+ stateMutability: 'nonpayable',
1836
+ type: 'function',
1837
+ name: 'setDefaultYieldParams',
1838
+ inputs: [
1839
+ {
1840
+ name: '_defaultYieldMaxIncrease',
1841
+ type: 'uint256',
1842
+ },
1843
+ {
1844
+ name: '_defaultYieldPerformanceFee',
1845
+ type: 'uint256',
1846
+ },
1847
+ {
1848
+ name: '_defaultYieldAmbassadorBonusRatio',
1849
+ type: 'uint256',
1850
+ },
1851
+ {
1852
+ name: '_defaultYieldBonusRatio',
1853
+ type: 'uint256',
1854
+ },
1855
+ {
1856
+ name: '_defaultYieldAltBonusAsset',
1857
+ type: 'address',
1858
+ },
1859
+ ],
1860
+ outputs: [
1861
+ {
1862
+ name: '',
1863
+ type: 'uint256',
1864
+ },
1865
+ ],
1866
+ },
1867
+ {
1868
+ stateMutability: 'nonpayable',
1869
+ type: 'function',
1870
+ name: 'setLootParams',
1871
+ inputs: [
1872
+ {
1873
+ name: '_depositRewardsAsset',
1874
+ type: 'address',
1875
+ },
1876
+ {
1877
+ name: '_lootClaimCoolOffPeriod',
1878
+ type: 'uint256',
1879
+ },
1880
+ ],
1881
+ outputs: [
1882
+ {
1883
+ name: '',
1884
+ type: 'uint256',
1885
+ },
1886
+ ],
1887
+ },
1888
+ {
1889
+ stateMutability: 'nonpayable',
1890
+ type: 'function',
1891
+ name: 'setAssetConfig',
1892
+ inputs: [
1893
+ {
1894
+ name: '_asset',
1895
+ type: 'address',
1896
+ },
1897
+ {
1898
+ name: '_legoId',
1899
+ type: 'uint256',
1900
+ },
1901
+ {
1902
+ name: '_staleBlocks',
1903
+ type: 'uint256',
1904
+ },
1905
+ {
1906
+ name: '_txFeesSwapFee',
1907
+ type: 'uint256',
1908
+ },
1909
+ {
1910
+ name: '_txFeesStableSwapFee',
1911
+ type: 'uint256',
1912
+ },
1913
+ {
1914
+ name: '_txFeesRewardsFee',
1915
+ type: 'uint256',
1916
+ },
1917
+ {
1918
+ name: '_ambassadorRevShareSwapRatio',
1919
+ type: 'uint256',
1920
+ },
1921
+ {
1922
+ name: '_ambassadorRevShareRewardsRatio',
1923
+ type: 'uint256',
1924
+ },
1925
+ {
1926
+ name: '_ambassadorRevShareYieldRatio',
1927
+ type: 'uint256',
1928
+ },
1929
+ {
1930
+ name: '_isYieldAsset',
1931
+ type: 'bool',
1932
+ },
1933
+ {
1934
+ name: '_isRebasing',
1935
+ type: 'bool',
1936
+ },
1937
+ {
1938
+ name: '_underlyingAsset',
1939
+ type: 'address',
1940
+ },
1941
+ {
1942
+ name: '_maxYieldIncrease',
1943
+ type: 'uint256',
1944
+ },
1945
+ {
1946
+ name: '_performanceFee',
1947
+ type: 'uint256',
1948
+ },
1949
+ {
1950
+ name: '_ambassadorBonusRatio',
1951
+ type: 'uint256',
1952
+ },
1953
+ {
1954
+ name: '_bonusRatio',
1955
+ type: 'uint256',
1956
+ },
1957
+ {
1958
+ name: '_altBonusAsset',
1959
+ type: 'address',
1960
+ },
1961
+ ],
1962
+ outputs: [
1963
+ {
1964
+ name: '',
1965
+ type: 'uint256',
1966
+ },
1967
+ ],
1968
+ },
1969
+ {
1970
+ stateMutability: 'nonpayable',
1971
+ type: 'function',
1972
+ name: 'setIsStablecoin',
1973
+ inputs: [
1974
+ {
1975
+ name: '_asset',
1976
+ type: 'address',
1977
+ },
1978
+ {
1979
+ name: '_isStablecoin',
1980
+ type: 'bool',
1981
+ },
1982
+ ],
1983
+ outputs: [
1984
+ {
1985
+ name: '',
1986
+ type: 'uint256',
1987
+ },
1988
+ ],
1989
+ },
1990
+ {
1991
+ stateMutability: 'nonpayable',
1992
+ type: 'function',
1993
+ name: 'setAgentTemplate',
1994
+ inputs: [
1995
+ {
1996
+ name: '_agentTemplate',
1997
+ type: 'address',
1998
+ },
1999
+ ],
2000
+ outputs: [
2001
+ {
2002
+ name: '',
2003
+ type: 'uint256',
2004
+ },
2005
+ ],
2006
+ },
2007
+ {
2008
+ stateMutability: 'nonpayable',
2009
+ type: 'function',
2010
+ name: 'setAgentCreationLimits',
2011
+ inputs: [
2012
+ {
2013
+ name: '_numAgentsAllowed',
2014
+ type: 'uint256',
2015
+ },
2016
+ {
2017
+ name: '_enforceCreatorWhitelist',
2018
+ type: 'bool',
2019
+ },
2020
+ ],
2021
+ outputs: [
2022
+ {
2023
+ name: '',
2024
+ type: 'uint256',
2025
+ },
2026
+ ],
2027
+ },
2028
+ {
2029
+ stateMutability: 'nonpayable',
2030
+ type: 'function',
2031
+ name: 'setStarterAgentParams',
2032
+ inputs: [
2033
+ {
2034
+ name: '_startingAgent',
2035
+ type: 'address',
2036
+ },
2037
+ {
2038
+ name: '_startingAgentActivationLength',
2039
+ type: 'uint256',
2040
+ },
2041
+ ],
2042
+ outputs: [
2043
+ {
2044
+ name: '',
2045
+ type: 'uint256',
2046
+ },
2047
+ ],
2048
+ },
2049
+ {
2050
+ stateMutability: 'nonpayable',
2051
+ type: 'function',
2052
+ name: 'setManagerConfig',
2053
+ inputs: [
2054
+ {
2055
+ name: '_managerPeriod',
2056
+ type: 'uint256',
2057
+ },
2058
+ {
2059
+ name: '_managerActivationLength',
2060
+ type: 'uint256',
2061
+ },
2062
+ ],
2063
+ outputs: [
2064
+ {
2065
+ name: '',
2066
+ type: 'uint256',
2067
+ },
2068
+ ],
2069
+ },
2070
+ {
2071
+ stateMutability: 'nonpayable',
2072
+ type: 'function',
2073
+ name: 'setPayeeConfig',
2074
+ inputs: [
2075
+ {
2076
+ name: '_payeePeriod',
2077
+ type: 'uint256',
2078
+ },
2079
+ {
2080
+ name: '_payeeActivationLength',
2081
+ type: 'uint256',
2082
+ },
2083
+ ],
2084
+ outputs: [
2085
+ {
2086
+ name: '',
2087
+ type: 'uint256',
2088
+ },
2089
+ ],
2090
+ },
2091
+ {
2092
+ stateMutability: 'nonpayable',
2093
+ type: 'function',
2094
+ name: 'setCanPerformSecurityAction',
2095
+ inputs: [
2096
+ {
2097
+ name: '_signer',
2098
+ type: 'address',
2099
+ },
2100
+ {
2101
+ name: '_canPerform',
2102
+ type: 'bool',
2103
+ },
2104
+ ],
2105
+ outputs: [
2106
+ {
2107
+ name: '',
2108
+ type: 'uint256',
2109
+ },
2110
+ ],
2111
+ },
2112
+ {
2113
+ stateMutability: 'nonpayable',
2114
+ type: 'function',
2115
+ name: 'setCreatorWhitelist',
2116
+ inputs: [
2117
+ {
2118
+ name: '_creator',
2119
+ type: 'address',
2120
+ },
2121
+ {
2122
+ name: '_isWhitelisted',
2123
+ type: 'bool',
2124
+ },
2125
+ ],
2126
+ outputs: [],
2127
+ },
2128
+ {
2129
+ stateMutability: 'nonpayable',
2130
+ type: 'function',
2131
+ name: 'setLockedSigner',
2132
+ inputs: [
2133
+ {
2134
+ name: '_signer',
2135
+ type: 'address',
2136
+ },
2137
+ {
2138
+ name: '_isLocked',
2139
+ type: 'bool',
2140
+ },
2141
+ ],
2142
+ outputs: [],
2143
+ },
2144
+ {
2145
+ stateMutability: 'nonpayable',
2146
+ type: 'function',
2147
+ name: 'executePendingAction',
2148
+ inputs: [
2149
+ {
2150
+ name: '_aid',
2151
+ type: 'uint256',
2152
+ },
2153
+ ],
2154
+ outputs: [
2155
+ {
2156
+ name: '',
2157
+ type: 'bool',
2158
+ },
2159
+ ],
2160
+ },
2161
+ {
2162
+ stateMutability: 'nonpayable',
2163
+ type: 'function',
2164
+ name: 'cancelPendingAction',
2165
+ inputs: [
2166
+ {
2167
+ name: '_aid',
2168
+ type: 'uint256',
2169
+ },
2170
+ ],
2171
+ outputs: [
2172
+ {
2173
+ name: '',
2174
+ type: 'bool',
2175
+ },
2176
+ ],
2177
+ },
2178
+ {
2179
+ stateMutability: 'view',
2180
+ type: 'function',
2181
+ name: 'actionType',
2182
+ inputs: [
2183
+ {
2184
+ name: 'arg0',
2185
+ type: 'uint256',
2186
+ },
2187
+ ],
2188
+ outputs: [
2189
+ {
2190
+ name: '',
2191
+ type: 'uint256',
2192
+ },
2193
+ ],
2194
+ },
2195
+ {
2196
+ stateMutability: 'view',
2197
+ type: 'function',
2198
+ name: 'pendingUserWalletConfig',
2199
+ inputs: [
2200
+ {
2201
+ name: 'arg0',
2202
+ type: 'uint256',
2203
+ },
2204
+ ],
2205
+ outputs: [
2206
+ {
2207
+ name: '',
2208
+ type: 'tuple',
2209
+ components: [
2210
+ {
2211
+ name: 'walletTemplate',
2212
+ type: 'address',
2213
+ },
2214
+ {
2215
+ name: 'configTemplate',
2216
+ type: 'address',
2217
+ },
2218
+ {
2219
+ name: 'trialAsset',
2220
+ type: 'address',
2221
+ },
2222
+ {
2223
+ name: 'trialAmount',
2224
+ type: 'uint256',
2225
+ },
2226
+ {
2227
+ name: 'numUserWalletsAllowed',
2228
+ type: 'uint256',
2229
+ },
2230
+ {
2231
+ name: 'enforceCreatorWhitelist',
2232
+ type: 'bool',
2233
+ },
2234
+ {
2235
+ name: 'minKeyActionTimeLock',
2236
+ type: 'uint256',
2237
+ },
2238
+ {
2239
+ name: 'maxKeyActionTimeLock',
2240
+ type: 'uint256',
2241
+ },
2242
+ {
2243
+ name: 'defaultStaleBlocks',
2244
+ type: 'uint256',
2245
+ },
2246
+ {
2247
+ name: 'depositRewardsAsset',
2248
+ type: 'address',
2249
+ },
2250
+ {
2251
+ name: 'txFees',
2252
+ type: 'tuple',
2253
+ components: [
2254
+ {
2255
+ name: 'swapFee',
2256
+ type: 'uint256',
2257
+ },
2258
+ {
2259
+ name: 'stableSwapFee',
2260
+ type: 'uint256',
2261
+ },
2262
+ {
2263
+ name: 'rewardsFee',
2264
+ type: 'uint256',
2265
+ },
2266
+ ],
2267
+ },
2268
+ {
2269
+ name: 'ambassadorRevShare',
2270
+ type: 'tuple',
2271
+ components: [
2272
+ {
2273
+ name: 'swapRatio',
2274
+ type: 'uint256',
2275
+ },
2276
+ {
2277
+ name: 'rewardsRatio',
2278
+ type: 'uint256',
2279
+ },
2280
+ {
2281
+ name: 'yieldRatio',
2282
+ type: 'uint256',
2283
+ },
2284
+ ],
2285
+ },
2286
+ {
2287
+ name: 'defaultYieldMaxIncrease',
2288
+ type: 'uint256',
2289
+ },
2290
+ {
2291
+ name: 'defaultYieldPerformanceFee',
2292
+ type: 'uint256',
2293
+ },
2294
+ {
2295
+ name: 'defaultYieldAmbassadorBonusRatio',
2296
+ type: 'uint256',
2297
+ },
2298
+ {
2299
+ name: 'defaultYieldBonusRatio',
2300
+ type: 'uint256',
2301
+ },
2302
+ {
2303
+ name: 'defaultYieldAltBonusAsset',
2304
+ type: 'address',
2305
+ },
2306
+ {
2307
+ name: 'lootClaimCoolOffPeriod',
2308
+ type: 'uint256',
2309
+ },
2310
+ ],
2311
+ },
2312
+ ],
2313
+ },
2314
+ {
2315
+ stateMutability: 'view',
2316
+ type: 'function',
2317
+ name: 'pendingAssetConfig',
2318
+ inputs: [
2319
+ {
2320
+ name: 'arg0',
2321
+ type: 'uint256',
2322
+ },
2323
+ ],
2324
+ outputs: [
2325
+ {
2326
+ name: '',
2327
+ type: 'tuple',
2328
+ components: [
2329
+ {
2330
+ name: 'asset',
2331
+ type: 'address',
2332
+ },
2333
+ {
2334
+ name: 'config',
2335
+ type: 'tuple',
2336
+ components: [
2337
+ {
2338
+ name: 'legoId',
2339
+ type: 'uint256',
2340
+ },
2341
+ {
2342
+ name: 'decimals',
2343
+ type: 'uint256',
2344
+ },
2345
+ {
2346
+ name: 'staleBlocks',
2347
+ type: 'uint256',
2348
+ },
2349
+ {
2350
+ name: 'txFees',
2351
+ type: 'tuple',
2352
+ components: [
2353
+ {
2354
+ name: 'swapFee',
2355
+ type: 'uint256',
2356
+ },
2357
+ {
2358
+ name: 'stableSwapFee',
2359
+ type: 'uint256',
2360
+ },
2361
+ {
2362
+ name: 'rewardsFee',
2363
+ type: 'uint256',
2364
+ },
2365
+ ],
2366
+ },
2367
+ {
2368
+ name: 'ambassadorRevShare',
2369
+ type: 'tuple',
2370
+ components: [
2371
+ {
2372
+ name: 'swapRatio',
2373
+ type: 'uint256',
2374
+ },
2375
+ {
2376
+ name: 'rewardsRatio',
2377
+ type: 'uint256',
2378
+ },
2379
+ {
2380
+ name: 'yieldRatio',
2381
+ type: 'uint256',
2382
+ },
2383
+ ],
2384
+ },
2385
+ {
2386
+ name: 'yieldConfig',
2387
+ type: 'tuple',
2388
+ components: [
2389
+ {
2390
+ name: 'isYieldAsset',
2391
+ type: 'bool',
2392
+ },
2393
+ {
2394
+ name: 'isRebasing',
2395
+ type: 'bool',
2396
+ },
2397
+ {
2398
+ name: 'underlyingAsset',
2399
+ type: 'address',
2400
+ },
2401
+ {
2402
+ name: 'maxYieldIncrease',
2403
+ type: 'uint256',
2404
+ },
2405
+ {
2406
+ name: 'performanceFee',
2407
+ type: 'uint256',
2408
+ },
2409
+ {
2410
+ name: 'ambassadorBonusRatio',
2411
+ type: 'uint256',
2412
+ },
2413
+ {
2414
+ name: 'bonusRatio',
2415
+ type: 'uint256',
2416
+ },
2417
+ {
2418
+ name: 'altBonusAsset',
2419
+ type: 'address',
2420
+ },
2421
+ ],
2422
+ },
2423
+ ],
2424
+ },
2425
+ ],
2426
+ },
2427
+ ],
2428
+ },
2429
+ {
2430
+ stateMutability: 'view',
2431
+ type: 'function',
2432
+ name: 'pendingAgentConfig',
2433
+ inputs: [
2434
+ {
2435
+ name: 'arg0',
2436
+ type: 'uint256',
2437
+ },
2438
+ ],
2439
+ outputs: [
2440
+ {
2441
+ name: '',
2442
+ type: 'tuple',
2443
+ components: [
2444
+ {
2445
+ name: 'agentTemplate',
2446
+ type: 'address',
2447
+ },
2448
+ {
2449
+ name: 'numAgentsAllowed',
2450
+ type: 'uint256',
2451
+ },
2452
+ {
2453
+ name: 'enforceCreatorWhitelist',
2454
+ type: 'bool',
2455
+ },
2456
+ {
2457
+ name: 'startingAgent',
2458
+ type: 'address',
2459
+ },
2460
+ {
2461
+ name: 'startingAgentActivationLength',
2462
+ type: 'uint256',
2463
+ },
2464
+ ],
2465
+ },
2466
+ ],
2467
+ },
2468
+ {
2469
+ stateMutability: 'view',
2470
+ type: 'function',
2471
+ name: 'pendingManagerConfig',
2472
+ inputs: [
2473
+ {
2474
+ name: 'arg0',
2475
+ type: 'uint256',
2476
+ },
2477
+ ],
2478
+ outputs: [
2479
+ {
2480
+ name: '',
2481
+ type: 'tuple',
2482
+ components: [
2483
+ {
2484
+ name: 'managerPeriod',
2485
+ type: 'uint256',
2486
+ },
2487
+ {
2488
+ name: 'managerActivationLength',
2489
+ type: 'uint256',
2490
+ },
2491
+ ],
2492
+ },
2493
+ ],
2494
+ },
2495
+ {
2496
+ stateMutability: 'view',
2497
+ type: 'function',
2498
+ name: 'pendingPayeeConfig',
2499
+ inputs: [
2500
+ {
2501
+ name: 'arg0',
2502
+ type: 'uint256',
2503
+ },
2504
+ ],
2505
+ outputs: [
2506
+ {
2507
+ name: '',
2508
+ type: 'tuple',
2509
+ components: [
2510
+ {
2511
+ name: 'payeePeriod',
2512
+ type: 'uint256',
2513
+ },
2514
+ {
2515
+ name: 'payeeActivationLength',
2516
+ type: 'uint256',
2517
+ },
2518
+ ],
2519
+ },
2520
+ ],
2521
+ },
2522
+ {
2523
+ stateMutability: 'view',
2524
+ type: 'function',
2525
+ name: 'pendingAddrToBool',
2526
+ inputs: [
2527
+ {
2528
+ name: 'arg0',
2529
+ type: 'uint256',
2530
+ },
2531
+ ],
2532
+ outputs: [
2533
+ {
2534
+ name: '',
2535
+ type: 'tuple',
2536
+ components: [
2537
+ {
2538
+ name: 'addr',
2539
+ type: 'address',
2540
+ },
2541
+ {
2542
+ name: 'isAllowed',
2543
+ type: 'bool',
2544
+ },
2545
+ ],
2546
+ },
2547
+ ],
2548
+ },
2549
+ {
2550
+ stateMutability: 'nonpayable',
2551
+ type: 'constructor',
2552
+ inputs: [
2553
+ {
2554
+ name: '_undyHq',
2555
+ type: 'address',
2556
+ },
2557
+ {
2558
+ name: '_tempGov',
2559
+ type: 'address',
2560
+ },
2561
+ {
2562
+ name: '_minConfigTimeLock',
2563
+ type: 'uint256',
2564
+ },
2565
+ {
2566
+ name: '_maxConfigTimeLock',
2567
+ type: 'uint256',
2568
+ },
2569
+ ],
2570
+ outputs: [],
2571
+ },
2572
+ ];
2573
+ export const deployAddress = '0x2256122FCb6F9789aa356F387435F545c3C52ba5';
2574
+ function getRequest(method, args, contractAddressOrOptions) {
2575
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
2576
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
2577
+ const call = {
2578
+ contractName: 'SwitchboardAlpha',
2579
+ method,
2580
+ args,
2581
+ address,
2582
+ deployAddress,
2583
+ defaultValue,
2584
+ getAbi: () => abi,
2585
+ with: (options) => {
2586
+ call.address = options.contractAddress;
2587
+ call.defaultValue = options.defaultValue;
2588
+ return call;
2589
+ },
2590
+ defaultTo: (defaultValue) => {
2591
+ call.defaultValue = defaultValue;
2592
+ return call;
2593
+ },
2594
+ at: (address) => {
2595
+ call.address = address;
2596
+ return call;
2597
+ },
2598
+ };
2599
+ return call;
2600
+ }
2601
+ export const call = {
2602
+ getAddys: (...args) => getRequest('getAddys', args),
2603
+ getUndyHq: (...args) => getRequest('getUndyHq', args),
2604
+ getUndyHqFromGov: (...args) => getRequest('getUndyHqFromGov', args),
2605
+ canGovern: (...args) => getRequest('canGovern', args),
2606
+ getGovernors: (...args) => getRequest('getGovernors', args),
2607
+ hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
2608
+ isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
2609
+ minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
2610
+ maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
2611
+ governance: (...args) => getRequest('governance', args),
2612
+ pendingGov: (...args) => getRequest('pendingGov', args),
2613
+ numGovChanges: (...args) => getRequest('numGovChanges', args),
2614
+ govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
2615
+ canConfirmAction: (...args) => getRequest('canConfirmAction', args),
2616
+ isExpired: (...args) => getRequest('isExpired', args),
2617
+ hasPendingAction: (...args) => getRequest('hasPendingAction', args),
2618
+ getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
2619
+ isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
2620
+ minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
2621
+ maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
2622
+ pendingActions: (...args) => getRequest('pendingActions', args),
2623
+ actionId: (...args) => getRequest('actionId', args),
2624
+ actionTimeLock: (...args) => getRequest('actionTimeLock', args),
2625
+ expiration: (...args) => getRequest('expiration', args),
2626
+ actionType: (...args) => getRequest('actionType', args),
2627
+ pendingUserWalletConfig: (...args) => getRequest('pendingUserWalletConfig', args),
2628
+ pendingAssetConfig: (...args) => getRequest('pendingAssetConfig', args),
2629
+ pendingAgentConfig: (...args) => getRequest('pendingAgentConfig', args),
2630
+ pendingManagerConfig: (...args) => getRequest('pendingManagerConfig', args),
2631
+ pendingPayeeConfig: (...args) => getRequest('pendingPayeeConfig', args),
2632
+ pendingAddrToBool: (...args) => getRequest('pendingAddrToBool', args),
2633
+ };
2634
+ function getMutation(functionName) {
2635
+ return {
2636
+ contractName: 'SwitchboardAlpha',
2637
+ functionName,
2638
+ deployAddress,
2639
+ argsType: undefined,
2640
+ getAbi: () => abi,
2641
+ };
2642
+ }
2643
+ export const mutation = {
2644
+ startGovernanceChange: getMutation('startGovernanceChange'),
2645
+ confirmGovernanceChange: getMutation('confirmGovernanceChange'),
2646
+ cancelGovernanceChange: getMutation('cancelGovernanceChange'),
2647
+ relinquishGov: getMutation('relinquishGov'),
2648
+ setGovTimeLock: getMutation('setGovTimeLock'),
2649
+ finishUndyHqSetup: getMutation('finishUndyHqSetup'),
2650
+ setActionTimeLock: getMutation('setActionTimeLock'),
2651
+ setExpiration: getMutation('setExpiration'),
2652
+ setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
2653
+ setUserWalletTemplates: getMutation('setUserWalletTemplates'),
2654
+ setTrialFunds: getMutation('setTrialFunds'),
2655
+ setWalletCreationLimits: getMutation('setWalletCreationLimits'),
2656
+ setKeyActionTimelockBounds: getMutation('setKeyActionTimelockBounds'),
2657
+ setDefaultStaleBlocks: getMutation('setDefaultStaleBlocks'),
2658
+ setTxFees: getMutation('setTxFees'),
2659
+ setAmbassadorRevShare: getMutation('setAmbassadorRevShare'),
2660
+ setDefaultYieldParams: getMutation('setDefaultYieldParams'),
2661
+ setLootParams: getMutation('setLootParams'),
2662
+ setAssetConfig: getMutation('setAssetConfig'),
2663
+ setIsStablecoin: getMutation('setIsStablecoin'),
2664
+ setAgentTemplate: getMutation('setAgentTemplate'),
2665
+ setAgentCreationLimits: getMutation('setAgentCreationLimits'),
2666
+ setStarterAgentParams: getMutation('setStarterAgentParams'),
2667
+ setManagerConfig: getMutation('setManagerConfig'),
2668
+ setPayeeConfig: getMutation('setPayeeConfig'),
2669
+ setCanPerformSecurityAction: getMutation('setCanPerformSecurityAction'),
2670
+ setCreatorWhitelist: getMutation('setCreatorWhitelist'),
2671
+ setLockedSigner: getMutation('setLockedSigner'),
2672
+ executePendingAction: getMutation('executePendingAction'),
2673
+ cancelPendingAction: getMutation('cancelPendingAction'),
2674
+ };
2675
+ export function toSdk(publicClient, walletClient) {
2676
+ return {
2677
+ deployAddress,
2678
+ abi,
2679
+ // Queries
2680
+ getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args)),
2681
+ getUndyHq: (...args) => singleQuery(publicClient, call.getUndyHq(...args)),
2682
+ getUndyHqFromGov: (...args) => singleQuery(publicClient, call.getUndyHqFromGov(...args)),
2683
+ canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
2684
+ getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
2685
+ hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
2686
+ isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
2687
+ minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
2688
+ maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
2689
+ governance: (...args) => singleQuery(publicClient, call.governance(...args)),
2690
+ pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
2691
+ numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
2692
+ govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
2693
+ canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
2694
+ isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
2695
+ hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
2696
+ getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
2697
+ isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
2698
+ minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
2699
+ maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
2700
+ pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
2701
+ actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
2702
+ actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
2703
+ expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
2704
+ actionType: (...args) => singleQuery(publicClient, call.actionType(...args)),
2705
+ pendingUserWalletConfig: (...args) => singleQuery(publicClient, call.pendingUserWalletConfig(...args)),
2706
+ pendingAssetConfig: (...args) => singleQuery(publicClient, call.pendingAssetConfig(...args)),
2707
+ pendingAgentConfig: (...args) => singleQuery(publicClient, call.pendingAgentConfig(...args)),
2708
+ pendingManagerConfig: (...args) => singleQuery(publicClient, call.pendingManagerConfig(...args)),
2709
+ pendingPayeeConfig: (...args) => singleQuery(publicClient, call.pendingPayeeConfig(...args)),
2710
+ pendingAddrToBool: (...args) => singleQuery(publicClient, call.pendingAddrToBool(...args)),
2711
+ // Mutations
2712
+ startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
2713
+ confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
2714
+ cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
2715
+ relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov)(...args),
2716
+ setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
2717
+ finishUndyHqSetup: (...args) => mutate(walletClient, mutation.finishUndyHqSetup)(...args),
2718
+ setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
2719
+ setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
2720
+ setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
2721
+ setUserWalletTemplates: (...args) => mutate(walletClient, mutation.setUserWalletTemplates)(...args),
2722
+ setTrialFunds: (...args) => mutate(walletClient, mutation.setTrialFunds)(...args),
2723
+ setWalletCreationLimits: (...args) => mutate(walletClient, mutation.setWalletCreationLimits)(...args),
2724
+ setKeyActionTimelockBounds: (...args) => mutate(walletClient, mutation.setKeyActionTimelockBounds)(...args),
2725
+ setDefaultStaleBlocks: (...args) => mutate(walletClient, mutation.setDefaultStaleBlocks)(...args),
2726
+ setTxFees: (...args) => mutate(walletClient, mutation.setTxFees)(...args),
2727
+ setAmbassadorRevShare: (...args) => mutate(walletClient, mutation.setAmbassadorRevShare)(...args),
2728
+ setDefaultYieldParams: (...args) => mutate(walletClient, mutation.setDefaultYieldParams)(...args),
2729
+ setLootParams: (...args) => mutate(walletClient, mutation.setLootParams)(...args),
2730
+ setAssetConfig: (...args) => mutate(walletClient, mutation.setAssetConfig)(...args),
2731
+ setIsStablecoin: (...args) => mutate(walletClient, mutation.setIsStablecoin)(...args),
2732
+ setAgentTemplate: (...args) => mutate(walletClient, mutation.setAgentTemplate)(...args),
2733
+ setAgentCreationLimits: (...args) => mutate(walletClient, mutation.setAgentCreationLimits)(...args),
2734
+ setStarterAgentParams: (...args) => mutate(walletClient, mutation.setStarterAgentParams)(...args),
2735
+ setManagerConfig: (...args) => mutate(walletClient, mutation.setManagerConfig)(...args),
2736
+ setPayeeConfig: (...args) => mutate(walletClient, mutation.setPayeeConfig)(...args),
2737
+ setCanPerformSecurityAction: (...args) => mutate(walletClient, mutation.setCanPerformSecurityAction)(...args),
2738
+ setCreatorWhitelist: (...args) => mutate(walletClient, mutation.setCreatorWhitelist)(...args),
2739
+ setLockedSigner: (...args) => mutate(walletClient, mutation.setLockedSigner)(...args),
2740
+ executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction)(...args),
2741
+ cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction)(...args),
2742
+ };
2743
+ }