@glacislabs/stablegenie-zerodelta 3.4.0 → 4.1.0

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.
@@ -1,5 +1,5 @@
1
- import { T as Token, Q as Quote, N as NormalizedOrder, i as PayOption, c as RouteResult, a as Chain, R as Route, C as Catalogue, F as FetchQuoteFn, j as SolveResult, O as OrderRequest, k as BalanceTarget, l as BalanceEntry, m as ApiClient, P as Plan, n as SwapInput, o as PlannedTx, p as Verifier, b as ExchangeProduct, d as TxHistoryEntry, S as SanitizedTxEntry, E as EngineConfig } from '../verify-34voZYj1.cjs';
2
- export { q as Address, r as ApiError, A as Availability, B as BrokenLane, s as CatalogueContext, t as CatalogueInput, D as Destination, H as Hex, u as PlannedTxKind, v as QuoteBlock, w as ResolvedConfig, x as RouteHealth, y as RouteHealthLane, z as TxPlan, V as VerifyResult, G as apiError, e as assetClassOf, I as brokenLaneFor, f as brokenLaneReason, J as buildCatalogue, K as canAttachApiKey, L as classifyQuoteError, g as counterpartTokens, M as createApiClient, U as createVerifier, h as destinationAvailability, W as destinationKeys, X as executableRoutes, Y as executionChainIds, Z as hasReachableDestination, _ as hubDeliverableSymbols, $ as isExecutableBridge, a0 as isKnownUnbridgeable, a1 as isSourceToken, a2 as laneKey, a3 as laneKeys, a4 as parseAllowedApiBase, a5 as productAssets, a6 as registryRpc, a7 as resolveApiBase, a8 as resolveConfig, a9 as sourceKeys, aa as suppressedLanes, ab as tokenKey, ac as txMatchesPlan } from '../verify-34voZYj1.cjs';
1
+ import { T as Token, Q as Quote, N as NormalizedOrder, r as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, s as RwaVault, F as FetchQuoteFn, t as SolveResult, O as OrderRequest, C as Compliance, u as BalanceTarget, v as BalanceEntry, w as ApiClient, P as Plan, x as SwapInput, y as PlannedTx, z as Verifier, f as ExchangeProduct, i as TxHistoryEntry, S as SanitizedTxEntry, E as EngineConfig } from '../verify-Ce6ZtDhi.cjs';
2
+ export { D as Address, G as ApiError, A as Availability, H as BLOCK_LABEL_DEFAULT, B as BrokenLane, I as COMPLIANCE_CHECK_ORDER, J as COMPLIANCE_DENY_LABEL, K as CatalogueContext, L as CatalogueInput, c as ComplianceCheck, M as ComplianceCheckId, U as ComplianceDecision, d as ComplianceTone, e as ComplianceView, X as DIRECT_CHECK_IDS, Y as DIRECT_SCOPE_NOTE, Z as Destination, _ as FLOOR_CATEGORIES, $ as Hex, a0 as PlannedTxKind, a1 as QuoteBlock, a2 as ResolvedConfig, a3 as RouteHealth, a4 as RouteHealthLane, g as RouteLeg, a5 as SCREENING_BUCKETS, a6 as ScreenProvider, a7 as ScreeningBucket, a8 as ScreeningOutcome, a9 as TUNABLE_CATEGORIES, aa as TxPlan, V as VerifyResult, W as WalletScreen, ab as apiError, j as assetClassOf, ac as blockLabelFor, ad as brokenLaneFor, k as brokenLaneReason, ae as buildCatalogue, af as canAttachApiKey, ag as categoryLabel, ah as classifyQuoteError, l as complianceChecks, ai as complianceControlsEvaluated, m as complianceControlsLine, aj as complianceReasonHead, ak as complianceReasonTag, al as complianceTagOf, n as complianceView, o as counterpartTokens, am as createApiClient, an as createVerifier, p as destinationAvailability, ao as destinationKeys, ap as directComplianceFromScreens, aq as distinctScreenedWallets, ar as executableRoutes, as as executionChainIds, at as hasReachableDestination, au as hubDeliverableSymbols, q as humanizeComplianceReason, av as isExecutableBridge, aw as isKnownUnbridgeable, ax as isSourceToken, ay as laneKey, az as laneKeys, aA as parseAllowedApiBase, aB as productAssets, aC as registryRpc, aD as resolveApiBase, aE as resolveConfig, aF as screeningOutcomeOf, aG as sourceKeys, aH as suppressedLanes, aI as tokenKey, aJ as txMatchesPlan, aK as unattributedComplianceReasons } from '../verify-Ce6ZtDhi.cjs';
3
3
 
