@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
|
@@ -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
|
|
@@ -485,7 +482,7 @@ export interface Execution {
|
|
|
485
482
|
/**
|
|
486
483
|
* An execution request
|
|
487
484
|
*/
|
|
488
|
-
request: Execution.BorrowRequestFull | Execution.BuyRequestFull | Execution.LendRequestFull | Execution.LendSetCollateralRequestFull | Execution.LendWithdrawRequestFull | Execution.MoveRequestFull | Execution.SellRequestFull | Execution.WrapRequestFull | Execution.UnwrapRequestFull;
|
|
485
|
+
request: Execution.BorrowRequestFull | Execution.BorrowRepayRequestFull | Execution.BuyRequestFull | Execution.LendRequestFull | Execution.LendSetCollateralRequestFull | Execution.LendWithdrawRequestFull | Execution.MoveRequestFull | Execution.SellRequestFull | Execution.WrapRequestFull | Execution.UnwrapRequestFull;
|
|
489
486
|
/**
|
|
490
487
|
* An execution step ID, represented as a TypeID with `execution_step` prefix
|
|
491
488
|
*/
|
|
@@ -530,6 +527,63 @@ export declare namespace Execution {
|
|
|
530
527
|
*/
|
|
531
528
|
venues: Array<VektorAPI.Venue>;
|
|
532
529
|
}
|
|
530
|
+
/**
|
|
531
|
+
* A request to repay a borrowed asset
|
|
532
|
+
*/
|
|
533
|
+
interface BorrowRepayRequestFull {
|
|
534
|
+
/**
|
|
535
|
+
* An arbitrary precision decimal represented as a string
|
|
536
|
+
*/
|
|
537
|
+
amount: string | null;
|
|
538
|
+
/**
|
|
539
|
+
* On-chain asset (aka token)
|
|
540
|
+
*/
|
|
541
|
+
asset: BorrowRepayRequestFull.Asset | null;
|
|
542
|
+
/**
|
|
543
|
+
* Data about a blockchain
|
|
544
|
+
*/
|
|
545
|
+
blockchain: VektorAPI.Blockchain;
|
|
546
|
+
/**
|
|
547
|
+
* An EVM address
|
|
548
|
+
*/
|
|
549
|
+
from: VektorAPI.Account;
|
|
550
|
+
/**
|
|
551
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
552
|
+
* prefix
|
|
553
|
+
*/
|
|
554
|
+
market_id: VektorAPI.LendBorrowMarketID;
|
|
555
|
+
}
|
|
556
|
+
namespace BorrowRepayRequestFull {
|
|
557
|
+
/**
|
|
558
|
+
* On-chain asset (aka token)
|
|
559
|
+
*/
|
|
560
|
+
interface Asset {
|
|
561
|
+
/**
|
|
562
|
+
* An asset ID, represented as a TypeID with `asset` prefix
|
|
563
|
+
*/
|
|
564
|
+
id: VektorAPI.AssetID;
|
|
565
|
+
/**
|
|
566
|
+
* An EVM address
|
|
567
|
+
*/
|
|
568
|
+
address: string | null;
|
|
569
|
+
/**
|
|
570
|
+
* Data about a blockchain
|
|
571
|
+
*/
|
|
572
|
+
blockchain: VektorAPI.Blockchain;
|
|
573
|
+
/**
|
|
574
|
+
* Asset's decimal places
|
|
575
|
+
*/
|
|
576
|
+
decimals: number;
|
|
577
|
+
/**
|
|
578
|
+
* Asset's name
|
|
579
|
+
*/
|
|
580
|
+
name: string;
|
|
581
|
+
/**
|
|
582
|
+
* Asset's symbol
|
|
583
|
+
*/
|
|
584
|
+
symbol: string;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
533
587
|
/**
|
|
534
588
|
* A request to buy an asset
|
|
535
589
|
*/
|
|
@@ -615,6 +669,10 @@ export declare namespace Execution {
|
|
|
615
669
|
* An arbitrary precision decimal represented as a string
|
|
616
670
|
*/
|
|
617
671
|
amount: string | null;
|
|
672
|
+
/**
|
|
673
|
+
* On-chain asset (aka token)
|
|
674
|
+
*/
|
|
675
|
+
asset: LendWithdrawRequestFull.Asset | null;
|
|
618
676
|
/**
|
|
619
677
|
* Data about a blockchain
|
|
620
678
|
*/
|
|
@@ -628,10 +686,6 @@ export declare namespace Execution {
|
|
|
628
686
|
* prefix
|
|
629
687
|
*/
|
|
630
688
|
market_id: VektorAPI.LendBorrowMarketID;
|
|
631
|
-
/**
|
|
632
|
-
* On-chain asset (aka token)
|
|
633
|
-
*/
|
|
634
|
-
asset?: LendWithdrawRequestFull.Asset | null;
|
|
635
689
|
}
|
|
636
690
|
namespace LendWithdrawRequestFull {
|
|
637
691
|
/**
|
|
@@ -771,12 +825,12 @@ export declare namespace Execution {
|
|
|
771
825
|
/**
|
|
772
826
|
* The definition of an execution step
|
|
773
827
|
*/
|
|
774
|
-
definition: Step.ExecutionEVMTransactionApprove | Step.ExecutionEVMTransactionBorrow | Step.ExecutionEVMTransactionBuy | Step.ExecutionEVMTransactionLend | Step.ExecutionEVMTransactionLendSetCollateral | Step.ExecutionEVMTransactionLendWithdraw | Step.ExecutionEVMTransactionMove | Step.ExecutionEVMTransactionPermission | Step.ExecutionEVMTransactionUnwrap | Step.ExecutionEVMTransactionWrap | Step.ExecutionEVMTransactionSell;
|
|
828
|
+
definition: Step.ExecutionEVMTransactionApprove | Step.ExecutionEVMTransactionBorrow | Step.ExecutionEVMTransactionBorrowRepay | Step.ExecutionEVMTransactionBuy | Step.ExecutionEVMTransactionLend | Step.ExecutionEVMTransactionLendSetCollateral | Step.ExecutionEVMTransactionLendWithdraw | Step.ExecutionEVMTransactionMove | Step.ExecutionEVMTransactionPermission | Step.ExecutionEVMTransactionUnwrap | Step.ExecutionEVMTransactionWrap | Step.ExecutionEVMTransactionSell;
|
|
775
829
|
index: number;
|
|
776
830
|
/**
|
|
777
831
|
* The type of an execution step
|
|
778
832
|
*/
|
|
779
|
-
type: 'evm_transaction_approve' | 'evm_transaction_borrow' | 'evm_transaction_buy' | 'evm_transaction_lend' | 'evm_transaction_lend_set_collateral' | 'evm_transaction_lend_withdraw' | 'evm_transaction_move' | 'evm_transaction_permission' | 'evm_transaction_wrap' | 'evm_transaction_unwrap' | 'evm_transaction_sell';
|
|
833
|
+
type: 'evm_transaction_approve' | 'evm_transaction_borrow' | 'evm_transaction_borrow_repay' | 'evm_transaction_buy' | 'evm_transaction_lend' | 'evm_transaction_lend_set_collateral' | 'evm_transaction_lend_withdraw' | 'evm_transaction_move' | 'evm_transaction_permission' | 'evm_transaction_wrap' | 'evm_transaction_unwrap' | 'evm_transaction_sell';
|
|
780
834
|
/**
|
|
781
835
|
* ISO8601 Timestamp
|
|
782
836
|
*/
|
|
@@ -818,7 +872,7 @@ export declare namespace Execution {
|
|
|
818
872
|
*/
|
|
819
873
|
effective_gas_price: string | null;
|
|
820
874
|
/**
|
|
821
|
-
*
|
|
875
|
+
* Vektor error
|
|
822
876
|
*/
|
|
823
877
|
error: ExecutionEVMTransactionApprove.Error | null;
|
|
824
878
|
/**
|
|
@@ -872,24 +926,47 @@ export declare namespace Execution {
|
|
|
872
926
|
}
|
|
873
927
|
namespace ExecutionEVMTransactionApprove {
|
|
874
928
|
/**
|
|
875
|
-
*
|
|
929
|
+
* Vektor error
|
|
876
930
|
*/
|
|
877
931
|
interface Error {
|
|
932
|
+
/**
|
|
933
|
+
* Error context
|
|
934
|
+
*/
|
|
935
|
+
context: Error.Context;
|
|
878
936
|
/**
|
|
879
937
|
* Error message
|
|
880
938
|
*/
|
|
881
939
|
message: string;
|
|
882
940
|
/**
|
|
883
|
-
*
|
|
941
|
+
* Request ID
|
|
884
942
|
*/
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
943
|
+
request_id: string;
|
|
944
|
+
/**
|
|
945
|
+
* Error resource
|
|
946
|
+
*/
|
|
947
|
+
resource: string | null;
|
|
948
|
+
/**
|
|
949
|
+
* ISO8601 Timestamp
|
|
950
|
+
*/
|
|
951
|
+
timestamp: VektorAPI.Timestamp;
|
|
888
952
|
/**
|
|
889
953
|
* Error type
|
|
890
954
|
*/
|
|
891
955
|
type: string;
|
|
892
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
|
+
}
|
|
893
970
|
}
|
|
894
971
|
/**
|
|
895
972
|
* Borrowing an asset
|
|
@@ -926,7 +1003,7 @@ export declare namespace Execution {
|
|
|
926
1003
|
*/
|
|
927
1004
|
effective_gas_price: string | null;
|
|
928
1005
|
/**
|
|
929
|
-
*
|
|
1006
|
+
* Vektor error
|
|
930
1007
|
*/
|
|
931
1008
|
error: ExecutionEVMTransactionBorrow.Error | null;
|
|
932
1009
|
/**
|
|
@@ -981,24 +1058,175 @@ export declare namespace Execution {
|
|
|
981
1058
|
}
|
|
982
1059
|
namespace ExecutionEVMTransactionBorrow {
|
|
983
1060
|
/**
|
|
984
|
-
*
|
|
1061
|
+
* Vektor error
|
|
1062
|
+
*/
|
|
1063
|
+
interface Error {
|
|
1064
|
+
/**
|
|
1065
|
+
* Error context
|
|
1066
|
+
*/
|
|
1067
|
+
context: Error.Context;
|
|
1068
|
+
/**
|
|
1069
|
+
* Error message
|
|
1070
|
+
*/
|
|
1071
|
+
message: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* Request ID
|
|
1074
|
+
*/
|
|
1075
|
+
request_id: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* Error resource
|
|
1078
|
+
*/
|
|
1079
|
+
resource: string | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* ISO8601 Timestamp
|
|
1082
|
+
*/
|
|
1083
|
+
timestamp: VektorAPI.Timestamp;
|
|
1084
|
+
/**
|
|
1085
|
+
* Error type
|
|
1086
|
+
*/
|
|
1087
|
+
type: string;
|
|
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
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
/**
|
|
1104
|
+
* Repaying a borrowed asset
|
|
1105
|
+
*/
|
|
1106
|
+
interface ExecutionEVMTransactionBorrowRepay {
|
|
1107
|
+
/**
|
|
1108
|
+
* An arbitrary precision decimal represented as a string
|
|
1109
|
+
*/
|
|
1110
|
+
amount: string | null;
|
|
1111
|
+
/**
|
|
1112
|
+
* On-chain asset (aka token)
|
|
1113
|
+
*/
|
|
1114
|
+
asset: VektorAPI.Asset;
|
|
1115
|
+
block_number: number | null;
|
|
1116
|
+
/**
|
|
1117
|
+
* ISO8601 Timestamp
|
|
1118
|
+
*/
|
|
1119
|
+
broadcasted_at: string | null;
|
|
1120
|
+
confirmation_target: number;
|
|
1121
|
+
/**
|
|
1122
|
+
* ISO8601 Timestamp
|
|
1123
|
+
*/
|
|
1124
|
+
confirmed_at: string | null;
|
|
1125
|
+
/**
|
|
1126
|
+
* ISO8601 Timestamp
|
|
1127
|
+
*/
|
|
1128
|
+
created_at: VektorAPI.Timestamp;
|
|
1129
|
+
/**
|
|
1130
|
+
* A hex string starting with 0x
|
|
1131
|
+
*/
|
|
1132
|
+
data: string | null;
|
|
1133
|
+
/**
|
|
1134
|
+
* An arbitrary precision decimal represented as a string
|
|
1135
|
+
*/
|
|
1136
|
+
effective_gas_price: string | null;
|
|
1137
|
+
/**
|
|
1138
|
+
* Vektor error
|
|
1139
|
+
*/
|
|
1140
|
+
error: ExecutionEVMTransactionBorrowRepay.Error | null;
|
|
1141
|
+
/**
|
|
1142
|
+
* ISO8601 Timestamp
|
|
1143
|
+
*/
|
|
1144
|
+
errored_at: string | null;
|
|
1145
|
+
/**
|
|
1146
|
+
* An arbitrary precision decimal represented as a string
|
|
1147
|
+
*/
|
|
1148
|
+
gas_used: string | null;
|
|
1149
|
+
/**
|
|
1150
|
+
* A transaction hash
|
|
1151
|
+
*/
|
|
1152
|
+
hash: string | null;
|
|
1153
|
+
/**
|
|
1154
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
1155
|
+
* prefix
|
|
1156
|
+
*/
|
|
1157
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
1158
|
+
/**
|
|
1159
|
+
* The payload of an EIP-1559 transaction
|
|
1160
|
+
*/
|
|
1161
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
1162
|
+
/**
|
|
1163
|
+
* ISO8601 Timestamp
|
|
1164
|
+
*/
|
|
1165
|
+
signed_at: string | null;
|
|
1166
|
+
/**
|
|
1167
|
+
* The state of an EVM transaction
|
|
1168
|
+
*/
|
|
1169
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
1170
|
+
/**
|
|
1171
|
+
* The state of an EVM transaction
|
|
1172
|
+
*/
|
|
1173
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
1174
|
+
/**
|
|
1175
|
+
* An EVM address
|
|
1176
|
+
*/
|
|
1177
|
+
to: string | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* ISO8601 Timestamp
|
|
1180
|
+
*/
|
|
1181
|
+
updated_at: VektorAPI.Timestamp;
|
|
1182
|
+
/**
|
|
1183
|
+
* An arbitrary precision decimal represented as a string
|
|
1184
|
+
*/
|
|
1185
|
+
value: string | null;
|
|
1186
|
+
}
|
|
1187
|
+
namespace ExecutionEVMTransactionBorrowRepay {
|
|
1188
|
+
/**
|
|
1189
|
+
* Vektor error
|
|
985
1190
|
*/
|
|
986
1191
|
interface Error {
|
|
1192
|
+
/**
|
|
1193
|
+
* Error context
|
|
1194
|
+
*/
|
|
1195
|
+
context: Error.Context;
|
|
987
1196
|
/**
|
|
988
1197
|
* Error message
|
|
989
1198
|
*/
|
|
990
1199
|
message: string;
|
|
991
1200
|
/**
|
|
992
|
-
*
|
|
1201
|
+
* Request ID
|
|
1202
|
+
*/
|
|
1203
|
+
request_id: string;
|
|
1204
|
+
/**
|
|
1205
|
+
* Error resource
|
|
1206
|
+
*/
|
|
1207
|
+
resource: string | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* ISO8601 Timestamp
|
|
993
1210
|
*/
|
|
994
|
-
|
|
995
|
-
[key: string]: unknown;
|
|
996
|
-
};
|
|
1211
|
+
timestamp: VektorAPI.Timestamp;
|
|
997
1212
|
/**
|
|
998
1213
|
* Error type
|
|
999
1214
|
*/
|
|
1000
1215
|
type: string;
|
|
1001
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
|
+
}
|
|
1002
1230
|
}
|
|
1003
1231
|
/**
|
|
1004
1232
|
* Buying an asset with another asset
|
|
@@ -1031,7 +1259,7 @@ export declare namespace Execution {
|
|
|
1031
1259
|
*/
|
|
1032
1260
|
effective_gas_price: string | null;
|
|
1033
1261
|
/**
|
|
1034
|
-
*
|
|
1262
|
+
* Vektor error
|
|
1035
1263
|
*/
|
|
1036
1264
|
error: ExecutionEVMTransactionBuy.Error | null;
|
|
1037
1265
|
/**
|
|
@@ -1089,24 +1317,47 @@ export declare namespace Execution {
|
|
|
1089
1317
|
}
|
|
1090
1318
|
namespace ExecutionEVMTransactionBuy {
|
|
1091
1319
|
/**
|
|
1092
|
-
*
|
|
1320
|
+
* Vektor error
|
|
1093
1321
|
*/
|
|
1094
1322
|
interface Error {
|
|
1323
|
+
/**
|
|
1324
|
+
* Error context
|
|
1325
|
+
*/
|
|
1326
|
+
context: Error.Context;
|
|
1095
1327
|
/**
|
|
1096
1328
|
* Error message
|
|
1097
1329
|
*/
|
|
1098
1330
|
message: string;
|
|
1099
1331
|
/**
|
|
1100
|
-
*
|
|
1332
|
+
* Request ID
|
|
1333
|
+
*/
|
|
1334
|
+
request_id: string;
|
|
1335
|
+
/**
|
|
1336
|
+
* Error resource
|
|
1337
|
+
*/
|
|
1338
|
+
resource: string | null;
|
|
1339
|
+
/**
|
|
1340
|
+
* ISO8601 Timestamp
|
|
1101
1341
|
*/
|
|
1102
|
-
|
|
1103
|
-
[key: string]: unknown;
|
|
1104
|
-
};
|
|
1342
|
+
timestamp: VektorAPI.Timestamp;
|
|
1105
1343
|
/**
|
|
1106
1344
|
* Error type
|
|
1107
1345
|
*/
|
|
1108
1346
|
type: string;
|
|
1109
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
|
+
}
|
|
1110
1361
|
}
|
|
1111
1362
|
/**
|
|
1112
1363
|
* Lending an asset
|
|
@@ -1143,7 +1394,7 @@ export declare namespace Execution {
|
|
|
1143
1394
|
*/
|
|
1144
1395
|
effective_gas_price: string | null;
|
|
1145
1396
|
/**
|
|
1146
|
-
*
|
|
1397
|
+
* Vektor error
|
|
1147
1398
|
*/
|
|
1148
1399
|
error: ExecutionEVMTransactionLend.Error | null;
|
|
1149
1400
|
/**
|
|
@@ -1198,24 +1449,47 @@ export declare namespace Execution {
|
|
|
1198
1449
|
}
|
|
1199
1450
|
namespace ExecutionEVMTransactionLend {
|
|
1200
1451
|
/**
|
|
1201
|
-
*
|
|
1452
|
+
* Vektor error
|
|
1202
1453
|
*/
|
|
1203
1454
|
interface Error {
|
|
1455
|
+
/**
|
|
1456
|
+
* Error context
|
|
1457
|
+
*/
|
|
1458
|
+
context: Error.Context;
|
|
1204
1459
|
/**
|
|
1205
1460
|
* Error message
|
|
1206
1461
|
*/
|
|
1207
1462
|
message: string;
|
|
1208
1463
|
/**
|
|
1209
|
-
*
|
|
1464
|
+
* Request ID
|
|
1465
|
+
*/
|
|
1466
|
+
request_id: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* Error resource
|
|
1469
|
+
*/
|
|
1470
|
+
resource: string | null;
|
|
1471
|
+
/**
|
|
1472
|
+
* ISO8601 Timestamp
|
|
1210
1473
|
*/
|
|
1211
|
-
|
|
1212
|
-
[key: string]: unknown;
|
|
1213
|
-
};
|
|
1474
|
+
timestamp: VektorAPI.Timestamp;
|
|
1214
1475
|
/**
|
|
1215
1476
|
* Error type
|
|
1216
1477
|
*/
|
|
1217
1478
|
type: string;
|
|
1218
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
|
+
}
|
|
1219
1493
|
}
|
|
1220
1494
|
/**
|
|
1221
1495
|
* Setting/unsetting a position as collateral
|
|
@@ -1244,7 +1518,7 @@ export declare namespace Execution {
|
|
|
1244
1518
|
*/
|
|
1245
1519
|
effective_gas_price: string | null;
|
|
1246
1520
|
/**
|
|
1247
|
-
*
|
|
1521
|
+
* Vektor error
|
|
1248
1522
|
*/
|
|
1249
1523
|
error: ExecutionEVMTransactionLendSetCollateral.Error | null;
|
|
1250
1524
|
/**
|
|
@@ -1296,24 +1570,47 @@ export declare namespace Execution {
|
|
|
1296
1570
|
}
|
|
1297
1571
|
namespace ExecutionEVMTransactionLendSetCollateral {
|
|
1298
1572
|
/**
|
|
1299
|
-
*
|
|
1573
|
+
* Vektor error
|
|
1300
1574
|
*/
|
|
1301
1575
|
interface Error {
|
|
1576
|
+
/**
|
|
1577
|
+
* Error context
|
|
1578
|
+
*/
|
|
1579
|
+
context: Error.Context;
|
|
1302
1580
|
/**
|
|
1303
1581
|
* Error message
|
|
1304
1582
|
*/
|
|
1305
1583
|
message: string;
|
|
1306
1584
|
/**
|
|
1307
|
-
*
|
|
1585
|
+
* Request ID
|
|
1586
|
+
*/
|
|
1587
|
+
request_id: string;
|
|
1588
|
+
/**
|
|
1589
|
+
* Error resource
|
|
1590
|
+
*/
|
|
1591
|
+
resource: string | null;
|
|
1592
|
+
/**
|
|
1593
|
+
* ISO8601 Timestamp
|
|
1308
1594
|
*/
|
|
1309
|
-
|
|
1310
|
-
[key: string]: unknown;
|
|
1311
|
-
};
|
|
1595
|
+
timestamp: VektorAPI.Timestamp;
|
|
1312
1596
|
/**
|
|
1313
1597
|
* Error type
|
|
1314
1598
|
*/
|
|
1315
1599
|
type: string;
|
|
1316
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
|
+
}
|
|
1317
1614
|
}
|
|
1318
1615
|
/**
|
|
1319
1616
|
* Withdrawing an asset
|
|
@@ -1350,7 +1647,7 @@ export declare namespace Execution {
|
|
|
1350
1647
|
*/
|
|
1351
1648
|
effective_gas_price: string | null;
|
|
1352
1649
|
/**
|
|
1353
|
-
*
|
|
1650
|
+
* Vektor error
|
|
1354
1651
|
*/
|
|
1355
1652
|
error: ExecutionEVMTransactionLendWithdraw.Error | null;
|
|
1356
1653
|
/**
|
|
@@ -1401,24 +1698,47 @@ export declare namespace Execution {
|
|
|
1401
1698
|
}
|
|
1402
1699
|
namespace ExecutionEVMTransactionLendWithdraw {
|
|
1403
1700
|
/**
|
|
1404
|
-
*
|
|
1701
|
+
* Vektor error
|
|
1405
1702
|
*/
|
|
1406
1703
|
interface Error {
|
|
1704
|
+
/**
|
|
1705
|
+
* Error context
|
|
1706
|
+
*/
|
|
1707
|
+
context: Error.Context;
|
|
1407
1708
|
/**
|
|
1408
1709
|
* Error message
|
|
1409
1710
|
*/
|
|
1410
1711
|
message: string;
|
|
1411
1712
|
/**
|
|
1412
|
-
*
|
|
1713
|
+
* Request ID
|
|
1714
|
+
*/
|
|
1715
|
+
request_id: string;
|
|
1716
|
+
/**
|
|
1717
|
+
* Error resource
|
|
1718
|
+
*/
|
|
1719
|
+
resource: string | null;
|
|
1720
|
+
/**
|
|
1721
|
+
* ISO8601 Timestamp
|
|
1413
1722
|
*/
|
|
1414
|
-
|
|
1415
|
-
[key: string]: unknown;
|
|
1416
|
-
};
|
|
1723
|
+
timestamp: VektorAPI.Timestamp;
|
|
1417
1724
|
/**
|
|
1418
1725
|
* Error type
|
|
1419
1726
|
*/
|
|
1420
1727
|
type: string;
|
|
1421
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
|
+
}
|
|
1422
1742
|
}
|
|
1423
1743
|
/**
|
|
1424
1744
|
* A move of assets from one account to another
|
|
@@ -1455,7 +1775,7 @@ export declare namespace Execution {
|
|
|
1455
1775
|
*/
|
|
1456
1776
|
effective_gas_price: string | null;
|
|
1457
1777
|
/**
|
|
1458
|
-
*
|
|
1778
|
+
* Vektor error
|
|
1459
1779
|
*/
|
|
1460
1780
|
error: ExecutionEVMTransactionMove.Error | null;
|
|
1461
1781
|
/**
|
|
@@ -1501,24 +1821,47 @@ export declare namespace Execution {
|
|
|
1501
1821
|
}
|
|
1502
1822
|
namespace ExecutionEVMTransactionMove {
|
|
1503
1823
|
/**
|
|
1504
|
-
*
|
|
1824
|
+
* Vektor error
|
|
1505
1825
|
*/
|
|
1506
1826
|
interface Error {
|
|
1827
|
+
/**
|
|
1828
|
+
* Error context
|
|
1829
|
+
*/
|
|
1830
|
+
context: Error.Context;
|
|
1507
1831
|
/**
|
|
1508
1832
|
* Error message
|
|
1509
1833
|
*/
|
|
1510
1834
|
message: string;
|
|
1511
1835
|
/**
|
|
1512
|
-
*
|
|
1836
|
+
* Request ID
|
|
1837
|
+
*/
|
|
1838
|
+
request_id: string;
|
|
1839
|
+
/**
|
|
1840
|
+
* Error resource
|
|
1841
|
+
*/
|
|
1842
|
+
resource: string | null;
|
|
1843
|
+
/**
|
|
1844
|
+
* ISO8601 Timestamp
|
|
1513
1845
|
*/
|
|
1514
|
-
|
|
1515
|
-
[key: string]: unknown;
|
|
1516
|
-
};
|
|
1846
|
+
timestamp: VektorAPI.Timestamp;
|
|
1517
1847
|
/**
|
|
1518
1848
|
* Error type
|
|
1519
1849
|
*/
|
|
1520
1850
|
type: string;
|
|
1521
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
|
+
}
|
|
1522
1865
|
}
|
|
1523
1866
|
/**
|
|
1524
1867
|
* A permission to a contract
|
|
@@ -1551,7 +1894,7 @@ export declare namespace Execution {
|
|
|
1551
1894
|
*/
|
|
1552
1895
|
effective_gas_price: string | null;
|
|
1553
1896
|
/**
|
|
1554
|
-
*
|
|
1897
|
+
* Vektor error
|
|
1555
1898
|
*/
|
|
1556
1899
|
error: ExecutionEVMTransactionPermission.Error | null;
|
|
1557
1900
|
/**
|
|
@@ -1611,24 +1954,47 @@ export declare namespace Execution {
|
|
|
1611
1954
|
}
|
|
1612
1955
|
namespace ExecutionEVMTransactionPermission {
|
|
1613
1956
|
/**
|
|
1614
|
-
*
|
|
1957
|
+
* Vektor error
|
|
1615
1958
|
*/
|
|
1616
1959
|
interface Error {
|
|
1960
|
+
/**
|
|
1961
|
+
* Error context
|
|
1962
|
+
*/
|
|
1963
|
+
context: Error.Context;
|
|
1617
1964
|
/**
|
|
1618
1965
|
* Error message
|
|
1619
1966
|
*/
|
|
1620
1967
|
message: string;
|
|
1621
1968
|
/**
|
|
1622
|
-
*
|
|
1969
|
+
* Request ID
|
|
1970
|
+
*/
|
|
1971
|
+
request_id: string;
|
|
1972
|
+
/**
|
|
1973
|
+
* Error resource
|
|
1974
|
+
*/
|
|
1975
|
+
resource: string | null;
|
|
1976
|
+
/**
|
|
1977
|
+
* ISO8601 Timestamp
|
|
1623
1978
|
*/
|
|
1624
|
-
|
|
1625
|
-
[key: string]: unknown;
|
|
1626
|
-
};
|
|
1979
|
+
timestamp: VektorAPI.Timestamp;
|
|
1627
1980
|
/**
|
|
1628
1981
|
* Error type
|
|
1629
1982
|
*/
|
|
1630
1983
|
type: string;
|
|
1631
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
|
+
}
|
|
1632
1998
|
}
|
|
1633
1999
|
/**
|
|
1634
2000
|
* An unwrap of the wrapped native asset
|
|
@@ -1661,7 +2027,7 @@ export declare namespace Execution {
|
|
|
1661
2027
|
*/
|
|
1662
2028
|
effective_gas_price: string | null;
|
|
1663
2029
|
/**
|
|
1664
|
-
*
|
|
2030
|
+
* Vektor error
|
|
1665
2031
|
*/
|
|
1666
2032
|
error: ExecutionEVMTransactionUnwrap.Error | null;
|
|
1667
2033
|
/**
|
|
@@ -1707,24 +2073,47 @@ export declare namespace Execution {
|
|
|
1707
2073
|
}
|
|
1708
2074
|
namespace ExecutionEVMTransactionUnwrap {
|
|
1709
2075
|
/**
|
|
1710
|
-
*
|
|
2076
|
+
* Vektor error
|
|
1711
2077
|
*/
|
|
1712
2078
|
interface Error {
|
|
2079
|
+
/**
|
|
2080
|
+
* Error context
|
|
2081
|
+
*/
|
|
2082
|
+
context: Error.Context;
|
|
1713
2083
|
/**
|
|
1714
2084
|
* Error message
|
|
1715
2085
|
*/
|
|
1716
2086
|
message: string;
|
|
1717
2087
|
/**
|
|
1718
|
-
*
|
|
2088
|
+
* Request ID
|
|
2089
|
+
*/
|
|
2090
|
+
request_id: string;
|
|
2091
|
+
/**
|
|
2092
|
+
* Error resource
|
|
2093
|
+
*/
|
|
2094
|
+
resource: string | null;
|
|
2095
|
+
/**
|
|
2096
|
+
* ISO8601 Timestamp
|
|
1719
2097
|
*/
|
|
1720
|
-
|
|
1721
|
-
[key: string]: unknown;
|
|
1722
|
-
};
|
|
2098
|
+
timestamp: VektorAPI.Timestamp;
|
|
1723
2099
|
/**
|
|
1724
2100
|
* Error type
|
|
1725
2101
|
*/
|
|
1726
2102
|
type: string;
|
|
1727
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
|
+
}
|
|
1728
2117
|
}
|
|
1729
2118
|
/**
|
|
1730
2119
|
* A wrap of the native asset
|
|
@@ -1757,7 +2146,7 @@ export declare namespace Execution {
|
|
|
1757
2146
|
*/
|
|
1758
2147
|
effective_gas_price: string | null;
|
|
1759
2148
|
/**
|
|
1760
|
-
*
|
|
2149
|
+
* Vektor error
|
|
1761
2150
|
*/
|
|
1762
2151
|
error: ExecutionEVMTransactionWrap.Error | null;
|
|
1763
2152
|
/**
|
|
@@ -1803,24 +2192,47 @@ export declare namespace Execution {
|
|
|
1803
2192
|
}
|
|
1804
2193
|
namespace ExecutionEVMTransactionWrap {
|
|
1805
2194
|
/**
|
|
1806
|
-
*
|
|
2195
|
+
* Vektor error
|
|
1807
2196
|
*/
|
|
1808
2197
|
interface Error {
|
|
2198
|
+
/**
|
|
2199
|
+
* Error context
|
|
2200
|
+
*/
|
|
2201
|
+
context: Error.Context;
|
|
1809
2202
|
/**
|
|
1810
2203
|
* Error message
|
|
1811
2204
|
*/
|
|
1812
2205
|
message: string;
|
|
1813
2206
|
/**
|
|
1814
|
-
*
|
|
2207
|
+
* Request ID
|
|
2208
|
+
*/
|
|
2209
|
+
request_id: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* Error resource
|
|
2212
|
+
*/
|
|
2213
|
+
resource: string | null;
|
|
2214
|
+
/**
|
|
2215
|
+
* ISO8601 Timestamp
|
|
1815
2216
|
*/
|
|
1816
|
-
|
|
1817
|
-
[key: string]: unknown;
|
|
1818
|
-
};
|
|
2217
|
+
timestamp: VektorAPI.Timestamp;
|
|
1819
2218
|
/**
|
|
1820
2219
|
* Error type
|
|
1821
2220
|
*/
|
|
1822
2221
|
type: string;
|
|
1823
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
|
+
}
|
|
1824
2236
|
}
|
|
1825
2237
|
/**
|
|
1826
2238
|
* Selling an asset for another asset
|
|
@@ -1853,7 +2265,7 @@ export declare namespace Execution {
|
|
|
1853
2265
|
*/
|
|
1854
2266
|
effective_gas_price: string | null;
|
|
1855
2267
|
/**
|
|
1856
|
-
*
|
|
2268
|
+
* Vektor error
|
|
1857
2269
|
*/
|
|
1858
2270
|
error: ExecutionEVMTransactionSell.Error | null;
|
|
1859
2271
|
/**
|
|
@@ -1911,24 +2323,47 @@ export declare namespace Execution {
|
|
|
1911
2323
|
}
|
|
1912
2324
|
namespace ExecutionEVMTransactionSell {
|
|
1913
2325
|
/**
|
|
1914
|
-
*
|
|
2326
|
+
* Vektor error
|
|
1915
2327
|
*/
|
|
1916
2328
|
interface Error {
|
|
2329
|
+
/**
|
|
2330
|
+
* Error context
|
|
2331
|
+
*/
|
|
2332
|
+
context: Error.Context;
|
|
1917
2333
|
/**
|
|
1918
2334
|
* Error message
|
|
1919
2335
|
*/
|
|
1920
2336
|
message: string;
|
|
1921
2337
|
/**
|
|
1922
|
-
*
|
|
2338
|
+
* Request ID
|
|
2339
|
+
*/
|
|
2340
|
+
request_id: string;
|
|
2341
|
+
/**
|
|
2342
|
+
* Error resource
|
|
2343
|
+
*/
|
|
2344
|
+
resource: string | null;
|
|
2345
|
+
/**
|
|
2346
|
+
* ISO8601 Timestamp
|
|
1923
2347
|
*/
|
|
1924
|
-
|
|
1925
|
-
[key: string]: unknown;
|
|
1926
|
-
};
|
|
2348
|
+
timestamp: VektorAPI.Timestamp;
|
|
1927
2349
|
/**
|
|
1928
2350
|
* Error type
|
|
1929
2351
|
*/
|
|
1930
2352
|
type: string;
|
|
1931
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
|
+
}
|
|
1932
2367
|
}
|
|
1933
2368
|
}
|
|
1934
2369
|
}
|
|
@@ -2812,24 +3247,64 @@ export type TimestampOrBlockNumber = Timestamp | BlockNumber;
|
|
|
2812
3247
|
*/
|
|
2813
3248
|
export type TransactionHash = string;
|
|
2814
3249
|
/**
|
|
2815
|
-
*
|
|
3250
|
+
* Vektor error
|
|
2816
3251
|
*/
|
|
2817
3252
|
export interface VektorError {
|
|
3253
|
+
/**
|
|
3254
|
+
* Error context
|
|
3255
|
+
*/
|
|
3256
|
+
context: VektorError.Context;
|
|
2818
3257
|
/**
|
|
2819
3258
|
* Error message
|
|
2820
3259
|
*/
|
|
2821
3260
|
message: string;
|
|
2822
3261
|
/**
|
|
2823
|
-
*
|
|
3262
|
+
* Request ID
|
|
3263
|
+
*/
|
|
3264
|
+
request_id: string;
|
|
3265
|
+
/**
|
|
3266
|
+
* Error resource
|
|
3267
|
+
*/
|
|
3268
|
+
resource: string | null;
|
|
3269
|
+
/**
|
|
3270
|
+
* ISO8601 Timestamp
|
|
2824
3271
|
*/
|
|
2825
|
-
|
|
2826
|
-
[key: string]: unknown;
|
|
2827
|
-
};
|
|
3272
|
+
timestamp: Timestamp;
|
|
2828
3273
|
/**
|
|
2829
3274
|
* Error type
|
|
2830
3275
|
*/
|
|
2831
3276
|
type: string;
|
|
2832
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
|
+
}
|
|
2833
3308
|
/**
|
|
2834
3309
|
* On-chain venue
|
|
2835
3310
|
*/
|
|
@@ -2954,7 +3429,7 @@ export interface VoteReward {
|
|
|
2954
3429
|
value: Decimal;
|
|
2955
3430
|
}
|
|
2956
3431
|
export declare namespace Vektor {
|
|
2957
|
-
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, };
|
|
2958
3433
|
export { Registry as Registry };
|
|
2959
3434
|
export { Balances as Balances, type BalanceListResponse as BalanceListResponse, type BalanceListHistoricalResponse as BalanceListHistoricalResponse, type BalanceListParams as BalanceListParams, type BalanceListHistoricalParams as BalanceListHistoricalParams, };
|
|
2960
3435
|
export { Prices as Prices, type PriceListResponse as PriceListResponse, type PriceListHistoricalResponse as PriceListHistoricalResponse, type PriceListParams as PriceListParams, type PriceListHistoricalParams as PriceListHistoricalParams, };
|