@near-kit-tool-box/fun 0.1.5 → 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.
@@ -7,6 +7,133 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
7
7
  receiver_id: string;
8
8
  nonce: number;
9
9
  } | undefined;
10
+ status?: "Pending" | "Unknown" | {
11
+ SuccessValue: string;
12
+ } | {
13
+ SuccessReceiptId: string;
14
+ } | {
15
+ Failure: {
16
+ [x: string]: any;
17
+ error_message?: string | undefined;
18
+ error_type?: string | undefined;
19
+ };
20
+ } | undefined;
21
+ transaction_outcome?: {
22
+ id: string;
23
+ outcome: {
24
+ logs: string[];
25
+ receipt_ids: string[];
26
+ gas_burnt: number;
27
+ tokens_burnt: string;
28
+ executor_id: string;
29
+ status: "Pending" | "Unknown" | {
30
+ SuccessValue: string;
31
+ } | {
32
+ SuccessReceiptId: string;
33
+ } | {
34
+ Failure: {
35
+ [x: string]: any;
36
+ error_message?: string | undefined;
37
+ error_type?: string | undefined;
38
+ };
39
+ };
40
+ metadata?: {
41
+ gas_profile?: {
42
+ [x: string]: any;
43
+ cost?: string | undefined;
44
+ cost_category?: string | undefined;
45
+ gas_used?: string | undefined;
46
+ }[] | null | undefined;
47
+ version: 4;
48
+ contracts?: ({
49
+ local: string;
50
+ } | {
51
+ global_hash: string;
52
+ } | {
53
+ global_account_id: string;
54
+ } | null)[] | null | undefined;
55
+ } | {
56
+ gas_profile?: {
57
+ [x: string]: any;
58
+ cost?: string | undefined;
59
+ cost_category?: string | undefined;
60
+ gas_used?: string | undefined;
61
+ }[] | null | undefined;
62
+ version: 1 | 2 | 3;
63
+ } | {
64
+ gas_profile?: {
65
+ [x: string]: any;
66
+ cost?: string | undefined;
67
+ cost_category?: string | undefined;
68
+ gas_used?: string | undefined;
69
+ }[] | null | undefined;
70
+ version: number;
71
+ } | undefined;
72
+ };
73
+ block_hash: string;
74
+ proof: {
75
+ hash: string;
76
+ direction: "Left" | "Right";
77
+ }[];
78
+ } | undefined;
79
+ receipts_outcome?: {
80
+ id: string;
81
+ outcome: {
82
+ logs: string[];
83
+ receipt_ids: string[];
84
+ gas_burnt: number;
85
+ tokens_burnt: string;
86
+ executor_id: string;
87
+ status: "Pending" | "Unknown" | {
88
+ SuccessValue: string;
89
+ } | {
90
+ SuccessReceiptId: string;
91
+ } | {
92
+ Failure: {
93
+ [x: string]: any;
94
+ error_message?: string | undefined;
95
+ error_type?: string | undefined;
96
+ };
97
+ };
98
+ metadata?: {
99
+ gas_profile?: {
100
+ [x: string]: any;
101
+ cost?: string | undefined;
102
+ cost_category?: string | undefined;
103
+ gas_used?: string | undefined;
104
+ }[] | null | undefined;
105
+ version: 4;
106
+ contracts?: ({
107
+ local: string;
108
+ } | {
109
+ global_hash: string;
110
+ } | {
111
+ global_account_id: string;
112
+ } | null)[] | null | undefined;
113
+ } | {
114
+ gas_profile?: {
115
+ [x: string]: any;
116
+ cost?: string | undefined;
117
+ cost_category?: string | undefined;
118
+ gas_used?: string | undefined;
119
+ }[] | null | undefined;
120
+ version: 1 | 2 | 3;
121
+ } | {
122
+ gas_profile?: {
123
+ [x: string]: any;
124
+ cost?: string | undefined;
125
+ cost_category?: string | undefined;
126
+ gas_used?: string | undefined;
127
+ }[] | null | undefined;
128
+ version: number;
129
+ } | undefined;
130
+ };
131
+ block_hash: string;
132
+ proof: {
133
+ hash: string;
134
+ direction: "Left" | "Right";
135
+ }[];
136
+ }[] | undefined;
10
137
  } | {
11
138
  final_execution_status: "INCLUDED";
12
139
  transaction?: {
@@ -15,17 +142,795 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
15
142
  receiver_id: string;
16
143
  nonce: number;
17
144
  } | undefined;
145
+ status?: "Pending" | "Unknown" | {
146
+ SuccessValue: string;
147
+ } | {
148
+ SuccessReceiptId: string;
149
+ } | {
150
+ Failure: {
151
+ [x: string]: any;
152
+ error_message?: string | undefined;
153
+ error_type?: string | undefined;
154
+ };
155
+ } | undefined;
156
+ transaction_outcome?: {
157
+ id: string;
158
+ outcome: {
159
+ logs: string[];
160
+ receipt_ids: string[];
161
+ gas_burnt: number;
162
+ tokens_burnt: string;
163
+ executor_id: string;
164
+ status: "Pending" | "Unknown" | {
165
+ SuccessValue: string;
166
+ } | {
167
+ SuccessReceiptId: string;
168
+ } | {
169
+ Failure: {
170
+ [x: string]: any;
171
+ error_message?: string | undefined;
172
+ error_type?: string | undefined;
173
+ };
174
+ };
175
+ metadata?: {
176
+ gas_profile?: {
177
+ [x: string]: any;
178
+ cost?: string | undefined;
179
+ cost_category?: string | undefined;
180
+ gas_used?: string | undefined;
181
+ }[] | null | undefined;
182
+ version: 4;
183
+ contracts?: ({
184
+ local: string;
185
+ } | {
186
+ global_hash: string;
187
+ } | {
188
+ global_account_id: string;
189
+ } | null)[] | null | undefined;
190
+ } | {
191
+ gas_profile?: {
192
+ [x: string]: any;
193
+ cost?: string | undefined;
194
+ cost_category?: string | undefined;
195
+ gas_used?: string | undefined;
196
+ }[] | null | undefined;
197
+ version: 1 | 2 | 3;
198
+ } | {
199
+ gas_profile?: {
200
+ [x: string]: any;
201
+ cost?: string | undefined;
202
+ cost_category?: string | undefined;
203
+ gas_used?: string | undefined;
204
+ }[] | null | undefined;
205
+ version: number;
206
+ } | undefined;
207
+ };
208
+ block_hash: string;
209
+ proof: {
210
+ hash: string;
211
+ direction: "Left" | "Right";
212
+ }[];
213
+ } | undefined;
214
+ receipts_outcome?: {
215
+ id: string;
216
+ outcome: {
217
+ logs: string[];
218
+ receipt_ids: string[];
219
+ gas_burnt: number;
220
+ tokens_burnt: string;
221
+ executor_id: string;
222
+ status: "Pending" | "Unknown" | {
223
+ SuccessValue: string;
224
+ } | {
225
+ SuccessReceiptId: string;
226
+ } | {
227
+ Failure: {
228
+ [x: string]: any;
229
+ error_message?: string | undefined;
230
+ error_type?: string | undefined;
231
+ };
232
+ };
233
+ metadata?: {
234
+ gas_profile?: {
235
+ [x: string]: any;
236
+ cost?: string | undefined;
237
+ cost_category?: string | undefined;
238
+ gas_used?: string | undefined;
239
+ }[] | null | undefined;
240
+ version: 4;
241
+ contracts?: ({
242
+ local: string;
243
+ } | {
244
+ global_hash: string;
245
+ } | {
246
+ global_account_id: string;
247
+ } | null)[] | null | undefined;
248
+ } | {
249
+ gas_profile?: {
250
+ [x: string]: any;
251
+ cost?: string | undefined;
252
+ cost_category?: string | undefined;
253
+ gas_used?: string | undefined;
254
+ }[] | null | undefined;
255
+ version: 1 | 2 | 3;
256
+ } | {
257
+ gas_profile?: {
258
+ [x: string]: any;
259
+ cost?: string | undefined;
260
+ cost_category?: string | undefined;
261
+ gas_used?: string | undefined;
262
+ }[] | null | undefined;
263
+ version: number;
264
+ } | undefined;
265
+ };
266
+ block_hash: string;
267
+ proof: {
268
+ hash: string;
269
+ direction: "Left" | "Right";
270
+ }[];
271
+ }[] | undefined;
18
272
  } | {
19
273
  final_execution_status: "INCLUDED_FINAL";
20
274
  transaction?: {
21
275
  hash: string;
22
- signer_id: string;
23
- receiver_id: string;
24
- nonce: number;
25
- } | undefined;
276
+ signer_id: string;
277
+ receiver_id: string;
278
+ nonce: number;
279
+ } | undefined;
280
+ status?: "Pending" | "Unknown" | {
281
+ SuccessValue: string;
282
+ } | {
283
+ SuccessReceiptId: string;
284
+ } | {
285
+ Failure: {
286
+ [x: string]: any;
287
+ error_message?: string | undefined;
288
+ error_type?: string | undefined;
289
+ };
290
+ } | undefined;
291
+ transaction_outcome?: {
292
+ id: string;
293
+ outcome: {
294
+ logs: string[];
295
+ receipt_ids: string[];
296
+ gas_burnt: number;
297
+ tokens_burnt: string;
298
+ executor_id: string;
299
+ status: "Pending" | "Unknown" | {
300
+ SuccessValue: string;
301
+ } | {
302
+ SuccessReceiptId: string;
303
+ } | {
304
+ Failure: {
305
+ [x: string]: any;
306
+ error_message?: string | undefined;
307
+ error_type?: string | undefined;
308
+ };
309
+ };
310
+ metadata?: {
311
+ gas_profile?: {
312
+ [x: string]: any;
313
+ cost?: string | undefined;
314
+ cost_category?: string | undefined;
315
+ gas_used?: string | undefined;
316
+ }[] | null | undefined;
317
+ version: 4;
318
+ contracts?: ({
319
+ local: string;
320
+ } | {
321
+ global_hash: string;
322
+ } | {
323
+ global_account_id: string;
324
+ } | null)[] | null | undefined;
325
+ } | {
326
+ gas_profile?: {
327
+ [x: string]: any;
328
+ cost?: string | undefined;
329
+ cost_category?: string | undefined;
330
+ gas_used?: string | undefined;
331
+ }[] | null | undefined;
332
+ version: 1 | 2 | 3;
333
+ } | {
334
+ gas_profile?: {
335
+ [x: string]: any;
336
+ cost?: string | undefined;
337
+ cost_category?: string | undefined;
338
+ gas_used?: string | undefined;
339
+ }[] | null | undefined;
340
+ version: number;
341
+ } | undefined;
342
+ };
343
+ block_hash: string;
344
+ proof: {
345
+ hash: string;
346
+ direction: "Left" | "Right";
347
+ }[];
348
+ } | undefined;
349
+ receipts_outcome?: {
350
+ id: string;
351
+ outcome: {
352
+ logs: string[];
353
+ receipt_ids: string[];
354
+ gas_burnt: number;
355
+ tokens_burnt: string;
356
+ executor_id: string;
357
+ status: "Pending" | "Unknown" | {
358
+ SuccessValue: string;
359
+ } | {
360
+ SuccessReceiptId: string;
361
+ } | {
362
+ Failure: {
363
+ [x: string]: any;
364
+ error_message?: string | undefined;
365
+ error_type?: string | undefined;
366
+ };
367
+ };
368
+ metadata?: {
369
+ gas_profile?: {
370
+ [x: string]: any;
371
+ cost?: string | undefined;
372
+ cost_category?: string | undefined;
373
+ gas_used?: string | undefined;
374
+ }[] | null | undefined;
375
+ version: 4;
376
+ contracts?: ({
377
+ local: string;
378
+ } | {
379
+ global_hash: string;
380
+ } | {
381
+ global_account_id: string;
382
+ } | null)[] | null | undefined;
383
+ } | {
384
+ gas_profile?: {
385
+ [x: string]: any;
386
+ cost?: string | undefined;
387
+ cost_category?: string | undefined;
388
+ gas_used?: string | undefined;
389
+ }[] | null | undefined;
390
+ version: 1 | 2 | 3;
391
+ } | {
392
+ gas_profile?: {
393
+ [x: string]: any;
394
+ cost?: string | undefined;
395
+ cost_category?: string | undefined;
396
+ gas_used?: string | undefined;
397
+ }[] | null | undefined;
398
+ version: number;
399
+ } | undefined;
400
+ };
401
+ block_hash: string;
402
+ proof: {
403
+ hash: string;
404
+ direction: "Left" | "Right";
405
+ }[];
406
+ }[] | undefined;
407
+ } | {
408
+ final_execution_status: "EXECUTED_OPTIMISTIC";
409
+ status: "Pending" | "Unknown" | {
410
+ SuccessValue: string;
411
+ } | {
412
+ SuccessReceiptId: string;
413
+ } | {
414
+ Failure: {
415
+ [x: string]: any;
416
+ error_message?: string | undefined;
417
+ error_type?: string | undefined;
418
+ };
419
+ };
420
+ transaction: {
421
+ signer_id: string;
422
+ public_key: string;
423
+ nonce: number;
424
+ receiver_id: string;
425
+ actions: ("CreateAccount" | {
426
+ CreateAccount: Record<string, never>;
427
+ } | {
428
+ Transfer: {
429
+ deposit: string;
430
+ };
431
+ } | {
432
+ FunctionCall: {
433
+ method_name: string;
434
+ args: string;
435
+ gas: number;
436
+ deposit: string;
437
+ };
438
+ } | {
439
+ DeployContract: {
440
+ code: string;
441
+ };
442
+ } | {
443
+ DeployGlobalContract: {
444
+ code: string;
445
+ };
446
+ } | {
447
+ DeployGlobalContractByAccountId: {
448
+ code: string;
449
+ };
450
+ } | {
451
+ Stake: {
452
+ stake: string;
453
+ public_key: string;
454
+ };
455
+ } | {
456
+ AddKey: {
457
+ public_key: string;
458
+ access_key: {
459
+ nonce: number;
460
+ permission: "FullAccess" | {
461
+ FunctionCall: {
462
+ receiver_id: string;
463
+ method_names: string[];
464
+ allowance?: string | null | undefined;
465
+ };
466
+ } | {
467
+ GasKeyFunctionCall: {
468
+ balance: string;
469
+ num_nonces: number;
470
+ receiver_id: string;
471
+ method_names: string[];
472
+ allowance?: string | null | undefined;
473
+ };
474
+ } | {
475
+ GasKeyFullAccess: {
476
+ balance: string;
477
+ num_nonces: number;
478
+ };
479
+ };
480
+ };
481
+ };
482
+ } | {
483
+ DeleteKey: {
484
+ public_key: string;
485
+ };
486
+ } | {
487
+ DeleteAccount: {
488
+ beneficiary_id: string;
489
+ };
490
+ } | {
491
+ UseGlobalContract: {
492
+ code_hash: string;
493
+ };
494
+ } | {
495
+ UseGlobalContractByAccountId: {
496
+ account_id: string;
497
+ };
498
+ } | {
499
+ Delegate: {
500
+ delegate_action: {
501
+ sender_id: string;
502
+ receiver_id: string;
503
+ actions: any[];
504
+ nonce: number;
505
+ max_block_height: number;
506
+ public_key: string;
507
+ };
508
+ signature: string;
509
+ };
510
+ } | {
511
+ DeterministicStateInit: {
512
+ deposit: string;
513
+ };
514
+ } | {
515
+ TransferToGasKey: {
516
+ public_key: string;
517
+ deposit: string;
518
+ };
519
+ } | {
520
+ WithdrawFromGasKey: {
521
+ public_key: string;
522
+ amount: string;
523
+ };
524
+ } | {
525
+ DelegateV2: {
526
+ delegate_action: {
527
+ V2: {
528
+ sender_id: string;
529
+ receiver_id: string;
530
+ actions: any[];
531
+ nonce: {
532
+ Nonce: {
533
+ nonce: number;
534
+ };
535
+ } | {
536
+ GasKeyNonce: {
537
+ nonce: number;
538
+ nonce_index: number;
539
+ };
540
+ };
541
+ max_block_height: number;
542
+ public_key: string;
543
+ };
544
+ };
545
+ signature: string;
546
+ };
547
+ })[];
548
+ signature: string;
549
+ hash: string;
550
+ priority_fee?: number | undefined;
551
+ nonce_mode?: "monotonic" | "strict" | null | undefined;
552
+ };
553
+ transaction_outcome: {
554
+ id: string;
555
+ outcome: {
556
+ logs: string[];
557
+ receipt_ids: string[];
558
+ gas_burnt: number;
559
+ tokens_burnt: string;
560
+ executor_id: string;
561
+ status: "Pending" | "Unknown" | {
562
+ SuccessValue: string;
563
+ } | {
564
+ SuccessReceiptId: string;
565
+ } | {
566
+ Failure: {
567
+ [x: string]: any;
568
+ error_message?: string | undefined;
569
+ error_type?: string | undefined;
570
+ };
571
+ };
572
+ metadata?: {
573
+ gas_profile?: {
574
+ [x: string]: any;
575
+ cost?: string | undefined;
576
+ cost_category?: string | undefined;
577
+ gas_used?: string | undefined;
578
+ }[] | null | undefined;
579
+ version: 4;
580
+ contracts?: ({
581
+ local: string;
582
+ } | {
583
+ global_hash: string;
584
+ } | {
585
+ global_account_id: string;
586
+ } | null)[] | null | undefined;
587
+ } | {
588
+ gas_profile?: {
589
+ [x: string]: any;
590
+ cost?: string | undefined;
591
+ cost_category?: string | undefined;
592
+ gas_used?: string | undefined;
593
+ }[] | null | undefined;
594
+ version: 1 | 2 | 3;
595
+ } | {
596
+ gas_profile?: {
597
+ [x: string]: any;
598
+ cost?: string | undefined;
599
+ cost_category?: string | undefined;
600
+ gas_used?: string | undefined;
601
+ }[] | null | undefined;
602
+ version: number;
603
+ } | undefined;
604
+ };
605
+ block_hash: string;
606
+ proof: {
607
+ hash: string;
608
+ direction: "Left" | "Right";
609
+ }[];
610
+ };
611
+ receipts_outcome: {
612
+ id: string;
613
+ outcome: {
614
+ logs: string[];
615
+ receipt_ids: string[];
616
+ gas_burnt: number;
617
+ tokens_burnt: string;
618
+ executor_id: string;
619
+ status: "Pending" | "Unknown" | {
620
+ SuccessValue: string;
621
+ } | {
622
+ SuccessReceiptId: string;
623
+ } | {
624
+ Failure: {
625
+ [x: string]: any;
626
+ error_message?: string | undefined;
627
+ error_type?: string | undefined;
628
+ };
629
+ };
630
+ metadata?: {
631
+ gas_profile?: {
632
+ [x: string]: any;
633
+ cost?: string | undefined;
634
+ cost_category?: string | undefined;
635
+ gas_used?: string | undefined;
636
+ }[] | null | undefined;
637
+ version: 4;
638
+ contracts?: ({
639
+ local: string;
640
+ } | {
641
+ global_hash: string;
642
+ } | {
643
+ global_account_id: string;
644
+ } | null)[] | null | undefined;
645
+ } | {
646
+ gas_profile?: {
647
+ [x: string]: any;
648
+ cost?: string | undefined;
649
+ cost_category?: string | undefined;
650
+ gas_used?: string | undefined;
651
+ }[] | null | undefined;
652
+ version: 1 | 2 | 3;
653
+ } | {
654
+ gas_profile?: {
655
+ [x: string]: any;
656
+ cost?: string | undefined;
657
+ cost_category?: string | undefined;
658
+ gas_used?: string | undefined;
659
+ }[] | null | undefined;
660
+ version: number;
661
+ } | undefined;
662
+ };
663
+ block_hash: string;
664
+ proof: {
665
+ hash: string;
666
+ direction: "Left" | "Right";
667
+ }[];
668
+ }[];
669
+ } | {
670
+ final_execution_status: "EXECUTED";
671
+ status: "Pending" | "Unknown" | {
672
+ SuccessValue: string;
673
+ } | {
674
+ SuccessReceiptId: string;
675
+ } | {
676
+ Failure: {
677
+ [x: string]: any;
678
+ error_message?: string | undefined;
679
+ error_type?: string | undefined;
680
+ };
681
+ };
682
+ transaction: {
683
+ signer_id: string;
684
+ public_key: string;
685
+ nonce: number;
686
+ receiver_id: string;
687
+ actions: ("CreateAccount" | {
688
+ CreateAccount: Record<string, never>;
689
+ } | {
690
+ Transfer: {
691
+ deposit: string;
692
+ };
693
+ } | {
694
+ FunctionCall: {
695
+ method_name: string;
696
+ args: string;
697
+ gas: number;
698
+ deposit: string;
699
+ };
700
+ } | {
701
+ DeployContract: {
702
+ code: string;
703
+ };
704
+ } | {
705
+ DeployGlobalContract: {
706
+ code: string;
707
+ };
708
+ } | {
709
+ DeployGlobalContractByAccountId: {
710
+ code: string;
711
+ };
712
+ } | {
713
+ Stake: {
714
+ stake: string;
715
+ public_key: string;
716
+ };
717
+ } | {
718
+ AddKey: {
719
+ public_key: string;
720
+ access_key: {
721
+ nonce: number;
722
+ permission: "FullAccess" | {
723
+ FunctionCall: {
724
+ receiver_id: string;
725
+ method_names: string[];
726
+ allowance?: string | null | undefined;
727
+ };
728
+ } | {
729
+ GasKeyFunctionCall: {
730
+ balance: string;
731
+ num_nonces: number;
732
+ receiver_id: string;
733
+ method_names: string[];
734
+ allowance?: string | null | undefined;
735
+ };
736
+ } | {
737
+ GasKeyFullAccess: {
738
+ balance: string;
739
+ num_nonces: number;
740
+ };
741
+ };
742
+ };
743
+ };
744
+ } | {
745
+ DeleteKey: {
746
+ public_key: string;
747
+ };
748
+ } | {
749
+ DeleteAccount: {
750
+ beneficiary_id: string;
751
+ };
752
+ } | {
753
+ UseGlobalContract: {
754
+ code_hash: string;
755
+ };
756
+ } | {
757
+ UseGlobalContractByAccountId: {
758
+ account_id: string;
759
+ };
760
+ } | {
761
+ Delegate: {
762
+ delegate_action: {
763
+ sender_id: string;
764
+ receiver_id: string;
765
+ actions: any[];
766
+ nonce: number;
767
+ max_block_height: number;
768
+ public_key: string;
769
+ };
770
+ signature: string;
771
+ };
772
+ } | {
773
+ DeterministicStateInit: {
774
+ deposit: string;
775
+ };
776
+ } | {
777
+ TransferToGasKey: {
778
+ public_key: string;
779
+ deposit: string;
780
+ };
781
+ } | {
782
+ WithdrawFromGasKey: {
783
+ public_key: string;
784
+ amount: string;
785
+ };
786
+ } | {
787
+ DelegateV2: {
788
+ delegate_action: {
789
+ V2: {
790
+ sender_id: string;
791
+ receiver_id: string;
792
+ actions: any[];
793
+ nonce: {
794
+ Nonce: {
795
+ nonce: number;
796
+ };
797
+ } | {
798
+ GasKeyNonce: {
799
+ nonce: number;
800
+ nonce_index: number;
801
+ };
802
+ };
803
+ max_block_height: number;
804
+ public_key: string;
805
+ };
806
+ };
807
+ signature: string;
808
+ };
809
+ })[];
810
+ signature: string;
811
+ hash: string;
812
+ priority_fee?: number | undefined;
813
+ nonce_mode?: "monotonic" | "strict" | null | undefined;
814
+ };
815
+ transaction_outcome: {
816
+ id: string;
817
+ outcome: {
818
+ logs: string[];
819
+ receipt_ids: string[];
820
+ gas_burnt: number;
821
+ tokens_burnt: string;
822
+ executor_id: string;
823
+ status: "Pending" | "Unknown" | {
824
+ SuccessValue: string;
825
+ } | {
826
+ SuccessReceiptId: string;
827
+ } | {
828
+ Failure: {
829
+ [x: string]: any;
830
+ error_message?: string | undefined;
831
+ error_type?: string | undefined;
832
+ };
833
+ };
834
+ metadata?: {
835
+ gas_profile?: {
836
+ [x: string]: any;
837
+ cost?: string | undefined;
838
+ cost_category?: string | undefined;
839
+ gas_used?: string | undefined;
840
+ }[] | null | undefined;
841
+ version: 4;
842
+ contracts?: ({
843
+ local: string;
844
+ } | {
845
+ global_hash: string;
846
+ } | {
847
+ global_account_id: string;
848
+ } | null)[] | null | undefined;
849
+ } | {
850
+ gas_profile?: {
851
+ [x: string]: any;
852
+ cost?: string | undefined;
853
+ cost_category?: string | undefined;
854
+ gas_used?: string | undefined;
855
+ }[] | null | undefined;
856
+ version: 1 | 2 | 3;
857
+ } | {
858
+ gas_profile?: {
859
+ [x: string]: any;
860
+ cost?: string | undefined;
861
+ cost_category?: string | undefined;
862
+ gas_used?: string | undefined;
863
+ }[] | null | undefined;
864
+ version: number;
865
+ } | undefined;
866
+ };
867
+ block_hash: string;
868
+ proof: {
869
+ hash: string;
870
+ direction: "Left" | "Right";
871
+ }[];
872
+ };
873
+ receipts_outcome: {
874
+ id: string;
875
+ outcome: {
876
+ logs: string[];
877
+ receipt_ids: string[];
878
+ gas_burnt: number;
879
+ tokens_burnt: string;
880
+ executor_id: string;
881
+ status: "Pending" | "Unknown" | {
882
+ SuccessValue: string;
883
+ } | {
884
+ SuccessReceiptId: string;
885
+ } | {
886
+ Failure: {
887
+ [x: string]: any;
888
+ error_message?: string | undefined;
889
+ error_type?: string | undefined;
890
+ };
891
+ };
892
+ metadata?: {
893
+ gas_profile?: {
894
+ [x: string]: any;
895
+ cost?: string | undefined;
896
+ cost_category?: string | undefined;
897
+ gas_used?: string | undefined;
898
+ }[] | null | undefined;
899
+ version: 4;
900
+ contracts?: ({
901
+ local: string;
902
+ } | {
903
+ global_hash: string;
904
+ } | {
905
+ global_account_id: string;
906
+ } | null)[] | null | undefined;
907
+ } | {
908
+ gas_profile?: {
909
+ [x: string]: any;
910
+ cost?: string | undefined;
911
+ cost_category?: string | undefined;
912
+ gas_used?: string | undefined;
913
+ }[] | null | undefined;
914
+ version: 1 | 2 | 3;
915
+ } | {
916
+ gas_profile?: {
917
+ [x: string]: any;
918
+ cost?: string | undefined;
919
+ cost_category?: string | undefined;
920
+ gas_used?: string | undefined;
921
+ }[] | null | undefined;
922
+ version: number;
923
+ } | undefined;
924
+ };
925
+ block_hash: string;
926
+ proof: {
927
+ hash: string;
928
+ direction: "Left" | "Right";
929
+ }[];
930
+ }[];
26
931
  } | {
27
- final_execution_status: "EXECUTED_OPTIMISTIC";
28
- status: "Unknown" | "Pending" | {
932
+ final_execution_status: "FINAL";
933
+ status: "Pending" | "Unknown" | {
29
934
  SuccessValue: string;
30
935
  } | {
31
936
  SuccessReceiptId: string;
@@ -82,6 +987,19 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
82
987
  method_names: string[];
83
988
  allowance?: string | null | undefined;
84
989
  };
990
+ } | {
991
+ GasKeyFunctionCall: {
992
+ balance: string;
993
+ num_nonces: number;
994
+ receiver_id: string;
995
+ method_names: string[];
996
+ allowance?: string | null | undefined;
997
+ };
998
+ } | {
999
+ GasKeyFullAccess: {
1000
+ balance: string;
1001
+ num_nonces: number;
1002
+ };
85
1003
  };
86
1004
  };
