@nirvana-labs/nirvana 1.13.1 → 1.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -148,7 +148,7 @@ export namespace StepGetResponse {
148
148
  /**
149
149
  * Vektor error
150
150
  */
151
- error: ExecutionEVMTransactionApprove.Error | null;
151
+ error: VektorAPI.ExecutionError;
152
152
 
153
153
  /**
154
154
  * ISO8601 Timestamp
@@ -211,55 +211,6 @@ export namespace StepGetResponse {
211
211
  value: string | null;
212
212
  }
213
213
 
214
- export namespace ExecutionEVMTransactionApprove {
215
- /**
216
- * Vektor error
217
- */
218
- export interface Error {
219
- /**
220
- * Error context
221
- */
222
- context: Error.Context;
223
-
224
- /**
225
- * Error message
226
- */
227
- message: string;
228
-
229
- /**
230
- * Request ID
231
- */
232
- request_id: string;
233
-
234
- /**
235
- * Error resource
236
- */
237
- resource: string | null;
238
-
239
- /**
240
- * ISO8601 Timestamp
241
- */
242
- timestamp: VektorAPI.Timestamp;
243
-
244
- /**
245
- * Error type
246
- */
247
- type: string;
248
- }
249
-
250
- export namespace Error {
251
- /**
252
- * Error context
253
- */
254
- export interface Context {
255
- /**
256
- * Error parameters
257
- */
258
- parameters: { [key: string]: unknown };
259
- }
260
- }
261
- }
262
-
263
214
  /**
264
215
  * Borrowing an asset
265
216
  */
@@ -306,7 +257,7 @@ export namespace StepGetResponse {
306
257
  /**
307
258
  * Vektor error
308
259
  */
309
- error: ExecutionEVMTransactionBorrow.Error | null;
260
+ error: VektorAPI.ExecutionError;
310
261
 
311
262
  /**
312
263
  * ISO8601 Timestamp
@@ -370,55 +321,6 @@ export namespace StepGetResponse {
370
321
  venue_symbol: VektorAPI.VenueSymbol;
371
322
  }
372
323
 
373
- export namespace ExecutionEVMTransactionBorrow {
374
- /**
375
- * Vektor error
376
- */
377
- export interface Error {
378
- /**
379
- * Error context
380
- */
381
- context: Error.Context;
382
-
383
- /**
384
- * Error message
385
- */
386
- message: string;
387
-
388
- /**
389
- * Request ID
390
- */
391
- request_id: string;
392
-
393
- /**
394
- * Error resource
395
- */
396
- resource: string | null;
397
-
398
- /**
399
- * ISO8601 Timestamp
400
- */
401
- timestamp: VektorAPI.Timestamp;
402
-
403
- /**
404
- * Error type
405
- */
406
- type: string;
407
- }
408
-
409
- export namespace Error {
410
- /**
411
- * Error context
412
- */
413
- export interface Context {
414
- /**
415
- * Error parameters
416
- */
417
- parameters: { [key: string]: unknown };
418
- }
419
- }
420
- }
421
-
422
324
  /**
423
325
  * Repaying a borrowed asset
424
326
  */
@@ -465,7 +367,7 @@ export namespace StepGetResponse {
465
367
  /**
466
368
  * Vektor error
467
369
  */
468
- error: ExecutionEVMTransactionBorrowRepay.Error | null;
370
+ error: VektorAPI.ExecutionError;
469
371
 
470
372
  /**
471
373
  * ISO8601 Timestamp
@@ -524,55 +426,6 @@ export namespace StepGetResponse {
524
426
  value: string | null;
525
427
  }
526
428
 
527
- export namespace ExecutionEVMTransactionBorrowRepay {
528
- /**
529
- * Vektor error
530
- */
531
- export interface Error {
532
- /**
533
- * Error context
534
- */
535
- context: Error.Context;
536
-
537
- /**
538
- * Error message
539
- */
540
- message: string;
541
-
542
- /**
543
- * Request ID
544
- */
545
- request_id: string;
546
-
547
- /**
548
- * Error resource
549
- */
550
- resource: string | null;
551
-
552
- /**
553
- * ISO8601 Timestamp
554
- */
555
- timestamp: VektorAPI.Timestamp;
556
-
557
- /**
558
- * Error type
559
- */
560
- type: string;
561
- }
562
-
563
- export namespace Error {
564
- /**
565
- * Error context
566
- */
567
- export interface Context {
568
- /**
569
- * Error parameters
570
- */
571
- parameters: { [key: string]: unknown };
572
- }
573
- }
574
- }
575
-
576
429
  /**
577
430
  * Buying an asset with another asset
578
431
  */
