@near-kit-tool-box/fun 0.1.4 → 0.1.7

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.
@@ -8,6 +8,133 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
8
8
  receiver_id: string;
9
9
  nonce: number;
10
10
  } | undefined;
11
+ status?: "Pending" | "Unknown" | {
12
+ SuccessValue: string;
13
+ } | {
14
+ SuccessReceiptId: string;
15
+ } | {
16
+ Failure: {
17
+ [x: string]: any;
18
+ error_message?: string | undefined;
19
+ error_type?: string | undefined;
20
+ };
21
+ } | undefined;
22
+ transaction_outcome?: {
23
+ id: string;
24
+ outcome: {
25
+ logs: string[];
26
+ receipt_ids: string[];
27
+ gas_burnt: number;
28
+ tokens_burnt: string;
29
+ executor_id: string;
30
+ status: "Pending" | "Unknown" | {
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
+ metadata?: {
42
+ gas_profile?: {
43
+ [x: string]: any;
44
+ cost?: string | undefined;
45
+ cost_category?: string | undefined;
46
+ gas_used?: string | undefined;
47
+ }[] | null | undefined;
48
+ version: 4;
49
+ contracts?: ({
50
+ local: string;
51
+ } | {
52
+ global_hash: string;
53
+ } | {
54
+ global_account_id: string;
55
+ } | null)[] | null | undefined;
56
+ } | {
57
+ gas_profile?: {
58
+ [x: string]: any;
59
+ cost?: string | undefined;
60
+ cost_category?: string | undefined;
61
+ gas_used?: string | undefined;
62
+ }[] | null | undefined;
63
+ version: 1 | 2 | 3;
64
+ } | {
65
+ gas_profile?: {
66
+ [x: string]: any;
67
+ cost?: string | undefined;
68
+ cost_category?: string | undefined;
69
+ gas_used?: string | undefined;
70
+ }[] | null | undefined;
71
+ version: number;
72
+ } | undefined;
73
+ };
74
+ block_hash: string;
75
+ proof: {
76
+ hash: string;
77
+ direction: "Left" | "Right";
78
+ }[];
79
+ } | undefined;
80
+ receipts_outcome?: {
81
+ id: string;
82
+ outcome: {
83
+ logs: string[];
84
+ receipt_ids: string[];
85
+ gas_burnt: number;
86
+ tokens_burnt: string;
87
+ executor_id: string;
88
+ status: "Pending" | "Unknown" | {
89
+ SuccessValue: string;
90
+ } | {
91
+ SuccessReceiptId: string;
92
+ } | {
93
+ Failure: {
94
+ [x: string]: any;
95
+ error_message?: string | undefined;
96
+ error_type?: string | undefined;
97
+ };
98
+ };
99
+ metadata?: {
100
+ gas_profile?: {
101
+ [x: string]: any;
102
+ cost?: string | undefined;
103
+ cost_category?: string | undefined;
104
+ gas_used?: string | undefined;
105
+ }[] | null | undefined;
106
+ version: 4;
107
+ contracts?: ({
108
+ local: string;
109
+ } | {
110
+ global_hash: string;
111
+ } | {
112
+ global_account_id: string;
113
+ } | null)[] | null | undefined;
114
+ } | {
115
+ gas_profile?: {
116
+ [x: string]: any;
117
+ cost?: string | undefined;
118
+ cost_category?: string | undefined;
119
+ gas_used?: string | undefined;
120
+ }[] | null | undefined;
121
+ version: 1 | 2 | 3;
122
+ } | {
123
+ gas_profile?: {
124
+ [x: string]: any;
125
+ cost?: string | undefined;
126
+ cost_category?: string | undefined;
127
+ gas_used?: string | undefined;
128
+ }[] | null | undefined;
129
+ version: number;
130
+ } | undefined;
131
+ };
132
+ block_hash: string;
133
+ proof: {
134
+ hash: string;
135
+ direction: "Left" | "Right";
136
+ }[];
137
+ }[] | undefined;
11
138
  } | {
12
139
  final_execution_status: "INCLUDED";
13
140
  transaction?: {
@@ -16,6 +143,133 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
16
143
  receiver_id: string;
17
144
  nonce: number;
18
145
  } | undefined;
146
+ status?: "Pending" | "Unknown" | {
147
+ SuccessValue: string;
148
+ } | {
149
+ SuccessReceiptId: string;
150
+ } | {
151
+ Failure: {
152
+ [x: string]: any;
153
+ error_message?: string | undefined;
154
+ error_type?: string | undefined;
155
+ };
156
+ } | undefined;
157
+ transaction_outcome?: {
158
+ id: string;
159
+ outcome: {
160
+ logs: string[];
161
+ receipt_ids: string[];
162
+ gas_burnt: number;
163
+ tokens_burnt: string;
164
+ executor_id: string;
165
+ status: "Pending" | "Unknown" | {
166
+ SuccessValue: string;
167
+ } | {
168
+ SuccessReceiptId: string;
169
+ } | {
170
+ Failure: {
171
+ [x: string]: any;
172
+ error_message?: string | undefined;
173
+ error_type?: string | undefined;
174
+ };
175
+ };
176
+ metadata?: {
177
+ gas_profile?: {
178
+ [x: string]: any;
179
+ cost?: string | undefined;
180
+ cost_category?: string | undefined;
181
+ gas_used?: string | undefined;
182
+ }[] | null | undefined;
183
+ version: 4;
184
+ contracts?: ({
185
+ local: string;
186
+ } | {
187
+ global_hash: string;
188
+ } | {
189
+ global_account_id: string;
190
+ } | null)[] | null | undefined;
191
+ } | {
192
+ gas_profile?: {
193
+ [x: string]: any;
194
+ cost?: string | undefined;
195
+ cost_category?: string | undefined;
196
+ gas_used?: string | undefined;
197
+ }[] | null | undefined;
198
+ version: 1 | 2 | 3;
199
+ } | {
200
+ gas_profile?: {
201
+ [x: string]: any;
202
+ cost?: string | undefined;
203
+ cost_category?: string | undefined;
204
+ gas_used?: string | undefined;
205
+ }[] | null | undefined;
206
+ version: number;
207
+ } | undefined;
208
+ };
209
+ block_hash: string;
210
+ proof: {
211
+ hash: string;
212
+ direction: "Left" | "Right";
213
+ }[];
214
+ } | undefined;
215
+ receipts_outcome?: {
216
+ id: string;
217
+ outcome: {
218
+ logs: string[];
219
+ receipt_ids: string[];
220
+ gas_burnt: number;
221
+ tokens_burnt: string;
222
+ executor_id: string;
223
+ status: "Pending" | "Unknown" | {
224
+ SuccessValue: string;
225
+ } | {
226
+ SuccessReceiptId: string;
227
+ } | {
228
+ Failure: {
229
+ [x: string]: any;
230
+ error_message?: string | undefined;
231
+ error_type?: string | undefined;
232
+ };
233
+ };
234
+ metadata?: {
235
+ gas_profile?: {
236
+ [x: string]: any;
237
+ cost?: string | undefined;
238
+ cost_category?: string | undefined;
239
+ gas_used?: string | undefined;
240
+ }[] | null | undefined;
241
+ version: 4;
242
+ contracts?: ({
243
+ local: string;
244
+ } | {
245
+ global_hash: string;
246
+ } | {
247
+ global_account_id: string;
248
+ } | null)[] | null | undefined;
249
+ } | {
250
+ gas_profile?: {
251
+ [x: string]: any;
252
+ cost?: string | undefined;
253
+ cost_category?: string | undefined;
254
+ gas_used?: string | undefined;
255
+ }[] | null | undefined;
256
+ version: 1 | 2 | 3;
257
+ } | {
258
+ gas_profile?: {
259
+ [x: string]: any;
260
+ cost?: string | undefined;
261
+ cost_category?: string | undefined;
262
+ gas_used?: string | undefined;
263
+ }[] | null | undefined;
264
+ version: number;
265
+ } | undefined;
266
+ };
267
+ block_hash: string;
268
+ proof: {
269
+ hash: string;
270
+ direction: "Left" | "Right";
271
+ }[];
272
+ }[] | undefined;
19
273
  } | {
20
274
  final_execution_status: "INCLUDED_FINAL";
21
275
  transaction?: {
@@ -24,9 +278,136 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
24
278
  receiver_id: string;
25
279
  nonce: number;
26
280
  } | undefined;
281
+ status?: "Pending" | "Unknown" | {
282
+ SuccessValue: string;
283
+ } | {
284
+ SuccessReceiptId: string;
285
+ } | {
286
+ Failure: {
287
+ [x: string]: any;
288
+ error_message?: string | undefined;
289
+ error_type?: string | undefined;
290
+ };
291
+ } | undefined;
292
+ transaction_outcome?: {
293
+ id: string;
294
+ outcome: {
295
+ logs: string[];
296
+ receipt_ids: string[];
297
+ gas_burnt: number;
298
+ tokens_burnt: string;
299
+ executor_id: string;
300
+ status: "Pending" | "Unknown" | {
301
+ SuccessValue: string;
302
+ } | {
303
+ SuccessReceiptId: string;
304
+ } | {
305
+ Failure: {
306
+ [x: string]: any;
307
+ error_message?: string | undefined;
308
+ error_type?: string | undefined;
309
+ };
310
+ };
311
+ metadata?: {
312
+ gas_profile?: {
313
+ [x: string]: any;
314
+ cost?: string | undefined;
315
+ cost_category?: string | undefined;
316
+ gas_used?: string | undefined;
317
+ }[] | null | undefined;
318
+ version: 4;
319
+ contracts?: ({
320
+ local: string;
321
+ } | {
322
+ global_hash: string;
323
+ } | {
324
+ global_account_id: string;
325
+ } | null)[] | null | undefined;
326
+ } | {
327
+ gas_profile?: {
328
+ [x: string]: any;
329
+ cost?: string | undefined;
330
+ cost_category?: string | undefined;
331
+ gas_used?: string | undefined;
332
+ }[] | null | undefined;
333
+ version: 1 | 2 | 3;
334
+ } | {
335
+ gas_profile?: {
336
+ [x: string]: any;
337
+ cost?: string | undefined;
338
+ cost_category?: string | undefined;
339
+ gas_used?: string | undefined;
340
+ }[] | null | undefined;
341
+ version: number;
342
+ } | undefined;
343
+ };
344
+ block_hash: string;
345
+ proof: {
346
+ hash: string;
347
+ direction: "Left" | "Right";
348
+ }[];
349
+ } | undefined;
350
+ receipts_outcome?: {
351
+ id: string;
352
+ outcome: {
353
+ logs: string[];
354
+ receipt_ids: string[];
355
+ gas_burnt: number;
356
+ tokens_burnt: string;
357
+ executor_id: string;
358
+ status: "Pending" | "Unknown" | {
359
+ SuccessValue: string;
360
+ } | {
361
+ SuccessReceiptId: string;
362
+ } | {
363
+ Failure: {
364
+ [x: string]: any;
365
+ error_message?: string | undefined;
366
+ error_type?: string | undefined;
367
+ };
368
+ };
369
+ metadata?: {
370
+ gas_profile?: {
371
+ [x: string]: any;
372
+ cost?: string | undefined;
373
+ cost_category?: string | undefined;
374
+ gas_used?: string | undefined;
375
+ }[] | null | undefined;
376
+ version: 4;
377
+ contracts?: ({
378
+ local: string;
379
+ } | {
380
+ global_hash: string;
381
+ } | {
382
+ global_account_id: string;
383
+ } | null)[] | null | undefined;
384
+ } | {
385
+ gas_profile?: {
386
+ [x: string]: any;
387
+ cost?: string | undefined;
388
+ cost_category?: string | undefined;
389
+ gas_used?: string | undefined;
390
+ }[] | null | undefined;
391
+ version: 1 | 2 | 3;
392
+ } | {
393
+ gas_profile?: {
394
+ [x: string]: any;
395
+ cost?: string | undefined;
396
+ cost_category?: string | undefined;
397
+ gas_used?: string | undefined;
398
+ }[] | null | undefined;
399
+ version: number;
400
+ } | undefined;
401
+ };
402
+ block_hash: string;
403
+ proof: {
404
+ hash: string;
405
+ direction: "Left" | "Right";
406
+ }[];
407
+ }[] | undefined;
27
408
  } | {
28
409
  final_execution_status: "EXECUTED_OPTIMISTIC";
29
- status: "Unknown" | "Pending" | {
410
+ status: "Pending" | "Unknown" | {
30
411
  SuccessValue: string;
31
412
  } | {
32
413
  SuccessReceiptId: string;
@@ -83,6 +464,19 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
83
464
  method_names: string[];
84
465
  allowance?: string | null | undefined;
85
466
  };
467
+ } | {
468
+ GasKeyFunctionCall: {
469
+ balance: string;
470
+ num_nonces: number;
471
+ receiver_id: string;
472
+ method_names: string[];
473
+ allowance?: string | null | undefined;
474
+ };
475
+ } | {
476
+ GasKeyFullAccess: {
477
+ balance: string;
478
+ num_nonces: number;
479
+ };
86
480
  };
87
481
  };
