@chainflip/rpc 1.11.0-beta.12 → 1.11.0-beta.13

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.ts CHANGED
@@ -2139,6 +2139,257 @@ declare const rpcResult: {
2139
2139
  }[];
2140
2140
  };
2141
2141
  }>;
2142
+ lending_positions: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2143
+ chain: z.ZodLiteral<"Bitcoin">;
2144
+ asset: z.ZodLiteral<"BTC">;
2145
+ }, "strip", z.ZodTypeAny, {
2146
+ chain: "Bitcoin";
2147
+ asset: "BTC";
2148
+ }, {
2149
+ chain: "Bitcoin";
2150
+ asset: "BTC";
2151
+ }>, z.ZodObject<{
2152
+ chain: z.ZodLiteral<"Polkadot">;
2153
+ asset: z.ZodLiteral<"DOT">;
2154
+ }, "strip", z.ZodTypeAny, {
2155
+ chain: "Polkadot";
2156
+ asset: "DOT";
2157
+ }, {
2158
+ chain: "Polkadot";
2159
+ asset: "DOT";
2160
+ }>, z.ZodObject<{
2161
+ chain: z.ZodLiteral<"Ethereum">;
2162
+ asset: z.ZodLiteral<"FLIP">;
2163
+ }, "strip", z.ZodTypeAny, {
2164
+ chain: "Ethereum";
2165
+ asset: "FLIP";
2166
+ }, {
2167
+ chain: "Ethereum";
2168
+ asset: "FLIP";
2169
+ }>, z.ZodObject<{
2170
+ chain: z.ZodLiteral<"Ethereum">;
2171
+ asset: z.ZodLiteral<"ETH">;
2172
+ }, "strip", z.ZodTypeAny, {
2173
+ chain: "Ethereum";
2174
+ asset: "ETH";
2175
+ }, {
2176
+ chain: "Ethereum";
2177
+ asset: "ETH";
2178
+ }>, z.ZodObject<{
2179
+ chain: z.ZodLiteral<"Ethereum">;
2180
+ asset: z.ZodLiteral<"USDC">;
2181
+ }, "strip", z.ZodTypeAny, {
2182
+ chain: "Ethereum";
2183
+ asset: "USDC";
2184
+ }, {
2185
+ chain: "Ethereum";
2186
+ asset: "USDC";
2187
+ }>, z.ZodObject<{
2188
+ chain: z.ZodLiteral<"Ethereum">;
2189
+ asset: z.ZodLiteral<"USDT">;
2190
+ }, "strip", z.ZodTypeAny, {
2191
+ chain: "Ethereum";
2192
+ asset: "USDT";
2193
+ }, {
2194
+ chain: "Ethereum";
2195
+ asset: "USDT";
2196
+ }>, z.ZodObject<{
2197
+ chain: z.ZodLiteral<"Arbitrum">;
2198
+ asset: z.ZodLiteral<"ETH">;
2199
+ }, "strip", z.ZodTypeAny, {
2200
+ chain: "Arbitrum";
2201
+ asset: "ETH";
2202
+ }, {
2203
+ chain: "Arbitrum";
2204
+ asset: "ETH";
2205
+ }>, z.ZodObject<{
2206
+ chain: z.ZodLiteral<"Arbitrum">;
2207
+ asset: z.ZodLiteral<"USDC">;
2208
+ }, "strip", z.ZodTypeAny, {
2209
+ chain: "Arbitrum";
2210
+ asset: "USDC";
2211
+ }, {
2212
+ chain: "Arbitrum";
2213
+ asset: "USDC";
2214
+ }>, z.ZodObject<{
2215
+ chain: z.ZodLiteral<"Solana">;
2216
+ asset: z.ZodLiteral<"SOL">;
2217
+ }, "strip", z.ZodTypeAny, {
2218
+ chain: "Solana";
2219
+ asset: "SOL";
2220
+ }, {
2221
+ chain: "Solana";
2222
+ asset: "SOL";
2223
+ }>, z.ZodObject<{
2224
+ chain: z.ZodLiteral<"Solana">;
2225
+ asset: z.ZodLiteral<"USDC">;
2226
+ }, "strip", z.ZodTypeAny, {
2227
+ chain: "Solana";
2228
+ asset: "USDC";
2229
+ }, {
2230
+ chain: "Solana";
2231
+ asset: "USDC";
2232
+ }>, z.ZodObject<{
2233
+ chain: z.ZodLiteral<"Assethub">;
2234
+ asset: z.ZodLiteral<"DOT">;
2235
+ }, "strip", z.ZodTypeAny, {
2236
+ chain: "Assethub";
2237
+ asset: "DOT";
2238
+ }, {
2239
+ chain: "Assethub";
2240
+ asset: "DOT";
2241
+ }>, z.ZodObject<{
2242
+ chain: z.ZodLiteral<"Assethub">;
2243
+ asset: z.ZodLiteral<"USDC">;
2244
+ }, "strip", z.ZodTypeAny, {
2245
+ chain: "Assethub";
2246
+ asset: "USDC";
2247
+ }, {
2248
+ chain: "Assethub";
2249
+ asset: "USDC";
2250
+ }>, z.ZodObject<{
2251
+ chain: z.ZodLiteral<"Assethub">;
2252
+ asset: z.ZodLiteral<"USDT">;
2253
+ }, "strip", z.ZodTypeAny, {
2254
+ chain: "Assethub";
2255
+ asset: "USDT";
2256
+ }, {
2257
+ chain: "Assethub";
2258
+ asset: "USDT";
2259
+ }>]>, z.ZodObject<{
2260
+ total_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2261
+ available_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2262
+ }, "strip", z.ZodTypeAny, {
2263
+ total_amount: bigint;
2264
+ available_amount: bigint;
2265
+ }, {
2266
+ total_amount: string | number;
2267
+ available_amount: string | number;
2268
+ }>>, "many">>;
2269
+ collateral_balances: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2270
+ chain: z.ZodLiteral<"Bitcoin">;
2271
+ asset: z.ZodLiteral<"BTC">;
2272
+ }, "strip", z.ZodTypeAny, {
2273
+ chain: "Bitcoin";
2274
+ asset: "BTC";
2275
+ }, {
2276
+ chain: "Bitcoin";
2277
+ asset: "BTC";
2278
+ }>, z.ZodObject<{
2279
+ chain: z.ZodLiteral<"Polkadot">;
2280
+ asset: z.ZodLiteral<"DOT">;
2281
+ }, "strip", z.ZodTypeAny, {
2282
+ chain: "Polkadot";
2283
+ asset: "DOT";
2284
+ }, {
2285
+ chain: "Polkadot";
2286
+ asset: "DOT";
2287
+ }>, z.ZodObject<{
2288
+ chain: z.ZodLiteral<"Ethereum">;
2289
+ asset: z.ZodLiteral<"FLIP">;
2290
+ }, "strip", z.ZodTypeAny, {
2291
+ chain: "Ethereum";
2292
+ asset: "FLIP";
2293
+ }, {
2294
+ chain: "Ethereum";
2295
+ asset: "FLIP";
2296
+ }>, z.ZodObject<{
2297
+ chain: z.ZodLiteral<"Ethereum">;
2298
+ asset: z.ZodLiteral<"ETH">;
2299
+ }, "strip", z.ZodTypeAny, {
2300
+ chain: "Ethereum";
2301
+ asset: "ETH";
2302
+ }, {
2303
+ chain: "Ethereum";
2304
+ asset: "ETH";
2305
+ }>, z.ZodObject<{
2306
+ chain: z.ZodLiteral<"Ethereum">;
2307
+ asset: z.ZodLiteral<"USDC">;
2308
+ }, "strip", z.ZodTypeAny, {
2309
+ chain: "Ethereum";
2310
+ asset: "USDC";
2311
+ }, {
2312
+ chain: "Ethereum";
2313
+ asset: "USDC";
2314
+ }>, z.ZodObject<{
2315
+ chain: z.ZodLiteral<"Ethereum">;
2316
+ asset: z.ZodLiteral<"USDT">;
2317
+ }, "strip", z.ZodTypeAny, {
2318
+ chain: "Ethereum";
2319
+ asset: "USDT";
2320
+ }, {
2321
+ chain: "Ethereum";
2322
+ asset: "USDT";
2323
+ }>, z.ZodObject<{
2324
+ chain: z.ZodLiteral<"Arbitrum">;
2325
+ asset: z.ZodLiteral<"ETH">;
2326
+ }, "strip", z.ZodTypeAny, {
2327
+ chain: "Arbitrum";
2328
+ asset: "ETH";
2329
+ }, {
2330
+ chain: "Arbitrum";
2331
+ asset: "ETH";
2332
+ }>, z.ZodObject<{
2333
+ chain: z.ZodLiteral<"Arbitrum">;
2334
+ asset: z.ZodLiteral<"USDC">;
2335
+ }, "strip", z.ZodTypeAny, {
2336
+ chain: "Arbitrum";
2337
+ asset: "USDC";
2338
+ }, {
2339
+ chain: "Arbitrum";
2340
+ asset: "USDC";
2341
+ }>, z.ZodObject<{
2342
+ chain: z.ZodLiteral<"Solana">;
2343
+ asset: z.ZodLiteral<"SOL">;
2344
+ }, "strip", z.ZodTypeAny, {
2345
+ chain: "Solana";
2346
+ asset: "SOL";
2347
+ }, {
2348
+ chain: "Solana";
2349
+ asset: "SOL";
2350
+ }>, z.ZodObject<{
2351
+ chain: z.ZodLiteral<"Solana">;
2352
+ asset: z.ZodLiteral<"USDC">;
2353
+ }, "strip", z.ZodTypeAny, {
2354
+ chain: "Solana";
2355
+ asset: "USDC";
2356
+ }, {
2357
+ chain: "Solana";
2358
+ asset: "USDC";
2359
+ }>, z.ZodObject<{
2360
+ chain: z.ZodLiteral<"Assethub">;
2361
+ asset: z.ZodLiteral<"DOT">;
2362
+ }, "strip", z.ZodTypeAny, {
2363
+ chain: "Assethub";
2364
+ asset: "DOT";
2365
+ }, {
2366
+ chain: "Assethub";
2367
+ asset: "DOT";
2368
+ }>, z.ZodObject<{
2369
+ chain: z.ZodLiteral<"Assethub">;
2370
+ asset: z.ZodLiteral<"USDC">;
2371
+ }, "strip", z.ZodTypeAny, {
2372
+ chain: "Assethub";
2373
+ asset: "USDC";
2374
+ }, {
2375
+ chain: "Assethub";
2376
+ asset: "USDC";
2377
+ }>, z.ZodObject<{
2378
+ chain: z.ZodLiteral<"Assethub">;
2379
+ asset: z.ZodLiteral<"USDT">;
2380
+ }, "strip", z.ZodTypeAny, {
2381
+ chain: "Assethub";
2382
+ asset: "USDT";
2383
+ }, {
2384
+ chain: "Assethub";
2385
+ asset: "USDT";
2386
+ }>]>, z.ZodObject<{
2387
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2388
+ }, "strip", z.ZodTypeAny, {
2389
+ amount: bigint;
2390
+ }, {
2391
+ amount: string | number;
2392
+ }>>, "many">>;
2142
2393
  vanity_name: z.ZodOptional<z.ZodString>;
