@coinlist-co/react 0.12.2-rc.0fda52c → 0.12.2-rc.5f2ca48

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.
Files changed (32) hide show
  1. package/dist/{chunk-STAHYDLY.js → chunk-6NCNF5GF.js} +2 -2
  2. package/dist/{chunk-KRA6EM2L.js → chunk-VUIDJYHY.js} +18 -3
  3. package/dist/chunk-VUIDJYHY.js.map +1 -0
  4. package/dist/{chunk-BNMF2HMW.js → chunk-XCRU3YE2.js} +628 -402
  5. package/dist/chunk-XCRU3YE2.js.map +1 -0
  6. package/dist/client/index.cjs +605 -160
  7. package/dist/client/index.cjs.map +1 -1
  8. package/dist/client/index.d.cts +271 -29
  9. package/dist/client/index.d.ts +271 -29
  10. package/dist/client/index.js +294 -21
  11. package/dist/client/index.js.map +1 -1
  12. package/dist/server/index.cjs +216 -62
  13. package/dist/server/index.cjs.map +1 -1
  14. package/dist/server/index.d.cts +10 -2
  15. package/dist/server/index.d.ts +10 -2
  16. package/dist/server/index.js +4 -2
  17. package/dist/server/index.js.map +1 -1
  18. package/dist/{time-B5YOQxuh.d.ts → time-CTuVDTx6.d.ts} +1 -1
  19. package/dist/{time-BY3apBpc.d.cts → time-Dv1dejVB.d.cts} +1 -1
  20. package/dist/{token-registry-snapshot-DyjrA32p.d.cts → token-registry-snapshot-CX5YiSHp.d.cts} +9 -7
  21. package/dist/{token-registry-snapshot-C1NxdBmF.d.ts → token-registry-snapshot-CzJd2VYU.d.ts} +9 -7
  22. package/dist/{tokens-namespace-BJfFeowE.d.cts → tokens-namespace-CcvHrw-k.d.cts} +462 -20
  23. package/dist/{tokens-namespace-BJfFeowE.d.ts → tokens-namespace-CcvHrw-k.d.ts} +462 -20
  24. package/dist/universal/index.cjs +568 -316
  25. package/dist/universal/index.cjs.map +1 -1
  26. package/dist/universal/index.d.cts +38 -6
  27. package/dist/universal/index.d.ts +38 -6
  28. package/dist/universal/index.js +22 -2
  29. package/package.json +1 -1
  30. package/dist/chunk-BNMF2HMW.js.map +0 -1
  31. package/dist/chunk-KRA6EM2L.js.map +0 -1
  32. /package/dist/{chunk-STAHYDLY.js.map → chunk-6NCNF5GF.js.map} +0 -0
@@ -1,9 +1,9 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode, ButtonHTMLAttributes } from 'react';
3
- import { A as AuthorizationCode, C as CodeVerifier, L as Logger, W as WalletError, E as Erc20Namespace, a as EthereumChain, b as EvmContractAddress, B as BlockchainAmount, c as CoinListTokenSaleNamespace, O as OfferId, d as OfferOptionId, e as AssetId, P as Participation, f as CoinListTokenSaleNamespaceImpl, U as UniversalNamespaceContext, g as OndoNamespace, h as AssetSymbol, i as OfferSwapContract, j as OndoBuyTransaction, k as OndoSellTransaction, l as OndoSwapTransactionCore, m as OrderBookSide, n as OndoNamespaceImpl, S as SuperstateSwapNamespace, o as WalletsNamespace, p as Bps, q as EvmWalletAddress, r as SuperstateSwapNamespaceImpl, R as RequirementsNamespace, s as Requirement, t as RequirementsNamespaceImpl, u as Config, v as OAuthAccessToken, w as OffersNamespace, T as TokensNamespace, x as StablecoinSymbol, y as Erc20Asset, z as OfferDetail, D as TokenMetadata, F as OfferType, G as OndoSwapOfferDetail, H as CoinListTokenSaleOfferDetail, I as SuperstateSwapOfferDetail, J as Offer, K as RequirementStatusInfo, M as RequirementType, N as RequirementStatusValue, Q as OfferOptionAddress, V as RequirementId, X as KycLevelName, Y as DocumentSubmission, Z as WalletChallengeType, _ as PinoLoggerOptions, $ as OndoTradingStatus, a0 as AssetDecimals, a1 as BuildOndoBuyParams, a2 as BuildOndoSellParams, a3 as OndoQuote, a4 as OndoQuoteSize, a5 as TokenIdentifier, a6 as OfferOptionAddressId, a7 as TokenLogo } from '../tokens-namespace-BJfFeowE.js';
4
- export { a8 as DebugEvent, a9 as FrontlineEventId, aa as HttpError, ab as HttpResponse, ac as KycToken, ad as LogBinding, ae as LogBindings, af as LogCause, ag as LogLevel, ah as LogScope, ai as LogValue, aj as ProductionLogLevel, ak as RedactedWalletError, al as RequestId, am as RpcFailureReason, an as SafeEvent, ao as SafeFields, ap as UnredactedFields } from '../tokens-namespace-BJfFeowE.js';
5
- import { P as PKCEConfig, E as EvmWallet, S as SwapQuote, A as AssetIconUrl, a as ShortenedWalletAddress, F as FormattedAmountAssetUi, b as FormattedPercentUi, T as TxExplorerUrl, C as ConnectWallet, N as NonEmptyArray, c as TokenRegistrySnapshot } from '../token-registry-snapshot-C1NxdBmF.js';
6
- export { B as BroadcastTxParams, d as EvmSigner, W as WriteContractParams } from '../token-registry-snapshot-C1NxdBmF.js';
3
+ import { A as AuthorizationCode, C as CodeVerifier, L as Logger, W as WalletError, E as Erc20Namespace, a as EthereumChain, b as EvmContractAddress, B as BlockchainAmount, c as CoinListTokenSaleNamespace, O as OfferId, d as OfferOptionId, e as AssetId, P as Participation, f as CoinListTokenSaleNamespaceImpl, U as UniversalNamespaceContext, g as OndoNamespace, h as AssetSymbol, i as OfferSwapContract, j as OndoBuyTransaction, k as OndoSellTransaction, l as OndoSwapTransactionCore, m as OrderBookSide, n as OndoNamespaceImpl, S as SuperstateSwapNamespace, o as WalletsNamespace, p as Bps, q as EvmWalletAddress, r as SuperstateSwapNamespaceImpl, R as RequirementsNamespace, s as Requirement, t as RequirementsNamespaceImpl, u as Config, v as OAuthAccessToken, w as OffersNamespace, x as CentrifugeNamespace, T as TokensNamespace, y as StablecoinSymbol, z as Erc20Asset, D as OfferDetail, F as TokenMetadata, G as CentrifugeVaultOfferDetail, H as OfferType, I as OndoSwapOfferDetail, J as CoinListTokenSaleOfferDetail, K as SuperstateSwapOfferDetail, M as Offer, N as RequirementStatusInfo, Q as RequirementType, V as RequirementStatusValue, X as OfferOptionAddress, Y as RequirementId, Z as KycLevelName, _ as DocumentSubmission, $ as WalletChallengeType, a0 as PinoLoggerOptions, a1 as CentrifugeOrderReason, a2 as CentrifugeOrderability, a3 as CentrifugeVaultQuote, a4 as CentrifugeVaultStatus, a5 as OndoTradingStatus, a6 as AssetDecimals, a7 as BuildOndoBuyParams, a8 as BuildOndoSellParams, a9 as OndoQuote, aa as OndoQuoteSize, ab as TokenIdentifier, ac as OfferOptionAddressId, ad as TokenLogo } from '../tokens-namespace-CcvHrw-k.js';
4
+ export { ae as DebugEvent, af as FrontlineEventId, ag as HttpError, ah as HttpResponse, ai as KycToken, aj as LogBinding, ak as LogBindings, al as LogCause, am as LogLevel, an as LogScope, ao as LogValue, ap as ProductionLogLevel, aq as RedactedWalletError, ar as RequestId, as as RpcFailureReason, at as SafeEvent, au as SafeFields, av as UnredactedFields } from '../tokens-namespace-CcvHrw-k.js';
5
+ import { P as PKCEConfig, E as EvmWallet, S as SwapQuote, A as AssetIconUrl, a as ShortenedWalletAddress, F as FormattedAmountAssetUi, b as FormattedPercentUi, T as TxExplorerUrl, C as ConnectWallet, N as NonEmptyArray, c as TokenRegistrySnapshot } from '../token-registry-snapshot-CzJd2VYU.js';
6
+ export { B as BroadcastTxParams, d as EvmSigner, W as WriteContractParams } from '../token-registry-snapshot-CzJd2VYU.js';
7
7
  import { Hash } from 'viem';