87
1005
  };
@@ -117,10 +1035,44 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
117
1035
  DeterministicStateInit: {
118
1036
  deposit: string;
119
1037
  };
1038
+ } | {
1039
+ TransferToGasKey: {
1040
+ public_key: string;
1041
+ deposit: string;
1042
+ };
1043
+ } | {
1044
+ WithdrawFromGasKey: {
1045
+ public_key: string;
1046
+ amount: string;
1047
+ };
1048
+ } | {
1049
+ DelegateV2: {
1050
+ delegate_action: {
1051
+ V2: {
1052
+ sender_id: string;
1053
+ receiver_id: string;
1054
+ actions: any[];
1055
+ nonce: {
1056
+ Nonce: {
1057
+ nonce: number;
1058
+ };
1059
+ } | {
1060
+ GasKeyNonce: {
1061
+ nonce: number;
1062
+ nonce_index: number;
1063
+ };
1064
+ };
1065
+ max_block_height: number;
1066
+ public_key: string;
1067
+ };
1068
+ };
1069
+ signature: string;
1070
+ };
120
1071
  })[];
121
1072
  signature: string;
122
1073
  hash: string;
123
1074
  priority_fee?: number | undefined;
1075
+ nonce_mode?: "monotonic" | "strict" | null | undefined;
124
1076
  };
