keyring-agent-core 0.2.1 → 0.2.2
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 +6692 -27
- package/dist/index.js +877 -70
- package/package.json +4 -3
- package/dist/agent/AgentCore.d.ts +0 -256
- package/dist/agent/AgentCore.d.ts.map +0 -1
- package/dist/agent/AgentCore.js +0 -1093
- package/dist/agent/AgentCore.js.map +0 -1
- package/dist/agent/QueryRewriter.d.ts +0 -84
- package/dist/agent/QueryRewriter.d.ts.map +0 -1
- package/dist/agent/QueryRewriter.js +0 -306
- package/dist/agent/QueryRewriter.js.map +0 -1
- package/dist/agent/Router.d.ts +0 -33
- package/dist/agent/Router.d.ts.map +0 -1
- package/dist/agent/Router.js +0 -229
- package/dist/agent/Router.js.map +0 -1
- package/dist/agent/Subagent.d.ts +0 -80
- package/dist/agent/Subagent.d.ts.map +0 -1
- package/dist/agent/Subagent.js +0 -272
- package/dist/agent/Subagent.js.map +0 -1
- package/dist/agent/Synthesizer.d.ts +0 -11
- package/dist/agent/Synthesizer.d.ts.map +0 -1
- package/dist/agent/Synthesizer.js +0 -86
- package/dist/agent/Synthesizer.js.map +0 -1
- package/dist/agent/chatGraph.d.ts +0 -364
- package/dist/agent/chatGraph.d.ts.map +0 -1
- package/dist/agent/chatGraph.js +0 -184
- package/dist/agent/chatGraph.js.map +0 -1
- package/dist/agent/index.d.ts +0 -10
- package/dist/agent/index.d.ts.map +0 -1
- package/dist/agent/index.js +0 -24
- package/dist/agent/index.js.map +0 -1
- package/dist/agent/subagents/AiAgent.d.ts +0 -6
- package/dist/agent/subagents/AiAgent.d.ts.map +0 -1
- package/dist/agent/subagents/AiAgent.js +0 -52
- package/dist/agent/subagents/AiAgent.js.map +0 -1
- package/dist/agent/subagents/NftAgent.d.ts +0 -6
- package/dist/agent/subagents/NftAgent.d.ts.map +0 -1
- package/dist/agent/subagents/NftAgent.js +0 -79
- package/dist/agent/subagents/NftAgent.js.map +0 -1
- package/dist/agent/subagents/PoolAgent.d.ts +0 -6
- package/dist/agent/subagents/PoolAgent.d.ts.map +0 -1
- package/dist/agent/subagents/PoolAgent.js +0 -184
- package/dist/agent/subagents/PoolAgent.js.map +0 -1
- package/dist/agent/subagents/PoolSubgraphAgent.d.ts +0 -6
- package/dist/agent/subagents/PoolSubgraphAgent.d.ts.map +0 -1
- package/dist/agent/subagents/PoolSubgraphAgent.js +0 -117
- package/dist/agent/subagents/PoolSubgraphAgent.js.map +0 -1
- package/dist/agent/subagents/TokenAgent.d.ts +0 -6
- package/dist/agent/subagents/TokenAgent.d.ts.map +0 -1
- package/dist/agent/subagents/TokenAgent.js +0 -76
- package/dist/agent/subagents/TokenAgent.js.map +0 -1
- package/dist/agent/subagents/WalletActionAgent.d.ts +0 -6
- package/dist/agent/subagents/WalletActionAgent.d.ts.map +0 -1
- package/dist/agent/subagents/WalletActionAgent.js +0 -55
- package/dist/agent/subagents/WalletActionAgent.js.map +0 -1
- package/dist/agent/subagents/WalletAgent.d.ts +0 -6
- package/dist/agent/subagents/WalletAgent.d.ts.map +0 -1
- package/dist/agent/subagents/WalletAgent.js +0 -93
- package/dist/agent/subagents/WalletAgent.js.map +0 -1
- package/dist/agent/subagents/index.d.ts +0 -34
- package/dist/agent/subagents/index.d.ts.map +0 -1
- package/dist/agent/subagents/index.js +0 -69
- package/dist/agent/subagents/index.js.map +0 -1
- package/dist/constants/abi.d.ts +0 -551
- package/dist/constants/abi.d.ts.map +0 -1
- package/dist/constants/abi.js +0 -690
- package/dist/constants/abi.js.map +0 -1
- package/dist/functions/pool.d.ts +0 -25
- package/dist/functions/pool.d.ts.map +0 -1
- package/dist/functions/pool.js +0 -151
- package/dist/functions/pool.js.map +0 -1
- package/dist/functions/web3.d.ts +0 -31
- package/dist/functions/web3.d.ts.map +0 -1
- package/dist/functions/web3.js +0 -232
- package/dist/functions/web3.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/llm/GeminiProvider.d.ts +0 -16
- package/dist/llm/GeminiProvider.d.ts.map +0 -1
- package/dist/llm/GeminiProvider.js +0 -329
- package/dist/llm/GeminiProvider.js.map +0 -1
- package/dist/llm/index.d.ts +0 -2
- package/dist/llm/index.d.ts.map +0 -1
- package/dist/llm/index.js +0 -6
- package/dist/llm/index.js.map +0 -1
- package/dist/memory/ChatHistory.d.ts +0 -83
- package/dist/memory/ChatHistory.d.ts.map +0 -1
- package/dist/memory/ChatHistory.js +0 -143
- package/dist/memory/ChatHistory.js.map +0 -1
- package/dist/memory/KnowledgeBase.d.ts +0 -38
- package/dist/memory/KnowledgeBase.d.ts.map +0 -1
- package/dist/memory/KnowledgeBase.js +0 -139
- package/dist/memory/KnowledgeBase.js.map +0 -1
- package/dist/memory/Summarizer.d.ts +0 -12
- package/dist/memory/Summarizer.d.ts.map +0 -1
- package/dist/memory/Summarizer.js +0 -39
- package/dist/memory/Summarizer.js.map +0 -1
- package/dist/memory/UpstashKnowledgeBase.d.ts +0 -124
- package/dist/memory/UpstashKnowledgeBase.d.ts.map +0 -1
- package/dist/memory/UpstashKnowledgeBase.js +0 -152
- package/dist/memory/UpstashKnowledgeBase.js.map +0 -1
- package/dist/memory/historyUtils.d.ts +0 -58
- package/dist/memory/historyUtils.d.ts.map +0 -1
- package/dist/memory/historyUtils.js +0 -190
- package/dist/memory/historyUtils.js.map +0 -1
- package/dist/memory/index.d.ts +0 -7
- package/dist/memory/index.d.ts.map +0 -1
- package/dist/memory/index.js +0 -12
- package/dist/memory/index.js.map +0 -1
- package/dist/memory/ingestKnowledgeBase.d.ts +0 -17
- package/dist/memory/ingestKnowledgeBase.d.ts.map +0 -1
- package/dist/memory/ingestKnowledgeBase.js +0 -35
- package/dist/memory/ingestKnowledgeBase.js.map +0 -1
- package/dist/services/MoralisService.d.ts +0 -1328
- package/dist/services/MoralisService.d.ts.map +0 -1
- package/dist/services/MoralisService.js +0 -1239
- package/dist/services/MoralisService.js.map +0 -1
- package/dist/services/PantographService.d.ts +0 -98
- package/dist/services/PantographService.d.ts.map +0 -1
- package/dist/services/PantographService.js +0 -451
- package/dist/services/PantographService.js.map +0 -1
- package/dist/services/PoolService.d.ts +0 -238
- package/dist/services/PoolService.d.ts.map +0 -1
- package/dist/services/PoolService.js +0 -485
- package/dist/services/PoolService.js.map +0 -1
- package/dist/services/UniswapService.d.ts +0 -289
- package/dist/services/UniswapService.d.ts.map +0 -1
- package/dist/services/UniswapService.js +0 -585
- package/dist/services/UniswapService.js.map +0 -1
- package/dist/services/UniswapSubgraphService.d.ts +0 -144
- package/dist/services/UniswapSubgraphService.d.ts.map +0 -1
- package/dist/services/UniswapSubgraphService.js +0 -606
- package/dist/services/UniswapSubgraphService.js.map +0 -1
- package/dist/services/rpc.d.ts +0 -35
- package/dist/services/rpc.d.ts.map +0 -1
- package/dist/services/rpc.js +0 -110
- package/dist/services/rpc.js.map +0 -1
- package/dist/services/swap/BaseSwapService.d.ts +0 -17
- package/dist/services/swap/BaseSwapService.d.ts.map +0 -1
- package/dist/services/swap/BaseSwapService.js +0 -19
- package/dist/services/swap/BaseSwapService.js.map +0 -1
- package/dist/services/swap/DebridgeAdapter.d.ts +0 -37
- package/dist/services/swap/DebridgeAdapter.d.ts.map +0 -1
- package/dist/services/swap/DebridgeAdapter.js +0 -243
- package/dist/services/swap/DebridgeAdapter.js.map +0 -1
- package/dist/services/swap/RelayAdapter.d.ts +0 -19
- package/dist/services/swap/RelayAdapter.d.ts.map +0 -1
- package/dist/services/swap/RelayAdapter.js +0 -189
- package/dist/services/swap/RelayAdapter.js.map +0 -1
- package/dist/services/swap/SwapServiceFactory.d.ts +0 -25
- package/dist/services/swap/SwapServiceFactory.d.ts.map +0 -1
- package/dist/services/swap/SwapServiceFactory.js +0 -79
- package/dist/services/swap/SwapServiceFactory.js.map +0 -1
- package/dist/services/swap/addresses.d.ts +0 -3
- package/dist/services/swap/addresses.d.ts.map +0 -1
- package/dist/services/swap/addresses.js +0 -68
- package/dist/services/swap/addresses.js.map +0 -1
- package/dist/services/swap/affiliate.d.ts +0 -17
- package/dist/services/swap/affiliate.d.ts.map +0 -1
- package/dist/services/swap/affiliate.js +0 -126
- package/dist/services/swap/affiliate.js.map +0 -1
- package/dist/services/swap/config.d.ts +0 -9
- package/dist/services/swap/config.d.ts.map +0 -1
- package/dist/services/swap/config.js +0 -19
- package/dist/services/swap/config.js.map +0 -1
- package/dist/services/swap/index.d.ts +0 -10
- package/dist/services/swap/index.d.ts.map +0 -1
- package/dist/services/swap/index.js +0 -22
- package/dist/services/swap/index.js.map +0 -1
- package/dist/services/swap/types.d.ts +0 -89
- package/dist/services/swap/types.d.ts.map +0 -1
- package/dist/services/swap/types.js +0 -6
- package/dist/services/swap/types.js.map +0 -1
- package/dist/tools/BaseTool.d.ts +0 -15
- package/dist/tools/BaseTool.d.ts.map +0 -1
- package/dist/tools/BaseTool.js +0 -35
- package/dist/tools/BaseTool.js.map +0 -1
- package/dist/tools/ToolRegistry.d.ts +0 -27
- package/dist/tools/ToolRegistry.d.ts.map +0 -1
- package/dist/tools/ToolRegistry.js +0 -80
- package/dist/tools/ToolRegistry.js.map +0 -1
- package/dist/tools/builtin/ai/GeminiSearchAiTool.d.ts +0 -36
- package/dist/tools/builtin/ai/GeminiSearchAiTool.d.ts.map +0 -1
- package/dist/tools/builtin/ai/GeminiSearchAiTool.js +0 -91
- package/dist/tools/builtin/ai/GeminiSearchAiTool.js.map +0 -1
- package/dist/tools/builtin/ai/index.d.ts +0 -3
- package/dist/tools/builtin/ai/index.d.ts.map +0 -1
- package/dist/tools/builtin/ai/index.js +0 -6
- package/dist/tools/builtin/ai/index.js.map +0 -1
- package/dist/tools/builtin/index.d.ts +0 -8
- package/dist/tools/builtin/index.d.ts.map +0 -1
- package/dist/tools/builtin/index.js +0 -24
- package/dist/tools/builtin/index.js.map +0 -1
- package/dist/tools/builtin/nft/BaseNftMessageTool.d.ts +0 -35
- package/dist/tools/builtin/nft/BaseNftMessageTool.d.ts.map +0 -1
- package/dist/tools/builtin/nft/BaseNftMessageTool.js +0 -45
- package/dist/tools/builtin/nft/BaseNftMessageTool.js.map +0 -1
- package/dist/tools/builtin/nft/NFTContractInfoTool.d.ts +0 -15
- package/dist/tools/builtin/nft/NFTContractInfoTool.d.ts.map +0 -1
- package/dist/tools/builtin/nft/NFTContractInfoTool.js +0 -19
- package/dist/tools/builtin/nft/NFTContractInfoTool.js.map +0 -1
- package/dist/tools/builtin/nft/NFTMetadataTool.d.ts +0 -15
- package/dist/tools/builtin/nft/NFTMetadataTool.d.ts.map +0 -1
- package/dist/tools/builtin/nft/NFTMetadataTool.js +0 -20
- package/dist/tools/builtin/nft/NFTMetadataTool.js.map +0 -1
- package/dist/tools/builtin/nft/SendNftTool.d.ts +0 -14
- package/dist/tools/builtin/nft/SendNftTool.d.ts.map +0 -1
- package/dist/tools/builtin/nft/SendNftTool.js +0 -20
- package/dist/tools/builtin/nft/SendNftTool.js.map +0 -1
- package/dist/tools/builtin/nft/WalletNFTsTool.d.ts +0 -15
- package/dist/tools/builtin/nft/WalletNFTsTool.d.ts.map +0 -1
- package/dist/tools/builtin/nft/WalletNFTsTool.js +0 -20
- package/dist/tools/builtin/nft/WalletNFTsTool.js.map +0 -1
- package/dist/tools/builtin/nft/index.d.ts +0 -7
- package/dist/tools/builtin/nft/index.d.ts.map +0 -1
- package/dist/tools/builtin/nft/index.js +0 -10
- package/dist/tools/builtin/nft/index.js.map +0 -1
- package/dist/tools/builtin/pool/EstimatePoolYieldTool.d.ts +0 -124
- package/dist/tools/builtin/pool/EstimatePoolYieldTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool/EstimatePoolYieldTool.js +0 -236
- package/dist/tools/builtin/pool/EstimatePoolYieldTool.js.map +0 -1
- package/dist/tools/builtin/pool/OpenAddLiquidityFormTool.d.ts +0 -128
- package/dist/tools/builtin/pool/OpenAddLiquidityFormTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool/OpenAddLiquidityFormTool.js +0 -520
- package/dist/tools/builtin/pool/OpenAddLiquidityFormTool.js.map +0 -1
- package/dist/tools/builtin/pool/PoolByAddressTool.d.ts +0 -127
- package/dist/tools/builtin/pool/PoolByAddressTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool/PoolByAddressTool.js +0 -238
- package/dist/tools/builtin/pool/PoolByAddressTool.js.map +0 -1
- package/dist/tools/builtin/pool/PoolDetailTool.d.ts +0 -127
- package/dist/tools/builtin/pool/PoolDetailTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool/PoolDetailTool.js +0 -273
- package/dist/tools/builtin/pool/PoolDetailTool.js.map +0 -1
- package/dist/tools/builtin/pool/PoolSearchTool.d.ts +0 -50
- package/dist/tools/builtin/pool/PoolSearchTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool/PoolSearchTool.js +0 -160
- package/dist/tools/builtin/pool/PoolSearchTool.js.map +0 -1
- package/dist/tools/builtin/pool/PreviewAddLiquidityTool.d.ts +0 -124
- package/dist/tools/builtin/pool/PreviewAddLiquidityTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool/PreviewAddLiquidityTool.js +0 -382
- package/dist/tools/builtin/pool/PreviewAddLiquidityTool.js.map +0 -1
- package/dist/tools/builtin/pool/TopPoolsTool.d.ts +0 -68
- package/dist/tools/builtin/pool/TopPoolsTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool/TopPoolsTool.js +0 -159
- package/dist/tools/builtin/pool/TopPoolsTool.js.map +0 -1
- package/dist/tools/builtin/pool/index.d.ts +0 -15
- package/dist/tools/builtin/pool/index.d.ts.map +0 -1
- package/dist/tools/builtin/pool/index.js +0 -18
- package/dist/tools/builtin/pool/index.js.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphCoinPoolPairsTool.d.ts +0 -54
- package/dist/tools/builtin/pool-subgraph/SubgraphCoinPoolPairsTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphCoinPoolPairsTool.js +0 -98
- package/dist/tools/builtin/pool-subgraph/SubgraphCoinPoolPairsTool.js.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolByAddressTool.d.ts +0 -63
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolByAddressTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolByAddressTool.js +0 -82
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolByAddressTool.js.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolByPositionIdTool.d.ts +0 -79
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolByPositionIdTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolByPositionIdTool.js +0 -97
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolByPositionIdTool.js.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolSearchTool.d.ts +0 -77
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolSearchTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolSearchTool.js +0 -190
- package/dist/tools/builtin/pool-subgraph/SubgraphPoolSearchTool.js.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphPositionDetailTool.d.ts +0 -107
- package/dist/tools/builtin/pool-subgraph/SubgraphPositionDetailTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphPositionDetailTool.js +0 -92
- package/dist/tools/builtin/pool-subgraph/SubgraphPositionDetailTool.js.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphTrendingPoolsTool.d.ts +0 -56
- package/dist/tools/builtin/pool-subgraph/SubgraphTrendingPoolsTool.d.ts.map +0 -1
- package/dist/tools/builtin/pool-subgraph/SubgraphTrendingPoolsTool.js +0 -94
- package/dist/tools/builtin/pool-subgraph/SubgraphTrendingPoolsTool.js.map +0 -1
- package/dist/tools/builtin/pool-subgraph/index.d.ts +0 -13
- package/dist/tools/builtin/pool-subgraph/index.d.ts.map +0 -1
- package/dist/tools/builtin/pool-subgraph/index.js +0 -18
- package/dist/tools/builtin/pool-subgraph/index.js.map +0 -1
- package/dist/tools/builtin/token/TokenAnalyticsTool.d.ts +0 -71
- package/dist/tools/builtin/token/TokenAnalyticsTool.d.ts.map +0 -1
- package/dist/tools/builtin/token/TokenAnalyticsTool.js +0 -147
- package/dist/tools/builtin/token/TokenAnalyticsTool.js.map +0 -1
- package/dist/tools/builtin/token/TokenHoldersTool.d.ts +0 -81
- package/dist/tools/builtin/token/TokenHoldersTool.d.ts.map +0 -1
- package/dist/tools/builtin/token/TokenHoldersTool.js +0 -139
- package/dist/tools/builtin/token/TokenHoldersTool.js.map +0 -1
- package/dist/tools/builtin/token/TokenInfoTool.d.ts +0 -40
- package/dist/tools/builtin/token/TokenInfoTool.d.ts.map +0 -1
- package/dist/tools/builtin/token/TokenInfoTool.js +0 -221
- package/dist/tools/builtin/token/TokenInfoTool.js.map +0 -1
- package/dist/tools/builtin/token/TokenScoreTool.d.ts +0 -63
- package/dist/tools/builtin/token/TokenScoreTool.d.ts.map +0 -1
- package/dist/tools/builtin/token/TokenScoreTool.js +0 -148
- package/dist/tools/builtin/token/TokenScoreTool.js.map +0 -1
- package/dist/tools/builtin/token/TopGainersTool.d.ts +0 -37
- package/dist/tools/builtin/token/TopGainersTool.d.ts.map +0 -1
- package/dist/tools/builtin/token/TopGainersTool.js +0 -100
- package/dist/tools/builtin/token/TopGainersTool.js.map +0 -1
- package/dist/tools/builtin/token/TopLosersTool.d.ts +0 -66
- package/dist/tools/builtin/token/TopLosersTool.d.ts.map +0 -1
- package/dist/tools/builtin/token/TopLosersTool.js +0 -129
- package/dist/tools/builtin/token/TopLosersTool.js.map +0 -1
- package/dist/tools/builtin/token/TrendingTokensTool.d.ts +0 -39
- package/dist/tools/builtin/token/TrendingTokensTool.d.ts.map +0 -1
- package/dist/tools/builtin/token/TrendingTokensTool.js +0 -83
- package/dist/tools/builtin/token/TrendingTokensTool.js.map +0 -1
- package/dist/tools/builtin/token/index.d.ts +0 -13
- package/dist/tools/builtin/token/index.d.ts.map +0 -1
- package/dist/tools/builtin/token/index.js +0 -16
- package/dist/tools/builtin/token/index.js.map +0 -1
- package/dist/tools/builtin/wallet/TransactionByHashTool.d.ts +0 -70
- package/dist/tools/builtin/wallet/TransactionByHashTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/TransactionByHashTool.js +0 -111
- package/dist/tools/builtin/wallet/TransactionByHashTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletApprovalsTool.d.ts +0 -107
- package/dist/tools/builtin/wallet/WalletApprovalsTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletApprovalsTool.js +0 -164
- package/dist/tools/builtin/wallet/WalletApprovalsTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletDefiPositionsTool.d.ts +0 -61
- package/dist/tools/builtin/wallet/WalletDefiPositionsTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletDefiPositionsTool.js +0 -100
- package/dist/tools/builtin/wallet/WalletDefiPositionsTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletDefiProtocolPositionsTool.d.ts +0 -68
- package/dist/tools/builtin/wallet/WalletDefiProtocolPositionsTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletDefiProtocolPositionsTool.js +0 -115
- package/dist/tools/builtin/wallet/WalletDefiProtocolPositionsTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletDefiSummaryTool.d.ts +0 -50
- package/dist/tools/builtin/wallet/WalletDefiSummaryTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletDefiSummaryTool.js +0 -80
- package/dist/tools/builtin/wallet/WalletDefiSummaryTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletHistoryTool.d.ts +0 -31
- package/dist/tools/builtin/wallet/WalletHistoryTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletHistoryTool.js +0 -154
- package/dist/tools/builtin/wallet/WalletHistoryTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletNetWorthTool.d.ts +0 -44
- package/dist/tools/builtin/wallet/WalletNetWorthTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletNetWorthTool.js +0 -122
- package/dist/tools/builtin/wallet/WalletNetWorthTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletNftTransfersTool.d.ts +0 -86
- package/dist/tools/builtin/wallet/WalletNftTransfersTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletNftTransfersTool.js +0 -265
- package/dist/tools/builtin/wallet/WalletNftTransfersTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletPnlSummaryTool.d.ts +0 -43
- package/dist/tools/builtin/wallet/WalletPnlSummaryTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletPnlSummaryTool.js +0 -89
- package/dist/tools/builtin/wallet/WalletPnlSummaryTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletPnlTool.d.ts +0 -43
- package/dist/tools/builtin/wallet/WalletPnlTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletPnlTool.js +0 -175
- package/dist/tools/builtin/wallet/WalletPnlTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletTokenBalancesTool.d.ts +0 -35
- package/dist/tools/builtin/wallet/WalletTokenBalancesTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletTokenBalancesTool.js +0 -68
- package/dist/tools/builtin/wallet/WalletTokenBalancesTool.js.map +0 -1
- package/dist/tools/builtin/wallet/WalletTokenTransfersTool.d.ts +0 -109
- package/dist/tools/builtin/wallet/WalletTokenTransfersTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/WalletTokenTransfersTool.js +0 -354
- package/dist/tools/builtin/wallet/WalletTokenTransfersTool.js.map +0 -1
- package/dist/tools/builtin/wallet/index.d.ts +0 -28
- package/dist/tools/builtin/wallet/index.d.ts.map +0 -1
- package/dist/tools/builtin/wallet/index.js +0 -32
- package/dist/tools/builtin/wallet/index.js.map +0 -1
- package/dist/tools/builtin/wallet-action/ApproveTokenTool.d.ts +0 -25
- package/dist/tools/builtin/wallet-action/ApproveTokenTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/ApproveTokenTool.js +0 -98
- package/dist/tools/builtin/wallet-action/ApproveTokenTool.js.map +0 -1
- package/dist/tools/builtin/wallet-action/BaseWalletActionTool.d.ts +0 -211
- package/dist/tools/builtin/wallet-action/BaseWalletActionTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/BaseWalletActionTool.js +0 -499
- package/dist/tools/builtin/wallet-action/BaseWalletActionTool.js.map +0 -1
- package/dist/tools/builtin/wallet-action/BuyTokenTool.d.ts +0 -240
- package/dist/tools/builtin/wallet-action/BuyTokenTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/BuyTokenTool.js +0 -1257
- package/dist/tools/builtin/wallet-action/BuyTokenTool.js.map +0 -1
- package/dist/tools/builtin/wallet-action/SendNativeTool.d.ts +0 -41
- package/dist/tools/builtin/wallet-action/SendNativeTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/SendNativeTool.js +0 -127
- package/dist/tools/builtin/wallet-action/SendNativeTool.js.map +0 -1
- package/dist/tools/builtin/wallet-action/SendTokenTool.d.ts +0 -63
- package/dist/tools/builtin/wallet-action/SendTokenTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/SendTokenTool.js +0 -294
- package/dist/tools/builtin/wallet-action/SendTokenTool.js.map +0 -1
- package/dist/tools/builtin/wallet-action/SwapTokenTool.d.ts +0 -247
- package/dist/tools/builtin/wallet-action/SwapTokenTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/SwapTokenTool.js +0 -1258
- package/dist/tools/builtin/wallet-action/SwapTokenTool.js.map +0 -1
- package/dist/tools/builtin/wallet-action/UnwrapNativeTool.d.ts +0 -20
- package/dist/tools/builtin/wallet-action/UnwrapNativeTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/UnwrapNativeTool.js +0 -36
- package/dist/tools/builtin/wallet-action/UnwrapNativeTool.js.map +0 -1
- package/dist/tools/builtin/wallet-action/WrapNativeTool.d.ts +0 -23
- package/dist/tools/builtin/wallet-action/WrapNativeTool.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/WrapNativeTool.js +0 -54
- package/dist/tools/builtin/wallet-action/WrapNativeTool.js.map +0 -1
- package/dist/tools/builtin/wallet-action/amountSpec.d.ts +0 -62
- package/dist/tools/builtin/wallet-action/amountSpec.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/amountSpec.js +0 -93
- package/dist/tools/builtin/wallet-action/amountSpec.js.map +0 -1
- package/dist/tools/builtin/wallet-action/gasReserve.d.ts +0 -42
- package/dist/tools/builtin/wallet-action/gasReserve.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/gasReserve.js +0 -103
- package/dist/tools/builtin/wallet-action/gasReserve.js.map +0 -1
- package/dist/tools/builtin/wallet-action/index.d.ts +0 -9
- package/dist/tools/builtin/wallet-action/index.d.ts.map +0 -1
- package/dist/tools/builtin/wallet-action/index.js +0 -20
- package/dist/tools/builtin/wallet-action/index.js.map +0 -1
- package/dist/tools/chainResolver.d.ts +0 -98
- package/dist/tools/chainResolver.d.ts.map +0 -1
- package/dist/tools/chainResolver.js +0 -302
- package/dist/tools/chainResolver.js.map +0 -1
- package/dist/tools/index.d.ts +0 -4
- package/dist/tools/index.d.ts.map +0 -1
- package/dist/tools/index.js +0 -23
- package/dist/tools/index.js.map +0 -1
- package/dist/types/index.d.ts +0 -777
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js +0 -6
- package/dist/types/index.js.map +0 -1
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SendNftTool = exports.BaseNftMessageTool = exports.TransactionByHashTool = exports.WalletDefiProtocolPositionsTool = exports.WalletDefiPositionsTool = exports.WalletDefiSummaryTool = exports.WalletApprovalsTool = exports.WalletPnlTool = exports.WalletPnlSummaryTool = exports.WalletNetWorthTool = exports.WalletNftTransfersTool = exports.WalletTokenTransfersTool = exports.WalletHistoryTool = exports.WalletTokenBalancesTool = void 0;
|
|
4
|
-
var WalletTokenBalancesTool_1 = require("./WalletTokenBalancesTool");
|
|
5
|
-
Object.defineProperty(exports, "WalletTokenBalancesTool", { enumerable: true, get: function () { return WalletTokenBalancesTool_1.WalletTokenBalancesTool; } });
|
|
6
|
-
var WalletHistoryTool_1 = require("./WalletHistoryTool");
|
|
7
|
-
Object.defineProperty(exports, "WalletHistoryTool", { enumerable: true, get: function () { return WalletHistoryTool_1.WalletHistoryTool; } });
|
|
8
|
-
var WalletTokenTransfersTool_1 = require("./WalletTokenTransfersTool");
|
|
9
|
-
Object.defineProperty(exports, "WalletTokenTransfersTool", { enumerable: true, get: function () { return WalletTokenTransfersTool_1.WalletTokenTransfersTool; } });
|
|
10
|
-
var WalletNftTransfersTool_1 = require("./WalletNftTransfersTool");
|
|
11
|
-
Object.defineProperty(exports, "WalletNftTransfersTool", { enumerable: true, get: function () { return WalletNftTransfersTool_1.WalletNftTransfersTool; } });
|
|
12
|
-
var WalletNetWorthTool_1 = require("./WalletNetWorthTool");
|
|
13
|
-
Object.defineProperty(exports, "WalletNetWorthTool", { enumerable: true, get: function () { return WalletNetWorthTool_1.WalletNetWorthTool; } });
|
|
14
|
-
var WalletPnlSummaryTool_1 = require("./WalletPnlSummaryTool");
|
|
15
|
-
Object.defineProperty(exports, "WalletPnlSummaryTool", { enumerable: true, get: function () { return WalletPnlSummaryTool_1.WalletPnlSummaryTool; } });
|
|
16
|
-
var WalletPnlTool_1 = require("./WalletPnlTool");
|
|
17
|
-
Object.defineProperty(exports, "WalletPnlTool", { enumerable: true, get: function () { return WalletPnlTool_1.WalletPnlTool; } });
|
|
18
|
-
var WalletApprovalsTool_1 = require("./WalletApprovalsTool");
|
|
19
|
-
Object.defineProperty(exports, "WalletApprovalsTool", { enumerable: true, get: function () { return WalletApprovalsTool_1.WalletApprovalsTool; } });
|
|
20
|
-
var WalletDefiSummaryTool_1 = require("./WalletDefiSummaryTool");
|
|
21
|
-
Object.defineProperty(exports, "WalletDefiSummaryTool", { enumerable: true, get: function () { return WalletDefiSummaryTool_1.WalletDefiSummaryTool; } });
|
|
22
|
-
var WalletDefiPositionsTool_1 = require("./WalletDefiPositionsTool");
|
|
23
|
-
Object.defineProperty(exports, "WalletDefiPositionsTool", { enumerable: true, get: function () { return WalletDefiPositionsTool_1.WalletDefiPositionsTool; } });
|
|
24
|
-
var WalletDefiProtocolPositionsTool_1 = require("./WalletDefiProtocolPositionsTool");
|
|
25
|
-
Object.defineProperty(exports, "WalletDefiProtocolPositionsTool", { enumerable: true, get: function () { return WalletDefiProtocolPositionsTool_1.WalletDefiProtocolPositionsTool; } });
|
|
26
|
-
var TransactionByHashTool_1 = require("./TransactionByHashTool");
|
|
27
|
-
Object.defineProperty(exports, "TransactionByHashTool", { enumerable: true, get: function () { return TransactionByHashTool_1.TransactionByHashTool; } });
|
|
28
|
-
var BaseNftMessageTool_1 = require("../nft/BaseNftMessageTool");
|
|
29
|
-
Object.defineProperty(exports, "BaseNftMessageTool", { enumerable: true, get: function () { return BaseNftMessageTool_1.BaseNftMessageTool; } });
|
|
30
|
-
var SendNftTool_1 = require("../nft/SendNftTool");
|
|
31
|
-
Object.defineProperty(exports, "SendNftTool", { enumerable: true, get: function () { return SendNftTool_1.SendNftTool; } });
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/tools/builtin/wallet/index.ts"],"names":[],"mappings":";;;AAAA,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAEhC,yDAAwD;AAA/C,sHAAA,iBAAiB,OAAA;AAE1B,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA;AAEjC,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAE/B,2DAA0D;AAAjD,wHAAA,kBAAkB,OAAA;AAE3B,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAE7B,iDAAgD;AAAvC,8GAAA,aAAa,OAAA;AAEtB,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA;AAE5B,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAE9B,qEAAoE;AAA3D,kIAAA,uBAAuB,OAAA;AAEhC,qFAAoF;AAA3E,kJAAA,+BAA+B,OAAA;AAExC,iEAAgE;AAAvD,8HAAA,qBAAqB,OAAA;AAE9B,gEAA+D;AAAtD,wHAAA,kBAAkB,OAAA;AAE3B,kDAAiD;AAAxC,0GAAA,WAAW,OAAA"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { MoralisServiceConfig } from '../../../services/MoralisService';
|
|
2
|
-
import type { ToolParameter, UserContext, WalletActionType } from '../../../types';
|
|
3
|
-
import { BaseWalletActionTool } from './BaseWalletActionTool';
|
|
4
|
-
/**
|
|
5
|
-
* Tool: open-approve-token-form
|
|
6
|
-
*
|
|
7
|
-
* Opens the ERC-20 `approve` form. `amount` is optional — when omitted the FE
|
|
8
|
-
* defaults to unlimited (max uint256). Either `contract_address` or
|
|
9
|
-
* `token_symbol` must be provided; the symbol is resolved to an address via
|
|
10
|
-
* the connected wallet's balances first, then a Pantograph search.
|
|
11
|
-
*/
|
|
12
|
-
export declare class ApproveTokenTool extends BaseWalletActionTool {
|
|
13
|
-
name: string;
|
|
14
|
-
protected readonly actionType: WalletActionType;
|
|
15
|
-
protected readonly component = "ApproveTokenForm";
|
|
16
|
-
protected readonly userInputFields: readonly [{
|
|
17
|
-
readonly key: "spender_address";
|
|
18
|
-
readonly label: "the spender address to approve";
|
|
19
|
-
}];
|
|
20
|
-
constructor(config?: MoralisServiceConfig);
|
|
21
|
-
description: string;
|
|
22
|
-
parameters: ToolParameter[];
|
|
23
|
-
protected buildParameters(args: Record<string, unknown>, userContext?: UserContext): Promise<Record<string, string>>;
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=ApproveTokenTool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApproveTokenTool.d.ts","sourceRoot":"","sources":["../../../../src/tools/builtin/wallet-action/ApproveTokenTool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACnF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D;;;;;;;GAOG;AACH,qBAAa,gBAAiB,SAAQ,oBAAoB;IACxD,IAAI,SAA6B;IACjC,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAmB;IAClE,SAAS,CAAC,QAAQ,CAAC,SAAS,sBAAsB;IAIlD,SAAS,CAAC,QAAQ,CAAC,eAAe;;;OAAkF;gBAExG,MAAM,CAAC,EAAE,oBAAoB;IAIzC,WAAW,SAMkB;IAE7B,UAAU,EAAE,aAAa,EAAE,CA8BzB;cAEc,eAAe,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,CAAC,EAAE,WAAW;CAqCzF"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApproveTokenTool = void 0;
|
|
4
|
-
const BaseWalletActionTool_1 = require("./BaseWalletActionTool");
|
|
5
|
-
/**
|
|
6
|
-
* Tool: open-approve-token-form
|
|
7
|
-
*
|
|
8
|
-
* Opens the ERC-20 `approve` form. `amount` is optional — when omitted the FE
|
|
9
|
-
* defaults to unlimited (max uint256). Either `contract_address` or
|
|
10
|
-
* `token_symbol` must be provided; the symbol is resolved to an address via
|
|
11
|
-
* the connected wallet's balances first, then a Pantograph search.
|
|
12
|
-
*/
|
|
13
|
-
class ApproveTokenTool extends BaseWalletActionTool_1.BaseWalletActionTool {
|
|
14
|
-
name = 'open-approve-token-form';
|
|
15
|
-
actionType = 'approve_token';
|
|
16
|
-
component = 'ApproveTokenForm';
|
|
17
|
-
// `amount` is intentionally NOT listed: blank = unlimited approval, a valid
|
|
18
|
-
// default — so we never ask the user to fill it. Only the spender is required.
|
|
19
|
-
userInputFields = [{ key: 'spender_address', label: 'the spender address to approve' }];
|
|
20
|
-
constructor(config) {
|
|
21
|
-
super(config);
|
|
22
|
-
}
|
|
23
|
-
description = 'Open the APPROVE TOKEN form so the user can grant a spender allowance on an ERC-20 token. Use ' +
|
|
24
|
-
'when the user says "approve USDC for Uniswap", "cấp quyền 100 USDT cho 0x…", "revoke approval". ' +
|
|
25
|
-
'Pass `contract_address` when you have it; otherwise pass `token_symbol` (e.g. "USDC") and the tool ' +
|
|
26
|
-
'auto-resolves the contract. Always pass `spender_address` (the contract being approved). ' +
|
|
27
|
-
'Pass `amount` for a specific allowance; omit for unlimited (max uint256). For approving 0 to ' +
|
|
28
|
-
'revoke, pass amount="0".';
|
|
29
|
-
parameters = [
|
|
30
|
-
{ name: 'chain', type: 'string', description: 'Hex chain id. Defaults to connected chain.', required: false },
|
|
31
|
-
{
|
|
32
|
-
name: 'contract_address',
|
|
33
|
-
type: 'string',
|
|
34
|
-
description: 'ERC-20 token contract address (0x…). Pass when known. Otherwise leave empty and provide token_symbol.',
|
|
35
|
-
required: false,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
name: 'token_symbol',
|
|
39
|
-
type: 'string',
|
|
40
|
-
description: 'Token symbol (e.g. "USDC"). Required when contract_address is not given. Used to auto-resolve the contract.',
|
|
41
|
-
required: false,
|
|
42
|
-
},
|
|
43
|
-
{ name: 'decimals', type: 'number', description: 'Token decimals.', required: false },
|
|
44
|
-
{
|
|
45
|
-
name: 'spender_address',
|
|
46
|
-
type: 'string',
|
|
47
|
-
description: 'EVM address of the spender contract being approved (0x…). Omit when unknown — the form will prompt the user.',
|
|
48
|
-
required: false,
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
name: 'amount',
|
|
52
|
-
type: 'string',
|
|
53
|
-
description: 'Human-readable allowance amount. Omit for UNLIMITED (max uint256). Pass "0" to revoke.',
|
|
54
|
-
required: false,
|
|
55
|
-
},
|
|
56
|
-
];
|
|
57
|
-
async buildParameters(args, userContext) {
|
|
58
|
-
const chain = this.requireChain(args, userContext) ?? undefined;
|
|
59
|
-
const resolved = await this.resolveTokenRef({
|
|
60
|
-
contractArg: args.contract_address,
|
|
61
|
-
symbolArg: args.token_symbol,
|
|
62
|
-
decimalsArg: args.decimals,
|
|
63
|
-
chain,
|
|
64
|
-
walletAddress: userContext?.walletAddress ?? undefined,
|
|
65
|
-
});
|
|
66
|
-
if ('error' in resolved) {
|
|
67
|
-
return {
|
|
68
|
-
error: 'token_not_found',
|
|
69
|
-
symbol: resolved.key,
|
|
70
|
-
_instructions: `Could not resolve token "${resolved.key}" to a contract address on this chain. Ask the user to provide the token contract directly.`,
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
const token = resolved.token;
|
|
74
|
-
const spender = this.normaliseAddress(args.spender_address);
|
|
75
|
-
const params = {};
|
|
76
|
-
if (token?.address)
|
|
77
|
-
params.contract_address = token.address;
|
|
78
|
-
if (spender)
|
|
79
|
-
params.spender_address = spender;
|
|
80
|
-
if (token?.symbol)
|
|
81
|
-
params.token_symbol = token.symbol;
|
|
82
|
-
if (token?.decimals !== undefined)
|
|
83
|
-
params.decimals = String(token.decimals);
|
|
84
|
-
// Amount is optional: pass through "0" for revoke, positive numbers as-is.
|
|
85
|
-
if (typeof args.amount === 'string' && args.amount.trim()) {
|
|
86
|
-
const v = args.amount.trim();
|
|
87
|
-
const n = parseFloat(v);
|
|
88
|
-
if (Number.isFinite(n) && n >= 0)
|
|
89
|
-
params.amount = v;
|
|
90
|
-
}
|
|
91
|
-
else if (typeof args.amount === 'number' && Number.isFinite(args.amount) && args.amount >= 0) {
|
|
92
|
-
params.amount = String(args.amount);
|
|
93
|
-
}
|
|
94
|
-
return params;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
exports.ApproveTokenTool = ApproveTokenTool;
|
|
98
|
-
//# sourceMappingURL=ApproveTokenTool.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApproveTokenTool.js","sourceRoot":"","sources":["../../../../src/tools/builtin/wallet-action/ApproveTokenTool.ts"],"names":[],"mappings":";;;AAEA,iEAA8D;AAE9D;;;;;;;GAOG;AACH,MAAa,gBAAiB,SAAQ,2CAAoB;IACxD,IAAI,GAAG,yBAAyB,CAAC;IACd,UAAU,GAAqB,eAAe,CAAC;IAC/C,SAAS,GAAG,kBAAkB,CAAC;IAElD,4EAA4E;IAC5E,+EAA+E;IAC5D,eAAe,GAAG,CAAC,EAAE,GAAG,EAAE,iBAAiB,EAAE,KAAK,EAAE,gCAAgC,EAAE,CAAU,CAAC;IAEpH,YAAY,MAA6B;QACvC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChB,CAAC;IAED,WAAW,GACT,gGAAgG;QAChG,kGAAkG;QAClG,qGAAqG;QACrG,2FAA2F;QAC3F,+FAA+F;QAC/F,0BAA0B,CAAC;IAE7B,UAAU,GAAoB;QAC5B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,4CAA4C,EAAE,QAAQ,EAAE,KAAK,EAAE;QAC7G;YACE,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,uGAAuG;YACzG,QAAQ,EAAE,KAAK;SAChB;QACD;YACE,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,6GAA6G;YAC/G,QAAQ,EAAE,KAAK;SAChB;QACD,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,iBAAiB,EAAE,QAAQ,EAA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,CAAC;QACtD,IAAI,KAAK,EAAE,QAAQ,KAAK,SAAS;YAAE,MAAM,CAAC,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAE5E,2EAA2E;QAC3E,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC;YAC1D,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;YAC7B,MAAM,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;YACxB,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC;gBAAE,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;QACtD,CAAC;aAAM,IAAI,OAAO,IAAI,CAAC,MAAM,KAAK,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;YAC/F,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACtC,CAAC;QAED,OAAO,MAAM,CAAC;IAChB,CAAC;CACF;AA1FD,4CA0FC"}
|
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
import { BaseTool } from '../../BaseTool';
|
|
2
|
-
import { MoralisService, type MoralisServiceConfig } from '../../../services/MoralisService';
|
|
3
|
-
import { type NativeActionKind } from './gasReserve';
|
|
4
|
-
import type { SuggestedAction, ToolKind, ToolResult, UIPayload, UserContext, WalletActionType } from '../../../types';
|
|
5
|
-
/** Resolved token identity used to pre-fill a wallet-action form. */
|
|
6
|
-
export interface ResolvedToken {
|
|
7
|
-
address: string;
|
|
8
|
-
symbol?: string;
|
|
9
|
-
name?: string;
|
|
10
|
-
decimals?: number;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Shared base for wallet-action tools.
|
|
14
|
-
*
|
|
15
|
-
* Each concrete tool resolves identifiers + validates inputs, then returns the
|
|
16
|
-
* `WalletActionProps` payload below. The FE owns the form and the on-chain tx;
|
|
17
|
-
* the agent only forwards a structured intent.
|
|
18
|
-
*
|
|
19
|
-
* Subclasses implement `buildAction()` returning the fully-shaped payload (or
|
|
20
|
-
* an `{ error, _instructions }` object that aborts before emitting UI).
|
|
21
|
-
*/
|
|
22
|
-
export declare abstract class BaseWalletActionTool extends BaseTool {
|
|
23
|
-
kind: ToolKind;
|
|
24
|
-
category: string;
|
|
25
|
-
noSuggestions: boolean;
|
|
26
|
-
protected abstract readonly actionType: WalletActionType;
|
|
27
|
-
protected abstract readonly component: string;
|
|
28
|
-
/**
|
|
29
|
-
* The fields the *user* is expected to fill in the form, with a friendly,
|
|
30
|
-
* user-facing label (in English — the LLM translates to the user's language).
|
|
31
|
-
*
|
|
32
|
-
* Used to build the `_instructions`: any of these whose value the tool could
|
|
33
|
-
* NOT pre-resolve is listed back to the LLM so it can ask the user to enter
|
|
34
|
-
* exactly those. Internal/derived fields (contract_address, decimals, …) must
|
|
35
|
-
* NOT appear here — the user never types them.
|
|
36
|
-
*
|
|
37
|
-
* Order matters: it's the order the LLM should mention missing fields in.
|
|
38
|
-
*
|
|
39
|
-
* `key` may be a single param name or an array — for an array, the field
|
|
40
|
-
* counts as filled when ANY of the listed params has a value (e.g. a buy
|
|
41
|
-
* amount that can be expressed as either `buy_amount` or `pay_with_amount`).
|
|
42
|
-
*/
|
|
43
|
-
protected readonly userInputFields: ReadonlyArray<{
|
|
44
|
-
key: string | readonly string[];
|
|
45
|
-
label: string;
|
|
46
|
-
}>;
|
|
47
|
-
/**
|
|
48
|
-
* Optional Moralis service used to resolve token symbols → contract addresses.
|
|
49
|
-
* Concrete tools that accept a `token_symbol` parameter should accept a
|
|
50
|
-
* `MoralisServiceConfig` in their constructor and forward it to `super()`.
|
|
51
|
-
*/
|
|
52
|
-
protected readonly moralis?: MoralisService;
|
|
53
|
-
constructor(config?: MoralisServiceConfig);
|
|
54
|
-
/**
|
|
55
|
-
* Resolve a token reference — a SYMBOL ("USDC") or a contract ADDRESS
|
|
56
|
-
* ("0x…") — to a full `ResolvedToken` on a given chain. The Pantograph search
|
|
57
|
-
* endpoint and wallet balances both key on either, so a single path handles
|
|
58
|
-
* both: callers no longer need to special-case address vs symbol.
|
|
59
|
-
*
|
|
60
|
-
* 1. Connected wallet's balances (most reliable — the user actually holds it).
|
|
61
|
-
* 2. Pantograph token search (fallback).
|
|
62
|
-
*
|
|
63
|
-
* Matching: when `key` is an address we match on `token_address`; otherwise on
|
|
64
|
-
* `symbol`. Returns undefined when moralis is not configured or nothing
|
|
65
|
-
* matches — callers decide whether to error or leave the field blank.
|
|
66
|
-
*
|
|
67
|
-
* Mirrors the pattern in TokenScoreTool / TokenAnalyticsTool / TokenHoldersTool.
|
|
68
|
-
*/
|
|
69
|
-
protected resolveContractAddress(key: string, chain?: string, walletAddress?: string): Promise<ResolvedToken | undefined>;
|
|
70
|
-
/** Parse a decimals arg (number or numeric string) → integer, or undefined. */
|
|
71
|
-
protected parseDecimals(value: unknown): number | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Shared token-resolution for any tool that accepts a `contract_address` +
|
|
74
|
-
* `token_symbol` (+ optional `decimals`) pair. Handles the common flow once:
|
|
75
|
-
*
|
|
76
|
-
* - A valid address in `contractArg` is used directly (and still enriched
|
|
77
|
-
* with symbol/decimals via lookup when possible).
|
|
78
|
-
* - Otherwise the address OR symbol in `contractArg`/`symbolArg` is resolved
|
|
79
|
-
* through {@link resolveContractAddress} (which now matches either).
|
|
80
|
-
* - Returns `{ token: undefined }` when nothing was supplied — the caller
|
|
81
|
-
* decides whether that's a picker, an error, or a blank form field.
|
|
82
|
-
* - Returns `{ error: 'token_not_found' }` when a ref was given but could
|
|
83
|
-
* not be resolved on this chain.
|
|
84
|
-
*
|
|
85
|
-
* `decimalsArg` (if a valid integer) always wins over the looked-up decimals.
|
|
86
|
-
*/
|
|
87
|
-
protected resolveTokenRef(input: {
|
|
88
|
-
contractArg?: unknown;
|
|
89
|
-
symbolArg?: unknown;
|
|
90
|
-
decimalsArg?: unknown;
|
|
91
|
-
chain?: string;
|
|
92
|
-
walletAddress?: string;
|
|
93
|
-
}): Promise<{
|
|
94
|
-
token?: ResolvedToken;
|
|
95
|
-
} | {
|
|
96
|
-
error: 'token_not_found';
|
|
97
|
-
key: string;
|
|
98
|
-
}>;
|
|
99
|
-
/**
|
|
100
|
-
* Build the parameters map for this action. Possible return shapes:
|
|
101
|
-
* - `Record<string, string>` — open the form pre-filled with these params.
|
|
102
|
-
* - `{ error, _instructions, … }` — abort; the LLM surfaces the error.
|
|
103
|
-
* - `{ actionButtons: SuggestedAction[], _instructions?, message? }` — do
|
|
104
|
-
* NOT open the form; instead emit clickable buttons (e.g. token picker
|
|
105
|
-
* when the user said "send token" without naming one). The agent's
|
|
106
|
-
* answer is the `_instructions` text — kept short, addressed to the user.
|
|
107
|
-
* - `{ ui: UIPayload, _instructions?, … }` — bypass the default form UI
|
|
108
|
-
* payload; emit a custom one (e.g. a swap-preview component). The base
|
|
109
|
-
* forwards `ui` as-is to AgentCore.uiActions.
|
|
110
|
-
*/
|
|
111
|
-
protected abstract buildParameters(args: Record<string, unknown>, userContext?: UserContext): Promise<Record<string, string> | {
|
|
112
|
-
error: string;
|
|
113
|
-
_instructions?: string;
|
|
114
|
-
[k: string]: unknown;
|
|
115
|
-
} | {
|
|
116
|
-
actionButtons: SuggestedAction[];
|
|
117
|
-
_instructions?: string;
|
|
118
|
-
message?: string;
|
|
119
|
-
[k: string]: unknown;
|
|
120
|
-
} | {
|
|
121
|
-
ui: UIPayload;
|
|
122
|
-
_instructions?: string;
|
|
123
|
-
[k: string]: unknown;
|
|
124
|
-
}>;
|
|
125
|
-
protected requireWallet(userContext?: UserContext): {
|
|
126
|
-
ok: true;
|
|
127
|
-
address: string;
|
|
128
|
-
} | {
|
|
129
|
-
ok: false;
|
|
130
|
-
payload: unknown;
|
|
131
|
-
};
|
|
132
|
-
protected requireChain(args: Record<string, unknown>, userContext?: UserContext): string | null;
|
|
133
|
-
protected normaliseAddress(value: unknown): string | null;
|
|
134
|
-
protected normaliseAmount(value: unknown): string | null;
|
|
135
|
-
/**
|
|
136
|
-
* Resolve a user-supplied amount that may be a plain token amount ("100"), a
|
|
137
|
-
* PERCENT of the held balance ("50%"), or a USD value ("5$"). Plain amounts
|
|
138
|
-
* pass straight through; percent/usd need the token's balance + USD price,
|
|
139
|
-
* read here from the wallet's balances in one call (works for an ERC-20
|
|
140
|
-
* address or the `'native'` sentinel).
|
|
141
|
-
*
|
|
142
|
-
* Returns:
|
|
143
|
-
* - `{ amount }` — concrete token amount string (plain decimal).
|
|
144
|
-
* - `null` — no amount was given (empty/invalid) → caller leaves it blank.
|
|
145
|
-
* - `{ error, _instructions }` — a percent/usd was given but we couldn't get
|
|
146
|
-
* the balance/price needed to convert it; caller surfaces the message.
|
|
147
|
-
*/
|
|
148
|
-
protected resolveAmountInput(input: {
|
|
149
|
-
rawAmount: unknown;
|
|
150
|
-
tokenAddress: string;
|
|
151
|
-
symbol?: string;
|
|
152
|
-
chain?: string;
|
|
153
|
-
walletAddress?: string;
|
|
154
|
-
/**
|
|
155
|
-
* When set AND `tokenAddress` is the native coin, the amount is sized off the
|
|
156
|
-
* SPENDABLE balance (`balance − gasReserve`) instead of the raw balance, so a
|
|
157
|
-
* percent ("100%") never leaves the user unable to pay gas, and a plain amount
|
|
158
|
-
* that exceeds spendable is rejected. The reserve is estimated silently and
|
|
159
|
-
* never surfaced — the user only ever sees the spendable figure. Omit for
|
|
160
|
-
* ERC-20 spends (gas is paid in the native coin, not the token).
|
|
161
|
-
*/
|
|
162
|
-
gasKind?: NativeActionKind;
|
|
163
|
-
}): Promise<{
|
|
164
|
-
amount: string;
|
|
165
|
-
} | {
|
|
166
|
-
error: string;
|
|
167
|
-
_instructions: string;
|
|
168
|
-
} | null>;
|
|
169
|
-
/**
|
|
170
|
-
* Spendable native balance (`held − gasReserve`) in human token units, given a
|
|
171
|
-
* balance already read from the wallet. Silently falls back to the full balance
|
|
172
|
-
* when the gas price / chain decimals can't be resolved. See {@link gasReserve}.
|
|
173
|
-
*/
|
|
174
|
-
protected computeNativeSpendable(chain: string, gasKind: NativeActionKind, balanceNum: number): Promise<number>;
|
|
175
|
-
/**
|
|
176
|
-
* Resolve the SPENDABLE native balance for the form card as a plain-decimal
|
|
177
|
-
* STRING (`held − gasReserve`). Returns undefined when the wallet's native
|
|
178
|
-
* balance can't be read — the FE then falls back to the raw balance it already
|
|
179
|
-
* fetches for itself. Best-effort and silent; never throws.
|
|
180
|
-
*/
|
|
181
|
-
protected resolveNativeSpendableFormatted(chain: string | undefined, walletAddress: string | undefined, gasKind: NativeActionKind): Promise<string | undefined>;
|
|
182
|
-
/**
|
|
183
|
-
* Read a single token's held balance + USD price from the connected wallet's
|
|
184
|
-
* balances (one Moralis call). `tokenAddress` may be an ERC-20 address or the
|
|
185
|
-
* `'native'` sentinel. Returns `undefined` when balances can't be read or the
|
|
186
|
-
* token isn't held; `balance`/`usdPrice` are individually `undefined` when the
|
|
187
|
-
* source omits them.
|
|
188
|
-
*/
|
|
189
|
-
protected readTokenBalanceAndPrice(tokenAddress: string, chain?: string, walletAddress?: string): Promise<{
|
|
190
|
-
balance?: number;
|
|
191
|
-
usdPrice?: number;
|
|
192
|
-
balanceFormatted?: string;
|
|
193
|
-
symbol?: string;
|
|
194
|
-
} | undefined>;
|
|
195
|
-
/**
|
|
196
|
-
* Sanitize an amount STRING from an external source (e.g. Moralis
|
|
197
|
-
* `balance_formatted`): expand e-notation to a plain decimal; otherwise pass
|
|
198
|
-
* the original string through unchanged so we never lose precision by
|
|
199
|
-
* round-tripping a large/precise balance through `Number`.
|
|
200
|
-
*/
|
|
201
|
-
protected cleanAmountString(s: string): string;
|
|
202
|
-
/** Format a number as a plain decimal string, expanding any e-notation. */
|
|
203
|
-
protected toPlainDecimal(n: number): string;
|
|
204
|
-
/**
|
|
205
|
-
* Override `execute` so the `ui` payload we return from `run()` is lifted
|
|
206
|
-
* onto the ToolResult envelope (BaseTool only copies `data`).
|
|
207
|
-
*/
|
|
208
|
-
execute(args: Record<string, unknown>, userContext?: UserContext): Promise<ToolResult>;
|
|
209
|
-
protected run(args: Record<string, unknown>, userContext?: UserContext): Promise<unknown>;
|
|
210
|
-
}
|
|
211
|
-
//# sourceMappingURL=BaseWalletActionTool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BaseWalletActionTool.d.ts","sourceRoot":"","sources":["../../../../src/tools/builtin/wallet-action/BaseWalletActionTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAqB,MAAM,kCAAkC,CAAC;AAGhH,OAAO,EAAgD,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAC;AACnG,OAAO,KAAK,EACV,eAAe,EACf,QAAQ,EACR,UAAU,EACV,SAAS,EACT,WAAW,EAEX,gBAAgB,EACjB,MAAM,gBAAgB,CAAC;AAExB,qEAAqE;AACrE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;GASG;AACH,8BAAsB,oBAAqB,SAAQ,QAAQ;IACzD,IAAI,EAAE,QAAQ,CAAY;IAC1B,QAAQ,SAAmB;IAG3B,aAAa,UAAQ;IAErB,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,UAAU,EAAE,gBAAgB,CAAC;IACzD,SAAS,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAE9C;;;;;;;;;;;;;;OAcG;IACH,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,aAA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