@chainflip/rpc 1.9.3 → 1.9.5
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.cjs +5 -1
- package/dist/common.d.cts +758 -0
- package/dist/common.d.ts +758 -0
- package/dist/common.mjs +6 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/parsers.cjs +122 -1
- package/dist/parsers.d.cts +757 -1
- package/dist/parsers.d.ts +757 -1
- package/dist/parsers.mjs +121 -0
- package/dist/types.d.cts +5 -1
- package/dist/types.d.ts +5 -1
- package/package.json +4 -4
package/dist/common.d.cts
CHANGED
|
@@ -154,6 +154,8 @@ type RpcRequest = WithHash<{
|
|
|
154
154
|
orders: number
|
|
155
155
|
];
|
|
156
156
|
cf_get_trading_strategies: [accountId?: Nullish<string>];
|
|
157
|
+
cf_available_pools: [];
|
|
158
|
+
cf_safe_mode_statuses: [];
|
|
157
159
|
}> & {
|
|
158
160
|
chain_getBlockHash: [blockHeight?: number];
|
|
159
161
|
};
|
|
@@ -19164,6 +19166,762 @@ declare const rpcResult: {
|
|
|
19164
19166
|
asset: "USDT";
|
|
19165
19167
|
}, string | number][];
|
|
19166
19168
|
}>, "many">>;
|
|
19169
|
+
readonly cf_available_pools: z.ZodArray<z.ZodObject<{
|
|
19170
|
+
base: z.ZodEffects<z.ZodUnion<[z.ZodObject<{
|
|
19171
|
+
chain: z.ZodLiteral<"Bitcoin">;
|
|
19172
|
+
asset: z.ZodLiteral<"BTC">;
|
|
19173
|
+
}, "strip", z.ZodTypeAny, {
|
|
19174
|
+
chain: "Bitcoin";
|
|
19175
|
+
asset: "BTC";
|
|
19176
|
+
}, {
|
|
19177
|
+
chain: "Bitcoin";
|
|
19178
|
+
asset: "BTC";
|
|
19179
|
+
}>, z.ZodObject<{
|
|
19180
|
+
chain: z.ZodLiteral<"Polkadot">;
|
|
19181
|
+
asset: z.ZodLiteral<"DOT">;
|
|
19182
|
+
}, "strip", z.ZodTypeAny, {
|
|
19183
|
+
chain: "Polkadot";
|
|
19184
|
+
asset: "DOT";
|
|
19185
|
+
}, {
|
|
19186
|
+
chain: "Polkadot";
|
|
19187
|
+
asset: "DOT";
|
|
19188
|
+
}>, z.ZodObject<{
|
|
19189
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19190
|
+
asset: z.ZodLiteral<"FLIP">;
|
|
19191
|
+
}, "strip", z.ZodTypeAny, {
|
|
19192
|
+
chain: "Ethereum";
|
|
19193
|
+
asset: "FLIP";
|
|
19194
|
+
}, {
|
|
19195
|
+
chain: "Ethereum";
|
|
19196
|
+
asset: "FLIP";
|
|
19197
|
+
}>, z.ZodObject<{
|
|
19198
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19199
|
+
asset: z.ZodLiteral<"ETH">;
|
|
19200
|
+
}, "strip", z.ZodTypeAny, {
|
|
19201
|
+
chain: "Ethereum";
|
|
19202
|
+
asset: "ETH";
|
|
19203
|
+
}, {
|
|
19204
|
+
chain: "Ethereum";
|
|
19205
|
+
asset: "ETH";
|
|
19206
|
+
}>, z.ZodObject<{
|
|
19207
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19208
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19209
|
+
}, "strip", z.ZodTypeAny, {
|
|
19210
|
+
chain: "Ethereum";
|
|
19211
|
+
asset: "USDC";
|
|
19212
|
+
}, {
|
|
19213
|
+
chain: "Ethereum";
|
|
19214
|
+
asset: "USDC";
|
|
19215
|
+
}>, z.ZodObject<{
|
|
19216
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19217
|
+
asset: z.ZodLiteral<"USDT">;
|
|
19218
|
+
}, "strip", z.ZodTypeAny, {
|
|
19219
|
+
chain: "Ethereum";
|
|
19220
|
+
asset: "USDT";
|
|
19221
|
+
}, {
|
|
19222
|
+
chain: "Ethereum";
|
|
19223
|
+
asset: "USDT";
|
|
19224
|
+
}>, z.ZodObject<{
|
|
19225
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
19226
|
+
asset: z.ZodLiteral<"ETH">;
|
|
19227
|
+
}, "strip", z.ZodTypeAny, {
|
|
19228
|
+
chain: "Arbitrum";
|
|
19229
|
+
asset: "ETH";
|
|
19230
|
+
}, {
|
|
19231
|
+
chain: "Arbitrum";
|
|
19232
|
+
asset: "ETH";
|
|
19233
|
+
}>, z.ZodObject<{
|
|
19234
|
+
chain: z.ZodLiteral<"Arbitrum">;
|
|
19235
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19236
|
+
}, "strip", z.ZodTypeAny, {
|
|
19237
|
+
chain: "Arbitrum";
|
|
19238
|
+
asset: "USDC";
|
|
19239
|
+
}, {
|
|
19240
|
+
chain: "Arbitrum";
|
|
19241
|
+
asset: "USDC";
|
|
19242
|
+
}>, z.ZodObject<{
|
|
19243
|
+
chain: z.ZodLiteral<"Solana">;
|
|
19244
|
+
asset: z.ZodLiteral<"SOL">;
|
|
19245
|
+
}, "strip", z.ZodTypeAny, {
|
|
19246
|
+
chain: "Solana";
|
|
19247
|
+
asset: "SOL";
|
|
19248
|
+
}, {
|
|
19249
|
+
chain: "Solana";
|
|
19250
|
+
asset: "SOL";
|
|
19251
|
+
}>, z.ZodObject<{
|
|
19252
|
+
chain: z.ZodLiteral<"Solana">;
|
|
19253
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19254
|
+
}, "strip", z.ZodTypeAny, {
|
|
19255
|
+
chain: "Solana";
|
|
19256
|
+
asset: "USDC";
|
|
19257
|
+
}, {
|
|
19258
|
+
chain: "Solana";
|
|
19259
|
+
asset: "USDC";
|
|
19260
|
+
}>, z.ZodObject<{
|
|
19261
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
19262
|
+
asset: z.ZodLiteral<"DOT">;
|
|
19263
|
+
}, "strip", z.ZodTypeAny, {
|
|
19264
|
+
chain: "Assethub";
|
|
19265
|
+
asset: "DOT";
|
|
19266
|
+
}, {
|
|
19267
|
+
chain: "Assethub";
|
|
19268
|
+
asset: "DOT";
|
|
19269
|
+
}>, z.ZodObject<{
|
|
19270
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
19271
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19272
|
+
}, "strip", z.ZodTypeAny, {
|
|
19273
|
+
chain: "Assethub";
|
|
19274
|
+
asset: "USDC";
|
|
19275
|
+
}, {
|
|
19276
|
+
chain: "Assethub";
|
|
19277
|
+
asset: "USDC";
|
|
19278
|
+
}>, z.ZodObject<{
|
|
19279
|
+
chain: z.ZodLiteral<"Assethub">;
|
|
19280
|
+
asset: z.ZodLiteral<"USDT">;
|
|
19281
|
+
}, "strip", z.ZodTypeAny, {
|
|
19282
|
+
chain: "Assethub";
|
|
19283
|
+
asset: "USDT";
|
|
19284
|
+
}, {
|
|
19285
|
+
chain: "Assethub";
|
|
19286
|
+
asset: "USDT";
|
|
19287
|
+
}>]>, {
|
|
19288
|
+
chain: "Bitcoin";
|
|
19289
|
+
asset: "BTC";
|
|
19290
|
+
} | {
|
|
19291
|
+
chain: "Polkadot";
|
|
19292
|
+
asset: "DOT";
|
|
19293
|
+
} | {
|
|
19294
|
+
chain: "Ethereum";
|
|
19295
|
+
asset: "FLIP";
|
|
19296
|
+
} | {
|
|
19297
|
+
chain: "Ethereum";
|
|
19298
|
+
asset: "ETH";
|
|
19299
|
+
} | {
|
|
19300
|
+
chain: "Ethereum";
|
|
19301
|
+
asset: "USDT";
|
|
19302
|
+
} | {
|
|
19303
|
+
chain: "Arbitrum";
|
|
19304
|
+
asset: "ETH";
|
|
19305
|
+
} | {
|
|
19306
|
+
chain: "Arbitrum";
|
|
19307
|
+
asset: "USDC";
|
|
19308
|
+
} | {
|
|
19309
|
+
chain: "Solana";
|
|
19310
|
+
asset: "SOL";
|
|
19311
|
+
} | {
|
|
19312
|
+
chain: "Solana";
|
|
19313
|
+
asset: "USDC";
|
|
19314
|
+
} | {
|
|
19315
|
+
chain: "Assethub";
|
|
19316
|
+
asset: "DOT";
|
|
19317
|
+
} | {
|
|
19318
|
+
chain: "Assethub";
|
|
19319
|
+
asset: "USDC";
|
|
19320
|
+
} | {
|
|
19321
|
+
chain: "Assethub";
|
|
19322
|
+
asset: "USDT";
|
|
19323
|
+
}, {
|
|
19324
|
+
chain: "Bitcoin";
|
|
19325
|
+
asset: "BTC";
|
|
19326
|
+
} | {
|
|
19327
|
+
chain: "Polkadot";
|
|
19328
|
+
asset: "DOT";
|
|
19329
|
+
} | {
|
|
19330
|
+
chain: "Ethereum";
|
|
19331
|
+
asset: "FLIP";
|
|
19332
|
+
} | {
|
|
19333
|
+
chain: "Ethereum";
|
|
19334
|
+
asset: "ETH";
|
|
19335
|
+
} | {
|
|
19336
|
+
chain: "Ethereum";
|
|
19337
|
+
asset: "USDC";
|
|
19338
|
+
} | {
|
|
19339
|
+
chain: "Ethereum";
|
|
19340
|
+
asset: "USDT";
|
|
19341
|
+
} | {
|
|
19342
|
+
chain: "Arbitrum";
|
|
19343
|
+
asset: "ETH";
|
|
19344
|
+
} | {
|
|
19345
|
+
chain: "Arbitrum";
|
|
19346
|
+
asset: "USDC";
|
|
19347
|
+
} | {
|
|
19348
|
+
chain: "Solana";
|
|
19349
|
+
asset: "SOL";
|
|
19350
|
+
} | {
|
|
19351
|
+
chain: "Solana";
|
|
19352
|
+
asset: "USDC";
|
|
19353
|
+
} | {
|
|
19354
|
+
chain: "Assethub";
|
|
19355
|
+
asset: "DOT";
|
|
19356
|
+
} | {
|
|
19357
|
+
chain: "Assethub";
|
|
19358
|
+
asset: "USDC";
|
|
19359
|
+
} | {
|
|
19360
|
+
chain: "Assethub";
|
|
19361
|
+
asset: "USDT";
|
|
19362
|
+
}>;
|
|
19363
|
+
quote: z.ZodObject<{
|
|
19364
|
+
chain: z.ZodLiteral<"Ethereum">;
|
|
19365
|
+
asset: z.ZodLiteral<"USDC">;
|
|
19366
|
+
}, "strip", z.ZodTypeAny, {
|
|
19367
|
+
chain: "Ethereum";
|
|
19368
|
+
asset: "USDC";
|
|
19369
|
+
}, {
|
|
19370
|
+
chain: "Ethereum";
|
|
19371
|
+
asset: "USDC";
|
|
19372
|
+
}>;
|
|
19373
|
+
}, "strip", z.ZodTypeAny, {
|
|
19374
|
+
base: {
|
|
19375
|
+
chain: "Bitcoin";
|
|
19376
|
+
asset: "BTC";
|
|
19377
|
+
} | {
|
|
19378
|
+
chain: "Polkadot";
|
|
19379
|
+
asset: "DOT";
|
|
19380
|
+
} | {
|
|
19381
|
+
chain: "Ethereum";
|
|
19382
|
+
asset: "FLIP";
|
|
19383
|
+
} | {
|
|
19384
|
+
chain: "Ethereum";
|
|
19385
|
+
asset: "ETH";
|
|
19386
|
+
} | {
|
|
19387
|
+
chain: "Ethereum";
|
|
19388
|
+
asset: "USDT";
|
|
19389
|
+
} | {
|
|
19390
|
+
chain: "Arbitrum";
|
|
19391
|
+
asset: "ETH";
|
|
19392
|
+
} | {
|
|
19393
|
+
chain: "Arbitrum";
|
|
19394
|
+
asset: "USDC";
|
|
19395
|
+
} | {
|
|
19396
|
+
chain: "Solana";
|
|
19397
|
+
asset: "SOL";
|
|
19398
|
+
} | {
|
|
19399
|
+
chain: "Solana";
|
|
19400
|
+
asset: "USDC";
|
|
19401
|
+
} | {
|
|
19402
|
+
chain: "Assethub";
|
|
19403
|
+
asset: "DOT";
|
|
19404
|
+
} | {
|
|
19405
|
+
chain: "Assethub";
|
|
19406
|
+
asset: "USDC";
|
|
19407
|
+
} | {
|
|
19408
|
+
chain: "Assethub";
|
|
19409
|
+
asset: "USDT";
|
|
19410
|
+
};
|
|
19411
|
+
quote: {
|
|
19412
|
+
chain: "Ethereum";
|
|
19413
|
+
asset: "USDC";
|
|
19414
|
+
};
|
|
19415
|
+
}, {
|
|
19416
|
+
base: {
|
|
19417
|
+
chain: "Bitcoin";
|
|
19418
|
+
asset: "BTC";
|
|
19419
|
+
} | {
|
|
19420
|
+
chain: "Polkadot";
|
|
19421
|
+
asset: "DOT";
|
|
19422
|
+
} | {
|
|
19423
|
+
chain: "Ethereum";
|
|
19424
|
+
asset: "FLIP";
|
|
19425
|
+
} | {
|
|
19426
|
+
chain: "Ethereum";
|
|
19427
|
+
asset: "ETH";
|
|
19428
|
+
} | {
|
|
19429
|
+
chain: "Ethereum";
|
|
19430
|
+
asset: "USDC";
|
|
19431
|
+
} | {
|
|
19432
|
+
chain: "Ethereum";
|
|
19433
|
+
asset: "USDT";
|
|
19434
|
+
} | {
|
|
19435
|
+
chain: "Arbitrum";
|
|
19436
|
+
asset: "ETH";
|
|
19437
|
+
} | {
|
|
19438
|
+
chain: "Arbitrum";
|
|
19439
|
+
asset: "USDC";
|
|
19440
|
+
} | {
|
|
19441
|
+
chain: "Solana";
|
|
19442
|
+
asset: "SOL";
|
|
19443
|
+
} | {
|
|
19444
|
+
chain: "Solana";
|
|
19445
|
+
asset: "USDC";
|
|
19446
|
+
} | {
|
|
19447
|
+
chain: "Assethub";
|
|
19448
|
+
asset: "DOT";
|
|
19449
|
+
} | {
|
|
19450
|
+
chain: "Assethub";
|
|
19451
|
+
asset: "USDC";
|
|
19452
|
+
} | {
|
|
19453
|
+
chain: "Assethub";
|
|
19454
|
+
asset: "USDT";
|
|
19455
|
+
};
|
|
19456
|
+
quote: {
|
|
19457
|
+
chain: "Ethereum";
|
|
19458
|
+
asset: "USDC";
|
|
19459
|
+
};
|
|
19460
|
+
}>, "many">;
|
|
19461
|
+
readonly cf_safe_mode_statuses: z.ZodObject<{
|
|
19462
|
+
emissions: z.ZodObject<{
|
|
19463
|
+
emissions_sync_enabled: z.ZodBoolean;
|
|
19464
|
+
}, "strip", z.ZodTypeAny, {
|
|
19465
|
+
emissions_sync_enabled: boolean;
|
|
19466
|
+
}, {
|
|
19467
|
+
emissions_sync_enabled: boolean;
|
|
19468
|
+
}>;
|
|
19469
|
+
funding: z.ZodObject<{
|
|
19470
|
+
redeem_enabled: z.ZodBoolean;
|
|
19471
|
+
}, "strip", z.ZodTypeAny, {
|
|
19472
|
+
redeem_enabled: boolean;
|
|
19473
|
+
}, {
|
|
19474
|
+
redeem_enabled: boolean;
|
|
19475
|
+
}>;
|
|
19476
|
+
swapping: z.ZodObject<{
|
|
19477
|
+
swaps_enabled: z.ZodBoolean;
|
|
19478
|
+
withdrawals_enabled: z.ZodBoolean;
|
|
19479
|
+
broker_registration_enabled: z.ZodBoolean;
|
|
19480
|
+
}, "strip", z.ZodTypeAny, {
|
|
19481
|
+
swaps_enabled: boolean;
|
|
19482
|
+
withdrawals_enabled: boolean;
|
|
19483
|
+
broker_registration_enabled: boolean;
|
|
19484
|
+
}, {
|
|
19485
|
+
swaps_enabled: boolean;
|
|
19486
|
+
withdrawals_enabled: boolean;
|
|
19487
|
+
broker_registration_enabled: boolean;
|
|
19488
|
+
}>;
|
|
19489
|
+
liquidity_provider: z.ZodObject<{
|
|
19490
|
+
deposit_enabled: z.ZodBoolean;
|
|
19491
|
+
withdrawal_enabled: z.ZodBoolean;
|
|
19492
|
+
internal_swaps_enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
19493
|
+
}, "strip", z.ZodTypeAny, {
|
|
19494
|
+
deposit_enabled: boolean;
|
|
19495
|
+
withdrawal_enabled: boolean;
|
|
19496
|
+
internal_swaps_enabled: boolean;
|
|
19497
|
+
}, {
|
|
19498
|
+
deposit_enabled: boolean;
|
|
19499
|
+
withdrawal_enabled: boolean;
|
|
19500
|
+
internal_swaps_enabled?: boolean | undefined;
|
|
19501
|
+
}>;
|
|
19502
|
+
validator: z.ZodObject<{
|
|
19503
|
+
authority_rotation_enabled: z.ZodBoolean;
|
|
19504
|
+
start_bidding_enabled: z.ZodBoolean;
|
|
19505
|
+
stop_bidding_enabled: z.ZodBoolean;
|
|
19506
|
+
}, "strip", z.ZodTypeAny, {
|
|
19507
|
+
authority_rotation_enabled: boolean;
|
|
19508
|
+
start_bidding_enabled: boolean;
|
|
19509
|
+
stop_bidding_enabled: boolean;
|
|
19510
|
+
}, {
|
|
19511
|
+
authority_rotation_enabled: boolean;
|
|
19512
|
+
start_bidding_enabled: boolean;
|
|
19513
|
+
stop_bidding_enabled: boolean;
|
|
19514
|
+
}>;
|
|
19515
|
+
pools: z.ZodObject<{
|
|
19516
|
+
range_order_update_enabled: z.ZodBoolean;
|
|
19517
|
+
limit_order_update_enabled: z.ZodBoolean;
|
|
19518
|
+
}, "strip", z.ZodTypeAny, {
|
|
19519
|
+
range_order_update_enabled: boolean;
|
|
19520
|
+
limit_order_update_enabled: boolean;
|
|
19521
|
+
}, {
|
|
19522
|
+
range_order_update_enabled: boolean;
|
|
19523
|
+
limit_order_update_enabled: boolean;
|
|
19524
|
+
}>;
|
|
19525
|
+
trading_strategies: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
19526
|
+
strategy_updates_enabled: z.ZodBoolean;
|
|
19527
|
+
strategy_closure_enabled: z.ZodBoolean;
|
|
19528
|
+
strategy_execution_enabled: z.ZodBoolean;
|
|
19529
|
+
}, "strip", z.ZodTypeAny, {
|
|
19530
|
+
strategy_updates_enabled: boolean;
|
|
19531
|
+
strategy_closure_enabled: boolean;
|
|
19532
|
+
strategy_execution_enabled: boolean;
|
|
19533
|
+
}, {
|
|
19534
|
+
strategy_updates_enabled: boolean;
|
|
19535
|
+
strategy_closure_enabled: boolean;
|
|
19536
|
+
strategy_execution_enabled: boolean;
|
|
19537
|
+
}>>>;
|
|
19538
|
+
reputation: z.ZodObject<{
|
|
19539
|
+
reporting_enabled: z.ZodBoolean;
|
|
19540
|
+
}, "strip", z.ZodTypeAny, {
|
|
19541
|
+
reporting_enabled: boolean;
|
|
19542
|
+
}, {
|
|
19543
|
+
reporting_enabled: boolean;
|
|
19544
|
+
}>;
|
|
19545
|
+
asset_balances: z.ZodObject<{
|
|
19546
|
+
reconciliation_enabled: z.ZodBoolean;
|
|
19547
|
+
}, "strip", z.ZodTypeAny, {
|
|
19548
|
+
reconciliation_enabled: boolean;
|
|
19549
|
+
}, {
|
|
19550
|
+
reconciliation_enabled: boolean;
|
|
19551
|
+
}>;
|
|
19552
|
+
threshold_signature_evm: z.ZodObject<{
|
|
19553
|
+
slashing_enabled: z.ZodBoolean;
|
|
19554
|
+
}, "strip", z.ZodTypeAny, {
|
|
19555
|
+
slashing_enabled: boolean;
|
|
19556
|
+
}, {
|
|
19557
|
+
slashing_enabled: boolean;
|
|
19558
|
+
}>;
|
|
19559
|
+
threshold_signature_bitcoin: z.ZodObject<{
|
|
19560
|
+
slashing_enabled: z.ZodBoolean;
|
|
19561
|
+
}, "strip", z.ZodTypeAny, {
|
|
19562
|
+
slashing_enabled: boolean;
|
|
19563
|
+
}, {
|
|
19564
|
+
slashing_enabled: boolean;
|
|
19565
|
+
}>;
|
|
19566
|
+
threshold_signature_polkadot: z.ZodObject<{
|
|
19567
|
+
slashing_enabled: z.ZodBoolean;
|
|
19568
|
+
}, "strip", z.ZodTypeAny, {
|
|
19569
|
+
slashing_enabled: boolean;
|
|
19570
|
+
}, {
|
|
19571
|
+
slashing_enabled: boolean;
|
|
19572
|
+
}>;
|
|
19573
|
+
threshold_signature_solana: z.ZodObject<{
|
|
19574
|
+
slashing_enabled: z.ZodBoolean;
|
|
19575
|
+
}, "strip", z.ZodTypeAny, {
|
|
19576
|
+
slashing_enabled: boolean;
|
|
19577
|
+
}, {
|
|
19578
|
+
slashing_enabled: boolean;
|
|
19579
|
+
}>;
|
|
19580
|
+
broadcast_ethereum: z.ZodObject<{
|
|
19581
|
+
retry_enabled: z.ZodBoolean;
|
|
19582
|
+
}, "strip", z.ZodTypeAny, {
|
|
19583
|
+
retry_enabled: boolean;
|
|
19584
|
+
}, {
|
|
19585
|
+
retry_enabled: boolean;
|
|
19586
|
+
}>;
|
|
19587
|
+
broadcast_bitcoin: z.ZodObject<{
|
|
19588
|
+
retry_enabled: z.ZodBoolean;
|
|
19589
|
+
}, "strip", z.ZodTypeAny, {
|
|
19590
|
+
retry_enabled: boolean;
|
|
19591
|
+
}, {
|
|
19592
|
+
retry_enabled: boolean;
|
|
19593
|
+
}>;
|
|
19594
|
+
broadcast_polkadot: z.ZodObject<{
|
|
19595
|
+
retry_enabled: z.ZodBoolean;
|
|
19596
|
+
}, "strip", z.ZodTypeAny, {
|
|
19597
|
+
retry_enabled: boolean;
|
|
19598
|
+
}, {
|
|
19599
|
+
retry_enabled: boolean;
|
|
19600
|
+
}>;
|
|
19601
|
+
broadcast_arbitrum: z.ZodObject<{
|
|
19602
|
+
retry_enabled: z.ZodBoolean;
|
|
19603
|
+
}, "strip", z.ZodTypeAny, {
|
|
19604
|
+
retry_enabled: boolean;
|
|
19605
|
+
}, {
|
|
19606
|
+
retry_enabled: boolean;
|
|
19607
|
+
}>;
|
|
19608
|
+
broadcast_solana: z.ZodObject<{
|
|
19609
|
+
retry_enabled: z.ZodBoolean;
|
|
19610
|
+
}, "strip", z.ZodTypeAny, {
|
|
19611
|
+
retry_enabled: boolean;
|
|
19612
|
+
}, {
|
|
19613
|
+
retry_enabled: boolean;
|
|
19614
|
+
}>;
|
|
19615
|
+
broadcast_assethub: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
19616
|
+
retry_enabled: z.ZodBoolean;
|
|
19617
|
+
}, "strip", z.ZodTypeAny, {
|
|
19618
|
+
retry_enabled: boolean;
|
|
19619
|
+
}, {
|
|
19620
|
+
retry_enabled: boolean;
|
|
19621
|
+
}>>>;
|
|
19622
|
+
ingress_egress_ethereum: z.ZodObject<{
|
|
19623
|
+
boost_deposits_enabled: z.ZodBoolean;
|
|
19624
|
+
add_boost_funds_enabled: z.ZodBoolean;
|
|
19625
|
+
stop_boosting_enabled: z.ZodBoolean;
|
|
19626
|
+
deposits_enabled: z.ZodBoolean;
|
|
19627
|
+
}, "strip", z.ZodTypeAny, {
|
|
19628
|
+
boost_deposits_enabled: boolean;
|
|
19629
|
+
add_boost_funds_enabled: boolean;
|
|
19630
|
+
stop_boosting_enabled: boolean;
|
|
19631
|
+
deposits_enabled: boolean;
|
|
19632
|
+
}, {
|
|
19633
|
+
boost_deposits_enabled: boolean;
|
|
19634
|
+
add_boost_funds_enabled: boolean;
|
|
19635
|
+
stop_boosting_enabled: boolean;
|
|
19636
|
+
deposits_enabled: boolean;
|
|
19637
|
+
}>;
|
|
19638
|
+
ingress_egress_bitcoin: z.ZodObject<{
|
|
19639
|
+
boost_deposits_enabled: z.ZodBoolean;
|
|
19640
|
+
add_boost_funds_enabled: z.ZodBoolean;
|
|
19641
|
+
stop_boosting_enabled: z.ZodBoolean;
|
|
19642
|
+
deposits_enabled: z.ZodBoolean;
|
|
19643
|
+
}, "strip", z.ZodTypeAny, {
|
|
19644
|
+
boost_deposits_enabled: boolean;
|
|
19645
|
+
add_boost_funds_enabled: boolean;
|
|
19646
|
+
stop_boosting_enabled: boolean;
|
|
19647
|
+
deposits_enabled: boolean;
|
|
19648
|
+
}, {
|
|
19649
|
+
boost_deposits_enabled: boolean;
|
|
19650
|
+
add_boost_funds_enabled: boolean;
|
|
19651
|
+
stop_boosting_enabled: boolean;
|
|
19652
|
+
deposits_enabled: boolean;
|
|
19653
|
+
}>;
|
|
19654
|
+
ingress_egress_polkadot: z.ZodObject<{
|
|
19655
|
+
boost_deposits_enabled: z.ZodBoolean;
|
|
19656
|
+
add_boost_funds_enabled: z.ZodBoolean;
|
|
19657
|
+
stop_boosting_enabled: z.ZodBoolean;
|
|
19658
|
+
deposits_enabled: z.ZodBoolean;
|
|
19659
|
+
}, "strip", z.ZodTypeAny, {
|
|
19660
|
+
boost_deposits_enabled: boolean;
|
|
19661
|
+
add_boost_funds_enabled: boolean;
|
|
19662
|
+
stop_boosting_enabled: boolean;
|
|
19663
|
+
deposits_enabled: boolean;
|
|
19664
|
+
}, {
|
|
19665
|
+
boost_deposits_enabled: boolean;
|
|
19666
|
+
add_boost_funds_enabled: boolean;
|
|
19667
|
+
stop_boosting_enabled: boolean;
|
|
19668
|
+
deposits_enabled: boolean;
|
|
19669
|
+
}>;
|
|
19670
|
+
ingress_egress_arbitrum: z.ZodObject<{
|
|
19671
|
+
boost_deposits_enabled: z.ZodBoolean;
|
|
19672
|
+
add_boost_funds_enabled: z.ZodBoolean;
|
|
19673
|
+
stop_boosting_enabled: z.ZodBoolean;
|
|
19674
|
+
deposits_enabled: z.ZodBoolean;
|
|
19675
|
+
}, "strip", z.ZodTypeAny, {
|
|
19676
|
+
boost_deposits_enabled: boolean;
|
|
19677
|
+
add_boost_funds_enabled: boolean;
|
|
19678
|
+
stop_boosting_enabled: boolean;
|
|
19679
|
+
deposits_enabled: boolean;
|
|
19680
|
+
}, {
|
|
19681
|
+
boost_deposits_enabled: boolean;
|
|
19682
|
+
add_boost_funds_enabled: boolean;
|
|
19683
|
+
stop_boosting_enabled: boolean;
|
|
19684
|
+
deposits_enabled: boolean;
|
|
19685
|
+
}>;
|
|
19686
|
+
ingress_egress_solana: z.ZodObject<{
|
|
19687
|
+
boost_deposits_enabled: z.ZodBoolean;
|
|
19688
|
+
add_boost_funds_enabled: z.ZodBoolean;
|
|
19689
|
+
stop_boosting_enabled: z.ZodBoolean;
|
|
19690
|
+
deposits_enabled: z.ZodBoolean;
|
|
19691
|
+
}, "strip", z.ZodTypeAny, {
|
|
19692
|
+
boost_deposits_enabled: boolean;
|
|
19693
|
+
add_boost_funds_enabled: boolean;
|
|
19694
|
+
stop_boosting_enabled: boolean;
|
|
19695
|
+
deposits_enabled: boolean;
|
|
19696
|
+
}, {
|
|
19697
|
+
boost_deposits_enabled: boolean;
|
|
19698
|
+
add_boost_funds_enabled: boolean;
|
|
19699
|
+
stop_boosting_enabled: boolean;
|
|
19700
|
+
deposits_enabled: boolean;
|
|
19701
|
+
}>;
|
|
19702
|
+
ingress_egress_assethub: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
19703
|
+
boost_deposits_enabled: z.ZodBoolean;
|
|
19704
|
+
add_boost_funds_enabled: z.ZodBoolean;
|
|
19705
|
+
stop_boosting_enabled: z.ZodBoolean;
|
|
19706
|
+
deposits_enabled: z.ZodBoolean;
|
|
19707
|
+
}, "strip", z.ZodTypeAny, {
|
|
19708
|
+
boost_deposits_enabled: boolean;
|
|
19709
|
+
add_boost_funds_enabled: boolean;
|
|
19710
|
+
stop_boosting_enabled: boolean;
|
|
19711
|
+
deposits_enabled: boolean;
|
|
19712
|
+
}, {
|
|
19713
|
+
boost_deposits_enabled: boolean;
|
|
19714
|
+
add_boost_funds_enabled: boolean;
|
|
19715
|
+
stop_boosting_enabled: boolean;
|
|
19716
|
+
deposits_enabled: boolean;
|
|
19717
|
+
}>>>;
|
|
19718
|
+
}, "strip", z.ZodTypeAny, {
|
|
19719
|
+
asset_balances: {
|
|
19720
|
+
reconciliation_enabled: boolean;
|
|
19721
|
+
};
|
|
19722
|
+
liquidity_provider: {
|
|
19723
|
+
deposit_enabled: boolean;
|
|
19724
|
+
withdrawal_enabled: boolean;
|
|
19725
|
+
internal_swaps_enabled: boolean;
|
|
19726
|
+
};
|
|
19727
|
+
validator: {
|
|
19728
|
+
authority_rotation_enabled: boolean;
|
|
19729
|
+
start_bidding_enabled: boolean;
|
|
19730
|
+
stop_bidding_enabled: boolean;
|
|
19731
|
+
};
|
|
19732
|
+
swapping: {
|
|
19733
|
+
swaps_enabled: boolean;
|
|
19734
|
+
withdrawals_enabled: boolean;
|
|
19735
|
+
broker_registration_enabled: boolean;
|
|
19736
|
+
};
|
|
19737
|
+
funding: {
|
|
19738
|
+
redeem_enabled: boolean;
|
|
19739
|
+
};
|
|
19740
|
+
pools: {
|
|
19741
|
+
range_order_update_enabled: boolean;
|
|
19742
|
+
limit_order_update_enabled: boolean;
|
|
19743
|
+
};
|
|
19744
|
+
emissions: {
|
|
19745
|
+
emissions_sync_enabled: boolean;
|
|
19746
|
+
};
|
|
19747
|
+
trading_strategies: {
|
|
19748
|
+
strategy_updates_enabled: boolean;
|
|
19749
|
+
strategy_closure_enabled: boolean;
|
|
19750
|
+
strategy_execution_enabled: boolean;
|
|
19751
|
+
};
|
|
19752
|
+
reputation: {
|
|
19753
|
+
reporting_enabled: boolean;
|
|
19754
|
+
};
|
|
19755
|
+
threshold_signature_evm: {
|
|
19756
|
+
slashing_enabled: boolean;
|
|
19757
|
+
};
|
|
19758
|
+
threshold_signature_bitcoin: {
|
|
19759
|
+
slashing_enabled: boolean;
|
|
19760
|
+
};
|
|
19761
|
+
threshold_signature_polkadot: {
|
|
19762
|
+
slashing_enabled: boolean;
|
|
19763
|
+
};
|
|
19764
|
+
threshold_signature_solana: {
|
|
19765
|
+
slashing_enabled: boolean;
|
|
19766
|
+
};
|
|
19767
|
+
broadcast_ethereum: {
|
|
19768
|
+
retry_enabled: boolean;
|
|
19769
|
+
};
|
|
19770
|
+
broadcast_bitcoin: {
|
|
19771
|
+
retry_enabled: boolean;
|
|
19772
|
+
};
|
|
19773
|
+
broadcast_polkadot: {
|
|
19774
|
+
retry_enabled: boolean;
|
|
19775
|
+
};
|
|
19776
|
+
broadcast_arbitrum: {
|
|
19777
|
+
retry_enabled: boolean;
|
|
19778
|
+
};
|
|
19779
|
+
broadcast_solana: {
|
|
19780
|
+
retry_enabled: boolean;
|
|
19781
|
+
};
|
|
19782
|
+
broadcast_assethub: {
|
|
19783
|
+
retry_enabled: boolean;
|
|
19784
|
+
};
|
|
19785
|
+
ingress_egress_ethereum: {
|
|
19786
|
+
boost_deposits_enabled: boolean;
|
|
19787
|
+
add_boost_funds_enabled: boolean;
|
|
19788
|
+
stop_boosting_enabled: boolean;
|
|
19789
|
+
deposits_enabled: boolean;
|
|
19790
|
+
};
|
|
19791
|
+
ingress_egress_bitcoin: {
|
|
19792
|
+
boost_deposits_enabled: boolean;
|
|
19793
|
+
add_boost_funds_enabled: boolean;
|
|
19794
|
+
stop_boosting_enabled: boolean;
|
|
19795
|
+
deposits_enabled: boolean;
|
|
19796
|
+
};
|
|
19797
|
+
ingress_egress_polkadot: {
|
|
19798
|
+
boost_deposits_enabled: boolean;
|
|
19799
|
+
add_boost_funds_enabled: boolean;
|
|
19800
|
+
stop_boosting_enabled: boolean;
|
|
19801
|
+
deposits_enabled: boolean;
|
|
19802
|
+
};
|
|
19803
|
+
ingress_egress_arbitrum: {
|
|
19804
|
+
boost_deposits_enabled: boolean;
|
|
19805
|
+
add_boost_funds_enabled: boolean;
|
|
19806
|
+
stop_boosting_enabled: boolean;
|
|
19807
|
+
deposits_enabled: boolean;
|
|
19808
|
+
};
|
|
19809
|
+
ingress_egress_solana: {
|
|
19810
|
+
boost_deposits_enabled: boolean;
|
|
19811
|
+
add_boost_funds_enabled: boolean;
|
|
19812
|
+
stop_boosting_enabled: boolean;
|
|
19813
|
+
deposits_enabled: boolean;
|
|
19814
|
+
};
|
|
19815
|
+
ingress_egress_assethub: {
|
|
19816
|
+
boost_deposits_enabled: boolean;
|
|
19817
|
+
add_boost_funds_enabled: boolean;
|
|
19818
|
+
stop_boosting_enabled: boolean;
|
|
19819
|
+
deposits_enabled: boolean;
|
|
19820
|
+
};
|
|
19821
|
+
}, {
|
|
19822
|
+
asset_balances: {
|
|
19823
|
+
reconciliation_enabled: boolean;
|
|
19824
|
+
};
|
|
19825
|
+
liquidity_provider: {
|
|
19826
|
+
deposit_enabled: boolean;
|
|
19827
|
+
withdrawal_enabled: boolean;
|
|
19828
|
+
internal_swaps_enabled?: boolean | undefined;
|
|
19829
|
+
};
|
|
19830
|
+
validator: {
|
|
19831
|
+
authority_rotation_enabled: boolean;
|
|
19832
|
+
start_bidding_enabled: boolean;
|
|
19833
|
+
stop_bidding_enabled: boolean;
|
|
19834
|
+
};
|
|
19835
|
+
swapping: {
|
|
19836
|
+
swaps_enabled: boolean;
|
|
19837
|
+
withdrawals_enabled: boolean;
|
|
19838
|
+
broker_registration_enabled: boolean;
|
|
19839
|
+
};
|
|
19840
|
+
funding: {
|
|
19841
|
+
redeem_enabled: boolean;
|
|
19842
|
+
};
|
|
19843
|
+
pools: {
|
|
19844
|
+
range_order_update_enabled: boolean;
|
|
19845
|
+
limit_order_update_enabled: boolean;
|
|
19846
|
+
};
|
|
19847
|
+
emissions: {
|
|
19848
|
+
emissions_sync_enabled: boolean;
|
|
19849
|
+
};
|
|
19850
|
+
reputation: {
|
|
19851
|
+
reporting_enabled: boolean;
|
|
19852
|
+
};
|
|
19853
|
+
threshold_signature_evm: {
|
|
19854
|
+
slashing_enabled: boolean;
|
|
19855
|
+
};
|
|
19856
|
+
threshold_signature_bitcoin: {
|
|
19857
|
+
slashing_enabled: boolean;
|
|
19858
|
+
};
|
|
19859
|
+
threshold_signature_polkadot: {
|
|
19860
|
+
slashing_enabled: boolean;
|
|
19861
|
+
};
|
|
19862
|
+
threshold_signature_solana: {
|
|
19863
|
+
slashing_enabled: boolean;
|
|
19864
|
+
};
|
|
19865
|
+
broadcast_ethereum: {
|
|
19866
|
+
retry_enabled: boolean;
|
|
19867
|
+
};
|
|
19868
|
+
broadcast_bitcoin: {
|
|
19869
|
+
retry_enabled: boolean;
|
|
19870
|
+
};
|
|
19871
|
+
broadcast_polkadot: {
|
|
19872
|
+
retry_enabled: boolean;
|
|
19873
|
+
};
|
|
19874
|
+
broadcast_arbitrum: {
|
|
19875
|
+
retry_enabled: boolean;
|
|
19876
|
+
};
|
|
19877
|
+
broadcast_solana: {
|
|
19878
|
+
retry_enabled: boolean;
|
|
19879
|
+
};
|
|
19880
|
+
ingress_egress_ethereum: {
|
|
19881
|
+
boost_deposits_enabled: boolean;
|
|
19882
|
+
add_boost_funds_enabled: boolean;
|
|
19883
|
+
stop_boosting_enabled: boolean;
|
|
19884
|
+
deposits_enabled: boolean;
|
|
19885
|
+
};
|
|
19886
|
+
ingress_egress_bitcoin: {
|
|
19887
|
+
boost_deposits_enabled: boolean;
|
|
19888
|
+
add_boost_funds_enabled: boolean;
|
|
19889
|
+
stop_boosting_enabled: boolean;
|
|
19890
|
+
deposits_enabled: boolean;
|
|
19891
|
+
};
|
|
19892
|
+
ingress_egress_polkadot: {
|
|
19893
|
+
boost_deposits_enabled: boolean;
|
|
19894
|
+
add_boost_funds_enabled: boolean;
|
|
19895
|
+
stop_boosting_enabled: boolean;
|
|
19896
|
+
deposits_enabled: boolean;
|
|
19897
|
+
};
|
|
19898
|
+
ingress_egress_arbitrum: {
|
|
19899
|
+
boost_deposits_enabled: boolean;
|
|
19900
|
+
add_boost_funds_enabled: boolean;
|
|
19901
|
+
stop_boosting_enabled: boolean;
|
|
19902
|
+
deposits_enabled: boolean;
|
|
19903
|
+
};
|
|
19904
|
+
ingress_egress_solana: {
|
|
19905
|
+
boost_deposits_enabled: boolean;
|
|
19906
|
+
add_boost_funds_enabled: boolean;
|
|
19907
|
+
stop_boosting_enabled: boolean;
|
|
19908
|
+
deposits_enabled: boolean;
|
|
19909
|
+
};
|
|
19910
|
+
trading_strategies?: {
|
|
19911
|
+
strategy_updates_enabled: boolean;
|
|
19912
|
+
strategy_closure_enabled: boolean;
|
|
19913
|
+
strategy_execution_enabled: boolean;
|
|
19914
|
+
} | undefined;
|
|
19915
|
+
broadcast_assethub?: {
|
|
19916
|
+
retry_enabled: boolean;
|
|
19917
|
+
} | undefined;
|
|
19918
|
+
ingress_egress_assethub?: {
|
|
19919
|
+
boost_deposits_enabled: boolean;
|
|
19920
|
+
add_boost_funds_enabled: boolean;
|
|
19921
|
+
stop_boosting_enabled: boolean;
|
|
19922
|
+
deposits_enabled: boolean;
|
|
19923
|
+
} | undefined;
|
|
19924
|
+
}>;
|
|
19167
19925
|
};
|
|
19168
19926
|
type RpcMethod = keyof RpcRequest;
|
|
19169
19927
|
type RpcResponse<T extends RpcMethod> = z.input<(typeof rpcResult)[T]>;
|