125
1077
  transaction_outcome: {
126
1078
  id: string;
@@ -130,7 +1082,143 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
130
1082
  gas_burnt: number;
131
1083
  tokens_burnt: string;
132
1084
  executor_id: string;
133
- status: "Unknown" | "Pending" | {
1085
+ status: "Pending" | "Unknown" | {
1086
+ SuccessValue: string;
1087
+ } | {
1088
+ SuccessReceiptId: string;
1089
+ } | {
1090
+ Failure: {
1091
+ [x: string]: any;
1092
+ error_message?: string | undefined;
1093
+ error_type?: string | undefined;
1094
+ };
1095
+ };
1096
+ metadata?: {
1097
+ gas_profile?: {
1098
+ [x: string]: any;
1099
+ cost?: string | undefined;
1100
+ cost_category?: string | undefined;
1101
+ gas_used?: string | undefined;
1102
+ }[] | null | undefined;
1103
+ version: 4;
1104
+ contracts?: ({
1105
+ local: string;
1106
+ } | {
1107
+ global_hash: string;
1108
+ } | {
1109
+ global_account_id: string;
1110
+ } | null)[] | null | undefined;
1111
+ } | {
1112
+ gas_profile?: {
1113
+ [x: string]: any;
1114
+ cost?: string | undefined;
1115
+ cost_category?: string | undefined;
1116
+ gas_used?: string | undefined;
1117
+ }[] | null | undefined;
1118
+ version: 1 | 2 | 3;
1119
+ } | {
1120
+ gas_profile?: {
1121
+ [x: string]: any;
1122
+ cost?: string | undefined;
1123
+ cost_category?: string | undefined;
1124
+ gas_used?: string | undefined;
1125
+ }[] | null | undefined;
1126
+ version: number;
1127
+ } | undefined;
1128
+ };
1129
+ block_hash: string;
1130
+ proof: {
1131
+ hash: string;
1132
+ direction: "Left" | "Right";
1133
+ }[];
1134
+ };
1135
+ receipts_outcome: {
1136
+ id: string;
1137
+ outcome: {
1138
+ logs: string[];
1139
+ receipt_ids: string[];
1140
+ gas_burnt: number;
1141
+ tokens_burnt: string;
1142
+ executor_id: string;
1143
+ status: "Pending" | "Unknown" | {
1144
+ SuccessValue: string;
1145
+ } | {
1146
+ SuccessReceiptId: string;
1147
+ } | {
1148
+ Failure: {
1149
+ [x: string]: any;
1150
+ error_message?: string | undefined;
1151
+ error_type?: string | undefined;
1152
+ };
1153
+ };
1154
+ metadata?: {
1155
+ gas_profile?: {
1156
+ [x: string]: any;
1157
+ cost?: string | undefined;
1158
+ cost_category?: string | undefined;
1159
+ gas_used?: string | undefined;
1160
+ }[] | null | undefined;
1161
+ version: 4;
1162
+ contracts?: ({
1163
+ local: string;
1164
+ } | {
1165
+ global_hash: string;
1166
+ } | {
1167
+ global_account_id: string;
1168
+ } | null)[] | null | undefined;
1169
+ } | {
1170
+ gas_profile?: {
1171
+ [x: string]: any;
1172
+ cost?: string | undefined;
1173
+ cost_category?: string | undefined;
1174
+ gas_used?: string | undefined;
1175
+ }[] | null | undefined;
1176
+ version: 1 | 2 | 3;
1177
+ } | {
1178
+ gas_profile?: {
1179
+ [x: string]: any;
1180
+ cost?: string | undefined;
1181
+ cost_category?: string | undefined;
1182
+ gas_used?: string | undefined;
1183
+ }[] | null | undefined;
1184
+ version: number;
1185
+ } | undefined;
1186
+ };
1187
+ block_hash: string;
1188
+ proof: {
1189
+ hash: string;
1190
+ direction: "Left" | "Right";
1191
+ }[];
1192
+ }[];
1193
+ }>;
1194
+ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractId: string): Promise<{
1195
+ final_execution_status: "NONE";
1196
+ transaction?: {
1197
+ hash: string;
1198
+ signer_id: string;
1199
+ receiver_id: string;
1200
+ nonce: number;
1201
+ } | undefined;
1202
+ status?: "Pending" | "Unknown" | {
1203
+ SuccessValue: string;
1204
+ } | {
1205
+ SuccessReceiptId: string;
1206
+ } | {
1207
+ Failure: {
1208
+ [x: string]: any;
1209
+ error_message?: string | undefined;
1210
+ error_type?: string | undefined;
1211
+ };
1212
+ } | undefined;
1213
+ transaction_outcome?: {
1214
+ id: string;
1215
+ outcome: {
1216
+ logs: string[];
1217
+ receipt_ids: string[];
1218
+ gas_burnt: number;
1219
+ tokens_burnt: string;
1220
+ executor_id: string;
1221
+ status: "Pending" | "Unknown" | {
134
1222
  SuccessValue: string;
135
1223
  } | {
136
1224
  SuccessReceiptId: string;
@@ -142,13 +1230,36 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
142
1230
  };
143
1231
  };
144
1232
  metadata?: {
145
- version: number;
146
1233
  gas_profile?: {
147
1234
  [x: string]: any;
148
1235
  cost?: string | undefined;
149
1236
  cost_category?: string | undefined;
150
1237
  gas_used?: string | undefined;
151
1238
  }[] | null | undefined;
1239
+ version: 4;
1240
+ contracts?: ({
1241
+ local: string;
1242
+ } | {
1243
+ global_hash: string;
1244
+ } | {
1245
+ global_account_id: string;
1246
+ } | null)[] | null | undefined;
1247
+ } | {
1248
+ gas_profile?: {
1249
+ [x: string]: any;
1250
+ cost?: string | undefined;
1251
+ cost_category?: string | undefined;
1252
+ gas_used?: string | undefined;
1253
+ }[] | null | undefined;
1254
+ version: 1 | 2 | 3;
1255
+ } | {
1256
+ gas_profile?: {
1257
+ [x: string]: any;
1258
+ cost?: string | undefined;
1259
+ cost_category?: string | undefined;
1260
+ gas_used?: string | undefined;
1261
+ }[] | null | undefined;
1262
+ version: number;
152
1263
  } | undefined;
153
1264
  };
154
1265
  block_hash: string;
@@ -156,8 +1267,8 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
156
1267
  hash: string;
157
1268
  direction: "Left" | "Right";
158
1269
  }[];
