@chainflip/rpc 1.4.0

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.
@@ -0,0 +1,2612 @@
1
+ import { z } from 'zod';
2
+
3
+ declare const hexString: z.ZodEffects<z.ZodString, `0x${string}`, string>;
4
+ declare const u256: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
5
+ declare const numberOrHex: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
6
+ declare const rpcAssetSchema: z.ZodUnion<[z.ZodObject<{
7
+ chain: z.ZodLiteral<"Bitcoin">;
8
+ asset: z.ZodLiteral<"BTC">;
9
+ }, "strip", z.ZodTypeAny, {
10
+ chain: "Bitcoin";
11
+ asset: "BTC";
12
+ }, {
13
+ chain: "Bitcoin";
14
+ asset: "BTC";
15
+ }>, z.ZodObject<{
16
+ chain: z.ZodLiteral<"Polkadot">;
17
+ asset: z.ZodLiteral<"DOT">;
18
+ }, "strip", z.ZodTypeAny, {
19
+ chain: "Polkadot";
20
+ asset: "DOT";
21
+ }, {
22
+ chain: "Polkadot";
23
+ asset: "DOT";
24
+ }>, z.ZodObject<{
25
+ chain: z.ZodLiteral<"Ethereum">;
26
+ asset: z.ZodLiteral<"FLIP">;
27
+ }, "strip", z.ZodTypeAny, {
28
+ chain: "Ethereum";
29
+ asset: "FLIP";
30
+ }, {
31
+ chain: "Ethereum";
32
+ asset: "FLIP";
33
+ }>, z.ZodObject<{
34
+ chain: z.ZodLiteral<"Ethereum">;
35
+ asset: z.ZodLiteral<"ETH">;
36
+ }, "strip", z.ZodTypeAny, {
37
+ chain: "Ethereum";
38
+ asset: "ETH";
39
+ }, {
40
+ chain: "Ethereum";
41
+ asset: "ETH";
42
+ }>, z.ZodObject<{
43
+ chain: z.ZodLiteral<"Ethereum">;
44
+ asset: z.ZodLiteral<"USDC">;
45
+ }, "strip", z.ZodTypeAny, {
46
+ chain: "Ethereum";
47
+ asset: "USDC";
48
+ }, {
49
+ chain: "Ethereum";
50
+ asset: "USDC";
51
+ }>, z.ZodObject<{
52
+ chain: z.ZodLiteral<"Ethereum">;
53
+ asset: z.ZodLiteral<"USDT">;
54
+ }, "strip", z.ZodTypeAny, {
55
+ chain: "Ethereum";
56
+ asset: "USDT";
57
+ }, {
58
+ chain: "Ethereum";
59
+ asset: "USDT";
60
+ }>, z.ZodObject<{
61
+ chain: z.ZodLiteral<"Arbitrum">;
62
+ asset: z.ZodLiteral<"ETH">;
63
+ }, "strip", z.ZodTypeAny, {
64
+ chain: "Arbitrum";
65
+ asset: "ETH";
66
+ }, {
67
+ chain: "Arbitrum";
68
+ asset: "ETH";
69
+ }>, z.ZodObject<{
70
+ chain: z.ZodLiteral<"Arbitrum">;
71
+ asset: z.ZodLiteral<"USDC">;
72
+ }, "strip", z.ZodTypeAny, {
73
+ chain: "Arbitrum";
74
+ asset: "USDC";
75
+ }, {
76
+ chain: "Arbitrum";
77
+ asset: "USDC";
78
+ }>]>;
79
+ type AssetAndChain = z.output<typeof rpcAssetSchema>;
80
+ type Rename<T, U extends Record<string, string>> = Omit<T, keyof U> & {
81
+ [K in keyof U as NonNullable<U[K]>]: K extends keyof T ? T[K] : never;
82
+ };
83
+ declare const rpcResponse: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
84
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
85
+ jsonrpc: z.ZodLiteral<"2.0">;
86
+ }, {
87
+ result: z.ZodEffects<z.ZodAny, any, any>;
88
+ }>, "strip", z.ZodTypeAny, {
89
+ id: string | number;
90
+ jsonrpc: "2.0";
91
+ result?: any;
92
+ }, {
93
+ id: string | number;
94
+ jsonrpc: "2.0";
95
+ result?: any;
96
+ }>, z.ZodObject<z.objectUtil.extendShape<{
97
+ id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
98
+ jsonrpc: z.ZodLiteral<"2.0">;
99
+ }, {
100
+ error: z.ZodObject<{
101
+ code: z.ZodNumber;
102
+ message: z.ZodString;
103
+ }, "strip", z.ZodTypeAny, {
104
+ code: number;
105
+ message: string;
106
+ }, {
107
+ code: number;
108
+ message: string;
109
+ }>;
110
+ }>, "strip", z.ZodTypeAny, {
111
+ id: string | number;
112
+ jsonrpc: "2.0";
113
+ error: {
114
+ code: number;
115
+ message: string;
116
+ };
117
+ }, {
118
+ id: string | number;
119
+ jsonrpc: "2.0";
120
+ error: {
121
+ code: number;
122
+ message: string;
123
+ };
124
+ }>]>;
125
+ declare const cfSwapRate: z.ZodObject<{
126
+ intermediary: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
127
+ output: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
128
+ }, "strip", z.ZodTypeAny, {
129
+ intermediary: bigint | null;
130
+ output: bigint;
131
+ }, {
132
+ intermediary: string | number | null;
133
+ output: string | number;
134
+ }>;
135
+ declare const cfSwapRateV2: z.ZodObject<{
136
+ egress_fee: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
137
+ chain: z.ZodLiteral<"Bitcoin">;
138
+ asset: z.ZodLiteral<"BTC">;
139
+ }, "strip", z.ZodTypeAny, {
140
+ chain: "Bitcoin";
141
+ asset: "BTC";
142
+ }, {
143
+ chain: "Bitcoin";
144
+ asset: "BTC";
145
+ }>, z.ZodObject<{
146
+ chain: z.ZodLiteral<"Polkadot">;
147
+ asset: z.ZodLiteral<"DOT">;
148
+ }, "strip", z.ZodTypeAny, {
149
+ chain: "Polkadot";
150
+ asset: "DOT";
151
+ }, {
152
+ chain: "Polkadot";
153
+ asset: "DOT";
154
+ }>, z.ZodObject<{
155
+ chain: z.ZodLiteral<"Ethereum">;
156
+ asset: z.ZodLiteral<"FLIP">;
157
+ }, "strip", z.ZodTypeAny, {
158
+ chain: "Ethereum";
159
+ asset: "FLIP";
160
+ }, {
161
+ chain: "Ethereum";
162
+ asset: "FLIP";
163
+ }>, z.ZodObject<{
164
+ chain: z.ZodLiteral<"Ethereum">;
165
+ asset: z.ZodLiteral<"ETH">;
166
+ }, "strip", z.ZodTypeAny, {
167
+ chain: "Ethereum";
168
+ asset: "ETH";
169
+ }, {
170
+ chain: "Ethereum";
171
+ asset: "ETH";
172
+ }>, z.ZodObject<{
173
+ chain: z.ZodLiteral<"Ethereum">;
174
+ asset: z.ZodLiteral<"USDC">;
175
+ }, "strip", z.ZodTypeAny, {
176
+ chain: "Ethereum";
177
+ asset: "USDC";
178
+ }, {
179
+ chain: "Ethereum";
180
+ asset: "USDC";
181
+ }>, z.ZodObject<{
182
+ chain: z.ZodLiteral<"Ethereum">;
183
+ asset: z.ZodLiteral<"USDT">;
184
+ }, "strip", z.ZodTypeAny, {
185
+ chain: "Ethereum";
186
+ asset: "USDT";
187
+ }, {
188
+ chain: "Ethereum";
189
+ asset: "USDT";
190
+ }>, z.ZodObject<{
191
+ chain: z.ZodLiteral<"Arbitrum">;
192
+ asset: z.ZodLiteral<"ETH">;
193
+ }, "strip", z.ZodTypeAny, {
194
+ chain: "Arbitrum";
195
+ asset: "ETH";
196
+ }, {
197
+ chain: "Arbitrum";
198
+ asset: "ETH";
199
+ }>, z.ZodObject<{
200
+ chain: z.ZodLiteral<"Arbitrum">;
201
+ asset: z.ZodLiteral<"USDC">;
202
+ }, "strip", z.ZodTypeAny, {
203
+ chain: "Arbitrum";
204
+ asset: "USDC";
205
+ }, {
206
+ chain: "Arbitrum";
207
+ asset: "USDC";
208
+ }>]>, z.ZodObject<{
209
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
210
+ }, "strip", z.ZodTypeAny, {
211
+ amount: bigint;
212
+ }, {
213
+ amount: string | number;
214
+ }>>;
215
+ ingress_fee: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
216
+ chain: z.ZodLiteral<"Bitcoin">;
217
+ asset: z.ZodLiteral<"BTC">;
218
+ }, "strip", z.ZodTypeAny, {
219
+ chain: "Bitcoin";
220
+ asset: "BTC";
221
+ }, {
222
+ chain: "Bitcoin";
223
+ asset: "BTC";
224
+ }>, z.ZodObject<{
225
+ chain: z.ZodLiteral<"Polkadot">;
226
+ asset: z.ZodLiteral<"DOT">;
227
+ }, "strip", z.ZodTypeAny, {
228
+ chain: "Polkadot";
229
+ asset: "DOT";
230
+ }, {
231
+ chain: "Polkadot";
232
+ asset: "DOT";
233
+ }>, z.ZodObject<{
234
+ chain: z.ZodLiteral<"Ethereum">;
235
+ asset: z.ZodLiteral<"FLIP">;
236
+ }, "strip", z.ZodTypeAny, {
237
+ chain: "Ethereum";
238
+ asset: "FLIP";
239
+ }, {
240
+ chain: "Ethereum";
241
+ asset: "FLIP";
242
+ }>, z.ZodObject<{
243
+ chain: z.ZodLiteral<"Ethereum">;
244
+ asset: z.ZodLiteral<"ETH">;
245
+ }, "strip", z.ZodTypeAny, {
246
+ chain: "Ethereum";
247
+ asset: "ETH";
248
+ }, {
249
+ chain: "Ethereum";
250
+ asset: "ETH";
251
+ }>, z.ZodObject<{
252
+ chain: z.ZodLiteral<"Ethereum">;
253
+ asset: z.ZodLiteral<"USDC">;
254
+ }, "strip", z.ZodTypeAny, {
255
+ chain: "Ethereum";
256
+ asset: "USDC";
257
+ }, {
258
+ chain: "Ethereum";
259
+ asset: "USDC";
260
+ }>, z.ZodObject<{
261
+ chain: z.ZodLiteral<"Ethereum">;
262
+ asset: z.ZodLiteral<"USDT">;
263
+ }, "strip", z.ZodTypeAny, {
264
+ chain: "Ethereum";
265
+ asset: "USDT";
266
+ }, {
267
+ chain: "Ethereum";
268
+ asset: "USDT";
269
+ }>, z.ZodObject<{
270
+ chain: z.ZodLiteral<"Arbitrum">;
271
+ asset: z.ZodLiteral<"ETH">;
272
+ }, "strip", z.ZodTypeAny, {
273
+ chain: "Arbitrum";
274
+ asset: "ETH";
275
+ }, {
276
+ chain: "Arbitrum";
277
+ asset: "ETH";
278
+ }>, z.ZodObject<{
279
+ chain: z.ZodLiteral<"Arbitrum">;
280
+ asset: z.ZodLiteral<"USDC">;
281
+ }, "strip", z.ZodTypeAny, {
282
+ chain: "Arbitrum";
283
+ asset: "USDC";
284
+ }, {
285
+ chain: "Arbitrum";
286
+ asset: "USDC";
287
+ }>]>, z.ZodObject<{
288
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ amount: bigint;
291
+ }, {
292
+ amount: string | number;
293
+ }>>;
294
+ intermediary: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>>;
295
+ network_fee: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
296
+ chain: z.ZodLiteral<"Bitcoin">;
297
+ asset: z.ZodLiteral<"BTC">;
298
+ }, "strip", z.ZodTypeAny, {
299
+ chain: "Bitcoin";
300
+ asset: "BTC";
301
+ }, {
302
+ chain: "Bitcoin";
303
+ asset: "BTC";
304
+ }>, z.ZodObject<{
305
+ chain: z.ZodLiteral<"Polkadot">;
306
+ asset: z.ZodLiteral<"DOT">;
307
+ }, "strip", z.ZodTypeAny, {
308
+ chain: "Polkadot";
309
+ asset: "DOT";
310
+ }, {
311
+ chain: "Polkadot";
312
+ asset: "DOT";
313
+ }>, z.ZodObject<{
314
+ chain: z.ZodLiteral<"Ethereum">;
315
+ asset: z.ZodLiteral<"FLIP">;
316
+ }, "strip", z.ZodTypeAny, {
317
+ chain: "Ethereum";
318
+ asset: "FLIP";
319
+ }, {
320
+ chain: "Ethereum";
321
+ asset: "FLIP";
322
+ }>, z.ZodObject<{
323
+ chain: z.ZodLiteral<"Ethereum">;
324
+ asset: z.ZodLiteral<"ETH">;
325
+ }, "strip", z.ZodTypeAny, {
326
+ chain: "Ethereum";
327
+ asset: "ETH";
328
+ }, {
329
+ chain: "Ethereum";
330
+ asset: "ETH";
331
+ }>, z.ZodObject<{
332
+ chain: z.ZodLiteral<"Ethereum">;
333
+ asset: z.ZodLiteral<"USDC">;
334
+ }, "strip", z.ZodTypeAny, {
335
+ chain: "Ethereum";
336
+ asset: "USDC";
337
+ }, {
338
+ chain: "Ethereum";
339
+ asset: "USDC";
340
+ }>, z.ZodObject<{
341
+ chain: z.ZodLiteral<"Ethereum">;
342
+ asset: z.ZodLiteral<"USDT">;
343
+ }, "strip", z.ZodTypeAny, {
344
+ chain: "Ethereum";
345
+ asset: "USDT";
346
+ }, {
347
+ chain: "Ethereum";
348
+ asset: "USDT";
349
+ }>, z.ZodObject<{
350
+ chain: z.ZodLiteral<"Arbitrum">;
351
+ asset: z.ZodLiteral<"ETH">;
352
+ }, "strip", z.ZodTypeAny, {
353
+ chain: "Arbitrum";
354
+ asset: "ETH";
355
+ }, {
356
+ chain: "Arbitrum";
357
+ asset: "ETH";
358
+ }>, z.ZodObject<{
359
+ chain: z.ZodLiteral<"Arbitrum">;
360
+ asset: z.ZodLiteral<"USDC">;
361
+ }, "strip", z.ZodTypeAny, {
362
+ chain: "Arbitrum";
363
+ asset: "USDC";
364
+ }, {
365
+ chain: "Arbitrum";
366
+ asset: "USDC";
367
+ }>]>, z.ZodObject<{
368
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ amount: bigint;
371
+ }, {
372
+ amount: string | number;
373
+ }>>;
374
+ output: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
375
+ }, "strip", z.ZodTypeAny, {
376
+ intermediary: bigint | null;
377
+ output: bigint;
378
+ egress_fee: ({
379
+ chain: "Bitcoin";
380
+ asset: "BTC";
381
+ } | {
382
+ chain: "Polkadot";
383
+ asset: "DOT";
384
+ } | {
385
+ chain: "Ethereum";
386
+ asset: "FLIP";
387
+ } | {
388
+ chain: "Ethereum";
389
+ asset: "ETH";
390
+ } | {
391
+ chain: "Ethereum";
392
+ asset: "USDC";
393
+ } | {
394
+ chain: "Ethereum";
395
+ asset: "USDT";
396
+ } | {
397
+ chain: "Arbitrum";
398
+ asset: "ETH";
399
+ } | {
400
+ chain: "Arbitrum";
401
+ asset: "USDC";
402
+ }) & {
403
+ amount: bigint;
404
+ };
405
+ ingress_fee: ({
406
+ chain: "Bitcoin";
407
+ asset: "BTC";
408
+ } | {
409
+ chain: "Polkadot";
410
+ asset: "DOT";
411
+ } | {
412
+ chain: "Ethereum";
413
+ asset: "FLIP";
414
+ } | {
415
+ chain: "Ethereum";
416
+ asset: "ETH";
417
+ } | {
418
+ chain: "Ethereum";
419
+ asset: "USDC";
420
+ } | {
421
+ chain: "Ethereum";
422
+ asset: "USDT";
423
+ } | {
424
+ chain: "Arbitrum";
425
+ asset: "ETH";
426
+ } | {
427
+ chain: "Arbitrum";
428
+ asset: "USDC";
429
+ }) & {
430
+ amount: bigint;
431
+ };
432
+ network_fee: ({
433
+ chain: "Bitcoin";
434
+ asset: "BTC";
435
+ } | {
436
+ chain: "Polkadot";
437
+ asset: "DOT";
438
+ } | {
439
+ chain: "Ethereum";
440
+ asset: "FLIP";
441
+ } | {
442
+ chain: "Ethereum";
443
+ asset: "ETH";
444
+ } | {
445
+ chain: "Ethereum";
446
+ asset: "USDC";
447
+ } | {
448
+ chain: "Ethereum";
449
+ asset: "USDT";
450
+ } | {
451
+ chain: "Arbitrum";
452
+ asset: "ETH";
453
+ } | {
454
+ chain: "Arbitrum";
455
+ asset: "USDC";
456
+ }) & {
457
+ amount: bigint;
458
+ };
459
+ }, {
460
+ intermediary: string | null;
461
+ output: string;
462
+ egress_fee: ({
463
+ chain: "Bitcoin";
464
+ asset: "BTC";
465
+ } | {
466
+ chain: "Polkadot";
467
+ asset: "DOT";
468
+ } | {
469
+ chain: "Ethereum";
470
+ asset: "FLIP";
471
+ } | {
472
+ chain: "Ethereum";
473
+ asset: "ETH";
474
+ } | {
475
+ chain: "Ethereum";
476
+ asset: "USDC";
477
+ } | {
478
+ chain: "Ethereum";
479
+ asset: "USDT";
480
+ } | {
481
+ chain: "Arbitrum";
482
+ asset: "ETH";
483
+ } | {
484
+ chain: "Arbitrum";
485
+ asset: "USDC";
486
+ }) & {
487
+ amount: string | number;
488
+ };
489
+ ingress_fee: ({
490
+ chain: "Bitcoin";
491
+ asset: "BTC";
492
+ } | {
493
+ chain: "Polkadot";
494
+ asset: "DOT";
495
+ } | {
496
+ chain: "Ethereum";
497
+ asset: "FLIP";
498
+ } | {
499
+ chain: "Ethereum";
500
+ asset: "ETH";
501
+ } | {
502
+ chain: "Ethereum";
503
+ asset: "USDC";
504
+ } | {
505
+ chain: "Ethereum";
506
+ asset: "USDT";
507
+ } | {
508
+ chain: "Arbitrum";
509
+ asset: "ETH";
510
+ } | {
511
+ chain: "Arbitrum";
512
+ asset: "USDC";
513
+ }) & {
514
+ amount: string | number;
515
+ };
516
+ network_fee: ({
517
+ chain: "Bitcoin";
518
+ asset: "BTC";
519
+ } | {
520
+ chain: "Polkadot";
521
+ asset: "DOT";
522
+ } | {
523
+ chain: "Ethereum";
524
+ asset: "FLIP";
525
+ } | {
526
+ chain: "Ethereum";
527
+ asset: "ETH";
528
+ } | {
529
+ chain: "Ethereum";
530
+ asset: "USDC";
531
+ } | {
532
+ chain: "Ethereum";
533
+ asset: "USDT";
534
+ } | {
535
+ chain: "Arbitrum";
536
+ asset: "ETH";
537
+ } | {
538
+ chain: "Arbitrum";
539
+ asset: "USDC";
540
+ }) & {
541
+ amount: string | number;
542
+ };
543
+ }>;
544
+ declare const chainGetBlockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
545
+ declare const stateGetMetadata: z.ZodEffects<z.ZodString, `0x${string}`, string>;
546
+ declare const stateGetRuntimeVersion: z.ZodObject<{
547
+ specName: z.ZodString;
548
+ implName: z.ZodString;
549
+ authoringVersion: z.ZodNumber;
550
+ specVersion: z.ZodNumber;
551
+ implVersion: z.ZodNumber;
552
+ apis: z.ZodArray<z.ZodTuple<[z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodNumber], null>, "many">;
553
+ transactionVersion: z.ZodNumber;
554
+ stateVersion: z.ZodNumber;
555
+ }, "strip", z.ZodTypeAny, {
556
+ specName: string;
557
+ implName: string;
558
+ authoringVersion: number;
559
+ specVersion: number;
560
+ implVersion: number;
561
+ apis: [`0x${string}`, number][];
562
+ transactionVersion: number;
563
+ stateVersion: number;
564
+ }, {
565
+ specName: string;
566
+ implName: string;
567
+ authoringVersion: number;
568
+ specVersion: number;
569
+ implVersion: number;
570
+ apis: [string, number][];
571
+ transactionVersion: number;
572
+ stateVersion: number;
573
+ }>;
574
+ declare const cfIngressEgressEnvironment: z.ZodEffects<z.ZodObject<{
575
+ minimum_deposit_amounts: z.ZodObject<{
576
+ Bitcoin: z.ZodObject<{
577
+ BTC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
578
+ }, "strip", z.ZodTypeAny, {
579
+ BTC: bigint;
580
+ }, {
581
+ BTC: string | number;
582
+ }>;
583
+ Ethereum: z.ZodObject<{
584
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
585
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
586
+ FLIP: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
587
+ USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
588
+ }, "strip", z.ZodTypeAny, {
589
+ FLIP: bigint;
590
+ ETH: bigint;
591
+ USDC: bigint;
592
+ USDT: bigint;
593
+ }, {
594
+ FLIP: string | number;
595
+ ETH: string | number;
596
+ USDC: string | number;
597
+ USDT: string | number;
598
+ }>;
599
+ Polkadot: z.ZodObject<{
600
+ DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
601
+ }, "strip", z.ZodTypeAny, {
602
+ DOT: bigint;
603
+ }, {
604
+ DOT: string | number;
605
+ }>;
606
+ Arbitrum: z.ZodObject<{
607
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
608
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ ETH: bigint;
611
+ USDC: bigint;
612
+ }, {
613
+ ETH: string | number;
614
+ USDC: string | number;
615
+ }>;
616
+ }, "strip", z.ZodTypeAny, {
617
+ Bitcoin: {
618
+ BTC: bigint;
619
+ };
620
+ Polkadot: {
621
+ DOT: bigint;
622
+ };
623
+ Ethereum: {
624
+ FLIP: bigint;
625
+ ETH: bigint;
626
+ USDC: bigint;
627
+ USDT: bigint;
628
+ };
629
+ Arbitrum: {
630
+ ETH: bigint;
631
+ USDC: bigint;
632
+ };
633
+ }, {
634
+ Bitcoin: {
635
+ BTC: string | number;
636
+ };
637
+ Polkadot: {
638
+ DOT: string | number;
639
+ };
640
+ Ethereum: {
641
+ FLIP: string | number;
642
+ ETH: string | number;
643
+ USDC: string | number;
644
+ USDT: string | number;
645
+ };
646
+ Arbitrum: {
647
+ ETH: string | number;
648
+ USDC: string | number;
649
+ };
650
+ }>;
651
+ ingress_fees: z.ZodObject<{
652
+ Bitcoin: z.ZodObject<{
653
+ BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
654
+ }, "strip", z.ZodTypeAny, {
655
+ BTC: bigint | null;
656
+ }, {
657
+ BTC: string | number | null;
658
+ }>;
659
+ Ethereum: z.ZodObject<{
660
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
661
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
662
+ FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
663
+ USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
664
+ }, "strip", z.ZodTypeAny, {
665
+ FLIP: bigint | null;
666
+ ETH: bigint | null;
667
+ USDC: bigint | null;
668
+ USDT: bigint | null;
669
+ }, {
670
+ FLIP: string | number | null;
671
+ ETH: string | number | null;
672
+ USDC: string | number | null;
673
+ USDT: string | number | null;
674
+ }>;
675
+ Polkadot: z.ZodObject<{
676
+ DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
677
+ }, "strip", z.ZodTypeAny, {
678
+ DOT: bigint | null;
679
+ }, {
680
+ DOT: string | number | null;
681
+ }>;
682
+ Arbitrum: z.ZodObject<{
683
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
684
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ ETH: bigint | null;
687
+ USDC: bigint | null;
688
+ }, {
689
+ ETH: string | number | null;
690
+ USDC: string | number | null;
691
+ }>;
692
+ }, "strip", z.ZodTypeAny, {
693
+ Bitcoin: {
694
+ BTC: bigint | null;
695
+ };
696
+ Polkadot: {
697
+ DOT: bigint | null;
698
+ };
699
+ Ethereum: {
700
+ FLIP: bigint | null;
701
+ ETH: bigint | null;
702
+ USDC: bigint | null;
703
+ USDT: bigint | null;
704
+ };
705
+ Arbitrum: {
706
+ ETH: bigint | null;
707
+ USDC: bigint | null;
708
+ };
709
+ }, {
710
+ Bitcoin: {
711
+ BTC: string | number | null;
712
+ };
713
+ Polkadot: {
714
+ DOT: string | number | null;
715
+ };
716
+ Ethereum: {
717
+ FLIP: string | number | null;
718
+ ETH: string | number | null;
719
+ USDC: string | number | null;
720
+ USDT: string | number | null;
721
+ };
722
+ Arbitrum: {
723
+ ETH: string | number | null;
724
+ USDC: string | number | null;
725
+ };
726
+ }>;
727
+ egress_fees: z.ZodObject<{
728
+ Bitcoin: z.ZodObject<{
729
+ BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
730
+ }, "strip", z.ZodTypeAny, {
731
+ BTC: bigint | null;
732
+ }, {
733
+ BTC: string | number | null;
734
+ }>;
735
+ Ethereum: z.ZodObject<{
736
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
737
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
738
+ FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
739
+ USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
740
+ }, "strip", z.ZodTypeAny, {
741
+ FLIP: bigint | null;
742
+ ETH: bigint | null;
743
+ USDC: bigint | null;
744
+ USDT: bigint | null;
745
+ }, {
746
+ FLIP: string | number | null;
747
+ ETH: string | number | null;
748
+ USDC: string | number | null;
749
+ USDT: string | number | null;
750
+ }>;
751
+ Polkadot: z.ZodObject<{
752
+ DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
753
+ }, "strip", z.ZodTypeAny, {
754
+ DOT: bigint | null;
755
+ }, {
756
+ DOT: string | number | null;
757
+ }>;
758
+ Arbitrum: z.ZodObject<{
759
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
760
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
761
+ }, "strip", z.ZodTypeAny, {
762
+ ETH: bigint | null;
763
+ USDC: bigint | null;
764
+ }, {
765
+ ETH: string | number | null;
766
+ USDC: string | number | null;
767
+ }>;
768
+ }, "strip", z.ZodTypeAny, {
769
+ Bitcoin: {
770
+ BTC: bigint | null;
771
+ };
772
+ Polkadot: {
773
+ DOT: bigint | null;
774
+ };
775
+ Ethereum: {
776
+ FLIP: bigint | null;
777
+ ETH: bigint | null;
778
+ USDC: bigint | null;
779
+ USDT: bigint | null;
780
+ };
781
+ Arbitrum: {
782
+ ETH: bigint | null;
783
+ USDC: bigint | null;
784
+ };
785
+ }, {
786
+ Bitcoin: {
787
+ BTC: string | number | null;
788
+ };
789
+ Polkadot: {
790
+ DOT: string | number | null;
791
+ };
792
+ Ethereum: {
793
+ FLIP: string | number | null;
794
+ ETH: string | number | null;
795
+ USDC: string | number | null;
796
+ USDT: string | number | null;
797
+ };
798
+ Arbitrum: {
799
+ ETH: string | number | null;
800
+ USDC: string | number | null;
801
+ };
802
+ }>;
803
+ witness_safety_margins: z.ZodObject<{
804
+ Bitcoin: z.ZodNullable<z.ZodNumber>;
805
+ Ethereum: z.ZodNullable<z.ZodNumber>;
806
+ Polkadot: z.ZodNullable<z.ZodNumber>;
807
+ Arbitrum: z.ZodNullable<z.ZodNumber>;
808
+ }, "strip", z.ZodTypeAny, {
809
+ Bitcoin: number | null;
810
+ Polkadot: number | null;
811
+ Ethereum: number | null;
812
+ Arbitrum: number | null;
813
+ }, {
814
+ Bitcoin: number | null;
815
+ Polkadot: number | null;
816
+ Ethereum: number | null;
817
+ Arbitrum: number | null;
818
+ }>;
819
+ egress_dust_limits: z.ZodObject<{
820
+ Bitcoin: z.ZodObject<{
821
+ BTC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
822
+ }, "strip", z.ZodTypeAny, {
823
+ BTC: bigint;
824
+ }, {
825
+ BTC: string | number;
826
+ }>;
827
+ Ethereum: z.ZodObject<{
828
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
829
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
830
+ FLIP: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
831
+ USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
832
+ }, "strip", z.ZodTypeAny, {
833
+ FLIP: bigint;
834
+ ETH: bigint;
835
+ USDC: bigint;
836
+ USDT: bigint;
837
+ }, {
838
+ FLIP: string | number;
839
+ ETH: string | number;
840
+ USDC: string | number;
841
+ USDT: string | number;
842
+ }>;
843
+ Polkadot: z.ZodObject<{
844
+ DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
845
+ }, "strip", z.ZodTypeAny, {
846
+ DOT: bigint;
847
+ }, {
848
+ DOT: string | number;
849
+ }>;
850
+ Arbitrum: z.ZodObject<{
851
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
852
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
853
+ }, "strip", z.ZodTypeAny, {
854
+ ETH: bigint;
855
+ USDC: bigint;
856
+ }, {
857
+ ETH: string | number;
858
+ USDC: string | number;
859
+ }>;
860
+ }, "strip", z.ZodTypeAny, {
861
+ Bitcoin: {
862
+ BTC: bigint;
863
+ };
864
+ Polkadot: {
865
+ DOT: bigint;
866
+ };
867
+ Ethereum: {
868
+ FLIP: bigint;
869
+ ETH: bigint;
870
+ USDC: bigint;
871
+ USDT: bigint;
872
+ };
873
+ Arbitrum: {
874
+ ETH: bigint;
875
+ USDC: bigint;
876
+ };
877
+ }, {
878
+ Bitcoin: {
879
+ BTC: string | number;
880
+ };
881
+ Polkadot: {
882
+ DOT: string | number;
883
+ };
884
+ Ethereum: {
885
+ FLIP: string | number;
886
+ ETH: string | number;
887
+ USDC: string | number;
888
+ USDT: string | number;
889
+ };
890
+ Arbitrum: {
891
+ ETH: string | number;
892
+ USDC: string | number;
893
+ };
894
+ }>;
895
+ channel_opening_fees: z.ZodObject<{
896
+ Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
897
+ Ethereum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
898
+ Polkadot: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
899
+ Arbitrum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
900
+ }, "strip", z.ZodTypeAny, {
901
+ Bitcoin: bigint;
902
+ Polkadot: bigint;
903
+ Ethereum: bigint;
904
+ Arbitrum: bigint;
905
+ }, {
906
+ Bitcoin: string | number;
907
+ Polkadot: string | number;
908
+ Ethereum: string | number;
909
+ Arbitrum: string | number;
910
+ }>;
911
+ }, "strip", z.ZodTypeAny, {
912
+ minimum_deposit_amounts: {
913
+ Bitcoin: {
914
+ BTC: bigint;
915
+ };
916
+ Polkadot: {
917
+ DOT: bigint;
918
+ };
919
+ Ethereum: {
920
+ FLIP: bigint;
921
+ ETH: bigint;
922
+ USDC: bigint;
923
+ USDT: bigint;
924
+ };
925
+ Arbitrum: {
926
+ ETH: bigint;
927
+ USDC: bigint;
928
+ };
929
+ };
930
+ ingress_fees: {
931
+ Bitcoin: {
932
+ BTC: bigint | null;
933
+ };
934
+ Polkadot: {
935
+ DOT: bigint | null;
936
+ };
937
+ Ethereum: {
938
+ FLIP: bigint | null;
939
+ ETH: bigint | null;
940
+ USDC: bigint | null;
941
+ USDT: bigint | null;
942
+ };
943
+ Arbitrum: {
944
+ ETH: bigint | null;
945
+ USDC: bigint | null;
946
+ };
947
+ };
948
+ egress_fees: {
949
+ Bitcoin: {
950
+ BTC: bigint | null;
951
+ };
952
+ Polkadot: {
953
+ DOT: bigint | null;
954
+ };
955
+ Ethereum: {
956
+ FLIP: bigint | null;
957
+ ETH: bigint | null;
958
+ USDC: bigint | null;
959
+ USDT: bigint | null;
960
+ };
961
+ Arbitrum: {
962
+ ETH: bigint | null;
963
+ USDC: bigint | null;
964
+ };
965
+ };
966
+ witness_safety_margins: {
967
+ Bitcoin: number | null;
968
+ Polkadot: number | null;
969
+ Ethereum: number | null;
970
+ Arbitrum: number | null;
971
+ };
972
+ egress_dust_limits: {
973
+ Bitcoin: {
974
+ BTC: bigint;
975
+ };
976
+ Polkadot: {
977
+ DOT: bigint;
978
+ };
979
+ Ethereum: {
980
+ FLIP: bigint;
981
+ ETH: bigint;
982
+ USDC: bigint;
983
+ USDT: bigint;
984
+ };
985
+ Arbitrum: {
986
+ ETH: bigint;
987
+ USDC: bigint;
988
+ };
989
+ };
990
+ channel_opening_fees: {
991
+ Bitcoin: bigint;
992
+ Polkadot: bigint;
993
+ Ethereum: bigint;
994
+ Arbitrum: bigint;
995
+ };
996
+ }, {
997
+ minimum_deposit_amounts: {
998
+ Bitcoin: {
999
+ BTC: string | number;
1000
+ };
1001
+ Polkadot: {
1002
+ DOT: string | number;
1003
+ };
1004
+ Ethereum: {
1005
+ FLIP: string | number;
1006
+ ETH: string | number;
1007
+ USDC: string | number;
1008
+ USDT: string | number;
1009
+ };
1010
+ Arbitrum: {
1011
+ ETH: string | number;
1012
+ USDC: string | number;
1013
+ };
1014
+ };
1015
+ ingress_fees: {
1016
+ Bitcoin: {
1017
+ BTC: string | number | null;
1018
+ };
1019
+ Polkadot: {
1020
+ DOT: string | number | null;
1021
+ };
1022
+ Ethereum: {
1023
+ FLIP: string | number | null;
1024
+ ETH: string | number | null;
1025
+ USDC: string | number | null;
1026
+ USDT: string | number | null;
1027
+ };
1028
+ Arbitrum: {
1029
+ ETH: string | number | null;
1030
+ USDC: string | number | null;
1031
+ };
1032
+ };
1033
+ egress_fees: {
1034
+ Bitcoin: {
1035
+ BTC: string | number | null;
1036
+ };
1037
+ Polkadot: {
1038
+ DOT: string | number | null;
1039
+ };
1040
+ Ethereum: {
1041
+ FLIP: string | number | null;
1042
+ ETH: string | number | null;
1043
+ USDC: string | number | null;
1044
+ USDT: string | number | null;
1045
+ };
1046
+ Arbitrum: {
1047
+ ETH: string | number | null;
1048
+ USDC: string | number | null;
1049
+ };
1050
+ };
1051
+ witness_safety_margins: {
1052
+ Bitcoin: number | null;
1053
+ Polkadot: number | null;
1054
+ Ethereum: number | null;
1055
+ Arbitrum: number | null;
1056
+ };
1057
+ egress_dust_limits: {
1058
+ Bitcoin: {
1059
+ BTC: string | number;
1060
+ };
1061
+ Polkadot: {
1062
+ DOT: string | number;
1063
+ };
1064
+ Ethereum: {
1065
+ FLIP: string | number;
1066
+ ETH: string | number;
1067
+ USDC: string | number;
1068
+ USDT: string | number;
1069
+ };
1070
+ Arbitrum: {
1071
+ ETH: string | number;
1072
+ USDC: string | number;
1073
+ };
1074
+ };
1075
+ channel_opening_fees: {
1076
+ Bitcoin: string | number;
1077
+ Polkadot: string | number;
1078
+ Ethereum: string | number;
1079
+ Arbitrum: string | number;
1080
+ };
1081
+ }>, Rename<{
1082
+ minimum_deposit_amounts: {
1083
+ Bitcoin: {
1084
+ BTC: bigint;
1085
+ };
1086
+ Polkadot: {
1087
+ DOT: bigint;
1088
+ };
1089
+ Ethereum: {
1090
+ FLIP: bigint;
1091
+ ETH: bigint;
1092
+ USDC: bigint;
1093
+ USDT: bigint;
1094
+ };
1095
+ Arbitrum: {
1096
+ ETH: bigint;
1097
+ USDC: bigint;
1098
+ };
1099
+ };
1100
+ ingress_fees: {
1101
+ Bitcoin: {
1102
+ BTC: bigint | null;
1103
+ };
1104
+ Polkadot: {
1105
+ DOT: bigint | null;
1106
+ };
1107
+ Ethereum: {
1108
+ FLIP: bigint | null;
1109
+ ETH: bigint | null;
1110
+ USDC: bigint | null;
1111
+ USDT: bigint | null;
1112
+ };
1113
+ Arbitrum: {
1114
+ ETH: bigint | null;
1115
+ USDC: bigint | null;
1116
+ };
1117
+ };
1118
+ egress_fees: {
1119
+ Bitcoin: {
1120
+ BTC: bigint | null;
1121
+ };
1122
+ Polkadot: {
1123
+ DOT: bigint | null;
1124
+ };
1125
+ Ethereum: {
1126
+ FLIP: bigint | null;
1127
+ ETH: bigint | null;
1128
+ USDC: bigint | null;
1129
+ USDT: bigint | null;
1130
+ };
1131
+ Arbitrum: {
1132
+ ETH: bigint | null;
1133
+ USDC: bigint | null;
1134
+ };
1135
+ };
1136
+ witness_safety_margins: {
1137
+ Bitcoin: number | null;
1138
+ Polkadot: number | null;
1139
+ Ethereum: number | null;
1140
+ Arbitrum: number | null;
1141
+ };
1142
+ egress_dust_limits: {
1143
+ Bitcoin: {
1144
+ BTC: bigint;
1145
+ };
1146
+ Polkadot: {
1147
+ DOT: bigint;
1148
+ };
1149
+ Ethereum: {
1150
+ FLIP: bigint;
1151
+ ETH: bigint;
1152
+ USDC: bigint;
1153
+ USDT: bigint;
1154
+ };
1155
+ Arbitrum: {
1156
+ ETH: bigint;
1157
+ USDC: bigint;
1158
+ };
1159
+ };
1160
+ channel_opening_fees: {
1161
+ Bitcoin: bigint;
1162
+ Polkadot: bigint;
1163
+ Ethereum: bigint;
1164
+ Arbitrum: bigint;
1165
+ };
1166
+ }, {
1167
+ readonly egress_dust_limits: "minimum_egress_amounts";
1168
+ }>, {
1169
+ minimum_deposit_amounts: {
1170
+ Bitcoin: {
1171
+ BTC: string | number;
1172
+ };
1173
+ Polkadot: {
1174
+ DOT: string | number;
1175
+ };
1176
+ Ethereum: {
1177
+ FLIP: string | number;
1178
+ ETH: string | number;
1179
+ USDC: string | number;
1180
+ USDT: string | number;
1181
+ };
1182
+ Arbitrum: {
1183
+ ETH: string | number;
1184
+ USDC: string | number;
1185
+ };
1186
+ };
1187
+ ingress_fees: {
1188
+ Bitcoin: {
1189
+ BTC: string | number | null;
1190
+ };
1191
+ Polkadot: {
1192
+ DOT: string | number | null;
1193
+ };
1194
+ Ethereum: {
1195
+ FLIP: string | number | null;
1196
+ ETH: string | number | null;
1197
+ USDC: string | number | null;
1198
+ USDT: string | number | null;
1199
+ };
1200
+ Arbitrum: {
1201
+ ETH: string | number | null;
1202
+ USDC: string | number | null;
1203
+ };
1204
+ };
1205
+ egress_fees: {
1206
+ Bitcoin: {
1207
+ BTC: string | number | null;
1208
+ };
1209
+ Polkadot: {
1210
+ DOT: string | number | null;
1211
+ };
1212
+ Ethereum: {
1213
+ FLIP: string | number | null;
1214
+ ETH: string | number | null;
1215
+ USDC: string | number | null;
1216
+ USDT: string | number | null;
1217
+ };
1218
+ Arbitrum: {
1219
+ ETH: string | number | null;
1220
+ USDC: string | number | null;
1221
+ };
1222
+ };
1223
+ witness_safety_margins: {
1224
+ Bitcoin: number | null;
1225
+ Polkadot: number | null;
1226
+ Ethereum: number | null;
1227
+ Arbitrum: number | null;
1228
+ };
1229
+ egress_dust_limits: {
1230
+ Bitcoin: {
1231
+ BTC: string | number;
1232
+ };
1233
+ Polkadot: {
1234
+ DOT: string | number;
1235
+ };
1236
+ Ethereum: {
1237
+ FLIP: string | number;
1238
+ ETH: string | number;
1239
+ USDC: string | number;
1240
+ USDT: string | number;
1241
+ };
1242
+ Arbitrum: {
1243
+ ETH: string | number;
1244
+ USDC: string | number;
1245
+ };
1246
+ };
1247
+ channel_opening_fees: {
1248
+ Bitcoin: string | number;
1249
+ Polkadot: string | number;
1250
+ Ethereum: string | number;
1251
+ Arbitrum: string | number;
1252
+ };
1253
+ }>;
1254
+ declare const cfSwappingEnvironment: z.ZodObject<{
1255
+ maximum_swap_amounts: z.ZodObject<{
1256
+ Bitcoin: z.ZodObject<{
1257
+ BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1258
+ }, "strip", z.ZodTypeAny, {
1259
+ BTC: bigint | null;
1260
+ }, {
1261
+ BTC: string | number | null;
1262
+ }>;
1263
+ Ethereum: z.ZodObject<{
1264
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1265
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1266
+ FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1267
+ USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1268
+ }, "strip", z.ZodTypeAny, {
1269
+ FLIP: bigint | null;
1270
+ ETH: bigint | null;
1271
+ USDC: bigint | null;
1272
+ USDT: bigint | null;
1273
+ }, {
1274
+ FLIP: string | number | null;
1275
+ ETH: string | number | null;
1276
+ USDC: string | number | null;
1277
+ USDT: string | number | null;
1278
+ }>;
1279
+ Polkadot: z.ZodObject<{
1280
+ DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1281
+ }, "strip", z.ZodTypeAny, {
1282
+ DOT: bigint | null;
1283
+ }, {
1284
+ DOT: string | number | null;
1285
+ }>;
1286
+ Arbitrum: z.ZodObject<{
1287
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1288
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1289
+ }, "strip", z.ZodTypeAny, {
1290
+ ETH: bigint | null;
1291
+ USDC: bigint | null;
1292
+ }, {
1293
+ ETH: string | number | null;
1294
+ USDC: string | number | null;
1295
+ }>;
1296
+ }, "strip", z.ZodTypeAny, {
1297
+ Bitcoin: {
1298
+ BTC: bigint | null;
1299
+ };
1300
+ Polkadot: {
1301
+ DOT: bigint | null;
1302
+ };
1303
+ Ethereum: {
1304
+ FLIP: bigint | null;
1305
+ ETH: bigint | null;
1306
+ USDC: bigint | null;
1307
+ USDT: bigint | null;
1308
+ };
1309
+ Arbitrum: {
1310
+ ETH: bigint | null;
1311
+ USDC: bigint | null;
1312
+ };
1313
+ }, {
1314
+ Bitcoin: {
1315
+ BTC: string | number | null;
1316
+ };
1317
+ Polkadot: {
1318
+ DOT: string | number | null;
1319
+ };
1320
+ Ethereum: {
1321
+ FLIP: string | number | null;
1322
+ ETH: string | number | null;
1323
+ USDC: string | number | null;
1324
+ USDT: string | number | null;
1325
+ };
1326
+ Arbitrum: {
1327
+ ETH: string | number | null;
1328
+ USDC: string | number | null;
1329
+ };
1330
+ }>;
1331
+ network_fee_hundredth_pips: z.ZodNumber;
1332
+ }, "strip", z.ZodTypeAny, {
1333
+ maximum_swap_amounts: {
1334
+ Bitcoin: {
1335
+ BTC: bigint | null;
1336
+ };
1337
+ Polkadot: {
1338
+ DOT: bigint | null;
1339
+ };
1340
+ Ethereum: {
1341
+ FLIP: bigint | null;
1342
+ ETH: bigint | null;
1343
+ USDC: bigint | null;
1344
+ USDT: bigint | null;
1345
+ };
1346
+ Arbitrum: {
1347
+ ETH: bigint | null;
1348
+ USDC: bigint | null;
1349
+ };
1350
+ };
1351
+ network_fee_hundredth_pips: number;
1352
+ }, {
1353
+ maximum_swap_amounts: {
1354
+ Bitcoin: {
1355
+ BTC: string | number | null;
1356
+ };
1357
+ Polkadot: {
1358
+ DOT: string | number | null;
1359
+ };
1360
+ Ethereum: {
1361
+ FLIP: string | number | null;
1362
+ ETH: string | number | null;
1363
+ USDC: string | number | null;
1364
+ USDT: string | number | null;
1365
+ };
1366
+ Arbitrum: {
1367
+ ETH: string | number | null;
1368
+ USDC: string | number | null;
1369
+ };
1370
+ };
1371
+ network_fee_hundredth_pips: number;
1372
+ }>;
1373
+ declare const cfFundingEnvironment: z.ZodObject<{
1374
+ redemption_tax: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1375
+ minimum_funding_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1376
+ }, "strip", z.ZodTypeAny, {
1377
+ redemption_tax: bigint;
1378
+ minimum_funding_amount: bigint;
1379
+ }, {
1380
+ redemption_tax: string | number;
1381
+ minimum_funding_amount: string | number;
1382
+ }>;
1383
+ declare const cfEnvironment: z.ZodObject<{
1384
+ ingress_egress: z.ZodEffects<z.ZodObject<{
1385
+ minimum_deposit_amounts: z.ZodObject<{
1386
+ Bitcoin: z.ZodObject<{
1387
+ BTC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1388
+ }, "strip", z.ZodTypeAny, {
1389
+ BTC: bigint;
1390
+ }, {
1391
+ BTC: string | number;
1392
+ }>;
1393
+ Ethereum: z.ZodObject<{
1394
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1395
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1396
+ FLIP: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1397
+ USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1398
+ }, "strip", z.ZodTypeAny, {
1399
+ FLIP: bigint;
1400
+ ETH: bigint;
1401
+ USDC: bigint;
1402
+ USDT: bigint;
1403
+ }, {
1404
+ FLIP: string | number;
1405
+ ETH: string | number;
1406
+ USDC: string | number;
1407
+ USDT: string | number;
1408
+ }>;
1409
+ Polkadot: z.ZodObject<{
1410
+ DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1411
+ }, "strip", z.ZodTypeAny, {
1412
+ DOT: bigint;
1413
+ }, {
1414
+ DOT: string | number;
1415
+ }>;
1416
+ Arbitrum: z.ZodObject<{
1417
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1418
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1419
+ }, "strip", z.ZodTypeAny, {
1420
+ ETH: bigint;
1421
+ USDC: bigint;
1422
+ }, {
1423
+ ETH: string | number;
1424
+ USDC: string | number;
1425
+ }>;
1426
+ }, "strip", z.ZodTypeAny, {
1427
+ Bitcoin: {
1428
+ BTC: bigint;
1429
+ };
1430
+ Polkadot: {
1431
+ DOT: bigint;
1432
+ };
1433
+ Ethereum: {
1434
+ FLIP: bigint;
1435
+ ETH: bigint;
1436
+ USDC: bigint;
1437
+ USDT: bigint;
1438
+ };
1439
+ Arbitrum: {
1440
+ ETH: bigint;
1441
+ USDC: bigint;
1442
+ };
1443
+ }, {
1444
+ Bitcoin: {
1445
+ BTC: string | number;
1446
+ };
1447
+ Polkadot: {
1448
+ DOT: string | number;
1449
+ };
1450
+ Ethereum: {
1451
+ FLIP: string | number;
1452
+ ETH: string | number;
1453
+ USDC: string | number;
1454
+ USDT: string | number;
1455
+ };
1456
+ Arbitrum: {
1457
+ ETH: string | number;
1458
+ USDC: string | number;
1459
+ };
1460
+ }>;
1461
+ ingress_fees: z.ZodObject<{
1462
+ Bitcoin: z.ZodObject<{
1463
+ BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1464
+ }, "strip", z.ZodTypeAny, {
1465
+ BTC: bigint | null;
1466
+ }, {
1467
+ BTC: string | number | null;
1468
+ }>;
1469
+ Ethereum: z.ZodObject<{
1470
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1471
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1472
+ FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1473
+ USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1474
+ }, "strip", z.ZodTypeAny, {
1475
+ FLIP: bigint | null;
1476
+ ETH: bigint | null;
1477
+ USDC: bigint | null;
1478
+ USDT: bigint | null;
1479
+ }, {
1480
+ FLIP: string | number | null;
1481
+ ETH: string | number | null;
1482
+ USDC: string | number | null;
1483
+ USDT: string | number | null;
1484
+ }>;
1485
+ Polkadot: z.ZodObject<{
1486
+ DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1487
+ }, "strip", z.ZodTypeAny, {
1488
+ DOT: bigint | null;
1489
+ }, {
1490
+ DOT: string | number | null;
1491
+ }>;
1492
+ Arbitrum: z.ZodObject<{
1493
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1494
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1495
+ }, "strip", z.ZodTypeAny, {
1496
+ ETH: bigint | null;
1497
+ USDC: bigint | null;
1498
+ }, {
1499
+ ETH: string | number | null;
1500
+ USDC: string | number | null;
1501
+ }>;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ Bitcoin: {
1504
+ BTC: bigint | null;
1505
+ };
1506
+ Polkadot: {
1507
+ DOT: bigint | null;
1508
+ };
1509
+ Ethereum: {
1510
+ FLIP: bigint | null;
1511
+ ETH: bigint | null;
1512
+ USDC: bigint | null;
1513
+ USDT: bigint | null;
1514
+ };
1515
+ Arbitrum: {
1516
+ ETH: bigint | null;
1517
+ USDC: bigint | null;
1518
+ };
1519
+ }, {
1520
+ Bitcoin: {
1521
+ BTC: string | number | null;
1522
+ };
1523
+ Polkadot: {
1524
+ DOT: string | number | null;
1525
+ };
1526
+ Ethereum: {
1527
+ FLIP: string | number | null;
1528
+ ETH: string | number | null;
1529
+ USDC: string | number | null;
1530
+ USDT: string | number | null;
1531
+ };
1532
+ Arbitrum: {
1533
+ ETH: string | number | null;
1534
+ USDC: string | number | null;
1535
+ };
1536
+ }>;
1537
+ egress_fees: z.ZodObject<{
1538
+ Bitcoin: z.ZodObject<{
1539
+ BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1540
+ }, "strip", z.ZodTypeAny, {
1541
+ BTC: bigint | null;
1542
+ }, {
1543
+ BTC: string | number | null;
1544
+ }>;
1545
+ Ethereum: z.ZodObject<{
1546
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1547
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1548
+ FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1549
+ USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ FLIP: bigint | null;
1552
+ ETH: bigint | null;
1553
+ USDC: bigint | null;
1554
+ USDT: bigint | null;
1555
+ }, {
1556
+ FLIP: string | number | null;
1557
+ ETH: string | number | null;
1558
+ USDC: string | number | null;
1559
+ USDT: string | number | null;
1560
+ }>;
1561
+ Polkadot: z.ZodObject<{
1562
+ DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1563
+ }, "strip", z.ZodTypeAny, {
1564
+ DOT: bigint | null;
1565
+ }, {
1566
+ DOT: string | number | null;
1567
+ }>;
1568
+ Arbitrum: z.ZodObject<{
1569
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1570
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
1571
+ }, "strip", z.ZodTypeAny, {
1572
+ ETH: bigint | null;
1573
+ USDC: bigint | null;
1574
+ }, {
1575
+ ETH: string | number | null;
1576
+ USDC: string | number | null;
1577
+ }>;
1578
+ }, "strip", z.ZodTypeAny, {
1579
+ Bitcoin: {
1580
+ BTC: bigint | null;
1581
+ };
1582
+ Polkadot: {
1583
+ DOT: bigint | null;
1584
+ };
1585
+ Ethereum: {
1586
+ FLIP: bigint | null;
1587
+ ETH: bigint | null;
1588
+ USDC: bigint | null;
1589
+ USDT: bigint | null;
1590
+ };
1591
+ Arbitrum: {
1592
+ ETH: bigint | null;
1593
+ USDC: bigint | null;
1594
+ };
1595
+ }, {
1596
+ Bitcoin: {
1597
+ BTC: string | number | null;
1598
+ };
1599
+ Polkadot: {
1600
+ DOT: string | number | null;
1601
+ };
1602
+ Ethereum: {
1603
+ FLIP: string | number | null;
1604
+ ETH: string | number | null;
1605
+ USDC: string | number | null;
1606
+ USDT: string | number | null;
1607
+ };
1608
+ Arbitrum: {
1609
+ ETH: string | number | null;
1610
+ USDC: string | number | null;
1611
+ };
1612
+ }>;
1613
+ witness_safety_margins: z.ZodObject<{
1614
+ Bitcoin: z.ZodNullable<z.ZodNumber>;
1615
+ Ethereum: z.ZodNullable<z.ZodNumber>;
1616
+ Polkadot: z.ZodNullable<z.ZodNumber>;
1617
+ Arbitrum: z.ZodNullable<z.ZodNumber>;
1618
+ }, "strip", z.ZodTypeAny, {
1619
+ Bitcoin: number | null;
1620
+ Polkadot: number | null;
1621
+ Ethereum: number | null;
1622
+ Arbitrum: number | null;
1623
+ }, {
1624
+ Bitcoin: number | null;
1625
+ Polkadot: number | null;
1626
+ Ethereum: number | null;
1627
+ Arbitrum: number | null;
1628
+ }>;
1629
+ egress_dust_limits: z.ZodObject<{
1630
+ Bitcoin: z.ZodObject<{
1631
+ BTC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1632
+ }, "strip", z.ZodTypeAny, {
1633
+ BTC: bigint;
1634
+ }, {
1635
+ BTC: string | number;
1636
+ }>;
1637
+ Ethereum: z.ZodObject<{
1638
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1639
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1640
+ FLIP: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1641
+ USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1642
+ }, "strip", z.ZodTypeAny, {
1643
+ FLIP: bigint;
1644
+ ETH: bigint;
1645
+ USDC: bigint;
1646
+ USDT: bigint;
1647
+ }, {
1648
+ FLIP: string | number;
1649
+ ETH: string | number;
1650
+ USDC: string | number;
1651
+ USDT: string | number;
1652
+ }>;
1653
+ Polkadot: z.ZodObject<{
1654
+ DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1655
+ }, "strip", z.ZodTypeAny, {
1656
+ DOT: bigint;
1657
+ }, {
1658
+ DOT: string | number;
1659
+ }>;
1660
+ Arbitrum: z.ZodObject<{
1661
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1662
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1663
+ }, "strip", z.ZodTypeAny, {
1664
+ ETH: bigint;
1665
+ USDC: bigint;
1666
+ }, {
1667
+ ETH: string | number;
1668
+ USDC: string | number;
1669
+ }>;
1670
+ }, "strip", z.ZodTypeAny, {
1671
+ Bitcoin: {
1672
+ BTC: bigint;
1673
+ };
1674
+ Polkadot: {
1675
+ DOT: bigint;
1676
+ };
1677
+ Ethereum: {
1678
+ FLIP: bigint;
1679
+ ETH: bigint;
1680
+ USDC: bigint;
1681
+ USDT: bigint;
1682
+ };
1683
+ Arbitrum: {
1684
+ ETH: bigint;
1685
+ USDC: bigint;
1686
+ };
1687
+ }, {
1688
+ Bitcoin: {
1689
+ BTC: string | number;
1690
+ };
1691
+ Polkadot: {
1692
+ DOT: string | number;
1693
+ };
1694
+ Ethereum: {
1695
+ FLIP: string | number;
1696
+ ETH: string | number;
1697
+ USDC: string | number;
1698
+ USDT: string | number;
1699
+ };
1700
+ Arbitrum: {
1701
+ ETH: string | number;
1702
+ USDC: string | number;
1703
+ };
1704
+ }>;
1705
+ channel_opening_fees: z.ZodObject<{
1706
+ Bitcoin: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1707
+ Ethereum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1708
+ Polkadot: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1709
+ Arbitrum: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1710
+ }, "strip", z.ZodTypeAny, {
1711
+ Bitcoin: bigint;
1712
+ Polkadot: bigint;
1713
+ Ethereum: bigint;
1714
+ Arbitrum: bigint;
1715
+ }, {
1716
+ Bitcoin: string | number;
1717
+ Polkadot: string | number;
1718
+ Ethereum: string | number;
1719
+ Arbitrum: string | number;
1720
+ }>;
1721
+ }, "strip", z.ZodTypeAny, {
1722
+ minimum_deposit_amounts: {
1723
+ Bitcoin: {
1724
+ BTC: bigint;
1725
+ };
1726
+ Polkadot: {
1727
+ DOT: bigint;
1728
+ };
1729
+ Ethereum: {
1730
+ FLIP: bigint;
1731
+ ETH: bigint;
1732
+ USDC: bigint;
1733
+ USDT: bigint;
1734
+ };
1735
+ Arbitrum: {
1736
+ ETH: bigint;
1737
+ USDC: bigint;
1738
+ };
1739
+ };
1740
+ ingress_fees: {
1741
+ Bitcoin: {
1742
+ BTC: bigint | null;
1743
+ };
1744
+ Polkadot: {
1745
+ DOT: bigint | null;
1746
+ };
1747
+ Ethereum: {
1748
+ FLIP: bigint | null;
1749
+ ETH: bigint | null;
1750
+ USDC: bigint | null;
1751
+ USDT: bigint | null;
1752
+ };
1753
+ Arbitrum: {
1754
+ ETH: bigint | null;
1755
+ USDC: bigint | null;
1756
+ };
1757
+ };
1758
+ egress_fees: {
1759
+ Bitcoin: {
1760
+ BTC: bigint | null;
1761
+ };
1762
+ Polkadot: {
1763
+ DOT: bigint | null;
1764
+ };
1765
+ Ethereum: {
1766
+ FLIP: bigint | null;
1767
+ ETH: bigint | null;
1768
+ USDC: bigint | null;
1769
+ USDT: bigint | null;
1770
+ };
1771
+ Arbitrum: {
1772
+ ETH: bigint | null;
1773
+ USDC: bigint | null;
1774
+ };
1775
+ };
1776
+ witness_safety_margins: {
1777
+ Bitcoin: number | null;
1778
+ Polkadot: number | null;
1779
+ Ethereum: number | null;
1780
+ Arbitrum: number | null;
1781
+ };
1782
+ egress_dust_limits: {
1783
+ Bitcoin: {
1784
+ BTC: bigint;
1785
+ };
1786
+ Polkadot: {
1787
+ DOT: bigint;
1788
+ };
1789
+ Ethereum: {
1790
+ FLIP: bigint;
1791
+ ETH: bigint;
1792
+ USDC: bigint;
1793
+ USDT: bigint;
1794
+ };
1795
+ Arbitrum: {
1796
+ ETH: bigint;
1797
+ USDC: bigint;
1798
+ };
1799
+ };
1800
+ channel_opening_fees: {
1801
+ Bitcoin: bigint;
1802
+ Polkadot: bigint;
1803
+ Ethereum: bigint;
1804
+ Arbitrum: bigint;
1805
+ };
1806
+ }, {
1807
+ minimum_deposit_amounts: {
1808
+ Bitcoin: {
1809
+ BTC: string | number;
1810
+ };
1811
+ Polkadot: {
1812
+ DOT: string | number;
1813
+ };
1814
+ Ethereum: {
1815
+ FLIP: string | number;
1816
+ ETH: string | number;
1817
+ USDC: string | number;
1818
+ USDT: string | number;
1819
+ };
1820
+ Arbitrum: {
1821
+ ETH: string | number;
1822
+ USDC: string | number;
1823
+ };
1824
+ };
1825
+ ingress_fees: {
1826
+ Bitcoin: {
1827
+ BTC: string | number | null;
1828
+ };
1829
+ Polkadot: {
1830
+ DOT: string | number | null;
1831
+ };
1832
+ Ethereum: {
1833
+ FLIP: string | number | null;
1834
+ ETH: string | number | null;
1835
+ USDC: string | number | null;
1836
+ USDT: string | number | null;
1837
+ };
1838
+ Arbitrum: {
1839
+ ETH: string | number | null;
1840
+ USDC: string | number | null;
1841
+ };
1842
+ };
1843
+ egress_fees: {
1844
+ Bitcoin: {
1845
+ BTC: string | number | null;
1846
+ };
1847
+ Polkadot: {
1848
+ DOT: string | number | null;
1849
+ };
1850
+ Ethereum: {
1851
+ FLIP: string | number | null;
1852
+ ETH: string | number | null;
1853
+ USDC: string | number | null;
1854
+ USDT: string | number | null;
1855
+ };
1856
+ Arbitrum: {
1857
+ ETH: string | number | null;
1858
+ USDC: string | number | null;
1859
+ };
1860
+ };
1861
+ witness_safety_margins: {
1862
+ Bitcoin: number | null;
1863
+ Polkadot: number | null;
1864
+ Ethereum: number | null;
1865
+ Arbitrum: number | null;
1866
+ };
1867
+ egress_dust_limits: {
1868
+ Bitcoin: {
1869
+ BTC: string | number;
1870
+ };
1871
+ Polkadot: {
1872
+ DOT: string | number;
1873
+ };
1874
+ Ethereum: {
1875
+ FLIP: string | number;
1876
+ ETH: string | number;
1877
+ USDC: string | number;
1878
+ USDT: string | number;
1879
+ };
1880
+ Arbitrum: {
1881
+ ETH: string | number;
1882
+ USDC: string | number;
1883
+ };
1884
+ };
1885
+ channel_opening_fees: {
1886
+ Bitcoin: string | number;
1887
+ Polkadot: string | number;
1888
+ Ethereum: string | number;
1889
+ Arbitrum: string | number;
1890
+ };
1891
+ }>, Rename<{
1892
+ minimum_deposit_amounts: {
1893
+ Bitcoin: {
1894
+ BTC: bigint;
1895
+ };
1896
+ Polkadot: {
1897
+ DOT: bigint;
1898
+ };
1899
+ Ethereum: {
1900
+ FLIP: bigint;
1901
+ ETH: bigint;
1902
+ USDC: bigint;
1903
+ USDT: bigint;
1904
+ };
1905
+ Arbitrum: {
1906
+ ETH: bigint;
1907
+ USDC: bigint;
1908
+ };
1909
+ };
1910
+ ingress_fees: {
1911
+ Bitcoin: {
1912
+ BTC: bigint | null;
1913
+ };
1914
+ Polkadot: {
1915
+ DOT: bigint | null;
1916
+ };
1917
+ Ethereum: {
1918
+ FLIP: bigint | null;
1919
+ ETH: bigint | null;
1920
+ USDC: bigint | null;
1921
+ USDT: bigint | null;
1922
+ };
1923
+ Arbitrum: {
1924
+ ETH: bigint | null;
1925
+ USDC: bigint | null;
1926
+ };
1927
+ };
1928
+ egress_fees: {
1929
+ Bitcoin: {
1930
+ BTC: bigint | null;
1931
+ };
1932
+ Polkadot: {
1933
+ DOT: bigint | null;
1934
+ };
1935
+ Ethereum: {
1936
+ FLIP: bigint | null;
1937
+ ETH: bigint | null;
1938
+ USDC: bigint | null;
1939
+ USDT: bigint | null;
1940
+ };
1941
+ Arbitrum: {
1942
+ ETH: bigint | null;
1943
+ USDC: bigint | null;
1944
+ };
1945
+ };
1946
+ witness_safety_margins: {
1947
+ Bitcoin: number | null;
1948
+ Polkadot: number | null;
1949
+ Ethereum: number | null;
1950
+ Arbitrum: number | null;
1951
+ };
1952
+ egress_dust_limits: {
1953
+ Bitcoin: {
1954
+ BTC: bigint;
1955
+ };
1956
+ Polkadot: {
1957
+ DOT: bigint;
1958
+ };
1959
+ Ethereum: {
1960
+ FLIP: bigint;
1961
+ ETH: bigint;
1962
+ USDC: bigint;
1963
+ USDT: bigint;
1964
+ };
1965
+ Arbitrum: {
1966
+ ETH: bigint;
1967
+ USDC: bigint;
1968
+ };
1969
+ };
1970
+ channel_opening_fees: {
1971
+ Bitcoin: bigint;
1972
+ Polkadot: bigint;
1973
+ Ethereum: bigint;
1974
+ Arbitrum: bigint;
1975
+ };
1976
+ }, {
1977
+ readonly egress_dust_limits: "minimum_egress_amounts";
1978
+ }>, {
1979
+ minimum_deposit_amounts: {
1980
+ Bitcoin: {
1981
+ BTC: string | number;
1982
+ };
1983
+ Polkadot: {
1984
+ DOT: string | number;
1985
+ };
1986
+ Ethereum: {
1987
+ FLIP: string | number;
1988
+ ETH: string | number;
1989
+ USDC: string | number;
1990
+ USDT: string | number;
1991
+ };
1992
+ Arbitrum: {
1993
+ ETH: string | number;
1994
+ USDC: string | number;
1995
+ };
1996
+ };
1997
+ ingress_fees: {
1998
+ Bitcoin: {
1999
+ BTC: string | number | null;
2000
+ };
2001
+ Polkadot: {
2002
+ DOT: string | number | null;
2003
+ };
2004
+ Ethereum: {
2005
+ FLIP: string | number | null;
2006
+ ETH: string | number | null;
2007
+ USDC: string | number | null;
2008
+ USDT: string | number | null;
2009
+ };
2010
+ Arbitrum: {
2011
+ ETH: string | number | null;
2012
+ USDC: string | number | null;
2013
+ };
2014
+ };
2015
+ egress_fees: {
2016
+ Bitcoin: {
2017
+ BTC: string | number | null;
2018
+ };
2019
+ Polkadot: {
2020
+ DOT: string | number | null;
2021
+ };
2022
+ Ethereum: {
2023
+ FLIP: string | number | null;
2024
+ ETH: string | number | null;
2025
+ USDC: string | number | null;
2026
+ USDT: string | number | null;
2027
+ };
2028
+ Arbitrum: {
2029
+ ETH: string | number | null;
2030
+ USDC: string | number | null;
2031
+ };
2032
+ };
2033
+ witness_safety_margins: {
2034
+ Bitcoin: number | null;
2035
+ Polkadot: number | null;
2036
+ Ethereum: number | null;
2037
+ Arbitrum: number | null;
2038
+ };
2039
+ egress_dust_limits: {
2040
+ Bitcoin: {
2041
+ BTC: string | number;
2042
+ };
2043
+ Polkadot: {
2044
+ DOT: string | number;
2045
+ };
2046
+ Ethereum: {
2047
+ FLIP: string | number;
2048
+ ETH: string | number;
2049
+ USDC: string | number;
2050
+ USDT: string | number;
2051
+ };
2052
+ Arbitrum: {
2053
+ ETH: string | number;
2054
+ USDC: string | number;
2055
+ };
2056
+ };
2057
+ channel_opening_fees: {
2058
+ Bitcoin: string | number;
2059
+ Polkadot: string | number;
2060
+ Ethereum: string | number;
2061
+ Arbitrum: string | number;
2062
+ };
2063
+ }>;
2064
+ swapping: z.ZodObject<{
2065
+ maximum_swap_amounts: z.ZodObject<{
2066
+ Bitcoin: z.ZodObject<{
2067
+ BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
2068
+ }, "strip", z.ZodTypeAny, {
2069
+ BTC: bigint | null;
2070
+ }, {
2071
+ BTC: string | number | null;
2072
+ }>;
2073
+ Ethereum: z.ZodObject<{
2074
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
2075
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
2076
+ FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
2077
+ USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
2078
+ }, "strip", z.ZodTypeAny, {
2079
+ FLIP: bigint | null;
2080
+ ETH: bigint | null;
2081
+ USDC: bigint | null;
2082
+ USDT: bigint | null;
2083
+ }, {
2084
+ FLIP: string | number | null;
2085
+ ETH: string | number | null;
2086
+ USDC: string | number | null;
2087
+ USDT: string | number | null;
2088
+ }>;
2089
+ Polkadot: z.ZodObject<{
2090
+ DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
2091
+ }, "strip", z.ZodTypeAny, {
2092
+ DOT: bigint | null;
2093
+ }, {
2094
+ DOT: string | number | null;
2095
+ }>;
2096
+ Arbitrum: z.ZodObject<{
2097
+ ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
2098
+ USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
2099
+ }, "strip", z.ZodTypeAny, {
2100
+ ETH: bigint | null;
2101
+ USDC: bigint | null;
2102
+ }, {
2103
+ ETH: string | number | null;
2104
+ USDC: string | number | null;
2105
+ }>;
2106
+ }, "strip", z.ZodTypeAny, {
2107
+ Bitcoin: {
2108
+ BTC: bigint | null;
2109
+ };
2110
+ Polkadot: {
2111
+ DOT: bigint | null;
2112
+ };
2113
+ Ethereum: {
2114
+ FLIP: bigint | null;
2115
+ ETH: bigint | null;
2116
+ USDC: bigint | null;
2117
+ USDT: bigint | null;
2118
+ };
2119
+ Arbitrum: {
2120
+ ETH: bigint | null;
2121
+ USDC: bigint | null;
2122
+ };
2123
+ }, {
2124
+ Bitcoin: {
2125
+ BTC: string | number | null;
2126
+ };
2127
+ Polkadot: {
2128
+ DOT: string | number | null;
2129
+ };
2130
+ Ethereum: {
2131
+ FLIP: string | number | null;
2132
+ ETH: string | number | null;
2133
+ USDC: string | number | null;
2134
+ USDT: string | number | null;
2135
+ };
2136
+ Arbitrum: {
2137
+ ETH: string | number | null;
2138
+ USDC: string | number | null;
2139
+ };
2140
+ }>;
2141
+ network_fee_hundredth_pips: z.ZodNumber;
2142
+ }, "strip", z.ZodTypeAny, {
2143
+ maximum_swap_amounts: {
2144
+ Bitcoin: {
2145
+ BTC: bigint | null;
2146
+ };
2147
+ Polkadot: {
2148
+ DOT: bigint | null;
2149
+ };
2150
+ Ethereum: {
2151
+ FLIP: bigint | null;
2152
+ ETH: bigint | null;
2153
+ USDC: bigint | null;
2154
+ USDT: bigint | null;
2155
+ };
2156
+ Arbitrum: {
2157
+ ETH: bigint | null;
2158
+ USDC: bigint | null;
2159
+ };
2160
+ };
2161
+ network_fee_hundredth_pips: number;
2162
+ }, {
2163
+ maximum_swap_amounts: {
2164
+ Bitcoin: {
2165
+ BTC: string | number | null;
2166
+ };
2167
+ Polkadot: {
2168
+ DOT: string | number | null;
2169
+ };
2170
+ Ethereum: {
2171
+ FLIP: string | number | null;
2172
+ ETH: string | number | null;
2173
+ USDC: string | number | null;
2174
+ USDT: string | number | null;
2175
+ };
2176
+ Arbitrum: {
2177
+ ETH: string | number | null;
2178
+ USDC: string | number | null;
2179
+ };
2180
+ };
2181
+ network_fee_hundredth_pips: number;
2182
+ }>;
2183
+ funding: z.ZodObject<{
2184
+ redemption_tax: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2185
+ minimum_funding_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2186
+ }, "strip", z.ZodTypeAny, {
2187
+ redemption_tax: bigint;
2188
+ minimum_funding_amount: bigint;
2189
+ }, {
2190
+ redemption_tax: string | number;
2191
+ minimum_funding_amount: string | number;
2192
+ }>;
2193
+ }, "strip", z.ZodTypeAny, {
2194
+ ingress_egress: Omit<{
2195
+ minimum_deposit_amounts: {
2196
+ Bitcoin: {
2197
+ BTC: bigint;
2198
+ };
2199
+ Polkadot: {
2200
+ DOT: bigint;
2201
+ };
2202
+ Ethereum: {
2203
+ FLIP: bigint;
2204
+ ETH: bigint;
2205
+ USDC: bigint;
2206
+ USDT: bigint;
2207
+ };
2208
+ Arbitrum: {
2209
+ ETH: bigint;
2210
+ USDC: bigint;
2211
+ };
2212
+ };
2213
+ ingress_fees: {
2214
+ Bitcoin: {
2215
+ BTC: bigint | null;
2216
+ };
2217
+ Polkadot: {
2218
+ DOT: bigint | null;
2219
+ };
2220
+ Ethereum: {
2221
+ FLIP: bigint | null;
2222
+ ETH: bigint | null;
2223
+ USDC: bigint | null;
2224
+ USDT: bigint | null;
2225
+ };
2226
+ Arbitrum: {
2227
+ ETH: bigint | null;
2228
+ USDC: bigint | null;
2229
+ };
2230
+ };
2231
+ egress_fees: {
2232
+ Bitcoin: {
2233
+ BTC: bigint | null;
2234
+ };
2235
+ Polkadot: {
2236
+ DOT: bigint | null;
2237
+ };
2238
+ Ethereum: {
2239
+ FLIP: bigint | null;
2240
+ ETH: bigint | null;
2241
+ USDC: bigint | null;
2242
+ USDT: bigint | null;
2243
+ };
2244
+ Arbitrum: {
2245
+ ETH: bigint | null;
2246
+ USDC: bigint | null;
2247
+ };
2248
+ };
2249
+ witness_safety_margins: {
2250
+ Bitcoin: number | null;
2251
+ Polkadot: number | null;
2252
+ Ethereum: number | null;
2253
+ Arbitrum: number | null;
2254
+ };
2255
+ egress_dust_limits: {
2256
+ Bitcoin: {
2257
+ BTC: bigint;
2258
+ };
2259
+ Polkadot: {
2260
+ DOT: bigint;
2261
+ };
2262
+ Ethereum: {
2263
+ FLIP: bigint;
2264
+ ETH: bigint;
2265
+ USDC: bigint;
2266
+ USDT: bigint;
2267
+ };
2268
+ Arbitrum: {
2269
+ ETH: bigint;
2270
+ USDC: bigint;
2271
+ };
2272
+ };
2273
+ channel_opening_fees: {
2274
+ Bitcoin: bigint;
2275
+ Polkadot: bigint;
2276
+ Ethereum: bigint;
2277
+ Arbitrum: bigint;
2278
+ };
2279
+ }, "egress_dust_limits"> & {
2280
+ readonly minimum_egress_amounts: {
2281
+ Bitcoin: {
2282
+ BTC: bigint;
2283
+ };
2284
+ Polkadot: {
2285
+ DOT: bigint;
2286
+ };
2287
+ Ethereum: {
2288
+ FLIP: bigint;
2289
+ ETH: bigint;
2290
+ USDC: bigint;
2291
+ USDT: bigint;
2292
+ };
2293
+ Arbitrum: {
2294
+ ETH: bigint;
2295
+ USDC: bigint;
2296
+ };
2297
+ };
2298
+ };
2299
+ swapping: {
2300
+ maximum_swap_amounts: {
2301
+ Bitcoin: {
2302
+ BTC: bigint | null;
2303
+ };
2304
+ Polkadot: {
2305
+ DOT: bigint | null;
2306
+ };
2307
+ Ethereum: {
2308
+ FLIP: bigint | null;
2309
+ ETH: bigint | null;
2310
+ USDC: bigint | null;
2311
+ USDT: bigint | null;
2312
+ };
2313
+ Arbitrum: {
2314
+ ETH: bigint | null;
2315
+ USDC: bigint | null;
2316
+ };
2317
+ };
2318
+ network_fee_hundredth_pips: number;
2319
+ };
2320
+ funding: {
2321
+ redemption_tax: bigint;
2322
+ minimum_funding_amount: bigint;
2323
+ };
2324
+ }, {
2325
+ ingress_egress: {
2326
+ minimum_deposit_amounts: {
2327
+ Bitcoin: {
2328
+ BTC: string | number;
2329
+ };
2330
+ Polkadot: {
2331
+ DOT: string | number;
2332
+ };
2333
+ Ethereum: {
2334
+ FLIP: string | number;
2335
+ ETH: string | number;
2336
+ USDC: string | number;
2337
+ USDT: string | number;
2338
+ };
2339
+ Arbitrum: {
2340
+ ETH: string | number;
2341
+ USDC: string | number;
2342
+ };
2343
+ };
2344
+ ingress_fees: {
2345
+ Bitcoin: {
2346
+ BTC: string | number | null;
2347
+ };
2348
+ Polkadot: {
2349
+ DOT: string | number | null;
2350
+ };
2351
+ Ethereum: {
2352
+ FLIP: string | number | null;
2353
+ ETH: string | number | null;
2354
+ USDC: string | number | null;
2355
+ USDT: string | number | null;
2356
+ };
2357
+ Arbitrum: {
2358
+ ETH: string | number | null;
2359
+ USDC: string | number | null;
2360
+ };
2361
+ };
2362
+ egress_fees: {
2363
+ Bitcoin: {
2364
+ BTC: string | number | null;
2365
+ };
2366
+ Polkadot: {
2367
+ DOT: string | number | null;
2368
+ };
2369
+ Ethereum: {
2370
+ FLIP: string | number | null;
2371
+ ETH: string | number | null;
2372
+ USDC: string | number | null;
2373
+ USDT: string | number | null;
2374
+ };
2375
+ Arbitrum: {
2376
+ ETH: string | number | null;
2377
+ USDC: string | number | null;
2378
+ };
2379
+ };
2380
+ witness_safety_margins: {
2381
+ Bitcoin: number | null;
2382
+ Polkadot: number | null;
2383
+ Ethereum: number | null;
2384
+ Arbitrum: number | null;
2385
+ };
2386
+ egress_dust_limits: {
2387
+ Bitcoin: {
2388
+ BTC: string | number;
2389
+ };
2390
+ Polkadot: {
2391
+ DOT: string | number;
2392
+ };
2393
+ Ethereum: {
2394
+ FLIP: string | number;
2395
+ ETH: string | number;
2396
+ USDC: string | number;
2397
+ USDT: string | number;
2398
+ };
2399
+ Arbitrum: {
2400
+ ETH: string | number;
2401
+ USDC: string | number;
2402
+ };
2403
+ };
2404
+ channel_opening_fees: {
2405
+ Bitcoin: string | number;
2406
+ Polkadot: string | number;
2407
+ Ethereum: string | number;
2408
+ Arbitrum: string | number;
2409
+ };
2410
+ };
2411
+ swapping: {
2412
+ maximum_swap_amounts: {
2413
+ Bitcoin: {
2414
+ BTC: string | number | null;
2415
+ };
2416
+ Polkadot: {
2417
+ DOT: string | number | null;
2418
+ };
2419
+ Ethereum: {
2420
+ FLIP: string | number | null;
2421
+ ETH: string | number | null;
2422
+ USDC: string | number | null;
2423
+ USDT: string | number | null;
2424
+ };
2425
+ Arbitrum: {
2426
+ ETH: string | number | null;
2427
+ USDC: string | number | null;
2428
+ };
2429
+ };
2430
+ network_fee_hundredth_pips: number;
2431
+ };
2432
+ funding: {
2433
+ redemption_tax: string | number;
2434
+ minimum_funding_amount: string | number;
2435
+ };
2436
+ }>;
2437
+ declare const cfBoostPoolsDepth: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
2438
+ chain: z.ZodLiteral<"Bitcoin">;
2439
+ asset: z.ZodLiteral<"BTC">;
2440
+ }, "strip", z.ZodTypeAny, {
2441
+ chain: "Bitcoin";
2442
+ asset: "BTC";
2443
+ }, {
2444
+ chain: "Bitcoin";
2445
+ asset: "BTC";
2446
+ }>, z.ZodObject<{
2447
+ chain: z.ZodLiteral<"Polkadot">;
2448
+ asset: z.ZodLiteral<"DOT">;
2449
+ }, "strip", z.ZodTypeAny, {
2450
+ chain: "Polkadot";
2451
+ asset: "DOT";
2452
+ }, {
2453
+ chain: "Polkadot";
2454
+ asset: "DOT";
2455
+ }>, z.ZodObject<{
2456
+ chain: z.ZodLiteral<"Ethereum">;
2457
+ asset: z.ZodLiteral<"FLIP">;
2458
+ }, "strip", z.ZodTypeAny, {
2459
+ chain: "Ethereum";
2460
+ asset: "FLIP";
2461
+ }, {
2462
+ chain: "Ethereum";
2463
+ asset: "FLIP";
2464
+ }>, z.ZodObject<{
2465
+ chain: z.ZodLiteral<"Ethereum">;
2466
+ asset: z.ZodLiteral<"ETH">;
2467
+ }, "strip", z.ZodTypeAny, {
2468
+ chain: "Ethereum";
2469
+ asset: "ETH";
2470
+ }, {
2471
+ chain: "Ethereum";
2472
+ asset: "ETH";
2473
+ }>, z.ZodObject<{
2474
+ chain: z.ZodLiteral<"Ethereum">;
2475
+ asset: z.ZodLiteral<"USDC">;
2476
+ }, "strip", z.ZodTypeAny, {
2477
+ chain: "Ethereum";
2478
+ asset: "USDC";
2479
+ }, {
2480
+ chain: "Ethereum";
2481
+ asset: "USDC";
2482
+ }>, z.ZodObject<{
2483
+ chain: z.ZodLiteral<"Ethereum">;
2484
+ asset: z.ZodLiteral<"USDT">;
2485
+ }, "strip", z.ZodTypeAny, {
2486
+ chain: "Ethereum";
2487
+ asset: "USDT";
2488
+ }, {
2489
+ chain: "Ethereum";
2490
+ asset: "USDT";
2491
+ }>, z.ZodObject<{
2492
+ chain: z.ZodLiteral<"Arbitrum">;
2493
+ asset: z.ZodLiteral<"ETH">;
2494
+ }, "strip", z.ZodTypeAny, {
2495
+ chain: "Arbitrum";
2496
+ asset: "ETH";
2497
+ }, {
2498
+ chain: "Arbitrum";
2499
+ asset: "ETH";
2500
+ }>, z.ZodObject<{
2501
+ chain: z.ZodLiteral<"Arbitrum">;
2502
+ asset: z.ZodLiteral<"USDC">;
2503
+ }, "strip", z.ZodTypeAny, {
2504
+ chain: "Arbitrum";
2505
+ asset: "USDC";
2506
+ }, {
2507
+ chain: "Arbitrum";
2508
+ asset: "USDC";
2509
+ }>]>, z.ZodObject<{
2510
+ tier: z.ZodNumber;
2511
+ available_amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
2512
+ }, "strip", z.ZodTypeAny, {
2513
+ tier: number;
2514
+ available_amount: bigint;
2515
+ }, {
2516
+ tier: number;
2517
+ available_amount: string;
2518
+ }>>, "many">;
2519
+ declare const cfSupportedAsssets: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2520
+ chain: z.ZodLiteral<"Bitcoin">;
2521
+ asset: z.ZodLiteral<"BTC">;
2522
+ }, "strip", z.ZodTypeAny, {
2523
+ chain: "Bitcoin";
2524
+ asset: "BTC";
2525
+ }, {
2526
+ chain: "Bitcoin";
2527
+ asset: "BTC";
2528
+ }>, z.ZodObject<{
2529
+ chain: z.ZodLiteral<"Polkadot">;
2530
+ asset: z.ZodLiteral<"DOT">;
2531
+ }, "strip", z.ZodTypeAny, {
2532
+ chain: "Polkadot";
2533
+ asset: "DOT";
2534
+ }, {
2535
+ chain: "Polkadot";
2536
+ asset: "DOT";
2537
+ }>, z.ZodObject<{
2538
+ chain: z.ZodLiteral<"Ethereum">;
2539
+ asset: z.ZodLiteral<"FLIP">;
2540
+ }, "strip", z.ZodTypeAny, {
2541
+ chain: "Ethereum";
2542
+ asset: "FLIP";
2543
+ }, {
2544
+ chain: "Ethereum";
2545
+ asset: "FLIP";
2546
+ }>, z.ZodObject<{
2547
+ chain: z.ZodLiteral<"Ethereum">;
2548
+ asset: z.ZodLiteral<"ETH">;
2549
+ }, "strip", z.ZodTypeAny, {
2550
+ chain: "Ethereum";
2551
+ asset: "ETH";
2552
+ }, {
2553
+ chain: "Ethereum";
2554
+ asset: "ETH";
2555
+ }>, z.ZodObject<{
2556
+ chain: z.ZodLiteral<"Ethereum">;
2557
+ asset: z.ZodLiteral<"USDC">;
2558
+ }, "strip", z.ZodTypeAny, {
2559
+ chain: "Ethereum";
2560
+ asset: "USDC";
2561
+ }, {
2562
+ chain: "Ethereum";
2563
+ asset: "USDC";
2564
+ }>, z.ZodObject<{
2565
+ chain: z.ZodLiteral<"Ethereum">;
2566
+ asset: z.ZodLiteral<"USDT">;
2567
+ }, "strip", z.ZodTypeAny, {
2568
+ chain: "Ethereum";
2569
+ asset: "USDT";
2570
+ }, {
2571
+ chain: "Ethereum";
2572
+ asset: "USDT";
2573
+ }>, z.ZodObject<{
2574
+ chain: z.ZodLiteral<"Arbitrum">;
2575
+ asset: z.ZodLiteral<"ETH">;
2576
+ }, "strip", z.ZodTypeAny, {
2577
+ chain: "Arbitrum";
2578
+ asset: "ETH";
2579
+ }, {
2580
+ chain: "Arbitrum";
2581
+ asset: "ETH";
2582
+ }>, z.ZodObject<{
2583
+ chain: z.ZodLiteral<"Arbitrum">;
2584
+ asset: z.ZodLiteral<"USDC">;
2585
+ }, "strip", z.ZodTypeAny, {
2586
+ chain: "Arbitrum";
2587
+ asset: "USDC";
2588
+ }, {
2589
+ chain: "Arbitrum";
2590
+ asset: "USDC";
2591
+ }>]>, "many">;
2592
+ declare const brokerRequestSwapDepositAddress: z.ZodObject<{
2593
+ address: z.ZodString;
2594
+ issued_block: z.ZodNumber;
2595
+ channel_id: z.ZodNumber;
2596
+ source_chain_expiry_block: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2597
+ channel_opening_fee: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
2598
+ }, "strip", z.ZodTypeAny, {
2599
+ address: string;
2600
+ issued_block: number;
2601
+ channel_id: number;
2602
+ source_chain_expiry_block: bigint;
2603
+ channel_opening_fee: bigint;
2604
+ }, {
2605
+ address: string;
2606
+ issued_block: number;
2607
+ channel_id: number;
2608
+ source_chain_expiry_block: string | number;
2609
+ channel_opening_fee: string;
2610
+ }>;
2611
+
2612
+ export { type AssetAndChain, brokerRequestSwapDepositAddress, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfSupportedAsssets, cfSwapRate, cfSwapRateV2, cfSwappingEnvironment, chainGetBlockHash, hexString, numberOrHex, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256 };