@chainflip/rpc 1.11.0-beta.11 → 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.cts +657 -7
- package/dist/common.d.ts +657 -7
- package/dist/parsers.cjs +28 -2
- package/dist/parsers.d.cts +1970 -267
- package/dist/parsers.d.ts +1970 -267
- package/dist/parsers.mjs +28 -2
- package/package.json +1 -1
package/dist/common.d.cts
CHANGED
|
@@ -389,6 +389,7 @@ declare const rpcResult: {
|
|
|
389
389
|
}>]>;
|
|
390
390
|
readonly cf_accounts: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
|
|
391
391
|
readonly cf_account_info: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
392
|
+
vanity_name: z.ZodOptional<z.ZodString>;
|
|
392
393
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
393
394
|
asset_balances: z.ZodObject<{
|
|
394
395
|
Bitcoin: z.ZodObject<{
|
|
@@ -564,6 +565,7 @@ declare const rpcResult: {
|
|
|
564
565
|
};
|
|
565
566
|
bond: bigint;
|
|
566
567
|
estimated_redeemable_balance: bigint;
|
|
568
|
+
vanity_name?: string | undefined;
|
|
567
569
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
568
570
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
569
571
|
current_delegation_status?: {
|
|
@@ -606,6 +608,7 @@ declare const rpcResult: {
|
|
|
606
608
|
};
|
|
607
609
|
bond: string | number;
|
|
608
610
|
estimated_redeemable_balance: string | number;
|
|
611
|
+
vanity_name?: string | undefined;
|
|
609
612
|
bound_redeem_address?: string | undefined;
|
|
610
613
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
611
614
|
current_delegation_status?: {
|
|
@@ -748,6 +751,7 @@ declare const rpcResult: {
|
|
|
748
751
|
short_id: number;
|
|
749
752
|
withdrawal_address: string;
|
|
750
753
|
}>, "many">>>;
|
|
754
|
+
vanity_name: z.ZodOptional<z.ZodString>;
|
|
751
755
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
752
756
|
asset_balances: z.ZodObject<{
|
|
753
757
|
Bitcoin: z.ZodObject<{
|
|
@@ -955,6 +959,7 @@ declare const rpcResult: {
|
|
|
955
959
|
short_id: number;
|
|
956
960
|
withdrawal_address: `0x${string}`;
|
|
957
961
|
}[];
|
|
962
|
+
vanity_name?: string | undefined;
|
|
958
963
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
959
964
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
960
965
|
current_delegation_status?: {
|
|
@@ -1025,6 +1030,7 @@ declare const rpcResult: {
|
|
|
1025
1030
|
DOT: string | number;
|
|
1026
1031
|
};
|
|
1027
1032
|
};
|
|
1033
|
+
vanity_name?: string | undefined;
|
|
1028
1034
|
bound_redeem_address?: string | undefined;
|
|
1029
1035
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
1030
1036
|
current_delegation_status?: {
|
|
@@ -1072,6 +1078,7 @@ declare const rpcResult: {
|
|
|
1072
1078
|
validators: Record<string, string | number>;
|
|
1073
1079
|
delegation_fee_bps: number;
|
|
1074
1080
|
}>>;
|
|
1081
|
+
vanity_name: z.ZodOptional<z.ZodString>;
|
|
1075
1082
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
1076
1083
|
asset_balances: z.ZodObject<{
|
|
1077
1084
|
Bitcoin: z.ZodObject<{
|
|
@@ -1255,6 +1262,7 @@ declare const rpcResult: {
|
|
|
1255
1262
|
};
|
|
1256
1263
|
allowed: `cF${string}`[];
|
|
1257
1264
|
blocked: `cF${string}`[];
|
|
1265
|
+
vanity_name?: string | undefined;
|
|
1258
1266
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
1259
1267
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
1260
1268
|
current_delegation_status?: {
|
|
@@ -1309,6 +1317,7 @@ declare const rpcResult: {
|
|
|
1309
1317
|
fee_bps: number;
|
|
1310
1318
|
delegation_acceptance: "Allow" | "Deny";
|
|
1311
1319
|
};
|
|
1320
|
+
vanity_name?: string | undefined;
|
|
1312
1321
|
bound_redeem_address?: string | undefined;
|
|
1313
1322
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
1314
1323
|
current_delegation_status?: {
|
|
@@ -2130,6 +2139,258 @@ declare const rpcResult: {
|
|
|
2130
2139
|
}[];
|
|
2131
2140
|
};
|
|
2132
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">>;
|
|
2393
|
+
vanity_name: z.ZodOptional<z.ZodString>;
|
|
2133
2394
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
2134
2395
|
asset_balances: z.ZodObject<{
|
|
2135
2396
|
Bitcoin: z.ZodObject<{
|
|
@@ -2445,6 +2706,7 @@ declare const rpcResult: {
|
|
|
2445
2706
|
}[];
|
|
2446
2707
|
};
|
|
2447
2708
|
};
|
|
2709
|
+
vanity_name?: string | undefined;
|
|
2448
2710
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
2449
2711
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
2450
2712
|
current_delegation_status?: {
|
|
@@ -2455,6 +2717,91 @@ declare const rpcResult: {
|
|
|
2455
2717
|
operator: `cF${string}`;
|
|
2456
2718
|
bid: bigint;
|
|
2457
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;
|
|
2458
2805
|
}, {
|
|
2459
2806
|
role: "liquidity_provider";
|
|
2460
2807
|
flip_balance: string | number;
|
|
@@ -2627,6 +2974,7 @@ declare const rpcResult: {
|
|
|
2627
2974
|
}[];
|
|
2628
2975
|
};
|
|
2629
2976
|
};
|
|
2977
|
+
vanity_name?: string | undefined;
|
|
2630
2978
|
bound_redeem_address?: string | undefined;
|
|
2631
2979
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
2632
2980
|
current_delegation_status?: {
|
|
@@ -2637,6 +2985,91 @@ declare const rpcResult: {
|
|
|
2637
2985
|
operator: string;
|
|
2638
2986
|
bid: string | number;
|
|
2639
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;
|
|
2640
3073
|
}>, z.ZodObject<{
|
|
2641
3074
|
last_heartbeat: z.ZodNumber;
|
|
2642
3075
|
reputation_points: z.ZodNumber;
|
|
@@ -2648,6 +3081,7 @@ declare const rpcResult: {
|
|
|
2648
3081
|
is_bidding: z.ZodBoolean;
|
|
2649
3082
|
apy_bp: z.ZodNullable<z.ZodNumber>;
|
|
2650
3083
|
operator: z.ZodOptional<z.ZodEffects<z.ZodString, `cF${string}`, string>>;
|
|
3084
|
+
vanity_name: z.ZodOptional<z.ZodString>;
|
|
2651
3085
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
2652
3086
|
asset_balances: z.ZodObject<{
|
|
2653
3087
|
Bitcoin: z.ZodObject<{
|
|
@@ -2833,6 +3267,7 @@ declare const rpcResult: {
|
|
|
2833
3267
|
is_bidding: boolean;
|
|
2834
3268
|
apy_bp: number | null;
|
|
2835
3269
|
operator?: `cF${string}` | undefined;
|
|
3270
|
+
vanity_name?: string | undefined;
|
|
2836
3271
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
2837
3272
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
2838
3273
|
current_delegation_status?: {
|
|
@@ -2885,6 +3320,7 @@ declare const rpcResult: {
|
|
|
2885
3320
|
is_bidding: boolean;
|
|
2886
3321
|
apy_bp: number | null;
|
|
2887
3322
|
operator?: string | undefined;
|
|
3323
|
+
vanity_name?: string | undefined;
|
|
2888
3324
|
bound_redeem_address?: string | undefined;
|
|
2889
3325
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
2890
3326
|
current_delegation_status?: {
|
|
@@ -2927,6 +3363,7 @@ declare const rpcResult: {
|
|
|
2927
3363
|
};
|
|
2928
3364
|
bond: bigint;
|
|
2929
3365
|
estimated_redeemable_balance: bigint;
|
|
3366
|
+
vanity_name?: string | undefined;
|
|
2930
3367
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
2931
3368
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
2932
3369
|
current_delegation_status?: {
|
|
@@ -3001,6 +3438,7 @@ declare const rpcResult: {
|
|
|
3001
3438
|
short_id: number;
|
|
3002
3439
|
withdrawal_address: `0x${string}`;
|
|
3003
3440
|
}[];
|
|
3441
|
+
vanity_name?: string | undefined;
|
|
3004
3442
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
3005
3443
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
3006
3444
|
current_delegation_status?: {
|
|
@@ -3054,6 +3492,7 @@ declare const rpcResult: {
|
|
|
3054
3492
|
is_bidding: boolean;
|
|
3055
3493
|
apy_bp: number | null;
|
|
3056
3494
|
operator?: `cF${string}` | undefined;
|
|
3495
|
+
vanity_name?: string | undefined;
|
|
3057
3496
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
3058
3497
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
3059
3498
|
current_delegation_status?: {
|
|
@@ -3104,6 +3543,7 @@ declare const rpcResult: {
|
|
|
3104
3543
|
estimated_redeemable_balance: bigint;
|
|
3105
3544
|
allowed: `cF${string}`[];
|
|
3106
3545
|
blocked: `cF${string}`[];
|
|
3546
|
+
vanity_name?: string | undefined;
|
|
3107
3547
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
3108
3548
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
3109
3549
|
current_delegation_status?: {
|
|
@@ -3319,6 +3759,7 @@ declare const rpcResult: {
|
|
|
3319
3759
|
}[];
|
|
3320
3760
|
};
|
|
3321
3761
|
};
|
|
3762
|
+
vanity_name?: string | undefined;
|
|
3322
3763
|
bound_redeem_address?: `0x${string}` | undefined;
|
|
3323
3764
|
restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
|
|
3324
3765
|
current_delegation_status?: {
|
|
@@ -3329,6 +3770,91 @@ declare const rpcResult: {
|
|
|
3329
3770
|
operator: `cF${string}`;
|
|
3330
3771
|
bid: bigint;
|
|
3331
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;
|
|
3332
3858
|
}, {
|
|
3333
3859
|
role: "unregistered";
|
|
3334
3860
|
flip_balance: string | number;
|
|
@@ -3361,6 +3887,7 @@ declare const rpcResult: {
|
|
|
3361
3887
|
};
|
|
3362
3888
|
bond: string | number;
|
|
3363
3889
|
estimated_redeemable_balance: string | number;
|
|
3890
|
+
vanity_name?: string | undefined;
|
|
3364
3891
|
bound_redeem_address?: string | undefined;
|
|
3365
3892
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
3366
3893
|
current_delegation_status?: {
|
|
@@ -3430,6 +3957,7 @@ declare const rpcResult: {
|
|
|
3430
3957
|
DOT: string | number;
|
|
3431
3958
|
};
|
|
3432
3959
|
};
|
|
3960
|
+
vanity_name?: string | undefined;
|
|
3433
3961
|
bound_redeem_address?: string | undefined;
|
|
3434
3962
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
3435
3963
|
current_delegation_status?: {
|
|
@@ -3484,6 +4012,7 @@ declare const rpcResult: {
|
|
|
3484
4012
|
fee_bps: number;
|
|
3485
4013
|
delegation_acceptance: "Allow" | "Deny";
|
|
3486
4014
|
};
|
|
4015
|
+
vanity_name?: string | undefined;
|
|
3487
4016
|
bound_redeem_address?: string | undefined;
|
|
3488
4017
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
3489
4018
|
current_delegation_status?: {
|
|
@@ -3674,6 +4203,7 @@ declare const rpcResult: {
|
|
|
3674
4203
|
}[];
|
|
3675
4204
|
};
|
|
3676
4205
|
};
|
|
4206
|
+
vanity_name?: string | undefined;
|
|
3677
4207
|
bound_redeem_address?: string | undefined;
|
|
3678
4208
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
3679
4209
|
current_delegation_status?: {
|
|
@@ -3684,6 +4214,91 @@ declare const rpcResult: {
|
|
|
3684
4214
|
operator: string;
|
|
3685
4215
|
bid: string | number;
|
|
3686
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;
|
|
3687
4302
|
} | {
|
|
3688
4303
|
role: "validator";
|
|
3689
4304
|
flip_balance: string | number;
|
|
@@ -3726,6 +4341,7 @@ declare const rpcResult: {
|
|
|
3726
4341
|
is_bidding: boolean;
|
|
3727
4342
|
apy_bp: number | null;
|
|
3728
4343
|
operator?: string | undefined;
|
|
4344
|
+
vanity_name?: string | undefined;
|
|
3729
4345
|
bound_redeem_address?: string | undefined;
|
|
3730
4346
|
restricted_balances?: Record<string, string | number> | undefined;
|
|
3731
4347
|
current_delegation_status?: {
|
|
@@ -5684,11 +6300,11 @@ declare const rpcResult: {
|
|
|
5684
6300
|
tier: z.ZodNumber;
|
|
5685
6301
|
available_amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
5686
6302
|
}, "strip", z.ZodTypeAny, {
|
|
5687
|
-
tier: number;
|
|
5688
6303
|
available_amount: bigint;
|
|
5689
|
-
}, {
|
|
5690
6304
|
tier: number;
|
|
6305
|
+
}, {
|
|
5691
6306
|
available_amount: string;
|
|
6307
|
+
tier: number;
|
|
5692
6308
|
}>>, "many">;
|
|
5693
6309
|
readonly cf_environment: z.ZodObject<{
|
|
5694
6310
|
ingress_egress: z.ZodEffects<z.ZodObject<{
|
|
@@ -26593,7 +27209,25 @@ declare const rpcResult: {
|
|
|
26593
27209
|
total_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
26594
27210
|
available_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
26595
27211
|
utilisation_rate: z.ZodNumber;
|
|
26596
|
-
|
|
27212
|
+
current_interest_rate: z.ZodNumber;
|
|
27213
|
+
origination_fee: z.ZodNumber;
|
|
27214
|
+
liquidation_fee: z.ZodNumber;
|
|
27215
|
+
interest_rate_curve: z.ZodObject<{
|
|
27216
|
+
interest_at_zero_utilisation: z.ZodNumber;
|
|
27217
|
+
junction_utilisation: z.ZodNumber;
|
|
27218
|
+
interest_at_junction_utilisation: z.ZodNumber;
|
|
27219
|
+
interest_at_max_utilisation: z.ZodNumber;
|
|
27220
|
+
}, "strip", z.ZodTypeAny, {
|
|
27221
|
+
interest_at_zero_utilisation: number;
|
|
27222
|
+
junction_utilisation: number;
|
|
27223
|
+
interest_at_junction_utilisation: number;
|
|
27224
|
+
interest_at_max_utilisation: number;
|
|
27225
|
+
}, {
|
|
27226
|
+
interest_at_zero_utilisation: number;
|
|
27227
|
+
junction_utilisation: number;
|
|
27228
|
+
interest_at_junction_utilisation: number;
|
|
27229
|
+
interest_at_max_utilisation: number;
|
|
27230
|
+
}>;
|
|
26597
27231
|
}, "strip", z.ZodTypeAny, {
|
|
26598
27232
|
asset: {
|
|
26599
27233
|
chain: "Bitcoin";
|
|
@@ -26635,10 +27269,18 @@ declare const rpcResult: {
|
|
|
26635
27269
|
chain: "Assethub";
|
|
26636
27270
|
asset: "USDT";
|
|
26637
27271
|
};
|
|
26638
|
-
available_amount: bigint;
|
|
26639
27272
|
total_amount: bigint;
|
|
27273
|
+
available_amount: bigint;
|
|
26640
27274
|
utilisation_rate: number;
|
|
26641
|
-
|
|
27275
|
+
current_interest_rate: number;
|
|
27276
|
+
origination_fee: number;
|
|
27277
|
+
liquidation_fee: number;
|
|
27278
|
+
interest_rate_curve: {
|
|
27279
|
+
interest_at_zero_utilisation: number;
|
|
27280
|
+
junction_utilisation: number;
|
|
27281
|
+
interest_at_junction_utilisation: number;
|
|
27282
|
+
interest_at_max_utilisation: number;
|
|
27283
|
+
};
|
|
26642
27284
|
}, {
|
|
26643
27285
|
asset: {
|
|
26644
27286
|
chain: "Bitcoin";
|
|
@@ -26680,10 +27322,18 @@ declare const rpcResult: {
|
|
|
26680
27322
|
chain: "Assethub";
|
|
26681
27323
|
asset: "USDT";
|
|
26682
27324
|
};
|
|
26683
|
-
available_amount: string | number;
|
|
26684
27325
|
total_amount: string | number;
|
|
27326
|
+
available_amount: string | number;
|
|
26685
27327
|
utilisation_rate: number;
|
|
26686
|
-
|
|
27328
|
+
current_interest_rate: number;
|
|
27329
|
+
origination_fee: number;
|
|
27330
|
+
liquidation_fee: number;
|
|
27331
|
+
interest_rate_curve: {
|
|
27332
|
+
interest_at_zero_utilisation: number;
|
|
27333
|
+
junction_utilisation: number;
|
|
27334
|
+
interest_at_junction_utilisation: number;
|
|
27335
|
+
interest_at_max_utilisation: number;
|
|
27336
|
+
};
|
|
26687
27337
|
}>, "many">;
|
|
26688
27338
|
};
|
|
26689
27339
|
type RpcMethod = keyof RpcRequest;
|