159
- };
160
- receipts_outcome: {
1270
+ } | undefined;
1271
+ receipts_outcome?: {
161
1272
  id: string;
162
1273
  outcome: {
163
1274
  logs: string[];
@@ -165,7 +1276,7 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
165
1276
  gas_burnt: number;
166
1277
  tokens_burnt: string;
167
1278
  executor_id: string;
168
- status: "Unknown" | "Pending" | {
1279
+ status: "Pending" | "Unknown" | {
169
1280
  SuccessValue: string;
170
1281
  } | {
171
1282
  SuccessReceiptId: string;
@@ -177,13 +1288,36 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
177
1288
  };
178
1289
  };
179
1290
  metadata?: {
180
- version: number;
181
1291
  gas_profile?: {
182
1292
  [x: string]: any;
183
1293
  cost?: string | undefined;
184
1294
  cost_category?: string | undefined;
185
1295
  gas_used?: string | undefined;
186
1296
  }[] | null | undefined;
1297
+ version: 4;
1298
+ contracts?: ({
1299
+ local: string;
1300
+ } | {
1301
+ global_hash: string;
1302
+ } | {
1303
+ global_account_id: string;
1304
+ } | null)[] | null | undefined;
1305
+ } | {
1306
+ gas_profile?: {
1307
+ [x: string]: any;
1308
+ cost?: string | undefined;
1309
+ cost_category?: string | undefined;
1310
+ gas_used?: string | undefined;
1311
+ }[] | null | undefined;
1312
+ version: 1 | 2 | 3;
1313
+ } | {
1314
+ gas_profile?: {
1315
+ [x: string]: any;
1316
+ cost?: string | undefined;
1317
+ cost_category?: string | undefined;
1318
+ gas_used?: string | undefined;
1319
+ }[] | null | undefined;
1320
+ version: number;
187
1321
  } | undefined;
188
1322
  };
189
1323
  block_hash: string;
@@ -191,10 +1325,16 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
191
1325
  hash: string;
192
1326
  direction: "Left" | "Right";
193
1327
  }[];
