keyring-agent-core 0.4.11 → 0.4.12

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/CHANGELOG.md CHANGED
@@ -6,6 +6,19 @@ version. Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); versi
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ### Changed
10
+ - **Prediction (breaking for consumers of `stable` / the symbol lists):** stablecoins are no
11
+ longer a separate tier — every token is handled alike, only native vs ERC-20 differ.
12
+ `WalletDepositOption.stable`, `EvmDepositAsset.stable` (and the `stable` of the deposit card's
13
+ `options` / `assets`), `DEPOSIT_STABLE_SYMBOLS` and `WITHDRAW.STABLE_SYMBOLS` are removed. Lists
14
+ are ordered per chain native first, then A→Z (new `compareBridgeTokens`); `findWalletDepositOptions`
15
+ no longer ranks by raw balance (units of different tokens are not comparable — the apps sort by
16
+ USD value). `depositPriceImpact` probes and scales for every token, USDC included.
17
+ `pickDestination` with only a chain named picks that chain's USDC (the list now leads with the
18
+ native coin).
19
+
20
+ ## [0.4.11] - 2026-11-18
21
+
9
22
  ### Changed
10
23
  - **Prediction:** `open-prediction-withdraw` description no longer says withdrawals arrive "as USDC or
11
24
  USDT": any token the bridge serves on an EVM chain (native coin included) is a destination, as
package/dist/index.d.ts CHANGED
@@ -1786,7 +1786,7 @@ interface PredictionSetupProps {
1786
1786
  /** Null while the wallet is not deployed. */
1787
1787
  approved: boolean | null;
1788
1788
  }