2143
2394
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2144
2395
  asset_balances: z.ZodObject<{
@@ -2466,6 +2717,91 @@ declare const rpcResult: {
2466
2717
  operator: `cF${string}`;
2467
2718
  bid: bigint;
2468
2719
  } | undefined;
2720
+ lending_positions?: (({
2721
+ chain: "Bitcoin";
2722
+ asset: "BTC";
2723
+ } | {
2724
+ chain: "Polkadot";
2725
+ asset: "DOT";
2726
+ } | {
2727
+ chain: "Ethereum";
2728
+ asset: "FLIP";
2729
+ } | {
2730
+ chain: "Ethereum";
2731
+ asset: "ETH";
2732
+ } | {
2733
+ chain: "Ethereum";
2734
+ asset: "USDC";
2735
+ } | {
2736
+ chain: "Ethereum";
2737
+ asset: "USDT";
2738
+ } | {
2739
+ chain: "Arbitrum";
2740
+ asset: "ETH";
2741
+ } | {
2742
+ chain: "Arbitrum";
2743
+ asset: "USDC";
2744
+ } | {
2745
+ chain: "Solana";
2746
+ asset: "SOL";
2747
+ } | {
2748
+ chain: "Solana";
2749
+ asset: "USDC";
2750
+ } | {
2751
+ chain: "Assethub";
2752
+ asset: "DOT";
2753
+ } | {
2754
+ chain: "Assethub";
2755
+ asset: "USDC";
2756
+ } | {
2757
+ chain: "Assethub";
2758
+ asset: "USDT";
2759
+ }) & {
2760
+ total_amount: bigint;
2761
+ available_amount: bigint;
2762
+ })[] | undefined;
2763
+ collateral_balances?: (({
2764
+ chain: "Bitcoin";
2765
+ asset: "BTC";
2766
+ } | {
2767
+ chain: "Polkadot";
2768
+ asset: "DOT";
2769
+ } | {
2770
+ chain: "Ethereum";
2771
+ asset: "FLIP";
2772
+ } | {
2773
+ chain: "Ethereum";
2774
+ asset: "ETH";
2775
+ } | {
2776
+ chain: "Ethereum";
2777
+ asset: "USDC";
2778
+ } | {
2779
+ chain: "Ethereum";
2780
+ asset: "USDT";
2781
+ } | {
2782
+ chain: "Arbitrum";
2783
+ asset: "ETH";
2784
+ } | {
2785
+ chain: "Arbitrum";
2786
+ asset: "USDC";
2787
+ } | {
2788
+ chain: "Solana";
2789
+ asset: "SOL";
2790
+ } | {
2791
+ chain: "Solana";
2792
+ asset: "USDC";
2793
+ } | {
2794
+ chain: "Assethub";
2795
+ asset: "DOT";
2796
+ } | {
2797
+ chain: "Assethub";
2798
+ asset: "USDC";
2799
+ } | {
2800
+ chain: "Assethub";
2801
+ asset: "USDT";
2802
+ }) & {
2803
+ amount: bigint;
2804
+ })[] | undefined;
2469
2805
  }, {
2470
2806
  role: "liquidity_provider";
2471
2807
  flip_balance: string | number;
@@ -2649,6 +2985,91 @@ declare const rpcResult: {
2649
2985
  operator: string;
2650
2986
  bid: string | number;
2651
2987
  } | undefined;
2988
+ lending_positions?: (({
2989
+ chain: "Bitcoin";
2990
+ asset: "BTC";
2991
+ } | {
2992
+ chain: "Polkadot";
2993
+ asset: "DOT";
2994
+ } | {
2995
+ chain: "Ethereum";
2996
+ asset: "FLIP";
2997
+ } | {
2998
+ chain: "Ethereum";
2999
+ asset: "ETH";
3000
+ } | {
3001
+ chain: "Ethereum";
3002
+ asset: "USDC";
3003
+ } | {
3004
+ chain: "Ethereum";
3005
+ asset: "USDT";
3006
+ } | {
3007
+ chain: "Arbitrum";
3008
+ asset: "ETH";
3009
+ } | {
3010
+ chain: "Arbitrum";
3011
+ asset: "USDC";
3012
+ } | {
3013
+ chain: "Solana";
3014
+ asset: "SOL";
3015
+ } | {
3016
+ chain: "Solana";
3017
+ asset: "USDC";
3018
+ } | {
3019
+ chain: "Assethub";
3020
+ asset: "DOT";
3021
+ } | {
3022
+ chain: "Assethub";
3023
+ asset: "USDC";
3024
+ } | {
3025
+ chain: "Assethub";
3026
+ asset: "USDT";
3027
+ }) & {
3028
+ total_amount: string | number;
3029
+ available_amount: string | number;
3030
+ })[] | undefined;
3031
+ collateral_balances?: (({
3032
+ chain: "Bitcoin";
3033
+ asset: "BTC";
3034
+ } | {
3035
+ chain: "Polkadot";
3036
+ asset: "DOT";
3037
+ } | {
3038
+ chain: "Ethereum";
3039
+ asset: "FLIP";
3040
+ } | {
3041
+ chain: "Ethereum";
3042
+ asset: "ETH";
3043
+ } | {
3044
+ chain: "Ethereum";
3045
+ asset: "USDC";
3046
+ } | {
3047
+ chain: "Ethereum";
3048
+ asset: "USDT";
3049
+ } | {
3050
+ chain: "Arbitrum";
3051
+ asset: "ETH";
3052
+ } | {
3053
+ chain: "Arbitrum";
3054
+ asset: "USDC";
3055
+ } | {
3056
+ chain: "Solana";
3057
+ asset: "SOL";
3058
+ } | {
3059
+ chain: "Solana";
3060
+ asset: "USDC";
3061
+ } | {
3062
+ chain: "Assethub";
3063
+ asset: "DOT";
3064
+ } | {
3065
+ chain: "Assethub";
3066
+ asset: "USDC";
3067
+ } | {
3068
+ chain: "Assethub";
3069
+ asset: "USDT";
3070
+ }) & {
3071
+ amount: string | number;
3072
+ })[] | undefined;
2652
3073
  }>, z.ZodObject<{
2653
3074
  last_heartbeat: z.ZodNumber;
2654
3075
  reputation_points: z.ZodNumber;
@@ -3349,6 +3770,91 @@ declare const rpcResult: {
3349
3770
  operator: `cF${string}`;
3350
3771
  bid: bigint;
3351
3772
  } | undefined;
3773
+ lending_positions?: (({
3774
+ chain: "Bitcoin";
3775
+ asset: "BTC";
3776
+ } | {
3777
+ chain: "Polkadot";
3778
+ asset: "DOT";
3779
+ } | {
3780
+ chain: "Ethereum";
3781
+ asset: "FLIP";
3782
+ } | {
3783
+ chain: "Ethereum";
3784
+ asset: "ETH";
3785
+ } | {
3786
+ chain: "Ethereum";
3787
+ asset: "USDC";
3788
+ } | {
3789
+ chain: "Ethereum";
3790
+ asset: "USDT";
3791
+ } | {
3792
+ chain: "Arbitrum";
3793
+ asset: "ETH";
3794
+ } | {
3795
+ chain: "Arbitrum";
3796
+ asset: "USDC";
3797
+ } | {
3798
+ chain: "Solana";
3799
+ asset: "SOL";
3800
+ } | {
3801
+ chain: "Solana";
3802
+ asset: "USDC";
3803
+ } | {
3804
+ chain: "Assethub";
3805
+ asset: "DOT";
3806
+ } | {
3807
+ chain: "Assethub";
3808
+ asset: "USDC";
3809
+ } | {
3810
+ chain: "Assethub";
3811
+ asset: "USDT";
3812
+ }) & {
3813
+ total_amount: bigint;
3814
+ available_amount: bigint;
3815
+ })[] | undefined;
3816
+ collateral_balances?: (({
3817
+ chain: "Bitcoin";
3818
+ asset: "BTC";
3819
+ } | {
3820
+ chain: "Polkadot";
3821
+ asset: "DOT";
3822
+ } | {
3823
+ chain: "Ethereum";
3824
+ asset: "FLIP";
3825
+ } | {
3826
+ chain: "Ethereum";
3827
+ asset: "ETH";
3828
+ } | {
3829
+ chain: "Ethereum";
3830
+ asset: "USDC";
3831
+ } | {
3832
+ chain: "Ethereum";
3833
+ asset: "USDT";
3834
+ } | {
3835
+ chain: "Arbitrum";
3836
+ asset: "ETH";
3837
+ } | {
3838
+ chain: "Arbitrum";
3839
+ asset: "USDC";
3840
+ } | {
3841
+ chain: "Solana";
3842
+ asset: "SOL";
3843
+ } | {
3844
+ chain: "Solana";
3845
+ asset: "USDC";
3846
+ } | {
3847
+ chain: "Assethub";
3848
+ asset: "DOT";
3849
+ } | {
3850
+ chain: "Assethub";
3851
+ asset: "USDC";
3852
+ } | {
3853
+ chain: "Assethub";
3854
+ asset: "USDT";
3855
+ }) & {
3856
+ amount: bigint;
3857
+ })[] | undefined;
3352
3858
  }, {
3353
3859
  role: "unregistered";
3354
3860
  flip_balance: string | number;
@@ -3708,6 +4214,91 @@ declare const rpcResult: {
3708
4214
  operator: string;
3709
4215
  bid: string | number;
3710
4216
  } | undefined;
4217
+ lending_positions?: (({
4218
+ chain: "Bitcoin";
4219
+ asset: "BTC";
4220
+ } | {
4221
+ chain: "Polkadot";
4222
+ asset: "DOT";
4223
+ } | {
4224
+ chain: "Ethereum";
4225
+ asset: "FLIP";
4226
+ } | {
4227
+ chain: "Ethereum";
4228
+ asset: "ETH";
4229
+ } | {
4230
+ chain: "Ethereum";
4231
+ asset: "USDC";
4232
+ } | {
4233
+ chain: "Ethereum";
4234
+ asset: "USDT";
4235
+ } | {
4236
+ chain: "Arbitrum";
4237
+ asset: "ETH";
4238
+ } | {
4239
+ chain: "Arbitrum";
4240
+ asset: "USDC";
4241
+ } | {
4242
+ chain: "Solana";
4243
+ asset: "SOL";
4244
+ } | {
4245
+ chain: "Solana";
4246
+ asset: "USDC";
4247
+ } | {
4248
+ chain: "Assethub";
4249
+ asset: "DOT";
4250
+ } | {
4251
+ chain: "Assethub";
4252
+ asset: "USDC";
4253
+ } | {
4254
+ chain: "Assethub";
4255
+ asset: "USDT";
4256
+ }) & {
4257
+ total_amount: string | number;
4258
+ available_amount: string | number;
4259
+ })[] | undefined;
4260
+ collateral_balances?: (({
4261
+ chain: "Bitcoin";
4262
+ asset: "BTC";
4263
+ } | {
4264
+ chain: "Polkadot";
4265
+ asset: "DOT";
4266
+ } | {
4267
+ chain: "Ethereum";
4268
+ asset: "FLIP";
4269
+ } | {
4270
+ chain: "Ethereum";
4271
+ asset: "ETH";
4272
+ } | {
4273
+ chain: "Ethereum";
4274
+ asset: "USDC";
4275
+ } | {
4276
+ chain: "Ethereum";
4277
+ asset: "USDT";
4278
+ } | {
4279
+ chain: "Arbitrum";
4280
+ asset: "ETH";
4281
+ } | {
4282
+ chain: "Arbitrum";
4283
+ asset: "USDC";
4284
+ } | {
4285
+ chain: "Solana";
4286
+ asset: "SOL";
4287
+ } | {
4288
+ chain: "Solana";
4289
+ asset: "USDC";
4290
+ } | {
4291
+ chain: "Assethub";
4292
+ asset: "DOT";
4293
+ } | {
4294
+ chain: "Assethub";
4295
+ asset: "USDC";
4296
+ } | {
4297
+ chain: "Assethub";
4298
+ asset: "USDT";
4299
+ }) & {
4300
+ amount: string | number;
4301
+ })[] | undefined;
3711
4302
  } | {
3712
4303
  role: "validator";
3713
4304
  flip_balance: string | number;
@@ -5709,11 +6300,11 @@ declare const rpcResult: {
5709
6300
  tier: z.ZodNumber;
5710
6301
  available_amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
5711
6302
  }, "strip", z.ZodTypeAny, {
5712
- tier: number;
5713
6303
  available_amount: bigint;
5714
- }, {
5715
6304
  tier: number;
6305
+ }, {
5716
6306
  available_amount: string;
6307
+ tier: number;
5717
6308
  }>>, "many">;
5718
6309
  readonly cf_environment: z.ZodObject<{
5719
6310
  ingress_egress: z.ZodEffects<z.ZodObject<{
@@ -26678,8 +27269,8 @@ declare const rpcResult: {
26678
27269
  chain: "Assethub";
26679
27270
  asset: "USDT";
26680
27271
  };
26681
- available_amount: bigint;
26682
27272
  total_amount: bigint;
27273
+ available_amount: bigint;
26683
27274
  utilisation_rate: number;
26684
27275
  current_interest_rate: number;
26685
27276
  origination_fee: number;
@@ -26731,8 +27322,8 @@ declare const rpcResult: {
26731
27322
  chain: "Assethub";
26732
27323
  asset: "USDT";
26733
27324
  };
26734
- available_amount: string | number;
26735
27325
  total_amount: string | number;
27326
+ available_amount: string | number;
26736
27327
  utilisation_rate: number;
26737
27328
  current_interest_rate: number;
26738
27329
  origination_fee: number;
package/dist/parsers.cjs CHANGED
@@ -285,7 +285,24 @@ var liquidityProvider = _zod.z.object({
285
285
  ...accountInfoCommon,
286
286
  refund_addresses: chainMapFactory(_zod.z.string().nullable(), null),
287
287
  earned_fees: chainAssetMapFactory(numberOrHex, 0),
288
- boost_balances: chainAssetMapFactory(boostBalances, [])
288
+ boost_balances: chainAssetMapFactory(boostBalances, []),
289
+ lending_positions: _zod.z.array(
290
+ _zod.z.intersection(
291
+ rpcAssetSchema,
292
+ _zod.z.object({
293
+ total_amount: numberOrHex,
294
+ available_amount: numberOrHex
295
+ })
296
+ )
297
+ ).optional(),
298
+ collateral_balances: _zod.z.array(
299
+ _zod.z.intersection(
300
+ rpcAssetSchema,
301
+ _zod.z.object({
302
+ amount: numberOrHex
303
+ })
304
+ )
305
+ ).optional()
289
306
  });
290
307
  var oldValidator = _zod.z.object({
291
308
  role: _zod.z.literal("validator"),