@nirvana-labs/nirvana 1.12.0 → 1.13.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.
- package/CHANGELOG.md +32 -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
|
@@ -452,14 +452,11 @@ export type ChainType = 'evm';
|
|
|
452
452
|
* An arbitrary precision decimal represented as a string
|
|
453
453
|
*/
|
|
454
454
|
export type Decimal = string;
|
|
455
|
-
|
|
456
|
-
* Wraps a list of errors into an error response
|
|
457
|
-
*/
|
|
458
|
-
export interface ErrorWrapper {
|
|
455
|
+
export interface ErrorListOutput {
|
|
459
456
|
/**
|
|
460
|
-
* A list of errors
|
|
457
|
+
* A list of vektor errors
|
|
461
458
|
*/
|
|
462
|
-
|
|
459
|
+
items: VektorErrorList;
|
|
463
460
|
}
|
|
464
461
|
/**
|
|
465
462
|
* Data about an EVM blockchain
|
|
@@ -875,7 +872,7 @@ export declare namespace Execution {
|
|
|
875
872
|
*/
|
|
876
873
|
effective_gas_price: string | null;
|
|
877
874
|
/**
|
|
878
|
-
*
|
|
875
|
+
* Vektor error
|
|
879
876
|
*/
|
|
880
877
|
error: ExecutionEVMTransactionApprove.Error | null;
|
|
881
878
|
/**
|
|
@@ -929,24 +926,47 @@ export declare namespace Execution {
|
|
|
929
926
|
}
|
|
930
927
|
namespace ExecutionEVMTransactionApprove {
|
|
931
928
|
/**
|
|
932
|
-
*
|
|
929
|
+
* Vektor error
|
|
933
930
|
*/
|
|
934
931
|
interface Error {
|
|
932
|
+
/**
|
|
933
|
+
* Error context
|
|
934
|
+
*/
|
|
935
|
+
context: Error.Context;
|
|
935
936
|
/**
|
|
936
937
|
* Error message
|
|
937
938
|
*/
|
|
938
939
|
message: string;
|
|
939
940
|
/**
|
|
940
|
-
*
|
|
941
|
+
* Request ID
|
|
941
942
|
*/
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
943
|
+
request_id: string;
|
|
944
|
+
/**
|
|
945
|
+
* Error resource
|
|
946
|
+
*/
|
|
947
|
+
resource: string | null;
|
|
948
|
+
/**
|
|
949
|
+
* ISO8601 Timestamp
|
|
950
|
+
*/
|
|
951
|
+
timestamp: VektorAPI.Timestamp;
|
|
945
952
|
/**
|
|
946
953
|
* Error type
|
|
947
954
|
*/
|
|
948
955
|
type: string;
|
|
949
956
|
}
|
|
957
|
+
namespace Error {
|
|
958
|
+
/**
|
|
959
|
+
* Error context
|
|
960
|
+
*/
|
|
961
|
+
interface Context {
|
|
962
|
+
/**
|
|
963
|
+
* Error parameters
|
|
964
|
+
*/
|
|
965
|
+
parameters: {
|
|
966
|
+
[key: string]: unknown;
|
|
967
|
+
};
|
|
968
|
+
}
|
|
969
|
+
}
|
|
950
970
|
}
|
|
951
971
|
/**
|
|
952
972
|
* Borrowing an asset
|
|
@@ -983,7 +1003,7 @@ export declare namespace Execution {
|
|
|
983
1003
|
*/
|
|
984
1004
|
effective_gas_price: string | null;
|
|
985
1005
|
/**
|
|
986
|
-
*
|
|
1006
|
+
* Vektor error
|
|
987
1007
|
*/
|
|
988
1008
|
error: ExecutionEVMTransactionBorrow.Error | null;
|
|
989
1009
|
/**
|
|
@@ -1038,24 +1058,47 @@ export declare namespace Execution {
|
|
|
1038
1058
|
}
|
|
1039
1059
|
namespace ExecutionEVMTransactionBorrow {
|
|
1040
1060
|
/**
|
|
1041
|
-
*
|
|
1061
|
+
* Vektor error
|
|
1042
1062
|
*/
|
|
1043
1063
|
interface Error {
|
|
1064
|
+
/**
|
|
1065
|
+
* Error context
|
|
1066
|
+
*/
|
|
1067
|
+
context: Error.Context;
|
|
1044
1068
|
/**
|
|
1045
1069
|
* Error message
|
|
1046
1070
|
*/
|
|
1047
1071
|
message: string;
|
|
1048
1072
|
/**
|
|
1049
|
-
*
|
|
1073
|
+
* Request ID
|
|
1074
|
+
*/
|
|
1075
|
+
request_id: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* Error resource
|
|
1078
|
+
*/
|
|
1079
|
+
resource: string | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* ISO8601 Timestamp
|
|
1050
1082
|
*/
|
|
1051
|
-
|
|
1052
|
-
[key: string]: unknown;
|
|
1053
|
-
};
|
|
1083
|
+
timestamp: VektorAPI.Timestamp;
|
|
1054
1084
|
/**
|
|
1055
1085
|
* Error type
|
|
1056
1086
|
*/
|
|
1057
1087
|
type: string;
|
|
1058
1088
|
}
|
|
1089
|
+
namespace Error {
|
|
1090
|
+
/**
|
|
1091
|
+
* Error context
|
|
1092
|
+
*/
|
|
1093
|
+
interface Context {
|
|
1094
|
+
/**
|
|
1095
|
+
* Error parameters
|
|
1096
|
+
*/
|
|
1097
|
+
parameters: {
|
|
1098
|
+
[key: string]: unknown;
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1059
1102
|
}
|
|
1060
1103
|
/**
|
|
1061
1104
|
* Repaying a borrowed asset
|
|
@@ -1092,7 +1135,7 @@ export declare namespace Execution {
|
|
|
1092
1135
|
*/
|
|
1093
1136
|
effective_gas_price: string | null;
|
|
1094
1137
|
/**
|
|
1095
|
-
*
|
|
1138
|
+
* Vektor error
|
|
1096
1139
|
*/
|
|
1097
1140
|
error: ExecutionEVMTransactionBorrowRepay.Error | null;
|
|
1098
1141
|
/**
|
|
@@ -1143,24 +1186,47 @@ export declare namespace Execution {
|
|
|
1143
1186
|
}
|
|
1144
1187
|
namespace ExecutionEVMTransactionBorrowRepay {
|
|
1145
1188
|
/**
|
|
1146
|
-
*
|
|
1189
|
+
* Vektor error
|
|
1147
1190
|
*/
|
|
1148
1191
|
interface Error {
|
|
1192
|
+
/**
|
|
1193
|
+
* Error context
|
|
1194
|
+
*/
|
|
1195
|
+
context: Error.Context;
|
|
1149
1196
|
/**
|
|
1150
1197
|
* Error message
|
|
1151
1198
|
*/
|
|
1152
1199
|
message: string;
|
|
1153
1200
|
/**
|
|
1154
|
-
*
|
|
1201
|
+
* Request ID
|
|
1202
|
+
*/
|
|
1203
|
+
request_id: string;
|
|
1204
|
+
/**
|
|
1205
|
+
* Error resource
|
|
1206
|
+
*/
|
|
1207
|
+
resource: string | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* ISO8601 Timestamp
|
|
1155
1210
|
*/
|
|
1156
|
-
|
|
1157
|
-
[key: string]: unknown;
|
|
1158
|
-
};
|
|
1211
|
+
timestamp: VektorAPI.Timestamp;
|
|
1159
1212
|
/**
|
|
1160
1213
|
* Error type
|
|
1161
1214
|
*/
|
|
1162
1215
|
type: string;
|
|
1163
1216
|
}
|
|
1217
|
+
namespace Error {
|
|
1218
|
+
/**
|
|
1219
|
+
* Error context
|
|
1220
|
+
*/
|
|
1221
|
+
interface Context {
|
|
1222
|
+
/**
|
|
1223
|
+
* Error parameters
|
|
1224
|
+
*/
|
|
1225
|
+
parameters: {
|
|
1226
|
+
[key: string]: unknown;
|
|
1227
|
+
};
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1164
1230
|
}
|
|
1165
1231
|
/**
|
|
1166
1232
|
* Buying an asset with another asset
|
|
@@ -1193,7 +1259,7 @@ export declare namespace Execution {
|
|
|
1193
1259
|
*/
|
|
1194
1260
|
effective_gas_price: string | null;
|
|
1195
1261
|
/**
|
|
1196
|
-
*
|
|
1262
|
+
* Vektor error
|
|
1197
1263
|
*/
|
|
1198
1264
|
error: ExecutionEVMTransactionBuy.Error | null;
|
|
1199
1265
|
/**
|
|
@@ -1251,24 +1317,47 @@ export declare namespace Execution {
|
|
|
1251
1317
|
}
|
|
1252
1318
|
namespace ExecutionEVMTransactionBuy {
|
|
1253
1319
|
/**
|
|
1254
|
-
*
|
|
1320
|
+
* Vektor error
|
|
1255
1321
|
*/
|
|
1256
1322
|
interface Error {
|
|
1323
|
+
/**
|
|
1324
|
+
* Error context
|
|
1325
|
+
*/
|
|
1326
|
+
context: Error.Context;
|
|
1257
1327
|
/**
|
|
1258
1328
|
* Error message
|
|
1259
1329
|
*/
|
|
1260
1330
|
message: string;
|
|
1261
1331
|
/**
|
|
1262
|
-
*
|
|
1332
|
+
* Request ID
|
|
1333
|
+
*/
|
|
1334
|
+
request_id: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* Error resource
|
|
1263
1337
|
*/
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1338
|
+
resource: string | null;
|
|
1339
|
+
/**
|
|
1340
|
+
* ISO8601 Timestamp
|
|
1341
|
+
*/
|
|
1342
|
+
timestamp: VektorAPI.Timestamp;
|
|
1267
1343
|
/**
|
|
1268
1344
|
* Error type
|
|
1269
1345
|
*/
|
|
1270
1346
|
type: string;
|
|
1271
1347
|
}
|
|
1348
|
+
namespace Error {
|
|
1349
|
+
/**
|
|
1350
|
+
* Error context
|
|
1351
|
+
*/
|
|
1352
|
+
interface Context {
|
|
1353
|
+
/**
|
|
1354
|
+
* Error parameters
|
|
1355
|
+
*/
|
|
1356
|
+
parameters: {
|
|
1357
|
+
[key: string]: unknown;
|
|
1358
|
+
};
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1272
1361
|
}
|
|
1273
1362
|
/**
|
|
1274
1363
|
* Lending an asset
|
|
@@ -1305,7 +1394,7 @@ export declare namespace Execution {
|
|
|
1305
1394
|
*/
|
|
1306
1395
|
effective_gas_price: string | null;
|
|
1307
1396
|
/**
|
|
1308
|
-
*
|
|
1397
|
+
* Vektor error
|
|
1309
1398
|
*/
|
|
1310
1399
|
error: ExecutionEVMTransactionLend.Error | null;
|
|
1311
1400
|
/**
|
|
@@ -1360,24 +1449,47 @@ export declare namespace Execution {
|
|
|
1360
1449
|
}
|
|
1361
1450
|
namespace ExecutionEVMTransactionLend {
|
|
1362
1451
|
/**
|
|
1363
|
-
*
|
|
1452
|
+
* Vektor error
|
|
1364
1453
|
*/
|
|
1365
1454
|
interface Error {
|
|
1455
|
+
/**
|
|
1456
|
+
* Error context
|
|
1457
|
+
*/
|
|
1458
|
+
context: Error.Context;
|
|
1366
1459
|
/**
|
|
1367
1460
|
* Error message
|
|
1368
1461
|
*/
|
|
1369
1462
|
message: string;
|
|
1370
1463
|
/**
|
|
1371
|
-
*
|
|
1464
|
+
* Request ID
|
|
1465
|
+
*/
|
|
1466
|
+
request_id: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* Error resource
|
|
1372
1469
|
*/
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1470
|
+
resource: string | null;
|
|
1471
|
+
/**
|
|
1472
|
+
* ISO8601 Timestamp
|
|
1473
|
+
*/
|
|
1474
|
+
timestamp: VektorAPI.Timestamp;
|
|
1376
1475
|
/**
|
|
1377
1476
|
* Error type
|
|
1378
1477
|
*/
|
|
1379
1478
|
type: string;
|
|
1380
1479
|
}
|
|
1480
|
+
namespace Error {
|
|
1481
|
+
/**
|
|
1482
|
+
* Error context
|
|
1483
|
+
*/
|
|
1484
|
+
interface Context {
|
|
1485
|
+
/**
|
|
1486
|
+
* Error parameters
|
|
1487
|
+
*/
|
|
1488
|
+
parameters: {
|
|
1489
|
+
[key: string]: unknown;
|
|
1490
|
+
};
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1381
1493
|
}
|
|
1382
1494
|
/**
|
|
1383
1495
|
* Setting/unsetting a position as collateral
|
|
@@ -1406,7 +1518,7 @@ export declare namespace Execution {
|
|
|
1406
1518
|
*/
|
|
1407
1519
|
effective_gas_price: string | null;
|
|
1408
1520
|
/**
|
|
1409
|
-
*
|
|
1521
|
+
* Vektor error
|
|
1410
1522
|
*/
|
|
1411
1523
|
error: ExecutionEVMTransactionLendSetCollateral.Error | null;
|
|
1412
1524
|
/**
|
|
@@ -1458,24 +1570,47 @@ export declare namespace Execution {
|
|
|
1458
1570
|
}
|
|
1459
1571
|
namespace ExecutionEVMTransactionLendSetCollateral {
|
|
1460
1572
|
/**
|
|
1461
|
-
*
|
|
1573
|
+
* Vektor error
|
|
1462
1574
|
*/
|
|
1463
1575
|
interface Error {
|
|
1576
|
+
/**
|
|
1577
|
+
* Error context
|
|
1578
|
+
*/
|
|
1579
|
+
context: Error.Context;
|
|
1464
1580
|
/**
|
|
1465
1581
|
* Error message
|
|
1466
1582
|
*/
|
|
1467
1583
|
message: string;
|
|
1468
1584
|
/**
|
|
1469
|
-
*
|
|
1585
|
+
* Request ID
|
|
1586
|
+
*/
|
|
1587
|
+
request_id: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* Error resource
|
|
1470
1590
|
*/
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1591
|
+
resource: string | null;
|
|
1592
|
+
/**
|
|
1593
|
+
* ISO8601 Timestamp
|
|
1594
|
+
*/
|
|
1595
|
+
timestamp: VektorAPI.Timestamp;
|
|
1474
1596
|
/**
|
|
1475
1597
|
* Error type
|
|
1476
1598
|
*/
|
|
1477
1599
|
type: string;
|
|
1478
1600
|
}
|
|
1601
|
+
namespace Error {
|
|
1602
|
+
/**
|
|
1603
|
+
* Error context
|
|
1604
|
+
*/
|
|
1605
|
+
interface Context {
|
|
1606
|
+
/**
|
|
1607
|
+
* Error parameters
|
|
1608
|
+
*/
|
|
1609
|
+
parameters: {
|
|
1610
|
+
[key: string]: unknown;
|
|
1611
|
+
};
|
|
1612
|
+
}
|
|
1613
|
+
}
|
|
1479
1614
|
}
|
|
1480
1615
|
/**
|
|
1481
1616
|
* Withdrawing an asset
|
|
@@ -1512,7 +1647,7 @@ export declare namespace Execution {
|
|
|
1512
1647
|
*/
|
|
1513
1648
|
effective_gas_price: string | null;
|
|
1514
1649
|
/**
|
|
1515
|
-
*
|
|
1650
|
+
* Vektor error
|
|
1516
1651
|
*/
|
|
1517
1652
|
error: ExecutionEVMTransactionLendWithdraw.Error | null;
|
|
1518
1653
|
/**
|
|
@@ -1563,24 +1698,47 @@ export declare namespace Execution {
|
|
|
1563
1698
|
}
|
|
1564
1699
|
namespace ExecutionEVMTransactionLendWithdraw {
|
|
1565
1700
|
/**
|
|
1566
|
-
*
|
|
1701
|
+
* Vektor error
|
|
1567
1702
|
*/
|
|
1568
1703
|
interface Error {
|
|
1704
|
+
/**
|
|
1705
|
+
* Error context
|
|
1706
|
+
*/
|
|
1707
|
+
context: Error.Context;
|
|
1569
1708
|
/**
|
|
1570
1709
|
* Error message
|
|
1571
1710
|
*/
|
|
1572
1711
|
message: string;
|
|
1573
1712
|
/**
|
|
1574
|
-
*
|
|
1713
|
+
* Request ID
|
|
1714
|
+
*/
|
|
1715
|
+
request_id: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* Error resource
|
|
1718
|
+
*/
|
|
1719
|
+
resource: string | null;
|
|
1720
|
+
/**
|
|
1721
|
+
* ISO8601 Timestamp
|
|
1575
1722
|
*/
|
|
1576
|
-
|
|
1577
|
-
[key: string]: unknown;
|
|
1578
|
-
};
|
|
1723
|
+
timestamp: VektorAPI.Timestamp;
|
|
1579
1724
|
/**
|
|
1580
1725
|
* Error type
|
|
1581
1726
|
*/
|
|
1582
1727
|
type: string;
|
|
1583
1728
|
}
|
|
1729
|
+
namespace Error {
|
|
1730
|
+
/**
|
|
1731
|
+
* Error context
|
|
1732
|
+
*/
|
|
1733
|
+
interface Context {
|
|
1734
|
+
/**
|
|
1735
|
+
* Error parameters
|
|
1736
|
+
*/
|
|
1737
|
+
parameters: {
|
|
1738
|
+
[key: string]: unknown;
|
|
1739
|
+
};
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1584
1742
|
}
|
|
1585
1743
|
/**
|
|
1586
1744
|
* A move of assets from one account to another
|
|
@@ -1617,7 +1775,7 @@ export declare namespace Execution {
|
|
|
1617
1775
|
*/
|
|
1618
1776
|
effective_gas_price: string | null;
|
|
1619
1777
|
/**
|
|
1620
|
-
*
|
|
1778
|
+
* Vektor error
|
|
1621
1779
|
*/
|
|
1622
1780
|
error: ExecutionEVMTransactionMove.Error | null;
|
|
1623
1781
|
/**
|
|
@@ -1663,24 +1821,47 @@ export declare namespace Execution {
|
|
|
1663
1821
|
}
|
|
1664
1822
|
namespace ExecutionEVMTransactionMove {
|
|
1665
1823
|
/**
|
|
1666
|
-
*
|
|
1824
|
+
* Vektor error
|
|
1667
1825
|
*/
|
|
1668
1826
|
interface Error {
|
|
1827
|
+
/**
|
|
1828
|
+
* Error context
|
|
1829
|
+
*/
|
|
1830
|
+
context: Error.Context;
|
|
1669
1831
|
/**
|
|
1670
1832
|
* Error message
|
|
1671
1833
|
*/
|
|
1672
1834
|
message: string;
|
|
1673
1835
|
/**
|
|
1674
|
-
*
|
|
1836
|
+
* Request ID
|
|
1675
1837
|
*/
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1838
|
+
request_id: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* Error resource
|
|
1841
|
+
*/
|
|
1842
|
+
resource: string | null;
|
|
1843
|
+
/**
|
|
1844
|
+
* ISO8601 Timestamp
|
|
1845
|
+
*/
|
|
1846
|
+
timestamp: VektorAPI.Timestamp;
|
|
1679
1847
|
/**
|
|
1680
1848
|
* Error type
|
|
1681
1849
|
*/
|
|
1682
1850
|
type: string;
|
|
1683
1851
|
}
|
|
1852
|
+
namespace Error {
|
|
1853
|
+
/**
|
|
1854
|
+
* Error context
|
|
1855
|
+
*/
|
|
1856
|
+
interface Context {
|
|
1857
|
+
/**
|
|
1858
|
+
* Error parameters
|
|
1859
|
+
*/
|
|
1860
|
+
parameters: {
|
|
1861
|
+
[key: string]: unknown;
|
|
1862
|
+
};
|
|
1863
|
+
}
|
|
1864
|
+
}
|
|
1684
1865
|
}
|
|
1685
1866
|
/**
|
|
1686
1867
|
* A permission to a contract
|
|
@@ -1713,7 +1894,7 @@ export declare namespace Execution {
|
|
|
1713
1894
|
*/
|
|
1714
1895
|
effective_gas_price: string | null;
|
|
1715
1896
|
/**
|
|
1716
|
-
*
|
|
1897
|
+
* Vektor error
|
|
1717
1898
|
*/
|
|
1718
1899
|
error: ExecutionEVMTransactionPermission.Error | null;
|
|
1719
1900
|
/**
|
|
@@ -1773,24 +1954,47 @@ export declare namespace Execution {
|
|
|
1773
1954
|
}
|
|
1774
1955
|
namespace ExecutionEVMTransactionPermission {
|
|
1775
1956
|
/**
|
|
1776
|
-
*
|
|
1957
|
+
* Vektor error
|
|
1777
1958
|
*/
|
|
1778
1959
|
interface Error {
|
|
1960
|
+
/**
|
|
1961
|
+
* Error context
|
|
1962
|
+
*/
|
|
1963
|
+
context: Error.Context;
|
|
1779
1964
|
/**
|
|
1780
1965
|
* Error message
|
|
1781
1966
|
*/
|
|
1782
1967
|
message: string;
|
|
1783
1968
|
/**
|
|
1784
|
-
*
|
|
1969
|
+
* Request ID
|
|
1785
1970
|
*/
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1971
|
+
request_id: string;
|
|
1972
|
+
/**
|
|
1973
|
+
* Error resource
|
|
1974
|
+
*/
|
|
1975
|
+
resource: string | null;
|
|
1976
|
+
/**
|
|
1977
|
+
* ISO8601 Timestamp
|
|
1978
|
+
*/
|
|
1979
|
+
timestamp: VektorAPI.Timestamp;
|
|
1789
1980
|
/**
|
|
1790
1981
|
* Error type
|
|
1791
1982
|
*/
|
|
1792
1983
|
type: string;
|
|
1793
1984
|
}
|
|
1985
|
+
namespace Error {
|
|
1986
|
+
/**
|
|
1987
|
+
* Error context
|
|
1988
|
+
*/
|
|
1989
|
+
interface Context {
|
|
1990
|
+
/**
|
|
1991
|
+
* Error parameters
|
|
1992
|
+
*/
|
|
1993
|
+
parameters: {
|
|
1994
|
+
[key: string]: unknown;
|
|
1995
|
+
};
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1794
1998
|
}
|
|
1795
1999
|
/**
|
|
1796
2000
|
* An unwrap of the wrapped native asset
|
|
@@ -1823,7 +2027,7 @@ export declare namespace Execution {
|
|
|
1823
2027
|
*/
|
|
1824
2028
|
effective_gas_price: string | null;
|
|
1825
2029
|
/**
|
|
1826
|
-
*
|
|
2030
|
+
* Vektor error
|
|
1827
2031
|
*/
|
|
1828
2032
|
error: ExecutionEVMTransactionUnwrap.Error | null;
|
|
1829
2033
|
/**
|
|
@@ -1869,24 +2073,47 @@ export declare namespace Execution {
|
|
|
1869
2073
|
}
|
|
1870
2074
|
namespace ExecutionEVMTransactionUnwrap {
|
|
1871
2075
|
/**
|
|
1872
|
-
*
|
|
2076
|
+
* Vektor error
|
|
1873
2077
|
*/
|
|
1874
2078
|
interface Error {
|
|
2079
|
+
/**
|
|
2080
|
+
* Error context
|
|
2081
|
+
*/
|
|
2082
|
+
context: Error.Context;
|
|
1875
2083
|
/**
|
|
1876
2084
|
* Error message
|
|
1877
2085
|
*/
|
|
1878
2086
|
message: string;
|
|
1879
2087
|
/**
|
|
1880
|
-
*
|
|
2088
|
+
* Request ID
|
|
2089
|
+
*/
|
|
2090
|
+
request_id: string;
|
|
2091
|
+
/**
|
|
2092
|
+
* Error resource
|
|
2093
|
+
*/
|
|
2094
|
+
resource: string | null;
|
|
2095
|
+
/**
|
|
2096
|
+
* ISO8601 Timestamp
|
|
1881
2097
|
*/
|
|
1882
|
-
|
|
1883
|
-
[key: string]: unknown;
|
|
1884
|
-
};
|
|
2098
|
+
timestamp: VektorAPI.Timestamp;
|
|
1885
2099
|
/**
|
|
1886
2100
|
* Error type
|
|
1887
2101
|
*/
|
|
1888
2102
|
type: string;
|
|
1889
2103
|
}
|
|
2104
|
+
namespace Error {
|
|
2105
|
+
/**
|
|
2106
|
+
* Error context
|
|
2107
|
+
*/
|
|
2108
|
+
interface Context {
|
|
2109
|
+
/**
|
|
2110
|
+
* Error parameters
|
|
2111
|
+
*/
|
|
2112
|
+
parameters: {
|
|
2113
|
+
[key: string]: unknown;
|
|
2114
|
+
};
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
1890
2117
|
}
|
|
1891
2118
|
/**
|
|
1892
2119
|
* A wrap of the native asset
|
|
@@ -1919,7 +2146,7 @@ export declare namespace Execution {
|
|
|
1919
2146
|
*/
|
|
1920
2147
|
effective_gas_price: string | null;
|
|
1921
2148
|
/**
|
|
1922
|
-
*
|
|
2149
|
+
* Vektor error
|
|
1923
2150
|
*/
|
|
1924
2151
|
error: ExecutionEVMTransactionWrap.Error | null;
|
|
1925
2152
|
/**
|
|
@@ -1965,24 +2192,47 @@ export declare namespace Execution {
|
|
|
1965
2192
|
}
|
|
1966
2193
|
namespace ExecutionEVMTransactionWrap {
|
|
1967
2194
|
/**
|
|
1968
|
-
*
|
|
2195
|
+
* Vektor error
|
|
1969
2196
|
*/
|
|
1970
2197
|
interface Error {
|
|
2198
|
+
/**
|
|
2199
|
+
* Error context
|
|
2200
|
+
*/
|
|
2201
|
+
context: Error.Context;
|
|
1971
2202
|
/**
|
|
1972
2203
|
* Error message
|
|
1973
2204
|
*/
|
|
1974
2205
|
message: string;
|
|
1975
2206
|
/**
|
|
1976
|
-
*
|
|
2207
|
+
* Request ID
|
|
2208
|
+
*/
|
|
2209
|
+
request_id: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* Error resource
|
|
2212
|
+
*/
|
|
2213
|
+
resource: string | null;
|
|
2214
|
+
/**
|
|
2215
|
+
* ISO8601 Timestamp
|
|
1977
2216
|
*/
|
|
1978
|
-
|
|
1979
|
-
[key: string]: unknown;
|
|
1980
|
-
};
|
|
2217
|
+
timestamp: VektorAPI.Timestamp;
|
|
1981
2218
|
/**
|
|
1982
2219
|
* Error type
|
|
1983
2220
|
*/
|
|
1984
2221
|
type: string;
|
|
1985
2222
|
}
|
|
2223
|
+
namespace Error {
|
|
2224
|
+
/**
|
|
2225
|
+
* Error context
|
|
2226
|
+
*/
|
|
2227
|
+
interface Context {
|
|
2228
|
+
/**
|
|
2229
|
+
* Error parameters
|
|
2230
|
+
*/
|
|
2231
|
+
parameters: {
|
|
2232
|
+
[key: string]: unknown;
|
|
2233
|
+
};
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
1986
2236
|
}
|
|
1987
2237
|
/**
|
|
1988
2238
|
* Selling an asset for another asset
|
|
@@ -2015,7 +2265,7 @@ export declare namespace Execution {
|
|
|
2015
2265
|
*/
|
|
2016
2266
|
effective_gas_price: string | null;
|
|
2017
2267
|
/**
|
|
2018
|
-
*
|
|
2268
|
+
* Vektor error
|
|
2019
2269
|
*/
|
|
2020
2270
|
error: ExecutionEVMTransactionSell.Error | null;
|
|
2021
2271
|
/**
|
|
@@ -2073,24 +2323,47 @@ export declare namespace Execution {
|
|
|
2073
2323
|
}
|
|
2074
2324
|
namespace ExecutionEVMTransactionSell {
|
|
2075
2325
|
/**
|
|
2076
|
-
*
|
|
2326
|
+
* Vektor error
|
|
2077
2327
|
*/
|
|
2078
2328
|
interface Error {
|
|
2329
|
+
/**
|
|
2330
|
+
* Error context
|
|
2331
|
+
*/
|
|
2332
|
+
context: Error.Context;
|
|
2079
2333
|
/**
|
|
2080
2334
|
* Error message
|
|
2081
2335
|
*/
|
|
2082
2336
|
message: string;
|
|
2083
2337
|
/**
|
|
2084
|
-
*
|
|
2338
|
+
* Request ID
|
|
2085
2339
|
*/
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2340
|
+
request_id: string;
|
|
2341
|
+
/**
|
|
2342
|
+
* Error resource
|
|
2343
|
+
*/
|
|
2344
|
+
resource: string | null;
|
|
2345
|
+
/**
|
|
2346
|
+
* ISO8601 Timestamp
|
|
2347
|
+
*/
|
|
2348
|
+
timestamp: VektorAPI.Timestamp;
|
|
2089
2349
|
/**
|
|
2090
2350
|
* Error type
|
|
2091
2351
|
*/
|
|
2092
2352
|
type: string;
|
|
2093
2353
|
}
|
|
2354
|
+
namespace Error {
|
|
2355
|
+
/**
|
|
2356
|
+
* Error context
|
|
2357
|
+
*/
|
|
2358
|
+
interface Context {
|
|
2359
|
+
/**
|
|
2360
|
+
* Error parameters
|
|
2361
|
+
*/
|
|
2362
|
+
parameters: {
|
|
2363
|
+
[key: string]: unknown;
|
|
2364
|
+
};
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2094
2367
|
}
|
|
2095
2368
|
}
|
|
2096
2369
|
}
|
|
@@ -2974,24 +3247,64 @@ export type TimestampOrBlockNumber = Timestamp | BlockNumber;
|
|
|
2974
3247
|
*/
|
|
2975
3248
|
export type TransactionHash = string;
|
|
2976
3249
|
/**
|
|
2977
|
-
*
|
|
3250
|
+
* Vektor error
|
|
2978
3251
|
*/
|
|
2979
3252
|
export interface VektorError {
|
|
3253
|
+
/**
|
|
3254
|
+
* Error context
|
|
3255
|
+
*/
|
|
3256
|
+
context: VektorError.Context;
|
|
2980
3257
|
/**
|
|
2981
3258
|
* Error message
|
|
2982
3259
|
*/
|
|
2983
3260
|
message: string;
|
|
2984
3261
|
/**
|
|
2985
|
-
*
|
|
3262
|
+
* Request ID
|
|
3263
|
+
*/
|
|
3264
|
+
request_id: string;
|
|
3265
|
+
/**
|
|
3266
|
+
* Error resource
|
|
2986
3267
|
*/
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
3268
|
+
resource: string | null;
|
|
3269
|
+
/**
|
|
3270
|
+
* ISO8601 Timestamp
|
|
3271
|
+
*/
|
|
3272
|
+
timestamp: Timestamp;
|
|
2990
3273
|
/**
|
|
2991
3274
|
* Error type
|
|
2992
3275
|
*/
|
|
2993
3276
|
type: string;
|
|
2994
3277
|
}
|
|
3278
|
+
export declare namespace VektorError {
|
|
3279
|
+
/**
|
|
3280
|
+
* Error context
|
|
3281
|
+
*/
|
|
3282
|
+
interface Context {
|
|
3283
|
+
/**
|
|
3284
|
+
* Error parameters
|
|
3285
|
+
*/
|
|
3286
|
+
parameters: {
|
|
3287
|
+
[key: string]: unknown;
|
|
3288
|
+
};
|
|
3289
|
+
}
|
|
3290
|
+
}
|
|
3291
|
+
/**
|
|
3292
|
+
* A list of vektor errors
|
|
3293
|
+
*/
|
|
3294
|
+
export type VektorErrorList = Array<VektorError>;
|
|
3295
|
+
/**
|
|
3296
|
+
* Wraps a list of vektor errors into an error response
|
|
3297
|
+
*/
|
|
3298
|
+
export interface VektorErrorWrapper {
|
|
3299
|
+
/**
|
|
3300
|
+
* Error message
|
|
3301
|
+
*/
|
|
3302
|
+
error?: string;
|
|
3303
|
+
/**
|
|
3304
|
+
* A list of vektor errors
|
|
3305
|
+
*/
|
|
3306
|
+
errors?: VektorErrorList;
|
|
3307
|
+
}
|
|
2995
3308
|
/**
|
|
2996
3309
|
* On-chain venue
|
|
2997
3310
|
*/
|
|
@@ -3116,7 +3429,7 @@ export interface VoteReward {
|
|
|
3116
3429
|
value: Decimal;
|
|
3117
3430
|
}
|
|
3118
3431
|
export declare namespace Vektor {
|
|
3119
|
-
export { type Account as Account, type AddressEVM as AddressEVM, type APY as APY, type Asset as Asset, type AssetID as AssetID, type AssetIDOrAddressEVMOrAssetSymbol as AssetIDOrAddressEVMOrAssetSymbol, type AssetSymbol as AssetSymbol, type Balance as Balance, type BlockNumber as BlockNumber, type Blockchain as Blockchain, type BlockchainID as BlockchainID, type BlockchainIDOrBlockchainSymbol as BlockchainIDOrBlockchainSymbol, type BlockchainName as BlockchainName, type BlockchainSymbol as BlockchainSymbol, type Blockstamp as Blockstamp, type BorrowAccount as BorrowAccount, type BorrowMarket as BorrowMarket, type BorrowPosition as BorrowPosition, type BridgeQuote as BridgeQuote, type BuyQuote as BuyQuote, type ChainType as ChainType, type Decimal as Decimal, type
|
|
3432
|
+
export { type Account as Account, type AddressEVM as AddressEVM, type APY as APY, type Asset as Asset, type AssetID as AssetID, type AssetIDOrAddressEVMOrAssetSymbol as AssetIDOrAddressEVMOrAssetSymbol, type AssetSymbol as AssetSymbol, type Balance as Balance, type BlockNumber as BlockNumber, type Blockchain as Blockchain, type BlockchainID as BlockchainID, type BlockchainIDOrBlockchainSymbol as BlockchainIDOrBlockchainSymbol, type BlockchainName as BlockchainName, type BlockchainSymbol as BlockchainSymbol, type Blockstamp as Blockstamp, type BorrowAccount as BorrowAccount, type BorrowMarket as BorrowMarket, type BorrowPosition as BorrowPosition, type BridgeQuote as BridgeQuote, type BuyQuote as BuyQuote, type ChainType as ChainType, type Decimal as Decimal, type ErrorListOutput as ErrorListOutput, type EVMChainData as EVMChainData, type Execution as Execution, type ExecutionEVMTransactionEIP1559Payload as ExecutionEVMTransactionEIP1559Payload, type ExecutionEVMTransactionPayload as ExecutionEVMTransactionPayload, type ExecutionEVMTransactionState as ExecutionEVMTransactionState, type ExecutionID as ExecutionID, type ExecutionState as ExecutionState, type ExecutionStepID as ExecutionStepID, type HexString as HexString, type IncentivizeMarket as IncentivizeMarket, type LendBorrowAPYs as LendBorrowAPYs, type LendBorrowMarketID as LendBorrowMarketID, type LendMarket as LendMarket, type LendPosition as LendPosition, type LockMarket as LockMarket, type LockPosition as LockPosition, type LPPool as LPPool, type LPPoolSolidlyAttributes as LPPoolSolidlyAttributes, type LPPoolUniswapV3Attributes as LPPoolUniswapV3Attributes, type LPPosition as LPPosition, type LPPositionAttributes as LPPositionAttributes, type LPPositionUniswapV3Attributes as LPPositionUniswapV3Attributes, type LPQuote as LPQuote, type LPUniswapV3PositionSpecifier as LPUniswapV3PositionSpecifier, type LPUniswapV3Range as LPUniswapV3Range, type NetworkFeeEstimate as NetworkFeeEstimate, type NetworkName as NetworkName, type NFT as NFT, type NFTCollection as NFTCollection, type OffChainHistoricalRange as OffChainHistoricalRange, type OnChainHistoricalRange as OnChainHistoricalRange, type Price as Price, type QuoteInfo0x as QuoteInfo0x, type QuoteInfo0xFill as QuoteInfo0xFill, type QuoteInfo0xRoute as QuoteInfo0xRoute, type QuoteInfo0xToken as QuoteInfo0xToken, type QuoteInfoCurve as QuoteInfoCurve, type QuoteInfoUniswapV2 as QuoteInfoUniswapV2, type QuoteInfoUniswapV3 as QuoteInfoUniswapV3, type RegistryLendBorrowMarket as RegistryLendBorrowMarket, type RegistryLPPool as RegistryLPPool, type SellQuote as SellQuote, type Timestamp as Timestamp, type TimestampOrBlockNumber as TimestampOrBlockNumber, type TransactionHash as TransactionHash, type VektorError as VektorError, type VektorErrorList as VektorErrorList, type VektorErrorWrapper as VektorErrorWrapper, type Venue as Venue, type VenueID as VenueID, type VenueIDOrVenueSymbol as VenueIDOrVenueSymbol, type VenueSymbol as VenueSymbol, type VoteMarket as VoteMarket, type VoteReward as VoteReward, };
|
|
3120
3433
|
export { Registry as Registry };
|
|
3121
3434
|
export { Balances as Balances, type BalanceListResponse as BalanceListResponse, type BalanceListHistoricalResponse as BalanceListHistoricalResponse, type BalanceListParams as BalanceListParams, type BalanceListHistoricalParams as BalanceListHistoricalParams, };
|
|
3122
3435
|
export { Prices as Prices, type PriceListResponse as PriceListResponse, type PriceListHistoricalResponse as PriceListHistoricalResponse, type PriceListParams as PriceListParams, type PriceListHistoricalParams as PriceListHistoricalParams, };
|