@chainflip/rpc 1.9.2 → 1.9.3
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 +420 -124
- package/dist/common.d.ts +420 -124
- package/dist/parsers.cjs +6 -3
- package/dist/parsers.d.cts +420 -124
- package/dist/parsers.d.ts +420 -124
- package/dist/parsers.mjs +6 -3
- package/package.json +2 -2
package/dist/common.d.ts
CHANGED
|
@@ -2812,28 +2812,6 @@ declare const rpcResult: {
|
|
|
2812
2812
|
Polkadot: string | number;
|
|
2813
2813
|
Assethub?: string | number | undefined;
|
|
2814
2814
|
}>;
|
|
2815
|
-
max_swap_retry_duration_blocks: z.ZodObject<{
|
|
2816
|
-
Bitcoin: z.ZodNumber;
|
|
2817
|
-
Ethereum: z.ZodNumber;
|
|
2818
|
-
Polkadot: z.ZodNumber;
|
|
2819
|
-
Arbitrum: z.ZodNumber;
|
|
2820
|
-
Solana: z.ZodNumber;
|
|
2821
|
-
Assethub: z.ZodDefault<z.ZodNumber>;
|
|
2822
|
-
}, "strip", z.ZodTypeAny, {
|
|
2823
|
-
Bitcoin: number;
|
|
2824
|
-
Ethereum: number;
|
|
2825
|
-
Arbitrum: number;
|
|
2826
|
-
Solana: number;
|
|
2827
|
-
Polkadot: number;
|
|
2828
|
-
Assethub: number;
|
|
2829
|
-
}, {
|
|
2830
|
-
Bitcoin: number;
|
|
2831
|
-
Ethereum: number;
|
|
2832
|
-
Arbitrum: number;
|
|
2833
|
-
Solana: number;
|
|
2834
|
-
Polkadot: number;
|
|
2835
|
-
Assethub?: number | undefined;
|
|
2836
|
-
}>;
|
|
2837
2815
|
}, "strip", z.ZodTypeAny, {
|
|
2838
2816
|
minimum_deposit_amounts: {
|
|
2839
2817
|
Bitcoin: {
|
|
@@ -2959,14 +2937,6 @@ declare const rpcResult: {
|
|
|
2959
2937
|
Polkadot: bigint;
|
|
2960
2938
|
Assethub: bigint;
|
|
2961
2939
|
};
|
|
2962
|
-
max_swap_retry_duration_blocks: {
|
|
2963
|
-
Bitcoin: number;
|
|
2964
|
-
Ethereum: number;
|
|
2965
|
-
Arbitrum: number;
|
|
2966
|
-
Solana: number;
|
|
2967
|
-
Polkadot: number;
|
|
2968
|
-
Assethub: number;
|
|
2969
|
-
};
|
|
2970
2940
|
}, {
|
|
2971
2941
|
minimum_deposit_amounts: {
|
|
2972
2942
|
Bitcoin: {
|
|
@@ -3092,14 +3062,6 @@ declare const rpcResult: {
|
|
|
3092
3062
|
Polkadot: string | number;
|
|
3093
3063
|
Assethub?: string | number | undefined;
|
|
3094
3064
|
};
|
|
3095
|
-
max_swap_retry_duration_blocks: {
|
|
3096
|
-
Bitcoin: number;
|
|
3097
|
-
Ethereum: number;
|
|
3098
|
-
Arbitrum: number;
|
|
3099
|
-
Solana: number;
|
|
3100
|
-
Polkadot: number;
|
|
3101
|
-
Assethub?: number | undefined;
|
|
3102
|
-
};
|
|
3103
3065
|
}>, Omit<{
|
|
3104
3066
|
minimum_deposit_amounts: {
|
|
3105
3067
|
Bitcoin: {
|
|
@@ -3225,14 +3187,6 @@ declare const rpcResult: {
|
|
|
3225
3187
|
Polkadot: bigint;
|
|
3226
3188
|
Assethub: bigint;
|
|
3227
3189
|
};
|
|
3228
|
-
max_swap_retry_duration_blocks: {
|
|
3229
|
-
Bitcoin: number;
|
|
3230
|
-
Ethereum: number;
|
|
3231
|
-
Arbitrum: number;
|
|
3232
|
-
Solana: number;
|
|
3233
|
-
Polkadot: number;
|
|
3234
|
-
Assethub: number;
|
|
3235
|
-
};
|
|
3236
3190
|
}, "egress_dust_limits"> & {
|
|
3237
3191
|
readonly minimum_egress_amounts: {
|
|
3238
3192
|
Bitcoin: {
|
|
@@ -3386,14 +3340,6 @@ declare const rpcResult: {
|
|
|
3386
3340
|
Polkadot: string | number;
|
|
3387
3341
|
Assethub?: string | number | undefined;
|
|
3388
3342
|
};
|
|
3389
|
-
max_swap_retry_duration_blocks: {
|
|
3390
|
-
Bitcoin: number;
|
|
3391
|
-
Ethereum: number;
|
|
3392
|
-
Arbitrum: number;
|
|
3393
|
-
Solana: number;
|
|
3394
|
-
Polkadot: number;
|
|
3395
|
-
Assethub?: number | undefined;
|
|
3396
|
-
};
|
|
3397
3343
|
}>;
|
|
3398
3344
|
swapping: z.ZodObject<{
|
|
3399
3345
|
maximum_swap_amounts: z.ZodObject<{
|
|
@@ -3514,6 +3460,126 @@ declare const rpcResult: {
|
|
|
3514
3460
|
} | undefined;
|
|
3515
3461
|
}>;
|
|
3516
3462
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
3463
|
+
swap_retry_delay_blocks: z.ZodOptional<z.ZodNumber>;
|
|
3464
|
+
max_swap_retry_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
3465
|
+
max_swap_request_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
3466
|
+
minimum_chunk_size: z.ZodOptional<z.ZodObject<{
|
|
3467
|
+
Bitcoin: z.ZodObject<{
|
|
3468
|
+
BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3469
|
+
}, "strip", z.ZodTypeAny, {
|
|
3470
|
+
BTC: bigint | null;
|
|
3471
|
+
}, {
|
|
3472
|
+
BTC: string | number | null;
|
|
3473
|
+
}>;
|
|
3474
|
+
Ethereum: z.ZodObject<{
|
|
3475
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3476
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3477
|
+
FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3478
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3479
|
+
}, "strip", z.ZodTypeAny, {
|
|
3480
|
+
ETH: bigint | null;
|
|
3481
|
+
USDC: bigint | null;
|
|
3482
|
+
FLIP: bigint | null;
|
|
3483
|
+
USDT: bigint | null;
|
|
3484
|
+
}, {
|
|
3485
|
+
ETH: string | number | null;
|
|
3486
|
+
USDC: string | number | null;
|
|
3487
|
+
FLIP: string | number | null;
|
|
3488
|
+
USDT: string | number | null;
|
|
3489
|
+
}>;
|
|
3490
|
+
Polkadot: z.ZodObject<{
|
|
3491
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3492
|
+
}, "strip", z.ZodTypeAny, {
|
|
3493
|
+
DOT: bigint | null;
|
|
3494
|
+
}, {
|
|
3495
|
+
DOT: string | number | null;
|
|
3496
|
+
}>;
|
|
3497
|
+
Arbitrum: z.ZodObject<{
|
|
3498
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3499
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3500
|
+
}, "strip", z.ZodTypeAny, {
|
|
3501
|
+
ETH: bigint | null;
|
|
3502
|
+
USDC: bigint | null;
|
|
3503
|
+
}, {
|
|
3504
|
+
ETH: string | number | null;
|
|
3505
|
+
USDC: string | number | null;
|
|
3506
|
+
}>;
|
|
3507
|
+
Solana: z.ZodObject<{
|
|
3508
|
+
SOL: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3509
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3510
|
+
}, "strip", z.ZodTypeAny, {
|
|
3511
|
+
USDC: bigint | null;
|
|
3512
|
+
SOL: bigint | null;
|
|
3513
|
+
}, {
|
|
3514
|
+
USDC: string | number | null;
|
|
3515
|
+
SOL: string | number | null;
|
|
3516
|
+
}>;
|
|
3517
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
3518
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3519
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3520
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
3521
|
+
}, "strip", z.ZodTypeAny, {
|
|
3522
|
+
USDC: bigint | null;
|
|
3523
|
+
USDT: bigint | null;
|
|
3524
|
+
DOT: bigint | null;
|
|
3525
|
+
}, {
|
|
3526
|
+
USDC: string | number | null;
|
|
3527
|
+
USDT: string | number | null;
|
|
3528
|
+
DOT: string | number | null;
|
|
3529
|
+
}>>;
|
|
3530
|
+
}, "strip", z.ZodTypeAny, {
|
|
3531
|
+
Bitcoin: {
|
|
3532
|
+
BTC: bigint | null;
|
|
3533
|
+
};
|
|
3534
|
+
Ethereum: {
|
|
3535
|
+
ETH: bigint | null;
|
|
3536
|
+
USDC: bigint | null;
|
|
3537
|
+
FLIP: bigint | null;
|
|
3538
|
+
USDT: bigint | null;
|
|
3539
|
+
};
|
|
3540
|
+
Arbitrum: {
|
|
3541
|
+
ETH: bigint | null;
|
|
3542
|
+
USDC: bigint | null;
|
|
3543
|
+
};
|
|
3544
|
+
Solana: {
|
|
3545
|
+
USDC: bigint | null;
|
|
3546
|
+
SOL: bigint | null;
|
|
3547
|
+
};
|
|
3548
|
+
Polkadot: {
|
|
3549
|
+
DOT: bigint | null;
|
|
3550
|
+
};
|
|
3551
|
+
Assethub: {
|
|
3552
|
+
USDC: bigint | null;
|
|
3553
|
+
USDT: bigint | null;
|
|
3554
|
+
DOT: bigint | null;
|
|
3555
|
+
};
|
|
3556
|
+
}, {
|
|
3557
|
+
Bitcoin: {
|
|
3558
|
+
BTC: string | number | null;
|
|
3559
|
+
};
|
|
3560
|
+
Ethereum: {
|
|
3561
|
+
ETH: string | number | null;
|
|
3562
|
+
USDC: string | number | null;
|
|
3563
|
+
FLIP: string | number | null;
|
|
3564
|
+
USDT: string | number | null;
|
|
3565
|
+
};
|
|
3566
|
+
Arbitrum: {
|
|
3567
|
+
ETH: string | number | null;
|
|
3568
|
+
USDC: string | number | null;
|
|
3569
|
+
};
|
|
3570
|
+
Solana: {
|
|
3571
|
+
USDC: string | number | null;
|
|
3572
|
+
SOL: string | number | null;
|
|
3573
|
+
};
|
|
3574
|
+
Polkadot: {
|
|
3575
|
+
DOT: string | number | null;
|
|
3576
|
+
};
|
|
3577
|
+
Assethub?: {
|
|
3578
|
+
USDC: string | number | null;
|
|
3579
|
+
USDT: string | number | null;
|
|
3580
|
+
DOT: string | number | null;
|
|
3581
|
+
} | undefined;
|
|
3582
|
+
}>>;
|
|
3517
3583
|
}, "strip", z.ZodTypeAny, {
|
|
3518
3584
|
maximum_swap_amounts: {
|
|
3519
3585
|
Bitcoin: {
|
|
@@ -3543,6 +3609,36 @@ declare const rpcResult: {
|
|
|
3543
3609
|
};
|
|
3544
3610
|
};
|
|
3545
3611
|
network_fee_hundredth_pips: number;
|
|
3612
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
3613
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
3614
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
3615
|
+
minimum_chunk_size?: {
|
|
3616
|
+
Bitcoin: {
|
|
3617
|
+
BTC: bigint | null;
|
|
3618
|
+
};
|
|
3619
|
+
Ethereum: {
|
|
3620
|
+
ETH: bigint | null;
|
|
3621
|
+
USDC: bigint | null;
|
|
3622
|
+
FLIP: bigint | null;
|
|
3623
|
+
USDT: bigint | null;
|
|
3624
|
+
};
|
|
3625
|
+
Arbitrum: {
|
|
3626
|
+
ETH: bigint | null;
|
|
3627
|
+
USDC: bigint | null;
|
|
3628
|
+
};
|
|
3629
|
+
Solana: {
|
|
3630
|
+
USDC: bigint | null;
|
|
3631
|
+
SOL: bigint | null;
|
|
3632
|
+
};
|
|
3633
|
+
Polkadot: {
|
|
3634
|
+
DOT: bigint | null;
|
|
3635
|
+
};
|
|
3636
|
+
Assethub: {
|
|
3637
|
+
USDC: bigint | null;
|
|
3638
|
+
USDT: bigint | null;
|
|
3639
|
+
DOT: bigint | null;
|
|
3640
|
+
};
|
|
3641
|
+
} | undefined;
|
|
3546
3642
|
}, {
|
|
3547
3643
|
maximum_swap_amounts: {
|
|
3548
3644
|
Bitcoin: {
|
|
@@ -3572,6 +3668,36 @@ declare const rpcResult: {
|
|
|
3572
3668
|
} | undefined;
|
|
3573
3669
|
};
|
|
3574
3670
|
network_fee_hundredth_pips: number;
|
|
3671
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
3672
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
3673
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
3674
|
+
minimum_chunk_size?: {
|
|
3675
|
+
Bitcoin: {
|
|
3676
|
+
BTC: string | number | null;
|
|
3677
|
+
};
|
|
3678
|
+
Ethereum: {
|
|
3679
|
+
ETH: string | number | null;
|
|
3680
|
+
USDC: string | number | null;
|
|
3681
|
+
FLIP: string | number | null;
|
|
3682
|
+
USDT: string | number | null;
|
|
3683
|
+
};
|
|
3684
|
+
Arbitrum: {
|
|
3685
|
+
ETH: string | number | null;
|
|
3686
|
+
USDC: string | number | null;
|
|
3687
|
+
};
|
|
3688
|
+
Solana: {
|
|
3689
|
+
USDC: string | number | null;
|
|
3690
|
+
SOL: string | number | null;
|
|
3691
|
+
};
|
|
3692
|
+
Polkadot: {
|
|
3693
|
+
DOT: string | number | null;
|
|
3694
|
+
};
|
|
3695
|
+
Assethub?: {
|
|
3696
|
+
USDC: string | number | null;
|
|
3697
|
+
USDT: string | number | null;
|
|
3698
|
+
DOT: string | number | null;
|
|
3699
|
+
} | undefined;
|
|
3700
|
+
} | undefined;
|
|
3575
3701
|
}>;
|
|
3576
3702
|
funding: z.ZodObject<{
|
|
3577
3703
|
redemption_tax: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
@@ -8377,14 +8503,6 @@ declare const rpcResult: {
|
|
|
8377
8503
|
Polkadot: bigint;
|
|
8378
8504
|
Assethub: bigint;
|
|
8379
8505
|
};
|
|
8380
|
-
max_swap_retry_duration_blocks: {
|
|
8381
|
-
Bitcoin: number;
|
|
8382
|
-
Ethereum: number;
|
|
8383
|
-
Arbitrum: number;
|
|
8384
|
-
Solana: number;
|
|
8385
|
-
Polkadot: number;
|
|
8386
|
-
Assethub: number;
|
|
8387
|
-
};
|
|
8388
8506
|
}, "egress_dust_limits"> & {
|
|
8389
8507
|
readonly minimum_egress_amounts: {
|
|
8390
8508
|
Bitcoin: {
|
|
@@ -8443,6 +8561,36 @@ declare const rpcResult: {
|
|
|
8443
8561
|
};
|
|
8444
8562
|
};
|
|
8445
8563
|
network_fee_hundredth_pips: number;
|
|
8564
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
8565
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
8566
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
8567
|
+
minimum_chunk_size?: {
|
|
8568
|
+
Bitcoin: {
|
|
8569
|
+
BTC: bigint | null;
|
|
8570
|
+
};
|
|
8571
|
+
Ethereum: {
|
|
8572
|
+
ETH: bigint | null;
|
|
8573
|
+
USDC: bigint | null;
|
|
8574
|
+
FLIP: bigint | null;
|
|
8575
|
+
USDT: bigint | null;
|
|
8576
|
+
};
|
|
8577
|
+
Arbitrum: {
|
|
8578
|
+
ETH: bigint | null;
|
|
8579
|
+
USDC: bigint | null;
|
|
8580
|
+
};
|
|
8581
|
+
Solana: {
|
|
8582
|
+
USDC: bigint | null;
|
|
8583
|
+
SOL: bigint | null;
|
|
8584
|
+
};
|
|
8585
|
+
Polkadot: {
|
|
8586
|
+
DOT: bigint | null;
|
|
8587
|
+
};
|
|
8588
|
+
Assethub: {
|
|
8589
|
+
USDC: bigint | null;
|
|
8590
|
+
USDT: bigint | null;
|
|
8591
|
+
DOT: bigint | null;
|
|
8592
|
+
};
|
|
8593
|
+
} | undefined;
|
|
8446
8594
|
};
|
|
8447
8595
|
funding: {
|
|
8448
8596
|
redemption_tax: bigint;
|
|
@@ -9154,14 +9302,6 @@ declare const rpcResult: {
|
|
|
9154
9302
|
Polkadot: string | number;
|
|
9155
9303
|
Assethub?: string | number | undefined;
|
|
9156
9304
|
};
|
|
9157
|
-
max_swap_retry_duration_blocks: {
|
|
9158
|
-
Bitcoin: number;
|
|
9159
|
-
Ethereum: number;
|
|
9160
|
-
Arbitrum: number;
|
|
9161
|
-
Solana: number;
|
|
9162
|
-
Polkadot: number;
|
|
9163
|
-
Assethub?: number | undefined;
|
|
9164
|
-
};
|
|
9165
9305
|
};
|
|
9166
9306
|
swapping: {
|
|
9167
9307
|
maximum_swap_amounts: {
|
|
@@ -9192,6 +9332,36 @@ declare const rpcResult: {
|
|
|
9192
9332
|
} | undefined;
|
|
9193
9333
|
};
|
|
9194
9334
|
network_fee_hundredth_pips: number;
|
|
9335
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
9336
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
9337
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
9338
|
+
minimum_chunk_size?: {
|
|
9339
|
+
Bitcoin: {
|
|
9340
|
+
BTC: string | number | null;
|
|
9341
|
+
};
|
|
9342
|
+
Ethereum: {
|
|
9343
|
+
ETH: string | number | null;
|
|
9344
|
+
USDC: string | number | null;
|
|
9345
|
+
FLIP: string | number | null;
|
|
9346
|
+
USDT: string | number | null;
|
|
9347
|
+
};
|
|
9348
|
+
Arbitrum: {
|
|
9349
|
+
ETH: string | number | null;
|
|
9350
|
+
USDC: string | number | null;
|
|
9351
|
+
};
|
|
9352
|
+
Solana: {
|
|
9353
|
+
USDC: string | number | null;
|
|
9354
|
+
SOL: string | number | null;
|
|
9355
|
+
};
|
|
9356
|
+
Polkadot: {
|
|
9357
|
+
DOT: string | number | null;
|
|
9358
|
+
};
|
|
9359
|
+
Assethub?: {
|
|
9360
|
+
USDC: string | number | null;
|
|
9361
|
+
USDT: string | number | null;
|
|
9362
|
+
DOT: string | number | null;
|
|
9363
|
+
} | undefined;
|
|
9364
|
+
} | undefined;
|
|
9195
9365
|
};
|
|
9196
9366
|
funding: {
|
|
9197
9367
|
redemption_tax: string | number;
|
|
@@ -10025,28 +10195,6 @@ declare const rpcResult: {
|
|
|
10025
10195
|
Polkadot: string | number;
|
|
10026
10196
|
Assethub?: string | number | undefined;
|
|
10027
10197
|
}>;
|
|
10028
|
-
max_swap_retry_duration_blocks: z.ZodObject<{
|
|
10029
|
-
Bitcoin: z.ZodNumber;
|
|
10030
|
-
Ethereum: z.ZodNumber;
|
|
10031
|
-
Polkadot: z.ZodNumber;
|
|
10032
|
-
Arbitrum: z.ZodNumber;
|
|
10033
|
-
Solana: z.ZodNumber;
|
|
10034
|
-
Assethub: z.ZodDefault<z.ZodNumber>;
|
|
10035
|
-
}, "strip", z.ZodTypeAny, {
|
|
10036
|
-
Bitcoin: number;
|
|
10037
|
-
Ethereum: number;
|
|
10038
|
-
Arbitrum: number;
|
|
10039
|
-
Solana: number;
|
|
10040
|
-
Polkadot: number;
|
|
10041
|
-
Assethub: number;
|
|
10042
|
-
}, {
|
|
10043
|
-
Bitcoin: number;
|
|
10044
|
-
Ethereum: number;
|
|
10045
|
-
Arbitrum: number;
|
|
10046
|
-
Solana: number;
|
|
10047
|
-
Polkadot: number;
|
|
10048
|
-
Assethub?: number | undefined;
|
|
10049
|
-
}>;
|
|
10050
10198
|
}, "strip", z.ZodTypeAny, {
|
|
10051
10199
|
minimum_deposit_amounts: {
|
|
10052
10200
|
Bitcoin: {
|
|
@@ -10172,14 +10320,6 @@ declare const rpcResult: {
|
|
|
10172
10320
|
Polkadot: bigint;
|
|
10173
10321
|
Assethub: bigint;
|
|
10174
10322
|
};
|
|
10175
|
-
max_swap_retry_duration_blocks: {
|
|
10176
|
-
Bitcoin: number;
|
|
10177
|
-
Ethereum: number;
|
|
10178
|
-
Arbitrum: number;
|
|
10179
|
-
Solana: number;
|
|
10180
|
-
Polkadot: number;
|
|
10181
|
-
Assethub: number;
|
|
10182
|
-
};
|
|
10183
10323
|
}, {
|
|
10184
10324
|
minimum_deposit_amounts: {
|
|
10185
10325
|
Bitcoin: {
|
|
@@ -10305,14 +10445,6 @@ declare const rpcResult: {
|
|
|
10305
10445
|
Polkadot: string | number;
|
|
10306
10446
|
Assethub?: string | number | undefined;
|
|
10307
10447
|
};
|
|
10308
|
-
max_swap_retry_duration_blocks: {
|
|
10309
|
-
Bitcoin: number;
|
|
10310
|
-
Ethereum: number;
|
|
10311
|
-
Arbitrum: number;
|
|
10312
|
-
Solana: number;
|
|
10313
|
-
Polkadot: number;
|
|
10314
|
-
Assethub?: number | undefined;
|
|
10315
|
-
};
|
|
10316
10448
|
}>, Omit<{
|
|
10317
10449
|
minimum_deposit_amounts: {
|
|
10318
10450
|
Bitcoin: {
|
|
@@ -10438,14 +10570,6 @@ declare const rpcResult: {
|
|
|
10438
10570
|
Polkadot: bigint;
|
|
10439
10571
|
Assethub: bigint;
|
|
10440
10572
|
};
|
|
10441
|
-
max_swap_retry_duration_blocks: {
|
|
10442
|
-
Bitcoin: number;
|
|
10443
|
-
Ethereum: number;
|
|
10444
|
-
Arbitrum: number;
|
|
10445
|
-
Solana: number;
|
|
10446
|
-
Polkadot: number;
|
|
10447
|
-
Assethub: number;
|
|
10448
|
-
};
|
|
10449
10573
|
}, "egress_dust_limits"> & {
|
|
10450
10574
|
readonly minimum_egress_amounts: {
|
|
10451
10575
|
Bitcoin: {
|
|
@@ -10599,14 +10723,6 @@ declare const rpcResult: {
|
|
|
10599
10723
|
Polkadot: string | number;
|
|
10600
10724
|
Assethub?: string | number | undefined;
|
|
10601
10725
|
};
|
|
10602
|
-
max_swap_retry_duration_blocks: {
|
|
10603
|
-
Bitcoin: number;
|
|
10604
|
-
Ethereum: number;
|
|
10605
|
-
Arbitrum: number;
|
|
10606
|
-
Solana: number;
|
|
10607
|
-
Polkadot: number;
|
|
10608
|
-
Assethub?: number | undefined;
|
|
10609
|
-
};
|
|
10610
10726
|
}>;
|
|
10611
10727
|
readonly cf_pool_orders: z.ZodObject<{
|
|
10612
10728
|
limit_orders: z.ZodObject<{
|
|
@@ -17598,6 +17714,126 @@ declare const rpcResult: {
|
|
|
17598
17714
|
} | undefined;
|
|
17599
17715
|
}>;
|
|
17600
17716
|
network_fee_hundredth_pips: z.ZodNumber;
|
|
17717
|
+
swap_retry_delay_blocks: z.ZodOptional<z.ZodNumber>;
|
|
17718
|
+
max_swap_retry_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
17719
|
+
max_swap_request_duration_blocks: z.ZodOptional<z.ZodNumber>;
|
|
17720
|
+
minimum_chunk_size: z.ZodOptional<z.ZodObject<{
|
|
17721
|
+
Bitcoin: z.ZodObject<{
|
|
17722
|
+
BTC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17723
|
+
}, "strip", z.ZodTypeAny, {
|
|
17724
|
+
BTC: bigint | null;
|
|
17725
|
+
}, {
|
|
17726
|
+
BTC: string | number | null;
|
|
17727
|
+
}>;
|
|
17728
|
+
Ethereum: z.ZodObject<{
|
|
17729
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17730
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17731
|
+
FLIP: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17732
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17733
|
+
}, "strip", z.ZodTypeAny, {
|
|
17734
|
+
ETH: bigint | null;
|
|
17735
|
+
USDC: bigint | null;
|
|
17736
|
+
FLIP: bigint | null;
|
|
17737
|
+
USDT: bigint | null;
|
|
17738
|
+
}, {
|
|
17739
|
+
ETH: string | number | null;
|
|
17740
|
+
USDC: string | number | null;
|
|
17741
|
+
FLIP: string | number | null;
|
|
17742
|
+
USDT: string | number | null;
|
|
17743
|
+
}>;
|
|
17744
|
+
Polkadot: z.ZodObject<{
|
|
17745
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17746
|
+
}, "strip", z.ZodTypeAny, {
|
|
17747
|
+
DOT: bigint | null;
|
|
17748
|
+
}, {
|
|
17749
|
+
DOT: string | number | null;
|
|
17750
|
+
}>;
|
|
17751
|
+
Arbitrum: z.ZodObject<{
|
|
17752
|
+
ETH: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17753
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17754
|
+
}, "strip", z.ZodTypeAny, {
|
|
17755
|
+
ETH: bigint | null;
|
|
17756
|
+
USDC: bigint | null;
|
|
17757
|
+
}, {
|
|
17758
|
+
ETH: string | number | null;
|
|
17759
|
+
USDC: string | number | null;
|
|
17760
|
+
}>;
|
|
17761
|
+
Solana: z.ZodObject<{
|
|
17762
|
+
SOL: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17763
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17764
|
+
}, "strip", z.ZodTypeAny, {
|
|
17765
|
+
USDC: bigint | null;
|
|
17766
|
+
SOL: bigint | null;
|
|
17767
|
+
}, {
|
|
17768
|
+
USDC: string | number | null;
|
|
17769
|
+
SOL: string | number | null;
|
|
17770
|
+
}>;
|
|
17771
|
+
Assethub: z.ZodDefault<z.ZodObject<{
|
|
17772
|
+
DOT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17773
|
+
USDC: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17774
|
+
USDT: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
|
|
17775
|
+
}, "strip", z.ZodTypeAny, {
|
|
17776
|
+
USDC: bigint | null;
|
|
17777
|
+
USDT: bigint | null;
|
|
17778
|
+
DOT: bigint | null;
|
|
17779
|
+
}, {
|
|
17780
|
+
USDC: string | number | null;
|
|
17781
|
+
USDT: string | number | null;
|
|
17782
|
+
DOT: string | number | null;
|
|
17783
|
+
}>>;
|
|
17784
|
+
}, "strip", z.ZodTypeAny, {
|
|
17785
|
+
Bitcoin: {
|
|
17786
|
+
BTC: bigint | null;
|
|
17787
|
+
};
|
|
17788
|
+
Ethereum: {
|
|
17789
|
+
ETH: bigint | null;
|
|
17790
|
+
USDC: bigint | null;
|
|
17791
|
+
FLIP: bigint | null;
|
|
17792
|
+
USDT: bigint | null;
|
|
17793
|
+
};
|
|
17794
|
+
Arbitrum: {
|
|
17795
|
+
ETH: bigint | null;
|
|
17796
|
+
USDC: bigint | null;
|
|
17797
|
+
};
|
|
17798
|
+
Solana: {
|
|
17799
|
+
USDC: bigint | null;
|
|
17800
|
+
SOL: bigint | null;
|
|
17801
|
+
};
|
|
17802
|
+
Polkadot: {
|
|
17803
|
+
DOT: bigint | null;
|
|
17804
|
+
};
|
|
17805
|
+
Assethub: {
|
|
17806
|
+
USDC: bigint | null;
|
|
17807
|
+
USDT: bigint | null;
|
|
17808
|
+
DOT: bigint | null;
|
|
17809
|
+
};
|
|
17810
|
+
}, {
|
|
17811
|
+
Bitcoin: {
|
|
17812
|
+
BTC: string | number | null;
|
|
17813
|
+
};
|
|
17814
|
+
Ethereum: {
|
|
17815
|
+
ETH: string | number | null;
|
|
17816
|
+
USDC: string | number | null;
|
|
17817
|
+
FLIP: string | number | null;
|
|
17818
|
+
USDT: string | number | null;
|
|
17819
|
+
};
|
|
17820
|
+
Arbitrum: {
|
|
17821
|
+
ETH: string | number | null;
|
|
17822
|
+
USDC: string | number | null;
|
|
17823
|
+
};
|
|
17824
|
+
Solana: {
|
|
17825
|
+
USDC: string | number | null;
|
|
17826
|
+
SOL: string | number | null;
|
|
17827
|
+
};
|
|
17828
|
+
Polkadot: {
|
|
17829
|
+
DOT: string | number | null;
|
|
17830
|
+
};
|
|
17831
|
+
Assethub?: {
|
|
17832
|
+
USDC: string | number | null;
|
|
17833
|
+
USDT: string | number | null;
|
|
17834
|
+
DOT: string | number | null;
|
|
17835
|
+
} | undefined;
|
|
17836
|
+
}>>;
|
|
17601
17837
|
}, "strip", z.ZodTypeAny, {
|
|
17602
17838
|
maximum_swap_amounts: {
|
|
17603
17839
|
Bitcoin: {
|
|
@@ -17627,6 +17863,36 @@ declare const rpcResult: {
|
|
|
17627
17863
|
};
|
|
17628
17864
|
};
|
|
17629
17865
|
network_fee_hundredth_pips: number;
|
|
17866
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
17867
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
17868
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
17869
|
+
minimum_chunk_size?: {
|
|
17870
|
+
Bitcoin: {
|
|
17871
|
+
BTC: bigint | null;
|
|
17872
|
+
};
|
|
17873
|
+
Ethereum: {
|
|
17874
|
+
ETH: bigint | null;
|
|
17875
|
+
USDC: bigint | null;
|
|
17876
|
+
FLIP: bigint | null;
|
|
17877
|
+
USDT: bigint | null;
|
|
17878
|
+
};
|
|
17879
|
+
Arbitrum: {
|
|
17880
|
+
ETH: bigint | null;
|
|
17881
|
+
USDC: bigint | null;
|
|
17882
|
+
};
|
|
17883
|
+
Solana: {
|
|
17884
|
+
USDC: bigint | null;
|
|
17885
|
+
SOL: bigint | null;
|
|
17886
|
+
};
|
|
17887
|
+
Polkadot: {
|
|
17888
|
+
DOT: bigint | null;
|
|
17889
|
+
};
|
|
17890
|
+
Assethub: {
|
|
17891
|
+
USDC: bigint | null;
|
|
17892
|
+
USDT: bigint | null;
|
|
17893
|
+
DOT: bigint | null;
|
|
17894
|
+
};
|
|
17895
|
+
} | undefined;
|
|
17630
17896
|
}, {
|
|
17631
17897
|
maximum_swap_amounts: {
|
|
17632
17898
|
Bitcoin: {
|
|
@@ -17656,6 +17922,36 @@ declare const rpcResult: {
|
|
|
17656
17922
|
} | undefined;
|
|
17657
17923
|
};
|
|
17658
17924
|
network_fee_hundredth_pips: number;
|
|
17925
|
+
swap_retry_delay_blocks?: number | undefined;
|
|
17926
|
+
max_swap_retry_duration_blocks?: number | undefined;
|
|
17927
|
+
max_swap_request_duration_blocks?: number | undefined;
|
|
17928
|
+
minimum_chunk_size?: {
|
|
17929
|
+
Bitcoin: {
|
|
17930
|
+
BTC: string | number | null;
|
|
17931
|
+
};
|
|
17932
|
+
Ethereum: {
|
|
17933
|
+
ETH: string | number | null;
|
|
17934
|
+
USDC: string | number | null;
|
|
17935
|
+
FLIP: string | number | null;
|
|
17936
|
+
USDT: string | number | null;
|
|
17937
|
+
};
|
|
17938
|
+
Arbitrum: {
|
|
17939
|
+
ETH: string | number | null;
|
|
17940
|
+
USDC: string | number | null;
|
|
17941
|
+
};
|
|
17942
|
+
Solana: {
|
|
17943
|
+
USDC: string | number | null;
|
|
17944
|
+
SOL: string | number | null;
|
|
17945
|
+
};
|
|
17946
|
+
Polkadot: {
|
|
17947
|
+
DOT: string | number | null;
|
|
17948
|
+
};
|
|
17949
|
+
Assethub?: {
|
|
17950
|
+
USDC: string | number | null;
|
|
17951
|
+
USDT: string | number | null;
|
|
17952
|
+
DOT: string | number | null;
|
|
17953
|
+
} | undefined;
|
|
17954
|
+
} | undefined;
|
|
17659
17955
|
}>;
|
|
17660
17956
|
readonly chain_getBlockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
17661
17957
|
readonly cf_boost_pool_details: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
package/dist/parsers.cjs
CHANGED
|
@@ -93,12 +93,15 @@ var cfIngressEgressEnvironment = _zod.z.object({
|
|
|
93
93
|
egress_fees: chainAssetMapFactory(numberOrHex.nullable(), null),
|
|
94
94
|
witness_safety_margins: chainMapFactory(_zod.z.number().nullable(), null),
|
|
95
95
|
egress_dust_limits: chainAssetMapFactory(numberOrHex, 0),
|
|
96
|
-
channel_opening_fees: chainMapFactory(numberOrHex, 0)
|
|
97
|
-
max_swap_retry_duration_blocks: chainMapFactory(_zod.z.number(), 0)
|
|
96
|
+
channel_opening_fees: chainMapFactory(numberOrHex, 0)
|
|
98
97
|
}).transform(rename({ egress_dust_limits: "minimum_egress_amounts" }));
|
|
99
98
|
var cfSwappingEnvironment = _zod.z.object({
|
|
100
99
|
maximum_swap_amounts: chainAssetMapFactory(numberOrHex.nullable(), null),
|
|
101
|
-
network_fee_hundredth_pips: _zod.z.number()
|
|
100
|
+
network_fee_hundredth_pips: _zod.z.number(),
|
|
101
|
+
swap_retry_delay_blocks: _zod.z.number().optional(),
|
|
102
|
+
max_swap_retry_duration_blocks: _zod.z.number().optional(),
|
|
103
|
+
max_swap_request_duration_blocks: _zod.z.number().optional(),
|
|
104
|
+
minimum_chunk_size: chainAssetMapFactory(numberOrHex.nullable(), null).optional()
|
|
102
105
|
});
|
|
103
106
|
var cfFundingEnvironment = _zod.z.object({
|
|
104
107
|
redemption_tax: numberOrHex,
|