@near-kit-tool-box/fun 0.0.1

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 +9 -0
  2. package/README.md +39 -0
  3. package/dist/fun/ft/ft_fun.d.ts +1600 -0
  4. package/dist/fun/ft/ft_fun.d.ts.map +1 -0
  5. package/dist/fun/ft/ft_fun.js +35 -0
  6. package/dist/fun/ft/ft_fun.js.map +1 -0
  7. package/dist/fun/greeting/greeting_get_fun.d.ts +3 -0
  8. package/dist/fun/greeting/greeting_get_fun.d.ts.map +1 -0
  9. package/dist/fun/greeting/greeting_get_fun.js +9 -0
  10. package/dist/fun/greeting/greeting_get_fun.js.map +1 -0
  11. package/dist/fun/greeting/greeting_set_fun.d.ts +535 -0
  12. package/dist/fun/greeting/greeting_set_fun.d.ts.map +1 -0
  13. package/dist/fun/greeting/greeting_set_fun.js +9 -0
  14. package/dist/fun/greeting/greeting_set_fun.js.map +1 -0
  15. package/dist/fun/near/wrap_near.d.ts +1067 -0
  16. package/dist/fun/near/wrap_near.d.ts.map +1 -0
  17. package/dist/fun/near/wrap_near.js +16 -0
  18. package/dist/fun/near/wrap_near.js.map +1 -0
  19. package/dist/fun/rhea/rhea_call_fun.d.ts +2132 -0
  20. package/dist/fun/rhea/rhea_call_fun.d.ts.map +1 -0
  21. package/dist/fun/rhea/rhea_call_fun.js +43 -0
  22. package/dist/fun/rhea/rhea_call_fun.js.map +1 -0
  23. package/dist/fun/rhea/rhea_view_fun.d.ts +10 -0
  24. package/dist/fun/rhea/rhea_view_fun.d.ts.map +1 -0
  25. package/dist/fun/rhea/rhea_view_fun.js +56 -0
  26. package/dist/fun/rhea/rhea_view_fun.js.map +1 -0
  27. package/dist/index.d.ts +11 -0
  28. package/dist/index.d.ts.map +1 -0
  29. package/dist/index.js +20 -0
  30. package/dist/index.js.map +1 -0
  31. package/dist/lib/contract_ft_args.d.ts +7 -0
  32. package/dist/lib/contract_ft_args.d.ts.map +1 -0
  33. package/dist/lib/contract_ft_args.js +3 -0
  34. package/dist/lib/contract_ft_args.js.map +1 -0
  35. package/dist/lib/contract_greeting_args.d.ts +4 -0
  36. package/dist/lib/contract_greeting_args.d.ts.map +1 -0
  37. package/dist/lib/contract_greeting_args.js +3 -0
  38. package/dist/lib/contract_greeting_args.js.map +1 -0
  39. package/dist/lib/contract_greeting_const.d.ts +5 -0
  40. package/dist/lib/contract_greeting_const.d.ts.map +1 -0
  41. package/dist/lib/contract_greeting_const.js +8 -0
  42. package/dist/lib/contract_greeting_const.js.map +1 -0
  43. package/dist/lib/contract_rhea_args.d.ts +28 -0
  44. package/dist/lib/contract_rhea_args.d.ts.map +1 -0
  45. package/dist/lib/contract_rhea_args.js +11 -0
  46. package/dist/lib/contract_rhea_args.js.map +1 -0
  47. package/dist/types/AmountInput.d.ts +2 -0
  48. package/dist/types/AmountInput.d.ts.map +1 -0
  49. package/dist/types/AmountInput.js +3 -0
  50. package/dist/types/AmountInput.js.map +1 -0
  51. package/dist/types/rhea_ref_types.d.ts +33 -0
  52. package/dist/types/rhea_ref_types.d.ts.map +1 -0
  53. package/dist/types/rhea_ref_types.js +15 -0
  54. package/dist/types/rhea_ref_types.js.map +1 -0
  55. package/package.json +48 -0
