@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/common.d.cts
CHANGED
|
@@ -2190,11 +2190,11 @@ declare const rpcResult: {
|
|
|
2190
2190
|
total_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
2191
2191
|
available_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
2192
2192
|
}, "strip", z.ZodTypeAny, {
|
|
2193
|
-
total_amount: bigint;
|
|
2194
2193
|
available_amount: bigint;
|
|
2194
|
+
total_amount: bigint;
|
|
2195
2195
|
}, {
|
|
2196
|
-
total_amount: string | number;
|
|
2197
2196
|
available_amount: string | number;
|
|
2197
|
+
total_amount: string | number;
|
|
2198
2198
|
}>>, "many">>;
|
|
2199
2199
|
collateral_balances: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
2200
2200
|
chain: z.ZodLiteral<"Bitcoin">;
|
|
@@ -2665,8 +2665,8 @@ declare const rpcResult: {
|
|
|
2665
2665
|
chain: "Assethub";
|
|
2666
2666
|
asset: "USDT";
|
|
2667
2667
|
}) & {
|
|
2668
|
-
total_amount: bigint;
|
|
2669
2668
|
available_amount: bigint;
|
|
2669
|
+
total_amount: bigint;
|
|
2670
2670
|
})[] | undefined;
|
|
2671
2671
|
collateral_balances?: (({
|
|
2672
2672
|
chain: "Bitcoin";
|
|
@@ -2917,8 +2917,8 @@ declare const rpcResult: {
|
|
|
2917
2917
|
chain: "Assethub";
|
|
2918
2918
|
asset: "USDT";
|
|
2919
2919
|
}) & {
|
|
2920
|
-
total_amount: string | number;
|
|
2921
2920
|
available_amount: string | number;
|
|
2921
|
+
total_amount: string | number;
|
|
2922
2922
|
})[] | undefined;
|
|
2923
2923
|
collateral_balances?: (({
|
|
2924
2924
|
chain: "Bitcoin";
|
|
@@ -3528,8 +3528,8 @@ declare const rpcResult: {
|
|
|
3528
3528
|
chain: "Assethub";
|
|
3529
3529
|
asset: "USDT";
|
|
3530
3530
|
}) & {
|
|
3531
|
-
total_amount: bigint;
|
|
3532
3531
|
available_amount: bigint;
|
|
3532
|
+
total_amount: bigint;
|
|
3533
3533
|
})[] | undefined;
|
|
3534
3534
|
collateral_balances?: (({
|
|
3535
3535
|
chain: "Bitcoin";
|
|
@@ -4048,8 +4048,8 @@ declare const rpcResult: {
|
|
|
4048
4048
|
chain: "Assethub";
|
|
4049
4049
|
asset: "USDT";
|
|
4050
4050
|
}) & {
|
|
4051
|
-
total_amount: string | number;
|
|
4052
4051
|
available_amount: string | number;
|
|
4052
|
+
total_amount: string | number;
|
|
4053
4053
|
})[] | undefined;
|
|
4054
4054
|
collateral_balances?: (({
|
|
4055
4055
|
chain: "Bitcoin";
|
|
@@ -4389,11 +4389,11 @@ declare const rpcResult: {
|
|
|
4389
4389
|
tier: z.ZodNumber;
|
|
4390
4390
|
available_amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
4391
4391
|
}, "strip", z.ZodTypeAny, {
|
|
4392
|
-
available_amount: bigint;
|
|
4393
4392
|
tier: number;
|
|
4393
|
+
available_amount: bigint;
|
|
4394
4394
|
}, {
|
|
4395
|
-
available_amount: string;
|
|
4396
4395
|
tier: number;
|
|
4396
|
+
available_amount: string;
|
|
4397
4397
|
}>>, "many">;
|
|
4398
4398
|
readonly cf_environment: z.ZodObject<{
|
|
4399
4399
|
ingress_egress: z.ZodEffects<z.ZodObject<{
|
|
@@ -4881,6 +4881,46 @@ declare const rpcResult: {
|
|
|
4881
4881
|
Solana: string | number;
|
|
4882
4882
|
Assethub: string | number;
|
|
4883
4883
|
}>;
|
|
4884
|
+
ingress_delays: z.ZodOptional<z.ZodObject<Omit<{
|
|
4885
|
+
Bitcoin: z.ZodNumber;
|
|
4886
|
+
Ethereum: z.ZodNumber;
|
|
4887
|
+
Polkadot: z.ZodNumber;
|
|
4888
|
+
Arbitrum: z.ZodNumber;
|
|
4889
|
+
Solana: z.ZodNumber;
|
|
4890
|
+
Assethub: z.ZodNumber;
|
|
4891
|
+
}, "Polkadot">, "strip", z.ZodTypeAny, {
|
|
4892
|
+
Bitcoin: number;
|
|
4893
|
+
Ethereum: number;
|
|
4894
|
+
Arbitrum: number;
|
|
4895
|
+
Solana: number;
|
|
4896
|
+
Assethub: number;
|
|
4897
|
+
}, {
|
|
4898
|
+
Bitcoin: number;
|
|
4899
|
+
Ethereum: number;
|
|
4900
|
+
Arbitrum: number;
|
|
4901
|
+
Solana: number;
|
|
4902
|
+
Assethub: number;
|
|
4903
|
+
}>>;
|
|
4904
|
+
boost_delays: z.ZodOptional<z.ZodObject<Omit<{
|
|
4905
|
+
Bitcoin: z.ZodNumber;
|
|
4906
|
+
Ethereum: z.ZodNumber;
|
|
4907
|
+
Polkadot: z.ZodNumber;
|
|
4908
|
+
Arbitrum: z.ZodNumber;
|
|
4909
|
+
Solana: z.ZodNumber;
|
|
4910
|
+
Assethub: z.ZodNumber;
|
|
4911
|
+
}, "Polkadot">, "strip", z.ZodTypeAny, {
|
|
4912
|
+
Bitcoin: number;
|
|
4913
|
+
Ethereum: number;
|
|
4914
|
+
Arbitrum: number;
|
|
4915
|
+
Solana: number;
|
|
4916
|
+
Assethub: number;
|
|
4917
|
+
}, {
|
|
4918
|
+
Bitcoin: number;
|
|
4919
|
+
Ethereum: number;
|
|
4920
|
+
Arbitrum: number;
|
|
4921
|
+
Solana: number;
|
|
4922
|
+
Assethub: number;
|
|
4923
|
+
}>>;
|
|
4884
4924
|
}, "strip", z.ZodTypeAny, {
|
|
4885
4925
|
minimum_deposit_amounts: {
|
|
4886
4926
|
Bitcoin: {
|
|
@@ -4992,6 +5032,20 @@ declare const rpcResult: {
|
|
|
4992
5032
|
Solana: bigint;
|
|
4993
5033
|
Assethub: bigint;
|
|
4994
5034
|
};
|
|
5035
|
+
ingress_delays?: {
|
|
5036
|
+
Bitcoin: number;
|
|
5037
|
+
Ethereum: number;
|
|
5038
|
+
Arbitrum: number;
|
|
5039
|
+
Solana: number;
|
|
5040
|
+
Assethub: number;
|
|
5041
|
+
} | undefined;
|
|
5042
|
+
boost_delays?: {
|
|
5043
|
+
Bitcoin: number;
|
|
5044
|
+
Ethereum: number;
|
|
5045
|
+
Arbitrum: number;
|
|
5046
|
+
Solana: number;
|
|
5047
|
+
Assethub: number;
|
|
5048
|
+
} | undefined;
|
|
4995
5049
|
}, {
|
|
4996
5050
|
minimum_deposit_amounts: {
|
|
4997
5051
|
Bitcoin: {
|
|
@@ -5103,6 +5157,20 @@ declare const rpcResult: {
|
|
|
5103
5157
|
Solana: string | number;
|
|
5104
5158
|
Assethub: string | number;
|
|
5105
5159
|
};
|
|
5160
|
+
ingress_delays?: {
|
|
5161
|
+
Bitcoin: number;
|
|
5162
|
+
Ethereum: number;
|
|
5163
|
+
Arbitrum: number;
|
|
5164
|
+
Solana: number;
|
|
5165
|
+
Assethub: number;
|
|
5166
|
+
} | undefined;
|
|
5167
|
+
boost_delays?: {
|
|
5168
|
+
Bitcoin: number;
|
|
5169
|
+
Ethereum: number;
|
|
5170
|
+
Arbitrum: number;
|
|
5171
|
+
Solana: number;
|
|
5172
|
+
Assethub: number;
|
|
5173
|
+
} | undefined;
|
|
5106
5174
|
}>, Omit<{
|
|
5107
5175
|
minimum_deposit_amounts: {
|
|
5108
5176
|
Bitcoin: {
|
|
@@ -5214,6 +5282,20 @@ declare const rpcResult: {
|
|
|
5214
5282
|
Solana: bigint;
|
|
5215
5283
|
Assethub: bigint;
|
|
5216
5284
|
};
|
|
5285
|
+
ingress_delays?: {
|
|
5286
|
+
Bitcoin: number;
|
|
5287
|
+
Ethereum: number;
|
|
5288
|
+
Arbitrum: number;
|
|
5289
|
+
Solana: number;
|
|
5290
|
+
Assethub: number;
|
|
5291
|
+
} | undefined;
|
|
5292
|
+
boost_delays?: {
|
|
5293
|
+
Bitcoin: number;
|
|
5294
|
+
Ethereum: number;
|
|
5295
|
+
Arbitrum: number;
|
|
5296
|
+
Solana: number;
|
|
5297
|
+
Assethub: number;
|
|
5298
|
+
} | undefined;
|
|
5217
5299
|
}, "egress_dust_limits"> & {
|
|
5218
5300
|
readonly minimum_egress_amounts: {
|
|
5219
5301
|
Bitcoin: {
|
|
@@ -5350,6 +5432,20 @@ declare const rpcResult: {
|
|
|
5350
5432
|
Solana: string | number;
|
|
5351
5433
|
Assethub: string | number;
|
|
5352
5434
|
};
|
|
5435
|
+
ingress_delays?: {
|
|
5436
|
+
Bitcoin: number;
|
|
5437
|
+
Ethereum: number;
|
|
5438
|
+
Arbitrum: number;
|
|
5439
|
+
Solana: number;
|
|
5440
|
+
Assethub: number;
|
|
5441
|
+
} | undefined;
|
|
5442
|
+
boost_delays?: {
|
|
5443
|
+
Bitcoin: number;
|
|
5444
|
+
Ethereum: number;
|
|
5445
|
+
Arbitrum: number;
|
|
5446
|
+
Solana: number;
|
|
5447
|
+
Assethub: number;
|
|
5448
|
+
} | undefined;
|
|
5353
5449
|
}>;
|
|
5354
5450
|
swapping: z.ZodObject<{
|
|
5355
5451
|
maximum_swap_amounts: z.ZodObject<Omit<{
|
|
@@ -10935,6 +11031,20 @@ declare const rpcResult: {
|
|
|
10935
11031
|
Solana: bigint;
|
|
10936
11032
|
Assethub: bigint;
|
|
10937
11033
|
};
|
|
11034
|
+
ingress_delays?: {
|
|
11035
|
+
Bitcoin: number;
|
|
11036
|
+
Ethereum: number;
|
|
11037
|
+
Arbitrum: number;
|
|
11038
|
+
Solana: number;
|
|
11039
|
+
Assethub: number;
|
|
11040
|
+
} | undefined;
|
|
11041
|
+
boost_delays?: {
|
|
11042
|
+
Bitcoin: number;
|
|
11043
|
+
Ethereum: number;
|
|
11044
|
+
Arbitrum: number;
|
|
11045
|
+
Solana: number;
|
|
11046
|
+
Assethub: number;
|
|
11047
|
+
} | undefined;
|
|
10938
11048
|
}, "egress_dust_limits"> & {
|
|
10939
11049
|
readonly minimum_egress_amounts: {
|
|
10940
11050
|
Bitcoin: {
|
|
@@ -11724,6 +11834,20 @@ declare const rpcResult: {
|
|
|
11724
11834
|
Solana: string | number;
|
|
11725
11835
|
Assethub: string | number;
|
|
11726
11836
|
};
|
|
11837
|
+
ingress_delays?: {
|
|
11838
|
+
Bitcoin: number;
|
|
11839
|
+
Ethereum: number;
|
|
11840
|
+
Arbitrum: number;
|
|
11841
|
+
Solana: number;
|
|
11842
|
+
Assethub: number;
|
|
11843
|
+
} | undefined;
|
|
11844
|
+
boost_delays?: {
|
|
11845
|
+
Bitcoin: number;
|
|
11846
|
+
Ethereum: number;
|
|
11847
|
+
Arbitrum: number;
|
|
11848
|
+
Solana: number;
|
|
11849
|
+
Assethub: number;
|
|
11850
|
+
} | undefined;
|
|
11727
11851
|
};
|
|
11728
11852
|
swapping: {
|
|
11729
11853
|
maximum_swap_amounts: {
|
|
@@ -12619,6 +12743,46 @@ declare const rpcResult: {
|
|
|
12619
12743
|
Solana: string | number;
|
|
12620
12744
|
Assethub: string | number;
|
|
12621
12745
|
}>;
|
|
12746
|
+
ingress_delays: z.ZodOptional<z.ZodObject<Omit<{
|
|
12747
|
+
Bitcoin: z.ZodNumber;
|
|
12748
|
+
Ethereum: z.ZodNumber;
|
|
12749
|
+
Polkadot: z.ZodNumber;
|
|
12750
|
+
Arbitrum: z.ZodNumber;
|
|
12751
|
+
Solana: z.ZodNumber;
|
|
12752
|
+
Assethub: z.ZodNumber;
|
|
12753
|
+
}, "Polkadot">, "strip", z.ZodTypeAny, {
|
|
12754
|
+
Bitcoin: number;
|
|
12755
|
+
Ethereum: number;
|
|
12756
|
+
Arbitrum: number;
|
|
12757
|
+
Solana: number;
|
|
12758
|
+
Assethub: number;
|
|
12759
|
+
}, {
|
|
12760
|
+
Bitcoin: number;
|
|
12761
|
+
Ethereum: number;
|
|
12762
|
+
Arbitrum: number;
|
|
12763
|
+
Solana: number;
|
|
12764
|
+
Assethub: number;
|
|
12765
|
+
}>>;
|
|
12766
|
+
boost_delays: z.ZodOptional<z.ZodObject<Omit<{
|
|
12767
|
+
Bitcoin: z.ZodNumber;
|
|
12768
|
+
Ethereum: z.ZodNumber;
|
|
12769
|
+
Polkadot: z.ZodNumber;
|
|
12770
|
+
Arbitrum: z.ZodNumber;
|
|
12771
|
+
Solana: z.ZodNumber;
|
|
12772
|
+
Assethub: z.ZodNumber;
|
|
12773
|
+
}, "Polkadot">, "strip", z.ZodTypeAny, {
|
|
12774
|
+
Bitcoin: number;
|
|
12775
|
+
Ethereum: number;
|
|
12776
|
+
Arbitrum: number;
|
|
12777
|
+
Solana: number;
|
|
12778
|
+
Assethub: number;
|
|
12779
|
+
}, {
|
|
12780
|
+
Bitcoin: number;
|
|
12781
|
+
Ethereum: number;
|
|
12782
|
+
Arbitrum: number;
|
|
12783
|
+
Solana: number;
|
|
12784
|
+
Assethub: number;
|
|
12785
|
+
}>>;
|
|
12622
12786
|
}, "strip", z.ZodTypeAny, {
|
|
12623
12787
|
minimum_deposit_amounts: {
|
|
12624
12788
|
Bitcoin: {
|
|
@@ -12730,6 +12894,20 @@ declare const rpcResult: {
|
|
|
12730
12894
|
Solana: bigint;
|
|
12731
12895
|
Assethub: bigint;
|
|
12732
12896
|
};
|
|
12897
|
+
ingress_delays?: {
|
|
12898
|
+
Bitcoin: number;
|
|
12899
|
+
Ethereum: number;
|
|
12900
|
+
Arbitrum: number;
|
|
12901
|
+
Solana: number;
|
|
12902
|
+
Assethub: number;
|
|
12903
|
+
} | undefined;
|
|
12904
|
+
boost_delays?: {
|
|
12905
|
+
Bitcoin: number;
|
|
12906
|
+
Ethereum: number;
|
|
12907
|
+
Arbitrum: number;
|
|
12908
|
+
Solana: number;
|
|
12909
|
+
Assethub: number;
|
|
12910
|
+
} | undefined;
|
|
12733
12911
|
}, {
|
|
12734
12912
|
minimum_deposit_amounts: {
|
|
12735
12913
|
Bitcoin: {
|
|
@@ -12841,6 +13019,20 @@ declare const rpcResult: {
|
|
|
12841
13019
|
Solana: string | number;
|
|
12842
13020
|
Assethub: string | number;
|
|
12843
13021
|
};
|
|
13022
|
+
ingress_delays?: {
|
|
13023
|
+
Bitcoin: number;
|
|
13024
|
+
Ethereum: number;
|
|
13025
|
+
Arbitrum: number;
|
|
13026
|
+
Solana: number;
|
|
13027
|
+
Assethub: number;
|
|
13028
|
+
} | undefined;
|
|
13029
|
+
boost_delays?: {
|
|
13030
|
+
Bitcoin: number;
|
|
13031
|
+
Ethereum: number;
|
|
13032
|
+
Arbitrum: number;
|
|
13033
|
+
Solana: number;
|
|
13034
|
+
Assethub: number;
|
|
13035
|
+
} | undefined;
|
|
12844
13036
|
}>, Omit<{
|
|
12845
13037
|
minimum_deposit_amounts: {
|
|
12846
13038
|
Bitcoin: {
|
|
@@ -12952,6 +13144,20 @@ declare const rpcResult: {
|
|
|
12952
13144
|
Solana: bigint;
|
|
12953
13145
|
Assethub: bigint;
|
|
12954
13146
|
};
|
|
13147
|
+
ingress_delays?: {
|
|
13148
|
+
Bitcoin: number;
|
|
13149
|
+
Ethereum: number;
|
|
13150
|
+
Arbitrum: number;
|
|
13151
|
+
Solana: number;
|
|
13152
|
+
Assethub: number;
|
|
13153
|
+
} | undefined;
|
|
13154
|
+
boost_delays?: {
|
|
13155
|
+
Bitcoin: number;
|
|
13156
|
+
Ethereum: number;
|
|
13157
|
+
Arbitrum: number;
|
|
13158
|
+
Solana: number;
|
|
13159
|
+
Assethub: number;
|
|
13160
|
+
} | undefined;
|
|
12955
13161
|
}, "egress_dust_limits"> & {
|
|
12956
13162
|
readonly minimum_egress_amounts: {
|
|
12957
13163
|
Bitcoin: {
|
|
@@ -13088,6 +13294,20 @@ declare const rpcResult: {
|
|
|
13088
13294
|
Solana: string | number;
|
|
13089
13295
|
Assethub: string | number;
|
|
13090
13296
|
};
|
|
13297
|
+
ingress_delays?: {
|
|
13298
|
+
Bitcoin: number;
|
|
13299
|
+
Ethereum: number;
|
|
13300
|
+
Arbitrum: number;
|
|
13301
|
+
Solana: number;
|
|
13302
|
+
Assethub: number;
|
|
13303
|
+
} | undefined;
|
|
13304
|
+
boost_delays?: {
|
|
13305
|
+
Bitcoin: number;
|
|
13306
|
+
Ethereum: number;
|
|
13307
|
+
Arbitrum: number;
|
|
13308
|
+
Solana: number;
|
|
13309
|
+
Assethub: number;
|
|
13310
|
+
} | undefined;
|
|
13091
13311
|
}>;
|
|
13092
13312
|
readonly cf_pool_orders: z.ZodObject<{
|
|
13093
13313
|
limit_orders: z.ZodObject<{
|
|
@@ -13585,8 +13805,6 @@ declare const rpcResult: {
|
|
|
13585
13805
|
asset: "USDT";
|
|
13586
13806
|
}>]>;
|
|
13587
13807
|
}, "strip", z.ZodTypeAny, {
|
|
13588
|
-
buy: bigint | null;
|
|
13589
|
-
sell: bigint | null;
|
|
13590
13808
|
quote_asset: {
|
|
13591
13809
|
chain: "Bitcoin";
|
|
13592
13810
|
asset: "BTC";
|
|
@@ -13627,6 +13845,8 @@ declare const rpcResult: {
|
|
|
13627
13845
|
chain: "Assethub";
|
|
13628
13846
|
asset: "USDT";
|
|
13629
13847
|
};
|
|
13848
|
+
sell: bigint | null;
|
|
13849
|
+
buy: bigint | null;
|
|
13630
13850
|
range_order: bigint;
|
|
13631
13851
|
base_asset: {
|
|
13632
13852
|
chain: "Bitcoin";
|
|
@@ -13669,8 +13889,6 @@ declare const rpcResult: {
|
|
|
13669
13889
|
asset: "USDT";
|
|
13670
13890
|
};
|
|
13671
13891
|
}, {
|
|
13672
|
-
buy: string | number | null;
|
|
13673
|
-
sell: string | number | null;
|
|
13674
13892
|
quote_asset: {
|
|
13675
13893
|
chain: "Bitcoin";
|
|
13676
13894
|
asset: "BTC";
|
|
@@ -13711,6 +13929,8 @@ declare const rpcResult: {
|
|
|
13711
13929
|
chain: "Assethub";
|
|
13712
13930
|
asset: "USDT";
|
|
13713
13931
|
};
|
|
13932
|
+
sell: string | number | null;
|
|
13933
|
+
buy: string | number | null;
|
|
13714
13934
|
range_order: string | number;
|
|
13715
13935
|
base_asset: {
|
|
13716
13936
|
chain: "Bitcoin";
|
|
@@ -20878,11 +21098,11 @@ declare const rpcResult: {
|
|
|
20878
21098
|
account_id: z.ZodString;
|
|
20879
21099
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
20880
21100
|
}, "strip", z.ZodTypeAny, {
|
|
20881
|
-
account_id: string;
|
|
20882
21101
|
amount: bigint;
|
|
20883
|
-
}, {
|
|
20884
21102
|
account_id: string;
|
|
21103
|
+
}, {
|
|
20885
21104
|
amount: string;
|
|
21105
|
+
account_id: string;
|
|
20886
21106
|
}>, "many">;
|
|
20887
21107
|
deposits_pending_finalization: z.ZodArray<z.ZodObject<{
|
|
20888
21108
|
deposit_id: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
|
|
@@ -20890,23 +21110,23 @@ declare const rpcResult: {
|
|
|
20890
21110
|
account_id: z.ZodString;
|
|
20891
21111
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
20892
21112
|
}, "strip", z.ZodTypeAny, {
|
|
20893
|
-
account_id: string;
|
|
20894
21113
|
amount: bigint;
|
|
20895
|
-
}, {
|
|
20896
21114
|
account_id: string;
|
|
21115
|
+
}, {
|
|
20897
21116
|
amount: string;
|
|
21117
|
+
account_id: string;
|
|
20898
21118
|
}>, "many">;
|
|
20899
21119
|
}, "strip", z.ZodTypeAny, {
|
|
20900
21120
|
deposit_id: bigint;
|
|
20901
21121
|
owed_amounts: {
|
|
20902
|
-
account_id: string;
|
|
20903
21122
|
amount: bigint;
|
|
21123
|
+
account_id: string;
|
|
20904
21124
|
}[];
|
|
20905
21125
|
}, {
|
|
20906
21126
|
deposit_id: string | number;
|
|
20907
21127
|
owed_amounts: {
|
|
20908
|
-
account_id: string;
|
|
20909
21128
|
amount: string;
|
|
21129
|
+
account_id: string;
|
|
20910
21130
|
}[];
|
|
20911
21131
|
}>, "many">;
|
|
20912
21132
|
pending_withdrawals: z.ZodArray<z.ZodObject<{
|
|
@@ -20923,14 +21143,14 @@ declare const rpcResult: {
|
|
|
20923
21143
|
}, "strip", z.ZodTypeAny, {
|
|
20924
21144
|
fee_tier: number;
|
|
20925
21145
|
available_amounts: {
|
|
20926
|
-
account_id: string;
|
|
20927
21146
|
amount: bigint;
|
|
21147
|
+
account_id: string;
|
|
20928
21148
|
}[];
|
|
20929
21149
|
deposits_pending_finalization: {
|
|
20930
21150
|
deposit_id: bigint;
|
|
20931
21151
|
owed_amounts: {
|
|
20932
|
-
account_id: string;
|
|
20933
21152
|
amount: bigint;
|
|
21153
|
+
account_id: string;
|
|
20934
21154
|
}[];
|
|
20935
21155
|
}[];
|
|
20936
21156
|
pending_withdrawals: {
|
|
@@ -20941,14 +21161,14 @@ declare const rpcResult: {
|
|
|
20941
21161
|
}, {
|
|
20942
21162
|
fee_tier: number;
|
|
20943
21163
|
available_amounts: {
|
|
20944
|
-
account_id: string;
|
|
20945
21164
|
amount: string;
|
|
21165
|
+
account_id: string;
|
|
20946
21166
|
}[];
|
|
20947
21167
|
deposits_pending_finalization: {
|
|
20948
21168
|
deposit_id: string | number;
|
|
20949
21169
|
owed_amounts: {
|
|
20950
|
-
account_id: string;
|
|
20951
21170
|
amount: string;
|
|
21171
|
+
account_id: string;
|
|
20952
21172
|
}[];
|
|
20953
21173
|
}[];
|
|
20954
21174
|
pending_withdrawals: {
|
|
@@ -21082,22 +21302,22 @@ declare const rpcResult: {
|
|
|
21082
21302
|
account_id: z.ZodString;
|
|
21083
21303
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
21084
21304
|
}, "strip", z.ZodTypeAny, {
|
|
21085
|
-
account_id: string;
|
|
21086
21305
|
amount: bigint;
|
|
21087
|
-
}, {
|
|
21088
21306
|
account_id: string;
|
|
21307
|
+
}, {
|
|
21089
21308
|
amount: string;
|
|
21309
|
+
account_id: string;
|
|
21090
21310
|
}>, "many">;
|
|
21091
21311
|
}, "strip", z.ZodTypeAny, {
|
|
21092
21312
|
fees: {
|
|
21093
|
-
account_id: string;
|
|
21094
21313
|
amount: bigint;
|
|
21314
|
+
account_id: string;
|
|
21095
21315
|
}[];
|
|
21096
21316
|
deposit_id: bigint;
|
|
21097
21317
|
}, {
|
|
21098
21318
|
fees: {
|
|
21099
|
-
account_id: string;
|
|
21100
21319
|
amount: string;
|
|
21320
|
+
account_id: string;
|
|
21101
21321
|
}[];
|
|
21102
21322
|
deposit_id: number;
|
|
21103
21323
|
}>, "many">;
|
|
@@ -21105,8 +21325,8 @@ declare const rpcResult: {
|
|
|
21105
21325
|
fee_tier: number;
|
|
21106
21326
|
pending_fees: {
|
|
21107
21327
|
fees: {
|
|
21108
|
-
account_id: string;
|
|
21109
21328
|
amount: bigint;
|
|
21329
|
+
account_id: string;
|
|
21110
21330
|
}[];
|
|
21111
21331
|
deposit_id: bigint;
|
|
21112
21332
|
}[];
|
|
@@ -21114,8 +21334,8 @@ declare const rpcResult: {
|
|
|
21114
21334
|
fee_tier: number;
|
|
21115
21335
|
pending_fees: {
|
|
21116
21336
|
fees: {
|
|
21117
|
-
account_id: string;
|
|
21118
21337
|
amount: string;
|
|
21338
|
+
account_id: string;
|
|
21119
21339
|
}[];
|
|
21120
21340
|
deposit_id: number;
|
|
21121
21341
|
}[];
|
|
@@ -24704,6 +24924,18 @@ declare const rpcResult: {
|
|
|
24704
24924
|
oracle_price_elections: boolean;
|
|
24705
24925
|
}>;
|
|
24706
24926
|
}, "strip", z.ZodTypeAny, {
|
|
24927
|
+
swapping: {
|
|
24928
|
+
swaps_enabled: boolean;
|
|
24929
|
+
withdrawals_enabled: boolean;
|
|
24930
|
+
broker_registration_enabled: boolean;
|
|
24931
|
+
};
|
|
24932
|
+
funding: {
|
|
24933
|
+
redeem_enabled: boolean;
|
|
24934
|
+
};
|
|
24935
|
+
pools: {
|
|
24936
|
+
range_order_update_enabled: boolean;
|
|
24937
|
+
limit_order_update_enabled: boolean;
|
|
24938
|
+
};
|
|
24707
24939
|
asset_balances: {
|
|
24708
24940
|
reconciliation_enabled: boolean;
|
|
24709
24941
|
};
|
|
@@ -24717,18 +24949,6 @@ declare const rpcResult: {
|
|
|
24717
24949
|
start_bidding_enabled: boolean;
|
|
24718
24950
|
stop_bidding_enabled: boolean;
|
|
24719
24951
|
};
|
|
24720
|
-
swapping: {
|
|
24721
|
-
swaps_enabled: boolean;
|
|
24722
|
-
withdrawals_enabled: boolean;
|
|
24723
|
-
broker_registration_enabled: boolean;
|
|
24724
|
-
};
|
|
24725
|
-
funding: {
|
|
24726
|
-
redeem_enabled: boolean;
|
|
24727
|
-
};
|
|
24728
|
-
pools: {
|
|
24729
|
-
range_order_update_enabled: boolean;
|
|
24730
|
-
limit_order_update_enabled: boolean;
|
|
24731
|
-
};
|
|
24732
24952
|
emissions: {
|
|
24733
24953
|
emissions_sync_enabled: boolean;
|
|
24734
24954
|
};
|
|
@@ -25021,6 +25241,18 @@ declare const rpcResult: {
|
|
|
25021
25241
|
oracle_price_elections: boolean;
|
|
25022
25242
|
};
|
|
25023
25243
|
}, {
|
|
25244
|
+
swapping: {
|
|
25245
|
+
swaps_enabled: boolean;
|
|
25246
|
+
withdrawals_enabled: boolean;
|
|
25247
|
+
broker_registration_enabled: boolean;
|
|
25248
|
+
};
|
|
25249
|
+
funding: {
|
|
25250
|
+
redeem_enabled: boolean;
|
|
25251
|
+
};
|
|
25252
|
+
pools: {
|
|
25253
|
+
range_order_update_enabled: boolean;
|
|
25254
|
+
limit_order_update_enabled: boolean;
|
|
25255
|
+
};
|
|
25024
25256
|
asset_balances: {
|
|
25025
25257
|
reconciliation_enabled: boolean;
|
|
25026
25258
|
};
|
|
@@ -25034,18 +25266,6 @@ declare const rpcResult: {
|
|
|
25034
25266
|
start_bidding_enabled: boolean;
|
|
25035
25267
|
stop_bidding_enabled: boolean;
|
|
25036
25268
|
};
|
|
25037
|
-
swapping: {
|
|
25038
|
-
swaps_enabled: boolean;
|
|
25039
|
-
withdrawals_enabled: boolean;
|
|
25040
|
-
broker_registration_enabled: boolean;
|
|
25041
|
-
};
|
|
25042
|
-
funding: {
|
|
25043
|
-
redeem_enabled: boolean;
|
|
25044
|
-
};
|
|
25045
|
-
pools: {
|
|
25046
|
-
range_order_update_enabled: boolean;
|
|
25047
|
-
limit_order_update_enabled: boolean;
|
|
25048
|
-
};
|
|
25049
25269
|
emissions: {
|
|
25050
25270
|
emissions_sync_enabled: boolean;
|
|
25051
25271
|
};
|
|
@@ -25347,14 +25567,14 @@ declare const rpcResult: {
|
|
|
25347
25567
|
base_asset: z.ZodEnum<["Btc", "Eth", "Sol", "Usdc", "Usdt", "Usd"]>;
|
|
25348
25568
|
quote_asset: z.ZodEnum<["Btc", "Eth", "Sol", "Usdc", "Usdt", "Usd"]>;
|
|
25349
25569
|
}, "strip", z.ZodTypeAny, {
|
|
25350
|
-
price: bigint;
|
|
25351
25570
|
quote_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
|
|
25571
|
+
price: bigint;
|
|
25352
25572
|
base_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
|
|
25353
25573
|
updated_at_oracle_timestamp: number;
|
|
25354
25574
|
updated_at_statechain_block: number;
|
|
25355
25575
|
}, {
|
|
25356
|
-
price: string | number;
|
|
25357
25576
|
quote_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
|
|
25577
|
+
price: string | number;
|
|
25358
25578
|
base_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
|
|
25359
25579
|
updated_at_oracle_timestamp: number;
|
|
25360
25580
|
updated_at_statechain_block: number;
|
|
@@ -25541,8 +25761,8 @@ declare const rpcResult: {
|
|
|
25541
25761
|
chain: "Assethub";
|
|
25542
25762
|
asset: "USDT";
|
|
25543
25763
|
};
|
|
25544
|
-
total_amount: bigint;
|
|
25545
25764
|
available_amount: bigint;
|
|
25765
|
+
total_amount: bigint;
|
|
25546
25766
|
utilisation_rate: number;
|
|
25547
25767
|
current_interest_rate: number;
|
|
25548
25768
|
origination_fee: number;
|
|
@@ -25594,8 +25814,8 @@ declare const rpcResult: {
|
|
|
25594
25814
|
chain: "Assethub";
|
|
25595
25815
|
asset: "USDT";
|
|
25596
25816
|
};
|
|
25597
|
-
total_amount: string | number;
|
|
25598
25817
|
available_amount: string | number;
|
|
25818
|
+
total_amount: string | number;
|
|
25599
25819
|
utilisation_rate: number;
|
|
25600
25820
|
current_interest_rate: number;
|
|
25601
25821
|
origination_fee: number;
|
|
@@ -25657,6 +25877,9 @@ declare const rpcResult: {
|
|
|
25657
25877
|
soft_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25658
25878
|
hard_liquidation_max_oracle_slippage: z.ZodNumber;
|
|
25659
25879
|
fee_swap_max_oracle_slippage: z.ZodNumber;
|
|
25880
|
+
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>;
|
|
25881
|
+
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>;
|
|
25882
|
+
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>;
|
|
25660
25883
|
}, "strip", z.ZodTypeAny, {
|
|
25661
25884
|
ltv_thresholds: {
|
|
25662
25885
|
target: number;
|
|
@@ -25681,6 +25904,9 @@ declare const rpcResult: {
|
|
|
25681
25904
|
soft_liquidation_max_oracle_slippage: number;
|
|
25682
25905
|
hard_liquidation_max_oracle_slippage: number;
|
|
25683
25906
|
fee_swap_max_oracle_slippage: number;
|
|
25907
|
+
minimum_loan_amount_usd: bigint;
|
|
25908
|
+
minimum_update_loan_amount_usd: bigint;
|
|
25909
|
+
minimum_update_collateral_amount_usd: bigint;
|
|
25684
25910
|
}, {
|
|
25685
25911
|
ltv_thresholds: {
|
|
25686
25912
|
target: number;
|
|
@@ -25705,6 +25931,9 @@ declare const rpcResult: {
|
|
|
25705
25931
|
soft_liquidation_max_oracle_slippage: number;
|
|
25706
25932
|
hard_liquidation_max_oracle_slippage: number;
|
|
25707
25933
|
fee_swap_max_oracle_slippage: number;
|
|
25934
|
+
minimum_loan_amount_usd: string | number;
|
|
25935
|
+
minimum_update_loan_amount_usd: string | number;
|
|
25936
|
+
minimum_update_collateral_amount_usd: string | number;
|
|
25708
25937
|
}>;
|
|
25709
25938
|
readonly cf_loan_accounts: z.ZodArray<z.ZodObject<{
|
|
25710
25939
|
account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
|