@coinlist-co/react 0.12.2-rc.818bed6 → 0.12.2-rc.8a0d02a
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-2HCSM3FB.js → chunk-3WW5FLT7.js} +2 -2
- package/dist/{chunk-YMDYLYL3.js → chunk-C6GF7MDF.js} +2 -58
- package/dist/chunk-C6GF7MDF.js.map +1 -0
- package/dist/{chunk-OUFI3D3Q.js → chunk-IZJ4JSSC.js} +2 -8
- package/dist/{chunk-OUFI3D3Q.js.map → chunk-IZJ4JSSC.js.map} +1 -1
- package/dist/client/index.cjs +598 -912
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +41 -174
- package/dist/client/index.d.ts +41 -174
- package/dist/client/index.js +524 -777
- package/dist/client/index.js.map +1 -1
- package/dist/server/index.cjs +1 -56
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +3 -6
- package/dist/server/index.d.ts +3 -6
- package/dist/server/index.js +2 -2
- package/dist/server/index.js.map +1 -1
- package/dist/{time-DJU6E8KK.d.cts → time-CVZpAkGY.d.cts} +10 -75
- package/dist/{time-DJU6E8KK.d.ts → time-CVZpAkGY.d.ts} +10 -75
- package/dist/{token-registry-snapshot-DGG5N27C.d.ts → token-registry-snapshot-BkwA8KmD.d.ts} +1 -1
- package/dist/{token-registry-snapshot-B0xCp3GD.d.cts → token-registry-snapshot-bR14QehS.d.cts} +1 -1
- package/dist/universal/index.cjs +1 -64
- package/dist/universal/index.cjs.map +1 -1
- package/dist/universal/index.d.cts +8 -22
- package/dist/universal/index.d.ts +8 -22
- package/dist/universal/index.js +2 -6
- package/package.json +1 -1
- package/dist/chunk-YMDYLYL3.js.map +0 -1
- /package/dist/{chunk-2HCSM3FB.js.map → chunk-3WW5FLT7.js.map} +0 -0
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 CentrifugeNamespace, d as AssetSymbol, O as OfferVaultContract, e as CentrifugeVaultBuyTransaction, f as CentrifugeClaimDirection, g as CentrifugeNamespaceImpl, U as UniversalNamespaceContext, h as CoinListTokenSaleNamespace, i as OfferId, j as OfferOptionId, k as AssetId, P as Participation, l as CoinListTokenSaleNamespaceImpl, m as OndoNamespace, n as OfferSwapContract, o as OndoBuyTransaction, p as OndoSellTransaction, q as OndoSwapTransactionCore, r as OrderBookSide, s as OndoNamespaceImpl, S as SuperstateSwapNamespace, t as WalletsNamespace, u as Bps, v as EvmWalletAddress, w as SuperstateSwapNamespaceImpl, R as RequirementsNamespace, x as Requirement, y as RequirementsNamespaceImpl, z as Config, D as OAuthAccessToken, F as OffersNamespace, T as TokensNamespace, G as
|
|
4
|
-
export {
|
|
5
|
-
import { P as PKCEConfig, E as EvmWallet, S as SwapQuote, A as AssetIconUrl, F as FormattedAmountAssetUi, a as ShortenedWalletAddress, b as FormattedPercentUi, T as TxExplorerUrl, W as WalletSelection, c as WalletLabelResolver, C as ConnectWallet, N as NonEmptyArray, d as TokenRegistrySnapshot } from '../token-registry-snapshot-
|
|
6
|
-
export { B as BroadcastTxParams, e as EvmSigner, f as ExternalWalletAdapter, g 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 CentrifugeNamespace, d as AssetSymbol, O as OfferVaultContract, e as CentrifugeVaultBuyTransaction, f as CentrifugeClaimDirection, g as CentrifugeNamespaceImpl, U as UniversalNamespaceContext, h as CoinListTokenSaleNamespace, i as OfferId, j as OfferOptionId, k as AssetId, P as Participation, l as CoinListTokenSaleNamespaceImpl, m as OndoNamespace, n as OfferSwapContract, o as OndoBuyTransaction, p as OndoSellTransaction, q as OndoSwapTransactionCore, r as OrderBookSide, s as OndoNamespaceImpl, S as SuperstateSwapNamespace, t as WalletsNamespace, u as Bps, v as EvmWalletAddress, w as SuperstateSwapNamespaceImpl, R as RequirementsNamespace, x as Requirement, y as RequirementsNamespaceImpl, z as Config, D as OAuthAccessToken, F as OffersNamespace, T as TokensNamespace, G as StablecoinSymbol, H as Erc20Asset, I as OfferDetail, J as TokenMetadata, K as CentrifugeVaultOfferDetail, M as OfferType, N as OndoSwapOfferDetail, Q as CoinListTokenSaleOfferDetail, V as SuperstateSwapOfferDetail, X as CentrifugeVaultLegId, Y as Seconds, Z as AsyncOfferType, _ as AsyncOfferDetail, $ as Offer, a0 as RequirementStatusInfo, a1 as RequirementType, a2 as RequirementStatusValue, a3 as OfferOptionAddress, a4 as RequirementId, a5 as KycLevelName, a6 as DocumentSubmission, a7 as WalletChallengeType, a8 as PinoLoggerOptions, a9 as AssetDecimals, aa as BuildCentrifugeVaultBuyParams, ab as CentrifugeOrderReason, ac as CentrifugeOrderability, ad as OndoTradingStatus, ae as BuildOndoBuyParams, af as BuildOndoSellParams, ag as OndoQuote, ah as OndoQuoteSize, ai as TokenIdentifier, aj as CentrifugeVaultLeg, ak as OfferOptionAddressId, al as CentrifugeVaultStatus, am as TokenLogo } from '../time-CVZpAkGY.js';
|
|
4
|
+
export { an as DebugEvent, ao as FrontlineEventId, ap as HttpError, aq as HttpResponse, ar as KycToken, as as LogBinding, at as LogBindings, au as LogCause, av as LogLevel, aw as LogScope, ax as LogValue, ay as ProductionLogLevel, az as RedactedWalletError, aA as RequestId, aB as RpcFailureReason, aC as SafeEvent, aD as SafeFields, aE as UnredactedFields } from '../time-CVZpAkGY.js';
|
|
5
|
+
import { P as PKCEConfig, E as EvmWallet, S as SwapQuote, A as AssetIconUrl, F as FormattedAmountAssetUi, a as ShortenedWalletAddress, b as FormattedPercentUi, T as TxExplorerUrl, W as WalletSelection, c as WalletLabelResolver, C as ConnectWallet, N as NonEmptyArray, d as TokenRegistrySnapshot } from '../token-registry-snapshot-BkwA8KmD.js';
|
|
6
|
+
export { B as BroadcastTxParams, e as EvmSigner, f as ExternalWalletAdapter, g as WriteContractParams } from '../token-registry-snapshot-BkwA8KmD.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';
|
|
@@ -217,10 +217,9 @@ type PrepareCentrifugeBuyParams = {
|
|
|
217
217
|
* request.
|
|
218
218
|
*
|
|
219
219
|
* The review step runs this when the user places the request, not when they
|
|
220
|
-
* confirm the amount.
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
* the proxy cannot pull.
|
|
220
|
+
* confirm the amount. Approving on the amount step would make them sign
|
|
221
|
+
* again if they edit the amount. The allowance still has to land before the
|
|
222
|
+
* build: frontline refuses calldata the proxy cannot pull.
|
|
224
223
|
*
|
|
225
224
|
* Total: every failure is returned step-tagged rather than thrown.
|
|
226
225
|
*/
|
|
@@ -1067,15 +1066,12 @@ interface CoinListClient {
|
|
|
1067
1066
|
*/
|
|
1068
1067
|
readonly ondo: ClientOndoNamespace;
|
|
1069
1068
|
/**
|
|
1070
|
-
* Centrifuge vault deposits and claims:
|
|
1071
|
-
*
|
|
1072
|
-
*
|
|
1073
|
-
* `coinlist.centrifuge.getQuote({ ... })`.
|
|
1069
|
+
* Centrifuge vault deposits and claims: the vault-wide ordering gate, each
|
|
1070
|
+
* wallet's position, the two halves of placing a request, and the claim
|
|
1071
|
+
* that settles a filled one.
|
|
1074
1072
|
*
|
|
1075
|
-
* The reads are free to poll.
|
|
1076
|
-
*
|
|
1077
|
-
* commitment the API does not make. `prepareBuy` and `placeRequest` are
|
|
1078
|
-
* not polled. Broadcasting places a request. It does not buy shares.
|
|
1073
|
+
* The reads are free to poll. `prepareBuy` and `placeRequest` are not.
|
|
1074
|
+
* Broadcasting places a request. It does not buy shares.
|
|
1079
1075
|
*/
|
|
1080
1076
|
readonly centrifuge: ClientCentrifugeNamespace;
|
|
1081
1077
|
/**
|
|
@@ -1254,15 +1250,12 @@ declare function CoinListSignInCardView({ state, onEvent, className, }: CoinList
|
|
|
1254
1250
|
* both are re-exported from the client barrel.
|
|
1255
1251
|
*
|
|
1256
1252
|
* Success means the request was placed. The fund fulfils it later, at a price
|
|
1257
|
-
* set then.
|
|
1258
|
-
* quantity the wallet received.
|
|
1253
|
+
* set then.
|
|
1259
1254
|
*/
|
|
1260
1255
|
type CentrifugeOrderPlaced = {
|
|
1261
1256
|
wallet: EvmWallet;
|
|
1262
1257
|
/** What the request deposits, in the funding token's base units. */
|
|
1263
1258
|
amount: BlockchainAmount;
|
|
1264
|
-
/** The indicative price when the request was placed, if one was in hand. */
|
|
1265
|
-
indicativePrice: DecimalString | null;
|
|
1266
1259
|
transaction: CentrifugeVaultBuyTransaction;
|
|
1267
1260
|
txHash: Hash;
|
|
1268
1261
|
};
|
|
@@ -2092,8 +2085,7 @@ declare function CheckoutContainer({ offer, chain, wallets, config, enabled, cla
|
|
|
2092
2085
|
* Step 2 of the Centrifuge checkout: how much of the funding token to deposit.
|
|
2093
2086
|
*
|
|
2094
2087
|
* Nothing here touches the chain. Confirming checks the amount in memory and
|
|
2095
|
-
* hands it up. The review step approves and places the request together
|
|
2096
|
-
* because a Centrifuge quote does not expire.
|
|
2088
|
+
* hands it up. The review step approves and places the request together.
|
|
2097
2089
|
*/
|
|
2098
2090
|
type CentrifugeBuyAmountUiState = {
|
|
2099
2091
|
type: 'incomplete';
|
|
@@ -2174,27 +2166,18 @@ interface CentrifugeBuyCheckoutContainerProps {
|
|
|
2174
2166
|
declare function CentrifugeBuyCheckoutContainer({ offer, symbol, chain, wallets, enabled, onOrderPlaced, underlyingFund, apy, className, }: CentrifugeBuyCheckoutContainerProps): ReactNode;
|
|
2175
2167
|
|
|
2176
2168
|
/**
|
|
2177
|
-
* Step 3 of the Centrifuge checkout: the
|
|
2169
|
+
* Step 3 of the Centrifuge checkout: confirming the deposit and placing it.
|
|
2178
2170
|
*
|
|
2179
|
-
*
|
|
2171
|
+
* Placing the request does not buy shares. The fund prices the fill later.
|
|
2180
2172
|
*/
|
|
2181
2173
|
type CentrifugeBuyReviewUiState = {
|
|
2182
2174
|
type: 'incomplete';
|
|
2183
|
-
} | {
|
|
2184
|
-
type: 'loading';
|
|
2185
|
-
} | {
|
|
2186
|
-
type: 'error';
|
|
2187
2175
|
} | {
|
|
2188
2176
|
type: 'active';
|
|
2189
2177
|
/** The funding token, shown beside the amount being deposited. */
|
|
2190
2178
|
inputAsset: CheckoutAssetUi;
|
|
2191
2179
|
/** What the request deposits, e.g. `100.00 USDC`. */
|
|
2192
2180
|
investAmount: FormattedAmountAssetUi;
|
|
2193
|
-
/**
|
|
2194
|
-
* Shares at the price read now, e.g. `0.095238 deJTRSY`. The view
|
|
2195
|
-
* marks it approximate: the fund prices the deposit later.
|
|
2196
|
-
*/
|
|
2197
|
-
approximateAmount: FormattedAmountAssetUi;
|
|
2198
2181
|
/** Where the shares land — the wallet confirmed in step 1. */
|
|
2199
2182
|
recipientAddress: ShortenedWalletAddress;
|
|
2200
2183
|
/**
|
|
@@ -2204,19 +2187,10 @@ type CentrifugeBuyReviewUiState = {
|
|
|
2204
2187
|
coinlistFee: FormattedAmountAssetUi;
|
|
2205
2188
|
/** What the user pays. Equal to {@link investAmount}: no fee comes off. */
|
|
2206
2189
|
total: FormattedAmountAssetUi;
|
|
2207
|
-
/**
|
|
2208
|
-
* A newer estimate is on the way. The one on screen stays, and the
|
|
2209
|
-
* request can still be placed: this quote does not expire.
|
|
2210
|
-
*/
|
|
2211
|
-
isRefreshing: boolean;
|
|
2212
2190
|
placeRequestCta: CheckoutCtaUi;
|
|
2213
2191
|
error: string | null;
|
|
2214
2192
|
};
|
|
2215
2193
|
type CentrifugeBuyReviewUiEvent = {
|
|
2216
|
-
type: 'ON_REFRESH_ESTIMATE';
|
|
2217
|
-
} | {
|
|
2218
|
-
type: 'ON_RETRY';
|
|
2219
|
-
} | {
|
|
2220
2194
|
type: 'ON_PLACE_REQUEST';
|
|
2221
2195
|
};
|
|
2222
2196
|
|
|
@@ -2254,9 +2228,9 @@ declare const CentrifugeCheckoutErrorReason: {
|
|
|
2254
2228
|
/**
|
|
2255
2229
|
* The asset panel beside the Centrifuge checkout.
|
|
2256
2230
|
*
|
|
2257
|
-
* Read-only. The identity
|
|
2258
|
-
*
|
|
2259
|
-
*
|
|
2231
|
+
* Read-only. The identity and the minimum come from the offer. Yield and
|
|
2232
|
+
* the fund the token tracks are `null` until frontline publishes them, and
|
|
2233
|
+
* a `null` hides its row.
|
|
2260
2234
|
*/
|
|
2261
2235
|
type CentrifugeSidebarUiState = {
|
|
2262
2236
|
asset: CheckoutAssetUi;
|
|
@@ -2285,11 +2259,10 @@ type CentrifugeSidebarUiState = {
|
|
|
2285
2259
|
apy: FormattedPercentUi | null;
|
|
2286
2260
|
};
|
|
2287
2261
|
/**
|
|
2288
|
-
* The minimum deposit, from the
|
|
2262
|
+
* The minimum deposit, from the offer.
|
|
2289
2263
|
*
|
|
2290
|
-
*
|
|
2291
|
-
*
|
|
2292
|
-
* is dropped rather than dashed.
|
|
2264
|
+
* A vault that sets no minimum is `none`: the row is dropped rather than
|
|
2265
|
+
* dashed. `loading` stays for a caller that has not resolved the offer yet.
|
|
2293
2266
|
*/
|
|
2294
2267
|
type CentrifugeSidebarMinimumUi = {
|
|
2295
2268
|
type: 'loading';
|
|
@@ -2369,9 +2342,7 @@ type CentrifugeOrderPlacedUiState = {
|
|
|
2369
2342
|
} | {
|
|
2370
2343
|
type: 'visible';
|
|
2371
2344
|
outputAsset: CheckoutAssetUi;
|
|
2372
|
-
outputAmount: FormattedAmountAssetUi;
|
|
2373
2345
|
totalCost: FormattedAmountAssetUi;
|
|
2374
|
-
pricePerShare: FormattedAmountAssetUi;
|
|
2375
2346
|
recipientAddress: ShortenedWalletAddress;
|
|
2376
2347
|
txExplorerUrl: TxExplorerUrl;
|
|
2377
2348
|
};
|
|
@@ -5447,13 +5418,8 @@ type CentrifugeBuyAmountStepInput = {
|
|
|
5447
5418
|
* and failed statuses leave this null: they do not block a deposit.
|
|
5448
5419
|
*/
|
|
5449
5420
|
depositBlockedMessage: string | null;
|
|
5450
|
-
/**
|
|
5451
|
-
|
|
5452
|
-
* quote has not named one.
|
|
5453
|
-
*/
|
|
5454
|
-
minimumInputAmount: BlockchainAmount | null;
|
|
5455
|
-
/** True until the indicative quote has answered, so the minimum is known. */
|
|
5456
|
-
awaitingMinimum: boolean;
|
|
5421
|
+
/** The offer's minimum, in dollars. `null` when the offer sets none. */
|
|
5422
|
+
minimumPurchaseUsd: number | null;
|
|
5457
5423
|
} | {
|
|
5458
5424
|
type: 'complete';
|
|
5459
5425
|
wallet: EvmWallet;
|
|
@@ -5546,89 +5512,10 @@ interface UseCentrifugeBuyTransactionResult {
|
|
|
5546
5512
|
* Holds the deposit request the review step places, and rebuilds it when
|
|
5547
5513
|
* asked.
|
|
5548
5514
|
*
|
|
5549
|
-
* **Never polls.** A request is built once, when the user confirms an amount
|
|
5550
|
-
* or asks to refresh. The indicative quote is the thing that polls, and that
|
|
5551
|
-
* is a different hook.
|
|
5515
|
+
* **Never polls.** A request is built once, when the user confirms an amount.
|
|
5552
5516
|
*/
|
|
5553
5517
|
declare function useCentrifugeBuyTransaction(options: UseCentrifugeBuyTransactionOptions): UseCentrifugeBuyTransactionResult;
|
|
5554
5518
|
|
|
5555
|
-
/**
|
|
5556
|
-
* The state of the indicative-quote poll.
|
|
5557
|
-
*
|
|
5558
|
-
* - `LOADING`: no quote yet (initial, or the provider is still initializing).
|
|
5559
|
-
* - `ERROR`: no quote could be fetched at all.
|
|
5560
|
-
* - `CONTENT`: a quote is in hand; `isRefreshing` says whether a newer one
|
|
5561
|
-
* is on the way.
|
|
5562
|
-
*
|
|
5563
|
-
* A poll that fails with a quote already in hand stays `CONTENT`: the last
|
|
5564
|
-
* quote is worth more to a user than a blank panel, and the next tick retries
|
|
5565
|
-
* within seconds. `ERROR` therefore means "never got one".
|
|
5566
|
-
*
|
|
5567
|
-
* There is no expiry on this quote. It is indicative, the fund prices
|
|
5568
|
-
* fulfilment later, and a countdown would imply a commitment the API does
|
|
5569
|
-
* not make. Freshness is the poll interval, not a TTL.
|
|
5570
|
-
*/
|
|
5571
|
-
type LoadCentrifugeQuoteState = {
|
|
5572
|
-
type: 'LOADING';
|
|
5573
|
-
} | {
|
|
5574
|
-
type: 'ERROR';
|
|
5575
|
-
reason: CentrifugeLoadErrorReason;
|
|
5576
|
-
} | {
|
|
5577
|
-
type: 'CONTENT';
|
|
5578
|
-
quote: CentrifugeVaultQuote;
|
|
5579
|
-
isRefreshing: boolean;
|
|
5580
|
-
};
|
|
5581
|
-
interface UseCentrifugeQuoteOptions {
|
|
5582
|
-
/** Share token symbol of the vault, e.g. `deJTRSY`. */
|
|
5583
|
-
symbol: AssetSymbol;
|
|
5584
|
-
chain: EthereumChain;
|
|
5585
|
-
/** The spend to price, in the funding token's base units. */
|
|
5586
|
-
amount: BlockchainAmount;
|
|
5587
|
-
/** How often to refresh. Defaults to {@link CENTRIFUGE_POLL_INTERVAL_MS}. */
|
|
5588
|
-
pollIntervalMs?: number;
|
|
5589
|
-
/**
|
|
5590
|
-
* A quote the caller already holds, typically fetched server-side, used as
|
|
5591
|
-
* the state the hook opens on so a server-rendered panel needs no loading
|
|
5592
|
-
* pass.
|
|
5593
|
-
*
|
|
5594
|
-
* It seeds the first render only: the poll still fetches immediately. A
|
|
5595
|
-
* quote is worth as much as it is fresh, and the amount being priced
|
|
5596
|
-
* changes as the flow advances, so a seed that suppressed the first read
|
|
5597
|
-
* would be offering the server's answer - or another amount's - as this
|
|
5598
|
-
* one's.
|
|
5599
|
-
*/
|
|
5600
|
-
data?: CentrifugeVaultQuote;
|
|
5601
|
-
/** When false, the hook neither fetches nor polls. */
|
|
5602
|
-
enabled: boolean;
|
|
5603
|
-
/**
|
|
5604
|
-
* Bump to fetch immediately, ahead of the poll. The review step uses this
|
|
5605
|
-
* for Try again.
|
|
5606
|
-
*/
|
|
5607
|
-
reloadKey?: number;
|
|
5608
|
-
}
|
|
5609
|
-
interface UseCentrifugeQuoteResult {
|
|
5610
|
-
state: LoadCentrifugeQuoteState;
|
|
5611
|
-
}
|
|
5612
|
-
/**
|
|
5613
|
-
* Polls Centrifuge's indicative quote for `amount` of `symbol` on `chain`.
|
|
5614
|
-
*
|
|
5615
|
-
* Free to poll: this quote spends no attestation and commits nothing, which
|
|
5616
|
-
* is why it may run while the user is still deciding. It also cannot be
|
|
5617
|
-
* executed - committing a request is `coinlist.centrifuge.buildBuyTransaction`,
|
|
5618
|
-
* which is not this hook.
|
|
5619
|
-
*
|
|
5620
|
-
* Disabled (or before the provider is ready) it neither fetches nor holds a
|
|
5621
|
-
* timer, and stays on whatever state it opened with - `LOADING`, or the
|
|
5622
|
-
* `data` seed - rather than reporting an error.
|
|
5623
|
-
*
|
|
5624
|
-
* A `data` quote opens the state instead of `LOADING` and is otherwise left
|
|
5625
|
-
* to the poll: the first tick fires as it always does, and only replaces the
|
|
5626
|
-
* seed once it has a quote of its own. Until it does the state is `CONTENT`
|
|
5627
|
-
* with `isRefreshing` set, which is what that flag is for.
|
|
5628
|
-
*/
|
|
5629
|
-
declare function useCentrifugeQuote(options: UseCentrifugeQuoteOptions): UseCentrifugeQuoteResult;
|
|
5630
|
-
|
|
5631
|
-
declare const SETTLES_LATER = "Settles later, at the price the fund sets then.";
|
|
5632
5519
|
type CentrifugeBuyReviewStepInput = {
|
|
5633
5520
|
type: 'incomplete';
|
|
5634
5521
|
} | {
|
|
@@ -5646,22 +5533,7 @@ interface UseCentrifugeBuyReviewViewModelOptions {
|
|
|
5646
5533
|
/** The offer's vault proxies. The spender the approval is written to. */
|
|
5647
5534
|
vaultContracts: OfferVaultContract[];
|
|
5648
5535
|
/**
|
|
5649
|
-
*
|
|
5650
|
-
* confirmed amount off it, and does not build a transaction to get one.
|
|
5651
|
-
*/
|
|
5652
|
-
quoteState: LoadCentrifugeQuoteState;
|
|
5653
|
-
/** Asks the quote poll to fetch now. Try again on a failed estimate. */
|
|
5654
|
-
onRefreshQuote: () => void;
|
|
5655
|
-
/**
|
|
5656
|
-
* The indicative price from the quote poll, or `null` when that poll has
|
|
5657
|
-
* not answered. Optional: the review card does not show it, so a caller
|
|
5658
|
-
* that is not opening the placed dialog can skip it. A skipped price is
|
|
5659
|
-
* absent on the dialog.
|
|
5660
|
-
*/
|
|
5661
|
-
indicativePrice?: DecimalString | null;
|
|
5662
|
-
/**
|
|
5663
|
-
* When false, refreshing the estimate and placing the request do nothing.
|
|
5664
|
-
* Defaults to true.
|
|
5536
|
+
* When false, placing the request does nothing. Defaults to true.
|
|
5665
5537
|
*
|
|
5666
5538
|
* The step being `incomplete` is not the same thing: a checkout switched
|
|
5667
5539
|
* off mid-flow leaves this step `active`, with the amount still here.
|
|
@@ -5674,14 +5546,14 @@ interface UseCentrifugeBuyReviewViewModelResult {
|
|
|
5674
5546
|
onEvent: (event: CentrifugeBuyReviewUiEvent) => void;
|
|
5675
5547
|
}
|
|
5676
5548
|
/**
|
|
5677
|
-
* Drives step 3: the
|
|
5549
|
+
* Drives step 3: confirming the deposit and placing the request.
|
|
5678
5550
|
*
|
|
5679
|
-
*
|
|
5680
|
-
*
|
|
5681
|
-
*
|
|
5682
|
-
*
|
|
5551
|
+
* Placing approves the vault proxy when the allowance is short, builds the
|
|
5552
|
+
* request, and broadcasts it. None of that runs on the amount step, so a
|
|
5553
|
+
* user who edits the amount has not already signed an approval for the old
|
|
5554
|
+
* one.
|
|
5683
5555
|
*/
|
|
5684
|
-
declare function useCentrifugeBuyReviewViewModel({ stepInput, symbol, chain, vaultContracts,
|
|
5556
|
+
declare function useCentrifugeBuyReviewViewModel({ stepInput, symbol, chain, vaultContracts, enabled, onComplete, }: UseCentrifugeBuyReviewViewModelOptions): UseCentrifugeBuyReviewViewModelResult;
|
|
5685
5557
|
|
|
5686
5558
|
type CentrifugeBuyStep = {
|
|
5687
5559
|
type: 'wallet';
|
|
@@ -5722,8 +5594,8 @@ interface UseCentrifugeBuyCheckoutViewModelResult {
|
|
|
5722
5594
|
* Drives the Centrifuge buy checkout.
|
|
5723
5595
|
*
|
|
5724
5596
|
* The container mounts this hook only. It composes the wallet, amount,
|
|
5725
|
-
* review, and sidebar steps. The
|
|
5726
|
-
*
|
|
5597
|
+
* review, and sidebar steps. The status poll lives here. The amount step
|
|
5598
|
+
* only validates.
|
|
5727
5599
|
*
|
|
5728
5600
|
* A vault that is known to be blocked replaces the checkout only at the
|
|
5729
5601
|
* wallet step. A status that is still loading, or that failed, does not.
|
|
@@ -5737,8 +5609,8 @@ declare function useCentrifugeBuyCheckoutViewModel({ offer, symbol, chain, walle
|
|
|
5737
5609
|
* until it has a sentence. The View (or a viewmodel mapping into one) should
|
|
5738
5610
|
* render this rather than the wire token.
|
|
5739
5611
|
*
|
|
5740
|
-
* Status never returns `below_minimum
|
|
5741
|
-
*
|
|
5612
|
+
* Status never returns `below_minimum`. The copy stays so the closed set
|
|
5613
|
+
* still has a sentence for every reason.
|
|
5742
5614
|
*/
|
|
5743
5615
|
declare const CENTRIFUGE_VAULT_ORDER_REASON_MESSAGES: Record<CentrifugeOrderReason, string>;
|
|
5744
5616
|
declare function centrifugeVaultOrderReasonMessage(reason: CentrifugeOrderReason): string;
|
|
@@ -5748,8 +5620,7 @@ declare function centrifugeVaultOrderReasonMessage(reason: CentrifugeOrderReason
|
|
|
5748
5620
|
declare function primaryCentrifugeVaultOrderReason<T extends CentrifugeOrderReason>(reasons: readonly T[]): T | null;
|
|
5749
5621
|
/**
|
|
5750
5622
|
* The sentence to show for an {@link CentrifugeOrderability}, or `null` when
|
|
5751
|
-
* the request can proceed.
|
|
5752
|
-
* narrower one.
|
|
5623
|
+
* the request can proceed.
|
|
5753
5624
|
*/
|
|
5754
5625
|
declare function centrifugeVaultOrderingMessage<R extends CentrifugeOrderReason>(orderability: CentrifugeOrderability<R>): string | null;
|
|
5755
5626
|
|
|
@@ -5758,7 +5629,6 @@ interface UseCentrifugeSidebarViewModelOptions {
|
|
|
5758
5629
|
symbol: AssetSymbol;
|
|
5759
5630
|
chain: EthereumChain;
|
|
5760
5631
|
tokenMetadata: TokenMetadata | null;
|
|
5761
|
-
quoteState: LoadCentrifugeQuoteState;
|
|
5762
5632
|
/**
|
|
5763
5633
|
* The fund the token tracks. Frontline does not send this yet, so callers
|
|
5764
5634
|
* pass `null` and the row stays hidden.
|
|
@@ -5776,13 +5646,10 @@ interface UseCentrifugeSidebarViewModelResult {
|
|
|
5776
5646
|
/**
|
|
5777
5647
|
* Drives the asset panel beside the Centrifuge checkout.
|
|
5778
5648
|
*
|
|
5779
|
-
* The
|
|
5780
|
-
*
|
|
5781
|
-
* different spend. Only the minimum is read off it. Yield and the underlying
|
|
5782
|
-
* fund are arguments: frontline does not publish either yet, so callers pass
|
|
5783
|
-
* `null`.
|
|
5649
|
+
* The minimum is the offer's. Yield and the underlying fund are arguments:
|
|
5650
|
+
* frontline does not publish either yet, so callers pass `null`.
|
|
5784
5651
|
*/
|
|
5785
|
-
declare function useCentrifugeSidebarViewModel({ offer, symbol, chain, tokenMetadata,
|
|
5652
|
+
declare function useCentrifugeSidebarViewModel({ offer, symbol, chain, tokenMetadata, underlyingFund, apy, }: UseCentrifugeSidebarViewModelOptions): UseCentrifugeSidebarViewModelResult;
|
|
5786
5653
|
|
|
5787
5654
|
/**
|
|
5788
5655
|
* Whether step 1 is being filled in or already answered.
|
|
@@ -8325,4 +8192,4 @@ declare function useCountdown({ until, tickMs, enabled, }: UseCountdownOptions):
|
|
|
8325
8192
|
*/
|
|
8326
8193
|
declare function usePageVisible(): boolean;
|
|
8327
8194
|
|
|
8328
|
-
export { type AuthState, type AuthorizeWalletParams, type BuyCentrifugeParams, CENTRIFUGE_VAULT_ORDER_REASON_MESSAGES, type CentrifugeBuyAmountConfirmed, type CentrifugeBuyAmountStepInput, type CentrifugeBuyAmountUiEvent, type CentrifugeBuyAmountUiState, type CentrifugeBuyAmountValidation, CentrifugeBuyAmountView, type CentrifugeBuyAmountViewProps, CentrifugeBuyCheckoutContainer, type CentrifugeBuyCheckoutContainerProps, type CentrifugeBuyCheckoutUiEvent, type CentrifugeBuyCheckoutUiState, CentrifugeBuyCheckoutView, type CentrifugeBuyCheckoutViewProps, type CentrifugeBuyError, CentrifugeBuyOrderPlaced, type CentrifugeBuyOrderPlacedProps, type CentrifugeBuyPhase, type CentrifugeBuyPlacementError, type CentrifugeBuyPlacementPhase, type CentrifugeBuyPlacementResult, type CentrifugeBuyPreparationError, type CentrifugeBuyPreparationPhase, type CentrifugeBuyPreparationResult, type CentrifugeBuyResult, type CentrifugeBuyReviewStepInput, type CentrifugeBuyReviewUiEvent, type CentrifugeBuyReviewUiState, CentrifugeBuyReviewView, type CentrifugeBuyReviewViewProps, type CentrifugeBuyStep, CentrifugeCheckoutError, type CentrifugeCheckoutErrorProps, CentrifugeCheckoutErrorReason, type CentrifugeClaimActionUi, type CentrifugeClaimBlockedReasonUi, type CentrifugeClaimDialogUi, type CentrifugeClaimError, type CentrifugeClaimFailureUi, type CentrifugeClaimParams, type CentrifugeClaimPhase, type CentrifugeClaimProgressUi, type CentrifugeClaimResult, type CentrifugeClaimRowUi, type CentrifugeClaimState, type CentrifugeClaimStepUi, type CentrifugeLoadErrorReason, type CentrifugeOrderPlaced, type CentrifugeOrderPlacedUiEvent, type CentrifugeOrderPlacedUiState, type CentrifugePositionVault, type CentrifugeSidebarMinimumUi, type CentrifugeSidebarUiState, CentrifugeSidebarView, type CentrifugeSidebarViewProps, type CentrifugeStatusVault, type CentrifugeVaultCheckoutConfig, type CentrifugeVaultClaimConfig, CentrifugeVaultClaimContainer, type CentrifugeVaultClaimContainerProps, CentrifugeVaultClaimDialog, type CentrifugeVaultClaimDialogProps, CentrifugeVaultClaimRow, type CentrifugeVaultClaimRowProps, type CentrifugeVaultClaimUiEvent, type CentrifugeVaultClaimUiState, CentrifugeVaultClaimView, type CentrifugeVaultClaimViewProps, type CentrifugeVaultClaimed, type CentrifugeWalletSelectStepInput, type CentrifugeWalletSelectUiEvent, type CentrifugeWalletSelectUiState, CentrifugeWalletSelectView, type CentrifugeWalletSelectViewProps, 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 ClaimCentrifugeVaultParams, type ClaimConfig, ClaimContainer, type ClaimContainerProps, type ClaimExternalWalletUi, type ClientAuthConfig, type ClientAuthNamespace, ClientAuthNamespaceImpl, type ClientAuthSession, type ClientCentrifugeNamespace, ClientCentrifugeNamespaceImpl, 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, type ExternalWalletRequestUi, IdentityVerificationContainer, type IdentityVerificationContainerProps, type IdentityVerificationUiEvent, type IdentityVerificationUiState, IdentityVerificationView, type IdentityVerificationViewProps, KycLevelName, type KycTokenErrorReason, type KycTokenState, type LoadCentrifugeBuyTransactionState, type LoadCentrifugeQuoteState, type LoadCentrifugeVaultPositionsState, 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 PlaceCentrifugeRequestParams, type PrepareCentrifugeBuyParams, 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, SETTLES_LATER, 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 UseCentrifugeBuyAmountViewModelOptions, type UseCentrifugeBuyAmountViewModelResult, type UseCentrifugeBuyCheckoutViewModelOptions, type UseCentrifugeBuyCheckoutViewModelResult, type UseCentrifugeBuyReviewViewModelOptions, type UseCentrifugeBuyReviewViewModelResult, type UseCentrifugeBuyTransactionOptions, type UseCentrifugeBuyTransactionResult, type UseCentrifugeClaimResult, type UseCentrifugeQuoteOptions, type UseCentrifugeQuoteResult, type UseCentrifugeSidebarViewModelOptions, type UseCentrifugeSidebarViewModelResult, type UseCentrifugeVaultClaimViewModelOptions, type UseCentrifugeVaultClaimViewModelResult, type UseCentrifugeVaultPositionsOptions, type UseCentrifugeVaultPositionsResult, type UseCentrifugeVaultStatusOptions, type UseCentrifugeVaultStatusResult, type UseCentrifugeVaultStatusesOptions, type UseCentrifugeVaultStatusesResult, type UseCentrifugeWalletSelectViewModelOptions, type UseCentrifugeWalletSelectViewModelResult, 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, WalletLabelResolver, WalletSelection, type WalletsStatus, authorizeWallet, buyCentrifuge, centrifugeLoadErrorReason, centrifugeVaultOrderReasonMessage, centrifugeVaultOrderingMessage, claimCentrifugeVault, classifyWalletError, connectExternalWalletFlow, createCoinListClient, defaultCheckoutConfig, ensureErc20Allowance, executeOndoSwap, executeSwap, executeTokenSale, formatCountdown, formatMonthYear, formatSaleCardCountdown, isNotTradable, offerAssetIconUrl, offerIconUrl, offerTokenIdentifier, ondoLoadErrorReason, pinoClientLogger, placeCentrifugeRequest, prepareCentrifugeBuy, prepareOndoBuy, prepareOndoSell, primaryCentrifugeVaultOrderReason, quoteIsStale, quoteOverAsks, stablecoinIconUrl, submitErc20Approval, toInputAssetUi, tokenLogoSrcSet, tokenLogoUrl, tokenMetadataOf, useCentrifugeBuyAmountViewModel, useCentrifugeBuyCheckoutViewModel, useCentrifugeBuyReviewViewModel, useCentrifugeBuyTransaction, useCentrifugeClaim, useCentrifugeQuote, useCentrifugeSidebarViewModel, useCentrifugeVaultClaimViewModel, useCentrifugeVaultPositions, useCentrifugeVaultStatus, useCentrifugeVaultStatuses, useCentrifugeWalletSelectViewModel, 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, usePageVisible, useParticipations, useRequirements, useRequirementsChecklistViewModel, useSuperstateAmountViewModel, useSuperstateReviewViewModel, useSuperstateSidebarViewModel, useSuperstateSwapCheckoutViewModel, useSuperstateWalletViewModel, useSwapOutputToken, useSwapQuote, useTaxDocument, useTaxDocumentModalViewModel, useTokenMetadata, useTokenRegistry, validateAmount, validateCentrifugeBuyAmount, validateSellAmount, validateSuperstateAmount };
|
|
8195
|
+
export { type AuthState, type AuthorizeWalletParams, type BuyCentrifugeParams, CENTRIFUGE_VAULT_ORDER_REASON_MESSAGES, type CentrifugeBuyAmountConfirmed, type CentrifugeBuyAmountStepInput, type CentrifugeBuyAmountUiEvent, type CentrifugeBuyAmountUiState, type CentrifugeBuyAmountValidation, CentrifugeBuyAmountView, type CentrifugeBuyAmountViewProps, CentrifugeBuyCheckoutContainer, type CentrifugeBuyCheckoutContainerProps, type CentrifugeBuyCheckoutUiEvent, type CentrifugeBuyCheckoutUiState, CentrifugeBuyCheckoutView, type CentrifugeBuyCheckoutViewProps, type CentrifugeBuyError, CentrifugeBuyOrderPlaced, type CentrifugeBuyOrderPlacedProps, type CentrifugeBuyPhase, type CentrifugeBuyPlacementError, type CentrifugeBuyPlacementPhase, type CentrifugeBuyPlacementResult, type CentrifugeBuyPreparationError, type CentrifugeBuyPreparationPhase, type CentrifugeBuyPreparationResult, type CentrifugeBuyResult, type CentrifugeBuyReviewStepInput, type CentrifugeBuyReviewUiEvent, type CentrifugeBuyReviewUiState, CentrifugeBuyReviewView, type CentrifugeBuyReviewViewProps, type CentrifugeBuyStep, CentrifugeCheckoutError, type CentrifugeCheckoutErrorProps, CentrifugeCheckoutErrorReason, type CentrifugeClaimActionUi, type CentrifugeClaimBlockedReasonUi, type CentrifugeClaimDialogUi, type CentrifugeClaimError, type CentrifugeClaimFailureUi, type CentrifugeClaimParams, type CentrifugeClaimPhase, type CentrifugeClaimProgressUi, type CentrifugeClaimResult, type CentrifugeClaimRowUi, type CentrifugeClaimState, type CentrifugeClaimStepUi, type CentrifugeLoadErrorReason, type CentrifugeOrderPlaced, type CentrifugeOrderPlacedUiEvent, type CentrifugeOrderPlacedUiState, type CentrifugePositionVault, type CentrifugeSidebarMinimumUi, type CentrifugeSidebarUiState, CentrifugeSidebarView, type CentrifugeSidebarViewProps, type CentrifugeStatusVault, type CentrifugeVaultCheckoutConfig, type CentrifugeVaultClaimConfig, CentrifugeVaultClaimContainer, type CentrifugeVaultClaimContainerProps, CentrifugeVaultClaimDialog, type CentrifugeVaultClaimDialogProps, CentrifugeVaultClaimRow, type CentrifugeVaultClaimRowProps, type CentrifugeVaultClaimUiEvent, type CentrifugeVaultClaimUiState, CentrifugeVaultClaimView, type CentrifugeVaultClaimViewProps, type CentrifugeVaultClaimed, type CentrifugeWalletSelectStepInput, type CentrifugeWalletSelectUiEvent, type CentrifugeWalletSelectUiState, CentrifugeWalletSelectView, type CentrifugeWalletSelectViewProps, 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 ClaimCentrifugeVaultParams, type ClaimConfig, ClaimContainer, type ClaimContainerProps, type ClaimExternalWalletUi, type ClientAuthConfig, type ClientAuthNamespace, ClientAuthNamespaceImpl, type ClientAuthSession, type ClientCentrifugeNamespace, ClientCentrifugeNamespaceImpl, 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, type ExternalWalletRequestUi, IdentityVerificationContainer, type IdentityVerificationContainerProps, type IdentityVerificationUiEvent, type IdentityVerificationUiState, IdentityVerificationView, type IdentityVerificationViewProps, KycLevelName, type KycTokenErrorReason, type KycTokenState, type LoadCentrifugeBuyTransactionState, type LoadCentrifugeVaultPositionsState, 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 PlaceCentrifugeRequestParams, type PrepareCentrifugeBuyParams, 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 UseCentrifugeBuyAmountViewModelOptions, type UseCentrifugeBuyAmountViewModelResult, type UseCentrifugeBuyCheckoutViewModelOptions, type UseCentrifugeBuyCheckoutViewModelResult, type UseCentrifugeBuyReviewViewModelOptions, type UseCentrifugeBuyReviewViewModelResult, type UseCentrifugeBuyTransactionOptions, type UseCentrifugeBuyTransactionResult, type UseCentrifugeClaimResult, type UseCentrifugeSidebarViewModelOptions, type UseCentrifugeSidebarViewModelResult, type UseCentrifugeVaultClaimViewModelOptions, type UseCentrifugeVaultClaimViewModelResult, type UseCentrifugeVaultPositionsOptions, type UseCentrifugeVaultPositionsResult, type UseCentrifugeVaultStatusOptions, type UseCentrifugeVaultStatusResult, type UseCentrifugeVaultStatusesOptions, type UseCentrifugeVaultStatusesResult, type UseCentrifugeWalletSelectViewModelOptions, type UseCentrifugeWalletSelectViewModelResult, 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, WalletLabelResolver, WalletSelection, type WalletsStatus, authorizeWallet, buyCentrifuge, centrifugeLoadErrorReason, centrifugeVaultOrderReasonMessage, centrifugeVaultOrderingMessage, claimCentrifugeVault, classifyWalletError, connectExternalWalletFlow, createCoinListClient, defaultCheckoutConfig, ensureErc20Allowance, executeOndoSwap, executeSwap, executeTokenSale, formatCountdown, formatMonthYear, formatSaleCardCountdown, isNotTradable, offerAssetIconUrl, offerIconUrl, offerTokenIdentifier, ondoLoadErrorReason, pinoClientLogger, placeCentrifugeRequest, prepareCentrifugeBuy, prepareOndoBuy, prepareOndoSell, primaryCentrifugeVaultOrderReason, quoteIsStale, quoteOverAsks, stablecoinIconUrl, submitErc20Approval, toInputAssetUi, tokenLogoSrcSet, tokenLogoUrl, tokenMetadataOf, useCentrifugeBuyAmountViewModel, useCentrifugeBuyCheckoutViewModel, useCentrifugeBuyReviewViewModel, useCentrifugeBuyTransaction, useCentrifugeClaim, useCentrifugeSidebarViewModel, useCentrifugeVaultClaimViewModel, useCentrifugeVaultPositions, useCentrifugeVaultStatus, useCentrifugeVaultStatuses, useCentrifugeWalletSelectViewModel, 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, usePageVisible, useParticipations, useRequirements, useRequirementsChecklistViewModel, useSuperstateAmountViewModel, useSuperstateReviewViewModel, useSuperstateSidebarViewModel, useSuperstateSwapCheckoutViewModel, useSuperstateWalletViewModel, useSwapOutputToken, useSwapQuote, useTaxDocument, useTaxDocumentModalViewModel, useTokenMetadata, useTokenRegistry, validateAmount, validateCentrifugeBuyAmount, validateSellAmount, validateSuperstateAmount };
|