@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
|
@@ -43,12 +43,12 @@ export interface StepGetResponse {
|
|
|
43
43
|
/**
|
|
44
44
|
* The definition of an execution step
|
|
45
45
|
*/
|
|
46
|
-
definition: StepGetResponse.ExecutionEVMTransactionApprove | StepGetResponse.ExecutionEVMTransactionBorrow | StepGetResponse.ExecutionEVMTransactionBuy | StepGetResponse.ExecutionEVMTransactionLend | StepGetResponse.ExecutionEVMTransactionLendSetCollateral | StepGetResponse.ExecutionEVMTransactionLendWithdraw | StepGetResponse.ExecutionEVMTransactionMove | StepGetResponse.ExecutionEVMTransactionPermission | StepGetResponse.ExecutionEVMTransactionUnwrap | StepGetResponse.ExecutionEVMTransactionWrap | StepGetResponse.ExecutionEVMTransactionSell;
|
|
46
|
+
definition: StepGetResponse.ExecutionEVMTransactionApprove | StepGetResponse.ExecutionEVMTransactionBorrow | StepGetResponse.ExecutionEVMTransactionBorrowRepay | StepGetResponse.ExecutionEVMTransactionBuy | StepGetResponse.ExecutionEVMTransactionLend | StepGetResponse.ExecutionEVMTransactionLendSetCollateral | StepGetResponse.ExecutionEVMTransactionLendWithdraw | StepGetResponse.ExecutionEVMTransactionMove | StepGetResponse.ExecutionEVMTransactionPermission | StepGetResponse.ExecutionEVMTransactionUnwrap | StepGetResponse.ExecutionEVMTransactionWrap | StepGetResponse.ExecutionEVMTransactionSell;
|
|
47
47
|
index: number;
|
|
48
48
|
/**
|
|
49
49
|
* The type of an execution step
|
|
50
50
|
*/
|
|
51
|
-
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';
|
|
51
|
+
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';
|
|
52
52
|
/**
|
|
53
53
|
* ISO8601 Timestamp
|
|
54
54
|
*/
|
|
@@ -90,7 +90,7 @@ export declare namespace StepGetResponse {
|
|
|
90
90
|
*/
|
|
91
91
|
effective_gas_price: string | null;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Vektor error
|
|
94
94
|
*/
|
|
95
95
|
error: ExecutionEVMTransactionApprove.Error | null;
|
|
96
96
|
/**
|
|
@@ -144,24 +144,47 @@ export declare namespace StepGetResponse {
|
|
|
144
144
|
}
|
|
145
145
|
namespace ExecutionEVMTransactionApprove {
|
|
146
146
|
/**
|
|
147
|
-
*
|
|
147
|
+
* Vektor error
|
|
148
148
|
*/
|
|
149
149
|
interface Error {
|
|
150
|
+
/**
|
|
151
|
+
* Error context
|
|
152
|
+
*/
|
|
153
|
+
context: Error.Context;
|
|
150
154
|
/**
|
|
151
155
|
* Error message
|
|
152
156
|
*/
|
|
153
157
|
message: string;
|
|
154
158
|
/**
|
|
155
|
-
*
|
|
159
|
+
* Request ID
|
|
160
|
+
*/
|
|
161
|
+
request_id: string;
|
|
162
|
+
/**
|
|
163
|
+
* Error resource
|
|
156
164
|
*/
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
165
|
+
resource: string | null;
|
|
166
|
+
/**
|
|
167
|
+
* ISO8601 Timestamp
|
|
168
|
+
*/
|
|
169
|
+
timestamp: VektorAPI.Timestamp;
|
|
160
170
|
/**
|
|
161
171
|
* Error type
|
|
162
172
|
*/
|
|
163
173
|
type: string;
|
|
164
174
|
}
|
|
175
|
+
namespace Error {
|
|
176
|
+
/**
|
|
177
|
+
* Error context
|
|
178
|
+
*/
|
|
179
|
+
interface Context {
|
|
180
|
+
/**
|
|
181
|
+
* Error parameters
|
|
182
|
+
*/
|
|
183
|
+
parameters: {
|
|
184
|
+
[key: string]: unknown;
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
}
|
|
165
188
|
}
|
|
166
189
|
/**
|
|
167
190
|
* Borrowing an asset
|
|
@@ -198,7 +221,7 @@ export declare namespace StepGetResponse {
|
|
|
198
221
|
*/
|
|
199
222
|
effective_gas_price: string | null;
|
|
200
223
|
/**
|
|
201
|
-
*
|
|
224
|
+
* Vektor error
|
|
202
225
|
*/
|
|
203
226
|
error: ExecutionEVMTransactionBorrow.Error | null;
|
|
204
227
|
/**
|
|
@@ -253,24 +276,175 @@ export declare namespace StepGetResponse {
|
|
|
253
276
|
}
|
|
254
277
|
namespace ExecutionEVMTransactionBorrow {
|
|
255
278
|
/**
|
|
256
|
-
*
|
|
279
|
+
* Vektor error
|
|
257
280
|
*/
|
|
258
281
|
interface Error {
|
|
282
|
+
/**
|
|
283
|
+
* Error context
|
|
284
|
+
*/
|
|
285
|
+
context: Error.Context;
|
|
259
286
|
/**
|
|
260
287
|
* Error message
|
|
261
288
|
*/
|
|
262
289
|
message: string;
|
|
263
290
|
/**
|
|
264
|
-
*
|
|
291
|
+
* Request ID
|
|
292
|
+
*/
|
|
293
|
+
request_id: string;
|
|
294
|
+
/**
|
|
295
|
+
* Error resource
|
|
265
296
|
*/
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
297
|
+
resource: string | null;
|
|
298
|
+
/**
|
|
299
|
+
* ISO8601 Timestamp
|
|
300
|
+
*/
|
|
301
|
+
timestamp: VektorAPI.Timestamp;
|
|
269
302
|
/**
|
|
270
303
|
* Error type
|
|
271
304
|
*/
|
|
272
305
|
type: string;
|
|
273
306
|
}
|
|
307
|
+
namespace Error {
|
|
308
|
+
/**
|
|
309
|
+
* Error context
|
|
310
|
+
*/
|
|
311
|
+
interface Context {
|
|
312
|
+
/**
|
|
313
|
+
* Error parameters
|
|
314
|
+
*/
|
|
315
|
+
parameters: {
|
|
316
|
+
[key: string]: unknown;
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Repaying a borrowed asset
|
|
323
|
+
*/
|
|
324
|
+
interface ExecutionEVMTransactionBorrowRepay {
|
|
325
|
+
/**
|
|
326
|
+
* An arbitrary precision decimal represented as a string
|
|
327
|
+
*/
|
|
328
|
+
amount: string | null;
|
|
329
|
+
/**
|
|
330
|
+
* On-chain asset (aka token)
|
|
331
|
+
*/
|
|
332
|
+
asset: VektorAPI.Asset;
|
|
333
|
+
block_number: number | null;
|
|
334
|
+
/**
|
|
335
|
+
* ISO8601 Timestamp
|
|
336
|
+
*/
|
|
337
|
+
broadcasted_at: string | null;
|
|
338
|
+
confirmation_target: number;
|
|
339
|
+
/**
|
|
340
|
+
* ISO8601 Timestamp
|
|
341
|
+
*/
|
|
342
|
+
confirmed_at: string | null;
|
|
343
|
+
/**
|
|
344
|
+
* ISO8601 Timestamp
|
|
345
|
+
*/
|
|
346
|
+
created_at: VektorAPI.Timestamp;
|
|
347
|
+
/**
|
|
348
|
+
* A hex string starting with 0x
|
|
349
|
+
*/
|
|
350
|
+
data: string | null;
|
|
351
|
+
/**
|
|
352
|
+
* An arbitrary precision decimal represented as a string
|
|
353
|
+
*/
|
|
354
|
+
effective_gas_price: string | null;
|
|
355
|
+
/**
|
|
356
|
+
* Vektor error
|
|
357
|
+
*/
|
|
358
|
+
error: ExecutionEVMTransactionBorrowRepay.Error | null;
|
|
359
|
+
/**
|
|
360
|
+
* ISO8601 Timestamp
|
|
361
|
+
*/
|
|
362
|
+
errored_at: string | null;
|
|
363
|
+
/**
|
|
364
|
+
* An arbitrary precision decimal represented as a string
|
|
365
|
+
*/
|
|
366
|
+
gas_used: string | null;
|
|
367
|
+
/**
|
|
368
|
+
* A transaction hash
|
|
369
|
+
*/
|
|
370
|
+
hash: string | null;
|
|
371
|
+
/**
|
|
372
|
+
* A lend/borrow market ID, represented as a TypeID with `lend_borrow_market`
|
|
373
|
+
* prefix
|
|
374
|
+
*/
|
|
375
|
+
lend_borrow_market_id: VektorAPI.LendBorrowMarketID;
|
|
376
|
+
/**
|
|
377
|
+
* The payload of an EIP-1559 transaction
|
|
378
|
+
*/
|
|
379
|
+
payload: VektorAPI.ExecutionEVMTransactionEIP1559Payload;
|
|
380
|
+
/**
|
|
381
|
+
* ISO8601 Timestamp
|
|
382
|
+
*/
|
|
383
|
+
signed_at: string | null;
|
|
384
|
+
/**
|
|
385
|
+
* The state of an EVM transaction
|
|
386
|
+
*/
|
|
387
|
+
state: VektorAPI.ExecutionEVMTransactionState;
|
|
388
|
+
/**
|
|
389
|
+
* The state of an EVM transaction
|
|
390
|
+
*/
|
|
391
|
+
target_state: VektorAPI.ExecutionEVMTransactionState;
|
|
392
|
+
/**
|
|
393
|
+
* An EVM address
|
|
394
|
+
*/
|
|
395
|
+
to: string | null;
|
|
396
|
+
/**
|
|
397
|
+
* ISO8601 Timestamp
|
|
398
|
+
*/
|
|
399
|
+
updated_at: VektorAPI.Timestamp;
|
|
400
|
+
/**
|
|
401
|
+
* An arbitrary precision decimal represented as a string
|
|
402
|
+
*/
|
|
403
|
+
value: string | null;
|
|
404
|
+
}
|
|
405
|
+
namespace ExecutionEVMTransactionBorrowRepay {
|
|
406
|
+
/**
|
|
407
|
+
* Vektor error
|
|
408
|
+
*/
|
|
409
|
+
interface Error {
|
|
410
|
+
/**
|
|
411
|
+
* Error context
|
|
412
|
+
*/
|
|
413
|
+
context: Error.Context;
|
|
414
|
+
/**
|
|
415
|
+
* Error message
|
|
416
|
+
*/
|
|
417
|
+
message: string;
|
|
418
|
+
/**
|
|
419
|
+
* Request ID
|
|
420
|
+
*/
|
|
421
|
+
request_id: string;
|
|
422
|
+
/**
|
|
423
|
+
* Error resource
|
|
424
|
+
*/
|
|
425
|
+
resource: string | null;
|
|
426
|
+
/**
|
|
427
|
+
* ISO8601 Timestamp
|
|
428
|
+
*/
|
|
429
|
+
timestamp: VektorAPI.Timestamp;
|
|
430
|
+
/**
|
|
431
|
+
* Error type
|
|
432
|
+
*/
|
|
433
|
+
type: string;
|
|
434
|
+
}
|
|
435
|
+
namespace Error {
|
|
436
|
+
/**
|
|
437
|
+
* Error context
|
|
438
|
+
*/
|
|
439
|
+
interface Context {
|
|
440
|
+
/**
|
|
441
|
+
* Error parameters
|
|
442
|
+
*/
|
|
443
|
+
parameters: {
|
|
444
|
+
[key: string]: unknown;
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
}
|
|
274
448
|
}
|
|
275
449
|
/**
|
|
276
450
|
* Buying an asset with another asset
|
|
@@ -303,7 +477,7 @@ export declare namespace StepGetResponse {
|
|
|
303
477
|
*/
|
|
304
478
|
effective_gas_price: string | null;
|
|
305
479
|
/**
|
|
306
|
-
*
|
|
480
|
+
* Vektor error
|
|
307
481
|
*/
|
|
308
482
|
error: ExecutionEVMTransactionBuy.Error | null;
|
|
309
483
|
/**
|
|
@@ -361,24 +535,47 @@ export declare namespace StepGetResponse {
|
|
|
361
535
|
}
|
|
362
536
|
namespace ExecutionEVMTransactionBuy {
|
|
363
537
|
/**
|
|
364
|
-
*
|
|
538
|
+
* Vektor error
|
|
365
539
|
*/
|
|
366
540
|
interface Error {
|
|
541
|
+
/**
|
|
542
|
+
* Error context
|
|
543
|
+
*/
|
|
544
|
+
context: Error.Context;
|
|
367
545
|
/**
|
|
368
546
|
* Error message
|
|
369
547
|
*/
|
|
370
548
|
message: string;
|
|
371
549
|
/**
|
|
372
|
-
*
|
|
550
|
+
* Request ID
|
|
551
|
+
*/
|
|
552
|
+
request_id: string;
|
|
553
|
+
/**
|
|
554
|
+
* Error resource
|
|
555
|
+
*/
|
|
556
|
+
resource: string | null;
|
|
557
|
+
/**
|
|
558
|
+
* ISO8601 Timestamp
|
|
373
559
|
*/
|
|
374
|
-
|
|
375
|
-
[key: string]: unknown;
|
|
376
|
-
};
|
|
560
|
+
timestamp: VektorAPI.Timestamp;
|
|
377
561
|
/**
|
|
378
562
|
* Error type
|
|
379
563
|
*/
|
|
380
564
|
type: string;
|
|
381
565
|
}
|
|
566
|
+
namespace Error {
|
|
567
|
+
/**
|
|
568
|
+
* Error context
|
|
569
|
+
*/
|
|
570
|
+
interface Context {
|
|
571
|
+
/**
|
|
572
|
+
* Error parameters
|
|
573
|
+
*/
|
|
574
|
+
parameters: {
|
|
575
|
+
[key: string]: unknown;
|
|
576
|
+
};
|
|
577
|
+
}
|
|
578
|
+
}
|
|
382
579
|
}
|
|
383
580
|
/**
|
|
384
581
|
* Lending an asset
|
|
@@ -415,7 +612,7 @@ export declare namespace StepGetResponse {
|
|
|
415
612
|
*/
|
|
416
613
|
effective_gas_price: string | null;
|
|
417
614
|
/**
|
|
418
|
-
*
|
|
615
|
+
* Vektor error
|
|
419
616
|
*/
|
|
420
617
|
error: ExecutionEVMTransactionLend.Error | null;
|
|
421
618
|
/**
|
|
@@ -470,24 +667,47 @@ export declare namespace StepGetResponse {
|
|
|
470
667
|
}
|
|
471
668
|
namespace ExecutionEVMTransactionLend {
|
|
472
669
|
/**
|
|
473
|
-
*
|
|
670
|
+
* Vektor error
|
|
474
671
|
*/
|
|
475
672
|
interface Error {
|
|
673
|
+
/**
|
|
674
|
+
* Error context
|
|
675
|
+
*/
|
|
676
|
+
context: Error.Context;
|
|
476
677
|
/**
|
|
477
678
|
* Error message
|
|
478
679
|
*/
|
|
479
680
|
message: string;
|
|
480
681
|
/**
|
|
481
|
-
*
|
|
682
|
+
* Request ID
|
|
683
|
+
*/
|
|
684
|
+
request_id: string;
|
|
685
|
+
/**
|
|
686
|
+
* Error resource
|
|
482
687
|
*/
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
688
|
+
resource: string | null;
|
|
689
|
+
/**
|
|
690
|
+
* ISO8601 Timestamp
|
|
691
|
+
*/
|
|
692
|
+
timestamp: VektorAPI.Timestamp;
|
|
486
693
|
/**
|
|
487
694
|
* Error type
|
|
488
695
|
*/
|
|
489
696
|
type: string;
|
|
490
697
|
}
|
|
698
|
+
namespace Error {
|
|
699
|
+
/**
|
|
700
|
+
* Error context
|
|
701
|
+
*/
|
|
702
|
+
interface Context {
|
|
703
|
+
/**
|
|
704
|
+
* Error parameters
|
|
705
|
+
*/
|
|
706
|
+
parameters: {
|
|
707
|
+
[key: string]: unknown;
|
|
708
|
+
};
|
|
709
|
+
}
|
|
710
|
+
}
|
|
491
711
|
}
|
|
492
712
|
/**
|
|
493
713
|
* Setting/unsetting a position as collateral
|
|
@@ -516,7 +736,7 @@ export declare namespace StepGetResponse {
|
|
|
516
736
|
*/
|
|
517
737
|
effective_gas_price: string | null;
|
|
518
738
|
/**
|
|
519
|
-
*
|
|
739
|
+
* Vektor error
|
|
520
740
|
*/
|
|
521
741
|
error: ExecutionEVMTransactionLendSetCollateral.Error | null;
|
|
522
742
|
/**
|
|
@@ -568,24 +788,47 @@ export declare namespace StepGetResponse {
|
|
|
568
788
|
}
|
|
569
789
|
namespace ExecutionEVMTransactionLendSetCollateral {
|
|
570
790
|
/**
|
|
571
|
-
*
|
|
791
|
+
* Vektor error
|
|
572
792
|
*/
|
|
573
793
|
interface Error {
|
|
794
|
+
/**
|
|
795
|
+
* Error context
|
|
796
|
+
*/
|
|
797
|
+
context: Error.Context;
|
|
574
798
|
/**
|
|
575
799
|
* Error message
|
|
576
800
|
*/
|
|
577
801
|
message: string;
|
|
578
802
|
/**
|
|
579
|
-
*
|
|
803
|
+
* Request ID
|
|
804
|
+
*/
|
|
805
|
+
request_id: string;
|
|
806
|
+
/**
|
|
807
|
+
* Error resource
|
|
580
808
|
*/
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
809
|
+
resource: string | null;
|
|
810
|
+
/**
|
|
811
|
+
* ISO8601 Timestamp
|
|
812
|
+
*/
|
|
813
|
+
timestamp: VektorAPI.Timestamp;
|
|
584
814
|
/**
|
|
585
815
|
* Error type
|
|
586
816
|
*/
|
|
587
817
|
type: string;
|
|
588
818
|
}
|
|
819
|
+
namespace Error {
|
|
820
|
+
/**
|
|
821
|
+
* Error context
|
|
822
|
+
*/
|
|
823
|
+
interface Context {
|
|
824
|
+
/**
|
|
825
|
+
* Error parameters
|
|
826
|
+
*/
|
|
827
|
+
parameters: {
|
|
828
|
+
[key: string]: unknown;
|
|
829
|
+
};
|
|
830
|
+
}
|
|
831
|
+
}
|
|
589
832
|
}
|
|
590
833
|
/**
|
|
591
834
|
* Withdrawing an asset
|
|
@@ -622,7 +865,7 @@ export declare namespace StepGetResponse {
|
|
|
622
865
|
*/
|
|
623
866
|
effective_gas_price: string | null;
|
|
624
867
|
/**
|
|
625
|
-
*
|
|
868
|
+
* Vektor error
|
|
626
869
|
*/
|
|
627
870
|
error: ExecutionEVMTransactionLendWithdraw.Error | null;
|
|
628
871
|
/**
|
|
@@ -673,24 +916,47 @@ export declare namespace StepGetResponse {
|
|
|
673
916
|
}
|
|
674
917
|
namespace ExecutionEVMTransactionLendWithdraw {
|
|
675
918
|
/**
|
|
676
|
-
*
|
|
919
|
+
* Vektor error
|
|
677
920
|
*/
|
|
678
921
|
interface Error {
|
|
922
|
+
/**
|
|
923
|
+
* Error context
|
|
924
|
+
*/
|
|
925
|
+
context: Error.Context;
|
|
679
926
|
/**
|
|
680
927
|
* Error message
|
|
681
928
|
*/
|
|
682
929
|
message: string;
|
|
683
930
|
/**
|
|
684
|
-
*
|
|
931
|
+
* Request ID
|
|
932
|
+
*/
|
|
933
|
+
request_id: string;
|
|
934
|
+
/**
|
|
935
|
+
* Error resource
|
|
685
936
|
*/
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
937
|
+
resource: string | null;
|
|
938
|
+
/**
|
|
939
|
+
* ISO8601 Timestamp
|
|
940
|
+
*/
|
|
941
|
+
timestamp: VektorAPI.Timestamp;
|
|
689
942
|
/**
|
|
690
943
|
* Error type
|
|
691
944
|
*/
|
|
692
945
|
type: string;
|
|
693
946
|
}
|
|
947
|
+
namespace Error {
|
|
948
|
+
/**
|
|
949
|
+
* Error context
|
|
950
|
+
*/
|
|
951
|
+
interface Context {
|
|
952
|
+
/**
|
|
953
|
+
* Error parameters
|
|
954
|
+
*/
|
|
955
|
+
parameters: {
|
|
956
|
+
[key: string]: unknown;
|
|
957
|
+
};
|
|
958
|
+
}
|
|
959
|
+
}
|
|
694
960
|
}
|
|
695
961
|
/**
|
|
696
962
|
* A move of assets from one account to another
|
|
@@ -727,7 +993,7 @@ export declare namespace StepGetResponse {
|
|
|
727
993
|
*/
|
|
728
994
|
effective_gas_price: string | null;
|
|
729
995
|
/**
|
|
730
|
-
*
|
|
996
|
+
* Vektor error
|
|
731
997
|
*/
|
|
732
998
|
error: ExecutionEVMTransactionMove.Error | null;
|
|
733
999
|
/**
|
|
@@ -773,24 +1039,47 @@ export declare namespace StepGetResponse {
|
|
|
773
1039
|
}
|
|
774
1040
|
namespace ExecutionEVMTransactionMove {
|
|
775
1041
|
/**
|
|
776
|
-
*
|
|
1042
|
+
* Vektor error
|
|
777
1043
|
*/
|
|
778
1044
|
interface Error {
|
|
1045
|
+
/**
|
|
1046
|
+
* Error context
|
|
1047
|
+
*/
|
|
1048
|
+
context: Error.Context;
|
|
779
1049
|
/**
|
|
780
1050
|
* Error message
|
|
781
1051
|
*/
|
|
782
1052
|
message: string;
|
|
783
1053
|
/**
|
|
784
|
-
*
|
|
1054
|
+
* Request ID
|
|
785
1055
|
*/
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
1056
|
+
request_id: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* Error resource
|
|
1059
|
+
*/
|
|
1060
|
+
resource: string | null;
|
|
1061
|
+
/**
|
|
1062
|
+
* ISO8601 Timestamp
|
|
1063
|
+
*/
|
|
1064
|
+
timestamp: VektorAPI.Timestamp;
|
|
789
1065
|
/**
|
|
790
1066
|
* Error type
|
|
791
1067
|
*/
|
|
792
1068
|
type: string;
|
|
793
1069
|
}
|
|
1070
|
+
namespace Error {
|
|
1071
|
+
/**
|
|
1072
|
+
* Error context
|
|
1073
|
+
*/
|
|
1074
|
+
interface Context {
|
|
1075
|
+
/**
|
|
1076
|
+
* Error parameters
|
|
1077
|
+
*/
|
|
1078
|
+
parameters: {
|
|
1079
|
+
[key: string]: unknown;
|
|
1080
|
+
};
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
794
1083
|
}
|
|
795
1084
|
/**
|
|
796
1085
|
* A permission to a contract
|
|
@@ -823,7 +1112,7 @@ export declare namespace StepGetResponse {
|
|
|
823
1112
|
*/
|
|
824
1113
|
effective_gas_price: string | null;
|
|
825
1114
|
/**
|
|
826
|
-
*
|
|
1115
|
+
* Vektor error
|
|
827
1116
|
*/
|
|
828
1117
|
error: ExecutionEVMTransactionPermission.Error | null;
|
|
829
1118
|
/**
|
|
@@ -883,24 +1172,47 @@ export declare namespace StepGetResponse {
|
|
|
883
1172
|
}
|
|
884
1173
|
namespace ExecutionEVMTransactionPermission {
|
|
885
1174
|
/**
|
|
886
|
-
*
|
|
1175
|
+
* Vektor error
|
|
887
1176
|
*/
|
|
888
1177
|
interface Error {
|
|
1178
|
+
/**
|
|
1179
|
+
* Error context
|
|
1180
|
+
*/
|
|
1181
|
+
context: Error.Context;
|
|
889
1182
|
/**
|
|
890
1183
|
* Error message
|
|
891
1184
|
*/
|
|
892
1185
|
message: string;
|
|
893
1186
|
/**
|
|
894
|
-
*
|
|
1187
|
+
* Request ID
|
|
1188
|
+
*/
|
|
1189
|
+
request_id: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* Error resource
|
|
1192
|
+
*/
|
|
1193
|
+
resource: string | null;
|
|
1194
|
+
/**
|
|
1195
|
+
* ISO8601 Timestamp
|
|
895
1196
|
*/
|
|
896
|
-
|
|
897
|
-
[key: string]: unknown;
|
|
898
|
-
};
|
|
1197
|
+
timestamp: VektorAPI.Timestamp;
|
|
899
1198
|
/**
|
|
900
1199
|
* Error type
|
|
901
1200
|
*/
|
|
902
1201
|
type: string;
|
|
903
1202
|
}
|
|
1203
|
+
namespace Error {
|
|
1204
|
+
/**
|
|
1205
|
+
* Error context
|
|
1206
|
+
*/
|
|
1207
|
+
interface Context {
|
|
1208
|
+
/**
|
|
1209
|
+
* Error parameters
|
|
1210
|
+
*/
|
|
1211
|
+
parameters: {
|
|
1212
|
+
[key: string]: unknown;
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
}
|
|
904
1216
|
}
|
|
905
1217
|
/**
|
|
906
1218
|
* An unwrap of the wrapped native asset
|
|
@@ -933,7 +1245,7 @@ export declare namespace StepGetResponse {
|
|
|
933
1245
|
*/
|
|
934
1246
|
effective_gas_price: string | null;
|
|
935
1247
|
/**
|
|
936
|
-
*
|
|
1248
|
+
* Vektor error
|
|
937
1249
|
*/
|
|
938
1250
|
error: ExecutionEVMTransactionUnwrap.Error | null;
|
|
939
1251
|
/**
|
|
@@ -979,24 +1291,47 @@ export declare namespace StepGetResponse {
|
|
|
979
1291
|
}
|
|
980
1292
|
namespace ExecutionEVMTransactionUnwrap {
|
|
981
1293
|
/**
|
|
982
|
-
*
|
|
1294
|
+
* Vektor error
|
|
983
1295
|
*/
|
|
984
1296
|
interface Error {
|
|
1297
|
+
/**
|
|
1298
|
+
* Error context
|
|
1299
|
+
*/
|
|
1300
|
+
context: Error.Context;
|
|
985
1301
|
/**
|
|
986
1302
|
* Error message
|
|
987
1303
|
*/
|
|
988
1304
|
message: string;
|
|
989
1305
|
/**
|
|
990
|
-
*
|
|
1306
|
+
* Request ID
|
|
991
1307
|
*/
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1308
|
+
request_id: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* Error resource
|
|
1311
|
+
*/
|
|
1312
|
+
resource: string | null;
|
|
1313
|
+
/**
|
|
1314
|
+
* ISO8601 Timestamp
|
|
1315
|
+
*/
|
|
1316
|
+
timestamp: VektorAPI.Timestamp;
|
|
995
1317
|
/**
|
|
996
1318
|
* Error type
|
|
997
1319
|
*/
|
|
998
1320
|
type: string;
|
|
999
1321
|
}
|
|
1322
|
+
namespace Error {
|
|
1323
|
+
/**
|
|
1324
|
+
* Error context
|
|
1325
|
+
*/
|
|
1326
|
+
interface Context {
|
|
1327
|
+
/**
|
|
1328
|
+
* Error parameters
|
|
1329
|
+
*/
|
|
1330
|
+
parameters: {
|
|
1331
|
+
[key: string]: unknown;
|
|
1332
|
+
};
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1000
1335
|
}
|
|
1001
1336
|
/**
|
|
1002
1337
|
* A wrap of the native asset
|
|
@@ -1029,7 +1364,7 @@ export declare namespace StepGetResponse {
|
|
|
1029
1364
|
*/
|
|
1030
1365
|
effective_gas_price: string | null;
|
|
1031
1366
|
/**
|
|
1032
|
-
*
|
|
1367
|
+
* Vektor error
|
|
1033
1368
|
*/
|
|
1034
1369
|
error: ExecutionEVMTransactionWrap.Error | null;
|
|
1035
1370
|
/**
|
|
@@ -1075,24 +1410,47 @@ export declare namespace StepGetResponse {
|
|
|
1075
1410
|
}
|
|
1076
1411
|
namespace ExecutionEVMTransactionWrap {
|
|
1077
1412
|
/**
|
|
1078
|
-
*
|
|
1413
|
+
* Vektor error
|
|
1079
1414
|
*/
|
|
1080
1415
|
interface Error {
|
|
1416
|
+
/**
|
|
1417
|
+
* Error context
|
|
1418
|
+
*/
|
|
1419
|
+
context: Error.Context;
|
|
1081
1420
|
/**
|
|
1082
1421
|
* Error message
|
|
1083
1422
|
*/
|
|
1084
1423
|
message: string;
|
|
1085
1424
|
/**
|
|
1086
|
-
*
|
|
1425
|
+
* Request ID
|
|
1426
|
+
*/
|
|
1427
|
+
request_id: string;
|
|
1428
|
+
/**
|
|
1429
|
+
* Error resource
|
|
1430
|
+
*/
|
|
1431
|
+
resource: string | null;
|
|
1432
|
+
/**
|
|
1433
|
+
* ISO8601 Timestamp
|
|
1087
1434
|
*/
|
|
1088
|
-
|
|
1089
|
-
[key: string]: unknown;
|
|
1090
|
-
};
|
|
1435
|
+
timestamp: VektorAPI.Timestamp;
|
|
1091
1436
|
/**
|
|
1092
1437
|
* Error type
|
|
1093
1438
|
*/
|
|
1094
1439
|
type: string;
|
|
1095
1440
|
}
|
|
1441
|
+
namespace Error {
|
|
1442
|
+
/**
|
|
1443
|
+
* Error context
|
|
1444
|
+
*/
|
|
1445
|
+
interface Context {
|
|
1446
|
+
/**
|
|
1447
|
+
* Error parameters
|
|
1448
|
+
*/
|
|
1449
|
+
parameters: {
|
|
1450
|
+
[key: string]: unknown;
|
|
1451
|
+
};
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1096
1454
|
}
|
|
1097
1455
|
/**
|
|
1098
1456
|
* Selling an asset for another asset
|
|
@@ -1125,7 +1483,7 @@ export declare namespace StepGetResponse {
|
|
|
1125
1483
|
*/
|
|
1126
1484
|
effective_gas_price: string | null;
|
|
1127
1485
|
/**
|
|
1128
|
-
*
|
|
1486
|
+
* Vektor error
|
|
1129
1487
|
*/
|
|
1130
1488
|
error: ExecutionEVMTransactionSell.Error | null;
|
|
1131
1489
|
/**
|
|
@@ -1183,24 +1541,47 @@ export declare namespace StepGetResponse {
|
|
|
1183
1541
|
}
|
|
1184
1542
|
namespace ExecutionEVMTransactionSell {
|
|
1185
1543
|
/**
|
|
1186
|
-
*
|
|
1544
|
+
* Vektor error
|
|
1187
1545
|
*/
|
|
1188
1546
|
interface Error {
|
|
1547
|
+
/**
|
|
1548
|
+
* Error context
|
|
1549
|
+
*/
|
|
1550
|
+
context: Error.Context;
|
|
1189
1551
|
/**
|
|
1190
1552
|
* Error message
|
|
1191
1553
|
*/
|
|
1192
1554
|
message: string;
|
|
1193
1555
|
/**
|
|
1194
|
-
*
|
|
1556
|
+
* Request ID
|
|
1557
|
+
*/
|
|
1558
|
+
request_id: string;
|
|
1559
|
+
/**
|
|
1560
|
+
* Error resource
|
|
1561
|
+
*/
|
|
1562
|
+
resource: string | null;
|
|
1563
|
+
/**
|
|
1564
|
+
* ISO8601 Timestamp
|
|
1195
1565
|
*/
|
|
1196
|
-
|
|
1197
|
-
[key: string]: unknown;
|
|
1198
|
-
};
|
|
1566
|
+
timestamp: VektorAPI.Timestamp;
|
|
1199
1567
|
/**
|
|
1200
1568
|
* Error type
|
|
1201
1569
|
*/
|
|
1202
1570
|
type: string;
|
|
1203
1571
|
}
|
|
1572
|
+
namespace Error {
|
|
1573
|
+
/**
|
|
1574
|
+
* Error context
|
|
1575
|
+
*/
|
|
1576
|
+
interface Context {
|
|
1577
|
+
/**
|
|
1578
|
+
* Error parameters
|
|
1579
|
+
*/
|
|
1580
|
+
parameters: {
|
|
1581
|
+
[key: string]: unknown;
|
|
1582
|
+
};
|
|
1583
|
+
}
|
|
1584
|
+
}
|
|
1204
1585
|
}
|
|
1205
1586
|
}
|
|
1206
1587
|
export interface StepGetParams {
|