@underscore-finance/sdk 1.2.20-next.0 → 1.2.20-next.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 (254) hide show
  1. package/.claude/settings.local.json +31 -0
  2. package/.eslintrc.json +27 -0
  3. package/.prettierrc +9 -0
  4. package/.tool-versions +1 -0
  5. package/LICENSE +41 -0
  6. package/LICENSE_DATE.md +34 -0
  7. package/LICENSE_GRANTS.md +33 -0
  8. package/LICENSE_INFO.md +90 -0
  9. package/README.md +116 -17
  10. package/dapp.config.js +154 -0
  11. package/package.json +17 -44
  12. package/src/getSwapInstructions.ts +55 -0
  13. package/src/index.ts +192 -0
  14. package/tsconfig.json +18 -0
  15. package/AGENTS.md +0 -162
  16. package/abis.json +0 -181875
  17. package/addresses.json +0 -76
  18. package/dist/contracts/AaveV3.d.ts +0 -2594
  19. package/dist/contracts/AaveV3.d.ts.map +0 -1
  20. package/dist/contracts/AaveV3.js +0 -3272
  21. package/dist/contracts/AeroClassic.d.ts +0 -2118
  22. package/dist/contracts/AeroClassic.d.ts.map +0 -1
  23. package/dist/contracts/AeroClassic.js +0 -2679
  24. package/dist/contracts/AeroSlipstream.d.ts +0 -2256
  25. package/dist/contracts/AeroSlipstream.d.ts.map +0 -1
  26. package/dist/contracts/AeroSlipstream.js +0 -2848
  27. package/dist/contracts/AgentSenderGeneric.d.ts +0 -4129
  28. package/dist/contracts/AgentSenderGeneric.d.ts.map +0 -1
  29. package/dist/contracts/AgentSenderGeneric.js +0 -5397
  30. package/dist/contracts/AgentSenderSpecial.d.ts +0 -1997
  31. package/dist/contracts/AgentSenderSpecial.d.ts.map +0 -1
  32. package/dist/contracts/AgentSenderSpecial.js +0 -2532
  33. package/dist/contracts/AgentSenderSpecialSigHelper.d.ts +0 -2245
  34. package/dist/contracts/AgentSenderSpecialSigHelper.d.ts.map +0 -1
  35. package/dist/contracts/AgentSenderSpecialSigHelper.js +0 -2971
  36. package/dist/contracts/AgentWrapper.d.ts +0 -2520
  37. package/dist/contracts/AgentWrapper.d.ts.map +0 -1
  38. package/dist/contracts/AgentWrapper.js +0 -3389
  39. package/dist/contracts/AgentWrapperV1.d.ts +0 -3789
  40. package/dist/contracts/AgentWrapperV1.d.ts.map +0 -1
  41. package/dist/contracts/AgentWrapperV1.js +0 -4945
  42. package/dist/contracts/AgentWrapperV2.d.ts +0 -2494
  43. package/dist/contracts/AgentWrapperV2.d.ts.map +0 -1
  44. package/dist/contracts/AgentWrapperV2.js +0 -3354
  45. package/dist/contracts/Appraiser.d.ts +0 -577
  46. package/dist/contracts/Appraiser.d.ts.map +0 -1
  47. package/dist/contracts/Appraiser.js +0 -735
  48. package/dist/contracts/Avantis.d.ts +0 -2606
  49. package/dist/contracts/Avantis.d.ts.map +0 -1
  50. package/dist/contracts/Avantis.js +0 -3282
  51. package/dist/contracts/Billing.d.ts +0 -381
  52. package/dist/contracts/Billing.d.ts.map +0 -1
  53. package/dist/contracts/Billing.js +0 -451
  54. package/dist/contracts/ChequeBook.d.ts +0 -1704
  55. package/dist/contracts/ChequeBook.d.ts.map +0 -1
  56. package/dist/contracts/ChequeBook.js +0 -1922
  57. package/dist/contracts/CompoundV3.d.ts +0 -2622
  58. package/dist/contracts/CompoundV3.d.ts.map +0 -1
  59. package/dist/contracts/CompoundV3.js +0 -3304
  60. package/dist/contracts/ConvertVaultToken.d.ts +0 -64
  61. package/dist/contracts/ConvertVaultToken.d.ts.map +0 -1
  62. package/dist/contracts/ConvertVaultToken.js +0 -75
  63. package/dist/contracts/Curve.d.ts +0 -1107
  64. package/dist/contracts/Curve.d.ts.map +0 -1
  65. package/dist/contracts/Curve.js +0 -1379
  66. package/dist/contracts/DefaultsBase.d.ts +0 -306
  67. package/dist/contracts/DefaultsBase.d.ts.map +0 -1
  68. package/dist/contracts/DefaultsBase.js +0 -331
  69. package/dist/contracts/ERC20.d.ts +0 -288
  70. package/dist/contracts/ERC20.d.ts.map +0 -1
  71. package/dist/contracts/ERC20.js +0 -359
  72. package/dist/contracts/EarnVault.d.ts +0 -1733
  73. package/dist/contracts/EarnVault.d.ts.map +0 -1
  74. package/dist/contracts/EarnVault.js +0 -2235
  75. package/dist/contracts/EarnVaultAgent.d.ts +0 -1033
  76. package/dist/contracts/EarnVaultAgent.d.ts.map +0 -1
  77. package/dist/contracts/EarnVaultAgent.js +0 -1296
  78. package/dist/contracts/EarnVaultAgentSigHelper.d.ts +0 -905
  79. package/dist/contracts/EarnVaultAgentSigHelper.d.ts.map +0 -1
  80. package/dist/contracts/EarnVaultAgentSigHelper.js +0 -1198
  81. package/dist/contracts/Euler.d.ts +0 -2662
  82. package/dist/contracts/Euler.d.ts.map +0 -1
  83. package/dist/contracts/Euler.js +0 -3350
  84. package/dist/contracts/ExtraFi.d.ts +0 -2637
  85. package/dist/contracts/ExtraFi.d.ts.map +0 -1
  86. package/dist/contracts/ExtraFi.js +0 -3323
  87. package/dist/contracts/Fluid.d.ts +0 -2634
  88. package/dist/contracts/Fluid.d.ts.map +0 -1
  89. package/dist/contracts/Fluid.js +0 -3318
  90. package/dist/contracts/FortyAcres.d.ts +0 -2620
  91. package/dist/contracts/FortyAcres.d.ts.map +0 -1
  92. package/dist/contracts/FortyAcres.js +0 -3300
  93. package/dist/contracts/Hatchery.d.ts +0 -392
  94. package/dist/contracts/Hatchery.d.ts.map +0 -1
  95. package/dist/contracts/Hatchery.js +0 -472
  96. package/dist/contracts/Helpers.d.ts +0 -1463
  97. package/dist/contracts/Helpers.d.ts.map +0 -1
  98. package/dist/contracts/Helpers.js +0 -1763
  99. package/dist/contracts/HighCommand.d.ts +0 -2129
  100. package/dist/contracts/HighCommand.d.ts.map +0 -1
  101. package/dist/contracts/HighCommand.js +0 -2429
  102. package/dist/contracts/Kernel.d.ts +0 -387
  103. package/dist/contracts/Kernel.d.ts.map +0 -1
  104. package/dist/contracts/Kernel.js +0 -442
  105. package/dist/contracts/Ledger.d.ts +0 -708
  106. package/dist/contracts/Ledger.d.ts.map +0 -1
  107. package/dist/contracts/Ledger.js +0 -854
  108. package/dist/contracts/LegoBook.d.ts +0 -1463
  109. package/dist/contracts/LegoBook.d.ts.map +0 -1
  110. package/dist/contracts/LegoBook.js +0 -1763
  111. package/dist/contracts/LegoTools.d.ts +0 -1913
  112. package/dist/contracts/LegoTools.d.ts.map +0 -1
  113. package/dist/contracts/LegoTools.js +0 -2402
  114. package/dist/contracts/LevgVault.d.ts +0 -2115
  115. package/dist/contracts/LevgVault.d.ts.map +0 -1
  116. package/dist/contracts/LevgVault.js +0 -2733
  117. package/dist/contracts/LevgVaultAgent.d.ts +0 -1955
  118. package/dist/contracts/LevgVaultAgent.d.ts.map +0 -1
  119. package/dist/contracts/LevgVaultAgent.js +0 -2508
  120. package/dist/contracts/LevgVaultAgentSigHelper.d.ts +0 -2221
  121. package/dist/contracts/LevgVaultAgentSigHelper.d.ts.map +0 -1
  122. package/dist/contracts/LevgVaultAgentSigHelper.js +0 -2963
  123. package/dist/contracts/LevgVaultHelper.d.ts +0 -977
  124. package/dist/contracts/LevgVaultHelper.d.ts.map +0 -1
  125. package/dist/contracts/LevgVaultHelper.js +0 -1289
  126. package/dist/contracts/LevgVaultTools.d.ts +0 -2629
  127. package/dist/contracts/LevgVaultTools.d.ts.map +0 -1
  128. package/dist/contracts/LevgVaultTools.js +0 -3560
  129. package/dist/contracts/LootDistributor.d.ts +0 -1053
  130. package/dist/contracts/LootDistributor.d.ts.map +0 -1
  131. package/dist/contracts/LootDistributor.js +0 -1291
  132. package/dist/contracts/Migrator.d.ts +0 -289
  133. package/dist/contracts/Migrator.d.ts.map +0 -1
  134. package/dist/contracts/Migrator.js +0 -348
  135. package/dist/contracts/MissionControl.d.ts +0 -1405
  136. package/dist/contracts/MissionControl.d.ts.map +0 -1
  137. package/dist/contracts/MissionControl.js +0 -1592
  138. package/dist/contracts/Moonwell.d.ts +0 -2623
  139. package/dist/contracts/Moonwell.d.ts.map +0 -1
  140. package/dist/contracts/Moonwell.js +0 -3304
  141. package/dist/contracts/Morpho.d.ts +0 -2662
  142. package/dist/contracts/Morpho.d.ts.map +0 -1
  143. package/dist/contracts/Morpho.js +0 -3350
  144. package/dist/contracts/Paymaster.d.ts +0 -1714
  145. package/dist/contracts/Paymaster.d.ts.map +0 -1
  146. package/dist/contracts/Paymaster.js +0 -2098
  147. package/dist/contracts/RipeLego.d.ts +0 -2913
  148. package/dist/contracts/RipeLego.d.ts.map +0 -1
  149. package/dist/contracts/RipeLego.js +0 -3643
  150. package/dist/contracts/Sentinel.d.ts +0 -2064
  151. package/dist/contracts/Sentinel.d.ts.map +0 -1
  152. package/dist/contracts/Sentinel.js +0 -2476
  153. package/dist/contracts/SignatureHelper.d.ts +0 -4250
  154. package/dist/contracts/SignatureHelper.d.ts.map +0 -1
  155. package/dist/contracts/SignatureHelper.js +0 -5714
  156. package/dist/contracts/SignatureHelperV1.d.ts +0 -4250
  157. package/dist/contracts/SignatureHelperV1.d.ts.map +0 -1
  158. package/dist/contracts/SignatureHelperV1.js +0 -5714
  159. package/dist/contracts/SkyPsm.d.ts +0 -2667
  160. package/dist/contracts/SkyPsm.d.ts.map +0 -1
  161. package/dist/contracts/SkyPsm.js +0 -3356
  162. package/dist/contracts/Switchboard.d.ts +0 -1483
  163. package/dist/contracts/Switchboard.d.ts.map +0 -1
  164. package/dist/contracts/Switchboard.js +0 -1790
  165. package/dist/contracts/SwitchboardAlpha.d.ts +0 -3161
  166. package/dist/contracts/SwitchboardAlpha.d.ts.map +0 -1
  167. package/dist/contracts/SwitchboardAlpha.js +0 -3771
  168. package/dist/contracts/SwitchboardBravo.d.ts +0 -1591
  169. package/dist/contracts/SwitchboardBravo.d.ts.map +0 -1
  170. package/dist/contracts/SwitchboardBravo.js +0 -1872
  171. package/dist/contracts/SwitchboardCharlie.d.ts +0 -3172
  172. package/dist/contracts/SwitchboardCharlie.d.ts.map +0 -1
  173. package/dist/contracts/SwitchboardCharlie.js +0 -3713
  174. package/dist/contracts/UnderscoreLego.d.ts +0 -2592
  175. package/dist/contracts/UnderscoreLego.d.ts.map +0 -1
  176. package/dist/contracts/UnderscoreLego.js +0 -3264
  177. package/dist/contracts/UndyAero.d.ts +0 -1733
  178. package/dist/contracts/UndyAero.d.ts.map +0 -1
  179. package/dist/contracts/UndyAero.js +0 -2235
  180. package/dist/contracts/UndyBtc.d.ts +0 -1733
  181. package/dist/contracts/UndyBtc.d.ts.map +0 -1
  182. package/dist/contracts/UndyBtc.js +0 -2235
  183. package/dist/contracts/UndyCbeth.d.ts +0 -1733
  184. package/dist/contracts/UndyCbeth.d.ts.map +0 -1
  185. package/dist/contracts/UndyCbeth.js +0 -2235
  186. package/dist/contracts/UndyEth.d.ts +0 -1733
  187. package/dist/contracts/UndyEth.d.ts.map +0 -1
  188. package/dist/contracts/UndyEth.js +0 -2235
  189. package/dist/contracts/UndyEurc.d.ts +0 -1733
  190. package/dist/contracts/UndyEurc.d.ts.map +0 -1
  191. package/dist/contracts/UndyEurc.js +0 -2235
  192. package/dist/contracts/UndyGho.d.ts +0 -1733
  193. package/dist/contracts/UndyGho.d.ts.map +0 -1
  194. package/dist/contracts/UndyGho.js +0 -2235
  195. package/dist/contracts/UndyHq.d.ts +0 -1677
  196. package/dist/contracts/UndyHq.d.ts.map +0 -1
  197. package/dist/contracts/UndyHq.js +0 -2026
  198. package/dist/contracts/UndyRewardsLego.d.ts +0 -1572
  199. package/dist/contracts/UndyRewardsLego.d.ts.map +0 -1
  200. package/dist/contracts/UndyRewardsLego.js +0 -1994
  201. package/dist/contracts/UndyUsd.d.ts +0 -1733
  202. package/dist/contracts/UndyUsd.d.ts.map +0 -1
  203. package/dist/contracts/UndyUsd.js +0 -2235
  204. package/dist/contracts/UndyUsdV2.d.ts +0 -1762
  205. package/dist/contracts/UndyUsdV2.d.ts.map +0 -1
  206. package/dist/contracts/UndyUsdV2.js +0 -2267
  207. package/dist/contracts/UndyUsds.d.ts +0 -1733
  208. package/dist/contracts/UndyUsds.d.ts.map +0 -1
  209. package/dist/contracts/UndyUsds.js +0 -2235
  210. package/dist/contracts/UndyVirtual.d.ts +0 -1762
  211. package/dist/contracts/UndyVirtual.d.ts.map +0 -1
  212. package/dist/contracts/UndyVirtual.js +0 -2267
  213. package/dist/contracts/UniswapV2.d.ts +0 -2118
  214. package/dist/contracts/UniswapV2.d.ts.map +0 -1
  215. package/dist/contracts/UniswapV2.js +0 -2679
  216. package/dist/contracts/UniswapV3.d.ts +0 -2256
  217. package/dist/contracts/UniswapV3.d.ts.map +0 -1
  218. package/dist/contracts/UniswapV3.js +0 -2848
  219. package/dist/contracts/UserWallet.d.ts +0 -2650
  220. package/dist/contracts/UserWallet.d.ts.map +0 -1
  221. package/dist/contracts/UserWallet.js +0 -3520
  222. package/dist/contracts/UserWalletConfig.d.ts +0 -3901
  223. package/dist/contracts/UserWalletConfig.d.ts.map +0 -1
  224. package/dist/contracts/UserWalletConfig.js +0 -4507
  225. package/dist/contracts/UserWalletConfigV1.d.ts +0 -3692
  226. package/dist/contracts/UserWalletConfigV1.d.ts.map +0 -1
  227. package/dist/contracts/UserWalletConfigV1.js +0 -4276
  228. package/dist/contracts/UserWalletSignatureHelper.d.ts +0 -4552
  229. package/dist/contracts/UserWalletSignatureHelper.d.ts.map +0 -1
  230. package/dist/contracts/UserWalletSignatureHelper.js +0 -6123
  231. package/dist/contracts/UserWalletV1.d.ts +0 -2650
  232. package/dist/contracts/UserWalletV1.d.ts.map +0 -1
  233. package/dist/contracts/UserWalletV1.js +0 -3520
  234. package/dist/contracts/VaultRegistry.d.ts +0 -3162
  235. package/dist/contracts/VaultRegistry.d.ts.map +0 -1
  236. package/dist/contracts/VaultRegistry.js +0 -3893
  237. package/dist/contracts/WalletBackpack.d.ts +0 -1248
  238. package/dist/contracts/WalletBackpack.d.ts.map +0 -1
  239. package/dist/contracts/WalletBackpack.js +0 -1519
  240. package/dist/contracts/Wasabi.d.ts +0 -2620
  241. package/dist/contracts/Wasabi.d.ts.map +0 -1
  242. package/dist/contracts/Wasabi.js +0 -3300
  243. package/dist/contracts/index.d.ts +0 -76
  244. package/dist/contracts/index.d.ts.map +0 -1
  245. package/dist/contracts/index.js +0 -79
  246. package/dist/contracts/sdk.d.ts +0 -156
  247. package/dist/contracts/sdk.d.ts.map +0 -1
  248. package/dist/contracts/sdk.js +0 -158
  249. package/dist/getSwapInstructions.d.ts +0 -34
  250. package/dist/getSwapInstructions.d.ts.map +0 -1
  251. package/dist/getSwapInstructions.js +0 -21
  252. package/dist/index.d.ts +0 -135
  253. package/dist/index.d.ts.map +0 -1
  254. package/dist/index.js +0 -137
