keyring-agent-core 0.2.49 → 0.2.50
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/index.d.ts +153 -1
- package/dist/index.js +98 -82
- package/dist/index.native.js +178 -162
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5231,6 +5231,14 @@ declare class TransactionByHashTool extends BaseTool {
|
|
|
5231
5231
|
}>;
|
|
5232
5232
|
}
|
|
5233
5233
|
|
|
5234
|
+
/** One read in a {@link multicallRead} batch: a target contract + full calldata. */
|
|
5235
|
+
interface MulticallRequest {
|
|
5236
|
+
/** Contract to call. A malformed address yields a `null` result. */
|
|
5237
|
+
target: string;
|
|
5238
|
+
/** Encoded calldata — selector + ABI-encoded args, 0x-prefixed. */
|
|
5239
|
+
callData: string;
|
|
5240
|
+
}
|
|
5241
|
+
|
|
5234
5242
|
/**
|
|
5235
5243
|
* One class per USDC lending protocol — everything that differs between Aave,
|
|
5236
5244
|
* Compound, Spark and Morpho, and nothing that doesn't.
|
|
@@ -8593,6 +8601,150 @@ declare function createX402SignatureProvider(opts: {
|
|
|
8593
8601
|
getSigner: () => X402Signer | null | undefined;
|
|
8594
8602
|
}): X402RetryHandler;
|
|
8595
8603
|
|
|
8604
|
+
/**
|
|
8605
|
+
* USD valuation for yield-bearing wallet tokens.
|
|
8606
|
+
*
|
|
8607
|
+
* A wallet's token list shows a balance and a price, and normally the USD value
|
|
8608
|
+
* is just the product of the two. For yield-bearing tokens that is wrong often
|
|
8609
|
+
* enough to matter, and the reason splits the tagged tokens into two kinds:
|
|
8610
|
+
*
|
|
8611
|
+
* - **Share-based vaults** (`spark`, `spark-ethereum`, `morpho-v2`) — `balanceOf`
|
|
8612
|
+
* returns ERC-4626 SHARES, while the price the token API quotes belongs to the
|
|
8613
|
+
* vault's UNDERLYING asset. A share is worth more than one unit of underlying
|
|
8614
|
+
* and drifts further up as yield accrues (measured live: 1 steakUSDC = 1.0354
|
|
8615
|
+
* USDC, 1 Spark sUSDC = 1.1051 USDC). The two are not even in the same unit —
|
|
8616
|
+
* shares carry the vault's own decimals, usually 18, against the underlying's
|
|
8617
|
+
* 6 for USDC. `convertToAssets(shares)` answers both problems at once: it
|
|
8618
|
+
* returns the position denominated in exactly what the price describes.
|
|
8619
|
+
*
|
|
8620
|
+
* - **Rebasing tokens** (`aave-v3`, `compound-v3`) — the balance is ALREADY the
|
|
8621
|
+
* underlying (their decimals match it) and yield arrives as a growing
|
|
8622
|
+
* `balanceOf`. Converting these would be a bug, so they are left untouched.
|
|
8623
|
+
*
|
|
8624
|
+
* The split is already encoded on the protocol classes as `balanceIsUnderlying`,
|
|
8625
|
+
* and this module reuses it rather than restating the protocol list.
|
|
8626
|
+
*
|
|
8627
|
+
* ## Why this returns calls instead of making them
|
|
8628
|
+
*
|
|
8629
|
+
* Same reasoning as {@link LendingProtocol}: the caller owns the transport. The
|
|
8630
|
+
* wallet app already has its own RPC stack — ranked endpoints, failover, a
|
|
8631
|
+
* Multicall3 batcher, and rate-limit-aware pacing for chains without Multicall3 —
|
|
8632
|
+
* and duplicating it here would mean a second, worse copy. So
|
|
8633
|
+
* {@link planYieldTokenConversions} declares the reads, the caller executes them
|
|
8634
|
+
* however it likes, and {@link applyYieldConversions} folds the answers back in.
|
|
8635
|
+
* Both halves are pure and synchronous, which also makes them trivial to test.
|
|
8636
|
+
*/
|
|
8637
|
+
|
|
8638
|
+
/**
|
|
8639
|
+
* Whether a `yieldProtocol` denominates balances in vault SHARES rather than the
|
|
8640
|
+
* underlying asset.
|
|
8641
|
+
*
|
|
8642
|
+
* Exported so callers can explain a decision — logging why a tagged token was
|
|
8643
|
+
* skipped, say — without keeping their own copy of the list, which would drift.
|
|
8644
|
+
* This answers only the protocol question: use {@link isShareBasedYieldToken}
|
|
8645
|
+
* for whether a specific token is actually convertible, since that also needs a
|
|
8646
|
+
* price and the underlying's decimals.
|
|
8647
|
+
*/
|
|
8648
|
+
declare function isShareBasedProtocol(yieldProtocol?: string | null): yieldProtocol is string;
|
|
8649
|
+
/**
|
|
8650
|
+
* A wallet token as the caller already knows it. Field names mirror what the
|
|
8651
|
+
* Keyring/Pantograph token API returns, so a caller can pass its rows nearly
|
|
8652
|
+
* as-is.
|
|
8653
|
+
*/
|
|
8654
|
+
interface YieldTokenInput {
|
|
8655
|
+
/** Caller's own identifier, echoed back untouched so results can be re-joined. */
|
|
8656
|
+
key: string;
|
|
8657
|
+
/** The token contract — the vault itself for a share-based position. */
|
|
8658
|
+
address: string;
|
|
8659
|
+
/** Raw on-chain balance, unscaled. */
|
|
8660
|
+
rawBalance: bigint;
|
|
8661
|
+
/** The token's own decimals (vault share decimals, usually 18). */
|
|
8662
|
+
decimals: number;
|
|
8663
|
+
/**
|
|
8664
|
+
* Price quoted by the token API — for a vault, the UNDERLYING's price.
|
|
8665
|
+
* Missing, zero or non-finite disables conversion for this token; see
|
|
8666
|
+
* {@link isShareBasedYieldToken}.
|
|
8667
|
+
*/
|
|
8668
|
+
priceUSD: number;
|
|
8669
|
+
/** `yieldProtocol` from the token API; anything untagged is left alone. */
|
|
8670
|
+
yieldProtocol?: string | null;
|
|
8671
|
+
/** `yieldAsset` from the token API. Present only for share-based vaults. */
|
|
8672
|
+
yieldAsset?: {
|
|
8673
|
+
address?: string;
|
|
8674
|
+
decimals?: number;
|
|
8675
|
+
} | null;
|
|
8676
|
+
}
|
|
8677
|
+
/** One declared `convertToAssets` read, tagged with the token it belongs to. */
|
|
8678
|
+
interface YieldConversionCall extends MulticallRequest {
|
|
8679
|
+
/** {@link YieldTokenInput.key} of the token this call resolves. */
|
|
8680
|
+
key: string;
|
|
8681
|
+
}
|
|
8682
|
+
/** What {@link planYieldTokenConversions} worked out, ready to execute. */
|
|
8683
|
+
interface YieldConversionPlan {
|
|
8684
|
+
/** Reads to perform, in order. Empty when nothing needs converting. */
|
|
8685
|
+
calls: YieldConversionCall[];
|
|
8686
|
+
}
|
|
8687
|
+
/** A token's corrected valuation. */
|
|
8688
|
+
interface YieldTokenValue {
|
|
8689
|
+
/** Position size in UNDERLYING units (e.g. USDC), not shares. */
|
|
8690
|
+
underlyingAmount: number;
|
|
8691
|
+
/** `underlyingAmount × priceUSD`. */
|
|
8692
|
+
valueUSD: number;
|
|
8693
|
+
/**
|
|
8694
|
+
* Value per SHARE — `valueUSD / balanceFormatted`.
|
|
8695
|
+
*
|
|
8696
|
+
* Worth storing alongside the total: it keeps a row's displayed unit price
|
|
8697
|
+
* consistent with its total, and lets a later balance-only refresh recompute
|
|
8698
|
+
* `balance × price` correctly without re-reading the chain.
|
|
8699
|
+
*/
|
|
8700
|
+
pricePerTokenUSD: number;
|
|
8701
|
+
/** True when an on-chain conversion produced this. See {@link applyYieldConversions}. */
|
|
8702
|
+
converted: boolean;
|
|
8703
|
+
}
|
|
8704
|
+
/**
|
|
8705
|
+
* True when a token's balance is ERC-4626 shares that must be converted.
|
|
8706
|
+
*
|
|
8707
|
+
* Deliberately stricter than {@link protocolFor} alone, which falls back to an
|
|
8708
|
+
* ERC-4626 protocol for unrecognised types — the right default when listing
|
|
8709
|
+
* lending markets, but not here, where guessing wrong silently corrupts a
|
|
8710
|
+
* balance. Conversion requires ALL of:
|
|
8711
|
+
*
|
|
8712
|
+
* 1. a known share-based protocol (rebasing receipts are already underlying);
|
|
8713
|
+
* 2. `yieldAsset.decimals`, the scale the returned assets must be read at —
|
|
8714
|
+
* without it the result is an unscaled integer, not an amount;
|
|
8715
|
+
* 3. a usable `priceUSD` (finite and > 0). The conversion's whole purpose is to
|
|
8716
|
+
* produce a USD value, and with no price there is none to produce — the
|
|
8717
|
+
* read would cost an RPC call to compute `x × 0`. Worse, reporting a
|
|
8718
|
+
* converted price of 0 would overwrite the caller's own last-known-price
|
|
8719
|
+
* fallback, turning a priced row into a valueless one that dust filters then
|
|
8720
|
+
* hide. Leaving it untouched keeps whatever the caller already had.
|
|
8721
|
+
*
|
|
8722
|
+
* Anything failing these — rebasing, untagged, unpriced, or incompletely
|
|
8723
|
+
* described — is passed through on its existing `balance × price`.
|
|
8724
|
+
*/
|
|
8725
|
+
declare function isShareBasedYieldToken(token: YieldTokenInput): boolean;
|
|
8726
|
+
/**
|
|
8727
|
+
* Declare the `convertToAssets` reads needed to value `tokens` correctly.
|
|
8728
|
+
*
|
|
8729
|
+
* Only share-based holdings with a non-zero balance produce a call, so a wallet
|
|
8730
|
+
* holding no vault tokens plans nothing and costs no RPC.
|
|
8731
|
+
*/
|
|
8732
|
+
declare function planYieldTokenConversions(tokens: YieldTokenInput[]): YieldConversionPlan;
|
|
8733
|
+
/**
|
|
8734
|
+
* Fold executed conversion results back into per-token valuations.
|
|
8735
|
+
*
|
|
8736
|
+
* `returns` must align with {@link YieldConversionPlan.calls} — entry `i` is the
|
|
8737
|
+
* raw return data of call `i`, or `null` if that read failed. The returned map is
|
|
8738
|
+
* keyed by {@link YieldTokenInput.key} and contains an entry for every input
|
|
8739
|
+
* token, converted or not, so the caller can apply it uniformly.
|
|
8740
|
+
*
|
|
8741
|
+
* A failed or undecodable read is never destructive: that token falls back to
|
|
8742
|
+
* `balance × price` — the value it would have had anyway — and is reported with
|
|
8743
|
+
* `converted: false`, so a flaky RPC understates a position at worst instead of
|
|
8744
|
+
* zeroing it.
|
|
8745
|
+
*/
|
|
8746
|
+
declare function applyYieldConversions(tokens: YieldTokenInput[], plan: YieldConversionPlan, returns: Array<string | null>): Map<string, YieldTokenValue>;
|
|
8747
|
+
|
|
8596
8748
|
/**
|
|
8597
8749
|
* PantographService — Pantograph API client.
|
|
8598
8750
|
*
|
|
@@ -8992,4 +9144,4 @@ declare class AbortError extends Error {
|
|
|
8992
9144
|
*/
|
|
8993
9145
|
declare function isAbortError(err: unknown): boolean;
|
|
8994
9146
|
|
|
8995
|
-
export { AI_AGENT_TOOL_NAMES, AbortError, type AddLiquidityFormProps, type AddLiquiditySummary, type AffiliateFee, type AgentConfig, AgentCore, type AgentResponse, ApproveTokenTool, type ApyPoint, BaseNftAiTool, BaseSwapService, BaseTool, BaseWalletActionTool, type BuyTokenConfirmTxProps, type BuyTokenSide, BuyTokenTool, type ChainMeta, type ChainRef, type ChainSelector, ChatHistory, type ChatMessage, type ChatOptions, type ChatRole, type CheckApprovalParams, type CheckApprovalResult, type ConfirmAddLiquidityTxProps, type CortexResponse, DEFAULT_CHAIN, DEFAULT_PROVIDER, DEFAULT_RPC_BY_CHAIN, DebridgeAdapter, type DecodedCall, type DecodedEvent, type DecodedParam, type DefaultSubagentName, type DefiPosition, type DefiPositionDetails, type DefiPositionToken, type DefiProtocolSummary, EstimatePoolYieldTool, type EstimatePoolYieldToolConfig, type ExchangeProviderConfig, type ExecuteSwapParams, type ExecuteSwapResult, GeminiProvider, GeminiSearchAiTool, type GeminiSearchAiToolConfig, HEX_TO_PANTOGRAPH, type HolderChangePeriod, type HolderSupplyTier, type HttpMethod, type IngestKnowledgeBaseInput, type IngestKnowledgeBaseResult, type InputTokenInfo, type KBSearchResult, KnowledgeBase, type KnowledgeBaseEntry, type KnowledgeBaseProvider, type LLMProvider, type LLMProviderConfig, type LLMResponse, type LLMToolCall, type LendingMarket, type LendingMarketOverview, LendingMarketsTool, type LendingMarketsToolConfig, type LendingProtocolType, LendingService, type LendingServiceConfig, type LendingSupplyPosition, ManageLiquidityRedirectTool, type MarketplaceLink, type MoralisApiResponse, MoralisService, type MoralisServiceConfig, 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 NativeTokenInfo, NfcBuyTool, NfcInfoTool, type NftTransferLastSale, NoFormTool, type NoFormToolMessages, OpenAddLiquidityFormTool, type OpenAddLiquidityFormToolConfig, OpenSupplyFormTool, type OpenSupplyFormToolConfig, POOL_AGENT_TOOL_NAMES, PantographService, type PantographServiceConfig, type PaymentToken, PoolByAddressTool, type PoolByAddressToolConfig, PoolDetailTool, type PoolDetailToolConfig, type PoolDisplayInfo, PoolFallbackAiTool, type PoolFallbackAiToolConfig, type PoolOnchainInfo, PoolPriceRangesTool, type PoolPriceRangesToolConfig, PoolSearchTool, type PoolSearchToolConfig, PoolService, type PoolServiceConfig, type PresetInputs, PreviewAddLiquidityTool, type PreviewAddLiquidityToolConfig, type PriceBounds, type PriceRangePrefill, type ProviderName, type QuickRate, type RangePreset, type ReActPhase, type ReActStep, type ReActTrace, RelayAdapter, type ResolvedRange, Router, type RouterAssignment, type RouterDecision, SUPPORTED_CHAINS, SUPPORTED_CHAINS_LABEL, SWAP_PROVIDER_CONFIG, SendNativeTool, SendNftTool, SendTokenTool, 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 SupplyProtocolType, type SupplyUsdcProps, type SupportedChainId, type SupportedChainName, type SwapQuoteParams, type SwapQuoteResult, type SwapServiceConfig, SwapServiceFactory, type SwapTokenConfirmTxProps, SwapTokenTool, type SwapTxData, Synthesizer, TOKEN_AGENT_TOOL_NAMES, 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 TransactionByHashResponse, TransactionByHashTool, type TransactionByHashToolConfig, type TransactionLog, type TransactionReceipt, type TransactionReceiptLog, type TrendingToken, type TrendingTokenTimeframeBuckets, TrendingTokensTool, type TrendingTokensToolConfig, type UIPayload, UNISWAP_CHAIN_SLUG, type UnsignedTx, type UpstashEmbedStrategy, type UpstashFusionAlgorithm, type UpstashKBUpsertEntry, UpstashKnowledgeBase, type UpstashKnowledgeBaseConfig, type UserContext, type VectorKBConfig, WALLET_ACTION_AGENT_TOOL_NAMES, WALLET_AGENT_TOOL_NAMES, 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 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 WebsiteTrustExtraData, type WebsiteTrustInput, WebsiteTrustKeyringAgent, type WebsiteTrustKeyringAgentConfig, type WebsiteTrustResult, type X402Authorization, type X402Challenge, type X402Display, type X402Outcome, type X402PaymentRequiredProps, type X402Receipt, type X402RequestSpec, type X402Requirements, type X402SignRequest, type X402Signer, type X402TypedData, type X402Version, ZERO_ADDRESS, amazonDomainForLanguage, apiClient, buildChallenge, buildRangePresets, buildUniswapPoolUrl, clampTick, completeX402, configureSupportedChains, createAiAgent, createDefaultSubagents, createNfcAgent, createNftAgent, createPoolAgent, createTokenAgent, createWalletActionAgent, createWalletAgent, createX402SignatureProvider, displayFromChallenge, encodeSignedHeader, ethCallAt, ethCallByChain, fetchTopMarketplaces, getAffiliateFee, getChainMeta, getDefaultRpcUrl, getGatewayAddress, getGatewayChains, getNativeTokenInfo, getPositionManagerAddress, getProviderByChain, ingestKnowledgeBase, isAbortError, isPaymentRequired, nfcAmazonSearchUrl, normaliseCountry, normalizePriceRangeToPool, priceToTick, readPaymentError, readPaymentRequired, readReceipt, registerMaybeNoForm, requestWithX402, resolveNfcShopLinks, resolveRpcUrl, roundTickToSpacing, rpcCall, setRpcOverrides, swapServiceFactory, tickToPrice, toPantographChain };
|
|
9147
|
+
export { AI_AGENT_TOOL_NAMES, AbortError, type AddLiquidityFormProps, type AddLiquiditySummary, type AffiliateFee, type AgentConfig, AgentCore, type AgentResponse, ApproveTokenTool, type ApyPoint, BaseNftAiTool, BaseSwapService, BaseTool, BaseWalletActionTool, type BuyTokenConfirmTxProps, type BuyTokenSide, BuyTokenTool, type ChainMeta, type ChainRef, type ChainSelector, ChatHistory, type ChatMessage, type ChatOptions, type ChatRole, type CheckApprovalParams, type CheckApprovalResult, type ConfirmAddLiquidityTxProps, type CortexResponse, DEFAULT_CHAIN, DEFAULT_PROVIDER, DEFAULT_RPC_BY_CHAIN, DebridgeAdapter, type DecodedCall, type DecodedEvent, type DecodedParam, type DefaultSubagentName, type DefiPosition, type DefiPositionDetails, type DefiPositionToken, type DefiProtocolSummary, EstimatePoolYieldTool, type EstimatePoolYieldToolConfig, type ExchangeProviderConfig, type ExecuteSwapParams, type ExecuteSwapResult, GeminiProvider, GeminiSearchAiTool, type GeminiSearchAiToolConfig, HEX_TO_PANTOGRAPH, type HolderChangePeriod, type HolderSupplyTier, type HttpMethod, type IngestKnowledgeBaseInput, type IngestKnowledgeBaseResult, type InputTokenInfo, type KBSearchResult, KnowledgeBase, type KnowledgeBaseEntry, type KnowledgeBaseProvider, type LLMProvider, type LLMProviderConfig, type LLMResponse, type LLMToolCall, type LendingMarket, type LendingMarketOverview, LendingMarketsTool, type LendingMarketsToolConfig, type LendingProtocolType, LendingService, type LendingServiceConfig, type LendingSupplyPosition, ManageLiquidityRedirectTool, type MarketplaceLink, type MoralisApiResponse, MoralisService, type MoralisServiceConfig, 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 NativeTokenInfo, NfcBuyTool, NfcInfoTool, type NftTransferLastSale, NoFormTool, type NoFormToolMessages, OpenAddLiquidityFormTool, type OpenAddLiquidityFormToolConfig, OpenSupplyFormTool, type OpenSupplyFormToolConfig, POOL_AGENT_TOOL_NAMES, PantographService, type PantographServiceConfig, type PaymentToken, PoolByAddressTool, type PoolByAddressToolConfig, PoolDetailTool, type PoolDetailToolConfig, type PoolDisplayInfo, PoolFallbackAiTool, type PoolFallbackAiToolConfig, type PoolOnchainInfo, PoolPriceRangesTool, type PoolPriceRangesToolConfig, PoolSearchTool, type PoolSearchToolConfig, PoolService, type PoolServiceConfig, type PresetInputs, PreviewAddLiquidityTool, type PreviewAddLiquidityToolConfig, type PriceBounds, type PriceRangePrefill, type ProviderName, type QuickRate, type RangePreset, type ReActPhase, type ReActStep, type ReActTrace, RelayAdapter, type ResolvedRange, Router, type RouterAssignment, type RouterDecision, SUPPORTED_CHAINS, SUPPORTED_CHAINS_LABEL, SWAP_PROVIDER_CONFIG, SendNativeTool, SendNftTool, SendTokenTool, 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 SupplyProtocolType, type SupplyUsdcProps, type SupportedChainId, type SupportedChainName, type SwapQuoteParams, type SwapQuoteResult, type SwapServiceConfig, SwapServiceFactory, type SwapTokenConfirmTxProps, SwapTokenTool, type SwapTxData, Synthesizer, TOKEN_AGENT_TOOL_NAMES, 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 TransactionByHashResponse, TransactionByHashTool, type TransactionByHashToolConfig, type TransactionLog, type TransactionReceipt, type TransactionReceiptLog, type TrendingToken, type TrendingTokenTimeframeBuckets, TrendingTokensTool, type TrendingTokensToolConfig, type UIPayload, UNISWAP_CHAIN_SLUG, type UnsignedTx, type UpstashEmbedStrategy, type UpstashFusionAlgorithm, type UpstashKBUpsertEntry, UpstashKnowledgeBase, type UpstashKnowledgeBaseConfig, type UserContext, type VectorKBConfig, WALLET_ACTION_AGENT_TOOL_NAMES, WALLET_AGENT_TOOL_NAMES, 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 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 WebsiteTrustExtraData, type WebsiteTrustInput, WebsiteTrustKeyringAgent, type WebsiteTrustKeyringAgentConfig, type WebsiteTrustResult, 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 YieldConversionCall, type YieldConversionPlan, type YieldTokenInput, type YieldTokenValue, ZERO_ADDRESS, amazonDomainForLanguage, apiClient, applyYieldConversions, buildChallenge, buildRangePresets, buildUniswapPoolUrl, clampTick, completeX402, configureSupportedChains, createAiAgent, createDefaultSubagents, createNfcAgent, createNftAgent, createPoolAgent, createTokenAgent, createWalletActionAgent, createWalletAgent, createX402SignatureProvider, displayFromChallenge, encodeSignedHeader, ethCallAt, ethCallByChain, fetchTopMarketplaces, getAffiliateFee, getChainMeta, getDefaultRpcUrl, getGatewayAddress, getGatewayChains, getNativeTokenInfo, getPositionManagerAddress, getProviderByChain, ingestKnowledgeBase, isAbortError, isPaymentRequired, isShareBasedProtocol, isShareBasedYieldToken, nfcAmazonSearchUrl, normaliseCountry, normalizePriceRangeToPool, planYieldTokenConversions, priceToTick, readPaymentError, readPaymentRequired, readReceipt, registerMaybeNoForm, requestWithX402, resolveNfcShopLinks, resolveRpcUrl, roundTickToSpacing, rpcCall, setRpcOverrides, swapServiceFactory, tickToPrice, toPantographChain };
|