@proton/wrap-constants 0.2.183 → 0.2.185

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/index.d.ts CHANGED
@@ -6,7 +6,6 @@ declare enum Chains {
6
6
  BitcoinMainnet = "Bitcoin",
7
7
  BitcoinTestnet = "Bitcoin (Testnet)",
8
8
  EthereumMainnet = "Ethereum",
9
- EthereumRopsten = "Ethereum (Ropsten)",
10
9
  EthereumSepolia = "Ethereum (Sepolia)",
11
10
  LitecoinMainnet = "Litecoin",
12
11
  LitecoinTestnet = "Litecoin (Testnet)",
@@ -41,7 +40,6 @@ declare enum Chains {
41
40
  declare enum Networks {
42
41
  Mainnet = "mainnet",
43
42
  Testnet = "testnet",
44
- Ropsten = "ropsten",
45
43
  ERC20 = "erc20",
46
44
  BEP20 = "bep20",
47
45
  XLM = "xlm",
@@ -85,12 +83,11 @@ declare enum Providers {
85
83
  METAL = "metal",
86
84
  METALL2 = "metall2"
87
85
  }
88
- type CoinWallet = Exclude<Coin, "wallets"> & Wallet;
86
+ declare type CoinWallet = Exclude<Coin, "wallets"> & Wallet;
89
87
  declare const explorerLinkByChain: {
90
88
  Bitcoin: (txid: string) => string;
91
89
  "Bitcoin (Testnet)": (txid: string) => string;
92
90
  Ethereum: (txid: string) => string;
93
- "Ethereum (Ropsten)": (txid: string) => string;
94
91
  "Ethereum (Sepolia)": (txid: string) => string;
95
92
  Litecoin: (txid: string) => string;
96
93
  "Litecoin (Testnet)": (txid: string) => string;
@@ -98,8 +95,8 @@ declare const explorerLinkByChain: {
98
95
  "Bitcoin Cash (Testnet)": (txid: string) => string;
99
96
  Stellar: (txid: string) => string;
100
97
  "Stellar (Testnet)": (txid: string) => string;
101
- Proton: (txid: string, traces?: boolean) => string;
102
- "Proton (Testnet)": (txid: string, traces?: boolean) => string;
98
+ Proton: (txid: string, traces?: boolean | undefined) => string;
99
+ "Proton (Testnet)": (txid: string, traces?: boolean | undefined) => string;
103
100
  Polkadot: (txid: string) => string;
104
101
  "Binance (BEP2)": (txid: string) => string;
105
102
  "Binance (BEP20)": (txid: string) => string;
@@ -122,7 +119,7 @@ declare const explorerLinkByChain: {
122
119
  "Metal L2 (Testnet)": (txid: string) => string;
123
120
  "Metal L2": (txid: string) => string;
124
121
  };
125
- declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean) => string;
122
+ declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean | undefined) => string;
126
123
  declare const initializeCoins: (protonChain: string) => {
127
124
  allCoins: Coin[];
128
125
  swapCoins: Coin[];
@@ -1787,7 +1784,7 @@ declare const addressParser: z.ZodObject<{
1787
1784
  address: string;
1788
1785
  address_hash: string;
1789
1786
  }>;
1790
- type Address = z.infer<typeof addressParser>;
1787
+ declare type Address = z.infer<typeof addressParser>;
1791
1788
  declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
1792
1789
  coin: z.ZodString;
1793
1790
  wallet: z.ZodString;
@@ -2678,7 +2675,7 @@ declare const generateAddressBodyParser: z.ZodObject<z.objectUtil.extendShape<{
2678
2675
  coin: string;
2679
2676
  wallet: string;
2680
2677
  }>;
2681
- type GenerateAddressBody = z.infer<typeof generateAddressBodyParser>;
2678
+ declare type GenerateAddressBody = z.infer<typeof generateAddressBodyParser>;
2682
2679
  declare const generateAddressResponse: z.ZodObject<{
2683
2680
  id: z.ZodString;
2684
2681
  address: z.ZodString;
@@ -2698,7 +2695,7 @@ declare const generateAddressResponse: z.ZodObject<{
2698
2695
  id: string;
2699
2696
  memo?: string | undefined;
2700
2697
  }>;
2701
- type GenerateAddressResponse = z.infer<typeof generateAddressResponse>;
2698
+ declare type GenerateAddressResponse = z.infer<typeof generateAddressResponse>;
2702
2699
 
2703
2700
  declare const createAbstractAuthParser: (contract: string, action: string, data: z.ZodRawShape) => z.ZodObject<{
2704
2701
  signer: z.ZodObject<{
@@ -3629,7 +3626,7 @@ declare const generateAuthActionsBaseParser: z.ZodObject<{
3629
3626
  protonAccount: string;
3630
3627
  };
3631
3628
  }>;
3632
- type GenerateAuthBaseAction = z.infer<typeof generateAuthActionsBaseParser>;
3629
+ declare type GenerateAuthBaseAction = z.infer<typeof generateAuthActionsBaseParser>;
3633
3630
  declare const generateAuthParser: z.ZodObject<{
3634
3631
  signer: z.ZodObject<{
3635
3632
  actor: z.ZodString;
@@ -4513,7 +4510,7 @@ declare const generateAuthParser: z.ZodObject<{
4513
4510
  })[];
4514
4511
  };
4515
4512
  }>;
4516
- type GenerateAuth = z.infer<typeof generateAuthParser>;
4513
+ declare type GenerateAuth = z.infer<typeof generateAuthParser>;
4517
4514
 
4518
4515
  declare const accountParser: z.ZodString;
4519
4516
  declare const authorizationParser: z.ZodObject<{
@@ -4526,7 +4523,7 @@ declare const authorizationParser: z.ZodObject<{
4526
4523
  actor: string;
4527
4524
  permission: string;
4528
4525
  }>;
4529
- type Authorization = z.infer<typeof authorizationParser>;
4526
+ declare type Authorization = z.infer<typeof authorizationParser>;
4530
4527
  declare const authorizationsParser: z.ZodArray<z.ZodObject<{
4531
4528
  actor: z.ZodString;
4532
4529
  permission: z.ZodString;
@@ -4537,7 +4534,7 @@ declare const authorizationsParser: z.ZodArray<z.ZodObject<{
4537
4534
  actor: string;
4538
4535
  permission: string;
4539
4536
  }>, "many">;
4540
- type Authorizations = z.infer<typeof authorizationsParser>;
4537
+ declare type Authorizations = z.infer<typeof authorizationsParser>;
4541
4538
  declare const ExtendedAssetParser: z.ZodObject<{
4542
4539
  quantity: z.ZodString;
4543
4540
  contract: z.ZodString;
@@ -4548,7 +4545,7 @@ declare const ExtendedAssetParser: z.ZodObject<{
4548
4545
  quantity: string;
4549
4546
  contract: string;
4550
4547
  }>;
4551
- type ExtendedAsset = z.infer<typeof ExtendedAssetParser>;
4548
+ declare type ExtendedAsset = z.infer<typeof ExtendedAssetParser>;
4552
4549
  declare const accountRamDeltaParser: z.ZodObject<{
4553
4550
  account: z.ZodString;
4554
4551
  delta: z.ZodString;
@@ -4559,7 +4556,7 @@ declare const accountRamDeltaParser: z.ZodObject<{
4559
4556
  account: string;
4560
4557
  delta: string;
4561
4558
  }>;
4562
- type HistoryAccountRamDelta = z.infer<typeof accountRamDeltaParser>;
4559
+ declare type HistoryAccountRamDelta = z.infer<typeof accountRamDeltaParser>;
4563
4560
 
4564
4561
  interface CurrencyStat {
4565
4562
  supply: string;
@@ -4591,7 +4588,7 @@ declare const rateParser: z.ZodObject<{
4591
4588
  volume: number;
4592
4589
  timestamp: number;
4593
4590
  }>;
4594
- type Rate = z.infer<typeof rateParser>;
4591
+ declare type Rate = z.infer<typeof rateParser>;
4595
4592
  declare const exchangeRateParser: z.ZodObject<{
4596
4593
  contract: z.ZodString;
4597
4594
  symbol: z.ZodString;
@@ -4643,7 +4640,7 @@ declare const exchangeRateParser: z.ZodObject<{
4643
4640
  timestamp: number;
4644
4641
  }[];
4645
4642
  }>;
4646
- type ExchangeRate = z.infer<typeof exchangeRateParser>;
4643
+ declare type ExchangeRate = z.infer<typeof exchangeRateParser>;
4647
4644
  declare const exchangeRatesParser: z.ZodArray<z.ZodObject<{
4648
4645
  contract: z.ZodString;
4649
4646
  symbol: z.ZodString;
@@ -4695,7 +4692,7 @@ declare const exchangeRatesParser: z.ZodArray<z.ZodObject<{
4695
4692
  timestamp: number;
4696
4693
  }[];
4697
4694
  }>, "many">;
4698
- type ExchangeRates = z.infer<typeof exchangeRatesParser>;
4695
+ declare type ExchangeRates = z.infer<typeof exchangeRatesParser>;
4699
4696
  declare const bloksRatesParser: z.ZodArray<z.ZodObject<{
4700
4697
  contract: z.ZodString;
4701
4698
  symbol: z.ZodString;
@@ -4747,7 +4744,7 @@ declare const bloksRatesParser: z.ZodArray<z.ZodObject<{
4747
4744
  timestamp: number;
4748
4745
  }[];
4749
4746
  }>, "many">;
4750
- type BloksRate = {
4747
+ declare type BloksRate = {
4751
4748
  key: string;
4752
4749
  symbol: string;
4753
4750
  account: string;
@@ -4795,7 +4792,7 @@ type BloksRate = {
4795
4792
  rank: number;
4796
4793
  chain_rank: number;
4797
4794
  };
4798
- type BloksRates = BloksRate[];
4795
+ declare type BloksRates = BloksRate[];
4799
4796
 
4800
4797
  declare enum Type {
4801
4798
  RECEIVE = "receive",
@@ -4823,7 +4820,7 @@ declare const depositBodyParser: z.ZodObject<{
4823
4820
  hash: string;
4824
4821
  network: string;
4825
4822
  }>;
4826
- type DepositBody = z.infer<typeof depositBodyParser>;
4823
+ declare type DepositBody = z.infer<typeof depositBodyParser>;
4827
4824
  declare const metalTransactionParser: z.ZodObject<{
4828
4825
  id: z.ZodString;
4829
4826
  wallet: z.ZodString;
@@ -4861,7 +4858,7 @@ declare const metalTransactionParser: z.ZodObject<{
4861
4858
  blockHash?: string | null | undefined;
4862
4859
  blockHeight?: number | null | undefined;
4863
4860
  }>;
4864
- type MetalTransaction = z.infer<typeof metalTransactionParser>;
4861
+ declare type MetalTransaction = z.infer<typeof metalTransactionParser>;
4865
4862
 
4866
4863
  declare const otcOrderResponseParser: z.ZodObject<{
4867
4864
  success: z.ZodBoolean;
@@ -4876,7 +4873,7 @@ declare const otcOrderResponseParser: z.ZodObject<{
4876
4873
  transaction_id: string;
4877
4874
  errormsg?: string | undefined;
4878
4875
  }>;
4879
- type OtcOrderResponse = z.infer<typeof otcOrderResponseParser>;
4876
+ declare type OtcOrderResponse = z.infer<typeof otcOrderResponseParser>;
4880
4877
  declare const otcQuoteBodyParser: z.ZodObject<{
4881
4878
  baseAmount: z.ZodNumber;
4882
4879
  baseSymbol: z.ZodString;
@@ -4890,7 +4887,7 @@ declare const otcQuoteBodyParser: z.ZodObject<{
4890
4887
  baseSymbol: string;
4891
4888
  quoteSymbol: string;
4892
4889
  }>;
4893
- type OtcQuoteBody = z.infer<typeof otcQuoteBodyParser>;
4890
+ declare type OtcQuoteBody = z.infer<typeof otcQuoteBodyParser>;
4894
4891
  declare const otcQuoteResponseParser: z.ZodObject<{
4895
4892
  success: z.ZodBoolean;
4896
4893
  token: z.ZodString;
@@ -4907,7 +4904,7 @@ declare const otcQuoteResponseParser: z.ZodObject<{
4907
4904
  qty: number;
4908
4905
  errormsg?: string | undefined;
4909
4906
  }>;
4910
- type OtcQuoteResponse = z.infer<typeof otcQuoteResponseParser>;
4907
+ declare type OtcQuoteResponse = z.infer<typeof otcQuoteResponseParser>;
4911
4908
 
4912
4909
  declare class INode<T> {
4913
4910
  key: string;
@@ -4976,13 +4973,13 @@ interface Pool extends Omit<RawPool, 'pool1' | 'pool2'> {
4976
4973
  liquidityUsd: number;
4977
4974
  liquidityApr: number;
4978
4975
  }
4979
- type ExtendedToken = Coin & ExtendedAsset$1 & {
4976
+ declare type ExtendedToken = Coin & ExtendedAsset$1 & {
4980
4977
  key: string;
4981
4978
  };
4982
- type ExtendedTokenWithRate = ExtendedToken & {
4979
+ declare type ExtendedTokenWithRate = ExtendedToken & {
4983
4980
  rate: number;
4984
4981
  };
4985
- type PoolTable = {
4982
+ declare type PoolTable = {
4986
4983
  pool1: ExtendedTokenWithRate;
4987
4984
  pool2: ExtendedTokenWithRate;
4988
4985
  path: INode<Pool>[];
@@ -5046,7 +5043,7 @@ declare const withdrawBodyBaseAction: z.ZodObject<{
5046
5043
  to: "proton.wrap";
5047
5044
  };
5048
5045
  }>;
5049
- type WithdrawBodyBaseAction = z.infer<typeof withdrawBodyBaseAction>;
5046
+ declare type WithdrawBodyBaseAction = z.infer<typeof withdrawBodyBaseAction>;
5050
5047
  declare const withdrawBodyParser: z.ZodObject<{
5051
5048
  signer: z.ZodObject<{
5052
5049
  actor: z.ZodString;
@@ -6012,7 +6009,7 @@ declare const withdrawBodyParser: z.ZodObject<{
6012
6009
  quoteId: string;
6013
6010
  provider?: string | undefined;
6014
6011
  }>;
6015
- type WithdrawBody = z.infer<typeof withdrawBodyParser>;
6012
+ declare type WithdrawBody = z.infer<typeof withdrawBodyParser>;
6016
6013
  declare const withdrawMetalResponseParser: z.ZodObject<{
6017
6014
  success: z.ZodBoolean;
6018
6015
  id: z.ZodString;
@@ -6023,7 +6020,7 @@ declare const withdrawMetalResponseParser: z.ZodObject<{
6023
6020
  id: string;
6024
6021
  success: boolean;
6025
6022
  }>;
6026
- type WithdrawMetalResponse = z.infer<typeof withdrawMetalResponseParser>;
6023
+ declare type WithdrawMetalResponse = z.infer<typeof withdrawMetalResponseParser>;
6027
6024
  declare const withdrawalFeeQuoteParser: z.ZodObject<{
6028
6025
  quoteId: z.ZodString;
6029
6026
  estimatedFee: z.ZodString;
@@ -6040,7 +6037,7 @@ declare const withdrawalFeeQuoteParser: z.ZodObject<{
6040
6037
  estimatedFee: string;
6041
6038
  currency: string;
6042
6039
  }>;
6043
- type WithdrawalFeeQuote = z.infer<typeof withdrawalFeeQuoteParser>;
6040
+ declare type WithdrawalFeeQuote = z.infer<typeof withdrawalFeeQuoteParser>;
6044
6041
 
6045
6042
  declare const withdrawHistoryMetalSwapParser: z.ZodObject<{
6046
6043
  id: z.ZodString;
@@ -6070,7 +6067,7 @@ declare const withdrawHistoryMetalSwapParser: z.ZodObject<{
6070
6067
  withdrawalAddress: string;
6071
6068
  withdrawalHash?: string | undefined;
6072
6069
  }>;
6073
- type WithdrawHistoryMetalSwap = z.infer<typeof withdrawHistoryMetalSwapParser>;
6070
+ declare type WithdrawHistoryMetalSwap = z.infer<typeof withdrawHistoryMetalSwapParser>;
6074
6071
  declare const withdrawHistoryMetalResponseParser: z.ZodObject<{
6075
6072
  swaps: z.ZodArray<z.ZodObject<{
6076
6073
  id: z.ZodString;
@@ -6138,7 +6135,7 @@ declare const withdrawHistoryMetalResponseParser: z.ZodObject<{
6138
6135
  totalPages: number;
6139
6136
  totalElements: number;
6140
6137
  }>;
6141
- type WithdrawHistoryMetalResponse = z.infer<typeof withdrawHistoryMetalResponseParser>;
6138
+ declare type WithdrawHistoryMetalResponse = z.infer<typeof withdrawHistoryMetalResponseParser>;
6142
6139
 
6143
6140
  declare enum Status {
6144
6141
  PENDING = "pending",
@@ -6183,7 +6180,7 @@ declare const wrapStartParser: z.ZodObject<{
6183
6180
  txid: string;
6184
6181
  deposit_address: string;
6185
6182
  }>;
6186
- type WrapStart = z.infer<typeof wrapStartParser>;
6183
+ declare type WrapStart = z.infer<typeof wrapStartParser>;
6187
6184
  declare const wrapSetConfParser: z.ZodObject<{
6188
6185
  wrap_hash: z.ZodString;
6189
6186
  confirmations: z.ZodNumber;
@@ -6194,7 +6191,7 @@ declare const wrapSetConfParser: z.ZodObject<{
6194
6191
  confirmations: number;
6195
6192
  wrap_hash: string;
6196
6193
  }>;
6197
- type WrapSetConf = z.infer<typeof wrapSetConfParser>;
6194
+ declare type WrapSetConf = z.infer<typeof wrapSetConfParser>;
6198
6195
  declare const wrapParser: z.ZodObject<{
6199
6196
  index: z.ZodNumber;
6200
6197
  proton_account: z.ZodString;
@@ -6247,10 +6244,10 @@ declare const wrapParser: z.ZodObject<{
6247
6244
  proton_account: string;
6248
6245
  finish_txid: string;
6249
6246
  }>;
6250
- type Wrap = z.infer<typeof wrapParser>;
6247
+ declare type Wrap = z.infer<typeof wrapParser>;
6251
6248
 
6252
6249
  declare const sortDirectionEnum: z.ZodEnum<["asc", "desc"]>;
6253
- type SortDirection = z.input<typeof sortDirectionEnum>;
6250
+ declare type SortDirection = z.input<typeof sortDirectionEnum>;
6254
6251
  /**
6255
6252
  * OHLCV
6256
6253
  */
@@ -6282,7 +6279,7 @@ declare const ohlcvParser: z.ZodObject<{
6282
6279
  volume_bid: number;
6283
6280
  count: number;
6284
6281
  }>;
6285
- type OHLCV = z.infer<typeof ohlcvParser>;
6282
+ declare type OHLCV = z.infer<typeof ohlcvParser>;
6286
6283
  declare const getOhlcvParser: z.ZodObject<{
6287
6284
  interval: z.ZodString;
6288
6285
  from: z.ZodString;
@@ -6302,8 +6299,8 @@ declare const getOhlcvParser: z.ZodObject<{
6302
6299
  interval: string;
6303
6300
  limit?: number | undefined;
6304
6301
  }>;
6305
- type GetOHLCV = z.input<typeof getOhlcvParser>;
6306
- type GetOHLCVParsed = z.output<typeof getOhlcvParser>;
6302
+ declare type GetOHLCV = z.input<typeof getOhlcvParser>;
6303
+ declare type GetOHLCVParsed = z.output<typeof getOhlcvParser>;
6307
6304
  declare const getOhlcvResponseParser: z.ZodObject<{
6308
6305
  sync: z.ZodNumber;
6309
6306
  data: z.ZodArray<z.ZodObject<{
@@ -6359,7 +6356,7 @@ declare const getOhlcvResponseParser: z.ZodObject<{
6359
6356
  }[];
6360
6357
  sync: number;
6361
6358
  }>;
6362
- type GetOHLCVResponse = z.infer<typeof getOhlcvResponseParser>;
6359
+ declare type GetOHLCVResponse = z.infer<typeof getOhlcvResponseParser>;
6363
6360
  /**
6364
6361
  * Order History
6365
6362
  */
@@ -6421,7 +6418,7 @@ declare const openOrderParser: z.ZodObject<{
6421
6418
  filled_amount?: number | undefined;
6422
6419
  filled_fee?: number | undefined;
6423
6420
  }>;
6424
- type OpenOrder = z.infer<typeof openOrderParser>;
6421
+ declare type OpenOrder = z.infer<typeof openOrderParser>;
6425
6422
  declare const orderLogParser: z.ZodObject<{
6426
6423
  seq: z.ZodString;
6427
6424
  block_num: z.ZodString;
@@ -6471,7 +6468,7 @@ declare const orderLogParser: z.ZodObject<{
6471
6468
  quantity_change: string;
6472
6469
  trx_id: string;
6473
6470
  }>;
6474
- type OrderLog = z.infer<typeof orderLogParser>;
6471
+ declare type OrderLog = z.infer<typeof orderLogParser>;
6475
6472
  declare const orderHistoryParser: z.ZodObject<{
6476
6473
  block_num: z.ZodString;
6477
6474
  block_time: z.ZodString;
@@ -6536,7 +6533,7 @@ declare const orderHistoryParser: z.ZodObject<{
6536
6533
  filled_amount?: number | undefined;
6537
6534
  filled_fee?: number | undefined;
6538
6535
  }>;
6539
- type OrderHistory = z.infer<typeof orderHistoryParser>;
6536
+ declare type OrderHistory = z.infer<typeof orderHistoryParser>;
6540
6537
  declare const getOpenOrdersParser: z.ZodObject<{
6541
6538
  account: z.ZodString;
6542
6539
  symbol: z.ZodOptional<z.ZodString>;
@@ -6556,8 +6553,8 @@ declare const getOpenOrdersParser: z.ZodObject<{
6556
6553
  offset?: number | undefined;
6557
6554
  ordinal_order_ids?: string | string[] | undefined;
6558
6555
  }>;
6559
- type GetOpenOrders = z.input<typeof getOpenOrdersParser>;
6560
- type GetOpenOrdersParsed = z.output<typeof getOpenOrdersParser>;
6556
+ declare type GetOpenOrders = z.input<typeof getOpenOrdersParser>;
6557
+ declare type GetOpenOrdersParsed = z.output<typeof getOpenOrdersParser>;
6561
6558
  declare const getOpenOrdersResponseParser: z.ZodObject<{
6562
6559
  sync: z.ZodNumber;
6563
6560
  count: z.ZodNumber;
@@ -6666,7 +6663,7 @@ declare const getOpenOrdersResponseParser: z.ZodObject<{
6666
6663
  count: number;
6667
6664
  sync: number;
6668
6665
  }>;
6669
- type GetOpenOrdersResponse = z.infer<typeof getOpenOrdersResponseParser>;
6666
+ declare type GetOpenOrdersResponse = z.infer<typeof getOpenOrdersResponseParser>;
6670
6667
  declare const getOrderHistoryParser: z.ZodObject<{
6671
6668
  account: z.ZodString;
6672
6669
  symbol: z.ZodOptional<z.ZodString>;
@@ -6692,8 +6689,8 @@ declare const getOrderHistoryParser: z.ZodObject<{
6692
6689
  offset?: number | undefined;
6693
6690
  ordinal_order_ids?: string | string[] | undefined;
6694
6691
  }>;
6695
- type GetOrderHistory = z.input<typeof getOrderHistoryParser>;
6696
- type GetOrderHistoryParsed = z.output<typeof getOrderHistoryParser>;
6692
+ declare type GetOrderHistory = z.input<typeof getOrderHistoryParser>;
6693
+ declare type GetOrderHistoryParsed = z.output<typeof getOrderHistoryParser>;
6697
6694
  declare const getOrderHistoryResponseParser: z.ZodObject<{
6698
6695
  sync: z.ZodNumber;
6699
6696
  count: z.ZodNumber;
@@ -6812,7 +6809,7 @@ declare const getOrderHistoryResponseParser: z.ZodObject<{
6812
6809
  count: number;
6813
6810
  sync: number;
6814
6811
  }>;
6815
- type GetOrderHistoryResponse = z.infer<typeof getOrderHistoryResponseParser>;
6812
+ declare type GetOrderHistoryResponse = z.infer<typeof getOrderHistoryResponseParser>;
6816
6813
  declare const getOrderLifecycleParser: z.ZodObject<{
6817
6814
  order_id: z.ZodOptional<z.ZodString>;
6818
6815
  ordinal_order_id: z.ZodOptional<z.ZodString>;
@@ -6823,8 +6820,8 @@ declare const getOrderLifecycleParser: z.ZodObject<{
6823
6820
  order_id?: string | undefined;
6824
6821
  ordinal_order_id?: string | undefined;
6825
6822
  }>;
6826
- type GetOrderLifecycle = z.input<typeof getOrderLifecycleParser>;
6827
- type GetOrderLifecycleParsed = z.output<typeof getOrderLifecycleParser>;
6823
+ declare type GetOrderLifecycle = z.input<typeof getOrderLifecycleParser>;
6824
+ declare type GetOrderLifecycleParsed = z.output<typeof getOrderLifecycleParser>;
6828
6825
  declare const getOrderLifecycleResponseParser: z.ZodObject<{
6829
6826
  sync: z.ZodNumber;
6830
6827
  data: z.ZodArray<z.ZodObject<{
@@ -6940,7 +6937,7 @@ declare const getOrderLifecycleResponseParser: z.ZodObject<{
6940
6937
  }[];
6941
6938
  sync: number;
6942
6939
  }>;
6943
- type GetOrderLifecycleResponse = z.infer<typeof getOrderLifecycleResponseParser>;
6940
+ declare type GetOrderLifecycleResponse = z.infer<typeof getOrderLifecycleResponseParser>;
6944
6941
  /**
6945
6942
  * Submit Order
6946
6943
  */
@@ -6954,7 +6951,7 @@ declare const postSubmitOrderParser: z.ZodObject<{
6954
6951
  signatures: string[];
6955
6952
  serialized_tx_hex: string;
6956
6953
  }>;
6957
- type PostSubmitOrder = z.infer<typeof postSubmitOrderParser>;
6954
+ declare type PostSubmitOrder = z.infer<typeof postSubmitOrderParser>;
6958
6955
  declare const postSubmitOrderResponseParser: z.ZodObject<{
6959
6956
  sync: z.ZodNumber;
6960
6957
  data: z.ZodObject<{
@@ -7013,7 +7010,7 @@ declare const postSubmitOrderResponseParser: z.ZodObject<{
7013
7010
  };
7014
7011
  sync: number;
7015
7012
  }>;
7016
- type PostSubmitOrderResponse = z.infer<typeof postSubmitOrderResponseParser>;
7013
+ declare type PostSubmitOrderResponse = z.infer<typeof postSubmitOrderResponseParser>;
7017
7014
  /**
7018
7015
  * Serialize Order
7019
7016
  */
@@ -7096,7 +7093,7 @@ declare const postSerializeOrderParser: z.ZodObject<{
7096
7093
  }[];
7097
7094
  };
7098
7095
  }>;
7099
- type PostSerializeOrder = z.infer<typeof postSerializeOrderParser>;
7096
+ declare type PostSerializeOrder = z.infer<typeof postSerializeOrderParser>;
7100
7097
  declare const postSerializeOrderResponseParser: z.ZodObject<{
7101
7098
  data: z.ZodObject<{
7102
7099
  serialized_tx_hex: z.ZodString;
@@ -7119,7 +7116,7 @@ declare const postSerializeOrderResponseParser: z.ZodObject<{
7119
7116
  digest_hex: string;
7120
7117
  };
7121
7118
  }>;
7122
- type PostSerializeOrderResponse = z.infer<typeof postSerializeOrderResponseParser>;
7119
+ declare type PostSerializeOrderResponse = z.infer<typeof postSerializeOrderResponseParser>;
7123
7120
  /**
7124
7121
  * Depth
7125
7122
  */
@@ -7139,7 +7136,7 @@ declare const depthParser: z.ZodObject<{
7139
7136
  ask: number;
7140
7137
  bid: number;
7141
7138
  }>;
7142
- type Depth = z.infer<typeof depthParser>;
7139
+ declare type Depth = z.infer<typeof depthParser>;
7143
7140
  declare const getDepthParser: z.ZodObject<{
7144
7141
  symbol: z.ZodString;
7145
7142
  step: z.ZodNumber;
@@ -7153,8 +7150,8 @@ declare const getDepthParser: z.ZodObject<{
7153
7150
  step: number;
7154
7151
  limit?: number | undefined;
7155
7152
  }>;
7156
- type GetDepth = z.input<typeof getDepthParser>;
7157
- type GetDepthParsed = z.output<typeof getDepthParser>;
7153
+ declare type GetDepth = z.input<typeof getDepthParser>;
7154
+ declare type GetDepthParsed = z.output<typeof getDepthParser>;
7158
7155
  declare const getDepthResponseParser: z.ZodObject<{
7159
7156
  sync: z.ZodNumber;
7160
7157
  data: z.ZodObject<{
@@ -7250,7 +7247,7 @@ declare const getDepthResponseParser: z.ZodObject<{
7250
7247
  };
7251
7248
  sync: number;
7252
7249
  }>;
7253
- type GetDepthResponse = z.infer<typeof getDepthResponseParser>;
7250
+ declare type GetDepthResponse = z.infer<typeof getDepthResponseParser>;
7254
7251
  /**
7255
7252
  * Daily
7256
7253
  */
@@ -7285,7 +7282,7 @@ declare const dailyParser: z.ZodObject<{
7285
7282
  volume_ask: number;
7286
7283
  change_percentage: number;
7287
7284
  }>;
7288
- type Daily = z.infer<typeof dailyParser>;
7285
+ declare type Daily = z.infer<typeof dailyParser>;
7289
7286
  declare const getDailyResponseParser: z.ZodObject<{
7290
7287
  sync: z.ZodNumber;
7291
7288
  data: z.ZodArray<z.ZodObject<{
@@ -7346,7 +7343,7 @@ declare const getDailyResponseParser: z.ZodObject<{
7346
7343
  }[];
7347
7344
  sync: number;
7348
7345
  }>;
7349
- type GetDailyResponse = z.infer<typeof getDailyResponseParser>;
7346
+ declare type GetDailyResponse = z.infer<typeof getDailyResponseParser>;
7350
7347
  /**
7351
7348
  * Markets
7352
7349
  */
@@ -7431,7 +7428,7 @@ declare const marketParser: z.ZodObject<{
7431
7428
  multiplier: number;
7432
7429
  };
7433
7430
  }>;
7434
- type Market = z.infer<typeof marketParser>;
7431
+ declare type Market = z.infer<typeof marketParser>;
7435
7432
  declare const dbMarketParser: z.ZodObject<{
7436
7433
  market_id: z.ZodNumber;
7437
7434
  order_min: z.ZodString;
@@ -7472,7 +7469,7 @@ declare const dbMarketParser: z.ZodObject<{
7472
7469
  ask_token_s: string;
7473
7470
  ask_token_m: string;
7474
7471
  }>;
7475
- type DbMarket = z.infer<typeof dbMarketParser>;
7472
+ declare type DbMarket = z.infer<typeof dbMarketParser>;
7476
7473
  declare const getMarketsResponseParser: z.ZodObject<{
7477
7474
  sync: z.ZodNumber;
7478
7475
  data: z.ZodArray<z.ZodObject<{
@@ -7603,7 +7600,7 @@ declare const getMarketsResponseParser: z.ZodObject<{
7603
7600
  }[];
7604
7601
  sync: number;
7605
7602
  }>;
7606
- type GetMarketsResponse = z.infer<typeof getMarketsResponseParser>;
7603
+ declare type GetMarketsResponse = z.infer<typeof getMarketsResponseParser>;
7607
7604
  /**
7608
7605
  * Trades
7609
7606
  */
@@ -7674,7 +7671,7 @@ declare const tradeLogParser: z.ZodObject<{
7674
7671
  ask_referrer: string;
7675
7672
  ask_referrer_fee: string;
7676
7673
  }>;
7677
- type TradeLog = z.infer<typeof tradeLogParser>;
7674
+ declare type TradeLog = z.infer<typeof tradeLogParser>;
7678
7675
  declare const tradeParser: z.ZodObject<{
7679
7676
  block_num: z.ZodString;
7680
7677
  block_time: z.ZodString;
@@ -7748,7 +7745,7 @@ declare const tradeParser: z.ZodObject<{
7748
7745
  bid_user_ordinal_order_id: string;
7749
7746
  ask_user_ordinal_order_id: string;
7750
7747
  }>;
7751
- type Trade = z.infer<typeof tradeParser>;
7748
+ declare type Trade = z.infer<typeof tradeParser>;
7752
7749
  declare const getTradesParser: z.ZodObject<{
7753
7750
  symbol: z.ZodString;
7754
7751
  offset: z.ZodDefault<z.ZodNumber>;
@@ -7762,8 +7759,8 @@ declare const getTradesParser: z.ZodObject<{
7762
7759
  limit?: number | undefined;
7763
7760
  offset?: number | undefined;
7764
7761
  }>;
7765
- type GetTrades = z.input<typeof getTradesParser>;
7766
- type GetTradesParsed = z.output<typeof getTradesParser>;
7762
+ declare type GetTrades = z.input<typeof getTradesParser>;
7763
+ declare type GetTradesParsed = z.output<typeof getTradesParser>;
7767
7764
  declare const getTradesResponseParser: z.ZodObject<{
7768
7765
  sync: z.ZodNumber;
7769
7766
  data: z.ZodArray<z.ZodObject<{
@@ -7894,7 +7891,7 @@ declare const getTradesResponseParser: z.ZodObject<{
7894
7891
  }[];
7895
7892
  sync: number;
7896
7893
  }>;
7897
- type GetTradesResponse = z.infer<typeof getTradesResponseParser>;
7894
+ declare type GetTradesResponse = z.infer<typeof getTradesResponseParser>;
7898
7895
  declare const getTradeHistoryParser: z.ZodObject<{
7899
7896
  account: z.ZodString;
7900
7897
  symbol: z.ZodOptional<z.ZodString>;
@@ -7914,8 +7911,8 @@ declare const getTradeHistoryParser: z.ZodObject<{
7914
7911
  offset?: number | undefined;
7915
7912
  ordinal_order_ids?: string | string[] | undefined;
7916
7913
  }>;
7917
- type GetTradeHistory = z.input<typeof getTradeHistoryParser>;
7918
- type GetTradeHistoryParsed = z.output<typeof getTradeHistoryParser>;
7914
+ declare type GetTradeHistory = z.input<typeof getTradeHistoryParser>;
7915
+ declare type GetTradeHistoryParsed = z.output<typeof getTradeHistoryParser>;
7919
7916
  declare const getTradeHistoryResponseParser: z.ZodObject<{
7920
7917
  sync: z.ZodNumber;
7921
7918
  count: z.ZodNumber;
@@ -8049,7 +8046,7 @@ declare const getTradeHistoryResponseParser: z.ZodObject<{
8049
8046
  count: number;
8050
8047
  sync: number;
8051
8048
  }>;
8052
- type GetTradeHistoryResponse = z.infer<typeof getTradeHistoryResponseParser>;
8049
+ declare type GetTradeHistoryResponse = z.infer<typeof getTradeHistoryResponseParser>;
8053
8050
  /**
8054
8051
  * SYNC
8055
8052
  */
@@ -8075,7 +8072,7 @@ declare const syncParser: z.ZodObject<{
8075
8072
  is_master: number;
8076
8073
  last_updated: string;
8077
8074
  }>;
8078
- type Sync = z.infer<typeof syncParser>;
8075
+ declare type Sync = z.infer<typeof syncParser>;
8079
8076
  declare const getSyncResponseParser: z.ZodObject<{
8080
8077
  dbSecondsBehind: z.ZodNumber;
8081
8078
  chronicleSecondsBehind: z.ZodNumber;
@@ -8089,7 +8086,7 @@ declare const getSyncResponseParser: z.ZodObject<{
8089
8086
  chronicleSecondsBehind: number;
8090
8087
  maxSecondsBehind: number;
8091
8088
  }>;
8092
- type GetSyncResponse = z.infer<typeof getSyncResponseParser>;
8089
+ declare type GetSyncResponse = z.infer<typeof getSyncResponseParser>;
8093
8090
  /**
8094
8091
  * Referral Totals
8095
8092
  */
@@ -8115,7 +8112,7 @@ declare const refferalTotalParser: z.ZodObject<{
8115
8112
  ask_fee: number;
8116
8113
  referrer: string;
8117
8114
  }>;
8118
- type ReferralTotal = z.infer<typeof refferalTotalParser>;
8115
+ declare type ReferralTotal = z.infer<typeof refferalTotalParser>;
8119
8116
  declare const getReferralTotalsParser: z.ZodObject<{
8120
8117
  referrer: z.ZodString;
8121
8118
  }, "strip", z.ZodTypeAny, {
@@ -8123,8 +8120,8 @@ declare const getReferralTotalsParser: z.ZodObject<{
8123
8120
  }, {
8124
8121
  referrer: string;
8125
8122
  }>;
8126
- type GetReferralTotals = z.input<typeof getReferralTotalsParser>;
8127
- type GetReferralTotalsParsed = z.output<typeof getReferralTotalsParser>;
8123
+ declare type GetReferralTotals = z.input<typeof getReferralTotalsParser>;
8124
+ declare type GetReferralTotalsParsed = z.output<typeof getReferralTotalsParser>;
8128
8125
  declare const getReferralTotalsResponseParser: z.ZodObject<{
8129
8126
  sync: z.ZodNumber;
8130
8127
  data: z.ZodArray<z.ZodObject<{
@@ -8170,7 +8167,7 @@ declare const getReferralTotalsResponseParser: z.ZodObject<{
8170
8167
  }[];
8171
8168
  sync: number;
8172
8169
  }>;
8173
- type GetReferralTotalsResponse = z.infer<typeof getReferralTotalsResponseParser>;
8170
+ declare type GetReferralTotalsResponse = z.infer<typeof getReferralTotalsResponseParser>;
8174
8171
  /**
8175
8172
  * Referrals
8176
8173
  */
@@ -8181,7 +8178,7 @@ declare const refferalParser: z.ZodObject<{
8181
8178
  }, {
8182
8179
  referred_user: string;
8183
8180
  }>;
8184
- type Referral = z.infer<typeof refferalParser>;
8181
+ declare type Referral = z.infer<typeof refferalParser>;
8185
8182
  declare const getReferralsParser: z.ZodObject<{
8186
8183
  referrer: z.ZodString;
8187
8184
  }, "strip", z.ZodTypeAny, {
@@ -8189,8 +8186,8 @@ declare const getReferralsParser: z.ZodObject<{
8189
8186
  }, {
8190
8187
  referrer: string;
8191
8188
  }>;
8192
- type GetReferrals = z.input<typeof getReferralsParser>;
8193
- type GetReferralsParsed = z.output<typeof getReferralsParser>;
8189
+ declare type GetReferrals = z.input<typeof getReferralsParser>;
8190
+ declare type GetReferralsParsed = z.output<typeof getReferralsParser>;
8194
8191
  declare const getReferralsResponseParser: z.ZodObject<{
8195
8192
  sync: z.ZodNumber;
8196
8193
  data: z.ZodArray<z.ZodObject<{
@@ -8211,7 +8208,7 @@ declare const getReferralsResponseParser: z.ZodObject<{
8211
8208
  }[];
8212
8209
  sync: number;
8213
8210
  }>;
8214
- type GetReferralsResponse = z.infer<typeof getReferralsResponseParser>;
8211
+ declare type GetReferralsResponse = z.infer<typeof getReferralsResponseParser>;
8215
8212
  /**
8216
8213
  * Leaderboard
8217
8214
  */
@@ -8225,7 +8222,7 @@ declare const leaderboardParser: z.ZodObject<{
8225
8222
  user: string;
8226
8223
  total: number;
8227
8224
  }>;
8228
- type Leaderboard = z.infer<typeof leaderboardParser>;
8225
+ declare type Leaderboard = z.infer<typeof leaderboardParser>;
8229
8226
  declare const getLeaderboardParser: z.ZodObject<{
8230
8227
  market_ids: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodNumber]>, number[], number | number[]>, number[], number | number[]>;
8231
8228
  from: z.ZodString;
@@ -8242,8 +8239,8 @@ declare const getLeaderboardParser: z.ZodObject<{
8242
8239
  market_ids: number | number[];
8243
8240
  exclude_zero_fee?: boolean | "true" | "false" | undefined;
8244
8241
  }>;
8245
- type GetLeaderboard = z.input<typeof getLeaderboardParser>;
8246
- type GetLeaderboardParsed = z.output<typeof getLeaderboardParser>;
8242
+ declare type GetLeaderboard = z.input<typeof getLeaderboardParser>;
8243
+ declare type GetLeaderboardParsed = z.output<typeof getLeaderboardParser>;
8247
8244
  declare const getLeaderboardResponseParser: z.ZodObject<{
8248
8245
  sync: z.ZodNumber;
8249
8246
  data: z.ZodArray<z.ZodObject<{
@@ -8269,7 +8266,7 @@ declare const getLeaderboardResponseParser: z.ZodObject<{
8269
8266
  }[];
8270
8267
  sync: number;
8271
8268
  }>;
8272
- type GetLeaderboardResponse = z.infer<typeof getLeaderboardResponseParser>;
8269
+ declare type GetLeaderboardResponse = z.infer<typeof getLeaderboardResponseParser>;
8273
8270
  /**
8274
8271
  * History Transaction
8275
8272
  */
@@ -8314,7 +8311,7 @@ declare const historyPartialParser: z.ZodObject<{
8314
8311
  signatures: string[];
8315
8312
  context_free_data: unknown[];
8316
8313
  }>;
8317
- type HistoryPartial = z.infer<typeof historyPartialParser>;
8314
+ declare type HistoryPartial = z.infer<typeof historyPartialParser>;
8318
8315
  declare const actParser: z.ZodObject<{
8319
8316
  account: z.ZodString;
8320
8317
  name: z.ZodString;
@@ -8346,7 +8343,7 @@ declare const actParser: z.ZodObject<{
8346
8343
  }[];
8347
8344
  data?: any;
8348
8345
  }>;
8349
- type HistoryAct = z.infer<typeof actParser>;
8346
+ declare type HistoryAct = z.infer<typeof actParser>;
8350
8347
  declare const receiptParser: z.ZodObject<{
8351
8348
  receiver: z.ZodString;
8352
8349
  act_digest: z.ZodString;
@@ -8387,7 +8384,7 @@ declare const receiptParser: z.ZodObject<{
8387
8384
  code_sequence: string;
8388
8385
  abi_sequence: string;
8389
8386
  }>;
8390
- type HistoryReceipt = z.infer<typeof receiptParser>;
8387
+ declare type HistoryReceipt = z.infer<typeof receiptParser>;
8391
8388
  declare const actionTraceParser: z.ZodObject<{
8392
8389
  action_ordinal: z.ZodString;
8393
8390
  creator_action_ordinal: z.ZodString;
@@ -8550,7 +8547,7 @@ declare const actionTraceParser: z.ZodObject<{
8550
8547
  error_code: string | null;
8551
8548
  return_value: string;
8552
8549
  }>;
8553
- type HistoryActionTrace = z.infer<typeof actionTraceParser>;
8550
+ declare type HistoryActionTrace = z.infer<typeof actionTraceParser>;
8554
8551
  declare const traceParser: z.ZodObject<{
8555
8552
  id: z.ZodString;
8556
8553
  status: z.ZodString;
@@ -8904,7 +8901,7 @@ declare const traceParser: z.ZodObject<{
8904
8901
  context_free_data: unknown[];
8905
8902
  };
8906
8903
  }>;
8907
- type HistoryTrace = z.infer<typeof traceParser>;
8904
+ declare type HistoryTrace = z.infer<typeof traceParser>;
8908
8905
  declare const historyTransactionParser: z.ZodObject<{
8909
8906
  seq: z.ZodString;
8910
8907
  block_num: z.ZodString;
@@ -9555,7 +9552,7 @@ declare const historyTransactionParser: z.ZodObject<{
9555
9552
  block_timestamp: string;
9556
9553
  };
9557
9554
  }>;
9558
- type HistoryTransaction = z.infer<typeof historyTransactionParser>;
9555
+ declare type HistoryTransaction = z.infer<typeof historyTransactionParser>;
9559
9556
  declare const getHistoryTransactionResponseParser: z.ZodObject<{
9560
9557
  data: z.ZodNullable<z.ZodObject<{
9561
9558
  seq: z.ZodString;
@@ -10362,7 +10359,7 @@ declare const getHistoryTransactionResponseParser: z.ZodObject<{
10362
10359
  };
10363
10360
  } | null;
10364
10361
  }>;
10365
- type GetHistoryTransactionResponse = z.input<typeof getHistoryTransactionResponseParser>;
10362
+ declare type GetHistoryTransactionResponse = z.input<typeof getHistoryTransactionResponseParser>;
10366
10363
  declare const chronicleTransactionParser: z.ZodObject<{
10367
10364
  block_num: z.ZodString;
10368
10365
  block_timestamp: z.ZodString;
@@ -10856,7 +10853,7 @@ declare const chronicleTransactionParser: z.ZodObject<{
10856
10853
  };
10857
10854
  block_timestamp: string;
10858
10855
  }>;
10859
- type ChronicleTransaction = z.infer<typeof chronicleTransactionParser>;
10856
+ declare type ChronicleTransaction = z.infer<typeof chronicleTransactionParser>;
10860
10857
  declare const dbHistoryTransactionParser: z.ZodObject<{
10861
10858
  seq: z.ZodString;
10862
10859
  block_num: z.ZodString;
@@ -10876,7 +10873,7 @@ declare const dbHistoryTransactionParser: z.ZodObject<{
10876
10873
  trx_id: string;
10877
10874
  trace?: any;
10878
10875
  }>;
10879
- type DbHistoryTransaction = z.infer<typeof dbHistoryTransactionParser>;
10876
+ declare type DbHistoryTransaction = z.infer<typeof dbHistoryTransactionParser>;
10880
10877
  /**
10881
10878
  * History Actions
10882
10879
  */
@@ -10908,8 +10905,8 @@ declare const getHistoryActionsParser: z.ZodObject<{
10908
10905
  date_to?: string | undefined;
10909
10906
  direction?: "asc" | "desc" | undefined;
10910
10907
  }>;
10911
- type GetHistoryActions = z.input<typeof getHistoryActionsParser>;
10912
- type GetHistoryActionsParsed = z.output<typeof getHistoryActionsParser>;
10908
+ declare type GetHistoryActions = z.input<typeof getHistoryActionsParser>;
10909
+ declare type GetHistoryActionsParsed = z.output<typeof getHistoryActionsParser>;
10913
10910
  declare const historyActionParser: z.ZodObject<{
10914
10911
  block_num: z.ZodNumber;
10915
10912
  block_time: z.ZodString;
@@ -11166,7 +11163,7 @@ declare const historyActionParser: z.ZodObject<{
11166
11163
  return_value: string;
11167
11164
  };
11168
11165
  }>;
11169
- type HistoryAction = z.infer<typeof historyActionParser>;
11166
+ declare type HistoryAction = z.infer<typeof historyActionParser>;
11170
11167
  declare const getHistoryActionsResponseParser: z.ZodObject<{
11171
11168
  sync: z.ZodNumber;
11172
11169
  last_irreversible_block_num: z.ZodNumber;
@@ -11521,7 +11518,7 @@ declare const getHistoryActionsResponseParser: z.ZodObject<{
11521
11518
  sync: number;
11522
11519
  last_irreversible_block_num: number;
11523
11520
  }>;
11524
- type GetHistoryActionsResponse = z.infer<typeof getHistoryActionsResponseParser>;
11521
+ declare type GetHistoryActionsResponse = z.infer<typeof getHistoryActionsResponseParser>;
11525
11522
  /**
11526
11523
  * History transfers
11527
11524
  */
@@ -11568,8 +11565,8 @@ declare const getHistoryTransfersParser: z.ZodObject<{
11568
11565
  global_seq_from?: string | undefined;
11569
11566
  global_seq_to?: string | undefined;
11570
11567
  }>;
11571
- type GetHistoryTransfers = z.input<typeof getHistoryTransfersParser>;
11572
- type GetHistoryTransfersParsed = z.output<typeof getHistoryTransfersParser>;
11568
+ declare type GetHistoryTransfers = z.input<typeof getHistoryTransfersParser>;
11569
+ declare type GetHistoryTransfersParsed = z.output<typeof getHistoryTransfersParser>;
11573
11570
  declare const historyTransferParser: z.ZodObject<{
11574
11571
  block_num: z.ZodNumber;
11575
11572
  block_time: z.ZodString;
@@ -11826,7 +11823,7 @@ declare const historyTransferParser: z.ZodObject<{
11826
11823
  return_value: string;
11827
11824
  };
11828
11825
  }>;
11829
- type HistoryTransfer = z.infer<typeof historyTransferParser>;
11826
+ declare type HistoryTransfer = z.infer<typeof historyTransferParser>;
11830
11827
  declare const getHistoryTransfersResponseParser: z.ZodObject<{
11831
11828
  sync: z.ZodNumber;
11832
11829
  last_irreversible_block_num: z.ZodNumber;
@@ -12181,7 +12178,7 @@ declare const getHistoryTransfersResponseParser: z.ZodObject<{
12181
12178
  sync: number;
12182
12179
  last_irreversible_block_num: number;
12183
12180
  }>;
12184
- type GetHistoryTransfersResponse = z.infer<typeof getHistoryTransfersResponseParser>;
12181
+ declare type GetHistoryTransfersResponse = z.infer<typeof getHistoryTransfersResponseParser>;
12185
12182
  /**
12186
12183
  * Open orders Balances
12187
12184
  */
@@ -12204,7 +12201,7 @@ declare const marketOpenOrdersBalanceParser: z.ZodObject<{
12204
12201
  bid_token_quantity: number;
12205
12202
  ask_token_quantity: number;
12206
12203
  }>;
12207
- type MarketOpenOrdersBalance = z.infer<typeof marketOpenOrdersBalanceParser>;
12204
+ declare type MarketOpenOrdersBalance = z.infer<typeof marketOpenOrdersBalanceParser>;
12208
12205
  declare const getOpenOrdersBalancesResponseParser: z.ZodObject<{
12209
12206
  sync: z.ZodNumber;
12210
12207
  data: z.ZodArray<z.ZodObject<{
@@ -12245,7 +12242,7 @@ declare const getOpenOrdersBalancesResponseParser: z.ZodObject<{
12245
12242
  }[];
12246
12243
  sync: number;
12247
12244
  }>;
12248
- type GetOpenOrdersBalancesResponse = z.infer<typeof getOpenOrdersBalancesResponseParser>;
12245
+ declare type GetOpenOrdersBalancesResponse = z.infer<typeof getOpenOrdersBalancesResponseParser>;
12249
12246
  /**
12250
12247
  * Basic Types
12251
12248
  */
@@ -13175,7 +13172,7 @@ declare const loginAccountParamsV3Parser: z.ZodObject<z.objectUtil.extendShape<{
13175
13172
  email?: string | undefined;
13176
13173
  verificationCode?: string | undefined;
13177
13174
  }>;
13178
- type LoginAccountParamsV3 = z.infer<typeof loginAccountParamsV3Parser>;
13175
+ declare type LoginAccountParamsV3 = z.infer<typeof loginAccountParamsV3Parser>;
13179
13176
 
13180
13177
  declare const WRAP_CONTRACT = "proton.wrap";
13181
13178
  declare const WRAP_AUTH_ACTION = "generateauth";
package/dist/index.js CHANGED
@@ -158,7 +158,6 @@ var Chains = /* @__PURE__ */ ((Chains2) => {
158
158
  Chains2["BitcoinMainnet"] = "Bitcoin";
159
159
  Chains2["BitcoinTestnet"] = "Bitcoin (Testnet)";
160
160
  Chains2["EthereumMainnet"] = "Ethereum";
161
- Chains2["EthereumRopsten"] = "Ethereum (Ropsten)";
162
161
  Chains2["EthereumSepolia"] = "Ethereum (Sepolia)";
163
162
  Chains2["LitecoinMainnet"] = "Litecoin";
164
163
  Chains2["LitecoinTestnet"] = "Litecoin (Testnet)";
@@ -194,7 +193,6 @@ var Chains = /* @__PURE__ */ ((Chains2) => {
194
193
  var Networks = /* @__PURE__ */ ((Networks2) => {
195
194
  Networks2["Mainnet"] = "mainnet";
196
195
  Networks2["Testnet"] = "testnet";
197
- Networks2["Ropsten"] = "ropsten";
198
196
  Networks2["ERC20"] = "erc20";
199
197
  Networks2["BEP20"] = "bep20";
200
198
  Networks2["XLM"] = "xlm";
@@ -218,7 +216,6 @@ var explorerLinkByChain = {
218
216
  ["Bitcoin" /* BitcoinMainnet */]: (txid) => `https://blockchain.com/btc/tx/${txid}`,
219
217
  ["Bitcoin (Testnet)" /* BitcoinTestnet */]: (txid) => `https://blockstream.info/testnet/tx/${txid}`,
220
218
  ["Ethereum" /* EthereumMainnet */]: (txid) => `https://etherscan.io/tx/${txid}`,
221
- ["Ethereum (Ropsten)" /* EthereumRopsten */]: (txid) => `https://ropsten.etherscan.io/tx/${txid}`,
222
219
  ["Ethereum (Sepolia)" /* EthereumSepolia */]: (txid) => `https://sepolia.etherscan.io/tx/${txid}`,
223
220
  ["Litecoin" /* LitecoinMainnet */]: (txid) => `https://blockchair.com/litecoin/transaction/${txid}`,
224
221
  ["Litecoin (Testnet)" /* LitecoinTestnet */]: (txid) => `https://blockexplorer.one/litecoin/testnet/blockHash/${txid}`,
@@ -340,8 +337,8 @@ var initializeCoins = (protonChain) => {
340
337
  {
341
338
  wallet: "USDC",
342
339
  symbol: "USDC",
343
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
344
- network: "ropsten" /* Ropsten */,
340
+ chain: "Ethereum (Sepolia)" /* EthereumSepolia */,
341
+ network: "sepolia" /* Sepolia */,
345
342
  precision: 6,
346
343
  contract: "0xA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48",
347
344
  provider: "fireblocks" /* FIREBLOCKS */,
@@ -593,8 +590,8 @@ var initializeCoins = (protonChain) => {
593
590
  {
594
591
  wallet: "USDT",
595
592
  symbol: "USDT",
596
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
597
- network: "ropsten" /* Ropsten */,
593
+ chain: "Ethereum (Sepolia)" /* EthereumSepolia */,
594
+ network: "sepolia" /* Sepolia */,
598
595
  precision: 6,
599
596
  contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
600
597
  provider: "fireblocks" /* FIREBLOCKS */,
@@ -745,8 +742,8 @@ var initializeCoins = (protonChain) => {
745
742
  {
746
743
  wallet: "PAXG",
747
744
  symbol: "PAXG",
748
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
749
- network: "ropsten" /* Ropsten */,
745
+ chain: "Ethereum (Sepolia)" /* EthereumSepolia */,
746
+ network: "sepolia" /* Sepolia */,
750
747
  precision: 18,
751
748
  contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
752
749
  provider: "fireblocks" /* FIREBLOCKS */,
@@ -830,8 +827,8 @@ var initializeCoins = (protonChain) => {
830
827
  // {
831
828
  // wallet: "UNI",
832
829
  // symbol: "UNI",
833
- // chain: Chains.EthereumRopsten,
834
- // network: Networks.Ropsten,
830
+ // chain: Chains.EthereumSepolia,
831
+ // network: Networks.Sepolia,
835
832
  // precision: 18,
836
833
  // contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
837
834
  // provider: Providers.FIREBLOCKS,
@@ -1451,6 +1448,21 @@ var initializeCoins = (protonChain) => {
1451
1448
  coingeckoId: "",
1452
1449
  unifiedCryptoassetId: ""
1453
1450
  },
1451
+ {
1452
+ allowSwap: false,
1453
+ allowBridge: false,
1454
+ allowLend: false,
1455
+ allowBorrow: false,
1456
+ name: "Metal Dollar",
1457
+ coin: "MPD",
1458
+ xtokenSymbol: "MPD",
1459
+ xtokenPrecision: 6,
1460
+ xtokenContract: "mpd.token",
1461
+ wallets: [],
1462
+ image: "https://app.metalx.com/img/tokens/mpd.png",
1463
+ coingeckoId: "",
1464
+ unifiedCryptoassetId: ""
1465
+ },
1454
1466
  {
1455
1467
  allowSwap: false,
1456
1468
  allowBridge: true,
@@ -1829,7 +1841,7 @@ var depositBodyParser = z6.object({
1829
1841
  coin: z6.string(),
1830
1842
  // "ETH" or "XPR"
1831
1843
  wallet: z6.string(),
1832
- // "ETH-ROPSTEN" or "XPR-MAINNET"
1844
+ // "ETH-SEPOLIA" or "XPR-MAINNET"
1833
1845
  network: z6.string()
1834
1846
  // "erc29"
1835
1847
  });
package/dist/index.mjs CHANGED
@@ -3,7 +3,6 @@ var Chains = /* @__PURE__ */ ((Chains2) => {
3
3
  Chains2["BitcoinMainnet"] = "Bitcoin";
4
4
  Chains2["BitcoinTestnet"] = "Bitcoin (Testnet)";
5
5
  Chains2["EthereumMainnet"] = "Ethereum";
6
- Chains2["EthereumRopsten"] = "Ethereum (Ropsten)";
7
6
  Chains2["EthereumSepolia"] = "Ethereum (Sepolia)";
8
7
  Chains2["LitecoinMainnet"] = "Litecoin";
9
8
  Chains2["LitecoinTestnet"] = "Litecoin (Testnet)";
@@ -39,7 +38,6 @@ var Chains = /* @__PURE__ */ ((Chains2) => {
39
38
  var Networks = /* @__PURE__ */ ((Networks2) => {
40
39
  Networks2["Mainnet"] = "mainnet";
41
40
  Networks2["Testnet"] = "testnet";
42
- Networks2["Ropsten"] = "ropsten";
43
41
  Networks2["ERC20"] = "erc20";
44
42
  Networks2["BEP20"] = "bep20";
45
43
  Networks2["XLM"] = "xlm";
@@ -63,7 +61,6 @@ var explorerLinkByChain = {
63
61
  ["Bitcoin" /* BitcoinMainnet */]: (txid) => `https://blockchain.com/btc/tx/${txid}`,
64
62
  ["Bitcoin (Testnet)" /* BitcoinTestnet */]: (txid) => `https://blockstream.info/testnet/tx/${txid}`,
65
63
  ["Ethereum" /* EthereumMainnet */]: (txid) => `https://etherscan.io/tx/${txid}`,
66
- ["Ethereum (Ropsten)" /* EthereumRopsten */]: (txid) => `https://ropsten.etherscan.io/tx/${txid}`,
67
64
  ["Ethereum (Sepolia)" /* EthereumSepolia */]: (txid) => `https://sepolia.etherscan.io/tx/${txid}`,
68
65
  ["Litecoin" /* LitecoinMainnet */]: (txid) => `https://blockchair.com/litecoin/transaction/${txid}`,
69
66
  ["Litecoin (Testnet)" /* LitecoinTestnet */]: (txid) => `https://blockexplorer.one/litecoin/testnet/blockHash/${txid}`,
@@ -185,8 +182,8 @@ var initializeCoins = (protonChain) => {
185
182
  {
186
183
  wallet: "USDC",
187
184
  symbol: "USDC",
188
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
189
- network: "ropsten" /* Ropsten */,
185
+ chain: "Ethereum (Sepolia)" /* EthereumSepolia */,
186
+ network: "sepolia" /* Sepolia */,
190
187
  precision: 6,
191
188
  contract: "0xA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48",
192
189
  provider: "fireblocks" /* FIREBLOCKS */,
@@ -438,8 +435,8 @@ var initializeCoins = (protonChain) => {
438
435
  {
439
436
  wallet: "USDT",
440
437
  symbol: "USDT",
441
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
442
- network: "ropsten" /* Ropsten */,
438
+ chain: "Ethereum (Sepolia)" /* EthereumSepolia */,
439
+ network: "sepolia" /* Sepolia */,
443
440
  precision: 6,
444
441
  contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
445
442
  provider: "fireblocks" /* FIREBLOCKS */,
@@ -590,8 +587,8 @@ var initializeCoins = (protonChain) => {
590
587
  {
591
588
  wallet: "PAXG",
592
589
  symbol: "PAXG",
593
- chain: "Ethereum (Ropsten)" /* EthereumRopsten */,
594
- network: "ropsten" /* Ropsten */,
590
+ chain: "Ethereum (Sepolia)" /* EthereumSepolia */,
591
+ network: "sepolia" /* Sepolia */,
595
592
  precision: 18,
596
593
  contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
597
594
  provider: "fireblocks" /* FIREBLOCKS */,
@@ -675,8 +672,8 @@ var initializeCoins = (protonChain) => {
675
672
  // {
676
673
  // wallet: "UNI",
677
674
  // symbol: "UNI",
678
- // chain: Chains.EthereumRopsten,
679
- // network: Networks.Ropsten,
675
+ // chain: Chains.EthereumSepolia,
676
+ // network: Networks.Sepolia,
680
677
  // precision: 18,
681
678
  // contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
682
679
  // provider: Providers.FIREBLOCKS,
@@ -1296,6 +1293,21 @@ var initializeCoins = (protonChain) => {
1296
1293
  coingeckoId: "",
1297
1294
  unifiedCryptoassetId: ""
1298
1295
  },
1296
+ {
1297
+ allowSwap: false,
1298
+ allowBridge: false,
1299
+ allowLend: false,
1300
+ allowBorrow: false,
1301
+ name: "Metal Dollar",
1302
+ coin: "MPD",
1303
+ xtokenSymbol: "MPD",
1304
+ xtokenPrecision: 6,
1305
+ xtokenContract: "mpd.token",
1306
+ wallets: [],
1307
+ image: "https://app.metalx.com/img/tokens/mpd.png",
1308
+ coingeckoId: "",
1309
+ unifiedCryptoassetId: ""
1310
+ },
1299
1311
  {
1300
1312
  allowSwap: false,
1301
1313
  allowBridge: true,
@@ -1674,7 +1686,7 @@ var depositBodyParser = z6.object({
1674
1686
  coin: z6.string(),
1675
1687
  // "ETH" or "XPR"
1676
1688
  wallet: z6.string(),
1677
- // "ETH-ROPSTEN" or "XPR-MAINNET"
1689
+ // "ETH-SEPOLIA" or "XPR-MAINNET"
1678
1690
  network: z6.string()
1679
1691
  // "erc29"
1680
1692
  });
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.183",
8
+ "version": "0.2.185",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
package/src/coins.ts CHANGED
@@ -4,7 +4,6 @@ export enum Chains {
4
4
  BitcoinMainnet = "Bitcoin",
5
5
  BitcoinTestnet = "Bitcoin (Testnet)",
6
6
  EthereumMainnet = "Ethereum",
7
- EthereumRopsten = "Ethereum (Ropsten)",
8
7
  EthereumSepolia = "Ethereum (Sepolia)",
9
8
  LitecoinMainnet = "Litecoin",
10
9
  LitecoinTestnet = "Litecoin (Testnet)",
@@ -40,7 +39,6 @@ export enum Chains {
40
39
  export enum Networks {
41
40
  Mainnet = "mainnet",
42
41
  Testnet = "testnet",
43
- Ropsten = "ropsten",
44
42
  ERC20 = "erc20",
45
43
  BEP20 = "bep20",
46
44
  XLM = "xlm",
@@ -98,8 +96,6 @@ export const explorerLinkByChain = {
98
96
  [Chains.BitcoinTestnet]: (txid: string) =>
99
97
  `https://blockstream.info/testnet/tx/${txid}`,
100
98
  [Chains.EthereumMainnet]: (txid: string) => `https://etherscan.io/tx/${txid}`,
101
- [Chains.EthereumRopsten]: (txid: string) =>
102
- `https://ropsten.etherscan.io/tx/${txid}`,
103
99
  [Chains.EthereumSepolia]: (txid: string) =>
104
100
  `https://sepolia.etherscan.io/tx/${txid}`,
105
101
  [Chains.LitecoinMainnet]: (txid: string) =>
@@ -275,8 +271,8 @@ export const initializeCoins = (
275
271
  {
276
272
  wallet: "USDC",
277
273
  symbol: "USDC",
278
- chain: Chains.EthereumRopsten,
279
- network: Networks.Ropsten,
274
+ chain: Chains.EthereumSepolia,
275
+ network: Networks.Sepolia,
280
276
  precision: 6,
281
277
  contract: "0xA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48",
282
278
  provider: Providers.FIREBLOCKS,
@@ -545,8 +541,8 @@ export const initializeCoins = (
545
541
  {
546
542
  wallet: "USDT",
547
543
  symbol: "USDT",
548
- chain: Chains.EthereumRopsten,
549
- network: Networks.Ropsten,
544
+ chain: Chains.EthereumSepolia,
545
+ network: Networks.Sepolia,
550
546
  precision: 6,
551
547
  contract: "0xDAC17F958D2EE523A2206206994597C13D831EC7",
552
548
  provider: Providers.FIREBLOCKS,
@@ -709,8 +705,8 @@ export const initializeCoins = (
709
705
  {
710
706
  wallet: "PAXG",
711
707
  symbol: "PAXG",
712
- chain: Chains.EthereumRopsten,
713
- network: Networks.Ropsten,
708
+ chain: Chains.EthereumSepolia,
709
+ network: Networks.Sepolia,
714
710
  precision: 18,
715
711
  contract: "0x45804880DE22913DAFE09F4980848ECE6ECBAF78",
716
712
  provider: Providers.FIREBLOCKS,
@@ -798,8 +794,8 @@ export const initializeCoins = (
798
794
  // {
799
795
  // wallet: "UNI",
800
796
  // symbol: "UNI",
801
- // chain: Chains.EthereumRopsten,
802
- // network: Networks.Ropsten,
797
+ // chain: Chains.EthereumSepolia,
798
+ // network: Networks.Sepolia,
803
799
  // precision: 18,
804
800
  // contract: "0x1F9840A85D5AF5BF1D1762F925BDADDC4201F984",
805
801
  // provider: Providers.FIREBLOCKS,
@@ -1464,6 +1460,21 @@ export const initializeCoins = (
1464
1460
  coingeckoId: "",
1465
1461
  unifiedCryptoassetId: "",
1466
1462
  },
1463
+ {
1464
+ allowSwap: false,
1465
+ allowBridge: false,
1466
+ allowLend: false,
1467
+ allowBorrow: false,
1468
+ name: "Metal Dollar",
1469
+ coin: "MPD",
1470
+ xtokenSymbol: "MPD",
1471
+ xtokenPrecision: 6,
1472
+ xtokenContract: "mpd.token",
1473
+ wallets: [],
1474
+ image: "https://app.metalx.com/img/tokens/mpd.png",
1475
+ coingeckoId: "",
1476
+ unifiedCryptoassetId: "",
1477
+ },
1467
1478
  {
1468
1479
  allowSwap: false,
1469
1480
  allowBridge: true,
@@ -10,7 +10,7 @@ export const depositBodyParser = z.object({
10
10
  type: z.nativeEnum(Type), // "receive" or "send"
11
11
  hash: z.string(), // "0x000010203121388fac991"
12
12
  coin: z.string(), // "ETH" or "XPR"
13
- wallet: z.string(), // "ETH-ROPSTEN" or "XPR-MAINNET"
13
+ wallet: z.string(), // "ETH-SEPOLIA" or "XPR-MAINNET"
14
14
  network: z.string(), // "erc29"
15
15
  });
16
16
  export type DepositBody = z.infer<typeof depositBodyParser>;