4
4
  /** Default request base for the widget: the same-origin keyless custody proxy (server injects the
5
5
  * ZeroDelta key). A host may override to `/api/v1` + an apiKey for the demo-first fallback path. */
@@ -11,6 +11,15 @@ declare const TRADEABLE_RWA_ASSETS: ReadonlySet<string>;
11
11
  /** Everything the engine may price. The catalogue narrows this per product; see availability.ts. */
12
12
  declare const SUPPORTED_ASSETS: ReadonlySet<string>;
13
13
  declare const API_CACHE_TTL_MS = 60000;
14
+ /**
15
+ * How long one wallet's KYW verdict is held.
16
+ *
17
+ * Longer than the resource cache on purpose: a screening verdict is a property of the ADDRESS, not
18
+ * of the current market, so re-asking every minute buys nothing and every miss costs a provider
19
+ * bill plus an audit row upstream (see api.ts `screenWallet`). Five minutes matches the dApp's own
20
+ * `staleTime` for the same call, so the two products re-screen on the same cadence.
21
+ */
22
+ declare const SCREEN_CACHE_TTL_MS: number;
14
23
  declare const MAX_QUOTE_CANDIDATES = 8;
15
24
  declare const QUOTE_BUFFER_BPS = 50;
16
25
  declare const LZ_FEE_BUFFER_BPS = 1500n;
