@glacislabs/stablegenie-zerodelta 4.19.0 → 4.20.1
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-NS444RZM.js → chunk-4WBNXYOV.js} +1013 -36
- package/dist/{chunk-NLXQVXZ5.js → chunk-RUHREVDT.js} +29 -9
- package/dist/core/index.cjs +29 -9
- package/dist/core/index.d.cts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +1 -1
- package/dist/index.cjs +1109 -46
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/{mount-BsoZvwCl.d.cts → mount-D2tDkHea.d.cts} +1 -1
- package/dist/{mount-A24qHOI0.d.ts → mount-DuTF5CQV.d.ts} +1 -1
- package/dist/mount.cjs +1109 -46
- package/dist/mount.d.cts +2 -2
- package/dist/mount.d.ts +2 -2
- package/dist/mount.js +2 -2
- package/dist/standalone.global.js +221 -9
- package/dist/{verify-BzTQQMc8.d.cts → verify-UqDjAVxa.d.cts} +14 -10
- package/dist/{verify-BzTQQMc8.d.ts → verify-UqDjAVxa.d.ts} +14 -10
- package/package.json +1 -1
|
@@ -2760,6 +2760,7 @@ function resultForOption(result, option, mode, destinationChainId) {
|
|
|
2760
2760
|
var DEFAULT_DEADLINE_SECONDS = 1800;
|
|
2761
2761
|
var MAX_DEADLINE_SECONDS = 60 * 60;
|
|
2762
2762
|
var ABSOLUTE_MAX_DEADLINE_SECONDS = 24 * 60 * 60;
|
|
2763
|
+
var DEADLINE_CLOCK_SKEW_SECONDS = 120;
|
|
2763
2764
|
function recommendedDeadlineSeconds(quote) {
|
|
2764
2765
|
const recommended = Number(quote?.recommendedDeadlineSeconds);
|
|
2765
2766
|
if (!Number.isFinite(recommended) || recommended <= 0) return DEFAULT_DEADLINE_SECONDS;
|
|
@@ -2855,7 +2856,7 @@ function assertQuoteMatchesSelection({ quote, order, orders, option, destination
|
|
|
2855
2856
|
throw new Error("ZeroDelta order guarantees less than the displayed receive amount.");
|
|
2856
2857
|
}
|
|
2857
2858
|
const maxDeadline = maxDeadlineSeconds(quote);
|
|
2858
|
-
if (!Number.isFinite(deadline) || deadline <= now || deadline > now + maxDeadline) {
|
|
2859
|
+
if (!Number.isFinite(deadline) || deadline <= now || deadline > now + maxDeadline + DEADLINE_CLOCK_SKEW_SECONDS) {
|
|
2859
2860
|
throw new Error("ZeroDelta quote deadline is invalid or too far in the future.");
|
|
2860
2861
|
}
|
|
2861
2862
|
for (let index = 1; index < list.length; index += 1) {
|
|
@@ -3683,15 +3684,18 @@ function pickForWait(options, waitSec) {
|
|
|
3683
3684
|
}
|
|
3684
3685
|
var MAX_QUOTE_CARDS = 3;
|
|
3685
3686
|
function visibleOptions(options, waitSec, selectedId) {
|
|
3686
|
-
if (options.length <= MAX_QUOTE_CARDS) return
|
|
3687
|
+
if (options.length <= MAX_QUOTE_CARDS) return nettingFirst(options);
|
|
3687
3688
|
const selectable = selectableOptions(options);
|
|
3688
|
-
if (selectable.length === 0) return options.slice(0, MAX_QUOTE_CARDS);
|
|
3689
|
+
if (selectable.length === 0) return nettingFirst(options.slice(0, MAX_QUOTE_CARDS));
|
|
3689
3690
|
const chosen = selectable.find((o) => o.id === selectedId) ?? pickForWait(options, waitSec);
|
|
3690
3691
|
const gasless = bestOutputOption(selectable.filter((o) => o.gasSponsored));
|
|
3691
3692
|
const netting = bestOutputOption(selectable.filter((o) => o.entersNetting));
|
|
3692
3693
|
const ids = new Set([chosen?.id, fastestOption(options)?.id, gasless?.id, netting?.id].filter((id) => !!id));
|
|
3693
3694
|
const keep = new Set([...ids].slice(0, MAX_QUOTE_CARDS));
|
|
3694
|
-
return options.filter((o) => keep.has(o.id));
|
|
3695
|
+
return nettingFirst(options.filter((o) => keep.has(o.id)));
|
|
3696
|
+
}
|
|
3697
|
+
function nettingFirst(options) {
|
|
3698
|
+
return [...options.filter((o) => o.entersNetting), ...options.filter((o) => !o.entersNetting)];
|
|
3695
3699
|
}
|
|
3696
3700
|
function compareDuration(seconds) {
|
|
3697
3701
|
if (!Number.isFinite(seconds) || seconds <= 0) return "--";
|
|
@@ -3752,10 +3756,10 @@ function routeShapeLabel(option) {
|
|
|
3752
3756
|
function cornerTags(options, option, parityState) {
|
|
3753
3757
|
if (option.unavailable) return [];
|
|
3754
3758
|
if (option.kind === "transfer") return [{ text: "Transfer", tone: "brand" }];
|
|
3759
|
+
if (option.entersNetting) return [{ text: "Best return", tone: "green" }];
|
|
3755
3760
|
const tags = [];
|
|
3756
3761
|
const labelledFastest = selectableOptions(options).some((o) => o.label?.toLowerCase() === "fastest");
|
|
3757
3762
|
if (parityState.kind === "at" && parityState.option.id === option.id) tags.push({ text: "Target 1:1", tone: "brand" });
|
|
3758
|
-
else if (option.entersNetting) tags.push({ text: "Potential best return", tone: "brand" });
|
|
3759
3763
|
else if (option.label?.toLowerCase() === "fastest") tags.push({ text: "Fastest", tone: "brand" });
|
|
3760
3764
|
else if (option.gasSponsored) tags.push({ text: "Gasless", tone: "purple" });
|
|
3761
3765
|
else {
|
|
@@ -3763,7 +3767,6 @@ function cornerTags(options, option, parityState) {
|
|
|
3763
3767
|
const text = badge === "Fastest" && labelledFastest ? void 0 : badge ?? routeShapeLabel(option) ?? void 0;
|
|
3764
3768
|
if (text) tags.push({ text, tone: "brand" });
|
|
3765
3769
|
}
|
|
3766
|
-
if (option.entersNetting) tags.push({ text: "Netting", tone: "green" });
|
|
3767
3770
|
return tags;
|
|
3768
3771
|
}
|
|
3769
3772
|
function humanAmount(n, maxFrac = 6) {
|
|
@@ -4367,7 +4370,7 @@ var CHANNEL_HEADER = "x-zd-channel";
|
|
|
4367
4370
|
var CHANNEL_VERSION_HEADER = "x-zd-channel-version";
|
|
4368
4371
|
var CHANNEL_ORIGIN_HEADER = "x-zd-channel-origin";
|
|
4369
4372
|
var WIDGET_CHANNEL = "widget";
|
|
4370
|
-
var WIDGET_VERSION = "4.
|
|
4373
|
+
var WIDGET_VERSION = "4.20.1" ;
|
|
4371
4374
|
var MAX_CHANNEL_VERSION_LEN = 32;
|
|
4372
4375
|
function sanitizeVersion(raw2) {
|
|
4373
4376
|
const v = String(raw2).trim();
|
|
@@ -4404,6 +4407,20 @@ function isReportableSubmission(report) {
|
|
|
4404
4407
|
return typeof wallet === "string" && /^0x[0-9a-fA-F]{40}$/.test(wallet);
|
|
4405
4408
|
}
|
|
4406
4409
|
|
|
4410
|
+
// src/core/quote-refusals.ts
|
|
4411
|
+
var GATE_REFUSALS = /* @__PURE__ */ new Set(["ROUTE_UNHEALTHY", "ROUTE_UNMEASURED", "GATE_UNAVAILABLE"]);
|
|
4412
|
+
function quoteRefusalCopy(code) {
|
|
4413
|
+
return code && GATE_REFUSALS.has(code) ? "This route is not available right now. Try again in a moment, or pick another token or network." : void 0;
|
|
4414
|
+
}
|
|
4415
|
+
var DETERMINISTIC_REFUSALS = /* @__PURE__ */ new Set(["ROUTE_UNHEALTHY", "ROUTE_UNMEASURED", "ROUTE_BLOCKED", "PAIR_HALTED", "PROTOCOL_DISABLED"]);
|
|
4416
|
+
var TRANSIENT_REFUSALS = /* @__PURE__ */ new Set(["GATE_UNAVAILABLE", "MARKET_HALTED"]);
|
|
4417
|
+
function gateRefusalRetryable(code) {
|
|
4418
|
+
if (!code) return void 0;
|
|
4419
|
+
if (DETERMINISTIC_REFUSALS.has(code)) return false;
|
|
4420
|
+
if (TRANSIENT_REFUSALS.has(code)) return true;
|
|
4421
|
+
return void 0;
|
|
4422
|
+
}
|
|
4423
|
+
|
|
4407
4424
|
// src/core/api.ts
|
|
4408
4425
|
function apiError(message, props = {}) {
|
|
4409
4426
|
const err = new Error(message);
|
|
@@ -4467,6 +4484,8 @@ function nowFresh(entry) {
|
|
|
4467
4484
|
return !!entry && Date.now() - entry.at < API_CACHE_TTL_MS;
|
|
4468
4485
|
}
|
|
4469
4486
|
function isTransientQuoteError(error) {
|
|
4487
|
+
const gate = gateRefusalRetryable(error?.code);
|
|
4488
|
+
if (gate !== void 0) return gate;
|
|
4470
4489
|
if (error?.code === "BRIDGE_RATE_LIMITED" || Array.isArray(error?.fieldErrors) && error.fieldErrors.length > 0) return false;
|
|
4471
4490
|
return error?.code === "gateway_timeout" || error?.status === 502 || error?.status === 503 || error?.status === 504 || /failed to get swap quote|timeout|temporar/i.test(error?.message || "");
|
|
4472
4491
|
}
|
|
@@ -4537,9 +4556,10 @@ function createApiClient(cfg) {
|
|
|
4537
4556
|
}
|
|
4538
4557
|
}
|
|
4539
4558
|
if (!response.ok) {
|
|
4540
|
-
|
|
4559
|
+
const code = json?.error?.code || json?.code || (response.status >= 502 ? "gateway_timeout" : "api_error");
|
|
4560
|
+
throw apiError(quoteRefusalCopy(code) ?? apiMessage(json, `ZeroDelta request failed (${response.status}).`), {
|
|
4541
4561
|
status: response.status,
|
|
4542
|
-
code
|
|
4562
|
+
code,
|
|
4543
4563
|
fieldErrors: json?.error?.fieldErrors || json?.fieldErrors,
|
|
4544
4564
|
limits: json?.error?.limits || json?.limits,
|
|
4545
4565
|
reasons: json?.error?.reasons || json?.reasons
|
package/dist/core/index.cjs
CHANGED
|
@@ -3332,6 +3332,7 @@ function resultForOption(result, option, mode, destinationChainId) {
|
|
|
3332
3332
|
var DEFAULT_DEADLINE_SECONDS = 1800;
|
|
3333
3333
|
var MAX_DEADLINE_SECONDS = 60 * 60;
|
|
3334
3334
|
var ABSOLUTE_MAX_DEADLINE_SECONDS = 24 * 60 * 60;
|
|
3335
|
+
var DEADLINE_CLOCK_SKEW_SECONDS = 120;
|
|
3335
3336
|
function recommendedDeadlineSeconds(quote) {
|
|
3336
3337
|
const recommended = Number(quote?.recommendedDeadlineSeconds);
|
|
3337
3338
|
if (!Number.isFinite(recommended) || recommended <= 0) return DEFAULT_DEADLINE_SECONDS;
|
|
@@ -3427,7 +3428,7 @@ function assertQuoteMatchesSelection({ quote, order, orders, option, destination
|
|
|
3427
3428
|
throw new Error("ZeroDelta order guarantees less than the displayed receive amount.");
|
|
3428
3429
|
}
|
|
3429
3430
|
const maxDeadline = maxDeadlineSeconds(quote);
|
|
3430
|
-
if (!Number.isFinite(deadline) || deadline <= now || deadline > now + maxDeadline) {
|
|
3431
|
+
if (!Number.isFinite(deadline) || deadline <= now || deadline > now + maxDeadline + DEADLINE_CLOCK_SKEW_SECONDS) {
|
|
3431
3432
|
throw new Error("ZeroDelta quote deadline is invalid or too far in the future.");
|
|
3432
3433
|
}
|
|
3433
3434
|
for (let index = 1; index < list.length; index += 1) {
|
|
@@ -4244,15 +4245,18 @@ function pickForWait(options, waitSec) {
|
|
|
4244
4245
|
}
|
|
4245
4246
|
var MAX_QUOTE_CARDS = 3;
|
|
4246
4247
|
function visibleOptions(options, waitSec, selectedId) {
|
|
4247
|
-
if (options.length <= MAX_QUOTE_CARDS) return
|
|
4248
|
+
if (options.length <= MAX_QUOTE_CARDS) return nettingFirst(options);
|
|
4248
4249
|
const selectable = selectableOptions(options);
|
|
4249
|
-
if (selectable.length === 0) return options.slice(0, MAX_QUOTE_CARDS);
|
|
4250
|
+
if (selectable.length === 0) return nettingFirst(options.slice(0, MAX_QUOTE_CARDS));
|
|
4250
4251
|
const chosen = selectable.find((o) => o.id === selectedId) ?? pickForWait(options, waitSec);
|
|
4251
4252
|
const gasless = bestOutputOption(selectable.filter((o) => o.gasSponsored));
|
|
4252
4253
|
const netting = bestOutputOption(selectable.filter((o) => o.entersNetting));
|
|
4253
4254
|
const ids = new Set([chosen?.id, fastestOption(options)?.id, gasless?.id, netting?.id].filter((id) => !!id));
|
|
4254
4255
|
const keep = new Set([...ids].slice(0, MAX_QUOTE_CARDS));
|
|
4255
|
-
return options.filter((o) => keep.has(o.id));
|
|
4256
|
+
return nettingFirst(options.filter((o) => keep.has(o.id)));
|
|
4257
|
+
}
|
|
4258
|
+
function nettingFirst(options) {
|
|
4259
|
+
return [...options.filter((o) => o.entersNetting), ...options.filter((o) => !o.entersNetting)];
|
|
4256
4260
|
}
|
|
4257
4261
|
function compareDuration(seconds) {
|
|
4258
4262
|
if (!Number.isFinite(seconds) || seconds <= 0) return "--";
|
|
@@ -4313,10 +4317,10 @@ function routeShapeLabel(option) {
|
|
|
4313
4317
|
function cornerTags(options, option, parityState) {
|
|
4314
4318
|
if (option.unavailable) return [];
|
|
4315
4319
|
if (option.kind === "transfer") return [{ text: "Transfer", tone: "brand" }];
|
|
4320
|
+
if (option.entersNetting) return [{ text: "Best return", tone: "green" }];
|
|
4316
4321
|
const tags = [];
|
|
4317
4322
|
const labelledFastest = selectableOptions(options).some((o) => o.label?.toLowerCase() === "fastest");
|
|
4318
4323
|
if (parityState.kind === "at" && parityState.option.id === option.id) tags.push({ text: "Target 1:1", tone: "brand" });
|
|
4319
|
-
else if (option.entersNetting) tags.push({ text: "Potential best return", tone: "brand" });
|
|
4320
4324
|
else if (option.label?.toLowerCase() === "fastest") tags.push({ text: "Fastest", tone: "brand" });
|
|
4321
4325
|
else if (option.gasSponsored) tags.push({ text: "Gasless", tone: "purple" });
|
|
4322
4326
|
else {
|
|
@@ -4324,7 +4328,6 @@ function cornerTags(options, option, parityState) {
|
|
|
4324
4328
|
const text = badge === "Fastest" && labelledFastest ? void 0 : badge ?? routeShapeLabel(option) ?? void 0;
|
|
4325
4329
|
if (text) tags.push({ text, tone: "brand" });
|
|
4326
4330
|
}
|
|
4327
|
-
if (option.entersNetting) tags.push({ text: "Netting", tone: "green" });
|
|
4328
4331
|
return tags;
|
|
4329
4332
|
}
|
|
4330
4333
|
function humanAmount(n, maxFrac = 6) {
|
|
@@ -4928,7 +4931,7 @@ var CHANNEL_HEADER = "x-zd-channel";
|
|
|
4928
4931
|
var CHANNEL_VERSION_HEADER = "x-zd-channel-version";
|
|
4929
4932
|
var CHANNEL_ORIGIN_HEADER = "x-zd-channel-origin";
|
|
4930
4933
|
var WIDGET_CHANNEL = "widget";
|
|
4931
|
-
var WIDGET_VERSION = "4.
|
|
4934
|
+
var WIDGET_VERSION = "4.20.1" ;
|
|
4932
4935
|
var MAX_CHANNEL_VERSION_LEN = 32;
|
|
4933
4936
|
function sanitizeVersion(raw2) {
|
|
4934
4937
|
const v = String(raw2).trim();
|
|
@@ -4965,6 +4968,20 @@ function isReportableSubmission(report) {
|
|
|
4965
4968
|
return typeof wallet === "string" && /^0x[0-9a-fA-F]{40}$/.test(wallet);
|
|
4966
4969
|
}
|
|
4967
4970
|
|
|
4971
|
+
// src/core/quote-refusals.ts
|
|
4972
|
+
var GATE_REFUSALS = /* @__PURE__ */ new Set(["ROUTE_UNHEALTHY", "ROUTE_UNMEASURED", "GATE_UNAVAILABLE"]);
|
|
4973
|
+
function quoteRefusalCopy(code) {
|
|
4974
|
+
return code && GATE_REFUSALS.has(code) ? "This route is not available right now. Try again in a moment, or pick another token or network." : void 0;
|
|
4975
|
+
}
|
|
4976
|
+
var DETERMINISTIC_REFUSALS = /* @__PURE__ */ new Set(["ROUTE_UNHEALTHY", "ROUTE_UNMEASURED", "ROUTE_BLOCKED", "PAIR_HALTED", "PROTOCOL_DISABLED"]);
|
|
4977
|
+
var TRANSIENT_REFUSALS = /* @__PURE__ */ new Set(["GATE_UNAVAILABLE", "MARKET_HALTED"]);
|
|
4978
|
+
function gateRefusalRetryable(code) {
|
|
4979
|
+
if (!code) return void 0;
|
|
4980
|
+
if (DETERMINISTIC_REFUSALS.has(code)) return false;
|
|
4981
|
+
if (TRANSIENT_REFUSALS.has(code)) return true;
|
|
4982
|
+
return void 0;
|
|
4983
|
+
}
|
|
4984
|
+
|
|
4968
4985
|
// src/core/api.ts
|
|
4969
4986
|
function apiError(message, props = {}) {
|
|
4970
4987
|
const err2 = new Error(message);
|
|
@@ -5028,6 +5045,8 @@ function nowFresh(entry) {
|
|
|
5028
5045
|
return !!entry && Date.now() - entry.at < API_CACHE_TTL_MS;
|
|
5029
5046
|
}
|
|
5030
5047
|
function isTransientQuoteError(error) {
|
|
5048
|
+
const gate = gateRefusalRetryable(error?.code);
|
|
5049
|
+
if (gate !== void 0) return gate;
|
|
5031
5050
|
if (error?.code === "BRIDGE_RATE_LIMITED" || Array.isArray(error?.fieldErrors) && error.fieldErrors.length > 0) return false;
|
|
5032
5051
|
return error?.code === "gateway_timeout" || error?.status === 502 || error?.status === 503 || error?.status === 504 || /failed to get swap quote|timeout|temporar/i.test(error?.message || "");
|
|
5033
5052
|
}
|
|
@@ -5098,9 +5117,10 @@ function createApiClient(cfg) {
|
|
|
5098
5117
|
}
|
|
5099
5118
|
}
|
|
5100
5119
|
if (!response.ok) {
|
|
5101
|
-
|
|
5120
|
+
const code = json?.error?.code || json?.code || (response.status >= 502 ? "gateway_timeout" : "api_error");
|
|
5121
|
+
throw apiError(quoteRefusalCopy(code) ?? apiMessage(json, `ZeroDelta request failed (${response.status}).`), {
|
|
5102
5122
|
status: response.status,
|
|
5103
|
-
code
|
|
5123
|
+
code,
|
|
5104
5124
|
fieldErrors: json?.error?.fieldErrors || json?.fieldErrors,
|
|
5105
5125
|
limits: json?.error?.limits || json?.limits,
|
|
5106
5126
|
reasons: json?.error?.reasons || json?.reasons
|
package/dist/core/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NormalizedOrder, s as ApiClient, t as SwapInput, P as Plan, C as Compliance, S as SanitizedTxEntry, T as Token, Q as Quote, u as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, v as RwaVault, F as FetchQuoteFn, w as SolveResult, O as OrderRequest, x as BalanceTarget, y as BalanceEntry, z as PlannedTx, Z as ZdHeavyExpected, D as Verifier, G as Promotion, f as ExchangeProduct, i as TxHistoryEntry, E as EngineConfig } from '../verify-
|
|
2
|
-
export { H as Address, I as ApiError, A as Availability, J as BLOCK_LABEL_DEFAULT, K as BonusInputs, B as BrokenLane, M as CENTIBIPS_PER_UNIT, U as COMPLIANCE_CHECK_ORDER, X as COMPLIANCE_DENY_LABEL, Y as CatalogueContext, _ as CatalogueInput, $ as CompareContext, a0 as CompareHop, a1 as CompareOption, c as ComplianceCheck, a2 as ComplianceCheckId, a3 as ComplianceDecision, d as ComplianceTone, e as ComplianceView, a4 as CornerTag, a5 as DIRECT_CHECK_IDS, a6 as DIRECT_SCOPE_NOTE, a7 as Destination, a8 as FLOOR_CATEGORIES, a9 as GatewayEvmTx, aa as Hex, ab as InsteadFigures, ac as LaneAvailabilityState, L as LaneLimit, ad as MAX_QUOTE_CARDS, ae as Parity, af as PlannedTxKind, ag as PromotedAsset, ah as PromotedNetwork, ai as PromotionFunder, aj as PromotionKind, ak as PromotionToken, al as QuoteBlock, am as QuoteOption, an as ResolvedConfig, ao as RouteBadge, ap as RouteHealth, aq as RouteHealthAvailability, ar as RouteHealthLane, g as RouteLeg, as as SCREENING_BUCKETS, at as ScreenProvider, au as ScreeningBucket, av as ScreeningOutcome, aw as SwapEnds, ax as TUNABLE_CATEGORIES, ay as TagTone, az as TxPlan, V as VerifyResult, aA as WAIT_MAX_SEC, aB as WAIT_MIN_SEC, aC as WAIT_POSITIONS, aD as WAIT_STEP_SEC, aE as WaitScale, W as WalletScreen, aF as ZD_HEAVY_KEY_PREFIX, aG as amountFieldError, aH as apiError, j as assetClassOf, aI as bestOutputOption, aJ as blockLabelFor, aK as bonusFigure, aL as bonusPercentLabel, aM as brokenLaneFor, k as brokenLaneReason, aN as buildCatalogue, aO as canAttachApiKey, aP as categoryLabel, aQ as clampWait, aR as classifyQuoteError, aS as compareAmount, aT as compareDuration, aU as compareFeeUsd, aV as compareHops, aW as compareOptionOf, aX as compareOptionsOf, l as complianceChecks, aY as complianceControlsEvaluated, m as complianceControlsLine, aZ as complianceReasonHead, a_ as complianceReasonTag, a$ as complianceTagOf, n as complianceView, b0 as cornerTags, o as counterpartTokens, b1 as createApiClient, b2 as createVerifier, p as destinationAvailability, b3 as destinationKeys, b4 as directComplianceFromScreens, b5 as distinctScreenedWallets, b6 as estimateBonus, b7 as exceedsLaneLimit, b8 as executableRoutes, b9 as executionChainIds, ba as extraVsFastest, bb as fastestOption, q as formatJurisdiction, bc as fundedByLabel, bd as hasReachableDestination, be as hubDeliverableSymbols, r as humanizeComplianceReason, bf as insteadFigures, bg as isExecutableBridge, bh as isKnownUnbridgeable, bi as isSellableRwa, bj as isSourceToken, bk as laneAvailabilityState, bl as laneKey, bm as laneKeys, bn as laneLimitAmount, bo as laneLimitError, bp as laneLimitFor, bq as laneLimitHint, br as laneLimitSymbol, bs as limitedLanes, bt as pairPromotionsInto, bu as parity, bv as parseAllowedApiBase, bw as parsePromotion, bx as parsePromotions, by as pickForWait, bz as priceCompareOptions, bA as productAssets, bB as promotedAssets, bC as promotionFor, bD as proposedWait, bE as registryRpc, bF as resolveApiBase, bG as resolveConfig, bH as routeBadges, bI as routeShapeLabel, bJ as sameAddress, bK as screeningOutcomeOf, bL as selectableOptions, bM as snapWait, bN as sourceKeys, bO as suppressedLanes, bP as tokenKey, bQ as txMatchesPlan, bR as unattributedComplianceReasons, bS as usdStablePair, bT as visibleOptions, bU as waitFraction, bV as waitFromFraction, bW as waitLabel, bX as waitScaleFor, bY as zdHeavyOptionKey, bZ as zdHeavyUnavailableStatus } from '../verify-
|
|
1
|
+
import { N as NormalizedOrder, s as ApiClient, t as SwapInput, P as Plan, C as Compliance, S as SanitizedTxEntry, T as Token, Q as Quote, u as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, v as RwaVault, F as FetchQuoteFn, w as SolveResult, O as OrderRequest, x as BalanceTarget, y as BalanceEntry, z as PlannedTx, Z as ZdHeavyExpected, D as Verifier, G as Promotion, f as ExchangeProduct, i as TxHistoryEntry, E as EngineConfig } from '../verify-UqDjAVxa.cjs';
|
|
2
|
+
export { H as Address, I as ApiError, A as Availability, J as BLOCK_LABEL_DEFAULT, K as BonusInputs, B as BrokenLane, M as CENTIBIPS_PER_UNIT, U as COMPLIANCE_CHECK_ORDER, X as COMPLIANCE_DENY_LABEL, Y as CatalogueContext, _ as CatalogueInput, $ as CompareContext, a0 as CompareHop, a1 as CompareOption, c as ComplianceCheck, a2 as ComplianceCheckId, a3 as ComplianceDecision, d as ComplianceTone, e as ComplianceView, a4 as CornerTag, a5 as DIRECT_CHECK_IDS, a6 as DIRECT_SCOPE_NOTE, a7 as Destination, a8 as FLOOR_CATEGORIES, a9 as GatewayEvmTx, aa as Hex, ab as InsteadFigures, ac as LaneAvailabilityState, L as LaneLimit, ad as MAX_QUOTE_CARDS, ae as Parity, af as PlannedTxKind, ag as PromotedAsset, ah as PromotedNetwork, ai as PromotionFunder, aj as PromotionKind, ak as PromotionToken, al as QuoteBlock, am as QuoteOption, an as ResolvedConfig, ao as RouteBadge, ap as RouteHealth, aq as RouteHealthAvailability, ar as RouteHealthLane, g as RouteLeg, as as SCREENING_BUCKETS, at as ScreenProvider, au as ScreeningBucket, av as ScreeningOutcome, aw as SwapEnds, ax as TUNABLE_CATEGORIES, ay as TagTone, az as TxPlan, V as VerifyResult, aA as WAIT_MAX_SEC, aB as WAIT_MIN_SEC, aC as WAIT_POSITIONS, aD as WAIT_STEP_SEC, aE as WaitScale, W as WalletScreen, aF as ZD_HEAVY_KEY_PREFIX, aG as amountFieldError, aH as apiError, j as assetClassOf, aI as bestOutputOption, aJ as blockLabelFor, aK as bonusFigure, aL as bonusPercentLabel, aM as brokenLaneFor, k as brokenLaneReason, aN as buildCatalogue, aO as canAttachApiKey, aP as categoryLabel, aQ as clampWait, aR as classifyQuoteError, aS as compareAmount, aT as compareDuration, aU as compareFeeUsd, aV as compareHops, aW as compareOptionOf, aX as compareOptionsOf, l as complianceChecks, aY as complianceControlsEvaluated, m as complianceControlsLine, aZ as complianceReasonHead, a_ as complianceReasonTag, a$ as complianceTagOf, n as complianceView, b0 as cornerTags, o as counterpartTokens, b1 as createApiClient, b2 as createVerifier, p as destinationAvailability, b3 as destinationKeys, b4 as directComplianceFromScreens, b5 as distinctScreenedWallets, b6 as estimateBonus, b7 as exceedsLaneLimit, b8 as executableRoutes, b9 as executionChainIds, ba as extraVsFastest, bb as fastestOption, q as formatJurisdiction, bc as fundedByLabel, bd as hasReachableDestination, be as hubDeliverableSymbols, r as humanizeComplianceReason, bf as insteadFigures, bg as isExecutableBridge, bh as isKnownUnbridgeable, bi as isSellableRwa, bj as isSourceToken, bk as laneAvailabilityState, bl as laneKey, bm as laneKeys, bn as laneLimitAmount, bo as laneLimitError, bp as laneLimitFor, bq as laneLimitHint, br as laneLimitSymbol, bs as limitedLanes, bt as pairPromotionsInto, bu as parity, bv as parseAllowedApiBase, bw as parsePromotion, bx as parsePromotions, by as pickForWait, bz as priceCompareOptions, bA as productAssets, bB as promotedAssets, bC as promotionFor, bD as proposedWait, bE as registryRpc, bF as resolveApiBase, bG as resolveConfig, bH as routeBadges, bI as routeShapeLabel, bJ as sameAddress, bK as screeningOutcomeOf, bL as selectableOptions, bM as snapWait, bN as sourceKeys, bO as suppressedLanes, bP as tokenKey, bQ as txMatchesPlan, bR as unattributedComplianceReasons, bS as usdStablePair, bT as visibleOptions, bU as waitFraction, bV as waitFromFraction, bW as waitLabel, bX as waitScaleFor, bY as zdHeavyOptionKey, bZ as zdHeavyUnavailableStatus } from '../verify-UqDjAVxa.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. */
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { N as NormalizedOrder, s as ApiClient, t as SwapInput, P as Plan, C as Compliance, S as SanitizedTxEntry, T as Token, Q as Quote, u as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, v as RwaVault, F as FetchQuoteFn, w as SolveResult, O as OrderRequest, x as BalanceTarget, y as BalanceEntry, z as PlannedTx, Z as ZdHeavyExpected, D as Verifier, G as Promotion, f as ExchangeProduct, i as TxHistoryEntry, E as EngineConfig } from '../verify-
|
|
2
|
-
export { H as Address, I as ApiError, A as Availability, J as BLOCK_LABEL_DEFAULT, K as BonusInputs, B as BrokenLane, M as CENTIBIPS_PER_UNIT, U as COMPLIANCE_CHECK_ORDER, X as COMPLIANCE_DENY_LABEL, Y as CatalogueContext, _ as CatalogueInput, $ as CompareContext, a0 as CompareHop, a1 as CompareOption, c as ComplianceCheck, a2 as ComplianceCheckId, a3 as ComplianceDecision, d as ComplianceTone, e as ComplianceView, a4 as CornerTag, a5 as DIRECT_CHECK_IDS, a6 as DIRECT_SCOPE_NOTE, a7 as Destination, a8 as FLOOR_CATEGORIES, a9 as GatewayEvmTx, aa as Hex, ab as InsteadFigures, ac as LaneAvailabilityState, L as LaneLimit, ad as MAX_QUOTE_CARDS, ae as Parity, af as PlannedTxKind, ag as PromotedAsset, ah as PromotedNetwork, ai as PromotionFunder, aj as PromotionKind, ak as PromotionToken, al as QuoteBlock, am as QuoteOption, an as ResolvedConfig, ao as RouteBadge, ap as RouteHealth, aq as RouteHealthAvailability, ar as RouteHealthLane, g as RouteLeg, as as SCREENING_BUCKETS, at as ScreenProvider, au as ScreeningBucket, av as ScreeningOutcome, aw as SwapEnds, ax as TUNABLE_CATEGORIES, ay as TagTone, az as TxPlan, V as VerifyResult, aA as WAIT_MAX_SEC, aB as WAIT_MIN_SEC, aC as WAIT_POSITIONS, aD as WAIT_STEP_SEC, aE as WaitScale, W as WalletScreen, aF as ZD_HEAVY_KEY_PREFIX, aG as amountFieldError, aH as apiError, j as assetClassOf, aI as bestOutputOption, aJ as blockLabelFor, aK as bonusFigure, aL as bonusPercentLabel, aM as brokenLaneFor, k as brokenLaneReason, aN as buildCatalogue, aO as canAttachApiKey, aP as categoryLabel, aQ as clampWait, aR as classifyQuoteError, aS as compareAmount, aT as compareDuration, aU as compareFeeUsd, aV as compareHops, aW as compareOptionOf, aX as compareOptionsOf, l as complianceChecks, aY as complianceControlsEvaluated, m as complianceControlsLine, aZ as complianceReasonHead, a_ as complianceReasonTag, a$ as complianceTagOf, n as complianceView, b0 as cornerTags, o as counterpartTokens, b1 as createApiClient, b2 as createVerifier, p as destinationAvailability, b3 as destinationKeys, b4 as directComplianceFromScreens, b5 as distinctScreenedWallets, b6 as estimateBonus, b7 as exceedsLaneLimit, b8 as executableRoutes, b9 as executionChainIds, ba as extraVsFastest, bb as fastestOption, q as formatJurisdiction, bc as fundedByLabel, bd as hasReachableDestination, be as hubDeliverableSymbols, r as humanizeComplianceReason, bf as insteadFigures, bg as isExecutableBridge, bh as isKnownUnbridgeable, bi as isSellableRwa, bj as isSourceToken, bk as laneAvailabilityState, bl as laneKey, bm as laneKeys, bn as laneLimitAmount, bo as laneLimitError, bp as laneLimitFor, bq as laneLimitHint, br as laneLimitSymbol, bs as limitedLanes, bt as pairPromotionsInto, bu as parity, bv as parseAllowedApiBase, bw as parsePromotion, bx as parsePromotions, by as pickForWait, bz as priceCompareOptions, bA as productAssets, bB as promotedAssets, bC as promotionFor, bD as proposedWait, bE as registryRpc, bF as resolveApiBase, bG as resolveConfig, bH as routeBadges, bI as routeShapeLabel, bJ as sameAddress, bK as screeningOutcomeOf, bL as selectableOptions, bM as snapWait, bN as sourceKeys, bO as suppressedLanes, bP as tokenKey, bQ as txMatchesPlan, bR as unattributedComplianceReasons, bS as usdStablePair, bT as visibleOptions, bU as waitFraction, bV as waitFromFraction, bW as waitLabel, bX as waitScaleFor, bY as zdHeavyOptionKey, bZ as zdHeavyUnavailableStatus } from '../verify-
|
|
1
|
+
import { N as NormalizedOrder, s as ApiClient, t as SwapInput, P as Plan, C as Compliance, S as SanitizedTxEntry, T as Token, Q as Quote, u as PayOption, h as RouteResult, b as Chain, R as Route, a as Catalogue, v as RwaVault, F as FetchQuoteFn, w as SolveResult, O as OrderRequest, x as BalanceTarget, y as BalanceEntry, z as PlannedTx, Z as ZdHeavyExpected, D as Verifier, G as Promotion, f as ExchangeProduct, i as TxHistoryEntry, E as EngineConfig } from '../verify-UqDjAVxa.js';
|
|
2
|
+
export { H as Address, I as ApiError, A as Availability, J as BLOCK_LABEL_DEFAULT, K as BonusInputs, B as BrokenLane, M as CENTIBIPS_PER_UNIT, U as COMPLIANCE_CHECK_ORDER, X as COMPLIANCE_DENY_LABEL, Y as CatalogueContext, _ as CatalogueInput, $ as CompareContext, a0 as CompareHop, a1 as CompareOption, c as ComplianceCheck, a2 as ComplianceCheckId, a3 as ComplianceDecision, d as ComplianceTone, e as ComplianceView, a4 as CornerTag, a5 as DIRECT_CHECK_IDS, a6 as DIRECT_SCOPE_NOTE, a7 as Destination, a8 as FLOOR_CATEGORIES, a9 as GatewayEvmTx, aa as Hex, ab as InsteadFigures, ac as LaneAvailabilityState, L as LaneLimit, ad as MAX_QUOTE_CARDS, ae as Parity, af as PlannedTxKind, ag as PromotedAsset, ah as PromotedNetwork, ai as PromotionFunder, aj as PromotionKind, ak as PromotionToken, al as QuoteBlock, am as QuoteOption, an as ResolvedConfig, ao as RouteBadge, ap as RouteHealth, aq as RouteHealthAvailability, ar as RouteHealthLane, g as RouteLeg, as as SCREENING_BUCKETS, at as ScreenProvider, au as ScreeningBucket, av as ScreeningOutcome, aw as SwapEnds, ax as TUNABLE_CATEGORIES, ay as TagTone, az as TxPlan, V as VerifyResult, aA as WAIT_MAX_SEC, aB as WAIT_MIN_SEC, aC as WAIT_POSITIONS, aD as WAIT_STEP_SEC, aE as WaitScale, W as WalletScreen, aF as ZD_HEAVY_KEY_PREFIX, aG as amountFieldError, aH as apiError, j as assetClassOf, aI as bestOutputOption, aJ as blockLabelFor, aK as bonusFigure, aL as bonusPercentLabel, aM as brokenLaneFor, k as brokenLaneReason, aN as buildCatalogue, aO as canAttachApiKey, aP as categoryLabel, aQ as clampWait, aR as classifyQuoteError, aS as compareAmount, aT as compareDuration, aU as compareFeeUsd, aV as compareHops, aW as compareOptionOf, aX as compareOptionsOf, l as complianceChecks, aY as complianceControlsEvaluated, m as complianceControlsLine, aZ as complianceReasonHead, a_ as complianceReasonTag, a$ as complianceTagOf, n as complianceView, b0 as cornerTags, o as counterpartTokens, b1 as createApiClient, b2 as createVerifier, p as destinationAvailability, b3 as destinationKeys, b4 as directComplianceFromScreens, b5 as distinctScreenedWallets, b6 as estimateBonus, b7 as exceedsLaneLimit, b8 as executableRoutes, b9 as executionChainIds, ba as extraVsFastest, bb as fastestOption, q as formatJurisdiction, bc as fundedByLabel, bd as hasReachableDestination, be as hubDeliverableSymbols, r as humanizeComplianceReason, bf as insteadFigures, bg as isExecutableBridge, bh as isKnownUnbridgeable, bi as isSellableRwa, bj as isSourceToken, bk as laneAvailabilityState, bl as laneKey, bm as laneKeys, bn as laneLimitAmount, bo as laneLimitError, bp as laneLimitFor, bq as laneLimitHint, br as laneLimitSymbol, bs as limitedLanes, bt as pairPromotionsInto, bu as parity, bv as parseAllowedApiBase, bw as parsePromotion, bx as parsePromotions, by as pickForWait, bz as priceCompareOptions, bA as productAssets, bB as promotedAssets, bC as promotionFor, bD as proposedWait, bE as registryRpc, bF as resolveApiBase, bG as resolveConfig, bH as routeBadges, bI as routeShapeLabel, bJ as sameAddress, bK as screeningOutcomeOf, bL as selectableOptions, bM as snapWait, bN as sourceKeys, bO as suppressedLanes, bP as tokenKey, bQ as txMatchesPlan, bR as unattributedComplianceReasons, bS as usdStablePair, bT as visibleOptions, bU as waitFraction, bV as waitFromFraction, bW as waitLabel, bX as waitScaleFor, bY as zdHeavyOptionKey, bZ as zdHeavyUnavailableStatus } from '../verify-UqDjAVxa.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. */
|
package/dist/core/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { API_CACHE_TTL_MS, BLOCK_LABEL_DEFAULT, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BUNDLED_SOLANA_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CANONICAL_SOLANA_PROGRAM, CENTIBIPS_PER_UNIT, 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_QUOTE_CARDS, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, PREVIEW_OWNER, QUOTE_BUFFER_BPS, SAME_CLASS_STABLE, SCREENING_BUCKETS, SCREEN_CACHE_TTL_MS, SOLANA_CHAIN_ID, SOLANA_DESTINATION_ASSETS, SOL_SHORTFALL_MESSAGE, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_DISCRIMINATOR, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SolanaSendError, TOKEN_2022_PROGRAM, TOKEN_PROGRAM, TRACKING, TRADEABLE_RWA_ASSETS, TUNABLE_CATEGORIES, WAIT_MAX_SEC, WAIT_MIN_SEC, WAIT_POSITIONS, WAIT_STEP_SEC, WALLET_HISTORY_LIMIT, ZD_HEAVY_KEY_PREFIX, ZERO_ADDRESS, addressWord, allowanceCovers, amountFieldError, apiError, applyLayerZeroBuffer, askCovers, askTokenDecimals, assertAddress, assertChainAddress, assertQuoteMatchesSelection, assertWalletMessage, assetClassOf, assetDecimals, associatedTokenAddress, base58Decode, base58Encode, base64Decode, base64Encode, bestOutputOption, blockLabelFor, bonusFigure, bonusPercentLabel, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSolanaSourcePlan, buildSwapPlan, bytes32Word, bytesEqual, bytesPayload, canAttachApiKey, categoryLabel, chainAddressKey, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, checkSolanaPlan as checkPlan, checkSolanaPlan, checkSolanaProgram, checkSolanaReceiver, checkSolanaRouteBuffer, clampWait, classifyQuoteError, compareAmount, compareDuration, compareFeeUsd, compareHops, compareOptionOf, compareOptionsOf, complianceChecks, complianceControlsEvaluated, complianceControlsLine, complianceReasonHead, complianceReasonTag, complianceTagOf, complianceView, cornerTags, cosignSolanaEvent, counterpartTokens, createApiClient, createEngine, createSolanaRpc, createVerifier, decodeSolanaSubmitOrder, decodeSolanaSubmitOrder as decodeSubmitOrder, decodeSubmitOrderCalldata, deriveSolanaEvent, destinationAvailability, destinationKeys, directComplianceFromScreens, distinctScreenedWallets, encodeAllowance, encodeApprove, encodeBalanceOf, encodeNextSolanaOrders, encodeSubmitOrder, encodeTransfer, estimateBonus, exceedsLaneLimit, executableRoutes, executeSolanaPlan, executeSolanaPlanStaged, executionChainIds, expectedSolanaDelivery, extraVsFastest, fastestOption, fetchDelivery, fetchPaymentPlan, fetchWalletHistory, finalOf, findProgramAddress, findToken, foldTicker, formatJurisdiction, formatNative, formatUnits, fundedByLabel, hasReachableDestination, hexBytes, hexToSolanaKey, historyEntryFromOrder, historyKey, hubDeliverableSymbols, humanizeComplianceReason, insteadFigures, isAddress, isChainAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isOnEd25519Curve, isPreparationInstruction, isSellableRwa, isSolanaAddress, isSolanaChainId, isSourceToken, isSubmitOrder, laneAvailabilityState, laneKey, laneKeys, laneLimitAmount, laneLimitError, laneLimitFor, laneLimitHint, laneLimitSymbol, limitedLanes, maxDeadlineSeconds, maxNativeFeeWei, mergeHistory, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeDelivery, normalizeOrderRequest, normalizeOrderRequests, overwriteBlockhash, pairPromotionsInto, parity, parseAddressLookupTable, parseAllowedApiBase, parsePromotion, parsePromotions, parseSolanaTransaction, parseUnitsDecimal, pickForWait, placeSignature, planErrorSummary, planMsgValueHex, pollSolanaConfirmation, previewSolanaSource, priceCompareOptions, productAssets, promotedAssets, promotionFor, proposedWait, quotePartnerId, quotePayOption, quoteSolanaSource, quoteSwapPreview, readSolanaBalance, recommendedDeadlineSeconds, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSolanaKeys, resolveSwapReceiver, resolveVaultIcon, resultForOption, routeBadges, routeNativeValue, routeShapeLabel, safeTicker, sameAddress, scaleDecimals, screeningOutcomeOf, selectableOptions, serializeSolanaTransaction, sha256, simulateSolanaCost, snapWait, solanaBridgeOf, solanaDestinationAsset, solanaKeyBytes, solanaKeyHex, solanaLamportShortfall, solanaPlanNeedsPreparation, solanaQuoteCompliance, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, tickerOn, toHexQuantity, tokenEnabled, tokenKey, tokenTicker, txMatchesPlan, uint64Word, uintWord, unattributedComplianceReasons, usdStablePair, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, verifySolanaSubmit, verifySolanaTransaction, verifySolanaSubmit as verifySubmit, verifySolanaTransaction as verifyTransaction, visibleOptions, waitFraction, waitFromFraction, waitLabel, waitScaleFor, withVaultArtwork, zdHeavyOptionKey, zdHeavyUnavailableStatus } from '../chunk-
|
|
1
|
+
export { API_CACHE_TTL_MS, BLOCK_LABEL_DEFAULT, BUNDLED_NATIVE_SYMBOL, BUNDLED_RPC, BUNDLED_SOLANA_RPC, CANONICAL_DECIMALS, CANONICAL_ESCROW, CANONICAL_INBOUND_BRIDGE, CANONICAL_SOLANA_PROGRAM, CENTIBIPS_PER_UNIT, 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_QUOTE_CARDS, MAX_SAME_CLASS_PAY_BPS, MAX_UINT64, NO_PARTNER_ID, PREVIEW_OWNER, QUOTE_BUFFER_BPS, SAME_CLASS_STABLE, SCREENING_BUCKETS, SCREEN_CACHE_TTL_MS, SOLANA_CHAIN_ID, SOLANA_DESTINATION_ASSETS, SOL_SHORTFALL_MESSAGE, STABLEGENIE_INTENT_TTL_MS, STABLEGENIE_INTENT_VERSION, STABLEGENIE_SUPPORTED_ASSETS, STABLEGENIE_SUPPORTED_CHAIN_IDS, STABLE_ASSETS, SUBMIT_ORDER_DISCRIMINATOR, SUBMIT_ORDER_SELECTOR, SUPPORTED_ASSETS, SUPPORTED_CHAIN_IDS, SolanaSendError, TOKEN_2022_PROGRAM, TOKEN_PROGRAM, TRACKING, TRADEABLE_RWA_ASSETS, TUNABLE_CATEGORIES, WAIT_MAX_SEC, WAIT_MIN_SEC, WAIT_POSITIONS, WAIT_STEP_SEC, WALLET_HISTORY_LIMIT, ZD_HEAVY_KEY_PREFIX, ZERO_ADDRESS, addressWord, allowanceCovers, amountFieldError, apiError, applyLayerZeroBuffer, askCovers, askTokenDecimals, assertAddress, assertChainAddress, assertQuoteMatchesSelection, assertWalletMessage, assetClassOf, assetDecimals, associatedTokenAddress, base58Decode, base58Encode, base64Decode, base64Encode, bestOutputOption, blockLabelFor, bonusFigure, bonusPercentLabel, brokenLaneFor, brokenLaneReason, buildCatalogue, buildPayOptions, buildRoute, buildSolanaSourcePlan, buildSwapPlan, bytes32Word, bytesEqual, bytesPayload, canAttachApiKey, categoryLabel, chainAddressKey, chainById, chainNameOf, chainSelectable, checkEscrow, checkNativeFee, checkSolanaPlan as checkPlan, checkSolanaPlan, checkSolanaProgram, checkSolanaReceiver, checkSolanaRouteBuffer, clampWait, classifyQuoteError, compareAmount, compareDuration, compareFeeUsd, compareHops, compareOptionOf, compareOptionsOf, complianceChecks, complianceControlsEvaluated, complianceControlsLine, complianceReasonHead, complianceReasonTag, complianceTagOf, complianceView, cornerTags, cosignSolanaEvent, counterpartTokens, createApiClient, createEngine, createSolanaRpc, createVerifier, decodeSolanaSubmitOrder, decodeSolanaSubmitOrder as decodeSubmitOrder, decodeSubmitOrderCalldata, deriveSolanaEvent, destinationAvailability, destinationKeys, directComplianceFromScreens, distinctScreenedWallets, encodeAllowance, encodeApprove, encodeBalanceOf, encodeNextSolanaOrders, encodeSubmitOrder, encodeTransfer, estimateBonus, exceedsLaneLimit, executableRoutes, executeSolanaPlan, executeSolanaPlanStaged, executionChainIds, expectedSolanaDelivery, extraVsFastest, fastestOption, fetchDelivery, fetchPaymentPlan, fetchWalletHistory, finalOf, findProgramAddress, findToken, foldTicker, formatJurisdiction, formatNative, formatUnits, fundedByLabel, hasReachableDestination, hexBytes, hexToSolanaKey, historyEntryFromOrder, historyKey, hubDeliverableSymbols, humanizeComplianceReason, insteadFigures, isAddress, isChainAddress, isDeliverable, isExecutableBridge, isHexAddress, isHexData, isHexQuantity, isKnownUnbridgeable, isLayerZeroRoute, isOnEd25519Curve, isPreparationInstruction, isSellableRwa, isSolanaAddress, isSolanaChainId, isSourceToken, isSubmitOrder, laneAvailabilityState, laneKey, laneKeys, laneLimitAmount, laneLimitError, laneLimitFor, laneLimitHint, laneLimitSymbol, limitedLanes, maxDeadlineSeconds, maxNativeFeeWei, mergeHistory, nativeFeeShortLabel, nativeFeeShortMessage, nativeSymbol, normalizeAddress, normalizeDecimalText, normalizeDelivery, normalizeOrderRequest, normalizeOrderRequests, overwriteBlockhash, pairPromotionsInto, parity, parseAddressLookupTable, parseAllowedApiBase, parsePromotion, parsePromotions, parseSolanaTransaction, parseUnitsDecimal, pickForWait, placeSignature, planErrorSummary, planMsgValueHex, pollSolanaConfirmation, previewSolanaSource, priceCompareOptions, productAssets, promotedAssets, promotionFor, proposedWait, quotePartnerId, quotePayOption, quoteSolanaSource, quoteSwapPreview, readSolanaBalance, recommendedDeadlineSeconds, registryRpc, requiresNativeBridgeFee, resolveApiBase, resolveConfig, resolveSolanaKeys, resolveSwapReceiver, resolveVaultIcon, resultForOption, routeBadges, routeNativeValue, routeShapeLabel, safeTicker, sameAddress, scaleDecimals, screeningOutcomeOf, selectableOptions, serializeSolanaTransaction, sha256, simulateSolanaCost, snapWait, solanaBridgeOf, solanaDestinationAsset, solanaKeyBytes, solanaKeyHex, solanaLamportShortfall, solanaPlanNeedsPreparation, solanaQuoteCompliance, solveExactIn, solveExactOut, sourceKeys, stableGenieIntentSchema, strip0x, suppressedLanes, symbolKey, tickerOn, toHexQuantity, tokenEnabled, tokenKey, tokenTicker, txMatchesPlan, uint64Word, uintWord, unattributedComplianceReasons, usdStablePair, validateDestination, validatePlannedTransaction, validateSwap, vaultIconsBySymbol, verifySolanaSubmit, verifySolanaTransaction, verifySolanaSubmit as verifySubmit, verifySolanaTransaction as verifyTransaction, visibleOptions, waitFraction, waitFromFraction, waitLabel, waitScaleFor, withVaultArtwork, zdHeavyOptionKey, zdHeavyUnavailableStatus } from '../chunk-RUHREVDT.js';
|