88
482
  };
@@ -118,10 +512,44 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
118
512
  DeterministicStateInit: {
119
513
  deposit: string;
120
514
  };
515
+ } | {
516
+ TransferToGasKey: {
517
+ public_key: string;
518
+ deposit: string;
519
+ };
520
+ } | {
521
+ WithdrawFromGasKey: {
522
+ public_key: string;
523
+ amount: string;
524
+ };
525
+ } | {
526
+ DelegateV2: {
527
+ delegate_action: {
528
+ V2: {
529
+ sender_id: string;
530
+ receiver_id: string;
531
+ actions: any[];
532
+ nonce: {
533
+ Nonce: {
534
+ nonce: number;
535
+ };
536
+ } | {
537
+ GasKeyNonce: {
538
+ nonce: number;
539
+ nonce_index: number;
540
+ };
541
+ };
542
+ max_block_height: number;
543
+ public_key: string;
544
+ };
545
+ };
546
+ signature: string;
547
+ };
121
548
  })[];
122
549
  signature: string;
123
550
  hash: string;
124
551
  priority_fee?: number | undefined;
552
+ nonce_mode?: "monotonic" | "strict" | null | undefined;
125
553
  };
126
554
  transaction_outcome: {
127
555
  id: string;
@@ -131,7 +559,7 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
131
559
  gas_burnt: number;
132
560
  tokens_burnt: string;
133
561
  executor_id: string;
134
- status: "Unknown" | "Pending" | {
562
+ status: "Pending" | "Unknown" | {
135
563
  SuccessValue: string;
136
564
  } | {
137
565
  SuccessReceiptId: string;
@@ -143,13 +571,36 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
143
571
  };
144
572
  };
145
573
  metadata?: {
146
- version: number;
147
574
  gas_profile?: {
148
575
  [x: string]: any;
149
576
  cost?: string | undefined;
150
577
  cost_category?: string | undefined;
151
578
  gas_used?: string | undefined;
152
579
  }[] | null | undefined;
580
+ version: 4;
581
+ contracts?: ({
582
+ local: string;
583
+ } | {
584
+ global_hash: string;
585
+ } | {
586
+ global_account_id: string;
587
+ } | null)[] | null | undefined;
588
+ } | {
589
+ gas_profile?: {
590
+ [x: string]: any;
591
+ cost?: string | undefined;
592
+ cost_category?: string | undefined;
593
+ gas_used?: string | undefined;
594
+ }[] | null | undefined;
595
+ version: 1 | 2 | 3;
596
+ } | {
597
+ gas_profile?: {
598
+ [x: string]: any;
599
+ cost?: string | undefined;
600
+ cost_category?: string | undefined;
601
+ gas_used?: string | undefined;
602
+ }[] | null | undefined;
603
+ version: number;
153
604
  } | undefined;
154
605
  };