194
- }[];
1328
+ }[] | undefined;
195
1329
  } | {
196
- final_execution_status: "EXECUTED";
197
- status: "Unknown" | "Pending" | {
1330
+ final_execution_status: "INCLUDED";
1331
+ transaction?: {
1332
+ hash: string;
1333
+ signer_id: string;
1334
+ receiver_id: string;
1335
+ nonce: number;
1336
+ } | undefined;
1337
+ status?: "Pending" | "Unknown" | {
198
1338
  SuccessValue: string;
199
1339
  } | {
200
1340
  SuccessReceiptId: string;
@@ -204,94 +1344,8 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
204
1344
  error_message?: string | undefined;
205
1345
  error_type?: string | undefined;
206
1346
  };
207
- };
208
- transaction: {
209
- signer_id: string;
210
- public_key: string;
211
- nonce: number;
212
- receiver_id: string;
213
- actions: ("CreateAccount" | {
214
- CreateAccount: Record<string, never>;
215
- } | {
216
- Transfer: {
217
- deposit: string;
218
- };
219
- } | {
220
- FunctionCall: {
221
- method_name: string;
222
- args: string;
223
- gas: number;
224
- deposit: string;
225
- };
226
- } | {
227
- DeployContract: {
228
- code: string;
229
- };
230
- } | {
231
- DeployGlobalContract: {
232
- code: string;
233
- };
234
- } | {
235
- DeployGlobalContractByAccountId: {
236
- code: string;
237
- };
238
- } | {
239
- Stake: {
240
- stake: string;
241
- public_key: string;
242
- };
243
- } | {
244
- AddKey: {
245
- public_key: string;
246
- access_key: {
247
- nonce: number;
248
- permission: "FullAccess" | {
249
- FunctionCall: {
250
- receiver_id: string;
251
- method_names: string[];
252
- allowance?: string | null | undefined;
253
- };
254
- };
255
- };
256
- };
257
- } | {
258
- DeleteKey: {
259
- public_key: string;
260
- };
261
- } | {
262
- DeleteAccount: {
263
- beneficiary_id: string;
264
- };
265
- } | {
266
- UseGlobalContract: {
267
- code_hash: string;
268
- };
269
- } | {
270
- UseGlobalContractByAccountId: {
271
- account_id: string;
272
- };
273
- } | {
274
- Delegate: {
275
- delegate_action: {
276
- sender_id: string;
277
- receiver_id: string;
278
- actions: any[];
279
- nonce: number;
280
- max_block_height: number;
281
- public_key: string;
282
- };
283
- signature: string;
284
- };
285
- } | {
286
- DeterministicStateInit: {
287
- deposit: string;
288
- };
289
- })[];
290
- signature: string;
291
- hash: string;
292
- priority_fee?: number | undefined;
293
- };
294
- transaction_outcome: {
1347
+ } | undefined;
1348
+ transaction_outcome?: {
295
1349
  id: string;
296
1350
  outcome: {
297
1351
  logs: string[];
@@ -299,7 +1353,7 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
299
1353
  gas_burnt: number;
300
1354
  tokens_burnt: string;
301
1355
  executor_id: string;
302
- status: "Unknown" | "Pending" | {
1356
+ status: "Pending" | "Unknown" | {
303
1357
  SuccessValue: string;
304
1358
  } | {
305
1359
  SuccessReceiptId: string;
@@ -311,13 +1365,36 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
311
1365
  };
312
1366
  };
313
1367
  metadata?: {
314
- version: number;
315
1368
  gas_profile?: {
316
1369
  [x: string]: any;
317
1370
  cost?: string | undefined;
318
1371
  cost_category?: string | undefined;
319
1372
  gas_used?: string | undefined;
320
1373
  }[] | null | undefined;
1374
+ version: 4;
1375
+ contracts?: ({
1376
+ local: string;
1377
+ } | {
1378
+ global_hash: string;
1379
+ } | {
1380
+ global_account_id: string;
1381
+ } | null)[] | null | undefined;
1382
+ } | {
1383
+ gas_profile?: {
1384
+ [x: string]: any;
1385
+ cost?: string | undefined;
1386
+ cost_category?: string | undefined;
1387
+ gas_used?: string | undefined;
1388
+ }[] | null | undefined;
1389
+ version: 1 | 2 | 3;
1390
+ } | {
1391
+ gas_profile?: {
1392
+ [x: string]: any;
1393
+ cost?: string | undefined;
1394
+ cost_category?: string | undefined;
1395
+ gas_used?: string | undefined;
1396
+ }[] | null | undefined;
1397
+ version: number;
321
1398
  } | undefined;
322
1399
  };
323
1400
  block_hash: string;
@@ -325,8 +1402,8 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
325
1402
  hash: string;
326
1403
  direction: "Left" | "Right";
327
1404
  }[];
328
- };
329
- receipts_outcome: {
1405
+ } | undefined;
1406
+ receipts_outcome?: {
330
1407
  id: string;
331
1408
  outcome: {
332
1409
  logs: string[];
@@ -334,7 +1411,7 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
334
1411
  gas_burnt: number;
335
1412
  tokens_burnt: string;
336
1413
  executor_id: string;
337
- status: "Unknown" | "Pending" | {
1414
+ status: "Pending" | "Unknown" | {
338
1415
  SuccessValue: string;
339
1416
  } | {
340
1417
  SuccessReceiptId: string;
@@ -346,121 +1423,64 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
346
1423
  };
347
1424
  };
348
1425
  metadata?: {
349
- version: number;
350
1426
  gas_profile?: {
351
1427
  [x: string]: any;
352
1428
  cost?: string | undefined;
353
1429
  cost_category?: string | undefined;
354
1430
  gas_used?: string | undefined;
355
1431
  }[] | null | undefined;
356
- } | undefined;
357
- };
358
- block_hash: string;
359
- proof: {
360
- hash: string;
361
- direction: "Left" | "Right";
362
- }[];
363
- }[];
364
- } | {
365
- final_execution_status: "FINAL";
366
- status: "Unknown" | "Pending" | {
367
- SuccessValue: string;
368
- } | {
369
- SuccessReceiptId: string;
370
- } | {
371
- Failure: {
372
- [x: string]: any;
373
- error_message?: string | undefined;
374
- error_type?: string | undefined;
375
- };
376
- };
377
- transaction: {
378
- signer_id: string;
379
- public_key: string;
380
- nonce: number;
381
- receiver_id: string;
382
- actions: ("CreateAccount" | {
383
- CreateAccount: Record<string, never>;
384
- } | {
385
- Transfer: {
386
- deposit: string;
387
- };
388
- } | {
389
- FunctionCall: {
390
- method_name: string;
391
- args: string;
392
- gas: number;
393
- deposit: string;
394
- };
395
- } | {
396
- DeployContract: {
397
- code: string;
398
- };
399
- } | {
400
- DeployGlobalContract: {
401
- code: string;
402
- };
403
- } | {
404
- DeployGlobalContractByAccountId: {
405
- code: string;
406
- };
407
- } | {
408
- Stake: {
409
- stake: string;
410
- public_key: string;
411
- };
412
- } | {
413
- AddKey: {
414
- public_key: string;
415
- access_key: {
416
- nonce: number;
417
- permission: "FullAccess" | {
418
- FunctionCall: {
419
- receiver_id: string;
420
- method_names: string[];
421
- allowance?: string | null | undefined;
422
- };
423
- };
424
- };
425
- };
426
- } | {
427
- DeleteKey: {
428
- public_key: string;
429
- };
430
- } | {
431
- DeleteAccount: {
432
- beneficiary_id: string;
433
- };
434
- } | {
435
- UseGlobalContract: {
436
- code_hash: string;
437
- };
438
- } | {
439
- UseGlobalContractByAccountId: {
440
- account_id: string;
441
- };
442
- } | {
443
- Delegate: {
444
- delegate_action: {
445
- sender_id: string;
446
- receiver_id: string;
447
- actions: any[];
448
- nonce: number;
449
- max_block_height: number;
450
- public_key: string;
451
- };
452
- signature: string;
453
- };
454
- } | {
455
- DeterministicStateInit: {
456
- deposit: string;
457
- };
458
- })[];
459
- signature: string;
1432
+ version: 4;
1433
+ contracts?: ({
1434
+ local: string;
1435
+ } | {
1436
+ global_hash: string;
1437
+ } | {
1438
+ global_account_id: string;
1439
+ } | null)[] | null | undefined;
1440
+ } | {
1441
+ gas_profile?: {
1442
+ [x: string]: any;
1443
+ cost?: string | undefined;
1444
+ cost_category?: string | undefined;
1445
+ gas_used?: string | undefined;
1446
+ }[] | null | undefined;
1447
+ version: 1 | 2 | 3;
1448
+ } | {
1449
+ gas_profile?: {
1450
+ [x: string]: any;
1451
+ cost?: string | undefined;
1452
+ cost_category?: string | undefined;
1453
+ gas_used?: string | undefined;
1454
+ }[] | null | undefined;
1455
+ version: number;
1456
+ } | undefined;
1457
+ };
1458
+ block_hash: string;
1459
+ proof: {
1460
+ hash: string;
1461
+ direction: "Left" | "Right";
1462
+ }[];
1463
+ }[] | undefined;
1464
+ } | {
1465
+ final_execution_status: "INCLUDED_FINAL";
1466
+ transaction?: {
460
1467
  hash: string;
461
- priority_fee?: number | undefined;
462
- };
463
- transaction_outcome: {
1468
+ signer_id: string;
1469
+ receiver_id: string;
1470
+ nonce: number;
1471
+ } | undefined;
1472
+ status?: "Pending" | "Unknown" | {
1473
+ SuccessValue: string;
1474
+ } | {
1475
+ SuccessReceiptId: string;
1476
+ } | {
1477
+ Failure: {
1478
+ [x: string]: any;
1479
+ error_message?: string | undefined;
1480
+ error_type?: string | undefined;
1481
+ };
1482
+ } | undefined;
1483
+ transaction_outcome?: {
464
1484
  id: string;
465
1485
  outcome: {
466
1486
  logs: string[];
@@ -468,7 +1488,7 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
468
1488
  gas_burnt: number;
469
1489
  tokens_burnt: string;
470
1490
  executor_id: string;
471
- status: "Unknown" | "Pending" | {
1491
+ status: "Pending" | "Unknown" | {
472
1492
  SuccessValue: string;
473
1493
  } | {
474
1494
  SuccessReceiptId: string;
@@ -480,13 +1500,36 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
480
1500
  };
481
1501
  };
482
1502
  metadata?: {
483
- version: number;
484
1503
  gas_profile?: {
485
1504
  [x: string]: any;
486
1505
  cost?: string | undefined;
487
1506
  cost_category?: string | undefined;
488
1507
  gas_used?: string | undefined;
489
1508
  }[] | null | undefined;
1509
+ version: 4;
1510
+ contracts?: ({
1511
+ local: string;
1512
+ } | {
1513
+ global_hash: string;
1514
+ } | {
1515
+ global_account_id: string;
1516
+ } | null)[] | null | undefined;
1517
+ } | {
1518
+ gas_profile?: {
1519
+ [x: string]: any;
1520
+ cost?: string | undefined;
1521
+ cost_category?: string | undefined;
1522
+ gas_used?: string | undefined;
1523
+ }[] | null | undefined;
1524
+ version: 1 | 2 | 3;
1525
+ } | {
1526
+ gas_profile?: {
1527
+ [x: string]: any;
1528
+ cost?: string | undefined;
1529
+ cost_category?: string | undefined;
1530
+ gas_used?: string | undefined;
1531
+ }[] | null | undefined;
1532
+ version: number;
490
1533
  } | undefined;
491
1534
  };
492
1535
  block_hash: string;
@@ -494,8 +1537,8 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
494
1537
  hash: string;
495
1538
  direction: "Left" | "Right";
496
1539
  }[];
497
- };
498
- receipts_outcome: {
1540
+ } | undefined;
1541
+ receipts_outcome?: {
499
1542
  id: string;
500
1543
  outcome: {
501
1544
  logs: string[];
@@ -503,7 +1546,7 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
503
1546
  gas_burnt: number;
504
1547
  tokens_burnt: string;
505
1548
  executor_id: string;
506
- status: "Unknown" | "Pending" | {
1549
+ status: "Pending" | "Unknown" | {
507
1550
  SuccessValue: string;
508
1551
  } | {
509
1552
  SuccessReceiptId: string;
@@ -515,13 +1558,36 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
515
1558
  };
516
1559
  };
517
1560
  metadata?: {
518
- version: number;
519
1561
  gas_profile?: {
520
1562
  [x: string]: any;
521
1563
  cost?: string | undefined;
522
1564
  cost_category?: string | undefined;
523
1565
  gas_used?: string | undefined;
524
1566
  }[] | null | undefined;
1567
+ version: 4;
1568
+ contracts?: ({
1569
+ local: string;
1570
+ } | {
1571
+ global_hash: string;
1572
+ } | {
1573
+ global_account_id: string;
1574
+ } | null)[] | null | undefined;
1575
+ } | {
1576
+ gas_profile?: {
1577
+ [x: string]: any;
1578
+ cost?: string | undefined;
1579
+ cost_category?: string | undefined;
1580
+ gas_used?: string | undefined;
1581
+ }[] | null | undefined;
1582
+ version: 1 | 2 | 3;
1583
+ } | {
1584
+ gas_profile?: {
1585
+ [x: string]: any;
1586
+ cost?: string | undefined;
1587
+ cost_category?: string | undefined;
1588
+ gas_used?: string | undefined;
1589
+ }[] | null | undefined;
1590
+ version: number;
525
1591
  } | undefined;
526
1592
  };
527
1593
  block_hash: string;
@@ -529,35 +1595,10 @@ export declare function pumpopoly_move_player_fun(near: Near, pumpopoly_contract
529
1595
  hash: string;
530
1596
  direction: "Left" | "Right";
531
1597
  }[];
532
- }[];
533
- }>;
534
- export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractId: string): Promise<{
535
- final_execution_status: "NONE";
536
- transaction?: {
537
- hash: string;
538
- signer_id: string;
539
- receiver_id: string;
540
- nonce: number;
541
- } | undefined;
542
- } | {
543
- final_execution_status: "INCLUDED";
544
- transaction?: {
545
- hash: string;
546
- signer_id: string;
547
- receiver_id: string;
548
- nonce: number;
549
- } | undefined;
550
- } | {
551
- final_execution_status: "INCLUDED_FINAL";
552
- transaction?: {
553
- hash: string;
554
- signer_id: string;
555
- receiver_id: string;
556
- nonce: number;
557
- } | undefined;
1598
+ }[] | undefined;
558
1599
  } | {
559
1600
  final_execution_status: "EXECUTED_OPTIMISTIC";
560
- status: "Unknown" | "Pending" | {
1601
+ status: "Pending" | "Unknown" | {
561
1602
  SuccessValue: string;
562
1603
  } | {
563
1604
  SuccessReceiptId: string;
@@ -614,6 +1655,19 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
614
1655
  method_names: string[];
615
1656
  allowance?: string | null | undefined;
616
1657
  };
1658
+ } | {
1659
+ GasKeyFunctionCall: {
1660
+ balance: string;
1661
+ num_nonces: number;
1662
+ receiver_id: string;
1663
+ method_names: string[];
1664
+ allowance?: string | null | undefined;
1665
+ };
1666
+ } | {
1667
+ GasKeyFullAccess: {
1668
+ balance: string;
1669
+ num_nonces: number;
1670
+ };
617
1671
  };
618
1672
  };