@@ -614,7 +467,7 @@ export namespace StepGetResponse {
614
467
  /**
615
468
  * Vektor error
616
469
  */
617
- error: ExecutionEVMTransactionBuy.Error | null;
470
+ error: VektorAPI.ExecutionError;
618
471
 
619
472
  /**
620
473
  * ISO8601 Timestamp
@@ -682,55 +535,6 @@ export namespace StepGetResponse {
682
535
  value: string | null;
683
536
  }
684
537
 
685
- export namespace ExecutionEVMTransactionBuy {
686
- /**
687
- * Vektor error
688
- */
689
- export interface Error {
690
- /**
691
- * Error context
692
- */
693
- context: Error.Context;
694
-
695
- /**
696
- * Error message
697
- */
698
- message: string;
699
-
700
- /**
701
- * Request ID
702
- */
703
- request_id: string;
704
-
705
- /**
706
- * Error resource
707
- */
708
- resource: string | null;
709
-
710
- /**
711
- * ISO8601 Timestamp
712
- */
713
- timestamp: VektorAPI.Timestamp;
714
-
715
- /**
716
- * Error type
717
- */
718
- type: string;
719
- }
720
-
721
- export namespace Error {
722
- /**
723
- * Error context
724
- */
725
- export interface Context {
726
- /**
727
- * Error parameters
728
- */
729
- parameters: { [key: string]: unknown };
730
- }
731
- }
732
- }
733
-
734
538
  /**
735
539
  * Lending an asset
736
540
  */
@@ -777,7 +581,7 @@ export namespace StepGetResponse {
777
581
  /**
778
582
  * Vektor error
779
583
  */
780
- error: ExecutionEVMTransactionLend.Error | null;
584
+ error: VektorAPI.ExecutionError;
781
585
 
782
586
  /**
783
587
  * ISO8601 Timestamp
@@ -841,55 +645,6 @@ export namespace StepGetResponse {
841
645
  venue_symbol: VektorAPI.VenueSymbol;
842
646
  }
843
647
 
844
- export namespace ExecutionEVMTransactionLend {
845
- /**
846
- * Vektor error
847
- */
848
- export interface Error {
849
- /**
850
- * Error context
851
- */
852
- context: Error.Context;
853
-
854
- /**
855
- * Error message
856
- */
857
- message: string;
858
-
859
- /**
860
- * Request ID
861
- */
862
- request_id: string;
863
-
864
- /**
865
- * Error resource
866
- */
867
- resource: string | null;
868
-
869
- /**
870
- * ISO8601 Timestamp
871
- */
872
- timestamp: VektorAPI.Timestamp;
873
-
874
- /**
875
- * Error type
876
- */
877
- type: string;
878
- }
879
-
880
- export namespace Error {
881
- /**
882
- * Error context
883
- */
884
- export interface Context {
885
- /**
886
- * Error parameters
887
- */
888
- parameters: { [key: string]: unknown };
889
- }
890
- }
891
- }
892
-
893
648
  /**
894
649
  * Setting/unsetting a position as collateral
895
650
  */