155
606
  block_hash: string;
@@ -166,7 +617,7 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
166
617
  gas_burnt: number;
167
618
  tokens_burnt: string;
168
619
  executor_id: string;
169
- status: "Unknown" | "Pending" | {
620
+ status: "Pending" | "Unknown" | {
170
621
  SuccessValue: string;
171
622
  } | {
172
623
  SuccessReceiptId: string;
@@ -178,13 +629,36 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
178
629
  };
179
630
  };
180
631
  metadata?: {
181
- version: number;
182
632
  gas_profile?: {
183
633
  [x: string]: any;
184
634
  cost?: string | undefined;
185
635
  cost_category?: string | undefined;
186
636
  gas_used?: string | undefined;
187
637
  }[] | null | undefined;
638
+ version: 4;
639
+ contracts?: ({
640
+ local: string;
641
+ } | {
642
+ global_hash: string;
643
+ } | {
644
+ global_account_id: string;
645
+ } | null)[] | null | undefined;
646
+ } | {
647
+ gas_profile?: {
648
+ [x: string]: any;
649
+ cost?: string | undefined;
650
+ cost_category?: string | undefined;
651
+ gas_used?: string | undefined;
652
+ }[] | null | undefined;
653
+ version: 1 | 2 | 3;
654
+ } | {
655
+ gas_profile?: {
656
+ [x: string]: any;
657
+ cost?: string | undefined;
658
+ cost_category?: string | undefined;
659
+ gas_used?: string | undefined;
660
+ }[] | null | undefined;
661
+ version: number;
188
662
  } | undefined;
