@arcadia-finance/mcp-server 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 (59) hide show
  1. package/LICENSE.md +97 -0
  2. package/README.md +186 -0
  3. package/dist/abis/account.json +1012 -0
  4. package/dist/abis/account_v4.json +1027 -0
  5. package/dist/abis/chainlink.json +509 -0
  6. package/dist/abis/erc20.json +299 -0
  7. package/dist/abis/factory.json +938 -0
  8. package/dist/abis/gauge_helper.json +84 -0
  9. package/dist/abis/index.js +26 -0
  10. package/dist/abis/mainreg.json +1172 -0
  11. package/dist/abis/nftmanager.json +1221 -0
  12. package/dist/abis/nftmanager_v4.json +1297 -0
  13. package/dist/abis/pool.json +2136 -0
  14. package/dist/abis/slipstream_nftmanager.json +1312 -0
  15. package/dist/abis/staked_aero_am.json +1220 -0
  16. package/dist/abis/staked_slipstream_am.json +1131 -0
  17. package/dist/abis/state_viewer.json +365 -0
  18. package/dist/abis/tranche.json +1004 -0
  19. package/dist/abis/wrapped_aero_am.json +1232 -0
  20. package/dist/abis/wrapped_staked_slipstream_am.json +338 -0
  21. package/dist/clients/api.js +189 -0
  22. package/dist/clients/chain.js +30 -0
  23. package/dist/config/addresses.js +94 -0
  24. package/dist/config/chains.js +31 -0
  25. package/dist/index.js +29 -0
  26. package/dist/skills/clamm-liquidity/SKILL.md +167 -0
  27. package/dist/skills/clamm-liquidity/automation.md +138 -0
  28. package/dist/skills/clamm-liquidity/selection.md +183 -0
  29. package/dist/skills/clamm-liquidity/strategies.md +337 -0
  30. package/dist/tools/advanced/account-metadata.js +46 -0
  31. package/dist/tools/advanced/add-liquidity.js +310 -0
  32. package/dist/tools/advanced/close-position.js +208 -0
  33. package/dist/tools/advanced/format-response.js +26 -0
  34. package/dist/tools/advanced/position-actions.js +95 -0
  35. package/dist/tools/advanced/remove-liquidity.js +68 -0
  36. package/dist/tools/advanced/repay-with-collateral.js +66 -0
  37. package/dist/tools/advanced/swap.js +64 -0
  38. package/dist/tools/index.js +52 -0
  39. package/dist/tools/read/accounts.js +243 -0
  40. package/dist/tools/read/allowances.js +86 -0
  41. package/dist/tools/read/assets.js +54 -0
  42. package/dist/tools/read/balances.js +93 -0
  43. package/dist/tools/read/guides.js +59 -0
  44. package/dist/tools/read/points.js +25 -0
  45. package/dist/tools/read/pools.js +48 -0
  46. package/dist/tools/read/protocol.js +94 -0
  47. package/dist/tools/write/approve.js +99 -0
  48. package/dist/tools/write/borrow.js +87 -0
  49. package/dist/tools/write/configure-asset-manager.js +258 -0
  50. package/dist/tools/write/create-account.js +112 -0
  51. package/dist/tools/write/deposit.js +104 -0
  52. package/dist/tools/write/repay.js +56 -0
  53. package/dist/tools/write/set-asset-manager.js +65 -0
  54. package/dist/tools/write/sign-and-send.js +90 -0
  55. package/dist/tools/write/withdraw.js +114 -0
  56. package/dist/types/api.js +5 -0
  57. package/dist/utils/attribution.js +20 -0
  58. package/dist/utils/validation.js +17 -0
  59. package/package.json +67 -0
