@crypticdot/defituna-api 4.1.3 → 4.3.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/dist/index.cjs +486 -124
- package/dist/index.d.cts +2707 -847
- package/dist/index.d.ts +2707 -847
- package/dist/index.js +464 -124
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -517,6 +517,7 @@ type LendingPositionDto = {
|
|
|
517
517
|
authority: PubkeyDto;
|
|
518
518
|
earned: TokenAmountWithUsd;
|
|
519
519
|
funds: TokenAmountWithUsd;
|
|
520
|
+
market?: null | PubkeyDto;
|
|
520
521
|
mint: PubkeyDto;
|
|
521
522
|
shares: U64Dto;
|
|
522
523
|
supplyApy: number;
|
|
@@ -531,15 +532,27 @@ type LendingPositionError500Error = {
|
|
|
531
532
|
};
|
|
532
533
|
type LendingPositionResponse = {
|
|
533
534
|
item: LendingPositionDto;
|
|
535
|
+
markets: {
|
|
536
|
+
[key: string]: MarketDto;
|
|
537
|
+
};
|
|
534
538
|
mints: {
|
|
535
539
|
[key: string]: MintDto;
|
|
536
540
|
};
|
|
541
|
+
vaults: {
|
|
542
|
+
[key: string]: VaultDto;
|
|
543
|
+
};
|
|
537
544
|
};
|
|
538
545
|
type LendingPositionsListResponse = {
|
|
539
546
|
items: Array<LendingPositionDto>;
|
|
547
|
+
markets: {
|
|
548
|
+
[key: string]: MarketDto;
|
|
549
|
+
};
|
|
540
550
|
mints: {
|
|
541
551
|
[key: string]: MintDto;
|
|
542
552
|
};
|
|
553
|
+
vaults: {
|
|
554
|
+
[key: string]: VaultDto;
|
|
555
|
+
};
|
|
543
556
|
};
|
|
544
557
|
type LimitOrderDto = {
|
|
545
558
|
aToB: boolean;
|
|
@@ -631,12 +644,21 @@ type LpPositionsListResponse = {
|
|
|
631
644
|
type MarketDto = {
|
|
632
645
|
address: PubkeyDto;
|
|
633
646
|
addressLookupTable: PubkeyDto;
|
|
647
|
+
authority?: null | PubkeyDto;
|
|
634
648
|
borrowLimitA: TokenAmountWithUsd;
|
|
635
649
|
borrowLimitB: TokenAmountWithUsd;
|
|
636
650
|
borrowedFundsA: TokenAmountWithUsd;
|
|
637
651
|
borrowedFundsB: TokenAmountWithUsd;
|
|
638
652
|
createdAt: Date;
|
|
639
653
|
disabled: boolean;
|
|
654
|
+
/**
|
|
655
|
+
* Is market permissionless?
|
|
656
|
+
*/
|
|
657
|
+
isPermissionless: boolean;
|
|
658
|
+
/**
|
|
659
|
+
* Is this permissionless market verified by DefiTuna team?
|
|
660
|
+
*/
|
|
661
|
+
isVerified: boolean;
|
|
640
662
|
liquidationFee: number;
|
|
641
663
|
liquidationThreshold: number;
|
|
642
664
|
maxLeverage: number;
|
|
@@ -648,6 +670,14 @@ type MarketDto = {
|
|
|
648
670
|
protocolFee: number;
|
|
649
671
|
protocolFeeOnCollateral: number;
|
|
650
672
|
rebalanceProtocolFee: number;
|
|
673
|
+
/**
|
|
674
|
+
* Market's Vault A for Lending
|
|
675
|
+
*/
|
|
676
|
+
vaultA: PubkeyDto;
|
|
677
|
+
/**
|
|
678
|
+
* Market's Vault B for Lending
|
|
679
|
+
*/
|
|
680
|
+
vaultB: PubkeyDto;
|
|
651
681
|
};
|
|
652
682
|
type MarketError404Error = {
|
|
653
683
|
code: 'not_found';
|
|
@@ -660,12 +690,18 @@ type MarketResponse = {
|
|
|
660
690
|
mints: {
|
|
661
691
|
[key: string]: MintDto;
|
|
662
692
|
};
|
|
693
|
+
vaults: {
|
|
694
|
+
[key: string]: VaultDto;
|
|
695
|
+
};
|
|
663
696
|
};
|
|
664
697
|
type MarketsListResponse = {
|
|
665
698
|
items: Array<MarketDto>;
|
|
666
699
|
mints: {
|
|
667
700
|
[key: string]: MintDto;
|
|
668
701
|
};
|
|
702
|
+
vaults: {
|
|
703
|
+
[key: string]: VaultDto;
|
|
704
|
+
};
|
|
669
705
|
};
|
|
670
706
|
type MintDto = {
|
|
671
707
|
address: PubkeyDto;
|
|
@@ -932,6 +968,15 @@ type PoolsError500Error = {
|
|
|
932
968
|
* - OpenAPI: `type: string`, pattern for base58, optional format
|
|
933
969
|
*/
|
|
934
970
|
type PubkeyDto = string;
|
|
971
|
+
declare const RateLimitSource: {
|
|
972
|
+
readonly INTERNAL: "internal";
|
|
973
|
+
readonly UPSTREAM: "upstream";
|
|
974
|
+
};
|
|
975
|
+
type RateLimitSource = typeof RateLimitSource[keyof typeof RateLimitSource];
|
|
976
|
+
type RetryAfterHint = {
|
|
977
|
+
retryAfterSeconds: number;
|
|
978
|
+
source: RateLimitSource;
|
|
979
|
+
};
|
|
935
980
|
type Snapshot = {
|
|
936
981
|
blockTime: Date;
|
|
937
982
|
fusionLimitOrders?: Array<LimitOrderDto> | null;
|
|
@@ -948,6 +993,9 @@ type Snapshot = {
|
|
|
948
993
|
slot: number;
|
|
949
994
|
tunaLpPositions?: Array<TunaPositionDto> | null;
|
|
950
995
|
tunaSpotPositions?: Array<TunaSpotPositionDto> | null;
|
|
996
|
+
vaults?: {
|
|
997
|
+
[key: string]: VaultDto;
|
|
998
|
+
} | null;
|
|
951
999
|
};
|
|
952
1000
|
type SnapshotContainer = {
|
|
953
1001
|
action: string;
|
|
@@ -1153,6 +1201,99 @@ type TokenAmountWithUsd = {
|
|
|
1153
1201
|
amount: U64Dto;
|
|
1154
1202
|
usd: number;
|
|
1155
1203
|
};
|
|
1204
|
+
type TokenAuditDto = {
|
|
1205
|
+
freezeAuthorityDisabled?: boolean | null;
|
|
1206
|
+
mintAuthorityDisabled?: boolean | null;
|
|
1207
|
+
topHoldersPercentage?: number | null;
|
|
1208
|
+
};
|
|
1209
|
+
type TokenFirstPoolDto = {
|
|
1210
|
+
createdAt: string;
|
|
1211
|
+
id: string;
|
|
1212
|
+
};
|
|
1213
|
+
type TokenPairPriceResponseDto = {
|
|
1214
|
+
tokenA: TokenPriceDto;
|
|
1215
|
+
tokenB: TokenPriceDto;
|
|
1216
|
+
};
|
|
1217
|
+
type TokenPriceDto = {
|
|
1218
|
+
mint: string;
|
|
1219
|
+
priceBlockId?: number | null;
|
|
1220
|
+
priceChange24h?: number | null;
|
|
1221
|
+
usdPrice: number;
|
|
1222
|
+
};
|
|
1223
|
+
type TokenSearchItemDto = {
|
|
1224
|
+
audit?: null | TokenAuditDto;
|
|
1225
|
+
circSupply?: number | null;
|
|
1226
|
+
decimals: number;
|
|
1227
|
+
fdv?: number | null;
|
|
1228
|
+
firstPool?: null | TokenFirstPoolDto;
|
|
1229
|
+
holderCount?: number | null;
|
|
1230
|
+
iconUrl?: string | null;
|
|
1231
|
+
isVerified: boolean;
|
|
1232
|
+
liquidity?: number | null;
|
|
1233
|
+
mcap?: number | null;
|
|
1234
|
+
mint: string;
|
|
1235
|
+
name: string;
|
|
1236
|
+
organicScore?: number | null;
|
|
1237
|
+
organicScoreLabel?: string | null;
|
|
1238
|
+
priceBlockId?: number | null;
|
|
1239
|
+
stats1h?: null | TokenStatsWindowDto;
|
|
1240
|
+
stats24h?: null | TokenStatsWindowDto;
|
|
1241
|
+
stats5m?: null | TokenStatsWindowDto;
|
|
1242
|
+
stats6h?: null | TokenStatsWindowDto;
|
|
1243
|
+
symbol: string;
|
|
1244
|
+
tags: Array<string>;
|
|
1245
|
+
tokenProgram?: string | null;
|
|
1246
|
+
totalSupply?: number | null;
|
|
1247
|
+
updatedAt?: string | null;
|
|
1248
|
+
usdPrice?: number | null;
|
|
1249
|
+
};
|
|
1250
|
+
type TokenSearchResponseDto = {
|
|
1251
|
+
items: Array<TokenSearchItemDto>;
|
|
1252
|
+
};
|
|
1253
|
+
type TokenStatsWindowDto = {
|
|
1254
|
+
buyOrganicVolume?: number | null;
|
|
1255
|
+
buyVolume?: number | null;
|
|
1256
|
+
liquidityChange?: number | null;
|
|
1257
|
+
numBuys?: number | null;
|
|
1258
|
+
numNetBuyers?: number | null;
|
|
1259
|
+
numOrganicBuyers?: number | null;
|
|
1260
|
+
numSells?: number | null;
|
|
1261
|
+
numTraders?: number | null;
|
|
1262
|
+
priceChange?: number | null;
|
|
1263
|
+
sellOrganicVolume?: number | null;
|
|
1264
|
+
sellVolume?: number | null;
|
|
1265
|
+
volumeChange?: number | null;
|
|
1266
|
+
};
|
|
1267
|
+
type TokensError400BadRequest = {
|
|
1268
|
+
code: 'bad_request';
|
|
1269
|
+
};
|
|
1270
|
+
type TokensError400Error = ({
|
|
1271
|
+
code: 'bad_request';
|
|
1272
|
+
} & TokensError400BadRequest) | ({
|
|
1273
|
+
code: 'invalid_body' | 'invalid_path' | 'invalid_query';
|
|
1274
|
+
} & BadRequestErrorCodeErrorBody);
|
|
1275
|
+
type TokensError404Error = {
|
|
1276
|
+
code: 'not_found';
|
|
1277
|
+
};
|
|
1278
|
+
type TokensError429Error = ({
|
|
1279
|
+
code: 'too_many_requests';
|
|
1280
|
+
} & TokensError429TooManyRequests) | ({
|
|
1281
|
+
code: 'upstream_rate_limited';
|
|
1282
|
+
} & TokensError429UpstreamRateLimited);
|
|
1283
|
+
type TokensError429TooManyRequests = {
|
|
1284
|
+
code: 'too_many_requests';
|
|
1285
|
+
data: RetryAfterHint;
|
|
1286
|
+
};
|
|
1287
|
+
type TokensError429UpstreamRateLimited = {
|
|
1288
|
+
code: 'upstream_rate_limited';
|
|
1289
|
+
data: RetryAfterHint;
|
|
1290
|
+
};
|
|
1291
|
+
type TokensError500Error = {
|
|
1292
|
+
code: 'internal_error';
|
|
1293
|
+
};
|
|
1294
|
+
type TokensError502Error = {
|
|
1295
|
+
code: 'upstream_unavailable';
|
|
1296
|
+
};
|
|
1156
1297
|
type TradableAmountDto = {
|
|
1157
1298
|
amount: U64Dto;
|
|
1158
1299
|
usd: number;
|
|
@@ -1561,12 +1702,14 @@ type ValidationErrorCodeValidationDetailsErrorBody = {
|
|
|
1561
1702
|
};
|
|
1562
1703
|
type VaultDto = {
|
|
1563
1704
|
address: PubkeyDto;
|
|
1705
|
+
authority?: null | PubkeyDto;
|
|
1564
1706
|
borrowApy: number;
|
|
1565
1707
|
borrowedFunds: TokenAmountWithUsd;
|
|
1566
1708
|
borrowedShares: U64Dto;
|
|
1567
1709
|
depositedFunds: TokenAmountWithUsd;
|
|
1568
1710
|
depositedShares: U64Dto;
|
|
1569
1711
|
interestRate: U64Dto;
|
|
1712
|
+
market?: null | PubkeyDto;
|
|
1570
1713
|
mint: PubkeyDto;
|
|
1571
1714
|
pythOracleFeedId: PubkeyDto;
|
|
1572
1715
|
pythOraclePriceUpdate: PubkeyDto;
|
|
@@ -2341,6 +2484,62 @@ type UpdateStreamSubscriptionResponses = {
|
|
|
2341
2484
|
};
|
|
2342
2485
|
};
|
|
2343
2486
|
type UpdateStreamSubscriptionResponse = UpdateStreamSubscriptionResponses[keyof UpdateStreamSubscriptionResponses];
|
|
2487
|
+
type GetPairPriceData = {
|
|
2488
|
+
body?: never;
|
|
2489
|
+
path?: never;
|
|
2490
|
+
query: {
|
|
2491
|
+
/**
|
|
2492
|
+
* Token A mint address (base58)
|
|
2493
|
+
*/
|
|
2494
|
+
tokenA: PubkeyDto;
|
|
2495
|
+
/**
|
|
2496
|
+
* Token B mint address (base58)
|
|
2497
|
+
*/
|
|
2498
|
+
tokenB: PubkeyDto;
|
|
2499
|
+
};
|
|
2500
|
+
url: '/v1/tokens/price';
|
|
2501
|
+
};
|
|
2502
|
+
type GetPairPriceErrors = {
|
|
2503
|
+
400: TokensError400Error;
|
|
2504
|
+
404: TokensError404Error;
|
|
2505
|
+
422: ValidationErrorCodeErrorBody;
|
|
2506
|
+
429: TokensError429Error;
|
|
2507
|
+
500: TokensError500Error;
|
|
2508
|
+
502: TokensError502Error;
|
|
2509
|
+
};
|
|
2510
|
+
type GetPairPriceError = GetPairPriceErrors[keyof GetPairPriceErrors];
|
|
2511
|
+
type GetPairPriceResponses = {
|
|
2512
|
+
200: {
|
|
2513
|
+
data: TokenPairPriceResponseDto;
|
|
2514
|
+
};
|
|
2515
|
+
};
|
|
2516
|
+
type GetPairPriceResponse = GetPairPriceResponses[keyof GetPairPriceResponses];
|
|
2517
|
+
type SearchTokensData = {
|
|
2518
|
+
body?: never;
|
|
2519
|
+
path?: never;
|
|
2520
|
+
query: {
|
|
2521
|
+
/**
|
|
2522
|
+
* Token search query by mint address or token name/symbol.
|
|
2523
|
+
*/
|
|
2524
|
+
q: string;
|
|
2525
|
+
};
|
|
2526
|
+
url: '/v1/tokens/search';
|
|
2527
|
+
};
|
|
2528
|
+
type SearchTokensErrors = {
|
|
2529
|
+
400: TokensError400Error;
|
|
2530
|
+
404: TokensError404Error;
|
|
2531
|
+
422: ValidationErrorCodeErrorBody;
|
|
2532
|
+
429: TokensError429Error;
|
|
2533
|
+
500: TokensError500Error;
|
|
2534
|
+
502: TokensError502Error;
|
|
2535
|
+
};
|
|
2536
|
+
type SearchTokensError = SearchTokensErrors[keyof SearchTokensErrors];
|
|
2537
|
+
type SearchTokensResponses = {
|
|
2538
|
+
200: {
|
|
2539
|
+
data: TokenSearchResponseDto;
|
|
2540
|
+
};
|
|
2541
|
+
};
|
|
2542
|
+
type SearchTokensResponse = SearchTokensResponses[keyof SearchTokensResponses];
|
|
2344
2543
|
type GetLendingPositionsData = {
|
|
2345
2544
|
body?: never;
|
|
2346
2545
|
path: {
|
|
@@ -3116,6 +3315,19 @@ declare class TunaBackendSdk extends HeyApiClient {
|
|
|
3116
3315
|
streamId: string;
|
|
3117
3316
|
subscriptionOptions: SubscriptionOptions;
|
|
3118
3317
|
}, options?: Options<never, ThrowOnError>): RequestResult<UpdateStreamSubscriptionResponses, UpdateStreamSubscriptionErrors, ThrowOnError, "fields">;
|
|
3318
|
+
/**
|
|
3319
|
+
* Get USD prices for token_a and token_b
|
|
3320
|
+
*/
|
|
3321
|
+
getPairPrice<ThrowOnError extends boolean = false>(parameters: {
|
|
3322
|
+
tokenA: PubkeyDto;
|
|
3323
|
+
tokenB: PubkeyDto;
|
|
3324
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<GetPairPriceResponses, GetPairPriceErrors, ThrowOnError, "fields">;
|
|
3325
|
+
/**
|
|
3326
|
+
* Search tokens by mint or name/symbol
|
|
3327
|
+
*/
|
|
3328
|
+
searchTokens<ThrowOnError extends boolean = false>(parameters: {
|
|
3329
|
+
q: string;
|
|
3330
|
+
}, options?: Options<never, ThrowOnError>): RequestResult<SearchTokensResponses, SearchTokensErrors, ThrowOnError, "fields">;
|
|
3119
3331
|
/**
|
|
3120
3332
|
* Request all user lending positions
|
|
3121
3333
|
*/
|
|
@@ -3593,6 +3805,17 @@ declare const zMintDto: z.ZodObject<{
|
|
|
3593
3805
|
name: z.ZodString;
|
|
3594
3806
|
symbol: z.ZodString;
|
|
3595
3807
|
}, z.core.$strip>;
|
|
3808
|
+
declare const zRateLimitSource: z.ZodEnum<{
|
|
3809
|
+
internal: "internal";
|
|
3810
|
+
upstream: "upstream";
|
|
3811
|
+
}>;
|
|
3812
|
+
declare const zRetryAfterHint: z.ZodObject<{
|
|
3813
|
+
retryAfterSeconds: z.ZodCoercedBigInt<unknown>;
|
|
3814
|
+
source: z.ZodEnum<{
|
|
3815
|
+
internal: "internal";
|
|
3816
|
+
upstream: "upstream";
|
|
3817
|
+
}>;
|
|
3818
|
+
}, z.core.$strip>;
|
|
3596
3819
|
declare const zSpotPositionError404Error: z.ZodObject<{
|
|
3597
3820
|
code: z.ZodEnum<{
|
|
3598
3821
|
not_found: "not_found";
|
|
@@ -3714,6 +3937,309 @@ declare const zPoolTicksDto: z.ZodObject<{
|
|
|
3714
3937
|
liquidity: z.ZodString;
|
|
3715
3938
|
}, z.core.$strip>>;
|
|
3716
3939
|
}, z.core.$strip>;
|
|
3940
|
+
declare const zTokenAuditDto: z.ZodObject<{
|
|
3941
|
+
freezeAuthorityDisabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3942
|
+
mintAuthorityDisabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3943
|
+
topHoldersPercentage: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3944
|
+
}, z.core.$strip>;
|
|
3945
|
+
declare const zTokenFirstPoolDto: z.ZodObject<{
|
|
3946
|
+
createdAt: z.ZodString;
|
|
3947
|
+
id: z.ZodString;
|
|
3948
|
+
}, z.core.$strip>;
|
|
3949
|
+
declare const zTokenPriceDto: z.ZodObject<{
|
|
3950
|
+
mint: z.ZodString;
|
|
3951
|
+
priceBlockId: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
3952
|
+
priceChange24h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3953
|
+
usdPrice: z.ZodNumber;
|
|
3954
|
+
}, z.core.$strip>;
|
|
3955
|
+
declare const zTokenPairPriceResponseDto: z.ZodObject<{
|
|
3956
|
+
tokenA: z.ZodObject<{
|
|
3957
|
+
mint: z.ZodString;
|
|
3958
|
+
priceBlockId: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
3959
|
+
priceChange24h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3960
|
+
usdPrice: z.ZodNumber;
|
|
3961
|
+
}, z.core.$strip>;
|
|
3962
|
+
tokenB: z.ZodObject<{
|
|
3963
|
+
mint: z.ZodString;
|
|
3964
|
+
priceBlockId: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
3965
|
+
priceChange24h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3966
|
+
usdPrice: z.ZodNumber;
|
|
3967
|
+
}, z.core.$strip>;
|
|
3968
|
+
}, z.core.$strip>;
|
|
3969
|
+
declare const zTokenStatsWindowDto: z.ZodObject<{
|
|
3970
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3971
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3972
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3973
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
3974
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
3975
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
3976
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
3977
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
3978
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3979
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3980
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3981
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3982
|
+
}, z.core.$strip>;
|
|
3983
|
+
declare const zTokenSearchItemDto: z.ZodObject<{
|
|
3984
|
+
audit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3985
|
+
freezeAuthorityDisabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3986
|
+
mintAuthorityDisabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
3987
|
+
topHoldersPercentage: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3988
|
+
}, z.core.$strip>]>>;
|
|
3989
|
+
circSupply: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3990
|
+
decimals: z.ZodInt;
|
|
3991
|
+
fdv: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
3992
|
+
firstPool: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
3993
|
+
createdAt: z.ZodString;
|
|
3994
|
+
id: z.ZodString;
|
|
3995
|
+
}, z.core.$strip>]>>;
|
|
3996
|
+
holderCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
3997
|
+
iconUrl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
3998
|
+
isVerified: z.ZodBoolean;
|
|
3999
|
+
liquidity: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4000
|
+
mcap: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4001
|
+
mint: z.ZodString;
|
|
4002
|
+
name: z.ZodString;
|
|
4003
|
+
organicScore: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4004
|
+
organicScoreLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
4005
|
+
priceBlockId: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4006
|
+
stats1h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4007
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4008
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4009
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4010
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4011
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4012
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4013
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4014
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4015
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4016
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4017
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4018
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4019
|
+
}, z.core.$strip>]>>;
|
|
4020
|
+
stats24h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4021
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4022
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4023
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4024
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4025
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4026
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4027
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4028
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4029
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4030
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4031
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4032
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4033
|
+
}, z.core.$strip>]>>;
|
|
4034
|
+
stats5m: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4035
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4036
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4037
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4038
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4039
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4040
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4041
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4042
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4043
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4044
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4045
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4046
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4047
|
+
}, z.core.$strip>]>>;
|
|
4048
|
+
stats6h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4049
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4050
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4051
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4052
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4053
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4054
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4055
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4056
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4057
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4058
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4059
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4060
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4061
|
+
}, z.core.$strip>]>>;
|
|
4062
|
+
symbol: z.ZodString;
|
|
4063
|
+
tags: z.ZodArray<z.ZodString>;
|
|
4064
|
+
tokenProgram: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
4065
|
+
totalSupply: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4066
|
+
updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
4067
|
+
usdPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4068
|
+
}, z.core.$strip>;
|
|
4069
|
+
declare const zTokenSearchResponseDto: z.ZodObject<{
|
|
4070
|
+
items: z.ZodArray<z.ZodObject<{
|
|
4071
|
+
audit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4072
|
+
freezeAuthorityDisabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4073
|
+
mintAuthorityDisabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
4074
|
+
topHoldersPercentage: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4075
|
+
}, z.core.$strip>]>>;
|
|
4076
|
+
circSupply: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4077
|
+
decimals: z.ZodInt;
|
|
4078
|
+
fdv: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4079
|
+
firstPool: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4080
|
+
createdAt: z.ZodString;
|
|
4081
|
+
id: z.ZodString;
|
|
4082
|
+
}, z.core.$strip>]>>;
|
|
4083
|
+
holderCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4084
|
+
iconUrl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
4085
|
+
isVerified: z.ZodBoolean;
|
|
4086
|
+
liquidity: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4087
|
+
mcap: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4088
|
+
mint: z.ZodString;
|
|
4089
|
+
name: z.ZodString;
|
|
4090
|
+
organicScore: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4091
|
+
organicScoreLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
4092
|
+
priceBlockId: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4093
|
+
stats1h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4094
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4095
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4096
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4097
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4098
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4099
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4100
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4101
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4102
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4103
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4104
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4105
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4106
|
+
}, z.core.$strip>]>>;
|
|
4107
|
+
stats24h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4108
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4109
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4110
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4111
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4112
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4113
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4114
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4115
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4116
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4117
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4118
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4119
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4120
|
+
}, z.core.$strip>]>>;
|
|
4121
|
+
stats5m: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4122
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4123
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4124
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4125
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4126
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4127
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4128
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4129
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4130
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4131
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4132
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4133
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4134
|
+
}, z.core.$strip>]>>;
|
|
4135
|
+
stats6h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
4136
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4137
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4138
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4139
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4140
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4141
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4142
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4143
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
4144
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4145
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4146
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4147
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4148
|
+
}, z.core.$strip>]>>;
|
|
4149
|
+
symbol: z.ZodString;
|
|
4150
|
+
tags: z.ZodArray<z.ZodString>;
|
|
4151
|
+
tokenProgram: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
4152
|
+
totalSupply: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4153
|
+
updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
4154
|
+
usdPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
4155
|
+
}, z.core.$strip>>;
|
|
4156
|
+
}, z.core.$strip>;
|
|
4157
|
+
declare const zTokensError400BadRequest: z.ZodObject<{
|
|
4158
|
+
code: z.ZodEnum<{
|
|
4159
|
+
bad_request: "bad_request";
|
|
4160
|
+
}>;
|
|
4161
|
+
}, z.core.$strip>;
|
|
4162
|
+
declare const zTokensError400Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
4163
|
+
code: z.ZodLiteral<"bad_request">;
|
|
4164
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4165
|
+
code: z.ZodEnum<{
|
|
4166
|
+
bad_request: "bad_request";
|
|
4167
|
+
}>;
|
|
4168
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
4169
|
+
code: z.ZodUnion<readonly [z.ZodLiteral<"invalid_body">, z.ZodLiteral<"invalid_path">, z.ZodLiteral<"invalid_query">]>;
|
|
4170
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4171
|
+
code: z.ZodEnum<{
|
|
4172
|
+
invalid_path: "invalid_path";
|
|
4173
|
+
invalid_query: "invalid_query";
|
|
4174
|
+
invalid_body: "invalid_body";
|
|
4175
|
+
}>;
|
|
4176
|
+
}, z.core.$strip>>]>;
|
|
4177
|
+
declare const zTokensError404Error: z.ZodObject<{
|
|
4178
|
+
code: z.ZodEnum<{
|
|
4179
|
+
not_found: "not_found";
|
|
4180
|
+
}>;
|
|
4181
|
+
}, z.core.$strip>;
|
|
4182
|
+
declare const zTokensError429TooManyRequests: z.ZodObject<{
|
|
4183
|
+
code: z.ZodEnum<{
|
|
4184
|
+
too_many_requests: "too_many_requests";
|
|
4185
|
+
}>;
|
|
4186
|
+
data: z.ZodObject<{
|
|
4187
|
+
retryAfterSeconds: z.ZodCoercedBigInt<unknown>;
|
|
4188
|
+
source: z.ZodEnum<{
|
|
4189
|
+
internal: "internal";
|
|
4190
|
+
upstream: "upstream";
|
|
4191
|
+
}>;
|
|
4192
|
+
}, z.core.$strip>;
|
|
4193
|
+
}, z.core.$strip>;
|
|
4194
|
+
declare const zTokensError429UpstreamRateLimited: z.ZodObject<{
|
|
4195
|
+
code: z.ZodEnum<{
|
|
4196
|
+
upstream_rate_limited: "upstream_rate_limited";
|
|
4197
|
+
}>;
|
|
4198
|
+
data: z.ZodObject<{
|
|
4199
|
+
retryAfterSeconds: z.ZodCoercedBigInt<unknown>;
|
|
4200
|
+
source: z.ZodEnum<{
|
|
4201
|
+
internal: "internal";
|
|
4202
|
+
upstream: "upstream";
|
|
4203
|
+
}>;
|
|
4204
|
+
}, z.core.$strip>;
|
|
4205
|
+
}, z.core.$strip>;
|
|
4206
|
+
declare const zTokensError429Error: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
4207
|
+
code: z.ZodLiteral<"too_many_requests">;
|
|
4208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4209
|
+
code: z.ZodEnum<{
|
|
4210
|
+
too_many_requests: "too_many_requests";
|
|
4211
|
+
}>;
|
|
4212
|
+
data: z.ZodObject<{
|
|
4213
|
+
retryAfterSeconds: z.ZodCoercedBigInt<unknown>;
|
|
4214
|
+
source: z.ZodEnum<{
|
|
4215
|
+
internal: "internal";
|
|
4216
|
+
upstream: "upstream";
|
|
4217
|
+
}>;
|
|
4218
|
+
}, z.core.$strip>;
|
|
4219
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
4220
|
+
code: z.ZodLiteral<"upstream_rate_limited">;
|
|
4221
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4222
|
+
code: z.ZodEnum<{
|
|
4223
|
+
upstream_rate_limited: "upstream_rate_limited";
|
|
4224
|
+
}>;
|
|
4225
|
+
data: z.ZodObject<{
|
|
4226
|
+
retryAfterSeconds: z.ZodCoercedBigInt<unknown>;
|
|
4227
|
+
source: z.ZodEnum<{
|
|
4228
|
+
internal: "internal";
|
|
4229
|
+
upstream: "upstream";
|
|
4230
|
+
}>;
|
|
4231
|
+
}, z.core.$strip>;
|
|
4232
|
+
}, z.core.$strip>>]>;
|
|
4233
|
+
declare const zTokensError500Error: z.ZodObject<{
|
|
4234
|
+
code: z.ZodEnum<{
|
|
4235
|
+
internal_error: "internal_error";
|
|
4236
|
+
}>;
|
|
4237
|
+
}, z.core.$strip>;
|
|
4238
|
+
declare const zTokensError502Error: z.ZodObject<{
|
|
4239
|
+
code: z.ZodEnum<{
|
|
4240
|
+
upstream_unavailable: "upstream_unavailable";
|
|
4241
|
+
}>;
|
|
4242
|
+
}, z.core.$strip>;
|
|
3717
4243
|
declare const zTradeHistoryAction: z.ZodEnum<{
|
|
3718
4244
|
swap: "swap";
|
|
3719
4245
|
limit_order_fill: "limit_order_fill";
|
|
@@ -4529,70 +5055,13 @@ declare const zLendingPositionDto: z.ZodObject<{
|
|
|
4529
5055
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
4530
5056
|
usd: z.ZodNumber;
|
|
4531
5057
|
}, z.core.$strip>;
|
|
5058
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
4532
5059
|
mint: z.ZodString;
|
|
4533
5060
|
shares: z.ZodCoercedBigInt<unknown>;
|
|
4534
5061
|
supplyApy: z.ZodNumber;
|
|
4535
5062
|
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
4536
5063
|
vault: z.ZodString;
|
|
4537
5064
|
}, z.core.$strip>;
|
|
4538
|
-
declare const zLendingPositionResponse: z.ZodObject<{
|
|
4539
|
-
item: z.ZodObject<{
|
|
4540
|
-
address: z.ZodString;
|
|
4541
|
-
authority: z.ZodString;
|
|
4542
|
-
earned: z.ZodObject<{
|
|
4543
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
4544
|
-
usd: z.ZodNumber;
|
|
4545
|
-
}, z.core.$strip>;
|
|
4546
|
-
funds: z.ZodObject<{
|
|
4547
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
4548
|
-
usd: z.ZodNumber;
|
|
4549
|
-
}, z.core.$strip>;
|
|
4550
|
-
mint: z.ZodString;
|
|
4551
|
-
shares: z.ZodCoercedBigInt<unknown>;
|
|
4552
|
-
supplyApy: z.ZodNumber;
|
|
4553
|
-
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
4554
|
-
vault: z.ZodString;
|
|
4555
|
-
}, z.core.$strip>;
|
|
4556
|
-
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4557
|
-
address: z.ZodString;
|
|
4558
|
-
decimals: z.ZodInt;
|
|
4559
|
-
logo: z.ZodString;
|
|
4560
|
-
logo128: z.ZodString;
|
|
4561
|
-
logo32: z.ZodString;
|
|
4562
|
-
logo64: z.ZodString;
|
|
4563
|
-
name: z.ZodString;
|
|
4564
|
-
symbol: z.ZodString;
|
|
4565
|
-
}, z.core.$strip>>;
|
|
4566
|
-
}, z.core.$strip>;
|
|
4567
|
-
declare const zLendingPositionsListResponse: z.ZodObject<{
|
|
4568
|
-
items: z.ZodArray<z.ZodObject<{
|
|
4569
|
-
address: z.ZodString;
|
|
4570
|
-
authority: z.ZodString;
|
|
4571
|
-
earned: z.ZodObject<{
|
|
4572
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
4573
|
-
usd: z.ZodNumber;
|
|
4574
|
-
}, z.core.$strip>;
|
|
4575
|
-
funds: z.ZodObject<{
|
|
4576
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
4577
|
-
usd: z.ZodNumber;
|
|
4578
|
-
}, z.core.$strip>;
|
|
4579
|
-
mint: z.ZodString;
|
|
4580
|
-
shares: z.ZodCoercedBigInt<unknown>;
|
|
4581
|
-
supplyApy: z.ZodNumber;
|
|
4582
|
-
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
4583
|
-
vault: z.ZodString;
|
|
4584
|
-
}, z.core.$strip>>;
|
|
4585
|
-
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4586
|
-
address: z.ZodString;
|
|
4587
|
-
decimals: z.ZodInt;
|
|
4588
|
-
logo: z.ZodString;
|
|
4589
|
-
logo128: z.ZodString;
|
|
4590
|
-
logo32: z.ZodString;
|
|
4591
|
-
logo64: z.ZodString;
|
|
4592
|
-
name: z.ZodString;
|
|
4593
|
-
symbol: z.ZodString;
|
|
4594
|
-
}, z.core.$strip>>;
|
|
4595
|
-
}, z.core.$strip>;
|
|
4596
5065
|
declare const zLimitOrderDto: z.ZodObject<{
|
|
4597
5066
|
aToB: z.ZodBoolean;
|
|
4598
5067
|
address: z.ZodString;
|
|
@@ -4625,6 +5094,7 @@ declare const zLimitOrderDto: z.ZodObject<{
|
|
|
4625
5094
|
declare const zMarketDto: z.ZodObject<{
|
|
4626
5095
|
address: z.ZodString;
|
|
4627
5096
|
addressLookupTable: z.ZodString;
|
|
5097
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
4628
5098
|
borrowLimitA: z.ZodObject<{
|
|
4629
5099
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
4630
5100
|
usd: z.ZodNumber;
|
|
@@ -4643,6 +5113,8 @@ declare const zMarketDto: z.ZodObject<{
|
|
|
4643
5113
|
}, z.core.$strip>;
|
|
4644
5114
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
4645
5115
|
disabled: z.ZodBoolean;
|
|
5116
|
+
isPermissionless: z.ZodBoolean;
|
|
5117
|
+
isVerified: z.ZodBoolean;
|
|
4646
5118
|
liquidationFee: z.ZodInt;
|
|
4647
5119
|
liquidationThreshold: z.ZodInt;
|
|
4648
5120
|
maxLeverage: z.ZodInt;
|
|
@@ -4686,6 +5158,8 @@ declare const zMarketDto: z.ZodObject<{
|
|
|
4686
5158
|
protocolFee: z.ZodInt;
|
|
4687
5159
|
protocolFeeOnCollateral: z.ZodInt;
|
|
4688
5160
|
rebalanceProtocolFee: z.ZodInt;
|
|
5161
|
+
vaultA: z.ZodString;
|
|
5162
|
+
vaultB: z.ZodString;
|
|
4689
5163
|
}, z.core.$strip>;
|
|
4690
5164
|
declare const zLimitOrderResponse: z.ZodObject<{
|
|
4691
5165
|
item: z.ZodObject<{
|
|
@@ -4720,6 +5194,7 @@ declare const zLimitOrderResponse: z.ZodObject<{
|
|
|
4720
5194
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4721
5195
|
address: z.ZodString;
|
|
4722
5196
|
addressLookupTable: z.ZodString;
|
|
5197
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
4723
5198
|
borrowLimitA: z.ZodObject<{
|
|
4724
5199
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
4725
5200
|
usd: z.ZodNumber;
|
|
@@ -4738,6 +5213,8 @@ declare const zLimitOrderResponse: z.ZodObject<{
|
|
|
4738
5213
|
}, z.core.$strip>;
|
|
4739
5214
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
4740
5215
|
disabled: z.ZodBoolean;
|
|
5216
|
+
isPermissionless: z.ZodBoolean;
|
|
5217
|
+
isVerified: z.ZodBoolean;
|
|
4741
5218
|
liquidationFee: z.ZodInt;
|
|
4742
5219
|
liquidationThreshold: z.ZodInt;
|
|
4743
5220
|
maxLeverage: z.ZodInt;
|
|
@@ -4781,6 +5258,8 @@ declare const zLimitOrderResponse: z.ZodObject<{
|
|
|
4781
5258
|
protocolFee: z.ZodInt;
|
|
4782
5259
|
protocolFeeOnCollateral: z.ZodInt;
|
|
4783
5260
|
rebalanceProtocolFee: z.ZodInt;
|
|
5261
|
+
vaultA: z.ZodString;
|
|
5262
|
+
vaultB: z.ZodString;
|
|
4784
5263
|
}, z.core.$strip>>;
|
|
4785
5264
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4786
5265
|
address: z.ZodString;
|
|
@@ -4826,6 +5305,7 @@ declare const zLimitOrdersListResponse: z.ZodObject<{
|
|
|
4826
5305
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4827
5306
|
address: z.ZodString;
|
|
4828
5307
|
addressLookupTable: z.ZodString;
|
|
5308
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
4829
5309
|
borrowLimitA: z.ZodObject<{
|
|
4830
5310
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
4831
5311
|
usd: z.ZodNumber;
|
|
@@ -4844,6 +5324,8 @@ declare const zLimitOrdersListResponse: z.ZodObject<{
|
|
|
4844
5324
|
}, z.core.$strip>;
|
|
4845
5325
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
4846
5326
|
disabled: z.ZodBoolean;
|
|
5327
|
+
isPermissionless: z.ZodBoolean;
|
|
5328
|
+
isVerified: z.ZodBoolean;
|
|
4847
5329
|
liquidationFee: z.ZodInt;
|
|
4848
5330
|
liquidationThreshold: z.ZodInt;
|
|
4849
5331
|
maxLeverage: z.ZodInt;
|
|
@@ -4887,6 +5369,8 @@ declare const zLimitOrdersListResponse: z.ZodObject<{
|
|
|
4887
5369
|
protocolFee: z.ZodInt;
|
|
4888
5370
|
protocolFeeOnCollateral: z.ZodInt;
|
|
4889
5371
|
rebalanceProtocolFee: z.ZodInt;
|
|
5372
|
+
vaultA: z.ZodString;
|
|
5373
|
+
vaultB: z.ZodString;
|
|
4890
5374
|
}, z.core.$strip>>;
|
|
4891
5375
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4892
5376
|
address: z.ZodString;
|
|
@@ -4937,6 +5421,7 @@ declare const zLpPositionsHistoryListResponse: z.ZodObject<{
|
|
|
4937
5421
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
4938
5422
|
address: z.ZodString;
|
|
4939
5423
|
addressLookupTable: z.ZodString;
|
|
5424
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
4940
5425
|
borrowLimitA: z.ZodObject<{
|
|
4941
5426
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
4942
5427
|
usd: z.ZodNumber;
|
|
@@ -4955,6 +5440,8 @@ declare const zLpPositionsHistoryListResponse: z.ZodObject<{
|
|
|
4955
5440
|
}, z.core.$strip>;
|
|
4956
5441
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
4957
5442
|
disabled: z.ZodBoolean;
|
|
5443
|
+
isPermissionless: z.ZodBoolean;
|
|
5444
|
+
isVerified: z.ZodBoolean;
|
|
4958
5445
|
liquidationFee: z.ZodInt;
|
|
4959
5446
|
liquidationThreshold: z.ZodInt;
|
|
4960
5447
|
maxLeverage: z.ZodInt;
|
|
@@ -4998,160 +5485,8 @@ declare const zLpPositionsHistoryListResponse: z.ZodObject<{
|
|
|
4998
5485
|
protocolFee: z.ZodInt;
|
|
4999
5486
|
protocolFeeOnCollateral: z.ZodInt;
|
|
5000
5487
|
rebalanceProtocolFee: z.ZodInt;
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
address: z.ZodString;
|
|
5004
|
-
decimals: z.ZodInt;
|
|
5005
|
-
logo: z.ZodString;
|
|
5006
|
-
logo128: z.ZodString;
|
|
5007
|
-
logo32: z.ZodString;
|
|
5008
|
-
logo64: z.ZodString;
|
|
5009
|
-
name: z.ZodString;
|
|
5010
|
-
symbol: z.ZodString;
|
|
5011
|
-
}, z.core.$strip>>;
|
|
5012
|
-
}, z.core.$strip>;
|
|
5013
|
-
declare const zMarketResponse: z.ZodObject<{
|
|
5014
|
-
item: z.ZodObject<{
|
|
5015
|
-
address: z.ZodString;
|
|
5016
|
-
addressLookupTable: z.ZodString;
|
|
5017
|
-
borrowLimitA: z.ZodObject<{
|
|
5018
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5019
|
-
usd: z.ZodNumber;
|
|
5020
|
-
}, z.core.$strip>;
|
|
5021
|
-
borrowLimitB: z.ZodObject<{
|
|
5022
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5023
|
-
usd: z.ZodNumber;
|
|
5024
|
-
}, z.core.$strip>;
|
|
5025
|
-
borrowedFundsA: z.ZodObject<{
|
|
5026
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5027
|
-
usd: z.ZodNumber;
|
|
5028
|
-
}, z.core.$strip>;
|
|
5029
|
-
borrowedFundsB: z.ZodObject<{
|
|
5030
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5031
|
-
usd: z.ZodNumber;
|
|
5032
|
-
}, z.core.$strip>;
|
|
5033
|
-
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
5034
|
-
disabled: z.ZodBoolean;
|
|
5035
|
-
liquidationFee: z.ZodInt;
|
|
5036
|
-
liquidationThreshold: z.ZodInt;
|
|
5037
|
-
maxLeverage: z.ZodInt;
|
|
5038
|
-
maxSpotPositionSizeA: z.ZodObject<{
|
|
5039
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5040
|
-
usd: z.ZodNumber;
|
|
5041
|
-
}, z.core.$strip>;
|
|
5042
|
-
maxSpotPositionSizeB: z.ZodObject<{
|
|
5043
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5044
|
-
usd: z.ZodNumber;
|
|
5045
|
-
}, z.core.$strip>;
|
|
5046
|
-
maxSwapSlippage: z.ZodInt;
|
|
5047
|
-
oraclePriceDeviationThreshold: z.ZodInt;
|
|
5048
|
-
pool: z.ZodObject<{
|
|
5049
|
-
address: z.ZodString;
|
|
5050
|
-
feeRate: z.ZodInt;
|
|
5051
|
-
liquidity: z.ZodString;
|
|
5052
|
-
mintA: z.ZodString;
|
|
5053
|
-
mintB: z.ZodString;
|
|
5054
|
-
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
5055
|
-
price: z.ZodNumber;
|
|
5056
|
-
protocolFeeRate: z.ZodInt;
|
|
5057
|
-
provider: z.ZodEnum<{
|
|
5058
|
-
orca: "orca";
|
|
5059
|
-
fusion: "fusion";
|
|
5060
|
-
}>;
|
|
5061
|
-
sqrtPrice: z.ZodString;
|
|
5062
|
-
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5063
|
-
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5064
|
-
feesUsd: z.ZodNumber;
|
|
5065
|
-
priceChange: z.ZodNumber;
|
|
5066
|
-
volumeUsd: z.ZodNumber;
|
|
5067
|
-
}, z.core.$strip>>;
|
|
5068
|
-
tvlUsd: z.ZodNumber;
|
|
5069
|
-
}, z.core.$strip>]>>;
|
|
5070
|
-
tickCurrentIndex: z.ZodInt;
|
|
5071
|
-
tickSpacing: z.ZodInt;
|
|
5072
|
-
tokenAVault: z.ZodString;
|
|
5073
|
-
tokenBVault: z.ZodString;
|
|
5074
|
-
}, z.core.$strip>;
|
|
5075
|
-
protocolFee: z.ZodInt;
|
|
5076
|
-
protocolFeeOnCollateral: z.ZodInt;
|
|
5077
|
-
rebalanceProtocolFee: z.ZodInt;
|
|
5078
|
-
}, z.core.$strip>;
|
|
5079
|
-
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5080
|
-
address: z.ZodString;
|
|
5081
|
-
decimals: z.ZodInt;
|
|
5082
|
-
logo: z.ZodString;
|
|
5083
|
-
logo128: z.ZodString;
|
|
5084
|
-
logo32: z.ZodString;
|
|
5085
|
-
logo64: z.ZodString;
|
|
5086
|
-
name: z.ZodString;
|
|
5087
|
-
symbol: z.ZodString;
|
|
5088
|
-
}, z.core.$strip>>;
|
|
5089
|
-
}, z.core.$strip>;
|
|
5090
|
-
declare const zMarketsListResponse: z.ZodObject<{
|
|
5091
|
-
items: z.ZodArray<z.ZodObject<{
|
|
5092
|
-
address: z.ZodString;
|
|
5093
|
-
addressLookupTable: z.ZodString;
|
|
5094
|
-
borrowLimitA: z.ZodObject<{
|
|
5095
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5096
|
-
usd: z.ZodNumber;
|
|
5097
|
-
}, z.core.$strip>;
|
|
5098
|
-
borrowLimitB: z.ZodObject<{
|
|
5099
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5100
|
-
usd: z.ZodNumber;
|
|
5101
|
-
}, z.core.$strip>;
|
|
5102
|
-
borrowedFundsA: z.ZodObject<{
|
|
5103
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5104
|
-
usd: z.ZodNumber;
|
|
5105
|
-
}, z.core.$strip>;
|
|
5106
|
-
borrowedFundsB: z.ZodObject<{
|
|
5107
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5108
|
-
usd: z.ZodNumber;
|
|
5109
|
-
}, z.core.$strip>;
|
|
5110
|
-
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
5111
|
-
disabled: z.ZodBoolean;
|
|
5112
|
-
liquidationFee: z.ZodInt;
|
|
5113
|
-
liquidationThreshold: z.ZodInt;
|
|
5114
|
-
maxLeverage: z.ZodInt;
|
|
5115
|
-
maxSpotPositionSizeA: z.ZodObject<{
|
|
5116
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5117
|
-
usd: z.ZodNumber;
|
|
5118
|
-
}, z.core.$strip>;
|
|
5119
|
-
maxSpotPositionSizeB: z.ZodObject<{
|
|
5120
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5121
|
-
usd: z.ZodNumber;
|
|
5122
|
-
}, z.core.$strip>;
|
|
5123
|
-
maxSwapSlippage: z.ZodInt;
|
|
5124
|
-
oraclePriceDeviationThreshold: z.ZodInt;
|
|
5125
|
-
pool: z.ZodObject<{
|
|
5126
|
-
address: z.ZodString;
|
|
5127
|
-
feeRate: z.ZodInt;
|
|
5128
|
-
liquidity: z.ZodString;
|
|
5129
|
-
mintA: z.ZodString;
|
|
5130
|
-
mintB: z.ZodString;
|
|
5131
|
-
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
5132
|
-
price: z.ZodNumber;
|
|
5133
|
-
protocolFeeRate: z.ZodInt;
|
|
5134
|
-
provider: z.ZodEnum<{
|
|
5135
|
-
orca: "orca";
|
|
5136
|
-
fusion: "fusion";
|
|
5137
|
-
}>;
|
|
5138
|
-
sqrtPrice: z.ZodString;
|
|
5139
|
-
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
5140
|
-
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5141
|
-
feesUsd: z.ZodNumber;
|
|
5142
|
-
priceChange: z.ZodNumber;
|
|
5143
|
-
volumeUsd: z.ZodNumber;
|
|
5144
|
-
}, z.core.$strip>>;
|
|
5145
|
-
tvlUsd: z.ZodNumber;
|
|
5146
|
-
}, z.core.$strip>]>>;
|
|
5147
|
-
tickCurrentIndex: z.ZodInt;
|
|
5148
|
-
tickSpacing: z.ZodInt;
|
|
5149
|
-
tokenAVault: z.ZodString;
|
|
5150
|
-
tokenBVault: z.ZodString;
|
|
5151
|
-
}, z.core.$strip>;
|
|
5152
|
-
protocolFee: z.ZodInt;
|
|
5153
|
-
protocolFeeOnCollateral: z.ZodInt;
|
|
5154
|
-
rebalanceProtocolFee: z.ZodInt;
|
|
5488
|
+
vaultA: z.ZodString;
|
|
5489
|
+
vaultB: z.ZodString;
|
|
5155
5490
|
}, z.core.$strip>>;
|
|
5156
5491
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5157
5492
|
address: z.ZodString;
|
|
@@ -5270,6 +5605,7 @@ declare const zOrderHistoryListResponse: z.ZodObject<{
|
|
|
5270
5605
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5271
5606
|
address: z.ZodString;
|
|
5272
5607
|
addressLookupTable: z.ZodString;
|
|
5608
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5273
5609
|
borrowLimitA: z.ZodObject<{
|
|
5274
5610
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
5275
5611
|
usd: z.ZodNumber;
|
|
@@ -5288,6 +5624,8 @@ declare const zOrderHistoryListResponse: z.ZodObject<{
|
|
|
5288
5624
|
}, z.core.$strip>;
|
|
5289
5625
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
5290
5626
|
disabled: z.ZodBoolean;
|
|
5627
|
+
isPermissionless: z.ZodBoolean;
|
|
5628
|
+
isVerified: z.ZodBoolean;
|
|
5291
5629
|
liquidationFee: z.ZodInt;
|
|
5292
5630
|
liquidationThreshold: z.ZodInt;
|
|
5293
5631
|
maxLeverage: z.ZodInt;
|
|
@@ -5331,6 +5669,8 @@ declare const zOrderHistoryListResponse: z.ZodObject<{
|
|
|
5331
5669
|
protocolFee: z.ZodInt;
|
|
5332
5670
|
protocolFeeOnCollateral: z.ZodInt;
|
|
5333
5671
|
rebalanceProtocolFee: z.ZodInt;
|
|
5672
|
+
vaultA: z.ZodString;
|
|
5673
|
+
vaultB: z.ZodString;
|
|
5334
5674
|
}, z.core.$strip>>;
|
|
5335
5675
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5336
5676
|
address: z.ZodString;
|
|
@@ -5398,6 +5738,7 @@ declare const zOrderHistoryNotificationResponse: z.ZodObject<{
|
|
|
5398
5738
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5399
5739
|
address: z.ZodString;
|
|
5400
5740
|
addressLookupTable: z.ZodString;
|
|
5741
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5401
5742
|
borrowLimitA: z.ZodObject<{
|
|
5402
5743
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
5403
5744
|
usd: z.ZodNumber;
|
|
@@ -5416,6 +5757,8 @@ declare const zOrderHistoryNotificationResponse: z.ZodObject<{
|
|
|
5416
5757
|
}, z.core.$strip>;
|
|
5417
5758
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
5418
5759
|
disabled: z.ZodBoolean;
|
|
5760
|
+
isPermissionless: z.ZodBoolean;
|
|
5761
|
+
isVerified: z.ZodBoolean;
|
|
5419
5762
|
liquidationFee: z.ZodInt;
|
|
5420
5763
|
liquidationThreshold: z.ZodInt;
|
|
5421
5764
|
maxLeverage: z.ZodInt;
|
|
@@ -5459,6 +5802,8 @@ declare const zOrderHistoryNotificationResponse: z.ZodObject<{
|
|
|
5459
5802
|
protocolFee: z.ZodInt;
|
|
5460
5803
|
protocolFeeOnCollateral: z.ZodInt;
|
|
5461
5804
|
rebalanceProtocolFee: z.ZodInt;
|
|
5805
|
+
vaultA: z.ZodString;
|
|
5806
|
+
vaultB: z.ZodString;
|
|
5462
5807
|
}, z.core.$strip>>;
|
|
5463
5808
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5464
5809
|
address: z.ZodString;
|
|
@@ -5471,114 +5816,6 @@ declare const zOrderHistoryNotificationResponse: z.ZodObject<{
|
|
|
5471
5816
|
symbol: z.ZodString;
|
|
5472
5817
|
}, z.core.$strip>>;
|
|
5473
5818
|
}, z.core.$strip>;
|
|
5474
|
-
declare const zSseResponseLendingPositionPayload: z.ZodObject<{
|
|
5475
|
-
action: z.ZodEnum<{
|
|
5476
|
-
create: "create";
|
|
5477
|
-
update: "update";
|
|
5478
|
-
}>;
|
|
5479
|
-
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5480
|
-
data: z.ZodObject<{
|
|
5481
|
-
item: z.ZodObject<{
|
|
5482
|
-
address: z.ZodString;
|
|
5483
|
-
authority: z.ZodString;
|
|
5484
|
-
earned: z.ZodObject<{
|
|
5485
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5486
|
-
usd: z.ZodNumber;
|
|
5487
|
-
}, z.core.$strip>;
|
|
5488
|
-
funds: z.ZodObject<{
|
|
5489
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5490
|
-
usd: z.ZodNumber;
|
|
5491
|
-
}, z.core.$strip>;
|
|
5492
|
-
mint: z.ZodString;
|
|
5493
|
-
shares: z.ZodCoercedBigInt<unknown>;
|
|
5494
|
-
supplyApy: z.ZodNumber;
|
|
5495
|
-
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
5496
|
-
vault: z.ZodString;
|
|
5497
|
-
}, z.core.$strip>;
|
|
5498
|
-
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5499
|
-
address: z.ZodString;
|
|
5500
|
-
decimals: z.ZodInt;
|
|
5501
|
-
logo: z.ZodString;
|
|
5502
|
-
logo128: z.ZodString;
|
|
5503
|
-
logo32: z.ZodString;
|
|
5504
|
-
logo64: z.ZodString;
|
|
5505
|
-
name: z.ZodString;
|
|
5506
|
-
symbol: z.ZodString;
|
|
5507
|
-
}, z.core.$strip>>;
|
|
5508
|
-
}, z.core.$strip>;
|
|
5509
|
-
entity: z.ZodEnum<{
|
|
5510
|
-
initial_message: "initial_message";
|
|
5511
|
-
pool_swap: "pool_swap";
|
|
5512
|
-
order_book: "order_book";
|
|
5513
|
-
oracle_price: "oracle_price";
|
|
5514
|
-
market: "market";
|
|
5515
|
-
tuna_position: "tuna_position";
|
|
5516
|
-
tuna_spot_position: "tuna_spot_position";
|
|
5517
|
-
staking_position: "staking_position";
|
|
5518
|
-
lending_position: "lending_position";
|
|
5519
|
-
fusion_limit_order: "fusion_limit_order";
|
|
5520
|
-
trade_history_entry: "trade_history_entry";
|
|
5521
|
-
order_history_entry: "order_history_entry";
|
|
5522
|
-
state_snapshot: "state_snapshot";
|
|
5523
|
-
}>;
|
|
5524
|
-
id: z.ZodString;
|
|
5525
|
-
}, z.core.$strip>;
|
|
5526
|
-
declare const zSseResponseLendingPosition: z.ZodIntersection<z.ZodObject<{
|
|
5527
|
-
action: z.ZodEnum<{
|
|
5528
|
-
create: "create";
|
|
5529
|
-
update: "update";
|
|
5530
|
-
}>;
|
|
5531
|
-
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5532
|
-
data: z.ZodObject<{
|
|
5533
|
-
item: z.ZodObject<{
|
|
5534
|
-
address: z.ZodString;
|
|
5535
|
-
authority: z.ZodString;
|
|
5536
|
-
earned: z.ZodObject<{
|
|
5537
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5538
|
-
usd: z.ZodNumber;
|
|
5539
|
-
}, z.core.$strip>;
|
|
5540
|
-
funds: z.ZodObject<{
|
|
5541
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
5542
|
-
usd: z.ZodNumber;
|
|
5543
|
-
}, z.core.$strip>;
|
|
5544
|
-
mint: z.ZodString;
|
|
5545
|
-
shares: z.ZodCoercedBigInt<unknown>;
|
|
5546
|
-
supplyApy: z.ZodNumber;
|
|
5547
|
-
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
5548
|
-
vault: z.ZodString;
|
|
5549
|
-
}, z.core.$strip>;
|
|
5550
|
-
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5551
|
-
address: z.ZodString;
|
|
5552
|
-
decimals: z.ZodInt;
|
|
5553
|
-
logo: z.ZodString;
|
|
5554
|
-
logo128: z.ZodString;
|
|
5555
|
-
logo32: z.ZodString;
|
|
5556
|
-
logo64: z.ZodString;
|
|
5557
|
-
name: z.ZodString;
|
|
5558
|
-
symbol: z.ZodString;
|
|
5559
|
-
}, z.core.$strip>>;
|
|
5560
|
-
}, z.core.$strip>;
|
|
5561
|
-
entity: z.ZodEnum<{
|
|
5562
|
-
initial_message: "initial_message";
|
|
5563
|
-
pool_swap: "pool_swap";
|
|
5564
|
-
order_book: "order_book";
|
|
5565
|
-
oracle_price: "oracle_price";
|
|
5566
|
-
market: "market";
|
|
5567
|
-
tuna_position: "tuna_position";
|
|
5568
|
-
tuna_spot_position: "tuna_spot_position";
|
|
5569
|
-
staking_position: "staking_position";
|
|
5570
|
-
lending_position: "lending_position";
|
|
5571
|
-
fusion_limit_order: "fusion_limit_order";
|
|
5572
|
-
trade_history_entry: "trade_history_entry";
|
|
5573
|
-
order_history_entry: "order_history_entry";
|
|
5574
|
-
state_snapshot: "state_snapshot";
|
|
5575
|
-
}>;
|
|
5576
|
-
id: z.ZodString;
|
|
5577
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5578
|
-
entity: z.ZodEnum<{
|
|
5579
|
-
lending_position: "lending_position";
|
|
5580
|
-
}>;
|
|
5581
|
-
}, z.core.$strip>>;
|
|
5582
5819
|
declare const zSseResponseOrderHistoryEntryPayload: z.ZodObject<{
|
|
5583
5820
|
action: z.ZodEnum<{
|
|
5584
5821
|
create: "create";
|
|
@@ -5640,6 +5877,7 @@ declare const zSseResponseOrderHistoryEntryPayload: z.ZodObject<{
|
|
|
5640
5877
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5641
5878
|
address: z.ZodString;
|
|
5642
5879
|
addressLookupTable: z.ZodString;
|
|
5880
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5643
5881
|
borrowLimitA: z.ZodObject<{
|
|
5644
5882
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
5645
5883
|
usd: z.ZodNumber;
|
|
@@ -5658,6 +5896,8 @@ declare const zSseResponseOrderHistoryEntryPayload: z.ZodObject<{
|
|
|
5658
5896
|
}, z.core.$strip>;
|
|
5659
5897
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
5660
5898
|
disabled: z.ZodBoolean;
|
|
5899
|
+
isPermissionless: z.ZodBoolean;
|
|
5900
|
+
isVerified: z.ZodBoolean;
|
|
5661
5901
|
liquidationFee: z.ZodInt;
|
|
5662
5902
|
liquidationThreshold: z.ZodInt;
|
|
5663
5903
|
maxLeverage: z.ZodInt;
|
|
@@ -5701,6 +5941,8 @@ declare const zSseResponseOrderHistoryEntryPayload: z.ZodObject<{
|
|
|
5701
5941
|
protocolFee: z.ZodInt;
|
|
5702
5942
|
protocolFeeOnCollateral: z.ZodInt;
|
|
5703
5943
|
rebalanceProtocolFee: z.ZodInt;
|
|
5944
|
+
vaultA: z.ZodString;
|
|
5945
|
+
vaultB: z.ZodString;
|
|
5704
5946
|
}, z.core.$strip>>;
|
|
5705
5947
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5706
5948
|
address: z.ZodString;
|
|
@@ -5791,6 +6033,7 @@ declare const zSseResponseOrderHistoryEntry: z.ZodIntersection<z.ZodObject<{
|
|
|
5791
6033
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5792
6034
|
address: z.ZodString;
|
|
5793
6035
|
addressLookupTable: z.ZodString;
|
|
6036
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5794
6037
|
borrowLimitA: z.ZodObject<{
|
|
5795
6038
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
5796
6039
|
usd: z.ZodNumber;
|
|
@@ -5809,6 +6052,8 @@ declare const zSseResponseOrderHistoryEntry: z.ZodIntersection<z.ZodObject<{
|
|
|
5809
6052
|
}, z.core.$strip>;
|
|
5810
6053
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
5811
6054
|
disabled: z.ZodBoolean;
|
|
6055
|
+
isPermissionless: z.ZodBoolean;
|
|
6056
|
+
isVerified: z.ZodBoolean;
|
|
5812
6057
|
liquidationFee: z.ZodInt;
|
|
5813
6058
|
liquidationThreshold: z.ZodInt;
|
|
5814
6059
|
maxLeverage: z.ZodInt;
|
|
@@ -5852,6 +6097,8 @@ declare const zSseResponseOrderHistoryEntry: z.ZodIntersection<z.ZodObject<{
|
|
|
5852
6097
|
protocolFee: z.ZodInt;
|
|
5853
6098
|
protocolFeeOnCollateral: z.ZodInt;
|
|
5854
6099
|
rebalanceProtocolFee: z.ZodInt;
|
|
6100
|
+
vaultA: z.ZodString;
|
|
6101
|
+
vaultB: z.ZodString;
|
|
5855
6102
|
}, z.core.$strip>>;
|
|
5856
6103
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5857
6104
|
address: z.ZodString;
|
|
@@ -5992,6 +6239,7 @@ declare const zTradeHistoryListResponse: z.ZodObject<{
|
|
|
5992
6239
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5993
6240
|
address: z.ZodString;
|
|
5994
6241
|
addressLookupTable: z.ZodString;
|
|
6242
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
5995
6243
|
borrowLimitA: z.ZodObject<{
|
|
5996
6244
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
5997
6245
|
usd: z.ZodNumber;
|
|
@@ -6010,6 +6258,8 @@ declare const zTradeHistoryListResponse: z.ZodObject<{
|
|
|
6010
6258
|
}, z.core.$strip>;
|
|
6011
6259
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
6012
6260
|
disabled: z.ZodBoolean;
|
|
6261
|
+
isPermissionless: z.ZodBoolean;
|
|
6262
|
+
isVerified: z.ZodBoolean;
|
|
6013
6263
|
liquidationFee: z.ZodInt;
|
|
6014
6264
|
liquidationThreshold: z.ZodInt;
|
|
6015
6265
|
maxLeverage: z.ZodInt;
|
|
@@ -6053,6 +6303,8 @@ declare const zTradeHistoryListResponse: z.ZodObject<{
|
|
|
6053
6303
|
protocolFee: z.ZodInt;
|
|
6054
6304
|
protocolFeeOnCollateral: z.ZodInt;
|
|
6055
6305
|
rebalanceProtocolFee: z.ZodInt;
|
|
6306
|
+
vaultA: z.ZodString;
|
|
6307
|
+
vaultB: z.ZodString;
|
|
6056
6308
|
}, z.core.$strip>>;
|
|
6057
6309
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6058
6310
|
address: z.ZodString;
|
|
@@ -6114,6 +6366,7 @@ declare const zTradeHistoryNotificationResponse: z.ZodObject<{
|
|
|
6114
6366
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6115
6367
|
address: z.ZodString;
|
|
6116
6368
|
addressLookupTable: z.ZodString;
|
|
6369
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
6117
6370
|
borrowLimitA: z.ZodObject<{
|
|
6118
6371
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
6119
6372
|
usd: z.ZodNumber;
|
|
@@ -6132,6 +6385,8 @@ declare const zTradeHistoryNotificationResponse: z.ZodObject<{
|
|
|
6132
6385
|
}, z.core.$strip>;
|
|
6133
6386
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
6134
6387
|
disabled: z.ZodBoolean;
|
|
6388
|
+
isPermissionless: z.ZodBoolean;
|
|
6389
|
+
isVerified: z.ZodBoolean;
|
|
6135
6390
|
liquidationFee: z.ZodInt;
|
|
6136
6391
|
liquidationThreshold: z.ZodInt;
|
|
6137
6392
|
maxLeverage: z.ZodInt;
|
|
@@ -6175,6 +6430,8 @@ declare const zTradeHistoryNotificationResponse: z.ZodObject<{
|
|
|
6175
6430
|
protocolFee: z.ZodInt;
|
|
6176
6431
|
protocolFeeOnCollateral: z.ZodInt;
|
|
6177
6432
|
rebalanceProtocolFee: z.ZodInt;
|
|
6433
|
+
vaultA: z.ZodString;
|
|
6434
|
+
vaultB: z.ZodString;
|
|
6178
6435
|
}, z.core.$strip>>;
|
|
6179
6436
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6180
6437
|
address: z.ZodString;
|
|
@@ -6242,6 +6499,7 @@ declare const zSseResponseTradeHistoryEntryPayload: z.ZodObject<{
|
|
|
6242
6499
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6243
6500
|
address: z.ZodString;
|
|
6244
6501
|
addressLookupTable: z.ZodString;
|
|
6502
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
6245
6503
|
borrowLimitA: z.ZodObject<{
|
|
6246
6504
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
6247
6505
|
usd: z.ZodNumber;
|
|
@@ -6260,6 +6518,8 @@ declare const zSseResponseTradeHistoryEntryPayload: z.ZodObject<{
|
|
|
6260
6518
|
}, z.core.$strip>;
|
|
6261
6519
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
6262
6520
|
disabled: z.ZodBoolean;
|
|
6521
|
+
isPermissionless: z.ZodBoolean;
|
|
6522
|
+
isVerified: z.ZodBoolean;
|
|
6263
6523
|
liquidationFee: z.ZodInt;
|
|
6264
6524
|
liquidationThreshold: z.ZodInt;
|
|
6265
6525
|
maxLeverage: z.ZodInt;
|
|
@@ -6303,6 +6563,8 @@ declare const zSseResponseTradeHistoryEntryPayload: z.ZodObject<{
|
|
|
6303
6563
|
protocolFee: z.ZodInt;
|
|
6304
6564
|
protocolFeeOnCollateral: z.ZodInt;
|
|
6305
6565
|
rebalanceProtocolFee: z.ZodInt;
|
|
6566
|
+
vaultA: z.ZodString;
|
|
6567
|
+
vaultB: z.ZodString;
|
|
6306
6568
|
}, z.core.$strip>>;
|
|
6307
6569
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6308
6570
|
address: z.ZodString;
|
|
@@ -6387,6 +6649,7 @@ declare const zSseResponseTradeHistoryEntry: z.ZodIntersection<z.ZodObject<{
|
|
|
6387
6649
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6388
6650
|
address: z.ZodString;
|
|
6389
6651
|
addressLookupTable: z.ZodString;
|
|
6652
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
6390
6653
|
borrowLimitA: z.ZodObject<{
|
|
6391
6654
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
6392
6655
|
usd: z.ZodNumber;
|
|
@@ -6405,6 +6668,8 @@ declare const zSseResponseTradeHistoryEntry: z.ZodIntersection<z.ZodObject<{
|
|
|
6405
6668
|
}, z.core.$strip>;
|
|
6406
6669
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
6407
6670
|
disabled: z.ZodBoolean;
|
|
6671
|
+
isPermissionless: z.ZodBoolean;
|
|
6672
|
+
isVerified: z.ZodBoolean;
|
|
6408
6673
|
liquidationFee: z.ZodInt;
|
|
6409
6674
|
liquidationThreshold: z.ZodInt;
|
|
6410
6675
|
maxLeverage: z.ZodInt;
|
|
@@ -6448,6 +6713,8 @@ declare const zSseResponseTradeHistoryEntry: z.ZodIntersection<z.ZodObject<{
|
|
|
6448
6713
|
protocolFee: z.ZodInt;
|
|
6449
6714
|
protocolFeeOnCollateral: z.ZodInt;
|
|
6450
6715
|
rebalanceProtocolFee: z.ZodInt;
|
|
6716
|
+
vaultA: z.ZodString;
|
|
6717
|
+
vaultB: z.ZodString;
|
|
6451
6718
|
}, z.core.$strip>>;
|
|
6452
6719
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6453
6720
|
address: z.ZodString;
|
|
@@ -6732,6 +6999,7 @@ declare const zLpPositionResponse: z.ZodObject<{
|
|
|
6732
6999
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6733
7000
|
address: z.ZodString;
|
|
6734
7001
|
addressLookupTable: z.ZodString;
|
|
7002
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
6735
7003
|
borrowLimitA: z.ZodObject<{
|
|
6736
7004
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
6737
7005
|
usd: z.ZodNumber;
|
|
@@ -6750,6 +7018,8 @@ declare const zLpPositionResponse: z.ZodObject<{
|
|
|
6750
7018
|
}, z.core.$strip>;
|
|
6751
7019
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
6752
7020
|
disabled: z.ZodBoolean;
|
|
7021
|
+
isPermissionless: z.ZodBoolean;
|
|
7022
|
+
isVerified: z.ZodBoolean;
|
|
6753
7023
|
liquidationFee: z.ZodInt;
|
|
6754
7024
|
liquidationThreshold: z.ZodInt;
|
|
6755
7025
|
maxLeverage: z.ZodInt;
|
|
@@ -6793,6 +7063,8 @@ declare const zLpPositionResponse: z.ZodObject<{
|
|
|
6793
7063
|
protocolFee: z.ZodInt;
|
|
6794
7064
|
protocolFeeOnCollateral: z.ZodInt;
|
|
6795
7065
|
rebalanceProtocolFee: z.ZodInt;
|
|
7066
|
+
vaultA: z.ZodString;
|
|
7067
|
+
vaultB: z.ZodString;
|
|
6796
7068
|
}, z.core.$strip>>;
|
|
6797
7069
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6798
7070
|
address: z.ZodString;
|
|
@@ -6923,6 +7195,7 @@ declare const zLpPositionsListResponse: z.ZodObject<{
|
|
|
6923
7195
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6924
7196
|
address: z.ZodString;
|
|
6925
7197
|
addressLookupTable: z.ZodString;
|
|
7198
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
6926
7199
|
borrowLimitA: z.ZodObject<{
|
|
6927
7200
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
6928
7201
|
usd: z.ZodNumber;
|
|
@@ -6941,6 +7214,8 @@ declare const zLpPositionsListResponse: z.ZodObject<{
|
|
|
6941
7214
|
}, z.core.$strip>;
|
|
6942
7215
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
6943
7216
|
disabled: z.ZodBoolean;
|
|
7217
|
+
isPermissionless: z.ZodBoolean;
|
|
7218
|
+
isVerified: z.ZodBoolean;
|
|
6944
7219
|
liquidationFee: z.ZodInt;
|
|
6945
7220
|
liquidationThreshold: z.ZodInt;
|
|
6946
7221
|
maxLeverage: z.ZodInt;
|
|
@@ -6984,6 +7259,8 @@ declare const zLpPositionsListResponse: z.ZodObject<{
|
|
|
6984
7259
|
protocolFee: z.ZodInt;
|
|
6985
7260
|
protocolFeeOnCollateral: z.ZodInt;
|
|
6986
7261
|
rebalanceProtocolFee: z.ZodInt;
|
|
7262
|
+
vaultA: z.ZodString;
|
|
7263
|
+
vaultB: z.ZodString;
|
|
6987
7264
|
}, z.core.$strip>>;
|
|
6988
7265
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6989
7266
|
address: z.ZodString;
|
|
@@ -7046,40 +7323,61 @@ declare const zTunaSpotPositionDto: z.ZodObject<{
|
|
|
7046
7323
|
upperLimitOrderPrice: z.ZodNumber;
|
|
7047
7324
|
version: z.ZodInt;
|
|
7048
7325
|
}, z.core.$strip>;
|
|
7049
|
-
declare const
|
|
7050
|
-
|
|
7051
|
-
fusionLimitOrders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
7052
|
-
aToB: z.ZodBoolean;
|
|
7326
|
+
declare const zSpotPositionResponse: z.ZodObject<{
|
|
7327
|
+
item: z.ZodObject<{
|
|
7053
7328
|
address: z.ZodString;
|
|
7054
|
-
|
|
7329
|
+
authority: z.ZodString;
|
|
7330
|
+
closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
|
|
7331
|
+
collateralToken: z.ZodEnum<{
|
|
7332
|
+
a: "a";
|
|
7333
|
+
b: "b";
|
|
7334
|
+
}>;
|
|
7335
|
+
currentDebt: z.ZodObject<{
|
|
7055
7336
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7056
7337
|
usd: z.ZodNumber;
|
|
7057
7338
|
}, z.core.$strip>;
|
|
7058
|
-
|
|
7339
|
+
depositedCollateral: z.ZodObject<{
|
|
7059
7340
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7060
7341
|
usd: z.ZodNumber;
|
|
7061
7342
|
}, z.core.$strip>;
|
|
7062
|
-
|
|
7063
|
-
|
|
7064
|
-
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
|
|
7343
|
+
entryPrice: z.ZodNumber;
|
|
7344
|
+
initialDebt: z.ZodObject<{
|
|
7345
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7346
|
+
usd: z.ZodNumber;
|
|
7347
|
+
}, z.core.$strip>;
|
|
7348
|
+
leverage: z.ZodNumber;
|
|
7349
|
+
liquidationPrice: z.ZodNumber;
|
|
7350
|
+
lowerLimitOrderPrice: z.ZodNumber;
|
|
7351
|
+
market: z.ZodString;
|
|
7352
|
+
marketMaker: z.ZodEnum<{
|
|
7353
|
+
orca: "orca";
|
|
7354
|
+
fusion: "fusion";
|
|
7355
|
+
}>;
|
|
7356
|
+
maxLeverage: z.ZodNumber;
|
|
7357
|
+
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7358
|
+
pnlUsd: z.ZodObject<{
|
|
7359
|
+
amount: z.ZodNumber;
|
|
7360
|
+
rate: z.ZodNumber;
|
|
7361
|
+
}, z.core.$strip>;
|
|
7362
|
+
positionToken: z.ZodEnum<{
|
|
7363
|
+
a: "a";
|
|
7364
|
+
b: "b";
|
|
7365
|
+
}>;
|
|
7366
|
+
state: z.ZodEnum<{
|
|
7072
7367
|
open: "open";
|
|
7073
|
-
|
|
7074
|
-
filled: "filled";
|
|
7075
|
-
complete: "complete";
|
|
7076
|
-
cancelled: "cancelled";
|
|
7368
|
+
closed: "closed";
|
|
7077
7369
|
}>;
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7370
|
+
total: z.ZodObject<{
|
|
7371
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7372
|
+
usd: z.ZodNumber;
|
|
7373
|
+
}, z.core.$strip>;
|
|
7374
|
+
upperLimitOrderPrice: z.ZodNumber;
|
|
7375
|
+
version: z.ZodInt;
|
|
7376
|
+
}, z.core.$strip>;
|
|
7377
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7081
7378
|
address: z.ZodString;
|
|
7082
7379
|
addressLookupTable: z.ZodString;
|
|
7380
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7083
7381
|
borrowLimitA: z.ZodObject<{
|
|
7084
7382
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7085
7383
|
usd: z.ZodNumber;
|
|
@@ -7098,6 +7396,8 @@ declare const zSnapshot: z.ZodObject<{
|
|
|
7098
7396
|
}, z.core.$strip>;
|
|
7099
7397
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7100
7398
|
disabled: z.ZodBoolean;
|
|
7399
|
+
isPermissionless: z.ZodBoolean;
|
|
7400
|
+
isVerified: z.ZodBoolean;
|
|
7101
7401
|
liquidationFee: z.ZodInt;
|
|
7102
7402
|
liquidationThreshold: z.ZodInt;
|
|
7103
7403
|
maxLeverage: z.ZodInt;
|
|
@@ -7141,8 +7441,10 @@ declare const zSnapshot: z.ZodObject<{
|
|
|
7141
7441
|
protocolFee: z.ZodInt;
|
|
7142
7442
|
protocolFeeOnCollateral: z.ZodInt;
|
|
7143
7443
|
rebalanceProtocolFee: z.ZodInt;
|
|
7144
|
-
|
|
7145
|
-
|
|
7444
|
+
vaultA: z.ZodString;
|
|
7445
|
+
vaultB: z.ZodString;
|
|
7446
|
+
}, z.core.$strip>>;
|
|
7447
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7146
7448
|
address: z.ZodString;
|
|
7147
7449
|
decimals: z.ZodInt;
|
|
7148
7450
|
logo: z.ZodString;
|
|
@@ -7151,89 +7453,32 @@ declare const zSnapshot: z.ZodObject<{
|
|
|
7151
7453
|
logo64: z.ZodString;
|
|
7152
7454
|
name: z.ZodString;
|
|
7153
7455
|
symbol: z.ZodString;
|
|
7154
|
-
}, z.core.$strip
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
askSide: z.ZodBoolean;
|
|
7159
|
-
concentratedAmount: z.ZodCoercedBigInt<unknown>;
|
|
7160
|
-
concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
7161
|
-
concentratedTotal: z.ZodCoercedBigInt<unknown>;
|
|
7162
|
-
concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
|
|
7163
|
-
limitAmount: z.ZodCoercedBigInt<unknown>;
|
|
7164
|
-
limitAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
7165
|
-
limitTotal: z.ZodCoercedBigInt<unknown>;
|
|
7166
|
-
limitTotalQuote: z.ZodCoercedBigInt<unknown>;
|
|
7167
|
-
price: z.ZodNumber;
|
|
7168
|
-
}, z.core.$strip>>;
|
|
7169
|
-
poolAddress: z.ZodString;
|
|
7170
|
-
poolPrice: z.ZodNumber;
|
|
7171
|
-
}, z.core.$strip>>, z.ZodNull]>>;
|
|
7172
|
-
slot: z.ZodCoercedBigInt<unknown>;
|
|
7173
|
-
tunaLpPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
7456
|
+
}, z.core.$strip>>;
|
|
7457
|
+
}, z.core.$strip>;
|
|
7458
|
+
declare const zSpotPositionsListResponse: z.ZodObject<{
|
|
7459
|
+
items: z.ZodArray<z.ZodObject<{
|
|
7174
7460
|
address: z.ZodString;
|
|
7175
7461
|
authority: z.ZodString;
|
|
7176
7462
|
closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
}
|
|
7181
|
-
|
|
7182
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7183
|
-
usd: z.ZodNumber;
|
|
7184
|
-
}, z.core.$strip>;
|
|
7185
|
-
currentDebtA: z.ZodObject<{
|
|
7463
|
+
collateralToken: z.ZodEnum<{
|
|
7464
|
+
a: "a";
|
|
7465
|
+
b: "b";
|
|
7466
|
+
}>;
|
|
7467
|
+
currentDebt: z.ZodObject<{
|
|
7186
7468
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7187
7469
|
usd: z.ZodNumber;
|
|
7188
7470
|
}, z.core.$strip>;
|
|
7189
|
-
|
|
7471
|
+
depositedCollateral: z.ZodObject<{
|
|
7190
7472
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7191
7473
|
usd: z.ZodNumber;
|
|
7192
7474
|
}, z.core.$strip>;
|
|
7193
|
-
depositedCollateralA: z.ZodObject<{
|
|
7194
|
-
amount: z.ZodString;
|
|
7195
|
-
usd: z.ZodNumber;
|
|
7196
|
-
}, z.core.$strip>;
|
|
7197
|
-
depositedCollateralB: z.ZodObject<{
|
|
7198
|
-
amount: z.ZodString;
|
|
7199
|
-
usd: z.ZodNumber;
|
|
7200
|
-
}, z.core.$strip>;
|
|
7201
7475
|
entryPrice: z.ZodNumber;
|
|
7202
|
-
|
|
7203
|
-
autoCompounding: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
|
|
7204
|
-
with_leverage: "with_leverage";
|
|
7205
|
-
without_leverage: "without_leverage";
|
|
7206
|
-
}>]>>;
|
|
7207
|
-
autoRebalancing: z.ZodBoolean;
|
|
7208
|
-
lowerLimitOrderSwapToToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
|
|
7209
|
-
a: "a";
|
|
7210
|
-
b: "b";
|
|
7211
|
-
}>]>>;
|
|
7212
|
-
upperLimitOrderSwapToToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
|
|
7213
|
-
a: "a";
|
|
7214
|
-
b: "b";
|
|
7215
|
-
}>]>>;
|
|
7216
|
-
}, z.core.$strip>;
|
|
7217
|
-
initialDebtA: z.ZodObject<{
|
|
7218
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7219
|
-
usd: z.ZodNumber;
|
|
7220
|
-
}, z.core.$strip>;
|
|
7221
|
-
initialDebtB: z.ZodObject<{
|
|
7222
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7223
|
-
usd: z.ZodNumber;
|
|
7224
|
-
}, z.core.$strip>;
|
|
7225
|
-
leftoversA: z.ZodObject<{
|
|
7226
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7227
|
-
usd: z.ZodNumber;
|
|
7228
|
-
}, z.core.$strip>;
|
|
7229
|
-
leftoversB: z.ZodObject<{
|
|
7476
|
+
initialDebt: z.ZodObject<{
|
|
7230
7477
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7231
7478
|
usd: z.ZodNumber;
|
|
7232
7479
|
}, z.core.$strip>;
|
|
7233
7480
|
leverage: z.ZodNumber;
|
|
7234
|
-
|
|
7235
|
-
liquidationPriceUpper: z.ZodNumber;
|
|
7236
|
-
liquidity: z.ZodString;
|
|
7481
|
+
liquidationPrice: z.ZodNumber;
|
|
7237
7482
|
lowerLimitOrderPrice: z.ZodNumber;
|
|
7238
7483
|
market: z.ZodString;
|
|
7239
7484
|
marketMaker: z.ZodEnum<{
|
|
@@ -7242,137 +7487,991 @@ declare const zSnapshot: z.ZodObject<{
|
|
|
7242
7487
|
}>;
|
|
7243
7488
|
maxLeverage: z.ZodNumber;
|
|
7244
7489
|
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7245
|
-
pnlA: z.ZodObject<{
|
|
7246
|
-
amount: z.ZodString;
|
|
7247
|
-
rate: z.ZodNumber;
|
|
7248
|
-
}, z.core.$strip>;
|
|
7249
|
-
pnlB: z.ZodObject<{
|
|
7250
|
-
amount: z.ZodString;
|
|
7251
|
-
rate: z.ZodNumber;
|
|
7252
|
-
}, z.core.$strip>;
|
|
7253
7490
|
pnlUsd: z.ZodObject<{
|
|
7254
7491
|
amount: z.ZodNumber;
|
|
7255
7492
|
rate: z.ZodNumber;
|
|
7256
7493
|
}, z.core.$strip>;
|
|
7257
|
-
|
|
7494
|
+
positionToken: z.ZodEnum<{
|
|
7495
|
+
a: "a";
|
|
7496
|
+
b: "b";
|
|
7497
|
+
}>;
|
|
7258
7498
|
state: z.ZodEnum<{
|
|
7259
7499
|
open: "open";
|
|
7260
|
-
liquidation_withdraw: "liquidation_withdraw";
|
|
7261
|
-
limit_order_withdraw: "limit_order_withdraw";
|
|
7262
7500
|
closed: "closed";
|
|
7263
|
-
liquidation_closed: "liquidation_closed";
|
|
7264
|
-
limit_order_closed: "limit_order_closed";
|
|
7265
7501
|
}>;
|
|
7266
|
-
|
|
7267
|
-
tickUpperIndex: z.ZodInt;
|
|
7268
|
-
totalA: z.ZodObject<{
|
|
7269
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7270
|
-
usd: z.ZodNumber;
|
|
7271
|
-
}, z.core.$strip>;
|
|
7272
|
-
totalB: z.ZodObject<{
|
|
7502
|
+
total: z.ZodObject<{
|
|
7273
7503
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7274
7504
|
usd: z.ZodNumber;
|
|
7275
7505
|
}, z.core.$strip>;
|
|
7276
7506
|
upperLimitOrderPrice: z.ZodNumber;
|
|
7277
7507
|
version: z.ZodInt;
|
|
7278
|
-
|
|
7508
|
+
}, z.core.$strip>>;
|
|
7509
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7510
|
+
address: z.ZodString;
|
|
7511
|
+
addressLookupTable: z.ZodString;
|
|
7512
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7513
|
+
borrowLimitA: z.ZodObject<{
|
|
7279
7514
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7280
7515
|
usd: z.ZodNumber;
|
|
7281
7516
|
}, z.core.$strip>;
|
|
7282
|
-
|
|
7517
|
+
borrowLimitB: z.ZodObject<{
|
|
7283
7518
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7284
7519
|
usd: z.ZodNumber;
|
|
7285
7520
|
}, z.core.$strip>;
|
|
7286
|
-
|
|
7287
|
-
tunaSpotPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
7288
|
-
address: z.ZodString;
|
|
7289
|
-
authority: z.ZodString;
|
|
7290
|
-
closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
|
|
7291
|
-
collateralToken: z.ZodEnum<{
|
|
7292
|
-
a: "a";
|
|
7293
|
-
b: "b";
|
|
7294
|
-
}>;
|
|
7295
|
-
currentDebt: z.ZodObject<{
|
|
7521
|
+
borrowedFundsA: z.ZodObject<{
|
|
7296
7522
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7297
7523
|
usd: z.ZodNumber;
|
|
7298
7524
|
}, z.core.$strip>;
|
|
7299
|
-
|
|
7525
|
+
borrowedFundsB: z.ZodObject<{
|
|
7300
7526
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7301
7527
|
usd: z.ZodNumber;
|
|
7302
7528
|
}, z.core.$strip>;
|
|
7303
|
-
|
|
7304
|
-
|
|
7529
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7530
|
+
disabled: z.ZodBoolean;
|
|
7531
|
+
isPermissionless: z.ZodBoolean;
|
|
7532
|
+
isVerified: z.ZodBoolean;
|
|
7533
|
+
liquidationFee: z.ZodInt;
|
|
7534
|
+
liquidationThreshold: z.ZodInt;
|
|
7535
|
+
maxLeverage: z.ZodInt;
|
|
7536
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
7305
7537
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7306
7538
|
usd: z.ZodNumber;
|
|
7307
7539
|
}, z.core.$strip>;
|
|
7308
|
-
|
|
7309
|
-
liquidationPrice: z.ZodNumber;
|
|
7310
|
-
lowerLimitOrderPrice: z.ZodNumber;
|
|
7311
|
-
market: z.ZodString;
|
|
7312
|
-
marketMaker: z.ZodEnum<{
|
|
7313
|
-
orca: "orca";
|
|
7314
|
-
fusion: "fusion";
|
|
7315
|
-
}>;
|
|
7316
|
-
maxLeverage: z.ZodNumber;
|
|
7317
|
-
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7318
|
-
pnlUsd: z.ZodObject<{
|
|
7319
|
-
amount: z.ZodNumber;
|
|
7320
|
-
rate: z.ZodNumber;
|
|
7321
|
-
}, z.core.$strip>;
|
|
7322
|
-
positionToken: z.ZodEnum<{
|
|
7323
|
-
a: "a";
|
|
7324
|
-
b: "b";
|
|
7325
|
-
}>;
|
|
7326
|
-
state: z.ZodEnum<{
|
|
7327
|
-
open: "open";
|
|
7328
|
-
closed: "closed";
|
|
7329
|
-
}>;
|
|
7330
|
-
total: z.ZodObject<{
|
|
7540
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
7331
7541
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7332
7542
|
usd: z.ZodNumber;
|
|
7333
7543
|
}, z.core.$strip>;
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
|
-
|
|
7337
|
-
}, z.core.$strip>;
|
|
7338
|
-
declare const zSnapshotContainer: z.ZodObject<{
|
|
7339
|
-
action: z.ZodString;
|
|
7340
|
-
data: z.ZodObject<{
|
|
7341
|
-
blockTime: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7342
|
-
fusionLimitOrders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
7343
|
-
aToB: z.ZodBoolean;
|
|
7544
|
+
maxSwapSlippage: z.ZodInt;
|
|
7545
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
7546
|
+
pool: z.ZodObject<{
|
|
7344
7547
|
address: z.ZodString;
|
|
7345
|
-
|
|
7346
|
-
|
|
7347
|
-
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
7351
|
-
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
7355
|
-
closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
|
|
7356
|
-
fillRatio: z.ZodNumber;
|
|
7357
|
-
id: z.ZodString;
|
|
7358
|
-
market: z.ZodString;
|
|
7359
|
-
openTxSignature: z.ZodString;
|
|
7360
|
-
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7361
|
-
orderMint: z.ZodString;
|
|
7362
|
-
state: z.ZodEnum<{
|
|
7363
|
-
open: "open";
|
|
7364
|
-
partially_filled: "partially_filled";
|
|
7365
|
-
filled: "filled";
|
|
7366
|
-
complete: "complete";
|
|
7367
|
-
cancelled: "cancelled";
|
|
7548
|
+
feeRate: z.ZodInt;
|
|
7549
|
+
liquidity: z.ZodString;
|
|
7550
|
+
mintA: z.ZodString;
|
|
7551
|
+
mintB: z.ZodString;
|
|
7552
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
7553
|
+
price: z.ZodNumber;
|
|
7554
|
+
protocolFeeRate: z.ZodInt;
|
|
7555
|
+
provider: z.ZodEnum<{
|
|
7556
|
+
orca: "orca";
|
|
7557
|
+
fusion: "fusion";
|
|
7368
7558
|
}>;
|
|
7369
|
-
|
|
7370
|
-
|
|
7371
|
-
|
|
7372
|
-
|
|
7373
|
-
|
|
7374
|
-
|
|
7375
|
-
|
|
7559
|
+
sqrtPrice: z.ZodString;
|
|
7560
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7561
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7562
|
+
feesUsd: z.ZodNumber;
|
|
7563
|
+
priceChange: z.ZodNumber;
|
|
7564
|
+
volumeUsd: z.ZodNumber;
|
|
7565
|
+
}, z.core.$strip>>;
|
|
7566
|
+
tvlUsd: z.ZodNumber;
|
|
7567
|
+
}, z.core.$strip>]>>;
|
|
7568
|
+
tickCurrentIndex: z.ZodInt;
|
|
7569
|
+
tickSpacing: z.ZodInt;
|
|
7570
|
+
tokenAVault: z.ZodString;
|
|
7571
|
+
tokenBVault: z.ZodString;
|
|
7572
|
+
}, z.core.$strip>;
|
|
7573
|
+
protocolFee: z.ZodInt;
|
|
7574
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
7575
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
7576
|
+
vaultA: z.ZodString;
|
|
7577
|
+
vaultB: z.ZodString;
|
|
7578
|
+
}, z.core.$strip>>;
|
|
7579
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7580
|
+
address: z.ZodString;
|
|
7581
|
+
decimals: z.ZodInt;
|
|
7582
|
+
logo: z.ZodString;
|
|
7583
|
+
logo128: z.ZodString;
|
|
7584
|
+
logo32: z.ZodString;
|
|
7585
|
+
logo64: z.ZodString;
|
|
7586
|
+
name: z.ZodString;
|
|
7587
|
+
symbol: z.ZodString;
|
|
7588
|
+
}, z.core.$strip>>;
|
|
7589
|
+
}, z.core.$strip>;
|
|
7590
|
+
declare const zUpdateStreamSubscriptionError404Error: z.ZodObject<{
|
|
7591
|
+
code: z.ZodEnum<{
|
|
7592
|
+
not_found: "not_found";
|
|
7593
|
+
}>;
|
|
7594
|
+
}, z.core.$strip>;
|
|
7595
|
+
declare const zUpdateStreamSubscriptionError500Error: z.ZodObject<{
|
|
7596
|
+
code: z.ZodEnum<{
|
|
7597
|
+
internal_error: "internal_error";
|
|
7598
|
+
}>;
|
|
7599
|
+
}, z.core.$strip>;
|
|
7600
|
+
declare const zValidationErrorCodeErrorBody: z.ZodObject<{
|
|
7601
|
+
code: z.ZodEnum<{
|
|
7602
|
+
validation_failed: "validation_failed";
|
|
7603
|
+
}>;
|
|
7604
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
7605
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
7606
|
+
field: z.ZodString;
|
|
7607
|
+
message: z.ZodString;
|
|
7608
|
+
}, z.core.$strip>>;
|
|
7609
|
+
}, z.core.$strip>>;
|
|
7610
|
+
}, z.core.$strip>;
|
|
7611
|
+
declare const zValidationErrorCodeValidationDetailsErrorBody: z.ZodObject<{
|
|
7612
|
+
code: z.ZodEnum<{
|
|
7613
|
+
validation_failed: "validation_failed";
|
|
7614
|
+
}>;
|
|
7615
|
+
data: z.ZodOptional<z.ZodObject<{
|
|
7616
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
7617
|
+
field: z.ZodString;
|
|
7618
|
+
message: z.ZodString;
|
|
7619
|
+
}, z.core.$strip>>;
|
|
7620
|
+
}, z.core.$strip>>;
|
|
7621
|
+
}, z.core.$strip>;
|
|
7622
|
+
declare const zVaultDto: z.ZodObject<{
|
|
7623
|
+
address: z.ZodString;
|
|
7624
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7625
|
+
borrowApy: z.ZodNumber;
|
|
7626
|
+
borrowedFunds: z.ZodObject<{
|
|
7627
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7628
|
+
usd: z.ZodNumber;
|
|
7629
|
+
}, z.core.$strip>;
|
|
7630
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
7631
|
+
depositedFunds: z.ZodObject<{
|
|
7632
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7633
|
+
usd: z.ZodNumber;
|
|
7634
|
+
}, z.core.$strip>;
|
|
7635
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
7636
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
7637
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7638
|
+
mint: z.ZodString;
|
|
7639
|
+
pythOracleFeedId: z.ZodString;
|
|
7640
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
7641
|
+
supplyApy: z.ZodNumber;
|
|
7642
|
+
supplyLimit: z.ZodObject<{
|
|
7643
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7644
|
+
usd: z.ZodNumber;
|
|
7645
|
+
}, z.core.$strip>;
|
|
7646
|
+
utilization: z.ZodNumber;
|
|
7647
|
+
}, z.core.$strip>;
|
|
7648
|
+
declare const zLendingPositionResponse: z.ZodObject<{
|
|
7649
|
+
item: z.ZodObject<{
|
|
7650
|
+
address: z.ZodString;
|
|
7651
|
+
authority: z.ZodString;
|
|
7652
|
+
earned: z.ZodObject<{
|
|
7653
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7654
|
+
usd: z.ZodNumber;
|
|
7655
|
+
}, z.core.$strip>;
|
|
7656
|
+
funds: z.ZodObject<{
|
|
7657
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7658
|
+
usd: z.ZodNumber;
|
|
7659
|
+
}, z.core.$strip>;
|
|
7660
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7661
|
+
mint: z.ZodString;
|
|
7662
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
7663
|
+
supplyApy: z.ZodNumber;
|
|
7664
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
7665
|
+
vault: z.ZodString;
|
|
7666
|
+
}, z.core.$strip>;
|
|
7667
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7668
|
+
address: z.ZodString;
|
|
7669
|
+
addressLookupTable: z.ZodString;
|
|
7670
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7671
|
+
borrowLimitA: z.ZodObject<{
|
|
7672
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7673
|
+
usd: z.ZodNumber;
|
|
7674
|
+
}, z.core.$strip>;
|
|
7675
|
+
borrowLimitB: z.ZodObject<{
|
|
7676
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7677
|
+
usd: z.ZodNumber;
|
|
7678
|
+
}, z.core.$strip>;
|
|
7679
|
+
borrowedFundsA: z.ZodObject<{
|
|
7680
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7681
|
+
usd: z.ZodNumber;
|
|
7682
|
+
}, z.core.$strip>;
|
|
7683
|
+
borrowedFundsB: z.ZodObject<{
|
|
7684
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7685
|
+
usd: z.ZodNumber;
|
|
7686
|
+
}, z.core.$strip>;
|
|
7687
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7688
|
+
disabled: z.ZodBoolean;
|
|
7689
|
+
isPermissionless: z.ZodBoolean;
|
|
7690
|
+
isVerified: z.ZodBoolean;
|
|
7691
|
+
liquidationFee: z.ZodInt;
|
|
7692
|
+
liquidationThreshold: z.ZodInt;
|
|
7693
|
+
maxLeverage: z.ZodInt;
|
|
7694
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
7695
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7696
|
+
usd: z.ZodNumber;
|
|
7697
|
+
}, z.core.$strip>;
|
|
7698
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
7699
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7700
|
+
usd: z.ZodNumber;
|
|
7701
|
+
}, z.core.$strip>;
|
|
7702
|
+
maxSwapSlippage: z.ZodInt;
|
|
7703
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
7704
|
+
pool: z.ZodObject<{
|
|
7705
|
+
address: z.ZodString;
|
|
7706
|
+
feeRate: z.ZodInt;
|
|
7707
|
+
liquidity: z.ZodString;
|
|
7708
|
+
mintA: z.ZodString;
|
|
7709
|
+
mintB: z.ZodString;
|
|
7710
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
7711
|
+
price: z.ZodNumber;
|
|
7712
|
+
protocolFeeRate: z.ZodInt;
|
|
7713
|
+
provider: z.ZodEnum<{
|
|
7714
|
+
orca: "orca";
|
|
7715
|
+
fusion: "fusion";
|
|
7716
|
+
}>;
|
|
7717
|
+
sqrtPrice: z.ZodString;
|
|
7718
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7719
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7720
|
+
feesUsd: z.ZodNumber;
|
|
7721
|
+
priceChange: z.ZodNumber;
|
|
7722
|
+
volumeUsd: z.ZodNumber;
|
|
7723
|
+
}, z.core.$strip>>;
|
|
7724
|
+
tvlUsd: z.ZodNumber;
|
|
7725
|
+
}, z.core.$strip>]>>;
|
|
7726
|
+
tickCurrentIndex: z.ZodInt;
|
|
7727
|
+
tickSpacing: z.ZodInt;
|
|
7728
|
+
tokenAVault: z.ZodString;
|
|
7729
|
+
tokenBVault: z.ZodString;
|
|
7730
|
+
}, z.core.$strip>;
|
|
7731
|
+
protocolFee: z.ZodInt;
|
|
7732
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
7733
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
7734
|
+
vaultA: z.ZodString;
|
|
7735
|
+
vaultB: z.ZodString;
|
|
7736
|
+
}, z.core.$strip>>;
|
|
7737
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7738
|
+
address: z.ZodString;
|
|
7739
|
+
decimals: z.ZodInt;
|
|
7740
|
+
logo: z.ZodString;
|
|
7741
|
+
logo128: z.ZodString;
|
|
7742
|
+
logo32: z.ZodString;
|
|
7743
|
+
logo64: z.ZodString;
|
|
7744
|
+
name: z.ZodString;
|
|
7745
|
+
symbol: z.ZodString;
|
|
7746
|
+
}, z.core.$strip>>;
|
|
7747
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7748
|
+
address: z.ZodString;
|
|
7749
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7750
|
+
borrowApy: z.ZodNumber;
|
|
7751
|
+
borrowedFunds: z.ZodObject<{
|
|
7752
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7753
|
+
usd: z.ZodNumber;
|
|
7754
|
+
}, z.core.$strip>;
|
|
7755
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
7756
|
+
depositedFunds: z.ZodObject<{
|
|
7757
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7758
|
+
usd: z.ZodNumber;
|
|
7759
|
+
}, z.core.$strip>;
|
|
7760
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
7761
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
7762
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7763
|
+
mint: z.ZodString;
|
|
7764
|
+
pythOracleFeedId: z.ZodString;
|
|
7765
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
7766
|
+
supplyApy: z.ZodNumber;
|
|
7767
|
+
supplyLimit: z.ZodObject<{
|
|
7768
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7769
|
+
usd: z.ZodNumber;
|
|
7770
|
+
}, z.core.$strip>;
|
|
7771
|
+
utilization: z.ZodNumber;
|
|
7772
|
+
}, z.core.$strip>>;
|
|
7773
|
+
}, z.core.$strip>;
|
|
7774
|
+
declare const zLendingPositionsListResponse: z.ZodObject<{
|
|
7775
|
+
items: z.ZodArray<z.ZodObject<{
|
|
7776
|
+
address: z.ZodString;
|
|
7777
|
+
authority: z.ZodString;
|
|
7778
|
+
earned: z.ZodObject<{
|
|
7779
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7780
|
+
usd: z.ZodNumber;
|
|
7781
|
+
}, z.core.$strip>;
|
|
7782
|
+
funds: z.ZodObject<{
|
|
7783
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7784
|
+
usd: z.ZodNumber;
|
|
7785
|
+
}, z.core.$strip>;
|
|
7786
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7787
|
+
mint: z.ZodString;
|
|
7788
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
7789
|
+
supplyApy: z.ZodNumber;
|
|
7790
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
7791
|
+
vault: z.ZodString;
|
|
7792
|
+
}, z.core.$strip>>;
|
|
7793
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7794
|
+
address: z.ZodString;
|
|
7795
|
+
addressLookupTable: z.ZodString;
|
|
7796
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7797
|
+
borrowLimitA: z.ZodObject<{
|
|
7798
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7799
|
+
usd: z.ZodNumber;
|
|
7800
|
+
}, z.core.$strip>;
|
|
7801
|
+
borrowLimitB: z.ZodObject<{
|
|
7802
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7803
|
+
usd: z.ZodNumber;
|
|
7804
|
+
}, z.core.$strip>;
|
|
7805
|
+
borrowedFundsA: z.ZodObject<{
|
|
7806
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7807
|
+
usd: z.ZodNumber;
|
|
7808
|
+
}, z.core.$strip>;
|
|
7809
|
+
borrowedFundsB: z.ZodObject<{
|
|
7810
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7811
|
+
usd: z.ZodNumber;
|
|
7812
|
+
}, z.core.$strip>;
|
|
7813
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7814
|
+
disabled: z.ZodBoolean;
|
|
7815
|
+
isPermissionless: z.ZodBoolean;
|
|
7816
|
+
isVerified: z.ZodBoolean;
|
|
7817
|
+
liquidationFee: z.ZodInt;
|
|
7818
|
+
liquidationThreshold: z.ZodInt;
|
|
7819
|
+
maxLeverage: z.ZodInt;
|
|
7820
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
7821
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7822
|
+
usd: z.ZodNumber;
|
|
7823
|
+
}, z.core.$strip>;
|
|
7824
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
7825
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7826
|
+
usd: z.ZodNumber;
|
|
7827
|
+
}, z.core.$strip>;
|
|
7828
|
+
maxSwapSlippage: z.ZodInt;
|
|
7829
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
7830
|
+
pool: z.ZodObject<{
|
|
7831
|
+
address: z.ZodString;
|
|
7832
|
+
feeRate: z.ZodInt;
|
|
7833
|
+
liquidity: z.ZodString;
|
|
7834
|
+
mintA: z.ZodString;
|
|
7835
|
+
mintB: z.ZodString;
|
|
7836
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
7837
|
+
price: z.ZodNumber;
|
|
7838
|
+
protocolFeeRate: z.ZodInt;
|
|
7839
|
+
provider: z.ZodEnum<{
|
|
7840
|
+
orca: "orca";
|
|
7841
|
+
fusion: "fusion";
|
|
7842
|
+
}>;
|
|
7843
|
+
sqrtPrice: z.ZodString;
|
|
7844
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7845
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7846
|
+
feesUsd: z.ZodNumber;
|
|
7847
|
+
priceChange: z.ZodNumber;
|
|
7848
|
+
volumeUsd: z.ZodNumber;
|
|
7849
|
+
}, z.core.$strip>>;
|
|
7850
|
+
tvlUsd: z.ZodNumber;
|
|
7851
|
+
}, z.core.$strip>]>>;
|
|
7852
|
+
tickCurrentIndex: z.ZodInt;
|
|
7853
|
+
tickSpacing: z.ZodInt;
|
|
7854
|
+
tokenAVault: z.ZodString;
|
|
7855
|
+
tokenBVault: z.ZodString;
|
|
7856
|
+
}, z.core.$strip>;
|
|
7857
|
+
protocolFee: z.ZodInt;
|
|
7858
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
7859
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
7860
|
+
vaultA: z.ZodString;
|
|
7861
|
+
vaultB: z.ZodString;
|
|
7862
|
+
}, z.core.$strip>>;
|
|
7863
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7864
|
+
address: z.ZodString;
|
|
7865
|
+
decimals: z.ZodInt;
|
|
7866
|
+
logo: z.ZodString;
|
|
7867
|
+
logo128: z.ZodString;
|
|
7868
|
+
logo32: z.ZodString;
|
|
7869
|
+
logo64: z.ZodString;
|
|
7870
|
+
name: z.ZodString;
|
|
7871
|
+
symbol: z.ZodString;
|
|
7872
|
+
}, z.core.$strip>>;
|
|
7873
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7874
|
+
address: z.ZodString;
|
|
7875
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7876
|
+
borrowApy: z.ZodNumber;
|
|
7877
|
+
borrowedFunds: z.ZodObject<{
|
|
7878
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7879
|
+
usd: z.ZodNumber;
|
|
7880
|
+
}, z.core.$strip>;
|
|
7881
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
7882
|
+
depositedFunds: z.ZodObject<{
|
|
7883
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7884
|
+
usd: z.ZodNumber;
|
|
7885
|
+
}, z.core.$strip>;
|
|
7886
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
7887
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
7888
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7889
|
+
mint: z.ZodString;
|
|
7890
|
+
pythOracleFeedId: z.ZodString;
|
|
7891
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
7892
|
+
supplyApy: z.ZodNumber;
|
|
7893
|
+
supplyLimit: z.ZodObject<{
|
|
7894
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7895
|
+
usd: z.ZodNumber;
|
|
7896
|
+
}, z.core.$strip>;
|
|
7897
|
+
utilization: z.ZodNumber;
|
|
7898
|
+
}, z.core.$strip>>;
|
|
7899
|
+
}, z.core.$strip>;
|
|
7900
|
+
declare const zMarketResponse: z.ZodObject<{
|
|
7901
|
+
item: z.ZodObject<{
|
|
7902
|
+
address: z.ZodString;
|
|
7903
|
+
addressLookupTable: z.ZodString;
|
|
7904
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7905
|
+
borrowLimitA: z.ZodObject<{
|
|
7906
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7907
|
+
usd: z.ZodNumber;
|
|
7908
|
+
}, z.core.$strip>;
|
|
7909
|
+
borrowLimitB: z.ZodObject<{
|
|
7910
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7911
|
+
usd: z.ZodNumber;
|
|
7912
|
+
}, z.core.$strip>;
|
|
7913
|
+
borrowedFundsA: z.ZodObject<{
|
|
7914
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7915
|
+
usd: z.ZodNumber;
|
|
7916
|
+
}, z.core.$strip>;
|
|
7917
|
+
borrowedFundsB: z.ZodObject<{
|
|
7918
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7919
|
+
usd: z.ZodNumber;
|
|
7920
|
+
}, z.core.$strip>;
|
|
7921
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7922
|
+
disabled: z.ZodBoolean;
|
|
7923
|
+
isPermissionless: z.ZodBoolean;
|
|
7924
|
+
isVerified: z.ZodBoolean;
|
|
7925
|
+
liquidationFee: z.ZodInt;
|
|
7926
|
+
liquidationThreshold: z.ZodInt;
|
|
7927
|
+
maxLeverage: z.ZodInt;
|
|
7928
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
7929
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7930
|
+
usd: z.ZodNumber;
|
|
7931
|
+
}, z.core.$strip>;
|
|
7932
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
7933
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7934
|
+
usd: z.ZodNumber;
|
|
7935
|
+
}, z.core.$strip>;
|
|
7936
|
+
maxSwapSlippage: z.ZodInt;
|
|
7937
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
7938
|
+
pool: z.ZodObject<{
|
|
7939
|
+
address: z.ZodString;
|
|
7940
|
+
feeRate: z.ZodInt;
|
|
7941
|
+
liquidity: z.ZodString;
|
|
7942
|
+
mintA: z.ZodString;
|
|
7943
|
+
mintB: z.ZodString;
|
|
7944
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
7945
|
+
price: z.ZodNumber;
|
|
7946
|
+
protocolFeeRate: z.ZodInt;
|
|
7947
|
+
provider: z.ZodEnum<{
|
|
7948
|
+
orca: "orca";
|
|
7949
|
+
fusion: "fusion";
|
|
7950
|
+
}>;
|
|
7951
|
+
sqrtPrice: z.ZodString;
|
|
7952
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7953
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7954
|
+
feesUsd: z.ZodNumber;
|
|
7955
|
+
priceChange: z.ZodNumber;
|
|
7956
|
+
volumeUsd: z.ZodNumber;
|
|
7957
|
+
}, z.core.$strip>>;
|
|
7958
|
+
tvlUsd: z.ZodNumber;
|
|
7959
|
+
}, z.core.$strip>]>>;
|
|
7960
|
+
tickCurrentIndex: z.ZodInt;
|
|
7961
|
+
tickSpacing: z.ZodInt;
|
|
7962
|
+
tokenAVault: z.ZodString;
|
|
7963
|
+
tokenBVault: z.ZodString;
|
|
7964
|
+
}, z.core.$strip>;
|
|
7965
|
+
protocolFee: z.ZodInt;
|
|
7966
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
7967
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
7968
|
+
vaultA: z.ZodString;
|
|
7969
|
+
vaultB: z.ZodString;
|
|
7970
|
+
}, z.core.$strip>;
|
|
7971
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7972
|
+
address: z.ZodString;
|
|
7973
|
+
decimals: z.ZodInt;
|
|
7974
|
+
logo: z.ZodString;
|
|
7975
|
+
logo128: z.ZodString;
|
|
7976
|
+
logo32: z.ZodString;
|
|
7977
|
+
logo64: z.ZodString;
|
|
7978
|
+
name: z.ZodString;
|
|
7979
|
+
symbol: z.ZodString;
|
|
7980
|
+
}, z.core.$strip>>;
|
|
7981
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7982
|
+
address: z.ZodString;
|
|
7983
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7984
|
+
borrowApy: z.ZodNumber;
|
|
7985
|
+
borrowedFunds: z.ZodObject<{
|
|
7986
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7987
|
+
usd: z.ZodNumber;
|
|
7988
|
+
}, z.core.$strip>;
|
|
7989
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
7990
|
+
depositedFunds: z.ZodObject<{
|
|
7991
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7992
|
+
usd: z.ZodNumber;
|
|
7993
|
+
}, z.core.$strip>;
|
|
7994
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
7995
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
7996
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7997
|
+
mint: z.ZodString;
|
|
7998
|
+
pythOracleFeedId: z.ZodString;
|
|
7999
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
8000
|
+
supplyApy: z.ZodNumber;
|
|
8001
|
+
supplyLimit: z.ZodObject<{
|
|
8002
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8003
|
+
usd: z.ZodNumber;
|
|
8004
|
+
}, z.core.$strip>;
|
|
8005
|
+
utilization: z.ZodNumber;
|
|
8006
|
+
}, z.core.$strip>>;
|
|
8007
|
+
}, z.core.$strip>;
|
|
8008
|
+
declare const zMarketsListResponse: z.ZodObject<{
|
|
8009
|
+
items: z.ZodArray<z.ZodObject<{
|
|
8010
|
+
address: z.ZodString;
|
|
8011
|
+
addressLookupTable: z.ZodString;
|
|
8012
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8013
|
+
borrowLimitA: z.ZodObject<{
|
|
8014
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8015
|
+
usd: z.ZodNumber;
|
|
8016
|
+
}, z.core.$strip>;
|
|
8017
|
+
borrowLimitB: z.ZodObject<{
|
|
8018
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8019
|
+
usd: z.ZodNumber;
|
|
8020
|
+
}, z.core.$strip>;
|
|
8021
|
+
borrowedFundsA: z.ZodObject<{
|
|
8022
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8023
|
+
usd: z.ZodNumber;
|
|
8024
|
+
}, z.core.$strip>;
|
|
8025
|
+
borrowedFundsB: z.ZodObject<{
|
|
8026
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8027
|
+
usd: z.ZodNumber;
|
|
8028
|
+
}, z.core.$strip>;
|
|
8029
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8030
|
+
disabled: z.ZodBoolean;
|
|
8031
|
+
isPermissionless: z.ZodBoolean;
|
|
8032
|
+
isVerified: z.ZodBoolean;
|
|
8033
|
+
liquidationFee: z.ZodInt;
|
|
8034
|
+
liquidationThreshold: z.ZodInt;
|
|
8035
|
+
maxLeverage: z.ZodInt;
|
|
8036
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
8037
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8038
|
+
usd: z.ZodNumber;
|
|
8039
|
+
}, z.core.$strip>;
|
|
8040
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
8041
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8042
|
+
usd: z.ZodNumber;
|
|
8043
|
+
}, z.core.$strip>;
|
|
8044
|
+
maxSwapSlippage: z.ZodInt;
|
|
8045
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
8046
|
+
pool: z.ZodObject<{
|
|
8047
|
+
address: z.ZodString;
|
|
8048
|
+
feeRate: z.ZodInt;
|
|
8049
|
+
liquidity: z.ZodString;
|
|
8050
|
+
mintA: z.ZodString;
|
|
8051
|
+
mintB: z.ZodString;
|
|
8052
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
8053
|
+
price: z.ZodNumber;
|
|
8054
|
+
protocolFeeRate: z.ZodInt;
|
|
8055
|
+
provider: z.ZodEnum<{
|
|
8056
|
+
orca: "orca";
|
|
8057
|
+
fusion: "fusion";
|
|
8058
|
+
}>;
|
|
8059
|
+
sqrtPrice: z.ZodString;
|
|
8060
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8061
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8062
|
+
feesUsd: z.ZodNumber;
|
|
8063
|
+
priceChange: z.ZodNumber;
|
|
8064
|
+
volumeUsd: z.ZodNumber;
|
|
8065
|
+
}, z.core.$strip>>;
|
|
8066
|
+
tvlUsd: z.ZodNumber;
|
|
8067
|
+
}, z.core.$strip>]>>;
|
|
8068
|
+
tickCurrentIndex: z.ZodInt;
|
|
8069
|
+
tickSpacing: z.ZodInt;
|
|
8070
|
+
tokenAVault: z.ZodString;
|
|
8071
|
+
tokenBVault: z.ZodString;
|
|
8072
|
+
}, z.core.$strip>;
|
|
8073
|
+
protocolFee: z.ZodInt;
|
|
8074
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
8075
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
8076
|
+
vaultA: z.ZodString;
|
|
8077
|
+
vaultB: z.ZodString;
|
|
8078
|
+
}, z.core.$strip>>;
|
|
8079
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8080
|
+
address: z.ZodString;
|
|
8081
|
+
decimals: z.ZodInt;
|
|
8082
|
+
logo: z.ZodString;
|
|
8083
|
+
logo128: z.ZodString;
|
|
8084
|
+
logo32: z.ZodString;
|
|
8085
|
+
logo64: z.ZodString;
|
|
8086
|
+
name: z.ZodString;
|
|
8087
|
+
symbol: z.ZodString;
|
|
8088
|
+
}, z.core.$strip>>;
|
|
8089
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8090
|
+
address: z.ZodString;
|
|
8091
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8092
|
+
borrowApy: z.ZodNumber;
|
|
8093
|
+
borrowedFunds: z.ZodObject<{
|
|
8094
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8095
|
+
usd: z.ZodNumber;
|
|
8096
|
+
}, z.core.$strip>;
|
|
8097
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
8098
|
+
depositedFunds: z.ZodObject<{
|
|
8099
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8100
|
+
usd: z.ZodNumber;
|
|
8101
|
+
}, z.core.$strip>;
|
|
8102
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
8103
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
8104
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8105
|
+
mint: z.ZodString;
|
|
8106
|
+
pythOracleFeedId: z.ZodString;
|
|
8107
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
8108
|
+
supplyApy: z.ZodNumber;
|
|
8109
|
+
supplyLimit: z.ZodObject<{
|
|
8110
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8111
|
+
usd: z.ZodNumber;
|
|
8112
|
+
}, z.core.$strip>;
|
|
8113
|
+
utilization: z.ZodNumber;
|
|
8114
|
+
}, z.core.$strip>>;
|
|
8115
|
+
}, z.core.$strip>;
|
|
8116
|
+
declare const zSnapshot: z.ZodObject<{
|
|
8117
|
+
blockTime: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8118
|
+
fusionLimitOrders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
8119
|
+
aToB: z.ZodBoolean;
|
|
8120
|
+
address: z.ZodString;
|
|
8121
|
+
amountIn: z.ZodObject<{
|
|
8122
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8123
|
+
usd: z.ZodNumber;
|
|
8124
|
+
}, z.core.$strip>;
|
|
8125
|
+
amountOut: z.ZodObject<{
|
|
8126
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8127
|
+
usd: z.ZodNumber;
|
|
8128
|
+
}, z.core.$strip>;
|
|
8129
|
+
authority: z.ZodString;
|
|
8130
|
+
closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
8131
|
+
closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
|
|
8132
|
+
fillRatio: z.ZodNumber;
|
|
8133
|
+
id: z.ZodString;
|
|
8134
|
+
market: z.ZodString;
|
|
8135
|
+
openTxSignature: z.ZodString;
|
|
8136
|
+
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8137
|
+
orderMint: z.ZodString;
|
|
8138
|
+
state: z.ZodEnum<{
|
|
8139
|
+
open: "open";
|
|
8140
|
+
partially_filled: "partially_filled";
|
|
8141
|
+
filled: "filled";
|
|
8142
|
+
complete: "complete";
|
|
8143
|
+
cancelled: "cancelled";
|
|
8144
|
+
}>;
|
|
8145
|
+
tickIndex: z.ZodInt;
|
|
8146
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8147
|
+
markets: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8148
|
+
address: z.ZodString;
|
|
8149
|
+
addressLookupTable: z.ZodString;
|
|
8150
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8151
|
+
borrowLimitA: z.ZodObject<{
|
|
8152
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8153
|
+
usd: z.ZodNumber;
|
|
8154
|
+
}, z.core.$strip>;
|
|
8155
|
+
borrowLimitB: z.ZodObject<{
|
|
8156
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8157
|
+
usd: z.ZodNumber;
|
|
8158
|
+
}, z.core.$strip>;
|
|
8159
|
+
borrowedFundsA: z.ZodObject<{
|
|
8160
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8161
|
+
usd: z.ZodNumber;
|
|
8162
|
+
}, z.core.$strip>;
|
|
8163
|
+
borrowedFundsB: z.ZodObject<{
|
|
8164
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8165
|
+
usd: z.ZodNumber;
|
|
8166
|
+
}, z.core.$strip>;
|
|
8167
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8168
|
+
disabled: z.ZodBoolean;
|
|
8169
|
+
isPermissionless: z.ZodBoolean;
|
|
8170
|
+
isVerified: z.ZodBoolean;
|
|
8171
|
+
liquidationFee: z.ZodInt;
|
|
8172
|
+
liquidationThreshold: z.ZodInt;
|
|
8173
|
+
maxLeverage: z.ZodInt;
|
|
8174
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
8175
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8176
|
+
usd: z.ZodNumber;
|
|
8177
|
+
}, z.core.$strip>;
|
|
8178
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
8179
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8180
|
+
usd: z.ZodNumber;
|
|
8181
|
+
}, z.core.$strip>;
|
|
8182
|
+
maxSwapSlippage: z.ZodInt;
|
|
8183
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
8184
|
+
pool: z.ZodObject<{
|
|
8185
|
+
address: z.ZodString;
|
|
8186
|
+
feeRate: z.ZodInt;
|
|
8187
|
+
liquidity: z.ZodString;
|
|
8188
|
+
mintA: z.ZodString;
|
|
8189
|
+
mintB: z.ZodString;
|
|
8190
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
8191
|
+
price: z.ZodNumber;
|
|
8192
|
+
protocolFeeRate: z.ZodInt;
|
|
8193
|
+
provider: z.ZodEnum<{
|
|
8194
|
+
orca: "orca";
|
|
8195
|
+
fusion: "fusion";
|
|
8196
|
+
}>;
|
|
8197
|
+
sqrtPrice: z.ZodString;
|
|
8198
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8199
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8200
|
+
feesUsd: z.ZodNumber;
|
|
8201
|
+
priceChange: z.ZodNumber;
|
|
8202
|
+
volumeUsd: z.ZodNumber;
|
|
8203
|
+
}, z.core.$strip>>;
|
|
8204
|
+
tvlUsd: z.ZodNumber;
|
|
8205
|
+
}, z.core.$strip>]>>;
|
|
8206
|
+
tickCurrentIndex: z.ZodInt;
|
|
8207
|
+
tickSpacing: z.ZodInt;
|
|
8208
|
+
tokenAVault: z.ZodString;
|
|
8209
|
+
tokenBVault: z.ZodString;
|
|
8210
|
+
}, z.core.$strip>;
|
|
8211
|
+
protocolFee: z.ZodInt;
|
|
8212
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
8213
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
8214
|
+
vaultA: z.ZodString;
|
|
8215
|
+
vaultB: z.ZodString;
|
|
8216
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8217
|
+
mints: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8218
|
+
address: z.ZodString;
|
|
8219
|
+
decimals: z.ZodInt;
|
|
8220
|
+
logo: z.ZodString;
|
|
8221
|
+
logo128: z.ZodString;
|
|
8222
|
+
logo32: z.ZodString;
|
|
8223
|
+
logo64: z.ZodString;
|
|
8224
|
+
name: z.ZodString;
|
|
8225
|
+
symbol: z.ZodString;
|
|
8226
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8227
|
+
oraclePrices: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>>;
|
|
8228
|
+
orderBooks: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
8229
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
8230
|
+
askSide: z.ZodBoolean;
|
|
8231
|
+
concentratedAmount: z.ZodCoercedBigInt<unknown>;
|
|
8232
|
+
concentratedAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
8233
|
+
concentratedTotal: z.ZodCoercedBigInt<unknown>;
|
|
8234
|
+
concentratedTotalQuote: z.ZodCoercedBigInt<unknown>;
|
|
8235
|
+
limitAmount: z.ZodCoercedBigInt<unknown>;
|
|
8236
|
+
limitAmountQuote: z.ZodCoercedBigInt<unknown>;
|
|
8237
|
+
limitTotal: z.ZodCoercedBigInt<unknown>;
|
|
8238
|
+
limitTotalQuote: z.ZodCoercedBigInt<unknown>;
|
|
8239
|
+
price: z.ZodNumber;
|
|
8240
|
+
}, z.core.$strip>>;
|
|
8241
|
+
poolAddress: z.ZodString;
|
|
8242
|
+
poolPrice: z.ZodNumber;
|
|
8243
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8244
|
+
slot: z.ZodCoercedBigInt<unknown>;
|
|
8245
|
+
tunaLpPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
8246
|
+
address: z.ZodString;
|
|
8247
|
+
authority: z.ZodString;
|
|
8248
|
+
closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
|
|
8249
|
+
compoundedYieldA: z.ZodObject<{
|
|
8250
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8251
|
+
usd: z.ZodNumber;
|
|
8252
|
+
}, z.core.$strip>;
|
|
8253
|
+
compoundedYieldB: z.ZodObject<{
|
|
8254
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8255
|
+
usd: z.ZodNumber;
|
|
8256
|
+
}, z.core.$strip>;
|
|
8257
|
+
currentDebtA: z.ZodObject<{
|
|
8258
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8259
|
+
usd: z.ZodNumber;
|
|
8260
|
+
}, z.core.$strip>;
|
|
8261
|
+
currentDebtB: z.ZodObject<{
|
|
8262
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8263
|
+
usd: z.ZodNumber;
|
|
8264
|
+
}, z.core.$strip>;
|
|
8265
|
+
depositedCollateralA: z.ZodObject<{
|
|
8266
|
+
amount: z.ZodString;
|
|
8267
|
+
usd: z.ZodNumber;
|
|
8268
|
+
}, z.core.$strip>;
|
|
8269
|
+
depositedCollateralB: z.ZodObject<{
|
|
8270
|
+
amount: z.ZodString;
|
|
8271
|
+
usd: z.ZodNumber;
|
|
8272
|
+
}, z.core.$strip>;
|
|
8273
|
+
entryPrice: z.ZodNumber;
|
|
8274
|
+
flags: z.ZodObject<{
|
|
8275
|
+
autoCompounding: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
|
|
8276
|
+
with_leverage: "with_leverage";
|
|
8277
|
+
without_leverage: "without_leverage";
|
|
8278
|
+
}>]>>;
|
|
8279
|
+
autoRebalancing: z.ZodBoolean;
|
|
8280
|
+
lowerLimitOrderSwapToToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
|
|
8281
|
+
a: "a";
|
|
8282
|
+
b: "b";
|
|
8283
|
+
}>]>>;
|
|
8284
|
+
upperLimitOrderSwapToToken: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodEnum<{
|
|
8285
|
+
a: "a";
|
|
8286
|
+
b: "b";
|
|
8287
|
+
}>]>>;
|
|
8288
|
+
}, z.core.$strip>;
|
|
8289
|
+
initialDebtA: z.ZodObject<{
|
|
8290
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8291
|
+
usd: z.ZodNumber;
|
|
8292
|
+
}, z.core.$strip>;
|
|
8293
|
+
initialDebtB: z.ZodObject<{
|
|
8294
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8295
|
+
usd: z.ZodNumber;
|
|
8296
|
+
}, z.core.$strip>;
|
|
8297
|
+
leftoversA: z.ZodObject<{
|
|
8298
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8299
|
+
usd: z.ZodNumber;
|
|
8300
|
+
}, z.core.$strip>;
|
|
8301
|
+
leftoversB: z.ZodObject<{
|
|
8302
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8303
|
+
usd: z.ZodNumber;
|
|
8304
|
+
}, z.core.$strip>;
|
|
8305
|
+
leverage: z.ZodNumber;
|
|
8306
|
+
liquidationPriceLower: z.ZodNumber;
|
|
8307
|
+
liquidationPriceUpper: z.ZodNumber;
|
|
8308
|
+
liquidity: z.ZodString;
|
|
8309
|
+
lowerLimitOrderPrice: z.ZodNumber;
|
|
8310
|
+
market: z.ZodString;
|
|
8311
|
+
marketMaker: z.ZodEnum<{
|
|
8312
|
+
orca: "orca";
|
|
8313
|
+
fusion: "fusion";
|
|
8314
|
+
}>;
|
|
8315
|
+
maxLeverage: z.ZodNumber;
|
|
8316
|
+
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8317
|
+
pnlA: z.ZodObject<{
|
|
8318
|
+
amount: z.ZodString;
|
|
8319
|
+
rate: z.ZodNumber;
|
|
8320
|
+
}, z.core.$strip>;
|
|
8321
|
+
pnlB: z.ZodObject<{
|
|
8322
|
+
amount: z.ZodString;
|
|
8323
|
+
rate: z.ZodNumber;
|
|
8324
|
+
}, z.core.$strip>;
|
|
8325
|
+
pnlUsd: z.ZodObject<{
|
|
8326
|
+
amount: z.ZodNumber;
|
|
8327
|
+
rate: z.ZodNumber;
|
|
8328
|
+
}, z.core.$strip>;
|
|
8329
|
+
positionMint: z.ZodString;
|
|
8330
|
+
state: z.ZodEnum<{
|
|
8331
|
+
open: "open";
|
|
8332
|
+
liquidation_withdraw: "liquidation_withdraw";
|
|
8333
|
+
limit_order_withdraw: "limit_order_withdraw";
|
|
8334
|
+
closed: "closed";
|
|
8335
|
+
liquidation_closed: "liquidation_closed";
|
|
8336
|
+
limit_order_closed: "limit_order_closed";
|
|
8337
|
+
}>;
|
|
8338
|
+
tickLowerIndex: z.ZodInt;
|
|
8339
|
+
tickUpperIndex: z.ZodInt;
|
|
8340
|
+
totalA: z.ZodObject<{
|
|
8341
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8342
|
+
usd: z.ZodNumber;
|
|
8343
|
+
}, z.core.$strip>;
|
|
8344
|
+
totalB: z.ZodObject<{
|
|
8345
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8346
|
+
usd: z.ZodNumber;
|
|
8347
|
+
}, z.core.$strip>;
|
|
8348
|
+
upperLimitOrderPrice: z.ZodNumber;
|
|
8349
|
+
version: z.ZodInt;
|
|
8350
|
+
yieldA: z.ZodObject<{
|
|
8351
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8352
|
+
usd: z.ZodNumber;
|
|
8353
|
+
}, z.core.$strip>;
|
|
8354
|
+
yieldB: z.ZodObject<{
|
|
8355
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8356
|
+
usd: z.ZodNumber;
|
|
8357
|
+
}, z.core.$strip>;
|
|
8358
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8359
|
+
tunaSpotPositions: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
8360
|
+
address: z.ZodString;
|
|
8361
|
+
authority: z.ZodString;
|
|
8362
|
+
closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
|
|
8363
|
+
collateralToken: z.ZodEnum<{
|
|
8364
|
+
a: "a";
|
|
8365
|
+
b: "b";
|
|
8366
|
+
}>;
|
|
8367
|
+
currentDebt: z.ZodObject<{
|
|
8368
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8369
|
+
usd: z.ZodNumber;
|
|
8370
|
+
}, z.core.$strip>;
|
|
8371
|
+
depositedCollateral: z.ZodObject<{
|
|
8372
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8373
|
+
usd: z.ZodNumber;
|
|
8374
|
+
}, z.core.$strip>;
|
|
8375
|
+
entryPrice: z.ZodNumber;
|
|
8376
|
+
initialDebt: z.ZodObject<{
|
|
8377
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8378
|
+
usd: z.ZodNumber;
|
|
8379
|
+
}, z.core.$strip>;
|
|
8380
|
+
leverage: z.ZodNumber;
|
|
8381
|
+
liquidationPrice: z.ZodNumber;
|
|
8382
|
+
lowerLimitOrderPrice: z.ZodNumber;
|
|
8383
|
+
market: z.ZodString;
|
|
8384
|
+
marketMaker: z.ZodEnum<{
|
|
8385
|
+
orca: "orca";
|
|
8386
|
+
fusion: "fusion";
|
|
8387
|
+
}>;
|
|
8388
|
+
maxLeverage: z.ZodNumber;
|
|
8389
|
+
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8390
|
+
pnlUsd: z.ZodObject<{
|
|
8391
|
+
amount: z.ZodNumber;
|
|
8392
|
+
rate: z.ZodNumber;
|
|
8393
|
+
}, z.core.$strip>;
|
|
8394
|
+
positionToken: z.ZodEnum<{
|
|
8395
|
+
a: "a";
|
|
8396
|
+
b: "b";
|
|
8397
|
+
}>;
|
|
8398
|
+
state: z.ZodEnum<{
|
|
8399
|
+
open: "open";
|
|
8400
|
+
closed: "closed";
|
|
8401
|
+
}>;
|
|
8402
|
+
total: z.ZodObject<{
|
|
8403
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8404
|
+
usd: z.ZodNumber;
|
|
8405
|
+
}, z.core.$strip>;
|
|
8406
|
+
upperLimitOrderPrice: z.ZodNumber;
|
|
8407
|
+
version: z.ZodInt;
|
|
8408
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8409
|
+
vaults: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8410
|
+
address: z.ZodString;
|
|
8411
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8412
|
+
borrowApy: z.ZodNumber;
|
|
8413
|
+
borrowedFunds: z.ZodObject<{
|
|
8414
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8415
|
+
usd: z.ZodNumber;
|
|
8416
|
+
}, z.core.$strip>;
|
|
8417
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
8418
|
+
depositedFunds: z.ZodObject<{
|
|
8419
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8420
|
+
usd: z.ZodNumber;
|
|
8421
|
+
}, z.core.$strip>;
|
|
8422
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
8423
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
8424
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8425
|
+
mint: z.ZodString;
|
|
8426
|
+
pythOracleFeedId: z.ZodString;
|
|
8427
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
8428
|
+
supplyApy: z.ZodNumber;
|
|
8429
|
+
supplyLimit: z.ZodObject<{
|
|
8430
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8431
|
+
usd: z.ZodNumber;
|
|
8432
|
+
}, z.core.$strip>;
|
|
8433
|
+
utilization: z.ZodNumber;
|
|
8434
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8435
|
+
}, z.core.$strip>;
|
|
8436
|
+
declare const zSnapshotContainer: z.ZodObject<{
|
|
8437
|
+
action: z.ZodString;
|
|
8438
|
+
data: z.ZodObject<{
|
|
8439
|
+
blockTime: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8440
|
+
fusionLimitOrders: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{
|
|
8441
|
+
aToB: z.ZodBoolean;
|
|
8442
|
+
address: z.ZodString;
|
|
8443
|
+
amountIn: z.ZodObject<{
|
|
8444
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8445
|
+
usd: z.ZodNumber;
|
|
8446
|
+
}, z.core.$strip>;
|
|
8447
|
+
amountOut: z.ZodObject<{
|
|
8448
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8449
|
+
usd: z.ZodNumber;
|
|
8450
|
+
}, z.core.$strip>;
|
|
8451
|
+
authority: z.ZodString;
|
|
8452
|
+
closeTxSignature: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
8453
|
+
closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
|
|
8454
|
+
fillRatio: z.ZodNumber;
|
|
8455
|
+
id: z.ZodString;
|
|
8456
|
+
market: z.ZodString;
|
|
8457
|
+
openTxSignature: z.ZodString;
|
|
8458
|
+
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8459
|
+
orderMint: z.ZodString;
|
|
8460
|
+
state: z.ZodEnum<{
|
|
8461
|
+
open: "open";
|
|
8462
|
+
partially_filled: "partially_filled";
|
|
8463
|
+
filled: "filled";
|
|
8464
|
+
complete: "complete";
|
|
8465
|
+
cancelled: "cancelled";
|
|
8466
|
+
}>;
|
|
8467
|
+
tickIndex: z.ZodInt;
|
|
8468
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8469
|
+
markets: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8470
|
+
address: z.ZodString;
|
|
8471
|
+
addressLookupTable: z.ZodString;
|
|
8472
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8473
|
+
borrowLimitA: z.ZodObject<{
|
|
8474
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
7376
8475
|
usd: z.ZodNumber;
|
|
7377
8476
|
}, z.core.$strip>;
|
|
7378
8477
|
borrowLimitB: z.ZodObject<{
|
|
@@ -7389,6 +8488,8 @@ declare const zSnapshotContainer: z.ZodObject<{
|
|
|
7389
8488
|
}, z.core.$strip>;
|
|
7390
8489
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7391
8490
|
disabled: z.ZodBoolean;
|
|
8491
|
+
isPermissionless: z.ZodBoolean;
|
|
8492
|
+
isVerified: z.ZodBoolean;
|
|
7392
8493
|
liquidationFee: z.ZodInt;
|
|
7393
8494
|
liquidationThreshold: z.ZodInt;
|
|
7394
8495
|
maxLeverage: z.ZodInt;
|
|
@@ -7432,6 +8533,8 @@ declare const zSnapshotContainer: z.ZodObject<{
|
|
|
7432
8533
|
protocolFee: z.ZodInt;
|
|
7433
8534
|
protocolFeeOnCollateral: z.ZodInt;
|
|
7434
8535
|
rebalanceProtocolFee: z.ZodInt;
|
|
8536
|
+
vaultA: z.ZodString;
|
|
8537
|
+
vaultB: z.ZodString;
|
|
7435
8538
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
7436
8539
|
mints: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7437
8540
|
address: z.ZodString;
|
|
@@ -7610,279 +8713,353 @@ declare const zSnapshotContainer: z.ZodObject<{
|
|
|
7610
8713
|
amount: z.ZodNumber;
|
|
7611
8714
|
rate: z.ZodNumber;
|
|
7612
8715
|
}, z.core.$strip>;
|
|
7613
|
-
positionToken: z.ZodEnum<{
|
|
7614
|
-
a: "a";
|
|
7615
|
-
b: "b";
|
|
7616
|
-
}>;
|
|
7617
|
-
state: z.ZodEnum<{
|
|
7618
|
-
open: "open";
|
|
7619
|
-
closed: "closed";
|
|
7620
|
-
}>;
|
|
7621
|
-
total: z.ZodObject<{
|
|
8716
|
+
positionToken: z.ZodEnum<{
|
|
8717
|
+
a: "a";
|
|
8718
|
+
b: "b";
|
|
8719
|
+
}>;
|
|
8720
|
+
state: z.ZodEnum<{
|
|
8721
|
+
open: "open";
|
|
8722
|
+
closed: "closed";
|
|
8723
|
+
}>;
|
|
8724
|
+
total: z.ZodObject<{
|
|
8725
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8726
|
+
usd: z.ZodNumber;
|
|
8727
|
+
}, z.core.$strip>;
|
|
8728
|
+
upperLimitOrderPrice: z.ZodNumber;
|
|
8729
|
+
version: z.ZodInt;
|
|
8730
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8731
|
+
vaults: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8732
|
+
address: z.ZodString;
|
|
8733
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8734
|
+
borrowApy: z.ZodNumber;
|
|
8735
|
+
borrowedFunds: z.ZodObject<{
|
|
8736
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8737
|
+
usd: z.ZodNumber;
|
|
8738
|
+
}, z.core.$strip>;
|
|
8739
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
8740
|
+
depositedFunds: z.ZodObject<{
|
|
8741
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8742
|
+
usd: z.ZodNumber;
|
|
8743
|
+
}, z.core.$strip>;
|
|
8744
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
8745
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
8746
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8747
|
+
mint: z.ZodString;
|
|
8748
|
+
pythOracleFeedId: z.ZodString;
|
|
8749
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
8750
|
+
supplyApy: z.ZodNumber;
|
|
8751
|
+
supplyLimit: z.ZodObject<{
|
|
8752
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8753
|
+
usd: z.ZodNumber;
|
|
8754
|
+
}, z.core.$strip>;
|
|
8755
|
+
utilization: z.ZodNumber;
|
|
8756
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8757
|
+
}, z.core.$strip>;
|
|
8758
|
+
entity: z.ZodString;
|
|
8759
|
+
id: z.ZodString;
|
|
8760
|
+
}, z.core.$strip>;
|
|
8761
|
+
declare const zSseResponseLendingPositionPayload: z.ZodObject<{
|
|
8762
|
+
action: z.ZodEnum<{
|
|
8763
|
+
create: "create";
|
|
8764
|
+
update: "update";
|
|
8765
|
+
}>;
|
|
8766
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8767
|
+
data: z.ZodObject<{
|
|
8768
|
+
item: z.ZodObject<{
|
|
8769
|
+
address: z.ZodString;
|
|
8770
|
+
authority: z.ZodString;
|
|
8771
|
+
earned: z.ZodObject<{
|
|
8772
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8773
|
+
usd: z.ZodNumber;
|
|
8774
|
+
}, z.core.$strip>;
|
|
8775
|
+
funds: z.ZodObject<{
|
|
8776
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8777
|
+
usd: z.ZodNumber;
|
|
8778
|
+
}, z.core.$strip>;
|
|
8779
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8780
|
+
mint: z.ZodString;
|
|
8781
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
8782
|
+
supplyApy: z.ZodNumber;
|
|
8783
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
8784
|
+
vault: z.ZodString;
|
|
8785
|
+
}, z.core.$strip>;
|
|
8786
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8787
|
+
address: z.ZodString;
|
|
8788
|
+
addressLookupTable: z.ZodString;
|
|
8789
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8790
|
+
borrowLimitA: z.ZodObject<{
|
|
8791
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8792
|
+
usd: z.ZodNumber;
|
|
8793
|
+
}, z.core.$strip>;
|
|
8794
|
+
borrowLimitB: z.ZodObject<{
|
|
8795
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8796
|
+
usd: z.ZodNumber;
|
|
8797
|
+
}, z.core.$strip>;
|
|
8798
|
+
borrowedFundsA: z.ZodObject<{
|
|
8799
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8800
|
+
usd: z.ZodNumber;
|
|
8801
|
+
}, z.core.$strip>;
|
|
8802
|
+
borrowedFundsB: z.ZodObject<{
|
|
8803
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8804
|
+
usd: z.ZodNumber;
|
|
8805
|
+
}, z.core.$strip>;
|
|
8806
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8807
|
+
disabled: z.ZodBoolean;
|
|
8808
|
+
isPermissionless: z.ZodBoolean;
|
|
8809
|
+
isVerified: z.ZodBoolean;
|
|
8810
|
+
liquidationFee: z.ZodInt;
|
|
8811
|
+
liquidationThreshold: z.ZodInt;
|
|
8812
|
+
maxLeverage: z.ZodInt;
|
|
8813
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
8814
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8815
|
+
usd: z.ZodNumber;
|
|
8816
|
+
}, z.core.$strip>;
|
|
8817
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
8818
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8819
|
+
usd: z.ZodNumber;
|
|
8820
|
+
}, z.core.$strip>;
|
|
8821
|
+
maxSwapSlippage: z.ZodInt;
|
|
8822
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
8823
|
+
pool: z.ZodObject<{
|
|
8824
|
+
address: z.ZodString;
|
|
8825
|
+
feeRate: z.ZodInt;
|
|
8826
|
+
liquidity: z.ZodString;
|
|
8827
|
+
mintA: z.ZodString;
|
|
8828
|
+
mintB: z.ZodString;
|
|
8829
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
8830
|
+
price: z.ZodNumber;
|
|
8831
|
+
protocolFeeRate: z.ZodInt;
|
|
8832
|
+
provider: z.ZodEnum<{
|
|
8833
|
+
orca: "orca";
|
|
8834
|
+
fusion: "fusion";
|
|
8835
|
+
}>;
|
|
8836
|
+
sqrtPrice: z.ZodString;
|
|
8837
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8838
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8839
|
+
feesUsd: z.ZodNumber;
|
|
8840
|
+
priceChange: z.ZodNumber;
|
|
8841
|
+
volumeUsd: z.ZodNumber;
|
|
8842
|
+
}, z.core.$strip>>;
|
|
8843
|
+
tvlUsd: z.ZodNumber;
|
|
8844
|
+
}, z.core.$strip>]>>;
|
|
8845
|
+
tickCurrentIndex: z.ZodInt;
|
|
8846
|
+
tickSpacing: z.ZodInt;
|
|
8847
|
+
tokenAVault: z.ZodString;
|
|
8848
|
+
tokenBVault: z.ZodString;
|
|
8849
|
+
}, z.core.$strip>;
|
|
8850
|
+
protocolFee: z.ZodInt;
|
|
8851
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
8852
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
8853
|
+
vaultA: z.ZodString;
|
|
8854
|
+
vaultB: z.ZodString;
|
|
8855
|
+
}, z.core.$strip>>;
|
|
8856
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8857
|
+
address: z.ZodString;
|
|
8858
|
+
decimals: z.ZodInt;
|
|
8859
|
+
logo: z.ZodString;
|
|
8860
|
+
logo128: z.ZodString;
|
|
8861
|
+
logo32: z.ZodString;
|
|
8862
|
+
logo64: z.ZodString;
|
|
8863
|
+
name: z.ZodString;
|
|
8864
|
+
symbol: z.ZodString;
|
|
8865
|
+
}, z.core.$strip>>;
|
|
8866
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8867
|
+
address: z.ZodString;
|
|
8868
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8869
|
+
borrowApy: z.ZodNumber;
|
|
8870
|
+
borrowedFunds: z.ZodObject<{
|
|
8871
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8872
|
+
usd: z.ZodNumber;
|
|
8873
|
+
}, z.core.$strip>;
|
|
8874
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
8875
|
+
depositedFunds: z.ZodObject<{
|
|
7622
8876
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7623
8877
|
usd: z.ZodNumber;
|
|
7624
8878
|
}, z.core.$strip>;
|
|
7625
|
-
|
|
7626
|
-
|
|
7627
|
-
|
|
7628
|
-
|
|
7629
|
-
|
|
7630
|
-
|
|
7631
|
-
|
|
7632
|
-
|
|
7633
|
-
|
|
7634
|
-
|
|
7635
|
-
|
|
7636
|
-
|
|
7637
|
-
|
|
7638
|
-
a: "a";
|
|
7639
|
-
b: "b";
|
|
7640
|
-
}>;
|
|
7641
|
-
currentDebt: z.ZodObject<{
|
|
7642
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7643
|
-
usd: z.ZodNumber;
|
|
7644
|
-
}, z.core.$strip>;
|
|
7645
|
-
depositedCollateral: z.ZodObject<{
|
|
7646
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7647
|
-
usd: z.ZodNumber;
|
|
7648
|
-
}, z.core.$strip>;
|
|
7649
|
-
entryPrice: z.ZodNumber;
|
|
7650
|
-
initialDebt: z.ZodObject<{
|
|
7651
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7652
|
-
usd: z.ZodNumber;
|
|
7653
|
-
}, z.core.$strip>;
|
|
7654
|
-
leverage: z.ZodNumber;
|
|
7655
|
-
liquidationPrice: z.ZodNumber;
|
|
7656
|
-
lowerLimitOrderPrice: z.ZodNumber;
|
|
7657
|
-
market: z.ZodString;
|
|
7658
|
-
marketMaker: z.ZodEnum<{
|
|
7659
|
-
orca: "orca";
|
|
7660
|
-
fusion: "fusion";
|
|
7661
|
-
}>;
|
|
7662
|
-
maxLeverage: z.ZodNumber;
|
|
7663
|
-
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7664
|
-
pnlUsd: z.ZodObject<{
|
|
7665
|
-
amount: z.ZodNumber;
|
|
7666
|
-
rate: z.ZodNumber;
|
|
7667
|
-
}, z.core.$strip>;
|
|
7668
|
-
positionToken: z.ZodEnum<{
|
|
7669
|
-
a: "a";
|
|
7670
|
-
b: "b";
|
|
7671
|
-
}>;
|
|
7672
|
-
state: z.ZodEnum<{
|
|
7673
|
-
open: "open";
|
|
7674
|
-
closed: "closed";
|
|
7675
|
-
}>;
|
|
7676
|
-
total: z.ZodObject<{
|
|
7677
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7678
|
-
usd: z.ZodNumber;
|
|
7679
|
-
}, z.core.$strip>;
|
|
7680
|
-
upperLimitOrderPrice: z.ZodNumber;
|
|
7681
|
-
version: z.ZodInt;
|
|
8879
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
8880
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
8881
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8882
|
+
mint: z.ZodString;
|
|
8883
|
+
pythOracleFeedId: z.ZodString;
|
|
8884
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
8885
|
+
supplyApy: z.ZodNumber;
|
|
8886
|
+
supplyLimit: z.ZodObject<{
|
|
8887
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8888
|
+
usd: z.ZodNumber;
|
|
8889
|
+
}, z.core.$strip>;
|
|
8890
|
+
utilization: z.ZodNumber;
|
|
8891
|
+
}, z.core.$strip>>;
|
|
7682
8892
|
}, z.core.$strip>;
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
7688
|
-
|
|
7689
|
-
|
|
7690
|
-
|
|
7691
|
-
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7695
|
-
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
|
|
7703
|
-
|
|
7704
|
-
|
|
7705
|
-
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7709
|
-
usd: z.ZodNumber;
|
|
7710
|
-
}, z.core.$strip>;
|
|
7711
|
-
maxSpotPositionSizeB: z.ZodObject<{
|
|
7712
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7713
|
-
usd: z.ZodNumber;
|
|
7714
|
-
}, z.core.$strip>;
|
|
7715
|
-
maxSwapSlippage: z.ZodInt;
|
|
7716
|
-
oraclePriceDeviationThreshold: z.ZodInt;
|
|
7717
|
-
pool: z.ZodObject<{
|
|
7718
|
-
address: z.ZodString;
|
|
7719
|
-
feeRate: z.ZodInt;
|
|
7720
|
-
liquidity: z.ZodString;
|
|
7721
|
-
mintA: z.ZodString;
|
|
7722
|
-
mintB: z.ZodString;
|
|
7723
|
-
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
7724
|
-
price: z.ZodNumber;
|
|
7725
|
-
protocolFeeRate: z.ZodInt;
|
|
7726
|
-
provider: z.ZodEnum<{
|
|
7727
|
-
orca: "orca";
|
|
7728
|
-
fusion: "fusion";
|
|
7729
|
-
}>;
|
|
7730
|
-
sqrtPrice: z.ZodString;
|
|
7731
|
-
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
7732
|
-
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7733
|
-
feesUsd: z.ZodNumber;
|
|
7734
|
-
priceChange: z.ZodNumber;
|
|
7735
|
-
volumeUsd: z.ZodNumber;
|
|
7736
|
-
}, z.core.$strip>>;
|
|
7737
|
-
tvlUsd: z.ZodNumber;
|
|
7738
|
-
}, z.core.$strip>]>>;
|
|
7739
|
-
tickCurrentIndex: z.ZodInt;
|
|
7740
|
-
tickSpacing: z.ZodInt;
|
|
7741
|
-
tokenAVault: z.ZodString;
|
|
7742
|
-
tokenBVault: z.ZodString;
|
|
7743
|
-
}, z.core.$strip>;
|
|
7744
|
-
protocolFee: z.ZodInt;
|
|
7745
|
-
protocolFeeOnCollateral: z.ZodInt;
|
|
7746
|
-
rebalanceProtocolFee: z.ZodInt;
|
|
7747
|
-
}, z.core.$strip>>;
|
|
7748
|
-
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7749
|
-
address: z.ZodString;
|
|
7750
|
-
decimals: z.ZodInt;
|
|
7751
|
-
logo: z.ZodString;
|
|
7752
|
-
logo128: z.ZodString;
|
|
7753
|
-
logo32: z.ZodString;
|
|
7754
|
-
logo64: z.ZodString;
|
|
7755
|
-
name: z.ZodString;
|
|
7756
|
-
symbol: z.ZodString;
|
|
7757
|
-
}, z.core.$strip>>;
|
|
7758
|
-
}, z.core.$strip>;
|
|
7759
|
-
declare const zSpotPositionsListResponse: z.ZodObject<{
|
|
7760
|
-
items: z.ZodArray<z.ZodObject<{
|
|
7761
|
-
address: z.ZodString;
|
|
7762
|
-
authority: z.ZodString;
|
|
7763
|
-
closedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>, z.ZodNull]>>;
|
|
7764
|
-
collateralToken: z.ZodEnum<{
|
|
7765
|
-
a: "a";
|
|
7766
|
-
b: "b";
|
|
7767
|
-
}>;
|
|
7768
|
-
currentDebt: z.ZodObject<{
|
|
7769
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7770
|
-
usd: z.ZodNumber;
|
|
7771
|
-
}, z.core.$strip>;
|
|
7772
|
-
depositedCollateral: z.ZodObject<{
|
|
7773
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7774
|
-
usd: z.ZodNumber;
|
|
7775
|
-
}, z.core.$strip>;
|
|
7776
|
-
entryPrice: z.ZodNumber;
|
|
7777
|
-
initialDebt: z.ZodObject<{
|
|
7778
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7779
|
-
usd: z.ZodNumber;
|
|
7780
|
-
}, z.core.$strip>;
|
|
7781
|
-
leverage: z.ZodNumber;
|
|
7782
|
-
liquidationPrice: z.ZodNumber;
|
|
7783
|
-
lowerLimitOrderPrice: z.ZodNumber;
|
|
7784
|
-
market: z.ZodString;
|
|
7785
|
-
marketMaker: z.ZodEnum<{
|
|
7786
|
-
orca: "orca";
|
|
7787
|
-
fusion: "fusion";
|
|
7788
|
-
}>;
|
|
7789
|
-
maxLeverage: z.ZodNumber;
|
|
7790
|
-
openedAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7791
|
-
pnlUsd: z.ZodObject<{
|
|
7792
|
-
amount: z.ZodNumber;
|
|
7793
|
-
rate: z.ZodNumber;
|
|
7794
|
-
}, z.core.$strip>;
|
|
7795
|
-
positionToken: z.ZodEnum<{
|
|
7796
|
-
a: "a";
|
|
7797
|
-
b: "b";
|
|
7798
|
-
}>;
|
|
7799
|
-
state: z.ZodEnum<{
|
|
7800
|
-
open: "open";
|
|
7801
|
-
closed: "closed";
|
|
7802
|
-
}>;
|
|
7803
|
-
total: z.ZodObject<{
|
|
7804
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7805
|
-
usd: z.ZodNumber;
|
|
7806
|
-
}, z.core.$strip>;
|
|
7807
|
-
upperLimitOrderPrice: z.ZodNumber;
|
|
7808
|
-
version: z.ZodInt;
|
|
7809
|
-
}, z.core.$strip>>;
|
|
7810
|
-
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7811
|
-
address: z.ZodString;
|
|
7812
|
-
addressLookupTable: z.ZodString;
|
|
7813
|
-
borrowLimitA: z.ZodObject<{
|
|
7814
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7815
|
-
usd: z.ZodNumber;
|
|
7816
|
-
}, z.core.$strip>;
|
|
7817
|
-
borrowLimitB: z.ZodObject<{
|
|
7818
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7819
|
-
usd: z.ZodNumber;
|
|
7820
|
-
}, z.core.$strip>;
|
|
7821
|
-
borrowedFundsA: z.ZodObject<{
|
|
7822
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7823
|
-
usd: z.ZodNumber;
|
|
7824
|
-
}, z.core.$strip>;
|
|
7825
|
-
borrowedFundsB: z.ZodObject<{
|
|
7826
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7827
|
-
usd: z.ZodNumber;
|
|
7828
|
-
}, z.core.$strip>;
|
|
7829
|
-
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7830
|
-
disabled: z.ZodBoolean;
|
|
7831
|
-
liquidationFee: z.ZodInt;
|
|
7832
|
-
liquidationThreshold: z.ZodInt;
|
|
7833
|
-
maxLeverage: z.ZodInt;
|
|
7834
|
-
maxSpotPositionSizeA: z.ZodObject<{
|
|
7835
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7836
|
-
usd: z.ZodNumber;
|
|
7837
|
-
}, z.core.$strip>;
|
|
7838
|
-
maxSpotPositionSizeB: z.ZodObject<{
|
|
7839
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
7840
|
-
usd: z.ZodNumber;
|
|
7841
|
-
}, z.core.$strip>;
|
|
7842
|
-
maxSwapSlippage: z.ZodInt;
|
|
7843
|
-
oraclePriceDeviationThreshold: z.ZodInt;
|
|
7844
|
-
pool: z.ZodObject<{
|
|
8893
|
+
entity: z.ZodEnum<{
|
|
8894
|
+
initial_message: "initial_message";
|
|
8895
|
+
pool_swap: "pool_swap";
|
|
8896
|
+
order_book: "order_book";
|
|
8897
|
+
oracle_price: "oracle_price";
|
|
8898
|
+
market: "market";
|
|
8899
|
+
tuna_position: "tuna_position";
|
|
8900
|
+
tuna_spot_position: "tuna_spot_position";
|
|
8901
|
+
staking_position: "staking_position";
|
|
8902
|
+
lending_position: "lending_position";
|
|
8903
|
+
fusion_limit_order: "fusion_limit_order";
|
|
8904
|
+
trade_history_entry: "trade_history_entry";
|
|
8905
|
+
order_history_entry: "order_history_entry";
|
|
8906
|
+
state_snapshot: "state_snapshot";
|
|
8907
|
+
}>;
|
|
8908
|
+
id: z.ZodString;
|
|
8909
|
+
}, z.core.$strip>;
|
|
8910
|
+
declare const zSseResponseLendingPosition: z.ZodIntersection<z.ZodObject<{
|
|
8911
|
+
action: z.ZodEnum<{
|
|
8912
|
+
create: "create";
|
|
8913
|
+
update: "update";
|
|
8914
|
+
}>;
|
|
8915
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8916
|
+
data: z.ZodObject<{
|
|
8917
|
+
item: z.ZodObject<{
|
|
7845
8918
|
address: z.ZodString;
|
|
7846
|
-
|
|
7847
|
-
|
|
7848
|
-
|
|
7849
|
-
|
|
7850
|
-
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
|
|
7859
|
-
|
|
7860
|
-
|
|
7861
|
-
priceChange: z.ZodNumber;
|
|
7862
|
-
volumeUsd: z.ZodNumber;
|
|
7863
|
-
}, z.core.$strip>>;
|
|
7864
|
-
tvlUsd: z.ZodNumber;
|
|
7865
|
-
}, z.core.$strip>]>>;
|
|
7866
|
-
tickCurrentIndex: z.ZodInt;
|
|
7867
|
-
tickSpacing: z.ZodInt;
|
|
7868
|
-
tokenAVault: z.ZodString;
|
|
7869
|
-
tokenBVault: z.ZodString;
|
|
8919
|
+
authority: z.ZodString;
|
|
8920
|
+
earned: z.ZodObject<{
|
|
8921
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8922
|
+
usd: z.ZodNumber;
|
|
8923
|
+
}, z.core.$strip>;
|
|
8924
|
+
funds: z.ZodObject<{
|
|
8925
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8926
|
+
usd: z.ZodNumber;
|
|
8927
|
+
}, z.core.$strip>;
|
|
8928
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8929
|
+
mint: z.ZodString;
|
|
8930
|
+
shares: z.ZodCoercedBigInt<unknown>;
|
|
8931
|
+
supplyApy: z.ZodNumber;
|
|
8932
|
+
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
8933
|
+
vault: z.ZodString;
|
|
7870
8934
|
}, z.core.$strip>;
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
|
|
7877
|
-
|
|
7878
|
-
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7882
|
-
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
|
|
8935
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8936
|
+
address: z.ZodString;
|
|
8937
|
+
addressLookupTable: z.ZodString;
|
|
8938
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8939
|
+
borrowLimitA: z.ZodObject<{
|
|
8940
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8941
|
+
usd: z.ZodNumber;
|
|
8942
|
+
}, z.core.$strip>;
|
|
8943
|
+
borrowLimitB: z.ZodObject<{
|
|
8944
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8945
|
+
usd: z.ZodNumber;
|
|
8946
|
+
}, z.core.$strip>;
|
|
8947
|
+
borrowedFundsA: z.ZodObject<{
|
|
8948
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8949
|
+
usd: z.ZodNumber;
|
|
8950
|
+
}, z.core.$strip>;
|
|
8951
|
+
borrowedFundsB: z.ZodObject<{
|
|
8952
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8953
|
+
usd: z.ZodNumber;
|
|
8954
|
+
}, z.core.$strip>;
|
|
8955
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8956
|
+
disabled: z.ZodBoolean;
|
|
8957
|
+
isPermissionless: z.ZodBoolean;
|
|
8958
|
+
isVerified: z.ZodBoolean;
|
|
8959
|
+
liquidationFee: z.ZodInt;
|
|
8960
|
+
liquidationThreshold: z.ZodInt;
|
|
8961
|
+
maxLeverage: z.ZodInt;
|
|
8962
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
8963
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8964
|
+
usd: z.ZodNumber;
|
|
8965
|
+
}, z.core.$strip>;
|
|
8966
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
8967
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
8968
|
+
usd: z.ZodNumber;
|
|
8969
|
+
}, z.core.$strip>;
|
|
8970
|
+
maxSwapSlippage: z.ZodInt;
|
|
8971
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
8972
|
+
pool: z.ZodObject<{
|
|
8973
|
+
address: z.ZodString;
|
|
8974
|
+
feeRate: z.ZodInt;
|
|
8975
|
+
liquidity: z.ZodString;
|
|
8976
|
+
mintA: z.ZodString;
|
|
8977
|
+
mintB: z.ZodString;
|
|
8978
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
8979
|
+
price: z.ZodNumber;
|
|
8980
|
+
protocolFeeRate: z.ZodInt;
|
|
8981
|
+
provider: z.ZodEnum<{
|
|
8982
|
+
orca: "orca";
|
|
8983
|
+
fusion: "fusion";
|
|
8984
|
+
}>;
|
|
8985
|
+
sqrtPrice: z.ZodString;
|
|
8986
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
8987
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8988
|
+
feesUsd: z.ZodNumber;
|
|
8989
|
+
priceChange: z.ZodNumber;
|
|
8990
|
+
volumeUsd: z.ZodNumber;
|
|
8991
|
+
}, z.core.$strip>>;
|
|
8992
|
+
tvlUsd: z.ZodNumber;
|
|
8993
|
+
}, z.core.$strip>]>>;
|
|
8994
|
+
tickCurrentIndex: z.ZodInt;
|
|
8995
|
+
tickSpacing: z.ZodInt;
|
|
8996
|
+
tokenAVault: z.ZodString;
|
|
8997
|
+
tokenBVault: z.ZodString;
|
|
8998
|
+
}, z.core.$strip>;
|
|
8999
|
+
protocolFee: z.ZodInt;
|
|
9000
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
9001
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
9002
|
+
vaultA: z.ZodString;
|
|
9003
|
+
vaultB: z.ZodString;
|
|
9004
|
+
}, z.core.$strip>>;
|
|
9005
|
+
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9006
|
+
address: z.ZodString;
|
|
9007
|
+
decimals: z.ZodInt;
|
|
9008
|
+
logo: z.ZodString;
|
|
9009
|
+
logo128: z.ZodString;
|
|
9010
|
+
logo32: z.ZodString;
|
|
9011
|
+
logo64: z.ZodString;
|
|
9012
|
+
name: z.ZodString;
|
|
9013
|
+
symbol: z.ZodString;
|
|
9014
|
+
}, z.core.$strip>>;
|
|
9015
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9016
|
+
address: z.ZodString;
|
|
9017
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9018
|
+
borrowApy: z.ZodNumber;
|
|
9019
|
+
borrowedFunds: z.ZodObject<{
|
|
9020
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9021
|
+
usd: z.ZodNumber;
|
|
9022
|
+
}, z.core.$strip>;
|
|
9023
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
9024
|
+
depositedFunds: z.ZodObject<{
|
|
9025
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9026
|
+
usd: z.ZodNumber;
|
|
9027
|
+
}, z.core.$strip>;
|
|
9028
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
9029
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
9030
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9031
|
+
mint: z.ZodString;
|
|
9032
|
+
pythOracleFeedId: z.ZodString;
|
|
9033
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
9034
|
+
supplyApy: z.ZodNumber;
|
|
9035
|
+
supplyLimit: z.ZodObject<{
|
|
9036
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9037
|
+
usd: z.ZodNumber;
|
|
9038
|
+
}, z.core.$strip>;
|
|
9039
|
+
utilization: z.ZodNumber;
|
|
9040
|
+
}, z.core.$strip>>;
|
|
9041
|
+
}, z.core.$strip>;
|
|
9042
|
+
entity: z.ZodEnum<{
|
|
9043
|
+
initial_message: "initial_message";
|
|
9044
|
+
pool_swap: "pool_swap";
|
|
9045
|
+
order_book: "order_book";
|
|
9046
|
+
oracle_price: "oracle_price";
|
|
9047
|
+
market: "market";
|
|
9048
|
+
tuna_position: "tuna_position";
|
|
9049
|
+
tuna_spot_position: "tuna_spot_position";
|
|
9050
|
+
staking_position: "staking_position";
|
|
9051
|
+
lending_position: "lending_position";
|
|
9052
|
+
fusion_limit_order: "fusion_limit_order";
|
|
9053
|
+
trade_history_entry: "trade_history_entry";
|
|
9054
|
+
order_history_entry: "order_history_entry";
|
|
9055
|
+
state_snapshot: "state_snapshot";
|
|
9056
|
+
}>;
|
|
9057
|
+
id: z.ZodString;
|
|
9058
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9059
|
+
entity: z.ZodEnum<{
|
|
9060
|
+
lending_position: "lending_position";
|
|
9061
|
+
}>;
|
|
9062
|
+
}, z.core.$strip>>;
|
|
7886
9063
|
declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
7887
9064
|
action: z.ZodString;
|
|
7888
9065
|
data: z.ZodObject<{
|
|
@@ -7919,6 +9096,7 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
7919
9096
|
markets: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7920
9097
|
address: z.ZodString;
|
|
7921
9098
|
addressLookupTable: z.ZodString;
|
|
9099
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
7922
9100
|
borrowLimitA: z.ZodObject<{
|
|
7923
9101
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
7924
9102
|
usd: z.ZodNumber;
|
|
@@ -7937,6 +9115,8 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
7937
9115
|
}, z.core.$strip>;
|
|
7938
9116
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
7939
9117
|
disabled: z.ZodBoolean;
|
|
9118
|
+
isPermissionless: z.ZodBoolean;
|
|
9119
|
+
isVerified: z.ZodBoolean;
|
|
7940
9120
|
liquidationFee: z.ZodInt;
|
|
7941
9121
|
liquidationThreshold: z.ZodInt;
|
|
7942
9122
|
maxLeverage: z.ZodInt;
|
|
@@ -7980,6 +9160,8 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
7980
9160
|
protocolFee: z.ZodInt;
|
|
7981
9161
|
protocolFeeOnCollateral: z.ZodInt;
|
|
7982
9162
|
rebalanceProtocolFee: z.ZodInt;
|
|
9163
|
+
vaultA: z.ZodString;
|
|
9164
|
+
vaultB: z.ZodString;
|
|
7983
9165
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
7984
9166
|
mints: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
7985
9167
|
address: z.ZodString;
|
|
@@ -8169,74 +9351,44 @@ declare const zSseResponseSnapshot: z.ZodIntersection<z.ZodObject<{
|
|
|
8169
9351
|
total: z.ZodObject<{
|
|
8170
9352
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
8171
9353
|
usd: z.ZodNumber;
|
|
8172
|
-
}, z.core.$strip>;
|
|
8173
|
-
upperLimitOrderPrice: z.ZodNumber;
|
|
8174
|
-
version: z.ZodInt;
|
|
8175
|
-
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
}, z.core.$strip
|
|
8184
|
-
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
|
|
8188
|
-
}, z.core.$strip>;
|
|
8189
|
-
|
|
8190
|
-
|
|
8191
|
-
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
|
|
8198
|
-
|
|
8199
|
-
|
|
8200
|
-
|
|
8201
|
-
|
|
8202
|
-
}, z.core.$strip>>;
|
|
8203
|
-
}, z.core.$strip>>;
|
|
8204
|
-
}, z.core.$strip>;
|
|
8205
|
-
declare const zValidationErrorCodeValidationDetailsErrorBody: z.ZodObject<{
|
|
8206
|
-
code: z.ZodEnum<{
|
|
8207
|
-
validation_failed: "validation_failed";
|
|
8208
|
-
}>;
|
|
8209
|
-
data: z.ZodOptional<z.ZodObject<{
|
|
8210
|
-
errors: z.ZodArray<z.ZodObject<{
|
|
8211
|
-
field: z.ZodString;
|
|
8212
|
-
message: z.ZodString;
|
|
8213
|
-
}, z.core.$strip>>;
|
|
8214
|
-
}, z.core.$strip>>;
|
|
8215
|
-
}, z.core.$strip>;
|
|
8216
|
-
declare const zVaultDto: z.ZodObject<{
|
|
8217
|
-
address: z.ZodString;
|
|
8218
|
-
borrowApy: z.ZodNumber;
|
|
8219
|
-
borrowedFunds: z.ZodObject<{
|
|
8220
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
8221
|
-
usd: z.ZodNumber;
|
|
8222
|
-
}, z.core.$strip>;
|
|
8223
|
-
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
8224
|
-
depositedFunds: z.ZodObject<{
|
|
8225
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
8226
|
-
usd: z.ZodNumber;
|
|
8227
|
-
}, z.core.$strip>;
|
|
8228
|
-
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
8229
|
-
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
8230
|
-
mint: z.ZodString;
|
|
8231
|
-
pythOracleFeedId: z.ZodString;
|
|
8232
|
-
pythOraclePriceUpdate: z.ZodString;
|
|
8233
|
-
supplyApy: z.ZodNumber;
|
|
8234
|
-
supplyLimit: z.ZodObject<{
|
|
8235
|
-
amount: z.ZodCoercedBigInt<unknown>;
|
|
8236
|
-
usd: z.ZodNumber;
|
|
9354
|
+
}, z.core.$strip>;
|
|
9355
|
+
upperLimitOrderPrice: z.ZodNumber;
|
|
9356
|
+
version: z.ZodInt;
|
|
9357
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
9358
|
+
vaults: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9359
|
+
address: z.ZodString;
|
|
9360
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9361
|
+
borrowApy: z.ZodNumber;
|
|
9362
|
+
borrowedFunds: z.ZodObject<{
|
|
9363
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9364
|
+
usd: z.ZodNumber;
|
|
9365
|
+
}, z.core.$strip>;
|
|
9366
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
9367
|
+
depositedFunds: z.ZodObject<{
|
|
9368
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9369
|
+
usd: z.ZodNumber;
|
|
9370
|
+
}, z.core.$strip>;
|
|
9371
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
9372
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
9373
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9374
|
+
mint: z.ZodString;
|
|
9375
|
+
pythOracleFeedId: z.ZodString;
|
|
9376
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
9377
|
+
supplyApy: z.ZodNumber;
|
|
9378
|
+
supplyLimit: z.ZodObject<{
|
|
9379
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9380
|
+
usd: z.ZodNumber;
|
|
9381
|
+
}, z.core.$strip>;
|
|
9382
|
+
utilization: z.ZodNumber;
|
|
9383
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
8237
9384
|
}, z.core.$strip>;
|
|
8238
|
-
|
|
8239
|
-
|
|
9385
|
+
entity: z.ZodString;
|
|
9386
|
+
id: z.ZodString;
|
|
9387
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9388
|
+
entity: z.ZodEnum<{
|
|
9389
|
+
state_snapshot: "state_snapshot";
|
|
9390
|
+
}>;
|
|
9391
|
+
}, z.core.$strip>>;
|
|
8240
9392
|
declare const zVaultError400BadRequest: z.ZodObject<{
|
|
8241
9393
|
code: z.ZodEnum<{
|
|
8242
9394
|
bad_request: "bad_request";
|
|
@@ -8270,6 +9422,7 @@ declare const zVaultError500Error: z.ZodObject<{
|
|
|
8270
9422
|
declare const zVaultResponse: z.ZodObject<{
|
|
8271
9423
|
item: z.ZodObject<{
|
|
8272
9424
|
address: z.ZodString;
|
|
9425
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8273
9426
|
borrowApy: z.ZodNumber;
|
|
8274
9427
|
borrowedFunds: z.ZodObject<{
|
|
8275
9428
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -8282,6 +9435,7 @@ declare const zVaultResponse: z.ZodObject<{
|
|
|
8282
9435
|
}, z.core.$strip>;
|
|
8283
9436
|
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
8284
9437
|
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
9438
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8285
9439
|
mint: z.ZodString;
|
|
8286
9440
|
pythOracleFeedId: z.ZodString;
|
|
8287
9441
|
pythOraclePriceUpdate: z.ZodString;
|
|
@@ -8319,6 +9473,7 @@ declare const zVaultStatsDto: z.ZodObject<{
|
|
|
8319
9473
|
declare const zVaultsListResponse: z.ZodObject<{
|
|
8320
9474
|
items: z.ZodArray<z.ZodObject<{
|
|
8321
9475
|
address: z.ZodString;
|
|
9476
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8322
9477
|
borrowApy: z.ZodNumber;
|
|
8323
9478
|
borrowedFunds: z.ZodObject<{
|
|
8324
9479
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -8331,6 +9486,7 @@ declare const zVaultsListResponse: z.ZodObject<{
|
|
|
8331
9486
|
}, z.core.$strip>;
|
|
8332
9487
|
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
8333
9488
|
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
9489
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8334
9490
|
mint: z.ZodString;
|
|
8335
9491
|
pythOracleFeedId: z.ZodString;
|
|
8336
9492
|
pythOraclePriceUpdate: z.ZodString;
|
|
@@ -8674,12 +9830,83 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8674
9830
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
8675
9831
|
usd: z.ZodNumber;
|
|
8676
9832
|
}, z.core.$strip>;
|
|
9833
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8677
9834
|
mint: z.ZodString;
|
|
8678
9835
|
shares: z.ZodCoercedBigInt<unknown>;
|
|
8679
9836
|
supplyApy: z.ZodNumber;
|
|
8680
9837
|
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
8681
9838
|
vault: z.ZodString;
|
|
8682
9839
|
}, z.core.$strip>;
|
|
9840
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9841
|
+
address: z.ZodString;
|
|
9842
|
+
addressLookupTable: z.ZodString;
|
|
9843
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9844
|
+
borrowLimitA: z.ZodObject<{
|
|
9845
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9846
|
+
usd: z.ZodNumber;
|
|
9847
|
+
}, z.core.$strip>;
|
|
9848
|
+
borrowLimitB: z.ZodObject<{
|
|
9849
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9850
|
+
usd: z.ZodNumber;
|
|
9851
|
+
}, z.core.$strip>;
|
|
9852
|
+
borrowedFundsA: z.ZodObject<{
|
|
9853
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9854
|
+
usd: z.ZodNumber;
|
|
9855
|
+
}, z.core.$strip>;
|
|
9856
|
+
borrowedFundsB: z.ZodObject<{
|
|
9857
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9858
|
+
usd: z.ZodNumber;
|
|
9859
|
+
}, z.core.$strip>;
|
|
9860
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
9861
|
+
disabled: z.ZodBoolean;
|
|
9862
|
+
isPermissionless: z.ZodBoolean;
|
|
9863
|
+
isVerified: z.ZodBoolean;
|
|
9864
|
+
liquidationFee: z.ZodInt;
|
|
9865
|
+
liquidationThreshold: z.ZodInt;
|
|
9866
|
+
maxLeverage: z.ZodInt;
|
|
9867
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
9868
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9869
|
+
usd: z.ZodNumber;
|
|
9870
|
+
}, z.core.$strip>;
|
|
9871
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
9872
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9873
|
+
usd: z.ZodNumber;
|
|
9874
|
+
}, z.core.$strip>;
|
|
9875
|
+
maxSwapSlippage: z.ZodInt;
|
|
9876
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
9877
|
+
pool: z.ZodObject<{
|
|
9878
|
+
address: z.ZodString;
|
|
9879
|
+
feeRate: z.ZodInt;
|
|
9880
|
+
liquidity: z.ZodString;
|
|
9881
|
+
mintA: z.ZodString;
|
|
9882
|
+
mintB: z.ZodString;
|
|
9883
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
9884
|
+
price: z.ZodNumber;
|
|
9885
|
+
protocolFeeRate: z.ZodInt;
|
|
9886
|
+
provider: z.ZodEnum<{
|
|
9887
|
+
orca: "orca";
|
|
9888
|
+
fusion: "fusion";
|
|
9889
|
+
}>;
|
|
9890
|
+
sqrtPrice: z.ZodString;
|
|
9891
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
9892
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9893
|
+
feesUsd: z.ZodNumber;
|
|
9894
|
+
priceChange: z.ZodNumber;
|
|
9895
|
+
volumeUsd: z.ZodNumber;
|
|
9896
|
+
}, z.core.$strip>>;
|
|
9897
|
+
tvlUsd: z.ZodNumber;
|
|
9898
|
+
}, z.core.$strip>]>>;
|
|
9899
|
+
tickCurrentIndex: z.ZodInt;
|
|
9900
|
+
tickSpacing: z.ZodInt;
|
|
9901
|
+
tokenAVault: z.ZodString;
|
|
9902
|
+
tokenBVault: z.ZodString;
|
|
9903
|
+
}, z.core.$strip>;
|
|
9904
|
+
protocolFee: z.ZodInt;
|
|
9905
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
9906
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
9907
|
+
vaultA: z.ZodString;
|
|
9908
|
+
vaultB: z.ZodString;
|
|
9909
|
+
}, z.core.$strip>>;
|
|
8683
9910
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8684
9911
|
address: z.ZodString;
|
|
8685
9912
|
decimals: z.ZodInt;
|
|
@@ -8690,6 +9917,32 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8690
9917
|
name: z.ZodString;
|
|
8691
9918
|
symbol: z.ZodString;
|
|
8692
9919
|
}, z.core.$strip>>;
|
|
9920
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9921
|
+
address: z.ZodString;
|
|
9922
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9923
|
+
borrowApy: z.ZodNumber;
|
|
9924
|
+
borrowedFunds: z.ZodObject<{
|
|
9925
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9926
|
+
usd: z.ZodNumber;
|
|
9927
|
+
}, z.core.$strip>;
|
|
9928
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
9929
|
+
depositedFunds: z.ZodObject<{
|
|
9930
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9931
|
+
usd: z.ZodNumber;
|
|
9932
|
+
}, z.core.$strip>;
|
|
9933
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
9934
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
9935
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9936
|
+
mint: z.ZodString;
|
|
9937
|
+
pythOracleFeedId: z.ZodString;
|
|
9938
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
9939
|
+
supplyApy: z.ZodNumber;
|
|
9940
|
+
supplyLimit: z.ZodObject<{
|
|
9941
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
9942
|
+
usd: z.ZodNumber;
|
|
9943
|
+
}, z.core.$strip>;
|
|
9944
|
+
utilization: z.ZodNumber;
|
|
9945
|
+
}, z.core.$strip>>;
|
|
8693
9946
|
}, z.core.$strip>;
|
|
8694
9947
|
entity: z.ZodEnum<{
|
|
8695
9948
|
initial_message: "initial_message";
|
|
@@ -8768,6 +10021,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8768
10021
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8769
10022
|
address: z.ZodString;
|
|
8770
10023
|
addressLookupTable: z.ZodString;
|
|
10024
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8771
10025
|
borrowLimitA: z.ZodObject<{
|
|
8772
10026
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
8773
10027
|
usd: z.ZodNumber;
|
|
@@ -8786,6 +10040,8 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8786
10040
|
}, z.core.$strip>;
|
|
8787
10041
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8788
10042
|
disabled: z.ZodBoolean;
|
|
10043
|
+
isPermissionless: z.ZodBoolean;
|
|
10044
|
+
isVerified: z.ZodBoolean;
|
|
8789
10045
|
liquidationFee: z.ZodInt;
|
|
8790
10046
|
liquidationThreshold: z.ZodInt;
|
|
8791
10047
|
maxLeverage: z.ZodInt;
|
|
@@ -8829,6 +10085,8 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8829
10085
|
protocolFee: z.ZodInt;
|
|
8830
10086
|
protocolFeeOnCollateral: z.ZodInt;
|
|
8831
10087
|
rebalanceProtocolFee: z.ZodInt;
|
|
10088
|
+
vaultA: z.ZodString;
|
|
10089
|
+
vaultB: z.ZodString;
|
|
8832
10090
|
}, z.core.$strip>>;
|
|
8833
10091
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8834
10092
|
address: z.ZodString;
|
|
@@ -8924,6 +10182,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8924
10182
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8925
10183
|
address: z.ZodString;
|
|
8926
10184
|
addressLookupTable: z.ZodString;
|
|
10185
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
8927
10186
|
borrowLimitA: z.ZodObject<{
|
|
8928
10187
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
8929
10188
|
usd: z.ZodNumber;
|
|
@@ -8942,6 +10201,8 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8942
10201
|
}, z.core.$strip>;
|
|
8943
10202
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
8944
10203
|
disabled: z.ZodBoolean;
|
|
10204
|
+
isPermissionless: z.ZodBoolean;
|
|
10205
|
+
isVerified: z.ZodBoolean;
|
|
8945
10206
|
liquidationFee: z.ZodInt;
|
|
8946
10207
|
liquidationThreshold: z.ZodInt;
|
|
8947
10208
|
maxLeverage: z.ZodInt;
|
|
@@ -8985,6 +10246,8 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
8985
10246
|
protocolFee: z.ZodInt;
|
|
8986
10247
|
protocolFeeOnCollateral: z.ZodInt;
|
|
8987
10248
|
rebalanceProtocolFee: z.ZodInt;
|
|
10249
|
+
vaultA: z.ZodString;
|
|
10250
|
+
vaultB: z.ZodString;
|
|
8988
10251
|
}, z.core.$strip>>;
|
|
8989
10252
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8990
10253
|
address: z.ZodString;
|
|
@@ -9055,6 +10318,7 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
9055
10318
|
markets: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9056
10319
|
address: z.ZodString;
|
|
9057
10320
|
addressLookupTable: z.ZodString;
|
|
10321
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9058
10322
|
borrowLimitA: z.ZodObject<{
|
|
9059
10323
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
9060
10324
|
usd: z.ZodNumber;
|
|
@@ -9073,6 +10337,8 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
9073
10337
|
}, z.core.$strip>;
|
|
9074
10338
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
9075
10339
|
disabled: z.ZodBoolean;
|
|
10340
|
+
isPermissionless: z.ZodBoolean;
|
|
10341
|
+
isVerified: z.ZodBoolean;
|
|
9076
10342
|
liquidationFee: z.ZodInt;
|
|
9077
10343
|
liquidationThreshold: z.ZodInt;
|
|
9078
10344
|
maxLeverage: z.ZodInt;
|
|
@@ -9116,6 +10382,8 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
9116
10382
|
protocolFee: z.ZodInt;
|
|
9117
10383
|
protocolFeeOnCollateral: z.ZodInt;
|
|
9118
10384
|
rebalanceProtocolFee: z.ZodInt;
|
|
10385
|
+
vaultA: z.ZodString;
|
|
10386
|
+
vaultB: z.ZodString;
|
|
9119
10387
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
9120
10388
|
mints: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9121
10389
|
address: z.ZodString;
|
|
@@ -9309,6 +10577,32 @@ declare const zSseResponse: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
|
9309
10577
|
upperLimitOrderPrice: z.ZodNumber;
|
|
9310
10578
|
version: z.ZodInt;
|
|
9311
10579
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
10580
|
+
vaults: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10581
|
+
address: z.ZodString;
|
|
10582
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10583
|
+
borrowApy: z.ZodNumber;
|
|
10584
|
+
borrowedFunds: z.ZodObject<{
|
|
10585
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10586
|
+
usd: z.ZodNumber;
|
|
10587
|
+
}, z.core.$strip>;
|
|
10588
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
10589
|
+
depositedFunds: z.ZodObject<{
|
|
10590
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10591
|
+
usd: z.ZodNumber;
|
|
10592
|
+
}, z.core.$strip>;
|
|
10593
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
10594
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
10595
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10596
|
+
mint: z.ZodString;
|
|
10597
|
+
pythOracleFeedId: z.ZodString;
|
|
10598
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
10599
|
+
supplyApy: z.ZodNumber;
|
|
10600
|
+
supplyLimit: z.ZodObject<{
|
|
10601
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10602
|
+
usd: z.ZodNumber;
|
|
10603
|
+
}, z.core.$strip>;
|
|
10604
|
+
utilization: z.ZodNumber;
|
|
10605
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
9312
10606
|
}, z.core.$strip>;
|
|
9313
10607
|
entity: z.ZodString;
|
|
9314
10608
|
id: z.ZodString;
|
|
@@ -9410,6 +10704,7 @@ declare const zGetMarketsResponse: z.ZodObject<{
|
|
|
9410
10704
|
items: z.ZodArray<z.ZodObject<{
|
|
9411
10705
|
address: z.ZodString;
|
|
9412
10706
|
addressLookupTable: z.ZodString;
|
|
10707
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9413
10708
|
borrowLimitA: z.ZodObject<{
|
|
9414
10709
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
9415
10710
|
usd: z.ZodNumber;
|
|
@@ -9428,6 +10723,8 @@ declare const zGetMarketsResponse: z.ZodObject<{
|
|
|
9428
10723
|
}, z.core.$strip>;
|
|
9429
10724
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
9430
10725
|
disabled: z.ZodBoolean;
|
|
10726
|
+
isPermissionless: z.ZodBoolean;
|
|
10727
|
+
isVerified: z.ZodBoolean;
|
|
9431
10728
|
liquidationFee: z.ZodInt;
|
|
9432
10729
|
liquidationThreshold: z.ZodInt;
|
|
9433
10730
|
maxLeverage: z.ZodInt;
|
|
@@ -9471,6 +10768,8 @@ declare const zGetMarketsResponse: z.ZodObject<{
|
|
|
9471
10768
|
protocolFee: z.ZodInt;
|
|
9472
10769
|
protocolFeeOnCollateral: z.ZodInt;
|
|
9473
10770
|
rebalanceProtocolFee: z.ZodInt;
|
|
10771
|
+
vaultA: z.ZodString;
|
|
10772
|
+
vaultB: z.ZodString;
|
|
9474
10773
|
}, z.core.$strip>>;
|
|
9475
10774
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9476
10775
|
address: z.ZodString;
|
|
@@ -9482,6 +10781,32 @@ declare const zGetMarketsResponse: z.ZodObject<{
|
|
|
9482
10781
|
name: z.ZodString;
|
|
9483
10782
|
symbol: z.ZodString;
|
|
9484
10783
|
}, z.core.$strip>>;
|
|
10784
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10785
|
+
address: z.ZodString;
|
|
10786
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10787
|
+
borrowApy: z.ZodNumber;
|
|
10788
|
+
borrowedFunds: z.ZodObject<{
|
|
10789
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10790
|
+
usd: z.ZodNumber;
|
|
10791
|
+
}, z.core.$strip>;
|
|
10792
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
10793
|
+
depositedFunds: z.ZodObject<{
|
|
10794
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10795
|
+
usd: z.ZodNumber;
|
|
10796
|
+
}, z.core.$strip>;
|
|
10797
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
10798
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
10799
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10800
|
+
mint: z.ZodString;
|
|
10801
|
+
pythOracleFeedId: z.ZodString;
|
|
10802
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
10803
|
+
supplyApy: z.ZodNumber;
|
|
10804
|
+
supplyLimit: z.ZodObject<{
|
|
10805
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10806
|
+
usd: z.ZodNumber;
|
|
10807
|
+
}, z.core.$strip>;
|
|
10808
|
+
utilization: z.ZodNumber;
|
|
10809
|
+
}, z.core.$strip>>;
|
|
9485
10810
|
}, z.core.$strip>;
|
|
9486
10811
|
}, z.core.$strip>;
|
|
9487
10812
|
type GetMarketsResponseZodType = z.infer<typeof zGetMarketsResponse>;
|
|
@@ -9497,6 +10822,7 @@ declare const zGetMarketResponse: z.ZodObject<{
|
|
|
9497
10822
|
item: z.ZodObject<{
|
|
9498
10823
|
address: z.ZodString;
|
|
9499
10824
|
addressLookupTable: z.ZodString;
|
|
10825
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
9500
10826
|
borrowLimitA: z.ZodObject<{
|
|
9501
10827
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
9502
10828
|
usd: z.ZodNumber;
|
|
@@ -9515,6 +10841,8 @@ declare const zGetMarketResponse: z.ZodObject<{
|
|
|
9515
10841
|
}, z.core.$strip>;
|
|
9516
10842
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
9517
10843
|
disabled: z.ZodBoolean;
|
|
10844
|
+
isPermissionless: z.ZodBoolean;
|
|
10845
|
+
isVerified: z.ZodBoolean;
|
|
9518
10846
|
liquidationFee: z.ZodInt;
|
|
9519
10847
|
liquidationThreshold: z.ZodInt;
|
|
9520
10848
|
maxLeverage: z.ZodInt;
|
|
@@ -9558,6 +10886,8 @@ declare const zGetMarketResponse: z.ZodObject<{
|
|
|
9558
10886
|
protocolFee: z.ZodInt;
|
|
9559
10887
|
protocolFeeOnCollateral: z.ZodInt;
|
|
9560
10888
|
rebalanceProtocolFee: z.ZodInt;
|
|
10889
|
+
vaultA: z.ZodString;
|
|
10890
|
+
vaultB: z.ZodString;
|
|
9561
10891
|
}, z.core.$strip>;
|
|
9562
10892
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9563
10893
|
address: z.ZodString;
|
|
@@ -9569,6 +10899,32 @@ declare const zGetMarketResponse: z.ZodObject<{
|
|
|
9569
10899
|
name: z.ZodString;
|
|
9570
10900
|
symbol: z.ZodString;
|
|
9571
10901
|
}, z.core.$strip>>;
|
|
10902
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10903
|
+
address: z.ZodString;
|
|
10904
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10905
|
+
borrowApy: z.ZodNumber;
|
|
10906
|
+
borrowedFunds: z.ZodObject<{
|
|
10907
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10908
|
+
usd: z.ZodNumber;
|
|
10909
|
+
}, z.core.$strip>;
|
|
10910
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
10911
|
+
depositedFunds: z.ZodObject<{
|
|
10912
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10913
|
+
usd: z.ZodNumber;
|
|
10914
|
+
}, z.core.$strip>;
|
|
10915
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
10916
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
10917
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10918
|
+
mint: z.ZodString;
|
|
10919
|
+
pythOracleFeedId: z.ZodString;
|
|
10920
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
10921
|
+
supplyApy: z.ZodNumber;
|
|
10922
|
+
supplyLimit: z.ZodObject<{
|
|
10923
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
10924
|
+
usd: z.ZodNumber;
|
|
10925
|
+
}, z.core.$strip>;
|
|
10926
|
+
utilization: z.ZodNumber;
|
|
10927
|
+
}, z.core.$strip>>;
|
|
9572
10928
|
}, z.core.$strip>;
|
|
9573
10929
|
}, z.core.$strip>;
|
|
9574
10930
|
type GetMarketResponseZodType = z.infer<typeof zGetMarketResponse>;
|
|
@@ -10304,12 +11660,83 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10304
11660
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
10305
11661
|
usd: z.ZodNumber;
|
|
10306
11662
|
}, z.core.$strip>;
|
|
11663
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10307
11664
|
mint: z.ZodString;
|
|
10308
11665
|
shares: z.ZodCoercedBigInt<unknown>;
|
|
10309
11666
|
supplyApy: z.ZodNumber;
|
|
10310
11667
|
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
10311
11668
|
vault: z.ZodString;
|
|
10312
11669
|
}, z.core.$strip>;
|
|
11670
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11671
|
+
address: z.ZodString;
|
|
11672
|
+
addressLookupTable: z.ZodString;
|
|
11673
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11674
|
+
borrowLimitA: z.ZodObject<{
|
|
11675
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
11676
|
+
usd: z.ZodNumber;
|
|
11677
|
+
}, z.core.$strip>;
|
|
11678
|
+
borrowLimitB: z.ZodObject<{
|
|
11679
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
11680
|
+
usd: z.ZodNumber;
|
|
11681
|
+
}, z.core.$strip>;
|
|
11682
|
+
borrowedFundsA: z.ZodObject<{
|
|
11683
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
11684
|
+
usd: z.ZodNumber;
|
|
11685
|
+
}, z.core.$strip>;
|
|
11686
|
+
borrowedFundsB: z.ZodObject<{
|
|
11687
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
11688
|
+
usd: z.ZodNumber;
|
|
11689
|
+
}, z.core.$strip>;
|
|
11690
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
11691
|
+
disabled: z.ZodBoolean;
|
|
11692
|
+
isPermissionless: z.ZodBoolean;
|
|
11693
|
+
isVerified: z.ZodBoolean;
|
|
11694
|
+
liquidationFee: z.ZodInt;
|
|
11695
|
+
liquidationThreshold: z.ZodInt;
|
|
11696
|
+
maxLeverage: z.ZodInt;
|
|
11697
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
11698
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
11699
|
+
usd: z.ZodNumber;
|
|
11700
|
+
}, z.core.$strip>;
|
|
11701
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
11702
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
11703
|
+
usd: z.ZodNumber;
|
|
11704
|
+
}, z.core.$strip>;
|
|
11705
|
+
maxSwapSlippage: z.ZodInt;
|
|
11706
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
11707
|
+
pool: z.ZodObject<{
|
|
11708
|
+
address: z.ZodString;
|
|
11709
|
+
feeRate: z.ZodInt;
|
|
11710
|
+
liquidity: z.ZodString;
|
|
11711
|
+
mintA: z.ZodString;
|
|
11712
|
+
mintB: z.ZodString;
|
|
11713
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
11714
|
+
price: z.ZodNumber;
|
|
11715
|
+
protocolFeeRate: z.ZodInt;
|
|
11716
|
+
provider: z.ZodEnum<{
|
|
11717
|
+
orca: "orca";
|
|
11718
|
+
fusion: "fusion";
|
|
11719
|
+
}>;
|
|
11720
|
+
sqrtPrice: z.ZodString;
|
|
11721
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
11722
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11723
|
+
feesUsd: z.ZodNumber;
|
|
11724
|
+
priceChange: z.ZodNumber;
|
|
11725
|
+
volumeUsd: z.ZodNumber;
|
|
11726
|
+
}, z.core.$strip>>;
|
|
11727
|
+
tvlUsd: z.ZodNumber;
|
|
11728
|
+
}, z.core.$strip>]>>;
|
|
11729
|
+
tickCurrentIndex: z.ZodInt;
|
|
11730
|
+
tickSpacing: z.ZodInt;
|
|
11731
|
+
tokenAVault: z.ZodString;
|
|
11732
|
+
tokenBVault: z.ZodString;
|
|
11733
|
+
}, z.core.$strip>;
|
|
11734
|
+
protocolFee: z.ZodInt;
|
|
11735
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
11736
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
11737
|
+
vaultA: z.ZodString;
|
|
11738
|
+
vaultB: z.ZodString;
|
|
11739
|
+
}, z.core.$strip>>;
|
|
10313
11740
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10314
11741
|
address: z.ZodString;
|
|
10315
11742
|
decimals: z.ZodInt;
|
|
@@ -10320,6 +11747,32 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10320
11747
|
name: z.ZodString;
|
|
10321
11748
|
symbol: z.ZodString;
|
|
10322
11749
|
}, z.core.$strip>>;
|
|
11750
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11751
|
+
address: z.ZodString;
|
|
11752
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11753
|
+
borrowApy: z.ZodNumber;
|
|
11754
|
+
borrowedFunds: z.ZodObject<{
|
|
11755
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
11756
|
+
usd: z.ZodNumber;
|
|
11757
|
+
}, z.core.$strip>;
|
|
11758
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
11759
|
+
depositedFunds: z.ZodObject<{
|
|
11760
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
11761
|
+
usd: z.ZodNumber;
|
|
11762
|
+
}, z.core.$strip>;
|
|
11763
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
11764
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
11765
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11766
|
+
mint: z.ZodString;
|
|
11767
|
+
pythOracleFeedId: z.ZodString;
|
|
11768
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
11769
|
+
supplyApy: z.ZodNumber;
|
|
11770
|
+
supplyLimit: z.ZodObject<{
|
|
11771
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
11772
|
+
usd: z.ZodNumber;
|
|
11773
|
+
}, z.core.$strip>;
|
|
11774
|
+
utilization: z.ZodNumber;
|
|
11775
|
+
}, z.core.$strip>>;
|
|
10323
11776
|
}, z.core.$strip>;
|
|
10324
11777
|
entity: z.ZodEnum<{
|
|
10325
11778
|
initial_message: "initial_message";
|
|
@@ -10398,6 +11851,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10398
11851
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10399
11852
|
address: z.ZodString;
|
|
10400
11853
|
addressLookupTable: z.ZodString;
|
|
11854
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10401
11855
|
borrowLimitA: z.ZodObject<{
|
|
10402
11856
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
10403
11857
|
usd: z.ZodNumber;
|
|
@@ -10416,6 +11870,8 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10416
11870
|
}, z.core.$strip>;
|
|
10417
11871
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
10418
11872
|
disabled: z.ZodBoolean;
|
|
11873
|
+
isPermissionless: z.ZodBoolean;
|
|
11874
|
+
isVerified: z.ZodBoolean;
|
|
10419
11875
|
liquidationFee: z.ZodInt;
|
|
10420
11876
|
liquidationThreshold: z.ZodInt;
|
|
10421
11877
|
maxLeverage: z.ZodInt;
|
|
@@ -10459,6 +11915,8 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10459
11915
|
protocolFee: z.ZodInt;
|
|
10460
11916
|
protocolFeeOnCollateral: z.ZodInt;
|
|
10461
11917
|
rebalanceProtocolFee: z.ZodInt;
|
|
11918
|
+
vaultA: z.ZodString;
|
|
11919
|
+
vaultB: z.ZodString;
|
|
10462
11920
|
}, z.core.$strip>>;
|
|
10463
11921
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10464
11922
|
address: z.ZodString;
|
|
@@ -10554,6 +12012,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10554
12012
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10555
12013
|
address: z.ZodString;
|
|
10556
12014
|
addressLookupTable: z.ZodString;
|
|
12015
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10557
12016
|
borrowLimitA: z.ZodObject<{
|
|
10558
12017
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
10559
12018
|
usd: z.ZodNumber;
|
|
@@ -10572,6 +12031,8 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10572
12031
|
}, z.core.$strip>;
|
|
10573
12032
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
10574
12033
|
disabled: z.ZodBoolean;
|
|
12034
|
+
isPermissionless: z.ZodBoolean;
|
|
12035
|
+
isVerified: z.ZodBoolean;
|
|
10575
12036
|
liquidationFee: z.ZodInt;
|
|
10576
12037
|
liquidationThreshold: z.ZodInt;
|
|
10577
12038
|
maxLeverage: z.ZodInt;
|
|
@@ -10615,6 +12076,8 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10615
12076
|
protocolFee: z.ZodInt;
|
|
10616
12077
|
protocolFeeOnCollateral: z.ZodInt;
|
|
10617
12078
|
rebalanceProtocolFee: z.ZodInt;
|
|
12079
|
+
vaultA: z.ZodString;
|
|
12080
|
+
vaultB: z.ZodString;
|
|
10618
12081
|
}, z.core.$strip>>;
|
|
10619
12082
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10620
12083
|
address: z.ZodString;
|
|
@@ -10685,6 +12148,7 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10685
12148
|
markets: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10686
12149
|
address: z.ZodString;
|
|
10687
12150
|
addressLookupTable: z.ZodString;
|
|
12151
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
10688
12152
|
borrowLimitA: z.ZodObject<{
|
|
10689
12153
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
10690
12154
|
usd: z.ZodNumber;
|
|
@@ -10703,6 +12167,8 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10703
12167
|
}, z.core.$strip>;
|
|
10704
12168
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
10705
12169
|
disabled: z.ZodBoolean;
|
|
12170
|
+
isPermissionless: z.ZodBoolean;
|
|
12171
|
+
isVerified: z.ZodBoolean;
|
|
10706
12172
|
liquidationFee: z.ZodInt;
|
|
10707
12173
|
liquidationThreshold: z.ZodInt;
|
|
10708
12174
|
maxLeverage: z.ZodInt;
|
|
@@ -10746,6 +12212,8 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10746
12212
|
protocolFee: z.ZodInt;
|
|
10747
12213
|
protocolFeeOnCollateral: z.ZodInt;
|
|
10748
12214
|
rebalanceProtocolFee: z.ZodInt;
|
|
12215
|
+
vaultA: z.ZodString;
|
|
12216
|
+
vaultB: z.ZodString;
|
|
10749
12217
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
10750
12218
|
mints: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
10751
12219
|
address: z.ZodString;
|
|
@@ -10939,6 +12407,32 @@ declare const zSseResponse2: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<
|
|
|
10939
12407
|
upperLimitOrderPrice: z.ZodNumber;
|
|
10940
12408
|
version: z.ZodInt;
|
|
10941
12409
|
}, z.core.$strip>>, z.ZodNull]>>;
|
|
12410
|
+
vaults: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12411
|
+
address: z.ZodString;
|
|
12412
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12413
|
+
borrowApy: z.ZodNumber;
|
|
12414
|
+
borrowedFunds: z.ZodObject<{
|
|
12415
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12416
|
+
usd: z.ZodNumber;
|
|
12417
|
+
}, z.core.$strip>;
|
|
12418
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
12419
|
+
depositedFunds: z.ZodObject<{
|
|
12420
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12421
|
+
usd: z.ZodNumber;
|
|
12422
|
+
}, z.core.$strip>;
|
|
12423
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
12424
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
12425
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12426
|
+
mint: z.ZodString;
|
|
12427
|
+
pythOracleFeedId: z.ZodString;
|
|
12428
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
12429
|
+
supplyApy: z.ZodNumber;
|
|
12430
|
+
supplyLimit: z.ZodObject<{
|
|
12431
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12432
|
+
usd: z.ZodNumber;
|
|
12433
|
+
}, z.core.$strip>;
|
|
12434
|
+
utilization: z.ZodNumber;
|
|
12435
|
+
}, z.core.$strip>>, z.ZodNull]>>;
|
|
10942
12436
|
}, z.core.$strip>;
|
|
10943
12437
|
entity: z.ZodString;
|
|
10944
12438
|
id: z.ZodString;
|
|
@@ -10986,6 +12480,129 @@ declare const zUpdateStreamSubscriptionResponse: z.ZodObject<{
|
|
|
10986
12480
|
}, z.core.$strip>;
|
|
10987
12481
|
}, z.core.$strip>;
|
|
10988
12482
|
type UpdateStreamSubscriptionResponseZodType = z.infer<typeof zUpdateStreamSubscriptionResponse>;
|
|
12483
|
+
declare const zGetPairPriceData: z.ZodObject<{
|
|
12484
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
12485
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
12486
|
+
query: z.ZodObject<{
|
|
12487
|
+
tokenA: z.ZodString;
|
|
12488
|
+
tokenB: z.ZodString;
|
|
12489
|
+
}, z.core.$strip>;
|
|
12490
|
+
}, z.core.$strip>;
|
|
12491
|
+
declare const zGetPairPriceResponse: z.ZodObject<{
|
|
12492
|
+
data: z.ZodObject<{
|
|
12493
|
+
tokenA: z.ZodObject<{
|
|
12494
|
+
mint: z.ZodString;
|
|
12495
|
+
priceBlockId: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12496
|
+
priceChange24h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12497
|
+
usdPrice: z.ZodNumber;
|
|
12498
|
+
}, z.core.$strip>;
|
|
12499
|
+
tokenB: z.ZodObject<{
|
|
12500
|
+
mint: z.ZodString;
|
|
12501
|
+
priceBlockId: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12502
|
+
priceChange24h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12503
|
+
usdPrice: z.ZodNumber;
|
|
12504
|
+
}, z.core.$strip>;
|
|
12505
|
+
}, z.core.$strip>;
|
|
12506
|
+
}, z.core.$strip>;
|
|
12507
|
+
type GetPairPriceResponseZodType = z.infer<typeof zGetPairPriceResponse>;
|
|
12508
|
+
declare const zSearchTokensData: z.ZodObject<{
|
|
12509
|
+
body: z.ZodOptional<z.ZodNever>;
|
|
12510
|
+
path: z.ZodOptional<z.ZodNever>;
|
|
12511
|
+
query: z.ZodObject<{
|
|
12512
|
+
q: z.ZodString;
|
|
12513
|
+
}, z.core.$strip>;
|
|
12514
|
+
}, z.core.$strip>;
|
|
12515
|
+
declare const zSearchTokensResponse: z.ZodObject<{
|
|
12516
|
+
data: z.ZodObject<{
|
|
12517
|
+
items: z.ZodArray<z.ZodObject<{
|
|
12518
|
+
audit: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12519
|
+
freezeAuthorityDisabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
12520
|
+
mintAuthorityDisabled: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodNull]>>;
|
|
12521
|
+
topHoldersPercentage: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12522
|
+
}, z.core.$strip>]>>;
|
|
12523
|
+
circSupply: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12524
|
+
decimals: z.ZodInt;
|
|
12525
|
+
fdv: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12526
|
+
firstPool: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12527
|
+
createdAt: z.ZodString;
|
|
12528
|
+
id: z.ZodString;
|
|
12529
|
+
}, z.core.$strip>]>>;
|
|
12530
|
+
holderCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12531
|
+
iconUrl: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
12532
|
+
isVerified: z.ZodBoolean;
|
|
12533
|
+
liquidity: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12534
|
+
mcap: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12535
|
+
mint: z.ZodString;
|
|
12536
|
+
name: z.ZodString;
|
|
12537
|
+
organicScore: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12538
|
+
organicScoreLabel: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
12539
|
+
priceBlockId: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12540
|
+
stats1h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12541
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12542
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12543
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12544
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12545
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12546
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12547
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12548
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12549
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12550
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12551
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12552
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12553
|
+
}, z.core.$strip>]>>;
|
|
12554
|
+
stats24h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12555
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12556
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12557
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12558
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12559
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12560
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12561
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12562
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12563
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12564
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12565
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12566
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12567
|
+
}, z.core.$strip>]>>;
|
|
12568
|
+
stats5m: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12569
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12570
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12571
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12572
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12573
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12574
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12575
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12576
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12577
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12578
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12579
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12580
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12581
|
+
}, z.core.$strip>]>>;
|
|
12582
|
+
stats6h: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12583
|
+
buyOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12584
|
+
buyVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12585
|
+
liquidityChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12586
|
+
numBuys: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12587
|
+
numNetBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12588
|
+
numOrganicBuyers: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12589
|
+
numSells: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12590
|
+
numTraders: z.ZodOptional<z.ZodUnion<readonly [z.ZodCoercedBigInt<unknown>, z.ZodNull]>>;
|
|
12591
|
+
priceChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12592
|
+
sellOrganicVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12593
|
+
sellVolume: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12594
|
+
volumeChange: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12595
|
+
}, z.core.$strip>]>>;
|
|
12596
|
+
symbol: z.ZodString;
|
|
12597
|
+
tags: z.ZodArray<z.ZodString>;
|
|
12598
|
+
tokenProgram: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
12599
|
+
totalSupply: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12600
|
+
updatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
|
|
12601
|
+
usdPrice: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodNull]>>;
|
|
12602
|
+
}, z.core.$strip>>;
|
|
12603
|
+
}, z.core.$strip>;
|
|
12604
|
+
}, z.core.$strip>;
|
|
12605
|
+
type SearchTokensResponseZodType = z.infer<typeof zSearchTokensResponse>;
|
|
10989
12606
|
declare const zGetLendingPositionsData: z.ZodObject<{
|
|
10990
12607
|
body: z.ZodOptional<z.ZodNever>;
|
|
10991
12608
|
path: z.ZodObject<{
|
|
@@ -11006,12 +12623,83 @@ declare const zGetLendingPositionsResponse: z.ZodObject<{
|
|
|
11006
12623
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
11007
12624
|
usd: z.ZodNumber;
|
|
11008
12625
|
}, z.core.$strip>;
|
|
12626
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11009
12627
|
mint: z.ZodString;
|
|
11010
12628
|
shares: z.ZodCoercedBigInt<unknown>;
|
|
11011
12629
|
supplyApy: z.ZodNumber;
|
|
11012
12630
|
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
11013
12631
|
vault: z.ZodString;
|
|
11014
12632
|
}, z.core.$strip>>;
|
|
12633
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12634
|
+
address: z.ZodString;
|
|
12635
|
+
addressLookupTable: z.ZodString;
|
|
12636
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12637
|
+
borrowLimitA: z.ZodObject<{
|
|
12638
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12639
|
+
usd: z.ZodNumber;
|
|
12640
|
+
}, z.core.$strip>;
|
|
12641
|
+
borrowLimitB: z.ZodObject<{
|
|
12642
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12643
|
+
usd: z.ZodNumber;
|
|
12644
|
+
}, z.core.$strip>;
|
|
12645
|
+
borrowedFundsA: z.ZodObject<{
|
|
12646
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12647
|
+
usd: z.ZodNumber;
|
|
12648
|
+
}, z.core.$strip>;
|
|
12649
|
+
borrowedFundsB: z.ZodObject<{
|
|
12650
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12651
|
+
usd: z.ZodNumber;
|
|
12652
|
+
}, z.core.$strip>;
|
|
12653
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
12654
|
+
disabled: z.ZodBoolean;
|
|
12655
|
+
isPermissionless: z.ZodBoolean;
|
|
12656
|
+
isVerified: z.ZodBoolean;
|
|
12657
|
+
liquidationFee: z.ZodInt;
|
|
12658
|
+
liquidationThreshold: z.ZodInt;
|
|
12659
|
+
maxLeverage: z.ZodInt;
|
|
12660
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
12661
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12662
|
+
usd: z.ZodNumber;
|
|
12663
|
+
}, z.core.$strip>;
|
|
12664
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
12665
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12666
|
+
usd: z.ZodNumber;
|
|
12667
|
+
}, z.core.$strip>;
|
|
12668
|
+
maxSwapSlippage: z.ZodInt;
|
|
12669
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
12670
|
+
pool: z.ZodObject<{
|
|
12671
|
+
address: z.ZodString;
|
|
12672
|
+
feeRate: z.ZodInt;
|
|
12673
|
+
liquidity: z.ZodString;
|
|
12674
|
+
mintA: z.ZodString;
|
|
12675
|
+
mintB: z.ZodString;
|
|
12676
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
12677
|
+
price: z.ZodNumber;
|
|
12678
|
+
protocolFeeRate: z.ZodInt;
|
|
12679
|
+
provider: z.ZodEnum<{
|
|
12680
|
+
orca: "orca";
|
|
12681
|
+
fusion: "fusion";
|
|
12682
|
+
}>;
|
|
12683
|
+
sqrtPrice: z.ZodString;
|
|
12684
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12685
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12686
|
+
feesUsd: z.ZodNumber;
|
|
12687
|
+
priceChange: z.ZodNumber;
|
|
12688
|
+
volumeUsd: z.ZodNumber;
|
|
12689
|
+
}, z.core.$strip>>;
|
|
12690
|
+
tvlUsd: z.ZodNumber;
|
|
12691
|
+
}, z.core.$strip>]>>;
|
|
12692
|
+
tickCurrentIndex: z.ZodInt;
|
|
12693
|
+
tickSpacing: z.ZodInt;
|
|
12694
|
+
tokenAVault: z.ZodString;
|
|
12695
|
+
tokenBVault: z.ZodString;
|
|
12696
|
+
}, z.core.$strip>;
|
|
12697
|
+
protocolFee: z.ZodInt;
|
|
12698
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
12699
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
12700
|
+
vaultA: z.ZodString;
|
|
12701
|
+
vaultB: z.ZodString;
|
|
12702
|
+
}, z.core.$strip>>;
|
|
11015
12703
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11016
12704
|
address: z.ZodString;
|
|
11017
12705
|
decimals: z.ZodInt;
|
|
@@ -11022,6 +12710,32 @@ declare const zGetLendingPositionsResponse: z.ZodObject<{
|
|
|
11022
12710
|
name: z.ZodString;
|
|
11023
12711
|
symbol: z.ZodString;
|
|
11024
12712
|
}, z.core.$strip>>;
|
|
12713
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12714
|
+
address: z.ZodString;
|
|
12715
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12716
|
+
borrowApy: z.ZodNumber;
|
|
12717
|
+
borrowedFunds: z.ZodObject<{
|
|
12718
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12719
|
+
usd: z.ZodNumber;
|
|
12720
|
+
}, z.core.$strip>;
|
|
12721
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
12722
|
+
depositedFunds: z.ZodObject<{
|
|
12723
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12724
|
+
usd: z.ZodNumber;
|
|
12725
|
+
}, z.core.$strip>;
|
|
12726
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
12727
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
12728
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12729
|
+
mint: z.ZodString;
|
|
12730
|
+
pythOracleFeedId: z.ZodString;
|
|
12731
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
12732
|
+
supplyApy: z.ZodNumber;
|
|
12733
|
+
supplyLimit: z.ZodObject<{
|
|
12734
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12735
|
+
usd: z.ZodNumber;
|
|
12736
|
+
}, z.core.$strip>;
|
|
12737
|
+
utilization: z.ZodNumber;
|
|
12738
|
+
}, z.core.$strip>>;
|
|
11025
12739
|
}, z.core.$strip>;
|
|
11026
12740
|
}, z.core.$strip>;
|
|
11027
12741
|
type GetLendingPositionsResponseZodType = z.infer<typeof zGetLendingPositionsResponse>;
|
|
@@ -11046,12 +12760,83 @@ declare const zGetLendingPositionResponse: z.ZodObject<{
|
|
|
11046
12760
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
11047
12761
|
usd: z.ZodNumber;
|
|
11048
12762
|
}, z.core.$strip>;
|
|
12763
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11049
12764
|
mint: z.ZodString;
|
|
11050
12765
|
shares: z.ZodCoercedBigInt<unknown>;
|
|
11051
12766
|
supplyApy: z.ZodNumber;
|
|
11052
12767
|
updatedAtSlot: z.ZodCoercedBigInt<unknown>;
|
|
11053
12768
|
vault: z.ZodString;
|
|
11054
12769
|
}, z.core.$strip>;
|
|
12770
|
+
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12771
|
+
address: z.ZodString;
|
|
12772
|
+
addressLookupTable: z.ZodString;
|
|
12773
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12774
|
+
borrowLimitA: z.ZodObject<{
|
|
12775
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12776
|
+
usd: z.ZodNumber;
|
|
12777
|
+
}, z.core.$strip>;
|
|
12778
|
+
borrowLimitB: z.ZodObject<{
|
|
12779
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12780
|
+
usd: z.ZodNumber;
|
|
12781
|
+
}, z.core.$strip>;
|
|
12782
|
+
borrowedFundsA: z.ZodObject<{
|
|
12783
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12784
|
+
usd: z.ZodNumber;
|
|
12785
|
+
}, z.core.$strip>;
|
|
12786
|
+
borrowedFundsB: z.ZodObject<{
|
|
12787
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12788
|
+
usd: z.ZodNumber;
|
|
12789
|
+
}, z.core.$strip>;
|
|
12790
|
+
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
12791
|
+
disabled: z.ZodBoolean;
|
|
12792
|
+
isPermissionless: z.ZodBoolean;
|
|
12793
|
+
isVerified: z.ZodBoolean;
|
|
12794
|
+
liquidationFee: z.ZodInt;
|
|
12795
|
+
liquidationThreshold: z.ZodInt;
|
|
12796
|
+
maxLeverage: z.ZodInt;
|
|
12797
|
+
maxSpotPositionSizeA: z.ZodObject<{
|
|
12798
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12799
|
+
usd: z.ZodNumber;
|
|
12800
|
+
}, z.core.$strip>;
|
|
12801
|
+
maxSpotPositionSizeB: z.ZodObject<{
|
|
12802
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12803
|
+
usd: z.ZodNumber;
|
|
12804
|
+
}, z.core.$strip>;
|
|
12805
|
+
maxSwapSlippage: z.ZodInt;
|
|
12806
|
+
oraclePriceDeviationThreshold: z.ZodInt;
|
|
12807
|
+
pool: z.ZodObject<{
|
|
12808
|
+
address: z.ZodString;
|
|
12809
|
+
feeRate: z.ZodInt;
|
|
12810
|
+
liquidity: z.ZodString;
|
|
12811
|
+
mintA: z.ZodString;
|
|
12812
|
+
mintB: z.ZodString;
|
|
12813
|
+
olpFeeRate: z.ZodOptional<z.ZodUnion<readonly [z.ZodInt, z.ZodNull]>>;
|
|
12814
|
+
price: z.ZodNumber;
|
|
12815
|
+
protocolFeeRate: z.ZodInt;
|
|
12816
|
+
provider: z.ZodEnum<{
|
|
12817
|
+
orca: "orca";
|
|
12818
|
+
fusion: "fusion";
|
|
12819
|
+
}>;
|
|
12820
|
+
sqrtPrice: z.ZodString;
|
|
12821
|
+
stats: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodObject<{
|
|
12822
|
+
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12823
|
+
feesUsd: z.ZodNumber;
|
|
12824
|
+
priceChange: z.ZodNumber;
|
|
12825
|
+
volumeUsd: z.ZodNumber;
|
|
12826
|
+
}, z.core.$strip>>;
|
|
12827
|
+
tvlUsd: z.ZodNumber;
|
|
12828
|
+
}, z.core.$strip>]>>;
|
|
12829
|
+
tickCurrentIndex: z.ZodInt;
|
|
12830
|
+
tickSpacing: z.ZodInt;
|
|
12831
|
+
tokenAVault: z.ZodString;
|
|
12832
|
+
tokenBVault: z.ZodString;
|
|
12833
|
+
}, z.core.$strip>;
|
|
12834
|
+
protocolFee: z.ZodInt;
|
|
12835
|
+
protocolFeeOnCollateral: z.ZodInt;
|
|
12836
|
+
rebalanceProtocolFee: z.ZodInt;
|
|
12837
|
+
vaultA: z.ZodString;
|
|
12838
|
+
vaultB: z.ZodString;
|
|
12839
|
+
}, z.core.$strip>>;
|
|
11055
12840
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11056
12841
|
address: z.ZodString;
|
|
11057
12842
|
decimals: z.ZodInt;
|
|
@@ -11062,6 +12847,32 @@ declare const zGetLendingPositionResponse: z.ZodObject<{
|
|
|
11062
12847
|
name: z.ZodString;
|
|
11063
12848
|
symbol: z.ZodString;
|
|
11064
12849
|
}, z.core.$strip>>;
|
|
12850
|
+
vaults: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12851
|
+
address: z.ZodString;
|
|
12852
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12853
|
+
borrowApy: z.ZodNumber;
|
|
12854
|
+
borrowedFunds: z.ZodObject<{
|
|
12855
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12856
|
+
usd: z.ZodNumber;
|
|
12857
|
+
}, z.core.$strip>;
|
|
12858
|
+
borrowedShares: z.ZodCoercedBigInt<unknown>;
|
|
12859
|
+
depositedFunds: z.ZodObject<{
|
|
12860
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12861
|
+
usd: z.ZodNumber;
|
|
12862
|
+
}, z.core.$strip>;
|
|
12863
|
+
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
12864
|
+
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
12865
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12866
|
+
mint: z.ZodString;
|
|
12867
|
+
pythOracleFeedId: z.ZodString;
|
|
12868
|
+
pythOraclePriceUpdate: z.ZodString;
|
|
12869
|
+
supplyApy: z.ZodNumber;
|
|
12870
|
+
supplyLimit: z.ZodObject<{
|
|
12871
|
+
amount: z.ZodCoercedBigInt<unknown>;
|
|
12872
|
+
usd: z.ZodNumber;
|
|
12873
|
+
}, z.core.$strip>;
|
|
12874
|
+
utilization: z.ZodNumber;
|
|
12875
|
+
}, z.core.$strip>>;
|
|
11065
12876
|
}, z.core.$strip>;
|
|
11066
12877
|
}, z.core.$strip>;
|
|
11067
12878
|
type GetLendingPositionResponseZodType = z.infer<typeof zGetLendingPositionResponse>;
|
|
@@ -11120,6 +12931,7 @@ declare const zGetLimitOrdersResponse: z.ZodObject<{
|
|
|
11120
12931
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11121
12932
|
address: z.ZodString;
|
|
11122
12933
|
addressLookupTable: z.ZodString;
|
|
12934
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11123
12935
|
borrowLimitA: z.ZodObject<{
|
|
11124
12936
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
11125
12937
|
usd: z.ZodNumber;
|
|
@@ -11138,6 +12950,8 @@ declare const zGetLimitOrdersResponse: z.ZodObject<{
|
|
|
11138
12950
|
}, z.core.$strip>;
|
|
11139
12951
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
11140
12952
|
disabled: z.ZodBoolean;
|
|
12953
|
+
isPermissionless: z.ZodBoolean;
|
|
12954
|
+
isVerified: z.ZodBoolean;
|
|
11141
12955
|
liquidationFee: z.ZodInt;
|
|
11142
12956
|
liquidationThreshold: z.ZodInt;
|
|
11143
12957
|
maxLeverage: z.ZodInt;
|
|
@@ -11181,6 +12995,8 @@ declare const zGetLimitOrdersResponse: z.ZodObject<{
|
|
|
11181
12995
|
protocolFee: z.ZodInt;
|
|
11182
12996
|
protocolFeeOnCollateral: z.ZodInt;
|
|
11183
12997
|
rebalanceProtocolFee: z.ZodInt;
|
|
12998
|
+
vaultA: z.ZodString;
|
|
12999
|
+
vaultB: z.ZodString;
|
|
11184
13000
|
}, z.core.$strip>>;
|
|
11185
13001
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11186
13002
|
address: z.ZodString;
|
|
@@ -11237,6 +13053,7 @@ declare const zGetLimitOrderResponse: z.ZodObject<{
|
|
|
11237
13053
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11238
13054
|
address: z.ZodString;
|
|
11239
13055
|
addressLookupTable: z.ZodString;
|
|
13056
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11240
13057
|
borrowLimitA: z.ZodObject<{
|
|
11241
13058
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
11242
13059
|
usd: z.ZodNumber;
|
|
@@ -11255,6 +13072,8 @@ declare const zGetLimitOrderResponse: z.ZodObject<{
|
|
|
11255
13072
|
}, z.core.$strip>;
|
|
11256
13073
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
11257
13074
|
disabled: z.ZodBoolean;
|
|
13075
|
+
isPermissionless: z.ZodBoolean;
|
|
13076
|
+
isVerified: z.ZodBoolean;
|
|
11258
13077
|
liquidationFee: z.ZodInt;
|
|
11259
13078
|
liquidationThreshold: z.ZodInt;
|
|
11260
13079
|
maxLeverage: z.ZodInt;
|
|
@@ -11298,6 +13117,8 @@ declare const zGetLimitOrderResponse: z.ZodObject<{
|
|
|
11298
13117
|
protocolFee: z.ZodInt;
|
|
11299
13118
|
protocolFeeOnCollateral: z.ZodInt;
|
|
11300
13119
|
rebalanceProtocolFee: z.ZodInt;
|
|
13120
|
+
vaultA: z.ZodString;
|
|
13121
|
+
vaultB: z.ZodString;
|
|
11301
13122
|
}, z.core.$strip>>;
|
|
11302
13123
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11303
13124
|
address: z.ZodString;
|
|
@@ -11370,6 +13191,7 @@ declare const zGetLpPositionsResponse: z.ZodObject<{
|
|
|
11370
13191
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11371
13192
|
address: z.ZodString;
|
|
11372
13193
|
addressLookupTable: z.ZodString;
|
|
13194
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11373
13195
|
borrowLimitA: z.ZodObject<{
|
|
11374
13196
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
11375
13197
|
usd: z.ZodNumber;
|
|
@@ -11388,6 +13210,8 @@ declare const zGetLpPositionsResponse: z.ZodObject<{
|
|
|
11388
13210
|
}, z.core.$strip>;
|
|
11389
13211
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
11390
13212
|
disabled: z.ZodBoolean;
|
|
13213
|
+
isPermissionless: z.ZodBoolean;
|
|
13214
|
+
isVerified: z.ZodBoolean;
|
|
11391
13215
|
liquidationFee: z.ZodInt;
|
|
11392
13216
|
liquidationThreshold: z.ZodInt;
|
|
11393
13217
|
maxLeverage: z.ZodInt;
|
|
@@ -11431,6 +13255,8 @@ declare const zGetLpPositionsResponse: z.ZodObject<{
|
|
|
11431
13255
|
protocolFee: z.ZodInt;
|
|
11432
13256
|
protocolFeeOnCollateral: z.ZodInt;
|
|
11433
13257
|
rebalanceProtocolFee: z.ZodInt;
|
|
13258
|
+
vaultA: z.ZodString;
|
|
13259
|
+
vaultB: z.ZodString;
|
|
11434
13260
|
}, z.core.$strip>>;
|
|
11435
13261
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11436
13262
|
address: z.ZodString;
|
|
@@ -11722,6 +13548,7 @@ declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
11722
13548
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11723
13549
|
address: z.ZodString;
|
|
11724
13550
|
addressLookupTable: z.ZodString;
|
|
13551
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11725
13552
|
borrowLimitA: z.ZodObject<{
|
|
11726
13553
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
11727
13554
|
usd: z.ZodNumber;
|
|
@@ -11740,6 +13567,8 @@ declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
11740
13567
|
}, z.core.$strip>;
|
|
11741
13568
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
11742
13569
|
disabled: z.ZodBoolean;
|
|
13570
|
+
isPermissionless: z.ZodBoolean;
|
|
13571
|
+
isVerified: z.ZodBoolean;
|
|
11743
13572
|
liquidationFee: z.ZodInt;
|
|
11744
13573
|
liquidationThreshold: z.ZodInt;
|
|
11745
13574
|
maxLeverage: z.ZodInt;
|
|
@@ -11783,6 +13612,8 @@ declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
11783
13612
|
protocolFee: z.ZodInt;
|
|
11784
13613
|
protocolFeeOnCollateral: z.ZodInt;
|
|
11785
13614
|
rebalanceProtocolFee: z.ZodInt;
|
|
13615
|
+
vaultA: z.ZodString;
|
|
13616
|
+
vaultB: z.ZodString;
|
|
11786
13617
|
}, z.core.$strip>>;
|
|
11787
13618
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11788
13619
|
address: z.ZodString;
|
|
@@ -11859,6 +13690,7 @@ declare const zGetSpotPositionsResponse: z.ZodObject<{
|
|
|
11859
13690
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11860
13691
|
address: z.ZodString;
|
|
11861
13692
|
addressLookupTable: z.ZodString;
|
|
13693
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
11862
13694
|
borrowLimitA: z.ZodObject<{
|
|
11863
13695
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
11864
13696
|
usd: z.ZodNumber;
|
|
@@ -11877,6 +13709,8 @@ declare const zGetSpotPositionsResponse: z.ZodObject<{
|
|
|
11877
13709
|
}, z.core.$strip>;
|
|
11878
13710
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
11879
13711
|
disabled: z.ZodBoolean;
|
|
13712
|
+
isPermissionless: z.ZodBoolean;
|
|
13713
|
+
isVerified: z.ZodBoolean;
|
|
11880
13714
|
liquidationFee: z.ZodInt;
|
|
11881
13715
|
liquidationThreshold: z.ZodInt;
|
|
11882
13716
|
maxLeverage: z.ZodInt;
|
|
@@ -11920,6 +13754,8 @@ declare const zGetSpotPositionsResponse: z.ZodObject<{
|
|
|
11920
13754
|
protocolFee: z.ZodInt;
|
|
11921
13755
|
protocolFeeOnCollateral: z.ZodInt;
|
|
11922
13756
|
rebalanceProtocolFee: z.ZodInt;
|
|
13757
|
+
vaultA: z.ZodString;
|
|
13758
|
+
vaultB: z.ZodString;
|
|
11923
13759
|
}, z.core.$strip>>;
|
|
11924
13760
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11925
13761
|
address: z.ZodString;
|
|
@@ -11997,6 +13833,7 @@ declare const zGetSpotPositionResponse: z.ZodObject<{
|
|
|
11997
13833
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11998
13834
|
address: z.ZodString;
|
|
11999
13835
|
addressLookupTable: z.ZodString;
|
|
13836
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12000
13837
|
borrowLimitA: z.ZodObject<{
|
|
12001
13838
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
12002
13839
|
usd: z.ZodNumber;
|
|
@@ -12015,6 +13852,8 @@ declare const zGetSpotPositionResponse: z.ZodObject<{
|
|
|
12015
13852
|
}, z.core.$strip>;
|
|
12016
13853
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
12017
13854
|
disabled: z.ZodBoolean;
|
|
13855
|
+
isPermissionless: z.ZodBoolean;
|
|
13856
|
+
isVerified: z.ZodBoolean;
|
|
12018
13857
|
liquidationFee: z.ZodInt;
|
|
12019
13858
|
liquidationThreshold: z.ZodInt;
|
|
12020
13859
|
maxLeverage: z.ZodInt;
|
|
@@ -12058,6 +13897,8 @@ declare const zGetSpotPositionResponse: z.ZodObject<{
|
|
|
12058
13897
|
protocolFee: z.ZodInt;
|
|
12059
13898
|
protocolFeeOnCollateral: z.ZodInt;
|
|
12060
13899
|
rebalanceProtocolFee: z.ZodInt;
|
|
13900
|
+
vaultA: z.ZodString;
|
|
13901
|
+
vaultB: z.ZodString;
|
|
12061
13902
|
}, z.core.$strip>>;
|
|
12062
13903
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12063
13904
|
address: z.ZodString;
|
|
@@ -12222,6 +14063,7 @@ declare const zGetTradeHistoryResponse: z.ZodObject<{
|
|
|
12222
14063
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12223
14064
|
address: z.ZodString;
|
|
12224
14065
|
addressLookupTable: z.ZodString;
|
|
14066
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12225
14067
|
borrowLimitA: z.ZodObject<{
|
|
12226
14068
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
12227
14069
|
usd: z.ZodNumber;
|
|
@@ -12240,6 +14082,8 @@ declare const zGetTradeHistoryResponse: z.ZodObject<{
|
|
|
12240
14082
|
}, z.core.$strip>;
|
|
12241
14083
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
12242
14084
|
disabled: z.ZodBoolean;
|
|
14085
|
+
isPermissionless: z.ZodBoolean;
|
|
14086
|
+
isVerified: z.ZodBoolean;
|
|
12243
14087
|
liquidationFee: z.ZodInt;
|
|
12244
14088
|
liquidationThreshold: z.ZodInt;
|
|
12245
14089
|
maxLeverage: z.ZodInt;
|
|
@@ -12283,6 +14127,8 @@ declare const zGetTradeHistoryResponse: z.ZodObject<{
|
|
|
12283
14127
|
protocolFee: z.ZodInt;
|
|
12284
14128
|
protocolFeeOnCollateral: z.ZodInt;
|
|
12285
14129
|
rebalanceProtocolFee: z.ZodInt;
|
|
14130
|
+
vaultA: z.ZodString;
|
|
14131
|
+
vaultB: z.ZodString;
|
|
12286
14132
|
}, z.core.$strip>>;
|
|
12287
14133
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12288
14134
|
address: z.ZodString;
|
|
@@ -12423,6 +14269,7 @@ declare const zGetTunaPositionsResponse: z.ZodObject<{
|
|
|
12423
14269
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12424
14270
|
address: z.ZodString;
|
|
12425
14271
|
addressLookupTable: z.ZodString;
|
|
14272
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12426
14273
|
borrowLimitA: z.ZodObject<{
|
|
12427
14274
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
12428
14275
|
usd: z.ZodNumber;
|
|
@@ -12441,6 +14288,8 @@ declare const zGetTunaPositionsResponse: z.ZodObject<{
|
|
|
12441
14288
|
}, z.core.$strip>;
|
|
12442
14289
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
12443
14290
|
disabled: z.ZodBoolean;
|
|
14291
|
+
isPermissionless: z.ZodBoolean;
|
|
14292
|
+
isVerified: z.ZodBoolean;
|
|
12444
14293
|
liquidationFee: z.ZodInt;
|
|
12445
14294
|
liquidationThreshold: z.ZodInt;
|
|
12446
14295
|
maxLeverage: z.ZodInt;
|
|
@@ -12484,6 +14333,8 @@ declare const zGetTunaPositionsResponse: z.ZodObject<{
|
|
|
12484
14333
|
protocolFee: z.ZodInt;
|
|
12485
14334
|
protocolFeeOnCollateral: z.ZodInt;
|
|
12486
14335
|
rebalanceProtocolFee: z.ZodInt;
|
|
14336
|
+
vaultA: z.ZodString;
|
|
14337
|
+
vaultB: z.ZodString;
|
|
12487
14338
|
}, z.core.$strip>>;
|
|
12488
14339
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12489
14340
|
address: z.ZodString;
|
|
@@ -12625,6 +14476,7 @@ declare const zGetTunaPositionResponse: z.ZodObject<{
|
|
|
12625
14476
|
markets: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12626
14477
|
address: z.ZodString;
|
|
12627
14478
|
addressLookupTable: z.ZodString;
|
|
14479
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12628
14480
|
borrowLimitA: z.ZodObject<{
|
|
12629
14481
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
12630
14482
|
usd: z.ZodNumber;
|
|
@@ -12643,6 +14495,8 @@ declare const zGetTunaPositionResponse: z.ZodObject<{
|
|
|
12643
14495
|
}, z.core.$strip>;
|
|
12644
14496
|
createdAt: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodISODateTime>;
|
|
12645
14497
|
disabled: z.ZodBoolean;
|
|
14498
|
+
isPermissionless: z.ZodBoolean;
|
|
14499
|
+
isVerified: z.ZodBoolean;
|
|
12646
14500
|
liquidationFee: z.ZodInt;
|
|
12647
14501
|
liquidationThreshold: z.ZodInt;
|
|
12648
14502
|
maxLeverage: z.ZodInt;
|
|
@@ -12686,6 +14540,8 @@ declare const zGetTunaPositionResponse: z.ZodObject<{
|
|
|
12686
14540
|
protocolFee: z.ZodInt;
|
|
12687
14541
|
protocolFeeOnCollateral: z.ZodInt;
|
|
12688
14542
|
rebalanceProtocolFee: z.ZodInt;
|
|
14543
|
+
vaultA: z.ZodString;
|
|
14544
|
+
vaultB: z.ZodString;
|
|
12689
14545
|
}, z.core.$strip>>;
|
|
12690
14546
|
mints: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
12691
14547
|
address: z.ZodString;
|
|
@@ -12709,6 +14565,7 @@ declare const zGetVaultsResponse: z.ZodObject<{
|
|
|
12709
14565
|
data: z.ZodObject<{
|
|
12710
14566
|
items: z.ZodArray<z.ZodObject<{
|
|
12711
14567
|
address: z.ZodString;
|
|
14568
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12712
14569
|
borrowApy: z.ZodNumber;
|
|
12713
14570
|
borrowedFunds: z.ZodObject<{
|
|
12714
14571
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -12721,6 +14578,7 @@ declare const zGetVaultsResponse: z.ZodObject<{
|
|
|
12721
14578
|
}, z.core.$strip>;
|
|
12722
14579
|
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
12723
14580
|
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
14581
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12724
14582
|
mint: z.ZodString;
|
|
12725
14583
|
pythOracleFeedId: z.ZodString;
|
|
12726
14584
|
pythOraclePriceUpdate: z.ZodString;
|
|
@@ -12755,6 +14613,7 @@ declare const zGetVaultResponse: z.ZodObject<{
|
|
|
12755
14613
|
data: z.ZodObject<{
|
|
12756
14614
|
item: z.ZodObject<{
|
|
12757
14615
|
address: z.ZodString;
|
|
14616
|
+
authority: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12758
14617
|
borrowApy: z.ZodNumber;
|
|
12759
14618
|
borrowedFunds: z.ZodObject<{
|
|
12760
14619
|
amount: z.ZodCoercedBigInt<unknown>;
|
|
@@ -12767,6 +14626,7 @@ declare const zGetVaultResponse: z.ZodObject<{
|
|
|
12767
14626
|
}, z.core.$strip>;
|
|
12768
14627
|
depositedShares: z.ZodCoercedBigInt<unknown>;
|
|
12769
14628
|
interestRate: z.ZodCoercedBigInt<unknown>;
|
|
14629
|
+
market: z.ZodOptional<z.ZodUnion<readonly [z.ZodNull, z.ZodString]>>;
|
|
12770
14630
|
mint: z.ZodString;
|
|
12771
14631
|
pythOracleFeedId: z.ZodString;
|
|
12772
14632
|
pythOraclePriceUpdate: z.ZodString;
|
|
@@ -12839,4 +14699,4 @@ declare class TunaBackendSdkError<TCause = unknown> extends Error {
|
|
|
12839
14699
|
declare const tunaSdkErrorInterceptor: (error: unknown, response?: Response) => TunaBackendSdkError<unknown>;
|
|
12840
14700
|
declare const isTunaSdkError: <TCause = unknown>(error: unknown) => error is TunaBackendSdkError<TCause>;
|
|
12841
14701
|
|
|
12842
|
-
export { type BadRequestErrorCodeErrorBody, type ClientOptions, type CloseSpotPositionQuoteDto, type DecreaseSpotPositionQuoteDto, type FeeAmountWithUsd, type FeesStatsGroupDto, type FieldError, type FusionFeesStatsGroupDto, type GetCloseSpotPositionQuoteData, type GetCloseSpotPositionQuoteError, type GetCloseSpotPositionQuoteErrors, type GetCloseSpotPositionQuoteResponse, type GetCloseSpotPositionQuoteResponseZodType, type GetCloseSpotPositionQuoteResponses, type GetDecreaseSpotPositionQuoteData, type GetDecreaseSpotPositionQuoteError, type GetDecreaseSpotPositionQuoteErrors, type GetDecreaseSpotPositionQuoteResponse, type GetDecreaseSpotPositionQuoteResponseZodType, type GetDecreaseSpotPositionQuoteResponses, type GetFeesStatsData, type GetFeesStatsError, type GetFeesStatsErrors, type GetFeesStatsResponse, type GetFeesStatsResponseZodType, type GetFeesStatsResponses, type GetFusionFeesStatsData, type GetFusionFeesStatsError, type GetFusionFeesStatsErrors, type GetFusionFeesStatsResponse, type GetFusionFeesStatsResponseZodType, type GetFusionFeesStatsResponses, type GetIncreaseSpotPositionQuoteData, type GetIncreaseSpotPositionQuoteError, type GetIncreaseSpotPositionQuoteErrors, type GetIncreaseSpotPositionQuoteResponse, type GetIncreaseSpotPositionQuoteResponseZodType, type GetIncreaseSpotPositionQuoteResponses, type GetLendingPositionData, type GetLendingPositionError, type GetLendingPositionErrors, type GetLendingPositionResponse, type GetLendingPositionResponseZodType, type GetLendingPositionResponses, type GetLendingPositionsData, type GetLendingPositionsError, type GetLendingPositionsErrors, type GetLendingPositionsResponse, type GetLendingPositionsResponseZodType, type GetLendingPositionsResponses, type GetLimitOrderData, type GetLimitOrderError, type GetLimitOrderError404Error, type GetLimitOrderError500Error, type GetLimitOrderErrors, type GetLimitOrderQuoteByInputData, type GetLimitOrderQuoteByInputError, type GetLimitOrderQuoteByInputErrors, type GetLimitOrderQuoteByInputResponse, type GetLimitOrderQuoteByInputResponseZodType, type GetLimitOrderQuoteByInputResponses, type GetLimitOrderQuoteByOutputData, type GetLimitOrderQuoteByOutputError, type GetLimitOrderQuoteByOutputErrors, type GetLimitOrderQuoteByOutputResponse, type GetLimitOrderQuoteByOutputResponseZodType, type GetLimitOrderQuoteByOutputResponses, type GetLimitOrderResponse, type GetLimitOrderResponseZodType, type GetLimitOrderResponses, type GetLimitOrdersData, type GetLimitOrdersError, type GetLimitOrdersErrors, type GetLimitOrdersResponse, type GetLimitOrdersResponseZodType, type GetLimitOrdersResponses, type GetLpPositionActionsData, type GetLpPositionActionsError, type GetLpPositionActionsErrors, type GetLpPositionActionsResponse, type GetLpPositionActionsResponseZodType, type GetLpPositionActionsResponses, type GetLpPositionsData, type GetLpPositionsError, type GetLpPositionsErrors, type GetLpPositionsResponse, type GetLpPositionsResponseZodType, type GetLpPositionsResponses, type GetLpSpotLeaderboardData, type GetLpSpotLeaderboardError, type GetLpSpotLeaderboardErrors, type GetLpSpotLeaderboardResponse, type GetLpSpotLeaderboardResponseZodType, type GetLpSpotLeaderboardResponses, type GetMarketData, type GetMarketError, type GetMarketErrors, type GetMarketResponse, type GetMarketResponseZodType, type GetMarketResponses, type GetMarketsData, type GetMarketsError, type GetMarketsErrors, type GetMarketsResponse, type GetMarketsResponseZodType, type GetMarketsResponses, type GetMintData, type GetMintError, type GetMintErrors, type GetMintResponse, type GetMintResponseZodType, type GetMintResponses, type GetMintsData, type GetMintsError, type GetMintsErrors, type GetMintsResponse, type GetMintsResponseZodType, type GetMintsResponses, type GetOraclePriceData, type GetOraclePriceError, type GetOraclePriceErrors, type GetOraclePriceResponse, type GetOraclePriceResponseZodType, type GetOraclePriceResponses, type GetOraclePricesData, type GetOraclePricesError, type GetOraclePricesErrors, type GetOraclePricesResponse, type GetOraclePricesResponseZodType, type GetOraclePricesResponses, type GetOrderHistoryData, type GetOrderHistoryError, type GetOrderHistoryErrors, type GetOrderHistoryResponse, type GetOrderHistoryResponseZodType, type GetOrderHistoryResponses, type GetPoolCandlesData, type GetPoolCandlesError, type GetPoolCandlesErrors, type GetPoolCandlesResponse, type GetPoolCandlesResponseZodType, type GetPoolCandlesResponses, type GetPoolData, type GetPoolError, type GetPoolErrors, type GetPoolOrderBookData, type GetPoolOrderBookError, type GetPoolOrderBookErrors, type GetPoolOrderBookResponse, type GetPoolOrderBookResponseZodType, type GetPoolOrderBookResponses, type GetPoolResponse, type GetPoolResponseZodType, type GetPoolResponses, type GetPoolSwapsData, type GetPoolSwapsError, type GetPoolSwapsErrors, type GetPoolSwapsResponse, type GetPoolSwapsResponseZodType, type GetPoolSwapsResponses, type GetPoolTicksData, type GetPoolTicksError, type GetPoolTicksErrors, type GetPoolTicksResponse, type GetPoolTicksResponseZodType, type GetPoolTicksResponses, type GetPoolsData, type GetPoolsError, type GetPoolsErrors, type GetPoolsResponse, type GetPoolsResponseZodType, type GetPoolsResponses, type GetPositionsStatsData, type GetPositionsStatsError, type GetPositionsStatsErrors, type GetPositionsStatsResponse, type GetPositionsStatsResponseZodType, type GetPositionsStatsResponses, type GetPositionsTotalData, type GetPositionsTotalError, type GetPositionsTotalErrors, type GetPositionsTotalResponse, type GetPositionsTotalResponseZodType, type GetPositionsTotalResponses, type GetSpotPositionData, type GetSpotPositionError, type GetSpotPositionErrors, type GetSpotPositionResponse, type GetSpotPositionResponseZodType, type GetSpotPositionResponses, type GetSpotPositionsData, type GetSpotPositionsError, type GetSpotPositionsErrors, type GetSpotPositionsResponse, type GetSpotPositionsResponseZodType, type GetSpotPositionsResponses, type GetStakingLeaderboardData, type GetStakingLeaderboardError, type GetStakingLeaderboardErrors, type GetStakingLeaderboardResponse, type GetStakingLeaderboardResponseZodType, type GetStakingLeaderboardResponses, type GetStakingRevenueStatsData, type GetStakingRevenueStatsError, type GetStakingRevenueStatsErrors, type GetStakingRevenueStatsResponse, type GetStakingRevenueStatsResponseZodType, type GetStakingRevenueStatsResponses, type GetStakingTreasuryData, type GetStakingTreasuryError, type GetStakingTreasuryErrors, type GetStakingTreasuryResponse, type GetStakingTreasuryResponseZodType, type GetStakingTreasuryResponses, type GetSwapQuoteByInputData, type GetSwapQuoteByInputError, type GetSwapQuoteByInputErrors, type GetSwapQuoteByInputResponse, type GetSwapQuoteByInputResponseZodType, type GetSwapQuoteByInputResponses, type GetSwapQuoteByOutputData, type GetSwapQuoteByOutputError, type GetSwapQuoteByOutputErrors, type GetSwapQuoteByOutputResponse, type GetSwapQuoteByOutputResponseZodType, type GetSwapQuoteByOutputResponses, type GetTradableAmountData, type GetTradableAmountError, type GetTradableAmountErrors, type GetTradableAmountResponse, type GetTradableAmountResponseZodType, type GetTradableAmountResponses, type GetTradeHistoryData, type GetTradeHistoryError, type GetTradeHistoryErrors, type GetTradeHistoryResponse, type GetTradeHistoryResponseZodType, type GetTradeHistoryResponses, type GetTunaPositionData, type GetTunaPositionError, type GetTunaPositionErrors, type GetTunaPositionResponse, type GetTunaPositionResponseZodType, type GetTunaPositionResponses, type GetTunaPositionsData, type GetTunaPositionsError, type GetTunaPositionsErrors, type GetTunaPositionsResponse, type GetTunaPositionsResponseZodType, type GetTunaPositionsResponses, type GetUserStakingPositionData, type GetUserStakingPositionError, type GetUserStakingPositionErrors, type GetUserStakingPositionHistoryData, type GetUserStakingPositionHistoryError, type GetUserStakingPositionHistoryErrors, type GetUserStakingPositionHistoryResponse, type GetUserStakingPositionHistoryResponseZodType, type GetUserStakingPositionHistoryResponses, type GetUserStakingPositionResponse, type GetUserStakingPositionResponseZodType, type GetUserStakingPositionResponses, type GetVaultData, type GetVaultError, type GetVaultErrors, type GetVaultHistoryData, type GetVaultHistoryError, type GetVaultHistoryErrors, type GetVaultHistoryResponse, type GetVaultHistoryResponseZodType, type GetVaultHistoryResponses, type GetVaultResponse, type GetVaultResponseZodType, type GetVaultResponses, type GetVaultsData, type GetVaultsError, type GetVaultsErrors, type GetVaultsResponse, type GetVaultsResponseZodType, type GetVaultsResponses, type HttpStatusData, type I128Dto, type I64Dto, type IncreaseSpotPositionQuoteDto, type InternalErrorCodeErrorBody, type LeaderboardError400BadRequest, type LeaderboardError400Error, type LeaderboardError500Error, type LeaderboardItemDto, LeaderboardPeriod, LeaderboardSortBy, type LendingPositionDto, type LendingPositionError404Error, type LendingPositionError500Error, type LendingPositionResponse, type LendingPositionsListResponse, type LimitOrderDto, type LimitOrderQuoteByInputDto, type LimitOrderQuoteByOutputDto, type LimitOrderResponse, LimitOrderStatus, type LimitOrdersListResponse, type LpPositionResponse, type LpPositionsError400BadRequest, type LpPositionsError400Error, type LpPositionsError500Error, type LpPositionsHistoryListResponse, type LpPositionsListResponse, type MarketDto, type MarketError404Error, type MarketError500Error, type MarketResponse, type MarketsListResponse, type MintDto, type MintError404Error, type MintError500Error, NotificationAction, NotificationEntity, type Options, type OraclePriceDto, type OraclePriceError404Error, type OraclePriceError500Error, type OrderBookDto, type OrderBookEntryDto, type OrderBookWrapper, type OrderHistoryEntryDto, type OrderHistoryListResponse, type OrderHistoryNotificationResponse, OrderHistoryStatus, OrderHistoryType, OrderHistoryUiDirection, type PaginationMeta, type PoolDto, type PoolPriceCandleDto, PoolProvider, type PoolStatsDto, type PoolStatsGroupDto, type PoolStatsGroupEntryDto, type PoolSubscription, PoolSubscriptionTopic, type PoolSwapDto, type PoolTicksDto, type PoolsError400BadRequest, type PoolsError400Error, type PoolsError404Error, type PoolsError500Error, type PubkeyDto, type ServerSentEventsOptions, type ServerSentEventsResult, type Snapshot, type SnapshotContainer, type SpotPositionError404Error, type SpotPositionError500Error, type SpotPositionResponse, type SpotPositionsListResponse, type SseData, type SseErrors, type SseResponse, type SseResponse2, type SseResponseInitialMessage, type SseResponseLendingPosition, type SseResponseLendingPositionPayload, type SseResponseOrderHistoryEntry, type SseResponseOrderHistoryEntryPayload, type SseResponsePoolSwap, type SseResponsePoolSwapPayload, type SseResponseSnapshot, type SseResponseStakingPosition, type SseResponseStakingPositionPayload, type SseResponseTradeHistoryEntry, type SseResponseTradeHistoryEntryPayload, type SseResponseZodType, type SseResponses, type StakingDepositsStatsDto, type StakingError400BadRequest, type StakingError400Error, type StakingError500Error, type StakingLeaderboardPositionDto, type StakingPositionActionDto, StakingPositionActionType, type StakingPositionDto, type StatsError400BadRequest, type StatsError400Error, type StatsError500Error, type StreamEvent, type StreamInitalMessage, type SubscriptionOptions, type SwapQuoteByInputDto, type SwapQuoteByOutputDto, type TickDto, type TokenAmountWithUsd, type TradableAmountDto, TradeHistoryAction, type TradeHistoryEntryDto, type TradeHistoryEntryPnlUsd, type TradeHistoryListResponse, type TradeHistoryNotificationResponse, TradeHistoryUiDirection, type TreasuryDto, TunaBackendSdk, TunaBackendSdkError, type TunaLpPositionActionComposite, type TunaLpPositionActionDto, TunaLpPositionAutoCompound, TunaLpPositionAutoCompounding, type TunaLpPositionDto, type TunaLpPositionFlags, type TunaLpPositionInnerSwaps, TunaLpPositionLimitOrderSwap, type TunaLpPositionParameters, TunaLpPositionRebalance, type TunaLpPositionTokenPrices, type TunaLpPositionTransfer, type TunaLpPositionTriggerOrder, TunaLpPositionTriggerOrderType, type TunaLpPositionValue, TunaLpPositionsActionType, type TunaLpPositionsStats, type TunaPositionDto, TunaPositionDtoState, TunaPositionMarketMaker, TunaPositionPoolToken, type TunaPositionTokenDepositedCollateral, type TunaPositionTokenPnl, type TunaPositionUsdPnl, type TunaSpotPositionDto, TunaSpotPositionDtoState, type U128Dto, type U64Dto, type UpdateStreamSubscriptionData, type UpdateStreamSubscriptionError, type UpdateStreamSubscriptionError404Error, type UpdateStreamSubscriptionError500Error, type UpdateStreamSubscriptionErrors, type UpdateStreamSubscriptionResponse, type UpdateStreamSubscriptionResponseZodType, type UpdateStreamSubscriptionResponses, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type VaultDto, type VaultError400BadRequest, type VaultError400Error, type VaultError404Error, type VaultError500Error, type VaultResponse, type VaultStatsDto, type VaultsListResponse, type VestingDto, type WalletSubscription, WalletSubscriptionTopic, createClient, createSseClient, isTunaSdkError, tunaSdkErrorInterceptor, unwrap, zBadRequestErrorCodeErrorBody, zCloseSpotPositionQuoteDto, zDecreaseSpotPositionQuoteDto, zFeeAmountWithUsd, zFeesStatsGroupDto, zFieldError, zFusionFeesStatsGroupDto, zGetCloseSpotPositionQuoteData, zGetCloseSpotPositionQuoteResponse, zGetDecreaseSpotPositionQuoteData, zGetDecreaseSpotPositionQuoteResponse, zGetFeesStatsData, zGetFeesStatsResponse, zGetFusionFeesStatsData, zGetFusionFeesStatsResponse, zGetIncreaseSpotPositionQuoteData, zGetIncreaseSpotPositionQuoteResponse, zGetLendingPositionData, zGetLendingPositionResponse, zGetLendingPositionsData, zGetLendingPositionsResponse, zGetLimitOrderData, zGetLimitOrderError404Error, zGetLimitOrderError500Error, zGetLimitOrderQuoteByInputData, zGetLimitOrderQuoteByInputResponse, zGetLimitOrderQuoteByOutputData, zGetLimitOrderQuoteByOutputResponse, zGetLimitOrderResponse, zGetLimitOrdersData, zGetLimitOrdersResponse, zGetLpPositionActionsData, zGetLpPositionActionsResponse, zGetLpPositionsData, zGetLpPositionsResponse, zGetLpSpotLeaderboardData, zGetLpSpotLeaderboardResponse, zGetMarketData, zGetMarketResponse, zGetMarketsData, zGetMarketsResponse, zGetMintData, zGetMintResponse, zGetMintsData, zGetMintsResponse, zGetOraclePriceData, zGetOraclePriceResponse, zGetOraclePricesData, zGetOraclePricesResponse, zGetOrderHistoryData, zGetOrderHistoryResponse, zGetPoolCandlesData, zGetPoolCandlesResponse, zGetPoolData, zGetPoolOrderBookData, zGetPoolOrderBookResponse, zGetPoolResponse, zGetPoolSwapsData, zGetPoolSwapsResponse, zGetPoolTicksData, zGetPoolTicksResponse, zGetPoolsData, zGetPoolsResponse, zGetPositionsStatsData, zGetPositionsStatsResponse, zGetPositionsTotalData, zGetPositionsTotalResponse, zGetSpotPositionData, zGetSpotPositionResponse, zGetSpotPositionsData, zGetSpotPositionsResponse, zGetStakingLeaderboardData, zGetStakingLeaderboardResponse, zGetStakingRevenueStatsData, zGetStakingRevenueStatsResponse, zGetStakingTreasuryData, zGetStakingTreasuryResponse, zGetSwapQuoteByInputData, zGetSwapQuoteByInputResponse, zGetSwapQuoteByOutputData, zGetSwapQuoteByOutputResponse, zGetTradableAmountData, zGetTradableAmountResponse, zGetTradeHistoryData, zGetTradeHistoryResponse, zGetTunaPositionData, zGetTunaPositionResponse, zGetTunaPositionsData, zGetTunaPositionsResponse, zGetUserStakingPositionData, zGetUserStakingPositionHistoryData, zGetUserStakingPositionHistoryResponse, zGetUserStakingPositionResponse, zGetVaultData, zGetVaultHistoryData, zGetVaultHistoryResponse, zGetVaultResponse, zGetVaultsData, zGetVaultsResponse, zHttpStatusData, zI128Dto, zI64Dto, zIncreaseSpotPositionQuoteDto, zInternalErrorCodeErrorBody, zLeaderboardError400BadRequest, zLeaderboardError400Error, zLeaderboardError500Error, zLeaderboardItemDto, zLeaderboardPeriod, zLeaderboardSortBy, zLendingPositionDto, zLendingPositionError404Error, zLendingPositionError500Error, zLendingPositionResponse, zLendingPositionsListResponse, zLimitOrderDto, zLimitOrderQuoteByInputDto, zLimitOrderQuoteByOutputDto, zLimitOrderResponse, zLimitOrderStatus, zLimitOrdersListResponse, zLpPositionResponse, zLpPositionsError400BadRequest, zLpPositionsError400Error, zLpPositionsError500Error, zLpPositionsHistoryListResponse, zLpPositionsListResponse, zMarketDto, zMarketError404Error, zMarketError500Error, zMarketResponse, zMarketsListResponse, zMintDto, zMintError404Error, zMintError500Error, zNotificationAction, zNotificationEntity, zOraclePriceDto, zOraclePriceError404Error, zOraclePriceError500Error, zOrderBookDto, zOrderBookEntryDto, zOrderBookWrapper, zOrderHistoryEntryDto, zOrderHistoryListResponse, zOrderHistoryNotificationResponse, zOrderHistoryStatus, zOrderHistoryType, zOrderHistoryUiDirection, zPaginationMeta, zPoolDto, zPoolPriceCandleDto, zPoolProvider, zPoolStatsDto, zPoolStatsGroupDto, zPoolStatsGroupEntryDto, zPoolSubscription, zPoolSubscriptionTopic, zPoolSwapDto, zPoolTicksDto, zPoolsError400BadRequest, zPoolsError400Error, zPoolsError404Error, zPoolsError500Error, zPubkeyDto, zSnapshot, zSnapshotContainer, zSpotPositionError404Error, zSpotPositionError500Error, zSpotPositionResponse, zSpotPositionsListResponse, zSseData, zSseResponse, zSseResponse2, zSseResponseInitialMessage, zSseResponseLendingPosition, zSseResponseLendingPositionPayload, zSseResponseOrderHistoryEntry, zSseResponseOrderHistoryEntryPayload, zSseResponsePoolSwap, zSseResponsePoolSwapPayload, zSseResponseSnapshot, zSseResponseStakingPosition, zSseResponseStakingPositionPayload, zSseResponseTradeHistoryEntry, zSseResponseTradeHistoryEntryPayload, zStakingDepositsStatsDto, zStakingError400BadRequest, zStakingError400Error, zStakingError500Error, zStakingLeaderboardPositionDto, zStakingPositionActionDto, zStakingPositionActionType, zStakingPositionDto, zStatsError400BadRequest, zStatsError400Error, zStatsError500Error, zStreamInitalMessage, zSubscriptionOptions, zSwapQuoteByInputDto, zSwapQuoteByOutputDto, zTickDto, zTokenAmountWithUsd, zTradableAmountDto, zTradeHistoryAction, zTradeHistoryEntryDto, zTradeHistoryEntryPnlUsd, zTradeHistoryListResponse, zTradeHistoryNotificationResponse, zTradeHistoryUiDirection, zTreasuryDto, zTunaLpPositionActionComposite, zTunaLpPositionActionDto, zTunaLpPositionAutoCompound, zTunaLpPositionAutoCompounding, zTunaLpPositionDto, zTunaLpPositionFlags, zTunaLpPositionInnerSwaps, zTunaLpPositionLimitOrderSwap, zTunaLpPositionParameters, zTunaLpPositionRebalance, zTunaLpPositionTokenPrices, zTunaLpPositionTransfer, zTunaLpPositionTriggerOrder, zTunaLpPositionTriggerOrderType, zTunaLpPositionValue, zTunaLpPositionsActionType, zTunaLpPositionsStats, zTunaPositionDto, zTunaPositionDtoState, zTunaPositionMarketMaker, zTunaPositionPoolToken, zTunaPositionTokenDepositedCollateral, zTunaPositionTokenPnl, zTunaPositionUsdPnl, zTunaSpotPositionDto, zTunaSpotPositionDtoState, zU128Dto, zU64Dto, zUpdateStreamSubscriptionData, zUpdateStreamSubscriptionError404Error, zUpdateStreamSubscriptionError500Error, zUpdateStreamSubscriptionResponse, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zVaultDto, zVaultError400BadRequest, zVaultError400Error, zVaultError404Error, zVaultError500Error, zVaultResponse, zVaultStatsDto, zVaultsListResponse, zVestingDto, zWalletSubscription, zWalletSubscriptionTopic };
|
|
14702
|
+
export { type BadRequestErrorCodeErrorBody, type ClientOptions, type CloseSpotPositionQuoteDto, type DecreaseSpotPositionQuoteDto, type FeeAmountWithUsd, type FeesStatsGroupDto, type FieldError, type FusionFeesStatsGroupDto, type GetCloseSpotPositionQuoteData, type GetCloseSpotPositionQuoteError, type GetCloseSpotPositionQuoteErrors, type GetCloseSpotPositionQuoteResponse, type GetCloseSpotPositionQuoteResponseZodType, type GetCloseSpotPositionQuoteResponses, type GetDecreaseSpotPositionQuoteData, type GetDecreaseSpotPositionQuoteError, type GetDecreaseSpotPositionQuoteErrors, type GetDecreaseSpotPositionQuoteResponse, type GetDecreaseSpotPositionQuoteResponseZodType, type GetDecreaseSpotPositionQuoteResponses, type GetFeesStatsData, type GetFeesStatsError, type GetFeesStatsErrors, type GetFeesStatsResponse, type GetFeesStatsResponseZodType, type GetFeesStatsResponses, type GetFusionFeesStatsData, type GetFusionFeesStatsError, type GetFusionFeesStatsErrors, type GetFusionFeesStatsResponse, type GetFusionFeesStatsResponseZodType, type GetFusionFeesStatsResponses, type GetIncreaseSpotPositionQuoteData, type GetIncreaseSpotPositionQuoteError, type GetIncreaseSpotPositionQuoteErrors, type GetIncreaseSpotPositionQuoteResponse, type GetIncreaseSpotPositionQuoteResponseZodType, type GetIncreaseSpotPositionQuoteResponses, type GetLendingPositionData, type GetLendingPositionError, type GetLendingPositionErrors, type GetLendingPositionResponse, type GetLendingPositionResponseZodType, type GetLendingPositionResponses, type GetLendingPositionsData, type GetLendingPositionsError, type GetLendingPositionsErrors, type GetLendingPositionsResponse, type GetLendingPositionsResponseZodType, type GetLendingPositionsResponses, type GetLimitOrderData, type GetLimitOrderError, type GetLimitOrderError404Error, type GetLimitOrderError500Error, type GetLimitOrderErrors, type GetLimitOrderQuoteByInputData, type GetLimitOrderQuoteByInputError, type GetLimitOrderQuoteByInputErrors, type GetLimitOrderQuoteByInputResponse, type GetLimitOrderQuoteByInputResponseZodType, type GetLimitOrderQuoteByInputResponses, type GetLimitOrderQuoteByOutputData, type GetLimitOrderQuoteByOutputError, type GetLimitOrderQuoteByOutputErrors, type GetLimitOrderQuoteByOutputResponse, type GetLimitOrderQuoteByOutputResponseZodType, type GetLimitOrderQuoteByOutputResponses, type GetLimitOrderResponse, type GetLimitOrderResponseZodType, type GetLimitOrderResponses, type GetLimitOrdersData, type GetLimitOrdersError, type GetLimitOrdersErrors, type GetLimitOrdersResponse, type GetLimitOrdersResponseZodType, type GetLimitOrdersResponses, type GetLpPositionActionsData, type GetLpPositionActionsError, type GetLpPositionActionsErrors, type GetLpPositionActionsResponse, type GetLpPositionActionsResponseZodType, type GetLpPositionActionsResponses, type GetLpPositionsData, type GetLpPositionsError, type GetLpPositionsErrors, type GetLpPositionsResponse, type GetLpPositionsResponseZodType, type GetLpPositionsResponses, type GetLpSpotLeaderboardData, type GetLpSpotLeaderboardError, type GetLpSpotLeaderboardErrors, type GetLpSpotLeaderboardResponse, type GetLpSpotLeaderboardResponseZodType, type GetLpSpotLeaderboardResponses, type GetMarketData, type GetMarketError, type GetMarketErrors, type GetMarketResponse, type GetMarketResponseZodType, type GetMarketResponses, type GetMarketsData, type GetMarketsError, type GetMarketsErrors, type GetMarketsResponse, type GetMarketsResponseZodType, type GetMarketsResponses, type GetMintData, type GetMintError, type GetMintErrors, type GetMintResponse, type GetMintResponseZodType, type GetMintResponses, type GetMintsData, type GetMintsError, type GetMintsErrors, type GetMintsResponse, type GetMintsResponseZodType, type GetMintsResponses, type GetOraclePriceData, type GetOraclePriceError, type GetOraclePriceErrors, type GetOraclePriceResponse, type GetOraclePriceResponseZodType, type GetOraclePriceResponses, type GetOraclePricesData, type GetOraclePricesError, type GetOraclePricesErrors, type GetOraclePricesResponse, type GetOraclePricesResponseZodType, type GetOraclePricesResponses, type GetOrderHistoryData, type GetOrderHistoryError, type GetOrderHistoryErrors, type GetOrderHistoryResponse, type GetOrderHistoryResponseZodType, type GetOrderHistoryResponses, type GetPairPriceData, type GetPairPriceError, type GetPairPriceErrors, type GetPairPriceResponse, type GetPairPriceResponseZodType, type GetPairPriceResponses, type GetPoolCandlesData, type GetPoolCandlesError, type GetPoolCandlesErrors, type GetPoolCandlesResponse, type GetPoolCandlesResponseZodType, type GetPoolCandlesResponses, type GetPoolData, type GetPoolError, type GetPoolErrors, type GetPoolOrderBookData, type GetPoolOrderBookError, type GetPoolOrderBookErrors, type GetPoolOrderBookResponse, type GetPoolOrderBookResponseZodType, type GetPoolOrderBookResponses, type GetPoolResponse, type GetPoolResponseZodType, type GetPoolResponses, type GetPoolSwapsData, type GetPoolSwapsError, type GetPoolSwapsErrors, type GetPoolSwapsResponse, type GetPoolSwapsResponseZodType, type GetPoolSwapsResponses, type GetPoolTicksData, type GetPoolTicksError, type GetPoolTicksErrors, type GetPoolTicksResponse, type GetPoolTicksResponseZodType, type GetPoolTicksResponses, type GetPoolsData, type GetPoolsError, type GetPoolsErrors, type GetPoolsResponse, type GetPoolsResponseZodType, type GetPoolsResponses, type GetPositionsStatsData, type GetPositionsStatsError, type GetPositionsStatsErrors, type GetPositionsStatsResponse, type GetPositionsStatsResponseZodType, type GetPositionsStatsResponses, type GetPositionsTotalData, type GetPositionsTotalError, type GetPositionsTotalErrors, type GetPositionsTotalResponse, type GetPositionsTotalResponseZodType, type GetPositionsTotalResponses, type GetSpotPositionData, type GetSpotPositionError, type GetSpotPositionErrors, type GetSpotPositionResponse, type GetSpotPositionResponseZodType, type GetSpotPositionResponses, type GetSpotPositionsData, type GetSpotPositionsError, type GetSpotPositionsErrors, type GetSpotPositionsResponse, type GetSpotPositionsResponseZodType, type GetSpotPositionsResponses, type GetStakingLeaderboardData, type GetStakingLeaderboardError, type GetStakingLeaderboardErrors, type GetStakingLeaderboardResponse, type GetStakingLeaderboardResponseZodType, type GetStakingLeaderboardResponses, type GetStakingRevenueStatsData, type GetStakingRevenueStatsError, type GetStakingRevenueStatsErrors, type GetStakingRevenueStatsResponse, type GetStakingRevenueStatsResponseZodType, type GetStakingRevenueStatsResponses, type GetStakingTreasuryData, type GetStakingTreasuryError, type GetStakingTreasuryErrors, type GetStakingTreasuryResponse, type GetStakingTreasuryResponseZodType, type GetStakingTreasuryResponses, type GetSwapQuoteByInputData, type GetSwapQuoteByInputError, type GetSwapQuoteByInputErrors, type GetSwapQuoteByInputResponse, type GetSwapQuoteByInputResponseZodType, type GetSwapQuoteByInputResponses, type GetSwapQuoteByOutputData, type GetSwapQuoteByOutputError, type GetSwapQuoteByOutputErrors, type GetSwapQuoteByOutputResponse, type GetSwapQuoteByOutputResponseZodType, type GetSwapQuoteByOutputResponses, type GetTradableAmountData, type GetTradableAmountError, type GetTradableAmountErrors, type GetTradableAmountResponse, type GetTradableAmountResponseZodType, type GetTradableAmountResponses, type GetTradeHistoryData, type GetTradeHistoryError, type GetTradeHistoryErrors, type GetTradeHistoryResponse, type GetTradeHistoryResponseZodType, type GetTradeHistoryResponses, type GetTunaPositionData, type GetTunaPositionError, type GetTunaPositionErrors, type GetTunaPositionResponse, type GetTunaPositionResponseZodType, type GetTunaPositionResponses, type GetTunaPositionsData, type GetTunaPositionsError, type GetTunaPositionsErrors, type GetTunaPositionsResponse, type GetTunaPositionsResponseZodType, type GetTunaPositionsResponses, type GetUserStakingPositionData, type GetUserStakingPositionError, type GetUserStakingPositionErrors, type GetUserStakingPositionHistoryData, type GetUserStakingPositionHistoryError, type GetUserStakingPositionHistoryErrors, type GetUserStakingPositionHistoryResponse, type GetUserStakingPositionHistoryResponseZodType, type GetUserStakingPositionHistoryResponses, type GetUserStakingPositionResponse, type GetUserStakingPositionResponseZodType, type GetUserStakingPositionResponses, type GetVaultData, type GetVaultError, type GetVaultErrors, type GetVaultHistoryData, type GetVaultHistoryError, type GetVaultHistoryErrors, type GetVaultHistoryResponse, type GetVaultHistoryResponseZodType, type GetVaultHistoryResponses, type GetVaultResponse, type GetVaultResponseZodType, type GetVaultResponses, type GetVaultsData, type GetVaultsError, type GetVaultsErrors, type GetVaultsResponse, type GetVaultsResponseZodType, type GetVaultsResponses, type HttpStatusData, type I128Dto, type I64Dto, type IncreaseSpotPositionQuoteDto, type InternalErrorCodeErrorBody, type LeaderboardError400BadRequest, type LeaderboardError400Error, type LeaderboardError500Error, type LeaderboardItemDto, LeaderboardPeriod, LeaderboardSortBy, type LendingPositionDto, type LendingPositionError404Error, type LendingPositionError500Error, type LendingPositionResponse, type LendingPositionsListResponse, type LimitOrderDto, type LimitOrderQuoteByInputDto, type LimitOrderQuoteByOutputDto, type LimitOrderResponse, LimitOrderStatus, type LimitOrdersListResponse, type LpPositionResponse, type LpPositionsError400BadRequest, type LpPositionsError400Error, type LpPositionsError500Error, type LpPositionsHistoryListResponse, type LpPositionsListResponse, type MarketDto, type MarketError404Error, type MarketError500Error, type MarketResponse, type MarketsListResponse, type MintDto, type MintError404Error, type MintError500Error, NotificationAction, NotificationEntity, type Options, type OraclePriceDto, type OraclePriceError404Error, type OraclePriceError500Error, type OrderBookDto, type OrderBookEntryDto, type OrderBookWrapper, type OrderHistoryEntryDto, type OrderHistoryListResponse, type OrderHistoryNotificationResponse, OrderHistoryStatus, OrderHistoryType, OrderHistoryUiDirection, type PaginationMeta, type PoolDto, type PoolPriceCandleDto, PoolProvider, type PoolStatsDto, type PoolStatsGroupDto, type PoolStatsGroupEntryDto, type PoolSubscription, PoolSubscriptionTopic, type PoolSwapDto, type PoolTicksDto, type PoolsError400BadRequest, type PoolsError400Error, type PoolsError404Error, type PoolsError500Error, type PubkeyDto, RateLimitSource, type RetryAfterHint, type SearchTokensData, type SearchTokensError, type SearchTokensErrors, type SearchTokensResponse, type SearchTokensResponseZodType, type SearchTokensResponses, type ServerSentEventsOptions, type ServerSentEventsResult, type Snapshot, type SnapshotContainer, type SpotPositionError404Error, type SpotPositionError500Error, type SpotPositionResponse, type SpotPositionsListResponse, type SseData, type SseErrors, type SseResponse, type SseResponse2, type SseResponseInitialMessage, type SseResponseLendingPosition, type SseResponseLendingPositionPayload, type SseResponseOrderHistoryEntry, type SseResponseOrderHistoryEntryPayload, type SseResponsePoolSwap, type SseResponsePoolSwapPayload, type SseResponseSnapshot, type SseResponseStakingPosition, type SseResponseStakingPositionPayload, type SseResponseTradeHistoryEntry, type SseResponseTradeHistoryEntryPayload, type SseResponseZodType, type SseResponses, type StakingDepositsStatsDto, type StakingError400BadRequest, type StakingError400Error, type StakingError500Error, type StakingLeaderboardPositionDto, type StakingPositionActionDto, StakingPositionActionType, type StakingPositionDto, type StatsError400BadRequest, type StatsError400Error, type StatsError500Error, type StreamEvent, type StreamInitalMessage, type SubscriptionOptions, type SwapQuoteByInputDto, type SwapQuoteByOutputDto, type TickDto, type TokenAmountWithUsd, type TokenAuditDto, type TokenFirstPoolDto, type TokenPairPriceResponseDto, type TokenPriceDto, type TokenSearchItemDto, type TokenSearchResponseDto, type TokenStatsWindowDto, type TokensError400BadRequest, type TokensError400Error, type TokensError404Error, type TokensError429Error, type TokensError429TooManyRequests, type TokensError429UpstreamRateLimited, type TokensError500Error, type TokensError502Error, type TradableAmountDto, TradeHistoryAction, type TradeHistoryEntryDto, type TradeHistoryEntryPnlUsd, type TradeHistoryListResponse, type TradeHistoryNotificationResponse, TradeHistoryUiDirection, type TreasuryDto, TunaBackendSdk, TunaBackendSdkError, type TunaLpPositionActionComposite, type TunaLpPositionActionDto, TunaLpPositionAutoCompound, TunaLpPositionAutoCompounding, type TunaLpPositionDto, type TunaLpPositionFlags, type TunaLpPositionInnerSwaps, TunaLpPositionLimitOrderSwap, type TunaLpPositionParameters, TunaLpPositionRebalance, type TunaLpPositionTokenPrices, type TunaLpPositionTransfer, type TunaLpPositionTriggerOrder, TunaLpPositionTriggerOrderType, type TunaLpPositionValue, TunaLpPositionsActionType, type TunaLpPositionsStats, type TunaPositionDto, TunaPositionDtoState, TunaPositionMarketMaker, TunaPositionPoolToken, type TunaPositionTokenDepositedCollateral, type TunaPositionTokenPnl, type TunaPositionUsdPnl, type TunaSpotPositionDto, TunaSpotPositionDtoState, type U128Dto, type U64Dto, type UpdateStreamSubscriptionData, type UpdateStreamSubscriptionError, type UpdateStreamSubscriptionError404Error, type UpdateStreamSubscriptionError500Error, type UpdateStreamSubscriptionErrors, type UpdateStreamSubscriptionResponse, type UpdateStreamSubscriptionResponseZodType, type UpdateStreamSubscriptionResponses, type ValidationErrorCodeErrorBody, type ValidationErrorCodeValidationDetailsErrorBody, type VaultDto, type VaultError400BadRequest, type VaultError400Error, type VaultError404Error, type VaultError500Error, type VaultResponse, type VaultStatsDto, type VaultsListResponse, type VestingDto, type WalletSubscription, WalletSubscriptionTopic, createClient, createSseClient, isTunaSdkError, tunaSdkErrorInterceptor, unwrap, zBadRequestErrorCodeErrorBody, zCloseSpotPositionQuoteDto, zDecreaseSpotPositionQuoteDto, zFeeAmountWithUsd, zFeesStatsGroupDto, zFieldError, zFusionFeesStatsGroupDto, zGetCloseSpotPositionQuoteData, zGetCloseSpotPositionQuoteResponse, zGetDecreaseSpotPositionQuoteData, zGetDecreaseSpotPositionQuoteResponse, zGetFeesStatsData, zGetFeesStatsResponse, zGetFusionFeesStatsData, zGetFusionFeesStatsResponse, zGetIncreaseSpotPositionQuoteData, zGetIncreaseSpotPositionQuoteResponse, zGetLendingPositionData, zGetLendingPositionResponse, zGetLendingPositionsData, zGetLendingPositionsResponse, zGetLimitOrderData, zGetLimitOrderError404Error, zGetLimitOrderError500Error, zGetLimitOrderQuoteByInputData, zGetLimitOrderQuoteByInputResponse, zGetLimitOrderQuoteByOutputData, zGetLimitOrderQuoteByOutputResponse, zGetLimitOrderResponse, zGetLimitOrdersData, zGetLimitOrdersResponse, zGetLpPositionActionsData, zGetLpPositionActionsResponse, zGetLpPositionsData, zGetLpPositionsResponse, zGetLpSpotLeaderboardData, zGetLpSpotLeaderboardResponse, zGetMarketData, zGetMarketResponse, zGetMarketsData, zGetMarketsResponse, zGetMintData, zGetMintResponse, zGetMintsData, zGetMintsResponse, zGetOraclePriceData, zGetOraclePriceResponse, zGetOraclePricesData, zGetOraclePricesResponse, zGetOrderHistoryData, zGetOrderHistoryResponse, zGetPairPriceData, zGetPairPriceResponse, zGetPoolCandlesData, zGetPoolCandlesResponse, zGetPoolData, zGetPoolOrderBookData, zGetPoolOrderBookResponse, zGetPoolResponse, zGetPoolSwapsData, zGetPoolSwapsResponse, zGetPoolTicksData, zGetPoolTicksResponse, zGetPoolsData, zGetPoolsResponse, zGetPositionsStatsData, zGetPositionsStatsResponse, zGetPositionsTotalData, zGetPositionsTotalResponse, zGetSpotPositionData, zGetSpotPositionResponse, zGetSpotPositionsData, zGetSpotPositionsResponse, zGetStakingLeaderboardData, zGetStakingLeaderboardResponse, zGetStakingRevenueStatsData, zGetStakingRevenueStatsResponse, zGetStakingTreasuryData, zGetStakingTreasuryResponse, zGetSwapQuoteByInputData, zGetSwapQuoteByInputResponse, zGetSwapQuoteByOutputData, zGetSwapQuoteByOutputResponse, zGetTradableAmountData, zGetTradableAmountResponse, zGetTradeHistoryData, zGetTradeHistoryResponse, zGetTunaPositionData, zGetTunaPositionResponse, zGetTunaPositionsData, zGetTunaPositionsResponse, zGetUserStakingPositionData, zGetUserStakingPositionHistoryData, zGetUserStakingPositionHistoryResponse, zGetUserStakingPositionResponse, zGetVaultData, zGetVaultHistoryData, zGetVaultHistoryResponse, zGetVaultResponse, zGetVaultsData, zGetVaultsResponse, zHttpStatusData, zI128Dto, zI64Dto, zIncreaseSpotPositionQuoteDto, zInternalErrorCodeErrorBody, zLeaderboardError400BadRequest, zLeaderboardError400Error, zLeaderboardError500Error, zLeaderboardItemDto, zLeaderboardPeriod, zLeaderboardSortBy, zLendingPositionDto, zLendingPositionError404Error, zLendingPositionError500Error, zLendingPositionResponse, zLendingPositionsListResponse, zLimitOrderDto, zLimitOrderQuoteByInputDto, zLimitOrderQuoteByOutputDto, zLimitOrderResponse, zLimitOrderStatus, zLimitOrdersListResponse, zLpPositionResponse, zLpPositionsError400BadRequest, zLpPositionsError400Error, zLpPositionsError500Error, zLpPositionsHistoryListResponse, zLpPositionsListResponse, zMarketDto, zMarketError404Error, zMarketError500Error, zMarketResponse, zMarketsListResponse, zMintDto, zMintError404Error, zMintError500Error, zNotificationAction, zNotificationEntity, zOraclePriceDto, zOraclePriceError404Error, zOraclePriceError500Error, zOrderBookDto, zOrderBookEntryDto, zOrderBookWrapper, zOrderHistoryEntryDto, zOrderHistoryListResponse, zOrderHistoryNotificationResponse, zOrderHistoryStatus, zOrderHistoryType, zOrderHistoryUiDirection, zPaginationMeta, zPoolDto, zPoolPriceCandleDto, zPoolProvider, zPoolStatsDto, zPoolStatsGroupDto, zPoolStatsGroupEntryDto, zPoolSubscription, zPoolSubscriptionTopic, zPoolSwapDto, zPoolTicksDto, zPoolsError400BadRequest, zPoolsError400Error, zPoolsError404Error, zPoolsError500Error, zPubkeyDto, zRateLimitSource, zRetryAfterHint, zSearchTokensData, zSearchTokensResponse, zSnapshot, zSnapshotContainer, zSpotPositionError404Error, zSpotPositionError500Error, zSpotPositionResponse, zSpotPositionsListResponse, zSseData, zSseResponse, zSseResponse2, zSseResponseInitialMessage, zSseResponseLendingPosition, zSseResponseLendingPositionPayload, zSseResponseOrderHistoryEntry, zSseResponseOrderHistoryEntryPayload, zSseResponsePoolSwap, zSseResponsePoolSwapPayload, zSseResponseSnapshot, zSseResponseStakingPosition, zSseResponseStakingPositionPayload, zSseResponseTradeHistoryEntry, zSseResponseTradeHistoryEntryPayload, zStakingDepositsStatsDto, zStakingError400BadRequest, zStakingError400Error, zStakingError500Error, zStakingLeaderboardPositionDto, zStakingPositionActionDto, zStakingPositionActionType, zStakingPositionDto, zStatsError400BadRequest, zStatsError400Error, zStatsError500Error, zStreamInitalMessage, zSubscriptionOptions, zSwapQuoteByInputDto, zSwapQuoteByOutputDto, zTickDto, zTokenAmountWithUsd, zTokenAuditDto, zTokenFirstPoolDto, zTokenPairPriceResponseDto, zTokenPriceDto, zTokenSearchItemDto, zTokenSearchResponseDto, zTokenStatsWindowDto, zTokensError400BadRequest, zTokensError400Error, zTokensError404Error, zTokensError429Error, zTokensError429TooManyRequests, zTokensError429UpstreamRateLimited, zTokensError500Error, zTokensError502Error, zTradableAmountDto, zTradeHistoryAction, zTradeHistoryEntryDto, zTradeHistoryEntryPnlUsd, zTradeHistoryListResponse, zTradeHistoryNotificationResponse, zTradeHistoryUiDirection, zTreasuryDto, zTunaLpPositionActionComposite, zTunaLpPositionActionDto, zTunaLpPositionAutoCompound, zTunaLpPositionAutoCompounding, zTunaLpPositionDto, zTunaLpPositionFlags, zTunaLpPositionInnerSwaps, zTunaLpPositionLimitOrderSwap, zTunaLpPositionParameters, zTunaLpPositionRebalance, zTunaLpPositionTokenPrices, zTunaLpPositionTransfer, zTunaLpPositionTriggerOrder, zTunaLpPositionTriggerOrderType, zTunaLpPositionValue, zTunaLpPositionsActionType, zTunaLpPositionsStats, zTunaPositionDto, zTunaPositionDtoState, zTunaPositionMarketMaker, zTunaPositionPoolToken, zTunaPositionTokenDepositedCollateral, zTunaPositionTokenPnl, zTunaPositionUsdPnl, zTunaSpotPositionDto, zTunaSpotPositionDtoState, zU128Dto, zU64Dto, zUpdateStreamSubscriptionData, zUpdateStreamSubscriptionError404Error, zUpdateStreamSubscriptionError500Error, zUpdateStreamSubscriptionResponse, zValidationErrorCodeErrorBody, zValidationErrorCodeValidationDetailsErrorBody, zVaultDto, zVaultError400BadRequest, zVaultError400Error, zVaultError404Error, zVaultError500Error, zVaultResponse, zVaultStatsDto, zVaultsListResponse, zVestingDto, zWalletSubscription, zWalletSubscriptionTopic };
|