@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,929 +5,983 @@
5
5
  import { singleQuery, mutate } from '@dappql/async';
6
6
  export const abi = [
7
7
  {
8
- anonymous: false,
8
+ name: 'GovChangeTimeLockModified',
9
9
  inputs: [
10
10
  {
11
- indexed: true,
12
- name: 'sender',
13
- type: 'address',
14
- },
15
- {
16
- indexed: true,
17
- name: 'asset',
18
- type: 'address',
19
- },
20
- {
21
- indexed: true,
22
- name: 'vaultToken',
23
- type: 'address',
24
- },
25
- {
26
- indexed: false,
27
- name: 'assetAmountDeposited',
11
+ name: 'prevTimeLock',
28
12
  type: 'uint256',
29
- },
30
- {
31
13
  indexed: false,
32
- name: 'usdValue',
33
- type: 'uint256',
34
14
  },
35
15
  {
36
- indexed: false,
37
- name: 'vaultTokenAmountReceived',
16
+ name: 'newTimeLock',
38
17
  type: 'uint256',
39
- },
40
- {
41
18
  indexed: false,
42
- name: 'recipient',
43
- type: 'address',
44
19
  },
45
20
  ],
46
- name: 'MorphoDeposit',
21
+ anonymous: false,
47
22
  type: 'event',
48
23
  },
49
24
  {
50
- anonymous: false,
25
+ name: 'ExpirationSet',
51
26
  inputs: [
52
27
  {
53
- indexed: true,
54
- name: 'sender',
55
- type: 'address',
56
- },
57
- {
58
- indexed: true,
59
- name: 'asset',
60
- type: 'address',
61
- },
62
- {
63
- indexed: true,
64
- name: 'vaultToken',
65
- type: 'address',
66
- },
67
- {
68
- indexed: false,
69
- name: 'assetAmountReceived',
70
- type: 'uint256',
71
- },
72
- {
73
- indexed: false,
74
- name: 'usdValue',
75
- type: 'uint256',
76
- },
77
- {
78
- indexed: false,
79
- name: 'vaultTokenAmountBurned',
28
+ name: 'expiration',
80
29
  type: 'uint256',
81
- },
82
- {
83
30
  indexed: false,
84
- name: 'recipient',
85
- type: 'address',
86
31
  },
87
32
  ],
88
- name: 'MorphoWithdrawal',
89
- type: 'event',
90
- },
91
- {
92
33
  anonymous: false,
93
- inputs: [
94
- {
95
- indexed: false,
96
- name: 'addr',
97
- type: 'address',
98
- },
99
- ],
100
- name: 'MorphoRewardsAddrSet',
101
34
  type: 'event',
102
35
  },
103
36
  {
104
- anonymous: false,
37
+ name: 'ActionTimeLockSet',
105
38
  inputs: [
106
39
  {
107
- indexed: true,
108
- name: 'asset',
109
- type: 'address',
110
- },
111
- {
112
- indexed: true,
113
- name: 'recipient',
114
- type: 'address',
115
- },
116
- {
117
- indexed: false,
118
- name: 'amount',
40
+ name: 'newTimeLock',
119
41
  type: 'uint256',
120
- },
121
- ],
122
- name: 'MorphoFundsRecovered',
123
- type: 'event',
124
- },
125
- {
126
- anonymous: false,
127
- inputs: [
128
- {
129
42
  indexed: false,
130
- name: 'legoId',
131
- type: 'uint256',
132
43
  },
133
- ],
134
- name: 'MorphoLegoIdSet',
135
- type: 'event',
136
- },
137
- {
138
- anonymous: false,
139
- inputs: [
140
44
  {
45
+ name: 'prevTimeLock',
46
+ type: 'uint256',
141
47
  indexed: false,
142
- name: 'isActivated',
143
- type: 'bool',
144
48
  },
145
49
  ],
146
- name: 'MorphoActivated',
50
+ anonymous: false,
147
51
  type: 'event',
148
52
  },
149
53
  {
150
- anonymous: false,
54
+ name: 'GovChangeStarted',
151
55
  inputs: [
152
56
  {
153
- indexed: true,
154
57
  name: 'prevGov',
155
58
  type: 'address',
59
+ indexed: true,
156
60
  },
157
61
  {
158
- indexed: true,
159
62
  name: 'newGov',
160
63
  type: 'address',
64
+ indexed: true,
161
65
  },
162
66
  {
163
- indexed: false,
164
67
  name: 'confirmBlock',
165
68
  type: 'uint256',
69
+ indexed: false,
166
70
  },
167
71
  ],
168
- name: 'GovChangeInitiated',
72
+ anonymous: false,
169
73
  type: 'event',
170
74
  },
171
75
  {
172
- anonymous: false,
76
+ name: 'GovChangeConfirmed',
173
77
  inputs: [
174
78
  {
175
- indexed: true,
176
79
  name: 'prevGov',
177
80
  type: 'address',
81
+ indexed: true,
178
82
  },
179
83
  {
180
- indexed: true,
181
84
  name: 'newGov',
182
85
  type: 'address',
86
+ indexed: true,
183
87
  },
184
88
  {
185
- indexed: false,
186
89
  name: 'initiatedBlock',
187
90
  type: 'uint256',
91
+ indexed: false,
188
92
  },
189
93
  {
190
- indexed: false,
191
94
  name: 'confirmBlock',
192
95
  type: 'uint256',
96
+ indexed: false,
193
97
  },
194
98
  ],
195
- name: 'GovChangeConfirmed',
99
+ anonymous: false,
196
100
  type: 'event',
197
101
  },
198
102
  {
199
- anonymous: false,
103
+ name: 'GovChangeCancelled',
200
104
  inputs: [
201
105
  {
202
- indexed: true,
203
106
  name: 'cancelledGov',
204
107
  type: 'address',
108
+ indexed: true,
205
109
  },
206
110
  {
207
- indexed: false,
208
111
  name: 'initiatedBlock',
209
112
  type: 'uint256',
113
+ indexed: false,
210
114
  },
211
115
  {
212
- indexed: false,
213
116
  name: 'confirmBlock',
214
117
  type: 'uint256',
118
+ indexed: false,
215
119
  },
216
120
  ],
217
- name: 'GovChangeCancelled',
121
+ anonymous: false,
218
122
  type: 'event',
219
123
  },
220
124
  {
221
- anonymous: false,
125
+ name: 'GovRelinquished',
222
126
  inputs: [
223
127
  {
224
- indexed: false,
225
- name: 'delayBlocks',
226
- type: 'uint256',
128
+ name: 'prevGov',
129
+ type: 'address',
130
+ indexed: true,
227
131
  },
228
132
  ],
229
- name: 'GovChangeDelaySet',
133
+ anonymous: false,
230
134
  type: 'event',
231
135
  },
232
136
  {
233
- anonymous: false,
137
+ name: 'RipeHqSetupFinished',
234
138
  inputs: [
235
139
  {
236
- indexed: true,
237
- name: 'asset',
140
+ name: 'prevGov',
238
141
  type: 'address',
142
+ indexed: true,
239
143
  },
240
144
  {
241
- indexed: true,
242
- name: 'vaultToken',
145
+ name: 'newGov',
243
146
  type: 'address',
147
+ indexed: true,
148
+ },
149
+ {
150
+ name: 'timeLock',
151
+ type: 'uint256',
152
+ indexed: false,
244
153
  },
245
154
  ],
246
- name: 'AssetOpportunityAdded',
155
+ anonymous: false,
247
156
  type: 'event',
248
157
  },
249
158
  {
159
+ name: 'PriceSourcePauseModified',
160
+ inputs: [
161
+ {
162
+ name: 'isPaused',
163
+ type: 'bool',
164
+ indexed: false,
165
+ },
166
+ ],
250
167
  anonymous: false,
168
+ type: 'event',
169
+ },
170
+ {
171
+ name: 'PriceSourceFundsRecovered',
251
172
  inputs: [
252
173
  {
253
- indexed: true,
254
174
  name: 'asset',
255
175
  type: 'address',
176
+ indexed: true,
256
177
  },
257
178
  {
258
- indexed: true,
259
- name: 'vaultToken',
179
+ name: 'recipient',
260
180
  type: 'address',
181
+ indexed: true,
182
+ },
183
+ {
184
+ name: 'balance',
185
+ type: 'uint256',
186
+ indexed: false,
261
187
  },
262
188
  ],
263
- name: 'AssetOpportunityRemoved',
189
+ anonymous: false,
264
190
  type: 'event',
265
191
  },
266
192
  {
193
+ stateMutability: 'view',
194
+ type: 'function',
195
+ name: 'getRipeHqFromGov',
196
+ inputs: [],
197
+ outputs: [
198
+ {
199
+ name: '',
200
+ type: 'address',
201
+ },
202
+ ],
203
+ },
204
+ {
205
+ stateMutability: 'view',
206
+ type: 'function',
207
+ name: 'canGovern',
267
208
  inputs: [
268
209
  {
269
- name: '_asset',
210
+ name: '_addr',
270
211
  type: 'address',
271
212
  },
272
213
  ],
273
- name: 'getAssetOpportunities',
274
214
  outputs: [
275
215
  {
276
216
  name: '',
277
- type: 'address[]',
217
+ type: 'bool',
278
218
  },
279
219
  ],
280
- stateMutability: 'view',
281
- type: 'function',
282
220
  },
283
221
  {
222
+ stateMutability: 'view',
223
+ type: 'function',
224
+ name: 'getGovernors',
284
225
  inputs: [],
285
- name: 'getAssets',
286
226
  outputs: [
287
227
  {
288
228
  name: '',
289
229
  type: 'address[]',
290
230
  },
291
231
  ],
232
+ },
233
+ {
292
234
  stateMutability: 'view',
293
235
  type: 'function',
236
+ name: 'hasPendingGovChange',
237
+ inputs: [],
238
+ outputs: [
239
+ {
240
+ name: '',
241
+ type: 'bool',
242
+ },
243
+ ],
294
244
  },
295
245
  {
246
+ stateMutability: 'nonpayable',
247
+ type: 'function',
248
+ name: 'startGovernanceChange',
296
249
  inputs: [
297
250
  {
298
- name: 'arg0',
251
+ name: '_newGov',
299
252
  type: 'address',
300
253
  },
254
+ ],
255
+ outputs: [],
256
+ },
257
+ {
258
+ stateMutability: 'nonpayable',
259
+ type: 'function',
260
+ name: 'confirmGovernanceChange',
261
+ inputs: [],
262
+ outputs: [],
263
+ },
264
+ {
265
+ stateMutability: 'nonpayable',
266
+ type: 'function',
267
+ name: 'cancelGovernanceChange',
268
+ inputs: [],
269
+ outputs: [],
270
+ },
271
+ {
272
+ stateMutability: 'nonpayable',
273
+ type: 'function',
274
+ name: 'relinquishGov',
275
+ inputs: [],
276
+ outputs: [],
277
+ },
278
+ {
279
+ stateMutability: 'nonpayable',
280
+ type: 'function',
281
+ name: 'setGovTimeLock',
282
+ inputs: [
301
283
  {
302
- name: 'arg1',
284
+ name: '_numBlocks',
303
285
  type: 'uint256',
304
286
  },
305
287
  ],
306
- name: 'assetOpportunities',
307
288
  outputs: [
308
289
  {
309
290
  name: '',
310
- type: 'address',
291
+ type: 'bool',
311
292
  },
312
293
  ],
313
- stateMutability: 'view',
314
- type: 'function',
315
294
  },
316
295
  {
296
+ stateMutability: 'view',
297
+ type: 'function',
298
+ name: 'isValidGovTimeLock',
317
299
  inputs: [
318
300
  {
319
- name: 'arg0',
320
- type: 'address',
321
- },
322
- {
323
- name: 'arg1',
324
- type: 'address',
301
+ name: '_newTimeLock',
302
+ type: 'uint256',
325
303
  },
326
304
  ],
327
- name: 'indexOfAssetOpportunity',
328
305
  outputs: [
329
306
  {
330
307
  name: '',
331
- type: 'uint256',
308
+ type: 'bool',
332
309
  },
333
310
  ],
334
- stateMutability: 'view',
335
- type: 'function',
336
311
  },
337
312
  {
338
- inputs: [
313
+ stateMutability: 'view',
314
+ type: 'function',
315
+ name: 'minGovChangeTimeLock',
316
+ inputs: [],
317
+ outputs: [
339
318
  {
340
- name: 'arg0',
341
- type: 'address',
319
+ name: '',
320
+ type: 'uint256',
342
321
  },
343
322
  ],
344
- name: 'numAssetOpportunities',
323
+ },
324
+ {
325
+ stateMutability: 'view',
326
+ type: 'function',
327
+ name: 'maxGovChangeTimeLock',
328
+ inputs: [],
345
329
  outputs: [
346
330
  {
347
331
  name: '',
348
332
  type: 'uint256',
349
333
  },
350
334
  ],
351
- stateMutability: 'view',
352
- type: 'function',
353
335
  },
354
336
  {
337
+ stateMutability: 'nonpayable',
338
+ type: 'function',
339
+ name: 'finishRipeHqSetup',
355
340
  inputs: [
356
341
  {
357
- name: 'arg0',
342
+ name: '_newGov',
358
343
  type: 'address',
359
344
  },
360
345
  ],
361
- name: 'vaultToAsset',
362
346
  outputs: [
363
347
  {
364
348
  name: '',
365
- type: 'address',
349
+ type: 'bool',
366
350
  },
367
351
  ],
368
- stateMutability: 'view',
369
- type: 'function',
370
352
  },
371
353
  {
354
+ stateMutability: 'nonpayable',
355
+ type: 'function',
356
+ name: 'finishRipeHqSetup',
372
357
  inputs: [
373
358
  {
374
- name: 'arg0',
359
+ name: '_newGov',
360
+ type: 'address',
361
+ },
362
+ {
363
+ name: '_timeLock',
375
364
  type: 'uint256',
376
365
  },
377
366
  ],
378
- name: 'assets',
379
367
  outputs: [
380
368
  {
381
369
  name: '',
382
- type: 'address',
370
+ type: 'bool',
383
371
  },
384
372
  ],
385
- stateMutability: 'view',
386
- type: 'function',
387
373
  },
388
374
  {
389
- inputs: [
375
+ stateMutability: 'view',
376
+ type: 'function',
377
+ name: 'governance',
378
+ inputs: [],
379
+ outputs: [
390
380
  {
391
- name: 'arg0',
381
+ name: '',
392
382
  type: 'address',
393
383
  },
394
384
  ],
395
- name: 'indexOfAsset',
385
+ },
386
+ {
387
+ stateMutability: 'view',
388
+ type: 'function',
389
+ name: 'pendingGov',
390
+ inputs: [],
396
391
  outputs: [
397
392
  {
398
393
  name: '',
399
- type: 'uint256',
394
+ type: 'tuple',
395
+ components: [
396
+ {
397
+ name: 'newGov',
398
+ type: 'address',
399
+ },
400
+ {
401
+ name: 'initiatedBlock',
402
+ type: 'uint256',
403
+ },
404
+ {
405
+ name: 'confirmBlock',
406
+ type: 'uint256',
407
+ },
408
+ ],
400
409
  },
401
410
  ],
402
- stateMutability: 'view',
403
- type: 'function',
404
411
  },
405
412
  {
413
+ stateMutability: 'view',
414
+ type: 'function',
415
+ name: 'numGovChanges',
406
416
  inputs: [],
407
- name: 'numAssets',
408
417
  outputs: [
409
418
  {
410
419
  name: '',
411
420
  type: 'uint256',
412
421
  },
413
422
  ],
423
+ },
424
+ {
414
425
  stateMutability: 'view',
415
426
  type: 'function',
427
+ name: 'govChangeTimeLock',
428
+ inputs: [],
429
+ outputs: [
430
+ {
431
+ name: '',
432
+ type: 'uint256',
433
+ },
434
+ ],
416
435
  },
417
436
  {
418
- inputs: [
437
+ stateMutability: 'view',
438
+ type: 'function',
439
+ name: 'getAddys',
440
+ inputs: [],
441
+ outputs: [
419
442
  {
420
- name: '_address',
421
- type: 'address',
443
+ name: '',
444
+ type: 'tuple',
445
+ components: [
446
+ {
447
+ name: 'hq',
448
+ type: 'address',
449
+ },
450
+ {
451
+ name: 'greenToken',
452
+ type: 'address',
453
+ },
454
+ {
455
+ name: 'savingsGreen',
456
+ type: 'address',
457
+ },
458
+ {
459
+ name: 'ripeToken',
460
+ type: 'address',
461
+ },
462
+ {
463
+ name: 'ledger',
464
+ type: 'address',
465
+ },
466
+ {
467
+ name: 'missionControl',
468
+ type: 'address',
469
+ },
470
+ {
471
+ name: 'switchboard',
472
+ type: 'address',
473
+ },
474
+ {
475
+ name: 'priceDesk',
476
+ type: 'address',
477
+ },
478
+ {
479
+ name: 'vaultBook',
480
+ type: 'address',
481
+ },
482
+ {
483
+ name: 'auctionHouse',
484
+ type: 'address',
485
+ },
486
+ {
487
+ name: 'auctionHouseNft',
488
+ type: 'address',
489
+ },
490
+ {
491
+ name: 'boardroom',
492
+ type: 'address',
493
+ },
494
+ {
495
+ name: 'bondRoom',
496
+ type: 'address',
497
+ },
498
+ {
499
+ name: 'creditEngine',
500
+ type: 'address',
501
+ },
502
+ {
503
+ name: 'endaoment',
504
+ type: 'address',
505
+ },
506
+ {
507
+ name: 'humanResources',
508
+ type: 'address',
509
+ },
510
+ {
511
+ name: 'lootbox',
512
+ type: 'address',
513
+ },
514
+ {
515
+ name: 'teller',
516
+ type: 'address',
517
+ },
518
+ ],
422
519
  },
423
520
  ],
424
- name: 'canGovern',
521
+ },
522
+ {
523
+ stateMutability: 'view',
524
+ type: 'function',
525
+ name: 'getRipeHq',
526
+ inputs: [],
425
527
  outputs: [
426
528
  {
427
529
  name: '',
428
- type: 'bool',
530
+ type: 'address',
429
531
  },
430
532
  ],
431
- stateMutability: 'view',
432
- type: 'function',
433
533
  },
434
534
  {
535
+ stateMutability: 'view',
536
+ type: 'function',
537
+ name: 'getPricedAssets',
435
538
  inputs: [],
436
- name: 'hasPendingGovChange',
437
539
  outputs: [
438
540
  {
439
541
  name: '',
440
- type: 'bool',
542
+ type: 'address[]',
441
543
  },
442
544
  ],
443
- stateMutability: 'view',
444
- type: 'function',
445
545
  },
446
546
  {
547
+ stateMutability: 'nonpayable',
548
+ type: 'function',
549
+ name: 'pause',
447
550
  inputs: [
448
551
  {
449
- name: '_newGov',
450
- type: 'address',
552
+ name: '_shouldPause',
553
+ type: 'bool',
451
554
  },
452
555
  ],
453
- name: 'changeGovernance',
454
- outputs: [],
455
- stateMutability: 'nonpayable',
456
- type: 'function',
457
- },
458
- {
459
- inputs: [],
460
- name: 'confirmGovernanceChange',
461
556
  outputs: [],
462
- stateMutability: 'nonpayable',
463
- type: 'function',
464
557
  },
465
558
  {
466
- inputs: [],
467
- name: 'cancelGovernanceChange',
468
- outputs: [],
469
559
  stateMutability: 'nonpayable',
470
560
  type: 'function',
471
- },
472
- {
561
+ name: 'recoverFunds',
473
562
  inputs: [
474
563
  {
475
- name: '_numBlocks',
476
- type: 'uint256',
564
+ name: '_recipient',
565
+ type: 'address',
566
+ },
567
+ {
568
+ name: '_asset',
569
+ type: 'address',
477
570
  },
478
571
  ],
479
- name: 'setGovernanceChangeDelay',
480
572
  outputs: [],
481
- stateMutability: 'nonpayable',
482
- type: 'function',
483
573
  },
484
574
  {
485
- inputs: [],
486
- name: 'governance',
487
- outputs: [
575
+ stateMutability: 'nonpayable',
576
+ type: 'function',
577
+ name: 'recoverFundsMany',
578
+ inputs: [
488
579
  {
489
- name: '',
580
+ name: '_recipient',
490
581
  type: 'address',
491
582
  },
583
+ {
584
+ name: '_assets',
585
+ type: 'address[]',
586
+ },
492
587
  ],
493
- stateMutability: 'view',
494
- type: 'function',
588
+ outputs: [],
495
589
  },
496
590
  {
591
+ stateMutability: 'view',
592
+ type: 'function',
593
+ name: 'isPaused',
497
594
  inputs: [],
498
- name: 'pendingGov',
499
595
  outputs: [
500
596
  {
501
- components: [
502
- {
503
- name: 'newGov',
504
- type: 'address',
505
- },
506
- {
507
- name: 'initiatedBlock',
508
- type: 'uint256',
509
- },
510
- {
511
- name: 'confirmBlock',
512
- type: 'uint256',
513
- },
514
- ],
515
597
  name: '',
516
- type: 'tuple',
598
+ type: 'bool',
517
599
  },
518
600
  ],
519
- stateMutability: 'view',
520
- type: 'function',
521
601
  },
522
602
  {
523
- inputs: [],
524
- name: 'govChangeDelay',
525
- outputs: [
603
+ stateMutability: 'view',
604
+ type: 'function',
605
+ name: 'assets',
606
+ inputs: [
526
607
  {
527
- name: '',
608
+ name: 'arg0',
528
609
  type: 'uint256',
529
610
  },
530
611
  ],
531
- stateMutability: 'view',
532
- type: 'function',
533
- },
534
- {
535
- inputs: [],
536
- name: 'MIN_GOV_CHANGE_DELAY',
537
612
  outputs: [
538
613
  {
539
614
  name: '',
540
- type: 'uint256',
615
+ type: 'address',
541
616
  },
542
617
  ],
543
- stateMutability: 'view',
544
- type: 'function',
545
618
  },
546
619
  {
547
- inputs: [],
548
- name: 'MAX_GOV_CHANGE_DELAY',
620
+ stateMutability: 'view',
621
+ type: 'function',
622
+ name: 'indexOfAsset',
623
+ inputs: [
624
+ {
625
+ name: 'arg0',
626
+ type: 'address',
627
+ },
628
+ ],
549
629
  outputs: [
550
630
  {
551
631
  name: '',
552
632
  type: 'uint256',
553
633
  },
554
634
  ],
555
- stateMutability: 'view',
556
- type: 'function',
557
635
  },
558
636
  {
637
+ stateMutability: 'view',
638
+ type: 'function',
639
+ name: 'numAssets',
559
640
  inputs: [],
560
- name: 'getRegistries',
561
641
  outputs: [
562
642
  {
563
643
  name: '',
564
- type: 'address[]',
644
+ type: 'uint256',
565
645
  },
566
646
  ],
567
- stateMutability: 'view',
568
- type: 'function',
569
647
  },
570
648
  {
649
+ stateMutability: 'view',
650
+ type: 'function',
651
+ name: 'canConfirmAction',
571
652
  inputs: [
572
653
  {
573
- name: '_user',
574
- type: 'address',
654
+ name: '_actionId',
655
+ type: 'uint256',
575
656
  },
576
657
  ],
577
- name: 'getAccessForLego',
578
658
  outputs: [
579
659
  {
580
660
  name: '',
581
- type: 'address',
582
- },
583
- {
584
- name: '',
585
- type: 'string',
586
- },
587
- {
588
- name: '',
589
- type: 'uint256',
661
+ type: 'bool',
590
662
  },
591
663
  ],
592
- stateMutability: 'view',
593
- type: 'function',
594
664
  },
595
665
  {
666
+ stateMutability: 'view',
667
+ type: 'function',
668
+ name: 'isExpired',
596
669
  inputs: [
597
670
  {
598
- name: '_vaultToken',
599
- type: 'address',
671
+ name: '_actionId',
672
+ type: 'uint256',
600
673
  },
601
674
  ],
602
- name: 'isVaultToken',
603
675
  outputs: [
604
676
  {
605
677
  name: '',
606
678
  type: 'bool',
607
679
  },
608
680
  ],
609
- stateMutability: 'view',
610
- type: 'function',
611
681
  },
612
682
  {
683
+ stateMutability: 'view',
684
+ type: 'function',
685
+ name: 'hasPendingAction',
613
686
  inputs: [
614
687
  {
615
- name: '_vaultToken',
616
- type: 'address',
688
+ name: '_actionId',
689
+ type: 'uint256',
617
690
  },
618
691
  ],
619
- name: 'getUnderlyingAsset',
620
692
  outputs: [
621
693
  {
622
694
  name: '',
623
- type: 'address',
695
+ type: 'bool',
624
696
  },
625
697
  ],
626
- stateMutability: 'view',
627
- type: 'function',
628
698
  },
629
699
  {
700
+ stateMutability: 'view',
701
+ type: 'function',
702
+ name: 'getActionConfirmationBlock',
630
703
  inputs: [
631
704
  {
632
- name: '_vaultToken',
633
- type: 'address',
634
- },
635
- {
636
- name: '_vaultTokenAmount',
705
+ name: '_actionId',
637
706
  type: 'uint256',
638
707
  },
639
708
  ],
640
- name: 'getUnderlyingAmount',
641
709
  outputs: [
642
710
  {
643
711
  name: '',
644
712
  type: 'uint256',
645
713
  },
646
714
  ],
647
- stateMutability: 'view',
648
- type: 'function',
649
715
  },
650
716
  {
717
+ stateMutability: 'nonpayable',
718
+ type: 'function',
719
+ name: 'setActionTimeLock',
651
720
  inputs: [
652
721
  {
653
- name: '_asset',
654
- type: 'address',
655
- },
656
- {
657
- name: '_assetAmount',
722
+ name: '_newTimeLock',
658
723
  type: 'uint256',
659
724
  },
660
- {
661
- name: '_vaultToken',
662
- type: 'address',
663
- },
664
725
  ],
665
- name: 'getVaultTokenAmount',
666
726
  outputs: [
667
727
  {
668
728
  name: '',
669
- type: 'uint256',
729
+ type: 'bool',
670
730
  },
671
731
  ],
672
- stateMutability: 'view',
673
- type: 'function',
674
732
  },
675
733
  {
734
+ stateMutability: 'view',
735
+ type: 'function',
736
+ name: 'isValidActionTimeLock',
676
737
  inputs: [
677
738
  {
678
- name: '_vaultToken',
679
- type: 'address',
680
- },
681
- {
682
- name: '_vaultTokenAmount',
739
+ name: '_newTimeLock',
683
740
  type: 'uint256',
684
741
  },
685
742
  ],
686
- name: 'getUsdValueOfVaultToken',
687
743
  outputs: [
688
744
  {
689
745
  name: '',
690
- type: 'uint256',
746
+ type: 'bool',
691
747
  },
692
748
  ],
693
- stateMutability: 'view',
694
- type: 'function',
695
749
  },
696
750
  {
697
- inputs: [
698
- {
699
- name: '_vaultToken',
700
- type: 'address',
701
- },
751
+ stateMutability: 'view',
752
+ type: 'function',
753
+ name: 'minActionTimeLock',
754
+ inputs: [],
755
+ outputs: [
702
756
  {
703
- name: '_vaultTokenAmount',
757
+ name: '',
704
758
  type: 'uint256',
705
759
  },
706
- {
707
- name: '_oracleRegistry',
708
- type: 'address',
709
- },
710
760
  ],
711
- name: 'getUsdValueOfVaultToken',
761
+ },
762
+ {
763
+ stateMutability: 'view',
764
+ type: 'function',
765
+ name: 'maxActionTimeLock',
766
+ inputs: [],
712
767
  outputs: [
713
768
  {
714
769
  name: '',
715
770
  type: 'uint256',
716
771
  },
717
772
  ],
718
- stateMutability: 'view',
719
- type: 'function',
720
773
  },
721
774
  {
775
+ stateMutability: 'nonpayable',
776
+ type: 'function',
777
+ name: 'setExpiration',
722
778
  inputs: [
723
779
  {
724
- name: '_vaultToken',
725
- type: 'address',
726
- },
727
- {
728
- name: '_vaultTokenAmount',
780
+ name: '_expiration',
729
781
  type: 'uint256',
730
782
  },
731
783
  ],
732
- name: 'getUnderlyingData',
733
784
  outputs: [
734
785
  {
735
786
  name: '',
736
- type: 'address',
787
+ type: 'bool',
737
788
  },
789
+ ],
790
+ },
791
+ {
792
+ stateMutability: 'nonpayable',
793
+ type: 'function',
794
+ name: 'setActionTimeLockAfterSetup',
795
+ inputs: [],
796
+ outputs: [
738
797
  {
739
798
  name: '',
799
+ type: 'bool',
800
+ },
801
+ ],
802
+ },
803
+ {
804
+ stateMutability: 'nonpayable',
805
+ type: 'function',
806
+ name: 'setActionTimeLockAfterSetup',
807
+ inputs: [
808
+ {
809
+ name: '_newTimeLock',
740
810
  type: 'uint256',
741
811
  },
812
+ ],
813
+ outputs: [
742
814
  {
743
815
  name: '',
744
- type: 'uint256',
816
+ type: 'bool',
745
817
  },
746
818
  ],
747
- stateMutability: 'view',
748
- type: 'function',
749
819
  },
750
820
  {
821
+ stateMutability: 'view',
822
+ type: 'function',
823
+ name: 'pendingActions',
751
824
  inputs: [
752
825
  {
753
- name: '_vaultToken',
754
- type: 'address',
755
- },
756
- {
757
- name: '_vaultTokenAmount',
826
+ name: 'arg0',
758
827
  type: 'uint256',
759
828
  },
760
- {
761
- name: '_oracleRegistry',
762
- type: 'address',
763
- },
764
829
  ],
765
- name: 'getUnderlyingData',
766
830
  outputs: [
767
831
  {
768
832
  name: '',
769
- type: 'address',
833
+ type: 'tuple',
834
+ components: [
835
+ {
836
+ name: 'initiatedBlock',
837
+ type: 'uint256',
838
+ },
839
+ {
840
+ name: 'confirmBlock',
841
+ type: 'uint256',
842
+ },
843
+ {
844
+ name: 'expiration',
845
+ type: 'uint256',
846
+ },
847
+ ],
770
848
  },
849
+ ],
850
+ },
851
+ {
852
+ stateMutability: 'view',
853
+ type: 'function',
854
+ name: 'actionId',
855
+ inputs: [],
856
+ outputs: [
771
857
  {
772
858
  name: '',
773
859
  type: 'uint256',
774
860
  },
861
+ ],
862
+ },
863
+ {
864
+ stateMutability: 'view',
865
+ type: 'function',
866
+ name: 'actionTimeLock',
867
+ inputs: [],
868
+ outputs: [
775
869
  {
776
870
  name: '',
777
871
  type: 'uint256',
778
872
  },
779
873
  ],
780
- stateMutability: 'view',
781
- type: 'function',
782
874
  },
783
875
  {
784
- inputs: [
785
- {
786
- name: '_vaultToken',
787
- type: 'address',
788
- },
789
- ],
790
- name: 'totalAssets',
876
+ stateMutability: 'view',
877
+ type: 'function',
878
+ name: 'expiration',
879
+ inputs: [],
791
880
  outputs: [
792
881
  {
793
882
  name: '',
794
883
  type: 'uint256',
795
884
  },
796
885
  ],
797
- stateMutability: 'view',
798
- type: 'function',
799
886
  },
800
887
  {
888
+ stateMutability: 'view',
889
+ type: 'function',
890
+ name: 'getPrice',
801
891
  inputs: [
802
892
  {
803
- name: '_vaultToken',
893
+ name: '_asset',
804
894
  type: 'address',
805
895
  },
806
896
  ],
807
- name: 'totalBorrows',
808
897
  outputs: [
809
898
  {
810
899
  name: '',
811
900
  type: 'uint256',
812
901
  },
813
902
  ],
814
- stateMutability: 'view',
815
- type: 'function',
816
903
  },
817
904
  {
905
+ stateMutability: 'view',
906
+ type: 'function',
907
+ name: 'getPrice',
818
908
  inputs: [
819
909
  {
820
910
  name: '_asset',
821
911
  type: 'address',
822
912
  },
823
913
  {
824
- name: '_amount',
914
+ name: '_staleTime',
825
915
  type: 'uint256',
826
916
  },
827
- {
828
- name: '_vault',
829
- type: 'address',
830
- },
831
- {
832
- name: '_recipient',
833
- type: 'address',
834
- },
835
917
  ],
836
- name: 'depositTokens',
837
918
  outputs: [
838
919
  {
839
920
  name: '',
840
921
  type: 'uint256',
841
922
  },
842
- {
843
- name: '',
844
- type: 'address',
845
- },
846
- {
847
- name: '',
848
- type: 'uint256',
849
- },
850
- {
851
- name: '',
852
- type: 'uint256',
853
- },
854
- {
855
- name: '',
856
- type: 'uint256',
857
- },
858
923
  ],
859
- stateMutability: 'nonpayable',
860
- type: 'function',
861
924
  },
862
925
  {
926
+ stateMutability: 'view',
927
+ type: 'function',
928
+ name: 'getPrice',
863
929
  inputs: [
864
930
  {
865
931
  name: '_asset',
866
932
  type: 'address',
867
933
  },
868
934
  {
869
- name: '_amount',
935
+ name: '_staleTime',
870
936
  type: 'uint256',
871
937
  },
872
938
  {
873
- name: '_vault',
874
- type: 'address',
875
- },
876
- {
877
- name: '_recipient',
878
- type: 'address',
879
- },
880
- {
881
- name: '_oracleRegistry',
939
+ name: '_priceDesk',
882
940
  type: 'address',
883
941
  },
884
942
  ],
885
- name: 'depositTokens',
886
943
  outputs: [
887
944
  {
888
945
  name: '',
889
946
  type: 'uint256',
890
947
  },
948
+ ],
949
+ },
950
+ {
951
+ stateMutability: 'view',
952
+ type: 'function',
953
+ name: 'getPriceAndHasFeed',
954
+ inputs: [
891
955
  {
892
- name: '',
956
+ name: '_asset',
893
957
  type: 'address',
894
958
  },
959
+ ],
960
+ outputs: [
895
961
  {
896
962
  name: '',
897
963
  type: 'uint256',
898
964
  },
899
965
  {
900
966
  name: '',
901
- type: 'uint256',
902
- },
903
- {
904
- name: '',
905
- type: 'uint256',
967
+ type: 'bool',
906
968
  },
907
969
  ],
908
- stateMutability: 'nonpayable',
909
- type: 'function',
910
970
  },
911
971
  {
972
+ stateMutability: 'view',
973
+ type: 'function',
974
+ name: 'getPriceAndHasFeed',
912
975
  inputs: [
913
976
  {
914
977
  name: '_asset',
915
978
  type: 'address',
916
979
  },
917
980
  {
918
- name: '_amount',
981
+ name: '_staleTime',
919
982
  type: 'uint256',
920
983
  },
921
- {
922
- name: '_vaultToken',
923
- type: 'address',
924
- },
925
- {
926
- name: '_recipient',
927
- type: 'address',
928
- },
929
984
  ],
930
- name: 'withdrawTokens',
931
985
  outputs: [
932
986
  {
933
987
  name: '',
@@ -935,44 +989,28 @@ export const abi = [
935
989
  },
936
990
  {
937
991
  name: '',
938
- type: 'uint256',
939
- },
940
- {
941
- name: '',
942
- type: 'uint256',
943
- },
944
- {
945
- name: '',
946
- type: 'uint256',
992
+ type: 'bool',
947
993
  },
948
994
  ],
949
- stateMutability: 'nonpayable',
950
- type: 'function',
951
995
  },
952
996
  {
997
+ stateMutability: 'view',
998
+ type: 'function',
999
+ name: 'getPriceAndHasFeed',
953
1000
  inputs: [
954
1001
  {
955
1002
  name: '_asset',
956
1003
  type: 'address',
957
1004
  },
958
1005
  {
959
- name: '_amount',
1006
+ name: '_staleTime',
960
1007
  type: 'uint256',
961
1008
  },
962
1009
  {
963
- name: '_vaultToken',
964
- type: 'address',
965
- },
966
- {
967
- name: '_recipient',
968
- type: 'address',
969
- },
970
- {
971
- name: '_oracleRegistry',
1010
+ name: '_priceDesk',
972
1011
  type: 'address',
973
1012
  },
974
1013
  ],
975
- name: 'withdrawTokens',
976
1014
  outputs: [
977
1015
  {
978
1016
  name: '',
@@ -980,272 +1018,238 @@ export const abi = [
980
1018
  },
981
1019
  {
982
1020
  name: '',
983
- type: 'uint256',
984
- },
985
- {
986
- name: '',
987
- type: 'uint256',
988
- },
989
- {
990
- name: '',
991
- type: 'uint256',
1021
+ type: 'bool',
992
1022
  },
993
1023
  ],
994
- stateMutability: 'nonpayable',
995
- type: 'function',
996
1024
  },
997
1025
  {
1026
+ stateMutability: 'view',
1027
+ type: 'function',
1028
+ name: 'hasPriceFeed',
998
1029
  inputs: [
999
1030
  {
1000
- name: '_user',
1001
- type: 'address',
1002
- },
1003
- {
1004
- name: '_market',
1005
- type: 'address',
1006
- },
1007
- {
1008
- name: '_rewardToken',
1031
+ name: '_asset',
1009
1032
  type: 'address',
1010
1033
  },
1034
+ ],
1035
+ outputs: [
1011
1036
  {
1012
- name: '_rewardAmount',
1013
- type: 'uint256',
1014
- },
1015
- {
1016
- name: '_proof',
1017
- type: 'bytes32',
1037
+ name: '',
1038
+ type: 'bool',
1018
1039
  },
1019
1040
  ],
1020
- name: 'claimRewards',
1021
- outputs: [],
1022
- stateMutability: 'nonpayable',
1023
- type: 'function',
1024
1041
  },
1025
1042
  {
1043
+ stateMutability: 'view',
1044
+ type: 'function',
1045
+ name: 'hasPendingPriceFeedUpdate',
1026
1046
  inputs: [
1027
1047
  {
1028
- name: '_user',
1048
+ name: '_asset',
1029
1049
  type: 'address',
1030
1050
  },
1031
1051
  ],
1032
- name: 'hasClaimableRewards',
1033
1052
  outputs: [
1034
1053
  {
1035
1054
  name: '',
1036
1055
  type: 'bool',
1037
1056
  },
1038
1057
  ],
1039
- stateMutability: 'view',
1040
- type: 'function',
1041
1058
  },
1042
1059
  {
1060
+ stateMutability: 'nonpayable',
1061
+ type: 'function',
1062
+ name: 'confirmNewPriceFeed',
1043
1063
  inputs: [
1044
1064
  {
1045
- name: '_addr',
1065
+ name: '_asset',
1046
1066
  type: 'address',
1047
1067
  },
1048
1068
  ],
1049
- name: 'setMorphoRewardsAddr',
1050
1069
  outputs: [
1051
1070
  {
1052
1071
  name: '',
1053
1072
  type: 'bool',
1054
1073
  },
1055
1074
  ],
1056
- stateMutability: 'nonpayable',
1057
- type: 'function',
1058
1075
  },
1059
1076
  {
1077
+ stateMutability: 'nonpayable',
1078
+ type: 'function',
1079
+ name: 'cancelNewPendingPriceFeed',
1060
1080
  inputs: [
1061
1081
  {
1062
1082
  name: '_asset',
1063
1083
  type: 'address',
1064
1084
  },
1065
- {
1066
- name: '_vault',
1067
- type: 'address',
1068
- },
1069
1085
  ],
1070
- name: 'addAssetOpportunity',
1071
1086
  outputs: [
1072
1087
  {
1073
1088
  name: '',
1074
1089
  type: 'bool',
1075
1090
  },
1076
1091
  ],
1077
- stateMutability: 'nonpayable',
1078
- type: 'function',
1079
1092
  },
1080
1093
  {
1094
+ stateMutability: 'nonpayable',
1095
+ type: 'function',
1096
+ name: 'confirmPriceFeedUpdate',
1081
1097
  inputs: [
1082
1098
  {
1083
1099
  name: '_asset',
1084
1100
  type: 'address',
1085
1101
  },
1086
- {
1087
- name: '_vault',
1088
- type: 'address',
1089
- },
1090
1102
  ],
1091
- name: 'removeAssetOpportunity',
1092
1103
  outputs: [
1093
1104
  {
1094
1105
  name: '',
1095
1106
  type: 'bool',
1096
1107
  },
1097
1108
  ],
1098
- stateMutability: 'nonpayable',
1099
- type: 'function',
1100
1109
  },
1101
1110
  {
1111
+ stateMutability: 'nonpayable',
1112
+ type: 'function',
1113
+ name: 'cancelPriceFeedUpdate',
1102
1114
  inputs: [
1103
1115
  {
1104
1116
  name: '_asset',
1105
1117
  type: 'address',
1106
1118
  },
1107
- {
1108
- name: '_recipient',
1109
- type: 'address',
1110
- },
1111
1119
  ],
1112
- name: 'recoverFunds',
1113
1120
  outputs: [
1114
1121
  {
1115
1122
  name: '',
1116
1123
  type: 'bool',
1117
1124
  },
1118
1125
  ],
1119
- stateMutability: 'nonpayable',
1120
- type: 'function',
1121
1126
  },
1122
1127
  {
1128
+ stateMutability: 'nonpayable',
1129
+ type: 'function',
1130
+ name: 'confirmDisablePriceFeed',
1123
1131
  inputs: [
1124
1132
  {
1125
- name: '_legoId',
1126
- type: 'uint256',
1133
+ name: '_asset',
1134
+ type: 'address',
1127
1135
  },
1128
1136
  ],
1129
- name: 'setLegoId',
1130
1137
  outputs: [
1131
1138
  {
1132
1139
  name: '',
1133
1140
  type: 'bool',
1134
1141
  },
1135
1142
  ],
1136
- stateMutability: 'nonpayable',
1137
- type: 'function',
1138
1143
  },
1139
1144
  {
1145
+ stateMutability: 'nonpayable',
1146
+ type: 'function',
1147
+ name: 'cancelDisablePriceFeed',
1140
1148
  inputs: [
1141
1149
  {
1142
- name: '_shouldActivate',
1143
- type: 'bool',
1150
+ name: '_asset',
1151
+ type: 'address',
1144
1152
  },
1145
1153
  ],
1146
- name: 'activate',
1147
- outputs: [],
1148
- stateMutability: 'nonpayable',
1149
- type: 'function',
1150
- },
1151
- {
1152
- inputs: [],
1153
- name: 'morphoRewards',
1154
1154
  outputs: [
1155
1155
  {
1156
1156
  name: '',
1157
- type: 'address',
1157
+ type: 'bool',
1158
1158
  },
1159
1159
  ],
1160
- stateMutability: 'view',
1161
- type: 'function',
1162
1160
  },
1163
1161
  {
1164
- inputs: [],
1165
- name: 'MORPHO_FACTORY',
1166
- outputs: [
1162
+ stateMutability: 'nonpayable',
1163
+ type: 'function',
1164
+ name: 'addPriceSnapshot',
1165
+ inputs: [
1167
1166
  {
1168
- name: '',
1167
+ name: '_asset',
1169
1168
  type: 'address',
1170
1169
  },
1171
1170
  ],
1172
- stateMutability: 'view',
1173
- type: 'function',
1174
- },
1175
- {
1176
- inputs: [],
1177
- name: 'MORPHO_FACTORY_LEGACY',
1178
1171
  outputs: [
1179
1172
  {
1180
1173
  name: '',
1181
- type: 'address',
1174
+ type: 'bool',
1182
1175
  },
1183
1176
  ],
1184
- stateMutability: 'view',
1185
- type: 'function',
1186
1177
  },
1187
1178
  {
1188
- inputs: [],
1189
- name: 'legoId',
1179
+ stateMutability: 'nonpayable',
1180
+ type: 'function',
1181
+ name: 'disablePriceFeed',
1182
+ inputs: [
1183
+ {
1184
+ name: '_asset',
1185
+ type: 'address',
1186
+ },
1187
+ ],
1190
1188
  outputs: [
1191
1189
  {
1192
1190
  name: '',
1193
- type: 'uint256',
1191
+ type: 'bool',
1194
1192
  },
1195
1193
  ],
1196
- stateMutability: 'view',
1197
- type: 'function',
1198
1194
  },
1199
1195
  {
1196
+ stateMutability: 'view',
1197
+ type: 'function',
1198
+ name: 'SUPER_OETH',
1200
1199
  inputs: [],
1201
- name: 'isActivated',
1202
1200
  outputs: [
1203
1201
  {
1204
1202
  name: '',
1205
- type: 'bool',
1203
+ type: 'address',
1206
1204
  },
1207
1205
  ],
1208
- stateMutability: 'view',
1209
- type: 'function',
1210
1206
  },
1211
1207
  {
1208
+ stateMutability: 'view',
1209
+ type: 'function',
1210
+ name: 'WRAPPED_SUPER_OETH',
1212
1211
  inputs: [],
1213
- name: 'ADDY_REGISTRY',
1214
1212
  outputs: [
1215
1213
  {
1216
1214
  name: '',
1217
1215
  type: 'address',
1218
1216
  },
1219
1217
  ],
1220
- stateMutability: 'view',
1221
- type: 'function',
1222
1218
  },
1223
1219
  {
1220
+ stateMutability: 'nonpayable',
1221
+ type: 'constructor',
1224
1222
  inputs: [
1225
1223
  {
1226
- name: '_morphoFactory',
1224
+ name: '_ripeHq',
1227
1225
  type: 'address',
1228
1226
  },
1229
1227
  {
1230
- name: '_morphoFactoryLegacy',
1228
+ name: '_superOETH',
1231
1229
  type: 'address',
1232
1230
  },
1233
1231
  {
1234
- name: '_addyRegistry',
1232
+ name: '_wrappedSuperOETH',
1235
1233
  type: 'address',
1236
1234
  },
1235
+ {
1236
+ name: '_minPriceChangeTimeLock',
1237
+ type: 'uint256',
1238
+ },
1239
+ {
1240
+ name: '_maxPriceChangeTimeLock',
1241
+ type: 'uint256',
1242
+ },
1237
1243
  ],
1238
1244
  outputs: [],
1239
- stateMutability: 'nonpayable',
1240
- type: 'constructor',
1241
1245
  },
1242
1246
  ];
1243
- export const deployAddress = '0x825309418B066603C2732fdA08d39A79CAA5CC8e';
1247
+ export const deployAddress = '0x2606Ce36b62a77562DF664E7a0009805BB254F3f';
1244
1248
  function getRequest(method, args, contractAddressOrOptions) {
1245
1249
  const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
1246
1250
  const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
1247
1251
  const call = {
1248
- contractName: 'LegoMorpho',
1252
+ contractName: 'wsuperOETHbPrices',
1249
1253
  method,
1250
1254
  args,
1251
1255
  address,
@@ -1269,43 +1273,45 @@ function getRequest(method, args, contractAddressOrOptions) {
1269
1273
  return call;
1270
1274
  }
1271
1275
  export const call = {
1272
- getAssetOpportunities: (...args) => getRequest('getAssetOpportunities', args),
1273
- getAssets: (...args) => getRequest('getAssets', args),
1274
- assetOpportunities: (...args) => getRequest('assetOpportunities', args),
1275
- indexOfAssetOpportunity: (...args) => getRequest('indexOfAssetOpportunity', args),
1276
- numAssetOpportunities: (...args) => getRequest('numAssetOpportunities', args),
1277
- vaultToAsset: (...args) => getRequest('vaultToAsset', args),
1278
- assets: (...args) => getRequest('assets', args),
1279
- indexOfAsset: (...args) => getRequest('indexOfAsset', args),
1280
- numAssets: (...args) => getRequest('numAssets', args),
1276
+ getRipeHqFromGov: (...args) => getRequest('getRipeHqFromGov', args),
1281
1277
  canGovern: (...args) => getRequest('canGovern', args),
1278
+ getGovernors: (...args) => getRequest('getGovernors', args),
1282
1279
  hasPendingGovChange: (...args) => getRequest('hasPendingGovChange', args),
1280
+ isValidGovTimeLock: (...args) => getRequest('isValidGovTimeLock', args),
1281
+ minGovChangeTimeLock: (...args) => getRequest('minGovChangeTimeLock', args),
1282
+ maxGovChangeTimeLock: (...args) => getRequest('maxGovChangeTimeLock', args),
1283
1283
  governance: (...args) => getRequest('governance', args),
1284
1284
  pendingGov: (...args) => getRequest('pendingGov', args),
1285
- govChangeDelay: (...args) => getRequest('govChangeDelay', args),
1286
- MIN_GOV_CHANGE_DELAY: (...args) => getRequest('MIN_GOV_CHANGE_DELAY', args),
1287
- MAX_GOV_CHANGE_DELAY: (...args) => getRequest('MAX_GOV_CHANGE_DELAY', args),
1288
- getRegistries: (...args) => getRequest('getRegistries', args),
1289
- getAccessForLego: (...args) => getRequest('getAccessForLego', args),
1290
- isVaultToken: (...args) => getRequest('isVaultToken', args),
1291
- getUnderlyingAsset: (...args) => getRequest('getUnderlyingAsset', args),
1292
- getUnderlyingAmount: (...args) => getRequest('getUnderlyingAmount', args),
1293
- getVaultTokenAmount: (...args) => getRequest('getVaultTokenAmount', args),
1294
- getUsdValueOfVaultToken: (...args) => getRequest('getUsdValueOfVaultToken', args),
1295
- getUnderlyingData: (...args) => getRequest('getUnderlyingData', args),
1296
- totalAssets: (...args) => getRequest('totalAssets', args),
1297
- totalBorrows: (...args) => getRequest('totalBorrows', args),
1298
- hasClaimableRewards: (...args) => getRequest('hasClaimableRewards', args),
1299
- morphoRewards: (...args) => getRequest('morphoRewards', args),
1300
- MORPHO_FACTORY: (...args) => getRequest('MORPHO_FACTORY', args),
1301
- MORPHO_FACTORY_LEGACY: (...args) => getRequest('MORPHO_FACTORY_LEGACY', args),
1302
- legoId: (...args) => getRequest('legoId', args),
1303
- isActivated: (...args) => getRequest('isActivated', args),
1304
- ADDY_REGISTRY: (...args) => getRequest('ADDY_REGISTRY', args),
1285
+ numGovChanges: (...args) => getRequest('numGovChanges', args),
1286
+ govChangeTimeLock: (...args) => getRequest('govChangeTimeLock', args),
1287
+ getAddys: (...args) => getRequest('getAddys', args),
1288
+ getRipeHq: (...args) => getRequest('getRipeHq', args),
1289
+ getPricedAssets: (...args) => getRequest('getPricedAssets', args),
1290
+ isPaused: (...args) => getRequest('isPaused', args),
1291
+ assets: (...args) => getRequest('assets', args),
1292
+ indexOfAsset: (...args) => getRequest('indexOfAsset', args),
1293
+ numAssets: (...args) => getRequest('numAssets', args),
1294
+ canConfirmAction: (...args) => getRequest('canConfirmAction', args),
1295
+ isExpired: (...args) => getRequest('isExpired', args),
1296
+ hasPendingAction: (...args) => getRequest('hasPendingAction', args),
1297
+ getActionConfirmationBlock: (...args) => getRequest('getActionConfirmationBlock', args),
1298
+ isValidActionTimeLock: (...args) => getRequest('isValidActionTimeLock', args),
1299
+ minActionTimeLock: (...args) => getRequest('minActionTimeLock', args),
1300
+ maxActionTimeLock: (...args) => getRequest('maxActionTimeLock', args),
1301
+ pendingActions: (...args) => getRequest('pendingActions', args),
1302
+ actionId: (...args) => getRequest('actionId', args),
1303
+ actionTimeLock: (...args) => getRequest('actionTimeLock', args),
1304
+ expiration: (...args) => getRequest('expiration', args),
1305
+ getPrice: (...args) => getRequest('getPrice', args),
1306
+ getPriceAndHasFeed: (...args) => getRequest('getPriceAndHasFeed', args),
1307
+ hasPriceFeed: (...args) => getRequest('hasPriceFeed', args),
1308
+ hasPendingPriceFeedUpdate: (...args) => getRequest('hasPendingPriceFeedUpdate', args),
1309
+ SUPER_OETH: (...args) => getRequest('SUPER_OETH', args),
1310
+ WRAPPED_SUPER_OETH: (...args) => getRequest('WRAPPED_SUPER_OETH', args),
1305
1311
  };
1306
1312
  function getMutation(functionName) {
1307
1313
  return {
1308
- contractName: 'LegoMorpho',
1314
+ contractName: 'wsuperOETHbPrices',
1309
1315
  functionName,
1310
1316
  deployAddress,
1311
1317
  argsType: undefined,
@@ -1313,71 +1319,87 @@ function getMutation(functionName) {
1313
1319
  };
1314
1320
  }
1315
1321
  export const mutation = {
1316
- changeGovernance: getMutation('changeGovernance'),
1322
+ startGovernanceChange: getMutation('startGovernanceChange'),
1317
1323
  confirmGovernanceChange: getMutation('confirmGovernanceChange'),
1318
1324
  cancelGovernanceChange: getMutation('cancelGovernanceChange'),
1319
- setGovernanceChangeDelay: getMutation('setGovernanceChangeDelay'),
1320
- depositTokens: getMutation('depositTokens'),
1321
- withdrawTokens: getMutation('withdrawTokens'),
1322
- claimRewards: getMutation('claimRewards'),
1323
- setMorphoRewardsAddr: getMutation('setMorphoRewardsAddr'),
1324
- addAssetOpportunity: getMutation('addAssetOpportunity'),
1325
- removeAssetOpportunity: getMutation('removeAssetOpportunity'),
1325
+ relinquishGov: getMutation('relinquishGov'),
1326
+ setGovTimeLock: getMutation('setGovTimeLock'),
1327
+ finishRipeHqSetup: getMutation('finishRipeHqSetup'),
1328
+ pause: getMutation('pause'),
1326
1329
  recoverFunds: getMutation('recoverFunds'),
1327
- setLegoId: getMutation('setLegoId'),
1328
- activate: getMutation('activate'),
1330
+ recoverFundsMany: getMutation('recoverFundsMany'),
1331
+ setActionTimeLock: getMutation('setActionTimeLock'),
1332
+ setExpiration: getMutation('setExpiration'),
1333
+ setActionTimeLockAfterSetup: getMutation('setActionTimeLockAfterSetup'),
1334
+ confirmNewPriceFeed: getMutation('confirmNewPriceFeed'),
1335
+ cancelNewPendingPriceFeed: getMutation('cancelNewPendingPriceFeed'),
1336
+ confirmPriceFeedUpdate: getMutation('confirmPriceFeedUpdate'),
1337
+ cancelPriceFeedUpdate: getMutation('cancelPriceFeedUpdate'),
1338
+ confirmDisablePriceFeed: getMutation('confirmDisablePriceFeed'),
1339
+ cancelDisablePriceFeed: getMutation('cancelDisablePriceFeed'),
1340
+ addPriceSnapshot: getMutation('addPriceSnapshot'),
1341
+ disablePriceFeed: getMutation('disablePriceFeed'),
1329
1342
  };
1330
1343
  export function toSdk(publicClient, walletClient) {
1331
1344
  return {
1332
1345
  deployAddress,
1333
1346
  abi,
1334
1347
  // Queries
1335
- getAssetOpportunities: (...args) => singleQuery(publicClient, call.getAssetOpportunities(...args)),
1336
- getAssets: (...args) => singleQuery(publicClient, call.getAssets(...args)),
1337
- assetOpportunities: (...args) => singleQuery(publicClient, call.assetOpportunities(...args)),
1338
- indexOfAssetOpportunity: (...args) => singleQuery(publicClient, call.indexOfAssetOpportunity(...args)),
1339
- numAssetOpportunities: (...args) => singleQuery(publicClient, call.numAssetOpportunities(...args)),
1340
- vaultToAsset: (...args) => singleQuery(publicClient, call.vaultToAsset(...args)),
1341
- assets: (...args) => singleQuery(publicClient, call.assets(...args)),
1342
- indexOfAsset: (...args) => singleQuery(publicClient, call.indexOfAsset(...args)),
1343
- numAssets: (...args) => singleQuery(publicClient, call.numAssets(...args)),
1348
+ getRipeHqFromGov: (...args) => singleQuery(publicClient, call.getRipeHqFromGov(...args)),
1344
1349
  canGovern: (...args) => singleQuery(publicClient, call.canGovern(...args)),
1350
+ getGovernors: (...args) => singleQuery(publicClient, call.getGovernors(...args)),
1345
1351
  hasPendingGovChange: (...args) => singleQuery(publicClient, call.hasPendingGovChange(...args)),
1352
+ isValidGovTimeLock: (...args) => singleQuery(publicClient, call.isValidGovTimeLock(...args)),
1353
+ minGovChangeTimeLock: (...args) => singleQuery(publicClient, call.minGovChangeTimeLock(...args)),
1354
+ maxGovChangeTimeLock: (...args) => singleQuery(publicClient, call.maxGovChangeTimeLock(...args)),
1346
1355
  governance: (...args) => singleQuery(publicClient, call.governance(...args)),
1347
1356
  pendingGov: (...args) => singleQuery(publicClient, call.pendingGov(...args)),
1348
- govChangeDelay: (...args) => singleQuery(publicClient, call.govChangeDelay(...args)),
1349
- MIN_GOV_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MIN_GOV_CHANGE_DELAY(...args)),
1350
- MAX_GOV_CHANGE_DELAY: (...args) => singleQuery(publicClient, call.MAX_GOV_CHANGE_DELAY(...args)),
1351
- getRegistries: (...args) => singleQuery(publicClient, call.getRegistries(...args)),
1352
- getAccessForLego: (...args) => singleQuery(publicClient, call.getAccessForLego(...args)),
1353
- isVaultToken: (...args) => singleQuery(publicClient, call.isVaultToken(...args)),
1354
- getUnderlyingAsset: (...args) => singleQuery(publicClient, call.getUnderlyingAsset(...args)),
1355
- getUnderlyingAmount: (...args) => singleQuery(publicClient, call.getUnderlyingAmount(...args)),
1356
- getVaultTokenAmount: (...args) => singleQuery(publicClient, call.getVaultTokenAmount(...args)),
1357
- getUsdValueOfVaultToken: (...args) => singleQuery(publicClient, call.getUsdValueOfVaultToken(...args)),
1358
- getUnderlyingData: (...args) => singleQuery(publicClient, call.getUnderlyingData(...args)),
1359
- totalAssets: (...args) => singleQuery(publicClient, call.totalAssets(...args)),
1360
- totalBorrows: (...args) => singleQuery(publicClient, call.totalBorrows(...args)),
1361
- hasClaimableRewards: (...args) => singleQuery(publicClient, call.hasClaimableRewards(...args)),
1362
- morphoRewards: (...args) => singleQuery(publicClient, call.morphoRewards(...args)),
1363
- MORPHO_FACTORY: (...args) => singleQuery(publicClient, call.MORPHO_FACTORY(...args)),
1364
- MORPHO_FACTORY_LEGACY: (...args) => singleQuery(publicClient, call.MORPHO_FACTORY_LEGACY(...args)),
1365
- legoId: (...args) => singleQuery(publicClient, call.legoId(...args)),
1366
- isActivated: (...args) => singleQuery(publicClient, call.isActivated(...args)),
1367
- ADDY_REGISTRY: (...args) => singleQuery(publicClient, call.ADDY_REGISTRY(...args)),
1357
+ numGovChanges: (...args) => singleQuery(publicClient, call.numGovChanges(...args)),
1358
+ govChangeTimeLock: (...args) => singleQuery(publicClient, call.govChangeTimeLock(...args)),
1359
+ getAddys: (...args) => singleQuery(publicClient, call.getAddys(...args)),
1360
+ getRipeHq: (...args) => singleQuery(publicClient, call.getRipeHq(...args)),
1361
+ getPricedAssets: (...args) => singleQuery(publicClient, call.getPricedAssets(...args)),
1362
+ isPaused: (...args) => singleQuery(publicClient, call.isPaused(...args)),
1363
+ assets: (...args) => singleQuery(publicClient, call.assets(...args)),
1364
+ indexOfAsset: (...args) => singleQuery(publicClient, call.indexOfAsset(...args)),
1365
+ numAssets: (...args) => singleQuery(publicClient, call.numAssets(...args)),
1366
+ canConfirmAction: (...args) => singleQuery(publicClient, call.canConfirmAction(...args)),
1367
+ isExpired: (...args) => singleQuery(publicClient, call.isExpired(...args)),
1368
+ hasPendingAction: (...args) => singleQuery(publicClient, call.hasPendingAction(...args)),
1369
+ getActionConfirmationBlock: (...args) => singleQuery(publicClient, call.getActionConfirmationBlock(...args)),
1370
+ isValidActionTimeLock: (...args) => singleQuery(publicClient, call.isValidActionTimeLock(...args)),
1371
+ minActionTimeLock: (...args) => singleQuery(publicClient, call.minActionTimeLock(...args)),
1372
+ maxActionTimeLock: (...args) => singleQuery(publicClient, call.maxActionTimeLock(...args)),
1373
+ pendingActions: (...args) => singleQuery(publicClient, call.pendingActions(...args)),
1374
+ actionId: (...args) => singleQuery(publicClient, call.actionId(...args)),
1375
+ actionTimeLock: (...args) => singleQuery(publicClient, call.actionTimeLock(...args)),
1376
+ expiration: (...args) => singleQuery(publicClient, call.expiration(...args)),
1377
+ getPrice: (...args) => singleQuery(publicClient, call.getPrice(...args)),
1378
+ getPriceAndHasFeed: (...args) => singleQuery(publicClient, call.getPriceAndHasFeed(...args)),
1379
+ hasPriceFeed: (...args) => singleQuery(publicClient, call.hasPriceFeed(...args)),
1380
+ hasPendingPriceFeedUpdate: (...args) => singleQuery(publicClient, call.hasPendingPriceFeedUpdate(...args)),
1381
+ SUPER_OETH: (...args) => singleQuery(publicClient, call.SUPER_OETH(...args)),
1382
+ WRAPPED_SUPER_OETH: (...args) => singleQuery(publicClient, call.WRAPPED_SUPER_OETH(...args)),
1368
1383
  // Mutations
1369
- changeGovernance: (...args) => mutate(walletClient, mutation.changeGovernance)(...args),
1384
+ startGovernanceChange: (...args) => mutate(walletClient, mutation.startGovernanceChange)(...args),
1370
1385
  confirmGovernanceChange: (...args) => mutate(walletClient, mutation.confirmGovernanceChange)(...args),
1371
1386
  cancelGovernanceChange: (...args) => mutate(walletClient, mutation.cancelGovernanceChange)(...args),
1372
- setGovernanceChangeDelay: (...args) => mutate(walletClient, mutation.setGovernanceChangeDelay)(...args),
1373
- depositTokens: (...args) => mutate(walletClient, mutation.depositTokens)(...args),
1374
- withdrawTokens: (...args) => mutate(walletClient, mutation.withdrawTokens)(...args),
1375
- claimRewards: (...args) => mutate(walletClient, mutation.claimRewards)(...args),
1376
- setMorphoRewardsAddr: (...args) => mutate(walletClient, mutation.setMorphoRewardsAddr)(...args),
1377
- addAssetOpportunity: (...args) => mutate(walletClient, mutation.addAssetOpportunity)(...args),
1378
- removeAssetOpportunity: (...args) => mutate(walletClient, mutation.removeAssetOpportunity)(...args),
1387
+ relinquishGov: (...args) => mutate(walletClient, mutation.relinquishGov)(...args),
1388
+ setGovTimeLock: (...args) => mutate(walletClient, mutation.setGovTimeLock)(...args),
1389
+ finishRipeHqSetup: (...args) => mutate(walletClient, mutation.finishRipeHqSetup)(...args),
1390
+ pause: (...args) => mutate(walletClient, mutation.pause)(...args),
1379
1391
  recoverFunds: (...args) => mutate(walletClient, mutation.recoverFunds)(...args),
1380
- setLegoId: (...args) => mutate(walletClient, mutation.setLegoId)(...args),
1381
- activate: (...args) => mutate(walletClient, mutation.activate)(...args),
1392
+ recoverFundsMany: (...args) => mutate(walletClient, mutation.recoverFundsMany)(...args),
1393
+ setActionTimeLock: (...args) => mutate(walletClient, mutation.setActionTimeLock)(...args),
1394
+ setExpiration: (...args) => mutate(walletClient, mutation.setExpiration)(...args),
1395
+ setActionTimeLockAfterSetup: (...args) => mutate(walletClient, mutation.setActionTimeLockAfterSetup)(...args),
1396
+ confirmNewPriceFeed: (...args) => mutate(walletClient, mutation.confirmNewPriceFeed)(...args),
1397
+ cancelNewPendingPriceFeed: (...args) => mutate(walletClient, mutation.cancelNewPendingPriceFeed)(...args),
1398
+ confirmPriceFeedUpdate: (...args) => mutate(walletClient, mutation.confirmPriceFeedUpdate)(...args),
1399
+ cancelPriceFeedUpdate: (...args) => mutate(walletClient, mutation.cancelPriceFeedUpdate)(...args),
1400
+ confirmDisablePriceFeed: (...args) => mutate(walletClient, mutation.confirmDisablePriceFeed)(...args),
1401
+ cancelDisablePriceFeed: (...args) => mutate(walletClient, mutation.cancelDisablePriceFeed)(...args),
1402
+ addPriceSnapshot: (...args) => mutate(walletClient, mutation.addPriceSnapshot)(...args),
1403
+ disablePriceFeed: (...args) => mutate(walletClient, mutation.disablePriceFeed)(...args),
1382
1404
  };
1383
1405
  }