@chainflip/rpc 1.11.0-beta.16 → 1.11.0-beta.17

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.
@@ -37697,5 +37697,1517 @@ declare const cfLendingConfig: z.ZodObject<{
37697
37697
  hard_liquidation_max_oracle_slippage: number;
37698
37698
  fee_swap_max_oracle_slippage: number;
37699
37699
  }>;
37700
+ declare const cfLoanAccount: z.ZodObject<{
37701
+ account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
37702
+ primary_collateral_asset: z.ZodUnion<[z.ZodObject<{
37703
+ chain: z.ZodLiteral<"Bitcoin">;
37704
+ asset: z.ZodLiteral<"BTC">;
37705
+ }, "strip", z.ZodTypeAny, {
37706
+ chain: "Bitcoin";
37707
+ asset: "BTC";
37708
+ }, {
37709
+ chain: "Bitcoin";
37710
+ asset: "BTC";
37711
+ }>, z.ZodObject<{
37712
+ chain: z.ZodLiteral<"Polkadot">;
37713
+ asset: z.ZodLiteral<"DOT">;
37714
+ }, "strip", z.ZodTypeAny, {
37715
+ chain: "Polkadot";
37716
+ asset: "DOT";
37717
+ }, {
37718
+ chain: "Polkadot";
37719
+ asset: "DOT";
37720
+ }>, z.ZodObject<{
37721
+ chain: z.ZodLiteral<"Ethereum">;
37722
+ asset: z.ZodLiteral<"FLIP">;
37723
+ }, "strip", z.ZodTypeAny, {
37724
+ chain: "Ethereum";
37725
+ asset: "FLIP";
37726
+ }, {
37727
+ chain: "Ethereum";
37728
+ asset: "FLIP";
37729
+ }>, z.ZodObject<{
37730
+ chain: z.ZodLiteral<"Ethereum">;
37731
+ asset: z.ZodLiteral<"ETH">;
37732
+ }, "strip", z.ZodTypeAny, {
37733
+ chain: "Ethereum";
37734
+ asset: "ETH";
37735
+ }, {
37736
+ chain: "Ethereum";
37737
+ asset: "ETH";
37738
+ }>, z.ZodObject<{
37739
+ chain: z.ZodLiteral<"Ethereum">;
37740
+ asset: z.ZodLiteral<"USDC">;
37741
+ }, "strip", z.ZodTypeAny, {
37742
+ chain: "Ethereum";
37743
+ asset: "USDC";
37744
+ }, {
37745
+ chain: "Ethereum";
37746
+ asset: "USDC";
37747
+ }>, z.ZodObject<{
37748
+ chain: z.ZodLiteral<"Ethereum">;
37749
+ asset: z.ZodLiteral<"USDT">;
37750
+ }, "strip", z.ZodTypeAny, {
37751
+ chain: "Ethereum";
37752
+ asset: "USDT";
37753
+ }, {
37754
+ chain: "Ethereum";
37755
+ asset: "USDT";
37756
+ }>, z.ZodObject<{
37757
+ chain: z.ZodLiteral<"Arbitrum">;
37758
+ asset: z.ZodLiteral<"ETH">;
37759
+ }, "strip", z.ZodTypeAny, {
37760
+ chain: "Arbitrum";
37761
+ asset: "ETH";
37762
+ }, {
37763
+ chain: "Arbitrum";
37764
+ asset: "ETH";
37765
+ }>, z.ZodObject<{
37766
+ chain: z.ZodLiteral<"Arbitrum">;
37767
+ asset: z.ZodLiteral<"USDC">;
37768
+ }, "strip", z.ZodTypeAny, {
37769
+ chain: "Arbitrum";
37770
+ asset: "USDC";
37771
+ }, {
37772
+ chain: "Arbitrum";
37773
+ asset: "USDC";
37774
+ }>, z.ZodObject<{
37775
+ chain: z.ZodLiteral<"Solana">;
37776
+ asset: z.ZodLiteral<"SOL">;
37777
+ }, "strip", z.ZodTypeAny, {
37778
+ chain: "Solana";
37779
+ asset: "SOL";
37780
+ }, {
37781
+ chain: "Solana";
37782
+ asset: "SOL";
37783
+ }>, z.ZodObject<{
37784
+ chain: z.ZodLiteral<"Solana">;
37785
+ asset: z.ZodLiteral<"USDC">;
37786
+ }, "strip", z.ZodTypeAny, {
37787
+ chain: "Solana";
37788
+ asset: "USDC";
37789
+ }, {
37790
+ chain: "Solana";
37791
+ asset: "USDC";
37792
+ }>, z.ZodObject<{
37793
+ chain: z.ZodLiteral<"Assethub">;
37794
+ asset: z.ZodLiteral<"DOT">;
37795
+ }, "strip", z.ZodTypeAny, {
37796
+ chain: "Assethub";
37797
+ asset: "DOT";
37798
+ }, {
37799
+ chain: "Assethub";
37800
+ asset: "DOT";
37801
+ }>, z.ZodObject<{
37802
+ chain: z.ZodLiteral<"Assethub">;
37803
+ asset: z.ZodLiteral<"USDC">;
37804
+ }, "strip", z.ZodTypeAny, {
37805
+ chain: "Assethub";
37806
+ asset: "USDC";
37807
+ }, {
37808
+ chain: "Assethub";
37809
+ asset: "USDC";
37810
+ }>, z.ZodObject<{
37811
+ chain: z.ZodLiteral<"Assethub">;
37812
+ asset: z.ZodLiteral<"USDT">;
37813
+ }, "strip", z.ZodTypeAny, {
37814
+ chain: "Assethub";
37815
+ asset: "USDT";
37816
+ }, {
37817
+ chain: "Assethub";
37818
+ asset: "USDT";
37819
+ }>]>;
37820
+ ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
37821
+ collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
37822
+ chain: z.ZodLiteral<"Bitcoin">;
37823
+ asset: z.ZodLiteral<"BTC">;
37824
+ }, "strip", z.ZodTypeAny, {
37825
+ chain: "Bitcoin";
37826
+ asset: "BTC";
37827
+ }, {
37828
+ chain: "Bitcoin";
37829
+ asset: "BTC";
37830
+ }>, z.ZodObject<{
37831
+ chain: z.ZodLiteral<"Polkadot">;
37832
+ asset: z.ZodLiteral<"DOT">;
37833
+ }, "strip", z.ZodTypeAny, {
37834
+ chain: "Polkadot";
37835
+ asset: "DOT";
37836
+ }, {
37837
+ chain: "Polkadot";
37838
+ asset: "DOT";
37839
+ }>, z.ZodObject<{
37840
+ chain: z.ZodLiteral<"Ethereum">;
37841
+ asset: z.ZodLiteral<"FLIP">;
37842
+ }, "strip", z.ZodTypeAny, {
37843
+ chain: "Ethereum";
37844
+ asset: "FLIP";
37845
+ }, {
37846
+ chain: "Ethereum";
37847
+ asset: "FLIP";
37848
+ }>, z.ZodObject<{
37849
+ chain: z.ZodLiteral<"Ethereum">;
37850
+ asset: z.ZodLiteral<"ETH">;
37851
+ }, "strip", z.ZodTypeAny, {
37852
+ chain: "Ethereum";
37853
+ asset: "ETH";
37854
+ }, {
37855
+ chain: "Ethereum";
37856
+ asset: "ETH";
37857
+ }>, z.ZodObject<{
37858
+ chain: z.ZodLiteral<"Ethereum">;
37859
+ asset: z.ZodLiteral<"USDC">;
37860
+ }, "strip", z.ZodTypeAny, {
37861
+ chain: "Ethereum";
37862
+ asset: "USDC";
37863
+ }, {
37864
+ chain: "Ethereum";
37865
+ asset: "USDC";
37866
+ }>, z.ZodObject<{
37867
+ chain: z.ZodLiteral<"Ethereum">;
37868
+ asset: z.ZodLiteral<"USDT">;
37869
+ }, "strip", z.ZodTypeAny, {
37870
+ chain: "Ethereum";
37871
+ asset: "USDT";
37872
+ }, {
37873
+ chain: "Ethereum";
37874
+ asset: "USDT";
37875
+ }>, z.ZodObject<{
37876
+ chain: z.ZodLiteral<"Arbitrum">;
37877
+ asset: z.ZodLiteral<"ETH">;
37878
+ }, "strip", z.ZodTypeAny, {
37879
+ chain: "Arbitrum";
37880
+ asset: "ETH";
37881
+ }, {
37882
+ chain: "Arbitrum";
37883
+ asset: "ETH";
37884
+ }>, z.ZodObject<{
37885
+ chain: z.ZodLiteral<"Arbitrum">;
37886
+ asset: z.ZodLiteral<"USDC">;
37887
+ }, "strip", z.ZodTypeAny, {
37888
+ chain: "Arbitrum";
37889
+ asset: "USDC";
37890
+ }, {
37891
+ chain: "Arbitrum";
37892
+ asset: "USDC";
37893
+ }>, z.ZodObject<{
37894
+ chain: z.ZodLiteral<"Solana">;
37895
+ asset: z.ZodLiteral<"SOL">;
37896
+ }, "strip", z.ZodTypeAny, {
37897
+ chain: "Solana";
37898
+ asset: "SOL";
37899
+ }, {
37900
+ chain: "Solana";
37901
+ asset: "SOL";
37902
+ }>, z.ZodObject<{
37903
+ chain: z.ZodLiteral<"Solana">;
37904
+ asset: z.ZodLiteral<"USDC">;
37905
+ }, "strip", z.ZodTypeAny, {
37906
+ chain: "Solana";
37907
+ asset: "USDC";
37908
+ }, {
37909
+ chain: "Solana";
37910
+ asset: "USDC";
37911
+ }>, z.ZodObject<{
37912
+ chain: z.ZodLiteral<"Assethub">;
37913
+ asset: z.ZodLiteral<"DOT">;
37914
+ }, "strip", z.ZodTypeAny, {
37915
+ chain: "Assethub";
37916
+ asset: "DOT";
37917
+ }, {
37918
+ chain: "Assethub";
37919
+ asset: "DOT";
37920
+ }>, z.ZodObject<{
37921
+ chain: z.ZodLiteral<"Assethub">;
37922
+ asset: z.ZodLiteral<"USDC">;
37923
+ }, "strip", z.ZodTypeAny, {
37924
+ chain: "Assethub";
37925
+ asset: "USDC";
37926
+ }, {
37927
+ chain: "Assethub";
37928
+ asset: "USDC";
37929
+ }>, z.ZodObject<{
37930
+ chain: z.ZodLiteral<"Assethub">;
37931
+ asset: z.ZodLiteral<"USDT">;
37932
+ }, "strip", z.ZodTypeAny, {
37933
+ chain: "Assethub";
37934
+ asset: "USDT";
37935
+ }, {
37936
+ chain: "Assethub";
37937
+ asset: "USDT";
37938
+ }>]>, z.ZodObject<{
37939
+ amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
37940
+ }, "strip", z.ZodTypeAny, {
37941
+ amount: bigint;
37942
+ }, {
37943
+ amount: string | number;
37944
+ }>>, "many">;
37945
+ loans: z.ZodArray<z.ZodObject<{
37946
+ loan_id: z.ZodNumber;
37947
+ asset: z.ZodUnion<[z.ZodObject<{
37948
+ chain: z.ZodLiteral<"Bitcoin">;
37949
+ asset: z.ZodLiteral<"BTC">;
37950
+ }, "strip", z.ZodTypeAny, {
37951
+ chain: "Bitcoin";
37952
+ asset: "BTC";
37953
+ }, {
37954
+ chain: "Bitcoin";
37955
+ asset: "BTC";
37956
+ }>, z.ZodObject<{
37957
+ chain: z.ZodLiteral<"Polkadot">;
37958
+ asset: z.ZodLiteral<"DOT">;
37959
+ }, "strip", z.ZodTypeAny, {
37960
+ chain: "Polkadot";
37961
+ asset: "DOT";
37962
+ }, {
37963
+ chain: "Polkadot";
37964
+ asset: "DOT";
37965
+ }>, z.ZodObject<{
37966
+ chain: z.ZodLiteral<"Ethereum">;
37967
+ asset: z.ZodLiteral<"FLIP">;
37968
+ }, "strip", z.ZodTypeAny, {
37969
+ chain: "Ethereum";
37970
+ asset: "FLIP";
37971
+ }, {
37972
+ chain: "Ethereum";
37973
+ asset: "FLIP";
37974
+ }>, z.ZodObject<{
37975
+ chain: z.ZodLiteral<"Ethereum">;
37976
+ asset: z.ZodLiteral<"ETH">;
37977
+ }, "strip", z.ZodTypeAny, {
37978
+ chain: "Ethereum";
37979
+ asset: "ETH";
37980
+ }, {
37981
+ chain: "Ethereum";
37982
+ asset: "ETH";
37983
+ }>, z.ZodObject<{
37984
+ chain: z.ZodLiteral<"Ethereum">;
37985
+ asset: z.ZodLiteral<"USDC">;
37986
+ }, "strip", z.ZodTypeAny, {
37987
+ chain: "Ethereum";
37988
+ asset: "USDC";
37989
+ }, {
37990
+ chain: "Ethereum";
37991
+ asset: "USDC";
37992
+ }>, z.ZodObject<{
37993
+ chain: z.ZodLiteral<"Ethereum">;
37994
+ asset: z.ZodLiteral<"USDT">;
37995
+ }, "strip", z.ZodTypeAny, {
37996
+ chain: "Ethereum";
37997
+ asset: "USDT";
37998
+ }, {
37999
+ chain: "Ethereum";
38000
+ asset: "USDT";
38001
+ }>, z.ZodObject<{
38002
+ chain: z.ZodLiteral<"Arbitrum">;
38003
+ asset: z.ZodLiteral<"ETH">;
38004
+ }, "strip", z.ZodTypeAny, {
38005
+ chain: "Arbitrum";
38006
+ asset: "ETH";
38007
+ }, {
38008
+ chain: "Arbitrum";
38009
+ asset: "ETH";
38010
+ }>, z.ZodObject<{
38011
+ chain: z.ZodLiteral<"Arbitrum">;
38012
+ asset: z.ZodLiteral<"USDC">;
38013
+ }, "strip", z.ZodTypeAny, {
38014
+ chain: "Arbitrum";
38015
+ asset: "USDC";
38016
+ }, {
38017
+ chain: "Arbitrum";
38018
+ asset: "USDC";
38019
+ }>, z.ZodObject<{
38020
+ chain: z.ZodLiteral<"Solana">;
38021
+ asset: z.ZodLiteral<"SOL">;
38022
+ }, "strip", z.ZodTypeAny, {
38023
+ chain: "Solana";
38024
+ asset: "SOL";
38025
+ }, {
38026
+ chain: "Solana";
38027
+ asset: "SOL";
38028
+ }>, z.ZodObject<{
38029
+ chain: z.ZodLiteral<"Solana">;
38030
+ asset: z.ZodLiteral<"USDC">;
38031
+ }, "strip", z.ZodTypeAny, {
38032
+ chain: "Solana";
38033
+ asset: "USDC";
38034
+ }, {
38035
+ chain: "Solana";
38036
+ asset: "USDC";
38037
+ }>, z.ZodObject<{
38038
+ chain: z.ZodLiteral<"Assethub">;
38039
+ asset: z.ZodLiteral<"DOT">;
38040
+ }, "strip", z.ZodTypeAny, {
38041
+ chain: "Assethub";
38042
+ asset: "DOT";
38043
+ }, {
38044
+ chain: "Assethub";
38045
+ asset: "DOT";
38046
+ }>, z.ZodObject<{
38047
+ chain: z.ZodLiteral<"Assethub">;
38048
+ asset: z.ZodLiteral<"USDC">;
38049
+ }, "strip", z.ZodTypeAny, {
38050
+ chain: "Assethub";
38051
+ asset: "USDC";
38052
+ }, {
38053
+ chain: "Assethub";
38054
+ asset: "USDC";
38055
+ }>, z.ZodObject<{
38056
+ chain: z.ZodLiteral<"Assethub">;
38057
+ asset: z.ZodLiteral<"USDT">;
38058
+ }, "strip", z.ZodTypeAny, {
38059
+ chain: "Assethub";
38060
+ asset: "USDT";
38061
+ }, {
38062
+ chain: "Assethub";
38063
+ asset: "USDT";
38064
+ }>]>;
38065
+ created_at: z.ZodNumber;
38066
+ principal_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
38067
+ }, "strip", z.ZodTypeAny, {
38068
+ asset: {
38069
+ chain: "Bitcoin";
38070
+ asset: "BTC";
38071
+ } | {
38072
+ chain: "Polkadot";
38073
+ asset: "DOT";
38074
+ } | {
38075
+ chain: "Ethereum";
38076
+ asset: "FLIP";
38077
+ } | {
38078
+ chain: "Ethereum";
38079
+ asset: "ETH";
38080
+ } | {
38081
+ chain: "Ethereum";
38082
+ asset: "USDC";
38083
+ } | {
38084
+ chain: "Ethereum";
38085
+ asset: "USDT";
38086
+ } | {
38087
+ chain: "Arbitrum";
38088
+ asset: "ETH";
38089
+ } | {
38090
+ chain: "Arbitrum";
38091
+ asset: "USDC";
38092
+ } | {
38093
+ chain: "Solana";
38094
+ asset: "SOL";
38095
+ } | {
38096
+ chain: "Solana";
38097
+ asset: "USDC";
38098
+ } | {
38099
+ chain: "Assethub";
38100
+ asset: "DOT";
38101
+ } | {
38102
+ chain: "Assethub";
38103
+ asset: "USDC";
38104
+ } | {
38105
+ chain: "Assethub";
38106
+ asset: "USDT";
38107
+ };
38108
+ loan_id: number;
38109
+ created_at: number;
38110
+ principal_amount: bigint;
38111
+ }, {
38112
+ asset: {
38113
+ chain: "Bitcoin";
38114
+ asset: "BTC";
38115
+ } | {
38116
+ chain: "Polkadot";
38117
+ asset: "DOT";
38118
+ } | {
38119
+ chain: "Ethereum";
38120
+ asset: "FLIP";
38121
+ } | {
38122
+ chain: "Ethereum";
38123
+ asset: "ETH";
38124
+ } | {
38125
+ chain: "Ethereum";
38126
+ asset: "USDC";
38127
+ } | {
38128
+ chain: "Ethereum";
38129
+ asset: "USDT";
38130
+ } | {
38131
+ chain: "Arbitrum";
38132
+ asset: "ETH";
38133
+ } | {
38134
+ chain: "Arbitrum";
38135
+ asset: "USDC";
38136
+ } | {
38137
+ chain: "Solana";
38138
+ asset: "SOL";
38139
+ } | {
38140
+ chain: "Solana";
38141
+ asset: "USDC";
38142
+ } | {
38143
+ chain: "Assethub";
38144
+ asset: "DOT";
38145
+ } | {
38146
+ chain: "Assethub";
38147
+ asset: "USDC";
38148
+ } | {
38149
+ chain: "Assethub";
38150
+ asset: "USDT";
38151
+ };
38152
+ loan_id: number;
38153
+ created_at: number;
38154
+ principal_amount: string | number;
38155
+ }>, "many">;
38156
+ liquidation_status: z.ZodObject<{
38157
+ liquidation_swaps: z.ZodArray<z.ZodObject<{
38158
+ swap_request_id: z.ZodNumber;
38159
+ loan_id: z.ZodNumber;
38160
+ }, "strip", z.ZodTypeAny, {
38161
+ loan_id: number;
38162
+ swap_request_id: number;
38163
+ }, {
38164
+ loan_id: number;
38165
+ swap_request_id: number;
38166
+ }>, "many">;
38167
+ is_hard: z.ZodBoolean;
38168
+ }, "strip", z.ZodTypeAny, {
38169
+ liquidation_swaps: {
38170
+ loan_id: number;
38171
+ swap_request_id: number;
38172
+ }[];
38173
+ is_hard: boolean;
38174
+ }, {
38175
+ liquidation_swaps: {
38176
+ loan_id: number;
38177
+ swap_request_id: number;
38178
+ }[];
38179
+ is_hard: boolean;
38180
+ }>;
38181
+ }, "strip", z.ZodTypeAny, {
38182
+ account: `cF${string}`;
38183
+ primary_collateral_asset: {
38184
+ chain: "Bitcoin";
38185
+ asset: "BTC";
38186
+ } | {
38187
+ chain: "Polkadot";
38188
+ asset: "DOT";
38189
+ } | {
38190
+ chain: "Ethereum";
38191
+ asset: "FLIP";
38192
+ } | {
38193
+ chain: "Ethereum";
38194
+ asset: "ETH";
38195
+ } | {
38196
+ chain: "Ethereum";
38197
+ asset: "USDC";
38198
+ } | {
38199
+ chain: "Ethereum";
38200
+ asset: "USDT";
38201
+ } | {
38202
+ chain: "Arbitrum";
38203
+ asset: "ETH";
38204
+ } | {
38205
+ chain: "Arbitrum";
38206
+ asset: "USDC";
38207
+ } | {
38208
+ chain: "Solana";
38209
+ asset: "SOL";
38210
+ } | {
38211
+ chain: "Solana";
38212
+ asset: "USDC";
38213
+ } | {
38214
+ chain: "Assethub";
38215
+ asset: "DOT";
38216
+ } | {
38217
+ chain: "Assethub";
38218
+ asset: "USDC";
38219
+ } | {
38220
+ chain: "Assethub";
38221
+ asset: "USDT";
38222
+ };
38223
+ ltv_ratio: bigint;
38224
+ collateral: (({
38225
+ chain: "Bitcoin";
38226
+ asset: "BTC";
38227
+ } | {
38228
+ chain: "Polkadot";
38229
+ asset: "DOT";
38230
+ } | {
38231
+ chain: "Ethereum";
38232
+ asset: "FLIP";
38233
+ } | {
38234
+ chain: "Ethereum";
38235
+ asset: "ETH";
38236
+ } | {
38237
+ chain: "Ethereum";
38238
+ asset: "USDC";
38239
+ } | {
38240
+ chain: "Ethereum";
38241
+ asset: "USDT";
38242
+ } | {
38243
+ chain: "Arbitrum";
38244
+ asset: "ETH";
38245
+ } | {
38246
+ chain: "Arbitrum";
38247
+ asset: "USDC";
38248
+ } | {
38249
+ chain: "Solana";
38250
+ asset: "SOL";
38251
+ } | {
38252
+ chain: "Solana";
38253
+ asset: "USDC";
38254
+ } | {
38255
+ chain: "Assethub";
38256
+ asset: "DOT";
38257
+ } | {
38258
+ chain: "Assethub";
38259
+ asset: "USDC";
38260
+ } | {
38261
+ chain: "Assethub";
38262
+ asset: "USDT";
38263
+ }) & {
38264
+ amount: bigint;
38265
+ })[];
38266
+ loans: {
38267
+ asset: {
38268
+ chain: "Bitcoin";
38269
+ asset: "BTC";
38270
+ } | {
38271
+ chain: "Polkadot";
38272
+ asset: "DOT";
38273
+ } | {
38274
+ chain: "Ethereum";
38275
+ asset: "FLIP";
38276
+ } | {
38277
+ chain: "Ethereum";
38278
+ asset: "ETH";
38279
+ } | {
38280
+ chain: "Ethereum";
38281
+ asset: "USDC";
38282
+ } | {
38283
+ chain: "Ethereum";
38284
+ asset: "USDT";
38285
+ } | {
38286
+ chain: "Arbitrum";
38287
+ asset: "ETH";
38288
+ } | {
38289
+ chain: "Arbitrum";
38290
+ asset: "USDC";
38291
+ } | {
38292
+ chain: "Solana";
38293
+ asset: "SOL";
38294
+ } | {
38295
+ chain: "Solana";
38296
+ asset: "USDC";
38297
+ } | {
38298
+ chain: "Assethub";
38299
+ asset: "DOT";
38300
+ } | {
38301
+ chain: "Assethub";
38302
+ asset: "USDC";
38303
+ } | {
38304
+ chain: "Assethub";
38305
+ asset: "USDT";
38306
+ };
38307
+ loan_id: number;
38308
+ created_at: number;
38309
+ principal_amount: bigint;
38310
+ }[];
38311
+ liquidation_status: {
38312
+ liquidation_swaps: {
38313
+ loan_id: number;
38314
+ swap_request_id: number;
38315
+ }[];
38316
+ is_hard: boolean;
38317
+ };
38318
+ }, {
38319
+ account: string;
38320
+ primary_collateral_asset: {
38321
+ chain: "Bitcoin";
38322
+ asset: "BTC";
38323
+ } | {
38324
+ chain: "Polkadot";
38325
+ asset: "DOT";
38326
+ } | {
38327
+ chain: "Ethereum";
38328
+ asset: "FLIP";
38329
+ } | {
38330
+ chain: "Ethereum";
38331
+ asset: "ETH";
38332
+ } | {
38333
+ chain: "Ethereum";
38334
+ asset: "USDC";
38335
+ } | {
38336
+ chain: "Ethereum";
38337
+ asset: "USDT";
38338
+ } | {
38339
+ chain: "Arbitrum";
38340
+ asset: "ETH";
38341
+ } | {
38342
+ chain: "Arbitrum";
38343
+ asset: "USDC";
38344
+ } | {
38345
+ chain: "Solana";
38346
+ asset: "SOL";
38347
+ } | {
38348
+ chain: "Solana";
38349
+ asset: "USDC";
38350
+ } | {
38351
+ chain: "Assethub";
38352
+ asset: "DOT";
38353
+ } | {
38354
+ chain: "Assethub";
38355
+ asset: "USDC";
38356
+ } | {
38357
+ chain: "Assethub";
38358
+ asset: "USDT";
38359
+ };
38360
+ ltv_ratio: string | number;
38361
+ collateral: (({
38362
+ chain: "Bitcoin";
38363
+ asset: "BTC";
38364
+ } | {
38365
+ chain: "Polkadot";
38366
+ asset: "DOT";
38367
+ } | {
38368
+ chain: "Ethereum";
38369
+ asset: "FLIP";
38370
+ } | {
38371
+ chain: "Ethereum";
38372
+ asset: "ETH";
38373
+ } | {
38374
+ chain: "Ethereum";
38375
+ asset: "USDC";
38376
+ } | {
38377
+ chain: "Ethereum";
38378
+ asset: "USDT";
38379
+ } | {
38380
+ chain: "Arbitrum";
38381
+ asset: "ETH";
38382
+ } | {
38383
+ chain: "Arbitrum";
38384
+ asset: "USDC";
38385
+ } | {
38386
+ chain: "Solana";
38387
+ asset: "SOL";
38388
+ } | {
38389
+ chain: "Solana";
38390
+ asset: "USDC";
38391
+ } | {
38392
+ chain: "Assethub";
38393
+ asset: "DOT";
38394
+ } | {
38395
+ chain: "Assethub";
38396
+ asset: "USDC";
38397
+ } | {
38398
+ chain: "Assethub";
38399
+ asset: "USDT";
38400
+ }) & {
38401
+ amount: string | number;
38402
+ })[];
38403
+ loans: {
38404
+ asset: {
38405
+ chain: "Bitcoin";
38406
+ asset: "BTC";
38407
+ } | {
38408
+ chain: "Polkadot";
38409
+ asset: "DOT";
38410
+ } | {
38411
+ chain: "Ethereum";
38412
+ asset: "FLIP";
38413
+ } | {
38414
+ chain: "Ethereum";
38415
+ asset: "ETH";
38416
+ } | {
38417
+ chain: "Ethereum";
38418
+ asset: "USDC";
38419
+ } | {
38420
+ chain: "Ethereum";
38421
+ asset: "USDT";
38422
+ } | {
38423
+ chain: "Arbitrum";
38424
+ asset: "ETH";
38425
+ } | {
38426
+ chain: "Arbitrum";
38427
+ asset: "USDC";
38428
+ } | {
38429
+ chain: "Solana";
38430
+ asset: "SOL";
38431
+ } | {
38432
+ chain: "Solana";
38433
+ asset: "USDC";
38434
+ } | {
38435
+ chain: "Assethub";
38436
+ asset: "DOT";
38437
+ } | {
38438
+ chain: "Assethub";
38439
+ asset: "USDC";
38440
+ } | {
38441
+ chain: "Assethub";
38442
+ asset: "USDT";
38443
+ };
38444
+ loan_id: number;
38445
+ created_at: number;
38446
+ principal_amount: string | number;
38447
+ }[];
38448
+ liquidation_status: {
38449
+ liquidation_swaps: {
38450
+ loan_id: number;
38451
+ swap_request_id: number;
38452
+ }[];
38453
+ is_hard: boolean;
38454
+ };
38455
+ }>;
38456
+ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
38457
+ account: z.ZodEffects<z.ZodString, `cF${string}`, string>;
38458
+ primary_collateral_asset: z.ZodUnion<[z.ZodObject<{
38459
+ chain: z.ZodLiteral<"Bitcoin">;
38460
+ asset: z.ZodLiteral<"BTC">;
38461
+ }, "strip", z.ZodTypeAny, {
38462
+ chain: "Bitcoin";
38463
+ asset: "BTC";
38464
+ }, {
38465
+ chain: "Bitcoin";
38466
+ asset: "BTC";
38467
+ }>, z.ZodObject<{
38468
+ chain: z.ZodLiteral<"Polkadot">;
38469
+ asset: z.ZodLiteral<"DOT">;
38470
+ }, "strip", z.ZodTypeAny, {
38471
+ chain: "Polkadot";
38472
+ asset: "DOT";
38473
+ }, {
38474
+ chain: "Polkadot";
38475
+ asset: "DOT";
38476
+ }>, z.ZodObject<{
38477
+ chain: z.ZodLiteral<"Ethereum">;
38478
+ asset: z.ZodLiteral<"FLIP">;
38479
+ }, "strip", z.ZodTypeAny, {
38480
+ chain: "Ethereum";
38481
+ asset: "FLIP";
38482
+ }, {
38483
+ chain: "Ethereum";
38484
+ asset: "FLIP";
38485
+ }>, z.ZodObject<{
38486
+ chain: z.ZodLiteral<"Ethereum">;
38487
+ asset: z.ZodLiteral<"ETH">;
38488
+ }, "strip", z.ZodTypeAny, {
38489
+ chain: "Ethereum";
38490
+ asset: "ETH";
38491
+ }, {
38492
+ chain: "Ethereum";
38493
+ asset: "ETH";
38494
+ }>, z.ZodObject<{
38495
+ chain: z.ZodLiteral<"Ethereum">;
38496
+ asset: z.ZodLiteral<"USDC">;
38497
+ }, "strip", z.ZodTypeAny, {
38498
+ chain: "Ethereum";
38499
+ asset: "USDC";
38500
+ }, {
38501
+ chain: "Ethereum";
38502
+ asset: "USDC";
38503
+ }>, z.ZodObject<{
38504
+ chain: z.ZodLiteral<"Ethereum">;
38505
+ asset: z.ZodLiteral<"USDT">;
38506
+ }, "strip", z.ZodTypeAny, {
38507
+ chain: "Ethereum";
38508
+ asset: "USDT";
38509
+ }, {
38510
+ chain: "Ethereum";
38511
+ asset: "USDT";
38512
+ }>, z.ZodObject<{
38513
+ chain: z.ZodLiteral<"Arbitrum">;
38514
+ asset: z.ZodLiteral<"ETH">;
38515
+ }, "strip", z.ZodTypeAny, {
38516
+ chain: "Arbitrum";
38517
+ asset: "ETH";
38518
+ }, {
38519
+ chain: "Arbitrum";
38520
+ asset: "ETH";
38521
+ }>, z.ZodObject<{
38522
+ chain: z.ZodLiteral<"Arbitrum">;
38523
+ asset: z.ZodLiteral<"USDC">;
38524
+ }, "strip", z.ZodTypeAny, {
38525
+ chain: "Arbitrum";
38526
+ asset: "USDC";
38527
+ }, {
38528
+ chain: "Arbitrum";
38529
+ asset: "USDC";
38530
+ }>, z.ZodObject<{
38531
+ chain: z.ZodLiteral<"Solana">;
38532
+ asset: z.ZodLiteral<"SOL">;
38533
+ }, "strip", z.ZodTypeAny, {
38534
+ chain: "Solana";
38535
+ asset: "SOL";
38536
+ }, {
38537
+ chain: "Solana";
38538
+ asset: "SOL";
38539
+ }>, z.ZodObject<{
38540
+ chain: z.ZodLiteral<"Solana">;
38541
+ asset: z.ZodLiteral<"USDC">;
38542
+ }, "strip", z.ZodTypeAny, {
38543
+ chain: "Solana";
38544
+ asset: "USDC";
38545
+ }, {
38546
+ chain: "Solana";
38547
+ asset: "USDC";
38548
+ }>, z.ZodObject<{
38549
+ chain: z.ZodLiteral<"Assethub">;
38550
+ asset: z.ZodLiteral<"DOT">;
38551
+ }, "strip", z.ZodTypeAny, {
38552
+ chain: "Assethub";
38553
+ asset: "DOT";
38554
+ }, {
38555
+ chain: "Assethub";
38556
+ asset: "DOT";
38557
+ }>, z.ZodObject<{
38558
+ chain: z.ZodLiteral<"Assethub">;
38559
+ asset: z.ZodLiteral<"USDC">;
38560
+ }, "strip", z.ZodTypeAny, {
38561
+ chain: "Assethub";
38562
+ asset: "USDC";
38563
+ }, {
38564
+ chain: "Assethub";
38565
+ asset: "USDC";
38566
+ }>, z.ZodObject<{
38567
+ chain: z.ZodLiteral<"Assethub">;
38568
+ asset: z.ZodLiteral<"USDT">;
38569
+ }, "strip", z.ZodTypeAny, {
38570
+ chain: "Assethub";
38571
+ asset: "USDT";
38572
+ }, {
38573
+ chain: "Assethub";
38574
+ asset: "USDT";
38575
+ }>]>;
38576
+ ltv_ratio: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
38577
+ collateral: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
38578
+ chain: z.ZodLiteral<"Bitcoin">;
38579
+ asset: z.ZodLiteral<"BTC">;
38580
+ }, "strip", z.ZodTypeAny, {
38581
+ chain: "Bitcoin";
38582
+ asset: "BTC";
38583
+ }, {
38584
+ chain: "Bitcoin";
38585
+ asset: "BTC";
38586
+ }>, z.ZodObject<{
38587
+ chain: z.ZodLiteral<"Polkadot">;
38588
+ asset: z.ZodLiteral<"DOT">;
38589
+ }, "strip", z.ZodTypeAny, {
38590
+ chain: "Polkadot";
38591
+ asset: "DOT";
38592
+ }, {
38593
+ chain: "Polkadot";
38594
+ asset: "DOT";
38595
+ }>, z.ZodObject<{
38596
+ chain: z.ZodLiteral<"Ethereum">;
38597
+ asset: z.ZodLiteral<"FLIP">;
38598
+ }, "strip", z.ZodTypeAny, {
38599
+ chain: "Ethereum";
38600
+ asset: "FLIP";
38601
+ }, {
38602
+ chain: "Ethereum";
38603
+ asset: "FLIP";
38604
+ }>, z.ZodObject<{
38605
+ chain: z.ZodLiteral<"Ethereum">;
38606
+ asset: z.ZodLiteral<"ETH">;
38607
+ }, "strip", z.ZodTypeAny, {
38608
+ chain: "Ethereum";
38609
+ asset: "ETH";
38610
+ }, {
38611
+ chain: "Ethereum";
38612
+ asset: "ETH";
38613
+ }>, z.ZodObject<{
38614
+ chain: z.ZodLiteral<"Ethereum">;
38615
+ asset: z.ZodLiteral<"USDC">;
38616
+ }, "strip", z.ZodTypeAny, {
38617
+ chain: "Ethereum";
38618
+ asset: "USDC";
38619
+ }, {
38620
+ chain: "Ethereum";
38621
+ asset: "USDC";
38622
+ }>, z.ZodObject<{
38623
+ chain: z.ZodLiteral<"Ethereum">;
38624
+ asset: z.ZodLiteral<"USDT">;
38625
+ }, "strip", z.ZodTypeAny, {
38626
+ chain: "Ethereum";
38627
+ asset: "USDT";
38628
+ }, {
38629
+ chain: "Ethereum";
38630
+ asset: "USDT";
38631
+ }>, z.ZodObject<{
38632
+ chain: z.ZodLiteral<"Arbitrum">;
38633
+ asset: z.ZodLiteral<"ETH">;
38634
+ }, "strip", z.ZodTypeAny, {
38635
+ chain: "Arbitrum";
38636
+ asset: "ETH";
38637
+ }, {
38638
+ chain: "Arbitrum";
38639
+ asset: "ETH";
38640
+ }>, z.ZodObject<{
38641
+ chain: z.ZodLiteral<"Arbitrum">;
38642
+ asset: z.ZodLiteral<"USDC">;
38643
+ }, "strip", z.ZodTypeAny, {
38644
+ chain: "Arbitrum";
38645
+ asset: "USDC";
38646
+ }, {
38647
+ chain: "Arbitrum";
38648
+ asset: "USDC";
38649
+ }>, z.ZodObject<{
38650
+ chain: z.ZodLiteral<"Solana">;
38651
+ asset: z.ZodLiteral<"SOL">;
38652
+ }, "strip", z.ZodTypeAny, {
38653
+ chain: "Solana";
38654
+ asset: "SOL";
38655
+ }, {
38656
+ chain: "Solana";
38657
+ asset: "SOL";
38658
+ }>, z.ZodObject<{
38659
+ chain: z.ZodLiteral<"Solana">;
38660
+ asset: z.ZodLiteral<"USDC">;
38661
+ }, "strip", z.ZodTypeAny, {
38662
+ chain: "Solana";
38663
+ asset: "USDC";
38664
+ }, {
38665
+ chain: "Solana";
38666
+ asset: "USDC";
38667
+ }>, z.ZodObject<{
38668
+ chain: z.ZodLiteral<"Assethub">;
38669
+ asset: z.ZodLiteral<"DOT">;
38670
+ }, "strip", z.ZodTypeAny, {
38671
+ chain: "Assethub";
38672
+ asset: "DOT";
38673
+ }, {
38674
+ chain: "Assethub";
38675
+ asset: "DOT";
38676
+ }>, z.ZodObject<{
38677
+ chain: z.ZodLiteral<"Assethub">;
38678
+ asset: z.ZodLiteral<"USDC">;
38679
+ }, "strip", z.ZodTypeAny, {
38680
+ chain: "Assethub";
38681
+ asset: "USDC";
38682
+ }, {
38683
+ chain: "Assethub";
38684
+ asset: "USDC";
38685
+ }>, z.ZodObject<{
38686
+ chain: z.ZodLiteral<"Assethub">;
38687
+ asset: z.ZodLiteral<"USDT">;
38688
+ }, "strip", z.ZodTypeAny, {
38689
+ chain: "Assethub";
38690
+ asset: "USDT";
38691
+ }, {
38692
+ chain: "Assethub";
38693
+ asset: "USDT";
38694
+ }>]>, z.ZodObject<{
38695
+ amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
38696
+ }, "strip", z.ZodTypeAny, {
38697
+ amount: bigint;
38698
+ }, {
38699
+ amount: string | number;
38700
+ }>>, "many">;
38701
+ loans: z.ZodArray<z.ZodObject<{
38702
+ loan_id: z.ZodNumber;
38703
+ asset: z.ZodUnion<[z.ZodObject<{
38704
+ chain: z.ZodLiteral<"Bitcoin">;
38705
+ asset: z.ZodLiteral<"BTC">;
38706
+ }, "strip", z.ZodTypeAny, {
38707
+ chain: "Bitcoin";
38708
+ asset: "BTC";
38709
+ }, {
38710
+ chain: "Bitcoin";
38711
+ asset: "BTC";
38712
+ }>, z.ZodObject<{
38713
+ chain: z.ZodLiteral<"Polkadot">;
38714
+ asset: z.ZodLiteral<"DOT">;
38715
+ }, "strip", z.ZodTypeAny, {
38716
+ chain: "Polkadot";
38717
+ asset: "DOT";
38718
+ }, {
38719
+ chain: "Polkadot";
38720
+ asset: "DOT";
38721
+ }>, z.ZodObject<{
38722
+ chain: z.ZodLiteral<"Ethereum">;
38723
+ asset: z.ZodLiteral<"FLIP">;
38724
+ }, "strip", z.ZodTypeAny, {
38725
+ chain: "Ethereum";
38726
+ asset: "FLIP";
38727
+ }, {
38728
+ chain: "Ethereum";
38729
+ asset: "FLIP";
38730
+ }>, z.ZodObject<{
38731
+ chain: z.ZodLiteral<"Ethereum">;
38732
+ asset: z.ZodLiteral<"ETH">;
38733
+ }, "strip", z.ZodTypeAny, {
38734
+ chain: "Ethereum";
38735
+ asset: "ETH";
38736
+ }, {
38737
+ chain: "Ethereum";
38738
+ asset: "ETH";
38739
+ }>, z.ZodObject<{
38740
+ chain: z.ZodLiteral<"Ethereum">;
38741
+ asset: z.ZodLiteral<"USDC">;
38742
+ }, "strip", z.ZodTypeAny, {
38743
+ chain: "Ethereum";
38744
+ asset: "USDC";
38745
+ }, {
38746
+ chain: "Ethereum";
38747
+ asset: "USDC";
38748
+ }>, z.ZodObject<{
38749
+ chain: z.ZodLiteral<"Ethereum">;
38750
+ asset: z.ZodLiteral<"USDT">;
38751
+ }, "strip", z.ZodTypeAny, {
38752
+ chain: "Ethereum";
38753
+ asset: "USDT";
38754
+ }, {
38755
+ chain: "Ethereum";
38756
+ asset: "USDT";
38757
+ }>, z.ZodObject<{
38758
+ chain: z.ZodLiteral<"Arbitrum">;
38759
+ asset: z.ZodLiteral<"ETH">;
38760
+ }, "strip", z.ZodTypeAny, {
38761
+ chain: "Arbitrum";
38762
+ asset: "ETH";
38763
+ }, {
38764
+ chain: "Arbitrum";
38765
+ asset: "ETH";
38766
+ }>, z.ZodObject<{
38767
+ chain: z.ZodLiteral<"Arbitrum">;
38768
+ asset: z.ZodLiteral<"USDC">;
38769
+ }, "strip", z.ZodTypeAny, {
38770
+ chain: "Arbitrum";
38771
+ asset: "USDC";
38772
+ }, {
38773
+ chain: "Arbitrum";
38774
+ asset: "USDC";
38775
+ }>, z.ZodObject<{
38776
+ chain: z.ZodLiteral<"Solana">;
38777
+ asset: z.ZodLiteral<"SOL">;
38778
+ }, "strip", z.ZodTypeAny, {
38779
+ chain: "Solana";
38780
+ asset: "SOL";
38781
+ }, {
38782
+ chain: "Solana";
38783
+ asset: "SOL";
38784
+ }>, z.ZodObject<{
38785
+ chain: z.ZodLiteral<"Solana">;
38786
+ asset: z.ZodLiteral<"USDC">;
38787
+ }, "strip", z.ZodTypeAny, {
38788
+ chain: "Solana";
38789
+ asset: "USDC";
38790
+ }, {
38791
+ chain: "Solana";
38792
+ asset: "USDC";
38793
+ }>, z.ZodObject<{
38794
+ chain: z.ZodLiteral<"Assethub">;
38795
+ asset: z.ZodLiteral<"DOT">;
38796
+ }, "strip", z.ZodTypeAny, {
38797
+ chain: "Assethub";
38798
+ asset: "DOT";
38799
+ }, {
38800
+ chain: "Assethub";
38801
+ asset: "DOT";
38802
+ }>, z.ZodObject<{
38803
+ chain: z.ZodLiteral<"Assethub">;
38804
+ asset: z.ZodLiteral<"USDC">;
38805
+ }, "strip", z.ZodTypeAny, {
38806
+ chain: "Assethub";
38807
+ asset: "USDC";
38808
+ }, {
38809
+ chain: "Assethub";
38810
+ asset: "USDC";
38811
+ }>, z.ZodObject<{
38812
+ chain: z.ZodLiteral<"Assethub">;
38813
+ asset: z.ZodLiteral<"USDT">;
38814
+ }, "strip", z.ZodTypeAny, {
38815
+ chain: "Assethub";
38816
+ asset: "USDT";
38817
+ }, {
38818
+ chain: "Assethub";
38819
+ asset: "USDT";
38820
+ }>]>;
38821
+ created_at: z.ZodNumber;
38822
+ principal_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
38823
+ }, "strip", z.ZodTypeAny, {
38824
+ asset: {
38825
+ chain: "Bitcoin";
38826
+ asset: "BTC";
38827
+ } | {
38828
+ chain: "Polkadot";
38829
+ asset: "DOT";
38830
+ } | {
38831
+ chain: "Ethereum";
38832
+ asset: "FLIP";
38833
+ } | {
38834
+ chain: "Ethereum";
38835
+ asset: "ETH";
38836
+ } | {
38837
+ chain: "Ethereum";
38838
+ asset: "USDC";
38839
+ } | {
38840
+ chain: "Ethereum";
38841
+ asset: "USDT";
38842
+ } | {
38843
+ chain: "Arbitrum";
38844
+ asset: "ETH";
38845
+ } | {
38846
+ chain: "Arbitrum";
38847
+ asset: "USDC";
38848
+ } | {
38849
+ chain: "Solana";
38850
+ asset: "SOL";
38851
+ } | {
38852
+ chain: "Solana";
38853
+ asset: "USDC";
38854
+ } | {
38855
+ chain: "Assethub";
38856
+ asset: "DOT";
38857
+ } | {
38858
+ chain: "Assethub";
38859
+ asset: "USDC";
38860
+ } | {
38861
+ chain: "Assethub";
38862
+ asset: "USDT";
38863
+ };
38864
+ loan_id: number;
38865
+ created_at: number;
38866
+ principal_amount: bigint;
38867
+ }, {
38868
+ asset: {
38869
+ chain: "Bitcoin";
38870
+ asset: "BTC";
38871
+ } | {
38872
+ chain: "Polkadot";
38873
+ asset: "DOT";
38874
+ } | {
38875
+ chain: "Ethereum";
38876
+ asset: "FLIP";
38877
+ } | {
38878
+ chain: "Ethereum";
38879
+ asset: "ETH";
38880
+ } | {
38881
+ chain: "Ethereum";
38882
+ asset: "USDC";
38883
+ } | {
38884
+ chain: "Ethereum";
38885
+ asset: "USDT";
38886
+ } | {
38887
+ chain: "Arbitrum";
38888
+ asset: "ETH";
38889
+ } | {
38890
+ chain: "Arbitrum";
38891
+ asset: "USDC";
38892
+ } | {
38893
+ chain: "Solana";
38894
+ asset: "SOL";
38895
+ } | {
38896
+ chain: "Solana";
38897
+ asset: "USDC";
38898
+ } | {
38899
+ chain: "Assethub";
38900
+ asset: "DOT";
38901
+ } | {
38902
+ chain: "Assethub";
38903
+ asset: "USDC";
38904
+ } | {
38905
+ chain: "Assethub";
38906
+ asset: "USDT";
38907
+ };
38908
+ loan_id: number;
38909
+ created_at: number;
38910
+ principal_amount: string | number;
38911
+ }>, "many">;
38912
+ liquidation_status: z.ZodObject<{
38913
+ liquidation_swaps: z.ZodArray<z.ZodObject<{
38914
+ swap_request_id: z.ZodNumber;
38915
+ loan_id: z.ZodNumber;
38916
+ }, "strip", z.ZodTypeAny, {
38917
+ loan_id: number;
38918
+ swap_request_id: number;
38919
+ }, {
38920
+ loan_id: number;
38921
+ swap_request_id: number;
38922
+ }>, "many">;
38923
+ is_hard: z.ZodBoolean;
38924
+ }, "strip", z.ZodTypeAny, {
38925
+ liquidation_swaps: {
38926
+ loan_id: number;
38927
+ swap_request_id: number;
38928
+ }[];
38929
+ is_hard: boolean;
38930
+ }, {
38931
+ liquidation_swaps: {
38932
+ loan_id: number;
38933
+ swap_request_id: number;
38934
+ }[];
38935
+ is_hard: boolean;
38936
+ }>;
38937
+ }, "strip", z.ZodTypeAny, {
38938
+ account: `cF${string}`;
38939
+ primary_collateral_asset: {
38940
+ chain: "Bitcoin";
38941
+ asset: "BTC";
38942
+ } | {
38943
+ chain: "Polkadot";
38944
+ asset: "DOT";
38945
+ } | {
38946
+ chain: "Ethereum";
38947
+ asset: "FLIP";
38948
+ } | {
38949
+ chain: "Ethereum";
38950
+ asset: "ETH";
38951
+ } | {
38952
+ chain: "Ethereum";
38953
+ asset: "USDC";
38954
+ } | {
38955
+ chain: "Ethereum";
38956
+ asset: "USDT";
38957
+ } | {
38958
+ chain: "Arbitrum";
38959
+ asset: "ETH";
38960
+ } | {
38961
+ chain: "Arbitrum";
38962
+ asset: "USDC";
38963
+ } | {
38964
+ chain: "Solana";
38965
+ asset: "SOL";
38966
+ } | {
38967
+ chain: "Solana";
38968
+ asset: "USDC";
38969
+ } | {
38970
+ chain: "Assethub";
38971
+ asset: "DOT";
38972
+ } | {
38973
+ chain: "Assethub";
38974
+ asset: "USDC";
38975
+ } | {
38976
+ chain: "Assethub";
38977
+ asset: "USDT";
38978
+ };
38979
+ ltv_ratio: bigint;
38980
+ collateral: (({
38981
+ chain: "Bitcoin";
38982
+ asset: "BTC";
38983
+ } | {
38984
+ chain: "Polkadot";
38985
+ asset: "DOT";
38986
+ } | {
38987
+ chain: "Ethereum";
38988
+ asset: "FLIP";
38989
+ } | {
38990
+ chain: "Ethereum";
38991
+ asset: "ETH";
38992
+ } | {
38993
+ chain: "Ethereum";
38994
+ asset: "USDC";
38995
+ } | {
38996
+ chain: "Ethereum";
38997
+ asset: "USDT";
38998
+ } | {
38999
+ chain: "Arbitrum";
39000
+ asset: "ETH";
39001
+ } | {
39002
+ chain: "Arbitrum";
39003
+ asset: "USDC";
39004
+ } | {
39005
+ chain: "Solana";
39006
+ asset: "SOL";
39007
+ } | {
39008
+ chain: "Solana";
39009
+ asset: "USDC";
39010
+ } | {
39011
+ chain: "Assethub";
39012
+ asset: "DOT";
39013
+ } | {
39014
+ chain: "Assethub";
39015
+ asset: "USDC";
39016
+ } | {
39017
+ chain: "Assethub";
39018
+ asset: "USDT";
39019
+ }) & {
39020
+ amount: bigint;
39021
+ })[];
39022
+ loans: {
39023
+ asset: {
39024
+ chain: "Bitcoin";
39025
+ asset: "BTC";
39026
+ } | {
39027
+ chain: "Polkadot";
39028
+ asset: "DOT";
39029
+ } | {
39030
+ chain: "Ethereum";
39031
+ asset: "FLIP";
39032
+ } | {
39033
+ chain: "Ethereum";
39034
+ asset: "ETH";
39035
+ } | {
39036
+ chain: "Ethereum";
39037
+ asset: "USDC";
39038
+ } | {
39039
+ chain: "Ethereum";
39040
+ asset: "USDT";
39041
+ } | {
39042
+ chain: "Arbitrum";
39043
+ asset: "ETH";
39044
+ } | {
39045
+ chain: "Arbitrum";
39046
+ asset: "USDC";
39047
+ } | {
39048
+ chain: "Solana";
39049
+ asset: "SOL";
39050
+ } | {
39051
+ chain: "Solana";
39052
+ asset: "USDC";
39053
+ } | {
39054
+ chain: "Assethub";
39055
+ asset: "DOT";
39056
+ } | {
39057
+ chain: "Assethub";
39058
+ asset: "USDC";
39059
+ } | {
39060
+ chain: "Assethub";
39061
+ asset: "USDT";
39062
+ };
39063
+ loan_id: number;
39064
+ created_at: number;
39065
+ principal_amount: bigint;
39066
+ }[];
39067
+ liquidation_status: {
39068
+ liquidation_swaps: {
39069
+ loan_id: number;
39070
+ swap_request_id: number;
39071
+ }[];
39072
+ is_hard: boolean;
39073
+ };
39074
+ }, {
39075
+ account: string;
39076
+ primary_collateral_asset: {
39077
+ chain: "Bitcoin";
39078
+ asset: "BTC";
39079
+ } | {
39080
+ chain: "Polkadot";
39081
+ asset: "DOT";
39082
+ } | {
39083
+ chain: "Ethereum";
39084
+ asset: "FLIP";
39085
+ } | {
39086
+ chain: "Ethereum";
39087
+ asset: "ETH";
39088
+ } | {
39089
+ chain: "Ethereum";
39090
+ asset: "USDC";
39091
+ } | {
39092
+ chain: "Ethereum";
39093
+ asset: "USDT";
39094
+ } | {
39095
+ chain: "Arbitrum";
39096
+ asset: "ETH";
39097
+ } | {
39098
+ chain: "Arbitrum";
39099
+ asset: "USDC";
39100
+ } | {
39101
+ chain: "Solana";
39102
+ asset: "SOL";
39103
+ } | {
39104
+ chain: "Solana";
39105
+ asset: "USDC";
39106
+ } | {
39107
+ chain: "Assethub";
39108
+ asset: "DOT";
39109
+ } | {
39110
+ chain: "Assethub";
39111
+ asset: "USDC";
39112
+ } | {
39113
+ chain: "Assethub";
39114
+ asset: "USDT";
39115
+ };
39116
+ ltv_ratio: string | number;
39117
+ collateral: (({
39118
+ chain: "Bitcoin";
39119
+ asset: "BTC";
39120
+ } | {
39121
+ chain: "Polkadot";
39122
+ asset: "DOT";
39123
+ } | {
39124
+ chain: "Ethereum";
39125
+ asset: "FLIP";
39126
+ } | {
39127
+ chain: "Ethereum";
39128
+ asset: "ETH";
39129
+ } | {
39130
+ chain: "Ethereum";
39131
+ asset: "USDC";
39132
+ } | {
39133
+ chain: "Ethereum";
39134
+ asset: "USDT";
39135
+ } | {
39136
+ chain: "Arbitrum";
39137
+ asset: "ETH";
39138
+ } | {
39139
+ chain: "Arbitrum";
39140
+ asset: "USDC";
39141
+ } | {
39142
+ chain: "Solana";
39143
+ asset: "SOL";
39144
+ } | {
39145
+ chain: "Solana";
39146
+ asset: "USDC";
39147
+ } | {
39148
+ chain: "Assethub";
39149
+ asset: "DOT";
39150
+ } | {
39151
+ chain: "Assethub";
39152
+ asset: "USDC";
39153
+ } | {
39154
+ chain: "Assethub";
39155
+ asset: "USDT";
39156
+ }) & {
39157
+ amount: string | number;
39158
+ })[];
39159
+ loans: {
39160
+ asset: {
39161
+ chain: "Bitcoin";
39162
+ asset: "BTC";
39163
+ } | {
39164
+ chain: "Polkadot";
39165
+ asset: "DOT";
39166
+ } | {
39167
+ chain: "Ethereum";
39168
+ asset: "FLIP";
39169
+ } | {
39170
+ chain: "Ethereum";
39171
+ asset: "ETH";
39172
+ } | {
39173
+ chain: "Ethereum";
39174
+ asset: "USDC";
39175
+ } | {
39176
+ chain: "Ethereum";
39177
+ asset: "USDT";
39178
+ } | {
39179
+ chain: "Arbitrum";
39180
+ asset: "ETH";
39181
+ } | {
39182
+ chain: "Arbitrum";
39183
+ asset: "USDC";
39184
+ } | {
39185
+ chain: "Solana";
39186
+ asset: "SOL";
39187
+ } | {
39188
+ chain: "Solana";
39189
+ asset: "USDC";
39190
+ } | {
39191
+ chain: "Assethub";
39192
+ asset: "DOT";
39193
+ } | {
39194
+ chain: "Assethub";
39195
+ asset: "USDC";
39196
+ } | {
39197
+ chain: "Assethub";
39198
+ asset: "USDT";
39199
+ };
39200
+ loan_id: number;
39201
+ created_at: number;
39202
+ principal_amount: string | number;
39203
+ }[];
39204
+ liquidation_status: {
39205
+ liquidation_swaps: {
39206
+ loan_id: number;
39207
+ swap_request_id: number;
39208
+ }[];
39209
+ is_hard: boolean;
39210
+ };
39211
+ }>, "many">;
37700
39212
 
37701
- export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, accountInfoCommon, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfAvailablePools, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfGetTradingStrategyLimits, cfIngressEgressEnvironment, cfLendingConfig, cfLendingPools, cfOraclePrices, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSafeModeStatuses, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, newCfAccountInfo, numberOrHex, numericString, oldBroker, oldCfAccountInfo, oldLiquidityProvider, oldUnregistered, oldValidator, operator, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
39213
+ export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, accountInfoCommon, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfAvailablePools, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfGetTradingStrategyLimits, cfIngressEgressEnvironment, cfLendingConfig, cfLendingPools, cfLoanAccount, cfLoanAccounts, cfOraclePrices, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSafeModeStatuses, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, newCfAccountInfo, numberOrHex, numericString, oldBroker, oldCfAccountInfo, oldLiquidityProvider, oldUnregistered, oldValidator, operator, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };