@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.
@@ -1095,7 +1095,7 @@ export namespace Execution {
1095
1095
  /**
1096
1096
  * Vektor error
1097
1097
  */
1098
- error: ExecutionEVMTransactionApprove.Error | null;
1098
+ error: VektorAPI.ExecutionError;
1099
1099
 
1100
1100
  /**
1101
1101
  * ISO8601 Timestamp
@@ -1158,55 +1158,6 @@ export namespace Execution {
1158
1158
  value: string | null;
1159
1159
  }
1160
1160
 
1161
- export namespace ExecutionEVMTransactionApprove {
1162
- /**
1163
- * Vektor error
1164
- */
1165
- export interface Error {
1166
- /**
1167
- * Error context
1168
- */
1169
- context: Error.Context;
1170
-
1171
- /**
1172
- * Error message
1173
- */
1174
- message: string;
1175
-
1176
- /**
1177
- * Request ID
1178
- */
1179
- request_id: string;
1180
-
1181
- /**
1182
- * Error resource
1183
- */
1184
- resource: string | null;
1185
-
1186
- /**
1187
- * ISO8601 Timestamp
1188
- */
1189
- timestamp: VektorAPI.Timestamp;
1190
-
1191
- /**
1192
- * Error type
1193
- */
1194
- type: string;
1195
- }
1196
-
1197
- export namespace Error {
1198
- /**
1199
- * Error context
1200
- */
1201
- export interface Context {
1202
- /**
1203
- * Error parameters
1204
- */
1205
- parameters: { [key: string]: unknown };
1206
- }
1207
- }
1208
- }
1209
-
1210
1161
  /**
1211
1162
  * Borrowing an asset
1212
1163
  */
@@ -1253,7 +1204,7 @@ export namespace Execution {
1253
1204
  /**
1254
1205
  * Vektor error
1255
1206
  */
1256
- error: ExecutionEVMTransactionBorrow.Error | null;
1207
+ error: VektorAPI.ExecutionError;
1257
1208
 
1258
1209
  /**
1259
1210
  * ISO8601 Timestamp
@@ -1317,55 +1268,6 @@ export namespace Execution {
1317
1268
  venue_symbol: VektorAPI.VenueSymbol;
1318
1269
  }
1319
1270
 
1320
- export namespace ExecutionEVMTransactionBorrow {
1321
- /**
1322
- * Vektor error
1323
- */
1324
- export interface Error {
1325
- /**
1326
- * Error context
1327
- */
1328
- context: Error.Context;
1329
-
1330
- /**
1331
- * Error message
1332
- */
1333
- message: string;
1334
-
1335
- /**
1336
- * Request ID
1337
- */
1338
- request_id: string;
1339
-
1340
- /**
1341
- * Error resource
1342
- */
1343
- resource: string | null;
1344
-
1345
- /**
1346
- * ISO8601 Timestamp
1347
- */
1348
- timestamp: VektorAPI.Timestamp;
1349
-
1350
- /**
1351
- * Error type
1352
- */
1353
- type: string;
1354
- }
1355
-
1356
- export namespace Error {
1357
- /**
1358
- * Error context
1359
- */
1360
- export interface Context {
1361
- /**
1362
- * Error parameters
1363
- */
1364
- parameters: { [key: string]: unknown };
1365
- }
1366
- }
1367
- }
1368
-
1369
1271
  /**
1370
1272
  * Repaying a borrowed asset
1371
1273
  */
@@ -1412,7 +1314,7 @@ export namespace Execution {
1412
1314
  /**
1413
1315
  * Vektor error
1414
1316
  */
1415
- error: ExecutionEVMTransactionBorrowRepay.Error | null;
1317
+ error: VektorAPI.ExecutionError;
1416
1318
 
1417
1319
  /**
1418
1320
  * ISO8601 Timestamp
@@ -1471,55 +1373,6 @@ export namespace Execution {
1471
1373
  value: string | null;
1472
1374
  }
1473
1375
 
1474
- export namespace ExecutionEVMTransactionBorrowRepay {
1475
- /**
1476
- * Vektor error
1477
- */
1478
- export interface Error {
1479
- /**
1480
- * Error context
1481
- */
1482
- context: Error.Context;
1483
-
1484
- /**
1485
- * Error message
1486
- */
1487
- message: string;
1488
-
1489
- /**
1490
- * Request ID
1491
- */
1492
- request_id: string;
1493
-
1494
- /**
1495
- * Error resource
1496
- */
1497
- resource: string | null;
1498
-
1499
- /**
1500
- * ISO8601 Timestamp
1501
- */
1502
- timestamp: VektorAPI.Timestamp;
1503
-
1504
- /**
1505
- * Error type
1506
- */
1507
- type: string;
1508
- }
1509
-
1510
- export namespace Error {
1511
- /**
1512
- * Error context
1513
- */
1514
- export interface Context {
1515
- /**
1516
- * Error parameters
1517
- */
1518
- parameters: { [key: string]: unknown };
1519
- }
1520
- }
1521
- }
1522
-
1523
1376
  /**
1524
1377
  * Buying an asset with another asset
1525
1378
  */
