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