@nirvana-labs/nirvana 1.13.1 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -92,7 +92,7 @@ export declare namespace StepGetResponse {
92
92
  /**
93
93
  * Vektor error
94
94
  */
95
- error: ExecutionEVMTransactionApprove.Error | null;
95
+ error: VektorAPI.ExecutionError;
96
96
  /**
97
97
  * ISO8601 Timestamp
98
98
  */
@@ -142,50 +142,6 @@ export declare namespace StepGetResponse {
142
142
  */
143
143
  value: string | null;
144
144
  }
145
- namespace ExecutionEVMTransactionApprove {
146
- /**
147
- * Vektor error
148
- */
149
- interface Error {
150
- /**
151
- * Error context
152
- */
153
- context: Error.Context;
154
- /**
155
- * Error message
156
- */
157
- message: string;
158
- /**
159
- * Request ID
160
- */
161
- request_id: string;
162
- /**
163
- * Error resource
164
- */
165
- resource: string | null;
166
- /**
167
- * ISO8601 Timestamp
168
- */
169
- timestamp: VektorAPI.Timestamp;
170
- /**
171
- * Error type
172
- */
173
- type: string;
174
- }
175
- namespace Error {
176
- /**
177
- * Error context
178
- */
179
- interface Context {
180
- /**
181
- * Error parameters
182
- */
183
- parameters: {
184
- [key: string]: unknown;
185
- };
186
- }
187
- }
188
- }
189
145
  /**
190
146
  * Borrowing an asset
191
147
  */
@@ -223,7 +179,7 @@ export declare namespace StepGetResponse {
223
179
  /**
224
180
  * Vektor error
225
181
  */
226
- error: ExecutionEVMTransactionBorrow.Error | null;
182
+ error: VektorAPI.ExecutionError;
227
183
  /**
228
184
  * ISO8601 Timestamp
229
185
  */
@@ -274,50 +230,6 @@ export declare namespace StepGetResponse {
274
230
  */
275
231
  venue_symbol: VektorAPI.VenueSymbol;
276
232
  }
277
- namespace ExecutionEVMTransactionBorrow {
278
- /**
279
- * Vektor error
280
- */
281
- interface Error {
282
- /**
283
- * Error context
284
- */
285
- context: Error.Context;
286
- /**
287
- * Error message
288
- */
289
- message: string;
290
- /**
291
- * Request ID
292
- */
293
- request_id: string;
294
- /**
295
- * Error resource
296
- */
297
- resource: string | null;
298
- /**
299
- * ISO8601 Timestamp
300
- */
301
- timestamp: VektorAPI.Timestamp;
302
- /**
303
- * Error type
304
- */
305
- type: string;
306
- }
307
- namespace Error {
308
- /**
309
- * Error context
310
- */
311
- interface Context {
312
- /**
313
- * Error parameters
314
- */
315
- parameters: {
316
- [key: string]: unknown;
317
- };
318
- }
319
- }
320
- }
321
233
  /**
322
234
  * Repaying a borrowed asset
323
235
  */
@@ -355,7 +267,7 @@ export declare namespace StepGetResponse {
355
267
  /**
356
268
  * Vektor error
357
269
  */
358
- error: ExecutionEVMTransactionBorrowRepay.Error | null;
270
+ error: VektorAPI.ExecutionError;
359
271
  /**
360
272
  * ISO8601 Timestamp
361
273
  */
@@ -402,50 +314,6 @@ export declare namespace StepGetResponse {
402
314
  */
403
315
  value: string | null;
404
316
  }
405
- namespace ExecutionEVMTransactionBorrowRepay {
406
- /**
407
- * Vektor error
408
- */
409
- interface Error {
410
- /**
411
- * Error context
412
- */
413
- context: Error.Context;
414
- /**
415
- * Error message
416
- */
417
- message: string;
418
- /**
419
- * Request ID
420
- */
421
- request_id: string;
422
- /**
423
- * Error resource
424
- */
425
- resource: string | null;
426
- /**
427
- * ISO8601 Timestamp
428
- */
429
- timestamp: VektorAPI.Timestamp;
430
- /**
431
- * Error type
432
- */
433
- type: string;
434
- }
435
- namespace Error {
436
- /**
437
- * Error context
438
- */
439
- interface Context {
440
- /**
441
- * Error parameters
442
- */
443
- parameters: {
444
- [key: string]: unknown;
445
- };
446
- }
447
- }
448
- }
449
317
  /**
450
318
  * Buying an asset with another asset
451
319
  */
@@ -479,7 +347,7 @@ export declare namespace StepGetResponse {
479
347
  /**
480
348
  * Vektor error
481
349
  */
482
- error: ExecutionEVMTransactionBuy.Error | null;
350
+ error: VektorAPI.ExecutionError;
483
351
  /**
484
352
  * ISO8601 Timestamp
485
353
  */
@@ -533,50 +401,6 @@ export declare namespace StepGetResponse {
533
401
  */
534
402
  value: string | null;
535
403
  }
536
- namespace ExecutionEVMTransactionBuy {
537
- /**
538
- * Vektor error
539
- */
540
- interface Error {
541
- /**
542
- * Error context
543
- */
544
- context: Error.Context;
545
- /**
546
- * Error message
547
- */
548
- message: string;
549
- /**
550
- * Request ID
551
- */
552
- request_id: string;
553
- /**
554
- * Error resource
555
- */
556
- resource: string | null;
557
- /**
558
- * ISO8601 Timestamp
559
- */
560
- timestamp: VektorAPI.Timestamp;
561
- /**
562
- * Error type
563
- */
564
- type: string;
565
- }
566
- namespace Error {
567
- /**
568
- * Error context
569
- */
570
- interface Context {
571
- /**
572
- * Error parameters
573
- */
574
- parameters: {
575
- [key: string]: unknown;
576
- };
577
- }
578
- }
579
- }
580
404
  /**
581
405
  * Lending an asset
582
406
  */
@@ -614,7 +438,7 @@ export declare namespace StepGetResponse {
614
438
  /**
615
439
  * Vektor error
616
440
  */
617
- error: ExecutionEVMTransactionLend.Error | null;
441
+ error: VektorAPI.ExecutionError;
618
442
  /**
619
443
  * ISO8601 Timestamp
620
444
  */
@@ -665,50 +489,6 @@ export declare namespace StepGetResponse {
665
489
  */
666
490
  venue_symbol: VektorAPI.VenueSymbol;
667
491
  }
668
- namespace ExecutionEVMTransactionLend {
669
- /**
670
- * Vektor error
671
- */
672
- interface Error {
673
- /**
674
- * Error context
675
- */
676
- context: Error.Context;
677
- /**
678
- * Error message
679
- */
680
- message: string;
681
- /**
682
- * Request ID
683
- */
684
- request_id: string;
685
- /**
686
- * Error resource
687
- */
688
- resource: string | null;
689
- /**
690
- * ISO8601 Timestamp
691
- */
692
- timestamp: VektorAPI.Timestamp;
693
- /**
694
- * Error type
695
- */
696
- type: string;
697
- }
698
- namespace Error {
699
- /**
700
- * Error context
701
- */
702
- interface Context {
703
- /**
704
- * Error parameters
705
- */
706
- parameters: {
707
- [key: string]: unknown;
708
- };
709
- }
710
- }
711
- }
712
492
  /**
713
493
  * Setting/unsetting a position as collateral
714
494
  */
@@ -738,7 +518,7 @@ export declare namespace StepGetResponse {
738
518
  /**
739
519
  * Vektor error
740
520
  */
741
- error: ExecutionEVMTransactionLendSetCollateral.Error | null;
521
+ error: VektorAPI.ExecutionError;
742
522
  /**
743
523
  * ISO8601 Timestamp
744
524
  */
@@ -786,50 +566,6 @@ export declare namespace StepGetResponse {
786
566
  */
787
567
  value: string | null;
788
568
  }
789
- namespace ExecutionEVMTransactionLendSetCollateral {
790
- /**
791
- * Vektor error
792
- */
793
- interface Error {
794
- /**
795
- * Error context
796
- */
797
- context: Error.Context;
798
- /**
799
- * Error message
800
- */
801
- message: string;
802
- /**
803
- * Request ID
804
- */
805
- request_id: string;
806
- /**
807
- * Error resource
808
- */
809
- resource: string | null;
810
- /**
811
- * ISO8601 Timestamp
812
- */
813
- timestamp: VektorAPI.Timestamp;
814
- /**
815
- * Error type
816
- */
817
- type: string;
818
- }
819
- namespace Error {
820
- /**
821
- * Error context
822
- */
823
- interface Context {
824
- /**
825
- * Error parameters
826
- */
827
- parameters: {
828
- [key: string]: unknown;
829
- };
830
- }
831
- }
832
- }
833
569
  /**
834
570
  * Withdrawing an asset
835
571
  */
@@ -867,7 +603,7 @@ export declare namespace StepGetResponse {
867
603
  /**
868
604
  * Vektor error
869
605
  */
870
- error: ExecutionEVMTransactionLendWithdraw.Error | null;
606
+ error: VektorAPI.ExecutionError;
871
607
  /**
872
608
  * ISO8601 Timestamp
873
609
  */
@@ -914,50 +650,6 @@ export declare namespace StepGetResponse {
914
650
  */
915
651
  value: string | null;
916
652
  }
917
- namespace ExecutionEVMTransactionLendWithdraw {
918
- /**
919
- * Vektor error
920
- */
921
- interface Error {
922
- /**
923
- * Error context
924
- */
925
- context: Error.Context;
926
- /**
927
- * Error message
928
- */
929
- message: string;
930
- /**
931
- * Request ID
932
- */
933
- request_id: string;
934
- /**
935
- * Error resource
936
- */
937
- resource: string | null;
938
- /**
939
- * ISO8601 Timestamp
940
- */
941
- timestamp: VektorAPI.Timestamp;
942
- /**
943
- * Error type
944
- */
945
- type: string;
946
- }
947
- namespace Error {
948
- /**
949
- * Error context
950
- */
951
- interface Context {
952
- /**
953
- * Error parameters
954
- */
955
- parameters: {
956
- [key: string]: unknown;
957
- };
958
- }
959
- }
960
- }
961
653
  /**
962
654
  * A move of assets from one account to another
963
655
  */
@@ -995,7 +687,7 @@ export declare namespace StepGetResponse {
995
687
  /**
996
688
  * Vektor error
997
689
  */
998
- error: ExecutionEVMTransactionMove.Error | null;
690
+ error: VektorAPI.ExecutionError;
999
691
  /**
1000
692
  * ISO8601 Timestamp
1001
693
  */
@@ -1037,50 +729,6 @@ export declare namespace StepGetResponse {
1037
729
  */
1038
730
  value: string | null;
1039
731
  }
1040
- namespace ExecutionEVMTransactionMove {
1041
- /**
1042
- * Vektor error
1043
- */
1044
- interface Error {
1045
- /**
1046
- * Error context
1047
- */
1048
- context: Error.Context;
1049
- /**
1050
- * Error message
1051
- */
1052
- message: string;
1053
- /**
1054
- * Request ID
1055
- */
1056
- request_id: string;
1057
- /**
1058
- * Error resource
1059
- */
1060
- resource: string | null;
1061
- /**
1062
- * ISO8601 Timestamp
1063
- */
1064
- timestamp: VektorAPI.Timestamp;
1065
- /**
1066
- * Error type
1067
- */
1068
- type: string;
1069
- }
1070
- namespace Error {
1071
- /**
1072
- * Error context
1073
- */
1074
- interface Context {
1075
- /**
1076
- * Error parameters
1077
- */
1078
- parameters: {
1079
- [key: string]: unknown;
1080
- };
1081
- }
1082
- }
1083
- }
1084
732
  /**
1085
733
  * A permission to a contract
1086
734
  */
@@ -1114,7 +762,7 @@ export declare namespace StepGetResponse {
1114
762
  /**
1115
763
  * Vektor error
1116
764
  */
1117
- error: ExecutionEVMTransactionPermission.Error | null;
765
+ error: VektorAPI.ExecutionError;
1118
766
  /**
1119
767
  * ISO8601 Timestamp
1120
768
  */
@@ -1170,50 +818,6 @@ export declare namespace StepGetResponse {
1170
818
  */
1171
819
  value: string | null;
1172
820
  }
1173
- namespace ExecutionEVMTransactionPermission {
1174
- /**
1175
- * Vektor error
1176
- */
1177
- interface Error {
1178
- /**
1179
- * Error context
1180
- */
1181
- context: Error.Context;
1182
- /**
1183
- * Error message
1184
- */
1185
- message: string;
1186
- /**
1187
- * Request ID
1188
- */
1189
- request_id: string;
1190
- /**
1191
- * Error resource
1192
- */
1193
- resource: string | null;
1194
- /**
1195
- * ISO8601 Timestamp
1196
- */
1197
- timestamp: VektorAPI.Timestamp;
1198
- /**
1199
- * Error type
1200
- */
1201
- type: string;
1202
- }
1203
- namespace Error {
1204
- /**
1205
- * Error context
1206
- */
1207
- interface Context {
1208
- /**
1209
- * Error parameters
1210
- */
1211
- parameters: {
1212
- [key: string]: unknown;
1213
- };
1214
- }
1215
- }
1216
- }
1217
821
  /**
1218
822
  * An unwrap of the wrapped native asset
1219
823
  */
@@ -1247,7 +851,7 @@ export declare namespace StepGetResponse {
1247
851
  /**
1248
852
  * Vektor error
1249
853
  */
1250
- error: ExecutionEVMTransactionUnwrap.Error | null;
854
+ error: VektorAPI.ExecutionError;
1251
855
  /**
1252
856
  * ISO8601 Timestamp
1253
857
  */
@@ -1289,50 +893,6 @@ export declare namespace StepGetResponse {
1289
893
  */
1290
894
  value: string | null;
1291
895
  }
1292
- namespace ExecutionEVMTransactionUnwrap {
1293
- /**
1294
- * Vektor error
1295
- */
1296
- interface Error {
1297
- /**
1298
- * Error context
1299
- */
1300
- context: Error.Context;
1301
- /**
1302
- * Error message
1303
- */
1304
- message: string;
1305
- /**
1306
- * Request ID
1307
- */
1308
- request_id: string;
1309
- /**
1310
- * Error resource
1311
- */
1312
- resource: string | null;
1313
- /**
1314
- * ISO8601 Timestamp
1315
- */
1316
- timestamp: VektorAPI.Timestamp;
1317
- /**
1318
- * Error type
1319
- */
1320
- type: string;
1321
- }
1322
- namespace Error {
1323
- /**
1324
- * Error context
1325
- */
1326
- interface Context {
1327
- /**
1328
- * Error parameters
1329
- */
1330
- parameters: {
1331
- [key: string]: unknown;
1332
- };
1333
- }
1334
- }
1335
- }
1336
896
  /**
1337
897
  * A wrap of the native asset
1338
898
  */
@@ -1366,7 +926,7 @@ export declare namespace StepGetResponse {
1366
926
  /**
1367
927
  * Vektor error
1368
928
  */
1369
- error: ExecutionEVMTransactionWrap.Error | null;
929
+ error: VektorAPI.ExecutionError;
1370
930
  /**
1371
931
  * ISO8601 Timestamp
1372
932
  */
@@ -1408,50 +968,6 @@ export declare namespace StepGetResponse {
1408
968
  */
1409
969
  value: string | null;
1410
970
  }
1411
- namespace ExecutionEVMTransactionWrap {
1412
- /**
1413
- * Vektor error
1414
- */
1415
- interface Error {
1416
- /**
1417
- * Error context
1418
- */
1419
- context: Error.Context;
1420
- /**
1421
- * Error message
1422
- */
1423
- message: string;
1424
- /**
1425
- * Request ID
1426
- */
1427
- request_id: string;
1428
- /**
1429
- * Error resource
1430
- */
1431
- resource: string | null;
1432
- /**
1433
- * ISO8601 Timestamp
1434
- */
1435
- timestamp: VektorAPI.Timestamp;
1436
- /**
1437
- * Error type
1438
- */
1439
- type: string;
1440
- }
1441
- namespace Error {
1442
- /**
1443
- * Error context
1444
- */
1445
- interface Context {
1446
- /**
1447
- * Error parameters
1448
- */
1449
- parameters: {
1450
- [key: string]: unknown;
1451
- };
1452
- }
1453
- }
1454
- }
1455
971
  /**
1456
972
  * Selling an asset for another asset
1457
973
  */
@@ -1485,7 +1001,7 @@ export declare namespace StepGetResponse {
1485
1001
  /**
1486
1002
  * Vektor error
1487
1003
  */
1488
- error: ExecutionEVMTransactionSell.Error | null;
1004
+ error: VektorAPI.ExecutionError;
1489
1005
  /**
1490
1006
  * ISO8601 Timestamp
1491
1007
  */
@@ -1539,50 +1055,6 @@ export declare namespace StepGetResponse {
1539
1055
  */
1540
1056
  value: string | null;
1541
1057
  }
1542
- namespace ExecutionEVMTransactionSell {
1543
- /**
1544
- * Vektor error
1545
- */
1546
- interface Error {
1547
- /**
1548
- * Error context
1549
- */
1550
- context: Error.Context;
1551
- /**
1552
- * Error message
1553
- */
1554
- message: string;
1555
- /**
1556
- * Request ID
1557
- */
1558
- request_id: string;
1559
- /**
1560
- * Error resource
1561
- */
1562
- resource: string | null;
1563
- /**
1564
- * ISO8601 Timestamp
1565
- */
1566
- timestamp: VektorAPI.Timestamp;
1567
- /**
1568
- * Error type
1569
- */
1570
- type: string;
1571
- }
1572
- namespace Error {
1573
- /**
1574
- * Error context
1575
- */
1576
- interface Context {
1577
- /**
1578
- * Error parameters
1579
- */
1580
- parameters: {
1581
- [key: string]: unknown;
1582
- };
1583
- }
1584
- }
1585
- }
1586
1058
  }
1587
1059
  export interface StepGetParams {
1588
1060
  /**