@@ -1561,7 +1414,7 @@ export namespace Execution {
1561
1414
  /**
1562
1415
  * Vektor error
1563
1416
  */
1564
- error: ExecutionEVMTransactionBuy.Error | null;
1417
+ error: VektorAPI.ExecutionError;
1565
1418
 
1566
1419
  /**
1567
1420
  * ISO8601 Timestamp
@@ -1629,55 +1482,6 @@ export namespace Execution {
1629
1482
  value: string | null;
1630
1483
  }
1631
1484
 
1632
- export namespace ExecutionEVMTransactionBuy {
1633
- /**
1634
- * Vektor error
1635
- */
1636
- export interface Error {
1637
- /**
1638
- * Error context
1639
- */
1640
- context: Error.Context;
1641
-
1642
- /**
1643
- * Error message
1644
- */
1645
- message: string;
1646
-
1647
- /**
1648
- * Request ID
1649
- */
1650
- request_id: string;
1651
-
1652
- /**
1653
- * Error resource
1654
- */
1655
- resource: string | null;
1656
-
1657
- /**
1658
- * ISO8601 Timestamp
1659
- */
1660
- timestamp: VektorAPI.Timestamp;
1661
-
1662
- /**
1663
- * Error type
1664
- */
1665
- type: string;
1666
- }
1667
-
1668
- export namespace Error {
1669
- /**
1670
- * Error context
1671
- */
1672
- export interface Context {
1673
- /**
1674
- * Error parameters
1675
- */
1676
- parameters: { [key: string]: unknown };
1677
- }
1678
- }
1679
- }
1680
-
1681
1485
  /**
1682
1486
  * Lending an asset
1683
1487
  */
@@ -1724,7 +1528,7 @@ export namespace Execution {
1724
1528
  /**
1725
1529
  * Vektor error
1726
1530
  */
1727
- error: ExecutionEVMTransactionLend.Error | null;
1531
+ error: VektorAPI.ExecutionError;
1728
1532
 
1729
1533
  /**
1730
1534
  * ISO8601 Timestamp
@@ -1788,55 +1592,6 @@ export namespace Execution {
1788
1592
  venue_symbol: VektorAPI.VenueSymbol;
1789
1593
  }
1790
1594
 
1791
- export namespace ExecutionEVMTransactionLend {
1792
- /**
1793
- * Vektor error
1794
- */
1795
- export interface Error {
1796
- /**
1797
- * Error context
1798
- */
1799
- context: Error.Context;
1800
-
1801
- /**
1802
- * Error message
1803
- */
1804
- message: string;
1805
-
1806
- /**
1807
- * Request ID
1808
- */
1809
- request_id: string;
1810
-
1811
- /**
1812
- * Error resource
1813
- */
1814
- resource: string | null;
1815
-
1816
- /**
1817
- * ISO8601 Timestamp
1818
- */
1819
- timestamp: VektorAPI.Timestamp;
1820
-
1821
- /**
1822
- * Error type
1823
- */
1824
- type: string;
1825
- }
1826
-
1827
- export namespace Error {
1828
- /**
1829
- * Error context
1830
- */
1831
- export interface Context {
1832
- /**
1833
- * Error parameters
1834
- */
1835
- parameters: { [key: string]: unknown };
1836
- }
1837
- }
1838
- }
1839
-
1840
1595
  /**
1841
1596
  * Setting/unsetting a position as collateral
1842
1597
  */
