@t2000/sdk 10.37.1 → 10.38.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.
- package/dist/browser.cjs +81 -17
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +72 -18
- package/dist/{commerce-C0B4y1uP.d.cts → commerce-D14qzqAV.d.cts} +104 -20
- package/dist/{commerce-C0B4y1uP.d.ts → commerce-D14qzqAV.d.ts} +104 -20
- package/dist/index.cjs +125 -26
- package/dist/index.d.cts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +115 -27
- package/package.json +2 -2
|
@@ -1491,11 +1491,17 @@ declare const MAINNET_A2A_ESCROW_PACKAGE_ID = "0x358a819c1c016e2cc84ef5fbea81cba
|
|
|
1491
1491
|
declare const A2A_ESCROW_PACKAGE_ID: string;
|
|
1492
1492
|
/** The shared `FeeConfig` object every escrow entry reads (mainnet). */
|
|
1493
1493
|
declare const A2A_ESCROW_FEE_CONFIG_ID: string;
|
|
1494
|
-
/**
|
|
1495
|
-
*
|
|
1496
|
-
*
|
|
1497
|
-
* v4 upgrade
|
|
1498
|
-
|
|
1494
|
+
/** Job-value cap in USDC — the AdminCap-set LIVE max, mirrored for the
|
|
1495
|
+
* preflight's human error (S.1191, reputation v2 Phase B). On-chain SSOT is
|
|
1496
|
+
* the `FeeConfig` max-amount DF (`set_max_job_amount`, package hard ceiling
|
|
1497
|
+
* 100 since the S.981 v4 upgrade); the Move DEFAULT is still 50, so until
|
|
1498
|
+
* the founder runs `set_max_job_amount(100_000_000)` a >$50 create passes
|
|
1499
|
+
* this preflight and aborts on-chain (`EAmountTooLarge`) — ship both in the
|
|
1500
|
+
* same window (RUNBOOK_S1191_MAX_JOB_100). The no-arbitration reject-split
|
|
1501
|
+
* stays the dispute model at every size (SPEC_A2A_ESCROW §2). Every
|
|
1502
|
+
* consumer (CLI, console, Connect) must import this — never copy the
|
|
1503
|
+
* number. */
|
|
1504
|
+
declare const MAX_JOB_USDC = 100;
|
|
1499
1505
|
/** Job-value floor in USDC — the CURRENT contract-configured minimum, not an
|
|
1500
1506
|
* immutable code fact (S.1053, founder 2026-08-15: one-cent micro-work).
|
|
1501
1507
|
* On-chain SSOT is the live `FeeConfig` min-amount DF (AdminCap
|
|
@@ -1585,8 +1591,16 @@ declare function buildRefundJobTx(jobId: string, v2: {
|
|
|
1585
1591
|
}): Transaction;
|
|
1586
1592
|
/** Seller posts the delivery commitment (hex hash) before the deadline. */
|
|
1587
1593
|
declare function buildDeliverJobTx(jobId: string, deliveryHash: string): Transaction;
|
|
1588
|
-
/** Buyer accepts (or anyone, once the review window lapsed) → funds to
|
|
1589
|
-
|
|
1594
|
+
/** Buyer accepts (or anyone, once the review window lapsed) → funds to
|
|
1595
|
+
* seller. S.1192: settles through `reputation::release_v2` — the
|
|
1596
|
+
* SELLER's score (derive with `deriveAgentScoreId`) rides along so a
|
|
1597
|
+
* board-claimed job frees its active seat with the money. Hire jobs pass
|
|
1598
|
+
* the same score; the contract's `ClaimedJobKey` marker decides whether
|
|
1599
|
+
* a decrement lands. A scoreless seller needs the `create_empty_score`
|
|
1600
|
+
* precursor first (same hop as reject/refund since S.1063). */
|
|
1601
|
+
declare function buildReleaseJobTx(jobId: string, v2: {
|
|
1602
|
+
sellerScoreId: string;
|
|
1603
|
+
}): Transaction;
|
|
1590
1604
|
/** Fetch + parse a `Job` shared object. Throws `RPC_ERROR` when the id
|
|
1591
1605
|
* doesn't resolve to an a2a_escrow Job. */
|
|
1592
1606
|
declare function getJob(client: SuiCoreClient, jobId: string): Promise<Job>;
|
|
@@ -1627,8 +1641,10 @@ declare function verifyJobForSeller({ client, jobId, seller, minAmountUsdc, minR
|
|
|
1627
1641
|
* target the LATEST published id — the original id (types, Job verbs) is
|
|
1628
1642
|
* unchanged.
|
|
1629
1643
|
*/
|
|
1630
|
-
/** The LATEST published `a2a_escrow` package id on MAINNET (
|
|
1631
|
-
* 2026-08-
|
|
1644
|
+
/** The LATEST published `a2a_escrow` package id on MAINNET (v10 upgrade
|
|
1645
|
+
* 2026-08-24, S.1192 — seller levels + active caps, VERSION 6 cutover:
|
|
1646
|
+
* claim_v2/claim_proven_v2/create_open_v2/release_v2;
|
|
1647
|
+
* v9 = S.1064 review on REJECTED, additive; v8 = outcome
|
|
1632
1648
|
* counters (S.1063); v7 = distinct buyers (S.1062);
|
|
1633
1649
|
* v6 = S.1054 — `reputation` module + `opening::claim_proven`;
|
|
1634
1650
|
* v5 locked open reject at 10000 (S.1019); v4 added amount bounds
|
|
@@ -1641,9 +1657,9 @@ declare function verifyJobForSeller({ client, jobId, seller, minAmountUsdc, minR
|
|
|
1641
1657
|
* upgrade + `migrate` cutover is a ONE-VALUE change here. The original id
|
|
1642
1658
|
* (`MAINNET_A2A_ESCROW_PACKAGE_ID` in job.ts) remains the anchor for type
|
|
1643
1659
|
* strings, event filters, and object-type queries — those never move. */
|
|
1644
|
-
declare const MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID = "
|
|
1660
|
+
declare const MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID = "0x5c90ec07da01bf885a4e65247ce98b75ab8a042cd965d30d7213856d579c4afa";
|
|
1645
1661
|
/** Back-compat name for the latest id (pre-S.981 consumers import this). */
|
|
1646
|
-
declare const MAINNET_A2A_ESCROW_OPENING_PACKAGE_ID = "
|
|
1662
|
+
declare const MAINNET_A2A_ESCROW_OPENING_PACKAGE_ID = "0x5c90ec07da01bf885a4e65247ce98b75ab8a042cd965d30d7213856d579c4afa";
|
|
1647
1663
|
/** Env-overridable latest id for testnet/dev (NOT a trust anchor). A fresh
|
|
1648
1664
|
* dev publish has original == latest, so `A2A_ESCROW_PACKAGE_ID` alone is
|
|
1649
1665
|
* honored as the fallback override. */
|
|
@@ -1680,6 +1696,12 @@ declare const A2A_ESCROW_PACKAGE_V7_ID = "0x4249f0b242c47c7baf0c37304365bc4bbe76
|
|
|
1680
1696
|
* RejectedAfterDeliveryKey/NoDeliveryKey/AsBuyerRejectedKey DF key types.
|
|
1681
1697
|
* A DEFINING-id anchor like V2/V3/V6/V7 — never moves again. */
|
|
1682
1698
|
declare const A2A_ESCROW_PACKAGE_V8_ID = "0x1595b80bc05a03607f3908702c866ca63cf961025b4263b5ecbe419e07f8ff31";
|
|
1699
|
+
/** v10 (S.1192, upgrade 1Am9J7H5… 2026-08-24) — defining id for the
|
|
1700
|
+
* seller-level surface: the ActiveSellerJobsChanged/OpeningCreatedV2
|
|
1701
|
+
* events and the ActiveSellerJobsKey/MinSellerLevelKey/TierActiveCapKey/
|
|
1702
|
+
* ClaimedJobKey DF key types. A DEFINING-id anchor like V2/V3/V6/V7/V8 —
|
|
1703
|
+
* never moves again, even when LATEST does. */
|
|
1704
|
+
declare const A2A_ESCROW_PACKAGE_V10_ID: string;
|
|
1683
1705
|
/** Default claim policy: any ACTIVE registered Agent ID ($0 claim, FCFS). */
|
|
1684
1706
|
declare const OPENING_CLAIM_POLICY_ANY_ACTIVE = 0;
|
|
1685
1707
|
/** S.1054 — Proven: claimer needs ≥ PROVEN_MIN_REVIEWS on-chain reviews
|
|
@@ -1708,11 +1730,17 @@ interface OpeningTerms {
|
|
|
1708
1730
|
* 2 Proven · 4★+. Never changes HOW a claim works: still FCFS, still
|
|
1709
1731
|
* $0. 3+ aborts on-chain until defined. */
|
|
1710
1732
|
claimPolicy?: number;
|
|
1733
|
+
/** S.1192 — minimum EFFECTIVE seller level to claim: 0 none (default),
|
|
1734
|
+
* 1..4 (Level floor, independent of claimPolicy — a post can require
|
|
1735
|
+
* Proven · 4★+ AND Level 2+, or either alone). Stored as a DF on the
|
|
1736
|
+
* Opening, enforced on-chain at claim. */
|
|
1737
|
+
minSellerLevel?: number;
|
|
1711
1738
|
}
|
|
1712
1739
|
/** Every claim policy `create_open` accepts (S.1054). */
|
|
1713
1740
|
declare const OPENING_CLAIM_POLICIES: readonly [0, 1, 2];
|
|
1714
1741
|
/** Client-side preflight — mirrors the contract's `create_open` bounds plus
|
|
1715
|
-
* the
|
|
1742
|
+
* the `MAX_JOB_USDC` client cap (the contract is value-neutral, same as
|
|
1743
|
+
* Job). */
|
|
1716
1744
|
declare function preflightCreateOpening(terms: OpeningTerms): {
|
|
1717
1745
|
valid: boolean;
|
|
1718
1746
|
code?: 'INVALID_AMOUNT' | 'INVALID_INPUT';
|
|
@@ -1728,15 +1756,21 @@ declare function buildCreateOpeningTx({ client, buyer, terms, }: {
|
|
|
1728
1756
|
* `registryId` = the shared `agent_id::registry::Registry` object
|
|
1729
1757
|
* (callers pass `AGENT_ID_REGISTRY_ID` from `@t2000/id` — single source).
|
|
1730
1758
|
*
|
|
1731
|
-
* S.
|
|
1732
|
-
* claimer's own `AgentScore` (compute with `deriveAgentScoreId`)
|
|
1733
|
-
*
|
|
1734
|
-
*
|
|
1735
|
-
*
|
|
1736
|
-
|
|
1759
|
+
* S.1192: EVERY claim — policy 0 included — passes `scoreId`, the
|
|
1760
|
+
* claimer's own `AgentScore` (compute with `deriveAgentScoreId`): the
|
|
1761
|
+
* active-cap + level-floor gates read it and the in-flight counter
|
|
1762
|
+
* writes to it. A claimer with no score yet runs the permissionless
|
|
1763
|
+
* `buildCreateEmptyScoreTx` as its own PRECURSOR tx first (a shared
|
|
1764
|
+
* object cannot be created and used in one tx — the S.1063 sponsored
|
|
1765
|
+
* precursor hop; an empty score grants nothing and reads as Level 1).
|
|
1766
|
+
* `claimPolicy` (the OPENING's policy, from the board row or
|
|
1767
|
+
* `getOpening`) routes 0 → `claim_v2`, 1/2 → `claim_proven_v2`.
|
|
1768
|
+
* Preflight with `preflightClaimOpening` first for English refusals. */
|
|
1769
|
+
declare function buildClaimOpeningTx({ openingId, registryId, scoreId, claimPolicy, }: {
|
|
1737
1770
|
openingId: string;
|
|
1738
1771
|
registryId: string;
|
|
1739
|
-
scoreId
|
|
1772
|
+
scoreId: string;
|
|
1773
|
+
claimPolicy?: number;
|
|
1740
1774
|
}): Transaction;
|
|
1741
1775
|
/** Buyer withdraws an unclaimed opening — fee-free, any time. */
|
|
1742
1776
|
declare function buildCancelOpeningTx(openingId: string): Transaction;
|
|
@@ -1754,6 +1788,10 @@ interface Opening {
|
|
|
1754
1788
|
reviewWindowMs: number;
|
|
1755
1789
|
rejectSplitBps: number;
|
|
1756
1790
|
claimPolicy: number;
|
|
1791
|
+
/** S.1192 — minimum EFFECTIVE seller level to claim (0 = none; DF read,
|
|
1792
|
+
* best-effort: 0 for every pre-S.1192 opening, when the V10 pin isn't
|
|
1793
|
+
* set yet, or on a read hiccup — Move is the enforcement). */
|
|
1794
|
+
minSellerLevel: number;
|
|
1757
1795
|
createdAtMs: number;
|
|
1758
1796
|
}
|
|
1759
1797
|
/** Read one Opening by object id (null = gone: claimed/cancelled/refunded). */
|
|
@@ -1794,6 +1832,20 @@ declare const PROVEN_MIN_AVG_STARS_X10 = 40;
|
|
|
1794
1832
|
/** Star bounds on a review. */
|
|
1795
1833
|
declare const REVIEW_MIN_STARS = 1;
|
|
1796
1834
|
declare const REVIEW_MAX_STARS = 5;
|
|
1835
|
+
/** A seller's capacity label, 1-indexed (buyer copy: "Level 1"…"Level 4").
|
|
1836
|
+
* Separate from claim policy — an opening can require both. */
|
|
1837
|
+
type SellerLevel = 1 | 2 | 3 | 4;
|
|
1838
|
+
/** Default in-flight claimed-job caps per level (index = level − 1).
|
|
1839
|
+
* Package defaults — the LIVE values are AdminCap-tunable FeeConfig DFs;
|
|
1840
|
+
* the chain is the enforcement, these feed display + preflight. */
|
|
1841
|
+
declare const SELLER_LEVEL_ACTIVE_CAPS: readonly number[];
|
|
1842
|
+
/** `noDelivery >= floor` regresses the EFFECTIVE level to 1 (default;
|
|
1843
|
+
* AdminCap-tunable on-chain). */
|
|
1844
|
+
declare const NO_DELIVERY_REGRESSION_FLOOR = 3;
|
|
1845
|
+
/** Level 4 additionally needs ≥ this many reviews… */
|
|
1846
|
+
declare const LEVEL4_MIN_REVIEWS = 20;
|
|
1847
|
+
/** …and ≤ this many no-delivery outcomes. */
|
|
1848
|
+
declare const LEVEL4_MAX_NO_DELIVERY = 2;
|
|
1797
1849
|
/** Compute the deterministic `AgentScore` object id for an agent — pure
|
|
1798
1850
|
* local math (`sui::derived_object`), no RPC. The object may not exist
|
|
1799
1851
|
* yet: no score object ⇔ zero on-chain reviews. */
|
|
@@ -1815,6 +1867,9 @@ interface AgentScore {
|
|
|
1815
1867
|
rejectedAfterDelivery: number;
|
|
1816
1868
|
noDelivery: number;
|
|
1817
1869
|
asBuyerRejected: number;
|
|
1870
|
+
/** S.1192 — live board-claimed jobs in flight (funded + delivered).
|
|
1871
|
+
* 0 when the DF is absent (soft start) or pre-V10-pin. */
|
|
1872
|
+
activeSellerJobs: number;
|
|
1818
1873
|
}
|
|
1819
1874
|
/** Read an agent's score (null = no reviews yet — the lazy-create means the
|
|
1820
1875
|
* object simply doesn't exist). */
|
|
@@ -1839,6 +1894,35 @@ declare function claimPolicyLabel(claimPolicy: number): string;
|
|
|
1839
1894
|
/** One English sentence for a Proven refusal — CLI/MCP/prepare all reuse
|
|
1840
1895
|
* this instead of surfacing a raw Move abort. */
|
|
1841
1896
|
declare function claimPolicyRequirement(claimPolicy: number): string;
|
|
1897
|
+
/** Computed Level 1..4 from on-chain aggregates (`null` score = Level 1,
|
|
1898
|
+
* the empty-score default). Reuses the SAME predicates the claim
|
|
1899
|
+
* policies read — one SSOT for every threshold. */
|
|
1900
|
+
declare function sellerLevel(score: AgentScore | null): SellerLevel;
|
|
1901
|
+
/** The level capacity actually gates on: `noDelivery >= floor` regresses
|
|
1902
|
+
* to Level 1 regardless of stars (reliability caps capacity without
|
|
1903
|
+
* touching star math). Uses the package-default floor — the live value
|
|
1904
|
+
* is an AdminCap DF; the chain is the enforcement. */
|
|
1905
|
+
declare function effectiveSellerLevel(score: AgentScore | null): SellerLevel;
|
|
1906
|
+
/** Default active-job cap for a level (the live cap is AdminCap-tunable
|
|
1907
|
+
* on-chain; this feeds display + preflight). */
|
|
1908
|
+
declare function activeCapForLevel(level: SellerLevel): number;
|
|
1909
|
+
/** Whether this seller clears an opening's `minSellerLevel` floor — on
|
|
1910
|
+
* the EFFECTIVE level, matching the Move gate. */
|
|
1911
|
+
declare function meetsMinSellerLevel(score: AgentScore | null, minLevel: number): boolean;
|
|
1912
|
+
/** Human label — every surface uses this, never the raw number. */
|
|
1913
|
+
declare function sellerLevelLabel(level: number): string;
|
|
1914
|
+
/** English preflight for a claim (S.1192) — refuse BEFORE the sponsored
|
|
1915
|
+
* rail instead of surfacing a raw Move abort. Checks, in gate order:
|
|
1916
|
+
* claim policy (S.1054), the active-job cap on the claimer's effective
|
|
1917
|
+
* level, then the opening's level floor. Capacity language, not ban
|
|
1918
|
+
* language — a capped seller finishes work and claims again. */
|
|
1919
|
+
declare function preflightClaimOpening(score: AgentScore | null, opening: {
|
|
1920
|
+
claimPolicy: number;
|
|
1921
|
+
minSellerLevel?: number;
|
|
1922
|
+
}): {
|
|
1923
|
+
valid: boolean;
|
|
1924
|
+
error?: string;
|
|
1925
|
+
};
|
|
1842
1926
|
/** Review a released job when the seller ALREADY has a score object —
|
|
1843
1927
|
* also the star-EDIT path (same buyer re-rating the same job). */
|
|
1844
1928
|
declare function buildSubmitReviewTx({ scoreId, jobId, stars, }: {
|
|
@@ -1953,4 +2037,4 @@ declare function putJobSpec(base: string, content: string): Promise<string>;
|
|
|
1953
2037
|
* the store is untrusted; the chain hash is the authority). */
|
|
1954
2038
|
declare function getJobSpec(base: string, hash: string): Promise<string>;
|
|
1955
2039
|
|
|
1956
|
-
export {
|
|
2040
|
+
export { STABLE_ASSETS as $, A2A_ESCROW_FEE_CONFIG_ID as A, type BalanceResponse as B, CLOCK_ID as C, DEFAULT_ACTIVITY_REPORT_URL as D, ETH_TYPE as E, OPENING_CLAIM_POLICY_PROVEN as F, GAS_RESERVE_MIN as G, OPENING_CLAIM_POLICY_PROVEN_4STAR as H, IKA_TYPE as I, JOB_STATES as J, KNOWN_TARGETS as K, LABEL_PATTERNS as L, MANIFEST_TYPE as M, NAVX_TYPE as N, OPENING_CLAIM_POLICIES as O, OVERLAY_FEE_RATE as P, type OverlayFeeConfig as Q, PREFLIGHT_MAX_AMOUNT as R, PREFLIGHT_OK as S, PROVEN_MIN_AVG_STARS_X10 as T, PROVEN_MIN_REVIEWS as U, type PayOptions as V, type PayResult as W, type PreflightResult as X, REVIEW_MAX_STARS as Y, REVIEW_MIN_STARS as Z, SELLER_LEVEL_ACTIVE_CAPS as _, A2A_ESCROW_PACKAGE_ID as a, getDecimalsForCoinType as a$, SUI_DECIMALS as a0, SUI_TYPE as a1, SUPPORTED_ASSETS as a2, type SellerLevel as a3, type SendAssetClass as a4, type SendResult as a5, type ServiceListing as a6, type SimulationResult as a7, type StableAsset as a8, type SuiHolding as a9, buildRejectJobTx as aA, buildReleaseJobTx as aB, buildSendTx as aC, buildSwapTx as aD, checkPositiveAmount as aE, checkSuiAddress as aF, claimPolicyLabel as aG, claimPolicyRequirement as aH, classifyAction as aI, classifyLabel as aJ, classifySendAsset as aK, classifyTransaction as aL, deriveAgentScoreId as aM, effectiveSellerLevel as aN, executeTx as aO, extractAllUserLegs as aP, extractTransferDetails as aQ, extractTxCommands as aR, extractTxSender as aS, fallbackLabel as aT, fetchService as aU, findSwapRoute as aV, formatAssetAmount as aW, formatSui as aX, formatUsd as aY, getAgentScore as aZ, getDecimals as a_, type SuiRpcTxBlock as aa, type SupportedAsset as ab, type SwapRouteResult as ac, T2000Error as ad, type T2000ErrorCode as ae, type T2000ErrorData as af, T2000_OVERLAY_FEE_WALLET as ag, TOKEN_MAP as ah, type TransactionLeg as ai, type TransactionRecord as aj, type TransactionSigner as ak, type TxDirection as al, USDC_DECIMALS as am, USDC_TYPE as an, USDE_TYPE as ao, USDSUI_TYPE as ap, USDT_TYPE as aq, WAL_TYPE as ar, WBTC_TYPE as as, type X402ActivityPayload as at, type ZkLoginProof as au, ZkLoginSigner as av, activeCapForLevel as aw, buildCreateJobTx as ax, buildDeliverJobTx as ay, buildRefundJobTx as az, type ActivityReportConfig as b, type Opening as b$, getJob as b0, getJobSpec as b1, invalidSendAssetMessage as b2, jobActionsFor as b3, listServices as b4, mapMoveAbortCode as b5, mapWalletError as b6, meetsClaimPolicy as b7, meetsMinSellerLevel as b8, mistToSui as b9, type SwapResult as bA, type SwapQuoteResult as bB, type PaymentRequest as bC, type SuiCoreClient as bD, type SponsoredCoinMergeCache as bE, type SendableAsset as bF, A2A_ESCROW_LATEST_PACKAGE_ID as bG, A2A_ESCROW_OPENING_PACKAGE_ID as bH, A2A_ESCROW_PACKAGE_V10_ID as bI, A2A_ESCROW_PACKAGE_V2_ID as bJ, A2A_ESCROW_PACKAGE_V3_ID as bK, A2A_ESCROW_PACKAGE_V6_ID as bL, A2A_ESCROW_PACKAGE_V7_ID as bM, A2A_ESCROW_PACKAGE_V8_ID as bN, A2A_SCORE_BOARD_ID as bO, type ApiRouteListing as bP, CETUS_USDC_SUI_POOL as bQ, type CoinPage as bR, DEFAULT_GRPC_URL as bS, GASLESS_MIN_STABLE_AMOUNT as bT, GASLESS_STABLE_TYPES as bU, MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID as bV, MAINNET_A2A_ESCROW_OPENING_PACKAGE_ID as bW, MAINNET_A2A_ESCROW_PACKAGE_ID as bX, MAINNET_A2A_SCORE_BOARD_ID as bY, MAX_OPEN_WINDOW_MS as bZ, OPERATION_ASSETS as b_, parseSuiRpcTx as ba, payWithX402 as bb, preflightClaimOpening as bc, preflightCreateJob as bd, preflightFail as be, preflightPay as bf, preflightSend as bg, preflightSwap as bh, putJobSpec as bi, rawToStable as bj, rawToUsdc as bk, refineLendingLabel as bl, reportX402Activity as bm, resolveSymbol as bn, resolveTokenType as bo, sellerLevel as bp, sellerLevelLabel as bq, stableToRaw as br, suiToMist as bs, truncateAddress as bt, usdcToRaw as bu, validateAddress as bv, verifyJobForSeller as bw, type T2000Options as bx, type X402Probe as by, type SerializedCetusRoute as bz, type AgentScore as c, type OpeningTerms as c0, type Operation as c1, SENDABLE_ASSETS as c2, type SelectAndSplitResult as c3, type SerializedCetusRoutePath as c4, type SerializedRouterDataV3 as c5, type ServicesRail as c6, type ServicesRow as c7, addSendToTx as c8, addSwapToTx as c9, selectSuiCoin as cA, serializeCetusRoute as cB, simulateTransaction as cC, throwIfSimulationFailed as cD, verifyCetusRouteCoinMatch as cE, assertAllowedAsset as ca, assertBuyerRequirements as cb, buildCancelOpeningTx as cc, buildClaimOpeningTx as cd, buildCreateEmptyScoreTx as ce, buildCreateOpeningTx as cf, buildDeclineJobTx as cg, buildRefundUnclaimedTx as ch, buildSubmitFirstReviewTx as ci, buildSubmitReviewTx as cj, deserializeCetusRoute as ck, fetchAllCoins as cl, getCoinMeta as cm, getOpening as cn, getSuiClient as co, getSuiGrpcClient as cp, isAllowedAsset as cq, isCetusRouteFresh as cr, isInRegistry as cs, normalizeAsset as ct, normalizeCoinType as cu, preflightCreateOpening as cv, probeX402 as cw, queryHistory as cx, queryTransaction as cy, selectAndSplitCoin as cz, COIN_REGISTRY as d, type ClassifyBalanceChange as e, type ClassifyResult as f, type CoinMeta as g, DEFAULT_COMMERCE_API_BASE as h, DEFAULT_NETWORK as i, type DepositInfo as j, type ExtractedTransfer as k, type Job as l, type JobState as m, type JobTerms as n, type JobVerification as o, KeypairSigner as p, LEVEL4_MAX_NO_DELIVERY as q, LEVEL4_MIN_REVIEWS as r, LOFI_TYPE as s, MAX_DELIVER_HORIZON_MS as t, MAX_JOB_USDC as u, MAX_REVIEW_WINDOW_MS as v, MIN_JOB_USDC as w, MIST_PER_SUI as x, NO_DELIVERY_REGRESSION_FLOOR as y, OPENING_CLAIM_POLICY_ANY_ACTIVE as z };
|
|
@@ -1491,11 +1491,17 @@ declare const MAINNET_A2A_ESCROW_PACKAGE_ID = "0x358a819c1c016e2cc84ef5fbea81cba
|
|
|
1491
1491
|
declare const A2A_ESCROW_PACKAGE_ID: string;
|
|
1492
1492
|
/** The shared `FeeConfig` object every escrow entry reads (mainnet). */
|
|
1493
1493
|
declare const A2A_ESCROW_FEE_CONFIG_ID: string;
|
|
1494
|
-
/**
|
|
1495
|
-
*
|
|
1496
|
-
*
|
|
1497
|
-
* v4 upgrade
|
|
1498
|
-
|
|
1494
|
+
/** Job-value cap in USDC — the AdminCap-set LIVE max, mirrored for the
|
|
1495
|
+
* preflight's human error (S.1191, reputation v2 Phase B). On-chain SSOT is
|
|
1496
|
+
* the `FeeConfig` max-amount DF (`set_max_job_amount`, package hard ceiling
|
|
1497
|
+
* 100 since the S.981 v4 upgrade); the Move DEFAULT is still 50, so until
|
|
1498
|
+
* the founder runs `set_max_job_amount(100_000_000)` a >$50 create passes
|
|
1499
|
+
* this preflight and aborts on-chain (`EAmountTooLarge`) — ship both in the
|
|
1500
|
+
* same window (RUNBOOK_S1191_MAX_JOB_100). The no-arbitration reject-split
|
|
1501
|
+
* stays the dispute model at every size (SPEC_A2A_ESCROW §2). Every
|
|
1502
|
+
* consumer (CLI, console, Connect) must import this — never copy the
|
|
1503
|
+
* number. */
|
|
1504
|
+
declare const MAX_JOB_USDC = 100;
|
|
1499
1505
|
/** Job-value floor in USDC — the CURRENT contract-configured minimum, not an
|
|
1500
1506
|
* immutable code fact (S.1053, founder 2026-08-15: one-cent micro-work).
|
|
1501
1507
|
* On-chain SSOT is the live `FeeConfig` min-amount DF (AdminCap
|
|
@@ -1585,8 +1591,16 @@ declare function buildRefundJobTx(jobId: string, v2: {
|
|
|
1585
1591
|
}): Transaction;
|
|
1586
1592
|
/** Seller posts the delivery commitment (hex hash) before the deadline. */
|
|
1587
1593
|
declare function buildDeliverJobTx(jobId: string, deliveryHash: string): Transaction;
|
|
1588
|
-
/** Buyer accepts (or anyone, once the review window lapsed) → funds to
|
|
1589
|
-
|
|
1594
|
+
/** Buyer accepts (or anyone, once the review window lapsed) → funds to
|
|
1595
|
+
* seller. S.1192: settles through `reputation::release_v2` — the
|
|
1596
|
+
* SELLER's score (derive with `deriveAgentScoreId`) rides along so a
|
|
1597
|
+
* board-claimed job frees its active seat with the money. Hire jobs pass
|
|
1598
|
+
* the same score; the contract's `ClaimedJobKey` marker decides whether
|
|
1599
|
+
* a decrement lands. A scoreless seller needs the `create_empty_score`
|
|
1600
|
+
* precursor first (same hop as reject/refund since S.1063). */
|
|
1601
|
+
declare function buildReleaseJobTx(jobId: string, v2: {
|
|
1602
|
+
sellerScoreId: string;
|
|
1603
|
+
}): Transaction;
|
|
1590
1604
|
/** Fetch + parse a `Job` shared object. Throws `RPC_ERROR` when the id
|
|
1591
1605
|
* doesn't resolve to an a2a_escrow Job. */
|
|
1592
1606
|
declare function getJob(client: SuiCoreClient, jobId: string): Promise<Job>;
|
|
@@ -1627,8 +1641,10 @@ declare function verifyJobForSeller({ client, jobId, seller, minAmountUsdc, minR
|
|
|
1627
1641
|
* target the LATEST published id — the original id (types, Job verbs) is
|
|
1628
1642
|
* unchanged.
|
|
1629
1643
|
*/
|
|
1630
|
-
/** The LATEST published `a2a_escrow` package id on MAINNET (
|
|
1631
|
-
* 2026-08-
|
|
1644
|
+
/** The LATEST published `a2a_escrow` package id on MAINNET (v10 upgrade
|
|
1645
|
+
* 2026-08-24, S.1192 — seller levels + active caps, VERSION 6 cutover:
|
|
1646
|
+
* claim_v2/claim_proven_v2/create_open_v2/release_v2;
|
|
1647
|
+
* v9 = S.1064 review on REJECTED, additive; v8 = outcome
|
|
1632
1648
|
* counters (S.1063); v7 = distinct buyers (S.1062);
|
|
1633
1649
|
* v6 = S.1054 — `reputation` module + `opening::claim_proven`;
|
|
1634
1650
|
* v5 locked open reject at 10000 (S.1019); v4 added amount bounds
|
|
@@ -1641,9 +1657,9 @@ declare function verifyJobForSeller({ client, jobId, seller, minAmountUsdc, minR
|
|
|
1641
1657
|
* upgrade + `migrate` cutover is a ONE-VALUE change here. The original id
|
|
1642
1658
|
* (`MAINNET_A2A_ESCROW_PACKAGE_ID` in job.ts) remains the anchor for type
|
|
1643
1659
|
* strings, event filters, and object-type queries — those never move. */
|
|
1644
|
-
declare const MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID = "
|
|
1660
|
+
declare const MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID = "0x5c90ec07da01bf885a4e65247ce98b75ab8a042cd965d30d7213856d579c4afa";
|
|
1645
1661
|
/** Back-compat name for the latest id (pre-S.981 consumers import this). */
|
|
1646
|
-
declare const MAINNET_A2A_ESCROW_OPENING_PACKAGE_ID = "
|
|
1662
|
+
declare const MAINNET_A2A_ESCROW_OPENING_PACKAGE_ID = "0x5c90ec07da01bf885a4e65247ce98b75ab8a042cd965d30d7213856d579c4afa";
|
|
1647
1663
|
/** Env-overridable latest id for testnet/dev (NOT a trust anchor). A fresh
|
|
1648
1664
|
* dev publish has original == latest, so `A2A_ESCROW_PACKAGE_ID` alone is
|
|
1649
1665
|
* honored as the fallback override. */
|
|
@@ -1680,6 +1696,12 @@ declare const A2A_ESCROW_PACKAGE_V7_ID = "0x4249f0b242c47c7baf0c37304365bc4bbe76
|
|
|
1680
1696
|
* RejectedAfterDeliveryKey/NoDeliveryKey/AsBuyerRejectedKey DF key types.
|
|
1681
1697
|
* A DEFINING-id anchor like V2/V3/V6/V7 — never moves again. */
|
|
1682
1698
|
declare const A2A_ESCROW_PACKAGE_V8_ID = "0x1595b80bc05a03607f3908702c866ca63cf961025b4263b5ecbe419e07f8ff31";
|
|
1699
|
+
/** v10 (S.1192, upgrade 1Am9J7H5… 2026-08-24) — defining id for the
|
|
1700
|
+
* seller-level surface: the ActiveSellerJobsChanged/OpeningCreatedV2
|
|
1701
|
+
* events and the ActiveSellerJobsKey/MinSellerLevelKey/TierActiveCapKey/
|
|
1702
|
+
* ClaimedJobKey DF key types. A DEFINING-id anchor like V2/V3/V6/V7/V8 —
|
|
1703
|
+
* never moves again, even when LATEST does. */
|
|
1704
|
+
declare const A2A_ESCROW_PACKAGE_V10_ID: string;
|
|
1683
1705
|
/** Default claim policy: any ACTIVE registered Agent ID ($0 claim, FCFS). */
|
|
1684
1706
|
declare const OPENING_CLAIM_POLICY_ANY_ACTIVE = 0;
|
|
1685
1707
|
/** S.1054 — Proven: claimer needs ≥ PROVEN_MIN_REVIEWS on-chain reviews
|
|
@@ -1708,11 +1730,17 @@ interface OpeningTerms {
|
|
|
1708
1730
|
* 2 Proven · 4★+. Never changes HOW a claim works: still FCFS, still
|
|
1709
1731
|
* $0. 3+ aborts on-chain until defined. */
|
|
1710
1732
|
claimPolicy?: number;
|
|
1733
|
+
/** S.1192 — minimum EFFECTIVE seller level to claim: 0 none (default),
|
|
1734
|
+
* 1..4 (Level floor, independent of claimPolicy — a post can require
|
|
1735
|
+
* Proven · 4★+ AND Level 2+, or either alone). Stored as a DF on the
|
|
1736
|
+
* Opening, enforced on-chain at claim. */
|
|
1737
|
+
minSellerLevel?: number;
|
|
1711
1738
|
}
|
|
1712
1739
|
/** Every claim policy `create_open` accepts (S.1054). */
|
|
1713
1740
|
declare const OPENING_CLAIM_POLICIES: readonly [0, 1, 2];
|
|
1714
1741
|
/** Client-side preflight — mirrors the contract's `create_open` bounds plus
|
|
1715
|
-
* the
|
|
1742
|
+
* the `MAX_JOB_USDC` client cap (the contract is value-neutral, same as
|
|
1743
|
+
* Job). */
|
|
1716
1744
|
declare function preflightCreateOpening(terms: OpeningTerms): {
|
|
1717
1745
|
valid: boolean;
|
|
1718
1746
|
code?: 'INVALID_AMOUNT' | 'INVALID_INPUT';
|
|
@@ -1728,15 +1756,21 @@ declare function buildCreateOpeningTx({ client, buyer, terms, }: {
|
|
|
1728
1756
|
* `registryId` = the shared `agent_id::registry::Registry` object
|
|
1729
1757
|
* (callers pass `AGENT_ID_REGISTRY_ID` from `@t2000/id` — single source).
|
|
1730
1758
|
*
|
|
1731
|
-
* S.
|
|
1732
|
-
* claimer's own `AgentScore` (compute with `deriveAgentScoreId`)
|
|
1733
|
-
*
|
|
1734
|
-
*
|
|
1735
|
-
*
|
|
1736
|
-
|
|
1759
|
+
* S.1192: EVERY claim — policy 0 included — passes `scoreId`, the
|
|
1760
|
+
* claimer's own `AgentScore` (compute with `deriveAgentScoreId`): the
|
|
1761
|
+
* active-cap + level-floor gates read it and the in-flight counter
|
|
1762
|
+
* writes to it. A claimer with no score yet runs the permissionless
|
|
1763
|
+
* `buildCreateEmptyScoreTx` as its own PRECURSOR tx first (a shared
|
|
1764
|
+
* object cannot be created and used in one tx — the S.1063 sponsored
|
|
1765
|
+
* precursor hop; an empty score grants nothing and reads as Level 1).
|
|
1766
|
+
* `claimPolicy` (the OPENING's policy, from the board row or
|
|
1767
|
+
* `getOpening`) routes 0 → `claim_v2`, 1/2 → `claim_proven_v2`.
|
|
1768
|
+
* Preflight with `preflightClaimOpening` first for English refusals. */
|
|
1769
|
+
declare function buildClaimOpeningTx({ openingId, registryId, scoreId, claimPolicy, }: {
|
|
1737
1770
|
openingId: string;
|
|
1738
1771
|
registryId: string;
|
|
1739
|
-
scoreId
|
|
1772
|
+
scoreId: string;
|
|
1773
|
+
claimPolicy?: number;
|
|
1740
1774
|
}): Transaction;
|
|
1741
1775
|
/** Buyer withdraws an unclaimed opening — fee-free, any time. */
|
|
1742
1776
|
declare function buildCancelOpeningTx(openingId: string): Transaction;
|
|
@@ -1754,6 +1788,10 @@ interface Opening {
|
|
|
1754
1788
|
reviewWindowMs: number;
|
|
1755
1789
|
rejectSplitBps: number;
|
|
1756
1790
|
claimPolicy: number;
|
|
1791
|
+
/** S.1192 — minimum EFFECTIVE seller level to claim (0 = none; DF read,
|
|
1792
|
+
* best-effort: 0 for every pre-S.1192 opening, when the V10 pin isn't
|
|
1793
|
+
* set yet, or on a read hiccup — Move is the enforcement). */
|
|
1794
|
+
minSellerLevel: number;
|
|
1757
1795
|
createdAtMs: number;
|
|
1758
1796
|
}
|
|
1759
1797
|
/** Read one Opening by object id (null = gone: claimed/cancelled/refunded). */
|
|
@@ -1794,6 +1832,20 @@ declare const PROVEN_MIN_AVG_STARS_X10 = 40;
|
|
|
1794
1832
|
/** Star bounds on a review. */
|
|
1795
1833
|
declare const REVIEW_MIN_STARS = 1;
|
|
1796
1834
|
declare const REVIEW_MAX_STARS = 5;
|
|
1835
|
+
/** A seller's capacity label, 1-indexed (buyer copy: "Level 1"…"Level 4").
|
|
1836
|
+
* Separate from claim policy — an opening can require both. */
|
|
1837
|
+
type SellerLevel = 1 | 2 | 3 | 4;
|
|
1838
|
+
/** Default in-flight claimed-job caps per level (index = level − 1).
|
|
1839
|
+
* Package defaults — the LIVE values are AdminCap-tunable FeeConfig DFs;
|
|
1840
|
+
* the chain is the enforcement, these feed display + preflight. */
|
|
1841
|
+
declare const SELLER_LEVEL_ACTIVE_CAPS: readonly number[];
|
|
1842
|
+
/** `noDelivery >= floor` regresses the EFFECTIVE level to 1 (default;
|
|
1843
|
+
* AdminCap-tunable on-chain). */
|
|
1844
|
+
declare const NO_DELIVERY_REGRESSION_FLOOR = 3;
|
|
1845
|
+
/** Level 4 additionally needs ≥ this many reviews… */
|
|
1846
|
+
declare const LEVEL4_MIN_REVIEWS = 20;
|
|
1847
|
+
/** …and ≤ this many no-delivery outcomes. */
|
|
1848
|
+
declare const LEVEL4_MAX_NO_DELIVERY = 2;
|
|
1797
1849
|
/** Compute the deterministic `AgentScore` object id for an agent — pure
|
|
1798
1850
|
* local math (`sui::derived_object`), no RPC. The object may not exist
|
|
1799
1851
|
* yet: no score object ⇔ zero on-chain reviews. */
|
|
@@ -1815,6 +1867,9 @@ interface AgentScore {
|
|
|
1815
1867
|
rejectedAfterDelivery: number;
|
|
1816
1868
|
noDelivery: number;
|
|
1817
1869
|
asBuyerRejected: number;
|
|
1870
|
+
/** S.1192 — live board-claimed jobs in flight (funded + delivered).
|
|
1871
|
+
* 0 when the DF is absent (soft start) or pre-V10-pin. */
|
|
1872
|
+
activeSellerJobs: number;
|
|
1818
1873
|
}
|
|
1819
1874
|
/** Read an agent's score (null = no reviews yet — the lazy-create means the
|
|
1820
1875
|
* object simply doesn't exist). */
|
|
@@ -1839,6 +1894,35 @@ declare function claimPolicyLabel(claimPolicy: number): string;
|
|
|
1839
1894
|
/** One English sentence for a Proven refusal — CLI/MCP/prepare all reuse
|
|
1840
1895
|
* this instead of surfacing a raw Move abort. */
|
|
1841
1896
|
declare function claimPolicyRequirement(claimPolicy: number): string;
|
|
1897
|
+
/** Computed Level 1..4 from on-chain aggregates (`null` score = Level 1,
|
|
1898
|
+
* the empty-score default). Reuses the SAME predicates the claim
|
|
1899
|
+
* policies read — one SSOT for every threshold. */
|
|
1900
|
+
declare function sellerLevel(score: AgentScore | null): SellerLevel;
|
|
1901
|
+
/** The level capacity actually gates on: `noDelivery >= floor` regresses
|
|
1902
|
+
* to Level 1 regardless of stars (reliability caps capacity without
|
|
1903
|
+
* touching star math). Uses the package-default floor — the live value
|
|
1904
|
+
* is an AdminCap DF; the chain is the enforcement. */
|
|
1905
|
+
declare function effectiveSellerLevel(score: AgentScore | null): SellerLevel;
|
|
1906
|
+
/** Default active-job cap for a level (the live cap is AdminCap-tunable
|
|
1907
|
+
* on-chain; this feeds display + preflight). */
|
|
1908
|
+
declare function activeCapForLevel(level: SellerLevel): number;
|
|
1909
|
+
/** Whether this seller clears an opening's `minSellerLevel` floor — on
|
|
1910
|
+
* the EFFECTIVE level, matching the Move gate. */
|
|
1911
|
+
declare function meetsMinSellerLevel(score: AgentScore | null, minLevel: number): boolean;
|
|
1912
|
+
/** Human label — every surface uses this, never the raw number. */
|
|
1913
|
+
declare function sellerLevelLabel(level: number): string;
|
|
1914
|
+
/** English preflight for a claim (S.1192) — refuse BEFORE the sponsored
|
|
1915
|
+
* rail instead of surfacing a raw Move abort. Checks, in gate order:
|
|
1916
|
+
* claim policy (S.1054), the active-job cap on the claimer's effective
|
|
1917
|
+
* level, then the opening's level floor. Capacity language, not ban
|
|
1918
|
+
* language — a capped seller finishes work and claims again. */
|
|
1919
|
+
declare function preflightClaimOpening(score: AgentScore | null, opening: {
|
|
1920
|
+
claimPolicy: number;
|
|
1921
|
+
minSellerLevel?: number;
|
|
1922
|
+
}): {
|
|
1923
|
+
valid: boolean;
|
|
1924
|
+
error?: string;
|
|
1925
|
+
};
|
|
1842
1926
|
/** Review a released job when the seller ALREADY has a score object —
|
|
1843
1927
|
* also the star-EDIT path (same buyer re-rating the same job). */
|
|
1844
1928
|
declare function buildSubmitReviewTx({ scoreId, jobId, stars, }: {
|
|
@@ -1953,4 +2037,4 @@ declare function putJobSpec(base: string, content: string): Promise<string>;
|
|
|
1953
2037
|
* the store is untrusted; the chain hash is the authority). */
|
|
1954
2038
|
declare function getJobSpec(base: string, hash: string): Promise<string>;
|
|
1955
2039
|
|
|
1956
|
-
export {
|
|
2040
|
+
export { STABLE_ASSETS as $, A2A_ESCROW_FEE_CONFIG_ID as A, type BalanceResponse as B, CLOCK_ID as C, DEFAULT_ACTIVITY_REPORT_URL as D, ETH_TYPE as E, OPENING_CLAIM_POLICY_PROVEN as F, GAS_RESERVE_MIN as G, OPENING_CLAIM_POLICY_PROVEN_4STAR as H, IKA_TYPE as I, JOB_STATES as J, KNOWN_TARGETS as K, LABEL_PATTERNS as L, MANIFEST_TYPE as M, NAVX_TYPE as N, OPENING_CLAIM_POLICIES as O, OVERLAY_FEE_RATE as P, type OverlayFeeConfig as Q, PREFLIGHT_MAX_AMOUNT as R, PREFLIGHT_OK as S, PROVEN_MIN_AVG_STARS_X10 as T, PROVEN_MIN_REVIEWS as U, type PayOptions as V, type PayResult as W, type PreflightResult as X, REVIEW_MAX_STARS as Y, REVIEW_MIN_STARS as Z, SELLER_LEVEL_ACTIVE_CAPS as _, A2A_ESCROW_PACKAGE_ID as a, getDecimalsForCoinType as a$, SUI_DECIMALS as a0, SUI_TYPE as a1, SUPPORTED_ASSETS as a2, type SellerLevel as a3, type SendAssetClass as a4, type SendResult as a5, type ServiceListing as a6, type SimulationResult as a7, type StableAsset as a8, type SuiHolding as a9, buildRejectJobTx as aA, buildReleaseJobTx as aB, buildSendTx as aC, buildSwapTx as aD, checkPositiveAmount as aE, checkSuiAddress as aF, claimPolicyLabel as aG, claimPolicyRequirement as aH, classifyAction as aI, classifyLabel as aJ, classifySendAsset as aK, classifyTransaction as aL, deriveAgentScoreId as aM, effectiveSellerLevel as aN, executeTx as aO, extractAllUserLegs as aP, extractTransferDetails as aQ, extractTxCommands as aR, extractTxSender as aS, fallbackLabel as aT, fetchService as aU, findSwapRoute as aV, formatAssetAmount as aW, formatSui as aX, formatUsd as aY, getAgentScore as aZ, getDecimals as a_, type SuiRpcTxBlock as aa, type SupportedAsset as ab, type SwapRouteResult as ac, T2000Error as ad, type T2000ErrorCode as ae, type T2000ErrorData as af, T2000_OVERLAY_FEE_WALLET as ag, TOKEN_MAP as ah, type TransactionLeg as ai, type TransactionRecord as aj, type TransactionSigner as ak, type TxDirection as al, USDC_DECIMALS as am, USDC_TYPE as an, USDE_TYPE as ao, USDSUI_TYPE as ap, USDT_TYPE as aq, WAL_TYPE as ar, WBTC_TYPE as as, type X402ActivityPayload as at, type ZkLoginProof as au, ZkLoginSigner as av, activeCapForLevel as aw, buildCreateJobTx as ax, buildDeliverJobTx as ay, buildRefundJobTx as az, type ActivityReportConfig as b, type Opening as b$, getJob as b0, getJobSpec as b1, invalidSendAssetMessage as b2, jobActionsFor as b3, listServices as b4, mapMoveAbortCode as b5, mapWalletError as b6, meetsClaimPolicy as b7, meetsMinSellerLevel as b8, mistToSui as b9, type SwapResult as bA, type SwapQuoteResult as bB, type PaymentRequest as bC, type SuiCoreClient as bD, type SponsoredCoinMergeCache as bE, type SendableAsset as bF, A2A_ESCROW_LATEST_PACKAGE_ID as bG, A2A_ESCROW_OPENING_PACKAGE_ID as bH, A2A_ESCROW_PACKAGE_V10_ID as bI, A2A_ESCROW_PACKAGE_V2_ID as bJ, A2A_ESCROW_PACKAGE_V3_ID as bK, A2A_ESCROW_PACKAGE_V6_ID as bL, A2A_ESCROW_PACKAGE_V7_ID as bM, A2A_ESCROW_PACKAGE_V8_ID as bN, A2A_SCORE_BOARD_ID as bO, type ApiRouteListing as bP, CETUS_USDC_SUI_POOL as bQ, type CoinPage as bR, DEFAULT_GRPC_URL as bS, GASLESS_MIN_STABLE_AMOUNT as bT, GASLESS_STABLE_TYPES as bU, MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID as bV, MAINNET_A2A_ESCROW_OPENING_PACKAGE_ID as bW, MAINNET_A2A_ESCROW_PACKAGE_ID as bX, MAINNET_A2A_SCORE_BOARD_ID as bY, MAX_OPEN_WINDOW_MS as bZ, OPERATION_ASSETS as b_, parseSuiRpcTx as ba, payWithX402 as bb, preflightClaimOpening as bc, preflightCreateJob as bd, preflightFail as be, preflightPay as bf, preflightSend as bg, preflightSwap as bh, putJobSpec as bi, rawToStable as bj, rawToUsdc as bk, refineLendingLabel as bl, reportX402Activity as bm, resolveSymbol as bn, resolveTokenType as bo, sellerLevel as bp, sellerLevelLabel as bq, stableToRaw as br, suiToMist as bs, truncateAddress as bt, usdcToRaw as bu, validateAddress as bv, verifyJobForSeller as bw, type T2000Options as bx, type X402Probe as by, type SerializedCetusRoute as bz, type AgentScore as c, type OpeningTerms as c0, type Operation as c1, SENDABLE_ASSETS as c2, type SelectAndSplitResult as c3, type SerializedCetusRoutePath as c4, type SerializedRouterDataV3 as c5, type ServicesRail as c6, type ServicesRow as c7, addSendToTx as c8, addSwapToTx as c9, selectSuiCoin as cA, serializeCetusRoute as cB, simulateTransaction as cC, throwIfSimulationFailed as cD, verifyCetusRouteCoinMatch as cE, assertAllowedAsset as ca, assertBuyerRequirements as cb, buildCancelOpeningTx as cc, buildClaimOpeningTx as cd, buildCreateEmptyScoreTx as ce, buildCreateOpeningTx as cf, buildDeclineJobTx as cg, buildRefundUnclaimedTx as ch, buildSubmitFirstReviewTx as ci, buildSubmitReviewTx as cj, deserializeCetusRoute as ck, fetchAllCoins as cl, getCoinMeta as cm, getOpening as cn, getSuiClient as co, getSuiGrpcClient as cp, isAllowedAsset as cq, isCetusRouteFresh as cr, isInRegistry as cs, normalizeAsset as ct, normalizeCoinType as cu, preflightCreateOpening as cv, probeX402 as cw, queryHistory as cx, queryTransaction as cy, selectAndSplitCoin as cz, COIN_REGISTRY as d, type ClassifyBalanceChange as e, type ClassifyResult as f, type CoinMeta as g, DEFAULT_COMMERCE_API_BASE as h, DEFAULT_NETWORK as i, type DepositInfo as j, type ExtractedTransfer as k, type Job as l, type JobState as m, type JobTerms as n, type JobVerification as o, KeypairSigner as p, LEVEL4_MAX_NO_DELIVERY as q, LEVEL4_MIN_REVIEWS as r, LOFI_TYPE as s, MAX_DELIVER_HORIZON_MS as t, MAX_JOB_USDC as u, MAX_REVIEW_WINDOW_MS as v, MIN_JOB_USDC as w, MIST_PER_SUI as x, NO_DELIVERY_REGRESSION_FLOOR as y, OPENING_CLAIM_POLICY_ANY_ACTIVE as z };
|