@chainflip/rpc 1.11.0-beta.1 → 1.11.0-beta.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/parsers.d.ts CHANGED
@@ -2939,7 +2939,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
2939
2939
  DOT: string | number | null;
2940
2940
  } | undefined;
2941
2941
  }>>;
2942
- network_fees: z.ZodOptional<z.ZodObject<{
2942
+ network_fees: z.ZodObject<{
2943
2943
  regular_network_fee: z.ZodObject<{
2944
2944
  standard_rate_and_minimum: z.ZodObject<{
2945
2945
  rate: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
@@ -3460,7 +3460,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
3460
3460
  } | undefined;
3461
3461
  };
3462
3462
  };
3463
- }>>;
3463
+ }>;
3464
3464
  }, "strip", z.ZodTypeAny, {
3465
3465
  maximum_swap_amounts: {
3466
3466
  Bitcoin: {
@@ -3490,37 +3490,7 @@ declare const cfSwappingEnvironment: z.ZodObject<{
3490
3490
  };
3491
3491
  };
3492
3492
  network_fee_hundredth_pips: number;
3493
- swap_retry_delay_blocks?: number | undefined;
3494
- max_swap_retry_duration_blocks?: number | undefined;
3495
- max_swap_request_duration_blocks?: number | undefined;
3496
- minimum_chunk_size?: {
3497
- Bitcoin: {
3498
- BTC: bigint | null;
3499
- };
3500
- Ethereum: {
3501
- ETH: bigint | null;
3502
- USDC: bigint | null;
3503
- FLIP: bigint | null;
3504
- USDT: bigint | null;
3505
- };
3506
- Arbitrum: {
3507
- ETH: bigint | null;
3508
- USDC: bigint | null;
3509
- };
3510
- Solana: {
3511
- USDC: bigint | null;
3512
- SOL: bigint | null;
3513
- };
3514
- Polkadot: {
3515
- DOT: bigint | null;
3516
- };
3517
- Assethub: {
3518
- USDC: bigint | null;
3519
- USDT: bigint | null;
3520
- DOT: bigint | null;
3521
- };
3522
- } | undefined;
3523
- network_fees?: {
3493
+ network_fees: {
3524
3494
  regular_network_fee: {
3525
3495
  standard_rate_and_minimum: {
3526
3496
  minimum: bigint;
@@ -3587,40 +3557,39 @@ declare const cfSwappingEnvironment: z.ZodObject<{
3587
3557
  };
3588
3558
  };
3589
3559
  };
3590
- } | undefined;
3591
- }, {
3592
- maximum_swap_amounts: {
3560
+ };
3561
+ swap_retry_delay_blocks?: number | undefined;
3562
+ max_swap_retry_duration_blocks?: number | undefined;
3563
+ max_swap_request_duration_blocks?: number | undefined;
3564
+ minimum_chunk_size?: {
3593
3565
  Bitcoin: {
3594
- BTC: string | number | null;
3566
+ BTC: bigint | null;
3595
3567
  };
3596
3568
  Ethereum: {
3597
- ETH: string | number | null;
3598
- USDC: string | number | null;
3599
- FLIP: string | number | null;
3600
- USDT: string | number | null;
3569
+ ETH: bigint | null;
3570
+ USDC: bigint | null;
3571
+ FLIP: bigint | null;
3572
+ USDT: bigint | null;
3601
3573
  };
3602
3574
  Arbitrum: {
3603
- ETH: string | number | null;
3604
- USDC: string | number | null;
3575
+ ETH: bigint | null;
3576
+ USDC: bigint | null;
3605
3577
  };
3606
3578
  Solana: {
3607
- USDC: string | number | null;
3608
- SOL: string | number | null;
3579
+ USDC: bigint | null;
3580
+ SOL: bigint | null;
3609
3581
  };
3610
3582
  Polkadot: {
3611
- DOT: string | number | null;
3583
+ DOT: bigint | null;
3612
3584
  };
3613
- Assethub?: {
3614
- USDC: string | number | null;
3615
- USDT: string | number | null;
3616
- DOT: string | number | null;
3617
- } | undefined;
3618
- };
3619
- network_fee_hundredth_pips: number;
3620
- swap_retry_delay_blocks?: number | undefined;
3621
- max_swap_retry_duration_blocks?: number | undefined;
3622
- max_swap_request_duration_blocks?: number | undefined;
3623
- minimum_chunk_size?: {
3585
+ Assethub: {
3586
+ USDC: bigint | null;
3587
+ USDT: bigint | null;
3588
+ DOT: bigint | null;
3589
+ };
3590
+ } | undefined;
3591
+ }, {
3592
+ maximum_swap_amounts: {
3624
3593
  Bitcoin: {
3625
3594
  BTC: string | number | null;
3626
3595
  };
@@ -3646,8 +3615,9 @@ declare const cfSwappingEnvironment: z.ZodObject<{
3646
3615
  USDT: string | number | null;
3647
3616
  DOT: string | number | null;
3648
3617
  } | undefined;
3649
- } | undefined;
3650
- network_fees?: {
3618
+ };
3619
+ network_fee_hundredth_pips: number;
3620
+ network_fees: {
3651
3621
  regular_network_fee: {
3652
3622
  standard_rate_and_minimum: {
3653
3623
  minimum: string | number;
@@ -3714,6 +3684,36 @@ declare const cfSwappingEnvironment: z.ZodObject<{
3714
3684
  } | undefined;
3715
3685
  };
3716
3686
  };
3687
+ };
3688
+ swap_retry_delay_blocks?: number | undefined;
3689
+ max_swap_retry_duration_blocks?: number | undefined;
3690
+ max_swap_request_duration_blocks?: number | undefined;
3691
+ minimum_chunk_size?: {
3692
+ Bitcoin: {
3693
+ BTC: string | number | null;
3694
+ };
3695
+ Ethereum: {
3696
+ ETH: string | number | null;
3697
+ USDC: string | number | null;
3698
+ FLIP: string | number | null;
3699
+ USDT: string | number | null;
3700
+ };
3701
+ Arbitrum: {
3702
+ ETH: string | number | null;
3703
+ USDC: string | number | null;
3704
+ };
3705
+ Solana: {
3706
+ USDC: string | number | null;
3707
+ SOL: string | number | null;
3708
+ };
3709
+ Polkadot: {
3710
+ DOT: string | number | null;
3711
+ };
3712
+ Assethub?: {
3713
+ USDC: string | number | null;
3714
+ USDT: string | number | null;
3715
+ DOT: string | number | null;
3716
+ } | undefined;
3717
3717
  } | undefined;
3718
3718
  }>;
3719
3719
  declare const cfFundingEnvironment: z.ZodObject<{
@@ -9650,7 +9650,7 @@ declare const cfEnvironment: z.ZodObject<{
9650
9650
  DOT: string | number | null;
9651
9651
  } | undefined;
9652
9652
  }>>;
9653
- network_fees: z.ZodOptional<z.ZodObject<{
9653
+ network_fees: z.ZodObject<{
9654
9654
  regular_network_fee: z.ZodObject<{
9655
9655
  standard_rate_and_minimum: z.ZodObject<{
9656
9656
  rate: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
@@ -10171,7 +10171,7 @@ declare const cfEnvironment: z.ZodObject<{
10171
10171
  } | undefined;
10172
10172
  };
10173
10173
  };
10174
- }>>;
10174
+ }>;
10175
10175
  }, "strip", z.ZodTypeAny, {
10176
10176
  maximum_swap_amounts: {
10177
10177
  Bitcoin: {
@@ -10201,37 +10201,7 @@ declare const cfEnvironment: z.ZodObject<{
10201
10201
  };
10202
10202
  };
10203
10203
  network_fee_hundredth_pips: number;
10204
- swap_retry_delay_blocks?: number | undefined;
10205
- max_swap_retry_duration_blocks?: number | undefined;
10206
- max_swap_request_duration_blocks?: number | undefined;
10207
- minimum_chunk_size?: {
10208
- Bitcoin: {
10209
- BTC: bigint | null;
10210
- };
10211
- Ethereum: {
10212
- ETH: bigint | null;
10213
- USDC: bigint | null;
10214
- FLIP: bigint | null;
10215
- USDT: bigint | null;
10216
- };
10217
- Arbitrum: {
10218
- ETH: bigint | null;
10219
- USDC: bigint | null;
10220
- };
10221
- Solana: {
10222
- USDC: bigint | null;
10223
- SOL: bigint | null;
10224
- };
10225
- Polkadot: {
10226
- DOT: bigint | null;
10227
- };
10228
- Assethub: {
10229
- USDC: bigint | null;
10230
- USDT: bigint | null;
10231
- DOT: bigint | null;
10232
- };
10233
- } | undefined;
10234
- network_fees?: {
10204
+ network_fees: {
10235
10205
  regular_network_fee: {
10236
10206
  standard_rate_and_minimum: {
10237
10207
  minimum: bigint;
@@ -10298,40 +10268,39 @@ declare const cfEnvironment: z.ZodObject<{
10298
10268
  };
10299
10269
  };
10300
10270
  };
10301
- } | undefined;
10302
- }, {
10303
- maximum_swap_amounts: {
10271
+ };
10272
+ swap_retry_delay_blocks?: number | undefined;
10273
+ max_swap_retry_duration_blocks?: number | undefined;
10274
+ max_swap_request_duration_blocks?: number | undefined;
10275
+ minimum_chunk_size?: {
10304
10276
  Bitcoin: {
10305
- BTC: string | number | null;
10277
+ BTC: bigint | null;
10306
10278
  };
10307
10279
  Ethereum: {
10308
- ETH: string | number | null;
10309
- USDC: string | number | null;
10310
- FLIP: string | number | null;
10311
- USDT: string | number | null;
10280
+ ETH: bigint | null;
10281
+ USDC: bigint | null;
10282
+ FLIP: bigint | null;
10283
+ USDT: bigint | null;
10312
10284
  };
10313
10285
  Arbitrum: {
10314
- ETH: string | number | null;
10315
- USDC: string | number | null;
10286
+ ETH: bigint | null;
10287
+ USDC: bigint | null;
10316
10288
  };
10317
10289
  Solana: {
10318
- USDC: string | number | null;
10319
- SOL: string | number | null;
10290
+ USDC: bigint | null;
10291
+ SOL: bigint | null;
10320
10292
  };
10321
10293
  Polkadot: {
10322
- DOT: string | number | null;
10294
+ DOT: bigint | null;
10323
10295
  };
10324
- Assethub?: {
10325
- USDC: string | number | null;
10326
- USDT: string | number | null;
10327
- DOT: string | number | null;
10328
- } | undefined;
10329
- };
10330
- network_fee_hundredth_pips: number;
10331
- swap_retry_delay_blocks?: number | undefined;
10332
- max_swap_retry_duration_blocks?: number | undefined;
10333
- max_swap_request_duration_blocks?: number | undefined;
10334
- minimum_chunk_size?: {
10296
+ Assethub: {
10297
+ USDC: bigint | null;
10298
+ USDT: bigint | null;
10299
+ DOT: bigint | null;
10300
+ };
10301
+ } | undefined;
10302
+ }, {
10303
+ maximum_swap_amounts: {
10335
10304
  Bitcoin: {
10336
10305
  BTC: string | number | null;
10337
10306
  };
@@ -10357,8 +10326,9 @@ declare const cfEnvironment: z.ZodObject<{
10357
10326
  USDT: string | number | null;
10358
10327
  DOT: string | number | null;
10359
10328
  } | undefined;
10360
- } | undefined;
10361
- network_fees?: {
10329
+ };
10330
+ network_fee_hundredth_pips: number;
10331
+ network_fees: {
10362
10332
  regular_network_fee: {
10363
10333
  standard_rate_and_minimum: {
10364
10334
  minimum: string | number;
@@ -10425,6 +10395,36 @@ declare const cfEnvironment: z.ZodObject<{
10425
10395
  } | undefined;
10426
10396
  };
10427
10397
  };
10398
+ };
10399
+ swap_retry_delay_blocks?: number | undefined;
10400
+ max_swap_retry_duration_blocks?: number | undefined;
10401
+ max_swap_request_duration_blocks?: number | undefined;
10402
+ minimum_chunk_size?: {
10403
+ Bitcoin: {
10404
+ BTC: string | number | null;
10405
+ };
10406
+ Ethereum: {
10407
+ ETH: string | number | null;
10408
+ USDC: string | number | null;
10409
+ FLIP: string | number | null;
10410
+ USDT: string | number | null;
10411
+ };
10412
+ Arbitrum: {
10413
+ ETH: string | number | null;
10414
+ USDC: string | number | null;
10415
+ };
10416
+ Solana: {
10417
+ USDC: string | number | null;
10418
+ SOL: string | number | null;
10419
+ };
10420
+ Polkadot: {
10421
+ DOT: string | number | null;
10422
+ };
10423
+ Assethub?: {
10424
+ USDC: string | number | null;
10425
+ USDT: string | number | null;
10426
+ DOT: string | number | null;
10427
+ } | undefined;
10428
10428
  } | undefined;
10429
10429
  }>;
10430
10430
  funding: z.ZodObject<{
@@ -15289,37 +15289,7 @@ declare const cfEnvironment: z.ZodObject<{
15289
15289
  };
15290
15290
  };
15291
15291
  network_fee_hundredth_pips: number;
15292
- swap_retry_delay_blocks?: number | undefined;
15293
- max_swap_retry_duration_blocks?: number | undefined;
15294
- max_swap_request_duration_blocks?: number | undefined;
15295
- minimum_chunk_size?: {
15296
- Bitcoin: {
15297
- BTC: bigint | null;
15298
- };
15299
- Ethereum: {
15300
- ETH: bigint | null;
15301
- USDC: bigint | null;
15302
- FLIP: bigint | null;
15303
- USDT: bigint | null;
15304
- };
15305
- Arbitrum: {
15306
- ETH: bigint | null;
15307
- USDC: bigint | null;
15308
- };
15309
- Solana: {
15310
- USDC: bigint | null;
15311
- SOL: bigint | null;
15312
- };
15313
- Polkadot: {
15314
- DOT: bigint | null;
15315
- };
15316
- Assethub: {
15317
- USDC: bigint | null;
15318
- USDT: bigint | null;
15319
- DOT: bigint | null;
15320
- };
15321
- } | undefined;
15322
- network_fees?: {
15292
+ network_fees: {
15323
15293
  regular_network_fee: {
15324
15294
  standard_rate_and_minimum: {
15325
15295
  minimum: bigint;
@@ -15386,6 +15356,36 @@ declare const cfEnvironment: z.ZodObject<{
15386
15356
  };
15387
15357
  };
15388
15358
  };
15359
+ };
15360
+ swap_retry_delay_blocks?: number | undefined;
15361
+ max_swap_retry_duration_blocks?: number | undefined;
15362
+ max_swap_request_duration_blocks?: number | undefined;
15363
+ minimum_chunk_size?: {
15364
+ Bitcoin: {
15365
+ BTC: bigint | null;
15366
+ };
15367
+ Ethereum: {
15368
+ ETH: bigint | null;
15369
+ USDC: bigint | null;
15370
+ FLIP: bigint | null;
15371
+ USDT: bigint | null;
15372
+ };
15373
+ Arbitrum: {
15374
+ ETH: bigint | null;
15375
+ USDC: bigint | null;
15376
+ };
15377
+ Solana: {
15378
+ USDC: bigint | null;
15379
+ SOL: bigint | null;
15380
+ };
15381
+ Polkadot: {
15382
+ DOT: bigint | null;
15383
+ };
15384
+ Assethub: {
15385
+ USDC: bigint | null;
15386
+ USDT: bigint | null;
15387
+ DOT: bigint | null;
15388
+ };
15389
15389
  } | undefined;
15390
15390
  };
15391
15391
  funding: {
@@ -16128,37 +16128,7 @@ declare const cfEnvironment: z.ZodObject<{
16128
16128
  } | undefined;
16129
16129
  };
16130
16130
  network_fee_hundredth_pips: number;
16131
- swap_retry_delay_blocks?: number | undefined;
16132
- max_swap_retry_duration_blocks?: number | undefined;
16133
- max_swap_request_duration_blocks?: number | undefined;
16134
- minimum_chunk_size?: {
16135
- Bitcoin: {
16136
- BTC: string | number | null;
16137
- };
16138
- Ethereum: {
16139
- ETH: string | number | null;
16140
- USDC: string | number | null;
16141
- FLIP: string | number | null;
16142
- USDT: string | number | null;
16143
- };
16144
- Arbitrum: {
16145
- ETH: string | number | null;
16146
- USDC: string | number | null;
16147
- };
16148
- Solana: {
16149
- USDC: string | number | null;
16150
- SOL: string | number | null;
16151
- };
16152
- Polkadot: {
16153
- DOT: string | number | null;
16154
- };
16155
- Assethub?: {
16156
- USDC: string | number | null;
16157
- USDT: string | number | null;
16158
- DOT: string | number | null;
16159
- } | undefined;
16160
- } | undefined;
16161
- network_fees?: {
16131
+ network_fees: {
16162
16132
  regular_network_fee: {
16163
16133
  standard_rate_and_minimum: {
16164
16134
  minimum: string | number;
@@ -16225,6 +16195,36 @@ declare const cfEnvironment: z.ZodObject<{
16225
16195
  } | undefined;
16226
16196
  };
16227
16197
  };
16198
+ };
16199
+ swap_retry_delay_blocks?: number | undefined;
16200
+ max_swap_retry_duration_blocks?: number | undefined;
16201
+ max_swap_request_duration_blocks?: number | undefined;
16202
+ minimum_chunk_size?: {
16203
+ Bitcoin: {
16204
+ BTC: string | number | null;
16205
+ };
16206
+ Ethereum: {
16207
+ ETH: string | number | null;
16208
+ USDC: string | number | null;
16209
+ FLIP: string | number | null;
16210
+ USDT: string | number | null;
16211
+ };
16212
+ Arbitrum: {
16213
+ ETH: string | number | null;
16214
+ USDC: string | number | null;
16215
+ };
16216
+ Solana: {
16217
+ USDC: string | number | null;
16218
+ SOL: string | number | null;
16219
+ };
16220
+ Polkadot: {
16221
+ DOT: string | number | null;
16222
+ };
16223
+ Assethub?: {
16224
+ USDC: string | number | null;
16225
+ USDT: string | number | null;
16226
+ DOT: string | number | null;
16227
+ } | undefined;
16228
16228
  } | undefined;
16229
16229
  };
16230
16230
  funding: {
@@ -17336,15 +17336,16 @@ declare const broker: z.ZodObject<{
17336
17336
  }[] | undefined;
17337
17337
  }>;
17338
17338
  declare const operator: z.ZodObject<{
17339
+ flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
17339
17340
  role: z.ZodLiteral<"operator">;
17340
17341
  managed_validators: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
17341
17342
  delegators: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
17342
17343
  settings: z.ZodObject<{
17343
17344
  fee_bps: z.ZodNumber;
17344
- delegation_acceptance: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"Allow">, z.ZodLiteral<"Deny">]>, boolean, "Allow" | "Deny">;
17345
+ delegation_acceptance: z.ZodEnum<["Allow", "Deny"]>;
17345
17346
  }, "strip", z.ZodTypeAny, {
17346
17347
  fee_bps: number;
17347
- delegation_acceptance: boolean;
17348
+ delegation_acceptance: "Allow" | "Deny";
17348
17349
  }, {
17349
17350
  fee_bps: number;
17350
17351
  delegation_acceptance: "Allow" | "Deny";
@@ -17353,16 +17354,18 @@ declare const operator: z.ZodObject<{
17353
17354
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
17354
17355
  }, "strip", z.ZodTypeAny, {
17355
17356
  role: "operator";
17357
+ flip_balance: bigint;
17356
17358
  managed_validators: Record<string, bigint>;
17357
17359
  delegators: Record<string, bigint>;
17358
17360
  settings: {
17359
17361
  fee_bps: number;
17360
- delegation_acceptance: boolean;
17362
+ delegation_acceptance: "Allow" | "Deny";
17361
17363
  };
17362
17364
  allowed: string[];
17363
17365
  blocked: string[];
17364
17366
  }, {
17365
17367
  role: "operator";
17368
+ flip_balance: string | number;
17366
17369
  managed_validators: Record<string, string | number>;
17367
17370
  delegators: Record<string, string | number>;
17368
17371
  settings: {
@@ -18650,7 +18653,7 @@ declare const validator: z.ZodObject<{
18650
18653
  bound_redeem_address: z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
18651
18654
  apy_bp: z.ZodNullable<z.ZodNumber>;
18652
18655
  restricted_balances: z.ZodRecord<z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
18653
- estimated_redeemable_balance: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
18656
+ estimated_redeemable_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
18654
18657
  }, "strip", z.ZodTypeAny, {
18655
18658
  role: "validator";
18656
18659
  flip_balance: bigint;
@@ -18666,7 +18669,7 @@ declare const validator: z.ZodObject<{
18666
18669
  bound_redeem_address: `0x${string}` | null;
18667
18670
  apy_bp: number | null;
18668
18671
  restricted_balances: Partial<Record<`0x${string}`, bigint>>;
18669
- estimated_redeemable_balance?: bigint | undefined;
18672
+ estimated_redeemable_balance: bigint;
18670
18673
  }, {
18671
18674
  role: "validator";
18672
18675
  flip_balance: string | number;
@@ -18682,7 +18685,7 @@ declare const validator: z.ZodObject<{
18682
18685
  bound_redeem_address: string | null;
18683
18686
  apy_bp: number | null;
18684
18687
  restricted_balances: Record<string, string | number>;
18685
- estimated_redeemable_balance?: string | number | undefined;
18688
+ estimated_redeemable_balance: string | number;
18686
18689
  }>;
18687
18690
  declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
18688
18691
  role: z.ZodLiteral<"unregistered">;
@@ -19074,15 +19077,16 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
19074
19077
  withdrawal_address: string;
19075
19078
  }[] | undefined;
19076
19079
  }>, z.ZodObject<{
19080
+ flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
19077
19081
  role: z.ZodLiteral<"operator">;
19078
19082
  managed_validators: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
19079
19083
  delegators: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
19080
19084
  settings: z.ZodObject<{
19081
19085
  fee_bps: z.ZodNumber;
19082
- delegation_acceptance: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"Allow">, z.ZodLiteral<"Deny">]>, boolean, "Allow" | "Deny">;
19086
+ delegation_acceptance: z.ZodEnum<["Allow", "Deny"]>;
19083
19087
  }, "strip", z.ZodTypeAny, {
19084
19088
  fee_bps: number;
19085
- delegation_acceptance: boolean;
19089
+ delegation_acceptance: "Allow" | "Deny";
19086
19090
  }, {
19087
19091
  fee_bps: number;
19088
19092
  delegation_acceptance: "Allow" | "Deny";
@@ -19091,16 +19095,18 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
19091
19095
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
19092
19096
  }, "strip", z.ZodTypeAny, {
19093
19097
  role: "operator";
19098
+ flip_balance: bigint;
19094
19099
  managed_validators: Record<string, bigint>;
19095
19100
  delegators: Record<string, bigint>;
19096
19101
  settings: {
19097
19102
  fee_bps: number;
19098
- delegation_acceptance: boolean;
19103
+ delegation_acceptance: "Allow" | "Deny";
19099
19104
  };
19100
19105
  allowed: string[];
19101
19106
  blocked: string[];
19102
19107
  }, {
19103
19108
  role: "operator";
19109
+ flip_balance: string | number;
19104
19110
  managed_validators: Record<string, string | number>;
19105
19111
  delegators: Record<string, string | number>;
19106
19112
  settings: {
@@ -20386,7 +20392,7 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
20386
20392
  bound_redeem_address: z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
20387
20393
  apy_bp: z.ZodNullable<z.ZodNumber>;
20388
20394
  restricted_balances: z.ZodRecord<z.ZodEffects<z.ZodString, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
20389
- estimated_redeemable_balance: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
20395
+ estimated_redeemable_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
20390
20396
  }, "strip", z.ZodTypeAny, {
20391
20397
  role: "validator";
20392
20398
  flip_balance: bigint;
@@ -20402,7 +20408,7 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
20402
20408
  bound_redeem_address: `0x${string}` | null;
20403
20409
  apy_bp: number | null;
20404
20410
  restricted_balances: Partial<Record<`0x${string}`, bigint>>;
20405
- estimated_redeemable_balance?: bigint | undefined;
20411
+ estimated_redeemable_balance: bigint;
20406
20412
  }, {
20407
20413
  role: "validator";
20408
20414
  flip_balance: string | number;
@@ -20418,7 +20424,7 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
20418
20424
  bound_redeem_address: string | null;
20419
20425
  apy_bp: number | null;
20420
20426
  restricted_balances: Record<string, string | number>;
20421
- estimated_redeemable_balance?: string | number | undefined;
20427
+ estimated_redeemable_balance: string | number;
20422
20428
  }>]>;
20423
20429
  declare const cfAccounts: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
20424
20430
  declare const cfPoolPriceV2: z.ZodObject<{
@@ -21734,7 +21740,7 @@ declare const cfAuctionState: z.ZodEffects<z.ZodObject<{
21734
21740
  min_funding: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
21735
21741
  auction_size_range: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
21736
21742
  min_active_bid: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
21737
- min_bid: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>>;
21743
+ min_bid: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
21738
21744
  }, "strip", z.ZodTypeAny, {
21739
21745
  epoch_duration: number;
21740
21746
  current_epoch_started_at: number;
@@ -21750,7 +21756,7 @@ declare const cfAuctionState: z.ZodEffects<z.ZodObject<{
21750
21756
  min_funding: string | number;
21751
21757
  auction_size_range: [number, number];
21752
21758
  min_active_bid: string | number;
21753
- min_bid?: string | number | undefined;
21759
+ min_bid: string | number;
21754
21760
  }>, Rename<{
21755
21761
  epoch_duration: number;
21756
21762
  current_epoch_started_at: number;
@@ -21768,7 +21774,7 @@ declare const cfAuctionState: z.ZodEffects<z.ZodObject<{
21768
21774
  min_funding: string | number;
21769
21775
  auction_size_range: [number, number];
21770
21776
  min_active_bid: string | number;
21771
- min_bid?: string | number | undefined;
21777
+ min_bid: string | number;
21772
21778
  }>;
21773
21779
  declare const cfFlipSuppy: z.ZodEffects<z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>], null>, {
21774
21780
  totalIssuance: bigint;
@@ -25223,6 +25229,25 @@ declare const cfAvailablePools: z.ZodArray<z.ZodObject<{
25223
25229
  asset: "USDC";
25224
25230
  };
25225
25231
  }>, "many">;
25232
+ declare const cfOraclePrices: z.ZodArray<z.ZodObject<{
25233
+ price: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
25234
+ updated_at_oracle_timestamp: z.ZodNumber;
25235
+ updated_at_statechain_block: z.ZodNumber;
25236
+ base_asset: z.ZodEnum<["Btc", "Eth", "Sol", "Usdc", "Usdt", "Usd"]>;
25237
+ quote_asset: z.ZodEnum<["Btc", "Eth", "Sol", "Usdc", "Usdt", "Usd"]>;
25238
+ }, "strip", z.ZodTypeAny, {
25239
+ price: bigint;
25240
+ quote_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
25241
+ base_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
25242
+ updated_at_oracle_timestamp: number;
25243
+ updated_at_statechain_block: number;
25244
+ }, {
25245
+ price: string | number;
25246
+ quote_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
25247
+ base_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
25248
+ updated_at_oracle_timestamp: number;
25249
+ updated_at_statechain_block: number;
25250
+ }>, "many">;
25226
25251
  declare const cfSafeModeStatuses: z.ZodUnion<[z.ZodObject<{
25227
25252
  emissions: z.ZodObject<{
25228
25253
  emissions_sync_enabled: z.ZodBoolean;
@@ -25287,7 +25312,7 @@ declare const cfSafeModeStatuses: z.ZodUnion<[z.ZodObject<{
25287
25312
  range_order_update_enabled: boolean;
25288
25313
  limit_order_update_enabled: boolean;
25289
25314
  }>;
25290
- trading_strategies: z.ZodDefault<z.ZodOptional<z.ZodObject<{
25315
+ trading_strategies: z.ZodObject<{
25291
25316
  strategy_updates_enabled: z.ZodBoolean;
25292
25317
  strategy_closure_enabled: z.ZodBoolean;
25293
25318
  strategy_execution_enabled: z.ZodBoolean;
@@ -25299,7 +25324,7 @@ declare const cfSafeModeStatuses: z.ZodUnion<[z.ZodObject<{
25299
25324
  strategy_updates_enabled: boolean;
25300
25325
  strategy_closure_enabled: boolean;
25301
25326
  strategy_execution_enabled: boolean;
25302
- }>>>;
25327
+ }>;
25303
25328
  reputation: z.ZodObject<{
25304
25329
  reporting_enabled: z.ZodBoolean;
25305
25330
  }, "strip", z.ZodTypeAny, {
@@ -25637,6 +25662,11 @@ declare const cfSafeModeStatuses: z.ZodUnion<[z.ZodObject<{
25637
25662
  emissions: {
25638
25663
  emissions_sync_enabled: boolean;
25639
25664
  };
25665
+ trading_strategies: {
25666
+ strategy_updates_enabled: boolean;
25667
+ strategy_closure_enabled: boolean;
25668
+ strategy_execution_enabled: boolean;
25669
+ };
25640
25670
  reputation: {
25641
25671
  reporting_enabled: boolean;
25642
25672
  };
@@ -25712,11 +25742,6 @@ declare const cfSafeModeStatuses: z.ZodUnion<[z.ZodObject<{
25712
25742
  stop_boosting_enabled: boolean;
25713
25743
  deposits_enabled: boolean;
25714
25744
  };
25715
- trading_strategies?: {
25716
- strategy_updates_enabled: boolean;
25717
- strategy_closure_enabled: boolean;
25718
- strategy_execution_enabled: boolean;
25719
- } | undefined;
25720
25745
  }>, z.ZodObject<{
25721
25746
  emissions: z.ZodObject<{
25722
25747
  emissions_sync_enabled: z.ZodBoolean;
@@ -25781,7 +25806,7 @@ declare const cfSafeModeStatuses: z.ZodUnion<[z.ZodObject<{
25781
25806
  range_order_update_enabled: boolean;
25782
25807
  limit_order_update_enabled: boolean;
25783
25808
  }>;
25784
- trading_strategies: z.ZodDefault<z.ZodOptional<z.ZodObject<{
25809
+ trading_strategies: z.ZodObject<{
25785
25810
  strategy_updates_enabled: z.ZodBoolean;
25786
25811
  strategy_closure_enabled: z.ZodBoolean;
25787
25812
  strategy_execution_enabled: z.ZodBoolean;
@@ -25793,7 +25818,7 @@ declare const cfSafeModeStatuses: z.ZodUnion<[z.ZodObject<{
25793
25818
  strategy_updates_enabled: boolean;
25794
25819
  strategy_closure_enabled: boolean;
25795
25820
  strategy_execution_enabled: boolean;
25796
- }>>>;
25821
+ }>;
25797
25822
  reputation: z.ZodObject<{
25798
25823
  reporting_enabled: z.ZodBoolean;
25799
25824
  }, "strip", z.ZodTypeAny, {
@@ -26145,6 +26170,11 @@ declare const cfSafeModeStatuses: z.ZodUnion<[z.ZodObject<{
26145
26170
  emissions: {
26146
26171
  emissions_sync_enabled: boolean;
26147
26172
  };
26173
+ trading_strategies: {
26174
+ strategy_updates_enabled: boolean;
26175
+ strategy_closure_enabled: boolean;
26176
+ strategy_execution_enabled: boolean;
26177
+ };
26148
26178
  reputation: {
26149
26179
  reporting_enabled: boolean;
26150
26180
  };
@@ -26224,11 +26254,6 @@ declare const cfSafeModeStatuses: z.ZodUnion<[z.ZodObject<{
26224
26254
  add_boost_funds_enabled: boolean;
26225
26255
  stop_boosting_enabled: boolean;
26226
26256
  };
26227
- trading_strategies?: {
26228
- strategy_updates_enabled: boolean;
26229
- strategy_closure_enabled: boolean;
26230
- strategy_execution_enabled: boolean;
26231
- } | undefined;
26232
26257
  }>]>;
26233
26258
 
26234
- export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfAvailablePools, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfGetTradingStrategyLimits, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSafeModeStatuses, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, operator, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
26259
+ export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfAvailablePools, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfGetTradingStrategyLimits, cfIngressEgressEnvironment, cfOraclePrices, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSafeModeStatuses, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, operator, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };