@chainflip/rpc 1.9.0-assethub.2 → 1.9.2
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/common.cjs +19 -1
- package/dist/common.d.cts +1362 -462
- package/dist/common.d.ts +1362 -462
- package/dist/common.mjs +20 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/parsers.cjs +56 -19
- package/dist/parsers.d.cts +2283 -610
- package/dist/parsers.d.ts +2283 -610
- package/dist/parsers.mjs +56 -19
- package/dist/types.d.cts +21 -7
- package/dist/types.d.ts +21 -7
- package/package.json +2 -2
package/dist/common.d.ts
CHANGED
|
@@ -111,16 +111,6 @@ type RpcRequest = WithHash<{
|
|
|
111
111
|
additionalOrders?: Nullish<AdditionalOrder[]>
|
|
112
112
|
];
|
|
113
113
|
cf_swap_rate_v3: [
|
|
114
|
-
fromAsset: UncheckedAssetAndChain,
|
|
115
|
-
toAsset: UncheckedAssetAndChain,
|
|
116
|
-
amount: `0x${string}`,
|
|
117
|
-
brokerComission?: Nullish<number>,
|
|
118
|
-
dcaParams?: Nullish<{
|
|
119
|
-
number_of_chunks: number;
|
|
120
|
-
chunk_interval: number;
|
|
121
|
-
}>,
|
|
122
|
-
additionalOrders?: Nullish<AdditionalOrder[]>
|
|
123
|
-
] | [
|
|
124
114
|
fromAsset: UncheckedAssetAndChain,
|
|
125
115
|
toAsset: UncheckedAssetAndChain,
|
|
126
116
|
amount: `0x${string}`,
|
|
@@ -130,7 +120,7 @@ type RpcRequest = WithHash<{
|
|
|
130
120
|
chunk_interval: number;
|
|
131
121
|
}>,
|
|
132
122
|
ccmData?: Nullish<{
|
|
133
|
-
gas_budget:
|
|
123
|
+
gas_budget: number;
|
|
134
124
|
message_length: number;
|
|
135
125
|
}>,
|
|
136
126
|
excludeFees?: Nullish<SwapFeeType[]>,
|
|
@@ -150,6 +140,20 @@ type RpcRequest = WithHash<{
|
|
|
150
140
|
state_getMetadata: [];
|
|
151
141
|
state_getRuntimeVersion: [];
|
|
152
142
|
lp_total_balances: [accountId: string];
|
|
143
|
+
cf_failed_call_ethereum: [broadcastId: number];
|
|
144
|
+
cf_failed_call_arbitrum: [broadcastId: number];
|
|
145
|
+
cf_authority_emission_per_block: [];
|
|
146
|
+
cf_epoch_duration: [];
|
|
147
|
+
cf_auction_state: [];
|
|
148
|
+
cf_flip_supply: [];
|
|
149
|
+
cf_eth_state_chain_gateway_address: [];
|
|
150
|
+
cf_eth_key_manager_address: [];
|
|
151
|
+
cf_pool_orderbook: [
|
|
152
|
+
baseAsset: UncheckedAssetAndChain,
|
|
153
|
+
quoteAsset: UncheckedAssetAndChain,
|
|
154
|
+
orders: number
|
|
155
|
+
];
|
|
156
|
+
cf_get_trading_strategies: [accountId?: Nullish<string>];
|
|
153
157
|
}> & {
|
|
154
158
|
chain_getBlockHash: [blockHeight?: number];
|
|
155
159
|
};
|
|
@@ -349,14 +353,186 @@ declare const rpcResult: {
|
|
|
349
353
|
readonly cf_account_info: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
350
354
|
role: z.ZodLiteral<"unregistered">;
|
|
351
355
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
356
|
+
asset_balances: z.ZodObject<{
|
|
357
|
+
Bitcoin: z.ZodObject<{
|
|
358
|
+
BTC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
359
|
+
}, "strip", z.ZodTypeAny, {
|
|
360
|
+
BTC: bigint;
|
|
361
|
+
}, {
|
|
362
|
+
BTC: string | number;
|
|
363
|
+
}>;
|
|
364
|
+
Ethereum: z.ZodObject<{
|
|
365
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
366
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
367
|
+
FLIP: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
368
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
369
|
+
}, "strip", z.ZodTypeAny, {
|
|
370
|
+
ETH: bigint;
|
|
371
|
+
USDC: bigint;
|
|
372
|
+
FLIP: bigint;
|
|
373
|
+
USDT: bigint;
|
|
374
|
+
}, {
|
|
375
|
+
ETH: string | number;
|
|
376
|
+
USDC: string | number;
|
|
377
|
+
FLIP: string | number;
|
|
378
|
+
USDT: string | number;
|
|
379
|
+
}>;
|
|
380
|
+
Polkadot: z.ZodObject<{
|
|
381
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
382
|
+
}, "strip", z.ZodTypeAny, {
|
|
383
|
+
DOT: bigint;
|
|
384
|
+
}, {
|
|
385
|
+
DOT: string | number;
|
|
386
|
+
}>;
|
|
387
|
+
Arbitrum: z.ZodObject<{
|
|
388
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
389
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
ETH: bigint;
|
|
392
|
+
USDC: bigint;
|
|
393
|
+
}, {
|
|
394
|
+
ETH: string | number;
|
|
395
|
+
USDC: string | number;
|
|
396
|
+
}>;
|
|
397
|
+
Solana: z.ZodObject<{
|
|
398
|
+
SOL: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
399
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
400
|
+
}, "strip", z.ZodTypeAny, {
|
|
401
|
+
USDC: bigint;
|
|
402
|
+
SOL: bigint;
|
|
403
|
+
}, {
|
|
404
|
+
USDC: string | number;
|
|
405
|
+
SOL: string | number;
|
|
406
|
+
}>;
|
|
407
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
408
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
409
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
410
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
411
|
+
}, "strip", z.ZodTypeAny, {
|
|
412
|
+
USDC: bigint;
|
|
413
|
+
USDT: bigint;
|
|
414
|
+
DOT: bigint;
|
|
415
|
+
}, {
|
|
416
|
+
USDC: string | number;
|
|
417
|
+
USDT: string | number;
|
|
418
|
+
DOT: string | number;
|
|
419
|
+
}>>;
|
|
420
|
+
}, "strip", z.ZodTypeAny, {
|
|
421
|
+
Bitcoin: {
|
|
422
|
+
BTC: bigint;
|
|
423
|
+
};
|
|
424
|
+
Ethereum: {
|
|
425
|
+
ETH: bigint;
|
|
426
|
+
USDC: bigint;
|
|
427
|
+
FLIP: bigint;
|
|
428
|
+
USDT: bigint;
|
|
429
|
+
};
|
|
430
|
+
Arbitrum: {
|
|
431
|
+
ETH: bigint;
|
|
432
|
+
USDC: bigint;
|
|
433
|
+
};
|
|
434
|
+
Solana: {
|
|
435
|
+
USDC: bigint;
|
|
436
|
+
SOL: bigint;
|
|
437
|
+
};
|
|
438
|
+
Polkadot: {
|
|
439
|
+
DOT: bigint;
|
|
440
|
+
};
|
|
441
|
+
Assethub: {
|
|
442
|
+
USDC: bigint;
|
|
443
|
+
USDT: bigint;
|
|
444
|
+
DOT: bigint;
|
|
445
|
+
};
|
|
446
|
+
}, {
|
|
447
|
+
Bitcoin: {
|
|
448
|
+
BTC: string | number;
|
|
449
|
+
};
|
|
450
|
+
Ethereum: {
|
|
451
|
+
ETH: string | number;
|
|
452
|
+
USDC: string | number;
|
|
453
|
+
FLIP: string | number;
|
|
454
|
+
USDT: string | number;
|
|
455
|
+
};
|
|
456
|
+
Arbitrum: {
|
|
457
|
+
ETH: string | number;
|
|
458
|
+
USDC: string | number;
|
|
459
|
+
};
|
|
460
|
+
Solana: {
|
|
461
|
+
USDC: string | number;
|
|
462
|
+
SOL: string | number;
|
|
463
|
+
};
|
|
464
|
+
Polkadot: {
|
|
465
|
+
DOT: string | number;
|
|
466
|
+
};
|
|
467
|
+
Assethub?: {
|
|
468
|
+
USDC: string | number;
|
|
469
|
+
USDT: string | number;
|
|
470
|
+
DOT: string | number;
|
|
471
|
+
} | undefined;
|
|
472
|
+
}>;
|
|
352
473
|
}, "strip", z.ZodTypeAny, {
|
|
353
474
|
role: "unregistered";
|
|
354
475
|
flip_balance: bigint;
|
|
476
|
+
asset_balances: {
|
|
477
|
+
Bitcoin: {
|
|
478
|
+
BTC: bigint;
|
|
479
|
+
};
|
|
480
|
+
Ethereum: {
|
|
481
|
+
ETH: bigint;
|
|
482
|
+
USDC: bigint;
|
|
483
|
+
FLIP: bigint;
|
|
484
|
+
USDT: bigint;
|
|
485
|
+
};
|
|
486
|
+
Arbitrum: {
|
|
487
|
+
ETH: bigint;
|
|
488
|
+
USDC: bigint;
|
|
489
|
+
};
|
|
490
|
+
Solana: {
|
|
491
|
+
USDC: bigint;
|
|
492
|
+
SOL: bigint;
|
|
493
|
+
};
|
|
494
|
+
Polkadot: {
|
|
495
|
+
DOT: bigint;
|
|
496
|
+
};
|
|
497
|
+
Assethub: {
|
|
498
|
+
USDC: bigint;
|
|
499
|
+
USDT: bigint;
|
|
500
|
+
DOT: bigint;
|
|
501
|
+
};
|
|
502
|
+
};
|
|
355
503
|
}, {
|
|
356
504
|
role: "unregistered";
|
|
357
505
|
flip_balance: string | number;
|
|
506
|
+
asset_balances: {
|
|
507
|
+
Bitcoin: {
|
|
508
|
+
BTC: string | number;
|
|
509
|
+
};
|
|
510
|
+
Ethereum: {
|
|
511
|
+
ETH: string | number;
|
|
512
|
+
USDC: string | number;
|
|
513
|
+
FLIP: string | number;
|
|
514
|
+
USDT: string | number;
|
|
515
|
+
};
|
|
516
|
+
Arbitrum: {
|
|
517
|
+
ETH: string | number;
|
|
518
|
+
USDC: string | number;
|
|
519
|
+
};
|
|
520
|
+
Solana: {
|
|
521
|
+
USDC: string | number;
|
|
522
|
+
SOL: string | number;
|
|
523
|
+
};
|
|
524
|
+
Polkadot: {
|
|
525
|
+
DOT: string | number;
|
|
526
|
+
};
|
|
527
|
+
Assethub?: {
|
|
528
|
+
USDC: string | number;
|
|
529
|
+
USDT: string | number;
|
|
530
|
+
DOT: string | number;
|
|
531
|
+
} | undefined;
|
|
532
|
+
};
|
|
358
533
|
}>, z.ZodObject<{
|
|
359
534
|
role: z.ZodLiteral<"broker">;
|
|
535
|
+
bond: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
360
536
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
361
537
|
earned_fees: z.ZodObject<{
|
|
362
538
|
Bitcoin: z.ZodObject<{
|
|
@@ -409,19 +585,19 @@ declare const rpcResult: {
|
|
|
409
585
|
USDC: string | number;
|
|
410
586
|
SOL: string | number;
|
|
411
587
|
}>;
|
|
412
|
-
Assethub: z.ZodObject<{
|
|
413
|
-
DOT: z.
|
|
414
|
-
USDC: z.
|
|
415
|
-
USDT: z.
|
|
588
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
589
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
590
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
591
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
416
592
|
}, "strip", z.ZodTypeAny, {
|
|
417
593
|
USDC: bigint;
|
|
418
594
|
USDT: bigint;
|
|
419
595
|
DOT: bigint;
|
|
420
596
|
}, {
|
|
421
|
-
USDC
|
|
422
|
-
USDT
|
|
423
|
-
DOT
|
|
424
|
-
}
|
|
597
|
+
USDC: string | number;
|
|
598
|
+
USDT: string | number;
|
|
599
|
+
DOT: string | number;
|
|
600
|
+
}>>;
|
|
425
601
|
}, "strip", z.ZodTypeAny, {
|
|
426
602
|
Bitcoin: {
|
|
427
603
|
BTC: bigint;
|
|
@@ -469,16 +645,30 @@ declare const rpcResult: {
|
|
|
469
645
|
Polkadot: {
|
|
470
646
|
DOT: string | number;
|
|
471
647
|
};
|
|
472
|
-
Assethub
|
|
473
|
-
USDC
|
|
474
|
-
USDT
|
|
475
|
-
DOT
|
|
476
|
-
};
|
|
648
|
+
Assethub?: {
|
|
649
|
+
USDC: string | number;
|
|
650
|
+
USDT: string | number;
|
|
651
|
+
DOT: string | number;
|
|
652
|
+
} | undefined;
|
|
477
653
|
}>;
|
|
478
654
|
btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
655
|
+
affiliates: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
656
|
+
account_id: z.ZodString;
|
|
657
|
+
short_id: z.ZodNumber;
|
|
658
|
+
withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
659
|
+
}, "strip", z.ZodTypeAny, {
|
|
660
|
+
account_id: string;
|
|
661
|
+
short_id: number;
|
|
662
|
+
withdrawal_address: `0x${string}`;
|
|
663
|
+
}, {
|
|
664
|
+
account_id: string;
|
|
665
|
+
short_id: number;
|
|
666
|
+
withdrawal_address: string;
|
|
667
|
+
}>, "many">>>;
|
|
479
668
|
}, "strip", z.ZodTypeAny, {
|
|
480
669
|
role: "broker";
|
|
481
670
|
flip_balance: bigint;
|
|
671
|
+
bond: bigint;
|
|
482
672
|
earned_fees: {
|
|
483
673
|
Bitcoin: {
|
|
484
674
|
BTC: bigint;
|
|
@@ -506,10 +696,16 @@ declare const rpcResult: {
|
|
|
506
696
|
DOT: bigint;
|
|
507
697
|
};
|
|
508
698
|
};
|
|
699
|
+
affiliates: {
|
|
700
|
+
account_id: string;
|
|
701
|
+
short_id: number;
|
|
702
|
+
withdrawal_address: `0x${string}`;
|
|
703
|
+
}[];
|
|
509
704
|
btc_vault_deposit_address?: string | null | undefined;
|
|
510
705
|
}, {
|
|
511
706
|
role: "broker";
|
|
512
707
|
flip_balance: string | number;
|
|
708
|
+
bond: string | number;
|
|
513
709
|
earned_fees: {
|
|
514
710
|
Bitcoin: {
|
|
515
711
|
BTC: string | number;
|
|
@@ -531,13 +727,18 @@ declare const rpcResult: {
|
|
|
531
727
|
Polkadot: {
|
|
532
728
|
DOT: string | number;
|
|
533
729
|
};
|
|
534
|
-
Assethub
|
|
535
|
-
USDC
|
|
536
|
-
USDT
|
|
537
|
-
DOT
|
|
538
|
-
};
|
|
730
|
+
Assethub?: {
|
|
731
|
+
USDC: string | number;
|
|
732
|
+
USDT: string | number;
|
|
733
|
+
DOT: string | number;
|
|
734
|
+
} | undefined;
|
|
539
735
|
};
|
|
540
736
|
btc_vault_deposit_address?: string | null | undefined;
|
|
737
|
+
affiliates?: {
|
|
738
|
+
account_id: string;
|
|
739
|
+
short_id: number;
|
|
740
|
+
withdrawal_address: string;
|
|
741
|
+
}[] | undefined;
|
|
541
742
|
}>, z.ZodObject<{
|
|
542
743
|
role: z.ZodLiteral<"liquidity_provider">;
|
|
543
744
|
balances: z.ZodObject<{
|
|
@@ -591,19 +792,19 @@ declare const rpcResult: {
|
|
|
591
792
|
USDC: string | number;
|
|
592
793
|
SOL: string | number;
|
|
593
794
|
}>;
|
|
594
|
-
Assethub: z.ZodObject<{
|
|
595
|
-
DOT: z.
|
|
596
|
-
USDC: z.
|
|
597
|
-
USDT: z.
|
|
795
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
796
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
797
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
798
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
598
799
|
}, "strip", z.ZodTypeAny, {
|
|
599
800
|
USDC: bigint;
|
|
600
801
|
USDT: bigint;
|
|
601
802
|
DOT: bigint;
|
|
602
803
|
}, {
|
|
603
|
-
USDC
|
|
604
|
-
USDT
|
|
605
|
-
DOT
|
|
606
|
-
}
|
|
804
|
+
USDC: string | number;
|
|
805
|
+
USDT: string | number;
|
|
806
|
+
DOT: string | number;
|
|
807
|
+
}>>;
|
|
607
808
|
}, "strip", z.ZodTypeAny, {
|
|
608
809
|
Bitcoin: {
|
|
609
810
|
BTC: bigint;
|
|
@@ -651,11 +852,11 @@ declare const rpcResult: {
|
|
|
651
852
|
Polkadot: {
|
|
652
853
|
DOT: string | number;
|
|
653
854
|
};
|
|
654
|
-
Assethub
|
|
655
|
-
USDC
|
|
656
|
-
USDT
|
|
657
|
-
DOT
|
|
658
|
-
};
|
|
855
|
+
Assethub?: {
|
|
856
|
+
USDC: string | number;
|
|
857
|
+
USDT: string | number;
|
|
858
|
+
DOT: string | number;
|
|
859
|
+
} | undefined;
|
|
659
860
|
}>;
|
|
660
861
|
refund_addresses: z.ZodObject<{
|
|
661
862
|
Bitcoin: z.ZodNullable<z.ZodString>;
|
|
@@ -731,19 +932,19 @@ declare const rpcResult: {
|
|
|
731
932
|
USDC: string | number;
|
|
732
933
|
SOL: string | number;
|
|
733
934
|
}>;
|
|
734
|
-
Assethub: z.ZodObject<{
|
|
735
|
-
DOT: z.
|
|
736
|
-
USDC: z.
|
|
737
|
-
USDT: z.
|
|
935
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
936
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
937
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
938
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
738
939
|
}, "strip", z.ZodTypeAny, {
|
|
739
940
|
USDC: bigint;
|
|
740
941
|
USDT: bigint;
|
|
741
942
|
DOT: bigint;
|
|
742
943
|
}, {
|
|
743
|
-
USDC
|
|
744
|
-
USDT
|
|
745
|
-
DOT
|
|
746
|
-
}
|
|
944
|
+
USDC: string | number;
|
|
945
|
+
USDT: string | number;
|
|
946
|
+
DOT: string | number;
|
|
947
|
+
}>>;
|
|
747
948
|
}, "strip", z.ZodTypeAny, {
|
|
748
949
|
Bitcoin: {
|
|
749
950
|
BTC: bigint;
|
|
@@ -791,11 +992,11 @@ declare const rpcResult: {
|
|
|
791
992
|
Polkadot: {
|
|
792
993
|
DOT: string | number;
|
|
793
994
|
};
|
|
794
|
-
Assethub
|
|
795
|
-
USDC
|
|
796
|
-
USDT
|
|
797
|
-
DOT
|
|
798
|
-
};
|
|
995
|
+
Assethub?: {
|
|
996
|
+
USDC: string | number;
|
|
997
|
+
USDT: string | number;
|
|
998
|
+
DOT: string | number;
|
|
999
|
+
} | undefined;
|
|
799
1000
|
}>;
|
|
800
1001
|
boost_balances: z.ZodObject<{
|
|
801
1002
|
Bitcoin: z.ZodObject<{
|
|
@@ -1148,8 +1349,8 @@ declare const rpcResult: {
|
|
|
1148
1349
|
is_withdrawing: boolean;
|
|
1149
1350
|
}[];
|
|
1150
1351
|
}>;
|
|
1151
|
-
Assethub: z.ZodObject<{
|
|
1152
|
-
DOT: z.
|
|
1352
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
1353
|
+
DOT: z.ZodArray<z.ZodObject<{
|
|
1153
1354
|
fee_tier: z.ZodNumber;
|
|
1154
1355
|
total_balance: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
1155
1356
|
available_balance: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
@@ -1167,8 +1368,8 @@ declare const rpcResult: {
|
|
|
1167
1368
|
available_balance: string;
|
|
1168
1369
|
in_use_balance: string;
|
|
1169
1370
|
is_withdrawing: boolean;
|
|
1170
|
-
}>, "many"
|
|
1171
|
-
USDC: z.
|
|
1371
|
+
}>, "many">;
|
|
1372
|
+
USDC: z.ZodArray<z.ZodObject<{
|
|
1172
1373
|
fee_tier: z.ZodNumber;
|
|
1173
1374
|
total_balance: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
1174
1375
|
available_balance: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
@@ -1186,8 +1387,8 @@ declare const rpcResult: {
|
|
|
1186
1387
|
available_balance: string;
|
|
1187
1388
|
in_use_balance: string;
|
|
1188
1389
|
is_withdrawing: boolean;
|
|
1189
|
-
}>, "many"
|
|
1190
|
-
USDT: z.
|
|
1390
|
+
}>, "many">;
|
|
1391
|
+
USDT: z.ZodArray<z.ZodObject<{
|
|
1191
1392
|
fee_tier: z.ZodNumber;
|
|
1192
1393
|
total_balance: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
1193
1394
|
available_balance: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
@@ -1205,7 +1406,7 @@ declare const rpcResult: {
|
|
|
1205
1406
|
available_balance: string;
|
|
1206
1407
|
in_use_balance: string;
|
|
1207
1408
|
is_withdrawing: boolean;
|
|
1208
|
-
}>, "many"
|
|
1409
|
+
}>, "many">;
|
|
1209
1410
|
}, "strip", z.ZodTypeAny, {
|
|
1210
1411
|
USDC: {
|
|
1211
1412
|
fee_tier: number;
|
|
@@ -1229,28 +1430,28 @@ declare const rpcResult: {
|
|
|
1229
1430
|
is_withdrawing: boolean;
|
|
1230
1431
|
}[];
|
|
1231
1432
|
}, {
|
|
1232
|
-
USDC
|
|
1433
|
+
USDC: {
|
|
1233
1434
|
fee_tier: number;
|
|
1234
1435
|
total_balance: string;
|
|
1235
1436
|
available_balance: string;
|
|
1236
1437
|
in_use_balance: string;
|
|
1237
1438
|
is_withdrawing: boolean;
|
|
1238
|
-
}[]
|
|
1239
|
-
USDT
|
|
1439
|
+
}[];
|
|
1440
|
+
USDT: {
|
|
1240
1441
|
fee_tier: number;
|
|
1241
1442
|
total_balance: string;
|
|
1242
1443
|
available_balance: string;
|
|
1243
1444
|
in_use_balance: string;
|
|
1244
1445
|
is_withdrawing: boolean;
|
|
1245
|
-
}[]
|
|
1246
|
-
DOT
|
|
1446
|
+
}[];
|
|
1447
|
+
DOT: {
|
|
1247
1448
|
fee_tier: number;
|
|
1248
1449
|
total_balance: string;
|
|
1249
1450
|
available_balance: string;
|
|
1250
1451
|
in_use_balance: string;
|
|
1251
1452
|
is_withdrawing: boolean;
|
|
1252
|
-
}[]
|
|
1253
|
-
}
|
|
1453
|
+
}[];
|
|
1454
|
+
}>>;
|
|
1254
1455
|
}, "strip", z.ZodTypeAny, {
|
|
1255
1456
|
Bitcoin: {
|
|
1256
1457
|
BTC: {
|
|
@@ -1436,29 +1637,29 @@ declare const rpcResult: {
|
|
|
1436
1637
|
is_withdrawing: boolean;
|
|
1437
1638
|
}[];
|
|
1438
1639
|
};
|
|
1439
|
-
Assethub
|
|
1440
|
-
USDC
|
|
1640
|
+
Assethub?: {
|
|
1641
|
+
USDC: {
|
|
1441
1642
|
fee_tier: number;
|
|
1442
1643
|
total_balance: string;
|
|
1443
1644
|
available_balance: string;
|
|
1444
1645
|
in_use_balance: string;
|
|
1445
1646
|
is_withdrawing: boolean;
|
|
1446
|
-
}[]
|
|
1447
|
-
USDT
|
|
1647
|
+
}[];
|
|
1648
|
+
USDT: {
|
|
1448
1649
|
fee_tier: number;
|
|
1449
1650
|
total_balance: string;
|
|
1450
1651
|
available_balance: string;
|
|
1451
1652
|
in_use_balance: string;
|
|
1452
1653
|
is_withdrawing: boolean;
|
|
1453
|
-
}[]
|
|
1454
|
-
DOT
|
|
1654
|
+
}[];
|
|
1655
|
+
DOT: {
|
|
1455
1656
|
fee_tier: number;
|
|
1456
1657
|
total_balance: string;
|
|
1457
1658
|
available_balance: string;
|
|
1458
1659
|
in_use_balance: string;
|
|
1459
1660
|
is_withdrawing: boolean;
|
|
1460
|
-
}[]
|
|
1461
|
-
};
|
|
1661
|
+
}[];
|
|
1662
|
+
} | undefined;
|
|
1462
1663
|
}>;
|
|
1463
1664
|
}, "strip", z.ZodTypeAny, {
|
|
1464
1665
|
role: "liquidity_provider";
|
|
@@ -1654,14 +1855,14 @@ declare const rpcResult: {
|
|
|
1654
1855
|
Polkadot: {
|
|
1655
1856
|
DOT: string | number;
|
|
1656
1857
|
};
|
|
1657
|
-
Assethub
|
|
1658
|
-
USDC
|
|
1659
|
-
USDT
|
|
1660
|
-
DOT
|
|
1661
|
-
};
|
|
1662
|
-
};
|
|
1663
|
-
balances: {
|
|
1664
|
-
Bitcoin: {
|
|
1858
|
+
Assethub?: {
|
|
1859
|
+
USDC: string | number;
|
|
1860
|
+
USDT: string | number;
|
|
1861
|
+
DOT: string | number;
|
|
1862
|
+
} | undefined;
|
|
1863
|
+
};
|
|
1864
|
+
balances: {
|
|
1865
|
+
Bitcoin: {
|
|
1665
1866
|
BTC: string | number;
|
|
1666
1867
|
};
|
|
1667
1868
|
Ethereum: {
|
|
@@ -1681,11 +1882,11 @@ declare const rpcResult: {
|
|
|
1681
1882
|
Polkadot: {
|
|
1682
1883
|
DOT: string | number;
|
|
1683
1884
|
};
|
|
1684
|
-
Assethub
|
|
1685
|
-
USDC
|
|
1686
|
-
USDT
|
|
1687
|
-
DOT
|
|
1688
|
-
};
|
|
1885
|
+
Assethub?: {
|
|
1886
|
+
USDC: string | number;
|
|
1887
|
+
USDT: string | number;
|
|
1888
|
+
DOT: string | number;
|
|
1889
|
+
} | undefined;
|
|
1689
1890
|
};
|
|
1690
1891
|
refund_addresses: {
|
|
1691
1892
|
Bitcoin: string | null;
|
|
@@ -1776,29 +1977,29 @@ declare const rpcResult: {
|
|
|
1776
1977
|
is_withdrawing: boolean;
|
|
1777
1978
|
}[];
|
|
1778
1979
|
};
|
|
1779
|
-
Assethub
|
|
1780
|
-
USDC
|
|
1980
|
+
Assethub?: {
|
|
1981
|
+
USDC: {
|
|
1781
1982
|
fee_tier: number;
|
|
1782
1983
|
total_balance: string;
|
|
1783
1984
|
available_balance: string;
|
|
1784
1985
|
in_use_balance: string;
|
|
1785
1986
|
is_withdrawing: boolean;
|
|
1786
|
-
}[]
|
|
1787
|
-
USDT
|
|
1987
|
+
}[];
|
|
1988
|
+
USDT: {
|
|
1788
1989
|
fee_tier: number;
|
|
1789
1990
|
total_balance: string;
|
|
1790
1991
|
available_balance: string;
|
|
1791
1992
|
in_use_balance: string;
|
|
1792
1993
|
is_withdrawing: boolean;
|
|
1793
|
-
}[]
|
|
1794
|
-
DOT
|
|
1994
|
+
}[];
|
|
1995
|
+
DOT: {
|
|
1795
1996
|
fee_tier: number;
|
|
1796
1997
|
total_balance: string;
|
|
1797
1998
|
available_balance: string;
|
|
1798
1999
|
in_use_balance: string;
|
|
1799
2000
|
is_withdrawing: boolean;
|
|
1800
|
-
}[]
|
|
1801
|
-
};
|
|
2001
|
+
}[];
|
|
2002
|
+
} | undefined;
|
|
1802
2003
|
};
|
|
1803
2004
|
}>, z.ZodObject<{
|
|
1804
2005
|
role: z.ZodLiteral<"validator">;
|
|
@@ -2150,19 +2351,19 @@ declare const rpcResult: {
|
|
|
2150
2351
|
USDC: string | number;
|
|
2151
2352
|
SOL: string | number;
|
|
2152
2353
|
}>;
|
|
2153
|
-
Assethub: z.ZodObject<{
|
|
2154
|
-
DOT: z.
|
|
2155
|
-
USDC: z.
|
|
2156
|
-
USDT: z.
|
|
2354
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
2355
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
2356
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
2357
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
2157
2358
|
}, "strip", z.ZodTypeAny, {
|
|
2158
2359
|
USDC: bigint;
|
|
2159
2360
|
USDT: bigint;
|
|
2160
2361
|
DOT: bigint;
|
|
2161
2362
|
}, {
|
|
2162
|
-
USDC
|
|
2163
|
-
USDT
|
|
2164
|
-
DOT
|
|
2165
|
-
}
|
|
2363
|
+
USDC: string | number;
|
|
2364
|
+
USDT: string | number;
|
|
2365
|
+
DOT: string | number;
|
|
2366
|
+
}>>;
|
|
2166
2367
|
}, "strip", z.ZodTypeAny, {
|
|
2167
2368
|
Bitcoin: {
|
|
2168
2369
|
BTC: bigint;
|
|
@@ -2210,11 +2411,11 @@ declare const rpcResult: {
|
|
|
2210
2411
|
Polkadot: {
|
|
2211
2412
|
DOT: string | number;
|
|
2212
2413
|
};
|
|
2213
|
-
Assethub
|
|
2214
|
-
USDC
|
|
2215
|
-
USDT
|
|
2216
|
-
DOT
|
|
2217
|
-
};
|
|
2414
|
+
Assethub?: {
|
|
2415
|
+
USDC: string | number;
|
|
2416
|
+
USDT: string | number;
|
|
2417
|
+
DOT: string | number;
|
|
2418
|
+
} | undefined;
|
|
2218
2419
|
}>;
|
|
2219
2420
|
ingress_fees: z.ZodObject<{
|
|
2220
2421
|
Bitcoin: z.ZodObject<{
|
|
@@ -2267,19 +2468,19 @@ declare const rpcResult: {
|
|
|
2267
2468
|
USDC: string | number | null;
|
|
2268
2469
|
SOL: string | number | null;
|
|
2269
2470
|
}>;
|
|
2270
|
-
Assethub: z.ZodObject<{
|
|
2271
|
-
DOT: z.
|
|
2272
|
-
USDC: z.
|
|
2273
|
-
USDT: z.
|
|
2471
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
2472
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2473
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2474
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2274
2475
|
}, "strip", z.ZodTypeAny, {
|
|
2275
2476
|
USDC: bigint | null;
|
|
2276
2477
|
USDT: bigint | null;
|
|
2277
2478
|
DOT: bigint | null;
|
|
2278
2479
|
}, {
|
|
2279
|
-
USDC
|
|
2280
|
-
USDT
|
|
2281
|
-
DOT
|
|
2282
|
-
}
|
|
2480
|
+
USDC: string | number | null;
|
|
2481
|
+
USDT: string | number | null;
|
|
2482
|
+
DOT: string | number | null;
|
|
2483
|
+
}>>;
|
|
2283
2484
|
}, "strip", z.ZodTypeAny, {
|
|
2284
2485
|
Bitcoin: {
|
|
2285
2486
|
BTC: bigint | null;
|
|
@@ -2327,11 +2528,11 @@ declare const rpcResult: {
|
|
|
2327
2528
|
Polkadot: {
|
|
2328
2529
|
DOT: string | number | null;
|
|
2329
2530
|
};
|
|
2330
|
-
Assethub
|
|
2331
|
-
USDC
|
|
2332
|
-
USDT
|
|
2333
|
-
DOT
|
|
2334
|
-
};
|
|
2531
|
+
Assethub?: {
|
|
2532
|
+
USDC: string | number | null;
|
|
2533
|
+
USDT: string | number | null;
|
|
2534
|
+
DOT: string | number | null;
|
|
2535
|
+
} | undefined;
|
|
2335
2536
|
}>;
|
|
2336
2537
|
egress_fees: z.ZodObject<{
|
|
2337
2538
|
Bitcoin: z.ZodObject<{
|
|
@@ -2384,19 +2585,19 @@ declare const rpcResult: {
|
|
|
2384
2585
|
USDC: string | number | null;
|
|
2385
2586
|
SOL: string | number | null;
|
|
2386
2587
|
}>;
|
|
2387
|
-
Assethub: z.ZodObject<{
|
|
2388
|
-
DOT: z.
|
|
2389
|
-
USDC: z.
|
|
2390
|
-
USDT: z.
|
|
2588
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
2589
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2590
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2591
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2391
2592
|
}, "strip", z.ZodTypeAny, {
|
|
2392
2593
|
USDC: bigint | null;
|
|
2393
2594
|
USDT: bigint | null;
|
|
2394
2595
|
DOT: bigint | null;
|
|
2395
2596
|
}, {
|
|
2396
|
-
USDC
|
|
2397
|
-
USDT
|
|
2398
|
-
DOT
|
|
2399
|
-
}
|
|
2597
|
+
USDC: string | number | null;
|
|
2598
|
+
USDT: string | number | null;
|
|
2599
|
+
DOT: string | number | null;
|
|
2600
|
+
}>>;
|
|
2400
2601
|
}, "strip", z.ZodTypeAny, {
|
|
2401
2602
|
Bitcoin: {
|
|
2402
2603
|
BTC: bigint | null;
|
|
@@ -2444,11 +2645,11 @@ declare const rpcResult: {
|
|
|
2444
2645
|
Polkadot: {
|
|
2445
2646
|
DOT: string | number | null;
|
|
2446
2647
|
};
|
|
2447
|
-
Assethub
|
|
2448
|
-
USDC
|
|
2449
|
-
USDT
|
|
2450
|
-
DOT
|
|
2451
|
-
};
|
|
2648
|
+
Assethub?: {
|
|
2649
|
+
USDC: string | number | null;
|
|
2650
|
+
USDT: string | number | null;
|
|
2651
|
+
DOT: string | number | null;
|
|
2652
|
+
} | undefined;
|
|
2452
2653
|
}>;
|
|
2453
2654
|
witness_safety_margins: z.ZodObject<{
|
|
2454
2655
|
Bitcoin: z.ZodNullable<z.ZodNumber>;
|
|
@@ -2523,19 +2724,19 @@ declare const rpcResult: {
|
|
|
2523
2724
|
USDC: string | number;
|
|
2524
2725
|
SOL: string | number;
|
|
2525
2726
|
}>;
|
|
2526
|
-
Assethub: z.ZodObject<{
|
|
2527
|
-
DOT: z.
|
|
2528
|
-
USDC: z.
|
|
2529
|
-
USDT: z.
|
|
2727
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
2728
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
2729
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
2730
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
2530
2731
|
}, "strip", z.ZodTypeAny, {
|
|
2531
2732
|
USDC: bigint;
|
|
2532
2733
|
USDT: bigint;
|
|
2533
2734
|
DOT: bigint;
|
|
2534
2735
|
}, {
|
|
2535
|
-
USDC
|
|
2536
|
-
USDT
|
|
2537
|
-
DOT
|
|
2538
|
-
}
|
|
2736
|
+
USDC: string | number;
|
|
2737
|
+
USDT: string | number;
|
|
2738
|
+
DOT: string | number;
|
|
2739
|
+
}>>;
|
|
2539
2740
|
}, "strip", z.ZodTypeAny, {
|
|
2540
2741
|
Bitcoin: {
|
|
2541
2742
|
BTC: bigint;
|
|
@@ -2583,11 +2784,11 @@ declare const rpcResult: {
|
|
|
2583
2784
|
Polkadot: {
|
|
2584
2785
|
DOT: string | number;
|
|
2585
2786
|
};
|
|
2586
|
-
Assethub
|
|
2587
|
-
USDC
|
|
2588
|
-
USDT
|
|
2589
|
-
DOT
|
|
2590
|
-
};
|
|
2787
|
+
Assethub?: {
|
|
2788
|
+
USDC: string | number;
|
|
2789
|
+
USDT: string | number;
|
|
2790
|
+
DOT: string | number;
|
|
2791
|
+
} | undefined;
|
|
2591
2792
|
}>;
|
|
2592
2793
|
channel_opening_fees: z.ZodObject<{
|
|
2593
2794
|
Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
@@ -2611,7 +2812,7 @@ declare const rpcResult: {
|
|
|
2611
2812
|
Polkadot: string | number;
|
|
2612
2813
|
Assethub?: string | number | undefined;
|
|
2613
2814
|
}>;
|
|
2614
|
-
max_swap_retry_duration_blocks: z.
|
|
2815
|
+
max_swap_retry_duration_blocks: z.ZodObject<{
|
|
2615
2816
|
Bitcoin: z.ZodNumber;
|
|
2616
2817
|
Ethereum: z.ZodNumber;
|
|
2617
2818
|
Polkadot: z.ZodNumber;
|
|
@@ -2632,7 +2833,7 @@ declare const rpcResult: {
|
|
|
2632
2833
|
Solana: number;
|
|
2633
2834
|
Polkadot: number;
|
|
2634
2835
|
Assethub?: number | undefined;
|
|
2635
|
-
}
|
|
2836
|
+
}>;
|
|
2636
2837
|
}, "strip", z.ZodTypeAny, {
|
|
2637
2838
|
minimum_deposit_amounts: {
|
|
2638
2839
|
Bitcoin: {
|
|
@@ -2788,11 +2989,11 @@ declare const rpcResult: {
|
|
|
2788
2989
|
Polkadot: {
|
|
2789
2990
|
DOT: string | number;
|
|
2790
2991
|
};
|
|
2791
|
-
Assethub
|
|
2792
|
-
USDC
|
|
2793
|
-
USDT
|
|
2794
|
-
DOT
|
|
2795
|
-
};
|
|
2992
|
+
Assethub?: {
|
|
2993
|
+
USDC: string | number;
|
|
2994
|
+
USDT: string | number;
|
|
2995
|
+
DOT: string | number;
|
|
2996
|
+
} | undefined;
|
|
2796
2997
|
};
|
|
2797
2998
|
ingress_fees: {
|
|
2798
2999
|
Bitcoin: {
|
|
@@ -2815,11 +3016,11 @@ declare const rpcResult: {
|
|
|
2815
3016
|
Polkadot: {
|
|
2816
3017
|
DOT: string | number | null;
|
|
2817
3018
|
};
|
|
2818
|
-
Assethub
|
|
2819
|
-
USDC
|
|
2820
|
-
USDT
|
|
2821
|
-
DOT
|
|
2822
|
-
};
|
|
3019
|
+
Assethub?: {
|
|
3020
|
+
USDC: string | number | null;
|
|
3021
|
+
USDT: string | number | null;
|
|
3022
|
+
DOT: string | number | null;
|
|
3023
|
+
} | undefined;
|
|
2823
3024
|
};
|
|
2824
3025
|
egress_fees: {
|
|
2825
3026
|
Bitcoin: {
|
|
@@ -2842,11 +3043,11 @@ declare const rpcResult: {
|
|
|
2842
3043
|
Polkadot: {
|
|
2843
3044
|
DOT: string | number | null;
|
|
2844
3045
|
};
|
|
2845
|
-
Assethub
|
|
2846
|
-
USDC
|
|
2847
|
-
USDT
|
|
2848
|
-
DOT
|
|
2849
|
-
};
|
|
3046
|
+
Assethub?: {
|
|
3047
|
+
USDC: string | number | null;
|
|
3048
|
+
USDT: string | number | null;
|
|
3049
|
+
DOT: string | number | null;
|
|
3050
|
+
} | undefined;
|
|
2850
3051
|
};
|
|
2851
3052
|
witness_safety_margins: {
|
|
2852
3053
|
Bitcoin: number | null;
|
|
@@ -2877,11 +3078,11 @@ declare const rpcResult: {
|
|
|
2877
3078
|
Polkadot: {
|
|
2878
3079
|
DOT: string | number;
|
|
2879
3080
|
};
|
|
2880
|
-
Assethub
|
|
2881
|
-
USDC
|
|
2882
|
-
USDT
|
|
2883
|
-
DOT
|
|
2884
|
-
};
|
|
3081
|
+
Assethub?: {
|
|
3082
|
+
USDC: string | number;
|
|
3083
|
+
USDT: string | number;
|
|
3084
|
+
DOT: string | number;
|
|
3085
|
+
} | undefined;
|
|
2885
3086
|
};
|
|
2886
3087
|
channel_opening_fees: {
|
|
2887
3088
|
Bitcoin: string | number;
|
|
@@ -2891,14 +3092,14 @@ declare const rpcResult: {
|
|
|
2891
3092
|
Polkadot: string | number;
|
|
2892
3093
|
Assethub?: string | number | undefined;
|
|
2893
3094
|
};
|
|
2894
|
-
max_swap_retry_duration_blocks
|
|
3095
|
+
max_swap_retry_duration_blocks: {
|
|
2895
3096
|
Bitcoin: number;
|
|
2896
3097
|
Ethereum: number;
|
|
2897
3098
|
Arbitrum: number;
|
|
2898
3099
|
Solana: number;
|
|
2899
3100
|
Polkadot: number;
|
|
2900
3101
|
Assethub?: number | undefined;
|
|
2901
|
-
}
|
|
3102
|
+
};
|
|
2902
3103
|
}>, Omit<{
|
|
2903
3104
|
minimum_deposit_amounts: {
|
|
2904
3105
|
Bitcoin: {
|
|
@@ -3082,11 +3283,11 @@ declare const rpcResult: {
|
|
|
3082
3283
|
Polkadot: {
|
|
3083
3284
|
DOT: string | number;
|
|
3084
3285
|
};
|
|
3085
|
-
Assethub
|
|
3086
|
-
USDC
|
|
3087
|
-
USDT
|
|
3088
|
-
DOT
|
|
3089
|
-
};
|
|
3286
|
+
Assethub?: {
|
|
3287
|
+
USDC: string | number;
|
|
3288
|
+
USDT: string | number;
|
|
3289
|
+
DOT: string | number;
|
|
3290
|
+
} | undefined;
|
|
3090
3291
|
};
|
|
3091
3292
|
ingress_fees: {
|
|
3092
3293
|
Bitcoin: {
|
|
@@ -3109,11 +3310,11 @@ declare const rpcResult: {
|
|
|
3109
3310
|
Polkadot: {
|
|
3110
3311
|
DOT: string | number | null;
|
|
3111
3312
|
};
|
|
3112
|
-
Assethub
|
|
3113
|
-
USDC
|
|
3114
|
-
USDT
|
|
3115
|
-
DOT
|
|
3116
|
-
};
|
|
3313
|
+
Assethub?: {
|
|
3314
|
+
USDC: string | number | null;
|
|
3315
|
+
USDT: string | number | null;
|
|
3316
|
+
DOT: string | number | null;
|
|
3317
|
+
} | undefined;
|
|
3117
3318
|
};
|
|
3118
3319
|
egress_fees: {
|
|
3119
3320
|
Bitcoin: {
|
|
@@ -3136,11 +3337,11 @@ declare const rpcResult: {
|
|
|
3136
3337
|
Polkadot: {
|
|
3137
3338
|
DOT: string | number | null;
|
|
3138
3339
|
};
|
|
3139
|
-
Assethub
|
|
3140
|
-
USDC
|
|
3141
|
-
USDT
|
|
3142
|
-
DOT
|
|
3143
|
-
};
|
|
3340
|
+
Assethub?: {
|
|
3341
|
+
USDC: string | number | null;
|
|
3342
|
+
USDT: string | number | null;
|
|
3343
|
+
DOT: string | number | null;
|
|
3344
|
+
} | undefined;
|
|
3144
3345
|
};
|
|
3145
3346
|
witness_safety_margins: {
|
|
3146
3347
|
Bitcoin: number | null;
|
|
@@ -3171,11 +3372,11 @@ declare const rpcResult: {
|
|
|
3171
3372
|
Polkadot: {
|
|
3172
3373
|
DOT: string | number;
|
|
3173
3374
|
};
|
|
3174
|
-
Assethub
|
|
3175
|
-
USDC
|
|
3176
|
-
USDT
|
|
3177
|
-
DOT
|
|
3178
|
-
};
|
|
3375
|
+
Assethub?: {
|
|
3376
|
+
USDC: string | number;
|
|
3377
|
+
USDT: string | number;
|
|
3378
|
+
DOT: string | number;
|
|
3379
|
+
} | undefined;
|
|
3179
3380
|
};
|
|
3180
3381
|
channel_opening_fees: {
|
|
3181
3382
|
Bitcoin: string | number;
|
|
@@ -3185,14 +3386,14 @@ declare const rpcResult: {
|
|
|
3185
3386
|
Polkadot: string | number;
|
|
3186
3387
|
Assethub?: string | number | undefined;
|
|
3187
3388
|
};
|
|
3188
|
-
max_swap_retry_duration_blocks
|
|
3389
|
+
max_swap_retry_duration_blocks: {
|
|
3189
3390
|
Bitcoin: number;
|
|
3190
3391
|
Ethereum: number;
|
|
3191
3392
|
Arbitrum: number;
|
|
3192
3393
|
Solana: number;
|
|
3193
3394
|
Polkadot: number;
|
|
3194
3395
|
Assethub?: number | undefined;
|
|
3195
|
-
}
|
|
3396
|
+
};
|
|
3196
3397
|
}>;
|
|
3197
3398
|
swapping: z.ZodObject<{
|
|
3198
3399
|
maximum_swap_amounts: z.ZodObject<{
|
|
@@ -3246,19 +3447,19 @@ declare const rpcResult: {
|
|
|
3246
3447
|
USDC: string | number | null;
|
|
3247
3448
|
SOL: string | number | null;
|
|
3248
3449
|
}>;
|
|
3249
|
-
Assethub: z.ZodObject<{
|
|
3250
|
-
DOT: z.
|
|
3251
|
-
USDC: z.
|
|
3252
|
-
USDT: z.
|
|
3450
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
3451
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3452
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3453
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3253
3454
|
}, "strip", z.ZodTypeAny, {
|
|
3254
3455
|
USDC: bigint | null;
|
|
3255
3456
|
USDT: bigint | null;
|
|
3256
3457
|
DOT: bigint | null;
|
|
3257
3458
|
}, {
|
|
3258
|
-
USDC
|
|
3259
|
-
USDT
|
|
3260
|
-
DOT
|
|
3261
|
-
}
|
|
3459
|
+
USDC: string | number | null;
|
|
3460
|
+
USDT: string | number | null;
|
|
3461
|
+
DOT: string | number | null;
|
|
3462
|
+
}>>;
|
|
3262
3463
|
}, "strip", z.ZodTypeAny, {
|
|
3263
3464
|
Bitcoin: {
|
|
3264
3465
|
BTC: bigint | null;
|
|
@@ -3306,11 +3507,11 @@ declare const rpcResult: {
|
|
|
3306
3507
|
Polkadot: {
|
|
3307
3508
|
DOT: string | number | null;
|
|
3308
3509
|
};
|
|
3309
|
-
Assethub
|
|
3310
|
-
USDC
|
|
3311
|
-
USDT
|
|
3312
|
-
DOT
|
|
3313
|
-
};
|
|
3510
|
+
Assethub?: {
|
|
3511
|
+
USDC: string | number | null;
|
|
3512
|
+
USDT: string | number | null;
|
|
3513
|
+
DOT: string | number | null;
|
|
3514
|
+
} | undefined;
|
|
3314
3515
|
}>;
|
|
3315
3516
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
3316
3517
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3364,11 +3565,11 @@ declare const rpcResult: {
|
|
|
3364
3565
|
Polkadot: {
|
|
3365
3566
|
DOT: string | number | null;
|
|
3366
3567
|
};
|
|
3367
|
-
Assethub
|
|
3368
|
-
USDC
|
|
3369
|
-
USDT
|
|
3370
|
-
DOT
|
|
3371
|
-
};
|
|
3568
|
+
Assethub?: {
|
|
3569
|
+
USDC: string | number | null;
|
|
3570
|
+
USDT: string | number | null;
|
|
3571
|
+
DOT: string | number | null;
|
|
3572
|
+
} | undefined;
|
|
3372
3573
|
};
|
|
3373
3574
|
network_fee_hundredth_pips: number;
|
|
3374
3575
|
}>;
|
|
@@ -5564,8 +5765,8 @@ declare const rpcResult: {
|
|
|
5564
5765
|
};
|
|
5565
5766
|
} | null;
|
|
5566
5767
|
}>;
|
|
5567
|
-
Assethub: z.ZodObject<{
|
|
5568
|
-
DOT: z.
|
|
5768
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
5769
|
+
DOT: z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
5569
5770
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
5570
5771
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
5571
5772
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -5733,8 +5934,8 @@ declare const rpcResult: {
|
|
|
5733
5934
|
chain: "Ethereum";
|
|
5734
5935
|
asset: "USDC";
|
|
5735
5936
|
};
|
|
5736
|
-
} | null
|
|
5737
|
-
USDC: z.
|
|
5937
|
+
} | null>;
|
|
5938
|
+
USDC: z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
5738
5939
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
5739
5940
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
5740
5941
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -5902,8 +6103,8 @@ declare const rpcResult: {
|
|
|
5902
6103
|
chain: "Ethereum";
|
|
5903
6104
|
asset: "USDC";
|
|
5904
6105
|
};
|
|
5905
|
-
} | null
|
|
5906
|
-
USDT: z.
|
|
6106
|
+
} | null>;
|
|
6107
|
+
USDT: z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
5907
6108
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
5908
6109
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
5909
6110
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -6071,7 +6272,7 @@ declare const rpcResult: {
|
|
|
6071
6272
|
chain: "Ethereum";
|
|
6072
6273
|
asset: "USDC";
|
|
6073
6274
|
};
|
|
6074
|
-
} | null
|
|
6275
|
+
} | null>;
|
|
6075
6276
|
}, "strip", z.ZodTypeAny, {
|
|
6076
6277
|
USDC: {
|
|
6077
6278
|
limit_order_fee_hundredth_pips: number;
|
|
@@ -6215,7 +6416,7 @@ declare const rpcResult: {
|
|
|
6215
6416
|
};
|
|
6216
6417
|
};
|
|
6217
6418
|
}, {
|
|
6218
|
-
USDC
|
|
6419
|
+
USDC: {
|
|
6219
6420
|
limit_order_fee_hundredth_pips: number;
|
|
6220
6421
|
range_order_fee_hundredth_pips: number;
|
|
6221
6422
|
range_order_total_fees_earned: {
|
|
@@ -6238,8 +6439,8 @@ declare const rpcResult: {
|
|
|
6238
6439
|
chain: "Ethereum";
|
|
6239
6440
|
asset: "USDC";
|
|
6240
6441
|
};
|
|
6241
|
-
} | null
|
|
6242
|
-
USDT
|
|
6442
|
+
} | null;
|
|
6443
|
+
USDT: {
|
|
6243
6444
|
limit_order_fee_hundredth_pips: number;
|
|
6244
6445
|
range_order_fee_hundredth_pips: number;
|
|
6245
6446
|
range_order_total_fees_earned: {
|
|
@@ -6262,8 +6463,8 @@ declare const rpcResult: {
|
|
|
6262
6463
|
chain: "Ethereum";
|
|
6263
6464
|
asset: "USDC";
|
|
6264
6465
|
};
|
|
6265
|
-
} | null
|
|
6266
|
-
DOT
|
|
6466
|
+
} | null;
|
|
6467
|
+
DOT: {
|
|
6267
6468
|
limit_order_fee_hundredth_pips: number;
|
|
6268
6469
|
range_order_fee_hundredth_pips: number;
|
|
6269
6470
|
range_order_total_fees_earned: {
|
|
@@ -6286,8 +6487,8 @@ declare const rpcResult: {
|
|
|
6286
6487
|
chain: "Ethereum";
|
|
6287
6488
|
asset: "USDC";
|
|
6288
6489
|
};
|
|
6289
|
-
} | null
|
|
6290
|
-
}
|
|
6490
|
+
} | null;
|
|
6491
|
+
}>>;
|
|
6291
6492
|
}, "strip", z.ZodTypeAny, {
|
|
6292
6493
|
Bitcoin: {
|
|
6293
6494
|
BTC: {
|
|
@@ -7092,8 +7293,8 @@ declare const rpcResult: {
|
|
|
7092
7293
|
};
|
|
7093
7294
|
} | null;
|
|
7094
7295
|
};
|
|
7095
|
-
Assethub
|
|
7096
|
-
USDC
|
|
7296
|
+
Assethub?: {
|
|
7297
|
+
USDC: {
|
|
7097
7298
|
limit_order_fee_hundredth_pips: number;
|
|
7098
7299
|
range_order_fee_hundredth_pips: number;
|
|
7099
7300
|
range_order_total_fees_earned: {
|
|
@@ -7116,8 +7317,8 @@ declare const rpcResult: {
|
|
|
7116
7317
|
chain: "Ethereum";
|
|
7117
7318
|
asset: "USDC";
|
|
7118
7319
|
};
|
|
7119
|
-
} | null
|
|
7120
|
-
USDT
|
|
7320
|
+
} | null;
|
|
7321
|
+
USDT: {
|
|
7121
7322
|
limit_order_fee_hundredth_pips: number;
|
|
7122
7323
|
range_order_fee_hundredth_pips: number;
|
|
7123
7324
|
range_order_total_fees_earned: {
|
|
@@ -7140,8 +7341,8 @@ declare const rpcResult: {
|
|
|
7140
7341
|
chain: "Ethereum";
|
|
7141
7342
|
asset: "USDC";
|
|
7142
7343
|
};
|
|
7143
|
-
} | null
|
|
7144
|
-
DOT
|
|
7344
|
+
} | null;
|
|
7345
|
+
DOT: {
|
|
7145
7346
|
limit_order_fee_hundredth_pips: number;
|
|
7146
7347
|
range_order_fee_hundredth_pips: number;
|
|
7147
7348
|
range_order_total_fees_earned: {
|
|
@@ -7164,8 +7365,8 @@ declare const rpcResult: {
|
|
|
7164
7365
|
chain: "Ethereum";
|
|
7165
7366
|
asset: "USDC";
|
|
7166
7367
|
};
|
|
7167
|
-
} | null
|
|
7168
|
-
};
|
|
7368
|
+
} | null;
|
|
7369
|
+
} | undefined;
|
|
7169
7370
|
}>;
|
|
7170
7371
|
}, "strip", z.ZodTypeAny, {
|
|
7171
7372
|
fees: {
|
|
@@ -7974,8 +8175,8 @@ declare const rpcResult: {
|
|
|
7974
8175
|
};
|
|
7975
8176
|
} | null;
|
|
7976
8177
|
};
|
|
7977
|
-
Assethub
|
|
7978
|
-
USDC
|
|
8178
|
+
Assethub?: {
|
|
8179
|
+
USDC: {
|
|
7979
8180
|
limit_order_fee_hundredth_pips: number;
|
|
7980
8181
|
range_order_fee_hundredth_pips: number;
|
|
7981
8182
|
range_order_total_fees_earned: {
|
|
@@ -7998,8 +8199,8 @@ declare const rpcResult: {
|
|
|
7998
8199
|
chain: "Ethereum";
|
|
7999
8200
|
asset: "USDC";
|
|
8000
8201
|
};
|
|
8001
|
-
} | null
|
|
8002
|
-
USDT
|
|
8202
|
+
} | null;
|
|
8203
|
+
USDT: {
|
|
8003
8204
|
limit_order_fee_hundredth_pips: number;
|
|
8004
8205
|
range_order_fee_hundredth_pips: number;
|
|
8005
8206
|
range_order_total_fees_earned: {
|
|
@@ -8022,8 +8223,8 @@ declare const rpcResult: {
|
|
|
8022
8223
|
chain: "Ethereum";
|
|
8023
8224
|
asset: "USDC";
|
|
8024
8225
|
};
|
|
8025
|
-
} | null
|
|
8026
|
-
DOT
|
|
8226
|
+
} | null;
|
|
8227
|
+
DOT: {
|
|
8027
8228
|
limit_order_fee_hundredth_pips: number;
|
|
8028
8229
|
range_order_fee_hundredth_pips: number;
|
|
8029
8230
|
range_order_total_fees_earned: {
|
|
@@ -8046,8 +8247,8 @@ declare const rpcResult: {
|
|
|
8046
8247
|
chain: "Ethereum";
|
|
8047
8248
|
asset: "USDC";
|
|
8048
8249
|
};
|
|
8049
|
-
} | null
|
|
8050
|
-
};
|
|
8250
|
+
} | null;
|
|
8251
|
+
} | undefined;
|
|
8051
8252
|
};
|
|
8052
8253
|
}>;
|
|
8053
8254
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8850,11 +9051,11 @@ declare const rpcResult: {
|
|
|
8850
9051
|
Polkadot: {
|
|
8851
9052
|
DOT: string | number;
|
|
8852
9053
|
};
|
|
8853
|
-
Assethub
|
|
8854
|
-
USDC
|
|
8855
|
-
USDT
|
|
8856
|
-
DOT
|
|
8857
|
-
};
|
|
9054
|
+
Assethub?: {
|
|
9055
|
+
USDC: string | number;
|
|
9056
|
+
USDT: string | number;
|
|
9057
|
+
DOT: string | number;
|
|
9058
|
+
} | undefined;
|
|
8858
9059
|
};
|
|
8859
9060
|
ingress_fees: {
|
|
8860
9061
|
Bitcoin: {
|
|
@@ -8877,11 +9078,11 @@ declare const rpcResult: {
|
|
|
8877
9078
|
Polkadot: {
|
|
8878
9079
|
DOT: string | number | null;
|
|
8879
9080
|
};
|
|
8880
|
-
Assethub
|
|
8881
|
-
USDC
|
|
8882
|
-
USDT
|
|
8883
|
-
DOT
|
|
8884
|
-
};
|
|
9081
|
+
Assethub?: {
|
|
9082
|
+
USDC: string | number | null;
|
|
9083
|
+
USDT: string | number | null;
|
|
9084
|
+
DOT: string | number | null;
|
|
9085
|
+
} | undefined;
|
|
8885
9086
|
};
|
|
8886
9087
|
egress_fees: {
|
|
8887
9088
|
Bitcoin: {
|
|
@@ -8904,11 +9105,11 @@ declare const rpcResult: {
|
|
|
8904
9105
|
Polkadot: {
|
|
8905
9106
|
DOT: string | number | null;
|
|
8906
9107
|
};
|
|
8907
|
-
Assethub
|
|
8908
|
-
USDC
|
|
8909
|
-
USDT
|
|
8910
|
-
DOT
|
|
8911
|
-
};
|
|
9108
|
+
Assethub?: {
|
|
9109
|
+
USDC: string | number | null;
|
|
9110
|
+
USDT: string | number | null;
|
|
9111
|
+
DOT: string | number | null;
|
|
9112
|
+
} | undefined;
|
|
8912
9113
|
};
|
|
8913
9114
|
witness_safety_margins: {
|
|
8914
9115
|
Bitcoin: number | null;
|
|
@@ -8939,11 +9140,11 @@ declare const rpcResult: {
|
|
|
8939
9140
|
Polkadot: {
|
|
8940
9141
|
DOT: string | number;
|
|
8941
9142
|
};
|
|
8942
|
-
Assethub
|
|
8943
|
-
USDC
|
|
8944
|
-
USDT
|
|
8945
|
-
DOT
|
|
8946
|
-
};
|
|
9143
|
+
Assethub?: {
|
|
9144
|
+
USDC: string | number;
|
|
9145
|
+
USDT: string | number;
|
|
9146
|
+
DOT: string | number;
|
|
9147
|
+
} | undefined;
|
|
8947
9148
|
};
|
|
8948
9149
|
channel_opening_fees: {
|
|
8949
9150
|
Bitcoin: string | number;
|
|
@@ -8953,14 +9154,14 @@ declare const rpcResult: {
|
|
|
8953
9154
|
Polkadot: string | number;
|
|
8954
9155
|
Assethub?: string | number | undefined;
|
|
8955
9156
|
};
|
|
8956
|
-
max_swap_retry_duration_blocks
|
|
9157
|
+
max_swap_retry_duration_blocks: {
|
|
8957
9158
|
Bitcoin: number;
|
|
8958
9159
|
Ethereum: number;
|
|
8959
9160
|
Arbitrum: number;
|
|
8960
9161
|
Solana: number;
|
|
8961
9162
|
Polkadot: number;
|
|
8962
9163
|
Assethub?: number | undefined;
|
|
8963
|
-
}
|
|
9164
|
+
};
|
|
8964
9165
|
};
|
|
8965
9166
|
swapping: {
|
|
8966
9167
|
maximum_swap_amounts: {
|
|
@@ -8984,11 +9185,11 @@ declare const rpcResult: {
|
|
|
8984
9185
|
Polkadot: {
|
|
8985
9186
|
DOT: string | number | null;
|
|
8986
9187
|
};
|
|
8987
|
-
Assethub
|
|
8988
|
-
USDC
|
|
8989
|
-
USDT
|
|
8990
|
-
DOT
|
|
8991
|
-
};
|
|
9188
|
+
Assethub?: {
|
|
9189
|
+
USDC: string | number | null;
|
|
9190
|
+
USDT: string | number | null;
|
|
9191
|
+
DOT: string | number | null;
|
|
9192
|
+
} | undefined;
|
|
8992
9193
|
};
|
|
8993
9194
|
network_fee_hundredth_pips: number;
|
|
8994
9195
|
};
|
|
@@ -9224,8 +9425,8 @@ declare const rpcResult: {
|
|
|
9224
9425
|
};
|
|
9225
9426
|
} | null;
|
|
9226
9427
|
};
|
|
9227
|
-
Assethub
|
|
9228
|
-
USDC
|
|
9428
|
+
Assethub?: {
|
|
9429
|
+
USDC: {
|
|
9229
9430
|
limit_order_fee_hundredth_pips: number;
|
|
9230
9431
|
range_order_fee_hundredth_pips: number;
|
|
9231
9432
|
range_order_total_fees_earned: {
|
|
@@ -9248,8 +9449,8 @@ declare const rpcResult: {
|
|
|
9248
9449
|
chain: "Ethereum";
|
|
9249
9450
|
asset: "USDC";
|
|
9250
9451
|
};
|
|
9251
|
-
} | null
|
|
9252
|
-
USDT
|
|
9452
|
+
} | null;
|
|
9453
|
+
USDT: {
|
|
9253
9454
|
limit_order_fee_hundredth_pips: number;
|
|
9254
9455
|
range_order_fee_hundredth_pips: number;
|
|
9255
9456
|
range_order_total_fees_earned: {
|
|
@@ -9272,8 +9473,8 @@ declare const rpcResult: {
|
|
|
9272
9473
|
chain: "Ethereum";
|
|
9273
9474
|
asset: "USDC";
|
|
9274
9475
|
};
|
|
9275
|
-
} | null
|
|
9276
|
-
DOT
|
|
9476
|
+
} | null;
|
|
9477
|
+
DOT: {
|
|
9277
9478
|
limit_order_fee_hundredth_pips: number;
|
|
9278
9479
|
range_order_fee_hundredth_pips: number;
|
|
9279
9480
|
range_order_total_fees_earned: {
|
|
@@ -9296,8 +9497,8 @@ declare const rpcResult: {
|
|
|
9296
9497
|
chain: "Ethereum";
|
|
9297
9498
|
asset: "USDC";
|
|
9298
9499
|
};
|
|
9299
|
-
} | null
|
|
9300
|
-
};
|
|
9500
|
+
} | null;
|
|
9501
|
+
} | undefined;
|
|
9301
9502
|
};
|
|
9302
9503
|
};
|
|
9303
9504
|
}>;
|
|
@@ -9363,19 +9564,19 @@ declare const rpcResult: {
|
|
|
9363
9564
|
USDC: string | number;
|
|
9364
9565
|
SOL: string | number;
|
|
9365
9566
|
}>;
|
|
9366
|
-
Assethub: z.ZodObject<{
|
|
9367
|
-
DOT: z.
|
|
9368
|
-
USDC: z.
|
|
9369
|
-
USDT: z.
|
|
9567
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
9568
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
9569
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
9570
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
9370
9571
|
}, "strip", z.ZodTypeAny, {
|
|
9371
9572
|
USDC: bigint;
|
|
9372
9573
|
USDT: bigint;
|
|
9373
9574
|
DOT: bigint;
|
|
9374
9575
|
}, {
|
|
9375
|
-
USDC
|
|
9376
|
-
USDT
|
|
9377
|
-
DOT
|
|
9378
|
-
}
|
|
9576
|
+
USDC: string | number;
|
|
9577
|
+
USDT: string | number;
|
|
9578
|
+
DOT: string | number;
|
|
9579
|
+
}>>;
|
|
9379
9580
|
}, "strip", z.ZodTypeAny, {
|
|
9380
9581
|
Bitcoin: {
|
|
9381
9582
|
BTC: bigint;
|
|
@@ -9423,11 +9624,11 @@ declare const rpcResult: {
|
|
|
9423
9624
|
Polkadot: {
|
|
9424
9625
|
DOT: string | number;
|
|
9425
9626
|
};
|
|
9426
|
-
Assethub
|
|
9427
|
-
USDC
|
|
9428
|
-
USDT
|
|
9429
|
-
DOT
|
|
9430
|
-
};
|
|
9627
|
+
Assethub?: {
|
|
9628
|
+
USDC: string | number;
|
|
9629
|
+
USDT: string | number;
|
|
9630
|
+
DOT: string | number;
|
|
9631
|
+
} | undefined;
|
|
9431
9632
|
}>;
|
|
9432
9633
|
ingress_fees: z.ZodObject<{
|
|
9433
9634
|
Bitcoin: z.ZodObject<{
|
|
@@ -9480,19 +9681,19 @@ declare const rpcResult: {
|
|
|
9480
9681
|
USDC: string | number | null;
|
|
9481
9682
|
SOL: string | number | null;
|
|
9482
9683
|
}>;
|
|
9483
|
-
Assethub: z.ZodObject<{
|
|
9484
|
-
DOT: z.
|
|
9485
|
-
USDC: z.
|
|
9486
|
-
USDT: z.
|
|
9684
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
9685
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
9686
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
9687
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
9487
9688
|
}, "strip", z.ZodTypeAny, {
|
|
9488
9689
|
USDC: bigint | null;
|
|
9489
9690
|
USDT: bigint | null;
|
|
9490
9691
|
DOT: bigint | null;
|
|
9491
9692
|
}, {
|
|
9492
|
-
USDC
|
|
9493
|
-
USDT
|
|
9494
|
-
DOT
|
|
9495
|
-
}
|
|
9693
|
+
USDC: string | number | null;
|
|
9694
|
+
USDT: string | number | null;
|
|
9695
|
+
DOT: string | number | null;
|
|
9696
|
+
}>>;
|
|
9496
9697
|
}, "strip", z.ZodTypeAny, {
|
|
9497
9698
|
Bitcoin: {
|
|
9498
9699
|
BTC: bigint | null;
|
|
@@ -9540,11 +9741,11 @@ declare const rpcResult: {
|
|
|
9540
9741
|
Polkadot: {
|
|
9541
9742
|
DOT: string | number | null;
|
|
9542
9743
|
};
|
|
9543
|
-
Assethub
|
|
9544
|
-
USDC
|
|
9545
|
-
USDT
|
|
9546
|
-
DOT
|
|
9547
|
-
};
|
|
9744
|
+
Assethub?: {
|
|
9745
|
+
USDC: string | number | null;
|
|
9746
|
+
USDT: string | number | null;
|
|
9747
|
+
DOT: string | number | null;
|
|
9748
|
+
} | undefined;
|
|
9548
9749
|
}>;
|
|
9549
9750
|
egress_fees: z.ZodObject<{
|
|
9550
9751
|
Bitcoin: z.ZodObject<{
|
|
@@ -9597,19 +9798,19 @@ declare const rpcResult: {
|
|
|
9597
9798
|
USDC: string | number | null;
|
|
9598
9799
|
SOL: string | number | null;
|
|
9599
9800
|
}>;
|
|
9600
|
-
Assethub: z.ZodObject<{
|
|
9601
|
-
DOT: z.
|
|
9602
|
-
USDC: z.
|
|
9603
|
-
USDT: z.
|
|
9801
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
9802
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
9803
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
9804
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
9604
9805
|
}, "strip", z.ZodTypeAny, {
|
|
9605
9806
|
USDC: bigint | null;
|
|
9606
9807
|
USDT: bigint | null;
|
|
9607
9808
|
DOT: bigint | null;
|
|
9608
9809
|
}, {
|
|
9609
|
-
USDC
|
|
9610
|
-
USDT
|
|
9611
|
-
DOT
|
|
9612
|
-
}
|
|
9810
|
+
USDC: string | number | null;
|
|
9811
|
+
USDT: string | number | null;
|
|
9812
|
+
DOT: string | number | null;
|
|
9813
|
+
}>>;
|
|
9613
9814
|
}, "strip", z.ZodTypeAny, {
|
|
9614
9815
|
Bitcoin: {
|
|
9615
9816
|
BTC: bigint | null;
|
|
@@ -9657,11 +9858,11 @@ declare const rpcResult: {
|
|
|
9657
9858
|
Polkadot: {
|
|
9658
9859
|
DOT: string | number | null;
|
|
9659
9860
|
};
|
|
9660
|
-
Assethub
|
|
9661
|
-
USDC
|
|
9662
|
-
USDT
|
|
9663
|
-
DOT
|
|
9664
|
-
};
|
|
9861
|
+
Assethub?: {
|
|
9862
|
+
USDC: string | number | null;
|
|
9863
|
+
USDT: string | number | null;
|
|
9864
|
+
DOT: string | number | null;
|
|
9865
|
+
} | undefined;
|
|
9665
9866
|
}>;
|
|
9666
9867
|
witness_safety_margins: z.ZodObject<{
|
|
9667
9868
|
Bitcoin: z.ZodNullable<z.ZodNumber>;
|
|
@@ -9736,19 +9937,19 @@ declare const rpcResult: {
|
|
|
9736
9937
|
USDC: string | number;
|
|
9737
9938
|
SOL: string | number;
|
|
9738
9939
|
}>;
|
|
9739
|
-
Assethub: z.ZodObject<{
|
|
9740
|
-
DOT: z.
|
|
9741
|
-
USDC: z.
|
|
9742
|
-
USDT: z.
|
|
9940
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
9941
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
9942
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
9943
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
9743
9944
|
}, "strip", z.ZodTypeAny, {
|
|
9744
9945
|
USDC: bigint;
|
|
9745
9946
|
USDT: bigint;
|
|
9746
9947
|
DOT: bigint;
|
|
9747
9948
|
}, {
|
|
9748
|
-
USDC
|
|
9749
|
-
USDT
|
|
9750
|
-
DOT
|
|
9751
|
-
}
|
|
9949
|
+
USDC: string | number;
|
|
9950
|
+
USDT: string | number;
|
|
9951
|
+
DOT: string | number;
|
|
9952
|
+
}>>;
|
|
9752
9953
|
}, "strip", z.ZodTypeAny, {
|
|
9753
9954
|
Bitcoin: {
|
|
9754
9955
|
BTC: bigint;
|
|
@@ -9796,11 +9997,11 @@ declare const rpcResult: {
|
|
|
9796
9997
|
Polkadot: {
|
|
9797
9998
|
DOT: string | number;
|
|
9798
9999
|
};
|
|
9799
|
-
Assethub
|
|
9800
|
-
USDC
|
|
9801
|
-
USDT
|
|
9802
|
-
DOT
|
|
9803
|
-
};
|
|
10000
|
+
Assethub?: {
|
|
10001
|
+
USDC: string | number;
|
|
10002
|
+
USDT: string | number;
|
|
10003
|
+
DOT: string | number;
|
|
10004
|
+
} | undefined;
|
|
9804
10005
|
}>;
|
|
9805
10006
|
channel_opening_fees: z.ZodObject<{
|
|
9806
10007
|
Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
@@ -9824,7 +10025,7 @@ declare const rpcResult: {
|
|
|
9824
10025
|
Polkadot: string | number;
|
|
9825
10026
|
Assethub?: string | number | undefined;
|
|
9826
10027
|
}>;
|
|
9827
|
-
max_swap_retry_duration_blocks: z.
|
|
10028
|
+
max_swap_retry_duration_blocks: z.ZodObject<{
|
|
9828
10029
|
Bitcoin: z.ZodNumber;
|
|
9829
10030
|
Ethereum: z.ZodNumber;
|
|
9830
10031
|
Polkadot: z.ZodNumber;
|
|
@@ -9845,7 +10046,7 @@ declare const rpcResult: {
|
|
|
9845
10046
|
Solana: number;
|
|
9846
10047
|
Polkadot: number;
|
|
9847
10048
|
Assethub?: number | undefined;
|
|
9848
|
-
}
|
|
10049
|
+
}>;
|
|
9849
10050
|
}, "strip", z.ZodTypeAny, {
|
|
9850
10051
|
minimum_deposit_amounts: {
|
|
9851
10052
|
Bitcoin: {
|
|
@@ -10001,13 +10202,13 @@ declare const rpcResult: {
|
|
|
10001
10202
|
Polkadot: {
|
|
10002
10203
|
DOT: string | number;
|
|
10003
10204
|
};
|
|
10004
|
-
Assethub
|
|
10005
|
-
USDC
|
|
10006
|
-
USDT
|
|
10007
|
-
DOT
|
|
10008
|
-
};
|
|
10009
|
-
};
|
|
10010
|
-
ingress_fees: {
|
|
10205
|
+
Assethub?: {
|
|
10206
|
+
USDC: string | number;
|
|
10207
|
+
USDT: string | number;
|
|
10208
|
+
DOT: string | number;
|
|
10209
|
+
} | undefined;
|
|
10210
|
+
};
|
|
10211
|
+
ingress_fees: {
|
|
10011
10212
|
Bitcoin: {
|
|
10012
10213
|
BTC: string | number | null;
|
|
10013
10214
|
};
|
|
@@ -10028,11 +10229,11 @@ declare const rpcResult: {
|
|
|
10028
10229
|
Polkadot: {
|
|
10029
10230
|
DOT: string | number | null;
|
|
10030
10231
|
};
|
|
10031
|
-
Assethub
|
|
10032
|
-
USDC
|
|
10033
|
-
USDT
|
|
10034
|
-
DOT
|
|
10035
|
-
};
|
|
10232
|
+
Assethub?: {
|
|
10233
|
+
USDC: string | number | null;
|
|
10234
|
+
USDT: string | number | null;
|
|
10235
|
+
DOT: string | number | null;
|
|
10236
|
+
} | undefined;
|
|
10036
10237
|
};
|
|
10037
10238
|
egress_fees: {
|
|
10038
10239
|
Bitcoin: {
|
|
@@ -10055,11 +10256,11 @@ declare const rpcResult: {
|
|
|
10055
10256
|
Polkadot: {
|
|
10056
10257
|
DOT: string | number | null;
|
|
10057
10258
|
};
|
|
10058
|
-
Assethub
|
|
10059
|
-
USDC
|
|
10060
|
-
USDT
|
|
10061
|
-
DOT
|
|
10062
|
-
};
|
|
10259
|
+
Assethub?: {
|
|
10260
|
+
USDC: string | number | null;
|
|
10261
|
+
USDT: string | number | null;
|
|
10262
|
+
DOT: string | number | null;
|
|
10263
|
+
} | undefined;
|
|
10063
10264
|
};
|
|
10064
10265
|
witness_safety_margins: {
|
|
10065
10266
|
Bitcoin: number | null;
|
|
@@ -10090,11 +10291,11 @@ declare const rpcResult: {
|
|
|
10090
10291
|
Polkadot: {
|
|
10091
10292
|
DOT: string | number;
|
|
10092
10293
|
};
|
|
10093
|
-
Assethub
|
|
10094
|
-
USDC
|
|
10095
|
-
USDT
|
|
10096
|
-
DOT
|
|
10097
|
-
};
|
|
10294
|
+
Assethub?: {
|
|
10295
|
+
USDC: string | number;
|
|
10296
|
+
USDT: string | number;
|
|
10297
|
+
DOT: string | number;
|
|
10298
|
+
} | undefined;
|
|
10098
10299
|
};
|
|
10099
10300
|
channel_opening_fees: {
|
|
10100
10301
|
Bitcoin: string | number;
|
|
@@ -10104,14 +10305,14 @@ declare const rpcResult: {
|
|
|
10104
10305
|
Polkadot: string | number;
|
|
10105
10306
|
Assethub?: string | number | undefined;
|
|
10106
10307
|
};
|
|
10107
|
-
max_swap_retry_duration_blocks
|
|
10308
|
+
max_swap_retry_duration_blocks: {
|
|
10108
10309
|
Bitcoin: number;
|
|
10109
10310
|
Ethereum: number;
|
|
10110
10311
|
Arbitrum: number;
|
|
10111
10312
|
Solana: number;
|
|
10112
10313
|
Polkadot: number;
|
|
10113
10314
|
Assethub?: number | undefined;
|
|
10114
|
-
}
|
|
10315
|
+
};
|
|
10115
10316
|
}>, Omit<{
|
|
10116
10317
|
minimum_deposit_amounts: {
|
|
10117
10318
|
Bitcoin: {
|
|
@@ -10295,11 +10496,11 @@ declare const rpcResult: {
|
|
|
10295
10496
|
Polkadot: {
|
|
10296
10497
|
DOT: string | number;
|
|
10297
10498
|
};
|
|
10298
|
-
Assethub
|
|
10299
|
-
USDC
|
|
10300
|
-
USDT
|
|
10301
|
-
DOT
|
|
10302
|
-
};
|
|
10499
|
+
Assethub?: {
|
|
10500
|
+
USDC: string | number;
|
|
10501
|
+
USDT: string | number;
|
|
10502
|
+
DOT: string | number;
|
|
10503
|
+
} | undefined;
|
|
10303
10504
|
};
|
|
10304
10505
|
ingress_fees: {
|
|
10305
10506
|
Bitcoin: {
|
|
@@ -10322,11 +10523,11 @@ declare const rpcResult: {
|
|
|
10322
10523
|
Polkadot: {
|
|
10323
10524
|
DOT: string | number | null;
|
|
10324
10525
|
};
|
|
10325
|
-
Assethub
|
|
10326
|
-
USDC
|
|
10327
|
-
USDT
|
|
10328
|
-
DOT
|
|
10329
|
-
};
|
|
10526
|
+
Assethub?: {
|
|
10527
|
+
USDC: string | number | null;
|
|
10528
|
+
USDT: string | number | null;
|
|
10529
|
+
DOT: string | number | null;
|
|
10530
|
+
} | undefined;
|
|
10330
10531
|
};
|
|
10331
10532
|
egress_fees: {
|
|
10332
10533
|
Bitcoin: {
|
|
@@ -10349,11 +10550,11 @@ declare const rpcResult: {
|
|
|
10349
10550
|
Polkadot: {
|
|
10350
10551
|
DOT: string | number | null;
|
|
10351
10552
|
};
|
|
10352
|
-
Assethub
|
|
10353
|
-
USDC
|
|
10354
|
-
USDT
|
|
10355
|
-
DOT
|
|
10356
|
-
};
|
|
10553
|
+
Assethub?: {
|
|
10554
|
+
USDC: string | number | null;
|
|
10555
|
+
USDT: string | number | null;
|
|
10556
|
+
DOT: string | number | null;
|
|
10557
|
+
} | undefined;
|
|
10357
10558
|
};
|
|
10358
10559
|
witness_safety_margins: {
|
|
10359
10560
|
Bitcoin: number | null;
|
|
@@ -10384,11 +10585,11 @@ declare const rpcResult: {
|
|
|
10384
10585
|
Polkadot: {
|
|
10385
10586
|
DOT: string | number;
|
|
10386
10587
|
};
|
|
10387
|
-
Assethub
|
|
10388
|
-
USDC
|
|
10389
|
-
USDT
|
|
10390
|
-
DOT
|
|
10391
|
-
};
|
|
10588
|
+
Assethub?: {
|
|
10589
|
+
USDC: string | number;
|
|
10590
|
+
USDT: string | number;
|
|
10591
|
+
DOT: string | number;
|
|
10592
|
+
} | undefined;
|
|
10392
10593
|
};
|
|
10393
10594
|
channel_opening_fees: {
|
|
10394
10595
|
Bitcoin: string | number;
|
|
@@ -10398,14 +10599,14 @@ declare const rpcResult: {
|
|
|
10398
10599
|
Polkadot: string | number;
|
|
10399
10600
|
Assethub?: string | number | undefined;
|
|
10400
10601
|
};
|
|
10401
|
-
max_swap_retry_duration_blocks
|
|
10602
|
+
max_swap_retry_duration_blocks: {
|
|
10402
10603
|
Bitcoin: number;
|
|
10403
10604
|
Ethereum: number;
|
|
10404
10605
|
Arbitrum: number;
|
|
10405
10606
|
Solana: number;
|
|
10406
10607
|
Polkadot: number;
|
|
10407
10608
|
Assethub?: number | undefined;
|
|
10408
|
-
}
|
|
10609
|
+
};
|
|
10409
10610
|
}>;
|
|
10410
10611
|
readonly cf_pool_orders: z.ZodObject<{
|
|
10411
10612
|
limit_orders: z.ZodObject<{
|
|
@@ -13253,8 +13454,8 @@ declare const rpcResult: {
|
|
|
13253
13454
|
};
|
|
13254
13455
|
} | null;
|
|
13255
13456
|
}>;
|
|
13256
|
-
Assethub: z.ZodObject<{
|
|
13257
|
-
DOT: z.
|
|
13457
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
13458
|
+
DOT: z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
13258
13459
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
13259
13460
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
13260
13461
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -13422,8 +13623,8 @@ declare const rpcResult: {
|
|
|
13422
13623
|
chain: "Ethereum";
|
|
13423
13624
|
asset: "USDC";
|
|
13424
13625
|
};
|
|
13425
|
-
} | null
|
|
13426
|
-
USDC: z.
|
|
13626
|
+
} | null>;
|
|
13627
|
+
USDC: z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
13427
13628
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
13428
13629
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
13429
13630
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -13591,8 +13792,8 @@ declare const rpcResult: {
|
|
|
13591
13792
|
chain: "Ethereum";
|
|
13592
13793
|
asset: "USDC";
|
|
13593
13794
|
};
|
|
13594
|
-
} | null
|
|
13595
|
-
USDT: z.
|
|
13795
|
+
} | null>;
|
|
13796
|
+
USDT: z.ZodEffects<z.ZodNullable<z.ZodObject<{
|
|
13596
13797
|
limit_order_fee_hundredth_pips: z.ZodNumber;
|
|
13597
13798
|
range_order_fee_hundredth_pips: z.ZodNumber;
|
|
13598
13799
|
range_order_total_fees_earned: z.ZodObject<{
|
|
@@ -13760,7 +13961,7 @@ declare const rpcResult: {
|
|
|
13760
13961
|
chain: "Ethereum";
|
|
13761
13962
|
asset: "USDC";
|
|
13762
13963
|
};
|
|
13763
|
-
} | null
|
|
13964
|
+
} | null>;
|
|
13764
13965
|
}, "strip", z.ZodTypeAny, {
|
|
13765
13966
|
USDC: {
|
|
13766
13967
|
limit_order_fee_hundredth_pips: number;
|
|
@@ -13904,7 +14105,7 @@ declare const rpcResult: {
|
|
|
13904
14105
|
};
|
|
13905
14106
|
};
|
|
13906
14107
|
}, {
|
|
13907
|
-
USDC
|
|
14108
|
+
USDC: {
|
|
13908
14109
|
limit_order_fee_hundredth_pips: number;
|
|
13909
14110
|
range_order_fee_hundredth_pips: number;
|
|
13910
14111
|
range_order_total_fees_earned: {
|
|
@@ -13927,8 +14128,8 @@ declare const rpcResult: {
|
|
|
13927
14128
|
chain: "Ethereum";
|
|
13928
14129
|
asset: "USDC";
|
|
13929
14130
|
};
|
|
13930
|
-
} | null
|
|
13931
|
-
USDT
|
|
14131
|
+
} | null;
|
|
14132
|
+
USDT: {
|
|
13932
14133
|
limit_order_fee_hundredth_pips: number;
|
|
13933
14134
|
range_order_fee_hundredth_pips: number;
|
|
13934
14135
|
range_order_total_fees_earned: {
|
|
@@ -13951,8 +14152,8 @@ declare const rpcResult: {
|
|
|
13951
14152
|
chain: "Ethereum";
|
|
13952
14153
|
asset: "USDC";
|
|
13953
14154
|
};
|
|
13954
|
-
} | null
|
|
13955
|
-
DOT
|
|
14155
|
+
} | null;
|
|
14156
|
+
DOT: {
|
|
13956
14157
|
limit_order_fee_hundredth_pips: number;
|
|
13957
14158
|
range_order_fee_hundredth_pips: number;
|
|
13958
14159
|
range_order_total_fees_earned: {
|
|
@@ -13975,8 +14176,8 @@ declare const rpcResult: {
|
|
|
13975
14176
|
chain: "Ethereum";
|
|
13976
14177
|
asset: "USDC";
|
|
13977
14178
|
};
|
|
13978
|
-
} | null
|
|
13979
|
-
}
|
|
14179
|
+
} | null;
|
|
14180
|
+
}>>;
|
|
13980
14181
|
}, "strip", z.ZodTypeAny, {
|
|
13981
14182
|
Bitcoin: {
|
|
13982
14183
|
BTC: {
|
|
@@ -14781,8 +14982,8 @@ declare const rpcResult: {
|
|
|
14781
14982
|
};
|
|
14782
14983
|
} | null;
|
|
14783
14984
|
};
|
|
14784
|
-
Assethub
|
|
14785
|
-
USDC
|
|
14985
|
+
Assethub?: {
|
|
14986
|
+
USDC: {
|
|
14786
14987
|
limit_order_fee_hundredth_pips: number;
|
|
14787
14988
|
range_order_fee_hundredth_pips: number;
|
|
14788
14989
|
range_order_total_fees_earned: {
|
|
@@ -14805,8 +15006,8 @@ declare const rpcResult: {
|
|
|
14805
15006
|
chain: "Ethereum";
|
|
14806
15007
|
asset: "USDC";
|
|
14807
15008
|
};
|
|
14808
|
-
} | null
|
|
14809
|
-
USDT
|
|
15009
|
+
} | null;
|
|
15010
|
+
USDT: {
|
|
14810
15011
|
limit_order_fee_hundredth_pips: number;
|
|
14811
15012
|
range_order_fee_hundredth_pips: number;
|
|
14812
15013
|
range_order_total_fees_earned: {
|
|
@@ -14829,8 +15030,8 @@ declare const rpcResult: {
|
|
|
14829
15030
|
chain: "Ethereum";
|
|
14830
15031
|
asset: "USDC";
|
|
14831
15032
|
};
|
|
14832
|
-
} | null
|
|
14833
|
-
DOT
|
|
15033
|
+
} | null;
|
|
15034
|
+
DOT: {
|
|
14834
15035
|
limit_order_fee_hundredth_pips: number;
|
|
14835
15036
|
range_order_fee_hundredth_pips: number;
|
|
14836
15037
|
range_order_total_fees_earned: {
|
|
@@ -14853,8 +15054,8 @@ declare const rpcResult: {
|
|
|
14853
15054
|
chain: "Ethereum";
|
|
14854
15055
|
asset: "USDC";
|
|
14855
15056
|
};
|
|
14856
|
-
} | null
|
|
14857
|
-
};
|
|
15057
|
+
} | null;
|
|
15058
|
+
} | undefined;
|
|
14858
15059
|
}>;
|
|
14859
15060
|
}, "strip", z.ZodTypeAny, {
|
|
14860
15061
|
fees: {
|
|
@@ -15663,8 +15864,8 @@ declare const rpcResult: {
|
|
|
15663
15864
|
};
|
|
15664
15865
|
} | null;
|
|
15665
15866
|
};
|
|
15666
|
-
Assethub
|
|
15667
|
-
USDC
|
|
15867
|
+
Assethub?: {
|
|
15868
|
+
USDC: {
|
|
15668
15869
|
limit_order_fee_hundredth_pips: number;
|
|
15669
15870
|
range_order_fee_hundredth_pips: number;
|
|
15670
15871
|
range_order_total_fees_earned: {
|
|
@@ -15687,8 +15888,8 @@ declare const rpcResult: {
|
|
|
15687
15888
|
chain: "Ethereum";
|
|
15688
15889
|
asset: "USDC";
|
|
15689
15890
|
};
|
|
15690
|
-
} | null
|
|
15691
|
-
USDT
|
|
15891
|
+
} | null;
|
|
15892
|
+
USDT: {
|
|
15692
15893
|
limit_order_fee_hundredth_pips: number;
|
|
15693
15894
|
range_order_fee_hundredth_pips: number;
|
|
15694
15895
|
range_order_total_fees_earned: {
|
|
@@ -15711,8 +15912,8 @@ declare const rpcResult: {
|
|
|
15711
15912
|
chain: "Ethereum";
|
|
15712
15913
|
asset: "USDC";
|
|
15713
15914
|
};
|
|
15714
|
-
} | null
|
|
15715
|
-
DOT
|
|
15915
|
+
} | null;
|
|
15916
|
+
DOT: {
|
|
15716
15917
|
limit_order_fee_hundredth_pips: number;
|
|
15717
15918
|
range_order_fee_hundredth_pips: number;
|
|
15718
15919
|
range_order_total_fees_earned: {
|
|
@@ -15735,8 +15936,8 @@ declare const rpcResult: {
|
|
|
15735
15936
|
chain: "Ethereum";
|
|
15736
15937
|
asset: "USDC";
|
|
15737
15938
|
};
|
|
15738
|
-
} | null
|
|
15739
|
-
};
|
|
15939
|
+
} | null;
|
|
15940
|
+
} | undefined;
|
|
15740
15941
|
};
|
|
15741
15942
|
}>;
|
|
15742
15943
|
readonly cf_supported_assets: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
@@ -17330,19 +17531,19 @@ declare const rpcResult: {
|
|
|
17330
17531
|
USDC: string | number | null;
|
|
17331
17532
|
SOL: string | number | null;
|
|
17332
17533
|
}>;
|
|
17333
|
-
Assethub: z.ZodObject<{
|
|
17334
|
-
DOT: z.
|
|
17335
|
-
USDC: z.
|
|
17336
|
-
USDT: z.
|
|
17534
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
17535
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17536
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17537
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17337
17538
|
}, "strip", z.ZodTypeAny, {
|
|
17338
17539
|
USDC: bigint | null;
|
|
17339
17540
|
USDT: bigint | null;
|
|
17340
17541
|
DOT: bigint | null;
|
|
17341
17542
|
}, {
|
|
17342
|
-
USDC
|
|
17343
|
-
USDT
|
|
17344
|
-
DOT
|
|
17345
|
-
}
|
|
17543
|
+
USDC: string | number | null;
|
|
17544
|
+
USDT: string | number | null;
|
|
17545
|
+
DOT: string | number | null;
|
|
17546
|
+
}>>;
|
|
17346
17547
|
}, "strip", z.ZodTypeAny, {
|
|
17347
17548
|
Bitcoin: {
|
|
17348
17549
|
BTC: bigint | null;
|
|
@@ -17390,11 +17591,11 @@ declare const rpcResult: {
|
|
|
17390
17591
|
Polkadot: {
|
|
17391
17592
|
DOT: string | number | null;
|
|
17392
17593
|
};
|
|
17393
|
-
Assethub
|
|
17394
|
-
USDC
|
|
17395
|
-
USDT
|
|
17396
|
-
DOT
|
|
17397
|
-
};
|
|
17594
|
+
Assethub?: {
|
|
17595
|
+
USDC: string | number | null;
|
|
17596
|
+
USDT: string | number | null;
|
|
17597
|
+
DOT: string | number | null;
|
|
17598
|
+
} | undefined;
|
|
17398
17599
|
}>;
|
|
17399
17600
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
17400
17601
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -17448,11 +17649,11 @@ declare const rpcResult: {
|
|
|
17448
17649
|
Polkadot: {
|
|
17449
17650
|
DOT: string | number | null;
|
|
17450
17651
|
};
|
|
17451
|
-
Assethub
|
|
17452
|
-
USDC
|
|
17453
|
-
USDT
|
|
17454
|
-
DOT
|
|
17455
|
-
};
|
|
17652
|
+
Assethub?: {
|
|
17653
|
+
USDC: string | number | null;
|
|
17654
|
+
USDT: string | number | null;
|
|
17655
|
+
DOT: string | number | null;
|
|
17656
|
+
} | undefined;
|
|
17456
17657
|
};
|
|
17457
17658
|
network_fee_hundredth_pips: number;
|
|
17458
17659
|
}>;
|
|
@@ -17580,59 +17781,59 @@ declare const rpcResult: {
|
|
|
17580
17781
|
account_id: z.ZodString;
|
|
17581
17782
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
17582
17783
|
}, "strip", z.ZodTypeAny, {
|
|
17583
|
-
amount: bigint;
|
|
17584
17784
|
account_id: string;
|
|
17785
|
+
amount: bigint;
|
|
17585
17786
|
}, {
|
|
17586
|
-
amount: string;
|
|
17587
17787
|
account_id: string;
|
|
17788
|
+
amount: string;
|
|
17588
17789
|
}>, "many">;
|
|
17589
17790
|
deposits_pending_finalization: z.ZodArray<z.ZodObject<{
|
|
17590
|
-
deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
|
|
17791
|
+
deposit_id: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
17591
17792
|
owed_amounts: z.ZodArray<z.ZodObject<{
|
|
17592
17793
|
account_id: z.ZodString;
|
|
17593
17794
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
17594
17795
|
}, "strip", z.ZodTypeAny, {
|
|
17595
|
-
amount: bigint;
|
|
17596
17796
|
account_id: string;
|
|
17797
|
+
amount: bigint;
|
|
17597
17798
|
}, {
|
|
17598
|
-
amount: string;
|
|
17599
17799
|
account_id: string;
|
|
17800
|
+
amount: string;
|
|
17600
17801
|
}>, "many">;
|
|
17601
17802
|
}, "strip", z.ZodTypeAny, {
|
|
17602
17803
|
deposit_id: bigint;
|
|
17603
17804
|
owed_amounts: {
|
|
17604
|
-
amount: bigint;
|
|
17605
17805
|
account_id: string;
|
|
17806
|
+
amount: bigint;
|
|
17606
17807
|
}[];
|
|
17607
17808
|
}, {
|
|
17608
|
-
deposit_id: number;
|
|
17809
|
+
deposit_id: string | number;
|
|
17609
17810
|
owed_amounts: {
|
|
17610
|
-
amount: string;
|
|
17611
17811
|
account_id: string;
|
|
17812
|
+
amount: string;
|
|
17612
17813
|
}[];
|
|
17613
17814
|
}>, "many">;
|
|
17614
17815
|
pending_withdrawals: z.ZodArray<z.ZodObject<{
|
|
17615
17816
|
account_id: z.ZodString;
|
|
17616
|
-
pending_deposits: z.ZodArray<z.
|
|
17817
|
+
pending_deposits: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>, "many">;
|
|
17617
17818
|
}, "strip", z.ZodTypeAny, {
|
|
17618
17819
|
account_id: string;
|
|
17619
17820
|
pending_deposits: bigint[];
|
|
17620
17821
|
}, {
|
|
17621
17822
|
account_id: string;
|
|
17622
|
-
pending_deposits:
|
|
17823
|
+
pending_deposits: (string | number)[];
|
|
17623
17824
|
}>, "many">;
|
|
17624
17825
|
network_fee_deduction_percent: z.ZodOptional<z.ZodNumber>;
|
|
17625
17826
|
}, "strip", z.ZodTypeAny, {
|
|
17626
17827
|
fee_tier: number;
|
|
17627
17828
|
available_amounts: {
|
|
17628
|
-
amount: bigint;
|
|
17629
17829
|
account_id: string;
|
|
17830
|
+
amount: bigint;
|
|
17630
17831
|
}[];
|
|
17631
17832
|
deposits_pending_finalization: {
|
|
17632
17833
|
deposit_id: bigint;
|
|
17633
17834
|
owed_amounts: {
|
|
17634
|
-
amount: bigint;
|
|
17635
17835
|
account_id: string;
|
|
17836
|
+
amount: bigint;
|
|
17636
17837
|
}[];
|
|
17637
17838
|
}[];
|
|
17638
17839
|
pending_withdrawals: {
|
|
@@ -17643,19 +17844,19 @@ declare const rpcResult: {
|
|
|
17643
17844
|
}, {
|
|
17644
17845
|
fee_tier: number;
|
|
17645
17846
|
available_amounts: {
|
|
17646
|
-
amount: string;
|
|
17647
17847
|
account_id: string;
|
|
17848
|
+
amount: string;
|
|
17648
17849
|
}[];
|
|
17649
17850
|
deposits_pending_finalization: {
|
|
17650
|
-
deposit_id: number;
|
|
17851
|
+
deposit_id: string | number;
|
|
17651
17852
|
owed_amounts: {
|
|
17652
|
-
amount: string;
|
|
17653
17853
|
account_id: string;
|
|
17854
|
+
amount: string;
|
|
17654
17855
|
}[];
|
|
17655
17856
|
}[];
|
|
17656
17857
|
pending_withdrawals: {
|
|
17657
17858
|
account_id: string;
|
|
17658
|
-
pending_deposits:
|
|
17859
|
+
pending_deposits: (string | number)[];
|
|
17659
17860
|
}[];
|
|
17660
17861
|
network_fee_deduction_percent?: number | undefined;
|
|
17661
17862
|
}>>, "many">;
|
|
@@ -17784,22 +17985,22 @@ declare const rpcResult: {
|
|
|
17784
17985
|
account_id: z.ZodString;
|
|
17785
17986
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
17786
17987
|
}, "strip", z.ZodTypeAny, {
|
|
17787
|
-
amount: bigint;
|
|
17788
17988
|
account_id: string;
|
|
17989
|
+
amount: bigint;
|
|
17789
17990
|
}, {
|
|
17790
|
-
amount: string;
|
|
17791
17991
|
account_id: string;
|
|
17992
|
+
amount: string;
|
|
17792
17993
|
}>, "many">;
|
|
17793
17994
|
}, "strip", z.ZodTypeAny, {
|
|
17794
17995
|
fees: {
|
|
17795
|
-
amount: bigint;
|
|
17796
17996
|
account_id: string;
|
|
17997
|
+
amount: bigint;
|
|
17797
17998
|
}[];
|
|
17798
17999
|
deposit_id: bigint;
|
|
17799
18000
|
}, {
|
|
17800
18001
|
fees: {
|
|
17801
|
-
amount: string;
|
|
17802
18002
|
account_id: string;
|
|
18003
|
+
amount: string;
|
|
17803
18004
|
}[];
|
|
17804
18005
|
deposit_id: number;
|
|
17805
18006
|
}>, "many">;
|
|
@@ -17807,8 +18008,8 @@ declare const rpcResult: {
|
|
|
17807
18008
|
fee_tier: number;
|
|
17808
18009
|
pending_fees: {
|
|
17809
18010
|
fees: {
|
|
17810
|
-
amount: bigint;
|
|
17811
18011
|
account_id: string;
|
|
18012
|
+
amount: bigint;
|
|
17812
18013
|
}[];
|
|
17813
18014
|
deposit_id: bigint;
|
|
17814
18015
|
}[];
|
|
@@ -17816,8 +18017,8 @@ declare const rpcResult: {
|
|
|
17816
18017
|
fee_tier: number;
|
|
17817
18018
|
pending_fees: {
|
|
17818
18019
|
fees: {
|
|
17819
|
-
amount: string;
|
|
17820
18020
|
account_id: string;
|
|
18021
|
+
amount: string;
|
|
17821
18022
|
}[];
|
|
17822
18023
|
deposit_id: number;
|
|
17823
18024
|
}[];
|
|
@@ -17902,19 +18103,19 @@ declare const rpcResult: {
|
|
|
17902
18103
|
USDC: string | number;
|
|
17903
18104
|
SOL: string | number;
|
|
17904
18105
|
}>;
|
|
17905
|
-
Assethub: z.ZodObject<{
|
|
17906
|
-
DOT: z.
|
|
17907
|
-
USDC: z.
|
|
17908
|
-
USDT: z.
|
|
18106
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
18107
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
18108
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
18109
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
17909
18110
|
}, "strip", z.ZodTypeAny, {
|
|
17910
18111
|
USDC: bigint;
|
|
17911
18112
|
USDT: bigint;
|
|
17912
18113
|
DOT: bigint;
|
|
17913
18114
|
}, {
|
|
17914
|
-
USDC
|
|
17915
|
-
USDT
|
|
17916
|
-
DOT
|
|
17917
|
-
}
|
|
18115
|
+
USDC: string | number;
|
|
18116
|
+
USDT: string | number;
|
|
18117
|
+
DOT: string | number;
|
|
18118
|
+
}>>;
|
|
17918
18119
|
}, "strip", z.ZodTypeAny, {
|
|
17919
18120
|
Bitcoin: {
|
|
17920
18121
|
BTC: bigint;
|
|
@@ -17962,12 +18163,711 @@ declare const rpcResult: {
|
|
|
17962
18163
|
Polkadot: {
|
|
17963
18164
|
DOT: string | number;
|
|
17964
18165
|
};
|
|
17965
|
-
Assethub
|
|
17966
|
-
USDC
|
|
17967
|
-
USDT
|
|
17968
|
-
DOT
|
|
17969
|
-
};
|
|
18166
|
+
Assethub?: {
|
|
18167
|
+
USDC: string | number;
|
|
18168
|
+
USDT: string | number;
|
|
18169
|
+
DOT: string | number;
|
|
18170
|
+
} | undefined;
|
|
18171
|
+
}>;
|
|
18172
|
+
readonly cf_failed_call_ethereum: z.ZodNullable<z.ZodObject<{
|
|
18173
|
+
contract: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
18174
|
+
data: z.ZodString;
|
|
18175
|
+
}, "strip", z.ZodTypeAny, {
|
|
18176
|
+
data: string;
|
|
18177
|
+
contract: `0x${string}`;
|
|
18178
|
+
}, {
|
|
18179
|
+
data: string;
|
|
18180
|
+
contract: string;
|
|
18181
|
+
}>>;
|
|
18182
|
+
readonly cf_failed_call_arbitrum: z.ZodNullable<z.ZodObject<{
|
|
18183
|
+
contract: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
18184
|
+
data: z.ZodString;
|
|
18185
|
+
}, "strip", z.ZodTypeAny, {
|
|
18186
|
+
data: string;
|
|
18187
|
+
contract: `0x${string}`;
|
|
18188
|
+
}, {
|
|
18189
|
+
data: string;
|
|
18190
|
+
contract: string;
|
|
18191
|
+
}>>;
|
|
18192
|
+
readonly cf_authority_emission_per_block: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
18193
|
+
readonly cf_epoch_duration: z.ZodNumber;
|
|
18194
|
+
readonly cf_auction_state: z.ZodEffects<z.ZodObject<{
|
|
18195
|
+
epoch_duration: z.ZodNumber;
|
|
18196
|
+
current_epoch_started_at: z.ZodNumber;
|
|
18197
|
+
redemption_period_as_percentage: z.ZodNumber;
|
|
18198
|
+
min_funding: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
18199
|
+
auction_size_range: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
|
|
18200
|
+
min_active_bid: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
18201
|
+
}, "strip", z.ZodTypeAny, {
|
|
18202
|
+
epoch_duration: number;
|
|
18203
|
+
current_epoch_started_at: number;
|
|
18204
|
+
redemption_period_as_percentage: number;
|
|
18205
|
+
min_funding: bigint;
|
|
18206
|
+
auction_size_range: [number, number];
|
|
18207
|
+
min_active_bid: bigint;
|
|
18208
|
+
}, {
|
|
18209
|
+
epoch_duration: number;
|
|
18210
|
+
current_epoch_started_at: number;
|
|
18211
|
+
redemption_period_as_percentage: number;
|
|
18212
|
+
min_funding: string | number;
|
|
18213
|
+
auction_size_range: [number, number];
|
|
18214
|
+
min_active_bid: string | number;
|
|
18215
|
+
}>, Omit<{
|
|
18216
|
+
epoch_duration: number;
|
|
18217
|
+
current_epoch_started_at: number;
|
|
18218
|
+
redemption_period_as_percentage: number;
|
|
18219
|
+
min_funding: bigint;
|
|
18220
|
+
auction_size_range: [number, number];
|
|
18221
|
+
min_active_bid: bigint;
|
|
18222
|
+
}, "epoch_duration"> & {
|
|
18223
|
+
readonly epoch_duration_blocks: number;
|
|
18224
|
+
}, {
|
|
18225
|
+
epoch_duration: number;
|
|
18226
|
+
current_epoch_started_at: number;
|
|
18227
|
+
redemption_period_as_percentage: number;
|
|
18228
|
+
min_funding: string | number;
|
|
18229
|
+
auction_size_range: [number, number];
|
|
18230
|
+
min_active_bid: string | number;
|
|
17970
18231
|
}>;
|
|
18232
|
+
readonly cf_flip_supply: z.ZodEffects<z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>], null>, {
|
|
18233
|
+
totalIssuance: bigint;
|
|
18234
|
+
offchainFunds: bigint;
|
|
18235
|
+
}, [string | number, string | number]>;
|
|
18236
|
+
readonly cf_eth_state_chain_gateway_address: z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
18237
|
+
readonly cf_eth_key_manager_address: z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
|
|
18238
|
+
readonly cf_pool_orderbook: z.ZodObject<{
|
|
18239
|
+
bids: z.ZodArray<z.ZodObject<{
|
|
18240
|
+
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
18241
|
+
sqrt_price: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
18242
|
+
}, "strip", z.ZodTypeAny, {
|
|
18243
|
+
amount: bigint;
|
|
18244
|
+
sqrt_price: bigint;
|
|
18245
|
+
}, {
|
|
18246
|
+
amount: string;
|
|
18247
|
+
sqrt_price: string;
|
|
18248
|
+
}>, "many">;
|
|
18249
|
+
asks: z.ZodArray<z.ZodObject<{
|
|
18250
|
+
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
18251
|
+
sqrt_price: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
18252
|
+
}, "strip", z.ZodTypeAny, {
|
|
18253
|
+
amount: bigint;
|
|
18254
|
+
sqrt_price: bigint;
|
|
18255
|
+
}, {
|
|
18256
|
+
amount: string;
|
|
18257
|
+
sqrt_price: string;
|
|
18258
|
+
}>, "many">;
|
|
18259
|
+
}, "strip", z.ZodTypeAny, {
|
|
18260
|
+
asks: {
|
|
18261
|
+
amount: bigint;
|
|
18262
|
+
sqrt_price: bigint;
|
|
18263
|
+
}[];
|
|
18264
|
+
bids: {
|
|
18265
|
+
amount: bigint;
|
|
18266
|
+
sqrt_price: bigint;
|
|
18267
|
+
}[];
|
|
18268
|
+
}, {
|
|
18269
|
+
asks: {
|
|
18270
|
+
amount: string;
|
|
18271
|
+
sqrt_price: string;
|
|
18272
|
+
}[];
|
|
18273
|
+
bids: {
|
|
18274
|
+
amount: string;
|
|
18275
|
+
sqrt_price: string;
|
|
18276
|
+
}[];
|
|
18277
|
+
}>;
|
|
18278
|
+
readonly cf_get_trading_strategies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
18279
|
+
lp_id: z.ZodString;
|
|
18280
|
+
strategy_id: z.ZodString;
|
|
18281
|
+
strategy: z.ZodObject<{
|
|
18282
|
+
TickZeroCentered: z.ZodObject<{
|
|
18283
|
+
spread_tick: z.ZodNumber;
|
|
18284
|
+
base_asset: z.ZodUnion<[z.ZodObject<{
|
|
18285
|
+
chain: z.ZodLiteral<"Bitcoin">;
|
|
18286
|
+
asset: z.ZodLiteral<"BTC">;
|
|
18287
|
+
}, "strip", z.ZodTypeAny, {
|
|
18288
|
+
chain: "Bitcoin";
|
|
18289
|
+
asset: "BTC";
|
|
18290
|
+
}, {
|
|
18291
|
+
chain: "Bitcoin";
|
|
18292
|
+
asset: "BTC";
|
|
18293
|
+
}>, z.ZodObject<{
|
|
18294
|
+
chain: z.ZodLiteral<"Polkadot">;
|
|
18295
|
+
asset: z.ZodLiteral<"DOT">;
|
|
18296
|
+
}, "strip", z.ZodTypeAny, {
|
|
18297
|
+
chain: "Polkadot";
|
|
18298
|
+
asset: "DOT";
|
|
18299
|
+
}, {
|
|
18300
|
+
chain: "Polkadot";
|
|
18301
|
+
asset: "DOT";
|
|
18302
|
+
}>, z.ZodObject<{
|
|
18303
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
18304
|
+
asset: z.ZodLiteral<"FLIP">;
|
|
18305
|
+
}, "strip", z.ZodTypeAny, {
|
|
18306
|
+
chain: "Ethereum";
|
|
18307
|
+
asset: "FLIP";
|
|
18308
|
+
}, {
|
|
18309
|
+
chain: "Ethereum";
|
|
18310
|
+
asset: "FLIP";
|
|
18311
|
+
}>, z.ZodObject<{
|
|
18312
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
18313
|
+
asset: z.ZodLiteral<"ETH">;
|
|
18314
|
+
}, "strip", z.ZodTypeAny, {
|
|
18315
|
+
chain: "Ethereum";
|
|
18316
|
+
asset: "ETH";
|
|
18317
|
+
}, {
|
|
18318
|
+
chain: "Ethereum";
|
|
18319
|
+
asset: "ETH";
|
|
18320
|
+
}>, z.ZodObject<{
|
|
18321
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
18322
|
+
asset: z.ZodLiteral<"USDC">;
|
|
18323
|
+
}, "strip", z.ZodTypeAny, {
|
|
18324
|
+
chain: "Ethereum";
|
|
18325
|
+
asset: "USDC";
|
|
18326
|
+
}, {
|
|
18327
|
+
chain: "Ethereum";
|
|
18328
|
+
asset: "USDC";
|
|
18329
|
+
}>, z.ZodObject<{
|
|
18330
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
18331
|
+
asset: z.ZodLiteral<"USDT">;
|
|
18332
|
+
}, "strip", z.ZodTypeAny, {
|
|
18333
|
+
chain: "Ethereum";
|
|
18334
|
+
asset: "USDT";
|
|
18335
|
+
}, {
|
|
18336
|
+
chain: "Ethereum";
|
|
18337
|
+
asset: "USDT";
|
|
18338
|
+
}>, z.ZodObject<{
|
|
18339
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
18340
|
+
asset: z.ZodLiteral<"ETH">;
|
|
18341
|
+
}, "strip", z.ZodTypeAny, {
|
|
18342
|
+
chain: "Arbitrum";
|
|
18343
|
+
asset: "ETH";
|
|
18344
|
+
}, {
|
|
18345
|
+
chain: "Arbitrum";
|
|
18346
|
+
asset: "ETH";
|
|
18347
|
+
}>, z.ZodObject<{
|
|
18348
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
18349
|
+
asset: z.ZodLiteral<"USDC">;
|
|
18350
|
+
}, "strip", z.ZodTypeAny, {
|
|
18351
|
+
chain: "Arbitrum";
|
|
18352
|
+
asset: "USDC";
|
|
18353
|
+
}, {
|
|
18354
|
+
chain: "Arbitrum";
|
|
18355
|
+
asset: "USDC";
|
|
18356
|
+
}>, z.ZodObject<{
|
|
18357
|
+
chain: z.ZodLiteral<"Solana">;
|
|
18358
|
+
asset: z.ZodLiteral<"SOL">;
|
|
18359
|
+
}, "strip", z.ZodTypeAny, {
|
|
18360
|
+
chain: "Solana";
|
|
18361
|
+
asset: "SOL";
|
|
18362
|
+
}, {
|
|
18363
|
+
chain: "Solana";
|
|
18364
|
+
asset: "SOL";
|
|
18365
|
+
}>, z.ZodObject<{
|
|
18366
|
+
chain: z.ZodLiteral<"Solana">;
|
|
18367
|
+
asset: z.ZodLiteral<"USDC">;
|
|
18368
|
+
}, "strip", z.ZodTypeAny, {
|
|
18369
|
+
chain: "Solana";
|
|
18370
|
+
asset: "USDC";
|
|
18371
|
+
}, {
|
|
18372
|
+
chain: "Solana";
|
|
18373
|
+
asset: "USDC";
|
|
18374
|
+
}>, z.ZodObject<{
|
|
18375
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
18376
|
+
asset: z.ZodLiteral<"DOT">;
|
|
18377
|
+
}, "strip", z.ZodTypeAny, {
|
|
18378
|
+
chain: "Assethub";
|
|
18379
|
+
asset: "DOT";
|
|
18380
|
+
}, {
|
|
18381
|
+
chain: "Assethub";
|
|
18382
|
+
asset: "DOT";
|
|
18383
|
+
}>, z.ZodObject<{
|
|
18384
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
18385
|
+
asset: z.ZodLiteral<"USDC">;
|
|
18386
|
+
}, "strip", z.ZodTypeAny, {
|
|
18387
|
+
chain: "Assethub";
|
|
18388
|
+
asset: "USDC";
|
|
18389
|
+
}, {
|
|
18390
|
+
chain: "Assethub";
|
|
18391
|
+
asset: "USDC";
|
|
18392
|
+
}>, z.ZodObject<{
|
|
18393
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
18394
|
+
asset: z.ZodLiteral<"USDT">;
|
|
18395
|
+
}, "strip", z.ZodTypeAny, {
|
|
18396
|
+
chain: "Assethub";
|
|
18397
|
+
asset: "USDT";
|
|
18398
|
+
}, {
|
|
18399
|
+
chain: "Assethub";
|
|
18400
|
+
asset: "USDT";
|
|
18401
|
+
}>]>;
|
|
18402
|
+
}, "strip", z.ZodTypeAny, {
|
|
18403
|
+
base_asset: {
|
|
18404
|
+
chain: "Bitcoin";
|
|
18405
|
+
asset: "BTC";
|
|
18406
|
+
} | {
|
|
18407
|
+
chain: "Polkadot";
|
|
18408
|
+
asset: "DOT";
|
|
18409
|
+
} | {
|
|
18410
|
+
chain: "Ethereum";
|
|
18411
|
+
asset: "FLIP";
|
|
18412
|
+
} | {
|
|
18413
|
+
chain: "Ethereum";
|
|
18414
|
+
asset: "ETH";
|
|
18415
|
+
} | {
|
|
18416
|
+
chain: "Ethereum";
|
|
18417
|
+
asset: "USDC";
|
|
18418
|
+
} | {
|
|
18419
|
+
chain: "Ethereum";
|
|
18420
|
+
asset: "USDT";
|
|
18421
|
+
} | {
|
|
18422
|
+
chain: "Arbitrum";
|
|
18423
|
+
asset: "ETH";
|
|
18424
|
+
} | {
|
|
18425
|
+
chain: "Arbitrum";
|
|
18426
|
+
asset: "USDC";
|
|
18427
|
+
} | {
|
|
18428
|
+
chain: "Solana";
|
|
18429
|
+
asset: "SOL";
|
|
18430
|
+
} | {
|
|
18431
|
+
chain: "Solana";
|
|
18432
|
+
asset: "USDC";
|
|
18433
|
+
} | {
|
|
18434
|
+
chain: "Assethub";
|
|
18435
|
+
asset: "DOT";
|
|
18436
|
+
} | {
|
|
18437
|
+
chain: "Assethub";
|
|
18438
|
+
asset: "USDC";
|
|
18439
|
+
} | {
|
|
18440
|
+
chain: "Assethub";
|
|
18441
|
+
asset: "USDT";
|
|
18442
|
+
};
|
|
18443
|
+
spread_tick: number;
|
|
18444
|
+
}, {
|
|
18445
|
+
base_asset: {
|
|
18446
|
+
chain: "Bitcoin";
|
|
18447
|
+
asset: "BTC";
|
|
18448
|
+
} | {
|
|
18449
|
+
chain: "Polkadot";
|
|
18450
|
+
asset: "DOT";
|
|
18451
|
+
} | {
|
|
18452
|
+
chain: "Ethereum";
|
|
18453
|
+
asset: "FLIP";
|
|
18454
|
+
} | {
|
|
18455
|
+
chain: "Ethereum";
|
|
18456
|
+
asset: "ETH";
|
|
18457
|
+
} | {
|
|
18458
|
+
chain: "Ethereum";
|
|
18459
|
+
asset: "USDC";
|
|
18460
|
+
} | {
|
|
18461
|
+
chain: "Ethereum";
|
|
18462
|
+
asset: "USDT";
|
|
18463
|
+
} | {
|
|
18464
|
+
chain: "Arbitrum";
|
|
18465
|
+
asset: "ETH";
|
|
18466
|
+
} | {
|
|
18467
|
+
chain: "Arbitrum";
|
|
18468
|
+
asset: "USDC";
|
|
18469
|
+
} | {
|
|
18470
|
+
chain: "Solana";
|
|
18471
|
+
asset: "SOL";
|
|
18472
|
+
} | {
|
|
18473
|
+
chain: "Solana";
|
|
18474
|
+
asset: "USDC";
|
|
18475
|
+
} | {
|
|
18476
|
+
chain: "Assethub";
|
|
18477
|
+
asset: "DOT";
|
|
18478
|
+
} | {
|
|
18479
|
+
chain: "Assethub";
|
|
18480
|
+
asset: "USDC";
|
|
18481
|
+
} | {
|
|
18482
|
+
chain: "Assethub";
|
|
18483
|
+
asset: "USDT";
|
|
18484
|
+
};
|
|
18485
|
+
spread_tick: number;
|
|
18486
|
+
}>;
|
|
18487
|
+
}, "strip", z.ZodTypeAny, {
|
|
18488
|
+
TickZeroCentered: {
|
|
18489
|
+
base_asset: {
|
|
18490
|
+
chain: "Bitcoin";
|
|
18491
|
+
asset: "BTC";
|
|
18492
|
+
} | {
|
|
18493
|
+
chain: "Polkadot";
|
|
18494
|
+
asset: "DOT";
|
|
18495
|
+
} | {
|
|
18496
|
+
chain: "Ethereum";
|
|
18497
|
+
asset: "FLIP";
|
|
18498
|
+
} | {
|
|
18499
|
+
chain: "Ethereum";
|
|
18500
|
+
asset: "ETH";
|
|
18501
|
+
} | {
|
|
18502
|
+
chain: "Ethereum";
|
|
18503
|
+
asset: "USDC";
|
|
18504
|
+
} | {
|
|
18505
|
+
chain: "Ethereum";
|
|
18506
|
+
asset: "USDT";
|
|
18507
|
+
} | {
|
|
18508
|
+
chain: "Arbitrum";
|
|
18509
|
+
asset: "ETH";
|
|
18510
|
+
} | {
|
|
18511
|
+
chain: "Arbitrum";
|
|
18512
|
+
asset: "USDC";
|
|
18513
|
+
} | {
|
|
18514
|
+
chain: "Solana";
|
|
18515
|
+
asset: "SOL";
|
|
18516
|
+
} | {
|
|
18517
|
+
chain: "Solana";
|
|
18518
|
+
asset: "USDC";
|
|
18519
|
+
} | {
|
|
18520
|
+
chain: "Assethub";
|
|
18521
|
+
asset: "DOT";
|
|
18522
|
+
} | {
|
|
18523
|
+
chain: "Assethub";
|
|
18524
|
+
asset: "USDC";
|
|
18525
|
+
} | {
|
|
18526
|
+
chain: "Assethub";
|
|
18527
|
+
asset: "USDT";
|
|
18528
|
+
};
|
|
18529
|
+
spread_tick: number;
|
|
18530
|
+
};
|
|
18531
|
+
}, {
|
|
18532
|
+
TickZeroCentered: {
|
|
18533
|
+
base_asset: {
|
|
18534
|
+
chain: "Bitcoin";
|
|
18535
|
+
asset: "BTC";
|
|
18536
|
+
} | {
|
|
18537
|
+
chain: "Polkadot";
|
|
18538
|
+
asset: "DOT";
|
|
18539
|
+
} | {
|
|
18540
|
+
chain: "Ethereum";
|
|
18541
|
+
asset: "FLIP";
|
|
18542
|
+
} | {
|
|
18543
|
+
chain: "Ethereum";
|
|
18544
|
+
asset: "ETH";
|
|
18545
|
+
} | {
|
|
18546
|
+
chain: "Ethereum";
|
|
18547
|
+
asset: "USDC";
|
|
18548
|
+
} | {
|
|
18549
|
+
chain: "Ethereum";
|
|
18550
|
+
asset: "USDT";
|
|
18551
|
+
} | {
|
|
18552
|
+
chain: "Arbitrum";
|
|
18553
|
+
asset: "ETH";
|
|
18554
|
+
} | {
|
|
18555
|
+
chain: "Arbitrum";
|
|
18556
|
+
asset: "USDC";
|
|
18557
|
+
} | {
|
|
18558
|
+
chain: "Solana";
|
|
18559
|
+
asset: "SOL";
|
|
18560
|
+
} | {
|
|
18561
|
+
chain: "Solana";
|
|
18562
|
+
asset: "USDC";
|
|
18563
|
+
} | {
|
|
18564
|
+
chain: "Assethub";
|
|
18565
|
+
asset: "DOT";
|
|
18566
|
+
} | {
|
|
18567
|
+
chain: "Assethub";
|
|
18568
|
+
asset: "USDC";
|
|
18569
|
+
} | {
|
|
18570
|
+
chain: "Assethub";
|
|
18571
|
+
asset: "USDT";
|
|
18572
|
+
};
|
|
18573
|
+
spread_tick: number;
|
|
18574
|
+
};
|
|
18575
|
+
}>;
|
|
18576
|
+
balance: z.ZodArray<z.ZodTuple<[z.ZodUnion<[z.ZodObject<{
|
|
18577
|
+
chain: z.ZodLiteral<"Bitcoin">;
|
|
18578
|
+
asset: z.ZodLiteral<"BTC">;
|
|
18579
|
+
}, "strip", z.ZodTypeAny, {
|
|
18580
|
+
chain: "Bitcoin";
|
|
18581
|
+
asset: "BTC";
|
|
18582
|
+
}, {
|
|
18583
|
+
chain: "Bitcoin";
|
|
18584
|
+
asset: "BTC";
|
|
18585
|
+
}>, z.ZodObject<{
|
|
18586
|
+
chain: z.ZodLiteral<"Polkadot">;
|
|
18587
|
+
asset: z.ZodLiteral<"DOT">;
|
|
18588
|
+
}, "strip", z.ZodTypeAny, {
|
|
18589
|
+
chain: "Polkadot";
|
|
18590
|
+
asset: "DOT";
|
|
18591
|
+
}, {
|
|
18592
|
+
chain: "Polkadot";
|
|
18593
|
+
asset: "DOT";
|
|
18594
|
+
}>, z.ZodObject<{
|
|
18595
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
18596
|
+
asset: z.ZodLiteral<"FLIP">;
|
|
18597
|
+
}, "strip", z.ZodTypeAny, {
|
|
18598
|
+
chain: "Ethereum";
|
|
18599
|
+
asset: "FLIP";
|
|
18600
|
+
}, {
|
|
18601
|
+
chain: "Ethereum";
|
|
18602
|
+
asset: "FLIP";
|
|
18603
|
+
}>, z.ZodObject<{
|
|
18604
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
18605
|
+
asset: z.ZodLiteral<"ETH">;
|
|
18606
|
+
}, "strip", z.ZodTypeAny, {
|
|
18607
|
+
chain: "Ethereum";
|
|
18608
|
+
asset: "ETH";
|
|
18609
|
+
}, {
|
|
18610
|
+
chain: "Ethereum";
|
|
18611
|
+
asset: "ETH";
|
|
18612
|
+
}>, z.ZodObject<{
|
|
18613
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
18614
|
+
asset: z.ZodLiteral<"USDC">;
|
|
18615
|
+
}, "strip", z.ZodTypeAny, {
|
|
18616
|
+
chain: "Ethereum";
|
|
18617
|
+
asset: "USDC";
|
|
18618
|
+
}, {
|
|
18619
|
+
chain: "Ethereum";
|
|
18620
|
+
asset: "USDC";
|
|
18621
|
+
}>, z.ZodObject<{
|
|
18622
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
18623
|
+
asset: z.ZodLiteral<"USDT">;
|
|
18624
|
+
}, "strip", z.ZodTypeAny, {
|
|
18625
|
+
chain: "Ethereum";
|
|
18626
|
+
asset: "USDT";
|
|
18627
|
+
}, {
|
|
18628
|
+
chain: "Ethereum";
|
|
18629
|
+
asset: "USDT";
|
|
18630
|
+
}>, z.ZodObject<{
|
|
18631
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
18632
|
+
asset: z.ZodLiteral<"ETH">;
|
|
18633
|
+
}, "strip", z.ZodTypeAny, {
|
|
18634
|
+
chain: "Arbitrum";
|
|
18635
|
+
asset: "ETH";
|
|
18636
|
+
}, {
|
|
18637
|
+
chain: "Arbitrum";
|
|
18638
|
+
asset: "ETH";
|
|
18639
|
+
}>, z.ZodObject<{
|
|
18640
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
18641
|
+
asset: z.ZodLiteral<"USDC">;
|
|
18642
|
+
}, "strip", z.ZodTypeAny, {
|
|
18643
|
+
chain: "Arbitrum";
|
|
18644
|
+
asset: "USDC";
|
|
18645
|
+
}, {
|
|
18646
|
+
chain: "Arbitrum";
|
|
18647
|
+
asset: "USDC";
|
|
18648
|
+
}>, z.ZodObject<{
|
|
18649
|
+
chain: z.ZodLiteral<"Solana">;
|
|
18650
|
+
asset: z.ZodLiteral<"SOL">;
|
|
18651
|
+
}, "strip", z.ZodTypeAny, {
|
|
18652
|
+
chain: "Solana";
|
|
18653
|
+
asset: "SOL";
|
|
18654
|
+
}, {
|
|
18655
|
+
chain: "Solana";
|
|
18656
|
+
asset: "SOL";
|
|
18657
|
+
}>, z.ZodObject<{
|
|
18658
|
+
chain: z.ZodLiteral<"Solana">;
|
|
18659
|
+
asset: z.ZodLiteral<"USDC">;
|
|
18660
|
+
}, "strip", z.ZodTypeAny, {
|
|
18661
|
+
chain: "Solana";
|
|
18662
|
+
asset: "USDC";
|
|
18663
|
+
}, {
|
|
18664
|
+
chain: "Solana";
|
|
18665
|
+
asset: "USDC";
|
|
18666
|
+
}>, z.ZodObject<{
|
|
18667
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
18668
|
+
asset: z.ZodLiteral<"DOT">;
|
|
18669
|
+
}, "strip", z.ZodTypeAny, {
|
|
18670
|
+
chain: "Assethub";
|
|
18671
|
+
asset: "DOT";
|
|
18672
|
+
}, {
|
|
18673
|
+
chain: "Assethub";
|
|
18674
|
+
asset: "DOT";
|
|
18675
|
+
}>, z.ZodObject<{
|
|
18676
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
18677
|
+
asset: z.ZodLiteral<"USDC">;
|
|
18678
|
+
}, "strip", z.ZodTypeAny, {
|
|
18679
|
+
chain: "Assethub";
|
|
18680
|
+
asset: "USDC";
|
|
18681
|
+
}, {
|
|
18682
|
+
chain: "Assethub";
|
|
18683
|
+
asset: "USDC";
|
|
18684
|
+
}>, z.ZodObject<{
|
|
18685
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
18686
|
+
asset: z.ZodLiteral<"USDT">;
|
|
18687
|
+
}, "strip", z.ZodTypeAny, {
|
|
18688
|
+
chain: "Assethub";
|
|
18689
|
+
asset: "USDT";
|
|
18690
|
+
}, {
|
|
18691
|
+
chain: "Assethub";
|
|
18692
|
+
asset: "USDT";
|
|
18693
|
+
}>]>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>], null>, "many">;
|
|
18694
|
+
}, "strip", z.ZodTypeAny, {
|
|
18695
|
+
lp_id: string;
|
|
18696
|
+
strategy_id: string;
|
|
18697
|
+
strategy: {
|
|
18698
|
+
TickZeroCentered: {
|
|
18699
|
+
base_asset: {
|
|
18700
|
+
chain: "Bitcoin";
|
|
18701
|
+
asset: "BTC";
|
|
18702
|
+
} | {
|
|
18703
|
+
chain: "Polkadot";
|
|
18704
|
+
asset: "DOT";
|
|
18705
|
+
} | {
|
|
18706
|
+
chain: "Ethereum";
|
|
18707
|
+
asset: "FLIP";
|
|
18708
|
+
} | {
|
|
18709
|
+
chain: "Ethereum";
|
|
18710
|
+
asset: "ETH";
|
|
18711
|
+
} | {
|
|
18712
|
+
chain: "Ethereum";
|
|
18713
|
+
asset: "USDC";
|
|
18714
|
+
} | {
|
|
18715
|
+
chain: "Ethereum";
|
|
18716
|
+
asset: "USDT";
|
|
18717
|
+
} | {
|
|
18718
|
+
chain: "Arbitrum";
|
|
18719
|
+
asset: "ETH";
|
|
18720
|
+
} | {
|
|
18721
|
+
chain: "Arbitrum";
|
|
18722
|
+
asset: "USDC";
|
|
18723
|
+
} | {
|
|
18724
|
+
chain: "Solana";
|
|
18725
|
+
asset: "SOL";
|
|
18726
|
+
} | {
|
|
18727
|
+
chain: "Solana";
|
|
18728
|
+
asset: "USDC";
|
|
18729
|
+
} | {
|
|
18730
|
+
chain: "Assethub";
|
|
18731
|
+
asset: "DOT";
|
|
18732
|
+
} | {
|
|
18733
|
+
chain: "Assethub";
|
|
18734
|
+
asset: "USDC";
|
|
18735
|
+
} | {
|
|
18736
|
+
chain: "Assethub";
|
|
18737
|
+
asset: "USDT";
|
|
18738
|
+
};
|
|
18739
|
+
spread_tick: number;
|
|
18740
|
+
};
|
|
18741
|
+
};
|
|
18742
|
+
balance: [{
|
|
18743
|
+
chain: "Bitcoin";
|
|
18744
|
+
asset: "BTC";
|
|
18745
|
+
} | {
|
|
18746
|
+
chain: "Polkadot";
|
|
18747
|
+
asset: "DOT";
|
|
18748
|
+
} | {
|
|
18749
|
+
chain: "Ethereum";
|
|
18750
|
+
asset: "FLIP";
|
|
18751
|
+
} | {
|
|
18752
|
+
chain: "Ethereum";
|
|
18753
|
+
asset: "ETH";
|
|
18754
|
+
} | {
|
|
18755
|
+
chain: "Ethereum";
|
|
18756
|
+
asset: "USDC";
|
|
18757
|
+
} | {
|
|
18758
|
+
chain: "Ethereum";
|
|
18759
|
+
asset: "USDT";
|
|
18760
|
+
} | {
|
|
18761
|
+
chain: "Arbitrum";
|
|
18762
|
+
asset: "ETH";
|
|
18763
|
+
} | {
|
|
18764
|
+
chain: "Arbitrum";
|
|
18765
|
+
asset: "USDC";
|
|
18766
|
+
} | {
|
|
18767
|
+
chain: "Solana";
|
|
18768
|
+
asset: "SOL";
|
|
18769
|
+
} | {
|
|
18770
|
+
chain: "Solana";
|
|
18771
|
+
asset: "USDC";
|
|
18772
|
+
} | {
|
|
18773
|
+
chain: "Assethub";
|
|
18774
|
+
asset: "DOT";
|
|
18775
|
+
} | {
|
|
18776
|
+
chain: "Assethub";
|
|
18777
|
+
asset: "USDC";
|
|
18778
|
+
} | {
|
|
18779
|
+
chain: "Assethub";
|
|
18780
|
+
asset: "USDT";
|
|
18781
|
+
}, bigint][];
|
|
18782
|
+
}, {
|
|
18783
|
+
lp_id: string;
|
|
18784
|
+
strategy_id: string;
|
|
18785
|
+
strategy: {
|
|
18786
|
+
TickZeroCentered: {
|
|
18787
|
+
base_asset: {
|
|
18788
|
+
chain: "Bitcoin";
|
|
18789
|
+
asset: "BTC";
|
|
18790
|
+
} | {
|
|
18791
|
+
chain: "Polkadot";
|
|
18792
|
+
asset: "DOT";
|
|
18793
|
+
} | {
|
|
18794
|
+
chain: "Ethereum";
|
|
18795
|
+
asset: "FLIP";
|
|
18796
|
+
} | {
|
|
18797
|
+
chain: "Ethereum";
|
|
18798
|
+
asset: "ETH";
|
|
18799
|
+
} | {
|
|
18800
|
+
chain: "Ethereum";
|
|
18801
|
+
asset: "USDC";
|
|
18802
|
+
} | {
|
|
18803
|
+
chain: "Ethereum";
|
|
18804
|
+
asset: "USDT";
|
|
18805
|
+
} | {
|
|
18806
|
+
chain: "Arbitrum";
|
|
18807
|
+
asset: "ETH";
|
|
18808
|
+
} | {
|
|
18809
|
+
chain: "Arbitrum";
|
|
18810
|
+
asset: "USDC";
|
|
18811
|
+
} | {
|
|
18812
|
+
chain: "Solana";
|
|
18813
|
+
asset: "SOL";
|
|
18814
|
+
} | {
|
|
18815
|
+
chain: "Solana";
|
|
18816
|
+
asset: "USDC";
|
|
18817
|
+
} | {
|
|
18818
|
+
chain: "Assethub";
|
|
18819
|
+
asset: "DOT";
|
|
18820
|
+
} | {
|
|
18821
|
+
chain: "Assethub";
|
|
18822
|
+
asset: "USDC";
|
|
18823
|
+
} | {
|
|
18824
|
+
chain: "Assethub";
|
|
18825
|
+
asset: "USDT";
|
|
18826
|
+
};
|
|
18827
|
+
spread_tick: number;
|
|
18828
|
+
};
|
|
18829
|
+
};
|
|
18830
|
+
balance: [{
|
|
18831
|
+
chain: "Bitcoin";
|
|
18832
|
+
asset: "BTC";
|
|
18833
|
+
} | {
|
|
18834
|
+
chain: "Polkadot";
|
|
18835
|
+
asset: "DOT";
|
|
18836
|
+
} | {
|
|
18837
|
+
chain: "Ethereum";
|
|
18838
|
+
asset: "FLIP";
|
|
18839
|
+
} | {
|
|
18840
|
+
chain: "Ethereum";
|
|
18841
|
+
asset: "ETH";
|
|
18842
|
+
} | {
|
|
18843
|
+
chain: "Ethereum";
|
|
18844
|
+
asset: "USDC";
|
|
18845
|
+
} | {
|
|
18846
|
+
chain: "Ethereum";
|
|
18847
|
+
asset: "USDT";
|
|
18848
|
+
} | {
|
|
18849
|
+
chain: "Arbitrum";
|
|
18850
|
+
asset: "ETH";
|
|
18851
|
+
} | {
|
|
18852
|
+
chain: "Arbitrum";
|
|
18853
|
+
asset: "USDC";
|
|
18854
|
+
} | {
|
|
18855
|
+
chain: "Solana";
|
|
18856
|
+
asset: "SOL";
|
|
18857
|
+
} | {
|
|
18858
|
+
chain: "Solana";
|
|
18859
|
+
asset: "USDC";
|
|
18860
|
+
} | {
|
|
18861
|
+
chain: "Assethub";
|
|
18862
|
+
asset: "DOT";
|
|
18863
|
+
} | {
|
|
18864
|
+
chain: "Assethub";
|
|
18865
|
+
asset: "USDC";
|
|
18866
|
+
} | {
|
|
18867
|
+
chain: "Assethub";
|
|
18868
|
+
asset: "USDT";
|
|
18869
|
+
}, string | number][];
|
|
18870
|
+
}>, "many">>;
|
|
17971
18871
|
};
|
|
17972
18872
|
type RpcMethod = keyof RpcRequest;
|
|
17973
18873
|
type RpcResponse<T extends RpcMethod> = z.input<(typeof rpcResult)[T]>;
|