@t2000/sdk 10.35.1 → 10.36.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/README.md +2 -0
- package/dist/browser.cjs +11 -2
- package/dist/browser.d.cts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +11 -2
- package/dist/{commerce-9K049Ggc.d.cts → commerce-C0B4y1uP.d.cts} +36 -5
- package/dist/{commerce-9K049Ggc.d.ts → commerce-C0B4y1uP.d.ts} +36 -5
- package/dist/index.cjs +42 -363
- package/dist/index.d.cts +32 -83
- package/dist/index.d.ts +32 -83
- package/dist/index.js +43 -363
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -33,6 +33,8 @@ USDC + USDsui sends and x402 USDC payments are gasless (Sui foundation's `0x2::b
|
|
|
33
33
|
|
|
34
34
|
The SDK also ships the **escrow-job builders** for agent-to-agent deliverable work (`t2000::a2a_escrow` on Sui mainnet): `buildCreateJobTx` / `buildDeliverJobTx` / `buildReleaseJobTx` / `buildRejectJobTx` / `buildRefundJobTx`, plus `getJob`, `jobActionsFor`, and `verifyJobForSeller`. 5% protocol fee on the seller payout at settlement; refunds fee-free.
|
|
35
35
|
|
|
36
|
+
The **open board** reads are public: `listOpenJobs(base, { status, query, limit, offset })` returns ONE page — `{ total, returned, truncated, nextOffset?, openJobs }` — never a bare list, so check `truncated` before treating a page as the whole board. Board rows carry a one-line `briefPreview`, not the task; the full `brief` is on the detail read, `getOpenJob(base, id)`.
|
|
37
|
+
|
|
36
38
|
## Full reference
|
|
37
39
|
|
|
38
40
|
Factory methods, full API surface, supported assets, Cetus swap routing, x402 payments, error handling, architecture →
|
package/dist/browser.cjs
CHANGED
|
@@ -1719,15 +1719,24 @@ async function listServices(base, filter = {}) {
|
|
|
1719
1719
|
if (filter.agent) params.set("agent", filter.agent);
|
|
1720
1720
|
if (filter.query) params.set("q", filter.query);
|
|
1721
1721
|
if (filter.category) params.set("category", filter.category);
|
|
1722
|
+
if (filter.rail) params.set("rail", filter.rail);
|
|
1722
1723
|
if (filter.limit !== void 0) params.set("limit", String(filter.limit));
|
|
1723
1724
|
if (filter.offset !== void 0) params.set("offset", String(filter.offset));
|
|
1724
1725
|
const qs = params.size > 0 ? `?${params.toString()}` : "";
|
|
1725
1726
|
const json = await commerceFetchJson(`${base}/services${qs}`);
|
|
1726
1727
|
const services = json.services ?? [];
|
|
1727
|
-
return {
|
|
1728
|
+
return {
|
|
1729
|
+
total: json.total ?? services.length,
|
|
1730
|
+
hireTotal: json.hireTotal,
|
|
1731
|
+
apiTotal: json.apiTotal,
|
|
1732
|
+
services
|
|
1733
|
+
};
|
|
1728
1734
|
}
|
|
1729
1735
|
async function fetchService(base, agent, slug) {
|
|
1730
|
-
const { services
|
|
1736
|
+
const { services } = await listServices(base, { agent });
|
|
1737
|
+
const rows = services.filter(
|
|
1738
|
+
(o) => o.kind !== "api"
|
|
1739
|
+
);
|
|
1731
1740
|
const match = rows.find((o) => o.slug === slug.trim().toLowerCase());
|
|
1732
1741
|
if (!match) {
|
|
1733
1742
|
const live = rows.filter((o) => !o.retired).map((o) => o.slug);
|
package/dist/browser.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, c as AgentScore, B as BalanceResponse, C as CLOCK_ID, d as COIN_REGISTRY, e as ClassifyBalanceChange, f as ClassifyResult, g as CoinMeta, D as DEFAULT_ACTIVITY_REPORT_URL, h as DEFAULT_COMMERCE_API_BASE, i as DEFAULT_NETWORK, j as DepositInfo, E as ETH_TYPE, k as ExtractedTransfer, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, l as Job, m as JobState, n as JobTerms, o as JobVerification, K as KNOWN_TARGETS, p as KeypairSigner, L as LABEL_PATTERNS, q as LOFI_TYPE, M as MANIFEST_TYPE, r as MAX_DELIVER_HORIZON_MS, s as MAX_JOB_USDC, t as MAX_REVIEW_WINDOW_MS, u as MIN_JOB_USDC, v as MIST_PER_SUI, N as NAVX_TYPE, O as OPENING_CLAIM_POLICIES, w as OPENING_CLAIM_POLICY_ANY_ACTIVE, x as OPENING_CLAIM_POLICY_PROVEN, y as OPENING_CLAIM_POLICY_PROVEN_4STAR, z as OVERLAY_FEE_RATE, F as OverlayFeeConfig, P as PREFLIGHT_MAX_AMOUNT, H as PREFLIGHT_OK, Q as PROVEN_MIN_AVG_STARS_X10, R as PROVEN_MIN_REVIEWS, S as PayOptions, T as PayResult, U as PreflightResult, V as REVIEW_MAX_STARS, W as REVIEW_MIN_STARS, X as STABLE_ASSETS, Y as SUI_DECIMALS, Z as SUI_TYPE, _ as SUPPORTED_ASSETS, $ as SendAssetClass, a0 as SendResult, a1 as ServiceListing, a2 as SimulationResult, a3 as StableAsset, a4 as SuiHolding, a5 as SuiRpcTxBlock, a6 as SupportedAsset, a7 as SwapRouteResult, a8 as T2000Error, a9 as T2000ErrorCode, aa as T2000ErrorData, ab as T2000_OVERLAY_FEE_WALLET, ac as TOKEN_MAP, ad as TransactionLeg, ae as TransactionRecord, af as TransactionSigner, ag as TxDirection, ah as USDC_DECIMALS, ai as USDC_TYPE, aj as USDE_TYPE, ak as USDSUI_TYPE, al as USDT_TYPE, am as WAL_TYPE, an as WBTC_TYPE, ao as X402ActivityPayload, ap as ZkLoginProof, aq as ZkLoginSigner, ar as buildCreateJobTx, as as buildDeliverJobTx, at as buildRefundJobTx, au as buildRejectJobTx, av as buildReleaseJobTx, aw as buildSendTx, ax as buildSwapTx, ay as checkPositiveAmount, az as checkSuiAddress, aA as claimPolicyLabel, aB as claimPolicyRequirement, aC as classifyAction, aD as classifyLabel, aE as classifySendAsset, aF as classifyTransaction, aG as deriveAgentScoreId, aH as executeTx, aI as extractAllUserLegs, aJ as extractTransferDetails, aK as extractTxCommands, aL as extractTxSender, aM as fallbackLabel, aN as fetchService, aO as findSwapRoute, aP as formatAssetAmount, aQ as formatSui, aR as formatUsd, aS as getAgentScore, aT as getDecimals, aU as getDecimalsForCoinType, aV as getJob, aW as getJobSpec, aX as invalidSendAssetMessage, aY as jobActionsFor, aZ as listServices, a_ as mapMoveAbortCode, a$ as mapWalletError, b0 as meetsClaimPolicy, b1 as mistToSui, b2 as parseSuiRpcTx, b3 as payWithX402, b4 as preflightCreateJob, b5 as preflightFail, b6 as preflightPay, b7 as preflightSend, b8 as preflightSwap, b9 as putJobSpec, ba as rawToStable, bb as rawToUsdc, bc as refineLendingLabel, bd as reportX402Activity, be as resolveSymbol, bf as resolveTokenType, bg as stableToRaw, bh as suiToMist, bi as truncateAddress, bj as usdcToRaw, bk as validateAddress, bl as verifyJobForSeller } from './commerce-
|
|
1
|
+
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, c as AgentScore, B as BalanceResponse, C as CLOCK_ID, d as COIN_REGISTRY, e as ClassifyBalanceChange, f as ClassifyResult, g as CoinMeta, D as DEFAULT_ACTIVITY_REPORT_URL, h as DEFAULT_COMMERCE_API_BASE, i as DEFAULT_NETWORK, j as DepositInfo, E as ETH_TYPE, k as ExtractedTransfer, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, l as Job, m as JobState, n as JobTerms, o as JobVerification, K as KNOWN_TARGETS, p as KeypairSigner, L as LABEL_PATTERNS, q as LOFI_TYPE, M as MANIFEST_TYPE, r as MAX_DELIVER_HORIZON_MS, s as MAX_JOB_USDC, t as MAX_REVIEW_WINDOW_MS, u as MIN_JOB_USDC, v as MIST_PER_SUI, N as NAVX_TYPE, O as OPENING_CLAIM_POLICIES, w as OPENING_CLAIM_POLICY_ANY_ACTIVE, x as OPENING_CLAIM_POLICY_PROVEN, y as OPENING_CLAIM_POLICY_PROVEN_4STAR, z as OVERLAY_FEE_RATE, F as OverlayFeeConfig, P as PREFLIGHT_MAX_AMOUNT, H as PREFLIGHT_OK, Q as PROVEN_MIN_AVG_STARS_X10, R as PROVEN_MIN_REVIEWS, S as PayOptions, T as PayResult, U as PreflightResult, V as REVIEW_MAX_STARS, W as REVIEW_MIN_STARS, X as STABLE_ASSETS, Y as SUI_DECIMALS, Z as SUI_TYPE, _ as SUPPORTED_ASSETS, $ as SendAssetClass, a0 as SendResult, a1 as ServiceListing, a2 as SimulationResult, a3 as StableAsset, a4 as SuiHolding, a5 as SuiRpcTxBlock, a6 as SupportedAsset, a7 as SwapRouteResult, a8 as T2000Error, a9 as T2000ErrorCode, aa as T2000ErrorData, ab as T2000_OVERLAY_FEE_WALLET, ac as TOKEN_MAP, ad as TransactionLeg, ae as TransactionRecord, af as TransactionSigner, ag as TxDirection, ah as USDC_DECIMALS, ai as USDC_TYPE, aj as USDE_TYPE, ak as USDSUI_TYPE, al as USDT_TYPE, am as WAL_TYPE, an as WBTC_TYPE, ao as X402ActivityPayload, ap as ZkLoginProof, aq as ZkLoginSigner, ar as buildCreateJobTx, as as buildDeliverJobTx, at as buildRefundJobTx, au as buildRejectJobTx, av as buildReleaseJobTx, aw as buildSendTx, ax as buildSwapTx, ay as checkPositiveAmount, az as checkSuiAddress, aA as claimPolicyLabel, aB as claimPolicyRequirement, aC as classifyAction, aD as classifyLabel, aE as classifySendAsset, aF as classifyTransaction, aG as deriveAgentScoreId, aH as executeTx, aI as extractAllUserLegs, aJ as extractTransferDetails, aK as extractTxCommands, aL as extractTxSender, aM as fallbackLabel, aN as fetchService, aO as findSwapRoute, aP as formatAssetAmount, aQ as formatSui, aR as formatUsd, aS as getAgentScore, aT as getDecimals, aU as getDecimalsForCoinType, aV as getJob, aW as getJobSpec, aX as invalidSendAssetMessage, aY as jobActionsFor, aZ as listServices, a_ as mapMoveAbortCode, a$ as mapWalletError, b0 as meetsClaimPolicy, b1 as mistToSui, b2 as parseSuiRpcTx, b3 as payWithX402, b4 as preflightCreateJob, b5 as preflightFail, b6 as preflightPay, b7 as preflightSend, b8 as preflightSwap, b9 as putJobSpec, ba as rawToStable, bb as rawToUsdc, bc as refineLendingLabel, bd as reportX402Activity, be as resolveSymbol, bf as resolveTokenType, bg as stableToRaw, bh as suiToMist, bi as truncateAddress, bj as usdcToRaw, bk as validateAddress, bl as verifyJobForSeller } from './commerce-C0B4y1uP.cjs';
|
|
2
2
|
import '@mysten/sui/keypairs/ed25519';
|
|
3
3
|
import '@mysten/sui/grpc';
|
|
4
4
|
import '@mysten/sui/client';
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, c as AgentScore, B as BalanceResponse, C as CLOCK_ID, d as COIN_REGISTRY, e as ClassifyBalanceChange, f as ClassifyResult, g as CoinMeta, D as DEFAULT_ACTIVITY_REPORT_URL, h as DEFAULT_COMMERCE_API_BASE, i as DEFAULT_NETWORK, j as DepositInfo, E as ETH_TYPE, k as ExtractedTransfer, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, l as Job, m as JobState, n as JobTerms, o as JobVerification, K as KNOWN_TARGETS, p as KeypairSigner, L as LABEL_PATTERNS, q as LOFI_TYPE, M as MANIFEST_TYPE, r as MAX_DELIVER_HORIZON_MS, s as MAX_JOB_USDC, t as MAX_REVIEW_WINDOW_MS, u as MIN_JOB_USDC, v as MIST_PER_SUI, N as NAVX_TYPE, O as OPENING_CLAIM_POLICIES, w as OPENING_CLAIM_POLICY_ANY_ACTIVE, x as OPENING_CLAIM_POLICY_PROVEN, y as OPENING_CLAIM_POLICY_PROVEN_4STAR, z as OVERLAY_FEE_RATE, F as OverlayFeeConfig, P as PREFLIGHT_MAX_AMOUNT, H as PREFLIGHT_OK, Q as PROVEN_MIN_AVG_STARS_X10, R as PROVEN_MIN_REVIEWS, S as PayOptions, T as PayResult, U as PreflightResult, V as REVIEW_MAX_STARS, W as REVIEW_MIN_STARS, X as STABLE_ASSETS, Y as SUI_DECIMALS, Z as SUI_TYPE, _ as SUPPORTED_ASSETS, $ as SendAssetClass, a0 as SendResult, a1 as ServiceListing, a2 as SimulationResult, a3 as StableAsset, a4 as SuiHolding, a5 as SuiRpcTxBlock, a6 as SupportedAsset, a7 as SwapRouteResult, a8 as T2000Error, a9 as T2000ErrorCode, aa as T2000ErrorData, ab as T2000_OVERLAY_FEE_WALLET, ac as TOKEN_MAP, ad as TransactionLeg, ae as TransactionRecord, af as TransactionSigner, ag as TxDirection, ah as USDC_DECIMALS, ai as USDC_TYPE, aj as USDE_TYPE, ak as USDSUI_TYPE, al as USDT_TYPE, am as WAL_TYPE, an as WBTC_TYPE, ao as X402ActivityPayload, ap as ZkLoginProof, aq as ZkLoginSigner, ar as buildCreateJobTx, as as buildDeliverJobTx, at as buildRefundJobTx, au as buildRejectJobTx, av as buildReleaseJobTx, aw as buildSendTx, ax as buildSwapTx, ay as checkPositiveAmount, az as checkSuiAddress, aA as claimPolicyLabel, aB as claimPolicyRequirement, aC as classifyAction, aD as classifyLabel, aE as classifySendAsset, aF as classifyTransaction, aG as deriveAgentScoreId, aH as executeTx, aI as extractAllUserLegs, aJ as extractTransferDetails, aK as extractTxCommands, aL as extractTxSender, aM as fallbackLabel, aN as fetchService, aO as findSwapRoute, aP as formatAssetAmount, aQ as formatSui, aR as formatUsd, aS as getAgentScore, aT as getDecimals, aU as getDecimalsForCoinType, aV as getJob, aW as getJobSpec, aX as invalidSendAssetMessage, aY as jobActionsFor, aZ as listServices, a_ as mapMoveAbortCode, a$ as mapWalletError, b0 as meetsClaimPolicy, b1 as mistToSui, b2 as parseSuiRpcTx, b3 as payWithX402, b4 as preflightCreateJob, b5 as preflightFail, b6 as preflightPay, b7 as preflightSend, b8 as preflightSwap, b9 as putJobSpec, ba as rawToStable, bb as rawToUsdc, bc as refineLendingLabel, bd as reportX402Activity, be as resolveSymbol, bf as resolveTokenType, bg as stableToRaw, bh as suiToMist, bi as truncateAddress, bj as usdcToRaw, bk as validateAddress, bl as verifyJobForSeller } from './commerce-
|
|
1
|
+
export { A as A2A_ESCROW_FEE_CONFIG_ID, a as A2A_ESCROW_PACKAGE_ID, b as ActivityReportConfig, c as AgentScore, B as BalanceResponse, C as CLOCK_ID, d as COIN_REGISTRY, e as ClassifyBalanceChange, f as ClassifyResult, g as CoinMeta, D as DEFAULT_ACTIVITY_REPORT_URL, h as DEFAULT_COMMERCE_API_BASE, i as DEFAULT_NETWORK, j as DepositInfo, E as ETH_TYPE, k as ExtractedTransfer, G as GAS_RESERVE_MIN, I as IKA_TYPE, J as JOB_STATES, l as Job, m as JobState, n as JobTerms, o as JobVerification, K as KNOWN_TARGETS, p as KeypairSigner, L as LABEL_PATTERNS, q as LOFI_TYPE, M as MANIFEST_TYPE, r as MAX_DELIVER_HORIZON_MS, s as MAX_JOB_USDC, t as MAX_REVIEW_WINDOW_MS, u as MIN_JOB_USDC, v as MIST_PER_SUI, N as NAVX_TYPE, O as OPENING_CLAIM_POLICIES, w as OPENING_CLAIM_POLICY_ANY_ACTIVE, x as OPENING_CLAIM_POLICY_PROVEN, y as OPENING_CLAIM_POLICY_PROVEN_4STAR, z as OVERLAY_FEE_RATE, F as OverlayFeeConfig, P as PREFLIGHT_MAX_AMOUNT, H as PREFLIGHT_OK, Q as PROVEN_MIN_AVG_STARS_X10, R as PROVEN_MIN_REVIEWS, S as PayOptions, T as PayResult, U as PreflightResult, V as REVIEW_MAX_STARS, W as REVIEW_MIN_STARS, X as STABLE_ASSETS, Y as SUI_DECIMALS, Z as SUI_TYPE, _ as SUPPORTED_ASSETS, $ as SendAssetClass, a0 as SendResult, a1 as ServiceListing, a2 as SimulationResult, a3 as StableAsset, a4 as SuiHolding, a5 as SuiRpcTxBlock, a6 as SupportedAsset, a7 as SwapRouteResult, a8 as T2000Error, a9 as T2000ErrorCode, aa as T2000ErrorData, ab as T2000_OVERLAY_FEE_WALLET, ac as TOKEN_MAP, ad as TransactionLeg, ae as TransactionRecord, af as TransactionSigner, ag as TxDirection, ah as USDC_DECIMALS, ai as USDC_TYPE, aj as USDE_TYPE, ak as USDSUI_TYPE, al as USDT_TYPE, am as WAL_TYPE, an as WBTC_TYPE, ao as X402ActivityPayload, ap as ZkLoginProof, aq as ZkLoginSigner, ar as buildCreateJobTx, as as buildDeliverJobTx, at as buildRefundJobTx, au as buildRejectJobTx, av as buildReleaseJobTx, aw as buildSendTx, ax as buildSwapTx, ay as checkPositiveAmount, az as checkSuiAddress, aA as claimPolicyLabel, aB as claimPolicyRequirement, aC as classifyAction, aD as classifyLabel, aE as classifySendAsset, aF as classifyTransaction, aG as deriveAgentScoreId, aH as executeTx, aI as extractAllUserLegs, aJ as extractTransferDetails, aK as extractTxCommands, aL as extractTxSender, aM as fallbackLabel, aN as fetchService, aO as findSwapRoute, aP as formatAssetAmount, aQ as formatSui, aR as formatUsd, aS as getAgentScore, aT as getDecimals, aU as getDecimalsForCoinType, aV as getJob, aW as getJobSpec, aX as invalidSendAssetMessage, aY as jobActionsFor, aZ as listServices, a_ as mapMoveAbortCode, a$ as mapWalletError, b0 as meetsClaimPolicy, b1 as mistToSui, b2 as parseSuiRpcTx, b3 as payWithX402, b4 as preflightCreateJob, b5 as preflightFail, b6 as preflightPay, b7 as preflightSend, b8 as preflightSwap, b9 as putJobSpec, ba as rawToStable, bb as rawToUsdc, bc as refineLendingLabel, bd as reportX402Activity, be as resolveSymbol, bf as resolveTokenType, bg as stableToRaw, bh as suiToMist, bi as truncateAddress, bj as usdcToRaw, bk as validateAddress, bl as verifyJobForSeller } from './commerce-C0B4y1uP.js';
|
|
2
2
|
import '@mysten/sui/keypairs/ed25519';
|
|
3
3
|
import '@mysten/sui/grpc';
|
|
4
4
|
import '@mysten/sui/client';
|
package/dist/browser.js
CHANGED
|
@@ -1717,15 +1717,24 @@ async function listServices(base, filter = {}) {
|
|
|
1717
1717
|
if (filter.agent) params.set("agent", filter.agent);
|
|
1718
1718
|
if (filter.query) params.set("q", filter.query);
|
|
1719
1719
|
if (filter.category) params.set("category", filter.category);
|
|
1720
|
+
if (filter.rail) params.set("rail", filter.rail);
|
|
1720
1721
|
if (filter.limit !== void 0) params.set("limit", String(filter.limit));
|
|
1721
1722
|
if (filter.offset !== void 0) params.set("offset", String(filter.offset));
|
|
1722
1723
|
const qs = params.size > 0 ? `?${params.toString()}` : "";
|
|
1723
1724
|
const json = await commerceFetchJson(`${base}/services${qs}`);
|
|
1724
1725
|
const services = json.services ?? [];
|
|
1725
|
-
return {
|
|
1726
|
+
return {
|
|
1727
|
+
total: json.total ?? services.length,
|
|
1728
|
+
hireTotal: json.hireTotal,
|
|
1729
|
+
apiTotal: json.apiTotal,
|
|
1730
|
+
services
|
|
1731
|
+
};
|
|
1726
1732
|
}
|
|
1727
1733
|
async function fetchService(base, agent, slug) {
|
|
1728
|
-
const { services
|
|
1734
|
+
const { services } = await listServices(base, { agent });
|
|
1735
|
+
const rows = services.filter(
|
|
1736
|
+
(o) => o.kind !== "api"
|
|
1737
|
+
);
|
|
1729
1738
|
const match = rows.find((o) => o.slug === slug.trim().toLowerCase());
|
|
1730
1739
|
if (!match) {
|
|
1731
1740
|
const live = rows.filter((o) => !o.retired).map((o) => o.slug);
|
|
@@ -1618,7 +1618,7 @@ declare function verifyJobForSeller({ client, jobId, seller, minAmountUsdc, minR
|
|
|
1618
1618
|
/**
|
|
1619
1619
|
* Open door — client for `a2a_escrow::opening` (SPEC_T2_AGENTS_OPEN_ONCHAIN,
|
|
1620
1620
|
* Phase 3 escrow-at-post). Posting an open job escrows USDC on-chain
|
|
1621
|
-
* immediately in a shared `Opening<USDC>`; the first ACTIVE registered
|
|
1621
|
+
* immediately in a shared `Opening<USDC>`; the first ACTIVE registered seller
|
|
1622
1622
|
* to claim mints a normal `escrow::Job` (deliver/settle with the job verbs).
|
|
1623
1623
|
* No claim by `open_until` → `refund_unclaimed` (permissionless, fee-free);
|
|
1624
1624
|
* the buyer can `cancel_open` any time while unclaimed.
|
|
@@ -1697,7 +1697,7 @@ interface OpeningTerms {
|
|
|
1697
1697
|
specHash: string;
|
|
1698
1698
|
/** Epoch-ms the opening stays claimable until (≤ 30d out). */
|
|
1699
1699
|
openUntilMs: number;
|
|
1700
|
-
/** Delivery window the claiming
|
|
1700
|
+
/** Delivery window the claiming seller gets: deliver_by = claim + sla. */
|
|
1701
1701
|
slaMs: number;
|
|
1702
1702
|
reviewWindowMs: number;
|
|
1703
1703
|
/** v5 (S.1019): MUST be 10000 — open-board reject pays the buyer in
|
|
@@ -1724,7 +1724,7 @@ declare function buildCreateOpeningTx({ client, buyer, terms, }: {
|
|
|
1724
1724
|
buyer: string;
|
|
1725
1725
|
terms: OpeningTerms;
|
|
1726
1726
|
}): Promise<Transaction>;
|
|
1727
|
-
/** Claim an opening (
|
|
1727
|
+
/** Claim an opening (seller side) — consumes it and mints the funded Job.
|
|
1728
1728
|
* `registryId` = the shared `agent_id::registry::Registry` object
|
|
1729
1729
|
* (callers pass `AGENT_ID_REGISTRY_ID` from `@t2000/id` — single source).
|
|
1730
1730
|
*
|
|
@@ -1858,6 +1858,8 @@ declare function buildSubmitFirstReviewTx({ jobId, stars, boardId, }: {
|
|
|
1858
1858
|
declare const DEFAULT_COMMERCE_API_BASE = "https://api.t2000.ai/v1";
|
|
1859
1859
|
/** The shape the API returns from GET /v1/services. */
|
|
1860
1860
|
interface ServiceListing {
|
|
1861
|
+
/** Row discriminator (S.1084) — hire rows; absent on pre-S.1084 servers. */
|
|
1862
|
+
kind?: 'hire';
|
|
1861
1863
|
agent: string;
|
|
1862
1864
|
agentName: string | null;
|
|
1863
1865
|
agentNumericId: number | null;
|
|
@@ -1881,6 +1883,31 @@ interface ServiceListing {
|
|
|
1881
1883
|
/** Seller lifetime settled (released-escrow) USDC — the organic rank key. */
|
|
1882
1884
|
settledUsdc: number;
|
|
1883
1885
|
}
|
|
1886
|
+
/** One live pay-per-call x402 route (S.1084 — `kind: "api"` rows from
|
|
1887
|
+
* GET /v1/services?rail=api|all). Paid with `t2 pay` / `agent.pay` at
|
|
1888
|
+
* `url` — NEVER hired (no slug, no SLA, no escrow fields). Ranked by the
|
|
1889
|
+
* seller's paid-call volume, never escrow settledUsdc. */
|
|
1890
|
+
interface ApiRouteListing {
|
|
1891
|
+
kind: 'api';
|
|
1892
|
+
agent: string;
|
|
1893
|
+
agentName: string | null;
|
|
1894
|
+
agentNumericId: number | null;
|
|
1895
|
+
method: string;
|
|
1896
|
+
path: string;
|
|
1897
|
+
/** Absolute endpoint URL (origin + path) — what `t2 pay` takes. */
|
|
1898
|
+
url: string;
|
|
1899
|
+
priceUsdc: number;
|
|
1900
|
+
summary: string | null;
|
|
1901
|
+
category: string | null;
|
|
1902
|
+
probeOk: boolean;
|
|
1903
|
+
paidCalls?: number;
|
|
1904
|
+
paidVolumeUsdc?: number;
|
|
1905
|
+
}
|
|
1906
|
+
type ServicesRow = ServiceListing | ApiRouteListing;
|
|
1907
|
+
/** Rail selector for listServices (S.1084): omitted = hire only (the
|
|
1908
|
+
* compat default old callers rely on) · api = pay-per-call routes ·
|
|
1909
|
+
* all = both blocks, hire first, kind-discriminated. */
|
|
1910
|
+
type ServicesRail = 'hire' | 'api' | 'all';
|
|
1884
1911
|
/** Browse / list agent services. Market browse (no `agent`) is RANKED
|
|
1885
1912
|
* Featured → seller settled USDC → newest — not newest-first; `agent`
|
|
1886
1913
|
* returns that seller's full catalog (retired included, newest-first).
|
|
@@ -1891,11 +1918,15 @@ declare function listServices(base: string, filter?: {
|
|
|
1891
1918
|
agent?: string;
|
|
1892
1919
|
query?: string;
|
|
1893
1920
|
category?: string;
|
|
1921
|
+
/** S.1084: omit = hire only (compat); 'api' = x402 routes; 'all' = both. */
|
|
1922
|
+
rail?: ServicesRail;
|
|
1894
1923
|
limit?: number;
|
|
1895
1924
|
offset?: number;
|
|
1896
1925
|
}): Promise<{
|
|
1897
1926
|
total: number;
|
|
1898
|
-
|
|
1927
|
+
hireTotal?: number;
|
|
1928
|
+
apiTotal?: number;
|
|
1929
|
+
services: ServicesRow[];
|
|
1899
1930
|
}>;
|
|
1900
1931
|
/** Fetch one agent's live service by slug (the buy-path resolver). */
|
|
1901
1932
|
declare function fetchService(base: string, agent: string, slug: string): Promise<ServiceListing>;
|
|
@@ -1922,4 +1953,4 @@ declare function putJobSpec(base: string, content: string): Promise<string>;
|
|
|
1922
1953
|
* the store is untrusted; the chain hash is the authority). */
|
|
1923
1954
|
declare function getJobSpec(base: string, hash: string): Promise<string>;
|
|
1924
1955
|
|
|
1925
|
-
export { type SendAssetClass 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, type OverlayFeeConfig as F, GAS_RESERVE_MIN as G, PREFLIGHT_OK 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, PREFLIGHT_MAX_AMOUNT as P, PROVEN_MIN_AVG_STARS_X10 as Q, PROVEN_MIN_REVIEWS as R, type PayOptions as S, type PayResult as T, type PreflightResult as U, REVIEW_MAX_STARS as V, REVIEW_MIN_STARS as W, STABLE_ASSETS as X, SUI_DECIMALS as Y, SUI_TYPE as Z, SUPPORTED_ASSETS as _, A2A_ESCROW_PACKAGE_ID as a, mapWalletError as a$, type SendResult as a0, type ServiceListing as a1, type SimulationResult as a2, type StableAsset as a3, type SuiHolding as a4, type SuiRpcTxBlock as a5, type SupportedAsset as a6, type SwapRouteResult as a7, T2000Error as a8, type T2000ErrorCode as a9, claimPolicyLabel as aA, claimPolicyRequirement as aB, classifyAction as aC, classifyLabel as aD, classifySendAsset as aE, classifyTransaction as aF, deriveAgentScoreId as aG, executeTx as aH, extractAllUserLegs as aI, extractTransferDetails as aJ, extractTxCommands as aK, extractTxSender as aL, fallbackLabel as aM, fetchService as aN, findSwapRoute as aO, formatAssetAmount as aP, formatSui as aQ, formatUsd as aR, getAgentScore as aS, getDecimals as aT, getDecimalsForCoinType as aU, getJob as aV, getJobSpec as aW, invalidSendAssetMessage as aX, jobActionsFor as aY, listServices as aZ, mapMoveAbortCode as a_, type T2000ErrorData as aa, T2000_OVERLAY_FEE_WALLET as ab, TOKEN_MAP as ac, type TransactionLeg as ad, type TransactionRecord as ae, type TransactionSigner as af, type TxDirection as ag, USDC_DECIMALS as ah, USDC_TYPE as ai, USDE_TYPE as aj, USDSUI_TYPE as ak, USDT_TYPE as al, WAL_TYPE as am, WBTC_TYPE as an, type X402ActivityPayload as ao, type ZkLoginProof as ap, ZkLoginSigner as aq, buildCreateJobTx as ar, buildDeliverJobTx as as, buildRefundJobTx as at, buildRejectJobTx as au, buildReleaseJobTx as av, buildSendTx as aw, buildSwapTx as ax, checkPositiveAmount as ay, checkSuiAddress as az, type ActivityReportConfig as b,
|
|
1956
|
+
export { type SendAssetClass 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, type OverlayFeeConfig as F, GAS_RESERVE_MIN as G, PREFLIGHT_OK 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, PREFLIGHT_MAX_AMOUNT as P, PROVEN_MIN_AVG_STARS_X10 as Q, PROVEN_MIN_REVIEWS as R, type PayOptions as S, type PayResult as T, type PreflightResult as U, REVIEW_MAX_STARS as V, REVIEW_MIN_STARS as W, STABLE_ASSETS as X, SUI_DECIMALS as Y, SUI_TYPE as Z, SUPPORTED_ASSETS as _, A2A_ESCROW_PACKAGE_ID as a, mapWalletError as a$, type SendResult as a0, type ServiceListing as a1, type SimulationResult as a2, type StableAsset as a3, type SuiHolding as a4, type SuiRpcTxBlock as a5, type SupportedAsset as a6, type SwapRouteResult as a7, T2000Error as a8, type T2000ErrorCode as a9, claimPolicyLabel as aA, claimPolicyRequirement as aB, classifyAction as aC, classifyLabel as aD, classifySendAsset as aE, classifyTransaction as aF, deriveAgentScoreId as aG, executeTx as aH, extractAllUserLegs as aI, extractTransferDetails as aJ, extractTxCommands as aK, extractTxSender as aL, fallbackLabel as aM, fetchService as aN, findSwapRoute as aO, formatAssetAmount as aP, formatSui as aQ, formatUsd as aR, getAgentScore as aS, getDecimals as aT, getDecimalsForCoinType as aU, getJob as aV, getJobSpec as aW, invalidSendAssetMessage as aX, jobActionsFor as aY, listServices as aZ, mapMoveAbortCode as a_, type T2000ErrorData as aa, T2000_OVERLAY_FEE_WALLET as ab, TOKEN_MAP as ac, type TransactionLeg as ad, type TransactionRecord as ae, type TransactionSigner as af, type TxDirection as ag, USDC_DECIMALS as ah, USDC_TYPE as ai, USDE_TYPE as aj, USDSUI_TYPE as ak, USDT_TYPE as al, WAL_TYPE as am, WBTC_TYPE as an, type X402ActivityPayload as ao, type ZkLoginProof as ap, ZkLoginSigner as aq, buildCreateJobTx as ar, buildDeliverJobTx as as, buildRefundJobTx as at, buildRejectJobTx as au, buildReleaseJobTx as av, buildSendTx as aw, buildSwapTx as ax, checkPositiveAmount as ay, checkSuiAddress as az, type ActivityReportConfig as b, assertBuyerRequirements as b$, meetsClaimPolicy as b0, mistToSui as b1, parseSuiRpcTx as b2, payWithX402 as b3, preflightCreateJob as b4, preflightFail as b5, preflightPay as b6, preflightSend as b7, preflightSwap as b8, putJobSpec as b9, A2A_ESCROW_PACKAGE_V7_ID as bA, A2A_ESCROW_PACKAGE_V8_ID as bB, A2A_SCORE_BOARD_ID as bC, type ApiRouteListing as bD, CETUS_USDC_SUI_POOL as bE, type CoinPage as bF, DEFAULT_GRPC_URL as bG, GASLESS_MIN_STABLE_AMOUNT as bH, GASLESS_STABLE_TYPES as bI, MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID as bJ, MAINNET_A2A_ESCROW_OPENING_PACKAGE_ID as bK, MAINNET_A2A_ESCROW_PACKAGE_ID as bL, MAINNET_A2A_SCORE_BOARD_ID as bM, MAX_OPEN_WINDOW_MS as bN, OPERATION_ASSETS as bO, type Opening as bP, type OpeningTerms as bQ, type Operation as bR, SENDABLE_ASSETS as bS, type SelectAndSplitResult as bT, type SerializedCetusRoutePath as bU, type SerializedRouterDataV3 as bV, type ServicesRail as bW, type ServicesRow as bX, addSendToTx as bY, addSwapToTx as bZ, assertAllowedAsset as b_, rawToStable as ba, rawToUsdc as bb, refineLendingLabel as bc, reportX402Activity as bd, resolveSymbol as be, resolveTokenType as bf, stableToRaw as bg, suiToMist as bh, truncateAddress as bi, usdcToRaw as bj, validateAddress as bk, verifyJobForSeller as bl, type T2000Options as bm, type X402Probe as bn, type SerializedCetusRoute as bo, type SwapResult as bp, type SwapQuoteResult as bq, type PaymentRequest as br, type SuiCoreClient as bs, type SponsoredCoinMergeCache as bt, type SendableAsset as bu, A2A_ESCROW_LATEST_PACKAGE_ID as bv, A2A_ESCROW_OPENING_PACKAGE_ID as bw, A2A_ESCROW_PACKAGE_V2_ID as bx, A2A_ESCROW_PACKAGE_V3_ID as by, A2A_ESCROW_PACKAGE_V6_ID as bz, type AgentScore as c, buildCancelOpeningTx as c0, buildClaimOpeningTx as c1, buildCreateEmptyScoreTx as c2, buildCreateOpeningTx as c3, buildDeclineJobTx as c4, buildRefundUnclaimedTx as c5, buildSubmitFirstReviewTx as c6, buildSubmitReviewTx as c7, deserializeCetusRoute as c8, fetchAllCoins as c9, getCoinMeta as ca, getOpening as cb, getSuiClient as cc, getSuiGrpcClient as cd, isAllowedAsset as ce, isCetusRouteFresh as cf, isInRegistry as cg, normalizeAsset as ch, normalizeCoinType as ci, preflightCreateOpening as cj, probeX402 as ck, queryHistory as cl, queryTransaction as cm, selectAndSplitCoin as cn, selectSuiCoin as co, serializeCetusRoute as cp, simulateTransaction as cq, throwIfSimulationFailed as cr, verifyCetusRouteCoinMatch as cs, 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, LOFI_TYPE as q, MAX_DELIVER_HORIZON_MS as r, MAX_JOB_USDC as s, MAX_REVIEW_WINDOW_MS as t, MIN_JOB_USDC as u, MIST_PER_SUI as v, OPENING_CLAIM_POLICY_ANY_ACTIVE as w, OPENING_CLAIM_POLICY_PROVEN as x, OPENING_CLAIM_POLICY_PROVEN_4STAR as y, OVERLAY_FEE_RATE as z };
|
|
@@ -1618,7 +1618,7 @@ declare function verifyJobForSeller({ client, jobId, seller, minAmountUsdc, minR
|
|
|
1618
1618
|
/**
|
|
1619
1619
|
* Open door — client for `a2a_escrow::opening` (SPEC_T2_AGENTS_OPEN_ONCHAIN,
|
|
1620
1620
|
* Phase 3 escrow-at-post). Posting an open job escrows USDC on-chain
|
|
1621
|
-
* immediately in a shared `Opening<USDC>`; the first ACTIVE registered
|
|
1621
|
+
* immediately in a shared `Opening<USDC>`; the first ACTIVE registered seller
|
|
1622
1622
|
* to claim mints a normal `escrow::Job` (deliver/settle with the job verbs).
|
|
1623
1623
|
* No claim by `open_until` → `refund_unclaimed` (permissionless, fee-free);
|
|
1624
1624
|
* the buyer can `cancel_open` any time while unclaimed.
|
|
@@ -1697,7 +1697,7 @@ interface OpeningTerms {
|
|
|
1697
1697
|
specHash: string;
|
|
1698
1698
|
/** Epoch-ms the opening stays claimable until (≤ 30d out). */
|
|
1699
1699
|
openUntilMs: number;
|
|
1700
|
-
/** Delivery window the claiming
|
|
1700
|
+
/** Delivery window the claiming seller gets: deliver_by = claim + sla. */
|
|
1701
1701
|
slaMs: number;
|
|
1702
1702
|
reviewWindowMs: number;
|
|
1703
1703
|
/** v5 (S.1019): MUST be 10000 — open-board reject pays the buyer in
|
|
@@ -1724,7 +1724,7 @@ declare function buildCreateOpeningTx({ client, buyer, terms, }: {
|
|
|
1724
1724
|
buyer: string;
|
|
1725
1725
|
terms: OpeningTerms;
|
|
1726
1726
|
}): Promise<Transaction>;
|
|
1727
|
-
/** Claim an opening (
|
|
1727
|
+
/** Claim an opening (seller side) — consumes it and mints the funded Job.
|
|
1728
1728
|
* `registryId` = the shared `agent_id::registry::Registry` object
|
|
1729
1729
|
* (callers pass `AGENT_ID_REGISTRY_ID` from `@t2000/id` — single source).
|
|
1730
1730
|
*
|
|
@@ -1858,6 +1858,8 @@ declare function buildSubmitFirstReviewTx({ jobId, stars, boardId, }: {
|
|
|
1858
1858
|
declare const DEFAULT_COMMERCE_API_BASE = "https://api.t2000.ai/v1";
|
|
1859
1859
|
/** The shape the API returns from GET /v1/services. */
|
|
1860
1860
|
interface ServiceListing {
|
|
1861
|
+
/** Row discriminator (S.1084) — hire rows; absent on pre-S.1084 servers. */
|
|
1862
|
+
kind?: 'hire';
|
|
1861
1863
|
agent: string;
|
|
1862
1864
|
agentName: string | null;
|
|
1863
1865
|
agentNumericId: number | null;
|
|
@@ -1881,6 +1883,31 @@ interface ServiceListing {
|
|
|
1881
1883
|
/** Seller lifetime settled (released-escrow) USDC — the organic rank key. */
|
|
1882
1884
|
settledUsdc: number;
|
|
1883
1885
|
}
|
|
1886
|
+
/** One live pay-per-call x402 route (S.1084 — `kind: "api"` rows from
|
|
1887
|
+
* GET /v1/services?rail=api|all). Paid with `t2 pay` / `agent.pay` at
|
|
1888
|
+
* `url` — NEVER hired (no slug, no SLA, no escrow fields). Ranked by the
|
|
1889
|
+
* seller's paid-call volume, never escrow settledUsdc. */
|
|
1890
|
+
interface ApiRouteListing {
|
|
1891
|
+
kind: 'api';
|
|
1892
|
+
agent: string;
|
|
1893
|
+
agentName: string | null;
|
|
1894
|
+
agentNumericId: number | null;
|
|
1895
|
+
method: string;
|
|
1896
|
+
path: string;
|
|
1897
|
+
/** Absolute endpoint URL (origin + path) — what `t2 pay` takes. */
|
|
1898
|
+
url: string;
|
|
1899
|
+
priceUsdc: number;
|
|
1900
|
+
summary: string | null;
|
|
1901
|
+
category: string | null;
|
|
1902
|
+
probeOk: boolean;
|
|
1903
|
+
paidCalls?: number;
|
|
1904
|
+
paidVolumeUsdc?: number;
|
|
1905
|
+
}
|
|
1906
|
+
type ServicesRow = ServiceListing | ApiRouteListing;
|
|
1907
|
+
/** Rail selector for listServices (S.1084): omitted = hire only (the
|
|
1908
|
+
* compat default old callers rely on) · api = pay-per-call routes ·
|
|
1909
|
+
* all = both blocks, hire first, kind-discriminated. */
|
|
1910
|
+
type ServicesRail = 'hire' | 'api' | 'all';
|
|
1884
1911
|
/** Browse / list agent services. Market browse (no `agent`) is RANKED
|
|
1885
1912
|
* Featured → seller settled USDC → newest — not newest-first; `agent`
|
|
1886
1913
|
* returns that seller's full catalog (retired included, newest-first).
|
|
@@ -1891,11 +1918,15 @@ declare function listServices(base: string, filter?: {
|
|
|
1891
1918
|
agent?: string;
|
|
1892
1919
|
query?: string;
|
|
1893
1920
|
category?: string;
|
|
1921
|
+
/** S.1084: omit = hire only (compat); 'api' = x402 routes; 'all' = both. */
|
|
1922
|
+
rail?: ServicesRail;
|
|
1894
1923
|
limit?: number;
|
|
1895
1924
|
offset?: number;
|
|
1896
1925
|
}): Promise<{
|
|
1897
1926
|
total: number;
|
|
1898
|
-
|
|
1927
|
+
hireTotal?: number;
|
|
1928
|
+
apiTotal?: number;
|
|
1929
|
+
services: ServicesRow[];
|
|
1899
1930
|
}>;
|
|
1900
1931
|
/** Fetch one agent's live service by slug (the buy-path resolver). */
|
|
1901
1932
|
declare function fetchService(base: string, agent: string, slug: string): Promise<ServiceListing>;
|
|
@@ -1922,4 +1953,4 @@ declare function putJobSpec(base: string, content: string): Promise<string>;
|
|
|
1922
1953
|
* the store is untrusted; the chain hash is the authority). */
|
|
1923
1954
|
declare function getJobSpec(base: string, hash: string): Promise<string>;
|
|
1924
1955
|
|
|
1925
|
-
export { type SendAssetClass 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, type OverlayFeeConfig as F, GAS_RESERVE_MIN as G, PREFLIGHT_OK 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, PREFLIGHT_MAX_AMOUNT as P, PROVEN_MIN_AVG_STARS_X10 as Q, PROVEN_MIN_REVIEWS as R, type PayOptions as S, type PayResult as T, type PreflightResult as U, REVIEW_MAX_STARS as V, REVIEW_MIN_STARS as W, STABLE_ASSETS as X, SUI_DECIMALS as Y, SUI_TYPE as Z, SUPPORTED_ASSETS as _, A2A_ESCROW_PACKAGE_ID as a, mapWalletError as a$, type SendResult as a0, type ServiceListing as a1, type SimulationResult as a2, type StableAsset as a3, type SuiHolding as a4, type SuiRpcTxBlock as a5, type SupportedAsset as a6, type SwapRouteResult as a7, T2000Error as a8, type T2000ErrorCode as a9, claimPolicyLabel as aA, claimPolicyRequirement as aB, classifyAction as aC, classifyLabel as aD, classifySendAsset as aE, classifyTransaction as aF, deriveAgentScoreId as aG, executeTx as aH, extractAllUserLegs as aI, extractTransferDetails as aJ, extractTxCommands as aK, extractTxSender as aL, fallbackLabel as aM, fetchService as aN, findSwapRoute as aO, formatAssetAmount as aP, formatSui as aQ, formatUsd as aR, getAgentScore as aS, getDecimals as aT, getDecimalsForCoinType as aU, getJob as aV, getJobSpec as aW, invalidSendAssetMessage as aX, jobActionsFor as aY, listServices as aZ, mapMoveAbortCode as a_, type T2000ErrorData as aa, T2000_OVERLAY_FEE_WALLET as ab, TOKEN_MAP as ac, type TransactionLeg as ad, type TransactionRecord as ae, type TransactionSigner as af, type TxDirection as ag, USDC_DECIMALS as ah, USDC_TYPE as ai, USDE_TYPE as aj, USDSUI_TYPE as ak, USDT_TYPE as al, WAL_TYPE as am, WBTC_TYPE as an, type X402ActivityPayload as ao, type ZkLoginProof as ap, ZkLoginSigner as aq, buildCreateJobTx as ar, buildDeliverJobTx as as, buildRefundJobTx as at, buildRejectJobTx as au, buildReleaseJobTx as av, buildSendTx as aw, buildSwapTx as ax, checkPositiveAmount as ay, checkSuiAddress as az, type ActivityReportConfig as b,
|
|
1956
|
+
export { type SendAssetClass 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, type OverlayFeeConfig as F, GAS_RESERVE_MIN as G, PREFLIGHT_OK 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, PREFLIGHT_MAX_AMOUNT as P, PROVEN_MIN_AVG_STARS_X10 as Q, PROVEN_MIN_REVIEWS as R, type PayOptions as S, type PayResult as T, type PreflightResult as U, REVIEW_MAX_STARS as V, REVIEW_MIN_STARS as W, STABLE_ASSETS as X, SUI_DECIMALS as Y, SUI_TYPE as Z, SUPPORTED_ASSETS as _, A2A_ESCROW_PACKAGE_ID as a, mapWalletError as a$, type SendResult as a0, type ServiceListing as a1, type SimulationResult as a2, type StableAsset as a3, type SuiHolding as a4, type SuiRpcTxBlock as a5, type SupportedAsset as a6, type SwapRouteResult as a7, T2000Error as a8, type T2000ErrorCode as a9, claimPolicyLabel as aA, claimPolicyRequirement as aB, classifyAction as aC, classifyLabel as aD, classifySendAsset as aE, classifyTransaction as aF, deriveAgentScoreId as aG, executeTx as aH, extractAllUserLegs as aI, extractTransferDetails as aJ, extractTxCommands as aK, extractTxSender as aL, fallbackLabel as aM, fetchService as aN, findSwapRoute as aO, formatAssetAmount as aP, formatSui as aQ, formatUsd as aR, getAgentScore as aS, getDecimals as aT, getDecimalsForCoinType as aU, getJob as aV, getJobSpec as aW, invalidSendAssetMessage as aX, jobActionsFor as aY, listServices as aZ, mapMoveAbortCode as a_, type T2000ErrorData as aa, T2000_OVERLAY_FEE_WALLET as ab, TOKEN_MAP as ac, type TransactionLeg as ad, type TransactionRecord as ae, type TransactionSigner as af, type TxDirection as ag, USDC_DECIMALS as ah, USDC_TYPE as ai, USDE_TYPE as aj, USDSUI_TYPE as ak, USDT_TYPE as al, WAL_TYPE as am, WBTC_TYPE as an, type X402ActivityPayload as ao, type ZkLoginProof as ap, ZkLoginSigner as aq, buildCreateJobTx as ar, buildDeliverJobTx as as, buildRefundJobTx as at, buildRejectJobTx as au, buildReleaseJobTx as av, buildSendTx as aw, buildSwapTx as ax, checkPositiveAmount as ay, checkSuiAddress as az, type ActivityReportConfig as b, assertBuyerRequirements as b$, meetsClaimPolicy as b0, mistToSui as b1, parseSuiRpcTx as b2, payWithX402 as b3, preflightCreateJob as b4, preflightFail as b5, preflightPay as b6, preflightSend as b7, preflightSwap as b8, putJobSpec as b9, A2A_ESCROW_PACKAGE_V7_ID as bA, A2A_ESCROW_PACKAGE_V8_ID as bB, A2A_SCORE_BOARD_ID as bC, type ApiRouteListing as bD, CETUS_USDC_SUI_POOL as bE, type CoinPage as bF, DEFAULT_GRPC_URL as bG, GASLESS_MIN_STABLE_AMOUNT as bH, GASLESS_STABLE_TYPES as bI, MAINNET_A2A_ESCROW_LATEST_PACKAGE_ID as bJ, MAINNET_A2A_ESCROW_OPENING_PACKAGE_ID as bK, MAINNET_A2A_ESCROW_PACKAGE_ID as bL, MAINNET_A2A_SCORE_BOARD_ID as bM, MAX_OPEN_WINDOW_MS as bN, OPERATION_ASSETS as bO, type Opening as bP, type OpeningTerms as bQ, type Operation as bR, SENDABLE_ASSETS as bS, type SelectAndSplitResult as bT, type SerializedCetusRoutePath as bU, type SerializedRouterDataV3 as bV, type ServicesRail as bW, type ServicesRow as bX, addSendToTx as bY, addSwapToTx as bZ, assertAllowedAsset as b_, rawToStable as ba, rawToUsdc as bb, refineLendingLabel as bc, reportX402Activity as bd, resolveSymbol as be, resolveTokenType as bf, stableToRaw as bg, suiToMist as bh, truncateAddress as bi, usdcToRaw as bj, validateAddress as bk, verifyJobForSeller as bl, type T2000Options as bm, type X402Probe as bn, type SerializedCetusRoute as bo, type SwapResult as bp, type SwapQuoteResult as bq, type PaymentRequest as br, type SuiCoreClient as bs, type SponsoredCoinMergeCache as bt, type SendableAsset as bu, A2A_ESCROW_LATEST_PACKAGE_ID as bv, A2A_ESCROW_OPENING_PACKAGE_ID as bw, A2A_ESCROW_PACKAGE_V2_ID as bx, A2A_ESCROW_PACKAGE_V3_ID as by, A2A_ESCROW_PACKAGE_V6_ID as bz, type AgentScore as c, buildCancelOpeningTx as c0, buildClaimOpeningTx as c1, buildCreateEmptyScoreTx as c2, buildCreateOpeningTx as c3, buildDeclineJobTx as c4, buildRefundUnclaimedTx as c5, buildSubmitFirstReviewTx as c6, buildSubmitReviewTx as c7, deserializeCetusRoute as c8, fetchAllCoins as c9, getCoinMeta as ca, getOpening as cb, getSuiClient as cc, getSuiGrpcClient as cd, isAllowedAsset as ce, isCetusRouteFresh as cf, isInRegistry as cg, normalizeAsset as ch, normalizeCoinType as ci, preflightCreateOpening as cj, probeX402 as ck, queryHistory as cl, queryTransaction as cm, selectAndSplitCoin as cn, selectSuiCoin as co, serializeCetusRoute as cp, simulateTransaction as cq, throwIfSimulationFailed as cr, verifyCetusRouteCoinMatch as cs, 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, LOFI_TYPE as q, MAX_DELIVER_HORIZON_MS as r, MAX_JOB_USDC as s, MAX_REVIEW_WINDOW_MS as t, MIN_JOB_USDC as u, MIST_PER_SUI as v, OPENING_CLAIM_POLICY_ANY_ACTIVE as w, OPENING_CLAIM_POLICY_PROVEN as x, OPENING_CLAIM_POLICY_PROVEN_4STAR as y, OVERLAY_FEE_RATE as z };
|