@lidofinance/lsv-cli 1.7.0 → 1.9.0

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 (202) hide show
  1. package/README.md +9 -1
  2. package/dist/abi/defi-wrapper/GenericStrategy.d.ts +308 -0
  3. package/dist/abi/defi-wrapper/GenericStrategy.js +409 -0
  4. package/dist/abi/defi-wrapper/GenericStrategy.js.map +1 -0
  5. package/dist/abi/defi-wrapper/MellowStrategy.d.ts +429 -0
  6. package/dist/abi/defi-wrapper/MellowStrategy.js +892 -0
  7. package/dist/abi/defi-wrapper/MellowStrategy.js.map +1 -0
  8. package/dist/abi/defi-wrapper/index.d.ts +2 -0
  9. package/dist/abi/defi-wrapper/index.js +2 -0
  10. package/dist/abi/defi-wrapper/index.js.map +1 -1
  11. package/dist/abi/defi-wrapper/sources.d.ts +103 -0
  12. package/dist/abi/defi-wrapper/sources.js +104 -0
  13. package/dist/abi/defi-wrapper/sources.js.map +1 -0
  14. package/dist/configs/constants.d.ts +7 -1
  15. package/dist/configs/deployed.d.ts +5 -0
  16. package/dist/configs/deployed.js +20 -2
  17. package/dist/configs/deployed.js.map +1 -1
  18. package/dist/configs/envs.js +2 -0
  19. package/dist/configs/envs.js.map +1 -1
  20. package/dist/contracts/defi-wrapper/generic-strategy.d.ts +5 -0
  21. package/dist/contracts/defi-wrapper/generic-strategy.js +12 -0
  22. package/dist/contracts/defi-wrapper/generic-strategy.js.map +1 -0
  23. package/dist/contracts/defi-wrapper/index.d.ts +1 -0
  24. package/dist/contracts/defi-wrapper/index.js +1 -0
  25. package/dist/contracts/defi-wrapper/index.js.map +1 -1
  26. package/dist/features/defi-wrapper/defi-wrapper-factory.d.ts +3 -0
  27. package/dist/features/defi-wrapper/defi-wrapper-factory.js +4 -1
  28. package/dist/features/defi-wrapper/defi-wrapper-factory.js.map +1 -1
  29. package/dist/features/defi-wrapper/index.d.ts +1 -0
  30. package/dist/features/defi-wrapper/index.js +1 -0
  31. package/dist/features/defi-wrapper/index.js.map +1 -1
  32. package/dist/features/defi-wrapper/pool-info.d.ts +18 -1
  33. package/dist/features/defi-wrapper/pool-info.js +47 -3
  34. package/dist/features/defi-wrapper/pool-info.js.map +1 -1
  35. package/dist/features/defi-wrapper/timelock-roles.d.ts +5 -0
  36. package/dist/features/defi-wrapper/timelock-roles.js +43 -0
  37. package/dist/features/defi-wrapper/timelock-roles.js.map +1 -0
  38. package/dist/features/defi-wrapper/timelock.d.ts +8929 -8
  39. package/dist/features/defi-wrapper/timelock.js +83 -52
  40. package/dist/features/defi-wrapper/timelock.js.map +1 -1
  41. package/dist/features/defi-wrapper/verify-contracts.d.ts +20 -0
  42. package/dist/features/defi-wrapper/verify-contracts.js +145 -0
  43. package/dist/features/defi-wrapper/verify-contracts.js.map +1 -0
  44. package/dist/features/utils/try-fetch.js +2 -0
  45. package/dist/features/utils/try-fetch.js.map +1 -1
  46. package/dist/programs/account/write.js +2 -1
  47. package/dist/programs/account/write.js.map +1 -1
  48. package/dist/programs/defi-wrapper/contracts/factory/write.js +77 -6
  49. package/dist/programs/defi-wrapper/contracts/factory/write.js.map +1 -1
  50. package/dist/programs/defi-wrapper/contracts/index.d.ts +1 -0
  51. package/dist/programs/defi-wrapper/contracts/index.js +1 -0
  52. package/dist/programs/defi-wrapper/contracts/index.js.map +1 -1
  53. package/dist/programs/defi-wrapper/contracts/strategy/config.d.ts +3 -0
  54. package/dist/programs/defi-wrapper/contracts/strategy/config.js +40 -0
  55. package/dist/programs/defi-wrapper/contracts/strategy/config.js.map +1 -0
  56. package/dist/programs/defi-wrapper/contracts/strategy/index.d.ts +3 -0
  57. package/dist/programs/defi-wrapper/contracts/strategy/index.js +4 -0
  58. package/dist/programs/defi-wrapper/contracts/strategy/index.js.map +1 -0
  59. package/dist/programs/defi-wrapper/contracts/strategy/main.d.ts +1 -0
  60. package/dist/programs/defi-wrapper/contracts/strategy/main.js +6 -0
  61. package/dist/programs/defi-wrapper/contracts/strategy/main.js.map +1 -0
  62. package/dist/programs/defi-wrapper/contracts/strategy/read.d.ts +1 -0
  63. package/dist/programs/defi-wrapper/contracts/strategy/read.js +30 -0
  64. package/dist/programs/defi-wrapper/contracts/strategy/read.js.map +1 -0
  65. package/dist/programs/defi-wrapper/contracts/strategy/write.d.ts +1 -0
  66. package/dist/programs/defi-wrapper/contracts/strategy/write.js +34 -0
  67. package/dist/programs/defi-wrapper/contracts/strategy/write.js.map +1 -0
  68. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js +25 -21
  69. package/dist/programs/defi-wrapper/contracts/stv-steth-pool/write.js.map +1 -1
  70. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js +3 -4
  71. package/dist/programs/defi-wrapper/contracts/withdrawal-queue/write.js.map +1 -1
  72. package/dist/programs/defi-wrapper/use-cases/distributor/write.js +1 -0
  73. package/dist/programs/defi-wrapper/use-cases/distributor/write.js.map +1 -1
  74. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/read.js +25 -7
  75. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/read.js.map +1 -1
  76. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/write.js +195 -17
  77. package/dist/programs/defi-wrapper/use-cases/timelock-governance/common/write.js.map +1 -1
  78. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/write.js +3 -3
  79. package/dist/programs/defi-wrapper/use-cases/timelock-governance/dashboard/write.js.map +1 -1
  80. package/dist/programs/defi-wrapper/use-cases/timelock-governance/index.d.ts +1 -0
  81. package/dist/programs/defi-wrapper/use-cases/timelock-governance/index.js +1 -0
  82. package/dist/programs/defi-wrapper/use-cases/timelock-governance/index.js.map +1 -1
  83. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/write.js +4 -4
  84. package/dist/programs/defi-wrapper/use-cases/timelock-governance/pool/write.js.map +1 -1
  85. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/write.js +3 -3
  86. package/dist/programs/defi-wrapper/use-cases/timelock-governance/proxy/write.js.map +1 -1
  87. package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/index.d.ts +2 -0
  88. package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/index.js +3 -0
  89. package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/index.js.map +1 -0
  90. package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/main.d.ts +1 -0
  91. package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/main.js +6 -0
  92. package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/main.js.map +1 -0
  93. package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/write.d.ts +1 -0
  94. package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/write.js +57 -0
  95. package/dist/programs/defi-wrapper/use-cases/timelock-governance/strategy/write.js.map +1 -0
  96. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/write.js +4 -4
  97. package/dist/programs/defi-wrapper/use-cases/timelock-governance/withdrawal-queue/write.js.map +1 -1
  98. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js +32 -11
  99. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/read.js.map +1 -1
  100. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js +14 -12
  101. package/dist/programs/defi-wrapper/use-cases/wrapper-operations/write.js.map +1 -1
  102. package/dist/programs/use-cases/consolidation/write.js +2 -0
  103. package/dist/programs/use-cases/consolidation/write.js.map +1 -1
  104. package/dist/providers/wallet.d.ts +2936 -8456
  105. package/dist/providers/wallet.js +74 -2
  106. package/dist/providers/wallet.js.map +1 -1
  107. package/dist/tests/integration/gas-estimation.test.d.ts +1 -0
  108. package/dist/tests/integration/gas-estimation.test.js +76 -0
  109. package/dist/tests/integration/gas-estimation.test.js.map +1 -0
  110. package/dist/tests/integration/helpers/test-client.d.ts +2071 -5761
  111. package/dist/tests/utils/arguments-security.test.d.ts +1 -0
  112. package/dist/tests/utils/arguments-security.test.js +34 -0
  113. package/dist/tests/utils/arguments-security.test.js.map +1 -0
  114. package/dist/tests/utils/arguments.test.js +2 -20
  115. package/dist/tests/utils/arguments.test.js.map +1 -1
  116. package/dist/tests/utils/cache-security.test.d.ts +1 -0
  117. package/dist/tests/utils/cache-security.test.js +62 -0
  118. package/dist/tests/utils/cache-security.test.js.map +1 -0
  119. package/dist/tests/utils/contract-write-stateoverride.test.d.ts +1 -0
  120. package/dist/tests/utils/contract-write-stateoverride.test.js +135 -0
  121. package/dist/tests/utils/contract-write-stateoverride.test.js.map +1 -0
  122. package/dist/tests/utils/data-validators.test.js +21 -5
  123. package/dist/tests/utils/data-validators.test.js.map +1 -1
  124. package/dist/tests/utils/deployed-security.test.d.ts +1 -0
  125. package/dist/tests/utils/deployed-security.test.js +51 -0
  126. package/dist/tests/utils/deployed-security.test.js.map +1 -0
  127. package/dist/tests/utils/get-confirmations.test.d.ts +1 -0
  128. package/dist/tests/utils/get-confirmations.test.js +40 -0
  129. package/dist/tests/utils/get-confirmations.test.js.map +1 -0
  130. package/dist/tests/utils/ipfs-security.test.d.ts +1 -0
  131. package/dist/tests/utils/ipfs-security.test.js +232 -0
  132. package/dist/tests/utils/ipfs-security.test.js.map +1 -0
  133. package/dist/tests/utils/ipfs.test.js +8 -8
  134. package/dist/tests/utils/ipfs.test.js.map +1 -1
  135. package/dist/tests/utils/parse-abi-arguments.test.d.ts +1 -0
  136. package/dist/tests/utils/parse-abi-arguments.test.js +399 -0
  137. package/dist/tests/utils/parse-abi-arguments.test.js.map +1 -0
  138. package/dist/tests/utils/public-client-gas-estimation.test.d.ts +1 -0
  139. package/dist/tests/utils/public-client-gas-estimation.test.js +231 -0
  140. package/dist/tests/utils/public-client-gas-estimation.test.js.map +1 -0
  141. package/dist/tests/utils/rate-limit-security.test.d.ts +1 -0
  142. package/dist/tests/utils/rate-limit-security.test.js +82 -0
  143. package/dist/tests/utils/rate-limit-security.test.js.map +1 -0
  144. package/dist/tests/utils/salt.test.d.ts +1 -0
  145. package/dist/tests/utils/salt.test.js +20 -0
  146. package/dist/tests/utils/salt.test.js.map +1 -0
  147. package/dist/tests/utils/stream-helpers.d.ts +1 -0
  148. package/dist/tests/utils/stream-helpers.js +11 -0
  149. package/dist/tests/utils/stream-helpers.js.map +1 -0
  150. package/dist/utils/arguments.d.ts +2 -7
  151. package/dist/utils/arguments.js +21 -17
  152. package/dist/utils/arguments.js.map +1 -1
  153. package/dist/utils/cache.js +15 -13
  154. package/dist/utils/cache.js.map +1 -1
  155. package/dist/utils/data-validators.d.ts +3 -2
  156. package/dist/utils/data-validators.js +8 -11
  157. package/dist/utils/data-validators.js.map +1 -1
  158. package/dist/utils/env.d.ts +1 -0
  159. package/dist/utils/env.js +8 -0
  160. package/dist/utils/env.js.map +1 -0
  161. package/dist/utils/fetch-cl.js +2 -1
  162. package/dist/utils/fetch-cl.js.map +1 -1
  163. package/dist/utils/index.d.ts +6 -5
  164. package/dist/utils/index.js +6 -5
  165. package/dist/utils/index.js.map +1 -1
  166. package/dist/utils/ipfs.d.ts +4 -2
  167. package/dist/utils/ipfs.js +93 -11
  168. package/dist/utils/ipfs.js.map +1 -1
  169. package/dist/utils/logging/console.d.ts +1 -0
  170. package/dist/utils/logging/console.js +23 -2
  171. package/dist/utils/logging/console.js.map +1 -1
  172. package/dist/utils/parse-abi-arguments.d.ts +24 -0
  173. package/dist/utils/parse-abi-arguments.js +159 -0
  174. package/dist/utils/parse-abi-arguments.js.map +1 -0
  175. package/dist/utils/prompts/account.d.ts +1 -0
  176. package/dist/utils/prompts/account.js +13 -0
  177. package/dist/utils/prompts/account.js.map +1 -0
  178. package/dist/utils/prompts/index.d.ts +3 -0
  179. package/dist/utils/prompts/index.js +3 -0
  180. package/dist/utils/prompts/index.js.map +1 -1
  181. package/dist/utils/prompts/strategy.d.ts +15398 -0
  182. package/dist/utils/prompts/strategy.js +10 -0
  183. package/dist/utils/prompts/strategy.js.map +1 -0
  184. package/dist/utils/prompts/timelock-roles.d.ts +1 -0
  185. package/dist/utils/prompts/timelock-roles.js +13 -0
  186. package/dist/utils/prompts/timelock-roles.js.map +1 -0
  187. package/dist/utils/rate-limit.d.ts +6 -0
  188. package/dist/utils/rate-limit.js +22 -5
  189. package/dist/utils/rate-limit.js.map +1 -1
  190. package/dist/utils/salt.d.ts +3 -0
  191. package/dist/utils/salt.js +8 -0
  192. package/dist/utils/salt.js.map +1 -0
  193. package/dist/utils/transactions/tx-private-key.d.ts +2 -1
  194. package/dist/utils/transactions/tx-private-key.js +5 -8
  195. package/dist/utils/transactions/tx-private-key.js.map +1 -1
  196. package/dist/utils/transactions/tx-wc.js +3 -7
  197. package/dist/utils/transactions/tx-wc.js.map +1 -1
  198. package/dist/utils/transactions/utils.d.ts +1 -0
  199. package/dist/utils/transactions/utils.js +12 -0
  200. package/dist/utils/transactions/utils.js.map +1 -1
  201. package/dist/version/index.js +1 -1
  202. package/package.json +10 -9