@@ -926,7 +681,7 @@ export namespace StepGetResponse {
926
681
  /**
927
682
  * Vektor error
928
683
  */
929
- error: ExecutionEVMTransactionLendSetCollateral.Error | null;
684
+ error: VektorAPI.ExecutionError;
930
685
 
931
686
  /**
932
687
  * ISO8601 Timestamp
@@ -987,55 +742,6 @@ export namespace StepGetResponse {
987
742
  value: string | null;
988
743
  }
989
744
 
990
- export namespace ExecutionEVMTransactionLendSetCollateral {
991
- /**
992
- * Vektor error
993
- */
994
- export interface Error {
995
- /**
996
- * Error context
997
- */
998
- context: Error.Context;
999
-
1000
- /**
1001
- * Error message
1002
- */
1003
- message: string;
1004
-
1005
- /**
1006
- * Request ID
1007
- */
1008
- request_id: string;
1009
-
1010
- /**
1011
- * Error resource
1012
- */
1013
- resource: string | null;
1014
-
1015
- /**
1016
- * ISO8601 Timestamp
1017
- */
1018
- timestamp: VektorAPI.Timestamp;
1019
-
1020
- /**
1021
- * Error type
1022
- */
1023
- type: string;
1024
- }
1025
-
1026
- export namespace Error {
1027
- /**
1028
- * Error context
1029
- */
1030
- export interface Context {
1031
- /**
1032
- * Error parameters
1033
- */
1034
- parameters: { [key: string]: unknown };
1035
- }
1036
- }
1037
- }
1038
-
1039
745
  /**
1040
746
  * Withdrawing an asset
1041
747
  */
@@ -1082,7 +788,7 @@ export namespace StepGetResponse {
1082
788
  /**
1083
789
  * Vektor error
1084
790
  */
1085
- error: ExecutionEVMTransactionLendWithdraw.Error | null;
791
+ error: VektorAPI.ExecutionError;
1086
792
 
1087
793
  /**
1088
794
  * ISO8601 Timestamp
@@ -1141,55 +847,6 @@ export namespace StepGetResponse {
1141
847
  value: string | null;
1142
848
  }
1143
849
 
1144
- export namespace ExecutionEVMTransactionLendWithdraw {
1145
- /**
1146
- * Vektor error
1147
- */
1148
- export interface Error {
1149
- /**
1150
- * Error context
1151
- */
1152
- context: Error.Context;
1153
-
1154
- /**
1155
- * Error message
1156
- */
1157
- message: string;
1158
-
1159
- /**
1160
- * Request ID
1161
- */
1162
- request_id: string;
1163
-
1164
- /**
1165
- * Error resource
1166
- */
1167
- resource: string | null;
1168
-
1169
- /**
1170
- * ISO8601 Timestamp
1171
- */
1172
- timestamp: VektorAPI.Timestamp;
1173
-
1174
- /**
1175
- * Error type
1176
- */
1177
- type: string;
1178
- }
1179
-
1180
- export namespace Error {
1181
- /**
1182
- * Error context
1183
- */
1184
- export interface Context {
1185
- /**
1186
- * Error parameters
1187
- */
1188
- parameters: { [key: string]: unknown };
1189
- }
1190
- }
1191
- }
1192
-
1193
850
  /**
1194
851
  * A move of assets from one account to another
1195
852
  */