189
663
  };
190
664
  block_hash: string;
@@ -195,7 +669,7 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
195
669
  }[];
196
670
  } | {
197
671
  final_execution_status: "EXECUTED";
198
- status: "Unknown" | "Pending" | {
672
+ status: "Pending" | "Unknown" | {
199
673
  SuccessValue: string;
200
674
  } | {
201
675
  SuccessReceiptId: string;
@@ -252,6 +726,19 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
252
726
  method_names: string[];
253
727
  allowance?: string | null | undefined;
254
728
  };
729
+ } | {
730
+ GasKeyFunctionCall: {
731
+ balance: string;
732
+ num_nonces: number;
733
+ receiver_id: string;
734
+ method_names: string[];
735
+ allowance?: string | null | undefined;
736
+ };
737
+ } | {
738
+ GasKeyFullAccess: {
739
+ balance: string;
740
+ num_nonces: number;
741
+ };
255
742
  };
256
743
  };
257
744
  };
@@ -287,10 +774,44 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
287
774
  DeterministicStateInit: {
288
775
  deposit: string;
289
776
  };
777
+ } | {
778
+ TransferToGasKey: {
779
+ public_key: string;
780
+ deposit: string;
781
+ };
782
+ } | {
783
+ WithdrawFromGasKey: {
784
+ public_key: string;
785
+ amount: string;
786
+ };
787
+ } | {
788
+ DelegateV2: {
789
+ delegate_action: {
790
+ V2: {
791
+ sender_id: string;
792
+ receiver_id: string;
793
+ actions: any[];
794
+ nonce: {
795
+ Nonce: {
796
+ nonce: number;
797
+ };
798
+ } | {
799
+ GasKeyNonce: {
800
+ nonce: number;
801
+ nonce_index: number;
802
+ };
803
+ };
804
+ max_block_height: number;
805
+ public_key: string;
806
+ };
807
+ };
808
+ signature: string;
809
+ };
290
810
  })[];
