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