@coinlist-co/react 0.12.2-rc.7b430dd → 0.12.2-rc.a59b344
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/{chunk-DCW7NQXH.js → chunk-4IZ2F732.js} +52 -19
- package/dist/chunk-4IZ2F732.js.map +1 -0
- package/dist/{chunk-MOE5S6CE.js → chunk-NBO5E2RO.js} +152 -6
- package/dist/chunk-NBO5E2RO.js.map +1 -0
- package/dist/{chunk-VH34YC3Q.js → chunk-UJYSXXJF.js} +168 -3
- package/dist/chunk-UJYSXXJF.js.map +1 -0
- package/dist/client/index.cjs +469 -145
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +114 -35
- package/dist/client/index.d.ts +114 -35
- package/dist/client/index.js +297 -114
- package/dist/client/index.js.map +1 -1
- package/dist/server/index.cjs +507 -116
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +65 -41
- package/dist/server/index.d.ts +65 -41
- package/dist/server/index.js +321 -65
- package/dist/server/index.js.map +1 -1
- package/dist/time-CFocgYyl.d.cts +50 -0
- package/dist/time-DvgN98Q9.d.ts +50 -0
- package/dist/{token-registry-snapshot-BNBNuDu1.d.ts → token-registry-snapshot-BsAfBL_b.d.ts} +9 -7
- package/dist/{token-registry-snapshot-CqI6dXM_.d.cts → token-registry-snapshot-Cc_eA5zM.d.cts} +9 -7
- package/dist/{tokens-namespace-CIWBtgt2.d.cts → tokens-namespace-D_XSpiS-.d.cts} +154 -19
- package/dist/{tokens-namespace-CIWBtgt2.d.ts → tokens-namespace-D_XSpiS-.d.ts} +154 -19
- package/dist/universal/index.cjs +333 -40
- package/dist/universal/index.cjs.map +1 -1
- package/dist/universal/index.d.cts +358 -5
- package/dist/universal/index.d.ts +358 -5
- package/dist/universal/index.js +28 -2
- package/package.json +1 -1
- package/dist/chunk-DCW7NQXH.js.map +0 -1
- package/dist/chunk-MOE5S6CE.js.map +0 -1
- package/dist/chunk-VH34YC3Q.js.map +0 -1
package/dist/client/index.d.ts
CHANGED
|
@@ -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
|
|
4
|
-
export {
|
|
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-
|
|
6
|
-
export { B as BroadcastTxParams, d as EvmSigner, W as WriteContractParams } from '../token-registry-snapshot-
|
|
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 CentrifugeVaultOfferDetail, G as OfferType, H as OndoSwapOfferDetail, I as CoinListTokenSaleOfferDetail, J as SuperstateSwapOfferDetail, K as Offer, M as RequirementStatusInfo, N as RequirementType, Q as RequirementStatusValue, V as OfferOptionAddress, X as RequirementId, Y as KycLevelName, Z as DocumentSubmission, _ as WalletChallengeType, $ as PinoLoggerOptions, a0 as OndoTradingStatus, a1 as AssetDecimals, a2 as BuildOndoBuyParams, a3 as BuildOndoSellParams, a4 as OndoQuote, a5 as OndoQuoteSize, a6 as TokenIdentifier, a7 as OfferOptionAddressId, a8 as TokenLogo } from '../tokens-namespace-D_XSpiS-.js';
|
|
4
|
+
export { a9 as DebugEvent, aa as FrontlineEventId, ab as HttpError, ac as HttpResponse, ad as KycToken, ae as LogBinding, af as LogBindings, ag as LogCause, ah as LogLevel, ai as LogScope, aj as LogValue, ak as ProductionLogLevel, al as RedactedWalletError, am as RequestId, an as RpcFailureReason, ao as SafeEvent, ap as SafeFields, aq as UnredactedFields } from '../tokens-namespace-D_XSpiS-.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-BsAfBL_b.js';
|
|
6
|
+
export { B as BroadcastTxParams, d as EvmSigner, W as WriteContractParams } from '../token-registry-snapshot-BsAfBL_b.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';
|
|
@@ -698,10 +698,24 @@ declare class ClientSupportNamespaceImpl implements ClientSupportNamespace {
|
|
|
698
698
|
|
|
699
699
|
interface ClientConfig extends Config {
|
|
700
700
|
/**
|
|
701
|
-
* The SDK user must provide this function. It
|
|
702
|
-
*
|
|
703
|
-
*
|
|
704
|
-
*
|
|
701
|
+
* The SDK user must provide this function. It fetches a valid
|
|
702
|
+
* {@link OAuthAccessToken} from your backend. If your backend is in
|
|
703
|
+
* TypeScript, serve `CoinListServer#auth.getAccessToken` from it.
|
|
704
|
+
*
|
|
705
|
+
* Two answers, and they must not be confused:
|
|
706
|
+
*
|
|
707
|
+
* - **Resolve `null`** when there is no session - e.g. your endpoint
|
|
708
|
+
* answered 204. After a 401 the SDK asks once more a second later before
|
|
709
|
+
* it believes it, then signs the user out and calls
|
|
710
|
+
* {@link Config.onSessionExpired}.
|
|
711
|
+
* - **Throw** when you could not find out - a 5xx, a network failure. The
|
|
712
|
+
* SDK keeps its current auth state and fails only the request in hand.
|
|
713
|
+
*
|
|
714
|
+
* So a backend that answers "no session" for its own failures turns every
|
|
715
|
+
* outage into a logout. Map those to an error status and throw on it.
|
|
716
|
+
*
|
|
717
|
+
* The SDK calls this at most once at a time: concurrent requests that all
|
|
718
|
+
* need a new token share one call.
|
|
705
719
|
*/
|
|
706
720
|
getAccessToken: () => Promise<OAuthAccessToken | null>;
|
|
707
721
|
/**
|
|
@@ -810,6 +824,10 @@ interface CoinListClient {
|
|
|
810
824
|
* the user's {@link AuthState}. This is called automatically by
|
|
811
825
|
* {@link CoinListProvider}; you typically do not need to call it yourself
|
|
812
826
|
* unless you are using the client outside of the provider.
|
|
827
|
+
*
|
|
828
|
+
* @throws whatever {@link ClientConfig.getAccessToken} throws. The auth
|
|
829
|
+
* state is then left as it was (`'unknown'` on a first call), since a
|
|
830
|
+
* failure to find out is not a logout.
|
|
813
831
|
*/
|
|
814
832
|
init(): Promise<AuthState>;
|
|
815
833
|
}
|
|
@@ -1499,6 +1517,7 @@ type CheckoutConfigByOfferType = {
|
|
|
1499
1517
|
'ondo::swap': OndoCheckoutConfig;
|
|
1500
1518
|
'superstate::swap': SuperstateCheckoutConfig;
|
|
1501
1519
|
'coinlist::token_sale': CoinListTokenSaleCheckoutConfig;
|
|
1520
|
+
'centrifuge::vault': CentrifugeVaultCheckoutConfig;
|
|
1502
1521
|
};
|
|
1503
1522
|
type OndoCheckoutConfig = {
|
|
1504
1523
|
/**
|
|
@@ -1566,13 +1585,21 @@ type SuperstateCheckoutConfig = {
|
|
|
1566
1585
|
type CoinListTokenSaleCheckoutConfig = {
|
|
1567
1586
|
render: (offer: CoinListTokenSaleOfferDetail) => ReactNode;
|
|
1568
1587
|
};
|
|
1588
|
+
/**
|
|
1589
|
+
* The SDK ships no Centrifuge vault UI yet, so the host supplies it, as it
|
|
1590
|
+
* does for {@link CoinListTokenSaleCheckoutConfig} and for the same reason
|
|
1591
|
+
* takes the offer. A host that never lists vault offers returns `null`.
|
|
1592
|
+
*/
|
|
1593
|
+
type CentrifugeVaultCheckoutConfig = {
|
|
1594
|
+
render: (offer: CentrifugeVaultOfferDetail) => ReactNode;
|
|
1595
|
+
};
|
|
1569
1596
|
/**
|
|
1570
1597
|
* The parts of {@link CheckoutConfig} only the host can know.
|
|
1571
1598
|
*
|
|
1572
1599
|
* What is missing from this list is what {@link defaultCheckoutConfig} can fill
|
|
1573
1600
|
* in on its own.
|
|
1574
1601
|
*/
|
|
1575
|
-
type RequiredCheckoutConfig = Pick<CheckoutConfig, 'ondo::swap' | 'coinlist::token_sale'>;
|
|
1602
|
+
type RequiredCheckoutConfig = Pick<CheckoutConfig, 'ondo::swap' | 'coinlist::token_sale' | 'centrifuge::vault'>;
|
|
1576
1603
|
/**
|
|
1577
1604
|
* Fills in the config entries that have a sensible default, so a host only
|
|
1578
1605
|
* writes the ones that do not.
|
|
@@ -1588,6 +1615,7 @@ type RequiredCheckoutConfig = Pick<CheckoutConfig, 'ondo::swap' | 'coinlist::tok
|
|
|
1588
1615
|
* side: () => 'buy',
|
|
1589
1616
|
* },
|
|
1590
1617
|
* 'coinlist::token_sale': { render: (offer) => <MyTokenSalePage offer={offer} /> },
|
|
1618
|
+
* 'centrifuge::vault': { render: () => null },
|
|
1591
1619
|
* });
|
|
1592
1620
|
* ```
|
|
1593
1621
|
*/
|
|
@@ -1677,6 +1705,7 @@ interface CheckoutContainerProps {
|
|
|
1677
1705
|
* const config = defaultCheckoutConfig({
|
|
1678
1706
|
* 'ondo::swap': { symbol: (o) => AssetSymbol(o.asset.code), side: () => 'sell' },
|
|
1679
1707
|
* 'coinlist::token_sale': { render: (o) => <MyTokenSalePage offer={o} /> },
|
|
1708
|
+
* 'centrifuge::vault': { render: () => null },
|
|
1680
1709
|
* });
|
|
1681
1710
|
* ```
|
|
1682
1711
|
*
|
|
@@ -1863,18 +1892,17 @@ type OndoBuyReviewUiEvent = {
|
|
|
1863
1892
|
};
|
|
1864
1893
|
|
|
1865
1894
|
/**
|
|
1866
|
-
* Why an Ondo checkout cannot run
|
|
1895
|
+
* Why an Ondo checkout cannot run right now, as opposed to a step of it
|
|
1896
|
+
* failing.
|
|
1867
1897
|
*
|
|
1868
|
-
*
|
|
1869
|
-
* on it for copy and because the next entry here is already foreseeable: an
|
|
1870
|
-
* offer whose asset Ondo has delisted is the same kind of "there is no flow to
|
|
1871
|
-
* render" that no step can localise.
|
|
1898
|
+
* A union rather than a bare flag because the View switches on it for copy.
|
|
1872
1899
|
*
|
|
1873
|
-
* Shared by both products because
|
|
1874
|
-
* than of a direction: buying and selling go through
|
|
1875
|
-
* chain that cannot serve one cannot serve the other
|
|
1876
|
-
*
|
|
1877
|
-
*
|
|
1900
|
+
* Shared by both products because each reason is a property of the integration
|
|
1901
|
+
* or of the market rather than of a direction: buying and selling go through
|
|
1902
|
+
* the same contract, so a chain that cannot serve one cannot serve the other,
|
|
1903
|
+
* and a closed market reads the same whichever way the trade runs. That is the
|
|
1904
|
+
* exception the provider-level `shared/` exists for, and it is narrow - the
|
|
1905
|
+
* step states stay per-product, since that is where the two genuinely diverge.
|
|
1878
1906
|
*/
|
|
1879
1907
|
type OndoCheckoutErrorReason =
|
|
1880
1908
|
/**
|
|
@@ -1885,7 +1913,38 @@ type OndoCheckoutErrorReason =
|
|
|
1885
1913
|
* offer and the chain are fixed for the lifetime of the mount. See
|
|
1886
1914
|
* `swapSpender`.
|
|
1887
1915
|
*/
|
|
1888
|
-
'unsupported-chain'
|
|
1916
|
+
'unsupported-chain'
|
|
1917
|
+
/**
|
|
1918
|
+
* Ondo is not filling orders for this asset on this side right now: the
|
|
1919
|
+
* market is closed or paused, or the asset is paused or closed for the
|
|
1920
|
+
* session. Known from the trading-status poll, never assumed from a status
|
|
1921
|
+
* that is still loading or failed to load.
|
|
1922
|
+
*
|
|
1923
|
+
* Unlike `unsupported-chain` this one clears on its own. The trading-status
|
|
1924
|
+
* poll keeps running underneath it, and the checkout comes back once the
|
|
1925
|
+
* asset is tradable again. Only shown while the user is on the step the flow
|
|
1926
|
+
* opened on: once they are past it, a pause is a step's to report, so it
|
|
1927
|
+
* cannot pull an order out from under the user mid-flow.
|
|
1928
|
+
*/
|
|
1929
|
+
| 'not-tradable';
|
|
1930
|
+
declare const OndoCheckoutErrorReason: {
|
|
1931
|
+
/**
|
|
1932
|
+
* Which reason, if any, replaces the whole checkout. `null` means the steps
|
|
1933
|
+
* render.
|
|
1934
|
+
*
|
|
1935
|
+
* `unsupported-chain` wins because it is settled at mount: no market state
|
|
1936
|
+
* can make a chain with no contract tradable. `not-tradable` needs both a
|
|
1937
|
+
* market *known* to be closed and a user still at the start of the flow,
|
|
1938
|
+
* with no order confirmation on screen. Past the first step a pause belongs
|
|
1939
|
+
* to the step it interrupts, and a just-placed order's dialog must not be
|
|
1940
|
+
* hidden by a market that closed after it filled.
|
|
1941
|
+
*/
|
|
1942
|
+
of: ({ swappableHere, notTradable, atEntry, }: {
|
|
1943
|
+
swappableHere: boolean;
|
|
1944
|
+
notTradable: boolean;
|
|
1945
|
+
atEntry: boolean;
|
|
1946
|
+
}) => OndoCheckoutErrorReason | null;
|
|
1947
|
+
};
|
|
1889
1948
|
|
|
1890
1949
|
/**
|
|
1891
1950
|
* The reference panel beside the Ondo checkout: which asset is being bought,
|
|
@@ -2030,7 +2089,11 @@ type OndoBuyCheckoutUiState = {
|
|
|
2030
2089
|
sidebar: OndoSidebarUiState;
|
|
2031
2090
|
orderConfirmed: OndoOrderConfirmedUiState;
|
|
2032
2091
|
}
|
|
2033
|
-
/**
|
|
2092
|
+
/**
|
|
2093
|
+
* There is no checkout to render. For `unsupported-chain` nothing is fetched
|
|
2094
|
+
* and no timer runs; for `not-tradable` the trading-status poll keeps
|
|
2095
|
+
* running, so the checkout comes back once the market opens.
|
|
2096
|
+
*/
|
|
2034
2097
|
| {
|
|
2035
2098
|
type: 'error';
|
|
2036
2099
|
reason: OndoCheckoutErrorReason;
|
|
@@ -2451,7 +2514,11 @@ type OndoSellCheckoutUiState = {
|
|
|
2451
2514
|
sidebar: OndoSidebarUiState;
|
|
2452
2515
|
orderConfirmed: OndoSellOrderConfirmedUiState;
|
|
2453
2516
|
}
|
|
2454
|
-
/**
|
|
2517
|
+
/**
|
|
2518
|
+
* There is no checkout to render. For `unsupported-chain` nothing is fetched
|
|
2519
|
+
* and no timer runs; for `not-tradable` the trading-status poll keeps
|
|
2520
|
+
* running, so the checkout comes back once the market opens.
|
|
2521
|
+
*/
|
|
2455
2522
|
| {
|
|
2456
2523
|
type: 'error';
|
|
2457
2524
|
reason: OndoCheckoutErrorReason;
|
|
@@ -2647,7 +2714,8 @@ interface OndoCheckoutErrorProps {
|
|
|
2647
2714
|
className?: string;
|
|
2648
2715
|
}
|
|
2649
2716
|
/**
|
|
2650
|
-
* What an Ondo checkout renders when there is no checkout to render
|
|
2717
|
+
* What an Ondo checkout renders when there is no checkout to render, or none
|
|
2718
|
+
* the user can act on right now.
|
|
2651
2719
|
*
|
|
2652
2720
|
* Shared by both products rather than duplicated in each, because the reason
|
|
2653
2721
|
* is a property of the integration and not of the direction: a chain that
|
|
@@ -2655,9 +2723,10 @@ interface OndoCheckoutErrorProps {
|
|
|
2655
2723
|
* sentence twice.
|
|
2656
2724
|
*
|
|
2657
2725
|
* No retry, deliberately. Superstate's equivalent offers one for `load-failed`,
|
|
2658
|
-
* where a re-fetch can genuinely succeed
|
|
2659
|
-
* and cannot change under a button
|
|
2660
|
-
*
|
|
2726
|
+
* where a re-fetch can genuinely succeed. Here `unsupported-chain` is settled
|
|
2727
|
+
* at mount and cannot change under a button, and `not-tradable` clears on its
|
|
2728
|
+
* own once the market opens, since the viewmodel keeps polling underneath it.
|
|
2729
|
+
* Offering a button that provably cannot help is worse than offering none.
|
|
2661
2730
|
*
|
|
2662
2731
|
* Self-scoped, like every exported component: it renders fully styled with no
|
|
2663
2732
|
* provider in the tree, and the scope is idempotent so nesting costs nothing.
|
|
@@ -2977,8 +3046,6 @@ type SuperstateOrderConfirmedUiState = {
|
|
|
2977
3046
|
type: 'visible';
|
|
2978
3047
|
/** What was bought. */
|
|
2979
3048
|
asset: CheckoutAssetUi;
|
|
2980
|
-
/** Who issues it, e.g. `Superstate`. */
|
|
2981
|
-
issuer: string;
|
|
2982
3049
|
/** How much of it arrived, e.g. `981.2431 USTB`. */
|
|
2983
3050
|
outputAmount: FormattedAmountAssetUi;
|
|
2984
3051
|
/**
|
|
@@ -4473,11 +4540,13 @@ declare function validateAmount({ input, decimals, balance, symbol, minimumPurch
|
|
|
4473
4540
|
}): OndoBuyAmountValidation;
|
|
4474
4541
|
|
|
4475
4542
|
/**
|
|
4476
|
-
* Why an Ondo read failed, in the
|
|
4543
|
+
* Why an Ondo read failed, in the three flavours a UI acts on differently.
|
|
4477
4544
|
*
|
|
4478
4545
|
* `not-authenticated` is split out because no retry helps until the user signs
|
|
4479
|
-
* in, and because the remedy is one the UI can name.
|
|
4480
|
-
*
|
|
4546
|
+
* in, and because the remedy is one the UI can name. `not-tradable` is split
|
|
4547
|
+
* out for the same reason: the market is closed or paused, so the remedy is to
|
|
4548
|
+
* wait for it to open, and a retry before then fails the same way. Everything
|
|
4549
|
+
* else collapses into `generic-error` and is offered a retry.
|
|
4481
4550
|
*
|
|
4482
4551
|
* That is a deliberate over-offer, not a claim that every such failure is
|
|
4483
4552
|
* retryable. A `ValidationError` from the DTO boundary - an unreadable expiry,
|
|
@@ -4488,7 +4557,7 @@ declare function validateAmount({ input, decimals, balance, symbol, minimumPurch
|
|
|
4488
4557
|
* branch in every consumer to distinguish. Split it out if that stops being
|
|
4489
4558
|
* true.
|
|
4490
4559
|
*/
|
|
4491
|
-
type OndoLoadErrorReason = 'not-authenticated' | 'generic-error';
|
|
4560
|
+
type OndoLoadErrorReason = 'not-authenticated' | 'not-tradable' | 'generic-error';
|
|
4492
4561
|
declare function ondoLoadErrorReason(error: unknown): OndoLoadErrorReason;
|
|
4493
4562
|
|
|
4494
4563
|
/**
|
|
@@ -4709,7 +4778,9 @@ interface UseOndoBuyCheckoutViewModelResult {
|
|
|
4709
4778
|
* no Ondo integration contract is known before any step runs, and there is no
|
|
4710
4779
|
* region to report it in that would not first have to render something untrue:
|
|
4711
4780
|
* a wallet picker leading nowhere, a balance read for a token this flow will
|
|
4712
|
-
* never spend.
|
|
4781
|
+
* never spend. A market known to be closed while the user is still choosing a
|
|
4782
|
+
* wallet is the same kind of answer for as long as it lasts. See
|
|
4783
|
+
* {@link OndoCheckoutErrorReason}.
|
|
4713
4784
|
*
|
|
4714
4785
|
* `offer` and `chain` are read as fixed for the lifetime of the hook. The step
|
|
4715
4786
|
* machine holds a committed quote and an approval granted on one chain for one
|
|
@@ -5096,7 +5167,9 @@ interface UseOndoSellCheckoutViewModelResult {
|
|
|
5096
5167
|
* about whether there is a flow rather than about how one went. A chain with
|
|
5097
5168
|
* no Ondo integration contract is known before any step runs, and there is no
|
|
5098
5169
|
* region to report it in that would not first have to render something untrue.
|
|
5099
|
-
*
|
|
5170
|
+
* A market known to be closed while the user is still on the first step is the
|
|
5171
|
+
* same kind of answer for as long as it lasts. See
|
|
5172
|
+
* {@link OndoCheckoutErrorReason}.
|
|
5100
5173
|
*
|
|
5101
5174
|
* `offer` and `chain` are read as fixed for the lifetime of the hook, and so is
|
|
5102
5175
|
* the wallet the flow opened on. The step machine holds a committed quote and
|
|
@@ -5204,6 +5277,12 @@ type LoadOndoTradingStatusState = {
|
|
|
5204
5277
|
type: 'CONTENT';
|
|
5205
5278
|
status: OndoTradingStatus;
|
|
5206
5279
|
};
|
|
5280
|
+
/**
|
|
5281
|
+
* Whether the market is *known* to be closed for this side: the one reading of
|
|
5282
|
+
* the poll a caller may block an order on. `LOADING` and `ERROR` are unknown,
|
|
5283
|
+
* and unknown never blocks.
|
|
5284
|
+
*/
|
|
5285
|
+
declare function isNotTradable(state: LoadOndoTradingStatusState): boolean;
|
|
5207
5286
|
interface UseOndoTradingStatusOptions {
|
|
5208
5287
|
/** Ondo's API symbol, e.g. `AAPLon`. */
|
|
5209
5288
|
symbol: AssetSymbol;
|
|
@@ -6589,4 +6668,4 @@ interface UseCountdownOptions {
|
|
|
6589
6668
|
*/
|
|
6590
6669
|
declare function useCountdown({ until, tickMs, enabled, }: UseCountdownOptions): number | null;
|
|
6591
6670
|
|
|
6592
|
-
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 };
|
|
6671
|
+
export { type AuthState, type AuthorizeWalletParams, 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 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 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, isNotTradable, 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 };
|