@chainflip/rpc 2.1.4 → 2.1.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/Client.cjs +33 -13
- package/dist/Client.d.cts +3 -0
- package/dist/Client.d.mts +3 -0
- package/dist/Client.mjs +33 -13
- package/dist/common.cjs +2 -1
- package/dist/common.d.cts +342 -0
- package/dist/common.d.mts +342 -0
- package/dist/common.mjs +3 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/parsers.cjs +61 -0
- package/dist/parsers.d.cts +342 -1
- package/dist/parsers.d.mts +342 -1
- package/dist/parsers.mjs +61 -1
- package/dist/types.d.cts +3 -1
- package/dist/types.d.mts +3 -1
- package/package.json +3 -3
package/dist/parsers.d.cts
CHANGED
|
@@ -36452,6 +36452,347 @@ declare const cfLendingPoolSupplyBalances: z.ZodArray<z.ZodIntersection<z.ZodUni
|
|
|
36452
36452
|
lp_id: string;
|
|
36453
36453
|
}[];
|
|
36454
36454
|
}>>, "many">;
|
|
36455
|
+
declare const cfIngressEgressEvents: z.ZodObject<{
|
|
36456
|
+
deposits: z.ZodArray<z.ZodObject<{
|
|
36457
|
+
deposit_chain_block_height: z.ZodNumber;
|
|
36458
|
+
deposit_address: z.ZodString;
|
|
36459
|
+
amount: z.ZodString;
|
|
36460
|
+
asset: z.ZodObject<{
|
|
36461
|
+
chain: z.ZodString;
|
|
36462
|
+
asset: z.ZodString;
|
|
36463
|
+
}, "strip", z.ZodTypeAny, {
|
|
36464
|
+
chain: string;
|
|
36465
|
+
asset: string;
|
|
36466
|
+
}, {
|
|
36467
|
+
chain: string;
|
|
36468
|
+
asset: string;
|
|
36469
|
+
}>;
|
|
36470
|
+
deposit_details: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
36471
|
+
tx_hashes: z.ZodArray<z.ZodString, "many">;
|
|
36472
|
+
}, "strip", z.ZodTypeAny, {
|
|
36473
|
+
tx_hashes: string[];
|
|
36474
|
+
}, {
|
|
36475
|
+
tx_hashes: string[];
|
|
36476
|
+
}>, z.ZodObject<{
|
|
36477
|
+
tx_id: z.ZodString;
|
|
36478
|
+
vout: z.ZodNumber;
|
|
36479
|
+
}, "strip", z.ZodTypeAny, {
|
|
36480
|
+
tx_id: string;
|
|
36481
|
+
vout: number;
|
|
36482
|
+
}, {
|
|
36483
|
+
tx_id: string;
|
|
36484
|
+
vout: number;
|
|
36485
|
+
}>]>>;
|
|
36486
|
+
}, "strip", z.ZodTypeAny, {
|
|
36487
|
+
deposit_address: string;
|
|
36488
|
+
asset: {
|
|
36489
|
+
chain: string;
|
|
36490
|
+
asset: string;
|
|
36491
|
+
};
|
|
36492
|
+
amount: string;
|
|
36493
|
+
deposit_chain_block_height: number;
|
|
36494
|
+
deposit_details: {
|
|
36495
|
+
tx_hashes: string[];
|
|
36496
|
+
} | {
|
|
36497
|
+
tx_id: string;
|
|
36498
|
+
vout: number;
|
|
36499
|
+
} | null;
|
|
36500
|
+
}, {
|
|
36501
|
+
deposit_address: string;
|
|
36502
|
+
asset: {
|
|
36503
|
+
chain: string;
|
|
36504
|
+
asset: string;
|
|
36505
|
+
};
|
|
36506
|
+
amount: string;
|
|
36507
|
+
deposit_chain_block_height: number;
|
|
36508
|
+
deposit_details: {
|
|
36509
|
+
tx_hashes: string[];
|
|
36510
|
+
} | {
|
|
36511
|
+
tx_id: string;
|
|
36512
|
+
vout: number;
|
|
36513
|
+
} | null;
|
|
36514
|
+
}>, "many">;
|
|
36515
|
+
broadcasts: z.ZodArray<z.ZodObject<{
|
|
36516
|
+
broadcast_id: z.ZodNumber;
|
|
36517
|
+
broadcast_chain_block_height: z.ZodNumber;
|
|
36518
|
+
tx_out_id: z.ZodUnknown;
|
|
36519
|
+
tx_ref: z.ZodUnknown;
|
|
36520
|
+
}, "strip", z.ZodTypeAny, {
|
|
36521
|
+
broadcast_id: number;
|
|
36522
|
+
broadcast_chain_block_height: number;
|
|
36523
|
+
tx_out_id?: unknown;
|
|
36524
|
+
tx_ref?: unknown;
|
|
36525
|
+
}, {
|
|
36526
|
+
broadcast_id: number;
|
|
36527
|
+
broadcast_chain_block_height: number;
|
|
36528
|
+
tx_out_id?: unknown;
|
|
36529
|
+
tx_ref?: unknown;
|
|
36530
|
+
}>, "many">;
|
|
36531
|
+
vault_deposits: z.ZodArray<z.ZodObject<{
|
|
36532
|
+
tx_id: z.ZodString;
|
|
36533
|
+
deposit_chain_block_height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36534
|
+
input_asset: z.ZodObject<{
|
|
36535
|
+
chain: z.ZodString;
|
|
36536
|
+
asset: z.ZodString;
|
|
36537
|
+
}, "strip", z.ZodTypeAny, {
|
|
36538
|
+
chain: string;
|
|
36539
|
+
asset: string;
|
|
36540
|
+
}, {
|
|
36541
|
+
chain: string;
|
|
36542
|
+
asset: string;
|
|
36543
|
+
}>;
|
|
36544
|
+
output_asset: z.ZodObject<{
|
|
36545
|
+
chain: z.ZodString;
|
|
36546
|
+
asset: z.ZodString;
|
|
36547
|
+
}, "strip", z.ZodTypeAny, {
|
|
36548
|
+
chain: string;
|
|
36549
|
+
asset: string;
|
|
36550
|
+
}, {
|
|
36551
|
+
chain: string;
|
|
36552
|
+
asset: string;
|
|
36553
|
+
}>;
|
|
36554
|
+
amount: z.ZodString;
|
|
36555
|
+
destination_address: z.ZodString;
|
|
36556
|
+
ccm_deposit_metadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
36557
|
+
deposit_details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
36558
|
+
broker_fee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36559
|
+
account: z.ZodString;
|
|
36560
|
+
bps: z.ZodNumber;
|
|
36561
|
+
}, "strip", z.ZodTypeAny, {
|
|
36562
|
+
account: string;
|
|
36563
|
+
bps: number;
|
|
36564
|
+
}, {
|
|
36565
|
+
account: string;
|
|
36566
|
+
bps: number;
|
|
36567
|
+
}>>>;
|
|
36568
|
+
affiliate_fees: z.ZodArray<z.ZodObject<{
|
|
36569
|
+
account: z.ZodString;
|
|
36570
|
+
bps: z.ZodNumber;
|
|
36571
|
+
}, "strip", z.ZodTypeAny, {
|
|
36572
|
+
account: string;
|
|
36573
|
+
bps: number;
|
|
36574
|
+
}, {
|
|
36575
|
+
account: string;
|
|
36576
|
+
bps: number;
|
|
36577
|
+
}>, "many">;
|
|
36578
|
+
refund_params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36579
|
+
retry_duration: z.ZodNumber;
|
|
36580
|
+
refund_address: z.ZodString;
|
|
36581
|
+
min_price: z.ZodString;
|
|
36582
|
+
refund_ccm_metadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
36583
|
+
max_oracle_price_slippage: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
36584
|
+
}, "strip", z.ZodTypeAny, {
|
|
36585
|
+
refund_address: string;
|
|
36586
|
+
retry_duration: number;
|
|
36587
|
+
min_price: string;
|
|
36588
|
+
refund_ccm_metadata?: unknown;
|
|
36589
|
+
max_oracle_price_slippage?: unknown;
|
|
36590
|
+
}, {
|
|
36591
|
+
refund_address: string;
|
|
36592
|
+
retry_duration: number;
|
|
36593
|
+
min_price: string;
|
|
36594
|
+
refund_ccm_metadata?: unknown;
|
|
36595
|
+
max_oracle_price_slippage?: unknown;
|
|
36596
|
+
}>>>;
|
|
36597
|
+
dca_params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36598
|
+
number_of_chunks: z.ZodNumber;
|
|
36599
|
+
chunk_interval: z.ZodNumber;
|
|
36600
|
+
}, "strip", z.ZodTypeAny, {
|
|
36601
|
+
number_of_chunks: number;
|
|
36602
|
+
chunk_interval: number;
|
|
36603
|
+
}, {
|
|
36604
|
+
number_of_chunks: number;
|
|
36605
|
+
chunk_interval: number;
|
|
36606
|
+
}>>>;
|
|
36607
|
+
max_boost_fee: z.ZodOptional<z.ZodNumber>;
|
|
36608
|
+
}, "strip", z.ZodTypeAny, {
|
|
36609
|
+
amount: string;
|
|
36610
|
+
tx_id: string;
|
|
36611
|
+
input_asset: {
|
|
36612
|
+
chain: string;
|
|
36613
|
+
asset: string;
|
|
36614
|
+
};
|
|
36615
|
+
output_asset: {
|
|
36616
|
+
chain: string;
|
|
36617
|
+
asset: string;
|
|
36618
|
+
};
|
|
36619
|
+
destination_address: string;
|
|
36620
|
+
affiliate_fees: {
|
|
36621
|
+
account: string;
|
|
36622
|
+
bps: number;
|
|
36623
|
+
}[];
|
|
36624
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
36625
|
+
deposit_details?: unknown;
|
|
36626
|
+
ccm_deposit_metadata?: unknown;
|
|
36627
|
+
broker_fee?: {
|
|
36628
|
+
account: string;
|
|
36629
|
+
bps: number;
|
|
36630
|
+
} | null | undefined;
|
|
36631
|
+
refund_params?: {
|
|
36632
|
+
refund_address: string;
|
|
36633
|
+
retry_duration: number;
|
|
36634
|
+
min_price: string;
|
|
36635
|
+
refund_ccm_metadata?: unknown;
|
|
36636
|
+
max_oracle_price_slippage?: unknown;
|
|
36637
|
+
} | null | undefined;
|
|
36638
|
+
dca_params?: {
|
|
36639
|
+
number_of_chunks: number;
|
|
36640
|
+
chunk_interval: number;
|
|
36641
|
+
} | null | undefined;
|
|
36642
|
+
max_boost_fee?: number | undefined;
|
|
36643
|
+
}, {
|
|
36644
|
+
amount: string;
|
|
36645
|
+
tx_id: string;
|
|
36646
|
+
input_asset: {
|
|
36647
|
+
chain: string;
|
|
36648
|
+
asset: string;
|
|
36649
|
+
};
|
|
36650
|
+
output_asset: {
|
|
36651
|
+
chain: string;
|
|
36652
|
+
asset: string;
|
|
36653
|
+
};
|
|
36654
|
+
destination_address: string;
|
|
36655
|
+
affiliate_fees: {
|
|
36656
|
+
account: string;
|
|
36657
|
+
bps: number;
|
|
36658
|
+
}[];
|
|
36659
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
36660
|
+
deposit_details?: unknown;
|
|
36661
|
+
ccm_deposit_metadata?: unknown;
|
|
36662
|
+
broker_fee?: {
|
|
36663
|
+
account: string;
|
|
36664
|
+
bps: number;
|
|
36665
|
+
} | null | undefined;
|
|
36666
|
+
refund_params?: {
|
|
36667
|
+
refund_address: string;
|
|
36668
|
+
retry_duration: number;
|
|
36669
|
+
min_price: string;
|
|
36670
|
+
refund_ccm_metadata?: unknown;
|
|
36671
|
+
max_oracle_price_slippage?: unknown;
|
|
36672
|
+
} | null | undefined;
|
|
36673
|
+
dca_params?: {
|
|
36674
|
+
number_of_chunks: number;
|
|
36675
|
+
chunk_interval: number;
|
|
36676
|
+
} | null | undefined;
|
|
36677
|
+
max_boost_fee?: number | undefined;
|
|
36678
|
+
}>, "many">;
|
|
36679
|
+
}, "strip", z.ZodTypeAny, {
|
|
36680
|
+
deposits: {
|
|
36681
|
+
deposit_address: string;
|
|
36682
|
+
asset: {
|
|
36683
|
+
chain: string;
|
|
36684
|
+
asset: string;
|
|
36685
|
+
};
|
|
36686
|
+
amount: string;
|
|
36687
|
+
deposit_chain_block_height: number;
|
|
36688
|
+
deposit_details: {
|
|
36689
|
+
tx_hashes: string[];
|
|
36690
|
+
} | {
|
|
36691
|
+
tx_id: string;
|
|
36692
|
+
vout: number;
|
|
36693
|
+
} | null;
|
|
36694
|
+
}[];
|
|
36695
|
+
broadcasts: {
|
|
36696
|
+
broadcast_id: number;
|
|
36697
|
+
broadcast_chain_block_height: number;
|
|
36698
|
+
tx_out_id?: unknown;
|
|
36699
|
+
tx_ref?: unknown;
|
|
36700
|
+
}[];
|
|
36701
|
+
vault_deposits: {
|
|
36702
|
+
amount: string;
|
|
36703
|
+
tx_id: string;
|
|
36704
|
+
input_asset: {
|
|
36705
|
+
chain: string;
|
|
36706
|
+
asset: string;
|
|
36707
|
+
};
|
|
36708
|
+
output_asset: {
|
|
36709
|
+
chain: string;
|
|
36710
|
+
asset: string;
|
|
36711
|
+
};
|
|
36712
|
+
destination_address: string;
|
|
36713
|
+
affiliate_fees: {
|
|
36714
|
+
account: string;
|
|
36715
|
+
bps: number;
|
|
36716
|
+
}[];
|
|
36717
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
36718
|
+
deposit_details?: unknown;
|
|
36719
|
+
ccm_deposit_metadata?: unknown;
|
|
36720
|
+
broker_fee?: {
|
|
36721
|
+
account: string;
|
|
36722
|
+
bps: number;
|
|
36723
|
+
} | null | undefined;
|
|
36724
|
+
refund_params?: {
|
|
36725
|
+
refund_address: string;
|
|
36726
|
+
retry_duration: number;
|
|
36727
|
+
min_price: string;
|
|
36728
|
+
refund_ccm_metadata?: unknown;
|
|
36729
|
+
max_oracle_price_slippage?: unknown;
|
|
36730
|
+
} | null | undefined;
|
|
36731
|
+
dca_params?: {
|
|
36732
|
+
number_of_chunks: number;
|
|
36733
|
+
chunk_interval: number;
|
|
36734
|
+
} | null | undefined;
|
|
36735
|
+
max_boost_fee?: number | undefined;
|
|
36736
|
+
}[];
|
|
36737
|
+
}, {
|
|
36738
|
+
deposits: {
|
|
36739
|
+
deposit_address: string;
|
|
36740
|
+
asset: {
|
|
36741
|
+
chain: string;
|
|
36742
|
+
asset: string;
|
|
36743
|
+
};
|
|
36744
|
+
amount: string;
|
|
36745
|
+
deposit_chain_block_height: number;
|
|
36746
|
+
deposit_details: {
|
|
36747
|
+
tx_hashes: string[];
|
|
36748
|
+
} | {
|
|
36749
|
+
tx_id: string;
|
|
36750
|
+
vout: number;
|
|
36751
|
+
} | null;
|
|
36752
|
+
}[];
|
|
36753
|
+
broadcasts: {
|
|
36754
|
+
broadcast_id: number;
|
|
36755
|
+
broadcast_chain_block_height: number;
|
|
36756
|
+
tx_out_id?: unknown;
|
|
36757
|
+
tx_ref?: unknown;
|
|
36758
|
+
}[];
|
|
36759
|
+
vault_deposits: {
|
|
36760
|
+
amount: string;
|
|
36761
|
+
tx_id: string;
|
|
36762
|
+
input_asset: {
|
|
36763
|
+
chain: string;
|
|
36764
|
+
asset: string;
|
|
36765
|
+
};
|
|
36766
|
+
output_asset: {
|
|
36767
|
+
chain: string;
|
|
36768
|
+
asset: string;
|
|
36769
|
+
};
|
|
36770
|
+
destination_address: string;
|
|
36771
|
+
affiliate_fees: {
|
|
36772
|
+
account: string;
|
|
36773
|
+
bps: number;
|
|
36774
|
+
}[];
|
|
36775
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
36776
|
+
deposit_details?: unknown;
|
|
36777
|
+
ccm_deposit_metadata?: unknown;
|
|
36778
|
+
broker_fee?: {
|
|
36779
|
+
account: string;
|
|
36780
|
+
bps: number;
|
|
36781
|
+
} | null | undefined;
|
|
36782
|
+
refund_params?: {
|
|
36783
|
+
refund_address: string;
|
|
36784
|
+
retry_duration: number;
|
|
36785
|
+
min_price: string;
|
|
36786
|
+
refund_ccm_metadata?: unknown;
|
|
36787
|
+
max_oracle_price_slippage?: unknown;
|
|
36788
|
+
} | null | undefined;
|
|
36789
|
+
dca_params?: {
|
|
36790
|
+
number_of_chunks: number;
|
|
36791
|
+
chunk_interval: number;
|
|
36792
|
+
} | null | undefined;
|
|
36793
|
+
max_boost_fee?: number | undefined;
|
|
36794
|
+
}[];
|
|
36795
|
+
}>;
|
|
36455
36796
|
declare const cfVaultAddresses: z.ZodEffects<z.ZodObject<{
|
|
36456
36797
|
ethereum: z.ZodObject<{
|
|
36457
36798
|
Eth: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, `0x${string}`, number[]>;
|
|
@@ -36510,4 +36851,4 @@ declare const cfVaultAddresses: z.ZodEffects<z.ZodObject<{
|
|
|
36510
36851
|
}][];
|
|
36511
36852
|
}>;
|
|
36512
36853
|
//#endregion
|
|
36513
|
-
export { AssetAndChain, RpcLimitOrder, RpcRangeOrder, accountInfoCommon, broker, brokerRequestAccountCreationDepositAddress, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfAvailablePools, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfGetTradingStrategyLimits, cfIngressEgressEnvironment, cfLendingConfig, cfLendingPoolSupplyBalances, cfLendingPools, cfLoanAccount, cfLoanAccounts, cfMonitoringSimulateAuction, cfOraclePrices, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSafeModeStatuses, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, cfVaultAddresses, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, numericString, operator, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|
|
36854
|
+
export { AssetAndChain, RpcLimitOrder, RpcRangeOrder, accountInfoCommon, broker, brokerRequestAccountCreationDepositAddress, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfAvailablePools, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfGetTradingStrategyLimits, cfIngressEgressEnvironment, cfIngressEgressEvents, cfLendingConfig, cfLendingPoolSupplyBalances, cfLendingPools, cfLoanAccount, cfLoanAccounts, cfMonitoringSimulateAuction, cfOraclePrices, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSafeModeStatuses, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, cfVaultAddresses, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, numericString, operator, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|
package/dist/parsers.d.mts
CHANGED
|
@@ -36452,6 +36452,347 @@ declare const cfLendingPoolSupplyBalances: z.ZodArray<z.ZodIntersection<z.ZodUni
|
|
|
36452
36452
|
lp_id: string;
|
|
36453
36453
|
}[];
|
|
36454
36454
|
}>>, "many">;
|
|
36455
|
+
declare const cfIngressEgressEvents: z.ZodObject<{
|
|
36456
|
+
deposits: z.ZodArray<z.ZodObject<{
|
|
36457
|
+
deposit_chain_block_height: z.ZodNumber;
|
|
36458
|
+
deposit_address: z.ZodString;
|
|
36459
|
+
amount: z.ZodString;
|
|
36460
|
+
asset: z.ZodObject<{
|
|
36461
|
+
chain: z.ZodString;
|
|
36462
|
+
asset: z.ZodString;
|
|
36463
|
+
}, "strip", z.ZodTypeAny, {
|
|
36464
|
+
chain: string;
|
|
36465
|
+
asset: string;
|
|
36466
|
+
}, {
|
|
36467
|
+
chain: string;
|
|
36468
|
+
asset: string;
|
|
36469
|
+
}>;
|
|
36470
|
+
deposit_details: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
36471
|
+
tx_hashes: z.ZodArray<z.ZodString, "many">;
|
|
36472
|
+
}, "strip", z.ZodTypeAny, {
|
|
36473
|
+
tx_hashes: string[];
|
|
36474
|
+
}, {
|
|
36475
|
+
tx_hashes: string[];
|
|
36476
|
+
}>, z.ZodObject<{
|
|
36477
|
+
tx_id: z.ZodString;
|
|
36478
|
+
vout: z.ZodNumber;
|
|
36479
|
+
}, "strip", z.ZodTypeAny, {
|
|
36480
|
+
tx_id: string;
|
|
36481
|
+
vout: number;
|
|
36482
|
+
}, {
|
|
36483
|
+
tx_id: string;
|
|
36484
|
+
vout: number;
|
|
36485
|
+
}>]>>;
|
|
36486
|
+
}, "strip", z.ZodTypeAny, {
|
|
36487
|
+
deposit_address: string;
|
|
36488
|
+
asset: {
|
|
36489
|
+
chain: string;
|
|
36490
|
+
asset: string;
|
|
36491
|
+
};
|
|
36492
|
+
amount: string;
|
|
36493
|
+
deposit_chain_block_height: number;
|
|
36494
|
+
deposit_details: {
|
|
36495
|
+
tx_hashes: string[];
|
|
36496
|
+
} | {
|
|
36497
|
+
tx_id: string;
|
|
36498
|
+
vout: number;
|
|
36499
|
+
} | null;
|
|
36500
|
+
}, {
|
|
36501
|
+
deposit_address: string;
|
|
36502
|
+
asset: {
|
|
36503
|
+
chain: string;
|
|
36504
|
+
asset: string;
|
|
36505
|
+
};
|
|
36506
|
+
amount: string;
|
|
36507
|
+
deposit_chain_block_height: number;
|
|
36508
|
+
deposit_details: {
|
|
36509
|
+
tx_hashes: string[];
|
|
36510
|
+
} | {
|
|
36511
|
+
tx_id: string;
|
|
36512
|
+
vout: number;
|
|
36513
|
+
} | null;
|
|
36514
|
+
}>, "many">;
|
|
36515
|
+
broadcasts: z.ZodArray<z.ZodObject<{
|
|
36516
|
+
broadcast_id: z.ZodNumber;
|
|
36517
|
+
broadcast_chain_block_height: z.ZodNumber;
|
|
36518
|
+
tx_out_id: z.ZodUnknown;
|
|
36519
|
+
tx_ref: z.ZodUnknown;
|
|
36520
|
+
}, "strip", z.ZodTypeAny, {
|
|
36521
|
+
broadcast_id: number;
|
|
36522
|
+
broadcast_chain_block_height: number;
|
|
36523
|
+
tx_out_id?: unknown;
|
|
36524
|
+
tx_ref?: unknown;
|
|
36525
|
+
}, {
|
|
36526
|
+
broadcast_id: number;
|
|
36527
|
+
broadcast_chain_block_height: number;
|
|
36528
|
+
tx_out_id?: unknown;
|
|
36529
|
+
tx_ref?: unknown;
|
|
36530
|
+
}>, "many">;
|
|
36531
|
+
vault_deposits: z.ZodArray<z.ZodObject<{
|
|
36532
|
+
tx_id: z.ZodString;
|
|
36533
|
+
deposit_chain_block_height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
36534
|
+
input_asset: z.ZodObject<{
|
|
36535
|
+
chain: z.ZodString;
|
|
36536
|
+
asset: z.ZodString;
|
|
36537
|
+
}, "strip", z.ZodTypeAny, {
|
|
36538
|
+
chain: string;
|
|
36539
|
+
asset: string;
|
|
36540
|
+
}, {
|
|
36541
|
+
chain: string;
|
|
36542
|
+
asset: string;
|
|
36543
|
+
}>;
|
|
36544
|
+
output_asset: z.ZodObject<{
|
|
36545
|
+
chain: z.ZodString;
|
|
36546
|
+
asset: z.ZodString;
|
|
36547
|
+
}, "strip", z.ZodTypeAny, {
|
|
36548
|
+
chain: string;
|
|
36549
|
+
asset: string;
|
|
36550
|
+
}, {
|
|
36551
|
+
chain: string;
|
|
36552
|
+
asset: string;
|
|
36553
|
+
}>;
|
|
36554
|
+
amount: z.ZodString;
|
|
36555
|
+
destination_address: z.ZodString;
|
|
36556
|
+
ccm_deposit_metadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
36557
|
+
deposit_details: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
36558
|
+
broker_fee: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36559
|
+
account: z.ZodString;
|
|
36560
|
+
bps: z.ZodNumber;
|
|
36561
|
+
}, "strip", z.ZodTypeAny, {
|
|
36562
|
+
account: string;
|
|
36563
|
+
bps: number;
|
|
36564
|
+
}, {
|
|
36565
|
+
account: string;
|
|
36566
|
+
bps: number;
|
|
36567
|
+
}>>>;
|
|
36568
|
+
affiliate_fees: z.ZodArray<z.ZodObject<{
|
|
36569
|
+
account: z.ZodString;
|
|
36570
|
+
bps: z.ZodNumber;
|
|
36571
|
+
}, "strip", z.ZodTypeAny, {
|
|
36572
|
+
account: string;
|
|
36573
|
+
bps: number;
|
|
36574
|
+
}, {
|
|
36575
|
+
account: string;
|
|
36576
|
+
bps: number;
|
|
36577
|
+
}>, "many">;
|
|
36578
|
+
refund_params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36579
|
+
retry_duration: z.ZodNumber;
|
|
36580
|
+
refund_address: z.ZodString;
|
|
36581
|
+
min_price: z.ZodString;
|
|
36582
|
+
refund_ccm_metadata: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
36583
|
+
max_oracle_price_slippage: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
36584
|
+
}, "strip", z.ZodTypeAny, {
|
|
36585
|
+
refund_address: string;
|
|
36586
|
+
retry_duration: number;
|
|
36587
|
+
min_price: string;
|
|
36588
|
+
refund_ccm_metadata?: unknown;
|
|
36589
|
+
max_oracle_price_slippage?: unknown;
|
|
36590
|
+
}, {
|
|
36591
|
+
refund_address: string;
|
|
36592
|
+
retry_duration: number;
|
|
36593
|
+
min_price: string;
|
|
36594
|
+
refund_ccm_metadata?: unknown;
|
|
36595
|
+
max_oracle_price_slippage?: unknown;
|
|
36596
|
+
}>>>;
|
|
36597
|
+
dca_params: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36598
|
+
number_of_chunks: z.ZodNumber;
|
|
36599
|
+
chunk_interval: z.ZodNumber;
|
|
36600
|
+
}, "strip", z.ZodTypeAny, {
|
|
36601
|
+
number_of_chunks: number;
|
|
36602
|
+
chunk_interval: number;
|
|
36603
|
+
}, {
|
|
36604
|
+
number_of_chunks: number;
|
|
36605
|
+
chunk_interval: number;
|
|
36606
|
+
}>>>;
|
|
36607
|
+
max_boost_fee: z.ZodOptional<z.ZodNumber>;
|
|
36608
|
+
}, "strip", z.ZodTypeAny, {
|
|
36609
|
+
amount: string;
|
|
36610
|
+
tx_id: string;
|
|
36611
|
+
input_asset: {
|
|
36612
|
+
chain: string;
|
|
36613
|
+
asset: string;
|
|
36614
|
+
};
|
|
36615
|
+
output_asset: {
|
|
36616
|
+
chain: string;
|
|
36617
|
+
asset: string;
|
|
36618
|
+
};
|
|
36619
|
+
destination_address: string;
|
|
36620
|
+
affiliate_fees: {
|
|
36621
|
+
account: string;
|
|
36622
|
+
bps: number;
|
|
36623
|
+
}[];
|
|
36624
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
36625
|
+
deposit_details?: unknown;
|
|
36626
|
+
ccm_deposit_metadata?: unknown;
|
|
36627
|
+
broker_fee?: {
|
|
36628
|
+
account: string;
|
|
36629
|
+
bps: number;
|
|
36630
|
+
} | null | undefined;
|
|
36631
|
+
refund_params?: {
|
|
36632
|
+
refund_address: string;
|
|
36633
|
+
retry_duration: number;
|
|
36634
|
+
min_price: string;
|
|
36635
|
+
refund_ccm_metadata?: unknown;
|
|
36636
|
+
max_oracle_price_slippage?: unknown;
|
|
36637
|
+
} | null | undefined;
|
|
36638
|
+
dca_params?: {
|
|
36639
|
+
number_of_chunks: number;
|
|
36640
|
+
chunk_interval: number;
|
|
36641
|
+
} | null | undefined;
|
|
36642
|
+
max_boost_fee?: number | undefined;
|
|
36643
|
+
}, {
|
|
36644
|
+
amount: string;
|
|
36645
|
+
tx_id: string;
|
|
36646
|
+
input_asset: {
|
|
36647
|
+
chain: string;
|
|
36648
|
+
asset: string;
|
|
36649
|
+
};
|
|
36650
|
+
output_asset: {
|
|
36651
|
+
chain: string;
|
|
36652
|
+
asset: string;
|
|
36653
|
+
};
|
|
36654
|
+
destination_address: string;
|
|
36655
|
+
affiliate_fees: {
|
|
36656
|
+
account: string;
|
|
36657
|
+
bps: number;
|
|
36658
|
+
}[];
|
|
36659
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
36660
|
+
deposit_details?: unknown;
|
|
36661
|
+
ccm_deposit_metadata?: unknown;
|
|
36662
|
+
broker_fee?: {
|
|
36663
|
+
account: string;
|
|
36664
|
+
bps: number;
|
|
36665
|
+
} | null | undefined;
|
|
36666
|
+
refund_params?: {
|
|
36667
|
+
refund_address: string;
|
|
36668
|
+
retry_duration: number;
|
|
36669
|
+
min_price: string;
|
|
36670
|
+
refund_ccm_metadata?: unknown;
|
|
36671
|
+
max_oracle_price_slippage?: unknown;
|
|
36672
|
+
} | null | undefined;
|
|
36673
|
+
dca_params?: {
|
|
36674
|
+
number_of_chunks: number;
|
|
36675
|
+
chunk_interval: number;
|
|
36676
|
+
} | null | undefined;
|
|
36677
|
+
max_boost_fee?: number | undefined;
|
|
36678
|
+
}>, "many">;
|
|
36679
|
+
}, "strip", z.ZodTypeAny, {
|
|
36680
|
+
deposits: {
|
|
36681
|
+
deposit_address: string;
|
|
36682
|
+
asset: {
|
|
36683
|
+
chain: string;
|
|
36684
|
+
asset: string;
|
|
36685
|
+
};
|
|
36686
|
+
amount: string;
|
|
36687
|
+
deposit_chain_block_height: number;
|
|
36688
|
+
deposit_details: {
|
|
36689
|
+
tx_hashes: string[];
|
|
36690
|
+
} | {
|
|
36691
|
+
tx_id: string;
|
|
36692
|
+
vout: number;
|
|
36693
|
+
} | null;
|
|
36694
|
+
}[];
|
|
36695
|
+
broadcasts: {
|
|
36696
|
+
broadcast_id: number;
|
|
36697
|
+
broadcast_chain_block_height: number;
|
|
36698
|
+
tx_out_id?: unknown;
|
|
36699
|
+
tx_ref?: unknown;
|
|
36700
|
+
}[];
|
|
36701
|
+
vault_deposits: {
|
|
36702
|
+
amount: string;
|
|
36703
|
+
tx_id: string;
|
|
36704
|
+
input_asset: {
|
|
36705
|
+
chain: string;
|
|
36706
|
+
asset: string;
|
|
36707
|
+
};
|
|
36708
|
+
output_asset: {
|
|
36709
|
+
chain: string;
|
|
36710
|
+
asset: string;
|
|
36711
|
+
};
|
|
36712
|
+
destination_address: string;
|
|
36713
|
+
affiliate_fees: {
|
|
36714
|
+
account: string;
|
|
36715
|
+
bps: number;
|
|
36716
|
+
}[];
|
|
36717
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
36718
|
+
deposit_details?: unknown;
|
|
36719
|
+
ccm_deposit_metadata?: unknown;
|
|
36720
|
+
broker_fee?: {
|
|
36721
|
+
account: string;
|
|
36722
|
+
bps: number;
|
|
36723
|
+
} | null | undefined;
|
|
36724
|
+
refund_params?: {
|
|
36725
|
+
refund_address: string;
|
|
36726
|
+
retry_duration: number;
|
|
36727
|
+
min_price: string;
|
|
36728
|
+
refund_ccm_metadata?: unknown;
|
|
36729
|
+
max_oracle_price_slippage?: unknown;
|
|
36730
|
+
} | null | undefined;
|
|
36731
|
+
dca_params?: {
|
|
36732
|
+
number_of_chunks: number;
|
|
36733
|
+
chunk_interval: number;
|
|
36734
|
+
} | null | undefined;
|
|
36735
|
+
max_boost_fee?: number | undefined;
|
|
36736
|
+
}[];
|
|
36737
|
+
}, {
|
|
36738
|
+
deposits: {
|
|
36739
|
+
deposit_address: string;
|
|
36740
|
+
asset: {
|
|
36741
|
+
chain: string;
|
|
36742
|
+
asset: string;
|
|
36743
|
+
};
|
|
36744
|
+
amount: string;
|
|
36745
|
+
deposit_chain_block_height: number;
|
|
36746
|
+
deposit_details: {
|
|
36747
|
+
tx_hashes: string[];
|
|
36748
|
+
} | {
|
|
36749
|
+
tx_id: string;
|
|
36750
|
+
vout: number;
|
|
36751
|
+
} | null;
|
|
36752
|
+
}[];
|
|
36753
|
+
broadcasts: {
|
|
36754
|
+
broadcast_id: number;
|
|
36755
|
+
broadcast_chain_block_height: number;
|
|
36756
|
+
tx_out_id?: unknown;
|
|
36757
|
+
tx_ref?: unknown;
|
|
36758
|
+
}[];
|
|
36759
|
+
vault_deposits: {
|
|
36760
|
+
amount: string;
|
|
36761
|
+
tx_id: string;
|
|
36762
|
+
input_asset: {
|
|
36763
|
+
chain: string;
|
|
36764
|
+
asset: string;
|
|
36765
|
+
};
|
|
36766
|
+
output_asset: {
|
|
36767
|
+
chain: string;
|
|
36768
|
+
asset: string;
|
|
36769
|
+
};
|
|
36770
|
+
destination_address: string;
|
|
36771
|
+
affiliate_fees: {
|
|
36772
|
+
account: string;
|
|
36773
|
+
bps: number;
|
|
36774
|
+
}[];
|
|
36775
|
+
deposit_chain_block_height?: number | null | undefined;
|
|
36776
|
+
deposit_details?: unknown;
|
|
36777
|
+
ccm_deposit_metadata?: unknown;
|
|
36778
|
+
broker_fee?: {
|
|
36779
|
+
account: string;
|
|
36780
|
+
bps: number;
|
|
36781
|
+
} | null | undefined;
|
|
36782
|
+
refund_params?: {
|
|
36783
|
+
refund_address: string;
|
|
36784
|
+
retry_duration: number;
|
|
36785
|
+
min_price: string;
|
|
36786
|
+
refund_ccm_metadata?: unknown;
|
|
36787
|
+
max_oracle_price_slippage?: unknown;
|
|
36788
|
+
} | null | undefined;
|
|
36789
|
+
dca_params?: {
|
|
36790
|
+
number_of_chunks: number;
|
|
36791
|
+
chunk_interval: number;
|
|
36792
|
+
} | null | undefined;
|
|
36793
|
+
max_boost_fee?: number | undefined;
|
|
36794
|
+
}[];
|
|
36795
|
+
}>;
|
|
36455
36796
|
declare const cfVaultAddresses: z.ZodEffects<z.ZodObject<{
|
|
36456
36797
|
ethereum: z.ZodObject<{
|
|
36457
36798
|
Eth: z.ZodEffects<z.ZodArray<z.ZodNumber, "many">, `0x${string}`, number[]>;
|
|
@@ -36510,4 +36851,4 @@ declare const cfVaultAddresses: z.ZodEffects<z.ZodObject<{
|
|
|
36510
36851
|
}][];
|
|
36511
36852
|
}>;
|
|
36512
36853
|
//#endregion
|
|
36513
|
-
export { AssetAndChain, RpcLimitOrder, RpcRangeOrder, accountInfoCommon, broker, brokerRequestAccountCreationDepositAddress, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfAvailablePools, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfGetTradingStrategyLimits, cfIngressEgressEnvironment, cfLendingConfig, cfLendingPoolSupplyBalances, cfLendingPools, cfLoanAccount, cfLoanAccounts, cfMonitoringSimulateAuction, cfOraclePrices, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSafeModeStatuses, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, cfVaultAddresses, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, numericString, operator, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|
|
36854
|
+
export { AssetAndChain, RpcLimitOrder, RpcRangeOrder, accountInfoCommon, broker, brokerRequestAccountCreationDepositAddress, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfAvailablePools, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfGetTradingStrategies, cfGetTradingStrategyLimits, cfIngressEgressEnvironment, cfIngressEgressEvents, cfLendingConfig, cfLendingPoolSupplyBalances, cfLendingPools, cfLoanAccount, cfLoanAccounts, cfMonitoringSimulateAuction, cfOraclePrices, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSafeModeStatuses, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, cfTradingStrategy, cfVaultAddresses, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, numericString, operator, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|