1789
- /** A stablecoin the wallet holds that can be deposited straight from it. */
1789
+ /** A token the wallet holds (native coin or ERC-20, all alike) that can be deposited straight from it. */
1790
1790
  interface PredictionDepositOptionProps {
1791
1791
  chainId: number;
1792
1792
  chainHex: string;
@@ -1798,10 +1798,8 @@ interface PredictionDepositOptionProps {
1798
1798
  decimals: number;
1799
1799
  /** Human units (decimal string). */
1800
1800
  balance: string;
1801
- /** Smallest deposit the bridge credits, USD (= token units for a stablecoin only). */
1801
+ /** Smallest deposit the bridge credits, USD — the app compares the amount's USD value (at its price). */
1802
1802
  minUsd: number;
1803
- /** A USD stablecoin: one unit ≈ $1. Any other token is priced to compare with `minUsd`. */
1804
- stable: boolean;
1805
1803
  }
1806
1804
  /** Where a deposit from any OTHER wallet goes, per address family. */
1807
1805
  interface PredictionDepositNetworkProps {
@@ -1823,8 +1821,6 @@ interface PredictionDepositAssetProps {
1823
1821
  decimals: number;
1824
1822
  /** Smallest deposit the bridge credits, USD. */
1825
1823
  minUsd: number;
1826
- /** A USD stablecoin (one unit ≈ $1). */
1827
- stable: boolean;
1828
1824
  }
1829
1825
  /** Props for `PredictionDepositCard` — fund the Polymarket account. */
1830
1826
  interface PredictionDepositProps {
@@ -1834,7 +1830,7 @@ interface PredictionDepositProps {
1834
1830
  owner: string;
1835
1831
  /** The bridge EVM deposit address the in-app deposit is sent to. */
1836
1832
  depositAddress: string;
1837
- /** Bridge-supported tokens the owner holds that can be deposited from the app (stablecoins first). */
1833
+ /** Bridge-supported tokens the owner holds that can be deposited from the app (per chain: native, then A→Z). */
1838
1834
  options: PredictionDepositOptionProps[];
1839
1835
  /**
1840
1836
  * Every token the bridge credits when sent to `depositAddress` from an EVM
@@ -8789,18 +8785,25 @@ declare const ONBOARDING_TRACKING: {
8789
8785
  };
8790
8786
  /**
8791
8787
  * Added to a bridge asset's `minCheckoutUsd` (deposit AND withdraw) for the minimum the apps
8792
- * enforce and show: a stablecoin / pUSD quotes at ≈ $0.9996, so exactly the bridge minimum can
8788
+ * enforce and show: a USD token / pUSD quotes at ≈ $0.9996, so exactly the bridge minimum can
8793
8789
  * land just below it. Same value as keyring-app / keyringone-client `BRIDGE_MIN_BUFFER_USD`.
8794
8790
  */
8795
8791
  declare const BRIDGE_MIN_BUFFER_USD = 1;
8796
8792
  /** The minimum the apps enforce for a bridge asset: `minUsd` + {@link BRIDGE_MIN_BUFFER_USD}; none (0) stays 0. */
8797
8793
  declare const bridgeMinUsd: (minUsd: number) => number;
8798
8794
  /**
8799
- * USD stablecoins: their amount IS their dollar value, so a bridge minimum (USD) compares
8800
- * with the amount directly. Every other token the bridge accepts is deposited too (wallet
8801
- * deposit options carry `stable: false`); the app prices it to check the minimum.
8795
+ * The order of a list of bridge tokens on one chain — one rule for every token, no
8796
+ * stablecoin tier: the native coin (zero address) first, then by symbol A→Z.
8802
8797
  */
8803
- declare const DEPOSIT_STABLE_SYMBOLS: readonly ["USDC", "USDC.E", "USDT", "USD₮0", "USDT0", "DAI", "USDE", "AUSD", "USDG"];
8798
+ declare const compareBridgeTokens: (a: {
8799
+ tokenAddress?: string;
8800
+ address?: string;
8801
+ symbol: string;
8802
+ }, b: {
8803
+ tokenAddress?: string;
8804
+ address?: string;
8805
+ symbol: string;
8806
+ }) => number;
8804
8807
  /**
8805
8808
  * Bridge chain ids that are NOT EVM, and the deposit-address family each takes.
8806
8809
  * Every other chain id is EVM. Lightning needs an invoice, so it has no address.
@@ -8989,8 +8992,6 @@ declare const DELAYED_ORDER: {
8989
8992
  * (https://docs.polymarket.com/trading/bridge/withdraw).
8990
8993
  */
8991
8994
  declare const WITHDRAW: {
8992
- /** USD stablecoins listed first on a destination chain, in this order; every other token follows by symbol. */
8993
- readonly STABLE_SYMBOLS: readonly ["USDC", "USDT", "USDT0", "USD₮0"];
8994
8995
  /** Destination chains first in the list (bridge chain ids); every other EVM chain follows by name. */
8995
8996
  readonly CHAIN_ORDER: readonly ["137", "8453", "42161", "1", "10", "56"];
8996
8997
  /** Above this, the docs advise splitting a withdrawal (or a third-party bridge) to limit slippage. */
@@ -10850,15 +10851,12 @@ interface WalletDepositOption {
10850
10851
  decimals: number;
10851
10852
  /** The wallet's balance of this token, human units (decimal string). */
10852
10853
  balance: string;
10853
- /** Smallest deposit the bridge credits, USD. */
10854
+ /** Smallest deposit the bridge credits, USD (the app compares the amount's USD value, at its price). */
10854
10855
  minUsd: number;
10855
- /** A USD stablecoin: one unit ≈ $1, so amounts and minimums compare directly. */
10856
- stable: boolean;
10857
10856
  }
10858
10857
  /**
10859
10858
  * Bridge assets the app deposits from the wallet: every token the bridge
10860
- * accepts on an EVM chain — native coin (zero address) and ERC-20s alike, not
10861
- * only USD stablecoins. pUSD itself is left out (it IS the account's cash).
10859
+ * accepts on an EVM chain — native coin (zero address) and ERC-20s alike. pUSD itself is left out (it IS the account's cash).
10862
10860
  */
10863
10861
  declare function walletDepositAssets(assets: BridgeAsset[]): BridgeAsset[];
10864
10862
  /**
@@ -10879,16 +10877,14 @@ interface EvmDepositAsset {
10879
10877
  decimals: number;
10880
10878
  /** Smallest deposit the bridge credits, USD. */
10881
10879
  minUsd: number;
10882
- /** A USD stablecoin: one unit ≈ $1, so amounts and minimums compare directly. */
10883
- stable: boolean;
10884
10880
  }
10885
10881
  /**
10886
10882
  * Every token the bridge accepts on an EVM chain — what can be sent to the EVM
10887
10883
  * deposit address (https://docs.polymarket.com/trading/bridge/supported-assets).
10888
10884
  * Non-EVM families (Solana, Bitcoin, Tron, Lightning) and non-EVM ids are left
10889
10885
  * out. Ordered like the withdraw list: Polygon, Base, Arbitrum, Ethereum,
10890
- * Optimism, BNB Chain, then by name; on a chain, stablecoins first (USDC
10891
- * leading), then the rest by symbol.
10886
+ * Optimism, BNB Chain, then by name; on a chain, the native coin first, then
10887
+ * by symbol A→Z — every token alike.
10892
10888
  */
10893
10889
  declare function evmDepositAssets(assets: BridgeAsset[]): EvmDepositAsset[];
10894
10890
  interface DepositQuote {
@@ -10917,11 +10913,11 @@ declare const DEPOSIT_REFERENCE_USD = 100;
10917
10913
  /**
10918
10914
  * The price impact of sending an asset to the deposit address, quoted for a
10919
10915
  * reference deposit of {@link DEPOSIT_REFERENCE_USD} (or the asset's minimum,
10920
- * if higher) — the figure polymarket.com shows before any amount is known. A
10921
- * stablecoin is quoted at that many units; any other token is first priced
10922
- * with a one-unit quote, then quoted at the equivalent amount.
10916
+ * if higher) — the figure polymarket.com shows before any amount is known.
10917
+ * Every token the same way: priced with a probe quote, then quoted at the
10918
+ * equivalent amount (no token is assumed to be worth $1).
10923
10919
  */
10924
- declare function depositPriceImpact(asset: Pick<EvmDepositAsset, 'chainId' | 'tokenAddress' | 'decimals' | 'minUsd' | 'stable'>, wallet: string, service?: PolymarketService): Promise<DepositQuote>;
10920
+ declare function depositPriceImpact(asset: Pick<EvmDepositAsset, 'chainId' | 'tokenAddress' | 'decimals' | 'minUsd'>, wallet: string, service?: PolymarketService): Promise<DepositQuote>;
10925
10921
 
10926
10922
  /**
10927
10923
  * Market-order maths on an order book — pure, no I/O, unit-tested
@@ -11210,16 +11206,16 @@ declare class PolymarketWithdrawError extends Error {
11210
11206
  /**
11211
11207
  * Where cash can be withdrawn to: every token the bridge serves on EVM chains
11212
11208
  * (the user's own wallet address works on every one of them), pUSD itself
11213
- * excluded. Polygon USDC first — no cross-chain hop — then the chains Keyring
11214
- * users hold most, then the rest by name; on a chain the USD stablecoins come
11215
- * first, then every other token by symbol.
11209
+ * excluded. Polygon first — no cross-chain hop — then the chains Keyring
11210
+ * users hold most, then the rest by name; on a chain the native coin first,
11211
+ * then by symbol A→Z — every token alike.
11216
11212
  */
11217
11213
  declare function withdrawDestinations(assets: BridgeAsset[]): WithdrawDestination[];
11218
11214
  /** The destination fields a withdrawal reads; `minUsd` is looked up when not given. */
11219
11215
  type WithdrawTarget = Pick<WithdrawDestination, 'chainId' | 'tokenAddress'> & Partial<Pick<WithdrawDestination, 'minUsd'>>;
11220
11216
  /**
11221
11217
  * True when `units` of pUSD are below `minUsd` (one pUSD ≈ $1, so the minimum
11222
- * compares directly, as a stablecoin deposit's does). No minimum (0) → false.
11218
+ * compares directly). No minimum (0) → false.
11223
11219
  */
11224
11220
  declare function isBelowWithdrawMinimum(units: bigint, minUsd: number | null | undefined): boolean;
11225
11221
  /** A pUSD amount as typed ("12.5") → base units; null when not a positive amount with ≤ 6 decimals. */
@@ -16261,4 +16257,4 @@ declare class AbortError extends Error {
16261
16257
  */
16262
16258
  declare function isAbortError(err: unknown): boolean;
16263
16259
 
16264
- export { AI_AGENT_TOOL_NAMES, type Abi, type AbiItem, type AbiParameter, AbortError, type AccountActionOptions, type AddLiquidityFormProps, type AddLiquiditySummary, type Address, type AffiliateFee, type AgentConfig, AgentCore, type AgentResponse, type ApprovalTx, ApproveTokenTool, type ApyPoint, BRIDGE_MIN_BUFFER_USD, BRIDGE_NON_EVM_CHAIN_FAMILY, BRIDGE_STATUS_POLL_MS, BRIDGE_SUPPORT_URL, BUILDER_CODE, BaseNftAiTool, BaseSwapProvider, BaseTool, BaseWalletActionTool, type BlockParameters, type BlockTag, type BookLevel, type BookStreamStatus, type BridgeAddresses, type BridgeAsset, type BridgeQuote, type BridgeTransfer, type BuildApprovalsParams, type BuilderAuthRequest, type BuilderAuthorization, type BuyTokenSide, BuyTokenTool, CONDITIONAL_TOKENS, CachedResource, type CallParameters, type Chain, type ChainMeta, type ChainRef, type ChainSelector, ChatHistory, type ChatMessage, type ChatOptions, type ChatRole, type CheckApprovalParams, type CheckApprovalResult, type Client, type ClientBatchConfig, type ClobCredentials, CoinpoolConfigApi, type ConfirmAddLiquidityTxProps, type ContractFunctionParameters, type CortexResponse, type CryptoPriceTick, DEFAULT_CHAIN, DEFAULT_PROVIDER, DEFAULT_RPC_BY_CHAIN, DEFILLAMA_EXTRA_SIGNALS, DEFILLAMA_POOL_CHAIN_HEXES, DEFILLAMA_POOL_CHAIN_PARAM_DESCRIPTION, DELAYED_ORDER, DEPOSIT_REFERENCE_USD, DEPOSIT_STABLE_SYMBOLS, DebridgeProvider, type DecodedCall, type DecodedEvent, type DecodedParam, type DefaultSubagentName, DefiLlamaEstimatePoolYieldTool, type DefiLlamaEstimatePoolYieldToolConfig, type DefiLlamaPool, DefiLlamaPoolByAddressTool, type DefiLlamaPoolByAddressToolConfig, DefiLlamaPoolCandidateResolver, DefiLlamaPoolDetailTool, type DefiLlamaPoolDetailToolConfig, DefiLlamaPoolSearchTool, type DefiLlamaPoolSearchToolConfig, DefiLlamaPoolService, type DefiLlamaPoolServiceConfig, type DefiLlamaProtocolVersion, type DefiLlamaServiceResponse, type DefiLlamaSortBy, DefiLlamaTopPoolsTool, type DefiLlamaTopPoolsToolConfig, type DefiPosition, type DefiPositionDetails, type DefiPositionToken, type DefiProtocolSummary, type DeployDepositWalletResult, type DepositQuote, type EIP1193RequestFn, ERC1967_INIT_CODE, EstimatePoolYieldTool, type EstimatePoolYieldToolConfig, type EvmDepositAsset, type FeeContext, type FormattedDefiLlamaPool, GAMES_TAG_ID, GeminiProvider, GeminiSearchAiTool, type GeminiSearchAiToolConfig, HEX_TO_PANTOGRAPH, HIDE_FROM_NEW_TAG_ID, type Hex, type HolderChangePeriod, type HolderSupplyTier, type HttpMethod, type IngestKnowledgeBaseInput, type IngestKnowledgeBaseResult, type InputTokenInfo, type KBSearchResult, KeyringSettingApi, KnowledgeBase, type KnowledgeBaseEntry, type KnowledgeBaseProvider, type LLMProvider, type LLMProviderConfig, type LLMResponse, type LLMToolCall, type LendingMarket, type LendingMarketCardProps, LendingMarketDetailTool, type LendingMarketDetailToolConfig, type LendingMarketListProps, type LendingMarketOverview, LendingMarketsTool, type LendingMarketsToolConfig, type LendingProtocolType, LendingReadService, LendingService, type LendingServiceConfig, type LendingSupplyPosition, LendingSupplyService, MARKET_ORDER, MARKET_STREAM, MULTICALL3_ADDRESS, ManageLiquidityRedirectTool, type MarketFee, type MarketOrder, type MarketOrderInput, type MarketQuote, type MarketTradeInfo, type MarketplaceLink, type MoralisApiResponse, MoralisService, type MoralisServiceConfig, type MulticallParameters, type MulticallRawParameters, type MulticallResult, NATIVE_GAS_LIMIT, NATIVE_TOKEN_PLACEHOLDER, NEG_RISK_ADAPTER, NFC_AGENT_TOOL_NAMES, NFC_AMAZON_DEFAULT_DOMAIN, NFC_AMAZON_DOMAINS, type NFTCollectionItem, NFTContractInfoTool, type NFTContractMetadata, type NFTItem, type NFTLastSale, type NFTMetadata, NFTMetadataTool, NFT_AGENT_TOOL_NAMES, type NativeActionKind, type NativeGasGap, type NativeTokenInfo, NfcBuyTool, NfcInfoTool, type NftTransferLastSale, NoFormTool, type NoFormToolMessages, ONBOARDING_STEP, ONBOARDING_TRACKING, ORDER_INPUT_ERROR, type OnboardingResult, type OnboardingSnapshot, type OnboardingStep, OpenAddLiquidityFormTool, type OpenAddLiquidityFormToolConfig, OpenSupplyFormTool, type OpenSupplyFormToolConfig, type OrderBookSnapshot, type OrderBookWatch, type OrderInputError, PERPS_DEPOSIT_CONTRACT, POLYGON_CHAIN_ID, POLYGON_HEX_CHAIN_ID, POLYGON_NATIVE_PRECOMPILE, POLYMARKET_API, POLYMARKET_LIVE_DATA_WS, POLYMARKET_WEB_URL, POOL_UNISWAP_AGENT_TOOL_NAMES, POSITION_DUST_SHARES, PREDICTION_ACTIVITY_TYPES, PREDICTION_AGENT_TOOL_NAMES, PREDICTION_CATEGORIES, PREDICTION_SORTS, PUSD_ADDRESS, PUSD_DECIMALS, PantographService, type PantographServiceConfig, type PantographYieldIdentity, type PaymentToken, type PlaceOrderOptions, type PlacedOrder, type PolymarketAccount, PolymarketApiError, type PolymarketBuilderAuth, type PolymarketBuilderCredentials, PolymarketOnboardingError, PolymarketRedeemError, type PolymarketSdkSigner, PolymarketService, type PolymarketServiceConfig, type PolymarketSignerBridge, PolymarketTradeError, type PolymarketTypedData, PolymarketWithdrawError, PoolByAddressTool, type PoolByAddressToolConfig, PoolDetailTool, type PoolDetailToolConfig, type PoolDisplayInfo, PoolFallbackAiTool, type PoolFallbackAiToolConfig, type PoolOnchainInfo, PoolPriceRangesTool, type PoolPriceRangesToolConfig, PoolSearchTool, type PoolSearchToolConfig, PoolService, type PoolServiceConfig, PoolSwapRouter, type PredictionActivityItem, type PredictionActivityItemProps, type PredictionActivityProps, PredictionActivityTool, type PredictionCategoryKey, type PredictionDepositAssetProps, type PredictionDepositNetworkProps, type PredictionDepositOptionProps, type PredictionDepositProps, PredictionDepositTool, type PredictionEvent, type PredictionEventCardProps, type PredictionHeadline, type PredictionMarket, type PredictionMarketDetailProps, PredictionMarketDetailTool, type PredictionMarketListProps, type PredictionMarketRowProps, PredictionMarketsTool, type PredictionOutcome, type PredictionOutcomeProps, type PredictionPortfolioProps, PredictionPortfolioTool, type PredictionPosition, type PredictionPositionProps, type PredictionSetupProps, PredictionSetupTool, type PredictionSortKey, type PredictionTradeMarketProps, type PredictionTradeProps, PredictionTradeTool, type PredictionWithdrawDestinationProps, type PredictionWithdrawProps, PredictionWithdrawTool, type PreparedOrder, type PresetInputs, PreviewAddLiquidityTool, type PreviewAddLiquidityToolConfig, type PriceBounds, type PriceRangePrefill, type ProtocolVersion, type ProviderName, PublicClient, type PublicClientConfig, type QuickRate, type QuoteGas, REDEEM, RELAYER_DEPLOY_POLL, RELAYER_SUBMIT_PATH, type RangePreset, type RawYieldIdentityRow, type ReActPhase, type ReActStep, type ReActTrace, type ReadContractParameters, type RedeemErrorCode, type RedeemOptions, type RedeemResult, RelayProvider, type RemoteBuilderSigningConfig, type ResolvedRange, Router, type RouterAssignment, type RouterDecision, type RunOnboardingOptions, SUPPLIABLE_TYPES, SUPPORTED_CHAINS, SUPPORTED_CHAINS_LABEL, SWAP_PROVIDER_CONFIG, SendNativeTool, SendNftTool, SendTokenTool, type SpendableBalance, type StateOverride, type StorageProvider, Subagent, type SubagentCard, type SubagentOptions, type SubagentParams, type SubagentResult, type SubagentTask, type SubagentToggles, SubgraphAddPoolTool, type SubgraphAddPoolToolConfig, SubgraphCoinPoolPairsTool, type SubgraphCoinPoolPairsToolConfig, SubgraphPoolByAddressTool, type SubgraphPoolByAddressToolConfig, SubgraphPoolByPositionIdTool, type SubgraphPoolByPositionIdToolConfig, SubgraphPoolSearchTool, type SubgraphPoolSearchToolConfig, SubgraphPositionDetailTool, type SubgraphPositionDetailToolConfig, SubgraphTrendingPoolsTool, type SubgraphTrendingPoolsToolConfig, type SuggestedAction, Summarizer, type SuppliableMarket, type SupplyProtocolType, type SupplyUsdcProps, type SupportedChainId, type SupportedChainName, type SwapProviderConfig, type SwapProviderConfigMap, SwapProviderFactory, type SwapQuoteParams, type SwapQuoteResult, type SwapRoute, type SwapRouteRequest, SwapRouter, SwapRouterRegistry, type SwapTokenFormProps, SwapTokenTool, type SwapTxData, Synthesizer, TOKEN_AGENT_TOOL_NAMES, TRADE_ERROR, TRADING_APPROVALS_METADATA, TRANSFER_TOPIC, TRENDING_DEFAULT_BY_HEX_CHAIN, type TokenAnalyticsResponse, type TokenAnalyticsTimeframeBuckets, TokenAnalyticsTool, type TokenAnalyticsToolConfig, type TokenApproval, type TokenApprovalSpender, type TokenApprovalToken, type TokenBalance, type TokenDisplay, type TokenHoldersResponse, TokenHoldersTool, type TokenHoldersToolConfig, TokenInfoTool, type TokenInfoToolConfig, type TokenMetadata, type TokenScoreMetrics, type TokenScoreResponse, type TokenScoreSupply, type TokenScoreTimeframeBuckets, TokenScoreTool, type TokenScoreToolConfig, type Tool, type ToolDefinition, type ToolKind, type ToolParameter, ToolRegistry, type ToolResult, type TopGainerTimeFrames, type TopGainerToken, type TopGainersTimeFrame, TopGainersTool, type TopGainersToolConfig, TopPoolsTool, type TopPoolsToolConfig, type TrackStatus, type TrackTransactionParams, type TrackTransactionResult, type TradeErrorCode, type TradingApprovalsStatus, type TransactionByHashResponse, TransactionByHashTool, type TransactionByHashToolConfig, type TransactionLog, type TransactionReceipt, type TransactionReceiptLog, type Transport, type TransportConfig, type TrendingToken, type TrendingTokenTimeframeBuckets, TrendingTokensTool, type TrendingTokensToolConfig, type UIPayload, UNISWAP_CHAIN_SLUG, UNRESOLVED_ASSET, UP_OR_DOWN_TAG_ID, type UnsignedTx, type UpDownPrices, type UpDownWindow, type UpstashEmbedStrategy, type UpstashFusionAlgorithm, type UpstashKBUpsertEntry, UpstashKnowledgeBase, type UpstashKnowledgeBaseConfig, type UserContext, UserSwapRouter, type VectorKBConfig, WALLET_ACTION_AGENT_TOOL_NAMES, WALLET_AGENT_TOOL_NAMES, WALLET_DERIVATION, WITHDRAW, type WalletActionProps, type WalletActionType, type WalletApprovalsResponse, WalletApprovalsTool, type WalletApprovalsToolConfig, type WalletDefiPositionSummary, WalletDefiPositionsTool, type WalletDefiPositionsToolConfig, type WalletDefiPositionsV1Response, type WalletDefiProtocolPositionsResponse, WalletDefiProtocolPositionsTool, type WalletDefiProtocolPositionsToolConfig, type WalletDefiProtocolPositionsV1Response, type WalletDefiSummaryResponse, type WalletDefiSummaryV1Response, type WalletDepositOption, type WalletHistoryCategory, type WalletHistoryContractInteraction, type WalletHistoryErc20Transfer, type WalletHistoryItem, type WalletHistoryNativeTransfer, type WalletHistoryNftTransfer, type WalletHistoryResponse, WalletHistoryTool, type WalletHistoryToolConfig, WalletLendingPositionsTool, type WalletLendingPositionsToolConfig, WalletNFTsTool, type WalletNFTsToolConfig, type WalletNftCardProps, type WalletNftListProps, type WalletNftTransferItem, type WalletNftTransfersResponse, WalletNftTransfersTool, type WalletNftTransfersToolConfig, type WalletPnlDaysWindow, type WalletPnlResponse, type WalletPnlSummaryResponse, WalletPnlSummaryTool, type WalletPnlSummaryToolConfig, type WalletPnlTokenItem, WalletPnlTool, type WalletPnlToolConfig, WalletTokenBalancesTool, type WalletTokenBalancesToolConfig, type WalletTokenTransferItem, type WalletTokenTransfersResponse, WalletTokenTransfersTool, type WalletTokenTransfersToolConfig, type WatchOrderBooksOptions, type WebsiteTrustExtraData, type WebsiteTrustInput, WebsiteTrustKeyringAgent, type WebsiteTrustKeyringAgentConfig, type WebsiteTrustResult, type WithdrawDestination, type WithdrawErrorCode, type WithdrawOptions, type WithdrawQuote, type WithdrawResult, type WithdrawTarget, type X402Authorization, type X402Challenge, type X402Display, type X402Outcome, type X402PaymentRequiredProps, type X402Receipt, type X402RequestSpec, type X402Requirements, type X402SignRequest, type X402Signer, type X402TypedData, type X402Version, type YieldAssetInfo, type YieldConversionCall, type YieldConversionPlan, type YieldPricingOptions, type YieldPricingToken, type YieldTokenInput, type YieldTokenValue, ZERO_ADDRESS, adjustBuyAmountForFees, allInBuyNotional, amazonDomainForLanguage, apiClient, applyMarketEvent, applyYieldConversions, bestPrice, bridgeMinUsd, buildApprovalCalls, buildApprovals, buildBuilderSignature, buildChallenge, buildRangePresets, buildUniswapPoolUrl, builderApiKey, buyNotional, buyNotionalAfterFee, call, canDeriveV3PoolAddress, ceil2, chains, checkNativeGasAffordable, checksumAddress, clampTick, classifyTradeError, classifyWithdrawError, clearPublicClientCache, coinpoolConfigApi, compareDecimal, completeX402, configureSupportedChains, configureSwapProvider, convertSusdsShares, createAiAgent, createDefaultSubagents, createNfcAgent, createNftAgent, createPolymarketSigner, createPoolUniswapAgent, createPredictionAgent, createPublicClient, createTokenAgent, createTransport, createWalletActionAgent, createWalletAgent, createX402SignatureProvider, decodeAbiParameters, decodeErrorResult, decodeFunctionData, decodeFunctionResult, defiLlamaPoolInfoScope, defiLlamaPoolSupportsLabel, deployDepositWallet, depositPriceImpact, deriveBeaconDepositWallet, deriveDepositWallet, deriveSafeWallet, deriveUupsDepositWallet, deriveV3PoolAddress, displayFromChallenge, effectivePriceUSD, encodeAbiParameters, encodeApprove, encodeErrorResult, encodeFunctionData, encodeSignedHeader, erc1155Abi, erc20Abi, erc20Abi_bytes32, erc721Abi, estimateGas, estimateNativeGasReserveWei, estimateTransactionFeeWei, ethCallAt, ethCallByChain, eventHeadline, eventUrl, evmDepositAssets, exactAmountString, extractOutRaw, extractQuoteError, fallback, feePerShare, feeWeiToNative, fetchOnboardingSnapshot, fetchTopMarketplaces, fetchTradingApprovalsStatus, fetchUnderlyingPricesUSD, findWalletDepositOptions, floor2, floorToDecimals, formatDefiLlamaPool, getAbiItem, getAddress, getBalance, getBlock, getBlockNumber, getCashBalance, getCashBalanceBaseUnits, getChain, getChainContractAddress, getChainId, getChainMeta, getCode, getDefaultRpcUrl, getGasPrice, getNativeTokenInfo, getPolymarketBuilderCode, getPublicClient, getRevertReason, getRpcOverrides, getShareBalances, getStorageAt, getTokenPriceUSD, getTransactionCount, http, humanToWei, ingestKnowledgeBase, isAbortError, isAddress, isAddressEqual, isBelowWithdrawMinimum, isEvmAddress, isMarketOpen, isPaymentRequired, isShareBasedProtocol, isShareBasedYieldToken, isSupplyChain, keyringSettingApi, listCandidateChains, listSupplyChains, mapEvent, mapMarket, marketFee, marketProtocol, moneylineMarket, mulDivFloor, multicall, multicall3Abi, multicallRaw, nativeGasShortfall, nfcAmazonSearchUrl, normaliseCountry, normalizeDecimal, normalizeLevels, normalizePriceRangeToPool, normalizeText, onboardingStep, openSecureClient, parseAbi, parseAbiItem, parseAbiParameters, parsePolymarketUrl, parsePredictionHint, pickLogo, placePredictionOrder, planYieldTokenConversions, predictionHint, prepareMarketOrder, priceToTick, protocolLabelFor, psm3For, pusdFromBaseUnits, pusdToBaseUnits, quoteBuyAsPolymarket, quoteBuyUsd, quoteDeposit, quoteMarketOrder, quoteSellShares, quoteWithdrawal, readContract, readPaymentError, readPaymentRequired, readProtocolFeeWei, readReceipt, readSpendableBalance, readTokenUsdPrice, redeemPredictionPositions, registerMaybeNoForm, remoteBuilderSigning, requestWithX402, resolveAccountWallet, resolveCategory, resolveGasLimit, resolveNfcShopLinks, resolveRawYieldAsset, resolveRawYieldIdentity, resolveRawYieldProtocol, resolveRpcUrl, resolveRpcUrls, resolveTokenPriceUSD, roundTickToSpacing, rpcCall, runPolymarketOnboarding, setPolymarketBuilderCode, setRpcOverrides, slippagePrice, spendableNative, swapProviderFactory, swapRouterRegistry, tickToPrice, ticketFee, toBuilderAuthorization, toEventSelector, toFunctionSelector, toPantographChain, toPlainDecimal, unitPriceUSD, upDownWindow, valueYieldTokens, walletDepositAssets, watchCryptoPrice, watchOrderBooks, weiToHuman, withdrawDestinations, withdrawFromPolymarket };
16260
+ export { AI_AGENT_TOOL_NAMES, type Abi, type AbiItem, type AbiParameter, AbortError, type AccountActionOptions, type AddLiquidityFormProps, type AddLiquiditySummary, type Address, type AffiliateFee, type AgentConfig, AgentCore, type AgentResponse, type ApprovalTx, ApproveTokenTool, type ApyPoint, BRIDGE_MIN_BUFFER_USD, BRIDGE_NON_EVM_CHAIN_FAMILY, BRIDGE_STATUS_POLL_MS, BRIDGE_SUPPORT_URL, BUILDER_CODE, BaseNftAiTool, BaseSwapProvider, BaseTool, BaseWalletActionTool, type BlockParameters, type BlockTag, type BookLevel, type BookStreamStatus, type BridgeAddresses, type BridgeAsset, type BridgeQuote, type BridgeTransfer, type BuildApprovalsParams, type BuilderAuthRequest, type BuilderAuthorization, type BuyTokenSide, BuyTokenTool, CONDITIONAL_TOKENS, CachedResource, type CallParameters, type Chain, type ChainMeta, type ChainRef, type ChainSelector, ChatHistory, type ChatMessage, type ChatOptions, type ChatRole, type CheckApprovalParams, type CheckApprovalResult, type Client, type ClientBatchConfig, type ClobCredentials, CoinpoolConfigApi, type ConfirmAddLiquidityTxProps, type ContractFunctionParameters, type CortexResponse, type CryptoPriceTick, DEFAULT_CHAIN, DEFAULT_PROVIDER, DEFAULT_RPC_BY_CHAIN, DEFILLAMA_EXTRA_SIGNALS, DEFILLAMA_POOL_CHAIN_HEXES, DEFILLAMA_POOL_CHAIN_PARAM_DESCRIPTION, DELAYED_ORDER, DEPOSIT_REFERENCE_USD, DebridgeProvider, type DecodedCall, type DecodedEvent, type DecodedParam, type DefaultSubagentName, DefiLlamaEstimatePoolYieldTool, type DefiLlamaEstimatePoolYieldToolConfig, type DefiLlamaPool, DefiLlamaPoolByAddressTool, type DefiLlamaPoolByAddressToolConfig, DefiLlamaPoolCandidateResolver, DefiLlamaPoolDetailTool, type DefiLlamaPoolDetailToolConfig, DefiLlamaPoolSearchTool, type DefiLlamaPoolSearchToolConfig, DefiLlamaPoolService, type DefiLlamaPoolServiceConfig, type DefiLlamaProtocolVersion, type DefiLlamaServiceResponse, type DefiLlamaSortBy, DefiLlamaTopPoolsTool, type DefiLlamaTopPoolsToolConfig, type DefiPosition, type DefiPositionDetails, type DefiPositionToken, type DefiProtocolSummary, type DeployDepositWalletResult, type DepositQuote, type EIP1193RequestFn, ERC1967_INIT_CODE, EstimatePoolYieldTool, type EstimatePoolYieldToolConfig, type EvmDepositAsset, type FeeContext, type FormattedDefiLlamaPool, GAMES_TAG_ID, GeminiProvider, GeminiSearchAiTool, type GeminiSearchAiToolConfig, HEX_TO_PANTOGRAPH, HIDE_FROM_NEW_TAG_ID, type Hex, type HolderChangePeriod, type HolderSupplyTier, type HttpMethod, type IngestKnowledgeBaseInput, type IngestKnowledgeBaseResult, type InputTokenInfo, type KBSearchResult, KeyringSettingApi, KnowledgeBase, type KnowledgeBaseEntry, type KnowledgeBaseProvider, type LLMProvider, type LLMProviderConfig, type LLMResponse, type LLMToolCall, type LendingMarket, type LendingMarketCardProps, LendingMarketDetailTool, type LendingMarketDetailToolConfig, type LendingMarketListProps, type LendingMarketOverview, LendingMarketsTool, type LendingMarketsToolConfig, type LendingProtocolType, LendingReadService, LendingService, type LendingServiceConfig, type LendingSupplyPosition, LendingSupplyService, MARKET_ORDER, MARKET_STREAM, MULTICALL3_ADDRESS, ManageLiquidityRedirectTool, type MarketFee, type MarketOrder, type MarketOrderInput, type MarketQuote, type MarketTradeInfo, type MarketplaceLink, type MoralisApiResponse, MoralisService, type MoralisServiceConfig, type MulticallParameters, type MulticallRawParameters, type MulticallResult, NATIVE_GAS_LIMIT, NATIVE_TOKEN_PLACEHOLDER, NEG_RISK_ADAPTER, NFC_AGENT_TOOL_NAMES, NFC_AMAZON_DEFAULT_DOMAIN, NFC_AMAZON_DOMAINS, type NFTCollectionItem, NFTContractInfoTool, type NFTContractMetadata, type NFTItem, type NFTLastSale, type NFTMetadata, NFTMetadataTool, NFT_AGENT_TOOL_NAMES, type NativeActionKind, type NativeGasGap, type NativeTokenInfo, NfcBuyTool, NfcInfoTool, type NftTransferLastSale, NoFormTool, type NoFormToolMessages, ONBOARDING_STEP, ONBOARDING_TRACKING, ORDER_INPUT_ERROR, type OnboardingResult, type OnboardingSnapshot, type OnboardingStep, OpenAddLiquidityFormTool, type OpenAddLiquidityFormToolConfig, OpenSupplyFormTool, type OpenSupplyFormToolConfig, type OrderBookSnapshot, type OrderBookWatch, type OrderInputError, PERPS_DEPOSIT_CONTRACT, POLYGON_CHAIN_ID, POLYGON_HEX_CHAIN_ID, POLYGON_NATIVE_PRECOMPILE, POLYMARKET_API, POLYMARKET_LIVE_DATA_WS, POLYMARKET_WEB_URL, POOL_UNISWAP_AGENT_TOOL_NAMES, POSITION_DUST_SHARES, PREDICTION_ACTIVITY_TYPES, PREDICTION_AGENT_TOOL_NAMES, PREDICTION_CATEGORIES, PREDICTION_SORTS, PUSD_ADDRESS, PUSD_DECIMALS, PantographService, type PantographServiceConfig, type PantographYieldIdentity, type PaymentToken, type PlaceOrderOptions, type PlacedOrder, type PolymarketAccount, PolymarketApiError, type PolymarketBuilderAuth, type PolymarketBuilderCredentials, PolymarketOnboardingError, PolymarketRedeemError, type PolymarketSdkSigner, PolymarketService, type PolymarketServiceConfig, type PolymarketSignerBridge, PolymarketTradeError, type PolymarketTypedData, PolymarketWithdrawError, PoolByAddressTool, type PoolByAddressToolConfig, PoolDetailTool, type PoolDetailToolConfig, type PoolDisplayInfo, PoolFallbackAiTool, type PoolFallbackAiToolConfig, type PoolOnchainInfo, PoolPriceRangesTool, type PoolPriceRangesToolConfig, PoolSearchTool, type PoolSearchToolConfig, PoolService, type PoolServiceConfig, PoolSwapRouter, type PredictionActivityItem, type PredictionActivityItemProps, type PredictionActivityProps, PredictionActivityTool, type PredictionCategoryKey, type PredictionDepositAssetProps, type PredictionDepositNetworkProps, type PredictionDepositOptionProps, type PredictionDepositProps, PredictionDepositTool, type PredictionEvent, type PredictionEventCardProps, type PredictionHeadline, type PredictionMarket, type PredictionMarketDetailProps, PredictionMarketDetailTool, type PredictionMarketListProps, type PredictionMarketRowProps, PredictionMarketsTool, type PredictionOutcome, type PredictionOutcomeProps, type PredictionPortfolioProps, PredictionPortfolioTool, type PredictionPosition, type PredictionPositionProps, type PredictionSetupProps, PredictionSetupTool, type PredictionSortKey, type PredictionTradeMarketProps, type PredictionTradeProps, PredictionTradeTool, type PredictionWithdrawDestinationProps, type PredictionWithdrawProps, PredictionWithdrawTool, type PreparedOrder, type PresetInputs, PreviewAddLiquidityTool, type PreviewAddLiquidityToolConfig, type PriceBounds, type PriceRangePrefill, type ProtocolVersion, type ProviderName, PublicClient, type PublicClientConfig, type QuickRate, type QuoteGas, REDEEM, RELAYER_DEPLOY_POLL, RELAYER_SUBMIT_PATH, type RangePreset, type RawYieldIdentityRow, type ReActPhase, type ReActStep, type ReActTrace, type ReadContractParameters, type RedeemErrorCode, type RedeemOptions, type RedeemResult, RelayProvider, type RemoteBuilderSigningConfig, type ResolvedRange, Router, type RouterAssignment, type RouterDecision, type RunOnboardingOptions, SUPPLIABLE_TYPES, SUPPORTED_CHAINS, SUPPORTED_CHAINS_LABEL, SWAP_PROVIDER_CONFIG, SendNativeTool, SendNftTool, SendTokenTool, type SpendableBalance, type StateOverride, type StorageProvider, Subagent, type SubagentCard, type SubagentOptions, type SubagentParams, type SubagentResult, type SubagentTask, type SubagentToggles, SubgraphAddPoolTool, type SubgraphAddPoolToolConfig, SubgraphCoinPoolPairsTool, type SubgraphCoinPoolPairsToolConfig, SubgraphPoolByAddressTool, type SubgraphPoolByAddressToolConfig, SubgraphPoolByPositionIdTool, type SubgraphPoolByPositionIdToolConfig, SubgraphPoolSearchTool, type SubgraphPoolSearchToolConfig, SubgraphPositionDetailTool, type SubgraphPositionDetailToolConfig, SubgraphTrendingPoolsTool, type SubgraphTrendingPoolsToolConfig, type SuggestedAction, Summarizer, type SuppliableMarket, type SupplyProtocolType, type SupplyUsdcProps, type SupportedChainId, type SupportedChainName, type SwapProviderConfig, type SwapProviderConfigMap, SwapProviderFactory, type SwapQuoteParams, type SwapQuoteResult, type SwapRoute, type SwapRouteRequest, SwapRouter, SwapRouterRegistry, type SwapTokenFormProps, SwapTokenTool, type SwapTxData, Synthesizer, TOKEN_AGENT_TOOL_NAMES, TRADE_ERROR, TRADING_APPROVALS_METADATA, TRANSFER_TOPIC, TRENDING_DEFAULT_BY_HEX_CHAIN, type TokenAnalyticsResponse, type TokenAnalyticsTimeframeBuckets, TokenAnalyticsTool, type TokenAnalyticsToolConfig, type TokenApproval, type TokenApprovalSpender, type TokenApprovalToken, type TokenBalance, type TokenDisplay, type TokenHoldersResponse, TokenHoldersTool, type TokenHoldersToolConfig, TokenInfoTool, type TokenInfoToolConfig, type TokenMetadata, type TokenScoreMetrics, type TokenScoreResponse, type TokenScoreSupply, type TokenScoreTimeframeBuckets, TokenScoreTool, type TokenScoreToolConfig, type Tool, type ToolDefinition, type ToolKind, type ToolParameter, ToolRegistry, type ToolResult, type TopGainerTimeFrames, type TopGainerToken, type TopGainersTimeFrame, TopGainersTool, type TopGainersToolConfig, TopPoolsTool, type TopPoolsToolConfig, type TrackStatus, type TrackTransactionParams, type TrackTransactionResult, type TradeErrorCode, type TradingApprovalsStatus, type TransactionByHashResponse, TransactionByHashTool, type TransactionByHashToolConfig, type TransactionLog, type TransactionReceipt, type TransactionReceiptLog, type Transport, type TransportConfig, type TrendingToken, type TrendingTokenTimeframeBuckets, TrendingTokensTool, type TrendingTokensToolConfig, type UIPayload, UNISWAP_CHAIN_SLUG, UNRESOLVED_ASSET, UP_OR_DOWN_TAG_ID, type UnsignedTx, type UpDownPrices, type UpDownWindow, type UpstashEmbedStrategy, type UpstashFusionAlgorithm, type UpstashKBUpsertEntry, UpstashKnowledgeBase, type UpstashKnowledgeBaseConfig, type UserContext, UserSwapRouter, type VectorKBConfig, WALLET_ACTION_AGENT_TOOL_NAMES, WALLET_AGENT_TOOL_NAMES, WALLET_DERIVATION, WITHDRAW, type WalletActionProps, type WalletActionType, type WalletApprovalsResponse, WalletApprovalsTool, type WalletApprovalsToolConfig, type WalletDefiPositionSummary, WalletDefiPositionsTool, type WalletDefiPositionsToolConfig, type WalletDefiPositionsV1Response, type WalletDefiProtocolPositionsResponse, WalletDefiProtocolPositionsTool, type WalletDefiProtocolPositionsToolConfig, type WalletDefiProtocolPositionsV1Response, type WalletDefiSummaryResponse, type WalletDefiSummaryV1Response, type WalletDepositOption, type WalletHistoryCategory, type WalletHistoryContractInteraction, type WalletHistoryErc20Transfer, type WalletHistoryItem, type WalletHistoryNativeTransfer, type WalletHistoryNftTransfer, type WalletHistoryResponse, WalletHistoryTool, type WalletHistoryToolConfig, WalletLendingPositionsTool, type WalletLendingPositionsToolConfig, WalletNFTsTool, type WalletNFTsToolConfig, type WalletNftCardProps, type WalletNftListProps, type WalletNftTransferItem, type WalletNftTransfersResponse, WalletNftTransfersTool, type WalletNftTransfersToolConfig, type WalletPnlDaysWindow, type WalletPnlResponse, type WalletPnlSummaryResponse, WalletPnlSummaryTool, type WalletPnlSummaryToolConfig, type WalletPnlTokenItem, WalletPnlTool, type WalletPnlToolConfig, WalletTokenBalancesTool, type WalletTokenBalancesToolConfig, type WalletTokenTransferItem, type WalletTokenTransfersResponse, WalletTokenTransfersTool, type WalletTokenTransfersToolConfig, type WatchOrderBooksOptions, type WebsiteTrustExtraData, type WebsiteTrustInput, WebsiteTrustKeyringAgent, type WebsiteTrustKeyringAgentConfig, type WebsiteTrustResult, type WithdrawDestination, type WithdrawErrorCode, type WithdrawOptions, type WithdrawQuote, type WithdrawResult, type WithdrawTarget, type X402Authorization, type X402Challenge, type X402Display, type X402Outcome, type X402PaymentRequiredProps, type X402Receipt, type X402RequestSpec, type X402Requirements, type X402SignRequest, type X402Signer, type X402TypedData, type X402Version, type YieldAssetInfo, type YieldConversionCall, type YieldConversionPlan, type YieldPricingOptions, type YieldPricingToken, type YieldTokenInput, type YieldTokenValue, ZERO_ADDRESS, adjustBuyAmountForFees, allInBuyNotional, amazonDomainForLanguage, apiClient, applyMarketEvent, applyYieldConversions, bestPrice, bridgeMinUsd, buildApprovalCalls, buildApprovals, buildBuilderSignature, buildChallenge, buildRangePresets, buildUniswapPoolUrl, builderApiKey, buyNotional, buyNotionalAfterFee, call, canDeriveV3PoolAddress, ceil2, chains, checkNativeGasAffordable, checksumAddress, clampTick, classifyTradeError, classifyWithdrawError, clearPublicClientCache, coinpoolConfigApi, compareBridgeTokens, compareDecimal, completeX402, configureSupportedChains, configureSwapProvider, convertSusdsShares, createAiAgent, createDefaultSubagents, createNfcAgent, createNftAgent, createPolymarketSigner, createPoolUniswapAgent, createPredictionAgent, createPublicClient, createTokenAgent, createTransport, createWalletActionAgent, createWalletAgent, createX402SignatureProvider, decodeAbiParameters, decodeErrorResult, decodeFunctionData, decodeFunctionResult, defiLlamaPoolInfoScope, defiLlamaPoolSupportsLabel, deployDepositWallet, depositPriceImpact, deriveBeaconDepositWallet, deriveDepositWallet, deriveSafeWallet, deriveUupsDepositWallet, deriveV3PoolAddress, displayFromChallenge, effectivePriceUSD, encodeAbiParameters, encodeApprove, encodeErrorResult, encodeFunctionData, encodeSignedHeader, erc1155Abi, erc20Abi, erc20Abi_bytes32, erc721Abi, estimateGas, estimateNativeGasReserveWei, estimateTransactionFeeWei, ethCallAt, ethCallByChain, eventHeadline, eventUrl, evmDepositAssets, exactAmountString, extractOutRaw, extractQuoteError, fallback, feePerShare, feeWeiToNative, fetchOnboardingSnapshot, fetchTopMarketplaces, fetchTradingApprovalsStatus, fetchUnderlyingPricesUSD, findWalletDepositOptions, floor2, floorToDecimals, formatDefiLlamaPool, getAbiItem, getAddress, getBalance, getBlock, getBlockNumber, getCashBalance, getCashBalanceBaseUnits, getChain, getChainContractAddress, getChainId, getChainMeta, getCode, getDefaultRpcUrl, getGasPrice, getNativeTokenInfo, getPolymarketBuilderCode, getPublicClient, getRevertReason, getRpcOverrides, getShareBalances, getStorageAt, getTokenPriceUSD, getTransactionCount, http, humanToWei, ingestKnowledgeBase, isAbortError, isAddress, isAddressEqual, isBelowWithdrawMinimum, isEvmAddress, isMarketOpen, isPaymentRequired, isShareBasedProtocol, isShareBasedYieldToken, isSupplyChain, keyringSettingApi, listCandidateChains, listSupplyChains, mapEvent, mapMarket, marketFee, marketProtocol, moneylineMarket, mulDivFloor, multicall, multicall3Abi, multicallRaw, nativeGasShortfall, nfcAmazonSearchUrl, normaliseCountry, normalizeDecimal, normalizeLevels, normalizePriceRangeToPool, normalizeText, onboardingStep, openSecureClient, parseAbi, parseAbiItem, parseAbiParameters, parsePolymarketUrl, parsePredictionHint, pickLogo, placePredictionOrder, planYieldTokenConversions, predictionHint, prepareMarketOrder, priceToTick, protocolLabelFor, psm3For, pusdFromBaseUnits, pusdToBaseUnits, quoteBuyAsPolymarket, quoteBuyUsd, quoteDeposit, quoteMarketOrder, quoteSellShares, quoteWithdrawal, readContract, readPaymentError, readPaymentRequired, readProtocolFeeWei, readReceipt, readSpendableBalance, readTokenUsdPrice, redeemPredictionPositions, registerMaybeNoForm, remoteBuilderSigning, requestWithX402, resolveAccountWallet, resolveCategory, resolveGasLimit, resolveNfcShopLinks, resolveRawYieldAsset, resolveRawYieldIdentity, resolveRawYieldProtocol, resolveRpcUrl, resolveRpcUrls, resolveTokenPriceUSD, roundTickToSpacing, rpcCall, runPolymarketOnboarding, setPolymarketBuilderCode, setRpcOverrides, slippagePrice, spendableNative, swapProviderFactory, swapRouterRegistry, tickToPrice, ticketFee, toBuilderAuthorization, toEventSelector, toFunctionSelector, toPantographChain, toPlainDecimal, unitPriceUSD, upDownWindow, valueYieldTokens, walletDepositAssets, watchCryptoPrice, watchOrderBooks, weiToHuman, withdrawDestinations, withdrawFromPolymarket };