@@ -226,6 +235,24 @@ interface BuildPayOptionsArgs {
226
235
  */
227
236
  declare function buildPayOptions({ invoiceAsset, invoiceChainId, tokens, routes, chains, walletChainId, catalogue }: BuildPayOptionsArgs): PayOption[];
228
237
 
238
+ /**
239
+ * Turn the gateway's root-relative icon path into one the WIDGET can load.
240
+ *
241
+ * The dapp can use `/api/v1/rwa/icons/x.png` verbatim because it is served from the gateway's own
242
+ * origin. The widget is embedded in someone else's page, so the same string would resolve against
243
+ * the HOST and 404 — it has to go through the widget's `apiBase` (the keyless proxy), which relays
244
+ * the bytes same-origin. Returns undefined for anything that is not the gateway's icon route, so an
245
+ * `iconUrl` repointed at a third party by a hostile response never reaches an `<img>`.
246
+ */
247
+ declare function resolveVaultIcon(apiBase: string, iconPath: unknown): string | undefined;
248
+ /** Symbol key → widget-loadable icon URL. The MINI mark wins: it is the round badge the pickers want,
249
+ * and the full-size one is a card image. */
250
+ declare function vaultIconsBySymbol(apiBase: string, vaults: readonly RwaVault[]): Map<string, string>;
251
+ /** Fill in `logoUrl` on the deployments that have none. Registry artwork always wins — deJAAA and
252
+ * deSPXA already ship one — and a token whose vault publishes nothing is returned untouched, so it
253
+ * falls through to the letters disc exactly as before. */
254
+ declare function withVaultArtwork(tokens: readonly Token[], icons: ReadonlyMap<string, string>): Token[];
255
+
229
256
  interface SolveArgs {
230
257
  option: PayOption;
231
258
  destination: {
@@ -281,12 +308,23 @@ interface BuildRouteArgs {
281
308
  };
282
309
  destinationToken: Token;
283
310
  chains: Chain[];
311
+ /** The registry, used ONLY to name the intermediate hop of a chained order. Omit and a two-leg
312
+ * route still reports both legs — the middle asset simply goes unnamed. */
313
+ tokens?: Token[];
284
314
  payer: string;
285
315
  fetchQuote: FetchQuoteFn;
286
316
  solve?: typeof solveExactOut;
287
317
  amountInRaw?: string | bigint;
318
+ /**
319
+ * The compliance verdict for a DIRECT route, synthesized from standalone wallet screens.
320
+ *
321
+ * Only ever set on the direct path: a routed quote carries the gateway's own decision on the
322
+ * response. Absent here means the route has no verdict to show, which the panel states as
323
+ * "no decision returned" rather than rendering as passed.
324
+ */
325
+ compliance?: Compliance;
288
326
  }
289
- declare function buildRoute({ option, destination, destinationToken, chains, payer, fetchQuote, solve, amountInRaw }: BuildRouteArgs): Promise<RouteResult>;
327
+ declare function buildRoute({ option, destination, destinationToken, chains, tokens, payer, fetchQuote, solve, amountInRaw, compliance, }: BuildRouteArgs): Promise<RouteResult>;
290
328
 
291
329
  interface PayRequest {
292
330
  address: string;
@@ -484,4 +522,4 @@ interface Engine {
484
522
  /** Create an engine bound to a config. The 60s resource cache is per-engine. */
485
523
  declare function createEngine(config?: EngineConfig): Engine;
486
524
 
487
- export { API_CACHE_TTL_MS, ApiClient, type AssertQuoteArgs, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BalanceEntry, type BalanceReader, BalanceTarget, type BuildPayOptionsArgs, type BuildRouteArgs, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, Catalogue, Chain, DEFAULT_WIDGET_API_BASE, type DecodedOrderRequest, type DecodedSubmitOrder, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, type Engine, EngineConfig, ExchangeProduct, FetchQuoteFn, LZ_FEE_BUFFER_BPS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, type NativeFeeCheck, NormalizedOrder, OrderRequest, PREVIEW_OWNER, PayOption, type PayRequest, type PaymentWalletContext, Plan, PlannedTx, QUOTE_BUFFER_BPS, Quote, Route, RouteResult, SAME_CLASS_STABLE, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SanitizedTxEntry, type SolveArgs, SolveResult, SwapInput, type SwapPreview, TRADEABLE_RWA_ASSETS, Token, TxHistoryEntry, type ValidatedSwap, Verifier, ZERO_ADDRESS, addressWord, allowanceCovers, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetDecimals, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, createEngine, decodeSubmitOrderCalldata, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, isAddress, isDeliverable, isHexAddress, isHexData, isHexQuantity, isLayerZeroRoute, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseUnitsDecimal, planErrorSummary, planMsgValueHex, quoteSwapPreview, requiresNativeBridgeFee, resolveSwapReceiver, routeNativeValue, scaleDecimals, solveExactIn, solveExactOut, stableGenieIntentSchema, strip0x, symbolKey, toHexQuantity, tokenEnabled, uint64Word, uintWord, validateDestination, validatePlannedTransaction, validateSwap };
525
+ export { API_CACHE_TTL_MS, ApiClient, type AssertQuoteArgs, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BalanceEntry, type BalanceReader, BalanceTarget, type BuildPayOptionsArgs, type BuildRouteArgs, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, Catalogue, Chain, Compliance, DEFAULT_WIDGET_API_BASE, type DecodedOrderRequest, type DecodedSubmitOrder, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, type Engine, EngineConfig, ExchangeProduct, FetchQuoteFn, LZ_FEE_BUFFER_BPS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, type NativeFeeCheck, NormalizedOrder, OrderRequest, PREVIEW_OWNER, PayOption, type PayRequest, type PaymentWalletContext, Plan, PlannedTx, QUOTE_BUFFER_BPS, Quote, Route, RouteResult, RwaVault, SAME_CLASS_STABLE, SCREEN_CACHE_TTL_MS, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SanitizedTxEntry, type SolveArgs, SolveResult, SwapInput, type SwapPreview, TRADEABLE_RWA_ASSETS, Token, TxHistoryEntry, type ValidatedSwap, Verifier, ZERO_ADDRESS, addressWord, allowanceCovers, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetDecimals, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, createEngine, decodeSubmitOrderCalldata, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, isAddress, isDeliverable, isHexAddress, isHexData, isHexQuantity, isLayerZeroRoute, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseUnitsDecimal, planErrorSummary, planMsgValueHex, quoteSwapPreview, requiresNativeBridgeFee, resolveSwapReceiver, resolveVaultIcon, routeNativeValue, scaleDecimals, solveExactIn, solveExactOut, stableGenieIntentSchema, strip0x, symbolKey, toHexQuantity, tokenEnabled, uint64Word, uintWord, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, withVaultArtwork };
@@ -1,5 +1,5 @@
1
- import { T as Token, Q as Quote, N as NormalizedOrder, i as PayOption, c as RouteResult, a as Chain, R as Route, C as Catalogue, F as FetchQuoteFn, j as SolveResult, O as OrderRequest, k as BalanceTarget, l as BalanceEntry, m as ApiClient, P as Plan, n as SwapInput, o as PlannedTx, p as Verifier, b as ExchangeProduct, d as TxHistoryEntry, S as SanitizedTxEntry, E as EngineConfig } from '../verify-34voZYj1.js';
2
- export { q as Address, r as ApiError, A as Availability, B as BrokenLane, s as CatalogueContext, t as CatalogueInput, D as Destination, H as Hex, u as PlannedTxKind, v as QuoteBlock, w as ResolvedConfig, x as RouteHealth, y as RouteHealthLane, z as TxPlan, V as VerifyResult, G as apiError, e as assetClassOf, I as brokenLaneFor, f as brokenLaneReason, J as buildCatalogue, K as canAttachApiKey, L as classifyQuoteError, g as counterpartTokens, M as createApiClient, U as createVerifier, h as destinationAvailability, W as destinationKeys, X as executableRoutes, Y as executionChainIds, Z as hasReachableDestination, _ as hubDeliverableSymbols, $ as isExecutableBridge, a0 as isKnownUnbridgeable, a1 as isSourceToken, a2 as laneKey, a3 as laneKeys, a4 as parseAllowedApiBase, a5 as productAssets, a6 as registryRpc, a7 as resolveApiBase, a8 as resolveConfig, a9 as sourceKeys, aa as suppressedLanes, ab as tokenKey, ac as txMatchesPlan } from '../verify-34voZYj1.js';
1
+ import { T as Token, Q as Quote, N as NormalizedOrder, r as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, s as RwaVault, F as FetchQuoteFn, t as SolveResult, O as OrderRequest, C as Compliance, u as BalanceTarget, v as BalanceEntry, w as ApiClient, P as Plan, x as SwapInput, y as PlannedTx, z as Verifier, f as ExchangeProduct, i as TxHistoryEntry, S as SanitizedTxEntry, E as EngineConfig } from '../verify-Ce6ZtDhi.js';
2
+ export { D as Address, G as ApiError, A as Availability, H as BLOCK_LABEL_DEFAULT, B as BrokenLane, I as COMPLIANCE_CHECK_ORDER, J as COMPLIANCE_DENY_LABEL, K as CatalogueContext, L as CatalogueInput, c as ComplianceCheck, M as ComplianceCheckId, U as ComplianceDecision, d as ComplianceTone, e as ComplianceView, X as DIRECT_CHECK_IDS, Y as DIRECT_SCOPE_NOTE, Z as Destination, _ as FLOOR_CATEGORIES, $ as Hex, a0 as PlannedTxKind, a1 as QuoteBlock, a2 as ResolvedConfig, a3 as RouteHealth, a4 as RouteHealthLane, g as RouteLeg, a5 as SCREENING_BUCKETS, a6 as ScreenProvider, a7 as ScreeningBucket, a8 as ScreeningOutcome, a9 as TUNABLE_CATEGORIES, aa as TxPlan, V as VerifyResult, W as WalletScreen, ab as apiError, j as assetClassOf, ac as blockLabelFor, ad as brokenLaneFor, k as brokenLaneReason, ae as buildCatalogue, af as canAttachApiKey, ag as categoryLabel, ah as classifyQuoteError, l as complianceChecks, ai as complianceControlsEvaluated, m as complianceControlsLine, aj as complianceReasonHead, ak as complianceReasonTag, al as complianceTagOf, n as complianceView, o as counterpartTokens, am as createApiClient, an as createVerifier, p as destinationAvailability, ao as destinationKeys, ap as directComplianceFromScreens, aq as distinctScreenedWallets, ar as executableRoutes, as as executionChainIds, at as hasReachableDestination, au as hubDeliverableSymbols, q as humanizeComplianceReason, av as isExecutableBridge, aw as isKnownUnbridgeable, ax as isSourceToken, ay as laneKey, az as laneKeys, aA as parseAllowedApiBase, aB as productAssets, aC as registryRpc, aD as resolveApiBase, aE as resolveConfig, aF as screeningOutcomeOf, aG as sourceKeys, aH as suppressedLanes, aI as tokenKey, aJ as txMatchesPlan, aK as unattributedComplianceReasons } from '../verify-Ce6ZtDhi.js';
3
3
 
4
4
  /** Default request base for the widget: the same-origin keyless custody proxy (server injects the
5
5
  * ZeroDelta key). A host may override to `/api/v1` + an apiKey for the demo-first fallback path. */
@@ -11,6 +11,15 @@ declare const TRADEABLE_RWA_ASSETS: ReadonlySet<string>;
11
11
  /** Everything the engine may price. The catalogue narrows this per product; see availability.ts. */
12
12
  declare const SUPPORTED_ASSETS: ReadonlySet<string>;
13
13
  declare const API_CACHE_TTL_MS = 60000;
14
+ /**
15
+ * How long one wallet's KYW verdict is held.
16
+ *
17
+ * Longer than the resource cache on purpose: a screening verdict is a property of the ADDRESS, not
18
+ * of the current market, so re-asking every minute buys nothing and every miss costs a provider
19
+ * bill plus an audit row upstream (see api.ts `screenWallet`). Five minutes matches the dApp's own
20
+ * `staleTime` for the same call, so the two products re-screen on the same cadence.
21
+ */
22
+ declare const SCREEN_CACHE_TTL_MS: number;
14
23
  declare const MAX_QUOTE_CANDIDATES = 8;
15
24
  declare const QUOTE_BUFFER_BPS = 50;
16
25
  declare const LZ_FEE_BUFFER_BPS = 1500n;
@@ -226,6 +235,24 @@ interface BuildPayOptionsArgs {
226
235
  */
227
236
  declare function buildPayOptions({ invoiceAsset, invoiceChainId, tokens, routes, chains, walletChainId, catalogue }: BuildPayOptionsArgs): PayOption[];
228
237
 
238
+ /**
239
+ * Turn the gateway's root-relative icon path into one the WIDGET can load.
240
+ *
241
+ * The dapp can use `/api/v1/rwa/icons/x.png` verbatim because it is served from the gateway's own
242
+ * origin. The widget is embedded in someone else's page, so the same string would resolve against
243
+ * the HOST and 404 — it has to go through the widget's `apiBase` (the keyless proxy), which relays
244
+ * the bytes same-origin. Returns undefined for anything that is not the gateway's icon route, so an
245
+ * `iconUrl` repointed at a third party by a hostile response never reaches an `<img>`.
246
+ */
247
+ declare function resolveVaultIcon(apiBase: string, iconPath: unknown): string | undefined;
248
+ /** Symbol key → widget-loadable icon URL. The MINI mark wins: it is the round badge the pickers want,
249
+ * and the full-size one is a card image. */
250
+ declare function vaultIconsBySymbol(apiBase: string, vaults: readonly RwaVault[]): Map<string, string>;
251
+ /** Fill in `logoUrl` on the deployments that have none. Registry artwork always wins — deJAAA and
252
+ * deSPXA already ship one — and a token whose vault publishes nothing is returned untouched, so it
253
+ * falls through to the letters disc exactly as before. */
254
+ declare function withVaultArtwork(tokens: readonly Token[], icons: ReadonlyMap<string, string>): Token[];
255
+
229
256
  interface SolveArgs {
230
257
  option: PayOption;
231
258
  destination: {
@@ -281,12 +308,23 @@ interface BuildRouteArgs {
281
308
  };
282
309
  destinationToken: Token;
283
310
  chains: Chain[];
311
+ /** The registry, used ONLY to name the intermediate hop of a chained order. Omit and a two-leg
312
+ * route still reports both legs — the middle asset simply goes unnamed. */
313
+ tokens?: Token[];
284
314
  payer: string;
285
315
  fetchQuote: FetchQuoteFn;
286
316
  solve?: typeof solveExactOut;
287
317
  amountInRaw?: string | bigint;
318
+ /**
319
+ * The compliance verdict for a DIRECT route, synthesized from standalone wallet screens.
320
+ *
321
+ * Only ever set on the direct path: a routed quote carries the gateway's own decision on the
322
+ * response. Absent here means the route has no verdict to show, which the panel states as
323
+ * "no decision returned" rather than rendering as passed.
324
+ */
325
+ compliance?: Compliance;
288
326
  }
289
- declare function buildRoute({ option, destination, destinationToken, chains, payer, fetchQuote, solve, amountInRaw }: BuildRouteArgs): Promise<RouteResult>;
327
+ declare function buildRoute({ option, destination, destinationToken, chains, tokens, payer, fetchQuote, solve, amountInRaw, compliance, }: BuildRouteArgs): Promise<RouteResult>;
290
328
 
291
329
  interface PayRequest {
292
330
  address: string;
@@ -484,4 +522,4 @@ interface Engine {
484
522
  /** Create an engine bound to a config. The 60s resource cache is per-engine. */
485
523
  declare function createEngine(config?: EngineConfig): Engine;
486
524
 
487
- export { API_CACHE_TTL_MS, ApiClient, type AssertQuoteArgs, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BalanceEntry, type BalanceReader, BalanceTarget, type BuildPayOptionsArgs, type BuildRouteArgs, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, Catalogue, Chain, DEFAULT_WIDGET_API_BASE, type DecodedOrderRequest, type DecodedSubmitOrder, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, type Engine, EngineConfig, ExchangeProduct, FetchQuoteFn, LZ_FEE_BUFFER_BPS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, type NativeFeeCheck, NormalizedOrder, OrderRequest, PREVIEW_OWNER, PayOption, type PayRequest, type PaymentWalletContext, Plan, PlannedTx, QUOTE_BUFFER_BPS, Quote, Route, RouteResult, SAME_CLASS_STABLE, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SanitizedTxEntry, type SolveArgs, SolveResult, SwapInput, type SwapPreview, TRADEABLE_RWA_ASSETS, Token, TxHistoryEntry, type ValidatedSwap, Verifier, ZERO_ADDRESS, addressWord, allowanceCovers, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetDecimals, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, createEngine, decodeSubmitOrderCalldata, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, isAddress, isDeliverable, isHexAddress, isHexData, isHexQuantity, isLayerZeroRoute, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseUnitsDecimal, planErrorSummary, planMsgValueHex, quoteSwapPreview, requiresNativeBridgeFee, resolveSwapReceiver, routeNativeValue, scaleDecimals, solveExactIn, solveExactOut, stableGenieIntentSchema, strip0x, symbolKey, toHexQuantity, tokenEnabled, uint64Word, uintWord, validateDestination, validatePlannedTransaction, validateSwap };
525
+ export { API_CACHE_TTL_MS, ApiClient, type AssertQuoteArgs, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BalanceEntry, type BalanceReader, BalanceTarget, type BuildPayOptionsArgs, type BuildRouteArgs, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, Catalogue, Chain, Compliance, DEFAULT_WIDGET_API_BASE, type DecodedOrderRequest, type DecodedSubmitOrder, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, type Engine, EngineConfig, ExchangeProduct, FetchQuoteFn, LZ_FEE_BUFFER_BPS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, type NativeFeeCheck, NormalizedOrder, OrderRequest, PREVIEW_OWNER, PayOption, type PayRequest, type PaymentWalletContext, Plan, PlannedTx, QUOTE_BUFFER_BPS, Quote, Route, RouteResult, RwaVault, SAME_CLASS_STABLE, SCREEN_CACHE_TTL_MS, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SanitizedTxEntry, type SolveArgs, SolveResult, SwapInput, type SwapPreview, TRADEABLE_RWA_ASSETS, Token, TxHistoryEntry, type ValidatedSwap, Verifier, ZERO_ADDRESS, addressWord, allowanceCovers, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetDecimals, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, createEngine, decodeSubmitOrderCalldata, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, isAddress, isDeliverable, isHexAddress, isHexData, isHexQuantity, isLayerZeroRoute, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseUnitsDecimal, planErrorSummary, planMsgValueHex, quoteSwapPreview, requiresNativeBridgeFee, resolveSwapReceiver, resolveVaultIcon, routeNativeValue, scaleDecimals, solveExactIn, solveExactOut, stableGenieIntentSchema, strip0x, symbolKey, toHexQuantity, tokenEnabled, uint64Word, uintWord, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, withVaultArtwork };
@@ -1 +1 @@
1
- export { API_CACHE_TTL_MS, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, DEFAULT_WIDGET_API_BASE, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, LZ_FEE_BUFFER_BPS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, PREVIEW_OWNER, QUOTE_BUFFER_BPS, SAME_CLASS_STABLE, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, TRADEABLE_RWA_ASSETS, ZERO_ADDRESS, addressWord, allowanceCovers, apiError, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetClassOf, assetDecimals, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, canAttachApiKey, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, classifyQuoteError, counterpartTokens, createApiClient, createEngine, createVerifier, decodeSubmitOrderCalldata, destinationAvailability, destinationKeys, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, executableRoutes, executionChainIds, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, hasReachableDestination, hubDeliverableSymbols, isAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isSourceToken, laneKey, laneKeys, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseAllowedApiBase, parseUnitsDecimal, planErrorSummary, planMsgValueHex, productAssets, quoteSwapPreview, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSwapReceiver, routeNativeValue, scaleDecimals, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, toHexQuantity, tokenEnabled, tokenKey, txMatchesPlan, uint64Word, uintWord, validateDestination, validatePlannedTransaction, validateSwap } from '../chunk-TYQF2L5C.js';
1
+ export { API_CACHE_TTL_MS, BLOCK_LABEL_DEFAULT, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CHAIN_DISPLAY_NAMES, COMPLIANCE_CHECK_ORDER, COMPLIANCE_DENY_LABEL, DEFAULT_WIDGET_API_BASE, DIRECT_CHECK_IDS, DIRECT_SCOPE_NOTE, ERC20_ALLOWANCE_SELECTOR, ERC20_APPROVE_SELECTOR, ERC20_BALANCEOF_SELECTOR, ERC20_TRANSFER_SELECTOR, EXECUTABLE_STABLE_ASSETS, FLOOR_CATEGORIES, LZ_FEE_BUFFER_BPS, MAX_LZ_MSG_VALUE_WEI, MAX_LZ_MSG_VALUE_WEI_BY_CHAIN, MAX_QUOTE_CANDIDATES, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, PREVIEW_OWNER, QUOTE_BUFFER_BPS, SAME_CLASS_STABLE, SCREENING_BUCKETS, SCREEN_CACHE_TTL_MS, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, TRADEABLE_RWA_ASSETS, TUNABLE_CATEGORIES, ZERO_ADDRESS, addressWord, allowanceCovers, apiError, applyLayerZeroBuffer, assertAddress, assertQuoteMatchesSelection, assetClassOf, assetDecimals, blockLabelFor, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSwapPlan, bytes32Word, bytesPayload, canAttachApiKey, categoryLabel, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, classifyQuoteError, complianceChecks, complianceControlsEvaluated, complianceControlsLine, complianceReasonHead, complianceReasonTag, complianceTagOf, complianceView, counterpartTokens, createApiClient, createEngine, createVerifier, decodeSubmitOrderCalldata, destinationAvailability, destinationKeys, directComplianceFromScreens, distinctScreenedWallets, encodeAllowance, encodeApprove, encodeBalanceOf, encodeSubmitOrder, encodeTransfer, executableRoutes, executionChainIds, fetchPaymentPlan, finalOf, findToken, formatNative, formatUnits, hasReachableDestination, hubDeliverableSymbols, humanizeComplianceReason, isAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isSourceToken, laneKey, laneKeys, maxNativeFeeWei, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeOrderRequest, normalizeOrderRequests, parseAllowedApiBase, parseUnitsDecimal, planErrorSummary, planMsgValueHex, productAssets, quoteSwapPreview, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSwapReceiver, resolveVaultIcon, routeNativeValue, scaleDecimals, screeningOutcomeOf, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, toHexQuantity, tokenEnabled, tokenKey, txMatchesPlan, uint64Word, uintWord, unattributedComplianceReasons, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, withVaultArtwork } from '../chunk-YEYFEQWS.js';