@nirvana-labs/nirvana 1.12.0 → 1.13.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.
- package/CHANGELOG.md +24 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.js +1 -1
- package/client.js.map +1 -1
- package/client.mjs +1 -1
- package/client.mjs.map +1 -1
- package/package.json +4 -5
- package/resources/api-keys.d.mts +2 -2
- package/resources/api-keys.d.ts +2 -2
- package/resources/api-keys.js +2 -2
- package/resources/api-keys.mjs +2 -2
- package/resources/connect/flux.d.mts +1 -1
- package/resources/connect/flux.d.ts +1 -1
- package/resources/connect/flux.js +1 -1
- package/resources/connect/flux.mjs +1 -1
- package/resources/networking/firewall-rules.d.mts +11 -7
- package/resources/networking/firewall-rules.d.mts.map +1 -1
- package/resources/networking/firewall-rules.d.ts +11 -7
- package/resources/networking/firewall-rules.d.ts.map +1 -1
- package/resources/networking/firewall-rules.js +1 -1
- package/resources/networking/firewall-rules.mjs +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.mts +31 -2
- package/resources/rpc-nodes/dedicated/dedicated.d.mts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.d.ts +31 -2
- package/resources/rpc-nodes/dedicated/dedicated.d.ts.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.js.map +1 -1
- package/resources/rpc-nodes/dedicated/dedicated.mjs.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.mts +31 -2
- package/resources/rpc-nodes/flex/flex.d.mts.map +1 -1
- package/resources/rpc-nodes/flex/flex.d.ts +31 -2
- package/resources/rpc-nodes/flex/flex.d.ts.map +1 -1
- package/resources/rpc-nodes/flex/flex.js.map +1 -1
- package/resources/rpc-nodes/flex/flex.mjs.map +1 -1
- package/resources/shared.d.mts +1 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +1 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/vektor/executions/steps.d.mts +348 -72
- package/resources/vektor/executions/steps.d.mts.map +1 -1
- package/resources/vektor/executions/steps.d.ts +348 -72
- package/resources/vektor/executions/steps.d.ts.map +1 -1
- package/resources/vektor/registry/errors.d.mts +4 -9
- package/resources/vektor/registry/errors.d.mts.map +1 -1
- package/resources/vektor/registry/errors.d.ts +4 -9
- package/resources/vektor/registry/errors.d.ts.map +1 -1
- package/resources/vektor/registry/errors.js +2 -1
- package/resources/vektor/registry/errors.js.map +1 -1
- package/resources/vektor/registry/errors.mjs +2 -1
- package/resources/vektor/registry/errors.mjs.map +1 -1
- package/resources/vektor/registry/index.d.mts +1 -1
- package/resources/vektor/registry/index.d.mts.map +1 -1
- package/resources/vektor/registry/index.d.ts +1 -1
- package/resources/vektor/registry/index.d.ts.map +1 -1
- package/resources/vektor/registry/index.js.map +1 -1
- package/resources/vektor/registry/index.mjs.map +1 -1
- package/resources/vektor/registry/registry.d.mts +2 -2
- package/resources/vektor/registry/registry.d.mts.map +1 -1
- package/resources/vektor/registry/registry.d.ts +2 -2
- package/resources/vektor/registry/registry.d.ts.map +1 -1
- package/resources/vektor/registry/registry.js.map +1 -1
- package/resources/vektor/registry/registry.mjs.map +1 -1
- package/resources/vektor/vektor.d.mts +397 -84
- package/resources/vektor/vektor.d.mts.map +1 -1
- package/resources/vektor/vektor.d.ts +397 -84
- package/resources/vektor/vektor.d.ts.map +1 -1
- package/resources/vektor/vektor.js.map +1 -1
- package/resources/vektor/vektor.mjs.map +1 -1
- package/src/client.ts +3 -1
- package/src/resources/api-keys.ts +2 -2
- package/src/resources/connect/flux.ts +1 -1
- package/src/resources/networking/firewall-rules.ts +11 -7
- package/src/resources/rpc-nodes/dedicated/dedicated.ts +31 -3
- package/src/resources/rpc-nodes/flex/flex.ts +31 -3
- package/src/resources/shared.ts +0 -2
- package/src/resources/vektor/executions/steps.ts +372 -48
- package/src/resources/vektor/registry/errors.ts +4 -10
- package/src/resources/vektor/registry/index.ts +1 -1
- package/src/resources/vektor/registry/registry.ts +2 -6
- package/src/resources/vektor/vektor.ts +428 -58
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -553,14 +553,11 @@ export type ChainType = 'evm';
|
|
|
553
553
|
*/
|
|
554
554
|
export type Decimal = string;
|
|
555
555
|
|
|
556
|
-
|
|
557
|
-
* Wraps a list of errors into an error response
|
|
558
|
-
*/
|
|
559
|
-
export interface ErrorWrapper {
|
|
556
|
+
export interface ErrorListOutput {
|
|
560
557
|
/**
|
|
561
|
-
* A list of errors
|
|
558
|
+
* A list of vektor errors
|
|
562
559
|
*/
|
|
563
|
-
|
|
560
|
+
items: VektorErrorList;
|
|
564
561
|
}
|
|
565
562
|
|
|
566
563
|
/**
|
|
@@ -1096,7 +1093,7 @@ export namespace Execution {
|
|
|
1096
1093
|
effective_gas_price: string | null;
|
|
1097
1094
|
|
|
1098
1095
|
/**
|
|
1099
|
-
*
|
|
1096
|
+
* Vektor error
|
|
1100
1097
|
*/
|
|
1101
1098
|
error: ExecutionEVMTransactionApprove.Error | null;
|
|
1102
1099
|
|
|
@@ -1163,24 +1160,51 @@ export namespace Execution {
|
|
|
1163
1160
|
|
|
1164
1161
|
export namespace ExecutionEVMTransactionApprove {
|
|
1165
1162
|
/**
|
|
1166
|
-
*
|
|
1163
|
+
* Vektor error
|
|
1167
1164
|
*/
|
|
1168
1165
|
export interface Error {
|
|
1166
|
+
/**
|
|
1167
|
+
* Error context
|
|
1168
|
+
*/
|
|
1169
|
+
context: Error.Context;
|
|
1170
|
+
|
|
1169
1171
|
/**
|
|
1170
1172
|
* Error message
|
|
1171
1173
|
*/
|
|
1172
1174
|
message: string;
|
|
1173
1175
|
|
|
1174
1176
|
/**
|
|
1175
|
-
*
|
|
1177
|
+
* Request ID
|
|
1178
|
+
*/
|
|
1179
|
+
request_id: string;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Error resource
|
|
1183
|
+
*/
|
|
1184
|
+
resource: string | null;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* ISO8601 Timestamp
|
|
1176
1188
|
*/
|
|
1177
|
-
|
|
1189
|
+
timestamp: VektorAPI.Timestamp;
|
|
1178
1190
|
|
|
1179
1191
|
/**
|
|
1180
1192
|
* Error type
|
|
1181
1193
|
*/
|
|
1182
1194
|
type: string;
|
|
1183
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
|
+
}
|
|
1184
1208
|
}
|
|
1185
1209
|
|
|
1186
1210
|
/**
|
|
@@ -1227,7 +1251,7 @@ export namespace Execution {
|
|
|
1227
1251
|
effective_gas_price: string | null;
|
|
1228
1252
|
|
|
1229
1253
|
/**
|
|
1230
|
-
*
|
|
1254
|
+
* Vektor error
|
|
1231
1255
|
*/
|
|
1232
1256
|
error: ExecutionEVMTransactionBorrow.Error | null;
|
|
1233
1257
|
|
|
@@ -1295,24 +1319,51 @@ export namespace Execution {
|
|
|
1295
1319
|
|
|
1296
1320
|
export namespace ExecutionEVMTransactionBorrow {
|
|
1297
1321
|
/**
|
|
1298
|
-
*
|
|
1322
|
+
* Vektor error
|
|
1299
1323
|
*/
|
|
1300
1324
|
export interface Error {
|
|
1325
|
+
/**
|
|
1326
|
+
* Error context
|
|
1327
|
+
*/
|
|
1328
|
+
context: Error.Context;
|
|
1329
|
+
|
|
1301
1330
|
/**
|
|
1302
1331
|
* Error message
|
|
1303
1332
|
*/
|
|
1304
1333
|
message: string;
|
|
1305
1334
|
|
|
1306
1335
|
/**
|
|
1307
|
-
*
|
|
1336
|
+
* Request ID
|
|
1337
|
+
*/
|
|
1338
|
+
request_id: string;
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Error resource
|
|
1342
|
+
*/
|
|
1343
|
+
resource: string | null;
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* ISO8601 Timestamp
|
|
1308
1347
|
*/
|
|
1309
|
-
|
|
1348
|
+
timestamp: VektorAPI.Timestamp;
|
|
1310
1349
|
|
|
1311
1350
|
/**
|
|
1312
1351
|
* Error type
|
|
1313
1352
|
*/
|
|
1314
1353
|
type: string;
|
|
1315
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
|
+
}
|
|
1316
1367
|
}
|
|
1317
1368
|
|
|
1318
1369
|
/**
|
|
@@ -1359,7 +1410,7 @@ export namespace Execution {
|
|
|
1359
1410
|
effective_gas_price: string | null;
|
|
1360
1411
|
|
|
1361
1412
|
/**
|
|
1362
|
-
*
|
|
1413
|
+
* Vektor error
|
|
1363
1414
|
*/
|
|
1364
1415
|
error: ExecutionEVMTransactionBorrowRepay.Error | null;
|
|
1365
1416
|
|
|
@@ -1422,24 +1473,51 @@ export namespace Execution {
|
|
|
1422
1473
|
|
|
1423
1474
|
export namespace ExecutionEVMTransactionBorrowRepay {
|
|
1424
1475
|
/**
|
|
1425
|
-
*
|
|
1476
|
+
* Vektor error
|
|
1426
1477
|
*/
|
|
1427
1478
|
export interface Error {
|
|
1479
|
+
/**
|
|
1480
|
+
* Error context
|
|
1481
|
+
*/
|
|
1482
|
+
context: Error.Context;
|
|
1483
|
+
|
|
1428
1484
|
/**
|
|
1429
1485
|
* Error message
|
|
1430
1486
|
*/
|
|
1431
1487
|
message: string;
|
|
1432
1488
|
|
|
1433
1489
|
/**
|
|
1434
|
-
*
|
|
1490
|
+
* Request ID
|
|
1491
|
+
*/
|
|
1492
|
+
request_id: string;
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* Error resource
|
|
1496
|
+
*/
|
|
1497
|
+
resource: string | null;
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* ISO8601 Timestamp
|
|
1435
1501
|
*/
|
|
1436
|
-
|
|
1502
|
+
timestamp: VektorAPI.Timestamp;
|
|
1437
1503
|
|
|
1438
1504
|
/**
|
|
1439
1505
|
* Error type
|
|
1440
1506
|
*/
|
|
1441
1507
|
type: string;
|
|
1442
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
|
+
}
|
|
1443
1521
|
}
|
|
1444
1522
|
|
|
1445
1523
|
/**
|
|
@@ -1481,7 +1559,7 @@ export namespace Execution {
|
|
|
1481
1559
|
effective_gas_price: string | null;
|
|
1482
1560
|
|
|
1483
1561
|
/**
|
|
1484
|
-
*
|
|
1562
|
+
* Vektor error
|
|
1485
1563
|
*/
|
|
1486
1564
|
error: ExecutionEVMTransactionBuy.Error | null;
|
|
1487
1565
|
|
|
@@ -1553,24 +1631,51 @@ export namespace Execution {
|
|
|
1553
1631
|
|
|
1554
1632
|
export namespace ExecutionEVMTransactionBuy {
|
|
1555
1633
|
/**
|
|
1556
|
-
*
|
|
1634
|
+
* Vektor error
|
|
1557
1635
|
*/
|
|
1558
1636
|
export interface Error {
|
|
1637
|
+
/**
|
|
1638
|
+
* Error context
|
|
1639
|
+
*/
|
|
1640
|
+
context: Error.Context;
|
|
1641
|
+
|
|
1559
1642
|
/**
|
|
1560
1643
|
* Error message
|
|
1561
1644
|
*/
|
|
1562
1645
|
message: string;
|
|
1563
1646
|
|
|
1564
1647
|
/**
|
|
1565
|
-
*
|
|
1648
|
+
* Request ID
|
|
1649
|
+
*/
|
|
1650
|
+
request_id: string;
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* Error resource
|
|
1566
1654
|
*/
|
|
1567
|
-
|
|
1655
|
+
resource: string | null;
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* ISO8601 Timestamp
|
|
1659
|
+
*/
|
|
1660
|
+
timestamp: VektorAPI.Timestamp;
|
|
1568
1661
|
|
|
1569
1662
|
/**
|
|
1570
1663
|
* Error type
|
|
1571
1664
|
*/
|
|
1572
1665
|
type: string;
|
|
1573
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
|
+
}
|
|
1574
1679
|
}
|
|
1575
1680
|
|
|
1576
1681
|
/**
|
|
@@ -1617,7 +1722,7 @@ export namespace Execution {
|
|
|
1617
1722
|
effective_gas_price: string | null;
|
|
1618
1723
|
|
|
1619
1724
|
/**
|
|
1620
|
-
*
|
|
1725
|
+
* Vektor error
|
|
1621
1726
|
*/
|
|
1622
1727
|
error: ExecutionEVMTransactionLend.Error | null;
|
|
1623
1728
|
|
|
@@ -1685,24 +1790,51 @@ export namespace Execution {
|
|
|
1685
1790
|
|
|
1686
1791
|
export namespace ExecutionEVMTransactionLend {
|
|
1687
1792
|
/**
|
|
1688
|
-
*
|
|
1793
|
+
* Vektor error
|
|
1689
1794
|
*/
|
|
1690
1795
|
export interface Error {
|
|
1796
|
+
/**
|
|
1797
|
+
* Error context
|
|
1798
|
+
*/
|
|
1799
|
+
context: Error.Context;
|
|
1800
|
+
|
|
1691
1801
|
/**
|
|
1692
1802
|
* Error message
|
|
1693
1803
|
*/
|
|
1694
1804
|
message: string;
|
|
1695
1805
|
|
|
1696
1806
|
/**
|
|
1697
|
-
*
|
|
1807
|
+
* Request ID
|
|
1808
|
+
*/
|
|
1809
|
+
request_id: string;
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* Error resource
|
|
1698
1813
|
*/
|
|
1699
|
-
|
|
1814
|
+
resource: string | null;
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* ISO8601 Timestamp
|
|
1818
|
+
*/
|
|
1819
|
+
timestamp: VektorAPI.Timestamp;
|
|
1700
1820
|
|
|
1701
1821
|
/**
|
|
1702
1822
|
* Error type
|
|
1703
1823
|
*/
|
|
1704
1824
|
type: string;
|
|
1705
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
|
+
}
|
|
1706
1838
|
}
|
|
1707
1839
|
|
|
1708
1840
|
/**
|
|
@@ -1739,7 +1871,7 @@ export namespace Execution {
|
|
|
1739
1871
|
effective_gas_price: string | null;
|
|
1740
1872
|
|
|
1741
1873
|
/**
|
|
1742
|
-
*
|
|
1874
|
+
* Vektor error
|
|
1743
1875
|
*/
|
|
1744
1876
|
error: ExecutionEVMTransactionLendSetCollateral.Error | null;
|
|
1745
1877
|
|
|
@@ -1804,24 +1936,51 @@ export namespace Execution {
|
|
|
1804
1936
|
|
|
1805
1937
|
export namespace ExecutionEVMTransactionLendSetCollateral {
|
|
1806
1938
|
/**
|
|
1807
|
-
*
|
|
1939
|
+
* Vektor error
|
|
1808
1940
|
*/
|
|
1809
1941
|
export interface Error {
|
|
1942
|
+
/**
|
|
1943
|
+
* Error context
|
|
1944
|
+
*/
|
|
1945
|
+
context: Error.Context;
|
|
1946
|
+
|
|
1810
1947
|
/**
|
|
1811
1948
|
* Error message
|
|
1812
1949
|
*/
|
|
1813
1950
|
message: string;
|
|
1814
1951
|
|
|
1815
1952
|
/**
|
|
1816
|
-
*
|
|
1953
|
+
* Request ID
|
|
1817
1954
|
*/
|
|
1818
|
-
|
|
1955
|
+
request_id: string;
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* Error resource
|
|
1959
|
+
*/
|
|
1960
|
+
resource: string | null;
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* ISO8601 Timestamp
|
|
1964
|
+
*/
|
|
1965
|
+
timestamp: VektorAPI.Timestamp;
|
|
1819
1966
|
|
|
1820
1967
|
/**
|
|
1821
1968
|
* Error type
|
|
1822
1969
|
*/
|
|
1823
1970
|
type: string;
|
|
1824
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
|
+
}
|
|
1825
1984
|
}
|
|
1826
1985
|
|
|
1827
1986
|
/**
|
|
@@ -1868,7 +2027,7 @@ export namespace Execution {
|
|
|
1868
2027
|
effective_gas_price: string | null;
|
|
1869
2028
|
|
|
1870
2029
|
/**
|
|
1871
|
-
*
|
|
2030
|
+
* Vektor error
|
|
1872
2031
|
*/
|
|
1873
2032
|
error: ExecutionEVMTransactionLendWithdraw.Error | null;
|
|
1874
2033
|
|
|
@@ -1931,24 +2090,51 @@ export namespace Execution {
|
|
|
1931
2090
|
|
|
1932
2091
|
export namespace ExecutionEVMTransactionLendWithdraw {
|
|
1933
2092
|
/**
|
|
1934
|
-
*
|
|
2093
|
+
* Vektor error
|
|
1935
2094
|
*/
|
|
1936
2095
|
export interface Error {
|
|
2096
|
+
/**
|
|
2097
|
+
* Error context
|
|
2098
|
+
*/
|
|
2099
|
+
context: Error.Context;
|
|
2100
|
+
|
|
1937
2101
|
/**
|
|
1938
2102
|
* Error message
|
|
1939
2103
|
*/
|
|
1940
2104
|
message: string;
|
|
1941
2105
|
|
|
1942
2106
|
/**
|
|
1943
|
-
*
|
|
2107
|
+
* Request ID
|
|
1944
2108
|
*/
|
|
1945
|
-
|
|
2109
|
+
request_id: string;
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* Error resource
|
|
2113
|
+
*/
|
|
2114
|
+
resource: string | null;
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* ISO8601 Timestamp
|
|
2118
|
+
*/
|
|
2119
|
+
timestamp: VektorAPI.Timestamp;
|
|
1946
2120
|
|
|
1947
2121
|
/**
|
|
1948
2122
|
* Error type
|
|
1949
2123
|
*/
|
|
1950
2124
|
type: string;
|
|
1951
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
|
+
}
|
|
1952
2138
|
}
|
|
1953
2139
|
|
|
1954
2140
|
/**
|
|
@@ -1995,7 +2181,7 @@ export namespace Execution {
|
|
|
1995
2181
|
effective_gas_price: string | null;
|
|
1996
2182
|
|
|
1997
2183
|
/**
|
|
1998
|
-
*
|
|
2184
|
+
* Vektor error
|
|
1999
2185
|
*/
|
|
2000
2186
|
error: ExecutionEVMTransactionMove.Error | null;
|
|
2001
2187
|
|
|
@@ -2052,24 +2238,51 @@ export namespace Execution {
|
|
|
2052
2238
|
|
|
2053
2239
|
export namespace ExecutionEVMTransactionMove {
|
|
2054
2240
|
/**
|
|
2055
|
-
*
|
|
2241
|
+
* Vektor error
|
|
2056
2242
|
*/
|
|
2057
2243
|
export interface Error {
|
|
2244
|
+
/**
|
|
2245
|
+
* Error context
|
|
2246
|
+
*/
|
|
2247
|
+
context: Error.Context;
|
|
2248
|
+
|
|
2058
2249
|
/**
|
|
2059
2250
|
* Error message
|
|
2060
2251
|
*/
|
|
2061
2252
|
message: string;
|
|
2062
2253
|
|
|
2063
2254
|
/**
|
|
2064
|
-
*
|
|
2255
|
+
* Request ID
|
|
2256
|
+
*/
|
|
2257
|
+
request_id: string;
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* Error resource
|
|
2261
|
+
*/
|
|
2262
|
+
resource: string | null;
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* ISO8601 Timestamp
|
|
2065
2266
|
*/
|
|
2066
|
-
|
|
2267
|
+
timestamp: VektorAPI.Timestamp;
|
|
2067
2268
|
|
|
2068
2269
|
/**
|
|
2069
2270
|
* Error type
|
|
2070
2271
|
*/
|
|
2071
2272
|
type: string;
|
|
2072
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
|
+
}
|
|
2073
2286
|
}
|
|
2074
2287
|
|
|
2075
2288
|
/**
|
|
@@ -2111,7 +2324,7 @@ export namespace Execution {
|
|
|
2111
2324
|
effective_gas_price: string | null;
|
|
2112
2325
|
|
|
2113
2326
|
/**
|
|
2114
|
-
*
|
|
2327
|
+
* Vektor error
|
|
2115
2328
|
*/
|
|
2116
2329
|
error: ExecutionEVMTransactionPermission.Error | null;
|
|
2117
2330
|
|
|
@@ -2186,24 +2399,51 @@ export namespace Execution {
|
|
|
2186
2399
|
|
|
2187
2400
|
export namespace ExecutionEVMTransactionPermission {
|
|
2188
2401
|
/**
|
|
2189
|
-
*
|
|
2402
|
+
* Vektor error
|
|
2190
2403
|
*/
|
|
2191
2404
|
export interface Error {
|
|
2405
|
+
/**
|
|
2406
|
+
* Error context
|
|
2407
|
+
*/
|
|
2408
|
+
context: Error.Context;
|
|
2409
|
+
|
|
2192
2410
|
/**
|
|
2193
2411
|
* Error message
|
|
2194
2412
|
*/
|
|
2195
2413
|
message: string;
|
|
2196
2414
|
|
|
2197
2415
|
/**
|
|
2198
|
-
*
|
|
2416
|
+
* Request ID
|
|
2417
|
+
*/
|
|
2418
|
+
request_id: string;
|
|
2419
|
+
|
|
2420
|
+
/**
|
|
2421
|
+
* Error resource
|
|
2422
|
+
*/
|
|
2423
|
+
resource: string | null;
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* ISO8601 Timestamp
|
|
2199
2427
|
*/
|
|
2200
|
-
|
|
2428
|
+
timestamp: VektorAPI.Timestamp;
|
|
2201
2429
|
|
|
2202
2430
|
/**
|
|
2203
2431
|
* Error type
|
|
2204
2432
|
*/
|
|
2205
2433
|
type: string;
|
|
2206
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
|
+
}
|
|
2207
2447
|
}
|
|
2208
2448
|
|
|
2209
2449
|
/**
|
|
@@ -2245,7 +2485,7 @@ export namespace Execution {
|
|
|
2245
2485
|
effective_gas_price: string | null;
|
|
2246
2486
|
|
|
2247
2487
|
/**
|
|
2248
|
-
*
|
|
2488
|
+
* Vektor error
|
|
2249
2489
|
*/
|
|
2250
2490
|
error: ExecutionEVMTransactionUnwrap.Error | null;
|
|
2251
2491
|
|
|
@@ -2302,24 +2542,51 @@ export namespace Execution {
|
|
|
2302
2542
|
|
|
2303
2543
|
export namespace ExecutionEVMTransactionUnwrap {
|
|
2304
2544
|
/**
|
|
2305
|
-
*
|
|
2545
|
+
* Vektor error
|
|
2306
2546
|
*/
|
|
2307
2547
|
export interface Error {
|
|
2548
|
+
/**
|
|
2549
|
+
* Error context
|
|
2550
|
+
*/
|
|
2551
|
+
context: Error.Context;
|
|
2552
|
+
|
|
2308
2553
|
/**
|
|
2309
2554
|
* Error message
|
|
2310
2555
|
*/
|
|
2311
2556
|
message: string;
|
|
2312
2557
|
|
|
2313
2558
|
/**
|
|
2314
|
-
*
|
|
2559
|
+
* Request ID
|
|
2560
|
+
*/
|
|
2561
|
+
request_id: string;
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* Error resource
|
|
2315
2565
|
*/
|
|
2316
|
-
|
|
2566
|
+
resource: string | null;
|
|
2567
|
+
|
|
2568
|
+
/**
|
|
2569
|
+
* ISO8601 Timestamp
|
|
2570
|
+
*/
|
|
2571
|
+
timestamp: VektorAPI.Timestamp;
|
|
2317
2572
|
|
|
2318
2573
|
/**
|
|
2319
2574
|
* Error type
|
|
2320
2575
|
*/
|
|
2321
2576
|
type: string;
|
|
2322
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
|
+
}
|
|
2323
2590
|
}
|
|
2324
2591
|
|
|
2325
2592
|
/**
|
|
@@ -2361,7 +2628,7 @@ export namespace Execution {
|
|
|
2361
2628
|
effective_gas_price: string | null;
|
|
2362
2629
|
|
|
2363
2630
|
/**
|
|
2364
|
-
*
|
|
2631
|
+
* Vektor error
|
|
2365
2632
|
*/
|
|
2366
2633
|
error: ExecutionEVMTransactionWrap.Error | null;
|
|
2367
2634
|
|
|
@@ -2418,24 +2685,51 @@ export namespace Execution {
|
|
|
2418
2685
|
|
|
2419
2686
|
export namespace ExecutionEVMTransactionWrap {
|
|
2420
2687
|
/**
|
|
2421
|
-
*
|
|
2688
|
+
* Vektor error
|
|
2422
2689
|
*/
|
|
2423
2690
|
export interface Error {
|
|
2691
|
+
/**
|
|
2692
|
+
* Error context
|
|
2693
|
+
*/
|
|
2694
|
+
context: Error.Context;
|
|
2695
|
+
|
|
2424
2696
|
/**
|
|
2425
2697
|
* Error message
|
|
2426
2698
|
*/
|
|
2427
2699
|
message: string;
|
|
2428
2700
|
|
|
2429
2701
|
/**
|
|
2430
|
-
*
|
|
2702
|
+
* Request ID
|
|
2431
2703
|
*/
|
|
2432
|
-
|
|
2704
|
+
request_id: string;
|
|
2705
|
+
|
|
2706
|
+
/**
|
|
2707
|
+
* Error resource
|
|
2708
|
+
*/
|
|
2709
|
+
resource: string | null;
|
|
2710
|
+
|
|
2711
|
+
/**
|
|
2712
|
+
* ISO8601 Timestamp
|
|
2713
|
+
*/
|
|
2714
|
+
timestamp: VektorAPI.Timestamp;
|
|
2433
2715
|
|
|
2434
2716
|
/**
|
|
2435
2717
|
* Error type
|
|
2436
2718
|
*/
|
|
2437
2719
|
type: string;
|
|
2438
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
|
+
}
|
|
2439
2733
|
}
|
|
2440
2734
|
|
|
2441
2735
|
/**
|
|
@@ -2477,7 +2771,7 @@ export namespace Execution {
|
|
|
2477
2771
|
effective_gas_price: string | null;
|
|
2478
2772
|
|
|
2479
2773
|
/**
|
|
2480
|
-
*
|
|
2774
|
+
* Vektor error
|
|
2481
2775
|
*/
|
|
2482
2776
|
error: ExecutionEVMTransactionSell.Error | null;
|
|
2483
2777
|
|
|
@@ -2549,24 +2843,51 @@ export namespace Execution {
|
|
|
2549
2843
|
|
|
2550
2844
|
export namespace ExecutionEVMTransactionSell {
|
|
2551
2845
|
/**
|
|
2552
|
-
*
|
|
2846
|
+
* Vektor error
|
|
2553
2847
|
*/
|
|
2554
2848
|
export interface Error {
|
|
2849
|
+
/**
|
|
2850
|
+
* Error context
|
|
2851
|
+
*/
|
|
2852
|
+
context: Error.Context;
|
|
2853
|
+
|
|
2555
2854
|
/**
|
|
2556
2855
|
* Error message
|
|
2557
2856
|
*/
|
|
2558
2857
|
message: string;
|
|
2559
2858
|
|
|
2560
2859
|
/**
|
|
2561
|
-
*
|
|
2860
|
+
* Request ID
|
|
2861
|
+
*/
|
|
2862
|
+
request_id: string;
|
|
2863
|
+
|
|
2864
|
+
/**
|
|
2865
|
+
* Error resource
|
|
2866
|
+
*/
|
|
2867
|
+
resource: string | null;
|
|
2868
|
+
|
|
2869
|
+
/**
|
|
2870
|
+
* ISO8601 Timestamp
|
|
2562
2871
|
*/
|
|
2563
|
-
|
|
2872
|
+
timestamp: VektorAPI.Timestamp;
|
|
2564
2873
|
|
|
2565
2874
|
/**
|
|
2566
2875
|
* Error type
|
|
2567
2876
|
*/
|
|
2568
2877
|
type: string;
|
|
2569
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
|
+
}
|
|
2570
2891
|
}
|
|
2571
2892
|
}
|
|
2572
2893
|
}
|
|
@@ -3637,18 +3958,33 @@ export type TimestampOrBlockNumber = Timestamp | BlockNumber;
|
|
|
3637
3958
|
export type TransactionHash = string;
|
|
3638
3959
|
|
|
3639
3960
|
/**
|
|
3640
|
-
*
|
|
3961
|
+
* Vektor error
|
|
3641
3962
|
*/
|
|
3642
3963
|
export interface VektorError {
|
|
3964
|
+
/**
|
|
3965
|
+
* Error context
|
|
3966
|
+
*/
|
|
3967
|
+
context: VektorError.Context;
|
|
3968
|
+
|
|
3643
3969
|
/**
|
|
3644
3970
|
* Error message
|
|
3645
3971
|
*/
|
|
3646
3972
|
message: string;
|
|
3647
3973
|
|
|
3648
3974
|
/**
|
|
3649
|
-
*
|
|
3975
|
+
* Request ID
|
|
3976
|
+
*/
|
|
3977
|
+
request_id: string;
|
|
3978
|
+
|
|
3979
|
+
/**
|
|
3980
|
+
* Error resource
|
|
3650
3981
|
*/
|
|
3651
|
-
|
|
3982
|
+
resource: string | null;
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* ISO8601 Timestamp
|
|
3986
|
+
*/
|
|
3987
|
+
timestamp: Timestamp;
|
|
3652
3988
|
|
|
3653
3989
|
/**
|
|
3654
3990
|
* Error type
|
|
@@ -3656,6 +3992,38 @@ export interface VektorError {
|
|
|
3656
3992
|
type: string;
|
|
3657
3993
|
}
|
|
3658
3994
|
|
|
3995
|
+
export namespace VektorError {
|
|
3996
|
+
/**
|
|
3997
|
+
* Error context
|
|
3998
|
+
*/
|
|
3999
|
+
export interface Context {
|
|
4000
|
+
/**
|
|
4001
|
+
* Error parameters
|
|
4002
|
+
*/
|
|
4003
|
+
parameters: { [key: string]: unknown };
|
|
4004
|
+
}
|
|
4005
|
+
}
|
|
4006
|
+
|
|
4007
|
+
/**
|
|
4008
|
+
* A list of vektor errors
|
|
4009
|
+
*/
|
|
4010
|
+
export type VektorErrorList = Array<VektorError>;
|
|
4011
|
+
|
|
4012
|
+
/**
|
|
4013
|
+
* Wraps a list of vektor errors into an error response
|
|
4014
|
+
*/
|
|
4015
|
+
export interface VektorErrorWrapper {
|
|
4016
|
+
/**
|
|
4017
|
+
* Error message
|
|
4018
|
+
*/
|
|
4019
|
+
error?: string;
|
|
4020
|
+
|
|
4021
|
+
/**
|
|
4022
|
+
* A list of vektor errors
|
|
4023
|
+
*/
|
|
4024
|
+
errors?: VektorErrorList;
|
|
4025
|
+
}
|
|
4026
|
+
|
|
3659
4027
|
/**
|
|
3660
4028
|
* On-chain venue
|
|
3661
4029
|
*/
|
|
@@ -3846,7 +4214,7 @@ export declare namespace Vektor {
|
|
|
3846
4214
|
type BuyQuote as BuyQuote,
|
|
3847
4215
|
type ChainType as ChainType,
|
|
3848
4216
|
type Decimal as Decimal,
|
|
3849
|
-
type
|
|
4217
|
+
type ErrorListOutput as ErrorListOutput,
|
|
3850
4218
|
type EVMChainData as EVMChainData,
|
|
3851
4219
|
type Execution as Execution,
|
|
3852
4220
|
type ExecutionEVMTransactionEIP1559Payload as ExecutionEVMTransactionEIP1559Payload,
|
|
@@ -3893,6 +4261,8 @@ export declare namespace Vektor {
|
|
|
3893
4261
|
type TimestampOrBlockNumber as TimestampOrBlockNumber,
|
|
3894
4262
|
type TransactionHash as TransactionHash,
|
|
3895
4263
|
type VektorError as VektorError,
|
|
4264
|
+
type VektorErrorList as VektorErrorList,
|
|
4265
|
+
type VektorErrorWrapper as VektorErrorWrapper,
|
|
3896
4266
|
type Venue as Venue,
|
|
3897
4267
|
type VenueID as VenueID,
|
|
3898
4268
|
type VenueIDOrVenueSymbol as VenueIDOrVenueSymbol,
|