keyring-agent-core 0.2.60 → 0.2.61
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 +216 -36
- package/dist/index.js +104 -83
- package/dist/index.native.js +233 -212
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -692,6 +692,70 @@ interface WalletNftListProps {
|
|
|
692
692
|
*/
|
|
693
693
|
mode?: 'browse' | 'picker';
|
|
694
694
|
}
|
|
695
|
+
/** One market row in the {@link LendingMarketListProps} shortlist. */
|
|
696
|
+
interface LendingMarketCardProps {
|
|
697
|
+
/** Display name of the market, e.g. "Aave v3 USDC". */
|
|
698
|
+
name: string;
|
|
699
|
+
/** Protocol brand, e.g. "Aave v3" — shown as the card's secondary line. */
|
|
700
|
+
protocol: string;
|
|
701
|
+
/**
|
|
702
|
+
* This market's own page on the protocol, as a full URL. Null when unknown —
|
|
703
|
+
* the card then renders the name as plain text rather than a link. Never
|
|
704
|
+
* fabricated FE-side.
|
|
705
|
+
*/
|
|
706
|
+
protocolUrl: string | null;
|
|
707
|
+
/** Human-readable chain name, e.g. "Base". */
|
|
708
|
+
chain: string;
|
|
709
|
+
/**
|
|
710
|
+
* Live supply APY as a PERCENT (4.82 = 4.82%) — the total a supplier earns,
|
|
711
|
+
* already rounded for display. Null when the rate was unavailable, which the
|
|
712
|
+
* card shows as "—" rather than as 0.
|
|
713
|
+
*/
|
|
714
|
+
apyPercent: number | null;
|
|
715
|
+
/**
|
|
716
|
+
* The message submitted as the next user turn when this card's "More detail"
|
|
717
|
+
* button is tapped. Carries the market's exact contract address, so the
|
|
718
|
+
* follow-up turn resolves to this one market rather than fuzzy-matching its
|
|
719
|
+
* name against sibling vaults of the same protocol.
|
|
720
|
+
*/
|
|
721
|
+
detailPrompt: string;
|
|
722
|
+
/** Localized label for the detail button — just "More detail", no market name. */
|
|
723
|
+
detailLabel: string;
|
|
724
|
+
/**
|
|
725
|
+
* The message submitted when the card's "Supply" button is tapped, carrying
|
|
726
|
+
* the same exact-address hint as {@link detailPrompt}.
|
|
727
|
+
*
|
|
728
|
+
* Empty when this market cannot be supplied to — either the FE has no deposit
|
|
729
|
+
* encoding for its protocol family, or no prompt could be built. The card then
|
|
730
|
+
* renders the detail button alone rather than a Supply button that would fail
|
|
731
|
+
* at signing, after the user had already approved the asset to it.
|
|
732
|
+
*/
|
|
733
|
+
supplyPrompt: string;
|
|
734
|
+
/** Localized label for the supply button, e.g. "Nạp vào Aave v3 USDC". */
|
|
735
|
+
supplyLabel: string;
|
|
736
|
+
}
|
|
737
|
+
/** Props for the `LendingMarketList` component — the market shortlist to display. */
|
|
738
|
+
interface LendingMarketListProps {
|
|
739
|
+
/**
|
|
740
|
+
* Chain the list was SCOPED to, or `'all'` when no scope was applied. This
|
|
741
|
+
* describes the request, not the result — see {@link multiChain} for what the
|
|
742
|
+
* cards actually contain.
|
|
743
|
+
*/
|
|
744
|
+
chain: string;
|
|
745
|
+
/**
|
|
746
|
+
* Whether the markets in this list span MORE THAN ONE chain, which is the only
|
|
747
|
+
* case where a card needs to name its own chain.
|
|
748
|
+
*
|
|
749
|
+
* Sent as its own flag rather than inferred from `chain === 'all'`, because
|
|
750
|
+
* those two are not the same question and diverge in practice: an unscoped
|
|
751
|
+
* request whose markets all happen to land on one chain is `'all'` but is not
|
|
752
|
+
* multi-chain, and would otherwise print the same redundant chain on every
|
|
753
|
+
* card. The core computes this from the markets it is actually returning.
|
|
754
|
+
*/
|
|
755
|
+
multiChain: boolean;
|
|
756
|
+
/** The markets to render, in ranked order. */
|
|
757
|
+
markets: LendingMarketCardProps[];
|
|
758
|
+
}
|
|
695
759
|
/** Identifies a chain in BE↔FE payloads. */
|
|
696
760
|
interface ChainRef {
|
|
697
761
|
/** Hex chain id, e.g. "0x2105" for Base */
|
|
@@ -6267,16 +6331,44 @@ type SortKey = 'apy' | 'score' | 'size';
|
|
|
6267
6331
|
/**
|
|
6268
6332
|
* Tool: get-lending-markets
|
|
6269
6333
|
*
|
|
6270
|
-
* The lending markets a user CAN supply to — the catalogue side of the
|
|
6271
|
-
*
|
|
6272
|
-
*
|
|
6273
|
-
*
|
|
6274
|
-
*
|
|
6334
|
+
* The lending markets a user CAN supply to — the catalogue side of the lending
|
|
6335
|
+
* domain, as opposed to `get-wallet-lending-positions` which reports what a
|
|
6336
|
+
* wallet already supplies.
|
|
6337
|
+
*
|
|
6338
|
+
* ## What this returns, and what it deliberately does not
|
|
6339
|
+
*
|
|
6340
|
+
* A row per market: its NAME (linked to its page on the protocol) and its LIVE
|
|
6341
|
+
* supply APY, which is also the default ranking and the rate a depositor is
|
|
6342
|
+
* quoted today. That is all. The size, the weekly average, the day-over-day
|
|
6343
|
+
* change, the reward split and the platform score are NOT in this payload —
|
|
6344
|
+
* they belong to `get-lending-market-detail`, which the per-market "More detail"
|
|
6345
|
+
* button routes to.
|
|
6346
|
+
*
|
|
6347
|
+
* The reason is the shape of the decision, not brevity for its own sake. A list
|
|
6348
|
+
* is scanned to narrow a field; a market is judged one at a time. Putting six
|
|
6349
|
+
* figures on every row makes the scan harder AND the judgement worse — a reader
|
|
6350
|
+
* comparing five reward-split footnotes at once absorbs none of them. So the
|
|
6351
|
+
* list carries the one number that orders it, and the second step carries
|
|
6352
|
+
* everything needed to commit.
|
|
6353
|
+
*
|
|
6354
|
+
* Each card carries TWO buttons: "More detail", which opens the figures above,
|
|
6355
|
+
* and "Supply", which starts a deposit straight from the list.
|
|
6356
|
+
*
|
|
6357
|
+
* The Supply button is a deliberate trade-off, made by the product owner and
|
|
6358
|
+
* worth stating plainly: it lets a user act on a market having seen only its
|
|
6359
|
+
* rate, not its size, its score, or whether that headline APY depends on reward
|
|
6360
|
+
* conditions a plain deposit will not meet. What makes it acceptable is that the
|
|
6361
|
+
* button does not move money — it opens the amount form, which runs its own
|
|
6362
|
+
* balance and encoding checks and still requires the user to type an amount and
|
|
6363
|
+
* sign. `canSupply` additionally suppresses the button on any market the FE
|
|
6364
|
+
* cannot encode a deposit for, so it never appears where it would fail at
|
|
6365
|
+
* signing. See {@link file://./marketButtons.ts} for both button kinds.
|
|
6275
6366
|
*
|
|
6276
6367
|
* See {@link file://../../../services/LendingService.ts} for the data sources.
|
|
6277
6368
|
*/
|
|
6278
6369
|
declare class LendingMarketsTool extends BaseTool {
|
|
6279
6370
|
name: string;
|
|
6371
|
+
kind: ToolKind;
|
|
6280
6372
|
description: string;
|
|
6281
6373
|
category: string;
|
|
6282
6374
|
parameters: ToolParameter[];
|
|
@@ -6288,13 +6380,13 @@ declare class LendingMarketsTool extends BaseTool {
|
|
|
6288
6380
|
protocolSupported: boolean;
|
|
6289
6381
|
supportedProtocols: string[];
|
|
6290
6382
|
marketCount: number;
|
|
6291
|
-
|
|
6383
|
+
marketNames: never[];
|
|
6292
6384
|
} | {
|
|
6293
6385
|
_instructions: string;
|
|
6294
6386
|
chain: string;
|
|
6295
6387
|
connectedChainHasNoMarkets: boolean;
|
|
6296
6388
|
marketCount: number;
|
|
6297
|
-
|
|
6389
|
+
marketNames: never[];
|
|
6298
6390
|
chainsWithLendingMarkets: string[];
|
|
6299
6391
|
requestedProtocol?: undefined;
|
|
6300
6392
|
protocolsAvailable?: undefined;
|
|
@@ -6303,7 +6395,7 @@ declare class LendingMarketsTool extends BaseTool {
|
|
|
6303
6395
|
requestedProtocol: string;
|
|
6304
6396
|
chain: string;
|
|
6305
6397
|
marketCount: number;
|
|
6306
|
-
|
|
6398
|
+
marketNames: never[];
|
|
6307
6399
|
protocolsAvailable: string[];
|
|
6308
6400
|
connectedChainHasNoMarkets?: undefined;
|
|
6309
6401
|
chainsWithLendingMarkets?: undefined;
|
|
@@ -6311,36 +6403,12 @@ declare class LendingMarketsTool extends BaseTool {
|
|
|
6311
6403
|
sortedBy: SortKey;
|
|
6312
6404
|
marketCount: number;
|
|
6313
6405
|
totalMarketsAvailable: number;
|
|
6314
|
-
|
|
6315
|
-
apyChangePercent: number | null;
|
|
6316
|
-
totalSuppliedUsdc: number | null;
|
|
6317
|
-
/**
|
|
6318
|
-
* What `totalSuppliedUsdc` is denominated in. Almost always USDC, but a
|
|
6319
|
-
* market on another asset reports its own — so the formatting rule below
|
|
6320
|
-
* can say "dollars" only when this actually is a dollar stablecoin.
|
|
6321
|
-
*/
|
|
6322
|
-
suppliedAssetSymbol: string | null;
|
|
6323
|
-
platformScore: number | null;
|
|
6324
|
-
currentApyPercent: number | null;
|
|
6325
|
-
baseApyPercent: number | null;
|
|
6326
|
-
rewardApyPercent: number | null;
|
|
6327
|
-
rewards: {
|
|
6328
|
-
apyPercent: number;
|
|
6329
|
-
tokenSymbol: string | null;
|
|
6330
|
-
conditions: string | null;
|
|
6331
|
-
}[];
|
|
6332
|
-
marketName: string;
|
|
6333
|
-
protocol: string;
|
|
6334
|
-
protocolUrl: string | null;
|
|
6335
|
-
chain: string;
|
|
6336
|
-
avgApyPercent: number | null;
|
|
6337
|
-
avgApyDays: number;
|
|
6338
|
-
}[];
|
|
6406
|
+
marketNames: string[];
|
|
6339
6407
|
protocolFilter?: string | undefined;
|
|
6408
|
+
_instructions: string;
|
|
6340
6409
|
chain: string;
|
|
6341
6410
|
chainsQueried: string[];
|
|
6342
|
-
|
|
6343
|
-
_instructions: string;
|
|
6411
|
+
ui?: UIPayload<LendingMarketListProps> | undefined;
|
|
6344
6412
|
connectedChainHasNoMarkets?: undefined;
|
|
6345
6413
|
chainsWithLendingMarkets?: undefined;
|
|
6346
6414
|
requestedProtocol?: undefined;
|
|
@@ -6361,6 +6429,118 @@ declare class LendingMarketsTool extends BaseTool {
|
|
|
6361
6429
|
private instructions;
|
|
6362
6430
|
}
|
|
6363
6431
|
|
|
6432
|
+
type LendingMarketDetailToolConfig = LendingServiceConfig;
|
|
6433
|
+
/**
|
|
6434
|
+
* Tool: get-lending-market-detail
|
|
6435
|
+
*
|
|
6436
|
+
* Everything about ONE lending market — the second half of the browse flow whose
|
|
6437
|
+
* first half is `get-lending-markets`.
|
|
6438
|
+
*
|
|
6439
|
+
* ## Why the split exists
|
|
6440
|
+
*
|
|
6441
|
+
* The list answers "what is out there" and carries one number per market, the
|
|
6442
|
+
* live APY it is ranked on. This answers "is this one worth it", and carries the
|
|
6443
|
+
* figures that question actually turns on: how big the market is, whether the
|
|
6444
|
+
* live rate is a spike against its recent average, how much of that rate is
|
|
6445
|
+
* reward incentives rather than interest, whether those incentives come with
|
|
6446
|
+
* conditions a plain deposit will not meet, and the platform's 0–10 score.
|
|
6447
|
+
*
|
|
6448
|
+
* Those figures are also why the SUPPLY button lives here and not on the list.
|
|
6449
|
+
* A deposit made off a single ranked number is a deposit made without knowing
|
|
6450
|
+
* any of the above; offering the action only once they are on screen is the
|
|
6451
|
+
* point of the two steps, not a side effect of them. See
|
|
6452
|
+
* {@link file://./marketButtons.ts}.
|
|
6453
|
+
*
|
|
6454
|
+
* ## What this is not
|
|
6455
|
+
*
|
|
6456
|
+
* It does NOT open the supply form, move funds or need a wallet — it reads and
|
|
6457
|
+
* describes. The button it emits re-enters the agent as a supply command, which
|
|
6458
|
+
* `open-supply-usdc-form` then handles with its own balance and encoding checks.
|
|
6459
|
+
*
|
|
6460
|
+
* See {@link file://../../../services/LendingService.ts} for the data sources.
|
|
6461
|
+
*/
|
|
6462
|
+
declare class LendingMarketDetailTool extends BaseTool {
|
|
6463
|
+
name: string;
|
|
6464
|
+
category: string;
|
|
6465
|
+
description: string;
|
|
6466
|
+
parameters: ToolParameter[];
|
|
6467
|
+
private service;
|
|
6468
|
+
constructor(config?: LendingMarketDetailToolConfig);
|
|
6469
|
+
protected run(args: Record<string, unknown>, userContext?: UserContext): Promise<{
|
|
6470
|
+
error: string;
|
|
6471
|
+
_instructions: string;
|
|
6472
|
+
chain?: undefined;
|
|
6473
|
+
chainsWithLendingMarkets?: undefined;
|
|
6474
|
+
market?: undefined;
|
|
6475
|
+
candidates?: undefined;
|
|
6476
|
+
marketName?: undefined;
|
|
6477
|
+
} | {
|
|
6478
|
+
error: string;
|
|
6479
|
+
chain: string;
|
|
6480
|
+
chainsWithLendingMarkets: string[];
|
|
6481
|
+
_instructions: string;
|
|
6482
|
+
market?: undefined;
|
|
6483
|
+
candidates?: undefined;
|
|
6484
|
+
marketName?: undefined;
|
|
6485
|
+
} | {
|
|
6486
|
+
error: string;
|
|
6487
|
+
market: string;
|
|
6488
|
+
chain: string;
|
|
6489
|
+
_instructions: string;
|
|
6490
|
+
chainsWithLendingMarkets?: undefined;
|
|
6491
|
+
candidates?: undefined;
|
|
6492
|
+
marketName?: undefined;
|
|
6493
|
+
} | {
|
|
6494
|
+
error: string;
|
|
6495
|
+
market: string;
|
|
6496
|
+
chain: string;
|
|
6497
|
+
candidates: {
|
|
6498
|
+
marketName: string;
|
|
6499
|
+
protocol: string;
|
|
6500
|
+
}[];
|
|
6501
|
+
_instructions: string;
|
|
6502
|
+
chainsWithLendingMarkets?: undefined;
|
|
6503
|
+
marketName?: undefined;
|
|
6504
|
+
} | {
|
|
6505
|
+
error: string;
|
|
6506
|
+
marketName: string;
|
|
6507
|
+
chain: string;
|
|
6508
|
+
_instructions: string;
|
|
6509
|
+
chainsWithLendingMarkets?: undefined;
|
|
6510
|
+
market?: undefined;
|
|
6511
|
+
candidates?: undefined;
|
|
6512
|
+
} | {
|
|
6513
|
+
avgApyPercent: number | null;
|
|
6514
|
+
apyChangePercent: number | null;
|
|
6515
|
+
platformScore: number | null;
|
|
6516
|
+
supplySupported: boolean;
|
|
6517
|
+
currentApyPercent: number | null;
|
|
6518
|
+
baseApyPercent: number | null;
|
|
6519
|
+
rewardApyPercent: number | null;
|
|
6520
|
+
rewards: {
|
|
6521
|
+
apyPercent: number;
|
|
6522
|
+
tokenSymbol: string | null;
|
|
6523
|
+
conditions: string | null;
|
|
6524
|
+
}[];
|
|
6525
|
+
marketName: string;
|
|
6526
|
+
protocol: string;
|
|
6527
|
+
protocolUrl: string | null;
|
|
6528
|
+
chain: string;
|
|
6529
|
+
suppliedAssetSymbol: string | null;
|
|
6530
|
+
totalSuppliedUsdc: number | null;
|
|
6531
|
+
actionButtons?: SuggestedAction[] | undefined;
|
|
6532
|
+
_instructions: string;
|
|
6533
|
+
error?: undefined;
|
|
6534
|
+
chainsWithLendingMarkets?: undefined;
|
|
6535
|
+
market?: undefined;
|
|
6536
|
+
candidates?: undefined;
|
|
6537
|
+
}>;
|
|
6538
|
+
/** Size + live APY for the one resolved market. Null when it can't be described. */
|
|
6539
|
+
private describeOne;
|
|
6540
|
+
/** Presentation contract for the synthesizer — one market, described in full. */
|
|
6541
|
+
private instructions;
|
|
6542
|
+
}
|
|
6543
|
+
|
|
6364
6544
|
type WalletLendingPositionsToolConfig = LendingServiceConfig;
|
|
6365
6545
|
/**
|
|
6366
6546
|
* Tool: get-wallet-lending-positions
|
|
@@ -11642,4 +11822,4 @@ declare class AbortError extends Error {
|
|
|
11642
11822
|
*/
|
|
11643
11823
|
declare function isAbortError(err: unknown): boolean;
|
|
11644
11824
|
|
|
11645
|
-
export { AI_AGENT_TOOL_NAMES, type Abi, type AbiItem, type AbiParameter, AbortError, type AddLiquidityFormProps, type AddLiquiditySummary, type Address, type AffiliateFee, type AgentConfig, AgentCore, type AgentResponse, ApproveTokenTool, type ApyPoint, BaseNftAiTool, BaseSwapService, BaseTool, BaseWalletActionTool, type BlockParameters, type BlockTag, type BuyTokenConfirmTxProps, type BuyTokenSide, BuyTokenTool, 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 ConfirmAddLiquidityTxProps, type ContractFunctionParameters, 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, type EIP1193RequestFn, EstimatePoolYieldTool, type EstimatePoolYieldToolConfig, type ExchangeProviderConfig, type ExecuteSwapParams, type ExecuteSwapResult, GeminiProvider, GeminiSearchAiTool, type GeminiSearchAiToolConfig, HEX_TO_PANTOGRAPH, type Hex, 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, LendingReadService, LendingService, type LendingServiceConfig, type LendingSupplyPosition, LendingSupplyService, MULTICALL3_ADDRESS, ManageLiquidityRedirectTool, type MarketplaceLink, type MoralisApiResponse, MoralisService, type MoralisServiceConfig, type MulticallParameters, type MulticallRawParameters, type MulticallResult, 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, PublicClient, type PublicClientConfig, type QuickRate, type RangePreset, type ReActPhase, type ReActStep, type ReActTrace, type ReadContractParameters, RelayAdapter, type ResolvedRange, Router, type RouterAssignment, type RouterDecision, SUPPLIABLE_TYPES, SUPPORTED_CHAINS, SUPPORTED_CHAINS_LABEL, SWAP_PROVIDER_CONFIG, SendNativeTool, SendNftTool, SendTokenTool, 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 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 Transport, type TransportConfig, type TrendingToken, type TrendingTokenTimeframeBuckets, TrendingTokensTool, type TrendingTokensToolConfig, type UIPayload, UNISWAP_CHAIN_SLUG, UNRESOLVED_ASSET, 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 YieldPricingOptions, type YieldPricingToken, type YieldTokenInput, type YieldTokenValue, ZERO_ADDRESS, amazonDomainForLanguage, apiClient, applyYieldConversions, buildChallenge, buildRangePresets, buildUniswapPoolUrl, call, chains, checksumAddress, clampTick, clearPublicClientCache, completeX402, configureSupportedChains, convertSusdsShares, createAiAgent, createDefaultSubagents, createNfcAgent, createNftAgent, createPoolAgent, createPublicClient, createTokenAgent, createTransport, createWalletActionAgent, createWalletAgent, createX402SignatureProvider, decodeAbiParameters, decodeErrorResult, decodeFunctionData, decodeFunctionResult, displayFromChallenge, encodeAbiParameters, encodeErrorResult, encodeFunctionData, encodeSignedHeader, erc1155Abi, erc20Abi, erc20Abi_bytes32, erc721Abi, estimateGas, ethCallAt, ethCallByChain, fallback, fetchTopMarketplaces, getAbiItem, getAddress, getAffiliateFee, getBalance, getBlock, getBlockNumber, getChain, getChainContractAddress, getChainId, getChainMeta, getCode, getDefaultRpcUrl, getGasPrice, getGatewayAddress, getGatewayChains, getNativeTokenInfo, getPositionManagerAddress, getProviderByChain, getPublicClient, getRevertReason, getRpcOverrides, getStorageAt, getTokenPriceUSD, getTransactionCount, http, ingestKnowledgeBase, isAbortError, isAddress, isAddressEqual, isPaymentRequired, isShareBasedProtocol, isShareBasedYieldToken, isSupplyChain, listCandidateChains, listSupplyChains, multicall, multicall3Abi, multicallRaw, nfcAmazonSearchUrl, normaliseCountry, normalizePriceRangeToPool, parseAbi, parseAbiItem, parseAbiParameters, planYieldTokenConversions, priceToTick, protocolLabelFor, psm3For, readContract, readPaymentError, readPaymentRequired, readReceipt, registerMaybeNoForm, requestWithX402, resolveNfcShopLinks, resolveRpcUrl, resolveRpcUrls, resolveTokenPriceUSD, roundTickToSpacing, rpcCall, setRpcOverrides, swapServiceFactory, tickToPrice, toEventSelector, toFunctionSelector, toPantographChain, valueYieldTokens };
|
|
11825
|
+
export { AI_AGENT_TOOL_NAMES, type Abi, type AbiItem, type AbiParameter, AbortError, type AddLiquidityFormProps, type AddLiquiditySummary, type Address, type AffiliateFee, type AgentConfig, AgentCore, type AgentResponse, ApproveTokenTool, type ApyPoint, BaseNftAiTool, BaseSwapService, BaseTool, BaseWalletActionTool, type BlockParameters, type BlockTag, type BuyTokenConfirmTxProps, type BuyTokenSide, BuyTokenTool, 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 ConfirmAddLiquidityTxProps, type ContractFunctionParameters, 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, type EIP1193RequestFn, EstimatePoolYieldTool, type EstimatePoolYieldToolConfig, type ExchangeProviderConfig, type ExecuteSwapParams, type ExecuteSwapResult, GeminiProvider, GeminiSearchAiTool, type GeminiSearchAiToolConfig, HEX_TO_PANTOGRAPH, type Hex, 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 LendingMarketCardProps, LendingMarketDetailTool, type LendingMarketDetailToolConfig, type LendingMarketListProps, type LendingMarketOverview, LendingMarketsTool, type LendingMarketsToolConfig, type LendingProtocolType, LendingReadService, LendingService, type LendingServiceConfig, type LendingSupplyPosition, LendingSupplyService, MULTICALL3_ADDRESS, ManageLiquidityRedirectTool, type MarketplaceLink, type MoralisApiResponse, MoralisService, type MoralisServiceConfig, type MulticallParameters, type MulticallRawParameters, type MulticallResult, 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, PublicClient, type PublicClientConfig, type QuickRate, type RangePreset, type ReActPhase, type ReActStep, type ReActTrace, type ReadContractParameters, RelayAdapter, type ResolvedRange, Router, type RouterAssignment, type RouterDecision, SUPPLIABLE_TYPES, SUPPORTED_CHAINS, SUPPORTED_CHAINS_LABEL, SWAP_PROVIDER_CONFIG, SendNativeTool, SendNftTool, SendTokenTool, 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 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 Transport, type TransportConfig, type TrendingToken, type TrendingTokenTimeframeBuckets, TrendingTokensTool, type TrendingTokensToolConfig, type UIPayload, UNISWAP_CHAIN_SLUG, UNRESOLVED_ASSET, 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 YieldPricingOptions, type YieldPricingToken, type YieldTokenInput, type YieldTokenValue, ZERO_ADDRESS, amazonDomainForLanguage, apiClient, applyYieldConversions, buildChallenge, buildRangePresets, buildUniswapPoolUrl, call, chains, checksumAddress, clampTick, clearPublicClientCache, completeX402, configureSupportedChains, convertSusdsShares, createAiAgent, createDefaultSubagents, createNfcAgent, createNftAgent, createPoolAgent, createPublicClient, createTokenAgent, createTransport, createWalletActionAgent, createWalletAgent, createX402SignatureProvider, decodeAbiParameters, decodeErrorResult, decodeFunctionData, decodeFunctionResult, displayFromChallenge, encodeAbiParameters, encodeErrorResult, encodeFunctionData, encodeSignedHeader, erc1155Abi, erc20Abi, erc20Abi_bytes32, erc721Abi, estimateGas, ethCallAt, ethCallByChain, fallback, fetchTopMarketplaces, getAbiItem, getAddress, getAffiliateFee, getBalance, getBlock, getBlockNumber, getChain, getChainContractAddress, getChainId, getChainMeta, getCode, getDefaultRpcUrl, getGasPrice, getGatewayAddress, getGatewayChains, getNativeTokenInfo, getPositionManagerAddress, getProviderByChain, getPublicClient, getRevertReason, getRpcOverrides, getStorageAt, getTokenPriceUSD, getTransactionCount, http, ingestKnowledgeBase, isAbortError, isAddress, isAddressEqual, isPaymentRequired, isShareBasedProtocol, isShareBasedYieldToken, isSupplyChain, listCandidateChains, listSupplyChains, multicall, multicall3Abi, multicallRaw, nfcAmazonSearchUrl, normaliseCountry, normalizePriceRangeToPool, parseAbi, parseAbiItem, parseAbiParameters, planYieldTokenConversions, priceToTick, protocolLabelFor, psm3For, readContract, readPaymentError, readPaymentRequired, readReceipt, registerMaybeNoForm, requestWithX402, resolveNfcShopLinks, resolveRpcUrl, resolveRpcUrls, resolveTokenPriceUSD, roundTickToSpacing, rpcCall, setRpcOverrides, swapServiceFactory, tickToPrice, toEventSelector, toFunctionSelector, toPantographChain, valueYieldTokens };
|