@@ -1873,7 +1628,7 @@ export namespace Execution {
1873
1628
  /**
1874
1629
  * Vektor error
1875
1630
  */
1876
- error: ExecutionEVMTransactionLendSetCollateral.Error | null;
1631
+ error: VektorAPI.ExecutionError;
1877
1632
 
1878
1633
  /**
1879
1634
  * ISO8601 Timestamp
@@ -1934,55 +1689,6 @@ export namespace Execution {
1934
1689
  value: string | null;
1935
1690
  }
1936
1691
 
1937
- export namespace ExecutionEVMTransactionLendSetCollateral {
1938
- /**
1939
- * Vektor error
1940
- */
1941
- export interface Error {
1942
- /**
1943
- * Error context
1944
- */
1945
- context: Error.Context;
1946
-
1947
- /**
1948
- * Error message
1949
- */
1950
- message: string;
1951
-
1952
- /**
1953
- * Request ID
1954
- */
1955
- request_id: string;
1956
-
1957
- /**
1958
- * Error resource
1959
- */
1960
- resource: string | null;
1961
-
1962
- /**
1963
- * ISO8601 Timestamp
1964
- */
1965
- timestamp: VektorAPI.Timestamp;
1966
-
1967
- /**
1968
- * Error type
1969
- */
1970
- type: string;
1971
- }
1972
-
1973
- export namespace Error {
1974
- /**
1975
- * Error context
1976
- */
1977
- export interface Context {
1978
- /**
1979
- * Error parameters
1980
- */
1981
- parameters: { [key: string]: unknown };
1982
- }
1983
- }
1984
- }
1985
-
1986
1692
  /**
1987
1693
  * Withdrawing an asset
1988
1694
  */
@@ -2029,7 +1735,7 @@ export namespace Execution {
2029
1735
  /**
2030
1736
  * Vektor error
2031
1737
  */
2032
- error: ExecutionEVMTransactionLendWithdraw.Error | null;
1738
+ error: VektorAPI.ExecutionError;
2033
1739
 
2034
1740
  /**
2035
1741
  * ISO8601 Timestamp
@@ -2088,55 +1794,6 @@ export namespace Execution {
2088
1794
  value: string | null;
2089
1795
  }
2090
1796
 
2091
- export namespace ExecutionEVMTransactionLendWithdraw {
2092
- /**
2093
- * Vektor error
2094
- */
2095
- export interface Error {
2096
- /**
2097
- * Error context
2098
- */
2099
- context: Error.Context;
2100
-
2101
- /**
2102
- * Error message
2103
- */
2104
- message: string;
2105
-
2106
- /**
2107
- * Request ID
2108
- */
2109
- request_id: string;
2110
-
2111
- /**
2112
- * Error resource
2113
- */
2114
- resource: string | null;
2115
-
2116
- /**
2117
- * ISO8601 Timestamp
2118
- */
2119
- timestamp: VektorAPI.Timestamp;
2120
-
2121
- /**
2122
- * Error type
2123
- */
2124
- type: string;
2125
- }
2126
-
2127
- export namespace Error {
2128
- /**
2129
- * Error context
2130
- */
2131
- export interface Context {
2132
- /**
2133
- * Error parameters
2134
- */
2135
- parameters: { [key: string]: unknown };
2136
- }
2137
- }
2138
- }
2139
-
2140
1797
  /**
2141
1798
  * A move of assets from one account to another
2142
1799
  */
@@ -2183,7 +1840,7 @@ export namespace Execution {
2183
1840
  /**
2184
1841
  * Vektor error
2185
1842
  */
2186
- error: ExecutionEVMTransactionMove.Error | null;
1843
+ error: VektorAPI.ExecutionError;
2187
1844
 
2188
1845
  /**
2189
1846
  * ISO8601 Timestamp
@@ -2236,55 +1893,6 @@ export namespace Execution {
2236
1893
  value: string | null;
2237
1894
  }
2238
1895
 
2239
- export namespace ExecutionEVMTransactionMove {
2240
- /**
2241
- * Vektor error
2242
- */
2243
- export interface Error {
2244
- /**
2245
- * Error context
2246
- */
2247
- context: Error.Context;
2248
-
2249
- /**
2250
- * Error message
2251
- */
2252
- message: string;
2253
-
2254
- /**
2255
- * Request ID
2256
- */
2257
- request_id: string;
2258
-
2259
- /**
2260
- * Error resource
2261
- */
2262
- resource: string | null;
2263
-
2264
- /**
2265
- * ISO8601 Timestamp
2266
- */
2267
- timestamp: VektorAPI.Timestamp;
2268
-
2269
- /**
2270
- * Error type
2271
- */
2272
- type: string;
2273
- }
2274
-
2275
- export namespace Error {
2276
- /**
2277
- * Error context
2278
- */
2279
- export interface Context {
2280
- /**
2281
- * Error parameters
2282
- */
2283
- parameters: { [key: string]: unknown };
2284
- }
2285
- }
2286
- }
2287
-
2288
1896
  /**
2289
1897
  * A permission to a contract
2290
1898
  */