8
8
  import * as class_variance_authority_types from 'class-variance-authority/types';
9
9
  import { VariantProps } from 'class-variance-authority';
@@ -804,6 +804,15 @@ interface CoinListClient {
804
804
  * {@link ClientOndoNamespace}.
805
805
  */
806
806
  readonly ondo: ClientOndoNamespace;
807
+ /**
808
+ * Centrifuge vault reads: an indicative quote and the vault-wide ordering
809
+ * gate - e.g. `coinlist.centrifuge.getQuote({ ... })`.
810
+ *
811
+ * Both are free to poll. The quote has no expiry: it is indicative, the
812
+ * fund prices fulfilment later, and a countdown would imply a commitment
813
+ * the API does not make.
814
+ */
815
+ readonly centrifuge: CentrifugeNamespace;
807
816
  /**
808
817
  * Token display metadata (name, symbol, decimals, logos) from CoinList's
809
818
  * public token registry, keyed by chain + contract address — e.g.
@@ -1517,6 +1526,7 @@ type CheckoutConfigByOfferType = {
1517
1526
  'ondo::swap': OndoCheckoutConfig;
1518
1527
  'superstate::swap': SuperstateCheckoutConfig;
1519
1528
  'coinlist::token_sale': CoinListTokenSaleCheckoutConfig;
1529
+ 'centrifuge::vault': CentrifugeVaultCheckoutConfig;
1520
1530
  };
1521
1531
  type OndoCheckoutConfig = {
1522
1532
  /**
@@ -1584,13 +1594,21 @@ type SuperstateCheckoutConfig = {
1584
1594
  type CoinListTokenSaleCheckoutConfig = {
1585
1595
  render: (offer: CoinListTokenSaleOfferDetail) => ReactNode;
1586
1596
  };
1597
+ /**
1598
+ * The SDK ships no Centrifuge vault UI yet, so the host supplies it, as it
1599
+ * does for {@link CoinListTokenSaleCheckoutConfig} and for the same reason
1600
+ * takes the offer. A host that never lists vault offers returns `null`.
1601
+ */
1602
+ type CentrifugeVaultCheckoutConfig = {
1603
+ render: (offer: CentrifugeVaultOfferDetail) => ReactNode;
1604
+ };
1587
1605
  /**
1588
1606
  * The parts of {@link CheckoutConfig} only the host can know.
1589
1607
  *
1590
1608
  * What is missing from this list is what {@link defaultCheckoutConfig} can fill
1591
1609
  * in on its own.
1592
1610
  */
1593
- type RequiredCheckoutConfig = Pick<CheckoutConfig, 'ondo::swap' | 'coinlist::token_sale'>;
1611
+ type RequiredCheckoutConfig = Pick<CheckoutConfig, 'ondo::swap' | 'coinlist::token_sale' | 'centrifuge::vault'>;
1594
1612
  /**
1595
1613
  * Fills in the config entries that have a sensible default, so a host only
1596
1614
  * writes the ones that do not.
@@ -1606,6 +1624,7 @@ type RequiredCheckoutConfig = Pick<CheckoutConfig, 'ondo::swap' | 'coinlist::tok
1606
1624
  * side: () => 'buy',
1607
1625
  * },
1608
1626
  * 'coinlist::token_sale': { render: (offer) => <MyTokenSalePage offer={offer} /> },
1627
+ * 'centrifuge::vault': { render: () => null },
1609
1628
  * });
1610
1629
  * ```
1611
1630
  */
@@ -1695,6 +1714,7 @@ interface CheckoutContainerProps {
1695
1714
  * const config = defaultCheckoutConfig({
1696
1715
  * 'ondo::swap': { symbol: (o) => AssetSymbol(o.asset.code), side: () => 'sell' },
1697
1716
  * 'coinlist::token_sale': { render: (o) => <MyTokenSalePage offer={o} /> },
1717
+ * 'centrifuge::vault': { render: () => null },
1698
1718
  * });
1699
1719
  * ```
1700
1720
  *
@@ -1881,18 +1901,17 @@ type OndoBuyReviewUiEvent = {
1881
1901
  };
1882
1902
 
1883
1903
  /**
1884
- * Why an Ondo checkout cannot run at all, as opposed to a step of it failing.
1904
+ * Why an Ondo checkout cannot run right now, as opposed to a step of it
1905
+ * failing.
1885
1906
  *
1886
- * One arm today, and a union rather than a bare flag because the View switches
1887
- * on it for copy and because the next entry here is already foreseeable: an
1888
- * offer whose asset Ondo has delisted is the same kind of "there is no flow to
1889
- * render" that no step can localise.
1907
+ * A union rather than a bare flag because the View switches on it for copy.
1890
1908
  *
1891
- * Shared by both products because it is a property of the integration rather
1892
- * than of a direction: buying and selling go through the same contract, so a
1893
- * chain that cannot serve one cannot serve the other. That is the exception
1894
- * the provider-level `shared/` exists for, and it is narrow - the step states
1895
- * below stay per-product, since that is where the two genuinely diverge.
1909
+ * Shared by both products because each reason is a property of the integration
1910
+ * or of the market rather than of a direction: buying and selling go through
1911
+ * the same contract, so a chain that cannot serve one cannot serve the other,
1912
+ * and a closed market reads the same whichever way the trade runs. That is the
1913
+ * exception the provider-level `shared/` exists for, and it is narrow - the
1914
+ * step states stay per-product, since that is where the two genuinely diverge.
1896
1915
  */
1897
1916
  type OndoCheckoutErrorReason =
1898
1917
  /**
@@ -1903,7 +1922,38 @@ type OndoCheckoutErrorReason =
1903
1922
  * offer and the chain are fixed for the lifetime of the mount. See
1904
1923
  * `swapSpender`.
1905
1924
  */
1906
- 'unsupported-chain';
1925
+ 'unsupported-chain'
1926
+ /**
1927
+ * Ondo is not filling orders for this asset on this side right now: the
1928
+ * market is closed or paused, or the asset is paused or closed for the
1929
+ * session. Known from the trading-status poll, never assumed from a status
1930
+ * that is still loading or failed to load.
1931
+ *
1932
+ * Unlike `unsupported-chain` this one clears on its own. The trading-status
1933
+ * poll keeps running underneath it, and the checkout comes back once the
1934
+ * asset is tradable again. Only shown while the user is on the step the flow
1935
+ * opened on: once they are past it, a pause is a step's to report, so it
1936
+ * cannot pull an order out from under the user mid-flow.
1937
+ */
1938
+ | 'not-tradable';
1939
+ declare const OndoCheckoutErrorReason: {
1940
+ /**
1941
+ * Which reason, if any, replaces the whole checkout. `null` means the steps
1942
+ * render.
1943
+ *
1944
+ * `unsupported-chain` wins because it is settled at mount: no market state
1945
+ * can make a chain with no contract tradable. `not-tradable` needs both a
1946
+ * market *known* to be closed and a user still at the start of the flow,
1947
+ * with no order confirmation on screen. Past the first step a pause belongs
1948
+ * to the step it interrupts, and a just-placed order's dialog must not be
1949
+ * hidden by a market that closed after it filled.
1950
+ */
1951
+ of: ({ swappableHere, notTradable, atEntry, }: {
1952
+ swappableHere: boolean;
1953
+ notTradable: boolean;
1954
+ atEntry: boolean;
1955
+ }) => OndoCheckoutErrorReason | null;
1956
+ };
1907
1957
 
1908
1958
  /**
1909
1959
  * The reference panel beside the Ondo checkout: which asset is being bought,
@@ -2048,7 +2098,11 @@ type OndoBuyCheckoutUiState = {
2048
2098
  sidebar: OndoSidebarUiState;
2049
2099
  orderConfirmed: OndoOrderConfirmedUiState;
2050
2100
  }
2051
- /** There is no checkout to render. Nothing is fetched and no timer runs. */
2101
+ /**
2102
+ * There is no checkout to render. For `unsupported-chain` nothing is fetched
2103
+ * and no timer runs; for `not-tradable` the trading-status poll keeps
2104
+ * running, so the checkout comes back once the market opens.
2105
+ */
2052
2106
  | {
2053
2107
  type: 'error';
2054
2108
  reason: OndoCheckoutErrorReason;
@@ -2469,7 +2523,11 @@ type OndoSellCheckoutUiState = {
2469
2523
  sidebar: OndoSidebarUiState;
2470
2524
  orderConfirmed: OndoSellOrderConfirmedUiState;
2471
2525
  }
2472
- /** There is no checkout to render. Nothing is fetched and no timer runs. */
2526
+ /**
2527
+ * There is no checkout to render. For `unsupported-chain` nothing is fetched
2528
+ * and no timer runs; for `not-tradable` the trading-status poll keeps
2529
+ * running, so the checkout comes back once the market opens.
2530
+ */
2473
2531
  | {
2474
2532
  type: 'error';
2475
2533
  reason: OndoCheckoutErrorReason;
@@ -2665,7 +2723,8 @@ interface OndoCheckoutErrorProps {
2665
2723
  className?: string;
2666
2724
  }
2667
2725
  /**
2668
- * What an Ondo checkout renders when there is no checkout to render.
2726
+ * What an Ondo checkout renders when there is no checkout to render, or none
2727
+ * the user can act on right now.
2669
2728
  *
2670
2729
  * Shared by both products rather than duplicated in each, because the reason
2671
2730
  * is a property of the integration and not of the direction: a chain that
@@ -2673,9 +2732,10 @@ interface OndoCheckoutErrorProps {
2673
2732
  * sentence twice.
2674
2733
  *
2675
2734
  * No retry, deliberately. Superstate's equivalent offers one for `load-failed`,
2676
- * where a re-fetch can genuinely succeed; every reason here is settled at mount
2677
- * and cannot change under a button. Offering one that provably cannot help is
2678
- * worse than offering none.
2735
+ * where a re-fetch can genuinely succeed. Here `unsupported-chain` is settled
2736
+ * at mount and cannot change under a button, and `not-tradable` clears on its
2737
+ * own once the market opens, since the viewmodel keeps polling underneath it.
2738
+ * Offering a button that provably cannot help is worse than offering none.
2679
2739
  *
2680
2740
  * Self-scoped, like every exported component: it renders fully styled with no
2681
2741
  * provider in the tree, and the scope is idempotent so nesting costs nothing.
@@ -4350,6 +4410,176 @@ interface UseCompleteOAuthOptions {
4350
4410
  */
4351
4411
  declare function useCompleteOAuth(options: UseCompleteOAuthOptions): void;
4352
4412
 
4413
+ /**
4414
+ * User-facing copy for each `can_order` reason F-0 publishes.
4415
+ *
4416
+ * A record keyed by the closed set, so a new reason fails to compile here
4417
+ * until it has a sentence. The View (or a viewmodel mapping into one) should
4418
+ * render this rather than the wire token.
4419
+ *
4420
+ * Status never returns `below_minimum`; a quote can. Both call this with
4421
+ * whichever subset they actually hold.
4422
+ */
4423
+ declare const CENTRIFUGE_VAULT_ORDER_REASON_MESSAGES: Record<CentrifugeOrderReason, string>;
4424
+ declare function centrifugeVaultOrderReasonMessage(reason: CentrifugeOrderReason): string;
4425
+ /**
4426
+ * The most blocking reason in `reasons`, or `null` when the list is empty.
4427
+ */
4428
+ declare function primaryCentrifugeVaultOrderReason<T extends CentrifugeOrderReason>(reasons: readonly T[]): T | null;
4429
+ /**
4430
+ * The sentence to show for an {@link CentrifugeOrderability}, or `null` when
4431
+ * the request can proceed. Accepts a quote's full reason set or a status's
4432
+ * narrower one.
4433
+ */
4434
+ declare function centrifugeVaultOrderingMessage<R extends CentrifugeOrderReason>(orderability: CentrifugeOrderability<R>): string | null;
4435
+
4436
+ /**
4437
+ * Why a Centrifuge read failed, in the only two flavours a UI acts on
4438
+ * differently.
4439
+ *
4440
+ * `not-authenticated` is split out because no retry helps until the user
4441
+ * signs in. Everything else collapses into `generic-error` and is offered a
4442
+ * retry.
4443
+ */
4444
+ type CentrifugeLoadErrorReason = 'not-authenticated' | 'generic-error';
4445
+ declare function centrifugeLoadErrorReason(error: unknown): CentrifugeLoadErrorReason;
4446
+
4447
+ /**
4448
+ * The state of the indicative-quote poll.
4449
+ *
4450
+ * - `LOADING`: no quote yet (initial, or the provider is still initializing).
4451
+ * - `ERROR`: no quote could be fetched at all.
4452
+ * - `CONTENT`: a quote is in hand; `isRefreshing` says whether a newer one
4453
+ * is on the way.
4454
+ *
4455
+ * A poll that fails with a quote already in hand stays `CONTENT`: the last
4456
+ * quote is worth more to a user than a blank panel, and the next tick retries
4457
+ * within seconds. `ERROR` therefore means "never got one".
4458
+ *
4459
+ * There is no expiry on this quote. It is indicative, the fund prices
4460
+ * fulfilment later, and a countdown would imply a commitment the API does
4461
+ * not make. Freshness is the poll interval, not a TTL.
4462
+ */
4463
+ type LoadCentrifugeQuoteState = {
4464
+ type: 'LOADING';
4465
+ } | {
4466
+ type: 'ERROR';
4467
+ reason: CentrifugeLoadErrorReason;
4468
+ } | {
4469
+ type: 'CONTENT';
4470
+ quote: CentrifugeVaultQuote;
4471
+ isRefreshing: boolean;
4472
+ };
4473
+ interface UseCentrifugeQuoteOptions {
4474
+ /** Share token symbol of the vault, e.g. `deJTRSY`. */
4475
+ symbol: AssetSymbol;
4476
+ chain: EthereumChain;
4477
+ /** The spend to price, in the funding token's base units. */
4478
+ amount: BlockchainAmount;
4479
+ /** How often to refresh. Defaults to {@link CENTRIFUGE_POLL_INTERVAL_MS}. */
4480
+ pollIntervalMs?: number;
4481
+ /**
4482
+ * A quote the caller already holds, typically fetched server-side, used as
4483
+ * the state the hook opens on so a server-rendered panel needs no loading
4484
+ * pass.
4485
+ *
4486
+ * It seeds the first render only: the poll still fetches immediately. A
4487
+ * quote is worth as much as it is fresh, and the amount being priced
4488
+ * changes as the flow advances, so a seed that suppressed the first read
4489
+ * would be offering the server's answer - or another amount's - as this
4490
+ * one's.
4491
+ */
4492
+ data?: CentrifugeVaultQuote;
4493
+ /** When false, the hook neither fetches nor polls. */
4494
+ enabled: boolean;
4495
+ }
4496
+ interface UseCentrifugeQuoteResult {
4497
+ state: LoadCentrifugeQuoteState;
4498
+ }
4499
+ /**
4500
+ * Polls Centrifuge's indicative quote for `amount` of `symbol` on `chain`.
4501
+ *
4502
+ * Free to poll: this quote spends no attestation and commits nothing, which
4503
+ * is why it may run while the user is still deciding. It also cannot be
4504
+ * executed - committing a request is `coinlist.centrifuge` invest, which is
4505
+ * not this hook.
4506
+ *
4507
+ * Disabled (or before the provider is ready) it neither fetches nor holds a
4508
+ * timer, and stays on whatever state it opened with - `LOADING`, or the
4509
+ * `data` seed - rather than reporting an error.
4510
+ *
4511
+ * A `data` quote opens the state instead of `LOADING` and is otherwise left
4512
+ * to the poll: the first tick fires as it always does, and only replaces the
4513
+ * seed once it has a quote of its own. Until it does the state is `CONTENT`
4514
+ * with `isRefreshing` set, which is what that flag is for.
4515
+ */
4516
+ declare function useCentrifugeQuote(options: UseCentrifugeQuoteOptions): UseCentrifugeQuoteResult;
4517
+
4518
+ /**
4519
+ * The state of the vault-status poll.
4520
+ *
4521
+ * Stale-preserving for the same reason as {@link LoadCentrifugeQuoteState}:
4522
+ * a failed tick with a status in hand keeps it, so a flaky read never reads
4523
+ * as "vault halted". `ERROR` means the status is unknown - which is not the
4524
+ * same as `CONTENT` carrying a blocked orderability, and callers must not
4525
+ * conflate them. A vault that is *known* to be unorderable may block a
4526
+ * request; one that is merely unknown may not.
4527
+ *
4528
+ * `below_minimum` never appears here: it needs an amount, which this
4529
+ * endpoint is never given.
4530
+ */
4531
+ type LoadCentrifugeVaultStatusState = {
4532
+ type: 'LOADING';
4533
+ } | {
4534
+ type: 'ERROR';
4535
+ reason: CentrifugeLoadErrorReason;
4536
+ } | {
4537
+ type: 'CONTENT';
4538
+ status: CentrifugeVaultStatus;
4539
+ };
4540
+ interface UseCentrifugeVaultStatusOptions {
4541
+ /** Share token symbol of the vault, e.g. `deJTRSY`. */
4542
+ symbol: AssetSymbol;
4543
+ chain: EthereumChain;
4544
+ /** How often to refresh. Defaults to {@link CENTRIFUGE_POLL_INTERVAL_MS}. */
4545
+ pollIntervalMs?: number;
4546
+ /**
4547
+ * A status the caller already holds, typically fetched server-side, used
4548
+ * as the state the hook opens on so a server-rendered panel needs no
4549
+ * loading pass.
4550
+ *
4551
+ * It seeds the first render only: the poll still fetches immediately. A
4552
+ * vault that was orderable a minute ago can be unlinked now, so a seed
4553
+ * that suppressed the first read would be answering "can I invest right
4554
+ * now" with whenever the page was rendered.
4555
+ */
4556
+ data?: CentrifugeVaultStatus;
4557
+ /** When false, the hook neither fetches nor polls. */
4558
+ enabled: boolean;
4559
+ }
4560
+ interface UseCentrifugeVaultStatusResult {
4561
+ state: LoadCentrifugeVaultStatusState;
4562
+ }
4563
+ /**
4564
+ * Polls whether a Centrifuge vault can take a request at all right now,
4565
+ * independent of any amount.
4566
+ *
4567
+ * Free to poll - it spends no attestation. Centrifuge announces none of the
4568
+ * changes this reports, so the poll is the only way a checkout notices
4569
+ * mid-order.
4570
+ *
4571
+ * A `data` status opens the state instead of `LOADING` and is otherwise
4572
+ * left to the poll: the first tick fires as it always does, and only
4573
+ * replaces the seed once it has a status of its own.
4574
+ *
4575
+ * Disabled it neither fetches nor holds a timer, and stays on whatever
4576
+ * state it opened with. That is `LOADING` and not an empty `CONTENT`
4577
+ * because there is no empty vault status - and an invented one would be
4578
+ * worse than none, since `CONTENT` here is what a caller is allowed to
4579
+ * block a request on.
4580
+ */
4581
+ declare function useCentrifugeVaultStatus(options: UseCentrifugeVaultStatusOptions): UseCentrifugeVaultStatusResult;
4582
+
4353
4583
  type LoadParticipationsReason = 'not-authenticated' | 'generic-error';
4354
4584
  type LoadParticipationsState = {
4355
4585
  type: 'LOADING';
@@ -4489,11 +4719,13 @@ declare function validateAmount({ input, decimals, balance, symbol, minimumPurch
4489
4719
  }): OndoBuyAmountValidation;
4490
4720
 
4491
4721
  /**
4492
- * Why an Ondo read failed, in the only two flavours a UI acts on differently.
4722
+ * Why an Ondo read failed, in the three flavours a UI acts on differently.
4493
4723
  *
4494
4724
  * `not-authenticated` is split out because no retry helps until the user signs
4495
- * in, and because the remedy is one the UI can name. Everything else collapses
4496
- * into `generic-error` and is offered a retry.
4725
+ * in, and because the remedy is one the UI can name. `not-tradable` is split
4726
+ * out for the same reason: the market is closed or paused, so the remedy is to
4727
+ * wait for it to open, and a retry before then fails the same way. Everything
4728
+ * else collapses into `generic-error` and is offered a retry.
4497
4729
  *
4498
4730
  * That is a deliberate over-offer, not a claim that every such failure is
4499
4731
  * retryable. A `ValidationError` from the DTO boundary - an unreadable expiry,
@@ -4504,7 +4736,7 @@ declare function validateAmount({ input, decimals, balance, symbol, minimumPurch
4504
4736
  * branch in every consumer to distinguish. Split it out if that stops being
4505
4737
  * true.
4506
4738
  */
4507
- type OndoLoadErrorReason = 'not-authenticated' | 'generic-error';
4739
+ type OndoLoadErrorReason = 'not-authenticated' | 'not-tradable' | 'generic-error';
4508
4740
  declare function ondoLoadErrorReason(error: unknown): OndoLoadErrorReason;
4509
4741
 
4510
4742
  /**
@@ -4725,7 +4957,9 @@ interface UseOndoBuyCheckoutViewModelResult {
4725
4957
  * no Ondo integration contract is known before any step runs, and there is no
4726
4958
  * region to report it in that would not first have to render something untrue:
4727
4959
  * a wallet picker leading nowhere, a balance read for a token this flow will
4728
- * never spend. See {@link OndoCheckoutErrorReason}.
4960
+ * never spend. A market known to be closed while the user is still choosing a
4961
+ * wallet is the same kind of answer for as long as it lasts. See
4962
+ * {@link OndoCheckoutErrorReason}.
4729
4963
  *
4730
4964
  * `offer` and `chain` are read as fixed for the lifetime of the hook. The step
4731
4965
  * machine holds a committed quote and an approval granted on one chain for one
@@ -5112,7 +5346,9 @@ interface UseOndoSellCheckoutViewModelResult {
5112
5346
  * about whether there is a flow rather than about how one went. A chain with
5113
5347
  * no Ondo integration contract is known before any step runs, and there is no
5114
5348
  * region to report it in that would not first have to render something untrue.
5115
- * See {@link OndoCheckoutErrorReason}.
5349
+ * A market known to be closed while the user is still on the first step is the
5350
+ * same kind of answer for as long as it lasts. See
5351
+ * {@link OndoCheckoutErrorReason}.
5116
5352
  *
5117
5353
  * `offer` and `chain` are read as fixed for the lifetime of the hook, and so is
5118
5354
  * the wallet the flow opened on. The step machine holds a committed quote and
@@ -5220,6 +5456,12 @@ type LoadOndoTradingStatusState = {
5220
5456
  type: 'CONTENT';
5221
5457
  status: OndoTradingStatus;
5222
5458
  };
5459
+ /**
5460
+ * Whether the market is *known* to be closed for this side: the one reading of
5461
+ * the poll a caller may block an order on. `LOADING` and `ERROR` are unknown,
5462
+ * and unknown never blocks.
5463
+ */
5464
+ declare function isNotTradable(state: LoadOndoTradingStatusState): boolean;
5223
5465
  interface UseOndoTradingStatusOptions {
5224
5466
  /** Ondo's API symbol, e.g. `AAPLon`. */
5225
5467
  symbol: AssetSymbol;
@@ -6605,4 +6847,4 @@ interface UseCountdownOptions {
6605
6847
  */
6606
6848
  declare function useCountdown({ until, tickMs, enabled, }: UseCountdownOptions): number | null;
6607
6849
 
6608
- export { type AuthState, type AuthorizeWalletParams, ChecklistStatus, CheckoutAssetUi, type CheckoutConfig, type CheckoutConfirmedWalletUi, CheckoutContainer, type CheckoutContainerProps, type CheckoutCtaUi, type CheckoutEmbeddedWalletUi, type CheckoutNetworkUi, type CheckoutSelectableInputAssetUi, type CheckoutStatusUi, type CheckoutWalletSelection, type CheckoutWalletTypeUi, type CheckoutWalletUi, type ClientAuthConfig, type ClientAuthNamespace, ClientAuthNamespaceImpl, type ClientAuthSession, type ClientCoinListTokenSaleNamespace, ClientCoinListTokenSaleNamespaceImpl, type ClientConfig, type ClientOndoNamespace, ClientOndoNamespaceImpl, type ClientRequirementsNamespace, ClientRequirementsNamespaceImpl, type ClientSuperstateSwapNamespace, ClientSuperstateSwapNamespaceImpl, type ClientSupportNamespace, ClientSupportNamespaceImpl, type CoinListClient, CoinListClientInitializationError, CoinListContext, CoinListContextProvider, type CoinListContextValue, CoinListProvider, type CoinListProviderProps, CoinListSignInButton, CoinListSignInCardContainer, type CoinListSignInCardContainerProps, type CoinListSignInCardUiEvent, type CoinListSignInCardUiState, CoinListSignInCardView, type CoinListSignInCardViewProps, CoinListStyleScope, type CoinListStyleScopeProps, type CoinListTokenSaleCheckoutConfig, type CompleteOAuthFailureReason, ConnectWallet, type ConnectWalletError, type ConnectWalletErrorCode, type ConnectWalletFlowError, type ConnectWalletFlowParams, type ConnectWalletFlowResult, ConnectWalletModalContainer, type ConnectWalletModalContainerProps, type ConnectWalletModalUiEvent, type ConnectWalletModalUiState, ConnectWalletModalView, type ConnectWalletModalViewProps, type ConnectWalletPhase, type ConnectWalletScreenUi, type ConnectWalletSignState, type ConnectWalletState, ConnectedWalletList, type ConnectedWalletListProps, type ConnectedWalletUi, ERC20_BALANCE_POLL_INTERVAL_MS, type Erc20AllowanceError, type Erc20AllowancePhase, type Erc20AllowanceResult, type Erc20ApprovalError, EvmWallet, type ExecuteOndoSwapParams, type ExecuteSwapParams, type ExecuteTokenSaleParams, IdentityVerificationContainer, type IdentityVerificationContainerProps, type IdentityVerificationUiEvent, type IdentityVerificationUiState, IdentityVerificationView, type IdentityVerificationViewProps, KycLevelName, type KycTokenErrorReason, type KycTokenState, type LoadOfferDetailsReason, type LoadOfferDetailsState, type LoadOffersReason, type LoadOffersState, type LoadOndoBuyTransactionState, type LoadOndoPriceState, type LoadOndoSellTransactionState, type LoadOndoTradingStatusState, type LoadOptionAddressesReason, type LoadOptionAddressesState, type LoadParticipationsReason, type LoadParticipationsState, type LoadRequirementsReason, type LoadRequirementsState, type LoadTokenMetadataState, type LoadTokenRegistryState, Logger, type LogoImageUi, OAUTH_CODE_VERIFIER_KEY, OAUTH_STATE_KEY, type OauthClientErrorReason, type OauthClientResult, OfferAssetCard, type OfferAssetCardProps, OfferAssetCardUi, OfferLogoUi, OfferSaleCard, type OfferSaleCardProps, OfferSaleCardUi, OffersAssetGrid, type OffersAssetGridProps, OffersGridContainer, type OffersGridContainerProps, type OffersGridData, type OffersGridUiEvent, type OffersGridUiState, OffersGridView, type OffersGridViewProps, type OndoBuyAmountConfirmed, type OndoBuyAmountStepInput, type OndoBuyAmountUiEvent, type OndoBuyAmountUiState, type OndoBuyAmountValidation, OndoBuyAmountView, type OndoBuyAmountViewProps, OndoBuyCheckoutContainer, type OndoBuyCheckoutContainerProps, type OndoBuyCheckoutUiEvent, type OndoBuyCheckoutUiState, OndoBuyCheckoutView, type OndoBuyCheckoutViewProps, type OndoBuyExecutionResult, OndoBuyOrderConfirmed, type OndoBuyOrderPlaced, type OndoBuyOrderTerms, type OndoBuyPreparationResult, type OndoBuyQuoteStatusUi, type OndoBuyReviewStepInput, type OndoBuyReviewUiEvent, type OndoBuyReviewUiState, OndoBuyReviewView, type OndoBuyReviewViewProps, type OndoBuyStep, type OndoCheckoutConfig, OndoCheckoutError, type OndoCheckoutErrorProps, type OndoCheckoutErrorReason, type OndoLoadErrorReason, type OndoOrderConfirmedProps, type OndoOrderConfirmedUiEvent, type OndoOrderConfirmedUiState, type OndoOrderPlaced, type OndoOrderPlacedCore, type OndoSellAmountConfirmed, type OndoSellAmountStepInput, type OndoSellAmountUiEvent, type OndoSellAmountUiState, type OndoSellAmountValidation, OndoSellAmountView, type OndoSellAmountViewProps, type OndoSellAsset, type OndoSellBalanceUi, OndoSellCheckoutContainer, type OndoSellCheckoutContainerProps, type OndoSellCheckoutUiEvent, type OndoSellCheckoutUiState, OndoSellCheckoutView, type OndoSellCheckoutViewProps, type OndoSellExecutionResult, OndoSellOrderConfirmed, type OndoSellOrderConfirmedProps, type OndoSellOrderConfirmedUiEvent, type OndoSellOrderConfirmedUiState, type OndoSellOrderPlaced, type OndoSellOrderTerms, type OndoSellOutcomeUi, type OndoSellPreparationResult, type OndoSellQuoteStatusUi, type OndoSellReviewStepInput, type OndoSellReviewUiEvent, type OndoSellReviewUiState, OndoSellReviewView, type OndoSellReviewViewProps, type OndoSellSourceWalletUi, type OndoSellStep, type OndoSidebarPriceUi, type OndoSidebarUiState, OndoSidebarView, type OndoSidebarViewProps, type OndoSwapExecutionError, type OndoSwapExecutionPhase, type OndoSwapExecutionResult, type OndoSwapPreparationError, type OndoSwapPreparationPhase, type OndoSwapPreparationResult, type OndoWalletSelectStepInput, type OndoWalletSelectUiEvent, type OndoWalletSelectUiState, OndoWalletSelectView, type OndoWalletSelectViewProps, PinoLoggerOptions, type PrepareOndoBuyParams, type PrepareOndoSellParams, type PrepareOndoSwapParamsCore, type RequiredCheckoutConfig, RequirementItem, type RequirementItemProps, RequirementItemUi, RequirementStatus, RequirementVariant, RequirementsChecklistContainer, type RequirementsChecklistContainerProps, type RequirementsChecklistItemUi, type RequirementsChecklistUiEvent, type RequirementsChecklistUiState, RequirementsChecklistView, type RequirementsChecklistViewProps, type RequirementsData, type RequirementsVerificationUi, type SignState, SlippagePicker, type SlippagePickerProps, type SubmitErc20ApprovalResult, type SuperstateAmountConfirmed, type SuperstateAmountStepInput, type SuperstateAmountUiEvent, type SuperstateAmountUiState, type SuperstateAmountValidation, SuperstateAmountView, type SuperstateAmountViewProps, type SuperstateCheckoutConfig, SuperstateOrderConfirmed, type SuperstateOrderConfirmedProps, type SuperstateOrderConfirmedUiEvent, type SuperstateOrderConfirmedUiState, type SuperstateOrderPlaced, type SuperstateReviewStepInput, type SuperstateReviewUiEvent, type SuperstateReviewUiState, SuperstateReviewView, type SuperstateReviewViewProps, type SuperstateSidebarPriceUi, type SuperstateSidebarUiState, SuperstateSidebarView, type SuperstateSidebarViewProps, type SuperstateSlippageOptionUi, type SuperstateSlippageUi, SuperstateSwapCheckoutContainer, type SuperstateSwapCheckoutContainerProps, type SuperstateSwapCheckoutRetryUiEvent, type SuperstateSwapCheckoutUiEvent, type SuperstateSwapCheckoutUiState, SuperstateSwapCheckoutView, type SuperstateSwapCheckoutViewProps, type SuperstateSwapLoadErrorReason, type SuperstateSwapStep, type SuperstateWalletStepInput, type SuperstateWalletUiEvent, type SuperstateWalletUiState, SuperstateWalletView, type SuperstateWalletViewProps, type SwapExecutionError, type SwapExecutionPhase, type SwapExecutionResult, type SwapOutputTokenState, type TaxDocumentAddressParts, type TaxDocumentFieldUi, type TaxDocumentFields, TaxDocumentModalContainer, type TaxDocumentModalContainerProps, type TaxDocumentModalUiEvent, type TaxDocumentModalUiState, TaxDocumentModalView, type TaxDocumentModalViewProps, type TaxDocumentScreenUi, type TaxDocumentState, type TokenSaleExecutionError, type TokenSaleExecutionPhase, type TokenSaleExecutionResult, USDC_ICON_URL, USDT_ICON_URL, type UseCheckoutOfferTokenMetadataOptions, type UseCheckoutOfferTokenMetadataResult, type UseCoinListResult, type UseCoinListSignInCardViewModelOptions, type UseCoinListSignInCardViewModelResult, type UseCompleteOAuthOptions, type UseConnectWalletModalViewModelOptions, type UseConnectWalletModalViewModelResult, type UseConnectWalletOptions, type UseConnectWalletResult, type UseCountdownOptions, type UseErc20BalanceOptions, type UseErc20BalanceResult, type UseErc20TokenBalancesOptions, type UseErc20TokenBalancesResult, type UseIdentityVerificationViewModelOptions, type UseIdentityVerificationViewModelResult, type UseKycTokenResult, type UseOfferDetailsOptions, type UseOfferDetailsResult, type UseOffersGridViewModelOptions, type UseOffersGridViewModelResult, type UseOffersOptions, type UseOffersResult, type UseOndoBuyAmountViewModelOptions, type UseOndoBuyAmountViewModelResult, type UseOndoBuyCheckoutViewModelOptions, type UseOndoBuyCheckoutViewModelResult, type UseOndoBuyReviewViewModelOptions, type UseOndoBuyReviewViewModelResult, type UseOndoBuyTransactionOptions, type UseOndoBuyTransactionResult, type UseOndoPriceOptions, type UseOndoPriceResult, type UseOndoSellAmountViewModelOptions, type UseOndoSellAmountViewModelResult, type UseOndoSellCheckoutViewModelOptions, type UseOndoSellCheckoutViewModelResult, type UseOndoSellReviewViewModelOptions, type UseOndoSellReviewViewModelResult, type UseOndoSellTransactionOptions, type UseOndoSellTransactionResult, type UseOndoSidebarViewModelOptions, type UseOndoSidebarViewModelResult, type UseOndoTradingStatusOptions, type UseOndoTradingStatusResult, type UseOndoWalletSelectViewModelOptions, type UseOndoWalletSelectViewModelResult, type UseOptionAddressesOptions, type UseOptionAddressesResult, type UseParticipationsOptions, type UseParticipationsResult, type UseRequirementsChecklistViewModelOptions, type UseRequirementsChecklistViewModelResult, type UseRequirementsOptions, type UseRequirementsResult, type UseSuperstateAmountViewModelOptions, type UseSuperstateAmountViewModelResult, type UseSuperstateReviewViewModelOptions, type UseSuperstateReviewViewModelResult, type UseSuperstateSidebarViewModelOptions, type UseSuperstateSidebarViewModelResult, type UseSuperstateSwapCheckoutViewModelOptions, type UseSuperstateSwapCheckoutViewModelResult, type UseSuperstateWalletViewModelOptions, type UseSuperstateWalletViewModelResult, type UseSwapOutputTokenOptions, type UseSwapOutputTokenResult, type UseSwapQuoteOptions, type UseSwapQuoteResult, type UseTaxDocumentModalViewModelOptions, type UseTaxDocumentModalViewModelResult, type UseTaxDocumentOptions, type UseTaxDocumentResult, type UseTokenMetadataOptions, type UseTokenMetadataResult, type UseTokenRegistryOptions, type UseTokenRegistryResult, VerificationOverlay, type VerificationOverlayProps, type WalletAuthorizationError, type WalletAuthorizationPhase, type WalletAuthorizationResult, WalletError, type WalletsStatus, authorizeWallet, classifyWalletError, connectExternalWalletFlow, createCoinListClient, defaultCheckoutConfig, ensureErc20Allowance, executeOndoSwap, executeSwap, executeTokenSale, formatCountdown, formatMonthYear, formatSaleCardCountdown, offerAssetIconUrl, offerIconUrl, offerTokenIdentifier, ondoLoadErrorReason, pinoClientLogger, prepareOndoBuy, prepareOndoSell, quoteIsStale, quoteOverAsks, stablecoinIconUrl, submitErc20Approval, tokenLogoSrcSet, tokenLogoUrl, tokenMetadataOf, useCheckoutOfferTokenMetadata, useCoinList, useCoinListSignInCardViewModel, useCompleteOAuth, useConnectWallet, useConnectWalletModalViewModel, useCountdown, useErc20Balance, useErc20TokenBalances, useIdentityVerificationViewModel, useKycToken, useOfferDetails, useOffers, useOffersGridViewModel, useOndoBuyAmountViewModel, useOndoBuyCheckoutViewModel, useOndoBuyReviewViewModel, useOndoBuyTransaction, useOndoPrice, useOndoSellAmountViewModel, useOndoSellCheckoutViewModel, useOndoSellReviewViewModel, useOndoSellTransaction, useOndoSidebarViewModel, useOndoTradingStatus, useOndoWalletSelectViewModel, useOptionAddresses, useParticipations, useRequirements, useRequirementsChecklistViewModel, useSuperstateAmountViewModel, useSuperstateReviewViewModel, useSuperstateSidebarViewModel, useSuperstateSwapCheckoutViewModel, useSuperstateWalletViewModel, useSwapOutputToken, useSwapQuote, useTaxDocument, useTaxDocumentModalViewModel, useTokenMetadata, useTokenRegistry, validateAmount, validateSellAmount, validateSuperstateAmount };
6850
+ export { type AuthState, type AuthorizeWalletParams, CENTRIFUGE_VAULT_ORDER_REASON_MESSAGES, type CentrifugeLoadErrorReason, type CentrifugeVaultCheckoutConfig, ChecklistStatus, CheckoutAssetUi, type CheckoutConfig, type CheckoutConfirmedWalletUi, CheckoutContainer, type CheckoutContainerProps, type CheckoutCtaUi, type CheckoutEmbeddedWalletUi, type CheckoutNetworkUi, type CheckoutSelectableInputAssetUi, type CheckoutStatusUi, type CheckoutWalletSelection, type CheckoutWalletTypeUi, type CheckoutWalletUi, type ClientAuthConfig, type ClientAuthNamespace, ClientAuthNamespaceImpl, type ClientAuthSession, type ClientCoinListTokenSaleNamespace, ClientCoinListTokenSaleNamespaceImpl, type ClientConfig, type ClientOndoNamespace, ClientOndoNamespaceImpl, type ClientRequirementsNamespace, ClientRequirementsNamespaceImpl, type ClientSuperstateSwapNamespace, ClientSuperstateSwapNamespaceImpl, type ClientSupportNamespace, ClientSupportNamespaceImpl, type CoinListClient, CoinListClientInitializationError, CoinListContext, CoinListContextProvider, type CoinListContextValue, CoinListProvider, type CoinListProviderProps, CoinListSignInButton, CoinListSignInCardContainer, type CoinListSignInCardContainerProps, type CoinListSignInCardUiEvent, type CoinListSignInCardUiState, CoinListSignInCardView, type CoinListSignInCardViewProps, CoinListStyleScope, type CoinListStyleScopeProps, type CoinListTokenSaleCheckoutConfig, type CompleteOAuthFailureReason, ConnectWallet, type ConnectWalletError, type ConnectWalletErrorCode, type ConnectWalletFlowError, type ConnectWalletFlowParams, type ConnectWalletFlowResult, ConnectWalletModalContainer, type ConnectWalletModalContainerProps, type ConnectWalletModalUiEvent, type ConnectWalletModalUiState, ConnectWalletModalView, type ConnectWalletModalViewProps, type ConnectWalletPhase, type ConnectWalletScreenUi, type ConnectWalletSignState, type ConnectWalletState, ConnectedWalletList, type ConnectedWalletListProps, type ConnectedWalletUi, ERC20_BALANCE_POLL_INTERVAL_MS, type Erc20AllowanceError, type Erc20AllowancePhase, type Erc20AllowanceResult, type Erc20ApprovalError, EvmWallet, type ExecuteOndoSwapParams, type ExecuteSwapParams, type ExecuteTokenSaleParams, IdentityVerificationContainer, type IdentityVerificationContainerProps, type IdentityVerificationUiEvent, type IdentityVerificationUiState, IdentityVerificationView, type IdentityVerificationViewProps, KycLevelName, type KycTokenErrorReason, type KycTokenState, type LoadCentrifugeQuoteState, type LoadCentrifugeVaultStatusState, type LoadOfferDetailsReason, type LoadOfferDetailsState, type LoadOffersReason, type LoadOffersState, type LoadOndoBuyTransactionState, type LoadOndoPriceState, type LoadOndoSellTransactionState, type LoadOndoTradingStatusState, type LoadOptionAddressesReason, type LoadOptionAddressesState, type LoadParticipationsReason, type LoadParticipationsState, type LoadRequirementsReason, type LoadRequirementsState, type LoadTokenMetadataState, type LoadTokenRegistryState, Logger, type LogoImageUi, OAUTH_CODE_VERIFIER_KEY, OAUTH_STATE_KEY, type OauthClientErrorReason, type OauthClientResult, OfferAssetCard, type OfferAssetCardProps, OfferAssetCardUi, OfferLogoUi, OfferSaleCard, type OfferSaleCardProps, OfferSaleCardUi, OffersAssetGrid, type OffersAssetGridProps, OffersGridContainer, type OffersGridContainerProps, type OffersGridData, type OffersGridUiEvent, type OffersGridUiState, OffersGridView, type OffersGridViewProps, type OndoBuyAmountConfirmed, type OndoBuyAmountStepInput, type OndoBuyAmountUiEvent, type OndoBuyAmountUiState, type OndoBuyAmountValidation, OndoBuyAmountView, type OndoBuyAmountViewProps, OndoBuyCheckoutContainer, type OndoBuyCheckoutContainerProps, type OndoBuyCheckoutUiEvent, type OndoBuyCheckoutUiState, OndoBuyCheckoutView, type OndoBuyCheckoutViewProps, type OndoBuyExecutionResult, OndoBuyOrderConfirmed, type OndoBuyOrderPlaced, type OndoBuyOrderTerms, type OndoBuyPreparationResult, type OndoBuyQuoteStatusUi, type OndoBuyReviewStepInput, type OndoBuyReviewUiEvent, type OndoBuyReviewUiState, OndoBuyReviewView, type OndoBuyReviewViewProps, type OndoBuyStep, type OndoCheckoutConfig, OndoCheckoutError, type OndoCheckoutErrorProps, OndoCheckoutErrorReason, type OndoLoadErrorReason, type OndoOrderConfirmedProps, type OndoOrderConfirmedUiEvent, type OndoOrderConfirmedUiState, type OndoOrderPlaced, type OndoOrderPlacedCore, type OndoSellAmountConfirmed, type OndoSellAmountStepInput, type OndoSellAmountUiEvent, type OndoSellAmountUiState, type OndoSellAmountValidation, OndoSellAmountView, type OndoSellAmountViewProps, type OndoSellAsset, type OndoSellBalanceUi, OndoSellCheckoutContainer, type OndoSellCheckoutContainerProps, type OndoSellCheckoutUiEvent, type OndoSellCheckoutUiState, OndoSellCheckoutView, type OndoSellCheckoutViewProps, type OndoSellExecutionResult, OndoSellOrderConfirmed, type OndoSellOrderConfirmedProps, type OndoSellOrderConfirmedUiEvent, type OndoSellOrderConfirmedUiState, type OndoSellOrderPlaced, type OndoSellOrderTerms, type OndoSellOutcomeUi, type OndoSellPreparationResult, type OndoSellQuoteStatusUi, type OndoSellReviewStepInput, type OndoSellReviewUiEvent, type OndoSellReviewUiState, OndoSellReviewView, type OndoSellReviewViewProps, type OndoSellSourceWalletUi, type OndoSellStep, type OndoSidebarPriceUi, type OndoSidebarUiState, OndoSidebarView, type OndoSidebarViewProps, type OndoSwapExecutionError, type OndoSwapExecutionPhase, type OndoSwapExecutionResult, type OndoSwapPreparationError, type OndoSwapPreparationPhase, type OndoSwapPreparationResult, type OndoWalletSelectStepInput, type OndoWalletSelectUiEvent, type OndoWalletSelectUiState, OndoWalletSelectView, type OndoWalletSelectViewProps, PinoLoggerOptions, type PrepareOndoBuyParams, type PrepareOndoSellParams, type PrepareOndoSwapParamsCore, type RequiredCheckoutConfig, RequirementItem, type RequirementItemProps, RequirementItemUi, RequirementStatus, RequirementVariant, RequirementsChecklistContainer, type RequirementsChecklistContainerProps, type RequirementsChecklistItemUi, type RequirementsChecklistUiEvent, type RequirementsChecklistUiState, RequirementsChecklistView, type RequirementsChecklistViewProps, type RequirementsData, type RequirementsVerificationUi, type SignState, SlippagePicker, type SlippagePickerProps, type SubmitErc20ApprovalResult, type SuperstateAmountConfirmed, type SuperstateAmountStepInput, type SuperstateAmountUiEvent, type SuperstateAmountUiState, type SuperstateAmountValidation, SuperstateAmountView, type SuperstateAmountViewProps, type SuperstateCheckoutConfig, SuperstateOrderConfirmed, type SuperstateOrderConfirmedProps, type SuperstateOrderConfirmedUiEvent, type SuperstateOrderConfirmedUiState, type SuperstateOrderPlaced, type SuperstateReviewStepInput, type SuperstateReviewUiEvent, type SuperstateReviewUiState, SuperstateReviewView, type SuperstateReviewViewProps, type SuperstateSidebarPriceUi, type SuperstateSidebarUiState, SuperstateSidebarView, type SuperstateSidebarViewProps, type SuperstateSlippageOptionUi, type SuperstateSlippageUi, SuperstateSwapCheckoutContainer, type SuperstateSwapCheckoutContainerProps, type SuperstateSwapCheckoutRetryUiEvent, type SuperstateSwapCheckoutUiEvent, type SuperstateSwapCheckoutUiState, SuperstateSwapCheckoutView, type SuperstateSwapCheckoutViewProps, type SuperstateSwapLoadErrorReason, type SuperstateSwapStep, type SuperstateWalletStepInput, type SuperstateWalletUiEvent, type SuperstateWalletUiState, SuperstateWalletView, type SuperstateWalletViewProps, type SwapExecutionError, type SwapExecutionPhase, type SwapExecutionResult, type SwapOutputTokenState, type TaxDocumentAddressParts, type TaxDocumentFieldUi, type TaxDocumentFields, TaxDocumentModalContainer, type TaxDocumentModalContainerProps, type TaxDocumentModalUiEvent, type TaxDocumentModalUiState, TaxDocumentModalView, type TaxDocumentModalViewProps, type TaxDocumentScreenUi, type TaxDocumentState, type TokenSaleExecutionError, type TokenSaleExecutionPhase, type TokenSaleExecutionResult, USDC_ICON_URL, USDT_ICON_URL, type UseCentrifugeQuoteOptions, type UseCentrifugeQuoteResult, type UseCentrifugeVaultStatusOptions, type UseCentrifugeVaultStatusResult, type UseCheckoutOfferTokenMetadataOptions, type UseCheckoutOfferTokenMetadataResult, type UseCoinListResult, type UseCoinListSignInCardViewModelOptions, type UseCoinListSignInCardViewModelResult, type UseCompleteOAuthOptions, type UseConnectWalletModalViewModelOptions, type UseConnectWalletModalViewModelResult, type UseConnectWalletOptions, type UseConnectWalletResult, type UseCountdownOptions, type UseErc20BalanceOptions, type UseErc20BalanceResult, type UseErc20TokenBalancesOptions, type UseErc20TokenBalancesResult, type UseIdentityVerificationViewModelOptions, type UseIdentityVerificationViewModelResult, type UseKycTokenResult, type UseOfferDetailsOptions, type UseOfferDetailsResult, type UseOffersGridViewModelOptions, type UseOffersGridViewModelResult, type UseOffersOptions, type UseOffersResult, type UseOndoBuyAmountViewModelOptions, type UseOndoBuyAmountViewModelResult, type UseOndoBuyCheckoutViewModelOptions, type UseOndoBuyCheckoutViewModelResult, type UseOndoBuyReviewViewModelOptions, type UseOndoBuyReviewViewModelResult, type UseOndoBuyTransactionOptions, type UseOndoBuyTransactionResult, type UseOndoPriceOptions, type UseOndoPriceResult, type UseOndoSellAmountViewModelOptions, type UseOndoSellAmountViewModelResult, type UseOndoSellCheckoutViewModelOptions, type UseOndoSellCheckoutViewModelResult, type UseOndoSellReviewViewModelOptions, type UseOndoSellReviewViewModelResult, type UseOndoSellTransactionOptions, type UseOndoSellTransactionResult, type UseOndoSidebarViewModelOptions, type UseOndoSidebarViewModelResult, type UseOndoTradingStatusOptions, type UseOndoTradingStatusResult, type UseOndoWalletSelectViewModelOptions, type UseOndoWalletSelectViewModelResult, type UseOptionAddressesOptions, type UseOptionAddressesResult, type UseParticipationsOptions, type UseParticipationsResult, type UseRequirementsChecklistViewModelOptions, type UseRequirementsChecklistViewModelResult, type UseRequirementsOptions, type UseRequirementsResult, type UseSuperstateAmountViewModelOptions, type UseSuperstateAmountViewModelResult, type UseSuperstateReviewViewModelOptions, type UseSuperstateReviewViewModelResult, type UseSuperstateSidebarViewModelOptions, type UseSuperstateSidebarViewModelResult, type UseSuperstateSwapCheckoutViewModelOptions, type UseSuperstateSwapCheckoutViewModelResult, type UseSuperstateWalletViewModelOptions, type UseSuperstateWalletViewModelResult, type UseSwapOutputTokenOptions, type UseSwapOutputTokenResult, type UseSwapQuoteOptions, type UseSwapQuoteResult, type UseTaxDocumentModalViewModelOptions, type UseTaxDocumentModalViewModelResult, type UseTaxDocumentOptions, type UseTaxDocumentResult, type UseTokenMetadataOptions, type UseTokenMetadataResult, type UseTokenRegistryOptions, type UseTokenRegistryResult, VerificationOverlay, type VerificationOverlayProps, type WalletAuthorizationError, type WalletAuthorizationPhase, type WalletAuthorizationResult, WalletError, type WalletsStatus, authorizeWallet, centrifugeLoadErrorReason, centrifugeVaultOrderReasonMessage, centrifugeVaultOrderingMessage, classifyWalletError, connectExternalWalletFlow, createCoinListClient, defaultCheckoutConfig, ensureErc20Allowance, executeOndoSwap, executeSwap, executeTokenSale, formatCountdown, formatMonthYear, formatSaleCardCountdown, isNotTradable, offerAssetIconUrl, offerIconUrl, offerTokenIdentifier, ondoLoadErrorReason, pinoClientLogger, prepareOndoBuy, prepareOndoSell, primaryCentrifugeVaultOrderReason, quoteIsStale, quoteOverAsks, stablecoinIconUrl, submitErc20Approval, tokenLogoSrcSet, tokenLogoUrl, tokenMetadataOf, useCentrifugeQuote, useCentrifugeVaultStatus, useCheckoutOfferTokenMetadata, useCoinList, useCoinListSignInCardViewModel, useCompleteOAuth, useConnectWallet, useConnectWalletModalViewModel, useCountdown, useErc20Balance, useErc20TokenBalances, useIdentityVerificationViewModel, useKycToken, useOfferDetails, useOffers, useOffersGridViewModel, useOndoBuyAmountViewModel, useOndoBuyCheckoutViewModel, useOndoBuyReviewViewModel, useOndoBuyTransaction, useOndoPrice, useOndoSellAmountViewModel, useOndoSellCheckoutViewModel, useOndoSellReviewViewModel, useOndoSellTransaction, useOndoSidebarViewModel, useOndoTradingStatus, useOndoWalletSelectViewModel, useOptionAddresses, useParticipations, useRequirements, useRequirementsChecklistViewModel, useSuperstateAmountViewModel, useSuperstateReviewViewModel, useSuperstateSidebarViewModel, useSuperstateSwapCheckoutViewModel, useSuperstateWalletViewModel, useSwapOutputToken, useSwapQuote, useTaxDocument, useTaxDocumentModalViewModel, useTokenMetadata, useTokenRegistry, validateAmount, validateSellAmount, validateSuperstateAmount };