291
811
  signature: string;
292
812
  hash: string;
293
813
  priority_fee?: number | undefined;
814
+ nonce_mode?: "monotonic" | "strict" | null | undefined;
294
815
  };
295
816
  transaction_outcome: {
296
817
  id: string;
@@ -300,7 +821,7 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
300
821
  gas_burnt: number;
301
822
  tokens_burnt: string;
302
823
  executor_id: string;
303
- status: "Unknown" | "Pending" | {
824
+ status: "Pending" | "Unknown" | {
304
825
  SuccessValue: string;
305
826
  } | {
306
827
  SuccessReceiptId: string;
@@ -312,13 +833,36 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
312
833
  };
313
834
  };
314
835
  metadata?: {
315
- version: number;
316
836
  gas_profile?: {
317
837
  [x: string]: any;
318
838
  cost?: string | undefined;
319
839
  cost_category?: string | undefined;
320
840
  gas_used?: string | undefined;
321
841
  }[] | null | undefined;
842
+ version: 4;
843
+ contracts?: ({
844
+ local: string;
845
+ } | {
846
+ global_hash: string;
847
+ } | {
848
+ global_account_id: string;
849
+ } | null)[] | null | undefined;
850
+ } | {
851
+ gas_profile?: {
852
+ [x: string]: any;
853
+ cost?: string | undefined;
854
+ cost_category?: string | undefined;
855
+ gas_used?: string | undefined;
856
+ }[] | null | undefined;
857
+ version: 1 | 2 | 3;
858
+ } | {
859
+ gas_profile?: {
860
+ [x: string]: any;
861
+ cost?: string | undefined;
862
+ cost_category?: string | undefined;
863
+ gas_used?: string | undefined;
864
+ }[] | null | undefined;
865
+ version: number;
322
866
  } | undefined;
323
867
  };
