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