@@ -0,0 +1,1004 @@
1
+ [
2
+ {
3
+ "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "lendingPool_",
7
+ "type": "address"
8
+ },
9
+ {
10
+ "internalType": "uint256",
11
+ "name": "vas",
12
+ "type": "uint256"
13
+ },
14
+ {
15
+ "internalType": "string",
16
+ "name": "prefix_",
17
+ "type": "string"
18
+ },
19
+ {
20
+ "internalType": "string",
21
+ "name": "prefixSymbol_",
22
+ "type": "string"
23
+ }
24
+ ],
25
+ "stateMutability": "nonpayable",
26
+ "type": "constructor"
27
+ },
28
+ {
29
+ "inputs": [],
30
+ "name": "AuctionOngoing",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [],
35
+ "name": "Locked",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [],
40
+ "name": "Unauthorized",
41
+ "type": "error"
42
+ },
43
+ {
44
+ "inputs": [],
45
+ "name": "ZeroAssets",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [],
50
+ "name": "ZeroShares",
51
+ "type": "error"
52
+ },
53
+ {
54
+ "anonymous": false,
55
+ "inputs": [
56
+ {
57
+ "indexed": true,
58
+ "internalType": "address",
59
+ "name": "owner",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "indexed": true,
64
+ "internalType": "address",
65
+ "name": "spender",
66
+ "type": "address"
67
+ },
68
+ {
69
+ "indexed": false,
70
+ "internalType": "uint256",
71
+ "name": "amount",
72
+ "type": "uint256"
73
+ }
74
+ ],
75
+ "name": "Approval",
76
+ "type": "event"
77
+ },
78
+ {
79
+ "anonymous": false,
80
+ "inputs": [
81
+ {
82
+ "indexed": false,
83
+ "internalType": "bool",
84
+ "name": "status",
85
+ "type": "bool"
86
+ }
87
+ ],
88
+ "name": "AuctionInProgressSet",
89
+ "type": "event"
90
+ },
91
+ {
92
+ "anonymous": false,
93
+ "inputs": [
94
+ {
95
+ "indexed": true,
96
+ "internalType": "address",
97
+ "name": "caller",
98
+ "type": "address"
99
+ },
100
+ {
101
+ "indexed": true,
102
+ "internalType": "address",
103
+ "name": "owner",
104
+ "type": "address"
105
+ },
106
+ {
107
+ "indexed": false,
108
+ "internalType": "uint256",
109
+ "name": "assets",
110
+ "type": "uint256"
111
+ },
112
+ {
113
+ "indexed": false,
114
+ "internalType": "uint256",
115
+ "name": "shares",
116
+ "type": "uint256"
117
+ }
118
+ ],
119
+ "name": "Deposit",
120
+ "type": "event"
121
+ },
122
+ {
123
+ "anonymous": false,
124
+ "inputs": [
125
+ {
126
+ "indexed": false,
127
+ "internalType": "bool",
128
+ "name": "status",
129
+ "type": "bool"
130
+ }
131
+ ],
132
+ "name": "LockSet",
133
+ "type": "event"
134
+ },
135
+ {
136
+ "anonymous": false,
137
+ "inputs": [
138
+ {
139
+ "indexed": true,
140
+ "internalType": "address",
141
+ "name": "user",
142
+ "type": "address"
143
+ },
144
+ {
145
+ "indexed": true,
146
+ "internalType": "address",
147
+ "name": "newOwner",
148
+ "type": "address"
149
+ }
150
+ ],
151
+ "name": "OwnershipTransferred",
152
+ "type": "event"
153
+ },
154
+ {
155
+ "anonymous": false,
156
+ "inputs": [
157
+ {
158
+ "indexed": true,
159
+ "internalType": "address",
160
+ "name": "from",
161
+ "type": "address"
162
+ },
163
+ {
164
+ "indexed": true,
165
+ "internalType": "address",
166
+ "name": "to",
167
+ "type": "address"
168
+ },
169
+ {
170
+ "indexed": false,
171
+ "internalType": "uint256",
172
+ "name": "amount",
173
+ "type": "uint256"
174
+ }
175
+ ],
176
+ "name": "Transfer",
177
+ "type": "event"
178
+ },
179
+ {
180
+ "anonymous": false,
181
+ "inputs": [
182
+ {
183
+ "indexed": true,
184
+ "internalType": "address",
185
+ "name": "caller",
186
+ "type": "address"
187
+ },
188
+ {
189
+ "indexed": true,
190
+ "internalType": "address",
191
+ "name": "receiver",
192
+ "type": "address"
193
+ },
194
+ {
195
+ "indexed": true,
196
+ "internalType": "address",
197
+ "name": "owner",
198
+ "type": "address"
199
+ },
200
+ {
201
+ "indexed": false,
202
+ "internalType": "uint256",
203
+ "name": "assets",
204
+ "type": "uint256"
205
+ },
206
+ {
207
+ "indexed": false,
208
+ "internalType": "uint256",
209
+ "name": "shares",
210
+ "type": "uint256"
211
+ }
212
+ ],
213
+ "name": "Withdraw",
214
+ "type": "event"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "DOMAIN_SEPARATOR",
219
+ "outputs": [
220
+ {
221
+ "internalType": "bytes32",
222
+ "name": "",
223
+ "type": "bytes32"
224
+ }
225
+ ],
226
+ "stateMutability": "view",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [],
231
+ "name": "LENDING_POOL",
232
+ "outputs": [
233
+ {
234
+ "internalType": "contract ILendingPool",
235
+ "name": "",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "stateMutability": "view",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "address",
246
+ "name": "",
247
+ "type": "address"
248
+ },
249
+ {
250
+ "internalType": "address",
251
+ "name": "",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "allowance",
256
+ "outputs": [
257
+ {
258
+ "internalType": "uint256",
259
+ "name": "",
260
+ "type": "uint256"
261
+ }
262
+ ],
263
+ "stateMutability": "view",
264
+ "type": "function"
265
+ },
266
+ {
267
+ "inputs": [
268
+ {
269
+ "internalType": "address",
270
+ "name": "spender",
271
+ "type": "address"
272
+ },
273
+ {
274
+ "internalType": "uint256",
275
+ "name": "amount",
276
+ "type": "uint256"
277
+ }
278
+ ],
279
+ "name": "approve",
280
+ "outputs": [
281
+ {
282
+ "internalType": "bool",
283
+ "name": "",
284
+ "type": "bool"
285
+ }
286
+ ],
287
+ "stateMutability": "nonpayable",
288
+ "type": "function"
289
+ },
290
+ {
291
+ "inputs": [],
292
+ "name": "asset",
293
+ "outputs": [
294
+ {
295
+ "internalType": "contract ERC20",
296
+ "name": "",
297
+ "type": "address"
298
+ }
299
+ ],
300
+ "stateMutability": "view",
301
+ "type": "function"
302
+ },
303
+ {
304
+ "inputs": [],
305
+ "name": "auctionInProgress",
306
+ "outputs": [
307
+ {
308
+ "internalType": "bool",
309
+ "name": "",
310
+ "type": "bool"
311
+ }
312
+ ],
313
+ "stateMutability": "view",
314
+ "type": "function"
315
+ },
316
+ {
317
+ "inputs": [
318
+ {
319
+ "internalType": "address",
320
+ "name": "",
321
+ "type": "address"
322
+ }
323
+ ],
324
+ "name": "balanceOf",
325
+ "outputs": [
326
+ {
327
+ "internalType": "uint256",
328
+ "name": "",
329
+ "type": "uint256"
330
+ }
331
+ ],
332
+ "stateMutability": "view",
333
+ "type": "function"
334
+ },
335
+ {
336
+ "inputs": [
337
+ {
338
+ "internalType": "uint256",
339
+ "name": "shares",
340
+ "type": "uint256"
341
+ }
342
+ ],
343
+ "name": "convertToAssets",
344
+ "outputs": [
345
+ {
346
+ "internalType": "uint256",
347
+ "name": "assets",
348
+ "type": "uint256"
349
+ }
350
+ ],
351
+ "stateMutability": "view",
352
+ "type": "function"
353
+ },
354
+ {
355
+ "inputs": [
356
+ {
357
+ "internalType": "uint256",
358
+ "name": "shares",
359
+ "type": "uint256"
360
+ }
361
+ ],
362
+ "name": "convertToAssetsAndSync",
363
+ "outputs": [
364
+ {
365
+ "internalType": "uint256",
366
+ "name": "assets",
367
+ "type": "uint256"
368
+ }
369
+ ],
370
+ "stateMutability": "nonpayable",
371
+ "type": "function"
372
+ },
373
+ {
374
+ "inputs": [
375
+ {
376
+ "internalType": "uint256",
377
+ "name": "assets",
378
+ "type": "uint256"
379
+ }
380
+ ],
381
+ "name": "convertToShares",
382
+ "outputs": [
383
+ {
384
+ "internalType": "uint256",
385
+ "name": "shares",
386
+ "type": "uint256"
387
+ }
388
+ ],
389
+ "stateMutability": "view",
390
+ "type": "function"
391
+ },
392
+ {
393
+ "inputs": [
394
+ {
395
+ "internalType": "uint256",
396
+ "name": "assets",
397
+ "type": "uint256"
398
+ }
399
+ ],
400
+ "name": "convertToSharesAndSync",
401
+ "outputs": [
402
+ {
403
+ "internalType": "uint256",
404
+ "name": "shares",
405
+ "type": "uint256"
406
+ }
407
+ ],
408
+ "stateMutability": "nonpayable",
409
+ "type": "function"
410
+ },
411
+ {
412
+ "inputs": [],
413
+ "name": "decimals",
414
+ "outputs": [
415
+ {
416
+ "internalType": "uint8",
417
+ "name": "",
418
+ "type": "uint8"
419
+ }
420
+ ],
421
+ "stateMutability": "view",
422
+ "type": "function"
423
+ },
424
+ {
425
+ "inputs": [
426
+ {
427
+ "internalType": "uint256",
428
+ "name": "assets",
429
+ "type": "uint256"
430
+ },
431
+ {
432
+ "internalType": "address",
433
+ "name": "receiver",
434
+ "type": "address"
435
+ }
436
+ ],
437
+ "name": "deposit",
438
+ "outputs": [
439
+ {
440
+ "internalType": "uint256",
441
+ "name": "shares",
442
+ "type": "uint256"
443
+ }
444
+ ],
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [],
450
+ "name": "lock",
451
+ "outputs": [],
452
+ "stateMutability": "nonpayable",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [],
457
+ "name": "locked",
458
+ "outputs": [
459
+ {
460
+ "internalType": "bool",
461
+ "name": "",
462
+ "type": "bool"
463
+ }
464
+ ],
465
+ "stateMutability": "view",
466
+ "type": "function"
467
+ },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "address",
472
+ "name": "",
473
+ "type": "address"
474
+ }
475
+ ],
476
+ "name": "maxDeposit",
477
+ "outputs": [
478
+ {
479
+ "internalType": "uint256",
480
+ "name": "maxAssets",
481
+ "type": "uint256"
482
+ }
483
+ ],
484
+ "stateMutability": "view",
485
+ "type": "function"
486
+ },
487
+ {
488
+ "inputs": [
489
+ {
490
+ "internalType": "address",
491
+ "name": "",
492
+ "type": "address"
493
+ }
494
+ ],
495
+ "name": "maxMint",
496
+ "outputs": [
497
+ {
498
+ "internalType": "uint256",
499
+ "name": "maxShares",
500
+ "type": "uint256"
501
+ }
502
+ ],
503
+ "stateMutability": "view",
504
+ "type": "function"
505
+ },
506
+ {
507
+ "inputs": [
508
+ {
509
+ "internalType": "address",
510
+ "name": "owner_",
511
+ "type": "address"
512
+ }
513
+ ],
514
+ "name": "maxRedeem",
515
+ "outputs": [
516
+ {
517
+ "internalType": "uint256",
518
+ "name": "maxShares",
519
+ "type": "uint256"
520
+ }
521
+ ],
522
+ "stateMutability": "view",
523
+ "type": "function"
524
+ },
525
+ {
526
+ "inputs": [
527
+ {
528
+ "internalType": "address",
529
+ "name": "owner_",
530
+ "type": "address"
531
+ }
532
+ ],
533
+ "name": "maxWithdraw",
534
+ "outputs": [
535
+ {
536
+ "internalType": "uint256",
537
+ "name": "maxAssets",
538
+ "type": "uint256"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [
546
+ {
547
+ "internalType": "uint256",
548
+ "name": "shares",
549
+ "type": "uint256"
550
+ },
551
+ {
552
+ "internalType": "address",
553
+ "name": "receiver",
554
+ "type": "address"
555
+ }
556
+ ],
557
+ "name": "mint",
558
+ "outputs": [
559
+ {
560
+ "internalType": "uint256",
561
+ "name": "assets",
562
+ "type": "uint256"
563
+ }
564
+ ],
565
+ "stateMutability": "nonpayable",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [],
570
+ "name": "name",
571
+ "outputs": [
572
+ {
573
+ "internalType": "string",
574
+ "name": "",
575
+ "type": "string"
576
+ }
577
+ ],
578
+ "stateMutability": "view",
579
+ "type": "function"
580
+ },
581
+ {
582
+ "inputs": [
583
+ {
584
+ "internalType": "address",
585
+ "name": "",
586
+ "type": "address"
587
+ }
588
+ ],
589
+ "name": "nonces",
590
+ "outputs": [
591
+ {
592
+ "internalType": "uint256",
593
+ "name": "",
594
+ "type": "uint256"
595
+ }
596
+ ],
597
+ "stateMutability": "view",
598
+ "type": "function"
599
+ },
600
+ {
601
+ "inputs": [],
602
+ "name": "owner",
603
+ "outputs": [
604
+ {
605
+ "internalType": "address",
606
+ "name": "",
607
+ "type": "address"
608
+ }
609
+ ],
610
+ "stateMutability": "view",
611
+ "type": "function"
612
+ },
613
+ {
614
+ "inputs": [
615
+ {
616
+ "internalType": "address",
617
+ "name": "owner",
618
+ "type": "address"
619
+ },
620
+ {
621
+ "internalType": "address",
622
+ "name": "spender",
623
+ "type": "address"
624
+ },
625
+ {
626
+ "internalType": "uint256",
627
+ "name": "value",
628
+ "type": "uint256"
629
+ },
630
+ {
631
+ "internalType": "uint256",
632
+ "name": "deadline",
633
+ "type": "uint256"
634
+ },
635
+ {
636
+ "internalType": "uint8",
637
+ "name": "v",
638
+ "type": "uint8"
639
+ },
640
+ {
641
+ "internalType": "bytes32",
642
+ "name": "r",
643
+ "type": "bytes32"
644
+ },
645
+ {
646
+ "internalType": "bytes32",
647
+ "name": "s",
648
+ "type": "bytes32"
649
+ }
650
+ ],
651
+ "name": "permit",
652
+ "outputs": [],
653
+ "stateMutability": "nonpayable",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [
658
+ {
659
+ "internalType": "uint256",
660
+ "name": "assets",
661
+ "type": "uint256"
662
+ }
663
+ ],
664
+ "name": "previewDeposit",
665
+ "outputs": [
666
+ {
667
+ "internalType": "uint256",
668
+ "name": "",
669
+ "type": "uint256"
670
+ }
671
+ ],
672
+ "stateMutability": "view",
673
+ "type": "function"
674
+ },
675
+ {
676
+ "inputs": [
677
+ {
678
+ "internalType": "uint256",
679
+ "name": "assets",
680
+ "type": "uint256"
681
+ }
682
+ ],
683
+ "name": "previewDepositAndSync",
684
+ "outputs": [
685
+ {
686
+ "internalType": "uint256",
687
+ "name": "shares",
688
+ "type": "uint256"
689
+ }
690
+ ],
691
+ "stateMutability": "nonpayable",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [
696
+ {
697
+ "internalType": "uint256",
698
+ "name": "shares",
699
+ "type": "uint256"
700
+ }
701
+ ],
702
+ "name": "previewMint",
703
+ "outputs": [
704
+ {
705
+ "internalType": "uint256",
706
+ "name": "assets",
707
+ "type": "uint256"
708
+ }
709
+ ],
710
+ "stateMutability": "view",
711
+ "type": "function"
712
+ },
713
+ {
714
+ "inputs": [
715
+ {
716
+ "internalType": "uint256",
717
+ "name": "shares",
718
+ "type": "uint256"
719
+ }
720
+ ],
721
+ "name": "previewMintAndSync",
722
+ "outputs": [
723
+ {
724
+ "internalType": "uint256",
725
+ "name": "assets",
726
+ "type": "uint256"
727
+ }
728
+ ],
729
+ "stateMutability": "nonpayable",
730
+ "type": "function"
731
+ },
732
+ {
733
+ "inputs": [
734
+ {
735
+ "internalType": "uint256",
736
+ "name": "shares",
737
+ "type": "uint256"
738
+ }
739
+ ],
740
+ "name": "previewRedeem",
741
+ "outputs": [
742
+ {
743
+ "internalType": "uint256",
744
+ "name": "",
745
+ "type": "uint256"
746
+ }
747
+ ],
748
+ "stateMutability": "view",
749
+ "type": "function"
750
+ },
751
+ {
752
+ "inputs": [
753
+ {
754
+ "internalType": "uint256",
755
+ "name": "shares",
756
+ "type": "uint256"
757
+ }
758
+ ],
759
+ "name": "previewRedeemAndSync",
760
+ "outputs": [
761
+ {
762
+ "internalType": "uint256",
763
+ "name": "assets",
764
+ "type": "uint256"
765
+ }
766
+ ],
767
+ "stateMutability": "nonpayable",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "inputs": [
772
+ {
773
+ "internalType": "uint256",
774
+ "name": "assets",
775
+ "type": "uint256"
776
+ }
777
+ ],
778
+ "name": "previewWithdraw",
779
+ "outputs": [
780
+ {
781
+ "internalType": "uint256",
782
+ "name": "shares",
783
+ "type": "uint256"
784
+ }
785
+ ],
786
+ "stateMutability": "view",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [
791
+ {
792
+ "internalType": "uint256",
793
+ "name": "assets",
794
+ "type": "uint256"
795
+ }
796
+ ],
797
+ "name": "previewWithdrawAndSync",
798
+ "outputs": [
799
+ {
800
+ "internalType": "uint256",
801
+ "name": "shares",
802
+ "type": "uint256"
803
+ }
804
+ ],
805
+ "stateMutability": "nonpayable",
806
+ "type": "function"
807
+ },
808
+ {
809
+ "inputs": [
810
+ {
811
+ "internalType": "uint256",
812
+ "name": "shares",
813
+ "type": "uint256"
814
+ },
815
+ {
816
+ "internalType": "address",
817
+ "name": "receiver",
818
+ "type": "address"
819
+ },
820
+ {
821
+ "internalType": "address",
822
+ "name": "owner_",
823
+ "type": "address"
824
+ }
825
+ ],
826
+ "name": "redeem",
827
+ "outputs": [
828
+ {
829
+ "internalType": "uint256",
830
+ "name": "assets",
831
+ "type": "uint256"
832
+ }
833
+ ],
834
+ "stateMutability": "nonpayable",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [
839
+ {
840
+ "internalType": "bool",
841
+ "name": "auctionInProgress_",
842
+ "type": "bool"
843
+ }
844
+ ],
845
+ "name": "setAuctionInProgress",
846
+ "outputs": [],
847
+ "stateMutability": "nonpayable",
848
+ "type": "function"
849
+ },
850
+ {
851
+ "inputs": [],
852
+ "name": "symbol",
853
+ "outputs": [
854
+ {
855
+ "internalType": "string",
856
+ "name": "",
857
+ "type": "string"
858
+ }
859
+ ],
860
+ "stateMutability": "view",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "totalAssets",
866
+ "outputs": [
867
+ {
868
+ "internalType": "uint256",
869
+ "name": "assets",
870
+ "type": "uint256"
871
+ }
872
+ ],
873
+ "stateMutability": "view",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [],
878
+ "name": "totalAssetsAndSync",
879
+ "outputs": [
880
+ {
881
+ "internalType": "uint256",
882
+ "name": "assets",
883
+ "type": "uint256"
884
+ }
885
+ ],
886
+ "stateMutability": "nonpayable",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [],
891
+ "name": "totalSupply",
892
+ "outputs": [
893
+ {
894
+ "internalType": "uint256",
895
+ "name": "",
896
+ "type": "uint256"
897
+ }
898
+ ],
899
+ "stateMutability": "view",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [
904
+ {
905
+ "internalType": "address",
906
+ "name": "to",
907
+ "type": "address"
908
+ },
909
+ {
910
+ "internalType": "uint256",
911
+ "name": "amount",
912
+ "type": "uint256"
913
+ }
914
+ ],
915
+ "name": "transfer",
916
+ "outputs": [
917
+ {
918
+ "internalType": "bool",
919
+ "name": "",
920
+ "type": "bool"
921
+ }
922
+ ],
923
+ "stateMutability": "nonpayable",
924
+ "type": "function"
925
+ },
926
+ {
927
+ "inputs": [
928
+ {
929
+ "internalType": "address",
930
+ "name": "from",
931
+ "type": "address"
932
+ },
933
+ {
934
+ "internalType": "address",
935
+ "name": "to",
936
+ "type": "address"
937
+ },
938
+ {
939
+ "internalType": "uint256",
940
+ "name": "amount",
941
+ "type": "uint256"
942
+ }
943
+ ],
944
+ "name": "transferFrom",
945
+ "outputs": [
946
+ {
947
+ "internalType": "bool",
948
+ "name": "",
949
+ "type": "bool"
950
+ }
951
+ ],
952
+ "stateMutability": "nonpayable",
953
+ "type": "function"
954
+ },
955
+ {
956
+ "inputs": [
957
+ {
958
+ "internalType": "address",
959
+ "name": "newOwner",
960
+ "type": "address"
961
+ }
962
+ ],
963
+ "name": "transferOwnership",
964
+ "outputs": [],
965
+ "stateMutability": "nonpayable",
966
+ "type": "function"
967
+ },
968
+ {
969
+ "inputs": [],
970
+ "name": "unLock",
971
+ "outputs": [],
972
+ "stateMutability": "nonpayable",
973
+ "type": "function"
974
+ },
975
+ {
976
+ "inputs": [
977
+ {
978
+ "internalType": "uint256",
979
+ "name": "assets",
980
+ "type": "uint256"
981
+ },
982
+ {
983
+ "internalType": "address",
984
+ "name": "receiver",
985
+ "type": "address"
986
+ },
987
+ {
988
+ "internalType": "address",
989
+ "name": "owner_",
990
+ "type": "address"
991
+ }
992
+ ],
993
+ "name": "withdraw",
994
+ "outputs": [
995
+ {
996
+ "internalType": "uint256",
997
+ "name": "shares",
998
+ "type": "uint256"
999
+ }
1000
+ ],
1001
+ "stateMutability": "nonpayable",
1002
+ "type": "function"
1003
+ }
1004
+ ]