@chainflip/rpc 2.2.0-alpha.2 → 2.2.0-alpha.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.
@@ -41453,13 +41453,20 @@ declare const cfLoanAccount: z.ZodObject<{
41453
41453
  asset: "USDT";
41454
41454
  }>]>;
41455
41455
  principal_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
41456
- loan_type: z.ZodOptional<z.ZodObject<{
41456
+ loan_type: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
41457
41457
  User: z.ZodEffects<z.ZodString, `cF${string}`, string>;
41458
41458
  }, "strip", z.ZodTypeAny, {
41459
41459
  User: `cF${string}`;
41460
41460
  }, {
41461
41461
  User: string;
41462
- }>>;
41462
+ }>, z.ZodObject<{
41463
+ Boost: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
41464
+ }, "strip", z.ZodTypeAny, {
41465
+ Boost: bigint;
41466
+ }, {
41467
+ Boost: string | number;
41468
+ }>]>>;
41469
+ created_at: z.ZodOptional<z.ZodNumber>;
41463
41470
  }, "strip", z.ZodTypeAny, {
41464
41471
  asset: {
41465
41472
  chain: "Bitcoin";
@@ -41517,7 +41524,10 @@ declare const cfLoanAccount: z.ZodObject<{
41517
41524
  principal_amount: bigint;
41518
41525
  loan_type?: {
41519
41526
  User: `cF${string}`;
41527
+ } | {
41528
+ Boost: bigint;
41520
41529
  } | undefined;
41530
+ created_at?: number | undefined;
41521
41531
  }, {
41522
41532
  asset: {
41523
41533
  chain: "Bitcoin";
@@ -41575,7 +41585,10 @@ declare const cfLoanAccount: z.ZodObject<{
41575
41585
  principal_amount: string | number;
41576
41586
  loan_type?: {
41577
41587
  User: string;
41588
+ } | {
41589
+ Boost: string | number;
41578
41590
  } | undefined;
41591
+ created_at?: number | undefined;
41579
41592
  }>, "many">;
41580
41593
  liquidation_status: z.ZodNullable<z.ZodObject<{
41581
41594
  liquidation_swaps: z.ZodArray<z.ZodObject<{
@@ -41716,7 +41729,10 @@ declare const cfLoanAccount: z.ZodObject<{
41716
41729
  principal_amount: bigint;
41717
41730
  loan_type?: {
41718
41731
  User: `cF${string}`;
41732
+ } | {
41733
+ Boost: bigint;
41719
41734
  } | undefined;
41735
+ created_at?: number | undefined;
41720
41736
  }[];
41721
41737
  liquidation_status: {
41722
41738
  liquidation_swaps: {
@@ -41891,7 +41907,10 @@ declare const cfLoanAccount: z.ZodObject<{
41891
41907
  principal_amount: string | number;
41892
41908
  loan_type?: {
41893
41909
  User: string;
41910
+ } | {
41911
+ Boost: string | number;
41894
41912
  } | undefined;
41913
+ created_at?: number | undefined;
41895
41914
  }[];
41896
41915
  liquidation_status: {
41897
41916
  liquidation_swaps: {
@@ -42427,13 +42446,20 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
42427
42446
  asset: "USDT";
42428
42447
  }>]>;
42429
42448
  principal_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
42430
- loan_type: z.ZodOptional<z.ZodObject<{
42449
+ loan_type: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
42431
42450
  User: z.ZodEffects<z.ZodString, `cF${string}`, string>;
42432
42451
  }, "strip", z.ZodTypeAny, {
42433
42452
  User: `cF${string}`;
42434
42453
  }, {
42435
42454
  User: string;
42436
- }>>;
42455
+ }>, z.ZodObject<{
42456
+ Boost: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
42457
+ }, "strip", z.ZodTypeAny, {
42458
+ Boost: bigint;
42459
+ }, {
42460
+ Boost: string | number;
42461
+ }>]>>;
42462
+ created_at: z.ZodOptional<z.ZodNumber>;
42437
42463
  }, "strip", z.ZodTypeAny, {
42438
42464
  asset: {
42439
42465
  chain: "Bitcoin";
@@ -42491,7 +42517,10 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
42491
42517
  principal_amount: bigint;
42492
42518
  loan_type?: {
42493
42519
  User: `cF${string}`;
42520
+ } | {
42521
+ Boost: bigint;
42494
42522
  } | undefined;
42523
+ created_at?: number | undefined;
42495
42524
  }, {
42496
42525
  asset: {
42497
42526
  chain: "Bitcoin";
@@ -42549,7 +42578,10 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
42549
42578
  principal_amount: string | number;
42550
42579
  loan_type?: {
42551
42580
  User: string;
42581
+ } | {
42582
+ Boost: string | number;
42552
42583
  } | undefined;
42584
+ created_at?: number | undefined;
42553
42585
  }>, "many">;
42554
42586
  liquidation_status: z.ZodNullable<z.ZodObject<{
42555
42587
  liquidation_swaps: z.ZodArray<z.ZodObject<{
@@ -42690,7 +42722,10 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
42690
42722
  principal_amount: bigint;
42691
42723
  loan_type?: {
42692
42724
  User: `cF${string}`;
42725
+ } | {
42726
+ Boost: bigint;
42693
42727
  } | undefined;
42728
+ created_at?: number | undefined;
42694
42729
  }[];
42695
42730
  liquidation_status: {
42696
42731
  liquidation_swaps: {
@@ -42865,7 +42900,10 @@ declare const cfLoanAccounts: z.ZodArray<z.ZodObject<{
42865
42900
  principal_amount: string | number;
42866
42901
  loan_type?: {
42867
42902
  User: string;
42903
+ } | {
42904
+ Boost: string | number;
42868
42905
  } | undefined;
42906
+ created_at?: number | undefined;
42869
42907
  }[];
42870
42908
  liquidation_status: {
42871
42909
  liquidation_swaps: {
@@ -43569,5 +43607,299 @@ declare const cfVaultAddresses: z.ZodEffects<z.ZodObject<{
43569
43607
  Btc: number[];
43570
43608
  }][];
43571
43609
  }>;
43610
+ declare const cfAllLoans: z.ZodArray<z.ZodObject<{
43611
+ loan_id: z.ZodNumber;
43612
+ asset: z.ZodUnion<[z.ZodObject<{
43613
+ chain: z.ZodLiteral<"Bitcoin">;
43614
+ asset: z.ZodLiteral<"BTC">;
43615
+ }, "strip", z.ZodTypeAny, {
43616
+ chain: "Bitcoin";
43617
+ asset: "BTC";
43618
+ }, {
43619
+ chain: "Bitcoin";
43620
+ asset: "BTC";
43621
+ }>, z.ZodObject<{
43622
+ chain: z.ZodLiteral<"Ethereum">;
43623
+ asset: z.ZodLiteral<"FLIP">;
43624
+ }, "strip", z.ZodTypeAny, {
43625
+ chain: "Ethereum";
43626
+ asset: "FLIP";
43627
+ }, {
43628
+ chain: "Ethereum";
43629
+ asset: "FLIP";
43630
+ }>, z.ZodObject<{
43631
+ chain: z.ZodLiteral<"Ethereum">;
43632
+ asset: z.ZodLiteral<"ETH">;
43633
+ }, "strip", z.ZodTypeAny, {
43634
+ chain: "Ethereum";
43635
+ asset: "ETH";
43636
+ }, {
43637
+ chain: "Ethereum";
43638
+ asset: "ETH";
43639
+ }>, z.ZodObject<{
43640
+ chain: z.ZodLiteral<"Ethereum">;
43641
+ asset: z.ZodLiteral<"USDC">;
43642
+ }, "strip", z.ZodTypeAny, {
43643
+ chain: "Ethereum";
43644
+ asset: "USDC";
43645
+ }, {
43646
+ chain: "Ethereum";
43647
+ asset: "USDC";
43648
+ }>, z.ZodObject<{
43649
+ chain: z.ZodLiteral<"Ethereum">;
43650
+ asset: z.ZodLiteral<"USDT">;
43651
+ }, "strip", z.ZodTypeAny, {
43652
+ chain: "Ethereum";
43653
+ asset: "USDT";
43654
+ }, {
43655
+ chain: "Ethereum";
43656
+ asset: "USDT";
43657
+ }>, z.ZodObject<{
43658
+ chain: z.ZodLiteral<"Ethereum">;
43659
+ asset: z.ZodLiteral<"WBTC">;
43660
+ }, "strip", z.ZodTypeAny, {
43661
+ chain: "Ethereum";
43662
+ asset: "WBTC";
43663
+ }, {
43664
+ chain: "Ethereum";
43665
+ asset: "WBTC";
43666
+ }>, z.ZodObject<{
43667
+ chain: z.ZodLiteral<"Arbitrum">;
43668
+ asset: z.ZodLiteral<"ETH">;
43669
+ }, "strip", z.ZodTypeAny, {
43670
+ chain: "Arbitrum";
43671
+ asset: "ETH";
43672
+ }, {
43673
+ chain: "Arbitrum";
43674
+ asset: "ETH";
43675
+ }>, z.ZodObject<{
43676
+ chain: z.ZodLiteral<"Arbitrum">;
43677
+ asset: z.ZodLiteral<"USDC">;
43678
+ }, "strip", z.ZodTypeAny, {
43679
+ chain: "Arbitrum";
43680
+ asset: "USDC";
43681
+ }, {
43682
+ chain: "Arbitrum";
43683
+ asset: "USDC";
43684
+ }>, z.ZodObject<{
43685
+ chain: z.ZodLiteral<"Arbitrum">;
43686
+ asset: z.ZodLiteral<"USDT">;
43687
+ }, "strip", z.ZodTypeAny, {
43688
+ chain: "Arbitrum";
43689
+ asset: "USDT";
43690
+ }, {
43691
+ chain: "Arbitrum";
43692
+ asset: "USDT";
43693
+ }>, z.ZodObject<{
43694
+ chain: z.ZodLiteral<"Solana">;
43695
+ asset: z.ZodLiteral<"SOL">;
43696
+ }, "strip", z.ZodTypeAny, {
43697
+ chain: "Solana";
43698
+ asset: "SOL";
43699
+ }, {
43700
+ chain: "Solana";
43701
+ asset: "SOL";
43702
+ }>, z.ZodObject<{
43703
+ chain: z.ZodLiteral<"Solana">;
43704
+ asset: z.ZodLiteral<"USDC">;
43705
+ }, "strip", z.ZodTypeAny, {
43706
+ chain: "Solana";
43707
+ asset: "USDC";
43708
+ }, {
43709
+ chain: "Solana";
43710
+ asset: "USDC";
43711
+ }>, z.ZodObject<{
43712
+ chain: z.ZodLiteral<"Solana">;
43713
+ asset: z.ZodLiteral<"USDT">;
43714
+ }, "strip", z.ZodTypeAny, {
43715
+ chain: "Solana";
43716
+ asset: "USDT";
43717
+ }, {
43718
+ chain: "Solana";
43719
+ asset: "USDT";
43720
+ }>, z.ZodObject<{
43721
+ chain: z.ZodLiteral<"Assethub">;
43722
+ asset: z.ZodLiteral<"DOT">;
43723
+ }, "strip", z.ZodTypeAny, {
43724
+ chain: "Assethub";
43725
+ asset: "DOT";
43726
+ }, {
43727
+ chain: "Assethub";
43728
+ asset: "DOT";
43729
+ }>, z.ZodObject<{
43730
+ chain: z.ZodLiteral<"Assethub">;
43731
+ asset: z.ZodLiteral<"USDC">;
43732
+ }, "strip", z.ZodTypeAny, {
43733
+ chain: "Assethub";
43734
+ asset: "USDC";
43735
+ }, {
43736
+ chain: "Assethub";
43737
+ asset: "USDC";
43738
+ }>, z.ZodObject<{
43739
+ chain: z.ZodLiteral<"Assethub">;
43740
+ asset: z.ZodLiteral<"USDT">;
43741
+ }, "strip", z.ZodTypeAny, {
43742
+ chain: "Assethub";
43743
+ asset: "USDT";
43744
+ }, {
43745
+ chain: "Assethub";
43746
+ asset: "USDT";
43747
+ }>, z.ZodObject<{
43748
+ chain: z.ZodLiteral<"Tron">;
43749
+ asset: z.ZodLiteral<"TRX">;
43750
+ }, "strip", z.ZodTypeAny, {
43751
+ chain: "Tron";
43752
+ asset: "TRX";
43753
+ }, {
43754
+ chain: "Tron";
43755
+ asset: "TRX";
43756
+ }>, z.ZodObject<{
43757
+ chain: z.ZodLiteral<"Tron">;
43758
+ asset: z.ZodLiteral<"USDT">;
43759
+ }, "strip", z.ZodTypeAny, {
43760
+ chain: "Tron";
43761
+ asset: "USDT";
43762
+ }, {
43763
+ chain: "Tron";
43764
+ asset: "USDT";
43765
+ }>]>;
43766
+ principal_amount: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
43767
+ loan_type: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
43768
+ User: z.ZodEffects<z.ZodString, `cF${string}`, string>;
43769
+ }, "strip", z.ZodTypeAny, {
43770
+ User: `cF${string}`;
43771
+ }, {
43772
+ User: string;
43773
+ }>, z.ZodObject<{
43774
+ Boost: z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>, z.ZodString]>, bigint, string | number>;
43775
+ }, "strip", z.ZodTypeAny, {
43776
+ Boost: bigint;
43777
+ }, {
43778
+ Boost: string | number;
43779
+ }>]>>;
43780
+ created_at: z.ZodOptional<z.ZodNumber>;
43781
+ }, "strip", z.ZodTypeAny, {
43782
+ asset: {
43783
+ chain: "Bitcoin";
43784
+ asset: "BTC";
43785
+ } | {
43786
+ chain: "Ethereum";
43787
+ asset: "FLIP";
43788
+ } | {
43789
+ chain: "Ethereum";
43790
+ asset: "ETH";
43791
+ } | {
43792
+ chain: "Ethereum";
43793
+ asset: "USDC";
43794
+ } | {
43795
+ chain: "Ethereum";
43796
+ asset: "USDT";
43797
+ } | {
43798
+ chain: "Ethereum";
43799
+ asset: "WBTC";
43800
+ } | {
43801
+ chain: "Arbitrum";
43802
+ asset: "ETH";
43803
+ } | {
43804
+ chain: "Arbitrum";
43805
+ asset: "USDC";
43806
+ } | {
43807
+ chain: "Arbitrum";
43808
+ asset: "USDT";
43809
+ } | {
43810
+ chain: "Solana";
43811
+ asset: "SOL";
43812
+ } | {
43813
+ chain: "Solana";
43814
+ asset: "USDC";
43815
+ } | {
43816
+ chain: "Solana";
43817
+ asset: "USDT";
43818
+ } | {
43819
+ chain: "Assethub";
43820
+ asset: "DOT";
43821
+ } | {
43822
+ chain: "Assethub";
43823
+ asset: "USDC";
43824
+ } | {
43825
+ chain: "Assethub";
43826
+ asset: "USDT";
43827
+ } | {
43828
+ chain: "Tron";
43829
+ asset: "TRX";
43830
+ } | {
43831
+ chain: "Tron";
43832
+ asset: "USDT";
43833
+ };
43834
+ loan_id: number;
43835
+ principal_amount: bigint;
43836
+ loan_type?: {
43837
+ User: `cF${string}`;
43838
+ } | {
43839
+ Boost: bigint;
43840
+ } | undefined;
43841
+ created_at?: number | undefined;
43842
+ }, {
43843
+ asset: {
43844
+ chain: "Bitcoin";
43845
+ asset: "BTC";
43846
+ } | {
43847
+ chain: "Ethereum";
43848
+ asset: "FLIP";
43849
+ } | {
43850
+ chain: "Ethereum";
43851
+ asset: "ETH";
43852
+ } | {
43853
+ chain: "Ethereum";
43854
+ asset: "USDC";
43855
+ } | {
43856
+ chain: "Ethereum";
43857
+ asset: "USDT";
43858
+ } | {
43859
+ chain: "Ethereum";
43860
+ asset: "WBTC";
43861
+ } | {
43862
+ chain: "Arbitrum";
43863
+ asset: "ETH";
43864
+ } | {
43865
+ chain: "Arbitrum";
43866
+ asset: "USDC";
43867
+ } | {
43868
+ chain: "Arbitrum";
43869
+ asset: "USDT";
43870
+ } | {
43871
+ chain: "Solana";
43872
+ asset: "SOL";
43873
+ } | {
43874
+ chain: "Solana";
43875
+ asset: "USDC";
43876
+ } | {
43877
+ chain: "Solana";
43878
+ asset: "USDT";
43879
+ } | {
43880
+ chain: "Assethub";
43881
+ asset: "DOT";
43882
+ } | {
43883
+ chain: "Assethub";
43884
+ asset: "USDC";
43885
+ } | {
43886
+ chain: "Assethub";
43887
+ asset: "USDT";
43888
+ } | {
43889
+ chain: "Tron";
43890
+ asset: "TRX";
43891
+ } | {
43892
+ chain: "Tron";
43893
+ asset: "USDT";
43894
+ };
43895
+ loan_id: number;
43896
+ principal_amount: string | number;
43897
+ loan_type?: {
43898
+ User: string;
43899
+ } | {
43900
+ Boost: string | number;
43901
+ } | undefined;
43902
+ created_at?: number | undefined;
43903
+ }>, "many">;
43572
43904
  //#endregion
43573
- 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 };
43905
+ export { AssetAndChain, RpcLimitOrder, RpcRangeOrder, accountInfoCommon, broker, brokerRequestAccountCreationDepositAddress, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAllLoans, 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 };