@@ -1,3771 +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
- import { encodeEventTopics, parseEventLogs } from 'viem';
7
- export const abi = [
8
- {
9
- "name": "PendingUserWalletTemplatesChange",
10
- "inputs": [
11
- {
12
- "name": "walletTemplate",
13
- "type": "address",
14
- "indexed": false
15
- },
16
- {
17
- "name": "configTemplate",
18
- "type": "address",
19
- "indexed": false
20
- },
21
- {
22
- "name": "confirmationBlock",
23
- "type": "uint256",
24
- "indexed": false
25
- },
26
- {
27
- "name": "actionId",
28
- "type": "uint256",
29
- "indexed": false
30
- }
31
- ],
32
- "anonymous": false,
33
- "type": "event"
34
- },
35
- {
36
- "name": "UserWalletTemplatesSet",
37
- "inputs": [
38
- {
39
- "name": "walletTemplate",
40
- "type": "address",
41
- "indexed": false
42
- },
43
- {
44
- "name": "configTemplate",
45
- "type": "address",
46
- "indexed": false
47
- }
48
- ],
49
- "anonymous": false,
50
- "type": "event"
51
- },
52
- {
53
- "name": "PendingWalletCreationLimitsChange",
54
- "inputs": [
55
- {
56
- "name": "numUserWalletsAllowed",
57
- "type": "uint256",
58
- "indexed": false
59
- },
60
- {
61
- "name": "enforceCreatorWhitelist",
62
- "type": "bool",
63
- "indexed": false
64
- },
65
- {
66
- "name": "confirmationBlock",
67
- "type": "uint256",
68
- "indexed": false
69
- },
70
- {
71
- "name": "actionId",
72
- "type": "uint256",
73
- "indexed": false
74
- }
75
- ],
76
- "anonymous": false,
77
- "type": "event"
78
- },
79
- {
80
- "name": "WalletCreationLimitsSet",
81
- "inputs": [
82
- {
83
- "name": "numUserWalletsAllowed",
84
- "type": "uint256",
85
- "indexed": false
86
- },
87
- {
88
- "name": "enforceCreatorWhitelist",
89
- "type": "bool",
90
- "indexed": false
91
- }
92
- ],
93
- "anonymous": false,
94
- "type": "event"
95
- },
96
- {
97
- "name": "PendingKeyActionTimelockBoundsChange",
98
- "inputs": [
99
- {
100
- "name": "minKeyActionTimeLock",
101
- "type": "uint256",
102
- "indexed": false
103
- },
104
- {
105
- "name": "maxKeyActionTimeLock",
106
- "type": "uint256",
107
- "indexed": false
108
- },
109
- {
110
- "name": "confirmationBlock",
111
- "type": "uint256",
112
- "indexed": false
113
- },
114
- {
115
- "name": "actionId",
116
- "type": "uint256",
117
- "indexed": false
118
- }
119
- ],
120
- "anonymous": false,
121
- "type": "event"
122
- },
123
- {
124
- "name": "KeyActionTimelockBoundsSet",
125
- "inputs": [
126
- {
127
- "name": "minKeyActionTimeLock",
128
- "type": "uint256",
129
- "indexed": false
130
- },
131
- {
132
- "name": "maxKeyActionTimeLock",
133
- "type": "uint256",
134
- "indexed": false
135
- }
136
- ],
137
- "anonymous": false,
138
- "type": "event"
139
- },
140
- {
141
- "name": "PendingTxFeesChange",
142
- "inputs": [
143
- {
144
- "name": "swapFee",
145
- "type": "uint256",
146
- "indexed": false
147
- },
148
- {
149
- "name": "stableSwapFee",
150
- "type": "uint256",
151
- "indexed": false
152
- },
153
- {
154
- "name": "rewardsFee",
155
- "type": "uint256",
156
- "indexed": false
157
- },
158
- {
159
- "name": "confirmationBlock",
160
- "type": "uint256",
161
- "indexed": false
162
- },
163
- {
164
- "name": "actionId",
165
- "type": "uint256",
166
- "indexed": false
167
- }
168
- ],
169
- "anonymous": false,
170
- "type": "event"
171
- },
172
- {
173
- "name": "TxFeesSet",
174
- "inputs": [
175
- {
176
- "name": "swapFee",
177
- "type": "uint256",
178
- "indexed": false
179
- },
180
- {
181
- "name": "stableSwapFee",
182
- "type": "uint256",
183
- "indexed": false
184
- },
185
- {
186
- "name": "rewardsFee",
187
- "type": "uint256",
188
- "indexed": false
189
- }
190
- ],
191
- "anonymous": false,
192
- "type": "event"
193
- },
194
- {
195
- "name": "PendingAmbassadorRevShareChange",
196
- "inputs": [
197
- {
198
- "name": "swapRatio",
199
- "type": "uint256",
200
- "indexed": false
201
- },
202
- {
203
- "name": "rewardsRatio",
204
- "type": "uint256",
205
- "indexed": false
206
- },
207
- {
208
- "name": "yieldRatio",
209
- "type": "uint256",
210
- "indexed": false
211
- },
212
- {
213
- "name": "confirmationBlock",
214
- "type": "uint256",
215
- "indexed": false
216
- },
217
- {
218
- "name": "actionId",
219
- "type": "uint256",
220
- "indexed": false
221
- }
222
- ],
223
- "anonymous": false,
224
- "type": "event"
225
- },
226
- {
227
- "name": "AmbassadorRevShareSet",
228
- "inputs": [
229
- {
230
- "name": "swapRatio",
231
- "type": "uint256",
232
- "indexed": false
233
- },
234
- {
235
- "name": "rewardsRatio",
236
- "type": "uint256",
237
- "indexed": false
238
- },
239
- {
240
- "name": "yieldRatio",
241
- "type": "uint256",
242
- "indexed": false
243
- }
244
- ],
245
- "anonymous": false,
246
- "type": "event"
247
- },
248
- {
249
- "name": "PendingDefaultYieldParamsChange",
250
- "inputs": [
251
- {
252
- "name": "defaultYieldMaxIncrease",
253
- "type": "uint256",
254
- "indexed": false
255
- },
256
- {
257
- "name": "defaultYieldPerformanceFee",
258
- "type": "uint256",
259
- "indexed": false
260
- },
261
- {
262
- "name": "defaultYieldAmbassadorBonusRatio",
263
- "type": "uint256",
264
- "indexed": false
265
- },
266
- {
267
- "name": "defaultYieldBonusRatio",
268
- "type": "uint256",
269
- "indexed": false
270
- },
271
- {
272
- "name": "defaultYieldBonusAsset",
273
- "type": "address",
274
- "indexed": false
275
- },
276
- {
277
- "name": "confirmationBlock",
278
- "type": "uint256",
279
- "indexed": false
280
- },
281
- {
282
- "name": "actionId",
283
- "type": "uint256",
284
- "indexed": false
285
- }
286
- ],
287
- "anonymous": false,
288
- "type": "event"
289
- },
290
- {
291
- "name": "DefaultYieldParamsSet",
292
- "inputs": [
293
- {
294
- "name": "defaultYieldMaxIncrease",
295
- "type": "uint256",
296
- "indexed": false
297
- },
298
- {
299
- "name": "defaultYieldPerformanceFee",
300
- "type": "uint256",
301
- "indexed": false
302
- },
303
- {
304
- "name": "defaultYieldAmbassadorBonusRatio",
305
- "type": "uint256",
306
- "indexed": false
307
- },
308
- {
309
- "name": "defaultYieldBonusRatio",
310
- "type": "uint256",
311
- "indexed": false
312
- },
313
- {
314
- "name": "defaultYieldBonusAsset",
315
- "type": "address",
316
- "indexed": false
317
- }
318
- ],
319
- "anonymous": false,
320
- "type": "event"
321
- },
322
- {
323
- "name": "PendingLootParamsChange",
324
- "inputs": [
325
- {
326
- "name": "depositRewardsAsset",
327
- "type": "address",
328
- "indexed": false
329
- },
330
- {
331
- "name": "lootClaimCoolOffPeriod",
332
- "type": "uint256",
333
- "indexed": false
334
- },
335
- {
336
- "name": "confirmationBlock",
337
- "type": "uint256",
338
- "indexed": false
339
- },
340
- {
341
- "name": "actionId",
342
- "type": "uint256",
343
- "indexed": false
344
- }
345
- ],
346
- "anonymous": false,
347
- "type": "event"
348
- },
349
- {
350
- "name": "LootParamsSet",
351
- "inputs": [
352
- {
353
- "name": "depositRewardsAsset",
354
- "type": "address",
355
- "indexed": false
356
- },
357
- {
358
- "name": "lootClaimCoolOffPeriod",
359
- "type": "uint256",
360
- "indexed": false
361
- }
362
- ],
363
- "anonymous": false,
364
- "type": "event"
365
- },
366
- {
367
- "name": "PendingAssetConfigChange",
368
- "inputs": [
369
- {
370
- "name": "asset",
371
- "type": "address",
372
- "indexed": false
373
- },
374
- {
375
- "name": "txFeesSwapFee",
376
- "type": "uint256",
377
- "indexed": false
378
- },
379
- {
380
- "name": "txFeesStableSwapFee",
381
- "type": "uint256",
382
- "indexed": false
383
- },
384
- {
385
- "name": "txFeesRewardsFee",
386
- "type": "uint256",
387
- "indexed": false
388
- },
389
- {
390
- "name": "ambassadorRevShareSwapRatio",
391
- "type": "uint256",
392
- "indexed": false
393
- },
394
- {
395
- "name": "ambassadorRevShareRewardsRatio",
396
- "type": "uint256",
397
- "indexed": false
398
- },
399
- {
400
- "name": "ambassadorRevShareYieldRatio",
401
- "type": "uint256",
402
- "indexed": false
403
- },
404
- {
405
- "name": "maxYieldIncrease",
406
- "type": "uint256",
407
- "indexed": false
408
- },
409
- {
410
- "name": "performanceFee",
411
- "type": "uint256",
412
- "indexed": false
413
- },
414
- {
415
- "name": "ambassadorBonusRatio",
416
- "type": "uint256",
417
- "indexed": false
418
- },
419
- {
420
- "name": "bonusRatio",
421
- "type": "uint256",
422
- "indexed": false
423
- },
424
- {
425
- "name": "bonusAsset",
426
- "type": "address",
427
- "indexed": false
428
- },
429
- {
430
- "name": "confirmationBlock",
431
- "type": "uint256",
432
- "indexed": false
433
- },
434
- {
435
- "name": "actionId",
436
- "type": "uint256",
437
- "indexed": false
438
- }
439
- ],
440
- "anonymous": false,
441
- "type": "event"
442
- },
443
- {
444
- "name": "PendingIsStablecoinChange",
445
- "inputs": [
446
- {
447
- "name": "asset",
448
- "type": "address",
449
- "indexed": false
450
- },
451
- {
452
- "name": "isStablecoin",
453
- "type": "bool",
454
- "indexed": false
455
- },
456
- {
457
- "name": "confirmationBlock",
458
- "type": "uint256",
459
- "indexed": false
460
- },
461
- {
462
- "name": "actionId",
463
- "type": "uint256",
464
- "indexed": false
465
- }
466
- ],
467
- "anonymous": false,
468
- "type": "event"
469
- },
470
- {
471
- "name": "IsStablecoinSet",
472
- "inputs": [
473
- {
474
- "name": "asset",
475
- "type": "address",
476
- "indexed": false
477
- },
478
- {
479
- "name": "isStablecoin",
480
- "type": "bool",
481
- "indexed": false
482
- }
483
- ],
484
- "anonymous": false,
485
- "type": "event"
486
- },
487
- {
488
- "name": "AssetConfigSet",
489
- "inputs": [
490
- {
491
- "name": "asset",
492
- "type": "address",
493
- "indexed": false
494
- },
495
- {
496
- "name": "txFeesSwapFee",
497
- "type": "uint256",
498
- "indexed": false
499
- },
500
- {
501
- "name": "txFeesStableSwapFee",
502
- "type": "uint256",
503
- "indexed": false
504
- },
505
- {
506
- "name": "txFeesRewardsFee",
507
- "type": "uint256",
508
- "indexed": false
509
- },
510
- {
511
- "name": "ambassadorRevShareSwapRatio",
512
- "type": "uint256",
513
- "indexed": false
514
- },
515
- {
516
- "name": "ambassadorRevShareRewardsRatio",
517
- "type": "uint256",
518
- "indexed": false
519
- },
520
- {
521
- "name": "ambassadorRevShareYieldRatio",
522
- "type": "uint256",
523
- "indexed": false
524
- },
525
- {
526
- "name": "maxYieldIncrease",
527
- "type": "uint256",
528
- "indexed": false
529
- },
530
- {
531
- "name": "performanceFee",
532
- "type": "uint256",
533
- "indexed": false
534
- },
535
- {
536
- "name": "ambassadorBonusRatio",
537
- "type": "uint256",
538
- "indexed": false
539
- },
540
- {
541
- "name": "bonusRatio",
542
- "type": "uint256",
543
- "indexed": false
544
- },
545
- {
546
- "name": "bonusAsset",
547
- "type": "address",
548
- "indexed": false
549
- }
550
- ],
551
- "anonymous": false,
552
- "type": "event"
553
- },
554
- {
555
- "name": "PendingAssetTxFeesChange",
556
- "inputs": [
557
- {
558
- "name": "asset",
559
- "type": "address",
560
- "indexed": false
561
- },
562
- {
563
- "name": "swapFee",
564
- "type": "uint256",
565
- "indexed": false
566
- },
567
- {
568
- "name": "stableSwapFee",
569
- "type": "uint256",
570
- "indexed": false
571
- },
572
- {
573
- "name": "rewardsFee",
574
- "type": "uint256",
575
- "indexed": false
576
- },
577
- {
578
- "name": "confirmationBlock",
579
- "type": "uint256",
580
- "indexed": false
581
- },
582
- {
583
- "name": "actionId",
584
- "type": "uint256",
585
- "indexed": false
586
- }
587
- ],
588
- "anonymous": false,
589
- "type": "event"
590
- },
591
- {
592
- "name": "AssetTxFeesSet",
593
- "inputs": [
594
- {
595
- "name": "asset",
596
- "type": "address",
597
- "indexed": false
598
- },
599
- {
600
- "name": "swapFee",
601
- "type": "uint256",
602
- "indexed": false
603
- },
604
- {
605
- "name": "stableSwapFee",
606
- "type": "uint256",
607
- "indexed": false
608
- },
609
- {
610
- "name": "rewardsFee",
611
- "type": "uint256",
612
- "indexed": false
613
- }
614
- ],
615
- "anonymous": false,
616
- "type": "event"
617
- },
618
- {
619
- "name": "PendingAssetAmbassadorRevShareChange",
620
- "inputs": [
621
- {
622
- "name": "asset",
623
- "type": "address",
624
- "indexed": false
625
- },
626
- {
627
- "name": "swapRatio",
628
- "type": "uint256",
629
- "indexed": false
630
- },
631
- {
632
- "name": "rewardsRatio",
633
- "type": "uint256",
634
- "indexed": false
635
- },
636
- {
637
- "name": "yieldRatio",
638
- "type": "uint256",
639
- "indexed": false
640
- },
641
- {
642
- "name": "confirmationBlock",
643
- "type": "uint256",
644
- "indexed": false
645
- },
646
- {
647
- "name": "actionId",
648
- "type": "uint256",
649
- "indexed": false
650
- }
651
- ],
652
- "anonymous": false,
653
- "type": "event"
654
- },
655
- {
656
- "name": "AssetAmbassadorRevShareSet",
657
- "inputs": [
658
- {
659
- "name": "asset",
660
- "type": "address",
661
- "indexed": false
662
- },
663
- {
664
- "name": "swapRatio",
665
- "type": "uint256",
666
- "indexed": false
667
- },
668
- {
669
- "name": "rewardsRatio",
670
- "type": "uint256",
671
- "indexed": false
672
- },
673
- {
674
- "name": "yieldRatio",
675
- "type": "uint256",
676
- "indexed": false
677
- }
678
- ],
679
- "anonymous": false,
680
- "type": "event"
681
- },
682
- {
683
- "name": "PendingAssetYieldConfigChange",
684
- "inputs": [
685
- {
686
- "name": "asset",
687
- "type": "address",
688
- "indexed": false
689
- },
690
- {
691
- "name": "maxYieldIncrease",
692
- "type": "uint256",
693
- "indexed": false
694
- },
695
- {
696
- "name": "performanceFee",
697
- "type": "uint256",
698
- "indexed": false
699
- },
700
- {
701
- "name": "ambassadorBonusRatio",
702
- "type": "uint256",
703
- "indexed": false
704
- },
705
- {
706
- "name": "bonusRatio",
707
- "type": "uint256",
708
- "indexed": false
709
- },
710
- {
711
- "name": "bonusAsset",
712
- "type": "address",
713
- "indexed": false
714
- },
715
- {
716
- "name": "confirmationBlock",
717
- "type": "uint256",
718
- "indexed": false
719
- },
720
- {
721
- "name": "actionId",
722
- "type": "uint256",
723
- "indexed": false
724
- }
725
- ],
726
- "anonymous": false,
727
- "type": "event"
728
- },
729
- {
730
- "name": "AssetYieldConfigSet",
731
- "inputs": [
732
- {
733
- "name": "asset",
734
- "type": "address",
735
- "indexed": false
736
- },
737
- {
738
- "name": "maxYieldIncrease",
739
- "type": "uint256",
740
- "indexed": false
741
- },
742
- {
743
- "name": "performanceFee",
744
- "type": "uint256",
745
- "indexed": false
746
- },
747
- {
748
- "name": "ambassadorBonusRatio",
749
- "type": "uint256",
750
- "indexed": false
751
- },
752
- {
753
- "name": "bonusRatio",
754
- "type": "uint256",
755
- "indexed": false
756
- },
757
- {
758
- "name": "bonusAsset",
759
- "type": "address",
760
- "indexed": false
761
- }
762
- ],
763
- "anonymous": false,
764
- "type": "event"
765
- },
766
- {
767
- "name": "PendingStarterAgentParamsChange",
768
- "inputs": [
769
- {
770
- "name": "startingAgent",
771
- "type": "address",
772
- "indexed": false
773
- },
774
- {
775
- "name": "startingAgentActivationLength",
776
- "type": "uint256",
777
- "indexed": false
778
- },
779
- {
780
- "name": "confirmationBlock",
781
- "type": "uint256",
782
- "indexed": false
783
- },
784
- {
785
- "name": "actionId",
786
- "type": "uint256",
787
- "indexed": false
788
- }
789
- ],
790
- "anonymous": false,
791
- "type": "event"
792
- },
793
- {
794
- "name": "StarterAgentParamsSet",
795
- "inputs": [
796
- {
797
- "name": "startingAgent",
798
- "type": "address",
799
- "indexed": false
800
- },
801
- {
802
- "name": "startingAgentActivationLength",
803
- "type": "uint256",
804
- "indexed": false
805
- }
806
- ],
807
- "anonymous": false,
808
- "type": "event"
809
- },
810
- {
811
- "name": "PendingManagerConfigChange",
812
- "inputs": [
813
- {
814
- "name": "managerPeriod",
815
- "type": "uint256",
816
- "indexed": false
817
- },
818
- {
819
- "name": "managerActivationLength",
820
- "type": "uint256",
821
- "indexed": false
822
- },
823
- {
824
- "name": "mustHaveUsdValueOnSwaps",
825
- "type": "bool",
826
- "indexed": false
827
- },
828
- {
829
- "name": "maxNumSwapsPerPeriod",
830
- "type": "uint256",
831
- "indexed": false
832
- },
833
- {
834
- "name": "maxSlippageOnSwaps",
835
- "type": "uint256",
836
- "indexed": false
837
- },
838
- {
839
- "name": "onlyApprovedYieldOpps",
840
- "type": "bool",
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": "PendingPayeeConfigChange",
859
- "inputs": [
860
- {
861
- "name": "payeePeriod",
862
- "type": "uint256",
863
- "indexed": false
864
- },
865
- {
866
- "name": "payeeActivationLength",
867
- "type": "uint256",
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": "PendingCanPerformSecurityAction",
886
- "inputs": [
887
- {
888
- "name": "signer",
889
- "type": "address",
890
- "indexed": false
891
- },
892
- {
893
- "name": "canPerform",
894
- "type": "bool",
895
- "indexed": false
896
- },
897
- {
898
- "name": "confirmationBlock",
899
- "type": "uint256",
900
- "indexed": false
901
- },
902
- {
903
- "name": "actionId",
904
- "type": "uint256",
905
- "indexed": false
906
- }
907
- ],
908
- "anonymous": false,
909
- "type": "event"
910
- },
911
- {
912
- "name": "CreatorWhitelistSet",
913
- "inputs": [
914
- {
915
- "name": "creator",
916
- "type": "address",
917
- "indexed": false
918
- },
919
- {
920
- "name": "isWhitelisted",
921
- "type": "bool",
922
- "indexed": false
923
- },
924
- {
925
- "name": "caller",
926
- "type": "address",
927
- "indexed": false
928
- }
929
- ],
930
- "anonymous": false,
931
- "type": "event"
932
- },
933
- {
934
- "name": "ManagerConfigSet",
935
- "inputs": [
936
- {
937
- "name": "managerPeriod",
938
- "type": "uint256",
939
- "indexed": false
940
- },
941
- {
942
- "name": "managerActivationLength",
943
- "type": "uint256",
944
- "indexed": false
945
- }
946
- ],
947
- "anonymous": false,
948
- "type": "event"
949
- },
950
- {
951
- "name": "PayeeConfigSet",
952
- "inputs": [
953
- {
954
- "name": "payeePeriod",
955
- "type": "uint256",
956
- "indexed": false
957
- },
958
- {
959
- "name": "payeeActivationLength",
960
- "type": "uint256",
961
- "indexed": false
962
- }
963
- ],
964
- "anonymous": false,
965
- "type": "event"
966
- },
967
- {
968
- "name": "CanPerformSecurityAction",
969
- "inputs": [
970
- {
971
- "name": "signer",
972
- "type": "address",
973
- "indexed": false
974
- },
975
- {
976
- "name": "canPerform",
977
- "type": "bool",
978
- "indexed": false
979
- }
980
- ],
981
- "anonymous": false,
982
- "type": "event"
983
- },
984
- {
985
- "name": "LockedSignerSet",
986
- "inputs": [
987
- {
988
- "name": "signer",
989
- "type": "address",
990
- "indexed": false
991
- },
992
- {
993
- "name": "isLocked",
994
- "type": "bool",
995
- "indexed": false
996
- },
997
- {
998
- "name": "caller",
999
- "type": "address",
1000
- "indexed": false
1001
- }
1002
- ],
1003
- "anonymous": false,
1004
- "type": "event"
1005
- },
1006
- {
1007
- "name": "PendingRipeRewardsConfigChange",
1008
- "inputs": [
1009
- {
1010
- "name": "ripeStakeRatio",
1011
- "type": "uint256",
1012
- "indexed": false
1013
- },
1014
- {
1015
- "name": "ripeLockDuration",
1016
- "type": "uint256",
1017
- "indexed": false
1018
- },
1019
- {
1020
- "name": "confirmationBlock",
1021
- "type": "uint256",
1022
- "indexed": false
1023
- },
1024
- {
1025
- "name": "actionId",
1026
- "type": "uint256",
1027
- "indexed": false
1028
- }
1029
- ],
1030
- "anonymous": false,
1031
- "type": "event"
1032
- },
1033
- {
1034
- "name": "RipeRewardsConfigSet",
1035
- "inputs": [
1036
- {
1037
- "name": "ripeStakeRatio",
1038
- "type": "uint256",
1039
- "indexed": false
1040
- },
1041
- {
1042
- "name": "ripeLockDuration",
1043
- "type": "uint256",
1044
- "indexed": false
1045
- }
1046
- ],
1047
- "anonymous": false,
1048
- "type": "event"
1049
- },
1050
- {
1051
- "name": "PendingAgentWrapperSenderAdd",
1052
- "inputs": [
1053
- {
1054
- "name": "agentWrapper",
1055
- "type": "address",
1056
- "indexed": true
1057
- },
1058
- {
1059
- "name": "agentSender",
1060
- "type": "address",
1061
- "indexed": true
1062
- },
1063
- {
1064
- "name": "confirmationBlock",
1065
- "type": "uint256",
1066
- "indexed": false
1067
- },
1068
- {
1069
- "name": "actionId",
1070
- "type": "uint256",
1071
- "indexed": false
1072
- }
1073
- ],
1074
- "anonymous": false,
1075
- "type": "event"
1076
- },
1077
- {
1078
- "name": "AgentWrapperSenderAdded",
1079
- "inputs": [
1080
- {
1081
- "name": "agentWrapper",
1082
- "type": "address",
1083
- "indexed": true
1084
- },
1085
- {
1086
- "name": "agentSender",
1087
- "type": "address",
1088
- "indexed": true
1089
- }
1090
- ],
1091
- "anonymous": false,
1092
- "type": "event"
1093
- },
1094
- {
1095
- "name": "AgentWrapperSenderRemoved",
1096
- "inputs": [
1097
- {
1098
- "name": "agentWrapper",
1099
- "type": "address",
1100
- "indexed": true
1101
- },
1102
- {
1103
- "name": "agentSender",
1104
- "type": "address",
1105
- "indexed": true
1106
- }
1107
- ],
1108
- "anonymous": false,
1109
- "type": "event"
1110
- },
1111
- {
1112
- "name": "GovChangeTimeLockModified",
1113
- "inputs": [
1114
- {
1115
- "name": "prevTimeLock",
1116
- "type": "uint256",
1117
- "indexed": false
1118
- },
1119
- {
1120
- "name": "newTimeLock",
1121
- "type": "uint256",
1122
- "indexed": false
1123
- }
1124
- ],
1125
- "anonymous": false,
1126
- "type": "event"
1127
- },
1128
- {
1129
- "name": "ExpirationSet",
1130
- "inputs": [
1131
- {
1132
- "name": "expiration",
1133
- "type": "uint256",
1134
- "indexed": false
1135
- }
1136
- ],
1137
- "anonymous": false,
1138
- "type": "event"
1139
- },
1140
- {
1141
- "name": "ActionTimeLockSet",
1142
- "inputs": [
1143
- {
1144
- "name": "newTimeLock",
1145
- "type": "uint256",
1146
- "indexed": false
1147
- },
1148
- {
1149
- "name": "prevTimeLock",
1150
- "type": "uint256",
1151
- "indexed": false
1152
- }
1153
- ],
1154
- "anonymous": false,
1155
- "type": "event"
1156
- },
1157
- {
1158
- "name": "GovChangeStarted",
1159
- "inputs": [
1160
- {
1161
- "name": "prevGov",
1162
- "type": "address",
1163
- "indexed": true
1164
- },
1165
- {
1166
- "name": "newGov",
1167
- "type": "address",
1168
- "indexed": true
1169
- },
1170
- {
1171
- "name": "confirmBlock",
1172
- "type": "uint256",
1173
- "indexed": false
1174
- }
1175
- ],
1176
- "anonymous": false,
1177
- "type": "event"
1178
- },
1179
- {
1180
- "name": "GovChangeConfirmed",
1181
- "inputs": [
1182
- {
1183
- "name": "prevGov",
1184
- "type": "address",
1185
- "indexed": true
1186
- },
1187
- {
1188
- "name": "newGov",
1189
- "type": "address",
1190
- "indexed": true
1191
- },
1192
- {
1193
- "name": "initiatedBlock",
1194
- "type": "uint256",
1195
- "indexed": false
1196
- },
1197
- {
1198
- "name": "confirmBlock",
1199
- "type": "uint256",
1200
- "indexed": false
1201
- }
1202
- ],
1203
- "anonymous": false,
1204
- "type": "event"
1205
- },
1206
- {
1207
- "name": "GovChangeCancelled",
1208
- "inputs": [
1209
- {
1210
- "name": "cancelledGov",
1211
- "type": "address",
1212
- "indexed": true
1213
- },
1214
- {
1215
- "name": "initiatedBlock",
1216
- "type": "uint256",
1217
- "indexed": false
1218
- },
1219
- {
1220
- "name": "confirmBlock",
1221
- "type": "uint256",
1222
- "indexed": false
1223
- }
1224
- ],
1225
- "anonymous": false,
1226
- "type": "event"
1227
- },
1228
- {
1229
- "name": "GovRelinquished",
1230
- "inputs": [
1231
- {
1232
- "name": "prevGov",
1233
- "type": "address",
1234
- "indexed": true
1235
- }
1236
- ],
1237
- "anonymous": false,
1238
- "type": "event"
1239
- },
1240
- {
1241
- "name": "UndyHqSetupFinished",
1242
- "inputs": [
1243
- {
1244
- "name": "prevGov",
1245
- "type": "address",
1246
- "indexed": true
1247
- },
1248
- {
1249
- "name": "newGov",
1250
- "type": "address",
1251
- "indexed": true
1252
- },
1253
- {
1254
- "name": "timeLock",
1255
- "type": "uint256",
1256
- "indexed": false
1257
- }
1258
- ],
1259
- "anonymous": false,
1260
- "type": "event"
1261
- },
1262
- {
1263
- "stateMutability": "view",
1264
- "type": "function",
1265
- "name": "getAddys",
1266
- "inputs": [],
1267
- "outputs": [
1268
- {
1269
- "name": "",
1270
- "type": "tuple",
1271
- "components": [
1272
- {
1273
- "name": "hq",
1274
- "type": "address"
1275
- },
1276
- {
1277
- "name": "undyToken",
1278
- "type": "address"
1279
- },
1280
- {
1281
- "name": "ledger",
1282
- "type": "address"
1283
- },
1284
- {
1285
- "name": "missionControl",
1286
- "type": "address"
1287
- },
1288
- {
1289
- "name": "legoBook",
1290
- "type": "address"
1291
- },
1292
- {
1293
- "name": "switchboard",
1294
- "type": "address"
1295
- },
1296
- {
1297
- "name": "hatchery",
1298
- "type": "address"
1299
- },
1300
- {
1301
- "name": "lootDistributor",
1302
- "type": "address"
1303
- },
1304
- {
1305
- "name": "appraiser",
1306
- "type": "address"
1307
- },
1308
- {
1309
- "name": "walletBackpack",
1310
- "type": "address"
1311
- },
1312
- {
1313
- "name": "billing",
1314
- "type": "address"
1315
- },
1316
- {
1317
- "name": "vaultRegistry",
1318
- "type": "address"
1319
- }
1320
- ]
1321
- }
1322
- ]
1323
- },
1324
- {
1325
- "stateMutability": "view",
1326
- "type": "function",
1327
- "name": "getUndyHq",
1328
- "inputs": [],
1329
- "outputs": [
1330
- {
1331
- "name": "",
1332
- "type": "address"
1333
- }
1334
- ]
1335
- },
1336
- {
1337
- "stateMutability": "view",
1338
- "type": "function",
1339
- "name": "getUndyHqFromGov",
1340
- "inputs": [],
1341
- "outputs": [
1342
- {
1343
- "name": "",
1344
- "type": "address"
1345
- }
1346
- ]
1347
- },
1348
- {
1349
- "stateMutability": "view",
1350
- "type": "function",
1351
- "name": "canGovern",
1352
- "inputs": [
1353
- {
1354
- "name": "_addr",
1355
- "type": "address"
1356
- }
1357
- ],
1358
- "outputs": [
1359
- {
1360
- "name": "",
1361
- "type": "bool"
1362
- }
1363
- ]
1364
- },
1365
- {
1366
- "stateMutability": "view",
1367
- "type": "function",
1368
- "name": "getGovernors",
1369
- "inputs": [],
1370
- "outputs": [
1371
- {
1372
- "name": "",
1373
- "type": "address[]"
1374
- }
1375
- ]
1376
- },
1377
- {
1378
- "stateMutability": "view",
1379
- "type": "function",
1380
- "name": "hasPendingGovChange",
1381
- "inputs": [],
1382
- "outputs": [
1383
- {
1384
- "name": "",
1385
- "type": "bool"
1386
- }
1387
- ]
1388
- },
1389
- {
1390
- "stateMutability": "nonpayable",
1391
- "type": "function",
1392
- "name": "startGovernanceChange",
1393
- "inputs": [
1394
- {
1395
- "name": "_newGov",
1396
- "type": "address"
1397
- }
1398
- ],
1399
- "outputs": []
1400
- },
1401
- {
1402
- "stateMutability": "nonpayable",
1403
- "type": "function",
1404
- "name": "confirmGovernanceChange",
1405
- "inputs": [],
1406
- "outputs": []
1407
- },
1408
- {
1409
- "stateMutability": "nonpayable",
1410
- "type": "function",
1411
- "name": "cancelGovernanceChange",
1412
- "inputs": [],
1413
- "outputs": []
1414
- },
1415
- {
1416
- "stateMutability": "nonpayable",
1417
- "type": "function",
1418
- "name": "relinquishGov",
1419
- "inputs": [],
1420
- "outputs": []
1421
- },
1422
- {
1423
- "stateMutability": "nonpayable",
1424
- "type": "function",
1425
- "name": "setGovTimeLock",
1426
- "inputs": [
1427
- {
1428
- "name": "_numBlocks",
1429
- "type": "uint256"
1430
- }
1431
- ],
1432
- "outputs": [
1433
- {
1434
- "name": "",
1435
- "type": "bool"
1436
- }
1437
- ]
1438
- },
1439
- {
1440
- "stateMutability": "view",
1441
- "type": "function",
1442
- "name": "isValidGovTimeLock",
1443
- "inputs": [
1444
- {
1445
- "name": "_newTimeLock",
1446
- "type": "uint256"
1447
- }
1448
- ],
1449
- "outputs": [
1450
- {
1451
- "name": "",
1452
- "type": "bool"
1453
- }
1454
- ]
1455
- },
1456
- {
1457
- "stateMutability": "view",
1458
- "type": "function",
1459
- "name": "minGovChangeTimeLock",
1460
- "inputs": [],
1461
- "outputs": [
1462
- {
1463
- "name": "",
1464
- "type": "uint256"
1465
- }
1466
- ]
1467
- },
1468
- {
1469
- "stateMutability": "view",
1470
- "type": "function",
1471
- "name": "maxGovChangeTimeLock",
1472
- "inputs": [],
1473
- "outputs": [
1474
- {
1475
- "name": "",
1476
- "type": "uint256"
1477
- }
1478
- ]
1479
- },
1480
- {
1481
- "stateMutability": "nonpayable",
1482
- "type": "function",
1483
- "name": "finishUndyHqSetup",
1484
- "inputs": [
1485
- {
1486
- "name": "_newGov",
1487
- "type": "address"
1488
- }
1489
- ],
1490
- "outputs": [
1491
- {
1492
- "name": "",
1493
- "type": "bool"
1494
- }
1495
- ]
1496
- },
1497
- {
1498
- "stateMutability": "nonpayable",
1499
- "type": "function",
1500
- "name": "finishUndyHqSetup",
1501
- "inputs": [
1502
- {
1503
- "name": "_newGov",
1504
- "type": "address"
1505
- },
1506
- {
1507
- "name": "_timeLock",
1508
- "type": "uint256"
1509
- }
1510
- ],
1511
- "outputs": [
1512
- {
1513
- "name": "",
1514
- "type": "bool"
1515
- }
1516
- ]
1517
- },
1518
- {
1519
- "stateMutability": "view",
1520
- "type": "function",
1521
- "name": "governance",
1522
- "inputs": [],
1523
- "outputs": [
1524
- {
1525
- "name": "",
1526
- "type": "address"
1527
- }
1528
- ]
1529
- },
1530
- {
1531
- "stateMutability": "view",
1532
- "type": "function",
1533
- "name": "pendingGov",
1534
- "inputs": [],
1535
- "outputs": [
1536
- {
1537
- "name": "",
1538
- "type": "tuple",
1539
- "components": [
1540
- {
1541
- "name": "newGov",
1542
- "type": "address"
1543
- },
1544
- {
1545
- "name": "initiatedBlock",
1546
- "type": "uint256"
1547
- },
1548
- {
1549
- "name": "confirmBlock",
1550
- "type": "uint256"
1551
- }
1552
- ]
1553
- }
1554
- ]
1555
- },
1556
- {
1557
- "stateMutability": "view",
1558
- "type": "function",
1559
- "name": "numGovChanges",
1560
- "inputs": [],
1561
- "outputs": [
1562
- {
1563
- "name": "",
1564
- "type": "uint256"
1565
- }
1566
- ]
1567
- },
1568
- {
1569
- "stateMutability": "view",
1570
- "type": "function",
1571
- "name": "govChangeTimeLock",
1572
- "inputs": [],
1573
- "outputs": [
1574
- {
1575
- "name": "",
1576
- "type": "uint256"
1577
- }
1578
- ]
1579
- },
1580
- {
1581
- "stateMutability": "view",
1582
- "type": "function",
1583
- "name": "canConfirmAction",
1584
- "inputs": [
1585
- {
1586
- "name": "_actionId",
1587
- "type": "uint256"
1588
- }
1589
- ],
1590
- "outputs": [
1591
- {
1592
- "name": "",
1593
- "type": "bool"
1594
- }
1595
- ]
1596
- },
1597
- {
1598
- "stateMutability": "view",
1599
- "type": "function",
1600
- "name": "isExpired",
1601
- "inputs": [
1602
- {
1603
- "name": "_actionId",
1604
- "type": "uint256"
1605
- }
1606
- ],
1607
- "outputs": [
1608
- {
1609
- "name": "",
1610
- "type": "bool"
1611
- }
1612
- ]
1613
- },
1614
- {
1615
- "stateMutability": "view",
1616
- "type": "function",
1617
- "name": "hasPendingAction",
1618
- "inputs": [
1619
- {
1620
- "name": "_actionId",
1621
- "type": "uint256"
1622
- }
1623
- ],
1624
- "outputs": [
1625
- {
1626
- "name": "",
1627
- "type": "bool"
1628
- }
1629
- ]
1630
- },
1631
- {
1632
- "stateMutability": "view",
1633
- "type": "function",
1634
- "name": "getActionConfirmationBlock",
1635
- "inputs": [
1636
- {
1637
- "name": "_actionId",
1638
- "type": "uint256"
1639
- }
1640
- ],
1641
- "outputs": [
1642
- {
1643
- "name": "",
1644
- "type": "uint256"
1645
- }
1646
- ]
1647
- },
1648
- {
1649
- "stateMutability": "nonpayable",
1650
- "type": "function",
1651
- "name": "setActionTimeLock",
1652
- "inputs": [
1653
- {
1654
- "name": "_newTimeLock",
1655
- "type": "uint256"
1656
- }
1657
- ],
1658
- "outputs": [
1659
- {
1660
- "name": "",
1661
- "type": "bool"
1662
- }
1663
- ]
1664
- },
1665
- {
1666
- "stateMutability": "view",
1667
- "type": "function",
1668
- "name": "isValidActionTimeLock",
1669
- "inputs": [
1670
- {
1671
- "name": "_newTimeLock",
1672
- "type": "uint256"
1673
- }
1674
- ],
1675
- "outputs": [
1676
- {
1677
- "name": "",
1678
- "type": "bool"
1679
- }
1680
- ]
1681
- },
1682
- {
1683
- "stateMutability": "view",
1684
- "type": "function",
1685
- "name": "minActionTimeLock",
1686
- "inputs": [],
1687
- "outputs": [
1688
- {
1689
- "name": "",
1690
- "type": "uint256"
1691
- }
1692
- ]
1693
- },
1694
- {
1695
- "stateMutability": "view",
1696
- "type": "function",
1697
- "name": "maxActionTimeLock",
1698
- "inputs": [],
1699
- "outputs": [
1700
- {
1701
- "name": "",
1702
- "type": "uint256"
1703
- }
1704
- ]
1705
- },
1706
- {
1707
- "stateMutability": "nonpayable",
1708
- "type": "function",
1709
- "name": "setExpiration",
1710
- "inputs": [
1711
- {
1712
- "name": "_expiration",
1713
- "type": "uint256"
1714
- }
1715
- ],
1716
- "outputs": [
1717
- {
1718
- "name": "",
1719
- "type": "bool"
1720
- }
1721
- ]
1722
- },
1723
- {
1724
- "stateMutability": "nonpayable",
1725
- "type": "function",
1726
- "name": "setActionTimeLockAfterSetup",
1727
- "inputs": [],
1728
- "outputs": [
1729
- {
1730
- "name": "",
1731
- "type": "bool"
1732
- }
1733
- ]
1734
- },
1735
- {
1736
- "stateMutability": "nonpayable",
1737
- "type": "function",
1738
- "name": "setActionTimeLockAfterSetup",
1739
- "inputs": [
1740
- {
1741
- "name": "_newTimeLock",
1742
- "type": "uint256"
1743
- }
1744
- ],
1745
- "outputs": [
1746
- {
1747
- "name": "",
1748
- "type": "bool"
1749
- }
1750
- ]
1751
- },
1752
- {
1753
- "stateMutability": "view",
1754
- "type": "function",
1755
- "name": "pendingActions",
1756
- "inputs": [
1757
- {
1758
- "name": "arg0",
1759
- "type": "uint256"
1760
- }
1761
- ],
1762
- "outputs": [
1763
- {
1764
- "name": "",
1765
- "type": "tuple",
1766
- "components": [
1767
- {
1768
- "name": "initiatedBlock",
1769
- "type": "uint256"
1770
- },
1771
- {
1772
- "name": "confirmBlock",
1773
- "type": "uint256"
1774
- },
1775
- {
1776
- "name": "expiration",
1777
- "type": "uint256"
1778
- }
1779
- ]
1780
- }
1781
- ]
1782
- },
1783
- {
1784
- "stateMutability": "view",
1785
- "type": "function",
1786
- "name": "actionId",
1787
- "inputs": [],
1788
- "outputs": [
1789
- {
1790
- "name": "",
1791
- "type": "uint256"
1792
- }
1793
- ]
1794
- },
1795
- {
1796
- "stateMutability": "view",
1797
- "type": "function",
1798
- "name": "actionTimeLock",
1799
- "inputs": [],
1800
- "outputs": [
1801
- {
1802
- "name": "",
1803
- "type": "uint256"
1804
- }
1805
- ]
1806
- },
1807
- {
1808
- "stateMutability": "view",
1809
- "type": "function",
1810
- "name": "expiration",
1811
- "inputs": [],
1812
- "outputs": [
1813
- {
1814
- "name": "",
1815
- "type": "uint256"
1816
- }
1817
- ]
1818
- },
1819
- {
1820
- "stateMutability": "nonpayable",
1821
- "type": "function",
1822
- "name": "setUserWalletTemplates",
1823
- "inputs": [
1824
- {
1825
- "name": "_walletTemplate",
1826
- "type": "address"
1827
- },
1828
- {
1829
- "name": "_configTemplate",
1830
- "type": "address"
1831
- }
1832
- ],
1833
- "outputs": [
1834
- {
1835
- "name": "",
1836
- "type": "uint256"
1837
- }
1838
- ]
1839
- },
1840
- {
1841
- "stateMutability": "nonpayable",
1842
- "type": "function",
1843
- "name": "setUserWalletTemplates",
1844
- "inputs": [
1845
- {
1846
- "name": "_walletTemplate",
1847
- "type": "address"
1848
- },
1849
- {
1850
- "name": "_configTemplate",
1851
- "type": "address"
1852
- },
1853
- {
1854
- "name": "_missionControl",
1855
- "type": "address"
1856
- }
1857
- ],
1858
- "outputs": [
1859
- {
1860
- "name": "",
1861
- "type": "uint256"
1862
- }
1863
- ]
1864
- },
1865
- {
1866
- "stateMutability": "nonpayable",
1867
- "type": "function",
1868
- "name": "setWalletCreationLimits",
1869
- "inputs": [
1870
- {
1871
- "name": "_numUserWalletsAllowed",
1872
- "type": "uint256"
1873
- },
1874
- {
1875
- "name": "_enforceCreatorWhitelist",
1876
- "type": "bool"
1877
- }
1878
- ],
1879
- "outputs": [
1880
- {
1881
- "name": "",
1882
- "type": "uint256"
1883
- }
1884
- ]
1885
- },
1886
- {
1887
- "stateMutability": "nonpayable",
1888
- "type": "function",
1889
- "name": "setWalletCreationLimits",
1890
- "inputs": [
1891
- {
1892
- "name": "_numUserWalletsAllowed",
1893
- "type": "uint256"
1894
- },
1895
- {
1896
- "name": "_enforceCreatorWhitelist",
1897
- "type": "bool"
1898
- },
1899
- {
1900
- "name": "_missionControl",
1901
- "type": "address"
1902
- }
1903
- ],
1904
- "outputs": [
1905
- {
1906
- "name": "",
1907
- "type": "uint256"
1908
- }
1909
- ]
1910
- },
1911
- {
1912
- "stateMutability": "nonpayable",
1913
- "type": "function",
1914
- "name": "setKeyActionTimelockBounds",
1915
- "inputs": [
1916
- {
1917
- "name": "_minKeyActionTimeLock",
1918
- "type": "uint256"
1919
- },
1920
- {
1921
- "name": "_maxKeyActionTimeLock",
1922
- "type": "uint256"
1923
- }
1924
- ],
1925
- "outputs": [
1926
- {
1927
- "name": "",
1928
- "type": "uint256"
1929
- }
1930
- ]
1931
- },
1932
- {
1933
- "stateMutability": "nonpayable",
1934
- "type": "function",
1935
- "name": "setKeyActionTimelockBounds",
1936
- "inputs": [
1937
- {
1938
- "name": "_minKeyActionTimeLock",
1939
- "type": "uint256"
1940
- },
1941
- {
1942
- "name": "_maxKeyActionTimeLock",
1943
- "type": "uint256"
1944
- },
1945
- {
1946
- "name": "_missionControl",
1947
- "type": "address"
1948
- }
1949
- ],
1950
- "outputs": [
1951
- {
1952
- "name": "",
1953
- "type": "uint256"
1954
- }
1955
- ]
1956
- },
1957
- {
1958
- "stateMutability": "nonpayable",
1959
- "type": "function",
1960
- "name": "setTxFees",
1961
- "inputs": [
1962
- {
1963
- "name": "_swapFee",
1964
- "type": "uint256"
1965
- },
1966
- {
1967
- "name": "_stableSwapFee",
1968
- "type": "uint256"
1969
- },
1970
- {
1971
- "name": "_rewardsFee",
1972
- "type": "uint256"
1973
- }
1974
- ],
1975
- "outputs": [
1976
- {
1977
- "name": "",
1978
- "type": "uint256"
1979
- }
1980
- ]
1981
- },
1982
- {
1983
- "stateMutability": "nonpayable",
1984
- "type": "function",
1985
- "name": "setTxFees",
1986
- "inputs": [
1987
- {
1988
- "name": "_swapFee",
1989
- "type": "uint256"
1990
- },
1991
- {
1992
- "name": "_stableSwapFee",
1993
- "type": "uint256"
1994
- },
1995
- {
1996
- "name": "_rewardsFee",
1997
- "type": "uint256"
1998
- },
1999
- {
2000
- "name": "_missionControl",
2001
- "type": "address"
2002
- }
2003
- ],
2004
- "outputs": [
2005
- {
2006
- "name": "",
2007
- "type": "uint256"
2008
- }
2009
- ]
2010
- },
2011
- {
2012
- "stateMutability": "nonpayable",
2013
- "type": "function",
2014
- "name": "setAmbassadorRevShare",
2015
- "inputs": [
2016
- {
2017
- "name": "_swapRatio",
2018
- "type": "uint256"
2019
- },
2020
- {
2021
- "name": "_rewardsRatio",
2022
- "type": "uint256"
2023
- },
2024
- {
2025
- "name": "_yieldRatio",
2026
- "type": "uint256"
2027
- }
2028
- ],
2029
- "outputs": [
2030
- {
2031
- "name": "",
2032
- "type": "uint256"
2033
- }
2034
- ]
2035
- },
2036
- {
2037
- "stateMutability": "nonpayable",
2038
- "type": "function",
2039
- "name": "setAmbassadorRevShare",
2040
- "inputs": [
2041
- {
2042
- "name": "_swapRatio",
2043
- "type": "uint256"
2044
- },
2045
- {
2046
- "name": "_rewardsRatio",
2047
- "type": "uint256"
2048
- },
2049
- {
2050
- "name": "_yieldRatio",
2051
- "type": "uint256"
2052
- },
2053
- {
2054
- "name": "_missionControl",
2055
- "type": "address"
2056
- }
2057
- ],
2058
- "outputs": [
2059
- {
2060
- "name": "",
2061
- "type": "uint256"
2062
- }
2063
- ]
2064
- },
2065
- {
2066
- "stateMutability": "nonpayable",
2067
- "type": "function",
2068
- "name": "setDefaultYieldParams",
2069
- "inputs": [
2070
- {
2071
- "name": "_defaultYieldMaxIncrease",
2072
- "type": "uint256"
2073
- },
2074
- {
2075
- "name": "_defaultYieldPerformanceFee",
2076
- "type": "uint256"
2077
- },
2078
- {
2079
- "name": "_defaultYieldAmbassadorBonusRatio",
2080
- "type": "uint256"
2081
- },
2082
- {
2083
- "name": "_defaultYieldBonusRatio",
2084
- "type": "uint256"
2085
- },
2086
- {
2087
- "name": "_defaultYieldBonusAsset",
2088
- "type": "address"
2089
- }
2090
- ],
2091
- "outputs": [
2092
- {
2093
- "name": "",
2094
- "type": "uint256"
2095
- }
2096
- ]
2097
- },
2098
- {
2099
- "stateMutability": "nonpayable",
2100
- "type": "function",
2101
- "name": "setDefaultYieldParams",
2102
- "inputs": [
2103
- {
2104
- "name": "_defaultYieldMaxIncrease",
2105
- "type": "uint256"
2106
- },
2107
- {
2108
- "name": "_defaultYieldPerformanceFee",
2109
- "type": "uint256"
2110
- },
2111
- {
2112
- "name": "_defaultYieldAmbassadorBonusRatio",
2113
- "type": "uint256"
2114
- },
2115
- {
2116
- "name": "_defaultYieldBonusRatio",
2117
- "type": "uint256"
2118
- },
2119
- {
2120
- "name": "_defaultYieldBonusAsset",
2121
- "type": "address"
2122
- },
2123
- {
2124
- "name": "_missionControl",
2125
- "type": "address"
2126
- }
2127
- ],
2128
- "outputs": [
2129
- {
2130
- "name": "",
2131
- "type": "uint256"
2132
- }
2133
- ]
2134
- },
2135
- {
2136
- "stateMutability": "nonpayable",
2137
- "type": "function",
2138
- "name": "setLootParams",
2139
- "inputs": [
2140
- {
2141
- "name": "_depositRewardsAsset",
2142
- "type": "address"
2143
- },
2144
- {
2145
- "name": "_lootClaimCoolOffPeriod",
2146
- "type": "uint256"
2147
- }
2148
- ],
2149
- "outputs": [
2150
- {
2151
- "name": "",
2152
- "type": "uint256"
2153
- }
2154
- ]
2155
- },
2156
- {
2157
- "stateMutability": "nonpayable",
2158
- "type": "function",
2159
- "name": "setLootParams",
2160
- "inputs": [
2161
- {
2162
- "name": "_depositRewardsAsset",
2163
- "type": "address"
2164
- },
2165
- {
2166
- "name": "_lootClaimCoolOffPeriod",
2167
- "type": "uint256"
2168
- },
2169
- {
2170
- "name": "_missionControl",
2171
- "type": "address"
2172
- }
2173
- ],
2174
- "outputs": [
2175
- {
2176
- "name": "",
2177
- "type": "uint256"
2178
- }
2179
- ]
2180
- },
2181
- {
2182
- "stateMutability": "nonpayable",
2183
- "type": "function",
2184
- "name": "setAssetConfig",
2185
- "inputs": [
2186
- {
2187
- "name": "_asset",
2188
- "type": "address"
2189
- },
2190
- {
2191
- "name": "_txFeesSwapFee",
2192
- "type": "uint256"
2193
- },
2194
- {
2195
- "name": "_txFeesStableSwapFee",
2196
- "type": "uint256"
2197
- },
2198
- {
2199
- "name": "_txFeesRewardsFee",
2200
- "type": "uint256"
2201
- },
2202
- {
2203
- "name": "_ambassadorRevShareSwapRatio",
2204
- "type": "uint256"
2205
- },
2206
- {
2207
- "name": "_ambassadorRevShareRewardsRatio",
2208
- "type": "uint256"
2209
- },
2210
- {
2211
- "name": "_ambassadorRevShareYieldRatio",
2212
- "type": "uint256"
2213
- },
2214
- {
2215
- "name": "_maxYieldIncrease",
2216
- "type": "uint256"
2217
- },
2218
- {
2219
- "name": "_performanceFee",
2220
- "type": "uint256"
2221
- },
2222
- {
2223
- "name": "_ambassadorBonusRatio",
2224
- "type": "uint256"
2225
- },
2226
- {
2227
- "name": "_bonusRatio",
2228
- "type": "uint256"
2229
- },
2230
- {
2231
- "name": "_bonusAsset",
2232
- "type": "address"
2233
- }
2234
- ],
2235
- "outputs": [
2236
- {
2237
- "name": "",
2238
- "type": "uint256"
2239
- }
2240
- ]
2241
- },
2242
- {
2243
- "stateMutability": "nonpayable",
2244
- "type": "function",
2245
- "name": "setAssetConfig",
2246
- "inputs": [
2247
- {
2248
- "name": "_asset",
2249
- "type": "address"
2250
- },
2251
- {
2252
- "name": "_txFeesSwapFee",
2253
- "type": "uint256"
2254
- },
2255
- {
2256
- "name": "_txFeesStableSwapFee",
2257
- "type": "uint256"
2258
- },
2259
- {
2260
- "name": "_txFeesRewardsFee",
2261
- "type": "uint256"
2262
- },
2263
- {
2264
- "name": "_ambassadorRevShareSwapRatio",
2265
- "type": "uint256"
2266
- },
2267
- {
2268
- "name": "_ambassadorRevShareRewardsRatio",
2269
- "type": "uint256"
2270
- },
2271
- {
2272
- "name": "_ambassadorRevShareYieldRatio",
2273
- "type": "uint256"
2274
- },
2275
- {
2276
- "name": "_maxYieldIncrease",
2277
- "type": "uint256"
2278
- },
2279
- {
2280
- "name": "_performanceFee",
2281
- "type": "uint256"
2282
- },
2283
- {
2284
- "name": "_ambassadorBonusRatio",
2285
- "type": "uint256"
2286
- },
2287
- {
2288
- "name": "_bonusRatio",
2289
- "type": "uint256"
2290
- },
2291
- {
2292
- "name": "_bonusAsset",
2293
- "type": "address"
2294
- },
2295
- {
2296
- "name": "_missionControl",
2297
- "type": "address"
2298
- }
2299
- ],
2300
- "outputs": [
2301
- {
2302
- "name": "",
2303
- "type": "uint256"
2304
- }
2305
- ]
2306
- },
2307
- {
2308
- "stateMutability": "nonpayable",
2309
- "type": "function",
2310
- "name": "setAssetTxFees",
2311
- "inputs": [
2312
- {
2313
- "name": "_asset",
2314
- "type": "address"
2315
- },
2316
- {
2317
- "name": "_swapFee",
2318
- "type": "uint256"
2319
- },
2320
- {
2321
- "name": "_stableSwapFee",
2322
- "type": "uint256"
2323
- },
2324
- {
2325
- "name": "_rewardsFee",
2326
- "type": "uint256"
2327
- }
2328
- ],
2329
- "outputs": [
2330
- {
2331
- "name": "",
2332
- "type": "uint256"
2333
- }
2334
- ]
2335
- },
2336
- {
2337
- "stateMutability": "nonpayable",
2338
- "type": "function",
2339
- "name": "setAssetTxFees",
2340
- "inputs": [
2341
- {
2342
- "name": "_asset",
2343
- "type": "address"
2344
- },
2345
- {
2346
- "name": "_swapFee",
2347
- "type": "uint256"
2348
- },
2349
- {
2350
- "name": "_stableSwapFee",
2351
- "type": "uint256"
2352
- },
2353
- {
2354
- "name": "_rewardsFee",
2355
- "type": "uint256"
2356
- },
2357
- {
2358
- "name": "_missionControl",
2359
- "type": "address"
2360
- }
2361
- ],
2362
- "outputs": [
2363
- {
2364
- "name": "",
2365
- "type": "uint256"
2366
- }
2367
- ]
2368
- },
2369
- {
2370
- "stateMutability": "nonpayable",
2371
- "type": "function",
2372
- "name": "setAssetAmbassadorRevShare",
2373
- "inputs": [
2374
- {
2375
- "name": "_asset",
2376
- "type": "address"
2377
- },
2378
- {
2379
- "name": "_swapRatio",
2380
- "type": "uint256"
2381
- },
2382
- {
2383
- "name": "_rewardsRatio",
2384
- "type": "uint256"
2385
- },
2386
- {
2387
- "name": "_yieldRatio",
2388
- "type": "uint256"
2389
- }
2390
- ],
2391
- "outputs": [
2392
- {
2393
- "name": "",
2394
- "type": "uint256"
2395
- }
2396
- ]
2397
- },
2398
- {
2399
- "stateMutability": "nonpayable",
2400
- "type": "function",
2401
- "name": "setAssetAmbassadorRevShare",
2402
- "inputs": [
2403
- {
2404
- "name": "_asset",
2405
- "type": "address"
2406
- },
2407
- {
2408
- "name": "_swapRatio",
2409
- "type": "uint256"
2410
- },
2411
- {
2412
- "name": "_rewardsRatio",
2413
- "type": "uint256"
2414
- },
2415
- {
2416
- "name": "_yieldRatio",
2417
- "type": "uint256"
2418
- },
2419
- {
2420
- "name": "_missionControl",
2421
- "type": "address"
2422
- }
2423
- ],
2424
- "outputs": [
2425
- {
2426
- "name": "",
2427
- "type": "uint256"
2428
- }
2429
- ]
2430
- },
2431
- {
2432
- "stateMutability": "nonpayable",
2433
- "type": "function",
2434
- "name": "setAssetYieldConfig",
2435
- "inputs": [
2436
- {
2437
- "name": "_asset",
2438
- "type": "address"
2439
- },
2440
- {
2441
- "name": "_maxYieldIncrease",
2442
- "type": "uint256"
2443
- },
2444
- {
2445
- "name": "_performanceFee",
2446
- "type": "uint256"
2447
- },
2448
- {
2449
- "name": "_ambassadorBonusRatio",
2450
- "type": "uint256"
2451
- },
2452
- {
2453
- "name": "_bonusRatio",
2454
- "type": "uint256"
2455
- },
2456
- {
2457
- "name": "_bonusAsset",
2458
- "type": "address"
2459
- }
2460
- ],
2461
- "outputs": [
2462
- {
2463
- "name": "",
2464
- "type": "uint256"
2465
- }
2466
- ]
2467
- },
2468
- {
2469
- "stateMutability": "nonpayable",
2470
- "type": "function",
2471
- "name": "setAssetYieldConfig",
2472
- "inputs": [
2473
- {
2474
- "name": "_asset",
2475
- "type": "address"
2476
- },
2477
- {
2478
- "name": "_maxYieldIncrease",
2479
- "type": "uint256"
2480
- },
2481
- {
2482
- "name": "_performanceFee",
2483
- "type": "uint256"
2484
- },
2485
- {
2486
- "name": "_ambassadorBonusRatio",
2487
- "type": "uint256"
2488
- },
2489
- {
2490
- "name": "_bonusRatio",
2491
- "type": "uint256"
2492
- },
2493
- {
2494
- "name": "_bonusAsset",
2495
- "type": "address"
2496
- },
2497
- {
2498
- "name": "_missionControl",
2499
- "type": "address"
2500
- }
2501
- ],
2502
- "outputs": [
2503
- {
2504
- "name": "",
2505
- "type": "uint256"
2506
- }
2507
- ]
2508
- },
2509
- {
2510
- "stateMutability": "nonpayable",
2511
- "type": "function",
2512
- "name": "setIsStablecoin",
2513
- "inputs": [
2514
- {
2515
- "name": "_asset",
2516
- "type": "address"
2517
- },
2518
- {
2519
- "name": "_isStablecoin",
2520
- "type": "bool"
2521
- }
2522
- ],
2523
- "outputs": [
2524
- {
2525
- "name": "",
2526
- "type": "uint256"
2527
- }
2528
- ]
2529
- },
2530
- {
2531
- "stateMutability": "nonpayable",
2532
- "type": "function",
2533
- "name": "setIsStablecoin",
2534
- "inputs": [
2535
- {
2536
- "name": "_asset",
2537
- "type": "address"
2538
- },
2539
- {
2540
- "name": "_isStablecoin",
2541
- "type": "bool"
2542
- },
2543
- {
2544
- "name": "_missionControl",
2545
- "type": "address"
2546
- }
2547
- ],
2548
- "outputs": [
2549
- {
2550
- "name": "",
2551
- "type": "uint256"
2552
- }
2553
- ]
2554
- },
2555
- {
2556
- "stateMutability": "nonpayable",
2557
- "type": "function",
2558
- "name": "setStarterAgentParams",
2559
- "inputs": [
2560
- {
2561
- "name": "_startingAgent",
2562
- "type": "address"
2563
- },
2564
- {
2565
- "name": "_startingAgentActivationLength",
2566
- "type": "uint256"
2567
- }
2568
- ],
2569
- "outputs": [
2570
- {
2571
- "name": "",
2572
- "type": "uint256"
2573
- }
2574
- ]
2575
- },
2576
- {
2577
- "stateMutability": "nonpayable",
2578
- "type": "function",
2579
- "name": "setStarterAgentParams",
2580
- "inputs": [
2581
- {
2582
- "name": "_startingAgent",
2583
- "type": "address"
2584
- },
2585
- {
2586
- "name": "_startingAgentActivationLength",
2587
- "type": "uint256"
2588
- },
2589
- {
2590
- "name": "_missionControl",
2591
- "type": "address"
2592
- }
2593
- ],
2594
- "outputs": [
2595
- {
2596
- "name": "",
2597
- "type": "uint256"
2598
- }
2599
- ]
2600
- },
2601
- {
2602
- "stateMutability": "nonpayable",
2603
- "type": "function",
2604
- "name": "setAgentWrapperSender",
2605
- "inputs": [
2606
- {
2607
- "name": "_agentWrapper",
2608
- "type": "address"
2609
- },
2610
- {
2611
- "name": "_agentSender",
2612
- "type": "address"
2613
- },
2614
- {
2615
- "name": "_shouldAdd",
2616
- "type": "bool"
2617
- }
2618
- ],
2619
- "outputs": [
2620
- {
2621
- "name": "",
2622
- "type": "uint256"
2623
- }
2624
- ]
2625
- },
2626
- {
2627
- "stateMutability": "nonpayable",
2628
- "type": "function",
2629
- "name": "setManagerConfig",
2630
- "inputs": [
2631
- {
2632
- "name": "_managerPeriod",
2633
- "type": "uint256"
2634
- },
2635
- {
2636
- "name": "_managerActivationLength",
2637
- "type": "uint256"
2638
- },
2639
- {
2640
- "name": "_mustHaveUsdValueOnSwaps",
2641
- "type": "bool"
2642
- },
2643
- {
2644
- "name": "_maxNumSwapsPerPeriod",
2645
- "type": "uint256"
2646
- },
2647
- {
2648
- "name": "_maxSlippageOnSwaps",
2649
- "type": "uint256"
2650
- },
2651
- {
2652
- "name": "_onlyApprovedYieldOpps",
2653
- "type": "bool"
2654
- }
2655
- ],
2656
- "outputs": [
2657
- {
2658
- "name": "",
2659
- "type": "uint256"
2660
- }
2661
- ]
2662
- },
2663
- {
2664
- "stateMutability": "nonpayable",
2665
- "type": "function",
2666
- "name": "setManagerConfig",
2667
- "inputs": [
2668
- {
2669
- "name": "_managerPeriod",
2670
- "type": "uint256"
2671
- },
2672
- {
2673
- "name": "_managerActivationLength",
2674
- "type": "uint256"
2675
- },
2676
- {
2677
- "name": "_mustHaveUsdValueOnSwaps",
2678
- "type": "bool"
2679
- },
2680
- {
2681
- "name": "_maxNumSwapsPerPeriod",
2682
- "type": "uint256"
2683
- },
2684
- {
2685
- "name": "_maxSlippageOnSwaps",
2686
- "type": "uint256"
2687
- },
2688
- {
2689
- "name": "_onlyApprovedYieldOpps",
2690
- "type": "bool"
2691
- },
2692
- {
2693
- "name": "_missionControl",
2694
- "type": "address"
2695
- }
2696
- ],
2697
- "outputs": [
2698
- {
2699
- "name": "",
2700
- "type": "uint256"
2701
- }
2702
- ]
2703
- },
2704
- {
2705
- "stateMutability": "nonpayable",
2706
- "type": "function",
2707
- "name": "setPayeeConfig",
2708
- "inputs": [
2709
- {
2710
- "name": "_payeePeriod",
2711
- "type": "uint256"
2712
- },
2713
- {
2714
- "name": "_payeeActivationLength",
2715
- "type": "uint256"
2716
- }
2717
- ],
2718
- "outputs": [
2719
- {
2720
- "name": "",
2721
- "type": "uint256"
2722
- }
2723
- ]
2724
- },
2725
- {
2726
- "stateMutability": "nonpayable",
2727
- "type": "function",
2728
- "name": "setPayeeConfig",
2729
- "inputs": [
2730
- {
2731
- "name": "_payeePeriod",
2732
- "type": "uint256"
2733
- },
2734
- {
2735
- "name": "_payeeActivationLength",
2736
- "type": "uint256"
2737
- },
2738
- {
2739
- "name": "_missionControl",
2740
- "type": "address"
2741
- }
2742
- ],
2743
- "outputs": [
2744
- {
2745
- "name": "",
2746
- "type": "uint256"
2747
- }
2748
- ]
2749
- },
2750
- {
2751
- "stateMutability": "nonpayable",
2752
- "type": "function",
2753
- "name": "setCanPerformSecurityAction",
2754
- "inputs": [
2755
- {
2756
- "name": "_signer",
2757
- "type": "address"
2758
- },
2759
- {
2760
- "name": "_canPerform",
2761
- "type": "bool"
2762
- }
2763
- ],
2764
- "outputs": [
2765
- {
2766
- "name": "",
2767
- "type": "uint256"
2768
- }
2769
- ]
2770
- },
2771
- {
2772
- "stateMutability": "nonpayable",
2773
- "type": "function",
2774
- "name": "setCanPerformSecurityAction",
2775
- "inputs": [
2776
- {
2777
- "name": "_signer",
2778
- "type": "address"
2779
- },
2780
- {
2781
- "name": "_canPerform",
2782
- "type": "bool"
2783
- },
2784
- {
2785
- "name": "_missionControl",
2786
- "type": "address"
2787
- }
2788
- ],
2789
- "outputs": [
2790
- {
2791
- "name": "",
2792
- "type": "uint256"
2793
- }
2794
- ]
2795
- },
2796
- {
2797
- "stateMutability": "nonpayable",
2798
- "type": "function",
2799
- "name": "setCreatorWhitelist",
2800
- "inputs": [
2801
- {
2802
- "name": "_creator",
2803
- "type": "address"
2804
- },
2805
- {
2806
- "name": "_isWhitelisted",
2807
- "type": "bool"
2808
- }
2809
- ],
2810
- "outputs": []
2811
- },
2812
- {
2813
- "stateMutability": "nonpayable",
2814
- "type": "function",
2815
- "name": "setCreatorWhitelist",
2816
- "inputs": [
2817
- {
2818
- "name": "_creator",
2819
- "type": "address"
2820
- },
2821
- {
2822
- "name": "_isWhitelisted",
2823
- "type": "bool"
2824
- },
2825
- {
2826
- "name": "_missionControl",
2827
- "type": "address"
2828
- }
2829
- ],
2830
- "outputs": []
2831
- },
2832
- {
2833
- "stateMutability": "nonpayable",
2834
- "type": "function",
2835
- "name": "setLockedSigner",
2836
- "inputs": [
2837
- {
2838
- "name": "_signer",
2839
- "type": "address"
2840
- },
2841
- {
2842
- "name": "_isLocked",
2843
- "type": "bool"
2844
- }
2845
- ],
2846
- "outputs": []
2847
- },
2848
- {
2849
- "stateMutability": "nonpayable",
2850
- "type": "function",
2851
- "name": "setLockedSigner",
2852
- "inputs": [
2853
- {
2854
- "name": "_signer",
2855
- "type": "address"
2856
- },
2857
- {
2858
- "name": "_isLocked",
2859
- "type": "bool"
2860
- },
2861
- {
2862
- "name": "_missionControl",
2863
- "type": "address"
2864
- }
2865
- ],
2866
- "outputs": []
2867
- },
2868
- {
2869
- "stateMutability": "nonpayable",
2870
- "type": "function",
2871
- "name": "setRipeRewardsConfig",
2872
- "inputs": [
2873
- {
2874
- "name": "_ripeStakeRatio",
2875
- "type": "uint256"
2876
- },
2877
- {
2878
- "name": "_ripeLockDuration",
2879
- "type": "uint256"
2880
- }
2881
- ],
2882
- "outputs": [
2883
- {
2884
- "name": "",
2885
- "type": "uint256"
2886
- }
2887
- ]
2888
- },
2889
- {
2890
- "stateMutability": "nonpayable",
2891
- "type": "function",
2892
- "name": "setRipeRewardsConfig",
2893
- "inputs": [
2894
- {
2895
- "name": "_ripeStakeRatio",
2896
- "type": "uint256"
2897
- },
2898
- {
2899
- "name": "_ripeLockDuration",
2900
- "type": "uint256"
2901
- },
2902
- {
2903
- "name": "_missionControl",
2904
- "type": "address"
2905
- }
2906
- ],
2907
- "outputs": [
2908
- {
2909
- "name": "",
2910
- "type": "uint256"
2911
- }
2912
- ]
2913
- },
2914
- {
2915
- "stateMutability": "nonpayable",
2916
- "type": "function",
2917
- "name": "executePendingAction",
2918
- "inputs": [
2919
- {
2920
- "name": "_aid",
2921
- "type": "uint256"
2922
- }
2923
- ],
2924
- "outputs": [
2925
- {
2926
- "name": "",
2927
- "type": "bool"
2928
- }
2929
- ]
2930
- },
2931
- {
2932
- "stateMutability": "nonpayable",
2933
- "type": "function",
2934
- "name": "cancelPendingAction",
2935
- "inputs": [
2936
- {
2937
- "name": "_aid",
2938
- "type": "uint256"
2939
- }
2940
- ],
2941
- "outputs": [
2942
- {
2943
- "name": "",
2944
- "type": "bool"
2945
- }
2946
- ]
2947
- },
2948
- {
2949
- "stateMutability": "view",
2950
- "type": "function",
2951
- "name": "actionType",
2952
- "inputs": [
2953
- {
2954
- "name": "arg0",
2955
- "type": "uint256"
2956
- }
2957
- ],
2958
- "outputs": [
2959
- {
2960
- "name": "",
2961
- "type": "uint256"
2962
- }
2963
- ]
2964
- },
2965
- {
2966
- "stateMutability": "view",
2967
- "type": "function",
2968
- "name": "pendingUserWalletConfig",
2969
- "inputs": [
2970
- {
2971
- "name": "arg0",
2972
- "type": "uint256"
2973
- }
2974
- ],
2975
- "outputs": [
2976
- {
2977
- "name": "",
2978
- "type": "tuple",
2979
- "components": [
2980
- {
2981
- "name": "walletTemplate",
2982
- "type": "address"
2983
- },
2984
- {
2985
- "name": "configTemplate",
2986
- "type": "address"
2987
- },
2988
- {
2989
- "name": "numUserWalletsAllowed",
2990
- "type": "uint256"
2991
- },
2992
- {
2993
- "name": "enforceCreatorWhitelist",
2994
- "type": "bool"
2995
- },
2996
- {
2997
- "name": "minKeyActionTimeLock",
2998
- "type": "uint256"
2999
- },
3000
- {
3001
- "name": "maxKeyActionTimeLock",
3002
- "type": "uint256"
3003
- },
3004
- {
3005
- "name": "depositRewardsAsset",
3006
- "type": "address"
3007
- },
3008
- {
3009
- "name": "lootClaimCoolOffPeriod",
3010
- "type": "uint256"
3011
- },
3012
- {
3013
- "name": "txFees",
3014
- "type": "tuple",
3015
- "components": [
3016
- {
3017
- "name": "swapFee",
3018
- "type": "uint256"
3019
- },
3020
- {
3021
- "name": "stableSwapFee",
3022
- "type": "uint256"
3023
- },
3024
- {
3025
- "name": "rewardsFee",
3026
- "type": "uint256"
3027
- }
3028
- ]
3029
- },
3030
- {
3031
- "name": "ambassadorRevShare",
3032
- "type": "tuple",
3033
- "components": [
3034
- {
3035
- "name": "swapRatio",
3036
- "type": "uint256"
3037
- },
3038
- {
3039
- "name": "rewardsRatio",
3040
- "type": "uint256"
3041
- },
3042
- {
3043
- "name": "yieldRatio",
3044
- "type": "uint256"
3045
- }
3046
- ]
3047
- },
3048
- {
3049
- "name": "yieldConfig",
3050
- "type": "tuple",
3051
- "components": [
3052
- {
3053
- "name": "maxYieldIncrease",
3054
- "type": "uint256"
3055
- },
3056
- {
3057
- "name": "performanceFee",
3058
- "type": "uint256"
3059
- },
3060
- {
3061
- "name": "ambassadorBonusRatio",
3062
- "type": "uint256"
3063
- },
3064
- {
3065
- "name": "bonusRatio",
3066
- "type": "uint256"
3067
- },
3068
- {
3069
- "name": "bonusAsset",
3070
- "type": "address"
3071
- }
3072
- ]
3073
- }
3074
- ]
3075
- }
3076
- ]
3077
- },
3078
- {
3079
- "stateMutability": "view",
3080
- "type": "function",
3081
- "name": "pendingAssetConfig",
3082
- "inputs": [
3083
- {
3084
- "name": "arg0",
3085
- "type": "uint256"
3086
- }
3087
- ],
3088
- "outputs": [
3089
- {
3090
- "name": "",
3091
- "type": "tuple",
3092
- "components": [
3093
- {
3094
- "name": "asset",
3095
- "type": "address"
3096
- },
3097
- {
3098
- "name": "config",
3099
- "type": "tuple",
3100
- "components": [
3101
- {
3102
- "name": "hasConfig",
3103
- "type": "bool"
3104
- },
3105
- {
3106
- "name": "txFees",
3107
- "type": "tuple",
3108
- "components": [
3109
- {
3110
- "name": "swapFee",
3111
- "type": "uint256"
3112
- },
3113
- {
3114
- "name": "stableSwapFee",
3115
- "type": "uint256"
3116
- },
3117
- {
3118
- "name": "rewardsFee",
3119
- "type": "uint256"
3120
- }
3121
- ]
3122
- },
3123
- {
3124
- "name": "ambassadorRevShare",
3125
- "type": "tuple",
3126
- "components": [
3127
- {
3128
- "name": "swapRatio",
3129
- "type": "uint256"
3130
- },
3131
- {
3132
- "name": "rewardsRatio",
3133
- "type": "uint256"
3134
- },
3135
- {
3136
- "name": "yieldRatio",
3137
- "type": "uint256"
3138
- }
3139
- ]
3140
- },
3141
- {
3142
- "name": "yieldConfig",
3143
- "type": "tuple",
3144
- "components": [
3145
- {
3146
- "name": "maxYieldIncrease",
3147
- "type": "uint256"
3148
- },
3149
- {
3150
- "name": "performanceFee",
3151
- "type": "uint256"
3152
- },
3153
- {
3154
- "name": "ambassadorBonusRatio",
3155
- "type": "uint256"
3156
- },
3157
- {
3158
- "name": "bonusRatio",
3159
- "type": "uint256"
3160
- },
3161
- {
3162
- "name": "bonusAsset",
3163
- "type": "address"
3164
- }
3165
- ]
3166
- }
3167
- ]
3168
- }
3169
- ]
3170
- }
3171
- ]
3172
- },
3173
- {
3174
- "stateMutability": "view",
3175
- "type": "function",
3176
- "name": "pendingAssetTxFees",
3177
- "inputs": [
3178
- {
3179
- "name": "arg0",
3180
- "type": "uint256"
3181
- }
3182
- ],
3183
- "outputs": [
3184
- {
3185
- "name": "",
3186
- "type": "tuple",
3187
- "components": [
3188
- {
3189
- "name": "asset",
3190
- "type": "address"
3191
- },
3192
- {
3193
- "name": "txFees",
3194
- "type": "tuple",
3195
- "components": [
3196
- {
3197
- "name": "swapFee",
3198
- "type": "uint256"
3199
- },
3200
- {
3201
- "name": "stableSwapFee",
3202
- "type": "uint256"
3203
- },
3204
- {
3205
- "name": "rewardsFee",
3206
- "type": "uint256"
3207
- }
3208
- ]
3209
- }
3210
- ]
3211
- }
3212
- ]
3213
- },
3214
- {
3215
- "stateMutability": "view",
3216
- "type": "function",
3217
- "name": "pendingAssetAmbassadorRevShare",
3218
- "inputs": [
3219
- {
3220
- "name": "arg0",
3221
- "type": "uint256"
3222
- }
3223
- ],
3224
- "outputs": [
3225
- {
3226
- "name": "",
3227
- "type": "tuple",
3228
- "components": [
3229
- {
3230
- "name": "asset",
3231
- "type": "address"
3232
- },
3233
- {
3234
- "name": "ambassadorRevShare",
3235
- "type": "tuple",
3236
- "components": [
3237
- {
3238
- "name": "swapRatio",
3239
- "type": "uint256"
3240
- },
3241
- {
3242
- "name": "rewardsRatio",
3243
- "type": "uint256"
3244
- },
3245
- {
3246
- "name": "yieldRatio",
3247
- "type": "uint256"
3248
- }
3249
- ]
3250
- }
3251
- ]
3252
- }
3253
- ]
3254
- },
3255
- {
3256
- "stateMutability": "view",
3257
- "type": "function",
3258
- "name": "pendingAssetYieldConfig",
3259
- "inputs": [
3260
- {
3261
- "name": "arg0",
3262
- "type": "uint256"
3263
- }
3264
- ],
3265
- "outputs": [
3266
- {
3267
- "name": "",
3268
- "type": "tuple",
3269
- "components": [
3270
- {
3271
- "name": "asset",
3272
- "type": "address"
3273
- },
3274
- {
3275
- "name": "yieldConfig",
3276
- "type": "tuple",
3277
- "components": [
3278
- {
3279
- "name": "maxYieldIncrease",
3280
- "type": "uint256"
3281
- },
3282
- {
3283
- "name": "performanceFee",
3284
- "type": "uint256"
3285
- },
3286
- {
3287
- "name": "ambassadorBonusRatio",
3288
- "type": "uint256"
3289
- },
3290
- {
3291
- "name": "bonusRatio",
3292
- "type": "uint256"
3293
- },
3294
- {
3295
- "name": "bonusAsset",
3296
- "type": "address"
3297
- }
3298
- ]
3299
- }
3300
- ]
3301
- }
3302
- ]
3303
- },
3304
- {
3305
- "stateMutability": "view",
3306
- "type": "function",
3307
- "name": "pendingAgentConfig",
3308
- "inputs": [
3309
- {
3310
- "name": "arg0",
3311
- "type": "uint256"
3312
- }
3313
- ],
3314
- "outputs": [
3315
- {
3316
- "name": "",
3317
- "type": "tuple",
3318
- "components": [
3319
- {
3320
- "name": "startingAgent",
3321
- "type": "address"
3322
- },
3323
- {
3324
- "name": "startingAgentActivationLength",
3325
- "type": "uint256"
3326
- }
3327
- ]
3328
- }
3329
- ]
3330
- },
3331
- {
3332
- "stateMutability": "view",
3333
- "type": "function",
3334
- "name": "pendingManagerConfig",
3335
- "inputs": [
3336
- {
3337
- "name": "arg0",
3338
- "type": "uint256"
3339
- }
3340
- ],
3341
- "outputs": [
3342
- {
3343
- "name": "",
3344
- "type": "tuple",
3345
- "components": [
3346
- {
3347
- "name": "managerPeriod",
3348
- "type": "uint256"
3349
- },
3350
- {
3351
- "name": "managerActivationLength",
3352
- "type": "uint256"
3353
- },
3354
- {
3355
- "name": "mustHaveUsdValueOnSwaps",
3356
- "type": "bool"
3357
- },
3358
- {
3359
- "name": "maxNumSwapsPerPeriod",
3360
- "type": "uint256"
3361
- },
3362
- {
3363
- "name": "maxSlippageOnSwaps",
3364
- "type": "uint256"
3365
- },
3366
- {
3367
- "name": "onlyApprovedYieldOpps",
3368
- "type": "bool"
3369
- }
3370
- ]
3371
- }
3372
- ]
3373
- },
3374
- {
3375
- "stateMutability": "view",
3376
- "type": "function",
3377
- "name": "pendingPayeeConfig",
3378
- "inputs": [
3379
- {
3380
- "name": "arg0",
3381
- "type": "uint256"
3382
- }
3383
- ],
3384
- "outputs": [
3385
- {
3386
- "name": "",
3387
- "type": "tuple",
3388
- "components": [
3389
- {
3390
- "name": "payeePeriod",
3391
- "type": "uint256"
3392
- },
3393
- {
3394
- "name": "payeeActivationLength",
3395
- "type": "uint256"
3396
- }
3397
- ]
3398
- }
3399
- ]
3400
- },
3401
- {
3402
- "stateMutability": "view",
3403
- "type": "function",
3404
- "name": "pendingAddrToBool",
3405
- "inputs": [
3406
- {
3407
- "name": "arg0",
3408
- "type": "uint256"
3409
- }
3410
- ],
3411
- "outputs": [
3412
- {
3413
- "name": "",
3414
- "type": "tuple",
3415
- "components": [
3416
- {
3417
- "name": "addr",
3418
- "type": "address"
3419
- },
3420
- {
3421
- "name": "isAllowed",
3422
- "type": "bool"
3423
- }
3424
- ]
3425
- }
3426
- ]
3427
- },
3428
- {
3429
- "stateMutability": "view",
3430
- "type": "function",
3431
- "name": "pendingAgentWrapperSender",
3432
- "inputs": [
3433
- {
3434
- "name": "arg0",
3435
- "type": "uint256"
3436
- }
3437
- ],
3438
- "outputs": [
3439
- {
3440
- "name": "",
3441
- "type": "tuple",
3442
- "components": [
3443
- {
3444
- "name": "agentWrapper",
3445
- "type": "address"
3446
- },
3447
- {
3448
- "name": "agentSender",
3449
- "type": "address"
3450
- }
3451
- ]
3452
- }
3453
- ]
3454
- },
3455
- {
3456
- "stateMutability": "view",
3457
- "type": "function",
3458
- "name": "pendingRipeRewardsConfig",
3459
- "inputs": [
3460
- {
3461
- "name": "arg0",
3462
- "type": "uint256"
3463
- }
3464
- ],
3465
- "outputs": [
3466
- {
3467
- "name": "",
3468
- "type": "tuple",
3469
- "components": [
3470
- {
3471
- "name": "stakeRatio",
3472
- "type": "uint256"
3473
- },
3474
- {
3475
- "name": "lockDuration",
3476
- "type": "uint256"
3477
- }
3478
- ]
3479
- }
3480
- ]
3481
- },
3482
- {
3483
- "stateMutability": "view",
3484
- "type": "function",
3485
- "name": "pendingMissionControl",
3486
- "inputs": [
3487
- {
3488
- "name": "arg0",
3489
- "type": "uint256"
3490
- }
3491
- ],
3492
- "outputs": [
3493
- {
3494
- "name": "",
3495
- "type": "address"
3496
- }
3497
- ]
3498
- },
3499
- {
3500
- "stateMutability": "nonpayable",
3501
- "type": "constructor",
3502
- "inputs": [
3503
- {
3504
- "name": "_undyHq",
3505
- "type": "address"
3506
- },
3507
- {
3508
- "name": "_tempGov",
3509
- "type": "address"
3510
- },
3511
- {
3512
- "name": "_minConfigTimeLock",
3513
- "type": "uint256"
3514
- },
3515
- {
3516
- "name": "_maxConfigTimeLock",
3517
- "type": "uint256"
3518
- }
3519
- ],
3520
- "outputs": []
3521
- }
3522
- ];
3523
- export const deployAddress = '0xD63278252E4306Dc2361F0353b8C681fccb15873';
3524
- function getRequest(method, args, contractAddressOrOptions) {
3525
- const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
3526
- const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
3527
- const call = {
3528
- contractName: 'SwitchboardAlpha',
3529
- method,
3530
- args,
3531
- address,
3532
- deployAddress,
3533
- defaultValue,
3534
- getAbi: () => abi,
3535
- with: (options) => {
3536
- call.address = options.contractAddress;
3537
- call.defaultValue = options.defaultValue;
3538
- return call;
3539
- },
3540
- defaultTo: (defaultValue) => {
3541
- call.defaultValue = defaultValue;
3542
- return call;
3543
- },
3544
- at: (address) => {
3545
- call.address = address;
3546
- return call;
3547
- },
3548
- };
3549
- return call;
3550
- }
3551
- export const call = {
3552
- getAddys: (...args) => getRequest('getAddys', args),
3553
- getUndyHq: (...args) => getRequest('getUndyHq', args),
3554
- getUndyHqFromGov: (...args) => getRequest('getUndyHqFromGov', args),
3555
- canGovern: (...args) => getRequest('canGovern', args),
3556
- getGovernors: (...args) => getRequest('getGovernors', args),
3557
- hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
3558
- isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
3559
- minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
3560
- maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
3561
- governance: (...args) => getRequest('governance', args),
3562
- pendingGov: (...args) => getRequest('pendingGov', args),
3563
- numGovChanges: (...args) => getRequest('numGovChanges', args),
3564
- govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
3565
- canConfirmAction: (...args) => getRequest('canConfirmAction', args),
3566
- isExpired: (...args) => getRequest('isExpired', args),
3567
- hasPendingAction: (...args) => getRequest('hasPendingAction', args),
3568
- getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
3569
- isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
3570
- minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
3571
- maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
3572
- pendingActions: (...args) => getRequest('pendingActions', args),
3573
- actionId: (...args) => getRequest('actionId', args),
3574
- actionTimeLock: (...args) => getRequest('actionTimeLock', args),
3575
- expiration: (...args) => getRequest('expiration', args),
3576
- actionType: (...args) => getRequest('actionType', args),
3577
- pendingUserWalletConfig: (...args) => getRequest('pendingUserWalletConfig', args),
3578
- pendingAssetConfig: (...args) => getRequest('pendingAssetConfig', args),
3579
- pendingAssetTxFees: (...args) => getRequest('pendingAssetTxFees', args),
3580
- pendingAssetAmbassadorRevShare: (...args) => getRequest('pendingAssetAmbassadorRevShare', args),
3581
- pendingAssetYieldConfig: (...args) => getRequest('pendingAssetYieldConfig', args),
3582
- pendingAgentConfig: (...args) => getRequest('pendingAgentConfig', args),
3583
- pendingManagerConfig: (...args) => getRequest('pendingManagerConfig', args),
3584
- pendingPayeeConfig: (...args) => getRequest('pendingPayeeConfig', args),
3585
- pendingAddrToBool: (...args) => getRequest('pendingAddrToBool', args),
3586
- pendingAgentWrapperSender: (...args) => getRequest('pendingAgentWrapperSender', args),
3587
- pendingRipeRewardsConfig: (...args) => getRequest('pendingRipeRewardsConfig', args),
3588
- pendingMissionControl: (...args) => getRequest('pendingMissionControl', args),
3589
- };
3590
- function getMutation(functionName) {
3591
- return {
3592
- contractName: 'SwitchboardAlpha',
3593
- functionName,
3594
- deployAddress,
3595
- argsType: undefined,
3596
- getAbi: () => abi,
3597
- };
3598
- }
3599
- export const mutation = {
3600
- startGovernanceChange: getMutation('startGovernanceChange'),
3601
- confirmGovernanceChange: getMutation('confirmGovernanceChange'),
3602
- cancelGovernanceChange: getMutation('cancelGovernanceChange'),
3603
- relinquishGov: getMutation('relinquishGov'),
3604
- setGovTimeLock: getMutation('setGovTimeLock'),
3605
- finishUndyHqSetup: getMutation('finishUndyHqSetup'),
3606
- setActionTimeLock: getMutation('setActionTimeLock'),
3607
- setExpiration: getMutation('setExpiration'),
3608
- setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
3609
- setUserWalletTemplates: getMutation('setUserWalletTemplates'),
3610
- setWalletCreationLimits: getMutation('setWalletCreationLimits'),
3611
- setKeyActionTimelockBounds: getMutation('setKeyActionTimelockBounds'),
3612
- setTxFees: getMutation('setTxFees'),
3613
- setAmbassadorRevShare: getMutation('setAmbassadorRevShare'),
3614
- setDefaultYieldParams: getMutation('setDefaultYieldParams'),
3615
- setLootParams: getMutation('setLootParams'),
3616
- setAssetConfig: getMutation('setAssetConfig'),
3617
- setAssetTxFees: getMutation('setAssetTxFees'),
3618
- setAssetAmbassadorRevShare: getMutation('setAssetAmbassadorRevShare'),
3619
- setAssetYieldConfig: getMutation('setAssetYieldConfig'),
3620
- setIsStablecoin: getMutation('setIsStablecoin'),
3621
- setStarterAgentParams: getMutation('setStarterAgentParams'),
3622
- setAgentWrapperSender: getMutation('setAgentWrapperSender'),
3623
- setManagerConfig: getMutation('setManagerConfig'),
3624
- setPayeeConfig: getMutation('setPayeeConfig'),
3625
- setCanPerformSecurityAction: getMutation('setCanPerformSecurityAction'),
3626
- setCreatorWhitelist: getMutation('setCreatorWhitelist'),
3627
- setLockedSigner: getMutation('setLockedSigner'),
3628
- setRipeRewardsConfig: getMutation('setRipeRewardsConfig'),
3629
- executePendingAction: getMutation('executePendingAction'),
3630
- cancelPendingAction: getMutation('cancelPendingAction'),
3631
- };
3632
- export function parseEvents(eventName, events) {
3633
- return events.map((event) => {
3634
- return {
3635
- event,
3636
- parsed: parseEventLogs({
3637
- abi,
3638
- eventName,
3639
- logs: [event],
3640
- }),
3641
- };
3642
- });
3643
- }
3644
- export function getEventTopic(eventName) {
3645
- return encodeEventTopics({ abi, eventName })[0];
3646
- }
3647
- export function toSdk(publicClient, walletClient, addressResolver) {
3648
- return {
3649
- deployAddress,
3650
- abi,
3651
- events: {
3652
- PendingUserWalletTemplatesChange: { topic: getEventTopic('PendingUserWalletTemplatesChange'), parse: (events) => parseEvents('PendingUserWalletTemplatesChange', events) },
3653
- UserWalletTemplatesSet: { topic: getEventTopic('UserWalletTemplatesSet'), parse: (events) => parseEvents('UserWalletTemplatesSet', events) },
3654
- PendingWalletCreationLimitsChange: { topic: getEventTopic('PendingWalletCreationLimitsChange'), parse: (events) => parseEvents('PendingWalletCreationLimitsChange', events) },
3655
- WalletCreationLimitsSet: { topic: getEventTopic('WalletCreationLimitsSet'), parse: (events) => parseEvents('WalletCreationLimitsSet', events) },
3656
- PendingKeyActionTimelockBoundsChange: { topic: getEventTopic('PendingKeyActionTimelockBoundsChange'), parse: (events) => parseEvents('PendingKeyActionTimelockBoundsChange', events) },
3657
- KeyActionTimelockBoundsSet: { topic: getEventTopic('KeyActionTimelockBoundsSet'), parse: (events) => parseEvents('KeyActionTimelockBoundsSet', events) },
3658
- PendingTxFeesChange: { topic: getEventTopic('PendingTxFeesChange'), parse: (events) => parseEvents('PendingTxFeesChange', events) },
3659
- TxFeesSet: { topic: getEventTopic('TxFeesSet'), parse: (events) => parseEvents('TxFeesSet', events) },
3660
- PendingAmbassadorRevShareChange: { topic: getEventTopic('PendingAmbassadorRevShareChange'), parse: (events) => parseEvents('PendingAmbassadorRevShareChange', events) },
3661
- AmbassadorRevShareSet: { topic: getEventTopic('AmbassadorRevShareSet'), parse: (events) => parseEvents('AmbassadorRevShareSet', events) },
3662
- PendingDefaultYieldParamsChange: { topic: getEventTopic('PendingDefaultYieldParamsChange'), parse: (events) => parseEvents('PendingDefaultYieldParamsChange', events) },
3663
- DefaultYieldParamsSet: { topic: getEventTopic('DefaultYieldParamsSet'), parse: (events) => parseEvents('DefaultYieldParamsSet', events) },
3664
- PendingLootParamsChange: { topic: getEventTopic('PendingLootParamsChange'), parse: (events) => parseEvents('PendingLootParamsChange', events) },
3665
- LootParamsSet: { topic: getEventTopic('LootParamsSet'), parse: (events) => parseEvents('LootParamsSet', events) },
3666
- PendingAssetConfigChange: { topic: getEventTopic('PendingAssetConfigChange'), parse: (events) => parseEvents('PendingAssetConfigChange', events) },
3667
- PendingIsStablecoinChange: { topic: getEventTopic('PendingIsStablecoinChange'), parse: (events) => parseEvents('PendingIsStablecoinChange', events) },
3668
- IsStablecoinSet: { topic: getEventTopic('IsStablecoinSet'), parse: (events) => parseEvents('IsStablecoinSet', events) },
3669
- AssetConfigSet: { topic: getEventTopic('AssetConfigSet'), parse: (events) => parseEvents('AssetConfigSet', events) },
3670
- PendingAssetTxFeesChange: { topic: getEventTopic('PendingAssetTxFeesChange'), parse: (events) => parseEvents('PendingAssetTxFeesChange', events) },
3671
- AssetTxFeesSet: { topic: getEventTopic('AssetTxFeesSet'), parse: (events) => parseEvents('AssetTxFeesSet', events) },
3672
- PendingAssetAmbassadorRevShareChange: { topic: getEventTopic('PendingAssetAmbassadorRevShareChange'), parse: (events) => parseEvents('PendingAssetAmbassadorRevShareChange', events) },
3673
- AssetAmbassadorRevShareSet: { topic: getEventTopic('AssetAmbassadorRevShareSet'), parse: (events) => parseEvents('AssetAmbassadorRevShareSet', events) },
3674
- PendingAssetYieldConfigChange: { topic: getEventTopic('PendingAssetYieldConfigChange'), parse: (events) => parseEvents('PendingAssetYieldConfigChange', events) },
3675
- AssetYieldConfigSet: { topic: getEventTopic('AssetYieldConfigSet'), parse: (events) => parseEvents('AssetYieldConfigSet', events) },
3676
- PendingStarterAgentParamsChange: { topic: getEventTopic('PendingStarterAgentParamsChange'), parse: (events) => parseEvents('PendingStarterAgentParamsChange', events) },
3677
- StarterAgentParamsSet: { topic: getEventTopic('StarterAgentParamsSet'), parse: (events) => parseEvents('StarterAgentParamsSet', events) },
3678
- PendingManagerConfigChange: { topic: getEventTopic('PendingManagerConfigChange'), parse: (events) => parseEvents('PendingManagerConfigChange', events) },
3679
- PendingPayeeConfigChange: { topic: getEventTopic('PendingPayeeConfigChange'), parse: (events) => parseEvents('PendingPayeeConfigChange', events) },
3680
- PendingCanPerformSecurityAction: { topic: getEventTopic('PendingCanPerformSecurityAction'), parse: (events) => parseEvents('PendingCanPerformSecurityAction', events) },
3681
- CreatorWhitelistSet: { topic: getEventTopic('CreatorWhitelistSet'), parse: (events) => parseEvents('CreatorWhitelistSet', events) },
3682
- ManagerConfigSet: { topic: getEventTopic('ManagerConfigSet'), parse: (events) => parseEvents('ManagerConfigSet', events) },
3683
- PayeeConfigSet: { topic: getEventTopic('PayeeConfigSet'), parse: (events) => parseEvents('PayeeConfigSet', events) },
3684
- CanPerformSecurityAction: { topic: getEventTopic('CanPerformSecurityAction'), parse: (events) => parseEvents('CanPerformSecurityAction', events) },
3685
- LockedSignerSet: { topic: getEventTopic('LockedSignerSet'), parse: (events) => parseEvents('LockedSignerSet', events) },
3686
- PendingRipeRewardsConfigChange: { topic: getEventTopic('PendingRipeRewardsConfigChange'), parse: (events) => parseEvents('PendingRipeRewardsConfigChange', events) },
3687
- RipeRewardsConfigSet: { topic: getEventTopic('RipeRewardsConfigSet'), parse: (events) => parseEvents('RipeRewardsConfigSet', events) },
3688
- PendingAgentWrapperSenderAdd: { topic: getEventTopic('PendingAgentWrapperSenderAdd'), parse: (events) => parseEvents('PendingAgentWrapperSenderAdd', events) },
3689
- AgentWrapperSenderAdded: { topic: getEventTopic('AgentWrapperSenderAdded'), parse: (events) => parseEvents('AgentWrapperSenderAdded', events) },
3690
- AgentWrapperSenderRemoved: { topic: getEventTopic('AgentWrapperSenderRemoved'), parse: (events) => parseEvents('AgentWrapperSenderRemoved', events) },
3691
- GovChangeTimeLockModified: { topic: getEventTopic('GovChangeTimeLockModified'), parse: (events) => parseEvents('GovChangeTimeLockModified', events) },
3692
- ExpirationSet: { topic: getEventTopic('ExpirationSet'), parse: (events) => parseEvents('ExpirationSet', events) },
3693
- ActionTimeLockSet: { topic: getEventTopic('ActionTimeLockSet'), parse: (events) => parseEvents('ActionTimeLockSet', events) },
3694
- GovChangeStarted: { topic: getEventTopic('GovChangeStarted'), parse: (events) => parseEvents('GovChangeStarted', events) },
3695
- GovChangeConfirmed: { topic: getEventTopic('GovChangeConfirmed'), parse: (events) => parseEvents('GovChangeConfirmed', events) },
3696
- GovChangeCancelled: { topic: getEventTopic('GovChangeCancelled'), parse: (events) => parseEvents('GovChangeCancelled', events) },
3697
- GovRelinquished: { topic: getEventTopic('GovRelinquished'), parse: (events) => parseEvents('GovRelinquished', events) },
3698
- UndyHqSetupFinished: { topic: getEventTopic('UndyHqSetupFinished'), parse: (events) => parseEvents('UndyHqSetupFinished', events) },
3699
- },
3700
- // Queries
3701
- getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args), {}, addressResolver),
3702
- getUndyHq: (...args) => singleQuery(publicClient, call.getUndyHq(...args), {}, addressResolver),
3703
- getUndyHqFromGov: (...args) => singleQuery(publicClient, call.getUndyHqFromGov(...args), {}, addressResolver),
3704
- canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args), {}, addressResolver),
3705
- getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args), {}, addressResolver),
3706
- hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args), {}, addressResolver),
3707
- isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args), {}, addressResolver),
3708
- minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args), {}, addressResolver),
3709
- maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args), {}, addressResolver),
3710
- governance: (...args) => singleQuery(publicClient, call.governance(...args), {}, addressResolver),
3711
- pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args), {}, addressResolver),
3712
- numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args), {}, addressResolver),
3713
- govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args), {}, addressResolver),
3714
- canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args), {}, addressResolver),
3715
- isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args), {}, addressResolver),
3716
- hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args), {}, addressResolver),
3717
- getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args), {}, addressResolver),
3718
- isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args), {}, addressResolver),
3719
- minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args), {}, addressResolver),
3720
- maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args), {}, addressResolver),
3721
- pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args), {}, addressResolver),
3722
- actionId: (...args) => singleQuery(publicClient, call.actionId(...args), {}, addressResolver),
3723
- actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args), {}, addressResolver),
3724
- expiration: (...args) => singleQuery(publicClient, call.expiration(...args), {}, addressResolver),
3725
- actionType: (...args) => singleQuery(publicClient, call.actionType(...args), {}, addressResolver),
3726
- pendingUserWalletConfig: (...args) => singleQuery(publicClient, call.pendingUserWalletConfig(...args), {}, addressResolver),
3727
- pendingAssetConfig: (...args) => singleQuery(publicClient, call.pendingAssetConfig(...args), {}, addressResolver),
3728
- pendingAssetTxFees: (...args) => singleQuery(publicClient, call.pendingAssetTxFees(...args), {}, addressResolver),
3729
- pendingAssetAmbassadorRevShare: (...args) => singleQuery(publicClient, call.pendingAssetAmbassadorRevShare(...args), {}, addressResolver),
3730
- pendingAssetYieldConfig: (...args) => singleQuery(publicClient, call.pendingAssetYieldConfig(...args), {}, addressResolver),
3731
- pendingAgentConfig: (...args) => singleQuery(publicClient, call.pendingAgentConfig(...args), {}, addressResolver),
3732
- pendingManagerConfig: (...args) => singleQuery(publicClient, call.pendingManagerConfig(...args), {}, addressResolver),
3733
- pendingPayeeConfig: (...args) => singleQuery(publicClient, call.pendingPayeeConfig(...args), {}, addressResolver),
3734
- pendingAddrToBool: (...args) => singleQuery(publicClient, call.pendingAddrToBool(...args), {}, addressResolver),
3735
- pendingAgentWrapperSender: (...args) => singleQuery(publicClient, call.pendingAgentWrapperSender(...args), {}, addressResolver),
3736
- pendingRipeRewardsConfig: (...args) => singleQuery(publicClient, call.pendingRipeRewardsConfig(...args), {}, addressResolver),
3737
- pendingMissionControl: (...args) => singleQuery(publicClient, call.pendingMissionControl(...args), {}, addressResolver),
3738
- // Mutations
3739
- startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange, { addressResolver })(...args),
3740
- confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange, { addressResolver })(...args),
3741
- cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange, { addressResolver })(...args),
3742
- relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov, { addressResolver })(...args),
3743
- setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock, { addressResolver })(...args),
3744
- finishUndyHqSetup: (...args) => mutate(walletClient, mutation.finishUndyHqSetup, { addressResolver })(...args),
3745
- setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock, { addressResolver })(...args),
3746
- setExpiration: (...args) => mutate(walletClient, mutation.setExpiration, { addressResolver })(...args),
3747
- setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup, { addressResolver })(...args),
3748
- setUserWalletTemplates: (...args) => mutate(walletClient, mutation.setUserWalletTemplates, { addressResolver })(...args),
3749
- setWalletCreationLimits: (...args) => mutate(walletClient, mutation.setWalletCreationLimits, { addressResolver })(...args),
3750
- setKeyActionTimelockBounds: (...args) => mutate(walletClient, mutation.setKeyActionTimelockBounds, { addressResolver })(...args),
3751
- setTxFees: (...args) => mutate(walletClient, mutation.setTxFees, { addressResolver })(...args),
3752
- setAmbassadorRevShare: (...args) => mutate(walletClient, mutation.setAmbassadorRevShare, { addressResolver })(...args),
3753
- setDefaultYieldParams: (...args) => mutate(walletClient, mutation.setDefaultYieldParams, { addressResolver })(...args),
3754
- setLootParams: (...args) => mutate(walletClient, mutation.setLootParams, { addressResolver })(...args),
3755
- setAssetConfig: (...args) => mutate(walletClient, mutation.setAssetConfig, { addressResolver })(...args),
3756
- setAssetTxFees: (...args) => mutate(walletClient, mutation.setAssetTxFees, { addressResolver })(...args),
3757
- setAssetAmbassadorRevShare: (...args) => mutate(walletClient, mutation.setAssetAmbassadorRevShare, { addressResolver })(...args),
3758
- setAssetYieldConfig: (...args) => mutate(walletClient, mutation.setAssetYieldConfig, { addressResolver })(...args),
3759
- setIsStablecoin: (...args) => mutate(walletClient, mutation.setIsStablecoin, { addressResolver })(...args),
3760
- setStarterAgentParams: (...args) => mutate(walletClient, mutation.setStarterAgentParams, { addressResolver })(...args),
3761
- setAgentWrapperSender: (...args) => mutate(walletClient, mutation.setAgentWrapperSender, { addressResolver })(...args),
3762
- setManagerConfig: (...args) => mutate(walletClient, mutation.setManagerConfig, { addressResolver })(...args),
3763
- setPayeeConfig: (...args) => mutate(walletClient, mutation.setPayeeConfig, { addressResolver })(...args),
3764
- setCanPerformSecurityAction: (...args) => mutate(walletClient, mutation.setCanPerformSecurityAction, { addressResolver })(...args),
3765
- setCreatorWhitelist: (...args) => mutate(walletClient, mutation.setCreatorWhitelist, { addressResolver })(...args),
3766
- setLockedSigner: (...args) => mutate(walletClient, mutation.setLockedSigner, { addressResolver })(...args),
3767
- setRipeRewardsConfig: (...args) => mutate(walletClient, mutation.setRipeRewardsConfig, { addressResolver })(...args),
3768
- executePendingAction: (...args) => mutate(walletClient, mutation.executePendingAction, { addressResolver })(...args),
3769
- cancelPendingAction: (...args) => mutate(walletClient, mutation.cancelPendingAction, { addressResolver })(...args),
3770
- };
3771
- }