619
1673
  };
@@ -649,10 +1703,44 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
649
1703
  DeterministicStateInit: {
650
1704
  deposit: string;
651
1705
  };
1706
+ } | {
1707
+ TransferToGasKey: {
1708
+ public_key: string;
1709
+ deposit: string;
1710
+ };
1711
+ } | {
1712
+ WithdrawFromGasKey: {
1713
+ public_key: string;
1714
+ amount: string;
1715
+ };
1716
+ } | {
1717
+ DelegateV2: {
1718
+ delegate_action: {
1719
+ V2: {
1720
+ sender_id: string;
1721
+ receiver_id: string;
1722
+ actions: any[];
1723
+ nonce: {
1724
+ Nonce: {
1725
+ nonce: number;
1726
+ };
1727
+ } | {
1728
+ GasKeyNonce: {
1729
+ nonce: number;
1730
+ nonce_index: number;
1731
+ };
1732
+ };
1733
+ max_block_height: number;
1734
+ public_key: string;
1735
+ };
1736
+ };
1737
+ signature: string;
1738
+ };
652
1739
  })[];
653
1740
  signature: string;
654
1741
  hash: string;
655
1742
  priority_fee?: number | undefined;
1743
+ nonce_mode?: "monotonic" | "strict" | null | undefined;
656
1744
  };
