@chainflip/rpc 1.9.2 → 1.9.4
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 +3 -1
- package/dist/common.d.cts +721 -132
- package/dist/common.d.ts +721 -132
- package/dist/common.mjs +4 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/parsers.cjs +16 -4
- package/dist/parsers.d.cts +722 -134
- package/dist/parsers.d.ts +722 -134
- package/dist/parsers.mjs +15 -3
- package/dist/types.d.cts +3 -1
- package/dist/types.d.ts +3 -1
- package/package.json +4 -4
package/dist/parsers.d.ts
CHANGED
|
@@ -2197,28 +2197,6 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2197
2197
|
Polkadot: string | number;
|
|
2198
2198
|
Assethub?: string | number | undefined;
|
|
2199
2199
|
}>;
|
|
2200
|
-
max_swap_retry_duration_blocks: z.ZodObject<{
|
|
2201
|
-
Bitcoin: z.ZodNumber;
|
|
2202
|
-
Ethereum: z.ZodNumber;
|
|
2203
|
-
Polkadot: z.ZodNumber;
|
|
2204
|
-
Arbitrum: z.ZodNumber;
|
|
2205
|
-
Solana: z.ZodNumber;
|
|
2206
|
-
Assethub: z.ZodDefault<z.ZodNumber>;
|
|
2207
|
-
}, "strip", z.ZodTypeAny, {
|
|
2208
|
-
Bitcoin: number;
|
|
2209
|
-
Ethereum: number;
|
|
2210
|
-
Arbitrum: number;
|
|
2211
|
-
Solana: number;
|
|
2212
|
-
Polkadot: number;
|
|
2213
|
-
Assethub: number;
|
|
2214
|
-
}, {
|
|
2215
|
-
Bitcoin: number;
|
|
2216
|
-
Ethereum: number;
|
|
2217
|
-
Arbitrum: number;
|
|
2218
|
-
Solana: number;
|
|
2219
|
-
Polkadot: number;
|
|
2220
|
-
Assethub?: number | undefined;
|
|
2221
|
-
}>;
|
|
2222
2200
|
}, "strip", z.ZodTypeAny, {
|
|
2223
2201
|
minimum_deposit_amounts: {
|
|
2224
2202
|
Bitcoin: {
|
|
@@ -2344,14 +2322,6 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2344
2322
|
Polkadot: bigint;
|
|
2345
2323
|
Assethub: bigint;
|
|
2346
2324
|
};
|
|
2347
|
-
max_swap_retry_duration_blocks: {
|
|
2348
|
-
Bitcoin: number;
|
|
2349
|
-
Ethereum: number;
|
|
2350
|
-
Arbitrum: number;
|
|
2351
|
-
Solana: number;
|
|
2352
|
-
Polkadot: number;
|
|
2353
|
-
Assethub: number;
|
|
2354
|
-
};
|
|
2355
2325
|
}, {
|
|
2356
2326
|
minimum_deposit_amounts: {
|
|
2357
2327
|
Bitcoin: {
|
|
@@ -2477,14 +2447,6 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2477
2447
|
Polkadot: string | number;
|
|
2478
2448
|
Assethub?: string | number | undefined;
|
|
2479
2449
|
};
|
|
2480
|
-
max_swap_retry_duration_blocks: {
|
|
2481
|
-
Bitcoin: number;
|
|
2482
|
-
Ethereum: number;
|
|
2483
|
-
Arbitrum: number;
|
|
2484
|
-
Solana: number;
|
|
2485
|
-
Polkadot: number;
|
|
2486
|
-
Assethub?: number | undefined;
|
|
2487
|
-
};
|
|
2488
2450
|
}>, Rename<{
|
|
2489
2451
|
minimum_deposit_amounts: {
|
|
2490
2452
|
Bitcoin: {
|
|
@@ -2610,14 +2572,6 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2610
2572
|
Polkadot: bigint;
|
|
2611
2573
|
Assethub: bigint;
|
|
2612
2574
|
};
|
|
2613
|
-
max_swap_retry_duration_blocks: {
|
|
2614
|
-
Bitcoin: number;
|
|
2615
|
-
Ethereum: number;
|
|
2616
|
-
Arbitrum: number;
|
|
2617
|
-
Solana: number;
|
|
2618
|
-
Polkadot: number;
|
|
2619
|
-
Assethub: number;
|
|
2620
|
-
};
|
|
2621
2575
|
}, {
|
|
2622
2576
|
readonly egress_dust_limits: "minimum_egress_amounts";
|
|
2623
2577
|
}>, {
|
|
@@ -2745,14 +2699,6 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2745
2699
|
Polkadot: string | number;
|
|
2746
2700
|
Assethub?: string | number | undefined;
|
|
2747
2701
|
};
|
|
2748
|
-
max_swap_retry_duration_blocks: {
|
|
2749
|
-
Bitcoin: number;
|
|
2750
|
-
Ethereum: number;
|
|
2751
|
-
Arbitrum: number;
|
|
2752
|
-
Solana: number;
|
|
2753
|
-
Polkadot: number;
|
|
2754
|
-
Assethub?: number | undefined;
|
|
2755
|
-
};
|
|
2756
2702
|
}>;
|
|
2757
2703
|
declare const cfSwappingEnvironment: z.ZodObject<{
|
|
2758
2704
|
maximum_swap_amounts: z.ZodObject<{
|
|
@@ -2873,6 +2819,126 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
2873
2819
|
} | undefined;
|
|
2874
2820
|
}>;
|
|
2875
2821
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
2822
|
+
swap_retry_delay_blocks: z.ZodOptional<z.ZodNumber>;
|
|
2823
|
+
max_swap_retry_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
2824
|
+
max_swap_request_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
2825
|
+
minimum_chunk_size: z.ZodOptional<z.ZodObject<{
|
|
2826
|
+
Bitcoin: z.ZodObject<{
|
|
2827
|
+
BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2828
|
+
}, "strip", z.ZodTypeAny, {
|
|
2829
|
+
BTC: bigint | null;
|
|
2830
|
+
}, {
|
|
2831
|
+
BTC: string | number | null;
|
|
2832
|
+
}>;
|
|
2833
|
+
Ethereum: z.ZodObject<{
|
|
2834
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2835
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2836
|
+
FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2837
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2838
|
+
}, "strip", z.ZodTypeAny, {
|
|
2839
|
+
ETH: bigint | null;
|
|
2840
|
+
USDC: bigint | null;
|
|
2841
|
+
FLIP: bigint | null;
|
|
2842
|
+
USDT: bigint | null;
|
|
2843
|
+
}, {
|
|
2844
|
+
ETH: string | number | null;
|
|
2845
|
+
USDC: string | number | null;
|
|
2846
|
+
FLIP: string | number | null;
|
|
2847
|
+
USDT: string | number | null;
|
|
2848
|
+
}>;
|
|
2849
|
+
Polkadot: z.ZodObject<{
|
|
2850
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2851
|
+
}, "strip", z.ZodTypeAny, {
|
|
2852
|
+
DOT: bigint | null;
|
|
2853
|
+
}, {
|
|
2854
|
+
DOT: string | number | null;
|
|
2855
|
+
}>;
|
|
2856
|
+
Arbitrum: z.ZodObject<{
|
|
2857
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2858
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2859
|
+
}, "strip", z.ZodTypeAny, {
|
|
2860
|
+
ETH: bigint | null;
|
|
2861
|
+
USDC: bigint | null;
|
|
2862
|
+
}, {
|
|
2863
|
+
ETH: string | number | null;
|
|
2864
|
+
USDC: string | number | null;
|
|
2865
|
+
}>;
|
|
2866
|
+
Solana: z.ZodObject<{
|
|
2867
|
+
SOL: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2868
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2869
|
+
}, "strip", z.ZodTypeAny, {
|
|
2870
|
+
USDC: bigint | null;
|
|
2871
|
+
SOL: bigint | null;
|
|
2872
|
+
}, {
|
|
2873
|
+
USDC: string | number | null;
|
|
2874
|
+
SOL: string | number | null;
|
|
2875
|
+
}>;
|
|
2876
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
2877
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2878
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2879
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
2880
|
+
}, "strip", z.ZodTypeAny, {
|
|
2881
|
+
USDC: bigint | null;
|
|
2882
|
+
USDT: bigint | null;
|
|
2883
|
+
DOT: bigint | null;
|
|
2884
|
+
}, {
|
|
2885
|
+
USDC: string | number | null;
|
|
2886
|
+
USDT: string | number | null;
|
|
2887
|
+
DOT: string | number | null;
|
|
2888
|
+
}>>;
|
|
2889
|
+
}, "strip", z.ZodTypeAny, {
|
|
2890
|
+
Bitcoin: {
|
|
2891
|
+
BTC: bigint | null;
|
|
2892
|
+
};
|
|
2893
|
+
Ethereum: {
|
|
2894
|
+
ETH: bigint | null;
|
|
2895
|
+
USDC: bigint | null;
|
|
2896
|
+
FLIP: bigint | null;
|
|
2897
|
+
USDT: bigint | null;
|
|
2898
|
+
};
|
|
2899
|
+
Arbitrum: {
|
|
2900
|
+
ETH: bigint | null;
|
|
2901
|
+
USDC: bigint | null;
|
|
2902
|
+
};
|
|
2903
|
+
Solana: {
|
|
2904
|
+
USDC: bigint | null;
|
|
2905
|
+
SOL: bigint | null;
|
|
2906
|
+
};
|
|
2907
|
+
Polkadot: {
|
|
2908
|
+
DOT: bigint | null;
|
|
2909
|
+
};
|
|
2910
|
+
Assethub: {
|
|
2911
|
+
USDC: bigint | null;
|
|
2912
|
+
USDT: bigint | null;
|
|
2913
|
+
DOT: bigint | null;
|
|
2914
|
+
};
|
|
2915
|
+
}, {
|
|
2916
|
+
Bitcoin: {
|
|
2917
|
+
BTC: string | number | null;
|
|
2918
|
+
};
|
|
2919
|
+
Ethereum: {
|
|
2920
|
+
ETH: string | number | null;
|
|
2921
|
+
USDC: string | number | null;
|
|
2922
|
+
FLIP: string | number | null;
|
|
2923
|
+
USDT: string | number | null;
|
|
2924
|
+
};
|
|
2925
|
+
Arbitrum: {
|
|
2926
|
+
ETH: string | number | null;
|
|
2927
|
+
USDC: string | number | null;
|
|
2928
|
+
};
|
|
2929
|
+
Solana: {
|
|
2930
|
+
USDC: string | number | null;
|
|
2931
|
+
SOL: string | number | null;
|
|
2932
|
+
};
|
|
2933
|
+
Polkadot: {
|
|
2934
|
+
DOT: string | number | null;
|
|
2935
|
+
};
|
|
2936
|
+
Assethub?: {
|
|
2937
|
+
USDC: string | number | null;
|
|
2938
|
+
USDT: string | number | null;
|
|
2939
|
+
DOT: string | number | null;
|
|
2940
|
+
} | undefined;
|
|
2941
|
+
}>>;
|
|
2876
2942
|
}, "strip", z.ZodTypeAny, {
|
|
2877
2943
|
maximum_swap_amounts: {
|
|
2878
2944
|
Bitcoin: {
|
|
@@ -2902,6 +2968,36 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
2902
2968
|
};
|
|
2903
2969
|
};
|
|
2904
2970
|
network_fee_hundredth_pips: number;
|
|
2971
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
2972
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
2973
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
2974
|
+
minimum_chunk_size?: {
|
|
2975
|
+
Bitcoin: {
|
|
2976
|
+
BTC: bigint | null;
|
|
2977
|
+
};
|
|
2978
|
+
Ethereum: {
|
|
2979
|
+
ETH: bigint | null;
|
|
2980
|
+
USDC: bigint | null;
|
|
2981
|
+
FLIP: bigint | null;
|
|
2982
|
+
USDT: bigint | null;
|
|
2983
|
+
};
|
|
2984
|
+
Arbitrum: {
|
|
2985
|
+
ETH: bigint | null;
|
|
2986
|
+
USDC: bigint | null;
|
|
2987
|
+
};
|
|
2988
|
+
Solana: {
|
|
2989
|
+
USDC: bigint | null;
|
|
2990
|
+
SOL: bigint | null;
|
|
2991
|
+
};
|
|
2992
|
+
Polkadot: {
|
|
2993
|
+
DOT: bigint | null;
|
|
2994
|
+
};
|
|
2995
|
+
Assethub: {
|
|
2996
|
+
USDC: bigint | null;
|
|
2997
|
+
USDT: bigint | null;
|
|
2998
|
+
DOT: bigint | null;
|
|
2999
|
+
};
|
|
3000
|
+
} | undefined;
|
|
2905
3001
|
}, {
|
|
2906
3002
|
maximum_swap_amounts: {
|
|
2907
3003
|
Bitcoin: {
|
|
@@ -2931,6 +3027,36 @@ declare const cfSwappingEnvironment: z.ZodObject<{
|
|
|
2931
3027
|
} | undefined;
|
|
2932
3028
|
};
|
|
2933
3029
|
network_fee_hundredth_pips: number;
|
|
3030
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
3031
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
3032
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
3033
|
+
minimum_chunk_size?: {
|
|
3034
|
+
Bitcoin: {
|
|
3035
|
+
BTC: string | number | null;
|
|
3036
|
+
};
|
|
3037
|
+
Ethereum: {
|
|
3038
|
+
ETH: string | number | null;
|
|
3039
|
+
USDC: string | number | null;
|
|
3040
|
+
FLIP: string | number | null;
|
|
3041
|
+
USDT: string | number | null;
|
|
3042
|
+
};
|
|
3043
|
+
Arbitrum: {
|
|
3044
|
+
ETH: string | number | null;
|
|
3045
|
+
USDC: string | number | null;
|
|
3046
|
+
};
|
|
3047
|
+
Solana: {
|
|
3048
|
+
USDC: string | number | null;
|
|
3049
|
+
SOL: string | number | null;
|
|
3050
|
+
};
|
|
3051
|
+
Polkadot: {
|
|
3052
|
+
DOT: string | number | null;
|
|
3053
|
+
};
|
|
3054
|
+
Assethub?: {
|
|
3055
|
+
USDC: string | number | null;
|
|
3056
|
+
USDT: string | number | null;
|
|
3057
|
+
DOT: string | number | null;
|
|
3058
|
+
} | undefined;
|
|
3059
|
+
} | undefined;
|
|
2934
3060
|
}>;
|
|
2935
3061
|
declare const cfFundingEnvironment: z.ZodObject<{
|
|
2936
3062
|
redemption_tax: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
@@ -8124,28 +8250,6 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8124
8250
|
Polkadot: string | number;
|
|
8125
8251
|
Assethub?: string | number | undefined;
|
|
8126
8252
|
}>;
|
|
8127
|
-
max_swap_retry_duration_blocks: z.ZodObject<{
|
|
8128
|
-
Bitcoin: z.ZodNumber;
|
|
8129
|
-
Ethereum: z.ZodNumber;
|
|
8130
|
-
Polkadot: z.ZodNumber;
|
|
8131
|
-
Arbitrum: z.ZodNumber;
|
|
8132
|
-
Solana: z.ZodNumber;
|
|
8133
|
-
Assethub: z.ZodDefault<z.ZodNumber>;
|
|
8134
|
-
}, "strip", z.ZodTypeAny, {
|
|
8135
|
-
Bitcoin: number;
|
|
8136
|
-
Ethereum: number;
|
|
8137
|
-
Arbitrum: number;
|
|
8138
|
-
Solana: number;
|
|
8139
|
-
Polkadot: number;
|
|
8140
|
-
Assethub: number;
|
|
8141
|
-
}, {
|
|
8142
|
-
Bitcoin: number;
|
|
8143
|
-
Ethereum: number;
|
|
8144
|
-
Arbitrum: number;
|
|
8145
|
-
Solana: number;
|
|
8146
|
-
Polkadot: number;
|
|
8147
|
-
Assethub?: number | undefined;
|
|
8148
|
-
}>;
|
|
8149
8253
|
}, "strip", z.ZodTypeAny, {
|
|
8150
8254
|
minimum_deposit_amounts: {
|
|
8151
8255
|
Bitcoin: {
|
|
@@ -8271,14 +8375,6 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8271
8375
|
Polkadot: bigint;
|
|
8272
8376
|
Assethub: bigint;
|
|
8273
8377
|
};
|
|
8274
|
-
max_swap_retry_duration_blocks: {
|
|
8275
|
-
Bitcoin: number;
|
|
8276
|
-
Ethereum: number;
|
|
8277
|
-
Arbitrum: number;
|
|
8278
|
-
Solana: number;
|
|
8279
|
-
Polkadot: number;
|
|
8280
|
-
Assethub: number;
|
|
8281
|
-
};
|
|
8282
8378
|
}, {
|
|
8283
8379
|
minimum_deposit_amounts: {
|
|
8284
8380
|
Bitcoin: {
|
|
@@ -8404,14 +8500,6 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8404
8500
|
Polkadot: string | number;
|
|
8405
8501
|
Assethub?: string | number | undefined;
|
|
8406
8502
|
};
|
|
8407
|
-
max_swap_retry_duration_blocks: {
|
|
8408
|
-
Bitcoin: number;
|
|
8409
|
-
Ethereum: number;
|
|
8410
|
-
Arbitrum: number;
|
|
8411
|
-
Solana: number;
|
|
8412
|
-
Polkadot: number;
|
|
8413
|
-
Assethub?: number | undefined;
|
|
8414
|
-
};
|
|
8415
8503
|
}>, Rename<{
|
|
8416
8504
|
minimum_deposit_amounts: {
|
|
8417
8505
|
Bitcoin: {
|
|
@@ -8537,14 +8625,6 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8537
8625
|
Polkadot: bigint;
|
|
8538
8626
|
Assethub: bigint;
|
|
8539
8627
|
};
|
|
8540
|
-
max_swap_retry_duration_blocks: {
|
|
8541
|
-
Bitcoin: number;
|
|
8542
|
-
Ethereum: number;
|
|
8543
|
-
Arbitrum: number;
|
|
8544
|
-
Solana: number;
|
|
8545
|
-
Polkadot: number;
|
|
8546
|
-
Assethub: number;
|
|
8547
|
-
};
|
|
8548
8628
|
}, {
|
|
8549
8629
|
readonly egress_dust_limits: "minimum_egress_amounts";
|
|
8550
8630
|
}>, {
|
|
@@ -8672,14 +8752,6 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8672
8752
|
Polkadot: string | number;
|
|
8673
8753
|
Assethub?: string | number | undefined;
|
|
8674
8754
|
};
|
|
8675
|
-
max_swap_retry_duration_blocks: {
|
|
8676
|
-
Bitcoin: number;
|
|
8677
|
-
Ethereum: number;
|
|
8678
|
-
Arbitrum: number;
|
|
8679
|
-
Solana: number;
|
|
8680
|
-
Polkadot: number;
|
|
8681
|
-
Assethub?: number | undefined;
|
|
8682
|
-
};
|
|
8683
8755
|
}>;
|
|
8684
8756
|
swapping: z.ZodObject<{
|
|
8685
8757
|
maximum_swap_amounts: z.ZodObject<{
|
|
@@ -8800,8 +8872,74 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8800
8872
|
} | undefined;
|
|
8801
8873
|
}>;
|
|
8802
8874
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
8803
|
-
|
|
8804
|
-
|
|
8875
|
+
swap_retry_delay_blocks: z.ZodOptional<z.ZodNumber>;
|
|
8876
|
+
max_swap_retry_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
8877
|
+
max_swap_request_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
8878
|
+
minimum_chunk_size: z.ZodOptional<z.ZodObject<{
|
|
8879
|
+
Bitcoin: z.ZodObject<{
|
|
8880
|
+
BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8881
|
+
}, "strip", z.ZodTypeAny, {
|
|
8882
|
+
BTC: bigint | null;
|
|
8883
|
+
}, {
|
|
8884
|
+
BTC: string | number | null;
|
|
8885
|
+
}>;
|
|
8886
|
+
Ethereum: z.ZodObject<{
|
|
8887
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8888
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8889
|
+
FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8890
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8891
|
+
}, "strip", z.ZodTypeAny, {
|
|
8892
|
+
ETH: bigint | null;
|
|
8893
|
+
USDC: bigint | null;
|
|
8894
|
+
FLIP: bigint | null;
|
|
8895
|
+
USDT: bigint | null;
|
|
8896
|
+
}, {
|
|
8897
|
+
ETH: string | number | null;
|
|
8898
|
+
USDC: string | number | null;
|
|
8899
|
+
FLIP: string | number | null;
|
|
8900
|
+
USDT: string | number | null;
|
|
8901
|
+
}>;
|
|
8902
|
+
Polkadot: z.ZodObject<{
|
|
8903
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8904
|
+
}, "strip", z.ZodTypeAny, {
|
|
8905
|
+
DOT: bigint | null;
|
|
8906
|
+
}, {
|
|
8907
|
+
DOT: string | number | null;
|
|
8908
|
+
}>;
|
|
8909
|
+
Arbitrum: z.ZodObject<{
|
|
8910
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8911
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8912
|
+
}, "strip", z.ZodTypeAny, {
|
|
8913
|
+
ETH: bigint | null;
|
|
8914
|
+
USDC: bigint | null;
|
|
8915
|
+
}, {
|
|
8916
|
+
ETH: string | number | null;
|
|
8917
|
+
USDC: string | number | null;
|
|
8918
|
+
}>;
|
|
8919
|
+
Solana: z.ZodObject<{
|
|
8920
|
+
SOL: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8921
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8922
|
+
}, "strip", z.ZodTypeAny, {
|
|
8923
|
+
USDC: bigint | null;
|
|
8924
|
+
SOL: bigint | null;
|
|
8925
|
+
}, {
|
|
8926
|
+
USDC: string | number | null;
|
|
8927
|
+
SOL: string | number | null;
|
|
8928
|
+
}>;
|
|
8929
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
8930
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8931
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8932
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
8933
|
+
}, "strip", z.ZodTypeAny, {
|
|
8934
|
+
USDC: bigint | null;
|
|
8935
|
+
USDT: bigint | null;
|
|
8936
|
+
DOT: bigint | null;
|
|
8937
|
+
}, {
|
|
8938
|
+
USDC: string | number | null;
|
|
8939
|
+
USDT: string | number | null;
|
|
8940
|
+
DOT: string | number | null;
|
|
8941
|
+
}>>;
|
|
8942
|
+
}, "strip", z.ZodTypeAny, {
|
|
8805
8943
|
Bitcoin: {
|
|
8806
8944
|
BTC: bigint | null;
|
|
8807
8945
|
};
|
|
@@ -8827,10 +8965,7 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8827
8965
|
USDT: bigint | null;
|
|
8828
8966
|
DOT: bigint | null;
|
|
8829
8967
|
};
|
|
8830
|
-
}
|
|
8831
|
-
network_fee_hundredth_pips: number;
|
|
8832
|
-
}, {
|
|
8833
|
-
maximum_swap_amounts: {
|
|
8968
|
+
}, {
|
|
8834
8969
|
Bitcoin: {
|
|
8835
8970
|
BTC: string | number | null;
|
|
8836
8971
|
};
|
|
@@ -8856,9 +8991,126 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8856
8991
|
USDT: string | number | null;
|
|
8857
8992
|
DOT: string | number | null;
|
|
8858
8993
|
} | undefined;
|
|
8859
|
-
}
|
|
8860
|
-
|
|
8861
|
-
|
|
8994
|
+
}>>;
|
|
8995
|
+
}, "strip", z.ZodTypeAny, {
|
|
8996
|
+
maximum_swap_amounts: {
|
|
8997
|
+
Bitcoin: {
|
|
8998
|
+
BTC: bigint | null;
|
|
8999
|
+
};
|
|
9000
|
+
Ethereum: {
|
|
9001
|
+
ETH: bigint | null;
|
|
9002
|
+
USDC: bigint | null;
|
|
9003
|
+
FLIP: bigint | null;
|
|
9004
|
+
USDT: bigint | null;
|
|
9005
|
+
};
|
|
9006
|
+
Arbitrum: {
|
|
9007
|
+
ETH: bigint | null;
|
|
9008
|
+
USDC: bigint | null;
|
|
9009
|
+
};
|
|
9010
|
+
Solana: {
|
|
9011
|
+
USDC: bigint | null;
|
|
9012
|
+
SOL: bigint | null;
|
|
9013
|
+
};
|
|
9014
|
+
Polkadot: {
|
|
9015
|
+
DOT: bigint | null;
|
|
9016
|
+
};
|
|
9017
|
+
Assethub: {
|
|
9018
|
+
USDC: bigint | null;
|
|
9019
|
+
USDT: bigint | null;
|
|
9020
|
+
DOT: bigint | null;
|
|
9021
|
+
};
|
|
9022
|
+
};
|
|
9023
|
+
network_fee_hundredth_pips: number;
|
|
9024
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
9025
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
9026
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
9027
|
+
minimum_chunk_size?: {
|
|
9028
|
+
Bitcoin: {
|
|
9029
|
+
BTC: bigint | null;
|
|
9030
|
+
};
|
|
9031
|
+
Ethereum: {
|
|
9032
|
+
ETH: bigint | null;
|
|
9033
|
+
USDC: bigint | null;
|
|
9034
|
+
FLIP: bigint | null;
|
|
9035
|
+
USDT: bigint | null;
|
|
9036
|
+
};
|
|
9037
|
+
Arbitrum: {
|
|
9038
|
+
ETH: bigint | null;
|
|
9039
|
+
USDC: bigint | null;
|
|
9040
|
+
};
|
|
9041
|
+
Solana: {
|
|
9042
|
+
USDC: bigint | null;
|
|
9043
|
+
SOL: bigint | null;
|
|
9044
|
+
};
|
|
9045
|
+
Polkadot: {
|
|
9046
|
+
DOT: bigint | null;
|
|
9047
|
+
};
|
|
9048
|
+
Assethub: {
|
|
9049
|
+
USDC: bigint | null;
|
|
9050
|
+
USDT: bigint | null;
|
|
9051
|
+
DOT: bigint | null;
|
|
9052
|
+
};
|
|
9053
|
+
} | undefined;
|
|
9054
|
+
}, {
|
|
9055
|
+
maximum_swap_amounts: {
|
|
9056
|
+
Bitcoin: {
|
|
9057
|
+
BTC: string | number | null;
|
|
9058
|
+
};
|
|
9059
|
+
Ethereum: {
|
|
9060
|
+
ETH: string | number | null;
|
|
9061
|
+
USDC: string | number | null;
|
|
9062
|
+
FLIP: string | number | null;
|
|
9063
|
+
USDT: string | number | null;
|
|
9064
|
+
};
|
|
9065
|
+
Arbitrum: {
|
|
9066
|
+
ETH: string | number | null;
|
|
9067
|
+
USDC: string | number | null;
|
|
9068
|
+
};
|
|
9069
|
+
Solana: {
|
|
9070
|
+
USDC: string | number | null;
|
|
9071
|
+
SOL: string | number | null;
|
|
9072
|
+
};
|
|
9073
|
+
Polkadot: {
|
|
9074
|
+
DOT: string | number | null;
|
|
9075
|
+
};
|
|
9076
|
+
Assethub?: {
|
|
9077
|
+
USDC: string | number | null;
|
|
9078
|
+
USDT: string | number | null;
|
|
9079
|
+
DOT: string | number | null;
|
|
9080
|
+
} | undefined;
|
|
9081
|
+
};
|
|
9082
|
+
network_fee_hundredth_pips: number;
|
|
9083
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
9084
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
9085
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
9086
|
+
minimum_chunk_size?: {
|
|
9087
|
+
Bitcoin: {
|
|
9088
|
+
BTC: string | number | null;
|
|
9089
|
+
};
|
|
9090
|
+
Ethereum: {
|
|
9091
|
+
ETH: string | number | null;
|
|
9092
|
+
USDC: string | number | null;
|
|
9093
|
+
FLIP: string | number | null;
|
|
9094
|
+
USDT: string | number | null;
|
|
9095
|
+
};
|
|
9096
|
+
Arbitrum: {
|
|
9097
|
+
ETH: string | number | null;
|
|
9098
|
+
USDC: string | number | null;
|
|
9099
|
+
};
|
|
9100
|
+
Solana: {
|
|
9101
|
+
USDC: string | number | null;
|
|
9102
|
+
SOL: string | number | null;
|
|
9103
|
+
};
|
|
9104
|
+
Polkadot: {
|
|
9105
|
+
DOT: string | number | null;
|
|
9106
|
+
};
|
|
9107
|
+
Assethub?: {
|
|
9108
|
+
USDC: string | number | null;
|
|
9109
|
+
USDT: string | number | null;
|
|
9110
|
+
DOT: string | number | null;
|
|
9111
|
+
} | undefined;
|
|
9112
|
+
} | undefined;
|
|
9113
|
+
}>;
|
|
8862
9114
|
funding: z.ZodObject<{
|
|
8863
9115
|
redemption_tax: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
8864
9116
|
minimum_funding_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
@@ -13663,14 +13915,6 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
13663
13915
|
Polkadot: bigint;
|
|
13664
13916
|
Assethub: bigint;
|
|
13665
13917
|
};
|
|
13666
|
-
max_swap_retry_duration_blocks: {
|
|
13667
|
-
Bitcoin: number;
|
|
13668
|
-
Ethereum: number;
|
|
13669
|
-
Arbitrum: number;
|
|
13670
|
-
Solana: number;
|
|
13671
|
-
Polkadot: number;
|
|
13672
|
-
Assethub: number;
|
|
13673
|
-
};
|
|
13674
13918
|
}, "egress_dust_limits"> & {
|
|
13675
13919
|
readonly minimum_egress_amounts: {
|
|
13676
13920
|
Bitcoin: {
|
|
@@ -13729,6 +13973,36 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
13729
13973
|
};
|
|
13730
13974
|
};
|
|
13731
13975
|
network_fee_hundredth_pips: number;
|
|
13976
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
13977
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
13978
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
13979
|
+
minimum_chunk_size?: {
|
|
13980
|
+
Bitcoin: {
|
|
13981
|
+
BTC: bigint | null;
|
|
13982
|
+
};
|
|
13983
|
+
Ethereum: {
|
|
13984
|
+
ETH: bigint | null;
|
|
13985
|
+
USDC: bigint | null;
|
|
13986
|
+
FLIP: bigint | null;
|
|
13987
|
+
USDT: bigint | null;
|
|
13988
|
+
};
|
|
13989
|
+
Arbitrum: {
|
|
13990
|
+
ETH: bigint | null;
|
|
13991
|
+
USDC: bigint | null;
|
|
13992
|
+
};
|
|
13993
|
+
Solana: {
|
|
13994
|
+
USDC: bigint | null;
|
|
13995
|
+
SOL: bigint | null;
|
|
13996
|
+
};
|
|
13997
|
+
Polkadot: {
|
|
13998
|
+
DOT: bigint | null;
|
|
13999
|
+
};
|
|
14000
|
+
Assethub: {
|
|
14001
|
+
USDC: bigint | null;
|
|
14002
|
+
USDT: bigint | null;
|
|
14003
|
+
DOT: bigint | null;
|
|
14004
|
+
};
|
|
14005
|
+
} | undefined;
|
|
13732
14006
|
};
|
|
13733
14007
|
funding: {
|
|
13734
14008
|
redemption_tax: bigint;
|
|
@@ -14440,14 +14714,6 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
14440
14714
|
Polkadot: string | number;
|
|
14441
14715
|
Assethub?: string | number | undefined;
|
|
14442
14716
|
};
|
|
14443
|
-
max_swap_retry_duration_blocks: {
|
|
14444
|
-
Bitcoin: number;
|
|
14445
|
-
Ethereum: number;
|
|
14446
|
-
Arbitrum: number;
|
|
14447
|
-
Solana: number;
|
|
14448
|
-
Polkadot: number;
|
|
14449
|
-
Assethub?: number | undefined;
|
|
14450
|
-
};
|
|
14451
14717
|
};
|
|
14452
14718
|
swapping: {
|
|
14453
14719
|
maximum_swap_amounts: {
|
|
@@ -14478,6 +14744,36 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
14478
14744
|
} | undefined;
|
|
14479
14745
|
};
|
|
14480
14746
|
network_fee_hundredth_pips: number;
|
|
14747
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
14748
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
14749
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
14750
|
+
minimum_chunk_size?: {
|
|
14751
|
+
Bitcoin: {
|
|
14752
|
+
BTC: string | number | null;
|
|
14753
|
+
};
|
|
14754
|
+
Ethereum: {
|
|
14755
|
+
ETH: string | number | null;
|
|
14756
|
+
USDC: string | number | null;
|
|
14757
|
+
FLIP: string | number | null;
|
|
14758
|
+
USDT: string | number | null;
|
|
14759
|
+
};
|
|
14760
|
+
Arbitrum: {
|
|
14761
|
+
ETH: string | number | null;
|
|
14762
|
+
USDC: string | number | null;
|
|
14763
|
+
};
|
|
14764
|
+
Solana: {
|
|
14765
|
+
USDC: string | number | null;
|
|
14766
|
+
SOL: string | number | null;
|
|
14767
|
+
};
|
|
14768
|
+
Polkadot: {
|
|
14769
|
+
DOT: string | number | null;
|
|
14770
|
+
};
|
|
14771
|
+
Assethub?: {
|
|
14772
|
+
USDC: string | number | null;
|
|
14773
|
+
USDT: string | number | null;
|
|
14774
|
+
DOT: string | number | null;
|
|
14775
|
+
} | undefined;
|
|
14776
|
+
} | undefined;
|
|
14481
14777
|
};
|
|
14482
14778
|
funding: {
|
|
14483
14779
|
redemption_tax: string | number;
|
|
@@ -21169,5 +21465,297 @@ declare const cfGetTradingStrategies: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
|
21169
21465
|
asset: "USDT";
|
|
21170
21466
|
}, string | number][];
|
|
21171
21467
|
}>, "many">>;
|
|
21468
|
+
declare const cfAvailablePools: z.ZodArray<z.ZodObject<{
|
|
21469
|
+
base: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
21470
|
+
chain: z.ZodLiteral<"Bitcoin">;
|
|
21471
|
+
asset: z.ZodLiteral<"BTC">;
|
|
21472
|
+
}, "strip", z.ZodTypeAny, {
|
|
21473
|
+
chain: "Bitcoin";
|
|
21474
|
+
asset: "BTC";
|
|
21475
|
+
}, {
|
|
21476
|
+
chain: "Bitcoin";
|
|
21477
|
+
asset: "BTC";
|
|
21478
|
+
}>, z.ZodObject<{
|
|
21479
|
+
chain: z.ZodLiteral<"Polkadot">;
|
|
21480
|
+
asset: z.ZodLiteral<"DOT">;
|
|
21481
|
+
}, "strip", z.ZodTypeAny, {
|
|
21482
|
+
chain: "Polkadot";
|
|
21483
|
+
asset: "DOT";
|
|
21484
|
+
}, {
|
|
21485
|
+
chain: "Polkadot";
|
|
21486
|
+
asset: "DOT";
|
|
21487
|
+
}>, z.ZodObject<{
|
|
21488
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
21489
|
+
asset: z.ZodLiteral<"FLIP">;
|
|
21490
|
+
}, "strip", z.ZodTypeAny, {
|
|
21491
|
+
chain: "Ethereum";
|
|
21492
|
+
asset: "FLIP";
|
|
21493
|
+
}, {
|
|
21494
|
+
chain: "Ethereum";
|
|
21495
|
+
asset: "FLIP";
|
|
21496
|
+
}>, z.ZodObject<{
|
|
21497
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
21498
|
+
asset: z.ZodLiteral<"ETH">;
|
|
21499
|
+
}, "strip", z.ZodTypeAny, {
|
|
21500
|
+
chain: "Ethereum";
|
|
21501
|
+
asset: "ETH";
|
|
21502
|
+
}, {
|
|
21503
|
+
chain: "Ethereum";
|
|
21504
|
+
asset: "ETH";
|
|
21505
|
+
}>, z.ZodObject<{
|
|
21506
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
21507
|
+
asset: z.ZodLiteral<"USDC">;
|
|
21508
|
+
}, "strip", z.ZodTypeAny, {
|
|
21509
|
+
chain: "Ethereum";
|
|
21510
|
+
asset: "USDC";
|
|
21511
|
+
}, {
|
|
21512
|
+
chain: "Ethereum";
|
|
21513
|
+
asset: "USDC";
|
|
21514
|
+
}>, z.ZodObject<{
|
|
21515
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
21516
|
+
asset: z.ZodLiteral<"USDT">;
|
|
21517
|
+
}, "strip", z.ZodTypeAny, {
|
|
21518
|
+
chain: "Ethereum";
|
|
21519
|
+
asset: "USDT";
|
|
21520
|
+
}, {
|
|
21521
|
+
chain: "Ethereum";
|
|
21522
|
+
asset: "USDT";
|
|
21523
|
+
}>, z.ZodObject<{
|
|
21524
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
21525
|
+
asset: z.ZodLiteral<"ETH">;
|
|
21526
|
+
}, "strip", z.ZodTypeAny, {
|
|
21527
|
+
chain: "Arbitrum";
|
|
21528
|
+
asset: "ETH";
|
|
21529
|
+
}, {
|
|
21530
|
+
chain: "Arbitrum";
|
|
21531
|
+
asset: "ETH";
|
|
21532
|
+
}>, z.ZodObject<{
|
|
21533
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
21534
|
+
asset: z.ZodLiteral<"USDC">;
|
|
21535
|
+
}, "strip", z.ZodTypeAny, {
|
|
21536
|
+
chain: "Arbitrum";
|
|
21537
|
+
asset: "USDC";
|
|
21538
|
+
}, {
|
|
21539
|
+
chain: "Arbitrum";
|
|
21540
|
+
asset: "USDC";
|
|
21541
|
+
}>, z.ZodObject<{
|
|
21542
|
+
chain: z.ZodLiteral<"Solana">;
|
|
21543
|
+
asset: z.ZodLiteral<"SOL">;
|
|
21544
|
+
}, "strip", z.ZodTypeAny, {
|
|
21545
|
+
chain: "Solana";
|
|
21546
|
+
asset: "SOL";
|
|
21547
|
+
}, {
|
|
21548
|
+
chain: "Solana";
|
|
21549
|
+
asset: "SOL";
|
|
21550
|
+
}>, z.ZodObject<{
|
|
21551
|
+
chain: z.ZodLiteral<"Solana">;
|
|
21552
|
+
asset: z.ZodLiteral<"USDC">;
|
|
21553
|
+
}, "strip", z.ZodTypeAny, {
|
|
21554
|
+
chain: "Solana";
|
|
21555
|
+
asset: "USDC";
|
|
21556
|
+
}, {
|
|
21557
|
+
chain: "Solana";
|
|
21558
|
+
asset: "USDC";
|
|
21559
|
+
}>, z.ZodObject<{
|
|
21560
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
21561
|
+
asset: z.ZodLiteral<"DOT">;
|
|
21562
|
+
}, "strip", z.ZodTypeAny, {
|
|
21563
|
+
chain: "Assethub";
|
|
21564
|
+
asset: "DOT";
|
|
21565
|
+
}, {
|
|
21566
|
+
chain: "Assethub";
|
|
21567
|
+
asset: "DOT";
|
|
21568
|
+
}>, z.ZodObject<{
|
|
21569
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
21570
|
+
asset: z.ZodLiteral<"USDC">;
|
|
21571
|
+
}, "strip", z.ZodTypeAny, {
|
|
21572
|
+
chain: "Assethub";
|
|
21573
|
+
asset: "USDC";
|
|
21574
|
+
}, {
|
|
21575
|
+
chain: "Assethub";
|
|
21576
|
+
asset: "USDC";
|
|
21577
|
+
}>, z.ZodObject<{
|
|
21578
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
21579
|
+
asset: z.ZodLiteral<"USDT">;
|
|
21580
|
+
}, "strip", z.ZodTypeAny, {
|
|
21581
|
+
chain: "Assethub";
|
|
21582
|
+
asset: "USDT";
|
|
21583
|
+
}, {
|
|
21584
|
+
chain: "Assethub";
|
|
21585
|
+
asset: "USDT";
|
|
21586
|
+
}>]>, {
|
|
21587
|
+
chain: "Bitcoin";
|
|
21588
|
+
asset: "BTC";
|
|
21589
|
+
} | {
|
|
21590
|
+
chain: "Polkadot";
|
|
21591
|
+
asset: "DOT";
|
|
21592
|
+
} | {
|
|
21593
|
+
chain: "Ethereum";
|
|
21594
|
+
asset: "FLIP";
|
|
21595
|
+
} | {
|
|
21596
|
+
chain: "Ethereum";
|
|
21597
|
+
asset: "ETH";
|
|
21598
|
+
} | {
|
|
21599
|
+
chain: "Ethereum";
|
|
21600
|
+
asset: "USDT";
|
|
21601
|
+
} | {
|
|
21602
|
+
chain: "Arbitrum";
|
|
21603
|
+
asset: "ETH";
|
|
21604
|
+
} | {
|
|
21605
|
+
chain: "Arbitrum";
|
|
21606
|
+
asset: "USDC";
|
|
21607
|
+
} | {
|
|
21608
|
+
chain: "Solana";
|
|
21609
|
+
asset: "SOL";
|
|
21610
|
+
} | {
|
|
21611
|
+
chain: "Solana";
|
|
21612
|
+
asset: "USDC";
|
|
21613
|
+
} | {
|
|
21614
|
+
chain: "Assethub";
|
|
21615
|
+
asset: "DOT";
|
|
21616
|
+
} | {
|
|
21617
|
+
chain: "Assethub";
|
|
21618
|
+
asset: "USDC";
|
|
21619
|
+
} | {
|
|
21620
|
+
chain: "Assethub";
|
|
21621
|
+
asset: "USDT";
|
|
21622
|
+
}, {
|
|
21623
|
+
chain: "Bitcoin";
|
|
21624
|
+
asset: "BTC";
|
|
21625
|
+
} | {
|
|
21626
|
+
chain: "Polkadot";
|
|
21627
|
+
asset: "DOT";
|
|
21628
|
+
} | {
|
|
21629
|
+
chain: "Ethereum";
|
|
21630
|
+
asset: "FLIP";
|
|
21631
|
+
} | {
|
|
21632
|
+
chain: "Ethereum";
|
|
21633
|
+
asset: "ETH";
|
|
21634
|
+
} | {
|
|
21635
|
+
chain: "Ethereum";
|
|
21636
|
+
asset: "USDC";
|
|
21637
|
+
} | {
|
|
21638
|
+
chain: "Ethereum";
|
|
21639
|
+
asset: "USDT";
|
|
21640
|
+
} | {
|
|
21641
|
+
chain: "Arbitrum";
|
|
21642
|
+
asset: "ETH";
|
|
21643
|
+
} | {
|
|
21644
|
+
chain: "Arbitrum";
|
|
21645
|
+
asset: "USDC";
|
|
21646
|
+
} | {
|
|
21647
|
+
chain: "Solana";
|
|
21648
|
+
asset: "SOL";
|
|
21649
|
+
} | {
|
|
21650
|
+
chain: "Solana";
|
|
21651
|
+
asset: "USDC";
|
|
21652
|
+
} | {
|
|
21653
|
+
chain: "Assethub";
|
|
21654
|
+
asset: "DOT";
|
|
21655
|
+
} | {
|
|
21656
|
+
chain: "Assethub";
|
|
21657
|
+
asset: "USDC";
|
|
21658
|
+
} | {
|
|
21659
|
+
chain: "Assethub";
|
|
21660
|
+
asset: "USDT";
|
|
21661
|
+
}>;
|
|
21662
|
+
quote: z.ZodObject<{
|
|
21663
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
21664
|
+
asset: z.ZodLiteral<"USDC">;
|
|
21665
|
+
}, "strip", z.ZodTypeAny, {
|
|
21666
|
+
chain: "Ethereum";
|
|
21667
|
+
asset: "USDC";
|
|
21668
|
+
}, {
|
|
21669
|
+
chain: "Ethereum";
|
|
21670
|
+
asset: "USDC";
|
|
21671
|
+
}>;
|
|
21672
|
+
}, "strip", z.ZodTypeAny, {
|
|
21673
|
+
base: {
|
|
21674
|
+
chain: "Bitcoin";
|
|
21675
|
+
asset: "BTC";
|
|
21676
|
+
} | {
|
|
21677
|
+
chain: "Polkadot";
|
|
21678
|
+
asset: "DOT";
|
|
21679
|
+
} | {
|
|
21680
|
+
chain: "Ethereum";
|
|
21681
|
+
asset: "FLIP";
|
|
21682
|
+
} | {
|
|
21683
|
+
chain: "Ethereum";
|
|
21684
|
+
asset: "ETH";
|
|
21685
|
+
} | {
|
|
21686
|
+
chain: "Ethereum";
|
|
21687
|
+
asset: "USDT";
|
|
21688
|
+
} | {
|
|
21689
|
+
chain: "Arbitrum";
|
|
21690
|
+
asset: "ETH";
|
|
21691
|
+
} | {
|
|
21692
|
+
chain: "Arbitrum";
|
|
21693
|
+
asset: "USDC";
|
|
21694
|
+
} | {
|
|
21695
|
+
chain: "Solana";
|
|
21696
|
+
asset: "SOL";
|
|
21697
|
+
} | {
|
|
21698
|
+
chain: "Solana";
|
|
21699
|
+
asset: "USDC";
|
|
21700
|
+
} | {
|
|
21701
|
+
chain: "Assethub";
|
|
21702
|
+
asset: "DOT";
|
|
21703
|
+
} | {
|
|
21704
|
+
chain: "Assethub";
|
|
21705
|
+
asset: "USDC";
|
|
21706
|
+
} | {
|
|
21707
|
+
chain: "Assethub";
|
|
21708
|
+
asset: "USDT";
|
|
21709
|
+
};
|
|
21710
|
+
quote: {
|
|
21711
|
+
chain: "Ethereum";
|
|
21712
|
+
asset: "USDC";
|
|
21713
|
+
};
|
|
21714
|
+
}, {
|
|
21715
|
+
base: {
|
|
21716
|
+
chain: "Bitcoin";
|
|
21717
|
+
asset: "BTC";
|
|
21718
|
+
} | {
|
|
21719
|
+
chain: "Polkadot";
|
|
21720
|
+
asset: "DOT";
|
|
21721
|
+
} | {
|
|
21722
|
+
chain: "Ethereum";
|
|
21723
|
+
asset: "FLIP";
|
|
21724
|
+
} | {
|
|
21725
|
+
chain: "Ethereum";
|
|
21726
|
+
asset: "ETH";
|
|
21727
|
+
} | {
|
|
21728
|
+
chain: "Ethereum";
|
|
21729
|
+
asset: "USDC";
|
|
21730
|
+
} | {
|
|
21731
|
+
chain: "Ethereum";
|
|
21732
|
+
asset: "USDT";
|
|
21733
|
+
} | {
|
|
21734
|
+
chain: "Arbitrum";
|
|
21735
|
+
asset: "ETH";
|
|
21736
|
+
} | {
|
|
21737
|
+
chain: "Arbitrum";
|
|
21738
|
+
asset: "USDC";
|
|
21739
|
+
} | {
|
|
21740
|
+
chain: "Solana";
|
|
21741
|
+
asset: "SOL";
|
|
21742
|
+
} | {
|
|
21743
|
+
chain: "Solana";
|
|
21744
|
+
asset: "USDC";
|
|
21745
|
+
} | {
|
|
21746
|
+
chain: "Assethub";
|
|
21747
|
+
asset: "DOT";
|
|
21748
|
+
} | {
|
|
21749
|
+
chain: "Assethub";
|
|
21750
|
+
asset: "USDC";
|
|
21751
|
+
} | {
|
|
21752
|
+
chain: "Assethub";
|
|
21753
|
+
asset: "USDT";
|
|
21754
|
+
};
|
|
21755
|
+
quote: {
|
|
21756
|
+
chain: "Ethereum";
|
|
21757
|
+
asset: "USDC";
|
|
21758
|
+
};
|
|
21759
|
+
}>, "many">;
|
|
21172
21760
|
|
|
21173
|
-
export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|
|
21761
|
+
export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfAvailablePools, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|