@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/common.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { PriceAsset } from '@chainflip/utils/chainflip';
1
2
  import { HexString } from '@chainflip/utils/types';
2
3
  import { z } from 'zod';
3
4
  import { AssetAndChain, rpcResponse } from './parsers.js';
@@ -189,6 +190,7 @@ type RpcRequest = WithHash<{
189
190
  cf_get_trading_strategy_limits: [];
190
191
  cf_available_pools: [];
191
192
  cf_safe_mode_statuses: [];
193
+ cf_oracle_prices: [oraclePricePair?: Nullish<[PriceAsset, PriceAsset]>];
192
194
  }> & {
193
195
  chain_getBlockHash: [blockHeight?: number];
194
196
  };
@@ -775,15 +777,16 @@ declare const rpcResult: {
775
777
  withdrawal_address: string;
776
778
  }[] | undefined;
777
779
  }>, z.ZodObject<{
780
+ flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
778
781
  role: z.ZodLiteral<"operator">;
779
782
  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>]>>;
780
783
  delegators: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
781
784
  settings: z.ZodObject<{
782
785
  fee_bps: z.ZodNumber;
783
- delegation_acceptance: z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"Allow">, z.ZodLiteral<"Deny">]>, boolean, "Allow" | "Deny">;
786
+ delegation_acceptance: z.ZodEnum<["Allow", "Deny"]>;
784
787
  }, "strip", z.ZodTypeAny, {
785
788
  fee_bps: number;
786
- delegation_acceptance: boolean;
789
+ delegation_acceptance: "Allow" | "Deny";
787
790
  }, {
788
791
  fee_bps: number;
789
792
  delegation_acceptance: "Allow" | "Deny";
@@ -792,16 +795,18 @@ declare const rpcResult: {
792
795
  blocked: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
793
796
  }, "strip", z.ZodTypeAny, {
794
797
  role: "operator";
798
+ flip_balance: bigint;
795
799
  managed_validators: Record<string, bigint>;
796
800
  delegators: Record<string, bigint>;
797
801
  settings: {
798
802
  fee_bps: number;
799
- delegation_acceptance: boolean;
803
+ delegation_acceptance: "Allow" | "Deny";
800
804
  };
801
805
  allowed: string[];
802
806
  blocked: string[];
803
807
  }, {
804
808
  role: "operator";
809
+ flip_balance: string | number;
805
810
  managed_validators: Record<string, string | number>;
806
811
  delegators: Record<string, string | number>;
807
812
  settings: {
@@ -2087,7 +2092,7 @@ declare const rpcResult: {
2087
2092
  bound_redeem_address: z.ZodNullable<z.ZodEffects<z.ZodString, `0x${string}`, string>>;
2088
2093
  apy_bp: z.ZodNullable<z.ZodNumber>;
2089
2094
  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>]>>;
2090
- estimated_redeemable_balance: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>>;
2095
+ estimated_redeemable_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2091
2096
  }, "strip", z.ZodTypeAny, {
2092
2097
  role: "validator";
2093
2098
  flip_balance: bigint;
@@ -2103,7 +2108,7 @@ declare const rpcResult: {
2103
2108
  bound_redeem_address: `0x${string}` | null;
2104
2109
  apy_bp: number | null;
2105
2110
  restricted_balances: Partial<Record<`0x${string}`, bigint>>;
2106
- estimated_redeemable_balance?: bigint | undefined;
2111
+ estimated_redeemable_balance: bigint;
2107
2112
  }, {
2108
2113
  role: "validator";
2109
2114
  flip_balance: string | number;
@@ -2119,7 +2124,7 @@ declare const rpcResult: {
2119
2124
  bound_redeem_address: string | null;
2120
2125
  apy_bp: number | null;
2121
2126
  restricted_balances: Record<string, string | number>;
2122
- estimated_redeemable_balance?: string | number | undefined;
2127
+ estimated_redeemable_balance: string | number;
2123
2128
  }>]>;
2124
2129
  readonly cf_pool_depth: z.ZodNullable<z.ZodObject<{
2125
2130
  asks: z.ZodObject<{
@@ -3654,7 +3659,7 @@ declare const rpcResult: {
3654
3659
  DOT: string | number | null;
3655
3660
  } | undefined;
3656
3661
  }>>;
3657
- network_fees: z.ZodOptional<z.ZodObject<{
3662
+ network_fees: z.ZodObject<{
3658
3663
  regular_network_fee: z.ZodObject<{
3659
3664
  standard_rate_and_minimum: z.ZodObject<{
3660
3665
  rate: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
@@ -4175,7 +4180,7 @@ declare const rpcResult: {
4175
4180
  } | undefined;
4176
4181
  };
4177
4182
  };
4178
- }>>;
4183
+ }>;
4179
4184
  }, "strip", z.ZodTypeAny, {
4180
4185
  maximum_swap_amounts: {
4181
4186
  Bitcoin: {
@@ -4205,37 +4210,7 @@ declare const rpcResult: {
4205
4210
  };
4206
4211
  };
4207
4212
  network_fee_hundredth_pips: number;
4208
- swap_retry_delay_blocks?: number | undefined;
4209
- max_swap_retry_duration_blocks?: number | undefined;
4210
- max_swap_request_duration_blocks?: number | undefined;
4211
- minimum_chunk_size?: {
4212
- Bitcoin: {
4213
- BTC: bigint | null;
4214
- };
4215
- Ethereum: {
4216
- ETH: bigint | null;
4217
- USDC: bigint | null;
4218
- FLIP: bigint | null;
4219
- USDT: bigint | null;
4220
- };
4221
- Arbitrum: {
4222
- ETH: bigint | null;
4223
- USDC: bigint | null;
4224
- };
4225
- Solana: {
4226
- USDC: bigint | null;
4227
- SOL: bigint | null;
4228
- };
4229
- Polkadot: {
4230
- DOT: bigint | null;
4231
- };
4232
- Assethub: {
4233
- USDC: bigint | null;
4234
- USDT: bigint | null;
4235
- DOT: bigint | null;
4236
- };
4237
- } | undefined;
4238
- network_fees?: {
4213
+ network_fees: {
4239
4214
  regular_network_fee: {
4240
4215
  standard_rate_and_minimum: {
4241
4216
  minimum: bigint;
@@ -4302,40 +4277,39 @@ declare const rpcResult: {
4302
4277
  };
4303
4278
  };
4304
4279
  };
4305
- } | undefined;
4306
- }, {
4307
- maximum_swap_amounts: {
4280
+ };
4281
+ swap_retry_delay_blocks?: number | undefined;
4282
+ max_swap_retry_duration_blocks?: number | undefined;
4283
+ max_swap_request_duration_blocks?: number | undefined;
4284
+ minimum_chunk_size?: {
4308
4285
  Bitcoin: {
4309
- BTC: string | number | null;
4286
+ BTC: bigint | null;
4310
4287
  };
4311
4288
  Ethereum: {
4312
- ETH: string | number | null;
4313
- USDC: string | number | null;
4314
- FLIP: string | number | null;
4315
- USDT: string | number | null;
4289
+ ETH: bigint | null;
4290
+ USDC: bigint | null;
4291
+ FLIP: bigint | null;
4292
+ USDT: bigint | null;
4316
4293
  };
4317
4294
  Arbitrum: {
4318
- ETH: string | number | null;
4319
- USDC: string | number | null;
4295
+ ETH: bigint | null;
4296
+ USDC: bigint | null;
4320
4297
  };
4321
4298
  Solana: {
4322
- USDC: string | number | null;
4323
- SOL: string | number | null;
4299
+ USDC: bigint | null;
4300
+ SOL: bigint | null;
4324
4301
  };
4325
4302
  Polkadot: {
4326
- DOT: string | number | null;
4303
+ DOT: bigint | null;
4327
4304
  };
4328
- Assethub?: {
4329
- USDC: string | number | null;
4330
- USDT: string | number | null;
4331
- DOT: string | number | null;
4332
- } | undefined;
4333
- };
4334
- network_fee_hundredth_pips: number;
4335
- swap_retry_delay_blocks?: number | undefined;
4336
- max_swap_retry_duration_blocks?: number | undefined;
4337
- max_swap_request_duration_blocks?: number | undefined;
4338
- minimum_chunk_size?: {
4305
+ Assethub: {
4306
+ USDC: bigint | null;
4307
+ USDT: bigint | null;
4308
+ DOT: bigint | null;
4309
+ };
4310
+ } | undefined;
4311
+ }, {
4312
+ maximum_swap_amounts: {
4339
4313
  Bitcoin: {
4340
4314
  BTC: string | number | null;
4341
4315
  };
@@ -4361,8 +4335,9 @@ declare const rpcResult: {
4361
4335
  USDT: string | number | null;
4362
4336
  DOT: string | number | null;
4363
4337
  } | undefined;
4364
- } | undefined;
4365
- network_fees?: {
4338
+ };
4339
+ network_fee_hundredth_pips: number;
4340
+ network_fees: {
4366
4341
  regular_network_fee: {
4367
4342
  standard_rate_and_minimum: {
4368
4343
  minimum: string | number;
@@ -4429,6 +4404,36 @@ declare const rpcResult: {
4429
4404
  } | undefined;
4430
4405
  };
4431
4406
  };
4407
+ };
4408
+ swap_retry_delay_blocks?: number | undefined;
4409
+ max_swap_retry_duration_blocks?: number | undefined;
4410
+ max_swap_request_duration_blocks?: number | undefined;
4411
+ minimum_chunk_size?: {
4412
+ Bitcoin: {
4413
+ BTC: string | number | null;
4414
+ };
4415
+ Ethereum: {
4416
+ ETH: string | number | null;
4417
+ USDC: string | number | null;
4418
+ FLIP: string | number | null;
4419
+ USDT: string | number | null;
4420
+ };
4421
+ Arbitrum: {
4422
+ ETH: string | number | null;
4423
+ USDC: string | number | null;
4424
+ };
4425
+ Solana: {
4426
+ USDC: string | number | null;
4427
+ SOL: string | number | null;
4428
+ };
4429
+ Polkadot: {
4430
+ DOT: string | number | null;
4431
+ };
4432
+ Assethub?: {
4433
+ USDC: string | number | null;
4434
+ USDT: string | number | null;
4435
+ DOT: string | number | null;
4436
+ } | undefined;
4432
4437
  } | undefined;
4433
4438
  }>;
4434
4439
  funding: z.ZodObject<{
@@ -9293,37 +9298,7 @@ declare const rpcResult: {
9293
9298
  };
9294
9299
  };
9295
9300
  network_fee_hundredth_pips: number;
9296
- swap_retry_delay_blocks?: number | undefined;
9297
- max_swap_retry_duration_blocks?: number | undefined;
9298
- max_swap_request_duration_blocks?: number | undefined;
9299
- minimum_chunk_size?: {
9300
- Bitcoin: {
9301
- BTC: bigint | null;
9302
- };
9303
- Ethereum: {
9304
- ETH: bigint | null;
9305
- USDC: bigint | null;
9306
- FLIP: bigint | null;
9307
- USDT: bigint | null;
9308
- };
9309
- Arbitrum: {
9310
- ETH: bigint | null;
9311
- USDC: bigint | null;
9312
- };
9313
- Solana: {
9314
- USDC: bigint | null;
9315
- SOL: bigint | null;
9316
- };
9317
- Polkadot: {
9318
- DOT: bigint | null;
9319
- };
9320
- Assethub: {
9321
- USDC: bigint | null;
9322
- USDT: bigint | null;
9323
- DOT: bigint | null;
9324
- };
9325
- } | undefined;
9326
- network_fees?: {
9301
+ network_fees: {
9327
9302
  regular_network_fee: {
9328
9303
  standard_rate_and_minimum: {
9329
9304
  minimum: bigint;
@@ -9390,6 +9365,36 @@ declare const rpcResult: {
9390
9365
  };
9391
9366
  };
9392
9367
  };
9368
+ };
9369
+ swap_retry_delay_blocks?: number | undefined;
9370
+ max_swap_retry_duration_blocks?: number | undefined;
9371
+ max_swap_request_duration_blocks?: number | undefined;
9372
+ minimum_chunk_size?: {
9373
+ Bitcoin: {
9374
+ BTC: bigint | null;
9375
+ };
9376
+ Ethereum: {
9377
+ ETH: bigint | null;
9378
+ USDC: bigint | null;
9379
+ FLIP: bigint | null;
9380
+ USDT: bigint | null;
9381
+ };
9382
+ Arbitrum: {
9383
+ ETH: bigint | null;
9384
+ USDC: bigint | null;
9385
+ };
9386
+ Solana: {
9387
+ USDC: bigint | null;
9388
+ SOL: bigint | null;
9389
+ };
9390
+ Polkadot: {
9391
+ DOT: bigint | null;
9392
+ };
9393
+ Assethub: {
9394
+ USDC: bigint | null;
9395
+ USDT: bigint | null;
9396
+ DOT: bigint | null;
9397
+ };
9393
9398
  } | undefined;
9394
9399
  };
9395
9400
  funding: {
@@ -10132,37 +10137,7 @@ declare const rpcResult: {
10132
10137
  } | undefined;
10133
10138
  };
10134
10139
  network_fee_hundredth_pips: number;
10135
- swap_retry_delay_blocks?: number | undefined;
10136
- max_swap_retry_duration_blocks?: number | undefined;
10137
- max_swap_request_duration_blocks?: number | undefined;
10138
- minimum_chunk_size?: {
10139
- Bitcoin: {
10140
- BTC: string | number | null;
10141
- };
10142
- Ethereum: {
10143
- ETH: string | number | null;
10144
- USDC: string | number | null;
10145
- FLIP: string | number | null;
10146
- USDT: string | number | null;
10147
- };
10148
- Arbitrum: {
10149
- ETH: string | number | null;
10150
- USDC: string | number | null;
10151
- };
10152
- Solana: {
10153
- USDC: string | number | null;
10154
- SOL: string | number | null;
10155
- };
10156
- Polkadot: {
10157
- DOT: string | number | null;
10158
- };
10159
- Assethub?: {
10160
- USDC: string | number | null;
10161
- USDT: string | number | null;
10162
- DOT: string | number | null;
10163
- } | undefined;
10164
- } | undefined;
10165
- network_fees?: {
10140
+ network_fees: {
10166
10141
  regular_network_fee: {
10167
10142
  standard_rate_and_minimum: {
10168
10143
  minimum: string | number;
@@ -10229,6 +10204,36 @@ declare const rpcResult: {
10229
10204
  } | undefined;
10230
10205
  };
10231
10206
  };
10207
+ };
10208
+ swap_retry_delay_blocks?: number | undefined;
10209
+ max_swap_retry_duration_blocks?: number | undefined;
10210
+ max_swap_request_duration_blocks?: number | undefined;
10211
+ minimum_chunk_size?: {
10212
+ Bitcoin: {
10213
+ BTC: string | number | null;
10214
+ };
10215
+ Ethereum: {
10216
+ ETH: string | number | null;
10217
+ USDC: string | number | null;
10218
+ FLIP: string | number | null;
10219
+ USDT: string | number | null;
10220
+ };
10221
+ Arbitrum: {
10222
+ ETH: string | number | null;
10223
+ USDC: string | number | null;
10224
+ };
10225
+ Solana: {
10226
+ USDC: string | number | null;
10227
+ SOL: string | number | null;
10228
+ };
10229
+ Polkadot: {
10230
+ DOT: string | number | null;
10231
+ };
10232
+ Assethub?: {
10233
+ USDC: string | number | null;
10234
+ USDT: string | number | null;
10235
+ DOT: string | number | null;
10236
+ } | undefined;
10232
10237
  } | undefined;
10233
10238
  };
10234
10239
  funding: {
@@ -18702,7 +18707,7 @@ declare const rpcResult: {
18702
18707
  DOT: string | number | null;
18703
18708
  } | undefined;
18704
18709
  }>>;
18705
- network_fees: z.ZodOptional<z.ZodObject<{
18710
+ network_fees: z.ZodObject<{
18706
18711
  regular_network_fee: z.ZodObject<{
18707
18712
  standard_rate_and_minimum: z.ZodObject<{
18708
18713
  rate: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
@@ -19223,7 +19228,7 @@ declare const rpcResult: {
19223
19228
  } | undefined;
19224
19229
  };
19225
19230
  };
19226
- }>>;
19231
+ }>;
19227
19232
  }, "strip", z.ZodTypeAny, {
19228
19233
  maximum_swap_amounts: {
19229
19234
  Bitcoin: {
@@ -19253,37 +19258,7 @@ declare const rpcResult: {
19253
19258
  };
19254
19259
  };
19255
19260
  network_fee_hundredth_pips: number;
19256
- swap_retry_delay_blocks?: number | undefined;
19257
- max_swap_retry_duration_blocks?: number | undefined;
19258
- max_swap_request_duration_blocks?: number | undefined;
19259
- minimum_chunk_size?: {
19260
- Bitcoin: {
19261
- BTC: bigint | null;
19262
- };
19263
- Ethereum: {
19264
- ETH: bigint | null;
19265
- USDC: bigint | null;
19266
- FLIP: bigint | null;
19267
- USDT: bigint | null;
19268
- };
19269
- Arbitrum: {
19270
- ETH: bigint | null;
19271
- USDC: bigint | null;
19272
- };
19273
- Solana: {
19274
- USDC: bigint | null;
19275
- SOL: bigint | null;
19276
- };
19277
- Polkadot: {
19278
- DOT: bigint | null;
19279
- };
19280
- Assethub: {
19281
- USDC: bigint | null;
19282
- USDT: bigint | null;
19283
- DOT: bigint | null;
19284
- };
19285
- } | undefined;
19286
- network_fees?: {
19261
+ network_fees: {
19287
19262
  regular_network_fee: {
19288
19263
  standard_rate_and_minimum: {
19289
19264
  minimum: bigint;
@@ -19350,40 +19325,39 @@ declare const rpcResult: {
19350
19325
  };
19351
19326
  };
19352
19327
  };
19353
- } | undefined;
19354
- }, {
19355
- maximum_swap_amounts: {
19328
+ };
19329
+ swap_retry_delay_blocks?: number | undefined;
19330
+ max_swap_retry_duration_blocks?: number | undefined;
19331
+ max_swap_request_duration_blocks?: number | undefined;
19332
+ minimum_chunk_size?: {
19356
19333
  Bitcoin: {
19357
- BTC: string | number | null;
19334
+ BTC: bigint | null;
19358
19335
  };
19359
19336
  Ethereum: {
19360
- ETH: string | number | null;
19361
- USDC: string | number | null;
19362
- FLIP: string | number | null;
19363
- USDT: string | number | null;
19337
+ ETH: bigint | null;
19338
+ USDC: bigint | null;
19339
+ FLIP: bigint | null;
19340
+ USDT: bigint | null;
19364
19341
  };
19365
19342
  Arbitrum: {
19366
- ETH: string | number | null;
19367
- USDC: string | number | null;
19343
+ ETH: bigint | null;
19344
+ USDC: bigint | null;
19368
19345
  };
19369
19346
  Solana: {
19370
- USDC: string | number | null;
19371
- SOL: string | number | null;
19347
+ USDC: bigint | null;
19348
+ SOL: bigint | null;
19372
19349
  };
19373
19350
  Polkadot: {
19374
- DOT: string | number | null;
19351
+ DOT: bigint | null;
19375
19352
  };
19376
- Assethub?: {
19377
- USDC: string | number | null;
19378
- USDT: string | number | null;
19379
- DOT: string | number | null;
19380
- } | undefined;
19381
- };
19382
- network_fee_hundredth_pips: number;
19383
- swap_retry_delay_blocks?: number | undefined;
19384
- max_swap_retry_duration_blocks?: number | undefined;
19385
- max_swap_request_duration_blocks?: number | undefined;
19386
- minimum_chunk_size?: {
19353
+ Assethub: {
19354
+ USDC: bigint | null;
19355
+ USDT: bigint | null;
19356
+ DOT: bigint | null;
19357
+ };
19358
+ } | undefined;
19359
+ }, {
19360
+ maximum_swap_amounts: {
19387
19361
  Bitcoin: {
19388
19362
  BTC: string | number | null;
19389
19363
  };
@@ -19409,8 +19383,9 @@ declare const rpcResult: {
19409
19383
  USDT: string | number | null;
19410
19384
  DOT: string | number | null;
19411
19385
  } | undefined;
19412
- } | undefined;
19413
- network_fees?: {
19386
+ };
19387
+ network_fee_hundredth_pips: number;
19388
+ network_fees: {
19414
19389
  regular_network_fee: {
19415
19390
  standard_rate_and_minimum: {
19416
19391
  minimum: string | number;
@@ -19477,6 +19452,36 @@ declare const rpcResult: {
19477
19452
  } | undefined;
19478
19453
  };
19479
19454
  };
19455
+ };
19456
+ swap_retry_delay_blocks?: number | undefined;
19457
+ max_swap_retry_duration_blocks?: number | undefined;
19458
+ max_swap_request_duration_blocks?: number | undefined;
19459
+ minimum_chunk_size?: {
19460
+ Bitcoin: {
19461
+ BTC: string | number | null;
19462
+ };
19463
+ Ethereum: {
19464
+ ETH: string | number | null;
19465
+ USDC: string | number | null;
19466
+ FLIP: string | number | null;
19467
+ USDT: string | number | null;
19468
+ };
19469
+ Arbitrum: {
19470
+ ETH: string | number | null;
19471
+ USDC: string | number | null;
19472
+ };
19473
+ Solana: {
19474
+ USDC: string | number | null;
19475
+ SOL: string | number | null;
19476
+ };
19477
+ Polkadot: {
19478
+ DOT: string | number | null;
19479
+ };
19480
+ Assethub?: {
19481
+ USDC: string | number | null;
19482
+ USDT: string | number | null;
19483
+ DOT: string | number | null;
19484
+ } | undefined;
19480
19485
  } | undefined;
19481
19486
  }>;
19482
19487
  readonly chain_getBlockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
@@ -20020,7 +20025,7 @@ declare const rpcResult: {
20020
20025
  min_funding: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
20021
20026
  auction_size_range: z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>;
20022
20027
  min_active_bid: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
20023
- 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>]>>>;
20028
+ min_bid: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
20024
20029
  }, "strip", z.ZodTypeAny, {
20025
20030
  epoch_duration: number;
20026
20031
  current_epoch_started_at: number;
@@ -20036,7 +20041,7 @@ declare const rpcResult: {
20036
20041
  min_funding: string | number;
20037
20042
  auction_size_range: [number, number];
20038
20043
  min_active_bid: string | number;
20039
- min_bid?: string | number | undefined;
20044
+ min_bid: string | number;
20040
20045
  }>, Omit<{
20041
20046
  epoch_duration: number;
20042
20047
  current_epoch_started_at: number;
@@ -20054,7 +20059,7 @@ declare const rpcResult: {
20054
20059
  min_funding: string | number;
20055
20060
  auction_size_range: [number, number];
20056
20061
  min_active_bid: string | number;
20057
- min_bid?: string | number | undefined;
20062
+ min_bid: string | number;
20058
20063
  }>;
20059
20064
  readonly cf_flip_supply: 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>, {
20060
20065
  totalIssuance: bigint;
@@ -22189,7 +22194,7 @@ declare const rpcResult: {
22189
22194
  range_order_update_enabled: boolean;
22190
22195
  limit_order_update_enabled: boolean;
22191
22196
  }>;
22192
- trading_strategies: z.ZodDefault<z.ZodOptional<z.ZodObject<{
22197
+ trading_strategies: z.ZodObject<{
22193
22198
  strategy_updates_enabled: z.ZodBoolean;
22194
22199
  strategy_closure_enabled: z.ZodBoolean;
22195
22200
  strategy_execution_enabled: z.ZodBoolean;
@@ -22201,7 +22206,7 @@ declare const rpcResult: {
22201
22206
  strategy_updates_enabled: boolean;
22202
22207
  strategy_closure_enabled: boolean;
22203
22208
  strategy_execution_enabled: boolean;
22204
- }>>>;
22209
+ }>;
22205
22210
  reputation: z.ZodObject<{
22206
22211
  reporting_enabled: z.ZodBoolean;
22207
22212
  }, "strip", z.ZodTypeAny, {
@@ -22539,6 +22544,11 @@ declare const rpcResult: {
22539
22544
  emissions: {
22540
22545
  emissions_sync_enabled: boolean;
22541
22546
  };
22547
+ trading_strategies: {
22548
+ strategy_updates_enabled: boolean;
22549
+ strategy_closure_enabled: boolean;
22550
+ strategy_execution_enabled: boolean;
22551
+ };
22542
22552
  reputation: {
22543
22553
  reporting_enabled: boolean;
22544
22554
  };
@@ -22614,11 +22624,6 @@ declare const rpcResult: {
22614
22624
  stop_boosting_enabled: boolean;
22615
22625
  deposits_enabled: boolean;
22616
22626
  };
22617
- trading_strategies?: {
22618
- strategy_updates_enabled: boolean;
22619
- strategy_closure_enabled: boolean;
22620
- strategy_execution_enabled: boolean;
22621
- } | undefined;
22622
22627
  }>, z.ZodObject<{
22623
22628
  emissions: z.ZodObject<{
22624
22629
  emissions_sync_enabled: z.ZodBoolean;
@@ -22683,7 +22688,7 @@ declare const rpcResult: {
22683
22688
  range_order_update_enabled: boolean;
22684
22689
  limit_order_update_enabled: boolean;
22685
22690
  }>;
22686
- trading_strategies: z.ZodDefault<z.ZodOptional<z.ZodObject<{
22691
+ trading_strategies: z.ZodObject<{
22687
22692
  strategy_updates_enabled: z.ZodBoolean;
22688
22693
  strategy_closure_enabled: z.ZodBoolean;
22689
22694
  strategy_execution_enabled: z.ZodBoolean;
@@ -22695,7 +22700,7 @@ declare const rpcResult: {
22695
22700
  strategy_updates_enabled: boolean;
22696
22701
  strategy_closure_enabled: boolean;
22697
22702
  strategy_execution_enabled: boolean;
22698
- }>>>;
22703
+ }>;
22699
22704
  reputation: z.ZodObject<{
22700
22705
  reporting_enabled: z.ZodBoolean;
22701
22706
  }, "strip", z.ZodTypeAny, {
@@ -23047,6 +23052,11 @@ declare const rpcResult: {
23047
23052
  emissions: {
23048
23053
  emissions_sync_enabled: boolean;
23049
23054
  };
23055
+ trading_strategies: {
23056
+ strategy_updates_enabled: boolean;
23057
+ strategy_closure_enabled: boolean;
23058
+ strategy_execution_enabled: boolean;
23059
+ };
23050
23060
  reputation: {
23051
23061
  reporting_enabled: boolean;
23052
23062
  };
@@ -23126,14 +23136,28 @@ declare const rpcResult: {
23126
23136
  add_boost_funds_enabled: boolean;
23127
23137
  stop_boosting_enabled: boolean;
23128
23138
  };
23129
- trading_strategies?: {
23130
- strategy_updates_enabled: boolean;
23131
- strategy_closure_enabled: boolean;
23132
- strategy_execution_enabled: boolean;
23133
- } | undefined;
23134
23139
  }>]>;
23135
23140
  readonly broker_encode_cf_parameters: z.ZodEffects<z.ZodString, `0x${string}`, string>;
23136
23141
  readonly cf_encode_cf_parameters: z.ZodEffects<z.ZodString, `0x${string}`, string>;
23142
+ readonly cf_oracle_prices: z.ZodArray<z.ZodObject<{
23143
+ price: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
23144
+ updated_at_oracle_timestamp: z.ZodNumber;
23145
+ updated_at_statechain_block: z.ZodNumber;
23146
+ base_asset: z.ZodEnum<["Btc", "Eth", "Sol", "Usdc", "Usdt", "Usd"]>;
23147
+ quote_asset: z.ZodEnum<["Btc", "Eth", "Sol", "Usdc", "Usdt", "Usd"]>;
23148
+ }, "strip", z.ZodTypeAny, {
23149
+ price: bigint;
23150
+ quote_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
23151
+ base_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
23152
+ updated_at_oracle_timestamp: number;
23153
+ updated_at_statechain_block: number;
23154
+ }, {
23155
+ price: string | number;
23156
+ quote_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
23157
+ base_asset: "Btc" | "Eth" | "Sol" | "Usdc" | "Usdt" | "Usd";
23158
+ updated_at_oracle_timestamp: number;
23159
+ updated_at_statechain_block: number;
23160
+ }>, "many">;
23137
23161
  };
23138
23162
  type RpcMethod = keyof RpcRequest;
23139
23163
  type RpcResponse<T extends RpcMethod> = z.input<(typeof rpcResult)[T]>;