ault-sdk-ts 0.11.0 → 0.12.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/README.md +104 -23
- package/dist/client.d.ts +2 -0
- package/dist/core/address.d.ts +1 -1
- package/dist/core/clob-gas.d.ts +4 -0
- package/dist/core/clob-msgs.d.ts +14 -6
- package/dist/core/clob-responses.d.ts +4 -1
- package/dist/core/conditional-msgs.d.ts +98 -0
- package/dist/core/manifest-types.d.ts +22 -2
- package/dist/core/margin-account.d.ts +8 -0
- package/dist/core/network.d.ts +21 -11
- package/dist/core/perpetual-msgs.d.ts +8 -0
- package/dist/core/vault-gas.d.ts +3 -1
- package/dist/core/vault-msgs.d.ts +46 -28
- package/dist/eip712/msg.generated.d.ts +19 -8
- package/dist/eip712/types.d.ts +5 -0
- package/dist/high-level/types.d.ts +172 -32
- package/dist/high-level-client.d.ts +1 -1
- package/dist/index.cjs +22007 -18578
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21855 -18453
- package/dist/index.js.map +1 -1
- package/dist/proto/gen/ault/authority/v1/tx.d.ts +12 -0
- package/dist/proto/gen/ault/clob/v1/conditional.d.ts +60 -0
- package/dist/proto/gen/ault/clob/v1/genesis.d.ts +13 -0
- package/dist/proto/gen/ault/clob/v1/group.d.ts +71 -0
- package/dist/proto/gen/ault/clob/v1/params.d.ts +5 -0
- package/dist/proto/gen/ault/clob/v1/query.d.ts +16 -0
- package/dist/proto/gen/ault/clob/v1/twap.d.ts +8 -4
- package/dist/proto/gen/ault/clob/v1/tx.d.ts +90 -1
- package/dist/proto/gen/ault/lending/v1/params.d.ts +2 -0
- package/dist/proto/gen/ault/lending/v1/tx.d.ts +1 -0
- package/dist/proto/gen/ault/margin/v1/genesis.d.ts +10 -48
- package/dist/proto/gen/ault/margin/v1/margin.d.ts +14 -64
- package/dist/proto/gen/ault/margin/v1/query.d.ts +4 -46
- package/dist/proto/gen/ault/margin/v1/tx.d.ts +11 -29
- package/dist/proto/gen/ault/miner/v1/miner.d.ts +4 -2
- package/dist/proto/gen/ault/oracle/v1/oracle.d.ts +5 -7
- package/dist/proto/gen/ault/oracle/v1/tx.d.ts +1 -1
- package/dist/proto/gen/ault/perpetual/v1/params.d.ts +6 -0
- package/dist/proto/gen/ault/perpetual/v1/perpetual.d.ts +10 -7
- package/dist/proto/gen/ault/spot/v1/genesis.d.ts +2 -0
- package/dist/proto/gen/ault/spot/v1/params.d.ts +25 -0
- package/dist/proto/gen/ault/spot/v1/query.d.ts +29 -0
- package/dist/proto/gen/ault/spot/v1/tx.d.ts +30 -0
- package/dist/proto/gen/ault/vault/v1/genesis.d.ts +22 -12
- package/dist/proto/gen/ault/vault/v1/query.d.ts +4 -18
- package/dist/proto/gen/ault/vault/v1/tx.d.ts +25 -5
- package/dist/proto/gen/ault/vault/v1/vault.d.ts +29 -57
- package/dist/rest/clob.d.ts +35 -3
- package/dist/rest/dex-types.generated.d.ts +548 -81
- package/dist/rest/dex.d.ts +3 -1
- package/dist/rest/dex.generated.d.ts +670 -123
- package/dist/rest/margin.d.ts +1 -5
- package/dist/rest/spot.d.ts +11 -0
- package/package.json +1 -1
|
@@ -87,6 +87,8 @@ export declare const getLendingParamsResponseWithdrawCollateralOracleChecksMin =
|
|
|
87
87
|
export declare const getLendingParamsResponseWithdrawCollateralOracleChecksMax = 65535;
|
|
88
88
|
export declare const getLendingParamsResponseLiquidationOracleChecksMin = 0;
|
|
89
89
|
export declare const getLendingParamsResponseLiquidationOracleChecksMax = 65535;
|
|
90
|
+
export declare const getLendingParamsResponseMarginSettlementOracleChecksMin = 0;
|
|
91
|
+
export declare const getLendingParamsResponseMarginSettlementOracleChecksMax = 65535;
|
|
90
92
|
export declare const GetLendingParamsResponse: zod.ZodObject<{
|
|
91
93
|
maxProtocolFeeRate: zod.ZodString;
|
|
92
94
|
assetRiskUpdateDelaySeconds: zod.ZodNumber;
|
|
@@ -97,6 +99,7 @@ export declare const GetLendingParamsResponse: zod.ZodObject<{
|
|
|
97
99
|
borrowOracleChecks: zod.ZodNumber;
|
|
98
100
|
withdrawCollateralOracleChecks: zod.ZodNumber;
|
|
99
101
|
liquidationOracleChecks: zod.ZodNumber;
|
|
102
|
+
marginSettlementOracleChecks: zod.ZodNullable<zod.ZodNumber>;
|
|
100
103
|
}, zod.z.core.$strip>;
|
|
101
104
|
/**
|
|
102
105
|
* Returns every lending pool whose asset configuration matches the
|
|
@@ -141,11 +144,11 @@ export declare const GetLendingPoolResponse: zod.ZodObject<{
|
|
|
141
144
|
maxOracleDeviationRatio: zod.ZodString;
|
|
142
145
|
disabledActions: zod.ZodArray<zod.ZodEnum<{
|
|
143
146
|
supply: "supply";
|
|
147
|
+
repay: "repay";
|
|
144
148
|
borrow: "borrow";
|
|
145
149
|
withdraw: "withdraw";
|
|
146
150
|
supplyCollateral: "supplyCollateral";
|
|
147
151
|
withdrawCollateral: "withdrawCollateral";
|
|
148
|
-
repay: "repay";
|
|
149
152
|
liquidate: "liquidate";
|
|
150
153
|
}>>;
|
|
151
154
|
}, zod.z.core.$strip>;
|
|
@@ -197,6 +200,7 @@ export declare const GetLendingAssetResponse: zod.ZodIntersection<zod.ZodObject<
|
|
|
197
200
|
rates: zod.ZodNullable<zod.ZodArray<zod.ZodString>>;
|
|
198
201
|
oracleAsset: zod.ZodString;
|
|
199
202
|
spotMarketId: zod.ZodNullable<zod.ZodString>;
|
|
203
|
+
spotQuoteOracleDenom: zod.ZodNullable<zod.ZodString>;
|
|
200
204
|
}, zod.z.core.$strip>>;
|
|
201
205
|
/**
|
|
202
206
|
* @summary Get current lending asset state
|
|
@@ -211,8 +215,8 @@ export declare const GetLendingAssetStateResponse: zod.ZodObject<{
|
|
|
211
215
|
totalBorrowAssets: zod.ZodString;
|
|
212
216
|
totalBorrowShares: zod.ZodString;
|
|
213
217
|
availableLiquidityAssets: zod.ZodString;
|
|
214
|
-
supplyCapRemainingAssets: zod.
|
|
215
|
-
borrowCapRemainingAssets: zod.
|
|
218
|
+
supplyCapRemainingAssets: zod.ZodString;
|
|
219
|
+
borrowCapRemainingAssets: zod.ZodString;
|
|
216
220
|
utilization: zod.ZodString;
|
|
217
221
|
borrowRatePerSecond: zod.ZodNullable<zod.ZodString>;
|
|
218
222
|
supplyRatePerSecond: zod.ZodNullable<zod.ZodString>;
|
|
@@ -417,6 +421,71 @@ export declare const GetLendingPositionHistoryResponse: zod.ZodArray<zod.ZodObje
|
|
|
417
421
|
collateralValue: zod.ZodString;
|
|
418
422
|
healthFactor: zod.ZodNullable<zod.ZodString>;
|
|
419
423
|
}, zod.z.core.$strip>>;
|
|
424
|
+
/**
|
|
425
|
+
* A background worker probes the indexed checkpoint every 200ms and
|
|
426
|
+
recomputes candidates only after a new block is committed. Requests
|
|
427
|
+
paginate the cache without database reads. Each candidate is one
|
|
428
|
+
(pool, owner) with debt and seizable collateral. The cache includes healthy
|
|
429
|
+
accounts; without healthFactor_lte the response keeps the default HF < 1
|
|
430
|
+
filter. An explicit healthFactor_lte applies an inclusive upper bound to
|
|
431
|
+
cached HF without recalculation. HF >= 1 entries are monitoring targets.
|
|
432
|
+
Borrow/collateral details use the same cached block and raw chain units;
|
|
433
|
+
the response does not quote pair profitability or execution amounts.
|
|
434
|
+
Inputs and checkpoint are read in one repeatable-read snapshot; oracle
|
|
435
|
+
age uses that block's whole-second lending accrual time. Valuation uses
|
|
436
|
+
the same USD-feed assumption as current lending position responses.
|
|
437
|
+
Basic price availability is always required. Market-closed (1),
|
|
438
|
+
linear-bridge (4), and stale-price (8) checks follow
|
|
439
|
+
liquidationOracleChecks. The default zero mask permits stale prices;
|
|
440
|
+
when enabled, the stale check applies to both open and closed markets.
|
|
441
|
+
The response stale flag reports cache/indexer lag, not oracle price age.
|
|
442
|
+
Spot-price deviation (2) is left to on-chain validation and does not
|
|
443
|
+
exclude candidates, even when enabled. The complete flag describes HF
|
|
444
|
+
assessment coverage, not guaranteed transaction success. Missing inputs
|
|
445
|
+
exclude accounts and set complete=false. Known action restrictions exclude
|
|
446
|
+
accounts without making coverage incomplete. Bots must check stale and
|
|
447
|
+
complete, and validate the transaction on chain before submission.
|
|
448
|
+
Pages are live: each page reports its own indexedHeight. Restart the
|
|
449
|
+
scan periodically to discover candidates added before the cursor.
|
|
450
|
+
|
|
451
|
+
* @summary List cached lending liquidation candidates
|
|
452
|
+
*/
|
|
453
|
+
export declare const listLendingLiquidationCandidatesQueryHealthFactorLteRegExp: RegExp;
|
|
454
|
+
export declare const listLendingLiquidationCandidatesQueryLimitDefault = 100;
|
|
455
|
+
export declare const listLendingLiquidationCandidatesQueryLimitMin = 0;
|
|
456
|
+
export declare const ListLendingLiquidationCandidatesQueryParams: zod.ZodObject<{
|
|
457
|
+
pool_id: zod.ZodOptional<zod.ZodNumber>;
|
|
458
|
+
healthFactor_lte: zod.ZodOptional<zod.ZodString>;
|
|
459
|
+
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
460
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
461
|
+
}, zod.z.core.$strip>;
|
|
462
|
+
export declare const listLendingLiquidationCandidatesResponseCandidatesItemOwnerRegExp: RegExp;
|
|
463
|
+
export declare const listLendingLiquidationCandidatesResponseUnavailableAccountsMin = 0;
|
|
464
|
+
export declare const ListLendingLiquidationCandidatesResponse: zod.ZodObject<{
|
|
465
|
+
candidates: zod.ZodArray<zod.ZodObject<{
|
|
466
|
+
borrows: zod.ZodArray<zod.ZodObject<{
|
|
467
|
+
denom: zod.ZodString;
|
|
468
|
+
shares: zod.ZodString;
|
|
469
|
+
assets: zod.ZodString;
|
|
470
|
+
}, zod.z.core.$strip>>;
|
|
471
|
+
collaterals: zod.ZodArray<zod.ZodObject<{
|
|
472
|
+
denom: zod.ZodString;
|
|
473
|
+
amount: zod.ZodString;
|
|
474
|
+
}, zod.z.core.$strip>>;
|
|
475
|
+
poolId: zod.ZodString;
|
|
476
|
+
owner: zod.ZodString;
|
|
477
|
+
healthFactor: zod.ZodString;
|
|
478
|
+
collateralValue: zod.ZodString;
|
|
479
|
+
borrowedValue: zod.ZodString;
|
|
480
|
+
liquidationCollateralValue: zod.ZodString;
|
|
481
|
+
}, zod.z.core.$strip>>;
|
|
482
|
+
indexedHeight: zod.ZodNumber;
|
|
483
|
+
blockTime: zod.ZodNumber;
|
|
484
|
+
asOf: zod.ZodNumber;
|
|
485
|
+
stale: zod.ZodBoolean;
|
|
486
|
+
complete: zod.ZodBoolean;
|
|
487
|
+
unavailableAccounts: zod.ZodNumber;
|
|
488
|
+
}, zod.z.core.$strip>;
|
|
420
489
|
/**
|
|
421
490
|
* @summary List lending liquidations
|
|
422
491
|
*/
|
|
@@ -699,7 +768,6 @@ export declare const GetMarginPositionResponse: zod.ZodObject<{
|
|
|
699
768
|
healthError: zod.ZodNullable<zod.ZodString>;
|
|
700
769
|
effectiveLeverage: zod.ZodNullable<zod.ZodString>;
|
|
701
770
|
liquidationPrice: zod.ZodNullable<zod.ZodString>;
|
|
702
|
-
pendingSettlementCount: zod.ZodNumber;
|
|
703
771
|
oracleUpdatedAt: zod.ZodNullable<zod.ZodNumber>;
|
|
704
772
|
asOf: zod.ZodNumber;
|
|
705
773
|
indexedHeight: zod.ZodNumber;
|
|
@@ -737,7 +805,6 @@ export declare const ListMarginActivityQueryParams: zod.ZodObject<{
|
|
|
737
805
|
"repay.manual": "repay.manual";
|
|
738
806
|
"repay.skipped": "repay.skipped";
|
|
739
807
|
settlement: "settlement";
|
|
740
|
-
settlementDeferred: "settlementDeferred";
|
|
741
808
|
forceCancel: "forceCancel";
|
|
742
809
|
}>>>;
|
|
743
810
|
denom: zod.ZodOptional<zod.ZodString>;
|
|
@@ -762,7 +829,6 @@ export declare const ListMarginActivityResponse: zod.ZodObject<{
|
|
|
762
829
|
"repay.manual": "repay.manual";
|
|
763
830
|
"repay.skipped": "repay.skipped";
|
|
764
831
|
settlement: "settlement";
|
|
765
|
-
settlementDeferred: "settlementDeferred";
|
|
766
832
|
forceCancel: "forceCancel";
|
|
767
833
|
}>;
|
|
768
834
|
account: zod.ZodString;
|
|
@@ -1373,11 +1439,24 @@ execution (`info.twap_id` set), both `type: twap`; `status`, `since`
|
|
|
1373
1439
|
(by `start_time`) and the cursor apply to parents too. A parent's
|
|
1374
1440
|
`amount`/`filled`/`remaining` derive from its escrow and its slices'
|
|
1375
1441
|
trades; a buy parent's `amount` tracks the executed base size and
|
|
1376
|
-
`info.twap.total_deposit` carries the quote budget.
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1442
|
+
`info.twap.total_deposit` carries the quote budget. A slice belongs
|
|
1443
|
+
to the parent its order id encodes (same market, block and tx).
|
|
1444
|
+
Only when that parent row is missing does it fall back to the parent
|
|
1445
|
+
whose (orderer, market, `start_time`..`deadline` + 2 min) window
|
|
1446
|
+
contains it, the newest winning when windows overlap. Either way no
|
|
1447
|
+
fill is counted twice.
|
|
1448
|
+
|
|
1449
|
+
Conditional (stop / take-profit) orders appear as the parent the user
|
|
1450
|
+
placed, `type: stop_limit` or `stop_market` with `triggerPrice` and
|
|
1451
|
+
`info.conditional` set. A parent never fills: while it waits it is
|
|
1452
|
+
`open`; once it fires it is `closed` (`close_reason:
|
|
1453
|
+
conditional_activated`) and `info.conditional.child_order_id` names the
|
|
1454
|
+
order it placed, which carries `info.parent_order_id`. The child
|
|
1455
|
+
inherits the parent's cloid, so a `cloid` filter can match both.
|
|
1456
|
+
|
|
1457
|
+
OCO / OTO / OTOCO groups add no rows: each order carries `info.links`,
|
|
1458
|
+
its edges to the other legs (active and ended). A dormant OTO exit has
|
|
1459
|
+
`info.conditional.awaiting_primary: true` until its primary fills.
|
|
1381
1460
|
|
|
1382
1461
|
* @summary List orders for an address
|
|
1383
1462
|
*/
|
|
@@ -1414,6 +1493,9 @@ export declare const listOrdersResponseInfoTwapIdRegExp: RegExp;
|
|
|
1414
1493
|
export declare const listOrdersResponseInfoTwapOneTotalDepositRegExp: RegExp;
|
|
1415
1494
|
export declare const listOrdersResponseInfoTwapOnePriceToleranceRegExp: RegExp;
|
|
1416
1495
|
export declare const listOrdersResponseInfoTwapOneWorstPriceRegExp: RegExp;
|
|
1496
|
+
export declare const listOrdersResponseInfoParentOrderIdRegExp: RegExp;
|
|
1497
|
+
export declare const listOrdersResponseInfoConditionalOneChildOrderIdRegExp: RegExp;
|
|
1498
|
+
export declare const listOrdersResponseInfoLinksItemOrderIdRegExp: RegExp;
|
|
1417
1499
|
export declare const ListOrdersResponseItem: zod.ZodObject<{
|
|
1418
1500
|
id: zod.ZodString;
|
|
1419
1501
|
clientOrderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
@@ -1430,8 +1512,10 @@ export declare const ListOrdersResponseItem: zod.ZodObject<{
|
|
|
1430
1512
|
type: zod.ZodEnum<{
|
|
1431
1513
|
unknown: "unknown";
|
|
1432
1514
|
limit: "limit";
|
|
1433
|
-
twap: "twap";
|
|
1434
1515
|
market: "market";
|
|
1516
|
+
twap: "twap";
|
|
1517
|
+
stop_limit: "stop_limit";
|
|
1518
|
+
stop_market: "stop_market";
|
|
1435
1519
|
}>;
|
|
1436
1520
|
timeInForce: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"ioc">, zod.ZodLiteral<null>]>>;
|
|
1437
1521
|
side: zod.ZodEnum<{
|
|
@@ -1468,18 +1552,23 @@ export declare const ListOrdersResponseItem: zod.ZodObject<{
|
|
|
1468
1552
|
remaining_deposit: zod.ZodString;
|
|
1469
1553
|
chain_status: zod.ZodEnum<{
|
|
1470
1554
|
unknown: "unknown";
|
|
1555
|
+
pending: "pending";
|
|
1556
|
+
closed: "closed";
|
|
1471
1557
|
open: "open";
|
|
1472
1558
|
partially_filled: "partially_filled";
|
|
1473
1559
|
filled: "filled";
|
|
1474
1560
|
cancelled: "cancelled";
|
|
1475
1561
|
expired: "expired";
|
|
1476
1562
|
triggered_pending: "triggered_pending";
|
|
1563
|
+
triggered: "triggered";
|
|
1564
|
+
activated: "activated";
|
|
1477
1565
|
}>;
|
|
1478
1566
|
chain_type: zod.ZodEnum<{
|
|
1479
1567
|
unknown: "unknown";
|
|
1480
1568
|
limit: "limit";
|
|
1481
|
-
twap: "twap";
|
|
1482
1569
|
market: "market";
|
|
1570
|
+
conditional: "conditional";
|
|
1571
|
+
twap: "twap";
|
|
1483
1572
|
}>;
|
|
1484
1573
|
close_reason: zod.ZodNullable<zod.ZodString>;
|
|
1485
1574
|
twap_id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
@@ -1496,6 +1585,49 @@ export declare const ListOrdersResponseItem: zod.ZodObject<{
|
|
|
1496
1585
|
price_tolerance: zod.ZodNullable<zod.ZodString>;
|
|
1497
1586
|
worst_price: zod.ZodNullable<zod.ZodString>;
|
|
1498
1587
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
1588
|
+
parent_order_id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1589
|
+
conditional: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
1590
|
+
trigger_above: zod.ZodBoolean;
|
|
1591
|
+
state: zod.ZodEnum<{
|
|
1592
|
+
unknown: "unknown";
|
|
1593
|
+
pending: "pending";
|
|
1594
|
+
closed: "closed";
|
|
1595
|
+
cancelled: "cancelled";
|
|
1596
|
+
expired: "expired";
|
|
1597
|
+
triggered: "triggered";
|
|
1598
|
+
activated: "activated";
|
|
1599
|
+
}>;
|
|
1600
|
+
child_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1601
|
+
triggered_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1602
|
+
activated_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1603
|
+
deposit: zod.ZodNullable<zod.ZodString>;
|
|
1604
|
+
deposit_asset: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"base">, zod.ZodLiteral<"quote">, zod.ZodLiteral<null>]>>;
|
|
1605
|
+
worst_price: zod.ZodNullable<zod.ZodString>;
|
|
1606
|
+
price_tolerance: zod.ZodNullable<zod.ZodString>;
|
|
1607
|
+
awaiting_primary: zod.ZodBoolean;
|
|
1608
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
1609
|
+
links: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1610
|
+
order_id: zod.ZodString;
|
|
1611
|
+
type: zod.ZodEnum<{
|
|
1612
|
+
unknown: "unknown";
|
|
1613
|
+
oco: "oco";
|
|
1614
|
+
oto: "oto";
|
|
1615
|
+
}>;
|
|
1616
|
+
role: zod.ZodEnum<{
|
|
1617
|
+
unknown: "unknown";
|
|
1618
|
+
primary: "primary";
|
|
1619
|
+
sibling: "sibling";
|
|
1620
|
+
exit: "exit";
|
|
1621
|
+
}>;
|
|
1622
|
+
active: zod.ZodBoolean;
|
|
1623
|
+
filled_quantity: zod.ZodNullable<zod.ZodString>;
|
|
1624
|
+
created_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1625
|
+
ended_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1626
|
+
end_reason: zod.ZodNullable<zod.ZodString>;
|
|
1627
|
+
ended_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1628
|
+
cause_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1629
|
+
replacement_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1630
|
+
}, zod.z.core.$strip>>>;
|
|
1499
1631
|
}, zod.z.core.$strip>;
|
|
1500
1632
|
}, zod.z.core.$strip>;
|
|
1501
1633
|
export declare const ListOrdersResponse: zod.ZodArray<zod.ZodObject<{
|
|
@@ -1514,8 +1646,10 @@ export declare const ListOrdersResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
1514
1646
|
type: zod.ZodEnum<{
|
|
1515
1647
|
unknown: "unknown";
|
|
1516
1648
|
limit: "limit";
|
|
1517
|
-
twap: "twap";
|
|
1518
1649
|
market: "market";
|
|
1650
|
+
twap: "twap";
|
|
1651
|
+
stop_limit: "stop_limit";
|
|
1652
|
+
stop_market: "stop_market";
|
|
1519
1653
|
}>;
|
|
1520
1654
|
timeInForce: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"ioc">, zod.ZodLiteral<null>]>>;
|
|
1521
1655
|
side: zod.ZodEnum<{
|
|
@@ -1552,18 +1686,23 @@ export declare const ListOrdersResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
1552
1686
|
remaining_deposit: zod.ZodString;
|
|
1553
1687
|
chain_status: zod.ZodEnum<{
|
|
1554
1688
|
unknown: "unknown";
|
|
1689
|
+
pending: "pending";
|
|
1690
|
+
closed: "closed";
|
|
1555
1691
|
open: "open";
|
|
1556
1692
|
partially_filled: "partially_filled";
|
|
1557
1693
|
filled: "filled";
|
|
1558
1694
|
cancelled: "cancelled";
|
|
1559
1695
|
expired: "expired";
|
|
1560
1696
|
triggered_pending: "triggered_pending";
|
|
1697
|
+
triggered: "triggered";
|
|
1698
|
+
activated: "activated";
|
|
1561
1699
|
}>;
|
|
1562
1700
|
chain_type: zod.ZodEnum<{
|
|
1563
1701
|
unknown: "unknown";
|
|
1564
1702
|
limit: "limit";
|
|
1565
|
-
twap: "twap";
|
|
1566
1703
|
market: "market";
|
|
1704
|
+
conditional: "conditional";
|
|
1705
|
+
twap: "twap";
|
|
1567
1706
|
}>;
|
|
1568
1707
|
close_reason: zod.ZodNullable<zod.ZodString>;
|
|
1569
1708
|
twap_id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
@@ -1580,6 +1719,49 @@ export declare const ListOrdersResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
1580
1719
|
price_tolerance: zod.ZodNullable<zod.ZodString>;
|
|
1581
1720
|
worst_price: zod.ZodNullable<zod.ZodString>;
|
|
1582
1721
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
1722
|
+
parent_order_id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1723
|
+
conditional: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
1724
|
+
trigger_above: zod.ZodBoolean;
|
|
1725
|
+
state: zod.ZodEnum<{
|
|
1726
|
+
unknown: "unknown";
|
|
1727
|
+
pending: "pending";
|
|
1728
|
+
closed: "closed";
|
|
1729
|
+
cancelled: "cancelled";
|
|
1730
|
+
expired: "expired";
|
|
1731
|
+
triggered: "triggered";
|
|
1732
|
+
activated: "activated";
|
|
1733
|
+
}>;
|
|
1734
|
+
child_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1735
|
+
triggered_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1736
|
+
activated_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1737
|
+
deposit: zod.ZodNullable<zod.ZodString>;
|
|
1738
|
+
deposit_asset: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"base">, zod.ZodLiteral<"quote">, zod.ZodLiteral<null>]>>;
|
|
1739
|
+
worst_price: zod.ZodNullable<zod.ZodString>;
|
|
1740
|
+
price_tolerance: zod.ZodNullable<zod.ZodString>;
|
|
1741
|
+
awaiting_primary: zod.ZodBoolean;
|
|
1742
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
1743
|
+
links: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1744
|
+
order_id: zod.ZodString;
|
|
1745
|
+
type: zod.ZodEnum<{
|
|
1746
|
+
unknown: "unknown";
|
|
1747
|
+
oco: "oco";
|
|
1748
|
+
oto: "oto";
|
|
1749
|
+
}>;
|
|
1750
|
+
role: zod.ZodEnum<{
|
|
1751
|
+
unknown: "unknown";
|
|
1752
|
+
primary: "primary";
|
|
1753
|
+
sibling: "sibling";
|
|
1754
|
+
exit: "exit";
|
|
1755
|
+
}>;
|
|
1756
|
+
active: zod.ZodBoolean;
|
|
1757
|
+
filled_quantity: zod.ZodNullable<zod.ZodString>;
|
|
1758
|
+
created_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1759
|
+
ended_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1760
|
+
end_reason: zod.ZodNullable<zod.ZodString>;
|
|
1761
|
+
ended_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1762
|
+
cause_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1763
|
+
replacement_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1764
|
+
}, zod.z.core.$strip>>>;
|
|
1583
1765
|
}, zod.z.core.$strip>;
|
|
1584
1766
|
}, zod.z.core.$strip>>;
|
|
1585
1767
|
/**
|
|
@@ -1602,6 +1784,9 @@ export declare const getOrderResponseInfoTwapIdRegExp: RegExp;
|
|
|
1602
1784
|
export declare const getOrderResponseInfoTwapOneTotalDepositRegExp: RegExp;
|
|
1603
1785
|
export declare const getOrderResponseInfoTwapOnePriceToleranceRegExp: RegExp;
|
|
1604
1786
|
export declare const getOrderResponseInfoTwapOneWorstPriceRegExp: RegExp;
|
|
1787
|
+
export declare const getOrderResponseInfoParentOrderIdRegExp: RegExp;
|
|
1788
|
+
export declare const getOrderResponseInfoConditionalOneChildOrderIdRegExp: RegExp;
|
|
1789
|
+
export declare const getOrderResponseInfoLinksItemOrderIdRegExp: RegExp;
|
|
1605
1790
|
export declare const GetOrderResponse: zod.ZodObject<{
|
|
1606
1791
|
id: zod.ZodString;
|
|
1607
1792
|
clientOrderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
@@ -1618,8 +1803,10 @@ export declare const GetOrderResponse: zod.ZodObject<{
|
|
|
1618
1803
|
type: zod.ZodEnum<{
|
|
1619
1804
|
unknown: "unknown";
|
|
1620
1805
|
limit: "limit";
|
|
1621
|
-
twap: "twap";
|
|
1622
1806
|
market: "market";
|
|
1807
|
+
twap: "twap";
|
|
1808
|
+
stop_limit: "stop_limit";
|
|
1809
|
+
stop_market: "stop_market";
|
|
1623
1810
|
}>;
|
|
1624
1811
|
timeInForce: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"ioc">, zod.ZodLiteral<null>]>>;
|
|
1625
1812
|
side: zod.ZodEnum<{
|
|
@@ -1656,18 +1843,23 @@ export declare const GetOrderResponse: zod.ZodObject<{
|
|
|
1656
1843
|
remaining_deposit: zod.ZodString;
|
|
1657
1844
|
chain_status: zod.ZodEnum<{
|
|
1658
1845
|
unknown: "unknown";
|
|
1846
|
+
pending: "pending";
|
|
1847
|
+
closed: "closed";
|
|
1659
1848
|
open: "open";
|
|
1660
1849
|
partially_filled: "partially_filled";
|
|
1661
1850
|
filled: "filled";
|
|
1662
1851
|
cancelled: "cancelled";
|
|
1663
1852
|
expired: "expired";
|
|
1664
1853
|
triggered_pending: "triggered_pending";
|
|
1854
|
+
triggered: "triggered";
|
|
1855
|
+
activated: "activated";
|
|
1665
1856
|
}>;
|
|
1666
1857
|
chain_type: zod.ZodEnum<{
|
|
1667
1858
|
unknown: "unknown";
|
|
1668
1859
|
limit: "limit";
|
|
1669
|
-
twap: "twap";
|
|
1670
1860
|
market: "market";
|
|
1861
|
+
conditional: "conditional";
|
|
1862
|
+
twap: "twap";
|
|
1671
1863
|
}>;
|
|
1672
1864
|
close_reason: zod.ZodNullable<zod.ZodString>;
|
|
1673
1865
|
twap_id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
@@ -1684,6 +1876,49 @@ export declare const GetOrderResponse: zod.ZodObject<{
|
|
|
1684
1876
|
price_tolerance: zod.ZodNullable<zod.ZodString>;
|
|
1685
1877
|
worst_price: zod.ZodNullable<zod.ZodString>;
|
|
1686
1878
|
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
1879
|
+
parent_order_id: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
1880
|
+
conditional: zod.ZodOptional<zod.ZodUnion<readonly [zod.ZodObject<{
|
|
1881
|
+
trigger_above: zod.ZodBoolean;
|
|
1882
|
+
state: zod.ZodEnum<{
|
|
1883
|
+
unknown: "unknown";
|
|
1884
|
+
pending: "pending";
|
|
1885
|
+
closed: "closed";
|
|
1886
|
+
cancelled: "cancelled";
|
|
1887
|
+
expired: "expired";
|
|
1888
|
+
triggered: "triggered";
|
|
1889
|
+
activated: "activated";
|
|
1890
|
+
}>;
|
|
1891
|
+
child_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1892
|
+
triggered_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1893
|
+
activated_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1894
|
+
deposit: zod.ZodNullable<zod.ZodString>;
|
|
1895
|
+
deposit_asset: zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"base">, zod.ZodLiteral<"quote">, zod.ZodLiteral<null>]>>;
|
|
1896
|
+
worst_price: zod.ZodNullable<zod.ZodString>;
|
|
1897
|
+
price_tolerance: zod.ZodNullable<zod.ZodString>;
|
|
1898
|
+
awaiting_primary: zod.ZodBoolean;
|
|
1899
|
+
}, zod.z.core.$strip>, zod.ZodNull]>>;
|
|
1900
|
+
links: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
1901
|
+
order_id: zod.ZodString;
|
|
1902
|
+
type: zod.ZodEnum<{
|
|
1903
|
+
unknown: "unknown";
|
|
1904
|
+
oco: "oco";
|
|
1905
|
+
oto: "oto";
|
|
1906
|
+
}>;
|
|
1907
|
+
role: zod.ZodEnum<{
|
|
1908
|
+
unknown: "unknown";
|
|
1909
|
+
primary: "primary";
|
|
1910
|
+
sibling: "sibling";
|
|
1911
|
+
exit: "exit";
|
|
1912
|
+
}>;
|
|
1913
|
+
active: zod.ZodBoolean;
|
|
1914
|
+
filled_quantity: zod.ZodNullable<zod.ZodString>;
|
|
1915
|
+
created_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1916
|
+
ended_at: zod.ZodNullable<zod.ZodNumber>;
|
|
1917
|
+
end_reason: zod.ZodNullable<zod.ZodString>;
|
|
1918
|
+
ended_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1919
|
+
cause_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1920
|
+
replacement_order_id: zod.ZodNullable<zod.ZodString>;
|
|
1921
|
+
}, zod.z.core.$strip>>>;
|
|
1687
1922
|
}, zod.z.core.$strip>;
|
|
1688
1923
|
}, zod.z.core.$strip>;
|
|
1689
1924
|
/**
|
|
@@ -1795,6 +2030,12 @@ export declare const ListMyTradesResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
1795
2030
|
* Returns the balance object with `free`, `used`, `total`
|
|
1796
2031
|
dictionaries plus per-currency entries.
|
|
1797
2032
|
|
|
2033
|
+
`free` is the wallet balance. `used` is the escrow still held by the
|
|
2034
|
+
address's open spot orders (the sum of their remaining deposits, in
|
|
2035
|
+
each order's pay denom), and `total` is `free + used`, so placing an
|
|
2036
|
+
order moves value from `free` to `used` without changing `total`. A
|
|
2037
|
+
denom held only in open orders is reported with `free` of `0`.
|
|
2038
|
+
|
|
1798
2039
|
* @summary Get balances for an address
|
|
1799
2040
|
*/
|
|
1800
2041
|
export declare const GetBalanceQueryParams: zod.ZodObject<{
|
|
@@ -1912,10 +2153,12 @@ is a separate action the address takes itself. `isEligible: true` with
|
|
|
1912
2153
|
`code: null` is the ordinary state of someone approved who has not acted
|
|
1913
2154
|
yet.
|
|
1914
2155
|
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
2156
|
+
`referees` is a page of current relationships and historical referees
|
|
2157
|
+
recovered from commission records, ordered by address ascending. Use
|
|
2158
|
+
`limit` (default 100, max 500) and the `X-Next-Cursor` header to continue.
|
|
2159
|
+
`refereeCount` and `totalRewards` always cover the entire set, not just
|
|
2160
|
+
the returned page. Clients must follow the cursor to display everyone.
|
|
2161
|
+
Each request uses one database snapshot; pages are not a frozen export.
|
|
1919
2162
|
|
|
1920
2163
|
**`commissionRate` is what the address would earn, not what it is
|
|
1921
2164
|
earning.** It is chain-wide and reads the same whether the code has a
|
|
@@ -1936,6 +2179,11 @@ store as it changes; an unreachable database answers `503`.
|
|
|
1936
2179
|
export declare const GetReferralStatusParams: zod.ZodObject<{
|
|
1937
2180
|
address: zod.ZodString;
|
|
1938
2181
|
}, zod.z.core.$strip>;
|
|
2182
|
+
export declare const getReferralStatusQueryLimitDefault = 100;
|
|
2183
|
+
export declare const GetReferralStatusQueryParams: zod.ZodObject<{
|
|
2184
|
+
cursor: zod.ZodOptional<zod.ZodString>;
|
|
2185
|
+
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
2186
|
+
}, zod.z.core.$strip>;
|
|
1939
2187
|
export declare const GetReferralStatusResponse: zod.ZodObject<{
|
|
1940
2188
|
address: zod.ZodString;
|
|
1941
2189
|
asReferrer: zod.ZodObject<{
|
|
@@ -2001,6 +2249,18 @@ export declare const ListPerpMarketsResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
2001
2249
|
maxPositionNotional: zod.ZodString;
|
|
2002
2250
|
maxOpenInterestNotional: zod.ZodString;
|
|
2003
2251
|
}, zod.z.core.$strip>>;
|
|
2252
|
+
/**
|
|
2253
|
+
* The module-wide perpetual settings (rc.3). `minOrderQuoteAmount` is the
|
|
2254
|
+
smallest order notional the chain accepts, in human quote units.
|
|
2255
|
+
404 until the indexer has seeded the row.
|
|
2256
|
+
|
|
2257
|
+
* @summary Perpetual module parameters
|
|
2258
|
+
*/
|
|
2259
|
+
export declare const GetPerpParamsResponse: zod.ZodObject<{
|
|
2260
|
+
transferNotionalFloor: zod.ZodString;
|
|
2261
|
+
minOrderQuoteAmount: zod.ZodString;
|
|
2262
|
+
maxLiquidationCandidates: zod.ZodNumber;
|
|
2263
|
+
}, zod.z.core.$strip>;
|
|
2004
2264
|
/**
|
|
2005
2265
|
* @summary Get one perpetual market
|
|
2006
2266
|
*/
|
|
@@ -2221,7 +2481,9 @@ export declare const ListPerpCandlesResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
2221
2481
|
isClosed: zod.ZodBoolean;
|
|
2222
2482
|
}, zod.z.core.$strip>>;
|
|
2223
2483
|
/**
|
|
2224
|
-
*
|
|
2484
|
+
* Funding rates emitted by the chain, newest first. Pages on
|
|
2485
|
+
`(block_height, event_index)`.
|
|
2486
|
+
|
|
2225
2487
|
* @summary Perpetual funding history
|
|
2226
2488
|
*/
|
|
2227
2489
|
export declare const listPerpFundingHistoryPathMarketIdRegExp: RegExp;
|
|
@@ -2239,22 +2501,16 @@ export declare const ListPerpFundingHistoryQueryParams: zod.ZodObject<{
|
|
|
2239
2501
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
2240
2502
|
}, zod.z.core.$strip>;
|
|
2241
2503
|
export declare const ListPerpFundingHistoryResponseItem: zod.ZodObject<{
|
|
2504
|
+
id: zod.ZodString;
|
|
2505
|
+
timestamp: zod.ZodNumber;
|
|
2242
2506
|
marketId: zod.ZodString;
|
|
2243
|
-
|
|
2244
|
-
windowEnd: zod.ZodNumber;
|
|
2245
|
-
settledAt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2246
|
-
hourlyRate: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2247
|
-
status: zod.ZodString;
|
|
2248
|
-
reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2507
|
+
fundingRate: zod.ZodString;
|
|
2249
2508
|
}, zod.z.core.$strip>;
|
|
2250
2509
|
export declare const ListPerpFundingHistoryResponse: zod.ZodArray<zod.ZodObject<{
|
|
2510
|
+
id: zod.ZodString;
|
|
2511
|
+
timestamp: zod.ZodNumber;
|
|
2251
2512
|
marketId: zod.ZodString;
|
|
2252
|
-
|
|
2253
|
-
windowEnd: zod.ZodNumber;
|
|
2254
|
-
settledAt: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2255
|
-
hourlyRate: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2256
|
-
status: zod.ZodString;
|
|
2257
|
-
reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2513
|
+
fundingRate: zod.ZodString;
|
|
2258
2514
|
}, zod.z.core.$strip>>;
|
|
2259
2515
|
/**
|
|
2260
2516
|
* The owner's derived trading accounts (one cross, one per isolated
|
|
@@ -2372,7 +2628,11 @@ export declare const ListPerpMarginConfigsResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
2372
2628
|
}, zod.z.core.$strip>>;
|
|
2373
2629
|
/**
|
|
2374
2630
|
* Open and closed orders, newest first. Pages on
|
|
2375
|
-
`(block_height, tx_index, id)` like `/orders`.
|
|
2631
|
+
`(block_height, tx_index, id)` like `/orders`. Conditional and TWAP
|
|
2632
|
+
parents list next to the orders they place: a parent has
|
|
2633
|
+
`conditional` or `twap` set, a slice execution `twapId`. A TWAP
|
|
2634
|
+
parent has no account (each slice picks one), so `accountId` drops
|
|
2635
|
+
TWAP parents.
|
|
2376
2636
|
|
|
2377
2637
|
* @summary Perpetual orders of an owner
|
|
2378
2638
|
*/
|
|
@@ -2427,6 +2687,63 @@ export declare const ListPerpOrdersResponseItem: zod.ZodObject<{
|
|
|
2427
2687
|
createdAt: zod.ZodNumber;
|
|
2428
2688
|
deadline: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2429
2689
|
fillHistoryComplete: zod.ZodBoolean;
|
|
2690
|
+
parentOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2691
|
+
conditional: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2692
|
+
orderType: zod.ZodEnum<{
|
|
2693
|
+
unknown: "unknown";
|
|
2694
|
+
limit: "limit";
|
|
2695
|
+
market: "market";
|
|
2696
|
+
twap: "twap";
|
|
2697
|
+
}>;
|
|
2698
|
+
triggerPrice: zod.ZodString;
|
|
2699
|
+
triggerAbove: zod.ZodBoolean;
|
|
2700
|
+
state: zod.ZodEnum<{
|
|
2701
|
+
unknown: "unknown";
|
|
2702
|
+
pending: "pending";
|
|
2703
|
+
closed: "closed";
|
|
2704
|
+
cancelled: "cancelled";
|
|
2705
|
+
expired: "expired";
|
|
2706
|
+
triggered: "triggered";
|
|
2707
|
+
activated: "activated";
|
|
2708
|
+
}>;
|
|
2709
|
+
postOnly: zod.ZodBoolean;
|
|
2710
|
+
childOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2711
|
+
triggeredAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2712
|
+
activatedAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2713
|
+
awaitingPrimary: zod.ZodBoolean;
|
|
2714
|
+
}, zod.z.core.$strip>, zod.ZodNull]>;
|
|
2715
|
+
links: zod.ZodArray<zod.ZodObject<{
|
|
2716
|
+
orderId: zod.ZodString;
|
|
2717
|
+
type: zod.ZodEnum<{
|
|
2718
|
+
unknown: "unknown";
|
|
2719
|
+
oco: "oco";
|
|
2720
|
+
oto: "oto";
|
|
2721
|
+
}>;
|
|
2722
|
+
role: zod.ZodEnum<{
|
|
2723
|
+
unknown: "unknown";
|
|
2724
|
+
primary: "primary";
|
|
2725
|
+
sibling: "sibling";
|
|
2726
|
+
exit: "exit";
|
|
2727
|
+
}>;
|
|
2728
|
+
active: zod.ZodBoolean;
|
|
2729
|
+
filledQuantity: zod.ZodNullable<zod.ZodString>;
|
|
2730
|
+
createdAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2731
|
+
endedAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2732
|
+
endReason: zod.ZodNullable<zod.ZodString>;
|
|
2733
|
+
endedOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2734
|
+
causeOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2735
|
+
replacementOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2736
|
+
}, zod.z.core.$strip>>;
|
|
2737
|
+
twapId: zod.ZodNullable<zod.ZodString>;
|
|
2738
|
+
twap: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2739
|
+
startTime: zod.ZodNumber;
|
|
2740
|
+
numSlices: zod.ZodNumber;
|
|
2741
|
+
sliceIndex: zod.ZodNullable<zod.ZodNumber>;
|
|
2742
|
+
remainingSize: zod.ZodNullable<zod.ZodString>;
|
|
2743
|
+
nextCheck: zod.ZodNullable<zod.ZodNumber>;
|
|
2744
|
+
worstPrice: zod.ZodNullable<zod.ZodString>;
|
|
2745
|
+
priceTolerance: zod.ZodNullable<zod.ZodString>;
|
|
2746
|
+
}, zod.z.core.$strip>, zod.ZodNull]>;
|
|
2430
2747
|
}, zod.z.core.$strip>;
|
|
2431
2748
|
export declare const ListPerpOrdersResponse: zod.ZodArray<zod.ZodObject<{
|
|
2432
2749
|
orderId: zod.ZodString;
|
|
@@ -2458,6 +2775,63 @@ export declare const ListPerpOrdersResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
2458
2775
|
createdAt: zod.ZodNumber;
|
|
2459
2776
|
deadline: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2460
2777
|
fillHistoryComplete: zod.ZodBoolean;
|
|
2778
|
+
parentOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2779
|
+
conditional: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2780
|
+
orderType: zod.ZodEnum<{
|
|
2781
|
+
unknown: "unknown";
|
|
2782
|
+
limit: "limit";
|
|
2783
|
+
market: "market";
|
|
2784
|
+
twap: "twap";
|
|
2785
|
+
}>;
|
|
2786
|
+
triggerPrice: zod.ZodString;
|
|
2787
|
+
triggerAbove: zod.ZodBoolean;
|
|
2788
|
+
state: zod.ZodEnum<{
|
|
2789
|
+
unknown: "unknown";
|
|
2790
|
+
pending: "pending";
|
|
2791
|
+
closed: "closed";
|
|
2792
|
+
cancelled: "cancelled";
|
|
2793
|
+
expired: "expired";
|
|
2794
|
+
triggered: "triggered";
|
|
2795
|
+
activated: "activated";
|
|
2796
|
+
}>;
|
|
2797
|
+
postOnly: zod.ZodBoolean;
|
|
2798
|
+
childOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2799
|
+
triggeredAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2800
|
+
activatedAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2801
|
+
awaitingPrimary: zod.ZodBoolean;
|
|
2802
|
+
}, zod.z.core.$strip>, zod.ZodNull]>;
|
|
2803
|
+
links: zod.ZodArray<zod.ZodObject<{
|
|
2804
|
+
orderId: zod.ZodString;
|
|
2805
|
+
type: zod.ZodEnum<{
|
|
2806
|
+
unknown: "unknown";
|
|
2807
|
+
oco: "oco";
|
|
2808
|
+
oto: "oto";
|
|
2809
|
+
}>;
|
|
2810
|
+
role: zod.ZodEnum<{
|
|
2811
|
+
unknown: "unknown";
|
|
2812
|
+
primary: "primary";
|
|
2813
|
+
sibling: "sibling";
|
|
2814
|
+
exit: "exit";
|
|
2815
|
+
}>;
|
|
2816
|
+
active: zod.ZodBoolean;
|
|
2817
|
+
filledQuantity: zod.ZodNullable<zod.ZodString>;
|
|
2818
|
+
createdAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2819
|
+
endedAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2820
|
+
endReason: zod.ZodNullable<zod.ZodString>;
|
|
2821
|
+
endedOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2822
|
+
causeOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2823
|
+
replacementOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2824
|
+
}, zod.z.core.$strip>>;
|
|
2825
|
+
twapId: zod.ZodNullable<zod.ZodString>;
|
|
2826
|
+
twap: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2827
|
+
startTime: zod.ZodNumber;
|
|
2828
|
+
numSlices: zod.ZodNumber;
|
|
2829
|
+
sliceIndex: zod.ZodNullable<zod.ZodNumber>;
|
|
2830
|
+
remainingSize: zod.ZodNullable<zod.ZodString>;
|
|
2831
|
+
nextCheck: zod.ZodNullable<zod.ZodNumber>;
|
|
2832
|
+
worstPrice: zod.ZodNullable<zod.ZodString>;
|
|
2833
|
+
priceTolerance: zod.ZodNullable<zod.ZodString>;
|
|
2834
|
+
}, zod.z.core.$strip>, zod.ZodNull]>;
|
|
2461
2835
|
}, zod.z.core.$strip>>;
|
|
2462
2836
|
/**
|
|
2463
2837
|
* An order that exists but belongs to another owner is reported as not found.
|
|
@@ -2498,6 +2872,63 @@ export declare const GetPerpOrderResponse: zod.ZodObject<{
|
|
|
2498
2872
|
createdAt: zod.ZodNumber;
|
|
2499
2873
|
deadline: zod.ZodOptional<zod.ZodNullable<zod.ZodNumber>>;
|
|
2500
2874
|
fillHistoryComplete: zod.ZodBoolean;
|
|
2875
|
+
parentOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2876
|
+
conditional: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2877
|
+
orderType: zod.ZodEnum<{
|
|
2878
|
+
unknown: "unknown";
|
|
2879
|
+
limit: "limit";
|
|
2880
|
+
market: "market";
|
|
2881
|
+
twap: "twap";
|
|
2882
|
+
}>;
|
|
2883
|
+
triggerPrice: zod.ZodString;
|
|
2884
|
+
triggerAbove: zod.ZodBoolean;
|
|
2885
|
+
state: zod.ZodEnum<{
|
|
2886
|
+
unknown: "unknown";
|
|
2887
|
+
pending: "pending";
|
|
2888
|
+
closed: "closed";
|
|
2889
|
+
cancelled: "cancelled";
|
|
2890
|
+
expired: "expired";
|
|
2891
|
+
triggered: "triggered";
|
|
2892
|
+
activated: "activated";
|
|
2893
|
+
}>;
|
|
2894
|
+
postOnly: zod.ZodBoolean;
|
|
2895
|
+
childOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2896
|
+
triggeredAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2897
|
+
activatedAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2898
|
+
awaitingPrimary: zod.ZodBoolean;
|
|
2899
|
+
}, zod.z.core.$strip>, zod.ZodNull]>;
|
|
2900
|
+
links: zod.ZodArray<zod.ZodObject<{
|
|
2901
|
+
orderId: zod.ZodString;
|
|
2902
|
+
type: zod.ZodEnum<{
|
|
2903
|
+
unknown: "unknown";
|
|
2904
|
+
oco: "oco";
|
|
2905
|
+
oto: "oto";
|
|
2906
|
+
}>;
|
|
2907
|
+
role: zod.ZodEnum<{
|
|
2908
|
+
unknown: "unknown";
|
|
2909
|
+
primary: "primary";
|
|
2910
|
+
sibling: "sibling";
|
|
2911
|
+
exit: "exit";
|
|
2912
|
+
}>;
|
|
2913
|
+
active: zod.ZodBoolean;
|
|
2914
|
+
filledQuantity: zod.ZodNullable<zod.ZodString>;
|
|
2915
|
+
createdAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2916
|
+
endedAt: zod.ZodNullable<zod.ZodNumber>;
|
|
2917
|
+
endReason: zod.ZodNullable<zod.ZodString>;
|
|
2918
|
+
endedOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2919
|
+
causeOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2920
|
+
replacementOrderId: zod.ZodNullable<zod.ZodString>;
|
|
2921
|
+
}, zod.z.core.$strip>>;
|
|
2922
|
+
twapId: zod.ZodNullable<zod.ZodString>;
|
|
2923
|
+
twap: zod.ZodUnion<readonly [zod.ZodObject<{
|
|
2924
|
+
startTime: zod.ZodNumber;
|
|
2925
|
+
numSlices: zod.ZodNumber;
|
|
2926
|
+
sliceIndex: zod.ZodNullable<zod.ZodNumber>;
|
|
2927
|
+
remainingSize: zod.ZodNullable<zod.ZodString>;
|
|
2928
|
+
nextCheck: zod.ZodNullable<zod.ZodNumber>;
|
|
2929
|
+
worstPrice: zod.ZodNullable<zod.ZodString>;
|
|
2930
|
+
priceTolerance: zod.ZodNullable<zod.ZodString>;
|
|
2931
|
+
}, zod.z.core.$strip>, zod.ZodNull]>;
|
|
2501
2932
|
}, zod.z.core.$strip>;
|
|
2502
2933
|
/**
|
|
2503
2934
|
* Every fill of the owner's orders, both maker and taker legs, newest
|
|
@@ -2562,24 +2993,26 @@ export declare const ListPerpFillsResponse: zod.ZodArray<zod.ZodObject<{
|
|
|
2562
2993
|
feeDenom: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2563
2994
|
}, zod.z.core.$strip>>;
|
|
2564
2995
|
/**
|
|
2565
|
-
*
|
|
2566
|
-
|
|
2567
|
-
|
|
2996
|
+
* Deposits, withdrawals, and collateral transfers for the owner's
|
|
2997
|
+
Perp accounts, newest first. Amount is positive; `kind` identifies
|
|
2998
|
+
its direction. Pages on `(block_height, event_index)`.
|
|
2568
2999
|
|
|
2569
3000
|
* @summary Collateral ledger of an owner
|
|
2570
3001
|
*/
|
|
2571
3002
|
export declare const ListPerpLedgerParams: zod.ZodObject<{
|
|
2572
3003
|
owner: zod.ZodString;
|
|
2573
3004
|
}, zod.z.core.$strip>;
|
|
2574
|
-
export declare const listPerpLedgerQueryMarketIdRegExp: RegExp;
|
|
2575
3005
|
export declare const listPerpLedgerQueryFromMin = 0;
|
|
2576
3006
|
export declare const listPerpLedgerQueryToMin = 0;
|
|
2577
3007
|
export declare const listPerpLedgerQueryLimitDefault = 100;
|
|
2578
3008
|
export declare const listPerpLedgerQueryLimitMax = 500;
|
|
2579
3009
|
export declare const ListPerpLedgerQueryParams: zod.ZodObject<{
|
|
2580
3010
|
account_id: zod.ZodOptional<zod.ZodString>;
|
|
2581
|
-
|
|
2582
|
-
|
|
3011
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
3012
|
+
deposit: "deposit";
|
|
3013
|
+
withdraw: "withdraw";
|
|
3014
|
+
collateral_moved: "collateral_moved";
|
|
3015
|
+
}>>;
|
|
2583
3016
|
from: zod.ZodOptional<zod.ZodNumber>;
|
|
2584
3017
|
to: zod.ZodOptional<zod.ZodNumber>;
|
|
2585
3018
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -2588,31 +3021,38 @@ export declare const ListPerpLedgerQueryParams: zod.ZodObject<{
|
|
|
2588
3021
|
export declare const ListPerpLedgerResponseItem: zod.ZodObject<{
|
|
2589
3022
|
id: zod.ZodString;
|
|
2590
3023
|
timestamp: zod.ZodNumber;
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
3024
|
+
kind: zod.ZodEnum<{
|
|
3025
|
+
deposit: "deposit";
|
|
3026
|
+
withdraw: "withdraw";
|
|
3027
|
+
collateral_moved: "collateral_moved";
|
|
3028
|
+
}>;
|
|
3029
|
+
accountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3030
|
+
fromAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3031
|
+
toAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3032
|
+
collateralDenom: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2595
3033
|
amount: zod.ZodString;
|
|
2596
|
-
collateralAfter: zod.ZodNullable<zod.ZodString>;
|
|
2597
|
-
transferId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2598
|
-
counterpartyAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2599
3034
|
reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2600
3035
|
}, zod.z.core.$strip>;
|
|
2601
3036
|
export declare const ListPerpLedgerResponse: zod.ZodArray<zod.ZodObject<{
|
|
2602
3037
|
id: zod.ZodString;
|
|
2603
3038
|
timestamp: zod.ZodNumber;
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
3039
|
+
kind: zod.ZodEnum<{
|
|
3040
|
+
deposit: "deposit";
|
|
3041
|
+
withdraw: "withdraw";
|
|
3042
|
+
collateral_moved: "collateral_moved";
|
|
3043
|
+
}>;
|
|
3044
|
+
accountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3045
|
+
fromAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3046
|
+
toAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3047
|
+
collateralDenom: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2608
3048
|
amount: zod.ZodString;
|
|
2609
|
-
collateralAfter: zod.ZodNullable<zod.ZodString>;
|
|
2610
|
-
transferId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2611
|
-
counterpartyAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2612
3049
|
reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2613
3050
|
}, zod.z.core.$strip>>;
|
|
2614
3051
|
/**
|
|
2615
|
-
*
|
|
3052
|
+
* Non-zero funding settlements from position update events, newest first.
|
|
3053
|
+
Positive `amount` means the owner received collateral; negative means
|
|
3054
|
+
the owner paid. Pages on `(block_height, event_index)`.
|
|
3055
|
+
|
|
2616
3056
|
* @summary Funding payments of an owner
|
|
2617
3057
|
*/
|
|
2618
3058
|
export declare const ListPerpFundingPaymentsParams: zod.ZodObject<{
|
|
@@ -2635,23 +3075,21 @@ export declare const ListPerpFundingPaymentsResponseItem: zod.ZodObject<{
|
|
|
2635
3075
|
id: zod.ZodString;
|
|
2636
3076
|
timestamp: zod.ZodNumber;
|
|
2637
3077
|
accountId: zod.ZodString;
|
|
2638
|
-
marketId: zod.
|
|
2639
|
-
collateralDenom: zod.ZodString;
|
|
3078
|
+
marketId: zod.ZodString;
|
|
2640
3079
|
amount: zod.ZodString;
|
|
2641
|
-
collateralAfter: zod.ZodNullable<zod.ZodString>;
|
|
2642
3080
|
}, zod.z.core.$strip>;
|
|
2643
3081
|
export declare const ListPerpFundingPaymentsResponse: zod.ZodArray<zod.ZodObject<{
|
|
2644
3082
|
id: zod.ZodString;
|
|
2645
3083
|
timestamp: zod.ZodNumber;
|
|
2646
3084
|
accountId: zod.ZodString;
|
|
2647
|
-
marketId: zod.
|
|
2648
|
-
collateralDenom: zod.ZodString;
|
|
3085
|
+
marketId: zod.ZodString;
|
|
2649
3086
|
amount: zod.ZodString;
|
|
2650
|
-
collateralAfter: zod.ZodNullable<zod.ZodString>;
|
|
2651
3087
|
}, zod.z.core.$strip>>;
|
|
2652
3088
|
/**
|
|
2653
|
-
*
|
|
2654
|
-
newest first. Pages on
|
|
3089
|
+
* Liquidation risk snapshots and auto-deleveraging fills involving the
|
|
3090
|
+
owner's accounts, newest first. Pages on
|
|
3091
|
+
`(block_height, event_index)`. Liquidation events do not carry a
|
|
3092
|
+
market, so `market_id` selects ADL events only.
|
|
2655
3093
|
|
|
2656
3094
|
* @summary Liquidation and ADL history of an owner
|
|
2657
3095
|
*/
|
|
@@ -2666,7 +3104,10 @@ export declare const listPerpCloseoutsQueryLimitMax = 500;
|
|
|
2666
3104
|
export declare const ListPerpCloseoutsQueryParams: zod.ZodObject<{
|
|
2667
3105
|
account_id: zod.ZodOptional<zod.ZodString>;
|
|
2668
3106
|
market_id: zod.ZodOptional<zod.ZodString>;
|
|
2669
|
-
kind: zod.ZodOptional<zod.
|
|
3107
|
+
kind: zod.ZodOptional<zod.ZodEnum<{
|
|
3108
|
+
liquidation: "liquidation";
|
|
3109
|
+
adl: "adl";
|
|
3110
|
+
}>>;
|
|
2670
3111
|
from: zod.ZodOptional<zod.ZodNumber>;
|
|
2671
3112
|
to: zod.ZodOptional<zod.ZodNumber>;
|
|
2672
3113
|
limit: zod.ZodDefault<zod.ZodNumber>;
|
|
@@ -2675,24 +3116,52 @@ export declare const ListPerpCloseoutsQueryParams: zod.ZodObject<{
|
|
|
2675
3116
|
export declare const ListPerpCloseoutsResponseItem: zod.ZodObject<{
|
|
2676
3117
|
id: zod.ZodString;
|
|
2677
3118
|
timestamp: zod.ZodNumber;
|
|
2678
|
-
|
|
3119
|
+
kind: zod.ZodEnum<{
|
|
3120
|
+
liquidation: "liquidation";
|
|
3121
|
+
adl: "adl";
|
|
3122
|
+
}>;
|
|
3123
|
+
role: zod.ZodEnum<{
|
|
3124
|
+
account: "account";
|
|
3125
|
+
target: "target";
|
|
3126
|
+
counterparty: "counterparty";
|
|
3127
|
+
}>;
|
|
3128
|
+
accountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3129
|
+
targetAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3130
|
+
counterpartyAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2679
3131
|
marketId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2680
|
-
|
|
3132
|
+
isLong: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
3133
|
+
equity: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3134
|
+
maintenanceMargin: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2681
3135
|
orderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3136
|
+
bankruptcyPrice: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3137
|
+
markPrice: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2682
3138
|
quantity: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2683
|
-
|
|
2684
|
-
reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3139
|
+
repaidDebt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2685
3140
|
}, zod.z.core.$strip>;
|
|
2686
3141
|
export declare const ListPerpCloseoutsResponse: zod.ZodArray<zod.ZodObject<{
|
|
2687
3142
|
id: zod.ZodString;
|
|
2688
3143
|
timestamp: zod.ZodNumber;
|
|
2689
|
-
|
|
3144
|
+
kind: zod.ZodEnum<{
|
|
3145
|
+
liquidation: "liquidation";
|
|
3146
|
+
adl: "adl";
|
|
3147
|
+
}>;
|
|
3148
|
+
role: zod.ZodEnum<{
|
|
3149
|
+
account: "account";
|
|
3150
|
+
target: "target";
|
|
3151
|
+
counterparty: "counterparty";
|
|
3152
|
+
}>;
|
|
3153
|
+
accountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3154
|
+
targetAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3155
|
+
counterpartyAccountId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2690
3156
|
marketId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2691
|
-
|
|
3157
|
+
isLong: zod.ZodOptional<zod.ZodNullable<zod.ZodBoolean>>;
|
|
3158
|
+
equity: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3159
|
+
maintenanceMargin: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2692
3160
|
orderId: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3161
|
+
bankruptcyPrice: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3162
|
+
markPrice: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2693
3163
|
quantity: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2694
|
-
|
|
2695
|
-
reason: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
3164
|
+
repaidDebt: zod.ZodOptional<zod.ZodNullable<zod.ZodString>>;
|
|
2696
3165
|
}, zod.z.core.$strip>>;
|
|
2697
3166
|
/**
|
|
2698
3167
|
* @summary UDF configuration
|
|
@@ -2923,8 +3392,8 @@ export declare const ListOraclePricesResponse: zod.ZodObject<{
|
|
|
2923
3392
|
* Current state of every vault, ascending by `vaultAddress` and paged
|
|
2924
3393
|
with the opaque header cursor (see `cursor`). `tvl`, `sharePrice`,
|
|
2925
3394
|
`apr` and `apy` are written by the vault worker and are `null` until
|
|
2926
|
-
it has run. Shares are decimal strings in
|
|
2927
|
-
|
|
3395
|
+
it has run. Shares are decimal strings in raw chain units, without
|
|
3396
|
+
division by 10^18. USD valuations and APR/APY retain their units.
|
|
2928
3397
|
|
|
2929
3398
|
* @summary Public vault directory
|
|
2930
3399
|
*/
|
|
@@ -2981,8 +3450,8 @@ export declare const ListVaultsResponse: zod.ZodObject<{
|
|
|
2981
3450
|
apy: zod.ZodNullable<zod.ZodString>;
|
|
2982
3451
|
lockup: zod.ZodObject<{
|
|
2983
3452
|
type: zod.ZodEnum<{
|
|
2984
|
-
unrestricted: "unrestricted";
|
|
2985
3453
|
fundWindow: "fundWindow";
|
|
3454
|
+
unrestricted: "unrestricted";
|
|
2986
3455
|
}>;
|
|
2987
3456
|
depositOpenTime: zod.ZodOptional<zod.ZodNumber>;
|
|
2988
3457
|
depositCloseTime: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -3046,8 +3515,8 @@ export declare const GetVaultResponse: zod.ZodIntersection<zod.ZodObject<{
|
|
|
3046
3515
|
apy: zod.ZodNullable<zod.ZodString>;
|
|
3047
3516
|
lockup: zod.ZodObject<{
|
|
3048
3517
|
type: zod.ZodEnum<{
|
|
3049
|
-
unrestricted: "unrestricted";
|
|
3050
3518
|
fundWindow: "fundWindow";
|
|
3519
|
+
unrestricted: "unrestricted";
|
|
3051
3520
|
}>;
|
|
3052
3521
|
depositOpenTime: zod.ZodOptional<zod.ZodNumber>;
|
|
3053
3522
|
depositCloseTime: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -3142,6 +3611,7 @@ export declare const ListVaultActivityQueryParams: zod.ZodObject<{
|
|
|
3142
3611
|
vault_redemption_updated: "vault_redemption_updated";
|
|
3143
3612
|
vault_redemption_settled: "vault_redemption_settled";
|
|
3144
3613
|
vault_capital_transferred: "vault_capital_transferred";
|
|
3614
|
+
vault_backstop_transferred: "vault_backstop_transferred";
|
|
3145
3615
|
vault_reallocated: "vault_reallocated";
|
|
3146
3616
|
vault_management_fee_accrued: "vault_management_fee_accrued";
|
|
3147
3617
|
}>>>;
|
|
@@ -3198,10 +3668,7 @@ export declare const ListVaultRedemptionsResponse: zod.ZodObject<{
|
|
|
3198
3668
|
processing: "processing";
|
|
3199
3669
|
settled: "settled";
|
|
3200
3670
|
}>;
|
|
3201
|
-
|
|
3202
|
-
unwindRounds: zod.ZodNumber;
|
|
3203
|
-
noProgressRounds: zod.ZodNumber;
|
|
3204
|
-
lastAvailableAmount: zod.ZodString;
|
|
3671
|
+
awaitingLiquidity: zod.ZodNullable<zod.ZodBoolean>;
|
|
3205
3672
|
nextProcessHeight: zod.ZodNullable<zod.ZodNumber>;
|
|
3206
3673
|
queuedAt: zod.ZodNullable<zod.ZodNumber>;
|
|
3207
3674
|
settledAt: zod.ZodNullable<zod.ZodNumber>;
|