657
1745
  transaction_outcome: {
658
1746
  id: string;
@@ -662,7 +1750,7 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
662
1750
  gas_burnt: number;
663
1751
  tokens_burnt: string;
664
1752
  executor_id: string;
665
- status: "Unknown" | "Pending" | {
1753
+ status: "Pending" | "Unknown" | {
666
1754
  SuccessValue: string;
667
1755
  } | {
668
1756
  SuccessReceiptId: string;
@@ -674,13 +1762,36 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
674
1762
  };
675
1763
  };
676
1764
  metadata?: {
677
- version: number;
678
1765
  gas_profile?: {
679
1766
  [x: string]: any;
680
1767
  cost?: string | undefined;
681
1768
  cost_category?: string | undefined;
682
1769
  gas_used?: string | undefined;
683
1770
  }[] | null | undefined;
1771
+ version: 4;
1772
+ contracts?: ({
1773
+ local: string;
1774
+ } | {
1775
+ global_hash: string;
1776
+ } | {
1777
+ global_account_id: string;
1778
+ } | null)[] | null | undefined;
1779
+ } | {
1780
+ gas_profile?: {
1781
+ [x: string]: any;
1782
+ cost?: string | undefined;
1783
+ cost_category?: string | undefined;
1784
+ gas_used?: string | undefined;
1785
+ }[] | null | undefined;
1786
+ version: 1 | 2 | 3;
1787
+ } | {
1788
+ gas_profile?: {
1789
+ [x: string]: any;
1790
+ cost?: string | undefined;
1791
+ cost_category?: string | undefined;
1792
+ gas_used?: string | undefined;
1793
+ }[] | null | undefined;
1794
+ version: number;
684
1795
  } | undefined;
685
1796
  };
686
1797
  block_hash: string;
@@ -697,7 +1808,7 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
697
1808
  gas_burnt: number;
698
1809
  tokens_burnt: string;
699
1810
  executor_id: string;
700
- status: "Unknown" | "Pending" | {
1811
+ status: "Pending" | "Unknown" | {
701
1812
  SuccessValue: string;
702
1813
  } | {
703
1814
  SuccessReceiptId: string;
@@ -709,13 +1820,36 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
709
1820
  };
710
1821
  };
711
1822
  metadata?: {
712
- version: number;
713
1823
  gas_profile?: {
714
1824
  [x: string]: any;
715
1825
  cost?: string | undefined;
716
1826
  cost_category?: string | undefined;
717
1827
  gas_used?: string | undefined;
718
1828
  }[] | null | undefined;
1829
+ version: 4;
1830
+ contracts?: ({
1831
+ local: string;
1832
+ } | {
1833
+ global_hash: string;
1834
+ } | {
1835
+ global_account_id: string;
1836
+ } | null)[] | null | undefined;
1837
+ } | {
1838
+ gas_profile?: {
1839
+ [x: string]: any;
1840
+ cost?: string | undefined;
1841
+ cost_category?: string | undefined;
1842
+ gas_used?: string | undefined;
1843
+ }[] | null | undefined;
1844
+ version: 1 | 2 | 3;
1845
+ } | {
1846
+ gas_profile?: {
1847
+ [x: string]: any;
1848
+ cost?: string | undefined;
1849
+ cost_category?: string | undefined;
1850
+ gas_used?: string | undefined;
1851
+ }[] | null | undefined;
1852
+ version: number;
719
1853
  } | undefined;
720
1854
  };
721
1855
  block_hash: string;
@@ -726,7 +1860,7 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
726
1860
  }[];
727
1861
  } | {
728
1862
  final_execution_status: "EXECUTED";
729
- status: "Unknown" | "Pending" | {
1863
+ status: "Pending" | "Unknown" | {
730
1864
  SuccessValue: string;
731
1865
  } | {
732
1866
  SuccessReceiptId: string;
@@ -783,6 +1917,19 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
783
1917
  method_names: string[];
784
1918
  allowance?: string | null | undefined;
785
1919
  };
1920
+ } | {
1921
+ GasKeyFunctionCall: {
1922
+ balance: string;
1923
+ num_nonces: number;
1924
+ receiver_id: string;
1925
+ method_names: string[];
1926
+ allowance?: string | null | undefined;
1927
+ };
1928
+ } | {
1929
+ GasKeyFullAccess: {
1930
+ balance: string;
1931
+ num_nonces: number;
1932
+ };
786
1933
  };
787
1934
  };
788
1935
  };
@@ -818,10 +1965,44 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
818
1965
  DeterministicStateInit: {
819
1966
  deposit: string;
820
1967
  };
1968
+ } | {
1969
+ TransferToGasKey: {
1970
+ public_key: string;
1971
+ deposit: string;
1972
+ };
1973
+ } | {
1974
+ WithdrawFromGasKey: {
1975
+ public_key: string;
1976
+ amount: string;
1977
+ };
1978
+ } | {
1979
+ DelegateV2: {
1980
+ delegate_action: {
1981
+ V2: {
1982
+ sender_id: string;
1983
+ receiver_id: string;
1984
+ actions: any[];
1985
+ nonce: {
1986
+ Nonce: {
1987
+ nonce: number;
1988
+ };
1989
+ } | {
1990
+ GasKeyNonce: {
1991
+ nonce: number;
1992
+ nonce_index: number;
1993
+ };
1994
+ };
1995
+ max_block_height: number;
1996
+ public_key: string;
1997
+ };
1998
+ };
1999
+ signature: string;
2000
+ };
821
2001
  })[];
822
2002
  signature: string;
823
2003
  hash: string;
824
2004
  priority_fee?: number | undefined;
2005
+ nonce_mode?: "monotonic" | "strict" | null | undefined;
825
2006
  };
