@temporalabs/treasury 0.1.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 (55) hide show
  1. package/LICENSE +201 -0
  2. package/NOTICE +10 -0
  3. package/README.md +153 -0
  4. package/THIRD_PARTY_NOTICES.md +366 -0
  5. package/dist/abi/erc4626.d.ts +243 -0
  6. package/dist/abi/erc4626.js +146 -0
  7. package/dist/abi/erc4626.js.map +1 -0
  8. package/dist/build.d.ts +88 -0
  9. package/dist/build.js +124 -0
  10. package/dist/build.js.map +1 -0
  11. package/dist/client.d.ts +429 -0
  12. package/dist/client.js +248 -0
  13. package/dist/client.js.map +1 -0
  14. package/dist/config/earn.d.ts +47 -0
  15. package/dist/config/earn.js +46 -0
  16. package/dist/config/earn.js.map +1 -0
  17. package/dist/disclosures.d.ts +14 -0
  18. package/dist/disclosures.js +28 -0
  19. package/dist/disclosures.js.map +1 -0
  20. package/dist/index.d.ts +14 -0
  21. package/dist/index.js +10 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/links.d.ts +21 -0
  24. package/dist/links.js +32 -0
  25. package/dist/links.js.map +1 -0
  26. package/dist/mcp/server.d.ts +33 -0
  27. package/dist/mcp/server.js +346 -0
  28. package/dist/mcp/server.js.map +1 -0
  29. package/dist/mcp-server.mjs +56281 -0
  30. package/dist/position.d.ts +142 -0
  31. package/dist/position.js +354 -0
  32. package/dist/position.js.map +1 -0
  33. package/dist/preflight.d.ts +62 -0
  34. package/dist/preflight.js +165 -0
  35. package/dist/preflight.js.map +1 -0
  36. package/dist/quote.d.ts +55 -0
  37. package/dist/quote.js +83 -0
  38. package/dist/quote.js.map +1 -0
  39. package/dist/redact.d.ts +44 -0
  40. package/dist/redact.js +92 -0
  41. package/dist/redact.js.map +1 -0
  42. package/dist/registry-schema.d.ts +127 -0
  43. package/dist/registry-schema.js +124 -0
  44. package/dist/registry-schema.js.map +1 -0
  45. package/dist/registry.d.ts +26 -0
  46. package/dist/registry.js +62 -0
  47. package/dist/registry.js.map +1 -0
  48. package/dist/units.d.ts +8 -0
  49. package/dist/units.js +24 -0
  50. package/dist/units.js.map +1 -0
  51. package/dist/version.d.ts +1 -0
  52. package/dist/version.js +14 -0
  53. package/dist/version.js.map +1 -0
  54. package/package.json +58 -0
  55. package/registry/vaults.json +68 -0