@@ -0,0 +1,1600 @@
1
+ import { Near } from "near-kit";
2
+ import type { ft_args_params_interface } from "../../lib/contract_ft_args";
3
+ export declare function ft_balance_of_fun(near: Near, ft_contractId: string, account_id: ft_args_params_interface["account_id"]): Promise<string>;
4
+ export declare function ft_transfer_fun(near: Near, ft_contractId: string, receiver_id: ft_args_params_interface["receiver_id"], amount: ft_args_params_interface["amount"]): Promise<{
5
+ final_execution_status: "NONE";
6
+ transaction?: {
7
+ hash: string;
8
+ signer_id: string;
9
+ receiver_id: string;
10
+ nonce: number;
11
+ } | undefined;
12
+ } | {
13
+ final_execution_status: "INCLUDED";
14
+ transaction?: {
15
+ hash: string;
16
+ signer_id: string;
17
+ receiver_id: string;
18
+ nonce: number;
19
+ } | undefined;
20
+ } | {
21
+ final_execution_status: "INCLUDED_FINAL";
22
+ transaction?: {
23
+ hash: string;
24
+ signer_id: string;
25
+ receiver_id: string;
26
+ nonce: number;
27
+ } | undefined;
28
+ } | {
29
+ final_execution_status: "EXECUTED_OPTIMISTIC";
30
+ status: "Unknown" | "Pending" | {
31
+ SuccessValue: string;
32
+ } | {
33
+ SuccessReceiptId: string;
34
+ } | {
35
+ Failure: {
36
+ [x: string]: any;
37
+ error_message?: string | undefined;
38
+ error_type?: string | undefined;
39
+ };
40
+ };
41
+ transaction: {
42
+ signer_id: string;
43
+ public_key: string;
44
+ nonce: number;
45
+ receiver_id: string;
46
+ actions: ("CreateAccount" | {
47
+ CreateAccount: Record<string, never>;
48
+ } | {
49
+ Transfer: {
50
+ deposit: string;
51
+ };
52
+ } | {
53
+ FunctionCall: {
54
+ method_name: string;
55
+ args: string;
56
+ gas: number;
57
+ deposit: string;
58
+ };
59
+ } | {
60
+ DeployContract: {
61
+ code: string;
62
+ };
63
+ } | {
64
+ DeployGlobalContract: {
65
+ code: string;
66
+ };
67
+ } | {
68
+ DeployGlobalContractByAccountId: {
69
+ code: string;
70
+ };
71
+ } | {
72
+ Stake: {
73
+ stake: string;
74
+ public_key: string;
75
+ };
76
+ } | {
77
+ AddKey: {
78
+ public_key: string;
79
+ access_key: {
80
+ nonce: number;
81
+ permission: "FullAccess" | {
82
+ FunctionCall: {
83
+ receiver_id: string;
84
+ method_names: string[];
85
+ allowance?: string | null | undefined;
86
+ };
87
+ };
88
+ };
89
+ };
90
+ } | {
91
+ DeleteKey: {
92
+ public_key: string;
93
+ };
94
+ } | {
95
+ DeleteAccount: {
96
+ beneficiary_id: string;
97
+ };
98
+ } | {
99
+ UseGlobalContract: {
100
+ code_hash: string;
101
+ };
102
+ } | {
103
+ UseGlobalContractByAccountId: {
104
+ account_id: string;
105
+ };
106
+ } | {
107
+ Delegate: {
108
+ delegate_action: {
109
+ sender_id: string;
110
+ receiver_id: string;
111
+ actions: any[];
112
+ nonce: number;
113
+ max_block_height: number;
114
+ public_key: string;
115
+ };
116
+ signature: string;
117
+ };
118
+ } | {
119
+ DeterministicStateInit: {
120
+ deposit: string;
121
+ };
122
+ })[];
123
+ signature: string;
124
+ hash: string;
125
+ priority_fee?: number | undefined;
126
+ };
127
+ transaction_outcome: {
128
+ id: string;
129
+ outcome: {
130
+ logs: string[];
131
+ receipt_ids: string[];
132
+ gas_burnt: number;
133
+ tokens_burnt: string;
134
+ executor_id: string;
135
+ status: "Unknown" | "Pending" | {
136
+ SuccessValue: string;
137
+ } | {
138
+ SuccessReceiptId: string;
139
+ } | {
140
+ Failure: {
141
+ [x: string]: any;
142
+ error_message?: string | undefined;
143
+ error_type?: string | undefined;
144
+ };
145
+ };
146
+ metadata?: {
147
+ version: number;
148
+ gas_profile?: {
149
+ [x: string]: any;
150
+ cost?: string | undefined;
151
+ cost_category?: string | undefined;
152
+ gas_used?: string | undefined;
153
+ }[] | null | undefined;
154
+ } | undefined;
155
+ };
156
+ block_hash: string;
157
+ proof: {
158
+ hash: string;
159
+ direction: "Left" | "Right";
160
+ }[];
161
+ };
162
+ receipts_outcome: {
163
+ id: string;
164
+ outcome: {
165
+ logs: string[];
166
+ receipt_ids: string[];
167
+ gas_burnt: number;
168
+ tokens_burnt: string;
169
+ executor_id: string;
170
+ status: "Unknown" | "Pending" | {
171
+ SuccessValue: string;
172
+ } | {
173
+ SuccessReceiptId: string;
174
+ } | {
175
+ Failure: {
176
+ [x: string]: any;
177
+ error_message?: string | undefined;
178
+ error_type?: string | undefined;
179
+ };
180
+ };
181
+ metadata?: {
182
+ version: number;
183
+ gas_profile?: {
184
+ [x: string]: any;
185
+ cost?: string | undefined;
186
+ cost_category?: string | undefined;
187
+ gas_used?: string | undefined;
188
+ }[] | null | undefined;
189
+ } | undefined;
190
+ };
191
+ block_hash: string;
192
+ proof: {
193
+ hash: string;
194
+ direction: "Left" | "Right";
195
+ }[];
196
+ }[];
197
+ } | {
198
+ final_execution_status: "EXECUTED";
199
+ status: "Unknown" | "Pending" | {
200
+ SuccessValue: string;
201
+ } | {
202
+ SuccessReceiptId: string;
203
+ } | {
204
+ Failure: {
205
+ [x: string]: any;
206
+ error_message?: string | undefined;
207
+ error_type?: string | undefined;
208
+ };
209
+ };
210
+ transaction: {
211
+ signer_id: string;
212
+ public_key: string;
213
+ nonce: number;
214
+ receiver_id: string;
215
+ actions: ("CreateAccount" | {
216
+ CreateAccount: Record<string, never>;
217
+ } | {
218
+ Transfer: {
219
+ deposit: string;
220
+ };
221
+ } | {
222
+ FunctionCall: {
223
+ method_name: string;
224
+ args: string;
225
+ gas: number;
226
+ deposit: string;
227
+ };
228
+ } | {
229
+ DeployContract: {
230
+ code: string;
231
+ };
232
+ } | {
233
+ DeployGlobalContract: {
234
+ code: string;
235
+ };
236
+ } | {
237
+ DeployGlobalContractByAccountId: {
238
+ code: string;
239
+ };
240
+ } | {
241
+ Stake: {
242
+ stake: string;
243
+ public_key: string;
244
+ };
245
+ } | {
246
+ AddKey: {
247
+ public_key: string;
248
+ access_key: {
249
+ nonce: number;
250
+ permission: "FullAccess" | {
251
+ FunctionCall: {
252
+ receiver_id: string;
253
+ method_names: string[];
254
+ allowance?: string | null | undefined;
255
+ };
256
+ };
257
+ };
258
+ };
259
+ } | {
260
+ DeleteKey: {
261
+ public_key: string;
262
+ };
263
+ } | {
264
+ DeleteAccount: {
265
+ beneficiary_id: string;
266
+ };
267
+ } | {
268
+ UseGlobalContract: {
269
+ code_hash: string;
270
+ };
271
+ } | {
272
+ UseGlobalContractByAccountId: {
273
+ account_id: string;
274
+ };
275
+ } | {
276
+ Delegate: {
277
+ delegate_action: {
278
+ sender_id: string;
279
+ receiver_id: string;
280
+ actions: any[];
281
+ nonce: number;
282
+ max_block_height: number;
283
+ public_key: string;
284
+ };
285
+ signature: string;
286
+ };
287
+ } | {
288
+ DeterministicStateInit: {
289
+ deposit: string;
290
+ };
291
+ })[];
292
+ signature: string;
293
+ hash: string;
294
+ priority_fee?: number | undefined;
295
+ };
296
+ transaction_outcome: {
297
+ id: string;
298
+ outcome: {
299
+ logs: string[];
300
+ receipt_ids: string[];
301
+ gas_burnt: number;
302
+ tokens_burnt: string;
303
+ executor_id: string;
304
+ status: "Unknown" | "Pending" | {
305
+ SuccessValue: string;
306
+ } | {
307
+ SuccessReceiptId: string;
308
+ } | {
309
+ Failure: {
310
+ [x: string]: any;
311
+ error_message?: string | undefined;
312
+ error_type?: string | undefined;
313
+ };
314
+ };
315
+ metadata?: {
316
+ version: number;
317
+ gas_profile?: {
318
+ [x: string]: any;
319
+ cost?: string | undefined;
320
+ cost_category?: string | undefined;
321
+ gas_used?: string | undefined;
322
+ }[] | null | undefined;
323
+ } | undefined;
324
+ };
325
+ block_hash: string;
326
+ proof: {
327
+ hash: string;
328
+ direction: "Left" | "Right";
329
+ }[];
330
+ };
331
+ receipts_outcome: {
332
+ id: string;
333
+ outcome: {
334
+ logs: string[];
335
+ receipt_ids: string[];
336
+ gas_burnt: number;
337
+ tokens_burnt: string;
338
+ executor_id: string;
339
+ status: "Unknown" | "Pending" | {
340
+ SuccessValue: string;
341
+ } | {
342
+ SuccessReceiptId: string;
343
+ } | {
344
+ Failure: {
345
+ [x: string]: any;
346
+ error_message?: string | undefined;
347
+ error_type?: string | undefined;
348
+ };
349
+ };
350
+ metadata?: {
351
+ version: number;
352
+ gas_profile?: {
353
+ [x: string]: any;
354
+ cost?: string | undefined;
355
+ cost_category?: string | undefined;
356
+ gas_used?: string | undefined;
357
+ }[] | null | undefined;
358
+ } | undefined;
359
+ };
360
+ block_hash: string;
361
+ proof: {
362
+ hash: string;
363
+ direction: "Left" | "Right";
364
+ }[];
365
+ }[];
366
+ } | {
367
+ final_execution_status: "FINAL";
368
+ status: "Unknown" | "Pending" | {
369
+ SuccessValue: string;
370
+ } | {
371
+ SuccessReceiptId: string;
372
+ } | {
373
+ Failure: {
374
+ [x: string]: any;
375
+ error_message?: string | undefined;
376
+ error_type?: string | undefined;
377
+ };
378
+ };
379
+ transaction: {
380
+ signer_id: string;
381
+ public_key: string;
382
+ nonce: number;
383
+ receiver_id: string;
384
+ actions: ("CreateAccount" | {
385
+ CreateAccount: Record<string, never>;
386
+ } | {
387
+ Transfer: {
388
+ deposit: string;
389
+ };
390
+ } | {
391
+ FunctionCall: {
392
+ method_name: string;
393
+ args: string;
394
+ gas: number;
395
+ deposit: string;
396
+ };
397
+ } | {
398
+ DeployContract: {
399
+ code: string;
400
+ };
401
+ } | {
402
+ DeployGlobalContract: {
403
+ code: string;
404
+ };
405
+ } | {
406
+ DeployGlobalContractByAccountId: {
407
+ code: string;
408
+ };
409
+ } | {
410
+ Stake: {
411
+ stake: string;
412
+ public_key: string;
413
+ };
414
+ } | {
415
+ AddKey: {
416
+ public_key: string;
417
+ access_key: {
418
+ nonce: number;
419
+ permission: "FullAccess" | {
420
+ FunctionCall: {
421
+ receiver_id: string;
422
+ method_names: string[];
423
+ allowance?: string | null | undefined;
424
+ };
425
+ };
426
+ };
427
+ };
428
+ } | {
429
+ DeleteKey: {
430
+ public_key: string;
431
+ };
432
+ } | {
433
+ DeleteAccount: {
434
+ beneficiary_id: string;
435
+ };
436
+ } | {
437
+ UseGlobalContract: {
438
+ code_hash: string;
439
+ };
440
+ } | {
441
+ UseGlobalContractByAccountId: {
442
+ account_id: string;
443
+ };
444
+ } | {
445
+ Delegate: {
446
+ delegate_action: {
447
+ sender_id: string;
448
+ receiver_id: string;
449
+ actions: any[];
450
+ nonce: number;
451
+ max_block_height: number;
452
+ public_key: string;
453
+ };
454
+ signature: string;
455
+ };
456
+ } | {
457
+ DeterministicStateInit: {
458
+ deposit: string;
459
+ };
460
+ })[];
461
+ signature: string;
462
+ hash: string;
463
+ priority_fee?: number | undefined;
464
+ };
465
+ transaction_outcome: {
466
+ id: string;
467
+ outcome: {
468
+ logs: string[];
469
+ receipt_ids: string[];
470
+ gas_burnt: number;
471
+ tokens_burnt: string;
472
+ executor_id: string;
473
+ status: "Unknown" | "Pending" | {
474
+ SuccessValue: string;
475
+ } | {
476
+ SuccessReceiptId: string;
477
+ } | {
478
+ Failure: {
479
+ [x: string]: any;
480
+ error_message?: string | undefined;
481
+ error_type?: string | undefined;
482
+ };
483
+ };
484
+ metadata?: {
485
+ version: number;
486
+ gas_profile?: {
487
+ [x: string]: any;
488
+ cost?: string | undefined;
489
+ cost_category?: string | undefined;
490
+ gas_used?: string | undefined;
491
+ }[] | null | undefined;
492
+ } | undefined;
493
+ };
494
+ block_hash: string;
495
+ proof: {
496
+ hash: string;
497
+ direction: "Left" | "Right";
498
+ }[];
499
+ };
500
+ receipts_outcome: {
501
+ id: string;
502
+ outcome: {
503
+ logs: string[];
504
+ receipt_ids: string[];
505
+ gas_burnt: number;
506
+ tokens_burnt: string;
507
+ executor_id: string;
508
+ status: "Unknown" | "Pending" | {
509
+ SuccessValue: string;
510
+ } | {
511
+ SuccessReceiptId: string;
512
+ } | {
513
+ Failure: {
514
+ [x: string]: any;
515
+ error_message?: string | undefined;
516
+ error_type?: string | undefined;
517
+ };
518
+ };
519
+ metadata?: {
520
+ version: number;
521
+ gas_profile?: {
522
+ [x: string]: any;
523
+ cost?: string | undefined;
524
+ cost_category?: string | undefined;
525
+ gas_used?: string | undefined;
526
+ }[] | null | undefined;
527
+ } | undefined;
528
+ };
529
+ block_hash: string;
530
+ proof: {
531
+ hash: string;
532
+ direction: "Left" | "Right";
533
+ }[];
534
+ }[];
535
+ }>;
536
+ export declare function ft_transfer_call_fun(near: Near, ft_contractId: string, receiver_id: ft_args_params_interface["receiver_id"], msg: ft_args_params_interface["msg"], amount: ft_args_params_interface["amount"]): Promise<{
537
+ final_execution_status: "NONE";
538
+ transaction?: {
539
+ hash: string;
540
+ signer_id: string;
541
+ receiver_id: string;
542
+ nonce: number;
543
+ } | undefined;
544
+ } | {
545
+ final_execution_status: "INCLUDED";
546
+ transaction?: {
547
+ hash: string;
548
+ signer_id: string;
549
+ receiver_id: string;
550
+ nonce: number;
551
+ } | undefined;
552
+ } | {
553
+ final_execution_status: "INCLUDED_FINAL";
554
+ transaction?: {
555
+ hash: string;
556
+ signer_id: string;
557
+ receiver_id: string;
558
+ nonce: number;
559
+ } | undefined;
560
+ } | {
561
+ final_execution_status: "EXECUTED_OPTIMISTIC";
562
+ status: "Unknown" | "Pending" | {
563
+ SuccessValue: string;
564
+ } | {
565
+ SuccessReceiptId: string;
566
+ } | {
567
+ Failure: {
568
+ [x: string]: any;
569
+ error_message?: string | undefined;
570
+ error_type?: string | undefined;
571
+ };
572
+ };
573
+ transaction: {
574
+ signer_id: string;
575
+ public_key: string;
576
+ nonce: number;
577
+ receiver_id: string;
578
+ actions: ("CreateAccount" | {
579
+ CreateAccount: Record<string, never>;
580
+ } | {
581
+ Transfer: {
582
+ deposit: string;
583
+ };
584
+ } | {
585
+ FunctionCall: {
586
+ method_name: string;
587
+ args: string;
588
+ gas: number;
589
+ deposit: string;
590
+ };
591
+ } | {
592
+ DeployContract: {
593
+ code: string;
594
+ };
595
+ } | {
596
+ DeployGlobalContract: {
597
+ code: string;
598
+ };
599
+ } | {
600
+ DeployGlobalContractByAccountId: {
601
+ code: string;
602
+ };
603
+ } | {
604
+ Stake: {
605
+ stake: string;
606
+ public_key: string;
607
+ };
608
+ } | {
609
+ AddKey: {
610
+ public_key: string;
611
+ access_key: {
612
+ nonce: number;
613
+ permission: "FullAccess" | {
614
+ FunctionCall: {
615
+ receiver_id: string;
616
+ method_names: string[];
617
+ allowance?: string | null | undefined;
618
+ };
619
+ };
620
+ };
621
+ };
622
+ } | {
623
+ DeleteKey: {
624
+ public_key: string;
625
+ };
626
+ } | {
627
+ DeleteAccount: {
628
+ beneficiary_id: string;
629
+ };
630
+ } | {
631
+ UseGlobalContract: {
632
+ code_hash: string;
633
+ };
634
+ } | {
635
+ UseGlobalContractByAccountId: {
636
+ account_id: string;
637
+ };
638
+ } | {
639
+ Delegate: {
640
+ delegate_action: {
641
+ sender_id: string;
642
+ receiver_id: string;
643
+ actions: any[];
644
+ nonce: number;
645
+ max_block_height: number;
646
+ public_key: string;
647
+ };
648
+ signature: string;
649
+ };
650
+ } | {
651
+ DeterministicStateInit: {
652
+ deposit: string;
653
+ };
654
+ })[];
655
+ signature: string;
656
+ hash: string;
657
+ priority_fee?: number | undefined;
658
+ };
659
+ transaction_outcome: {
660
+ id: string;
661
+ outcome: {
662
+ logs: string[];
663
+ receipt_ids: string[];
664
+ gas_burnt: number;
665
+ tokens_burnt: string;
666
+ executor_id: string;
667
+ status: "Unknown" | "Pending" | {
668
+ SuccessValue: string;
669
+ } | {
670
+ SuccessReceiptId: string;
671
+ } | {
672
+ Failure: {
673
+ [x: string]: any;
674
+ error_message?: string | undefined;
675
+ error_type?: string | undefined;
676
+ };
677
+ };
678
+ metadata?: {
679
+ version: number;
680
+ gas_profile?: {
681
+ [x: string]: any;
682
+ cost?: string | undefined;
683
+ cost_category?: string | undefined;
684
+ gas_used?: string | undefined;
685
+ }[] | null | undefined;
686
+ } | undefined;
687
+ };
688
+ block_hash: string;
689
+ proof: {
690
+ hash: string;
691
+ direction: "Left" | "Right";
692
+ }[];
693
+ };
694
+ receipts_outcome: {
695
+ id: string;
696
+ outcome: {
697
+ logs: string[];
698
+ receipt_ids: string[];
699
+ gas_burnt: number;
700
+ tokens_burnt: string;
701
+ executor_id: string;
702
+ status: "Unknown" | "Pending" | {
703
+ SuccessValue: string;
704
+ } | {
705
+ SuccessReceiptId: string;
706
+ } | {
707
+ Failure: {
708
+ [x: string]: any;
709
+ error_message?: string | undefined;
710
+ error_type?: string | undefined;
711
+ };
712
+ };
713
+ metadata?: {
714
+ version: number;
715
+ gas_profile?: {
716
+ [x: string]: any;
717
+ cost?: string | undefined;
718
+ cost_category?: string | undefined;
719
+ gas_used?: string | undefined;
720
+ }[] | null | undefined;
721
+ } | undefined;
722
+ };
723
+ block_hash: string;
724
+ proof: {
725
+ hash: string;
726
+ direction: "Left" | "Right";
727
+ }[];
728
+ }[];
729
+ } | {
730
+ final_execution_status: "EXECUTED";
731
+ status: "Unknown" | "Pending" | {
732
+ SuccessValue: string;
733
+ } | {
734
+ SuccessReceiptId: string;
735
+ } | {
736
+ Failure: {
737
+ [x: string]: any;
738
+ error_message?: string | undefined;
739
+ error_type?: string | undefined;
740
+ };
741
+ };
742
+ transaction: {
743
+ signer_id: string;
744
+ public_key: string;
745
+ nonce: number;
746
+ receiver_id: string;
747
+ actions: ("CreateAccount" | {
748
+ CreateAccount: Record<string, never>;
749
+ } | {
750
+ Transfer: {
751
+ deposit: string;
752
+ };
753
+ } | {
754
+ FunctionCall: {
755
+ method_name: string;
756
+ args: string;
757
+ gas: number;
758
+ deposit: string;
759
+ };
760
+ } | {
761
+ DeployContract: {
762
+ code: string;
763
+ };
764
+ } | {
765
+ DeployGlobalContract: {
766
+ code: string;
767
+ };
768
+ } | {
769
+ DeployGlobalContractByAccountId: {
770
+ code: string;
771
+ };
772
+ } | {
773
+ Stake: {
774
+ stake: string;
775
+ public_key: string;
776
+ };
777
+ } | {
778
+ AddKey: {
779
+ public_key: string;
780
+ access_key: {
781
+ nonce: number;
782
+ permission: "FullAccess" | {
783
+ FunctionCall: {
784
+ receiver_id: string;
785
+ method_names: string[];
786
+ allowance?: string | null | undefined;
787
+ };
788
+ };
789
+ };
790
+ };
791
+ } | {
792
+ DeleteKey: {
793
+ public_key: string;
794
+ };
795
+ } | {
796
+ DeleteAccount: {
797
+ beneficiary_id: string;
798
+ };
799
+ } | {
800
+ UseGlobalContract: {
801
+ code_hash: string;
802
+ };
803
+ } | {
804
+ UseGlobalContractByAccountId: {
805
+ account_id: string;
806
+ };
807
+ } | {
808
+ Delegate: {
809
+ delegate_action: {
810
+ sender_id: string;
811
+ receiver_id: string;
812
+ actions: any[];
813
+ nonce: number;
814
+ max_block_height: number;
815
+ public_key: string;
816
+ };
817
+ signature: string;
818
+ };
819
+ } | {
820
+ DeterministicStateInit: {
821
+ deposit: string;
822
+ };
823
+ })[];
824
+ signature: string;
825
+ hash: string;
826
+ priority_fee?: number | undefined;
827
+ };
828
+ transaction_outcome: {
829
+ id: string;
830
+ outcome: {
831
+ logs: string[];
832
+ receipt_ids: string[];
833
+ gas_burnt: number;
834
+ tokens_burnt: string;
835
+ executor_id: string;
836
+ status: "Unknown" | "Pending" | {
837
+ SuccessValue: string;
838
+ } | {
839
+ SuccessReceiptId: string;
840
+ } | {
841
+ Failure: {
842
+ [x: string]: any;
843
+ error_message?: string | undefined;
844
+ error_type?: string | undefined;
845
+ };
846
+ };
847
+ metadata?: {
848
+ version: number;
849
+ gas_profile?: {
850
+ [x: string]: any;
851
+ cost?: string | undefined;
852
+ cost_category?: string | undefined;
853
+ gas_used?: string | undefined;
854
+ }[] | null | undefined;
855
+ } | undefined;
856
+ };
857
+ block_hash: string;
858
+ proof: {
859
+ hash: string;
860
+ direction: "Left" | "Right";
861
+ }[];
862
+ };
863
+ receipts_outcome: {
864
+ id: string;
865
+ outcome: {
866
+ logs: string[];
867
+ receipt_ids: string[];
868
+ gas_burnt: number;
869
+ tokens_burnt: string;
870
+ executor_id: string;
871
+ status: "Unknown" | "Pending" | {
872
+ SuccessValue: string;
873
+ } | {
874
+ SuccessReceiptId: string;
875
+ } | {
876
+ Failure: {
877
+ [x: string]: any;
878
+ error_message?: string | undefined;
879
+ error_type?: string | undefined;
880
+ };
881
+ };
882
+ metadata?: {
883
+ version: number;
884
+ gas_profile?: {
885
+ [x: string]: any;
886
+ cost?: string | undefined;
887
+ cost_category?: string | undefined;
888
+ gas_used?: string | undefined;
889
+ }[] | null | undefined;
890
+ } | undefined;
891
+ };
892
+ block_hash: string;
893
+ proof: {
894
+ hash: string;
895
+ direction: "Left" | "Right";
896
+ }[];
897
+ }[];
898
+ } | {
899
+ final_execution_status: "FINAL";
900
+ status: "Unknown" | "Pending" | {
901
+ SuccessValue: string;
902
+ } | {
903
+ SuccessReceiptId: string;
904
+ } | {
905
+ Failure: {
906
+ [x: string]: any;
907
+ error_message?: string | undefined;
908
+ error_type?: string | undefined;
909
+ };
910
+ };
911
+ transaction: {
912
+ signer_id: string;
913
+ public_key: string;
914
+ nonce: number;
915
+ receiver_id: string;
916
+ actions: ("CreateAccount" | {
917
+ CreateAccount: Record<string, never>;
918
+ } | {
919
+ Transfer: {
920
+ deposit: string;
921
+ };
922
+ } | {
923
+ FunctionCall: {
924
+ method_name: string;
925
+ args: string;
926
+ gas: number;
927
+ deposit: string;
928
+ };
929
+ } | {
930
+ DeployContract: {
931
+ code: string;
932
+ };
933
+ } | {
934
+ DeployGlobalContract: {
935
+ code: string;
936
+ };
937
+ } | {
938
+ DeployGlobalContractByAccountId: {
939
+ code: string;
940
+ };
941
+ } | {
942
+ Stake: {
943
+ stake: string;
944
+ public_key: string;
945
+ };
946
+ } | {
947
+ AddKey: {
948
+ public_key: string;
949
+ access_key: {
950
+ nonce: number;
951
+ permission: "FullAccess" | {
952
+ FunctionCall: {
953
+ receiver_id: string;
954
+ method_names: string[];
955
+ allowance?: string | null | undefined;
956
+ };
957
+ };
958
+ };
959
+ };
960
+ } | {
961
+ DeleteKey: {
962
+ public_key: string;
963
+ };
964
+ } | {
965
+ DeleteAccount: {
966
+ beneficiary_id: string;
967
+ };
968
+ } | {
969
+ UseGlobalContract: {
970
+ code_hash: string;
971
+ };
972
+ } | {
973
+ UseGlobalContractByAccountId: {
974
+ account_id: string;
975
+ };
976
+ } | {
977
+ Delegate: {
978
+ delegate_action: {
979
+ sender_id: string;
980
+ receiver_id: string;
981
+ actions: any[];
982
+ nonce: number;
983
+ max_block_height: number;
984
+ public_key: string;
985
+ };
986
+ signature: string;
987
+ };
988
+ } | {
989
+ DeterministicStateInit: {
990
+ deposit: string;
991
+ };
992
+ })[];
993
+ signature: string;
994
+ hash: string;
995
+ priority_fee?: number | undefined;
996
+ };
997
+ transaction_outcome: {
998
+ id: string;
999
+ outcome: {
1000
+ logs: string[];
1001
+ receipt_ids: string[];
1002
+ gas_burnt: number;
1003
+ tokens_burnt: string;
1004
+ executor_id: string;
1005
+ status: "Unknown" | "Pending" | {
1006
+ SuccessValue: string;
1007
+ } | {
1008
+ SuccessReceiptId: string;
1009
+ } | {
1010
+ Failure: {
1011
+ [x: string]: any;
1012
+ error_message?: string | undefined;
1013
+ error_type?: string | undefined;
1014
+ };
1015
+ };
1016
+ metadata?: {
1017
+ version: number;
1018
+ gas_profile?: {
1019
+ [x: string]: any;
1020
+ cost?: string | undefined;
1021
+ cost_category?: string | undefined;
1022
+ gas_used?: string | undefined;
1023
+ }[] | null | undefined;
1024
+ } | undefined;
1025
+ };
1026
+ block_hash: string;
1027
+ proof: {
1028
+ hash: string;
1029
+ direction: "Left" | "Right";
1030
+ }[];
1031
+ };
1032
+ receipts_outcome: {
1033
+ id: string;
1034
+ outcome: {
1035
+ logs: string[];
1036
+ receipt_ids: string[];
1037
+ gas_burnt: number;
1038
+ tokens_burnt: string;
1039
+ executor_id: string;
1040
+ status: "Unknown" | "Pending" | {
1041
+ SuccessValue: string;
1042
+ } | {
1043
+ SuccessReceiptId: string;
1044
+ } | {
1045
+ Failure: {
1046
+ [x: string]: any;
1047
+ error_message?: string | undefined;
1048
+ error_type?: string | undefined;
1049
+ };
1050
+ };
1051
+ metadata?: {
1052
+ version: number;
1053
+ gas_profile?: {
1054
+ [x: string]: any;
1055
+ cost?: string | undefined;
1056
+ cost_category?: string | undefined;
1057
+ gas_used?: string | undefined;
1058
+ }[] | null | undefined;
1059
+ } | undefined;
1060
+ };
1061
+ block_hash: string;
1062
+ proof: {
1063
+ hash: string;
1064
+ direction: "Left" | "Right";
1065
+ }[];
1066
+ }[];
1067
+ }>;
1068
+ export declare function ft_storage_deposit_fun(near: Near, ft_contractId: string): Promise<{
1069
+ final_execution_status: "NONE";
1070
+ transaction?: {
1071
+ hash: string;
1072
+ signer_id: string;
1073
+ receiver_id: string;
1074
+ nonce: number;
1075
+ } | undefined;
1076
+ } | {
1077
+ final_execution_status: "INCLUDED";
1078
+ transaction?: {
1079
+ hash: string;
1080
+ signer_id: string;
1081
+ receiver_id: string;
1082
+ nonce: number;
1083
+ } | undefined;
1084
+ } | {
1085
+ final_execution_status: "INCLUDED_FINAL";
1086
+ transaction?: {
1087
+ hash: string;
1088
+ signer_id: string;
1089
+ receiver_id: string;
1090
+ nonce: number;
1091
+ } | undefined;
1092
+ } | {
1093
+ final_execution_status: "EXECUTED_OPTIMISTIC";
1094
+ status: "Unknown" | "Pending" | {
1095
+ SuccessValue: string;
1096
+ } | {
1097
+ SuccessReceiptId: string;
1098
+ } | {
1099
+ Failure: {
1100
+ [x: string]: any;
1101
+ error_message?: string | undefined;
1102
+ error_type?: string | undefined;
1103
+ };
1104
+ };
1105
+ transaction: {
1106
+ signer_id: string;
1107
+ public_key: string;
1108
+ nonce: number;
1109
+ receiver_id: string;
1110
+ actions: ("CreateAccount" | {
1111
+ CreateAccount: Record<string, never>;
1112
+ } | {
1113
+ Transfer: {
1114
+ deposit: string;
1115
+ };
1116
+ } | {
1117
+ FunctionCall: {
1118
+ method_name: string;
1119
+ args: string;
1120
+ gas: number;
1121
+ deposit: string;
1122
+ };
1123
+ } | {
1124
+ DeployContract: {
1125
+ code: string;
1126
+ };
1127
+ } | {
1128
+ DeployGlobalContract: {
1129
+ code: string;
1130
+ };
1131
+ } | {
1132
+ DeployGlobalContractByAccountId: {
1133
+ code: string;
1134
+ };
1135
+ } | {
1136
+ Stake: {
1137
+ stake: string;
1138
+ public_key: string;
1139
+ };
1140
+ } | {
1141
+ AddKey: {
1142
+ public_key: string;
1143
+ access_key: {
1144
+ nonce: number;
1145
+ permission: "FullAccess" | {
1146
+ FunctionCall: {
1147
+ receiver_id: string;
1148
+ method_names: string[];
1149
+ allowance?: string | null | undefined;
1150
+ };
1151
+ };
1152
+ };
1153
+ };
1154
+ } | {
1155
+ DeleteKey: {
1156
+ public_key: string;
1157
+ };
1158
+ } | {
1159
+ DeleteAccount: {
1160
+ beneficiary_id: string;
1161
+ };
1162
+ } | {
1163
+ UseGlobalContract: {
1164
+ code_hash: string;
1165
+ };
1166
+ } | {
1167
+ UseGlobalContractByAccountId: {
1168
+ account_id: string;
1169
+ };
1170
+ } | {
1171
+ Delegate: {
1172
+ delegate_action: {
1173
+ sender_id: string;
1174
+ receiver_id: string;
1175
+ actions: any[];
1176
+ nonce: number;
1177
+ max_block_height: number;
1178
+ public_key: string;
1179
+ };
1180
+ signature: string;
1181
+ };
1182
+ } | {
1183
+ DeterministicStateInit: {
1184
+ deposit: string;
1185
+ };
1186
+ })[];
1187
+ signature: string;
1188
+ hash: string;
1189
+ priority_fee?: number | undefined;
1190
+ };
1191
+ transaction_outcome: {
1192
+ id: string;
1193
+ outcome: {
1194
+ logs: string[];
1195
+ receipt_ids: string[];
1196
+ gas_burnt: number;
1197
+ tokens_burnt: string;
1198
+ executor_id: string;
1199
+ status: "Unknown" | "Pending" | {
1200
+ SuccessValue: string;
1201
+ } | {
1202
+ SuccessReceiptId: string;
1203
+ } | {
1204
+ Failure: {
1205
+ [x: string]: any;
1206
+ error_message?: string | undefined;
1207
+ error_type?: string | undefined;
1208
+ };
1209
+ };
1210
+ metadata?: {
1211
+ version: number;
1212
+ gas_profile?: {
1213
+ [x: string]: any;
1214
+ cost?: string | undefined;
1215
+ cost_category?: string | undefined;
1216
+ gas_used?: string | undefined;
1217
+ }[] | null | undefined;
1218
+ } | undefined;
1219
+ };
1220
+ block_hash: string;
1221
+ proof: {
1222
+ hash: string;
1223
+ direction: "Left" | "Right";
1224
+ }[];
1225
+ };
1226
+ receipts_outcome: {
1227
+ id: string;
1228
+ outcome: {
1229
+ logs: string[];
1230
+ receipt_ids: string[];
1231
+ gas_burnt: number;
1232
+ tokens_burnt: string;
1233
+ executor_id: string;
1234
+ status: "Unknown" | "Pending" | {
1235
+ SuccessValue: string;
1236
+ } | {
1237
+ SuccessReceiptId: string;
1238
+ } | {
1239
+ Failure: {
1240
+ [x: string]: any;
1241
+ error_message?: string | undefined;
1242
+ error_type?: string | undefined;
1243
+ };
1244
+ };
1245
+ metadata?: {
1246
+ version: number;
1247
+ gas_profile?: {
1248
+ [x: string]: any;
1249
+ cost?: string | undefined;
1250
+ cost_category?: string | undefined;
1251
+ gas_used?: string | undefined;
1252
+ }[] | null | undefined;
1253
+ } | undefined;
1254
+ };
1255
+ block_hash: string;
1256
+ proof: {
1257
+ hash: string;
1258
+ direction: "Left" | "Right";
1259
+ }[];
1260
+ }[];
1261
+ } | {
1262
+ final_execution_status: "EXECUTED";
1263
+ status: "Unknown" | "Pending" | {
1264
+ SuccessValue: string;
1265
+ } | {
1266
+ SuccessReceiptId: string;
1267
+ } | {
1268
+ Failure: {
1269
+ [x: string]: any;
1270
+ error_message?: string | undefined;
1271
+ error_type?: string | undefined;
1272
+ };
1273
+ };
1274
+ transaction: {
1275
+ signer_id: string;
1276
+ public_key: string;
1277
+ nonce: number;
1278
+ receiver_id: string;
1279
+ actions: ("CreateAccount" | {
1280
+ CreateAccount: Record<string, never>;
1281
+ } | {
1282
+ Transfer: {
1283
+ deposit: string;
1284
+ };
1285
+ } | {
1286
+ FunctionCall: {
1287
+ method_name: string;
1288
+ args: string;
1289
+ gas: number;
1290
+ deposit: string;
1291
+ };
1292
+ } | {
1293
+ DeployContract: {
1294
+ code: string;
1295
+ };
1296
+ } | {
1297
+ DeployGlobalContract: {
1298
+ code: string;
1299
+ };
1300
+ } | {
1301
+ DeployGlobalContractByAccountId: {
1302
+ code: string;
1303
+ };
1304
+ } | {
1305
+ Stake: {
1306
+ stake: string;
1307
+ public_key: string;
1308
+ };
1309
+ } | {
1310
+ AddKey: {
1311
+ public_key: string;
1312
+ access_key: {
1313
+ nonce: number;
1314
+ permission: "FullAccess" | {
1315
+ FunctionCall: {
1316
+ receiver_id: string;
1317
+ method_names: string[];
1318
+ allowance?: string | null | undefined;
1319
+ };
1320
+ };
1321
+ };
1322
+ };
1323
+ } | {
1324
+ DeleteKey: {
1325
+ public_key: string;
1326
+ };
1327
+ } | {
1328
+ DeleteAccount: {
1329
+ beneficiary_id: string;
1330
+ };
1331
+ } | {
1332
+ UseGlobalContract: {
1333
+ code_hash: string;
1334
+ };
1335
+ } | {
1336
+ UseGlobalContractByAccountId: {
1337
+ account_id: string;
1338
+ };
1339
+ } | {
1340
+ Delegate: {
1341
+ delegate_action: {
1342
+ sender_id: string;
1343
+ receiver_id: string;
1344
+ actions: any[];
1345
+ nonce: number;
1346
+ max_block_height: number;
1347
+ public_key: string;
1348
+ };
1349
+ signature: string;
1350
+ };
1351
+ } | {
1352
+ DeterministicStateInit: {
1353
+ deposit: string;
1354
+ };
1355
+ })[];
1356
+ signature: string;
1357
+ hash: string;
1358
+ priority_fee?: number | undefined;
1359
+ };
1360
+ transaction_outcome: {
1361
+ id: string;
1362
+ outcome: {
1363
+ logs: string[];
1364
+ receipt_ids: string[];
1365
+ gas_burnt: number;
1366
+ tokens_burnt: string;
1367
+ executor_id: string;
1368
+ status: "Unknown" | "Pending" | {
1369
+ SuccessValue: string;
1370
+ } | {
1371
+ SuccessReceiptId: string;
1372
+ } | {
1373
+ Failure: {
1374
+ [x: string]: any;
1375
+ error_message?: string | undefined;
1376
+ error_type?: string | undefined;
1377
+ };
1378
+ };
1379
+ metadata?: {
1380
+ version: number;
1381
+ gas_profile?: {
1382
+ [x: string]: any;
1383
+ cost?: string | undefined;
1384
+ cost_category?: string | undefined;
1385
+ gas_used?: string | undefined;
1386
+ }[] | null | undefined;
1387
+ } | undefined;
1388
+ };
1389
+ block_hash: string;
1390
+ proof: {
1391
+ hash: string;
1392
+ direction: "Left" | "Right";
1393
+ }[];
1394
+ };
1395
+ receipts_outcome: {
1396
+ id: string;
1397
+ outcome: {
1398
+ logs: string[];
1399
+ receipt_ids: string[];
1400
+ gas_burnt: number;
1401
+ tokens_burnt: string;
1402
+ executor_id: string;
1403
+ status: "Unknown" | "Pending" | {
1404
+ SuccessValue: string;
1405
+ } | {
1406
+ SuccessReceiptId: string;
1407
+ } | {
1408
+ Failure: {
1409
+ [x: string]: any;
1410
+ error_message?: string | undefined;
1411
+ error_type?: string | undefined;
1412
+ };
1413
+ };
1414
+ metadata?: {
1415
+ version: number;
1416
+ gas_profile?: {
1417
+ [x: string]: any;
1418
+ cost?: string | undefined;
1419
+ cost_category?: string | undefined;
1420
+ gas_used?: string | undefined;
1421
+ }[] | null | undefined;
1422
+ } | undefined;
1423
+ };
1424
+ block_hash: string;
1425
+ proof: {
1426
+ hash: string;
1427
+ direction: "Left" | "Right";
1428
+ }[];
1429
+ }[];
1430
+ } | {
1431
+ final_execution_status: "FINAL";
1432
+ status: "Unknown" | "Pending" | {
1433
+ SuccessValue: string;
1434
+ } | {
1435
+ SuccessReceiptId: string;
1436
+ } | {
1437
+ Failure: {
1438
+ [x: string]: any;
1439
+ error_message?: string | undefined;
1440
+ error_type?: string | undefined;
1441
+ };
1442
+ };
1443
+ transaction: {
1444
+ signer_id: string;
1445
+ public_key: string;
1446
+ nonce: number;
1447
+ receiver_id: string;
1448
+ actions: ("CreateAccount" | {
1449
+ CreateAccount: Record<string, never>;
1450
+ } | {
1451
+ Transfer: {
1452
+ deposit: string;
1453
+ };
1454
+ } | {
1455
+ FunctionCall: {
1456
+ method_name: string;
1457
+ args: string;
1458
+ gas: number;
1459
+ deposit: string;
1460
+ };
1461
+ } | {
1462
+ DeployContract: {
1463
+ code: string;
1464
+ };
1465
+ } | {
1466
+ DeployGlobalContract: {
1467
+ code: string;
1468
+ };
1469
+ } | {
1470
+ DeployGlobalContractByAccountId: {
1471
+ code: string;
1472
+ };
1473
+ } | {
1474
+ Stake: {
1475
+ stake: string;
1476
+ public_key: string;
1477
+ };
1478
+ } | {
1479
+ AddKey: {
1480
+ public_key: string;
1481
+ access_key: {
1482
+ nonce: number;
1483
+ permission: "FullAccess" | {
1484
+ FunctionCall: {
1485
+ receiver_id: string;
1486
+ method_names: string[];
1487
+ allowance?: string | null | undefined;
1488
+ };
1489
+ };
1490
+ };
1491
+ };
1492
+ } | {
1493
+ DeleteKey: {
1494
+ public_key: string;
1495
+ };
1496
+ } | {
1497
+ DeleteAccount: {
1498
+ beneficiary_id: string;
1499
+ };
1500
+ } | {
1501
+ UseGlobalContract: {
1502
+ code_hash: string;
1503
+ };
1504
+ } | {
1505
+ UseGlobalContractByAccountId: {
1506
+ account_id: string;
1507
+ };
1508
+ } | {
1509
+ Delegate: {
1510
+ delegate_action: {
1511
+ sender_id: string;
1512
+ receiver_id: string;
1513
+ actions: any[];
1514
+ nonce: number;
1515
+ max_block_height: number;
1516
+ public_key: string;
1517
+ };
1518
+ signature: string;
1519
+ };
1520
+ } | {
1521
+ DeterministicStateInit: {
1522
+ deposit: string;
1523
+ };
1524
+ })[];
1525
+ signature: string;
1526
+ hash: string;
1527
+ priority_fee?: number | undefined;
1528
+ };
1529
+ transaction_outcome: {
1530
+ id: string;
1531
+ outcome: {
1532
+ logs: string[];
1533
+ receipt_ids: string[];
1534
+ gas_burnt: number;
1535
+ tokens_burnt: string;
1536
+ executor_id: string;
1537
+ status: "Unknown" | "Pending" | {
1538
+ SuccessValue: string;
1539
+ } | {
1540
+ SuccessReceiptId: string;
1541
+ } | {
1542
+ Failure: {
1543
+ [x: string]: any;
1544
+ error_message?: string | undefined;
1545
+ error_type?: string | undefined;
1546
+ };
1547
+ };
1548
+ metadata?: {
1549
+ version: number;
1550
+ gas_profile?: {
1551
+ [x: string]: any;
1552
+ cost?: string | undefined;
1553
+ cost_category?: string | undefined;
1554
+ gas_used?: string | undefined;
1555
+ }[] | null | undefined;
1556
+ } | undefined;
1557
+ };
1558
+ block_hash: string;
1559
+ proof: {
1560
+ hash: string;
1561
+ direction: "Left" | "Right";
1562
+ }[];
1563
+ };
1564
+ receipts_outcome: {
1565
+ id: string;
1566
+ outcome: {
1567
+ logs: string[];
1568
+ receipt_ids: string[];
1569
+ gas_burnt: number;
1570
+ tokens_burnt: string;
1571
+ executor_id: string;
1572
+ status: "Unknown" | "Pending" | {
1573
+ SuccessValue: string;
1574
+ } | {
1575
+ SuccessReceiptId: string;
1576
+ } | {
1577
+ Failure: {
1578
+ [x: string]: any;
1579
+ error_message?: string | undefined;
1580
+ error_type?: string | undefined;
1581
+ };
1582
+ };
1583
+ metadata?: {
1584
+ version: number;
1585
+ gas_profile?: {
1586
+ [x: string]: any;
1587
+ cost?: string | undefined;
1588
+ cost_category?: string | undefined;
1589
+ gas_used?: string | undefined;
1590
+ }[] | null | undefined;
1591
+ } | undefined;
1592
+ };
1593
+ block_hash: string;
1594
+ proof: {
1595
+ hash: string;
1596
+ direction: "Left" | "Right";
1597
+ }[];
1598
+ }[];
1599
+ }>;
1600
+ //# sourceMappingURL=ft_fun.d.ts.map