826
2007
  transaction_outcome: {
827
2008
  id: string;
@@ -831,7 +2012,7 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
831
2012
  gas_burnt: number;
832
2013
  tokens_burnt: string;
833
2014
  executor_id: string;
834
- status: "Unknown" | "Pending" | {
2015
+ status: "Pending" | "Unknown" | {
835
2016
  SuccessValue: string;
836
2017
  } | {
837
2018
  SuccessReceiptId: string;
@@ -843,13 +2024,36 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
843
2024
  };
844
2025
  };
845
2026
  metadata?: {
846
- version: number;
847
2027
  gas_profile?: {
848
2028
  [x: string]: any;
849
2029
  cost?: string | undefined;
850
2030
  cost_category?: string | undefined;
851
2031
  gas_used?: string | undefined;
852
2032
  }[] | null | undefined;
2033
+ version: 4;
2034
+ contracts?: ({
2035
+ local: string;
2036
+ } | {
2037
+ global_hash: string;
2038
+ } | {
2039
+ global_account_id: string;
2040
+ } | null)[] | null | undefined;
2041
+ } | {
2042
+ gas_profile?: {
2043
+ [x: string]: any;
2044
+ cost?: string | undefined;
2045
+ cost_category?: string | undefined;
2046
+ gas_used?: string | undefined;
2047
+ }[] | null | undefined;
2048
+ version: 1 | 2 | 3;
2049
+ } | {
2050
+ gas_profile?: {
2051
+ [x: string]: any;
2052
+ cost?: string | undefined;
2053
+ cost_category?: string | undefined;
2054
+ gas_used?: string | undefined;
2055
+ }[] | null | undefined;
2056
+ version: number;
853
2057
  } | undefined;
854
2058
  };
855
2059
  block_hash: string;
@@ -866,7 +2070,7 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
866
2070
  gas_burnt: number;
867
2071
  tokens_burnt: string;
868
2072
  executor_id: string;
869
- status: "Unknown" | "Pending" | {
2073
+ status: "Pending" | "Unknown" | {
870
2074
  SuccessValue: string;
871
2075
  } | {
872
2076
  SuccessReceiptId: string;
@@ -878,13 +2082,36 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
878
2082
  };
879
2083
  };
880
2084
  metadata?: {
881
- version: number;
882
2085
  gas_profile?: {
883
2086
  [x: string]: any;
884
2087
  cost?: string | undefined;
885
2088
  cost_category?: string | undefined;
886
2089
  gas_used?: string | undefined;
887
2090
  }[] | null | undefined;
2091
+ version: 4;
2092
+ contracts?: ({
2093
+ local: string;
2094
+ } | {
2095
+ global_hash: string;
2096
+ } | {
2097
+ global_account_id: string;
2098
+ } | null)[] | null | undefined;
2099
+ } | {
2100
+ gas_profile?: {
2101
+ [x: string]: any;
2102
+ cost?: string | undefined;
2103
+ cost_category?: string | undefined;
2104
+ gas_used?: string | undefined;
2105
+ }[] | null | undefined;
2106
+ version: 1 | 2 | 3;
2107
+ } | {
2108
+ gas_profile?: {
2109
+ [x: string]: any;
2110
+ cost?: string | undefined;
2111
+ cost_category?: string | undefined;
2112
+ gas_used?: string | undefined;
2113
+ }[] | null | undefined;
2114
+ version: number;
888
2115
  } | undefined;
889
2116
  };
890
2117
  block_hash: string;
@@ -895,7 +2122,7 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
895
2122
  }[];
896
2123
  } | {
897
2124
  final_execution_status: "FINAL";
898
- status: "Unknown" | "Pending" | {
2125
+ status: "Pending" | "Unknown" | {
899
2126
  SuccessValue: string;
900
2127
  } | {
901
2128
  SuccessReceiptId: string;
@@ -952,6 +2179,19 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
952
2179
  method_names: string[];
953
2180
  allowance?: string | null | undefined;
954
2181
  };
2182
+ } | {
2183
+ GasKeyFunctionCall: {
2184
+ balance: string;
2185
+ num_nonces: number;
2186
+ receiver_id: string;
2187
+ method_names: string[];
2188
+ allowance?: string | null | undefined;
2189
+ };
2190
+ } | {
2191
+ GasKeyFullAccess: {
2192
+ balance: string;
2193
+ num_nonces: number;
2194
+ };
955
2195
  };
956
2196
  };
957
2197
  };
@@ -987,10 +2227,44 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
987
2227
  DeterministicStateInit: {
988
2228
  deposit: string;
989
2229
  };
2230
+ } | {
2231
+ TransferToGasKey: {
2232
+ public_key: string;
2233
+ deposit: string;
2234
+ };
2235
+ } | {
2236
+ WithdrawFromGasKey: {
2237
+ public_key: string;
2238
+ amount: string;
2239
+ };
2240
+ } | {
2241
+ DelegateV2: {
2242
+ delegate_action: {
2243
+ V2: {
2244
+ sender_id: string;
2245
+ receiver_id: string;
2246
+ actions: any[];
2247
+ nonce: {
2248
+ Nonce: {
2249
+ nonce: number;
2250
+ };
2251
+ } | {
2252
+ GasKeyNonce: {
2253
+ nonce: number;
2254
+ nonce_index: number;
2255
+ };
2256
+ };
2257
+ max_block_height: number;
2258
+ public_key: string;
2259
+ };
2260
+ };
2261
+ signature: string;
2262
+ };
990
2263
  })[];
991
2264
  signature: string;
992
2265
  hash: string;
993
2266
  priority_fee?: number | undefined;
2267
+ nonce_mode?: "monotonic" | "strict" | null | undefined;
994
2268
  };
995
2269
  transaction_outcome: {
996
2270
  id: string;
@@ -1000,7 +2274,7 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
1000
2274
  gas_burnt: number;
1001
2275
  tokens_burnt: string;
1002
2276
  executor_id: string;
1003
- status: "Unknown" | "Pending" | {
2277
+ status: "Pending" | "Unknown" | {
1004
2278
  SuccessValue: string;
1005
2279
  } | {
1006
2280
  SuccessReceiptId: string;
@@ -1012,13 +2286,36 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
1012
2286
  };
1013
2287
  };
1014
2288
  metadata?: {
1015
- version: number;
1016
2289
  gas_profile?: {
1017
2290
  [x: string]: any;
1018
2291
  cost?: string | undefined;
1019
2292
  cost_category?: string | undefined;
1020
2293
  gas_used?: string | undefined;
1021
2294
  }[] | null | undefined;
2295
+ version: 4;
2296
+ contracts?: ({
2297
+ local: string;
2298
+ } | {
2299
+ global_hash: string;
2300
+ } | {
2301
+ global_account_id: string;
2302
+ } | null)[] | null | undefined;
2303
+ } | {
2304
+ gas_profile?: {
2305
+ [x: string]: any;
2306
+ cost?: string | undefined;
2307
+ cost_category?: string | undefined;
2308
+ gas_used?: string | undefined;
2309
+ }[] | null | undefined;
2310
+ version: 1 | 2 | 3;
2311
+ } | {
2312
+ gas_profile?: {
2313
+ [x: string]: any;
2314
+ cost?: string | undefined;
2315
+ cost_category?: string | undefined;
2316
+ gas_used?: string | undefined;
2317
+ }[] | null | undefined;
2318
+ version: number;
1022
2319
  } | undefined;
1023
2320
  };
1024
2321
  block_hash: string;
@@ -1035,7 +2332,7 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
1035
2332
  gas_burnt: number;
1036
2333
  tokens_burnt: string;
1037
2334
  executor_id: string;
1038
- status: "Unknown" | "Pending" | {
2335
+ status: "Pending" | "Unknown" | {
1039
2336
  SuccessValue: string;
1040
2337
  } | {
1041
2338
  SuccessReceiptId: string;
@@ -1047,13 +2344,36 @@ export declare function pumpopoly_elite_move_fun(near: Near, pumpopoly_contractI
1047
2344
  };
1048
2345
  };
1049
2346
  metadata?: {
1050
- version: number;
1051
2347
  gas_profile?: {
1052
2348
  [x: string]: any;
1053
2349
  cost?: string | undefined;
1054
2350
  cost_category?: string | undefined;
1055
2351
  gas_used?: string | undefined;
1056
2352
  }[] | null | undefined;
2353
+ version: 4;
2354
+ contracts?: ({
2355
+ local: string;
2356
+ } | {
2357
+ global_hash: string;
2358
+ } | {
2359
+ global_account_id: string;
2360
+ } | null)[] | null | undefined;
2361
+ } | {
2362
+ gas_profile?: {
2363
+ [x: string]: any;
2364
+ cost?: string | undefined;
2365
+ cost_category?: string | undefined;
2366
+ gas_used?: string | undefined;
2367
+ }[] | null | undefined;
2368
+ version: 1 | 2 | 3;
2369
+ } | {
2370
+ gas_profile?: {
2371
+ [x: string]: any;
2372
+ cost?: string | undefined;
2373
+ cost_category?: string | undefined;
2374
+ gas_used?: string | undefined;
2375
+ }[] | null | undefined;
2376
+ version: number;
1057
2377
  } | undefined;
1058
2378
  };
1059
2379
  block_hash: string;