@nirvana-labs/nirvana 1.11.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 +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/borrow/borrow.d.mts +4 -0
- package/resources/vektor/borrow/borrow.d.mts.map +1 -1
- package/resources/vektor/borrow/borrow.d.ts +4 -0
- package/resources/vektor/borrow/borrow.d.ts.map +1 -1
- package/resources/vektor/borrow/borrow.js +4 -0
- package/resources/vektor/borrow/borrow.js.map +1 -1
- package/resources/vektor/borrow/borrow.mjs +4 -0
- package/resources/vektor/borrow/borrow.mjs.map +1 -1
- package/resources/vektor/borrow/index.d.mts +1 -0
- package/resources/vektor/borrow/index.d.mts.map +1 -1
- package/resources/vektor/borrow/index.d.ts +1 -0
- package/resources/vektor/borrow/index.d.ts.map +1 -1
- package/resources/vektor/borrow/index.js +3 -1
- package/resources/vektor/borrow/index.js.map +1 -1
- package/resources/vektor/borrow/index.mjs +1 -0
- package/resources/vektor/borrow/index.mjs.map +1 -1
- package/resources/vektor/borrow/repay.d.mts +47 -0
- package/resources/vektor/borrow/repay.d.mts.map +1 -0
- package/resources/vektor/borrow/repay.d.ts +47 -0
- package/resources/vektor/borrow/repay.d.ts.map +1 -0
- package/resources/vektor/borrow/repay.js +25 -0
- package/resources/vektor/borrow/repay.js.map +1 -0
- package/resources/vektor/borrow/repay.mjs +21 -0
- package/resources/vektor/borrow/repay.mjs.map +1 -0
- package/resources/vektor/executions/steps.d.mts +449 -68
- package/resources/vektor/executions/steps.d.mts.map +1 -1
- package/resources/vektor/executions/steps.d.ts +449 -68
- 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 +560 -85
- package/resources/vektor/vektor.d.mts.map +1 -1
- package/resources/vektor/vektor.d.ts +560 -85
- 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/borrow/borrow.ts +6 -0
- package/src/resources/vektor/borrow/index.ts +1 -0
- package/src/resources/vektor/borrow/repay.ts +57 -0
- package/src/resources/vektor/executions/steps.ts +497 -44
- 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 +627 -59
- 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
|
/**
|
|
@@ -592,6 +589,7 @@ export interface Execution {
|
|
|
592
589
|
*/
|
|
593
590
|
request:
|
|
594
591
|
| Execution.BorrowRequestFull
|
|
592
|
+
| Execution.BorrowRepayRequestFull
|
|
595
593
|
| Execution.BuyRequestFull
|
|
596
594
|
| Execution.LendRequestFull
|
|
597
595
|
| Execution.LendSetCollateralRequestFull
|
|
@@ -655,6 +653,74 @@ export namespace Execution {
|
|
|
655
653
|
venues: Array<VektorAPI.Venue>;
|
|
656
654
|
}
|
|
657
655
|
|
|
656
|
+
/**
|
|
657
|
+
* A request to repay a borrowed asset
|
|
658
|
+
*/
|
|
659
|
+
export interface BorrowRepayRequestFull {
|
|
660
|
+
/**
|
|
661
|
+
* An arbitrary precision decimal represented as a string
|
|
662
|
+
*/
|
|
663
|
+
amount: string | null;
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* On-chain asset (aka token)
|
|
667
|
+
*/
|
|
668
|
+
asset: BorrowRepayRequestFull.Asset | null;
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* Data about a blockchain
|
|
672
|
+
*/
|
|
673
|
+
blockchain: VektorAPI.Blockchain;
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* An EVM address
|
|
677
|
+
*/
|
|
678
|
+
from: VektorAPI.Account;
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
682
|
+
* prefix
|
|
683
|
+
*/
|
|
684
|
+
market_id: VektorAPI.LendBorrowMarketID;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
export namespace BorrowRepayRequestFull {
|
|
688
|
+
/**
|
|
689
|
+
* On-chain asset (aka token)
|
|
690
|
+
*/
|
|
691
|
+
export interface Asset {
|
|
692
|
+
/**
|
|
693
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
694
|
+
*/
|
|
695
|
+
id: VektorAPI.AssetID;
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* An EVM address
|
|
699
|
+
*/
|
|
700
|
+
address: string | null;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Data about a blockchain
|
|
704
|
+
*/
|
|
705
|
+
blockchain: VektorAPI.Blockchain;
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* Asset's decimal places
|
|
709
|
+
*/
|
|
710
|
+
decimals: number;
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Asset's name
|
|
714
|
+
*/
|
|
715
|
+
name: string;
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Asset's symbol
|
|
719
|
+
*/
|
|
720
|
+
symbol: string;
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
|
|
658
724
|
/**
|
|
659
725
|
* A request to buy an asset
|
|
660
726
|
*/
|
|
@@ -757,6 +823,11 @@ export namespace Execution {
|
|
|
757
823
|
*/
|
|
758
824
|
amount: string | null;
|
|
759
825
|
|
|
826
|
+
/**
|
|
827
|
+
* On-chain asset (aka token)
|
|
828
|
+
*/
|
|
829
|
+
asset: LendWithdrawRequestFull.Asset | null;
|
|
830
|
+
|
|
760
831
|
/**
|
|
761
832
|
* Data about a blockchain
|
|
762
833
|
*/
|
|
@@ -772,11 +843,6 @@ export namespace Execution {
|
|
|
772
843
|
* prefix
|
|
773
844
|
*/
|
|
774
845
|
market_id: VektorAPI.LendBorrowMarketID;
|
|
775
|
-
|
|
776
|
-
/**
|
|
777
|
-
* On-chain asset (aka token)
|
|
778
|
-
*/
|
|
779
|
-
asset?: LendWithdrawRequestFull.Asset | null;
|
|
780
846
|
}
|
|
781
847
|
|
|
782
848
|
export namespace LendWithdrawRequestFull {
|
|
@@ -946,6 +1012,7 @@ export namespace Execution {
|
|
|
946
1012
|
definition:
|
|
947
1013
|
| Step.ExecutionEVMTransactionApprove
|
|
948
1014
|
| Step.ExecutionEVMTransactionBorrow
|
|
1015
|
+
| Step.ExecutionEVMTransactionBorrowRepay
|
|
949
1016
|
| Step.ExecutionEVMTransactionBuy
|
|
950
1017
|
| Step.ExecutionEVMTransactionLend
|
|
951
1018
|
| Step.ExecutionEVMTransactionLendSetCollateral
|
|
@@ -964,6 +1031,7 @@ export namespace Execution {
|
|
|
964
1031
|
type:
|
|
965
1032
|
| 'evm_transaction_approve'
|
|
966
1033
|
| 'evm_transaction_borrow'
|
|
1034
|
+
| 'evm_transaction_borrow_repay'
|
|
967
1035
|
| 'evm_transaction_buy'
|
|
968
1036
|
| 'evm_transaction_lend'
|
|
969
1037
|
| 'evm_transaction_lend_set_collateral'
|
|
@@ -1025,7 +1093,7 @@ export namespace Execution {
|
|
|
1025
1093
|
effective_gas_price: string | null;
|
|
1026
1094
|
|
|
1027
1095
|
/**
|
|
1028
|
-
*
|
|
1096
|
+
* Vektor error
|
|
1029
1097
|
*/
|
|
1030
1098
|
error: ExecutionEVMTransactionApprove.Error | null;
|
|
1031
1099
|
|
|
@@ -1092,24 +1160,51 @@ export namespace Execution {
|
|
|
1092
1160
|
|
|
1093
1161
|
export namespace ExecutionEVMTransactionApprove {
|
|
1094
1162
|
/**
|
|
1095
|
-
*
|
|
1163
|
+
* Vektor error
|
|
1096
1164
|
*/
|
|
1097
1165
|
export interface Error {
|
|
1166
|
+
/**
|
|
1167
|
+
* Error context
|
|
1168
|
+
*/
|
|
1169
|
+
context: Error.Context;
|
|
1170
|
+
|
|
1098
1171
|
/**
|
|
1099
1172
|
* Error message
|
|
1100
1173
|
*/
|
|
1101
1174
|
message: string;
|
|
1102
1175
|
|
|
1103
1176
|
/**
|
|
1104
|
-
*
|
|
1177
|
+
* Request ID
|
|
1178
|
+
*/
|
|
1179
|
+
request_id: string;
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Error resource
|
|
1183
|
+
*/
|
|
1184
|
+
resource: string | null;
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* ISO8601 Timestamp
|
|
1105
1188
|
*/
|
|
1106
|
-
|
|
1189
|
+
timestamp: VektorAPI.Timestamp;
|
|
1107
1190
|
|
|
1108
1191
|
/**
|
|
1109
1192
|
* Error type
|
|
1110
1193
|
*/
|
|
1111
1194
|
type: string;
|
|
1112
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
|
+
}
|
|
1113
1208
|
}
|
|
1114
1209
|
|
|
1115
1210
|
/**
|
|
@@ -1156,7 +1251,7 @@ export namespace Execution {
|
|
|
1156
1251
|
effective_gas_price: string | null;
|
|
1157
1252
|
|
|
1158
1253
|
/**
|
|
1159
|
-
*
|
|
1254
|
+
* Vektor error
|
|
1160
1255
|
*/
|
|
1161
1256
|
error: ExecutionEVMTransactionBorrow.Error | null;
|
|
1162
1257
|
|
|
@@ -1224,24 +1319,205 @@ export namespace Execution {
|
|
|
1224
1319
|
|
|
1225
1320
|
export namespace ExecutionEVMTransactionBorrow {
|
|
1226
1321
|
/**
|
|
1227
|
-
*
|
|
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
|
+
/**
|
|
1370
|
+
* Repaying a borrowed asset
|
|
1371
|
+
*/
|
|
1372
|
+
export interface ExecutionEVMTransactionBorrowRepay {
|
|
1373
|
+
/**
|
|
1374
|
+
* An arbitrary precision decimal represented as a string
|
|
1375
|
+
*/
|
|
1376
|
+
amount: string | null;
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* On-chain asset (aka token)
|
|
1380
|
+
*/
|
|
1381
|
+
asset: VektorAPI.Asset;
|
|
1382
|
+
|
|
1383
|
+
block_number: number | null;
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* ISO8601 Timestamp
|
|
1387
|
+
*/
|
|
1388
|
+
broadcasted_at: string | null;
|
|
1389
|
+
|
|
1390
|
+
confirmation_target: number;
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* ISO8601 Timestamp
|
|
1394
|
+
*/
|
|
1395
|
+
confirmed_at: string | null;
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* ISO8601 Timestamp
|
|
1399
|
+
*/
|
|
1400
|
+
created_at: VektorAPI.Timestamp;
|
|
1401
|
+
|
|
1402
|
+
/**
|
|
1403
|
+
* A hex string starting with 0x
|
|
1404
|
+
*/
|
|
1405
|
+
data: string | null;
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* An arbitrary precision decimal represented as a string
|
|
1409
|
+
*/
|
|
1410
|
+
effective_gas_price: string | null;
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* Vektor error
|
|
1414
|
+
*/
|
|
1415
|
+
error: ExecutionEVMTransactionBorrowRepay.Error | null;
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* ISO8601 Timestamp
|
|
1419
|
+
*/
|
|
1420
|
+
errored_at: string | null;
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* An arbitrary precision decimal represented as a string
|
|
1424
|
+
*/
|
|
1425
|
+
gas_used: string | null;
|
|
1426
|
+
|
|
1427
|
+
/**
|
|
1428
|
+
* A transaction hash
|
|
1429
|
+
*/
|
|
1430
|
+
hash: string | null;
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
1434
|
+
* prefix
|
|
1435
|
+
*/
|
|
1436
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
1437
|
+
|
|
1438
|
+
/**
|
|
1439
|
+
* The payload of an EIP-1559 transaction
|
|
1440
|
+
*/
|
|
1441
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1442
|
+
|
|
1443
|
+
/**
|
|
1444
|
+
* ISO8601 Timestamp
|
|
1445
|
+
*/
|
|
1446
|
+
signed_at: string | null;
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* The state of an EVM transaction
|
|
1450
|
+
*/
|
|
1451
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* The state of an EVM transaction
|
|
1455
|
+
*/
|
|
1456
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* An EVM address
|
|
1460
|
+
*/
|
|
1461
|
+
to: string | null;
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* ISO8601 Timestamp
|
|
1465
|
+
*/
|
|
1466
|
+
updated_at: VektorAPI.Timestamp;
|
|
1467
|
+
|
|
1468
|
+
/**
|
|
1469
|
+
* An arbitrary precision decimal represented as a string
|
|
1470
|
+
*/
|
|
1471
|
+
value: string | null;
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
export namespace ExecutionEVMTransactionBorrowRepay {
|
|
1475
|
+
/**
|
|
1476
|
+
* Vektor error
|
|
1228
1477
|
*/
|
|
1229
1478
|
export interface Error {
|
|
1479
|
+
/**
|
|
1480
|
+
* Error context
|
|
1481
|
+
*/
|
|
1482
|
+
context: Error.Context;
|
|
1483
|
+
|
|
1230
1484
|
/**
|
|
1231
1485
|
* Error message
|
|
1232
1486
|
*/
|
|
1233
1487
|
message: string;
|
|
1234
1488
|
|
|
1235
1489
|
/**
|
|
1236
|
-
*
|
|
1490
|
+
* Request ID
|
|
1491
|
+
*/
|
|
1492
|
+
request_id: string;
|
|
1493
|
+
|
|
1494
|
+
/**
|
|
1495
|
+
* Error resource
|
|
1496
|
+
*/
|
|
1497
|
+
resource: string | null;
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* ISO8601 Timestamp
|
|
1237
1501
|
*/
|
|
1238
|
-
|
|
1502
|
+
timestamp: VektorAPI.Timestamp;
|
|
1239
1503
|
|
|
1240
1504
|
/**
|
|
1241
1505
|
* Error type
|
|
1242
1506
|
*/
|
|
1243
1507
|
type: string;
|
|
1244
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
|
+
}
|
|
1245
1521
|
}
|
|
1246
1522
|
|
|
1247
1523
|
/**
|
|
@@ -1283,7 +1559,7 @@ export namespace Execution {
|
|
|
1283
1559
|
effective_gas_price: string | null;
|
|
1284
1560
|
|
|
1285
1561
|
/**
|
|
1286
|
-
*
|
|
1562
|
+
* Vektor error
|
|
1287
1563
|
*/
|
|
1288
1564
|
error: ExecutionEVMTransactionBuy.Error | null;
|
|
1289
1565
|
|
|
@@ -1355,24 +1631,51 @@ export namespace Execution {
|
|
|
1355
1631
|
|
|
1356
1632
|
export namespace ExecutionEVMTransactionBuy {
|
|
1357
1633
|
/**
|
|
1358
|
-
*
|
|
1634
|
+
* Vektor error
|
|
1359
1635
|
*/
|
|
1360
1636
|
export interface Error {
|
|
1637
|
+
/**
|
|
1638
|
+
* Error context
|
|
1639
|
+
*/
|
|
1640
|
+
context: Error.Context;
|
|
1641
|
+
|
|
1361
1642
|
/**
|
|
1362
1643
|
* Error message
|
|
1363
1644
|
*/
|
|
1364
1645
|
message: string;
|
|
1365
1646
|
|
|
1366
1647
|
/**
|
|
1367
|
-
*
|
|
1648
|
+
* Request ID
|
|
1649
|
+
*/
|
|
1650
|
+
request_id: string;
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* Error resource
|
|
1368
1654
|
*/
|
|
1369
|
-
|
|
1655
|
+
resource: string | null;
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* ISO8601 Timestamp
|
|
1659
|
+
*/
|
|
1660
|
+
timestamp: VektorAPI.Timestamp;
|
|
1370
1661
|
|
|
1371
1662
|
/**
|
|
1372
1663
|
* Error type
|
|
1373
1664
|
*/
|
|
1374
1665
|
type: string;
|
|
1375
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
|
+
}
|
|
1376
1679
|
}
|
|
1377
1680
|
|
|
1378
1681
|
/**
|
|
@@ -1419,7 +1722,7 @@ export namespace Execution {
|
|
|
1419
1722
|
effective_gas_price: string | null;
|
|
1420
1723
|
|
|
1421
1724
|
/**
|
|
1422
|
-
*
|
|
1725
|
+
* Vektor error
|
|
1423
1726
|
*/
|
|
1424
1727
|
error: ExecutionEVMTransactionLend.Error | null;
|
|
1425
1728
|
|
|
@@ -1487,24 +1790,51 @@ export namespace Execution {
|
|
|
1487
1790
|
|
|
1488
1791
|
export namespace ExecutionEVMTransactionLend {
|
|
1489
1792
|
/**
|
|
1490
|
-
*
|
|
1793
|
+
* Vektor error
|
|
1491
1794
|
*/
|
|
1492
1795
|
export interface Error {
|
|
1796
|
+
/**
|
|
1797
|
+
* Error context
|
|
1798
|
+
*/
|
|
1799
|
+
context: Error.Context;
|
|
1800
|
+
|
|
1493
1801
|
/**
|
|
1494
1802
|
* Error message
|
|
1495
1803
|
*/
|
|
1496
1804
|
message: string;
|
|
1497
1805
|
|
|
1498
1806
|
/**
|
|
1499
|
-
*
|
|
1807
|
+
* Request ID
|
|
1808
|
+
*/
|
|
1809
|
+
request_id: string;
|
|
1810
|
+
|
|
1811
|
+
/**
|
|
1812
|
+
* Error resource
|
|
1813
|
+
*/
|
|
1814
|
+
resource: string | null;
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* ISO8601 Timestamp
|
|
1500
1818
|
*/
|
|
1501
|
-
|
|
1819
|
+
timestamp: VektorAPI.Timestamp;
|
|
1502
1820
|
|
|
1503
1821
|
/**
|
|
1504
1822
|
* Error type
|
|
1505
1823
|
*/
|
|
1506
1824
|
type: string;
|
|
1507
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
|
+
}
|
|
1508
1838
|
}
|
|
1509
1839
|
|
|
1510
1840
|
/**
|
|
@@ -1541,7 +1871,7 @@ export namespace Execution {
|
|
|
1541
1871
|
effective_gas_price: string | null;
|
|
1542
1872
|
|
|
1543
1873
|
/**
|
|
1544
|
-
*
|
|
1874
|
+
* Vektor error
|
|
1545
1875
|
*/
|
|
1546
1876
|
error: ExecutionEVMTransactionLendSetCollateral.Error | null;
|
|
1547
1877
|
|
|
@@ -1606,24 +1936,51 @@ export namespace Execution {
|
|
|
1606
1936
|
|
|
1607
1937
|
export namespace ExecutionEVMTransactionLendSetCollateral {
|
|
1608
1938
|
/**
|
|
1609
|
-
*
|
|
1939
|
+
* Vektor error
|
|
1610
1940
|
*/
|
|
1611
1941
|
export interface Error {
|
|
1942
|
+
/**
|
|
1943
|
+
* Error context
|
|
1944
|
+
*/
|
|
1945
|
+
context: Error.Context;
|
|
1946
|
+
|
|
1612
1947
|
/**
|
|
1613
1948
|
* Error message
|
|
1614
1949
|
*/
|
|
1615
1950
|
message: string;
|
|
1616
1951
|
|
|
1617
1952
|
/**
|
|
1618
|
-
*
|
|
1953
|
+
* Request ID
|
|
1619
1954
|
*/
|
|
1620
|
-
|
|
1955
|
+
request_id: string;
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* Error resource
|
|
1959
|
+
*/
|
|
1960
|
+
resource: string | null;
|
|
1961
|
+
|
|
1962
|
+
/**
|
|
1963
|
+
* ISO8601 Timestamp
|
|
1964
|
+
*/
|
|
1965
|
+
timestamp: VektorAPI.Timestamp;
|
|
1621
1966
|
|
|
1622
1967
|
/**
|
|
1623
1968
|
* Error type
|
|
1624
1969
|
*/
|
|
1625
1970
|
type: string;
|
|
1626
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
|
+
}
|
|
1627
1984
|
}
|
|
1628
1985
|
|
|
1629
1986
|
/**
|
|
@@ -1670,7 +2027,7 @@ export namespace Execution {
|
|
|
1670
2027
|
effective_gas_price: string | null;
|
|
1671
2028
|
|
|
1672
2029
|
/**
|
|
1673
|
-
*
|
|
2030
|
+
* Vektor error
|
|
1674
2031
|
*/
|
|
1675
2032
|
error: ExecutionEVMTransactionLendWithdraw.Error | null;
|
|
1676
2033
|
|
|
@@ -1733,24 +2090,51 @@ export namespace Execution {
|
|
|
1733
2090
|
|
|
1734
2091
|
export namespace ExecutionEVMTransactionLendWithdraw {
|
|
1735
2092
|
/**
|
|
1736
|
-
*
|
|
2093
|
+
* Vektor error
|
|
1737
2094
|
*/
|
|
1738
2095
|
export interface Error {
|
|
2096
|
+
/**
|
|
2097
|
+
* Error context
|
|
2098
|
+
*/
|
|
2099
|
+
context: Error.Context;
|
|
2100
|
+
|
|
1739
2101
|
/**
|
|
1740
2102
|
* Error message
|
|
1741
2103
|
*/
|
|
1742
2104
|
message: string;
|
|
1743
2105
|
|
|
1744
2106
|
/**
|
|
1745
|
-
*
|
|
2107
|
+
* Request ID
|
|
1746
2108
|
*/
|
|
1747
|
-
|
|
2109
|
+
request_id: string;
|
|
2110
|
+
|
|
2111
|
+
/**
|
|
2112
|
+
* Error resource
|
|
2113
|
+
*/
|
|
2114
|
+
resource: string | null;
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* ISO8601 Timestamp
|
|
2118
|
+
*/
|
|
2119
|
+
timestamp: VektorAPI.Timestamp;
|
|
1748
2120
|
|
|
1749
2121
|
/**
|
|
1750
2122
|
* Error type
|
|
1751
2123
|
*/
|
|
1752
2124
|
type: string;
|
|
1753
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
|
+
}
|
|
1754
2138
|
}
|
|
1755
2139
|
|
|
1756
2140
|
/**
|
|
@@ -1797,7 +2181,7 @@ export namespace Execution {
|
|
|
1797
2181
|
effective_gas_price: string | null;
|
|
1798
2182
|
|
|
1799
2183
|
/**
|
|
1800
|
-
*
|
|
2184
|
+
* Vektor error
|
|
1801
2185
|
*/
|
|
1802
2186
|
error: ExecutionEVMTransactionMove.Error | null;
|
|
1803
2187
|
|
|
@@ -1854,24 +2238,51 @@ export namespace Execution {
|
|
|
1854
2238
|
|
|
1855
2239
|
export namespace ExecutionEVMTransactionMove {
|
|
1856
2240
|
/**
|
|
1857
|
-
*
|
|
2241
|
+
* Vektor error
|
|
1858
2242
|
*/
|
|
1859
2243
|
export interface Error {
|
|
2244
|
+
/**
|
|
2245
|
+
* Error context
|
|
2246
|
+
*/
|
|
2247
|
+
context: Error.Context;
|
|
2248
|
+
|
|
1860
2249
|
/**
|
|
1861
2250
|
* Error message
|
|
1862
2251
|
*/
|
|
1863
2252
|
message: string;
|
|
1864
2253
|
|
|
1865
2254
|
/**
|
|
1866
|
-
*
|
|
2255
|
+
* Request ID
|
|
2256
|
+
*/
|
|
2257
|
+
request_id: string;
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* Error resource
|
|
2261
|
+
*/
|
|
2262
|
+
resource: string | null;
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* ISO8601 Timestamp
|
|
1867
2266
|
*/
|
|
1868
|
-
|
|
2267
|
+
timestamp: VektorAPI.Timestamp;
|
|
1869
2268
|
|
|
1870
2269
|
/**
|
|
1871
2270
|
* Error type
|
|
1872
2271
|
*/
|
|
1873
2272
|
type: string;
|
|
1874
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
|
+
}
|
|
1875
2286
|
}
|
|
1876
2287
|
|
|
1877
2288
|
/**
|
|
@@ -1913,7 +2324,7 @@ export namespace Execution {
|
|
|
1913
2324
|
effective_gas_price: string | null;
|
|
1914
2325
|
|
|
1915
2326
|
/**
|
|
1916
|
-
*
|
|
2327
|
+
* Vektor error
|
|
1917
2328
|
*/
|
|
1918
2329
|
error: ExecutionEVMTransactionPermission.Error | null;
|
|
1919
2330
|
|
|
@@ -1988,24 +2399,51 @@ export namespace Execution {
|
|
|
1988
2399
|
|
|
1989
2400
|
export namespace ExecutionEVMTransactionPermission {
|
|
1990
2401
|
/**
|
|
1991
|
-
*
|
|
2402
|
+
* Vektor error
|
|
1992
2403
|
*/
|
|
1993
2404
|
export interface Error {
|
|
2405
|
+
/**
|
|
2406
|
+
* Error context
|
|
2407
|
+
*/
|
|
2408
|
+
context: Error.Context;
|
|
2409
|
+
|
|
1994
2410
|
/**
|
|
1995
2411
|
* Error message
|
|
1996
2412
|
*/
|
|
1997
2413
|
message: string;
|
|
1998
2414
|
|
|
1999
2415
|
/**
|
|
2000
|
-
*
|
|
2416
|
+
* Request ID
|
|
2417
|
+
*/
|
|
2418
|
+
request_id: string;
|
|
2419
|
+
|
|
2420
|
+
/**
|
|
2421
|
+
* Error resource
|
|
2001
2422
|
*/
|
|
2002
|
-
|
|
2423
|
+
resource: string | null;
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* ISO8601 Timestamp
|
|
2427
|
+
*/
|
|
2428
|
+
timestamp: VektorAPI.Timestamp;
|
|
2003
2429
|
|
|
2004
2430
|
/**
|
|
2005
2431
|
* Error type
|
|
2006
2432
|
*/
|
|
2007
2433
|
type: string;
|
|
2008
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
|
+
}
|
|
2009
2447
|
}
|
|
2010
2448
|
|
|
2011
2449
|
/**
|
|
@@ -2047,7 +2485,7 @@ export namespace Execution {
|
|
|
2047
2485
|
effective_gas_price: string | null;
|
|
2048
2486
|
|
|
2049
2487
|
/**
|
|
2050
|
-
*
|
|
2488
|
+
* Vektor error
|
|
2051
2489
|
*/
|
|
2052
2490
|
error: ExecutionEVMTransactionUnwrap.Error | null;
|
|
2053
2491
|
|
|
@@ -2104,24 +2542,51 @@ export namespace Execution {
|
|
|
2104
2542
|
|
|
2105
2543
|
export namespace ExecutionEVMTransactionUnwrap {
|
|
2106
2544
|
/**
|
|
2107
|
-
*
|
|
2545
|
+
* Vektor error
|
|
2108
2546
|
*/
|
|
2109
2547
|
export interface Error {
|
|
2548
|
+
/**
|
|
2549
|
+
* Error context
|
|
2550
|
+
*/
|
|
2551
|
+
context: Error.Context;
|
|
2552
|
+
|
|
2110
2553
|
/**
|
|
2111
2554
|
* Error message
|
|
2112
2555
|
*/
|
|
2113
2556
|
message: string;
|
|
2114
2557
|
|
|
2115
2558
|
/**
|
|
2116
|
-
*
|
|
2559
|
+
* Request ID
|
|
2560
|
+
*/
|
|
2561
|
+
request_id: string;
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* Error resource
|
|
2565
|
+
*/
|
|
2566
|
+
resource: string | null;
|
|
2567
|
+
|
|
2568
|
+
/**
|
|
2569
|
+
* ISO8601 Timestamp
|
|
2117
2570
|
*/
|
|
2118
|
-
|
|
2571
|
+
timestamp: VektorAPI.Timestamp;
|
|
2119
2572
|
|
|
2120
2573
|
/**
|
|
2121
2574
|
* Error type
|
|
2122
2575
|
*/
|
|
2123
2576
|
type: string;
|
|
2124
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
|
+
}
|
|
2125
2590
|
}
|
|
2126
2591
|
|
|
2127
2592
|
/**
|
|
@@ -2163,7 +2628,7 @@ export namespace Execution {
|
|
|
2163
2628
|
effective_gas_price: string | null;
|
|
2164
2629
|
|
|
2165
2630
|
/**
|
|
2166
|
-
*
|
|
2631
|
+
* Vektor error
|
|
2167
2632
|
*/
|
|
2168
2633
|
error: ExecutionEVMTransactionWrap.Error | null;
|
|
2169
2634
|
|
|
@@ -2220,24 +2685,51 @@ export namespace Execution {
|
|
|
2220
2685
|
|
|
2221
2686
|
export namespace ExecutionEVMTransactionWrap {
|
|
2222
2687
|
/**
|
|
2223
|
-
*
|
|
2688
|
+
* Vektor error
|
|
2224
2689
|
*/
|
|
2225
2690
|
export interface Error {
|
|
2691
|
+
/**
|
|
2692
|
+
* Error context
|
|
2693
|
+
*/
|
|
2694
|
+
context: Error.Context;
|
|
2695
|
+
|
|
2226
2696
|
/**
|
|
2227
2697
|
* Error message
|
|
2228
2698
|
*/
|
|
2229
2699
|
message: string;
|
|
2230
2700
|
|
|
2231
2701
|
/**
|
|
2232
|
-
*
|
|
2702
|
+
* Request ID
|
|
2703
|
+
*/
|
|
2704
|
+
request_id: string;
|
|
2705
|
+
|
|
2706
|
+
/**
|
|
2707
|
+
* Error resource
|
|
2708
|
+
*/
|
|
2709
|
+
resource: string | null;
|
|
2710
|
+
|
|
2711
|
+
/**
|
|
2712
|
+
* ISO8601 Timestamp
|
|
2233
2713
|
*/
|
|
2234
|
-
|
|
2714
|
+
timestamp: VektorAPI.Timestamp;
|
|
2235
2715
|
|
|
2236
2716
|
/**
|
|
2237
2717
|
* Error type
|
|
2238
2718
|
*/
|
|
2239
2719
|
type: string;
|
|
2240
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
|
+
}
|
|
2241
2733
|
}
|
|
2242
2734
|
|
|
2243
2735
|
/**
|
|
@@ -2279,7 +2771,7 @@ export namespace Execution {
|
|
|
2279
2771
|
effective_gas_price: string | null;
|
|
2280
2772
|
|
|
2281
2773
|
/**
|
|
2282
|
-
*
|
|
2774
|
+
* Vektor error
|
|
2283
2775
|
*/
|
|
2284
2776
|
error: ExecutionEVMTransactionSell.Error | null;
|
|
2285
2777
|
|
|
@@ -2351,24 +2843,51 @@ export namespace Execution {
|
|
|
2351
2843
|
|
|
2352
2844
|
export namespace ExecutionEVMTransactionSell {
|
|
2353
2845
|
/**
|
|
2354
|
-
*
|
|
2846
|
+
* Vektor error
|
|
2355
2847
|
*/
|
|
2356
2848
|
export interface Error {
|
|
2849
|
+
/**
|
|
2850
|
+
* Error context
|
|
2851
|
+
*/
|
|
2852
|
+
context: Error.Context;
|
|
2853
|
+
|
|
2357
2854
|
/**
|
|
2358
2855
|
* Error message
|
|
2359
2856
|
*/
|
|
2360
2857
|
message: string;
|
|
2361
2858
|
|
|
2362
2859
|
/**
|
|
2363
|
-
*
|
|
2860
|
+
* Request ID
|
|
2861
|
+
*/
|
|
2862
|
+
request_id: string;
|
|
2863
|
+
|
|
2864
|
+
/**
|
|
2865
|
+
* Error resource
|
|
2866
|
+
*/
|
|
2867
|
+
resource: string | null;
|
|
2868
|
+
|
|
2869
|
+
/**
|
|
2870
|
+
* ISO8601 Timestamp
|
|
2364
2871
|
*/
|
|
2365
|
-
|
|
2872
|
+
timestamp: VektorAPI.Timestamp;
|
|
2366
2873
|
|
|
2367
2874
|
/**
|
|
2368
2875
|
* Error type
|
|
2369
2876
|
*/
|
|
2370
2877
|
type: string;
|
|
2371
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
|
+
}
|
|
2372
2891
|
}
|
|
2373
2892
|
}
|
|
2374
2893
|
}
|
|
@@ -3439,18 +3958,33 @@ export type TimestampOrBlockNumber = Timestamp | BlockNumber;
|
|
|
3439
3958
|
export type TransactionHash = string;
|
|
3440
3959
|
|
|
3441
3960
|
/**
|
|
3442
|
-
*
|
|
3961
|
+
* Vektor error
|
|
3443
3962
|
*/
|
|
3444
3963
|
export interface VektorError {
|
|
3964
|
+
/**
|
|
3965
|
+
* Error context
|
|
3966
|
+
*/
|
|
3967
|
+
context: VektorError.Context;
|
|
3968
|
+
|
|
3445
3969
|
/**
|
|
3446
3970
|
* Error message
|
|
3447
3971
|
*/
|
|
3448
3972
|
message: string;
|
|
3449
3973
|
|
|
3450
3974
|
/**
|
|
3451
|
-
*
|
|
3975
|
+
* Request ID
|
|
3976
|
+
*/
|
|
3977
|
+
request_id: string;
|
|
3978
|
+
|
|
3979
|
+
/**
|
|
3980
|
+
* Error resource
|
|
3452
3981
|
*/
|
|
3453
|
-
|
|
3982
|
+
resource: string | null;
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* ISO8601 Timestamp
|
|
3986
|
+
*/
|
|
3987
|
+
timestamp: Timestamp;
|
|
3454
3988
|
|
|
3455
3989
|
/**
|
|
3456
3990
|
* Error type
|
|
@@ -3458,6 +3992,38 @@ export interface VektorError {
|
|
|
3458
3992
|
type: string;
|
|
3459
3993
|
}
|
|
3460
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
|
+
|
|
3461
4027
|
/**
|
|
3462
4028
|
* On-chain venue
|
|
3463
4029
|
*/
|
|
@@ -3648,7 +4214,7 @@ export declare namespace Vektor {
|
|
|
3648
4214
|
type BuyQuote as BuyQuote,
|
|
3649
4215
|
type ChainType as ChainType,
|
|
3650
4216
|
type Decimal as Decimal,
|
|
3651
|
-
type
|
|
4217
|
+
type ErrorListOutput as ErrorListOutput,
|
|
3652
4218
|
type EVMChainData as EVMChainData,
|
|
3653
4219
|
type Execution as Execution,
|
|
3654
4220
|
type ExecutionEVMTransactionEIP1559Payload as ExecutionEVMTransactionEIP1559Payload,
|
|
@@ -3695,6 +4261,8 @@ export declare namespace Vektor {
|
|
|
3695
4261
|
type TimestampOrBlockNumber as TimestampOrBlockNumber,
|
|
3696
4262
|
type TransactionHash as TransactionHash,
|
|
3697
4263
|
type VektorError as VektorError,
|
|
4264
|
+
type VektorErrorList as VektorErrorList,
|
|
4265
|
+
type VektorErrorWrapper as VektorErrorWrapper,
|
|
3698
4266
|
type Venue as Venue,
|
|
3699
4267
|
type VenueID as VenueID,
|
|
3700
4268
|
type VenueIDOrVenueSymbol as VenueIDOrVenueSymbol,
|