324
868
  block_hash: string;
@@ -335,7 +879,7 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
335
879
  gas_burnt: number;
336
880
  tokens_burnt: string;
337
881
  executor_id: string;
338
- status: "Unknown" | "Pending" | {
882
+ status: "Pending" | "Unknown" | {
339
883
  SuccessValue: string;
340
884
  } | {
341
885
  SuccessReceiptId: string;
@@ -347,13 +891,36 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
347
891
  };
348
892
  };
349
893
  metadata?: {
350
- version: number;
351
894
  gas_profile?: {
352
895
  [x: string]: any;
353
896
  cost?: string | undefined;
354
897
  cost_category?: string | undefined;
355
898
  gas_used?: string | undefined;
356
899
  }[] | null | undefined;
900
+ version: 4;
901
+ contracts?: ({
902
+ local: string;
903
+ } | {
904
+ global_hash: string;
905
+ } | {
906
+ global_account_id: string;
907
+ } | null)[] | null | undefined;
908
+ } | {
909
+ gas_profile?: {
910
+ [x: string]: any;
911
+ cost?: string | undefined;
912
+ cost_category?: string | undefined;
913
+ gas_used?: string | undefined;
914
+ }[] | null | undefined;
915
+ version: 1 | 2 | 3;
916
+ } | {
917
+ gas_profile?: {
918
+ [x: string]: any;
919
+ cost?: string | undefined;
920
+ cost_category?: string | undefined;
921
+ gas_used?: string | undefined;
922
+ }[] | null | undefined;
923
+ version: number;
357
924
  } | undefined;
358
925
  };
359
926
  block_hash: string;
@@ -364,7 +931,7 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
364
931
  }[];
365
932
  } | {
366
933
  final_execution_status: "FINAL";
367
- status: "Unknown" | "Pending" | {
934
+ status: "Pending" | "Unknown" | {
368
935
  SuccessValue: string;
369
936
  } | {
370
937
  SuccessReceiptId: string;
@@ -421,6 +988,19 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
421
988
  method_names: string[];
422
989
  allowance?: string | null | undefined;
423
990
  };
991
+ } | {
992
+ GasKeyFunctionCall: {
993
+ balance: string;
994
+ num_nonces: number;
995
+ receiver_id: string;
996
+ method_names: string[];
997
+ allowance?: string | null | undefined;
998
+ };
999
+ } | {
1000
+ GasKeyFullAccess: {
1001
+ balance: string;
1002
+ num_nonces: number;
1003
+ };
424
1004
  };
425
1005
  };
426
1006
  };
@@ -456,10 +1036,44 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
456
1036
  DeterministicStateInit: {
457
1037
  deposit: string;
458
1038
  };
1039
+ } | {
1040
+ TransferToGasKey: {
1041
+ public_key: string;
1042
+ deposit: string;
1043
+ };
1044
+ } | {
1045
+ WithdrawFromGasKey: {
1046
+ public_key: string;
1047
+ amount: string;
1048
+ };
1049
+ } | {
1050
+ DelegateV2: {
1051
+ delegate_action: {
1052
+ V2: {
1053
+ sender_id: string;
1054
+ receiver_id: string;
1055
+ actions: any[];
1056
+ nonce: {
1057
+ Nonce: {
1058
+ nonce: number;
1059
+ };
1060
+ } | {
1061
+ GasKeyNonce: {
1062
+ nonce: number;
1063
+ nonce_index: number;
1064
+ };
1065
+ };
1066
+ max_block_height: number;
1067
+ public_key: string;
1068
+ };
1069
+ };
1070
+ signature: string;
1071
+ };
459
1072
  })[];