@@ -0,0 +1,366 @@
1
+ # Third-party notices
2
+
3
+ `dist/mcp-server.mjs` is a single file that includes the third-party components below. Each
4
+ component remains under its own licence, reproduced here in full for the exact version included.
5
+ Tempora Labs' Apache License 2.0 (`LICENSE`) applies to Tempora's own code, not to these
6
+ components.
7
+
8
+ This file is generated by `scripts/third-party-notices.ts` from the bundle itself. Do not edit it
9
+ by hand.
10
+
11
+ | Component | Version | Licence |
12
+ |---|---|---|
13
+ | `@modelcontextprotocol/sdk` | 1.30.0 | MIT |
14
+ | `@noble/curves` | 1.9.1 | MIT |
15
+ | `@noble/hashes` | 1.8.0 | MIT |
16
+ | `abitype` | 1.2.3 | MIT |
17
+ | `ajv` | 8.20.0 | MIT |
18
+ | `ajv-formats` | 3.0.1 | MIT |
19
+ | `fast-deep-equal` | 3.1.3 | MIT |
20
+ | `fast-uri` | 3.1.8 | BSD-3-Clause |
21
+ | `json-schema-traverse` | 1.0.0 | MIT |
22
+ | `ox` | 0.14.45 | MIT |
23
+ | `viem` | 2.56.7 | MIT |
24
+ | `zod` | 4.6.5 | MIT |
25
+ | `zod-to-json-schema` | 3.25.2 | ISC |
26
+
27
+ ## @modelcontextprotocol/sdk 1.30.0 (MIT)
28
+
29
+ ```text
30
+ MIT License
31
+
32
+ Copyright (c) 2024 Anthropic, PBC
33
+
34
+ Permission is hereby granted, free of charge, to any person obtaining a copy
35
+ of this software and associated documentation files (the "Software"), to deal
36
+ in the Software without restriction, including without limitation the rights
37
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
38
+ copies of the Software, and to permit persons to whom the Software is
39
+ furnished to do so, subject to the following conditions:
40
+
41
+ The above copyright notice and this permission notice shall be included in all
42
+ copies or substantial portions of the Software.
43
+
44
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
46
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
47
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
48
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
49
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
50
+ SOFTWARE.
51
+ ```
52
+
53
+ ## @noble/curves 1.9.1 (MIT)
54
+
55
+ ```text
56
+ The MIT License (MIT)
57
+
58
+ Copyright (c) 2022 Paul Miller (https://paulmillr.com)
59
+
60
+ Permission is hereby granted, free of charge, to any person obtaining a copy
61
+ of this software and associated documentation files (the “Software”), to deal
62
+ in the Software without restriction, including without limitation the rights
63
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
64
+ copies of the Software, and to permit persons to whom the Software is
65
+ furnished to do so, subject to the following conditions:
66
+
67
+ The above copyright notice and this permission notice shall be included in
68
+ all copies or substantial portions of the Software.
69
+
70
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
71
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
72
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
73
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
74
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
75
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
76
+ THE SOFTWARE.
77
+ ```
78
+
79
+ ## @noble/hashes 1.8.0 (MIT)
80
+
81
+ ```text
82
+ The MIT License (MIT)
83
+
84
+ Copyright (c) 2022 Paul Miller (https://paulmillr.com)
85
+
86
+ Permission is hereby granted, free of charge, to any person obtaining a copy
87
+ of this software and associated documentation files (the “Software”), to deal
88
+ in the Software without restriction, including without limitation the rights
89
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
90
+ copies of the Software, and to permit persons to whom the Software is
91
+ furnished to do so, subject to the following conditions:
92
+
93
+ The above copyright notice and this permission notice shall be included in
94
+ all copies or substantial portions of the Software.
95
+
96
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
97
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
98
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
99
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
100
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
101
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
102
+ THE SOFTWARE.
103
+ ```
104
+
105
+ ## abitype 1.2.3 (MIT)
106
+
107
+ ```text
108
+ MIT License
109
+
110
+ Copyright (c) 2022-present weth, LLC
111
+
112
+ Permission is hereby granted, free of charge, to any person obtaining a copy
113
+ of this software and associated documentation files (the "Software"), to deal
114
+ in the Software without restriction, including without limitation the rights
115
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
116
+ copies of the Software, and to permit persons to whom the Software is
117
+ furnished to do so, subject to the following conditions:
118
+
119
+ The above copyright notice and this permission notice shall be included in all
120
+ copies or substantial portions of the Software.
121
+
122
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
123
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
124
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
125
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
126
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
127
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
128
+ SOFTWARE.
129
+ ```
130
+
131
+ ## ajv 8.20.0 (MIT)
132
+
133
+ ```text
134
+ The MIT License (MIT)
135
+
136
+ Copyright (c) 2015-2021 Evgeny Poberezkin
137
+
138
+ Permission is hereby granted, free of charge, to any person obtaining a copy
139
+ of this software and associated documentation files (the "Software"), to deal
140
+ in the Software without restriction, including without limitation the rights
141
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
142
+ copies of the Software, and to permit persons to whom the Software is
143
+ furnished to do so, subject to the following conditions:
144
+
145
+ The above copyright notice and this permission notice shall be included in all
146
+ copies or substantial portions of the Software.
147
+
148
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
149
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
150
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
151
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
152
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
153
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
154
+ SOFTWARE.
155
+ ```
156
+
157
+ ## ajv-formats 3.0.1 (MIT)
158
+
159
+ ```text
160
+ MIT License
161
+
162
+ Copyright (c) 2020 Evgeny Poberezkin
163
+
164
+ Permission is hereby granted, free of charge, to any person obtaining a copy
165
+ of this software and associated documentation files (the "Software"), to deal
166
+ in the Software without restriction, including without limitation the rights
167
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
168
+ copies of the Software, and to permit persons to whom the Software is
169
+ furnished to do so, subject to the following conditions:
170
+
171
+ The above copyright notice and this permission notice shall be included in all
172
+ copies or substantial portions of the Software.
173
+
174
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
175
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
176
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
177
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
178
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
179
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
180
+ SOFTWARE.
181
+ ```
182
+
183
+ ## fast-deep-equal 3.1.3 (MIT)
184
+
185
+ ```text
186
+ MIT License
187
+
188
+ Copyright (c) 2017 Evgeny Poberezkin
189
+
190
+ Permission is hereby granted, free of charge, to any person obtaining a copy
191
+ of this software and associated documentation files (the "Software"), to deal
192
+ in the Software without restriction, including without limitation the rights
193
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
194
+ copies of the Software, and to permit persons to whom the Software is
195
+ furnished to do so, subject to the following conditions:
196
+
197
+ The above copyright notice and this permission notice shall be included in all
198
+ copies or substantial portions of the Software.
199
+
200
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
201
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
202
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
203
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
204
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
205
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
206
+ SOFTWARE.
207
+ ```
208
+
209
+ ## fast-uri 3.1.8 (BSD-3-Clause)
210
+
211
+ ```text
212
+ Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
213
+ Copyright (c) 2021-present The Fastify team <https://github.com/fastify/fastify#team>
214
+ All rights reserved.
215
+
216
+ Redistribution and use in source and binary forms, with or without
217
+ modification, are permitted provided that the following conditions are met:
218
+ * Redistributions of source code must retain the above copyright
219
+ notice, this list of conditions and the following disclaimer.
220
+ * Redistributions in binary form must reproduce the above copyright
221
+ notice, this list of conditions and the following disclaimer in the
222
+ documentation and/or other materials provided with the distribution.
223
+ * The names of any contributors may not be used to endorse or promote
224
+ products derived from this software without specific prior written
225
+ permission.
226
+
227
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
228
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
229
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
230
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY
231
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
232
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
233
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
234
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
235
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
236
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
237
+
238
+ * * *
239
+
240
+ The complete list of contributors can be found at:
241
+ - https://github.com/garycourt/uri-js/graphs/contributors
242
+ ```
243
+
244
+ ## json-schema-traverse 1.0.0 (MIT)
245
+
246
+ ```text
247
+ MIT License
248
+
249
+ Copyright (c) 2017 Evgeny Poberezkin
250
+
251
+ Permission is hereby granted, free of charge, to any person obtaining a copy
252
+ of this software and associated documentation files (the "Software"), to deal
253
+ in the Software without restriction, including without limitation the rights
254
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
255
+ copies of the Software, and to permit persons to whom the Software is
256
+ furnished to do so, subject to the following conditions:
257
+
258
+ The above copyright notice and this permission notice shall be included in all
259
+ copies or substantial portions of the Software.
260
+
261
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
262
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
263
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
264
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
265
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
266
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
267
+ SOFTWARE.
268
+ ```
269
+
270
+ ## ox 0.14.45 (MIT)
271
+
272
+ ```text
273
+ MIT License
274
+
275
+ Copyright (c) 2023-present wevm
276
+
277
+ Permission is hereby granted, free of charge, to any person obtaining a copy
278
+ of this software and associated documentation files (the "Software"), to deal
279
+ in the Software without restriction, including without limitation the rights
280
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
281
+ copies of the Software, and to permit persons to whom the Software is
282
+ furnished to do so, subject to the following conditions:
283
+
284
+ The above copyright notice and this permission notice shall be included in all
285
+ copies or substantial portions of the Software.
286
+
287
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
288
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
289
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
290
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
291
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
292
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
293
+ SOFTWARE.
294
+ ```
295
+
296
+ ## viem 2.56.7 (MIT)
297
+
298
+ ```text
299
+ MIT License
300
+
301
+ Copyright (c) 2023-present weth, LLC
302
+
303
+ Permission is hereby granted, free of charge, to any person obtaining a copy
304
+ of this software and associated documentation files (the "Software"), to deal
305
+ in the Software without restriction, including without limitation the rights
306
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
307
+ copies of the Software, and to permit persons to whom the Software is
308
+ furnished to do so, subject to the following conditions:
309
+
310
+ The above copyright notice and this permission notice shall be included in all
311
+ copies or substantial portions of the Software.
312
+
313
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
314
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
315
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
316
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
317
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
318
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
319
+ SOFTWARE.
320
+ ```
321
+
322
+ ## zod 4.6.5 (MIT)
323
+
324
+ ```text
325
+ MIT License
326
+
327
+ Copyright (c) 2025 Colin McDonnell
328
+
329
+ Permission is hereby granted, free of charge, to any person obtaining a copy
330
+ of this software and associated documentation files (the "Software"), to deal
331
+ in the Software without restriction, including without limitation the rights
332
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
333
+ copies of the Software, and to permit persons to whom the Software is
334
+ furnished to do so, subject to the following conditions:
335
+
336
+ The above copyright notice and this permission notice shall be included in all
337
+ copies or substantial portions of the Software.
338
+
339
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
340
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
341
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
342
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
343
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
344
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
345
+ SOFTWARE.
346
+ ```
347
+
348
+ ## zod-to-json-schema 3.25.2 (ISC)
349
+
350
+ ```text
351
+ ISC License
352
+
353
+ Copyright (c) 2020, Stefan Terdell
354
+
355
+ Permission to use, copy, modify, and/or distribute this software for any
356
+ purpose with or without fee is hereby granted, provided that the above
357
+ copyright notice and this permission notice appear in all copies.
358
+
359
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
360
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
361
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
362
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
363
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
364
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
365
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
366
+ ```
@@ -0,0 +1,243 @@
1
+ /**
2
+ * The depositor-facing ERC-4626 + ERC-20 surface, and nothing else — no admin, allocator or
3
+ * operator entry points, because the client never calls any. This fragment is the whole interface
4
+ * a depositor needs on a standard 4626 chassis (Morpho Vault V2, IPOR Fusion).
5
+ * Enzyme is NOT 4626 (`buyShares` via the comptroller) and is not covered here.
6
+ */
7
+ export declare const erc4626Abi: readonly [{
8
+ readonly type: "function";
9
+ readonly name: "name";
10
+ readonly stateMutability: "view";
11
+ readonly inputs: readonly [];
12
+ readonly outputs: readonly [{
13
+ readonly type: "string";
14
+ }];
15
+ }, {
16
+ readonly type: "function";
17
+ readonly name: "symbol";
18
+ readonly stateMutability: "view";
19
+ readonly inputs: readonly [];
20
+ readonly outputs: readonly [{
21
+ readonly type: "string";
22
+ }];
23
+ }, {
24
+ readonly type: "function";
25
+ readonly name: "decimals";
26
+ readonly stateMutability: "view";
27
+ readonly inputs: readonly [];
28
+ readonly outputs: readonly [{
29
+ readonly type: "uint8";
30
+ }];
31
+ }, {
32
+ readonly type: "function";
33
+ readonly name: "totalSupply";
34
+ readonly stateMutability: "view";
35
+ readonly inputs: readonly [];
36
+ readonly outputs: readonly [{
37
+ readonly type: "uint256";
38
+ }];
39
+ }, {
40
+ readonly type: "function";
41
+ readonly name: "balanceOf";
42
+ readonly stateMutability: "view";
43
+ readonly inputs: readonly [{
44
+ readonly name: "account";
45
+ readonly type: "address";
46
+ }];
47
+ readonly outputs: readonly [{
48
+ readonly type: "uint256";
49
+ }];
50
+ }, {
51
+ readonly type: "function";
52
+ readonly name: "allowance";
53
+ readonly stateMutability: "view";
54
+ readonly inputs: readonly [{
55
+ readonly name: "owner";
56
+ readonly type: "address";
57
+ }, {
58
+ readonly name: "spender";
59
+ readonly type: "address";
60
+ }];
61
+ readonly outputs: readonly [{
62
+ readonly type: "uint256";
63
+ }];
64
+ }, {
65
+ readonly type: "function";
66
+ readonly name: "approve";
67
+ readonly stateMutability: "nonpayable";
68
+ readonly inputs: readonly [{
69
+ readonly name: "spender";
70
+ readonly type: "address";
71
+ }, {
72
+ readonly name: "value";
73
+ readonly type: "uint256";
74
+ }];
75
+ readonly outputs: readonly [{
76
+ readonly type: "bool";
77
+ }];
78
+ }, {
79
+ readonly type: "function";
80
+ readonly name: "asset";
81
+ readonly stateMutability: "view";
82
+ readonly inputs: readonly [];
83
+ readonly outputs: readonly [{
84
+ readonly type: "address";
85
+ }];
86
+ }, {
87
+ readonly type: "function";
88
+ readonly name: "totalAssets";
89
+ readonly stateMutability: "view";
90
+ readonly inputs: readonly [];
91
+ readonly outputs: readonly [{
92
+ readonly type: "uint256";
93
+ }];
94
+ }, {
95
+ readonly type: "function";
96
+ readonly name: "convertToAssets";
97
+ readonly stateMutability: "view";
98
+ readonly inputs: readonly [{
99
+ readonly name: "shares";
100
+ readonly type: "uint256";
101
+ }];
102
+ readonly outputs: readonly [{
103
+ readonly type: "uint256";
104
+ }];
105
+ }, {
106
+ readonly type: "function";
107
+ readonly name: "convertToShares";
108
+ readonly stateMutability: "view";
109
+ readonly inputs: readonly [{
110
+ readonly name: "assets";
111
+ readonly type: "uint256";
112
+ }];
113
+ readonly outputs: readonly [{
114
+ readonly type: "uint256";
115
+ }];
116
+ }, {
117
+ readonly type: "function";
118
+ readonly name: "previewDeposit";
119
+ readonly stateMutability: "view";
120
+ readonly inputs: readonly [{
121
+ readonly name: "assets";
122
+ readonly type: "uint256";
123
+ }];
124
+ readonly outputs: readonly [{
125
+ readonly type: "uint256";
126
+ }];
127
+ }, {
128
+ readonly type: "function";
129
+ readonly name: "previewRedeem";
130
+ readonly stateMutability: "view";
131
+ readonly inputs: readonly [{
132
+ readonly name: "shares";
133
+ readonly type: "uint256";
134
+ }];
135
+ readonly outputs: readonly [{
136
+ readonly type: "uint256";
137
+ }];
138
+ }, {
139
+ readonly type: "function";
140
+ readonly name: "maxDeposit";
141
+ readonly stateMutability: "view";
142
+ readonly inputs: readonly [{
143
+ readonly name: "receiver";
144
+ readonly type: "address";
145
+ }];
146
+ readonly outputs: readonly [{
147
+ readonly type: "uint256";
148
+ }];
149
+ }, {
150
+ readonly type: "function";
151
+ readonly name: "maxRedeem";
152
+ readonly stateMutability: "view";
153
+ readonly inputs: readonly [{
154
+ readonly name: "owner";
155
+ readonly type: "address";
156
+ }];
157
+ readonly outputs: readonly [{
158
+ readonly type: "uint256";
159
+ }];
160
+ }, {
161
+ readonly type: "function";
162
+ readonly name: "deposit";
163
+ readonly stateMutability: "nonpayable";
164
+ readonly inputs: readonly [{
165
+ readonly name: "assets";
166
+ readonly type: "uint256";
167
+ }, {
168
+ readonly name: "receiver";
169
+ readonly type: "address";
170
+ }];
171
+ readonly outputs: readonly [{
172
+ readonly name: "shares";
173
+ readonly type: "uint256";
174
+ }];
175
+ }, {
176
+ readonly type: "function";
177
+ readonly name: "previewWithdraw";
178
+ readonly stateMutability: "view";
179
+ readonly inputs: readonly [{
180
+ readonly name: "assets";
181
+ readonly type: "uint256";
182
+ }];
183
+ readonly outputs: readonly [{
184
+ readonly type: "uint256";
185
+ }];
186
+ }, {
187
+ readonly type: "function";
188
+ readonly name: "maxWithdraw";
189
+ readonly stateMutability: "view";
190
+ readonly inputs: readonly [{
191
+ readonly name: "owner";
192
+ readonly type: "address";
193
+ }];
194
+ readonly outputs: readonly [{
195
+ readonly type: "uint256";
196
+ }];
197
+ }, {
198
+ readonly type: "function";
199
+ readonly name: "withdraw";
200
+ readonly stateMutability: "nonpayable";
201
+ readonly inputs: readonly [{
202
+ readonly name: "assets";
203
+ readonly type: "uint256";
204
+ }, {
205
+ readonly name: "receiver";
206
+ readonly type: "address";
207
+ }, {
208
+ readonly name: "owner";
209
+ readonly type: "address";
210
+ }];
211
+ readonly outputs: readonly [{
212
+ readonly name: "shares";
213
+ readonly type: "uint256";
214
+ }];
215
+ }, {
216
+ readonly type: "function";
217
+ readonly name: "redeem";
218
+ readonly stateMutability: "nonpayable";
219
+ readonly inputs: readonly [{
220
+ readonly name: "shares";
221
+ readonly type: "uint256";
222
+ }, {
223
+ readonly name: "receiver";
224
+ readonly type: "address";
225
+ }, {
226
+ readonly name: "owner";
227
+ readonly type: "address";
228
+ }];
229
+ readonly outputs: readonly [{
230
+ readonly name: "assets";
231
+ readonly type: "uint256";
232
+ }];
233
+ }];
234
+ /**
235
+ * Revert selectors a depositor pre-flight must be able to name. Each was observed
236
+ * live on Base (2026-09-11, blocks 51154060–51154242), not taken from documentation.
237
+ */
238
+ export declare const knownRevertSelectors: {
239
+ /** OpenZeppelin AccessManaged — IPOR Fusion PlasmaVault `deposit` restricted to a role (800 = WHITELIST). */
240
+ readonly AccessManagedUnauthorized: "0x068ca9d8";
241
+ /** Morpho Vault V2 wrapper around the USDC pull failing on allowance — access is OPEN, the call reached the money. */
242
+ readonly TransferFromReverted: "0xe65b7a77";
243
+ };