@chainflip/rpc 1.11.6 → 1.11.8
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.d.cts +285 -56
- package/dist/common.d.ts +285 -56
- package/dist/parsers.cjs +9 -2
- package/dist/parsers.d.cts +289 -60
- package/dist/parsers.d.ts +289 -60
- package/dist/parsers.mjs +9 -2
- package/package.json +2 -2
package/dist/parsers.d.ts
CHANGED
|
@@ -2170,6 +2170,46 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2170
2170
|
Solana: string | number;
|
|
2171
2171
|
Assethub: string | number;
|
|
2172
2172
|
}>;
|
|
2173
|
+
ingress_delays: z.ZodOptional<z.ZodObject<Omit<{
|
|
2174
|
+
Bitcoin: z.ZodNumber;
|
|
2175
|
+
Ethereum: z.ZodNumber;
|
|
2176
|
+
Polkadot: z.ZodNumber;
|
|
2177
|
+
Arbitrum: z.ZodNumber;
|
|
2178
|
+
Solana: z.ZodNumber;
|
|
2179
|
+
Assethub: z.ZodNumber;
|
|
2180
|
+
}, "Polkadot">, "strip", z.ZodTypeAny, {
|
|
2181
|
+
Bitcoin: number;
|
|
2182
|
+
Ethereum: number;
|
|
2183
|
+
Arbitrum: number;
|
|
2184
|
+
Solana: number;
|
|
2185
|
+
Assethub: number;
|
|
2186
|
+
}, {
|
|
2187
|
+
Bitcoin: number;
|
|
2188
|
+
Ethereum: number;
|
|
2189
|
+
Arbitrum: number;
|
|
2190
|
+
Solana: number;
|
|
2191
|
+
Assethub: number;
|
|
2192
|
+
}>>;
|
|
2193
|
+
boost_delays: z.ZodOptional<z.ZodObject<Omit<{
|
|
2194
|
+
Bitcoin: z.ZodNumber;
|
|
2195
|
+
Ethereum: z.ZodNumber;
|
|
2196
|
+
Polkadot: z.ZodNumber;
|
|
2197
|
+
Arbitrum: z.ZodNumber;
|
|
2198
|
+
Solana: z.ZodNumber;
|
|
2199
|
+
Assethub: z.ZodNumber;
|
|
2200
|
+
}, "Polkadot">, "strip", z.ZodTypeAny, {
|
|
2201
|
+
Bitcoin: number;
|
|
2202
|
+
Ethereum: number;
|
|
2203
|
+
Arbitrum: number;
|
|
2204
|
+
Solana: number;
|
|
2205
|
+
Assethub: number;
|
|
2206
|
+
}, {
|
|
2207
|
+
Bitcoin: number;
|
|
2208
|
+
Ethereum: number;
|
|
2209
|
+
Arbitrum: number;
|
|
2210
|
+
Solana: number;
|
|
2211
|
+
Assethub: number;
|
|
2212
|
+
}>>;
|
|
2173
2213
|
}, "strip", z.ZodTypeAny, {
|
|
2174
2214
|
minimum_deposit_amounts: {
|
|
2175
2215
|
Bitcoin: {
|
|
@@ -2281,6 +2321,20 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2281
2321
|
Solana: bigint;
|
|
2282
2322
|
Assethub: bigint;
|
|
2283
2323
|
};
|
|
2324
|
+
ingress_delays?: {
|
|
2325
|
+
Bitcoin: number;
|
|
2326
|
+
Ethereum: number;
|
|
2327
|
+
Arbitrum: number;
|
|
2328
|
+
Solana: number;
|
|
2329
|
+
Assethub: number;
|
|
2330
|
+
} | undefined;
|
|
2331
|
+
boost_delays?: {
|
|
2332
|
+
Bitcoin: number;
|
|
2333
|
+
Ethereum: number;
|
|
2334
|
+
Arbitrum: number;
|
|
2335
|
+
Solana: number;
|
|
2336
|
+
Assethub: number;
|
|
2337
|
+
} | undefined;
|
|
2284
2338
|
}, {
|
|
2285
2339
|
minimum_deposit_amounts: {
|
|
2286
2340
|
Bitcoin: {
|
|
@@ -2392,6 +2446,20 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2392
2446
|
Solana: string | number;
|
|
2393
2447
|
Assethub: string | number;
|
|
2394
2448
|
};
|
|
2449
|
+
ingress_delays?: {
|
|
2450
|
+
Bitcoin: number;
|
|
2451
|
+
Ethereum: number;
|
|
2452
|
+
Arbitrum: number;
|
|
2453
|
+
Solana: number;
|
|
2454
|
+
Assethub: number;
|
|
2455
|
+
} | undefined;
|
|
2456
|
+
boost_delays?: {
|
|
2457
|
+
Bitcoin: number;
|
|
2458
|
+
Ethereum: number;
|
|
2459
|
+
Arbitrum: number;
|
|
2460
|
+
Solana: number;
|
|
2461
|
+
Assethub: number;
|
|
2462
|
+
} | undefined;
|
|
2395
2463
|
}>, Rename<{
|
|
2396
2464
|
minimum_deposit_amounts: {
|
|
2397
2465
|
Bitcoin: {
|
|
@@ -2503,6 +2571,20 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2503
2571
|
Solana: bigint;
|
|
2504
2572
|
Assethub: bigint;
|
|
2505
2573
|
};
|
|
2574
|
+
ingress_delays?: {
|
|
2575
|
+
Bitcoin: number;
|
|
2576
|
+
Ethereum: number;
|
|
2577
|
+
Arbitrum: number;
|
|
2578
|
+
Solana: number;
|
|
2579
|
+
Assethub: number;
|
|
2580
|
+
} | undefined;
|
|
2581
|
+
boost_delays?: {
|
|
2582
|
+
Bitcoin: number;
|
|
2583
|
+
Ethereum: number;
|
|
2584
|
+
Arbitrum: number;
|
|
2585
|
+
Solana: number;
|
|
2586
|
+
Assethub: number;
|
|
2587
|
+
} | undefined;
|
|
2506
2588
|
}, {
|
|
2507
2589
|
readonly egress_dust_limits: "minimum_egress_amounts";
|
|
2508
2590
|
}>, {
|
|
@@ -2616,6 +2698,20 @@ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
|
|
|
2616
2698
|
Solana: string | number;
|
|
2617
2699
|
Assethub: string | number;
|
|
2618
2700
|
};
|
|
2701
|
+
ingress_delays?: {
|
|
2702
|
+
Bitcoin: number;
|
|
2703
|
+
Ethereum: number;
|
|
2704
|
+
Arbitrum: number;
|
|
2705
|
+
Solana: number;
|
|
2706
|
+
Assethub: number;
|
|
2707
|
+
} | undefined;
|
|
2708
|
+
boost_delays?: {
|
|
2709
|
+
Bitcoin: number;
|
|
2710
|
+
Ethereum: number;
|
|
2711
|
+
Arbitrum: number;
|
|
2712
|
+
Solana: number;
|
|
2713
|
+
Assethub: number;
|
|
2714
|
+
} | undefined;
|
|
2619
2715
|
}>;
|
|
2620
2716
|
declare const cfSwappingEnvironment: z.ZodObject<{
|
|
2621
2717
|
maximum_swap_amounts: z.ZodObject<Omit<{
|
|
@@ -8575,6 +8671,46 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8575
8671
|
Solana: string | number;
|
|
8576
8672
|
Assethub: string | number;
|
|
8577
8673
|
}>;
|
|
8674
|
+
ingress_delays: z.ZodOptional<z.ZodObject<Omit<{
|
|
8675
|
+
Bitcoin: z.ZodNumber;
|
|
8676
|
+
Ethereum: z.ZodNumber;
|
|
8677
|
+
Polkadot: z.ZodNumber;
|
|
8678
|
+
Arbitrum: z.ZodNumber;
|
|
8679
|
+
Solana: z.ZodNumber;
|
|
8680
|
+
Assethub: z.ZodNumber;
|
|
8681
|
+
}, "Polkadot">, "strip", z.ZodTypeAny, {
|
|
8682
|
+
Bitcoin: number;
|
|
8683
|
+
Ethereum: number;
|
|
8684
|
+
Arbitrum: number;
|
|
8685
|
+
Solana: number;
|
|
8686
|
+
Assethub: number;
|
|
8687
|
+
}, {
|
|
8688
|
+
Bitcoin: number;
|
|
8689
|
+
Ethereum: number;
|
|
8690
|
+
Arbitrum: number;
|
|
8691
|
+
Solana: number;
|
|
8692
|
+
Assethub: number;
|
|
8693
|
+
}>>;
|
|
8694
|
+
boost_delays: z.ZodOptional<z.ZodObject<Omit<{
|
|
8695
|
+
Bitcoin: z.ZodNumber;
|
|
8696
|
+
Ethereum: z.ZodNumber;
|
|
8697
|
+
Polkadot: z.ZodNumber;
|
|
8698
|
+
Arbitrum: z.ZodNumber;
|
|
8699
|
+
Solana: z.ZodNumber;
|
|
8700
|
+
Assethub: z.ZodNumber;
|
|
8701
|
+
}, "Polkadot">, "strip", z.ZodTypeAny, {
|
|
8702
|
+
Bitcoin: number;
|
|
8703
|
+
Ethereum: number;
|
|
8704
|
+
Arbitrum: number;
|
|
8705
|
+
Solana: number;
|
|
8706
|
+
Assethub: number;
|
|
8707
|
+
}, {
|
|
8708
|
+
Bitcoin: number;
|
|
8709
|
+
Ethereum: number;
|
|
8710
|
+
Arbitrum: number;
|
|
8711
|
+
Solana: number;
|
|
8712
|
+
Assethub: number;
|
|
8713
|
+
}>>;
|
|
8578
8714
|
}, "strip", z.ZodTypeAny, {
|
|
8579
8715
|
minimum_deposit_amounts: {
|
|
8580
8716
|
Bitcoin: {
|
|
@@ -8686,6 +8822,20 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8686
8822
|
Solana: bigint;
|
|
8687
8823
|
Assethub: bigint;
|
|
8688
8824
|
};
|
|
8825
|
+
ingress_delays?: {
|
|
8826
|
+
Bitcoin: number;
|
|
8827
|
+
Ethereum: number;
|
|
8828
|
+
Arbitrum: number;
|
|
8829
|
+
Solana: number;
|
|
8830
|
+
Assethub: number;
|
|
8831
|
+
} | undefined;
|
|
8832
|
+
boost_delays?: {
|
|
8833
|
+
Bitcoin: number;
|
|
8834
|
+
Ethereum: number;
|
|
8835
|
+
Arbitrum: number;
|
|
8836
|
+
Solana: number;
|
|
8837
|
+
Assethub: number;
|
|
8838
|
+
} | undefined;
|
|
8689
8839
|
}, {
|
|
8690
8840
|
minimum_deposit_amounts: {
|
|
8691
8841
|
Bitcoin: {
|
|
@@ -8797,6 +8947,20 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8797
8947
|
Solana: string | number;
|
|
8798
8948
|
Assethub: string | number;
|
|
8799
8949
|
};
|
|
8950
|
+
ingress_delays?: {
|
|
8951
|
+
Bitcoin: number;
|
|
8952
|
+
Ethereum: number;
|
|
8953
|
+
Arbitrum: number;
|
|
8954
|
+
Solana: number;
|
|
8955
|
+
Assethub: number;
|
|
8956
|
+
} | undefined;
|
|
8957
|
+
boost_delays?: {
|
|
8958
|
+
Bitcoin: number;
|
|
8959
|
+
Ethereum: number;
|
|
8960
|
+
Arbitrum: number;
|
|
8961
|
+
Solana: number;
|
|
8962
|
+
Assethub: number;
|
|
8963
|
+
} | undefined;
|
|
8800
8964
|
}>, Rename<{
|
|
8801
8965
|
minimum_deposit_amounts: {
|
|
8802
8966
|
Bitcoin: {
|
|
@@ -8908,6 +9072,20 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
8908
9072
|
Solana: bigint;
|
|
8909
9073
|
Assethub: bigint;
|
|
8910
9074
|
};
|
|
9075
|
+
ingress_delays?: {
|
|
9076
|
+
Bitcoin: number;
|
|
9077
|
+
Ethereum: number;
|
|
9078
|
+
Arbitrum: number;
|
|
9079
|
+
Solana: number;
|
|
9080
|
+
Assethub: number;
|
|
9081
|
+
} | undefined;
|
|
9082
|
+
boost_delays?: {
|
|
9083
|
+
Bitcoin: number;
|
|
9084
|
+
Ethereum: number;
|
|
9085
|
+
Arbitrum: number;
|
|
9086
|
+
Solana: number;
|
|
9087
|
+
Assethub: number;
|
|
9088
|
+
} | undefined;
|
|
8911
9089
|
}, {
|
|
8912
9090
|
readonly egress_dust_limits: "minimum_egress_amounts";
|
|
8913
9091
|
}>, {
|
|
@@ -9021,6 +9199,20 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
9021
9199
|
Solana: string | number;
|
|
9022
9200
|
Assethub: string | number;
|
|
9023
9201
|
};
|
|
9202
|
+
ingress_delays?: {
|
|
9203
|
+
Bitcoin: number;
|
|
9204
|
+
Ethereum: number;
|
|
9205
|
+
Arbitrum: number;
|
|
9206
|
+
Solana: number;
|
|
9207
|
+
Assethub: number;
|
|
9208
|
+
} | undefined;
|
|
9209
|
+
boost_delays?: {
|
|
9210
|
+
Bitcoin: number;
|
|
9211
|
+
Ethereum: number;
|
|
9212
|
+
Arbitrum: number;
|
|
9213
|
+
Solana: number;
|
|
9214
|
+
Assethub: number;
|
|
9215
|
+
} | undefined;
|
|
9024
9216
|
}>;
|
|
9025
9217
|
swapping: z.ZodObject<{
|
|
9026
9218
|
maximum_swap_amounts: z.ZodObject<Omit<{
|
|
@@ -14606,6 +14798,20 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
14606
14798
|
Solana: bigint;
|
|
14607
14799
|
Assethub: bigint;
|
|
14608
14800
|
};
|
|
14801
|
+
ingress_delays?: {
|
|
14802
|
+
Bitcoin: number;
|
|
14803
|
+
Ethereum: number;
|
|
14804
|
+
Arbitrum: number;
|
|
14805
|
+
Solana: number;
|
|
14806
|
+
Assethub: number;
|
|
14807
|
+
} | undefined;
|
|
14808
|
+
boost_delays?: {
|
|
14809
|
+
Bitcoin: number;
|
|
14810
|
+
Ethereum: number;
|
|
14811
|
+
Arbitrum: number;
|
|
14812
|
+
Solana: number;
|
|
14813
|
+
Assethub: number;
|
|
14814
|
+
} | undefined;
|
|
14609
14815
|
}, "egress_dust_limits"> & {
|
|
14610
14816
|
readonly minimum_egress_amounts: {
|
|
14611
14817
|
Bitcoin: {
|
|
@@ -15395,6 +15601,20 @@ declare const cfEnvironment: z.ZodObject<{
|
|
|
15395
15601
|
Solana: string | number;
|
|
15396
15602
|
Assethub: string | number;
|
|
15397
15603
|
};
|
|
15604
|
+
ingress_delays?: {
|
|
15605
|
+
Bitcoin: number;
|
|
15606
|
+
Ethereum: number;
|
|
15607
|
+
Arbitrum: number;
|
|
15608
|
+
Solana: number;
|
|
15609
|
+
Assethub: number;
|
|
15610
|
+
} | undefined;
|
|
15611
|
+
boost_delays?: {
|
|
15612
|
+
Bitcoin: number;
|
|
15613
|
+
Ethereum: number;
|
|
15614
|
+
Arbitrum: number;
|
|
15615
|
+
Solana: number;
|
|
15616
|
+
Assethub: number;
|
|
15617
|
+
} | undefined;
|
|
15398
15618
|
};
|
|
15399
15619
|
swapping: {
|
|
15400
15620
|
maximum_swap_amounts: {
|
|
@@ -15916,11 +16136,11 @@ declare const cfBoostPoolsDepth: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodO
|
|
|
15916
16136
|
tier: z.ZodNumber;
|
|
15917
16137
|
available_amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
15918
16138
|
}, "strip", z.ZodTypeAny, {
|
|
15919
|
-
available_amount: bigint;
|
|
15920
16139
|
tier: number;
|
|
16140
|
+
available_amount: bigint;
|
|
15921
16141
|
}, {
|
|
15922
|
-
available_amount: string;
|
|
15923
16142
|
tier: number;
|
|
16143
|
+
available_amount: string;
|
|
15924
16144
|
}>>, "many">;
|
|
15925
16145
|
declare const cfPoolDepth: z.ZodNullable<z.ZodObject<{
|
|
15926
16146
|
asks: z.ZodObject<{
|
|
@@ -18143,11 +18363,11 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
18143
18363
|
total_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
18144
18364
|
available_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
18145
18365
|
}, "strip", z.ZodTypeAny, {
|
|
18146
|
-
total_amount: bigint;
|
|
18147
18366
|
available_amount: bigint;
|
|
18367
|
+
total_amount: bigint;
|
|
18148
18368
|
}, {
|
|
18149
|
-
total_amount: string | number;
|
|
18150
18369
|
available_amount: string | number;
|
|
18370
|
+
total_amount: string | number;
|
|
18151
18371
|
}>>, "many">>;
|
|
18152
18372
|
collateral_balances: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
18153
18373
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -18618,8 +18838,8 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
18618
18838
|
chain: "Assethub";
|
|
18619
18839
|
asset: "USDT";
|
|
18620
18840
|
}) & {
|
|
18621
|
-
total_amount: bigint;
|
|
18622
18841
|
available_amount: bigint;
|
|
18842
|
+
total_amount: bigint;
|
|
18623
18843
|
})[] | undefined;
|
|
18624
18844
|
collateral_balances?: (({
|
|
18625
18845
|
chain: "Bitcoin";
|
|
@@ -18870,8 +19090,8 @@ declare const liquidityProvider: z.ZodObject<{
|
|
|
18870
19090
|
chain: "Assethub";
|
|
18871
19091
|
asset: "USDT";
|
|
18872
19092
|
}) & {
|
|
18873
|
-
total_amount: string | number;
|
|
18874
19093
|
available_amount: string | number;
|
|
19094
|
+
total_amount: string | number;
|
|
18875
19095
|
})[] | undefined;
|
|
18876
19096
|
collateral_balances?: (({
|
|
18877
19097
|
chain: "Bitcoin";
|
|
@@ -20964,11 +21184,11 @@ declare const cfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.Zod
|
|
|
20964
21184
|
total_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
20965
21185
|
available_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
20966
21186
|
}, "strip", z.ZodTypeAny, {
|
|
20967
|
-
total_amount: bigint;
|
|
20968
21187
|
available_amount: bigint;
|
|
21188
|
+
total_amount: bigint;
|
|
20969
21189
|
}, {
|
|
20970
|
-
total_amount: string | number;
|
|
20971
21190
|
available_amount: string | number;
|
|
21191
|
+
total_amount: string | number;
|
|
20972
21192
|
}>>, "many">>;
|
|
20973
21193
|
collateral_balances: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
20974
21194
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -21439,8 +21659,8 @@ declare const cfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.Zod
|
|
|
21439
21659
|
chain: "Assethub";
|
|
21440
21660
|
asset: "USDT";
|
|
21441
21661
|
}) & {
|
|
21442
|
-
total_amount: bigint;
|
|
21443
21662
|
available_amount: bigint;
|
|
21663
|
+
total_amount: bigint;
|
|
21444
21664
|
})[] | undefined;
|
|
21445
21665
|
collateral_balances?: (({
|
|
21446
21666
|
chain: "Bitcoin";
|
|
@@ -21691,8 +21911,8 @@ declare const cfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.Zod
|
|
|
21691
21911
|
chain: "Assethub";
|
|
21692
21912
|
asset: "USDT";
|
|
21693
21913
|
}) & {
|
|
21694
|
-
total_amount: string | number;
|
|
21695
21914
|
available_amount: string | number;
|
|
21915
|
+
total_amount: string | number;
|
|
21696
21916
|
})[] | undefined;
|
|
21697
21917
|
collateral_balances?: (({
|
|
21698
21918
|
chain: "Bitcoin";
|
|
@@ -22302,8 +22522,8 @@ declare const cfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.Zod
|
|
|
22302
22522
|
chain: "Assethub";
|
|
22303
22523
|
asset: "USDT";
|
|
22304
22524
|
}) & {
|
|
22305
|
-
total_amount: bigint;
|
|
22306
22525
|
available_amount: bigint;
|
|
22526
|
+
total_amount: bigint;
|
|
22307
22527
|
})[] | undefined;
|
|
22308
22528
|
collateral_balances?: (({
|
|
22309
22529
|
chain: "Bitcoin";
|
|
@@ -22822,8 +23042,8 @@ declare const cfAccountInfo: z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.Zod
|
|
|
22822
23042
|
chain: "Assethub";
|
|
22823
23043
|
asset: "USDT";
|
|
22824
23044
|
}) & {
|
|
22825
|
-
total_amount: string | number;
|
|
22826
23045
|
available_amount: string | number;
|
|
23046
|
+
total_amount: string | number;
|
|
22827
23047
|
})[] | undefined;
|
|
22828
23048
|
collateral_balances?: (({
|
|
22829
23049
|
chain: "Bitcoin";
|
|
@@ -23160,8 +23380,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
23160
23380
|
asset: "USDT";
|
|
23161
23381
|
}>]>;
|
|
23162
23382
|
}, "strip", z.ZodTypeAny, {
|
|
23163
|
-
buy: bigint | null;
|
|
23164
|
-
sell: bigint | null;
|
|
23165
23383
|
quote_asset: {
|
|
23166
23384
|
chain: "Bitcoin";
|
|
23167
23385
|
asset: "BTC";
|
|
@@ -23202,6 +23420,8 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
23202
23420
|
chain: "Assethub";
|
|
23203
23421
|
asset: "USDT";
|
|
23204
23422
|
};
|
|
23423
|
+
sell: bigint | null;
|
|
23424
|
+
buy: bigint | null;
|
|
23205
23425
|
range_order: bigint;
|
|
23206
23426
|
base_asset: {
|
|
23207
23427
|
chain: "Bitcoin";
|
|
@@ -23244,8 +23464,6 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
23244
23464
|
asset: "USDT";
|
|
23245
23465
|
};
|
|
23246
23466
|
}, {
|
|
23247
|
-
buy: string | number | null;
|
|
23248
|
-
sell: string | number | null;
|
|
23249
23467
|
quote_asset: {
|
|
23250
23468
|
chain: "Bitcoin";
|
|
23251
23469
|
asset: "BTC";
|
|
@@ -23286,6 +23504,8 @@ declare const cfPoolPriceV2: z.ZodObject<{
|
|
|
23286
23504
|
chain: "Assethub";
|
|
23287
23505
|
asset: "USDT";
|
|
23288
23506
|
};
|
|
23507
|
+
sell: string | number | null;
|
|
23508
|
+
buy: string | number | null;
|
|
23289
23509
|
range_order: string | number;
|
|
23290
23510
|
base_asset: {
|
|
23291
23511
|
chain: "Bitcoin";
|
|
@@ -23856,11 +24076,11 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
23856
24076
|
account_id: z.ZodString;
|
|
23857
24077
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
23858
24078
|
}, "strip", z.ZodTypeAny, {
|
|
23859
|
-
account_id: string;
|
|
23860
24079
|
amount: bigint;
|
|
23861
|
-
}, {
|
|
23862
24080
|
account_id: string;
|
|
24081
|
+
}, {
|
|
23863
24082
|
amount: string;
|
|
24083
|
+
account_id: string;
|
|
23864
24084
|
}>, "many">;
|
|
23865
24085
|
deposits_pending_finalization: z.ZodArray<z.ZodObject<{
|
|
23866
24086
|
deposit_id: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
@@ -23868,23 +24088,23 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
23868
24088
|
account_id: z.ZodString;
|
|
23869
24089
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
23870
24090
|
}, "strip", z.ZodTypeAny, {
|
|
23871
|
-
account_id: string;
|
|
23872
24091
|
amount: bigint;
|
|
23873
|
-
}, {
|
|
23874
24092
|
account_id: string;
|
|
24093
|
+
}, {
|
|
23875
24094
|
amount: string;
|
|
24095
|
+
account_id: string;
|
|
23876
24096
|
}>, "many">;
|
|
23877
24097
|
}, "strip", z.ZodTypeAny, {
|
|
23878
24098
|
deposit_id: bigint;
|
|
23879
24099
|
owed_amounts: {
|
|
23880
|
-
account_id: string;
|
|
23881
24100
|
amount: bigint;
|
|
24101
|
+
account_id: string;
|
|
23882
24102
|
}[];
|
|
23883
24103
|
}, {
|
|
23884
24104
|
deposit_id: string | number;
|
|
23885
24105
|
owed_amounts: {
|
|
23886
|
-
account_id: string;
|
|
23887
24106
|
amount: string;
|
|
24107
|
+
account_id: string;
|
|
23888
24108
|
}[];
|
|
23889
24109
|
}>, "many">;
|
|
23890
24110
|
pending_withdrawals: z.ZodArray<z.ZodObject<{
|
|
@@ -23901,14 +24121,14 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
23901
24121
|
}, "strip", z.ZodTypeAny, {
|
|
23902
24122
|
fee_tier: number;
|
|
23903
24123
|
available_amounts: {
|
|
23904
|
-
account_id: string;
|
|
23905
24124
|
amount: bigint;
|
|
24125
|
+
account_id: string;
|
|
23906
24126
|
}[];
|
|
23907
24127
|
deposits_pending_finalization: {
|
|
23908
24128
|
deposit_id: bigint;
|
|
23909
24129
|
owed_amounts: {
|
|
23910
|
-
account_id: string;
|
|
23911
24130
|
amount: bigint;
|
|
24131
|
+
account_id: string;
|
|
23912
24132
|
}[];
|
|
23913
24133
|
}[];
|
|
23914
24134
|
pending_withdrawals: {
|
|
@@ -23919,14 +24139,14 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
23919
24139
|
}, {
|
|
23920
24140
|
fee_tier: number;
|
|
23921
24141
|
available_amounts: {
|
|
23922
|
-
account_id: string;
|
|
23923
24142
|
amount: string;
|
|
24143
|
+
account_id: string;
|
|
23924
24144
|
}[];
|
|
23925
24145
|
deposits_pending_finalization: {
|
|
23926
24146
|
deposit_id: string | number;
|
|
23927
24147
|
owed_amounts: {
|
|
23928
|
-
account_id: string;
|
|
23929
24148
|
amount: string;
|
|
24149
|
+
account_id: string;
|
|
23930
24150
|
}[];
|
|
23931
24151
|
}[];
|
|
23932
24152
|
pending_withdrawals: {
|
|
@@ -24060,22 +24280,22 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
24060
24280
|
account_id: z.ZodString;
|
|
24061
24281
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
24062
24282
|
}, "strip", z.ZodTypeAny, {
|
|
24063
|
-
account_id: string;
|
|
24064
24283
|
amount: bigint;
|
|
24065
|
-
}, {
|
|
24066
24284
|
account_id: string;
|
|
24285
|
+
}, {
|
|
24067
24286
|
amount: string;
|
|
24287
|
+
account_id: string;
|
|
24068
24288
|
}>, "many">;
|
|
24069
24289
|
}, "strip", z.ZodTypeAny, {
|
|
24070
24290
|
fees: {
|
|
24071
|
-
account_id: string;
|
|
24072
24291
|
amount: bigint;
|
|
24292
|
+
account_id: string;
|
|
24073
24293
|
}[];
|
|
24074
24294
|
deposit_id: bigint;
|
|
24075
24295
|
}, {
|
|
24076
24296
|
fees: {
|
|
24077
|
-
account_id: string;
|
|
24078
24297
|
amount: string;
|
|
24298
|
+
account_id: string;
|
|
24079
24299
|
}[];
|
|
24080
24300
|
deposit_id: number;
|
|
24081
24301
|
}>, "many">;
|
|
@@ -24083,8 +24303,8 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
24083
24303
|
fee_tier: number;
|
|
24084
24304
|
pending_fees: {
|
|
24085
24305
|
fees: {
|
|
24086
|
-
account_id: string;
|
|
24087
24306
|
amount: bigint;
|
|
24307
|
+
account_id: string;
|
|
24088
24308
|
}[];
|
|
24089
24309
|
deposit_id: bigint;
|
|
24090
24310
|
}[];
|
|
@@ -24092,8 +24312,8 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
24092
24312
|
fee_tier: number;
|
|
24093
24313
|
pending_fees: {
|
|
24094
24314
|
fees: {
|
|
24095
|
-
account_id: string;
|
|
24096
24315
|
amount: string;
|
|
24316
|
+
account_id: string;
|
|
24097
24317
|
}[];
|
|
24098
24318
|
deposit_id: number;
|
|
24099
24319
|
}[];
|
|
@@ -27748,14 +27968,14 @@ declare const cfOraclePrices: z.ZodArray<z.ZodObject<{
|
|
|
27748
27968
|
base_asset: z.ZodEnum<["Btc", "Eth", "Sol", "Usdc", "Usdt", "Usd"]>;
|
|
27749
27969
|
quote_asset: z.ZodEnum<["Btc", "Eth", "Sol", "Usdc", "Usdt", "Usd"]>;
|
|
27750
27970
|
}, "strip", z.ZodTypeAny, {
|
|
27751
|
-
price: bigint;
|
|
27752
27971
|
quote_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
|
|
27972
|
+
price: bigint;
|
|
27753
27973
|
base_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
|
|
27754
27974
|
updated_at_oracle_timestamp: number;
|
|
27755
27975
|
updated_at_statechain_block: number;
|
|
27756
27976
|
}, {
|
|
27757
|
-
price: string | number;
|
|
27758
27977
|
quote_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
|
|
27978
|
+
price: string | number;
|
|
27759
27979
|
base_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
|
|
27760
27980
|
updated_at_oracle_timestamp: number;
|
|
27761
27981
|
updated_at_statechain_block: number;
|
|
@@ -29044,6 +29264,18 @@ declare const cfSafeModeStatuses: z.ZodObject<{
|
|
|
29044
29264
|
oracle_price_elections: boolean;
|
|
29045
29265
|
}>;
|
|
29046
29266
|
}, "strip", z.ZodTypeAny, {
|
|
29267
|
+
swapping: {
|
|
29268
|
+
swaps_enabled: boolean;
|
|
29269
|
+
withdrawals_enabled: boolean;
|
|
29270
|
+
broker_registration_enabled: boolean;
|
|
29271
|
+
};
|
|
29272
|
+
funding: {
|
|
29273
|
+
redeem_enabled: boolean;
|
|
29274
|
+
};
|
|
29275
|
+
pools: {
|
|
29276
|
+
range_order_update_enabled: boolean;
|
|
29277
|
+
limit_order_update_enabled: boolean;
|
|
29278
|
+
};
|
|
29047
29279
|
asset_balances: {
|
|
29048
29280
|
reconciliation_enabled: boolean;
|
|
29049
29281
|
};
|
|
@@ -29057,18 +29289,6 @@ declare const cfSafeModeStatuses: z.ZodObject<{
|
|
|
29057
29289
|
start_bidding_enabled: boolean;
|
|
29058
29290
|
stop_bidding_enabled: boolean;
|
|
29059
29291
|
};
|
|
29060
|
-
swapping: {
|
|
29061
|
-
swaps_enabled: boolean;
|
|
29062
|
-
withdrawals_enabled: boolean;
|
|
29063
|
-
broker_registration_enabled: boolean;
|
|
29064
|
-
};
|
|
29065
|
-
funding: {
|
|
29066
|
-
redeem_enabled: boolean;
|
|
29067
|
-
};
|
|
29068
|
-
pools: {
|
|
29069
|
-
range_order_update_enabled: boolean;
|
|
29070
|
-
limit_order_update_enabled: boolean;
|
|
29071
|
-
};
|
|
29072
29292
|
emissions: {
|
|
29073
29293
|
emissions_sync_enabled: boolean;
|
|
29074
29294
|
};
|
|
@@ -29361,6 +29581,18 @@ declare const cfSafeModeStatuses: z.ZodObject<{
|
|
|
29361
29581
|
oracle_price_elections: boolean;
|
|
29362
29582
|
};
|
|
29363
29583
|
}, {
|
|
29584
|
+
swapping: {
|
|
29585
|
+
swaps_enabled: boolean;
|
|
29586
|
+
withdrawals_enabled: boolean;
|
|
29587
|
+
broker_registration_enabled: boolean;
|
|
29588
|
+
};
|
|
29589
|
+
funding: {
|
|
29590
|
+
redeem_enabled: boolean;
|
|
29591
|
+
};
|
|
29592
|
+
pools: {
|
|
29593
|
+
range_order_update_enabled: boolean;
|
|
29594
|
+
limit_order_update_enabled: boolean;
|
|
29595
|
+
};
|
|
29364
29596
|
asset_balances: {
|
|
29365
29597
|
reconciliation_enabled: boolean;
|
|
29366
29598
|
};
|
|
@@ -29374,18 +29606,6 @@ declare const cfSafeModeStatuses: z.ZodObject<{
|
|
|
29374
29606
|
start_bidding_enabled: boolean;
|
|
29375
29607
|
stop_bidding_enabled: boolean;
|
|
29376
29608
|
};
|
|
29377
|
-
swapping: {
|
|
29378
|
-
swaps_enabled: boolean;
|
|
29379
|
-
withdrawals_enabled: boolean;
|
|
29380
|
-
broker_registration_enabled: boolean;
|
|
29381
|
-
};
|
|
29382
|
-
funding: {
|
|
29383
|
-
redeem_enabled: boolean;
|
|
29384
|
-
};
|
|
29385
|
-
pools: {
|
|
29386
|
-
range_order_update_enabled: boolean;
|
|
29387
|
-
limit_order_update_enabled: boolean;
|
|
29388
|
-
};
|
|
29389
29609
|
emissions: {
|
|
29390
29610
|
emissions_sync_enabled: boolean;
|
|
29391
29611
|
};
|
|
@@ -29860,8 +30080,8 @@ declare const cfLendingPools: z.ZodArray<z.ZodObject<{
|
|
|
29860
30080
|
chain: "Assethub";
|
|
29861
30081
|
asset: "USDT";
|
|
29862
30082
|
};
|
|
29863
|
-
total_amount: bigint;
|
|
29864
30083
|
available_amount: bigint;
|
|
30084
|
+
total_amount: bigint;
|
|
29865
30085
|
utilisation_rate: number;
|
|
29866
30086
|
current_interest_rate: number;
|
|
29867
30087
|
origination_fee: number;
|
|
@@ -29913,8 +30133,8 @@ declare const cfLendingPools: z.ZodArray<z.ZodObject<{
|
|
|
29913
30133
|
chain: "Assethub";
|
|
29914
30134
|
asset: "USDT";
|
|
29915
30135
|
};
|
|
29916
|
-
total_amount: string | number;
|
|
29917
30136
|
available_amount: string | number;
|
|
30137
|
+
total_amount: string | number;
|
|
29918
30138
|
utilisation_rate: number;
|
|
29919
30139
|
current_interest_rate: number;
|
|
29920
30140
|
origination_fee: number;
|
|
@@ -29976,6 +30196,9 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
29976
30196
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
29977
30197
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
29978
30198
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
30199
|
+
minimum_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30200
|
+
minimum_update_loan_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
30201
|
+
minimum_update_collateral_amount_usd: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
29979
30202
|
}, "strip", z.ZodTypeAny, {
|
|
29980
30203
|
ltv_thresholds: {
|
|
29981
30204
|
target: number;
|
|
@@ -30000,6 +30223,9 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30000
30223
|
soft_liquidation_max_oracle_slippage: number;
|
|
30001
30224
|
hard_liquidation_max_oracle_slippage: number;
|
|
30002
30225
|
fee_swap_max_oracle_slippage: number;
|
|
30226
|
+
minimum_loan_amount_usd: bigint;
|
|
30227
|
+
minimum_update_loan_amount_usd: bigint;
|
|
30228
|
+
minimum_update_collateral_amount_usd: bigint;
|
|
30003
30229
|
}, {
|
|
30004
30230
|
ltv_thresholds: {
|
|
30005
30231
|
target: number;
|
|
@@ -30024,6 +30250,9 @@ declare const cfLendingConfig: z.ZodObject<{
|
|
|
30024
30250
|
soft_liquidation_max_oracle_slippage: number;
|
|
30025
30251
|
hard_liquidation_max_oracle_slippage: number;
|
|
30026
30252
|
fee_swap_max_oracle_slippage: number;
|
|
30253
|
+
minimum_loan_amount_usd: string | number;
|
|
30254
|
+
minimum_update_loan_amount_usd: string | number;
|
|
30255
|
+
minimum_update_collateral_amount_usd: string | number;
|
|
30027
30256
|
}>;
|
|
30028
30257
|
declare const cfLoanAccount: z.ZodObject<{
|
|
30029
30258
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|