460
1073
  signature: string;
461
1074
  hash: string;
462
1075
  priority_fee?: number | undefined;
1076
+ nonce_mode?: "monotonic" | "strict" | null | undefined;
463
1077
  };
464
1078
  transaction_outcome: {
465
1079
  id: string;
@@ -469,7 +1083,7 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
469
1083
  gas_burnt: number;
470
1084
  tokens_burnt: string;
471
1085
  executor_id: string;
472
- status: "Unknown" | "Pending" | {
1086
+ status: "Pending" | "Unknown" | {
473
1087
  SuccessValue: string;
474
1088
  } | {
475
1089
  SuccessReceiptId: string;
@@ -481,13 +1095,36 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
481
1095
  };
482
1096
  };
483
1097
  metadata?: {
484
- version: number;
485
1098
  gas_profile?: {
486
1099
  [x: string]: any;
487
1100
  cost?: string | undefined;
488
1101
  cost_category?: string | undefined;
489
1102
  gas_used?: string | undefined;
490
1103
  }[] | null | undefined;
1104
+ version: 4;
1105
+ contracts?: ({
1106
+ local: string;
1107
+ } | {
1108
+ global_hash: string;
1109
+ } | {
1110
+ global_account_id: string;
1111
+ } | null)[] | null | undefined;
1112
+ } | {
1113
+ gas_profile?: {
1114
+ [x: string]: any;
1115
+ cost?: string | undefined;
1116
+ cost_category?: string | undefined;
1117
+ gas_used?: string | undefined;
1118
+ }[] | null | undefined;
1119
+ version: 1 | 2 | 3;
1120
+ } | {
1121
+ gas_profile?: {
1122
+ [x: string]: any;
1123
+ cost?: string | undefined;
1124
+ cost_category?: string | undefined;
1125
+ gas_used?: string | undefined;
1126
+ }[] | null | undefined;
1127
+ version: number;
491
1128
  } | undefined;
492
1129
  };
493
1130
  block_hash: string;
@@ -504,7 +1141,7 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
504
1141
  gas_burnt: number;
505
1142
  tokens_burnt: string;
506
1143
  executor_id: string;
507
- status: "Unknown" | "Pending" | {
1144
+ status: "Pending" | "Unknown" | {
508
1145
  SuccessValue: string;
509
1146
  } | {
510
1147
  SuccessReceiptId: string;
@@ -516,13 +1153,36 @@ export declare function greeting_set_greeting_fun(near: Near, greeting_contractI
516
1153
  };
517
1154
  };
518
1155
  metadata?: {
519
- version: number;
520
1156
  gas_profile?: {
521
1157
  [x: string]: any;
522
1158
  cost?: string | undefined;
523
1159
  cost_category?: string | undefined;
524
1160
  gas_used?: string | undefined;
525
1161
  }[] | null | undefined;
1162
+ version: 4;
1163
+ contracts?: ({
1164
+ local: string;
1165
+ } | {
1166
+ global_hash: string;
1167
+ } | {
1168
+ global_account_id: string;
1169
+ } | null)[] | null | undefined;
1170
+ } | {
1171
+ gas_profile?: {
1172
+ [x: string]: any;
1173
+ cost?: string | undefined;
1174
+ cost_category?: string | undefined;
1175
+ gas_used?: string | undefined;
1176
+ }[] | null | undefined;
1177
+ version: 1 | 2 | 3;
1178
+ } | {
1179
+ gas_profile?: {
1180
+ [x: string]: any;
1181
+ cost?: string | undefined;
1182
+ cost_category?: string | undefined;
1183
+ gas_used?: string | undefined;
1184
+ }[] | null | undefined;
1185
+ version: number;
526
1186
  } | undefined;
527
1187
  };
528
1188
  block_hash: string;