@underscore-finance/sdk 0.3.5 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/dist/contracts/AaveV3.d.ts +2120 -0
  2. package/dist/contracts/AaveV3.d.ts.map +1 -0
  3. package/dist/contracts/AaveV3.js +2714 -0
  4. package/dist/contracts/AeroClassic.d.ts +2017 -0
  5. package/dist/contracts/AeroClassic.d.ts.map +1 -0
  6. package/dist/contracts/AeroClassic.js +2567 -0
  7. package/dist/contracts/AeroSlipstream.d.ts +2113 -0
  8. package/dist/contracts/AeroSlipstream.d.ts.map +1 -0
  9. package/dist/contracts/AeroSlipstream.js +2692 -0
  10. package/dist/contracts/Agent.d.ts +2189 -1138
  11. package/dist/contracts/Agent.d.ts.map +1 -1
  12. package/dist/contracts/Agent.js +2807 -1343
  13. package/dist/contracts/AgentWrapper.d.ts +3760 -0
  14. package/dist/contracts/AgentWrapper.d.ts.map +1 -0
  15. package/dist/contracts/AgentWrapper.js +4922 -0
  16. package/dist/contracts/Appraiser.d.ts +997 -0
  17. package/dist/contracts/Appraiser.d.ts.map +1 -0
  18. package/dist/contracts/Appraiser.js +1285 -0
  19. package/dist/contracts/Billing.d.ts +420 -0
  20. package/dist/contracts/Billing.d.ts.map +1 -0
  21. package/dist/contracts/Billing.js +506 -0
  22. package/dist/contracts/ChequeBook.d.ts +1184 -0
  23. package/dist/contracts/ChequeBook.d.ts.map +1 -0
  24. package/dist/contracts/ChequeBook.js +1352 -0
  25. package/dist/contracts/CompoundV3.d.ts +2158 -0
  26. package/dist/contracts/CompoundV3.d.ts.map +1 -0
  27. package/dist/contracts/CompoundV3.js +2764 -0
  28. package/dist/contracts/Curve.d.ts +1077 -0
  29. package/dist/contracts/Curve.d.ts.map +1 -0
  30. package/dist/contracts/Curve.js +1357 -0
  31. package/dist/contracts/DefaultsBase.d.ts +290 -0
  32. package/dist/contracts/DefaultsBase.d.ts.map +1 -0
  33. package/dist/contracts/DefaultsBase.js +316 -0
  34. package/dist/contracts/Euler.d.ts +2172 -0
  35. package/dist/contracts/Euler.d.ts.map +1 -0
  36. package/dist/contracts/Euler.js +2782 -0
  37. package/dist/contracts/Fluid.d.ts +2106 -0
  38. package/dist/contracts/Fluid.d.ts.map +1 -0
  39. package/dist/contracts/Fluid.js +2696 -0
  40. package/dist/contracts/Hatchery.d.ts +541 -0
  41. package/dist/contracts/Hatchery.d.ts.map +1 -0
  42. package/dist/contracts/Hatchery.js +671 -0
  43. package/dist/contracts/HighCommand.d.ts +1868 -0
  44. package/dist/contracts/HighCommand.d.ts.map +1 -0
  45. package/dist/contracts/HighCommand.js +2149 -0
  46. package/dist/contracts/Kernel.d.ts +354 -0
  47. package/dist/contracts/Kernel.d.ts.map +1 -0
  48. package/dist/contracts/Kernel.js +412 -0
  49. package/dist/contracts/Ledger.d.ts +694 -0
  50. package/dist/contracts/Ledger.d.ts.map +1 -0
  51. package/dist/contracts/Ledger.js +834 -0
  52. package/dist/contracts/LegoBook.d.ts +1424 -0
  53. package/dist/contracts/LegoBook.d.ts.map +1 -0
  54. package/dist/contracts/LegoBook.js +1783 -0
  55. package/dist/contracts/LegoTools.d.ts +1898 -0
  56. package/dist/contracts/LegoTools.d.ts.map +1 -0
  57. package/dist/contracts/LegoTools.js +2378 -0
  58. package/dist/contracts/LegoUniswapV0_2.d.ts +1204 -0
  59. package/dist/contracts/LegoUniswapV0_2.d.ts.map +1 -0
  60. package/dist/contracts/LegoUniswapV0_2.js +1546 -0
  61. package/dist/contracts/LootDistributor.d.ts +996 -0
  62. package/dist/contracts/LootDistributor.d.ts.map +1 -0
  63. package/dist/contracts/LootDistributor.js +1255 -0
  64. package/dist/contracts/Migrator.d.ts +268 -0
  65. package/dist/contracts/Migrator.d.ts.map +1 -0
  66. package/dist/contracts/Migrator.js +324 -0
  67. package/dist/contracts/MissionControl.d.ts +1331 -0
  68. package/dist/contracts/MissionControl.d.ts.map +1 -0
  69. package/dist/contracts/MissionControl.js +1485 -0
  70. package/dist/contracts/Moonwell.d.ts +2137 -0
  71. package/dist/contracts/Moonwell.d.ts.map +1 -0
  72. package/dist/contracts/Moonwell.js +2737 -0
  73. package/dist/contracts/Morpho.d.ts +2172 -0
  74. package/dist/contracts/Morpho.d.ts.map +1 -0
  75. package/dist/contracts/Morpho.js +2782 -0
  76. package/dist/contracts/Paymaster.d.ts +1679 -0
  77. package/dist/contracts/Paymaster.d.ts.map +1 -0
  78. package/dist/contracts/Paymaster.js +2077 -0
  79. package/dist/contracts/RipeLego.d.ts +2263 -0
  80. package/dist/contracts/RipeLego.d.ts.map +1 -0
  81. package/dist/contracts/RipeLego.js +2891 -0
  82. package/dist/contracts/Sentinel.d.ts +1804 -0
  83. package/dist/contracts/Sentinel.d.ts.map +1 -0
  84. package/dist/contracts/Sentinel.js +2152 -0
  85. package/dist/contracts/Switchboard.d.ts +1395 -0
  86. package/dist/contracts/Switchboard.d.ts.map +1 -0
  87. package/dist/contracts/Switchboard.js +1746 -0
  88. package/dist/contracts/SwitchboardAlpha.d.ts +2228 -0
  89. package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -0
  90. package/dist/contracts/SwitchboardAlpha.js +2743 -0
  91. package/dist/contracts/SwitchboardBravo.d.ts +1498 -0
  92. package/dist/contracts/SwitchboardBravo.d.ts.map +1 -0
  93. package/dist/contracts/SwitchboardBravo.js +1855 -0
  94. package/dist/contracts/UndyHq.d.ts +1580 -0
  95. package/dist/contracts/UndyHq.d.ts.map +1 -0
  96. package/dist/contracts/UndyHq.js +1986 -0
  97. package/dist/contracts/UniswapV2.d.ts +2017 -0
  98. package/dist/contracts/UniswapV2.d.ts.map +1 -0
  99. package/dist/contracts/UniswapV2.js +2567 -0
  100. package/dist/contracts/UniswapV3.d.ts +2113 -0
  101. package/dist/contracts/UniswapV3.d.ts.map +1 -0
  102. package/dist/contracts/UniswapV3.js +2692 -0
  103. package/dist/contracts/UserWallet.d.ts +1438 -784
  104. package/dist/contracts/UserWallet.d.ts.map +1 -1
  105. package/dist/contracts/UserWallet.js +1854 -935
  106. package/dist/contracts/UserWalletConfig.d.ts +3034 -1231
  107. package/dist/contracts/UserWalletConfig.d.ts.map +1 -1
  108. package/dist/contracts/UserWalletConfig.js +3395 -1407
  109. package/dist/contracts/WalletBackpack.d.ts +1183 -0
  110. package/dist/contracts/WalletBackpack.d.ts.map +1 -0
  111. package/dist/contracts/WalletBackpack.js +1484 -0
  112. package/dist/contracts/index.d.ts +72 -36
  113. package/dist/contracts/index.d.ts.map +1 -1
  114. package/dist/contracts/index.js +72 -36
  115. package/dist/contracts/sdk.d.ts +146 -72
  116. package/dist/contracts/sdk.d.ts.map +1 -1
  117. package/dist/contracts/sdk.js +146 -72
  118. package/dist/contracts/v0_1_AddyRegistry.d.ts +473 -0
  119. package/dist/contracts/v0_1_AddyRegistry.d.ts.map +1 -0
  120. package/dist/contracts/v0_1_AddyRegistry.js +594 -0
  121. package/dist/contracts/v0_1_Agent.d.ts +2631 -0
  122. package/dist/contracts/v0_1_Agent.d.ts.map +1 -0
  123. package/dist/contracts/v0_1_Agent.js +3372 -0
  124. package/dist/contracts/v0_1_AgentFactory.d.ts +1054 -0
  125. package/dist/contracts/v0_1_AgentFactory.d.ts.map +1 -0
  126. package/dist/contracts/v0_1_AgentFactory.js +1336 -0
  127. package/dist/contracts/v0_1_UserWallet.d.ts +1980 -0
  128. package/dist/contracts/v0_1_UserWallet.d.ts.map +1 -0
  129. package/dist/contracts/v0_1_UserWallet.js +2581 -0
  130. package/dist/contracts/v0_1_UserWalletConfig.d.ts +1400 -0
  131. package/dist/contracts/v0_1_UserWalletConfig.d.ts.map +1 -0
  132. package/dist/contracts/v0_1_UserWalletConfig.js +1676 -0
  133. package/dist/contracts/v0_2_AddyRegistry.d.ts +1050 -0
  134. package/dist/contracts/v0_2_AddyRegistry.d.ts.map +1 -0
  135. package/dist/contracts/v0_2_AddyRegistry.js +1313 -0
  136. package/dist/contracts/v0_2_Agent.d.ts +2709 -0
  137. package/dist/contracts/v0_2_Agent.d.ts.map +1 -0
  138. package/dist/contracts/v0_2_Agent.js +3458 -0
  139. package/dist/contracts/v0_2_AgentFactory.d.ts +1275 -0
  140. package/dist/contracts/v0_2_AgentFactory.d.ts.map +1 -0
  141. package/dist/contracts/v0_2_AgentFactory.js +1609 -0
  142. package/dist/contracts/v0_2_UserWallet.d.ts +1958 -0
  143. package/dist/contracts/v0_2_UserWallet.d.ts.map +1 -0
  144. package/dist/contracts/v0_2_UserWallet.js +2553 -0
  145. package/dist/contracts/v0_2_UserWalletConfig.d.ts +1468 -0
  146. package/dist/contracts/v0_2_UserWalletConfig.d.ts.map +1 -0
  147. package/dist/contracts/v0_2_UserWalletConfig.js +1764 -0
  148. package/dist/contracts/v0_3_AddyRegistry.d.ts +1109 -0
  149. package/dist/contracts/v0_3_AddyRegistry.d.ts.map +1 -0
  150. package/dist/contracts/v0_3_AddyRegistry.js +1392 -0
  151. package/dist/contracts/v0_3_Agent.d.ts +2709 -0
  152. package/dist/contracts/v0_3_Agent.d.ts.map +1 -0
  153. package/dist/contracts/v0_3_Agent.js +3458 -0
  154. package/dist/contracts/v0_3_AgentFactory.d.ts +1665 -0
  155. package/dist/contracts/v0_3_AgentFactory.d.ts.map +1 -0
  156. package/dist/contracts/v0_3_AgentFactory.js +2078 -0
  157. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts +706 -0
  158. package/dist/contracts/v0_3_ChainlinkFeeds.d.ts.map +1 -0
  159. package/dist/contracts/v0_3_ChainlinkFeeds.js +900 -0
  160. package/dist/contracts/v0_3_LegoAaveV3.d.ts +1033 -0
  161. package/dist/contracts/v0_3_LegoAaveV3.d.ts.map +1 -0
  162. package/dist/contracts/v0_3_LegoAaveV3.js +1330 -0
  163. package/dist/contracts/v0_3_LegoAeroClassic.d.ts +1204 -0
  164. package/dist/contracts/v0_3_LegoAeroClassic.d.ts.map +1 -0
  165. package/dist/contracts/v0_3_LegoAeroClassic.js +1546 -0
  166. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts +1300 -0
  167. package/dist/contracts/v0_3_LegoAeroSlipstream.d.ts.map +1 -0
  168. package/dist/contracts/v0_3_LegoAeroSlipstream.js +1671 -0
  169. package/dist/contracts/v0_3_LegoCommon.d.ts +164 -0
  170. package/dist/contracts/v0_3_LegoCommon.d.ts.map +1 -0
  171. package/dist/contracts/v0_3_LegoCommon.js +202 -0
  172. package/dist/contracts/v0_3_LegoCompoundV3.d.ts +1060 -0
  173. package/dist/contracts/v0_3_LegoCompoundV3.d.ts.map +1 -0
  174. package/dist/contracts/v0_3_LegoCompoundV3.js +1365 -0
  175. package/dist/contracts/v0_3_LegoCredit.d.ts +140 -0
  176. package/dist/contracts/v0_3_LegoCredit.d.ts.map +1 -0
  177. package/dist/contracts/v0_3_LegoCredit.js +179 -0
  178. package/dist/contracts/v0_3_LegoCurve.d.ts +1189 -0
  179. package/dist/contracts/v0_3_LegoCurve.d.ts.map +1 -0
  180. package/dist/contracts/v0_3_LegoCurve.js +1519 -0
  181. package/dist/contracts/v0_3_LegoDex.d.ts +587 -0
  182. package/dist/contracts/v0_3_LegoDex.d.ts.map +1 -0
  183. package/dist/contracts/v0_3_LegoDex.js +774 -0
  184. package/dist/contracts/v0_3_LegoEuler.d.ts +1074 -0
  185. package/dist/contracts/v0_3_LegoEuler.d.ts.map +1 -0
  186. package/dist/contracts/v0_3_LegoEuler.js +1383 -0
  187. package/dist/contracts/v0_3_LegoFluid.d.ts +1025 -0
  188. package/dist/contracts/v0_3_LegoFluid.d.ts.map +1 -0
  189. package/dist/contracts/v0_3_LegoFluid.js +1320 -0
  190. package/dist/contracts/v0_3_LegoHelper.d.ts +1563 -0
  191. package/dist/contracts/v0_3_LegoHelper.d.ts.map +1 -0
  192. package/dist/contracts/v0_3_LegoHelper.js +1947 -0
  193. package/dist/contracts/v0_3_LegoMoonwell.d.ts +1042 -0
  194. package/dist/contracts/v0_3_LegoMoonwell.d.ts.map +1 -0
  195. package/dist/contracts/v0_3_LegoMoonwell.js +1342 -0
  196. package/dist/contracts/v0_3_LegoMorpho.d.ts +1074 -0
  197. package/dist/contracts/v0_3_LegoMorpho.d.ts.map +1 -0
  198. package/dist/contracts/v0_3_LegoMorpho.js +1383 -0
  199. package/dist/contracts/v0_3_LegoRegistry.d.ts +1079 -0
  200. package/dist/contracts/v0_3_LegoRegistry.d.ts.map +1 -0
  201. package/dist/contracts/v0_3_LegoRegistry.js +1368 -0
  202. package/dist/contracts/v0_3_LegoSky.d.ts +923 -0
  203. package/dist/contracts/v0_3_LegoSky.d.ts.map +1 -0
  204. package/dist/contracts/v0_3_LegoSky.js +1180 -0
  205. package/dist/contracts/v0_3_LegoUniswapV3.d.ts +1338 -0
  206. package/dist/contracts/v0_3_LegoUniswapV3.d.ts.map +1 -0
  207. package/dist/contracts/v0_3_LegoUniswapV3.js +1718 -0
  208. package/dist/contracts/v0_3_LegoYield.d.ts +390 -0
  209. package/dist/contracts/v0_3_LegoYield.d.ts.map +1 -0
  210. package/dist/contracts/v0_3_LegoYield.js +511 -0
  211. package/dist/contracts/v0_3_OracleParser.d.ts +207 -0
  212. package/dist/contracts/v0_3_OracleParser.d.ts.map +1 -0
  213. package/dist/contracts/v0_3_OracleParser.js +264 -0
  214. package/dist/contracts/v0_3_OracleRegistry.d.ts +1221 -0
  215. package/dist/contracts/v0_3_OracleRegistry.d.ts.map +1 -0
  216. package/dist/contracts/v0_3_OracleRegistry.js +1562 -0
  217. package/dist/contracts/v0_3_PriceSheets.d.ts +1127 -0
  218. package/dist/contracts/v0_3_PriceSheets.d.ts.map +1 -0
  219. package/dist/contracts/v0_3_PriceSheets.js +1383 -0
  220. package/dist/contracts/v0_3_PythFeeds.d.ts +640 -0
  221. package/dist/contracts/v0_3_PythFeeds.d.ts.map +1 -0
  222. package/dist/contracts/v0_3_PythFeeds.js +813 -0
  223. package/dist/contracts/v0_3_StorkFeeds.d.ts +640 -0
  224. package/dist/contracts/v0_3_StorkFeeds.d.ts.map +1 -0
  225. package/dist/contracts/v0_3_StorkFeeds.js +813 -0
  226. package/dist/contracts/v0_3_UserWallet.d.ts +1975 -0
  227. package/dist/contracts/v0_3_UserWallet.d.ts.map +1 -0
  228. package/dist/contracts/v0_3_UserWallet.js +2577 -0
  229. package/dist/contracts/v0_3_UserWalletConfig.d.ts +1852 -0
  230. package/dist/contracts/v0_3_UserWalletConfig.d.ts.map +1 -0
  231. package/dist/contracts/v0_3_UserWalletConfig.js +2263 -0
  232. package/dist/getContracts.d.ts +77 -0
  233. package/dist/getContracts.d.ts.map +1 -0
  234. package/dist/getContracts.js +67 -0
  235. package/dist/getLegacyContracts.d.ts +69 -0
  236. package/dist/getLegacyContracts.d.ts.map +1 -0
  237. package/dist/getLegacyContracts.js +55 -0
  238. package/dist/getSwapInstructions.d.ts +60 -0
  239. package/dist/getSwapInstructions.d.ts.map +1 -0
  240. package/dist/getSwapInstructions.js +41 -0
  241. package/dist/index.d.ts +3 -475
  242. package/dist/index.d.ts.map +1 -1
  243. package/dist/index.js +8 -182
  244. package/package.json +2 -2