@@ -0,0 +1,429 @@
1
+ export declare const MellowStrategyAbi: ({
2
+ inputs: ({
3
+ internalType: string;
4
+ name: string;
5
+ type: "bytes32";
6
+ } | {
7
+ internalType: string;
8
+ name: string;
9
+ type: "address";
10
+ } | {
11
+ internalType: string;
12
+ name: string;
13
+ type: "bool";
14
+ })[];
15
+ stateMutability: "nonpayable";
16
+ type: "constructor";
17
+ name?: undefined;
18
+ anonymous?: undefined;
19
+ outputs?: undefined;
20
+ } | {
21
+ inputs: ({
22
+ internalType: string;
23
+ name: string;
24
+ type: "address";
25
+ } | {
26
+ internalType: string;
27
+ name: string;
28
+ type: "bytes32";
29
+ })[];
30
+ name: string;
31
+ type: "error";
32
+ stateMutability?: undefined;
33
+ anonymous?: undefined;
34
+ outputs?: undefined;
35
+ } | {
36
+ inputs: {
37
+ internalType: string;
38
+ name: string;
39
+ type: "string";
40
+ }[];
41
+ name: string;
42
+ type: "error";
43
+ stateMutability?: undefined;
44
+ anonymous?: undefined;
45
+ outputs?: undefined;
46
+ } | {
47
+ inputs: ({
48
+ internalType: string;
49
+ name: string;
50
+ type: "uint8";
51
+ } | {
52
+ internalType: string;
53
+ name: string;
54
+ type: "uint256";
55
+ })[];
56
+ name: string;
57
+ type: "error";
58
+ stateMutability?: undefined;
59
+ anonymous?: undefined;
60
+ outputs?: undefined;
61
+ } | {
62
+ anonymous: false;
63
+ inputs: ({
64
+ indexed: true;
65
+ internalType: string;
66
+ name: string;
67
+ type: "bytes32";
68
+ } | {
69
+ indexed: true;
70
+ internalType: string;
71
+ name: string;
72
+ type: "address";
73
+ })[];
74
+ name: string;
75
+ type: "event";
76
+ stateMutability?: undefined;
77
+ outputs?: undefined;
78
+ } | {
79
+ anonymous: false;
80
+ inputs: {
81
+ indexed: false;
82
+ internalType: string;
83
+ name: string;
84
+ type: "uint64";
85
+ }[];
86
+ name: string;
87
+ type: "event";
88
+ stateMutability?: undefined;
89
+ outputs?: undefined;
90
+ } | {
91
+ anonymous: false;
92
+ inputs: ({
93
+ indexed: true;
94
+ internalType: string;
95
+ name: string;
96
+ type: "address";
97
+ } | {
98
+ indexed: false;
99
+ internalType: string;
100
+ name: string;
101
+ type: "uint256";
102
+ } | {
103
+ indexed: false;
104
+ internalType: string;
105
+ name: string;
106
+ type: "bool";
107
+ } | {
108
+ indexed: false;
109
+ internalType: string;
110
+ name: string;
111
+ type: "bytes";
112
+ })[];
113
+ name: string;
114
+ type: "event";
115
+ stateMutability?: undefined;
116
+ outputs?: undefined;
117
+ } | {
118
+ anonymous: false;
119
+ inputs: ({
120
+ indexed: true;
121
+ internalType: string;
122
+ name: string;
123
+ type: "address";
124
+ } | {
125
+ indexed: false;
126
+ internalType: string;
127
+ name: string;
128
+ type: "bytes32";
129
+ } | {
130
+ indexed: false;
131
+ internalType: string;
132
+ name: string;
133
+ type: "uint256";
134
+ } | {
135
+ indexed: false;
136
+ internalType: string;
137
+ name: string;
138
+ type: "bytes";
139
+ })[];
140
+ name: string;
141
+ type: "event";
142
+ stateMutability?: undefined;
143
+ outputs?: undefined;
144
+ } | {
145
+ inputs: never[];
146
+ name: string;
147
+ outputs: {
148
+ internalType: string;
149
+ name: string;
150
+ type: "bool";
151
+ }[];
152
+ stateMutability: "nonpayable";
153
+ type: "function";
154
+ anonymous?: undefined;
155
+ } | {
156
+ inputs: ({
157
+ internalType: string;
158
+ name: string;
159
+ type: "address";
160
+ } | {
161
+ internalType: string;
162
+ name: string;
163
+ type: "uint256";
164
+ })[];
165
+ name: string;
166
+ outputs: {
167
+ components: ({
168
+ internalType: string;
169
+ name: string;
170
+ type: "uint256";
171
+ } | {
172
+ internalType: string;
173
+ name: string;
174
+ type: "bool";
175
+ })[];
176
+ internalType: string;
177
+ name: string;
178
+ type: "tuple[]";
179
+ }[];
180
+ stateMutability: "view";
181
+ type: "function";
182
+ anonymous?: undefined;
183
+ } | {
184
+ inputs: {
185
+ internalType: string;
186
+ name: string;
187
+ type: "bytes32";
188
+ }[];
189
+ name: string;
190
+ outputs: {
191
+ internalType: string;
192
+ name: string;
193
+ type: "bytes32";
194
+ }[];
195
+ stateMutability: "view";
196
+ type: "function";
197
+ anonymous?: undefined;
198
+ } | {
199
+ inputs: ({
200
+ internalType: string;
201
+ name: string;
202
+ type: "bytes32";
203
+ } | {
204
+ internalType: string;
205
+ name: string;
206
+ type: "uint256";
207
+ })[];
208
+ name: string;
209
+ outputs: {
210
+ internalType: string;
211
+ name: string;
212
+ type: "address";
213
+ }[];
214
+ stateMutability: "view";
215
+ type: "function";
216
+ anonymous?: undefined;
217
+ } | {
218
+ inputs: {
219
+ internalType: string;
220
+ name: string;
221
+ type: "bytes32";
222
+ }[];
223
+ name: string;
224
+ outputs: {
225
+ internalType: string;
226
+ name: string;
227
+ type: "uint256";
228
+ }[];
229
+ stateMutability: "view";
230
+ type: "function";
231
+ anonymous?: undefined;
232
+ } | {
233
+ inputs: {
234
+ internalType: string;
235
+ name: string;
236
+ type: "bytes32";
237
+ }[];
238
+ name: string;
239
+ outputs: {
240
+ internalType: string;
241
+ name: string;
242
+ type: "address[]";
243
+ }[];
244
+ stateMutability: "view";
245
+ type: "function";
246
+ anonymous?: undefined;
247
+ } | {
248
+ inputs: {
249
+ internalType: string;
250
+ name: string;
251
+ type: "address";
252
+ }[];
253
+ name: string;
254
+ outputs: {
255
+ internalType: string;
256
+ name: string;
257
+ type: "address";
258
+ }[];
259
+ stateMutability: "view";
260
+ type: "function";
261
+ anonymous?: undefined;
262
+ } | {
263
+ inputs: never[];
264
+ name: string;
265
+ outputs: ({
266
+ internalType: string;
267
+ name: string;
268
+ type: "bool";
269
+ } | {
270
+ internalType: string;
271
+ name: string;
272
+ type: "uint256";
273
+ } | {
274
+ internalType: string;
275
+ name: string;
276
+ type: "uint32";
277
+ })[];
278
+ stateMutability: "view";
279
+ type: "function";
280
+ anonymous?: undefined;
281
+ } | {
282
+ inputs: ({
283
+ internalType: string;
284
+ name: string;
285
+ type: "bytes32";
286
+ } | {
287
+ internalType: string;
288
+ name: string;
289
+ type: "address";
290
+ })[];
291
+ name: string;
292
+ outputs: never[];
293
+ stateMutability: "nonpayable";
294
+ type: "function";
295
+ anonymous?: undefined;
296
+ } | {
297
+ inputs: ({
298
+ internalType: string;
299
+ name: string;
300
+ type: "bytes32";
301
+ } | {
302
+ internalType: string;
303
+ name: string;
304
+ type: "address";
305
+ })[];
306
+ name: string;
307
+ outputs: {
308
+ internalType: string;
309
+ name: string;
310
+ type: "bool";
311
+ }[];
312
+ stateMutability: "view";
313
+ type: "function";
314
+ anonymous?: undefined;
315
+ } | {
316
+ inputs: ({
317
+ internalType: string;
318
+ name: string;
319
+ type: "uint256";
320
+ components?: undefined;
321
+ } | {
322
+ internalType: string;
323
+ name: string;
324
+ type: "address";
325
+ components?: undefined;
326
+ } | {
327
+ components: ({
328
+ internalType: string;
329
+ name: string;
330
+ type: "bool";
331
+ } | {
332
+ internalType: string;
333
+ name: string;
334
+ type: "bytes32[]";
335
+ })[];
336
+ internalType: string;
337
+ name: string;
338
+ type: "tuple";
339
+ })[];
340
+ name: string;
341
+ outputs: ({
342
+ internalType: string;
343
+ name: string;
344
+ type: "bool";
345
+ } | {
346
+ internalType: string;
347
+ name: string;
348
+ type: "uint256";
349
+ })[];
350
+ stateMutability: "view";
351
+ type: "function";
352
+ anonymous?: undefined;
353
+ } | {
354
+ inputs: ({
355
+ internalType: string;
356
+ name: string;
357
+ type: "uint256";
358
+ } | {
359
+ internalType: string;
360
+ name: string;
361
+ type: "bytes";
362
+ })[];
363
+ name: string;
364
+ outputs: {
365
+ internalType: string;
366
+ name: string;
367
+ type: "bytes32";
368
+ }[];
369
+ stateMutability: "nonpayable";
370
+ type: "function";
371
+ anonymous?: undefined;
372
+ } | {
373
+ inputs: ({
374
+ internalType: string;
375
+ name: string;
376
+ type: "address";
377
+ } | {
378
+ internalType: string;
379
+ name: string;
380
+ type: "uint256";
381
+ })[];
382
+ name: string;
383
+ outputs: {
384
+ internalType: string;
385
+ name: string;
386
+ type: "uint256";
387
+ }[];
388
+ stateMutability: "nonpayable";
389
+ type: "function";
390
+ anonymous?: undefined;
391
+ } | {
392
+ inputs: ({
393
+ internalType: string;
394
+ name: string;
395
+ type: "address";
396
+ } | {
397
+ internalType: string;
398
+ name: string;
399
+ type: "uint256";
400
+ } | {
401
+ internalType: string;
402
+ name: string;
403
+ type: "bytes";
404
+ })[];
405
+ name: string;
406
+ outputs: {
407
+ internalType: string;
408
+ name: string;
409
+ type: "uint256";
410
+ }[];
411
+ stateMutability: "payable";
412
+ type: "function";
413
+ anonymous?: undefined;
414
+ } | {
415
+ inputs: {
416
+ internalType: string;
417
+ name: string;
418
+ type: "bytes4";
419
+ }[];
420
+ name: string;
421
+ outputs: {
422
+ internalType: string;
423
+ name: string;
424
+ type: "bool";
425
+ }[];
426
+ stateMutability: "view";
427
+ type: "function";
428
+ anonymous?: undefined;
429
+ })[];