@@ -2326,7 +1934,7 @@ export namespace Execution {
2326
1934
  /**
2327
1935
  * Vektor error
2328
1936
  */
2329
- error: ExecutionEVMTransactionPermission.Error | null;
1937
+ error: VektorAPI.ExecutionError;
2330
1938
 
2331
1939
  /**
2332
1940
  * ISO8601 Timestamp
@@ -2397,55 +2005,6 @@ export namespace Execution {
2397
2005
  value: string | null;
2398
2006
  }
2399
2007
 
2400
- export namespace ExecutionEVMTransactionPermission {
2401
- /**
2402
- * Vektor error
2403
- */
2404
- export interface Error {
2405
- /**
2406
- * Error context
2407
- */
2408
- context: Error.Context;
2409
-
2410
- /**
2411
- * Error message
2412
- */
2413
- message: string;
2414
-
2415
- /**
2416
- * Request ID
2417
- */
2418
- request_id: string;
2419
-
2420
- /**
2421
- * Error resource
2422
- */
2423
- resource: string | null;
2424
-
2425
- /**
2426
- * ISO8601 Timestamp
2427
- */
2428
- timestamp: VektorAPI.Timestamp;
2429
-
2430
- /**
2431
- * Error type
2432
- */
2433
- type: string;
2434
- }
2435
-
2436
- export namespace Error {
2437
- /**
2438
- * Error context
2439
- */
2440
- export interface Context {
2441
- /**
2442
- * Error parameters
2443
- */
2444
- parameters: { [key: string]: unknown };
2445
- }
2446
- }
2447
- }
2448
-
2449
2008
  /**
2450
2009
  * An unwrap of the wrapped native asset
2451
2010
  */
@@ -2487,7 +2046,7 @@ export namespace Execution {
2487
2046
  /**
2488
2047
  * Vektor error
2489
2048
  */
2490
- error: ExecutionEVMTransactionUnwrap.Error | null;
2049
+ error: VektorAPI.ExecutionError;
2491
2050
 
2492
2051
  /**
2493
2052
  * ISO8601 Timestamp
@@ -2540,55 +2099,6 @@ export namespace Execution {
2540
2099
  value: string | null;
2541
2100
  }
2542
2101
 
2543
- export namespace ExecutionEVMTransactionUnwrap {
2544
- /**
2545
- * Vektor error
2546
- */
2547
- export interface Error {
2548
- /**
2549
- * Error context
2550
- */
2551
- context: Error.Context;
2552
-
2553
- /**
2554
- * Error message
2555
- */
2556
- message: string;
2557
-
2558
- /**
2559
- * Request ID
2560
- */
2561
- request_id: string;
2562
-
2563
- /**
2564
- * Error resource
2565
- */
2566
- resource: string | null;
2567
-
2568
- /**
2569
- * ISO8601 Timestamp
2570
- */
2571
- timestamp: VektorAPI.Timestamp;
2572
-
2573
- /**
2574
- * Error type
2575
- */
2576
- type: string;
2577
- }
2578
-
2579
- export namespace Error {
2580
- /**
2581
- * Error context
2582
- */
2583
- export interface Context {
2584
- /**
2585
- * Error parameters
2586
- */
2587
- parameters: { [key: string]: unknown };
2588
- }
2589
- }
2590
- }
2591
-
2592
2102
  /**
2593
2103
  * A wrap of the native asset
2594
2104
  */