@@ -0,0 +1,1986 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /* @ts-nocheck */
5
+ import { singleQuery, mutate } from '@dappql/async';
6
+ export const abi = [
7
+ {
8
+ name: 'HqConfigChangeInitiated',
9
+ inputs: [
10
+ {
11
+ name: 'regId',
12
+ type: 'uint256',
13
+ indexed: false,
14
+ },
15
+ {
16
+ name: 'description',
17
+ type: 'string',
18
+ indexed: false,
19
+ },
20
+ {
21
+ name: 'canMintUndy',
22
+ type: 'bool',
23
+ indexed: false,
24
+ },
25
+ {
26
+ name: 'canSetTokenBlacklist',
27
+ type: 'bool',
28
+ indexed: false,
29
+ },
30
+ {
31
+ name: 'confirmBlock',
32
+ type: 'uint256',
33
+ indexed: false,
34
+ },
35
+ ],
36
+ anonymous: false,
37
+ type: 'event',
38
+ },
39
+ {
40
+ name: 'HqConfigChangeConfirmed',
41
+ inputs: [
42
+ {
43
+ name: 'regId',
44
+ type: 'uint256',
45
+ indexed: false,
46
+ },
47
+ {
48
+ name: 'description',
49
+ type: 'string',
50
+ indexed: false,
51
+ },
52
+ {
53
+ name: 'canMintUndy',
54
+ type: 'bool',
55
+ indexed: false,
56
+ },
57
+ {
58
+ name: 'canSetTokenBlacklist',
59
+ type: 'bool',
60
+ indexed: false,
61
+ },
62
+ {
63
+ name: 'initiatedBlock',
64
+ type: 'uint256',
65
+ indexed: false,
66
+ },
67
+ {
68
+ name: 'confirmBlock',
69
+ type: 'uint256',
70
+ indexed: false,
71
+ },
72
+ ],
73
+ anonymous: false,
74
+ type: 'event',
75
+ },
76
+ {
77
+ name: 'HqConfigChangeCancelled',
78
+ inputs: [
79
+ {
80
+ name: 'regId',
81
+ type: 'uint256',
82
+ indexed: false,
83
+ },
84
+ {
85
+ name: 'description',
86
+ type: 'string',
87
+ indexed: false,
88
+ },
89
+ {
90
+ name: 'canMintUndy',
91
+ type: 'bool',
92
+ indexed: false,
93
+ },
94
+ {
95
+ name: 'canSetTokenBlacklist',
96
+ type: 'bool',
97
+ indexed: false,
98
+ },
99
+ {
100
+ name: 'initiatedBlock',
101
+ type: 'uint256',
102
+ indexed: false,
103
+ },
104
+ {
105
+ name: 'confirmBlock',
106
+ type: 'uint256',
107
+ indexed: false,
108
+ },
109
+ ],
110
+ anonymous: false,
111
+ type: 'event',
112
+ },
113
+ {
114
+ name: 'UndyHqFundsRecovered',
115
+ inputs: [
116
+ {
117
+ name: 'asset',
118
+ type: 'address',
119
+ indexed: true,
120
+ },
121
+ {
122
+ name: 'recipient',
123
+ type: 'address',
124
+ indexed: true,
125
+ },
126
+ {
127
+ name: 'balance',
128
+ type: 'uint256',
129
+ indexed: false,
130
+ },
131
+ ],
132
+ anonymous: false,
133
+ type: 'event',
134
+ },
135
+ {
136
+ name: 'UndyTokenSet',
137
+ inputs: [
138
+ {
139
+ name: 'token',
140
+ type: 'address',
141
+ indexed: true,
142
+ },
143
+ ],
144
+ anonymous: false,
145
+ type: 'event',
146
+ },
147
+ {
148
+ name: 'MintingEnabled',
149
+ inputs: [
150
+ {
151
+ name: 'isEnabled',
152
+ type: 'bool',
153
+ indexed: false,
154
+ },
155
+ ],
156
+ anonymous: false,
157
+ type: 'event',
158
+ },
159
+ {
160
+ name: 'GovChangeTimeLockModified',
161
+ inputs: [
162
+ {
163
+ name: 'prevTimeLock',
164
+ type: 'uint256',
165
+ indexed: false,
166
+ },
167
+ {
168
+ name: 'newTimeLock',
169
+ type: 'uint256',
170
+ indexed: false,
171
+ },
172
+ ],
173
+ anonymous: false,
174
+ type: 'event',
175
+ },
176
+ {
177
+ name: 'RegistryTimeLockModified',
178
+ inputs: [
179
+ {
180
+ name: 'newTimeLock',
181
+ type: 'uint256',
182
+ indexed: false,
183
+ },
184
+ {
185
+ name: 'prevTimeLock',
186
+ type: 'uint256',
187
+ indexed: false,
188
+ },
189
+ {
190
+ name: 'registry',
191
+ type: 'string',
192
+ indexed: false,
193
+ },
194
+ ],
195
+ anonymous: false,
196
+ type: 'event',
197
+ },
198
+ {
199
+ name: 'GovChangeStarted',
200
+ inputs: [
201
+ {
202
+ name: 'prevGov',
203
+ type: 'address',
204
+ indexed: true,
205
+ },
206
+ {
207
+ name: 'newGov',
208
+ type: 'address',
209
+ indexed: true,
210
+ },
211
+ {
212
+ name: 'confirmBlock',
213
+ type: 'uint256',
214
+ indexed: false,
215
+ },
216
+ ],
217
+ anonymous: false,
218
+ type: 'event',
219
+ },
220
+ {
221
+ name: 'GovChangeConfirmed',
222
+ inputs: [
223
+ {
224
+ name: 'prevGov',
225
+ type: 'address',
226
+ indexed: true,
227
+ },
228
+ {
229
+ name: 'newGov',
230
+ type: 'address',
231
+ indexed: true,
232
+ },
233
+ {
234
+ name: 'initiatedBlock',
235
+ type: 'uint256',
236
+ indexed: false,
237
+ },
238
+ {
239
+ name: 'confirmBlock',
240
+ type: 'uint256',
241
+ indexed: false,
242
+ },
243
+ ],
244
+ anonymous: false,
245
+ type: 'event',
246
+ },
247
+ {
248
+ name: 'GovChangeCancelled',
249
+ inputs: [
250
+ {
251
+ name: 'cancelledGov',
252
+ type: 'address',
253
+ indexed: true,
254
+ },
255
+ {
256
+ name: 'initiatedBlock',
257
+ type: 'uint256',
258
+ indexed: false,
259
+ },
260
+ {
261
+ name: 'confirmBlock',
262
+ type: 'uint256',
263
+ indexed: false,
264
+ },
265
+ ],
266
+ anonymous: false,
267
+ type: 'event',
268
+ },
269
+ {
270
+ name: 'GovRelinquished',
271
+ inputs: [
272
+ {
273
+ name: 'prevGov',
274
+ type: 'address',
275
+ indexed: true,
276
+ },
277
+ ],
278
+ anonymous: false,
279
+ type: 'event',
280
+ },
281
+ {
282
+ name: 'UndyHqSetupFinished',
283
+ inputs: [
284
+ {
285
+ name: 'prevGov',
286
+ type: 'address',
287
+ indexed: true,
288
+ },
289
+ {
290
+ name: 'newGov',
291
+ type: 'address',
292
+ indexed: true,
293
+ },
294
+ {
295
+ name: 'timeLock',
296
+ type: 'uint256',
297
+ indexed: false,
298
+ },
299
+ ],
300
+ anonymous: false,
301
+ type: 'event',
302
+ },
303
+ {
304
+ name: 'NewAddressPending',
305
+ inputs: [
306
+ {
307
+ name: 'addr',
308
+ type: 'address',
309
+ indexed: true,
310
+ },
311
+ {
312
+ name: 'description',
313
+ type: 'string',
314
+ indexed: false,
315
+ },
316
+ {
317
+ name: 'confirmBlock',
318
+ type: 'uint256',
319
+ indexed: false,
320
+ },
321
+ {
322
+ name: 'registry',
323
+ type: 'string',
324
+ indexed: false,
325
+ },
326
+ ],
327
+ anonymous: false,
328
+ type: 'event',
329
+ },
330
+ {
331
+ name: 'NewAddressConfirmed',
332
+ inputs: [
333
+ {
334
+ name: 'addr',
335
+ type: 'address',
336
+ indexed: true,
337
+ },
338
+ {
339
+ name: 'regId',
340
+ type: 'uint256',
341
+ indexed: false,
342
+ },
343
+ {
344
+ name: 'description',
345
+ type: 'string',
346
+ indexed: false,
347
+ },
348
+ {
349
+ name: 'registry',
350
+ type: 'string',
351
+ indexed: false,
352
+ },
353
+ ],
354
+ anonymous: false,
355
+ type: 'event',
356
+ },
357
+ {
358
+ name: 'NewAddressCancelled',
359
+ inputs: [
360
+ {
361
+ name: 'description',
362
+ type: 'string',
363
+ indexed: false,
364
+ },
365
+ {
366
+ name: 'addr',
367
+ type: 'address',
368
+ indexed: true,
369
+ },
370
+ {
371
+ name: 'initiatedBlock',
372
+ type: 'uint256',
373
+ indexed: false,
374
+ },
375
+ {
376
+ name: 'confirmBlock',
377
+ type: 'uint256',
378
+ indexed: false,
379
+ },
380
+ {
381
+ name: 'registry',
382
+ type: 'string',
383
+ indexed: false,
384
+ },
385
+ ],
386
+ anonymous: false,
387
+ type: 'event',
388
+ },
389
+ {
390
+ name: 'AddressUpdatePending',
391
+ inputs: [
392
+ {
393
+ name: 'regId',
394
+ type: 'uint256',
395
+ indexed: false,
396
+ },
397
+ {
398
+ name: 'description',
399
+ type: 'string',
400
+ indexed: false,
401
+ },
402
+ {
403
+ name: 'newAddr',
404
+ type: 'address',
405
+ indexed: true,
406
+ },
407
+ {
408
+ name: 'prevAddr',
409
+ type: 'address',
410
+ indexed: true,
411
+ },
412
+ {
413
+ name: 'version',
414
+ type: 'uint256',
415
+ indexed: false,
416
+ },
417
+ {
418
+ name: 'confirmBlock',
419
+ type: 'uint256',
420
+ indexed: false,
421
+ },
422
+ {
423
+ name: 'registry',
424
+ type: 'string',
425
+ indexed: false,
426
+ },
427
+ ],
428
+ anonymous: false,
429
+ type: 'event',
430
+ },
431
+ {
432
+ name: 'AddressUpdateConfirmed',
433
+ inputs: [
434
+ {
435
+ name: 'regId',
436
+ type: 'uint256',
437
+ indexed: false,
438
+ },
439
+ {
440
+ name: 'description',
441
+ type: 'string',
442
+ indexed: false,
443
+ },
444
+ {
445
+ name: 'newAddr',
446
+ type: 'address',
447
+ indexed: true,
448
+ },
449
+ {
450
+ name: 'prevAddr',
451
+ type: 'address',
452
+ indexed: true,
453
+ },
454
+ {
455
+ name: 'version',
456
+ type: 'uint256',
457
+ indexed: false,
458
+ },
459
+ {
460
+ name: 'registry',
461
+ type: 'string',
462
+ indexed: false,
463
+ },
464
+ ],
465
+ anonymous: false,
466
+ type: 'event',
467
+ },
468
+ {
469
+ name: 'AddressUpdateCancelled',
470
+ inputs: [
471
+ {
472
+ name: 'regId',
473
+ type: 'uint256',
474
+ indexed: false,
475
+ },
476
+ {
477
+ name: 'description',
478
+ type: 'string',
479
+ indexed: false,
480
+ },
481
+ {
482
+ name: 'newAddr',
483
+ type: 'address',
484
+ indexed: true,
485
+ },
486
+ {
487
+ name: 'prevAddr',
488
+ type: 'address',
489
+ indexed: true,
490
+ },
491
+ {
492
+ name: 'initiatedBlock',
493
+ type: 'uint256',
494
+ indexed: false,
495
+ },
496
+ {
497
+ name: 'confirmBlock',
498
+ type: 'uint256',
499
+ indexed: false,
500
+ },
501
+ {
502
+ name: 'registry',
503
+ type: 'string',
504
+ indexed: false,
505
+ },
506
+ ],
507
+ anonymous: false,
508
+ type: 'event',
509
+ },
510
+ {
511
+ name: 'AddressDisablePending',
512
+ inputs: [
513
+ {
514
+ name: 'regId',
515
+ type: 'uint256',
516
+ indexed: false,
517
+ },
518
+ {
519
+ name: 'description',
520
+ type: 'string',
521
+ indexed: false,
522
+ },
523
+ {
524
+ name: 'addr',
525
+ type: 'address',
526
+ indexed: true,
527
+ },
528
+ {
529
+ name: 'version',
530
+ type: 'uint256',
531
+ indexed: false,
532
+ },
533
+ {
534
+ name: 'confirmBlock',
535
+ type: 'uint256',
536
+ indexed: false,
537
+ },
538
+ {
539
+ name: 'registry',
540
+ type: 'string',
541
+ indexed: false,
542
+ },
543
+ ],
544
+ anonymous: false,
545
+ type: 'event',
546
+ },
547
+ {
548
+ name: 'AddressDisableConfirmed',
549
+ inputs: [
550
+ {
551
+ name: 'regId',
552
+ type: 'uint256',
553
+ indexed: false,
554
+ },
555
+ {
556
+ name: 'description',
557
+ type: 'string',
558
+ indexed: false,
559
+ },
560
+ {
561
+ name: 'addr',
562
+ type: 'address',
563
+ indexed: true,
564
+ },
565
+ {
566
+ name: 'version',
567
+ type: 'uint256',
568
+ indexed: false,
569
+ },
570
+ {
571
+ name: 'registry',
572
+ type: 'string',
573
+ indexed: false,
574
+ },
575
+ ],
576
+ anonymous: false,
577
+ type: 'event',
578
+ },
579
+ {
580
+ name: 'AddressDisableCancelled',
581
+ inputs: [
582
+ {
583
+ name: 'regId',
584
+ type: 'uint256',
585
+ indexed: false,
586
+ },
587
+ {
588
+ name: 'description',
589
+ type: 'string',
590
+ indexed: false,
591
+ },
592
+ {
593
+ name: 'addr',
594
+ type: 'address',
595
+ indexed: true,
596
+ },
597
+ {
598
+ name: 'initiatedBlock',
599
+ type: 'uint256',
600
+ indexed: false,
601
+ },
602
+ {
603
+ name: 'confirmBlock',
604
+ type: 'uint256',
605
+ indexed: false,
606
+ },
607
+ {
608
+ name: 'registry',
609
+ type: 'string',
610
+ indexed: false,
611
+ },
612
+ ],
613
+ anonymous: false,
614
+ type: 'event',
615
+ },
616
+ {
617
+ stateMutability: 'view',
618
+ type: 'function',
619
+ name: 'getUndyHqFromGov',
620
+ inputs: [],
621
+ outputs: [
622
+ {
623
+ name: '',
624
+ type: 'address',
625
+ },
626
+ ],
627
+ },
628
+ {
629
+ stateMutability: 'view',
630
+ type: 'function',
631
+ name: 'canGovern',
632
+ inputs: [
633
+ {
634
+ name: '_addr',
635
+ type: 'address',
636
+ },
637
+ ],
638
+ outputs: [
639
+ {
640
+ name: '',
641
+ type: 'bool',
642
+ },
643
+ ],
644
+ },
645
+ {
646
+ stateMutability: 'view',
647
+ type: 'function',
648
+ name: 'getGovernors',
649
+ inputs: [],
650
+ outputs: [
651
+ {
652
+ name: '',
653
+ type: 'address[]',
654
+ },
655
+ ],
656
+ },
657
+ {
658
+ stateMutability: 'view',
659
+ type: 'function',
660
+ name: 'hasPendingGovChange',
661
+ inputs: [],
662
+ outputs: [
663
+ {
664
+ name: '',
665
+ type: 'bool',
666
+ },
667
+ ],
668
+ },
669
+ {
670
+ stateMutability: 'nonpayable',
671
+ type: 'function',
672
+ name: 'startGovernanceChange',
673
+ inputs: [
674
+ {
675
+ name: '_newGov',
676
+ type: 'address',
677
+ },
678
+ ],
679
+ outputs: [],
680
+ },
681
+ {
682
+ stateMutability: 'nonpayable',
683
+ type: 'function',
684
+ name: 'confirmGovernanceChange',
685
+ inputs: [],
686
+ outputs: [],
687
+ },
688
+ {
689
+ stateMutability: 'nonpayable',
690
+ type: 'function',
691
+ name: 'cancelGovernanceChange',
692
+ inputs: [],
693
+ outputs: [],
694
+ },
695
+ {
696
+ stateMutability: 'nonpayable',
697
+ type: 'function',
698
+ name: 'relinquishGov',
699
+ inputs: [],
700
+ outputs: [],
701
+ },
702
+ {
703
+ stateMutability: 'nonpayable',
704
+ type: 'function',
705
+ name: 'setGovTimeLock',
706
+ inputs: [
707
+ {
708
+ name: '_numBlocks',
709
+ type: 'uint256',
710
+ },
711
+ ],
712
+ outputs: [
713
+ {
714
+ name: '',
715
+ type: 'bool',
716
+ },
717
+ ],
718
+ },
719
+ {
720
+ stateMutability: 'view',
721
+ type: 'function',
722
+ name: 'isValidGovTimeLock',
723
+ inputs: [
724
+ {
725
+ name: '_newTimeLock',
726
+ type: 'uint256',
727
+ },
728
+ ],
729
+ outputs: [
730
+ {
731
+ name: '',
732
+ type: 'bool',
733
+ },
734
+ ],
735
+ },
736
+ {
737
+ stateMutability: 'view',
738
+ type: 'function',
739
+ name: 'minGovChangeTimeLock',
740
+ inputs: [],
741
+ outputs: [
742
+ {
743
+ name: '',
744
+ type: 'uint256',
745
+ },
746
+ ],
747
+ },
748
+ {
749
+ stateMutability: 'view',
750
+ type: 'function',
751
+ name: 'maxGovChangeTimeLock',
752
+ inputs: [],
753
+ outputs: [
754
+ {
755
+ name: '',
756
+ type: 'uint256',
757
+ },
758
+ ],
759
+ },
760
+ {
761
+ stateMutability: 'nonpayable',
762
+ type: 'function',
763
+ name: 'finishUndyHqSetup',
764
+ inputs: [
765
+ {
766
+ name: '_newGov',
767
+ type: 'address',
768
+ },
769
+ ],
770
+ outputs: [
771
+ {
772
+ name: '',
773
+ type: 'bool',
774
+ },
775
+ ],
776
+ },
777
+ {
778
+ stateMutability: 'nonpayable',
779
+ type: 'function',
780
+ name: 'finishUndyHqSetup',
781
+ inputs: [
782
+ {
783
+ name: '_newGov',
784
+ type: 'address',
785
+ },
786
+ {
787
+ name: '_timeLock',
788
+ type: 'uint256',
789
+ },
790
+ ],
791
+ outputs: [
792
+ {
793
+ name: '',
794
+ type: 'bool',
795
+ },
796
+ ],
797
+ },
798
+ {
799
+ stateMutability: 'view',
800
+ type: 'function',
801
+ name: 'governance',
802
+ inputs: [],
803
+ outputs: [
804
+ {
805
+ name: '',
806
+ type: 'address',
807
+ },
808
+ ],
809
+ },
810
+ {
811
+ stateMutability: 'view',
812
+ type: 'function',
813
+ name: 'pendingGov',
814
+ inputs: [],
815
+ outputs: [
816
+ {
817
+ name: '',
818
+ type: 'tuple',
819
+ components: [
820
+ {
821
+ name: 'newGov',
822
+ type: 'address',
823
+ },
824
+ {
825
+ name: 'initiatedBlock',
826
+ type: 'uint256',
827
+ },
828
+ {
829
+ name: 'confirmBlock',
830
+ type: 'uint256',
831
+ },
832
+ ],
833
+ },
834
+ ],
835
+ },
836
+ {
837
+ stateMutability: 'view',
838
+ type: 'function',
839
+ name: 'numGovChanges',
840
+ inputs: [],
841
+ outputs: [
842
+ {
843
+ name: '',
844
+ type: 'uint256',
845
+ },
846
+ ],
847
+ },
848
+ {
849
+ stateMutability: 'view',
850
+ type: 'function',
851
+ name: 'govChangeTimeLock',
852
+ inputs: [],
853
+ outputs: [
854
+ {
855
+ name: '',
856
+ type: 'uint256',
857
+ },
858
+ ],
859
+ },
860
+ {
861
+ stateMutability: 'view',
862
+ type: 'function',
863
+ name: 'getRegistryDescription',
864
+ inputs: [],
865
+ outputs: [
866
+ {
867
+ name: '',
868
+ type: 'string',
869
+ },
870
+ ],
871
+ },
872
+ {
873
+ stateMutability: 'view',
874
+ type: 'function',
875
+ name: 'isValidNewAddress',
876
+ inputs: [
877
+ {
878
+ name: '_addr',
879
+ type: 'address',
880
+ },
881
+ ],
882
+ outputs: [
883
+ {
884
+ name: '',
885
+ type: 'bool',
886
+ },
887
+ ],
888
+ },
889
+ {
890
+ stateMutability: 'view',
891
+ type: 'function',
892
+ name: 'isValidAddressUpdate',
893
+ inputs: [
894
+ {
895
+ name: '_regId',
896
+ type: 'uint256',
897
+ },
898
+ {
899
+ name: '_newAddr',
900
+ type: 'address',
901
+ },
902
+ ],
903
+ outputs: [
904
+ {
905
+ name: '',
906
+ type: 'bool',
907
+ },
908
+ ],
909
+ },
910
+ {
911
+ stateMutability: 'view',
912
+ type: 'function',
913
+ name: 'isValidAddressDisable',
914
+ inputs: [
915
+ {
916
+ name: '_regId',
917
+ type: 'uint256',
918
+ },
919
+ ],
920
+ outputs: [
921
+ {
922
+ name: '',
923
+ type: 'bool',
924
+ },
925
+ ],
926
+ },
927
+ {
928
+ stateMutability: 'nonpayable',
929
+ type: 'function',
930
+ name: 'setRegistryTimeLock',
931
+ inputs: [
932
+ {
933
+ name: '_numBlocks',
934
+ type: 'uint256',
935
+ },
936
+ ],
937
+ outputs: [
938
+ {
939
+ name: '',
940
+ type: 'bool',
941
+ },
942
+ ],
943
+ },
944
+ {
945
+ stateMutability: 'view',
946
+ type: 'function',
947
+ name: 'isValidRegistryTimeLock',
948
+ inputs: [
949
+ {
950
+ name: '_numBlocks',
951
+ type: 'uint256',
952
+ },
953
+ ],
954
+ outputs: [
955
+ {
956
+ name: '',
957
+ type: 'bool',
958
+ },
959
+ ],
960
+ },
961
+ {
962
+ stateMutability: 'nonpayable',
963
+ type: 'function',
964
+ name: 'setRegistryTimeLockAfterSetup',
965
+ inputs: [],
966
+ outputs: [
967
+ {
968
+ name: '',
969
+ type: 'bool',
970
+ },
971
+ ],
972
+ },
973
+ {
974
+ stateMutability: 'nonpayable',
975
+ type: 'function',
976
+ name: 'setRegistryTimeLockAfterSetup',
977
+ inputs: [
978
+ {
979
+ name: '_numBlocks',
980
+ type: 'uint256',
981
+ },
982
+ ],
983
+ outputs: [
984
+ {
985
+ name: '',
986
+ type: 'bool',
987
+ },
988
+ ],
989
+ },
990
+ {
991
+ stateMutability: 'view',
992
+ type: 'function',
993
+ name: 'minRegistryTimeLock',
994
+ inputs: [],
995
+ outputs: [
996
+ {
997
+ name: '',
998
+ type: 'uint256',
999
+ },
1000
+ ],
1001
+ },
1002
+ {
1003
+ stateMutability: 'view',
1004
+ type: 'function',
1005
+ name: 'maxRegistryTimeLock',
1006
+ inputs: [],
1007
+ outputs: [
1008
+ {
1009
+ name: '',
1010
+ type: 'uint256',
1011
+ },
1012
+ ],
1013
+ },
1014
+ {
1015
+ stateMutability: 'view',
1016
+ type: 'function',
1017
+ name: 'isValidAddr',
1018
+ inputs: [
1019
+ {
1020
+ name: '_addr',
1021
+ type: 'address',
1022
+ },
1023
+ ],
1024
+ outputs: [
1025
+ {
1026
+ name: '',
1027
+ type: 'bool',
1028
+ },
1029
+ ],
1030
+ },
1031
+ {
1032
+ stateMutability: 'view',
1033
+ type: 'function',
1034
+ name: 'isValidRegId',
1035
+ inputs: [
1036
+ {
1037
+ name: '_regId',
1038
+ type: 'uint256',
1039
+ },
1040
+ ],
1041
+ outputs: [
1042
+ {
1043
+ name: '',
1044
+ type: 'bool',
1045
+ },
1046
+ ],
1047
+ },
1048
+ {
1049
+ stateMutability: 'view',
1050
+ type: 'function',
1051
+ name: 'getRegId',
1052
+ inputs: [
1053
+ {
1054
+ name: '_addr',
1055
+ type: 'address',
1056
+ },
1057
+ ],
1058
+ outputs: [
1059
+ {
1060
+ name: '',
1061
+ type: 'uint256',
1062
+ },
1063
+ ],
1064
+ },
1065
+ {
1066
+ stateMutability: 'view',
1067
+ type: 'function',
1068
+ name: 'getAddr',
1069
+ inputs: [
1070
+ {
1071
+ name: '_regId',
1072
+ type: 'uint256',
1073
+ },
1074
+ ],
1075
+ outputs: [
1076
+ {
1077
+ name: '',
1078
+ type: 'address',
1079
+ },
1080
+ ],
1081
+ },
1082
+ {
1083
+ stateMutability: 'view',
1084
+ type: 'function',
1085
+ name: 'getAddrInfo',
1086
+ inputs: [
1087
+ {
1088
+ name: '_regId',
1089
+ type: 'uint256',
1090
+ },
1091
+ ],
1092
+ outputs: [
1093
+ {
1094
+ name: '',
1095
+ type: 'tuple',
1096
+ components: [
1097
+ {
1098
+ name: 'addr',
1099
+ type: 'address',
1100
+ },
1101
+ {
1102
+ name: 'version',
1103
+ type: 'uint256',
1104
+ },
1105
+ {
1106
+ name: 'lastModified',
1107
+ type: 'uint256',
1108
+ },
1109
+ {
1110
+ name: 'description',
1111
+ type: 'string',
1112
+ },
1113
+ ],
1114
+ },
1115
+ ],
1116
+ },
1117
+ {
1118
+ stateMutability: 'view',
1119
+ type: 'function',
1120
+ name: 'getAddrDescription',
1121
+ inputs: [
1122
+ {
1123
+ name: '_regId',
1124
+ type: 'uint256',
1125
+ },
1126
+ ],
1127
+ outputs: [
1128
+ {
1129
+ name: '',
1130
+ type: 'string',
1131
+ },
1132
+ ],
1133
+ },
1134
+ {
1135
+ stateMutability: 'view',
1136
+ type: 'function',
1137
+ name: 'getNumAddrs',
1138
+ inputs: [],
1139
+ outputs: [
1140
+ {
1141
+ name: '',
1142
+ type: 'uint256',
1143
+ },
1144
+ ],
1145
+ },
1146
+ {
1147
+ stateMutability: 'view',
1148
+ type: 'function',
1149
+ name: 'getLastAddr',
1150
+ inputs: [],
1151
+ outputs: [
1152
+ {
1153
+ name: '',
1154
+ type: 'address',
1155
+ },
1156
+ ],
1157
+ },
1158
+ {
1159
+ stateMutability: 'view',
1160
+ type: 'function',
1161
+ name: 'getLastRegId',
1162
+ inputs: [],
1163
+ outputs: [
1164
+ {
1165
+ name: '',
1166
+ type: 'uint256',
1167
+ },
1168
+ ],
1169
+ },
1170
+ {
1171
+ stateMutability: 'view',
1172
+ type: 'function',
1173
+ name: 'registryChangeTimeLock',
1174
+ inputs: [],
1175
+ outputs: [
1176
+ {
1177
+ name: '',
1178
+ type: 'uint256',
1179
+ },
1180
+ ],
1181
+ },
1182
+ {
1183
+ stateMutability: 'view',
1184
+ type: 'function',
1185
+ name: 'addrInfo',
1186
+ inputs: [
1187
+ {
1188
+ name: 'arg0',
1189
+ type: 'uint256',
1190
+ },
1191
+ ],
1192
+ outputs: [
1193
+ {
1194
+ name: '',
1195
+ type: 'tuple',
1196
+ components: [
1197
+ {
1198
+ name: 'addr',
1199
+ type: 'address',
1200
+ },
1201
+ {
1202
+ name: 'version',
1203
+ type: 'uint256',
1204
+ },
1205
+ {
1206
+ name: 'lastModified',
1207
+ type: 'uint256',
1208
+ },
1209
+ {
1210
+ name: 'description',
1211
+ type: 'string',
1212
+ },
1213
+ ],
1214
+ },
1215
+ ],
1216
+ },
1217
+ {
1218
+ stateMutability: 'view',
1219
+ type: 'function',
1220
+ name: 'addrToRegId',
1221
+ inputs: [
1222
+ {
1223
+ name: 'arg0',
1224
+ type: 'address',
1225
+ },
1226
+ ],
1227
+ outputs: [
1228
+ {
1229
+ name: '',
1230
+ type: 'uint256',
1231
+ },
1232
+ ],
1233
+ },
1234
+ {
1235
+ stateMutability: 'view',
1236
+ type: 'function',
1237
+ name: 'numAddrs',
1238
+ inputs: [],
1239
+ outputs: [
1240
+ {
1241
+ name: '',
1242
+ type: 'uint256',
1243
+ },
1244
+ ],
1245
+ },
1246
+ {
1247
+ stateMutability: 'view',
1248
+ type: 'function',
1249
+ name: 'pendingNewAddr',
1250
+ inputs: [
1251
+ {
1252
+ name: 'arg0',
1253
+ type: 'address',
1254
+ },
1255
+ ],
1256
+ outputs: [
1257
+ {
1258
+ name: '',
1259
+ type: 'tuple',
1260
+ components: [
1261
+ {
1262
+ name: 'description',
1263
+ type: 'string',
1264
+ },
1265
+ {
1266
+ name: 'initiatedBlock',
1267
+ type: 'uint256',
1268
+ },
1269
+ {
1270
+ name: 'confirmBlock',
1271
+ type: 'uint256',
1272
+ },
1273
+ ],
1274
+ },
1275
+ ],
1276
+ },
1277
+ {
1278
+ stateMutability: 'view',
1279
+ type: 'function',
1280
+ name: 'pendingAddrUpdate',
1281
+ inputs: [
1282
+ {
1283
+ name: 'arg0',
1284
+ type: 'uint256',
1285
+ },
1286
+ ],
1287
+ outputs: [
1288
+ {
1289
+ name: '',
1290
+ type: 'tuple',
1291
+ components: [
1292
+ {
1293
+ name: 'newAddr',
1294
+ type: 'address',
1295
+ },
1296
+ {
1297
+ name: 'initiatedBlock',
1298
+ type: 'uint256',
1299
+ },
1300
+ {
1301
+ name: 'confirmBlock',
1302
+ type: 'uint256',
1303
+ },
1304
+ ],
1305
+ },
1306
+ ],
1307
+ },
1308
+ {
1309
+ stateMutability: 'view',
1310
+ type: 'function',
1311
+ name: 'pendingAddrDisable',
1312
+ inputs: [
1313
+ {
1314
+ name: 'arg0',
1315
+ type: 'uint256',
1316
+ },
1317
+ ],
1318
+ outputs: [
1319
+ {
1320
+ name: '',
1321
+ type: 'tuple',
1322
+ components: [
1323
+ {
1324
+ name: 'initiatedBlock',
1325
+ type: 'uint256',
1326
+ },
1327
+ {
1328
+ name: 'confirmBlock',
1329
+ type: 'uint256',
1330
+ },
1331
+ ],
1332
+ },
1333
+ ],
1334
+ },
1335
+ {
1336
+ stateMutability: 'nonpayable',
1337
+ type: 'function',
1338
+ name: 'startAddNewAddressToRegistry',
1339
+ inputs: [
1340
+ {
1341
+ name: '_addr',
1342
+ type: 'address',
1343
+ },
1344
+ {
1345
+ name: '_description',
1346
+ type: 'string',
1347
+ },
1348
+ ],
1349
+ outputs: [
1350
+ {
1351
+ name: '',
1352
+ type: 'bool',
1353
+ },
1354
+ ],
1355
+ },
1356
+ {
1357
+ stateMutability: 'nonpayable',
1358
+ type: 'function',
1359
+ name: 'confirmNewAddressToRegistry',
1360
+ inputs: [
1361
+ {
1362
+ name: '_addr',
1363
+ type: 'address',
1364
+ },
1365
+ ],
1366
+ outputs: [
1367
+ {
1368
+ name: '',
1369
+ type: 'uint256',
1370
+ },
1371
+ ],
1372
+ },
1373
+ {
1374
+ stateMutability: 'nonpayable',
1375
+ type: 'function',
1376
+ name: 'cancelNewAddressToRegistry',
1377
+ inputs: [
1378
+ {
1379
+ name: '_addr',
1380
+ type: 'address',
1381
+ },
1382
+ ],
1383
+ outputs: [
1384
+ {
1385
+ name: '',
1386
+ type: 'bool',
1387
+ },
1388
+ ],
1389
+ },
1390
+ {
1391
+ stateMutability: 'nonpayable',
1392
+ type: 'function',
1393
+ name: 'startAddressUpdateToRegistry',
1394
+ inputs: [
1395
+ {
1396
+ name: '_regId',
1397
+ type: 'uint256',
1398
+ },
1399
+ {
1400
+ name: '_newAddr',
1401
+ type: 'address',
1402
+ },
1403
+ ],
1404
+ outputs: [
1405
+ {
1406
+ name: '',
1407
+ type: 'bool',
1408
+ },
1409
+ ],
1410
+ },
1411
+ {
1412
+ stateMutability: 'nonpayable',
1413
+ type: 'function',
1414
+ name: 'confirmAddressUpdateToRegistry',
1415
+ inputs: [
1416
+ {
1417
+ name: '_regId',
1418
+ type: 'uint256',
1419
+ },
1420
+ ],
1421
+ outputs: [
1422
+ {
1423
+ name: '',
1424
+ type: 'bool',
1425
+ },
1426
+ ],
1427
+ },
1428
+ {
1429
+ stateMutability: 'nonpayable',
1430
+ type: 'function',
1431
+ name: 'cancelAddressUpdateToRegistry',
1432
+ inputs: [
1433
+ {
1434
+ name: '_regId',
1435
+ type: 'uint256',
1436
+ },
1437
+ ],
1438
+ outputs: [
1439
+ {
1440
+ name: '',
1441
+ type: 'bool',
1442
+ },
1443
+ ],
1444
+ },
1445
+ {
1446
+ stateMutability: 'nonpayable',
1447
+ type: 'function',
1448
+ name: 'startAddressDisableInRegistry',
1449
+ inputs: [
1450
+ {
1451
+ name: '_regId',
1452
+ type: 'uint256',
1453
+ },
1454
+ ],
1455
+ outputs: [
1456
+ {
1457
+ name: '',
1458
+ type: 'bool',
1459
+ },
1460
+ ],
1461
+ },
1462
+ {
1463
+ stateMutability: 'nonpayable',
1464
+ type: 'function',
1465
+ name: 'confirmAddressDisableInRegistry',
1466
+ inputs: [
1467
+ {
1468
+ name: '_regId',
1469
+ type: 'uint256',
1470
+ },
1471
+ ],
1472
+ outputs: [
1473
+ {
1474
+ name: '',
1475
+ type: 'bool',
1476
+ },
1477
+ ],
1478
+ },
1479
+ {
1480
+ stateMutability: 'nonpayable',
1481
+ type: 'function',
1482
+ name: 'cancelAddressDisableInRegistry',
1483
+ inputs: [
1484
+ {
1485
+ name: '_regId',
1486
+ type: 'uint256',
1487
+ },
1488
+ ],
1489
+ outputs: [
1490
+ {
1491
+ name: '',
1492
+ type: 'bool',
1493
+ },
1494
+ ],
1495
+ },
1496
+ {
1497
+ stateMutability: 'view',
1498
+ type: 'function',
1499
+ name: 'hasPendingHqConfigChange',
1500
+ inputs: [
1501
+ {
1502
+ name: '_regId',
1503
+ type: 'uint256',
1504
+ },
1505
+ ],
1506
+ outputs: [
1507
+ {
1508
+ name: '',
1509
+ type: 'bool',
1510
+ },
1511
+ ],
1512
+ },
1513
+ {
1514
+ stateMutability: 'nonpayable',
1515
+ type: 'function',
1516
+ name: 'initiateHqConfigChange',
1517
+ inputs: [
1518
+ {
1519
+ name: '_regId',
1520
+ type: 'uint256',
1521
+ },
1522
+ {
1523
+ name: '_canMintUndy',
1524
+ type: 'bool',
1525
+ },
1526
+ {
1527
+ name: '_canSetTokenBlacklist',
1528
+ type: 'bool',
1529
+ },
1530
+ ],
1531
+ outputs: [],
1532
+ },
1533
+ {
1534
+ stateMutability: 'nonpayable',
1535
+ type: 'function',
1536
+ name: 'confirmHqConfigChange',
1537
+ inputs: [
1538
+ {
1539
+ name: '_regId',
1540
+ type: 'uint256',
1541
+ },
1542
+ ],
1543
+ outputs: [
1544
+ {
1545
+ name: '',
1546
+ type: 'bool',
1547
+ },
1548
+ ],
1549
+ },
1550
+ {
1551
+ stateMutability: 'nonpayable',
1552
+ type: 'function',
1553
+ name: 'cancelHqConfigChange',
1554
+ inputs: [
1555
+ {
1556
+ name: '_regId',
1557
+ type: 'uint256',
1558
+ },
1559
+ ],
1560
+ outputs: [
1561
+ {
1562
+ name: '',
1563
+ type: 'bool',
1564
+ },
1565
+ ],
1566
+ },
1567
+ {
1568
+ stateMutability: 'view',
1569
+ type: 'function',
1570
+ name: 'isValidHqConfig',
1571
+ inputs: [
1572
+ {
1573
+ name: '_regId',
1574
+ type: 'uint256',
1575
+ },
1576
+ {
1577
+ name: '_canMintUndy',
1578
+ type: 'bool',
1579
+ },
1580
+ ],
1581
+ outputs: [
1582
+ {
1583
+ name: '',
1584
+ type: 'bool',
1585
+ },
1586
+ ],
1587
+ },
1588
+ {
1589
+ stateMutability: 'nonpayable',
1590
+ type: 'function',
1591
+ name: 'setUndyToken',
1592
+ inputs: [
1593
+ {
1594
+ name: '_token',
1595
+ type: 'address',
1596
+ },
1597
+ ],
1598
+ outputs: [],
1599
+ },
1600
+ {
1601
+ stateMutability: 'view',
1602
+ type: 'function',
1603
+ name: 'canMintUndy',
1604
+ inputs: [
1605
+ {
1606
+ name: '_addr',
1607
+ type: 'address',
1608
+ },
1609
+ ],
1610
+ outputs: [
1611
+ {
1612
+ name: '',
1613
+ type: 'bool',
1614
+ },
1615
+ ],
1616
+ },
1617
+ {
1618
+ stateMutability: 'nonpayable',
1619
+ type: 'function',
1620
+ name: 'setMintingEnabled',
1621
+ inputs: [
1622
+ {
1623
+ name: '_shouldEnable',
1624
+ type: 'bool',
1625
+ },
1626
+ ],
1627
+ outputs: [],
1628
+ },
1629
+ {
1630
+ stateMutability: 'view',
1631
+ type: 'function',
1632
+ name: 'canSetTokenBlacklist',
1633
+ inputs: [
1634
+ {
1635
+ name: '_addr',
1636
+ type: 'address',
1637
+ },
1638
+ ],
1639
+ outputs: [
1640
+ {
1641
+ name: '',
1642
+ type: 'bool',
1643
+ },
1644
+ ],
1645
+ },
1646
+ {
1647
+ stateMutability: 'nonpayable',
1648
+ type: 'function',
1649
+ name: 'recoverFunds',
1650
+ inputs: [
1651
+ {
1652
+ name: '_recipient',
1653
+ type: 'address',
1654
+ },
1655
+ {
1656
+ name: '_asset',
1657
+ type: 'address',
1658
+ },
1659
+ ],
1660
+ outputs: [],
1661
+ },
1662
+ {
1663
+ stateMutability: 'nonpayable',
1664
+ type: 'function',
1665
+ name: 'recoverFundsMany',
1666
+ inputs: [
1667
+ {
1668
+ name: '_recipient',
1669
+ type: 'address',
1670
+ },
1671
+ {
1672
+ name: '_assets',
1673
+ type: 'address[]',
1674
+ },
1675
+ ],
1676
+ outputs: [],
1677
+ },
1678
+ {
1679
+ stateMutability: 'view',
1680
+ type: 'function',
1681
+ name: 'undyToken',
1682
+ inputs: [],
1683
+ outputs: [
1684
+ {
1685
+ name: '',
1686
+ type: 'address',
1687
+ },
1688
+ ],
1689
+ },
1690
+ {
1691
+ stateMutability: 'view',
1692
+ type: 'function',
1693
+ name: 'mintEnabled',
1694
+ inputs: [],
1695
+ outputs: [
1696
+ {
1697
+ name: '',
1698
+ type: 'bool',
1699
+ },
1700
+ ],
1701
+ },
1702
+ {
1703
+ stateMutability: 'view',
1704
+ type: 'function',
1705
+ name: 'hqConfig',
1706
+ inputs: [
1707
+ {
1708
+ name: 'arg0',
1709
+ type: 'uint256',
1710
+ },
1711
+ ],
1712
+ outputs: [
1713
+ {
1714
+ name: '',
1715
+ type: 'tuple',
1716
+ components: [
1717
+ {
1718
+ name: 'description',
1719
+ type: 'string',
1720
+ },
1721
+ {
1722
+ name: 'canMintUndy',
1723
+ type: 'bool',
1724
+ },
1725
+ {
1726
+ name: 'canSetTokenBlacklist',
1727
+ type: 'bool',
1728
+ },
1729
+ ],
1730
+ },
1731
+ ],
1732
+ },
1733
+ {
1734
+ stateMutability: 'view',
1735
+ type: 'function',
1736
+ name: 'pendingHqConfig',
1737
+ inputs: [
1738
+ {
1739
+ name: 'arg0',
1740
+ type: 'uint256',
1741
+ },
1742
+ ],
1743
+ outputs: [
1744
+ {
1745
+ name: '',
1746
+ type: 'tuple',
1747
+ components: [
1748
+ {
1749
+ name: 'newHqConfig',
1750
+ type: 'tuple',
1751
+ components: [
1752
+ {
1753
+ name: 'description',
1754
+ type: 'string',
1755
+ },
1756
+ {
1757
+ name: 'canMintUndy',
1758
+ type: 'bool',
1759
+ },
1760
+ {
1761
+ name: 'canSetTokenBlacklist',
1762
+ type: 'bool',
1763
+ },
1764
+ ],
1765
+ },
1766
+ {
1767
+ name: 'initiatedBlock',
1768
+ type: 'uint256',
1769
+ },
1770
+ {
1771
+ name: 'confirmBlock',
1772
+ type: 'uint256',
1773
+ },
1774
+ ],
1775
+ },
1776
+ ],
1777
+ },
1778
+ {
1779
+ stateMutability: 'nonpayable',
1780
+ type: 'constructor',
1781
+ inputs: [
1782
+ {
1783
+ name: '_initialGov',
1784
+ type: 'address',
1785
+ },
1786
+ {
1787
+ name: '_minGovTimeLock',
1788
+ type: 'uint256',
1789
+ },
1790
+ {
1791
+ name: '_maxGovTimeLock',
1792
+ type: 'uint256',
1793
+ },
1794
+ {
1795
+ name: '_minRegistryTimeLock',
1796
+ type: 'uint256',
1797
+ },
1798
+ {
1799
+ name: '_maxRegistryTimeLock',
1800
+ type: 'uint256',
1801
+ },
1802
+ ],
1803
+ outputs: [],
1804
+ },
1805
+ ];
1806
+ export const deployAddress = '0x44Cf3c4f000DFD76a35d03298049D37bE688D6F9';
1807
+ function getRequest(method, args, contractAddressOrOptions) {
1808
+ const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
1809
+ const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
1810
+ const call = {
1811
+ contractName: 'UndyHq',
1812
+ method,
1813
+ args,
1814
+ address,
1815
+ deployAddress,
1816
+ defaultValue,
1817
+ getAbi: () => abi,
1818
+ with: (options) => {
1819
+ call.address = options.contractAddress;
1820
+ call.defaultValue = options.defaultValue;
1821
+ return call;
1822
+ },
1823
+ defaultTo: (defaultValue) => {
1824
+ call.defaultValue = defaultValue;
1825
+ return call;
1826
+ },
1827
+ at: (address) => {
1828
+ call.address = address;
1829
+ return call;
1830
+ },
1831
+ };
1832
+ return call;
1833
+ }
1834
+ export const call = {
1835
+ getUndyHqFromGov: (...args) => getRequest('getUndyHqFromGov', args),
1836
+ canGovern: (...args) => getRequest('canGovern', args),
1837
+ getGovernors: (...args) => getRequest('getGovernors', args),
1838
+ hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
1839
+ isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
1840
+ minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
1841
+ maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
1842
+ governance: (...args) => getRequest('governance', args),
1843
+ pendingGov: (...args) => getRequest('pendingGov', args),
1844
+ numGovChanges: (...args) => getRequest('numGovChanges', args),
1845
+ govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
1846
+ getRegistryDescription: (...args) => getRequest('getRegistryDescription', args),
1847
+ isValidNewAddress: (...args) => getRequest('isValidNewAddress', args),
1848
+ isValidAddressUpdate: (...args) => getRequest('isValidAddressUpdate', args),
1849
+ isValidAddressDisable: (...args) => getRequest('isValidAddressDisable', args),
1850
+ isValidRegistryTimeLock: (...args) => getRequest('isValidRegistryTimeLock', args),
1851
+ minRegistryTimeLock: (...args) => getRequest('minRegistryTimeLock', args),
1852
+ maxRegistryTimeLock: (...args) => getRequest('maxRegistryTimeLock', args),
1853
+ isValidAddr: (...args) => getRequest('isValidAddr', args),
1854
+ isValidRegId: (...args) => getRequest('isValidRegId', args),
1855
+ getRegId: (...args) => getRequest('getRegId', args),
1856
+ getAddr: (...args) => getRequest('getAddr', args),
1857
+ getAddrInfo: (...args) => getRequest('getAddrInfo', args),
1858
+ getAddrDescription: (...args) => getRequest('getAddrDescription', args),
1859
+ getNumAddrs: (...args) => getRequest('getNumAddrs', args),
1860
+ getLastAddr: (...args) => getRequest('getLastAddr', args),
1861
+ getLastRegId: (...args) => getRequest('getLastRegId', args),
1862
+ registryChangeTimeLock: (...args) => getRequest('registryChangeTimeLock', args),
1863
+ addrInfo: (...args) => getRequest('addrInfo', args),
1864
+ addrToRegId: (...args) => getRequest('addrToRegId', args),
1865
+ numAddrs: (...args) => getRequest('numAddrs', args),
1866
+ pendingNewAddr: (...args) => getRequest('pendingNewAddr', args),
1867
+ pendingAddrUpdate: (...args) => getRequest('pendingAddrUpdate', args),
1868
+ pendingAddrDisable: (...args) => getRequest('pendingAddrDisable', args),
1869
+ hasPendingHqConfigChange: (...args) => getRequest('hasPendingHqConfigChange', args),
1870
+ isValidHqConfig: (...args) => getRequest('isValidHqConfig', args),
1871
+ canMintUndy: (...args) => getRequest('canMintUndy', args),
1872
+ canSetTokenBlacklist: (...args) => getRequest('canSetTokenBlacklist', args),
1873
+ undyToken: (...args) => getRequest('undyToken', args),
1874
+ mintEnabled: (...args) => getRequest('mintEnabled', args),
1875
+ hqConfig: (...args) => getRequest('hqConfig', args),
1876
+ pendingHqConfig: (...args) => getRequest('pendingHqConfig', args),
1877
+ };
1878
+ function getMutation(functionName) {
1879
+ return {
1880
+ contractName: 'UndyHq',
1881
+ functionName,
1882
+ deployAddress,
1883
+ argsType: undefined,
1884
+ getAbi: () => abi,
1885
+ };
1886
+ }
1887
+ export const mutation = {
1888
+ startGovernanceChange: getMutation('startGovernanceChange'),
1889
+ confirmGovernanceChange: getMutation('confirmGovernanceChange'),
1890
+ cancelGovernanceChange: getMutation('cancelGovernanceChange'),
1891
+ relinquishGov: getMutation('relinquishGov'),
1892
+ setGovTimeLock: getMutation('setGovTimeLock'),
1893
+ finishUndyHqSetup: getMutation('finishUndyHqSetup'),
1894
+ setRegistryTimeLock: getMutation('setRegistryTimeLock'),
1895
+ setRegistryTimeLockAfterSetup: getMutation('setRegistryTimeLockAfterSetup'),
1896
+ startAddNewAddressToRegistry: getMutation('startAddNewAddressToRegistry'),
1897
+ confirmNewAddressToRegistry: getMutation('confirmNewAddressToRegistry'),
1898
+ cancelNewAddressToRegistry: getMutation('cancelNewAddressToRegistry'),
1899
+ startAddressUpdateToRegistry: getMutation('startAddressUpdateToRegistry'),
1900
+ confirmAddressUpdateToRegistry: getMutation('confirmAddressUpdateToRegistry'),
1901
+ cancelAddressUpdateToRegistry: getMutation('cancelAddressUpdateToRegistry'),
1902
+ startAddressDisableInRegistry: getMutation('startAddressDisableInRegistry'),
1903
+ confirmAddressDisableInRegistry: getMutation('confirmAddressDisableInRegistry'),
1904
+ cancelAddressDisableInRegistry: getMutation('cancelAddressDisableInRegistry'),
1905
+ initiateHqConfigChange: getMutation('initiateHqConfigChange'),
1906
+ confirmHqConfigChange: getMutation('confirmHqConfigChange'),
1907
+ cancelHqConfigChange: getMutation('cancelHqConfigChange'),
1908
+ setUndyToken: getMutation('setUndyToken'),
1909
+ setMintingEnabled: getMutation('setMintingEnabled'),
1910
+ recoverFunds: getMutation('recoverFunds'),
1911
+ recoverFundsMany: getMutation('recoverFundsMany'),
1912
+ };
1913
+ export function toSdk(publicClient, walletClient) {
1914
+ return {
1915
+ deployAddress,
1916
+ abi,
1917
+ // Queries
1918
+ getUndyHqFromGov: (...args) => singleQuery(publicClient, call.getUndyHqFromGov(...args)),
1919
+ canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
1920
+ getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
1921
+ hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
1922
+ isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
1923
+ minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
1924
+ maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
1925
+ governance: (...args) => singleQuery(publicClient, call.governance(...args)),
1926
+ pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
1927
+ numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
1928
+ govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
1929
+ getRegistryDescription: (...args) => singleQuery(publicClient, call.getRegistryDescription(...args)),
1930
+ isValidNewAddress: (...args) => singleQuery(publicClient, call.isValidNewAddress(...args)),
1931
+ isValidAddressUpdate: (...args) => singleQuery(publicClient, call.isValidAddressUpdate(...args)),
1932
+ isValidAddressDisable: (...args) => singleQuery(publicClient, call.isValidAddressDisable(...args)),
1933
+ isValidRegistryTimeLock: (...args) => singleQuery(publicClient, call.isValidRegistryTimeLock(...args)),
1934
+ minRegistryTimeLock: (...args) => singleQuery(publicClient, call.minRegistryTimeLock(...args)),
1935
+ maxRegistryTimeLock: (...args) => singleQuery(publicClient, call.maxRegistryTimeLock(...args)),
1936
+ isValidAddr: (...args) => singleQuery(publicClient, call.isValidAddr(...args)),
1937
+ isValidRegId: (...args) => singleQuery(publicClient, call.isValidRegId(...args)),
1938
+ getRegId: (...args) => singleQuery(publicClient, call.getRegId(...args)),
1939
+ getAddr: (...args) => singleQuery(publicClient, call.getAddr(...args)),
1940
+ getAddrInfo: (...args) => singleQuery(publicClient, call.getAddrInfo(...args)),
1941
+ getAddrDescription: (...args) => singleQuery(publicClient, call.getAddrDescription(...args)),
1942
+ getNumAddrs: (...args) => singleQuery(publicClient, call.getNumAddrs(...args)),
1943
+ getLastAddr: (...args) => singleQuery(publicClient, call.getLastAddr(...args)),
1944
+ getLastRegId: (...args) => singleQuery(publicClient, call.getLastRegId(...args)),
1945
+ registryChangeTimeLock: (...args) => singleQuery(publicClient, call.registryChangeTimeLock(...args)),
1946
+ addrInfo: (...args) => singleQuery(publicClient, call.addrInfo(...args)),
1947
+ addrToRegId: (...args) => singleQuery(publicClient, call.addrToRegId(...args)),
1948
+ numAddrs: (...args) => singleQuery(publicClient, call.numAddrs(...args)),
1949
+ pendingNewAddr: (...args) => singleQuery(publicClient, call.pendingNewAddr(...args)),
1950
+ pendingAddrUpdate: (...args) => singleQuery(publicClient, call.pendingAddrUpdate(...args)),
1951
+ pendingAddrDisable: (...args) => singleQuery(publicClient, call.pendingAddrDisable(...args)),
1952
+ hasPendingHqConfigChange: (...args) => singleQuery(publicClient, call.hasPendingHqConfigChange(...args)),
1953
+ isValidHqConfig: (...args) => singleQuery(publicClient, call.isValidHqConfig(...args)),
1954
+ canMintUndy: (...args) => singleQuery(publicClient, call.canMintUndy(...args)),
1955
+ canSetTokenBlacklist: (...args) => singleQuery(publicClient, call.canSetTokenBlacklist(...args)),
1956
+ undyToken: (...args) => singleQuery(publicClient, call.undyToken(...args)),
1957
+ mintEnabled: (...args) => singleQuery(publicClient, call.mintEnabled(...args)),
1958
+ hqConfig: (...args) => singleQuery(publicClient, call.hqConfig(...args)),
1959
+ pendingHqConfig: (...args) => singleQuery(publicClient, call.pendingHqConfig(...args)),
1960
+ // Mutations
1961
+ startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
1962
+ confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
1963
+ cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
1964
+ relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov)(...args),
1965
+ setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
1966
+ finishUndyHqSetup: (...args) => mutate(walletClient, mutation.finishUndyHqSetup)(...args),
1967
+ setRegistryTimeLock: (...args) => mutate(walletClient, mutation.setRegistryTimeLock)(...args),
1968
+ setRegistryTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setRegistryTimeLockAfterSetup)(...args),
1969
+ startAddNewAddressToRegistry: (...args) => mutate(walletClient, mutation.startAddNewAddressToRegistry)(...args),
1970
+ confirmNewAddressToRegistry: (...args) => mutate(walletClient, mutation.confirmNewAddressToRegistry)(...args),
1971
+ cancelNewAddressToRegistry: (...args) => mutate(walletClient, mutation.cancelNewAddressToRegistry)(...args),
1972
+ startAddressUpdateToRegistry: (...args) => mutate(walletClient, mutation.startAddressUpdateToRegistry)(...args),
1973
+ confirmAddressUpdateToRegistry: (...args) => mutate(walletClient, mutation.confirmAddressUpdateToRegistry)(...args),
1974
+ cancelAddressUpdateToRegistry: (...args) => mutate(walletClient, mutation.cancelAddressUpdateToRegistry)(...args),
1975
+ startAddressDisableInRegistry: (...args) => mutate(walletClient, mutation.startAddressDisableInRegistry)(...args),
1976
+ confirmAddressDisableInRegistry: (...args) => mutate(walletClient, mutation.confirmAddressDisableInRegistry)(...args),
1977
+ cancelAddressDisableInRegistry: (...args) => mutate(walletClient, mutation.cancelAddressDisableInRegistry)(...args),
1978
+ initiateHqConfigChange: (...args) => mutate(walletClient, mutation.initiateHqConfigChange)(...args),
1979
+ confirmHqConfigChange: (...args) => mutate(walletClient, mutation.confirmHqConfigChange)(...args),
1980
+ cancelHqConfigChange: (...args) => mutate(walletClient, mutation.cancelHqConfigChange)(...args),
1981
+ setUndyToken: (...args) => mutate(walletClient, mutation.setUndyToken)(...args),
1982
+ setMintingEnabled: (...args) => mutate(walletClient, mutation.setMintingEnabled)(...args),
1983
+ recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds)(...args),
1984
+ recoverFundsMany: (...args) => mutate(walletClient, mutation.recoverFundsMany)(...args),
1985
+ };
1986
+ }