@underscore-finance/sdk 1.2.20-next.1 → 1.2.20-next.2

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