@@ -1236,7 +893,7 @@ export namespace StepGetResponse {
1236
893
  /**
1237
894
  * Vektor error
1238
895
  */
1239
- error: ExecutionEVMTransactionMove.Error | null;
896
+ error: VektorAPI.ExecutionError;
1240
897
 
1241
898
  /**
1242
899
  * ISO8601 Timestamp
@@ -1289,55 +946,6 @@ export namespace StepGetResponse {
1289
946
  value: string | null;
1290
947
  }
1291
948
 
1292
- export namespace ExecutionEVMTransactionMove {
1293
- /**
1294
- * Vektor error
1295
- */
1296
- export interface Error {
1297
- /**
1298
- * Error context
1299
- */
1300
- context: Error.Context;
1301
-
1302
- /**
1303
- * Error message
1304
- */
1305
- message: string;
1306
-
1307
- /**
1308
- * Request ID
1309
- */
1310
- request_id: string;
1311
-
1312
- /**
1313
- * Error resource
1314
- */
1315
- resource: string | null;
1316
-
1317
- /**
1318
- * ISO8601 Timestamp
1319
- */
1320
- timestamp: VektorAPI.Timestamp;
1321
-
1322
- /**
1323
- * Error type
1324
- */
1325
- type: string;
1326
- }
1327
-
1328
- export namespace Error {
1329
- /**
1330
- * Error context
1331
- */
1332
- export interface Context {
1333
- /**
1334
- * Error parameters
1335
- */
1336
- parameters: { [key: string]: unknown };
1337
- }
1338
- }
1339
- }
1340
-
1341
949
  /**
1342
950
  * A permission to a contract
1343
951
  */
@@ -1379,7 +987,7 @@ export namespace StepGetResponse {
1379
987
  /**
1380
988
  * Vektor error
1381
989
  */
1382
- error: ExecutionEVMTransactionPermission.Error | null;
990
+ error: VektorAPI.ExecutionError;
1383
991
 
1384
992
  /**
1385
993
  * ISO8601 Timestamp
@@ -1450,55 +1058,6 @@ export namespace StepGetResponse {
1450
1058
  value: string | null;
1451
1059
  }
1452
1060
 
1453
- export namespace ExecutionEVMTransactionPermission {
1454
- /**
1455
- * Vektor error
1456
- */
1457
- export interface Error {
1458
- /**
1459
- * Error context
1460
- */
1461
- context: Error.Context;
1462
-
1463
- /**
1464
- * Error message
1465
- */
1466
- message: string;
1467
-
1468
- /**
1469
- * Request ID
1470
- */
1471
- request_id: string;
1472
-
1473
- /**
1474
- * Error resource
1475
- */
1476
- resource: string | null;
1477
-
1478
- /**
1479
- * ISO8601 Timestamp
1480
- */
1481
- timestamp: VektorAPI.Timestamp;
1482
-
1483
- /**
1484
- * Error type
1485
- */
1486
- type: string;
1487
- }
1488
-
1489
- export namespace Error {
1490
- /**
1491
- * Error context
1492
- */
1493
- export interface Context {
1494
- /**
1495
- * Error parameters
1496
- */
1497
- parameters: { [key: string]: unknown };
1498
- }
1499
- }
1500
- }
1501
-
1502
1061
  /**
1503
1062
  * An unwrap of the wrapped native asset
1504
1063
  */
@@ -1540,7 +1099,7 @@ export namespace StepGetResponse {
1540
1099
  /**
1541
1100
  * Vektor error
1542
1101
  */
1543
- error: ExecutionEVMTransactionUnwrap.Error | null;
1102
+ error: VektorAPI.ExecutionError;
1544
1103
 
1545
1104
  /**
1546
1105
  * ISO8601 Timestamp
@@ -1593,55 +1152,6 @@ export namespace StepGetResponse {
1593
1152
  value: string | null;
1594
1153
  }
1595
1154
 
1596
- export namespace ExecutionEVMTransactionUnwrap {
1597
- /**
1598
- * Vektor error
1599
- */
1600
- export interface Error {
1601
- /**
1602
- * Error context
1603
- */
1604
- context: Error.Context;
1605
-
1606
- /**
1607
- * Error message
1608
- */
1609
- message: string;
1610
-
1611
- /**
1612
- * Request ID
1613
- */
1614
- request_id: string;
1615
-
1616
- /**
1617
- * Error resource
1618
- */
1619
- resource: string | null;
1620
-
1621
- /**
1622
- * ISO8601 Timestamp
1623
- */
1624
- timestamp: VektorAPI.Timestamp;
1625
-
1626
- /**
1627
- * Error type
1628
- */
1629
- type: string;
1630
- }
1631
-
1632
- export namespace Error {
1633
- /**
1634
- * Error context
1635
- */
1636
- export interface Context {
1637
- /**
1638
- * Error parameters
1639
- */
1640
- parameters: { [key: string]: unknown };
1641
- }
1642
- }
1643
- }
1644
-
1645
1155
  /**
1646
1156
  * A wrap of the native asset
1647
1157
  */