@@ -2630,7 +2140,7 @@ export namespace Execution {
2630
2140
  /**
2631
2141
  * Vektor error
2632
2142
  */
2633
- error: ExecutionEVMTransactionWrap.Error | null;
2143
+ error: VektorAPI.ExecutionError;
2634
2144
 
2635
2145
  /**
2636
2146
  * ISO8601 Timestamp
@@ -2683,55 +2193,6 @@ export namespace Execution {
2683
2193
  value: string | null;
2684
2194
  }
2685
2195
 
2686
- export namespace ExecutionEVMTransactionWrap {
2687
- /**
2688
- * Vektor error
2689
- */
2690
- export interface Error {
2691
- /**
2692
- * Error context
2693
- */
2694
- context: Error.Context;
2695
-
2696
- /**
2697
- * Error message
2698
- */
2699
- message: string;
2700
-
2701
- /**
2702
- * Request ID
2703
- */
2704
- request_id: string;
2705
-
2706
- /**
2707
- * Error resource
2708
- */
2709
- resource: string | null;
2710
-
2711
- /**
2712
- * ISO8601 Timestamp
2713
- */
2714
- timestamp: VektorAPI.Timestamp;
2715
-
2716
- /**
2717
- * Error type
2718
- */
2719
- type: string;
2720
- }
2721
-
2722
- export namespace Error {
2723
- /**
2724
- * Error context
2725
- */
2726
- export interface Context {
2727
- /**
2728
- * Error parameters
2729
- */
2730
- parameters: { [key: string]: unknown };
2731
- }
2732
- }
2733
- }
2734
-
2735
2196
  /**
2736
2197
  * Selling an asset for another asset
2737
2198
  */
@@ -2773,7 +2234,7 @@ export namespace Execution {
2773
2234
  /**
2774
2235
  * Vektor error
2775
2236
  */
2776
- error: ExecutionEVMTransactionSell.Error | null;
2237
+ error: VektorAPI.ExecutionError;
2777
2238
 
2778
2239
  /**
2779
2240
  * ISO8601 Timestamp
@@ -2840,55 +2301,53 @@ export namespace Execution {
2840
2301
  */
2841
2302
  value: string | null;
2842
2303
  }
2304
+ }
2305
+ }
2843
2306
 
2844
- export namespace ExecutionEVMTransactionSell {
2845
- /**
2846
- * Vektor error
2847
- */
2848
- export interface Error {
2849
- /**
2850
- * Error context
2851
- */
2852
- context: Error.Context;
2853
-
2854
- /**
2855
- * Error message
2856
- */
2857
- message: string;
2858
-
2859
- /**
2860
- * Request ID
2861
- */
2862
- request_id: string;
2863
-
2864
- /**
2865
- * Error resource
2866
- */
2867
- resource: string | null;
2868
-
2869
- /**
2870
- * ISO8601 Timestamp
2871
- */
2872
- timestamp: VektorAPI.Timestamp;
2873
-
2874
- /**
2875
- * Error type
2876
- */
2877
- type: string;
2878
- }
2879
-
2880
- export namespace Error {
2881
- /**
2882
- * Error context
2883
- */
2884
- export interface Context {
2885
- /**
2886
- * Error parameters
2887
- */
2888
- parameters: { [key: string]: unknown };
2889
- }
2890
- }
2891
- }
2307
+ /**
2308
+ * Vektor error
2309
+ */
2310
+ export interface ExecutionError {
2311
+ /**
2312
+ * Error context
2313
+ */
2314
+ context: ExecutionError.Context;
2315
+
2316
+ /**
2317
+ * Error message
2318
+ */
2319
+ message: string;
2320
+
2321
+ /**
2322
+ * Request ID
2323
+ */
2324
+ request_id: string;
2325
+
2326
+ /**
2327
+ * Error resource
2328
+ */
2329
+ resource: string | null;
2330
+
2331
+ /**
2332
+ * ISO8601 Timestamp
2333
+ */
2334
+ timestamp: Timestamp;
2335
+
2336
+ /**
2337
+ * Error type
2338
+ */
2339
+ type: string;
2340
+ }
2341
+
2342
+ export namespace ExecutionError {
2343
+ /**
2344
+ * Error context
2345
+ */
2346
+ export interface Context {
2347
+ /**
2348
+ * Error parameters
2349
+ */
2350
+ parameters: { [key: string]: unknown };
2892
2351
  }
2893
2352
  }
2894
2353
 
@@ -4217,6 +3676,7 @@ export declare namespace Vektor {
4217
3676
  type ErrorListOutput as ErrorListOutput,
4218
3677
  type EVMChainData as EVMChainData,
4219
3678
  type Execution as Execution,
3679
+ type ExecutionError as ExecutionError,
4220
3680
  type ExecutionEVMTransactionEIP1559Payload as ExecutionEVMTransactionEIP1559Payload,
4221
3681
  type ExecutionEVMTransactionPayload as ExecutionEVMTransactionPayload,
4222
3682
  type ExecutionEVMTransactionState as ExecutionEVMTransactionState,