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