@@ -1683,7 +1193,7 @@ export namespace StepGetResponse {
1683
1193
  /**
1684
1194
  * Vektor error
1685
1195
  */
1686
- error: ExecutionEVMTransactionWrap.Error | null;
1196
+ error: VektorAPI.ExecutionError;
1687
1197
 
1688
1198
  /**
1689
1199
  * ISO8601 Timestamp
@@ -1736,55 +1246,6 @@ export namespace StepGetResponse {
1736
1246
  value: string | null;
1737
1247
  }
1738
1248
 
1739
- export namespace ExecutionEVMTransactionWrap {
1740
- /**
1741
- * Vektor error
1742
- */
1743
- export interface Error {
1744
- /**
1745
- * Error context
1746
- */
1747
- context: Error.Context;
1748
-
1749
- /**
1750
- * Error message
1751
- */
1752
- message: string;
1753
-
1754
- /**
1755
- * Request ID
1756
- */
1757
- request_id: string;
1758
-
1759
- /**
1760
- * Error resource
1761
- */
1762
- resource: string | null;
1763
-
1764
- /**
1765
- * ISO8601 Timestamp
1766
- */
1767
- timestamp: VektorAPI.Timestamp;
1768
-
1769
- /**
1770
- * Error type
1771
- */
1772
- type: string;
1773
- }
1774
-
1775
- export namespace Error {
1776
- /**
1777
- * Error context
1778
- */
1779
- export interface Context {
1780
- /**
1781
- * Error parameters
1782
- */
1783
- parameters: { [key: string]: unknown };
1784
- }
1785
- }
1786
- }
1787
-
1788
1249
  /**
1789
1250
  * Selling an asset for another asset
1790
1251
  */
@@ -1826,7 +1287,7 @@ export namespace StepGetResponse {
1826
1287
  /**
1827
1288
  * Vektor error
1828
1289
  */
1829
- error: ExecutionEVMTransactionSell.Error | null;
1290
+ error: VektorAPI.ExecutionError;
1830
1291
 
1831
1292
  /**
1832
1293
  * ISO8601 Timestamp
@@ -1893,55 +1354,6 @@ export namespace StepGetResponse {
1893
1354
  */
1894
1355
  value: string | null;
1895
1356
  }
1896
-
1897
- export namespace ExecutionEVMTransactionSell {
1898
- /**
1899
- * Vektor error
1900
- */
1901
- export interface Error {
1902
- /**
1903
- * Error context
1904
- */
1905
- context: Error.Context;
1906
-
1907
- /**
1908
- * Error message
1909
- */
1910
- message: string;
1911
-
1912
- /**
1913
- * Request ID
1914
- */
1915
- request_id: string;
1916
-
1917
- /**
1918
- * Error resource
1919
- */
1920
- resource: string | null;
1921
-
1922
- /**
1923
- * ISO8601 Timestamp
1924
- */
1925
- timestamp: VektorAPI.Timestamp;
1926
-
1927
- /**
1928
- * Error type
1929
- */
1930
- type: string;
1931
- }
1932
-
1933
- export namespace Error {
1934
- /**
1935
- * Error context
1936
- */
1937
- export interface Context {
1938
- /**
1939
- * Error parameters
1940
- */
1941
- parameters: { [key: string]: unknown };
1942
- }
1943
- }
1944
- }
1945
1357
  }
1946
1358
 
1947
1359
  export interface StepGetParams {