keyring-agent-core 0.2.1 → 0.2.3
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 +6 -4
- 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
package/dist/constants/abi.d.ts
DELETED
|
@@ -1,551 +0,0 @@
|
|
|
1
|
-
export declare const GatewayAbi: readonly [{
|
|
2
|
-
readonly type: "constructor";
|
|
3
|
-
readonly inputs: readonly [{
|
|
4
|
-
readonly name: "owner_";
|
|
5
|
-
readonly type: "address";
|
|
6
|
-
readonly internalType: "address";
|
|
7
|
-
}, {
|
|
8
|
-
readonly name: "supportedRouter_";
|
|
9
|
-
readonly type: "address";
|
|
10
|
-
readonly internalType: "address";
|
|
11
|
-
}, {
|
|
12
|
-
readonly name: "nonfungiblePositionManager_";
|
|
13
|
-
readonly type: "address";
|
|
14
|
-
readonly internalType: "address";
|
|
15
|
-
}];
|
|
16
|
-
readonly stateMutability: "nonpayable";
|
|
17
|
-
}, {
|
|
18
|
-
readonly type: "function";
|
|
19
|
-
readonly name: "NATIVE_TOKEN";
|
|
20
|
-
readonly inputs: readonly [];
|
|
21
|
-
readonly outputs: readonly [{
|
|
22
|
-
readonly name: "";
|
|
23
|
-
readonly type: "address";
|
|
24
|
-
readonly internalType: "address";
|
|
25
|
-
}];
|
|
26
|
-
readonly stateMutability: "view";
|
|
27
|
-
}, {
|
|
28
|
-
readonly type: "function";
|
|
29
|
-
readonly name: "getSupportedRouters";
|
|
30
|
-
readonly inputs: readonly [];
|
|
31
|
-
readonly outputs: readonly [{
|
|
32
|
-
readonly name: "";
|
|
33
|
-
readonly type: "address[]";
|
|
34
|
-
readonly internalType: "address[]";
|
|
35
|
-
}];
|
|
36
|
-
readonly stateMutability: "view";
|
|
37
|
-
}, {
|
|
38
|
-
readonly type: "function";
|
|
39
|
-
readonly name: "increaseLiquidity";
|
|
40
|
-
readonly inputs: readonly [{
|
|
41
|
-
readonly name: "tokenId_";
|
|
42
|
-
readonly type: "uint256";
|
|
43
|
-
readonly internalType: "uint256";
|
|
44
|
-
}, {
|
|
45
|
-
readonly name: "swapInfo_";
|
|
46
|
-
readonly type: "tuple[2]";
|
|
47
|
-
readonly internalType: "struct CoinPoolGateway.SwapInfo[2]";
|
|
48
|
-
readonly components: readonly [{
|
|
49
|
-
readonly name: "tokenIn";
|
|
50
|
-
readonly type: "address";
|
|
51
|
-
readonly internalType: "address";
|
|
52
|
-
}, {
|
|
53
|
-
readonly name: "tokenInAmount";
|
|
54
|
-
readonly type: "uint256";
|
|
55
|
-
readonly internalType: "uint256";
|
|
56
|
-
}, {
|
|
57
|
-
readonly name: "tokenOut";
|
|
58
|
-
readonly type: "address";
|
|
59
|
-
readonly internalType: "address";
|
|
60
|
-
}, {
|
|
61
|
-
readonly name: "tokenOutAmount";
|
|
62
|
-
readonly type: "uint256";
|
|
63
|
-
readonly internalType: "uint256";
|
|
64
|
-
}];
|
|
65
|
-
}, {
|
|
66
|
-
readonly name: "swapOp_";
|
|
67
|
-
readonly type: "tuple[2]";
|
|
68
|
-
readonly internalType: "struct CoinPoolGateway.SwapOp[2]";
|
|
69
|
-
readonly components: readonly [{
|
|
70
|
-
readonly name: "to";
|
|
71
|
-
readonly type: "address";
|
|
72
|
-
readonly internalType: "address";
|
|
73
|
-
}, {
|
|
74
|
-
readonly name: "value";
|
|
75
|
-
readonly type: "uint256";
|
|
76
|
-
readonly internalType: "uint256";
|
|
77
|
-
}, {
|
|
78
|
-
readonly name: "data";
|
|
79
|
-
readonly type: "bytes";
|
|
80
|
-
readonly internalType: "bytes";
|
|
81
|
-
}];
|
|
82
|
-
}, {
|
|
83
|
-
readonly name: "increaseLiquidityData_";
|
|
84
|
-
readonly type: "tuple";
|
|
85
|
-
readonly internalType: "struct CoinPoolGateway.IncreaseLiquidityData";
|
|
86
|
-
readonly components: readonly [{
|
|
87
|
-
readonly name: "amount0Min";
|
|
88
|
-
readonly type: "uint256";
|
|
89
|
-
readonly internalType: "uint256";
|
|
90
|
-
}, {
|
|
91
|
-
readonly name: "amount1Min";
|
|
92
|
-
readonly type: "uint256";
|
|
93
|
-
readonly internalType: "uint256";
|
|
94
|
-
}];
|
|
95
|
-
}];
|
|
96
|
-
readonly outputs: readonly [];
|
|
97
|
-
readonly stateMutability: "payable";
|
|
98
|
-
}, {
|
|
99
|
-
readonly type: "function";
|
|
100
|
-
readonly name: "mint";
|
|
101
|
-
readonly inputs: readonly [{
|
|
102
|
-
readonly name: "swapInfo_";
|
|
103
|
-
readonly type: "tuple[2]";
|
|
104
|
-
readonly internalType: "struct CoinPoolGateway.SwapInfo[2]";
|
|
105
|
-
readonly components: readonly [{
|
|
106
|
-
readonly name: "tokenIn";
|
|
107
|
-
readonly type: "address";
|
|
108
|
-
readonly internalType: "address";
|
|
109
|
-
}, {
|
|
110
|
-
readonly name: "tokenInAmount";
|
|
111
|
-
readonly type: "uint256";
|
|
112
|
-
readonly internalType: "uint256";
|
|
113
|
-
}, {
|
|
114
|
-
readonly name: "tokenOut";
|
|
115
|
-
readonly type: "address";
|
|
116
|
-
readonly internalType: "address";
|
|
117
|
-
}, {
|
|
118
|
-
readonly name: "tokenOutAmount";
|
|
119
|
-
readonly type: "uint256";
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
|
-
}];
|
|
122
|
-
}, {
|
|
123
|
-
readonly name: "swapOp_";
|
|
124
|
-
readonly type: "tuple[2]";
|
|
125
|
-
readonly internalType: "struct CoinPoolGateway.SwapOp[2]";
|
|
126
|
-
readonly components: readonly [{
|
|
127
|
-
readonly name: "to";
|
|
128
|
-
readonly type: "address";
|
|
129
|
-
readonly internalType: "address";
|
|
130
|
-
}, {
|
|
131
|
-
readonly name: "value";
|
|
132
|
-
readonly type: "uint256";
|
|
133
|
-
readonly internalType: "uint256";
|
|
134
|
-
}, {
|
|
135
|
-
readonly name: "data";
|
|
136
|
-
readonly type: "bytes";
|
|
137
|
-
readonly internalType: "bytes";
|
|
138
|
-
}];
|
|
139
|
-
}, {
|
|
140
|
-
readonly name: "mintData_";
|
|
141
|
-
readonly type: "tuple";
|
|
142
|
-
readonly internalType: "struct CoinPoolGateway.MintData";
|
|
143
|
-
readonly components: readonly [{
|
|
144
|
-
readonly name: "fee";
|
|
145
|
-
readonly type: "uint24";
|
|
146
|
-
readonly internalType: "uint24";
|
|
147
|
-
}, {
|
|
148
|
-
readonly name: "tickLower";
|
|
149
|
-
readonly type: "int24";
|
|
150
|
-
readonly internalType: "int24";
|
|
151
|
-
}, {
|
|
152
|
-
readonly name: "tickUpper";
|
|
153
|
-
readonly type: "int24";
|
|
154
|
-
readonly internalType: "int24";
|
|
155
|
-
}, {
|
|
156
|
-
readonly name: "amount0Min";
|
|
157
|
-
readonly type: "uint256";
|
|
158
|
-
readonly internalType: "uint256";
|
|
159
|
-
}, {
|
|
160
|
-
readonly name: "amount1Min";
|
|
161
|
-
readonly type: "uint256";
|
|
162
|
-
readonly internalType: "uint256";
|
|
163
|
-
}];
|
|
164
|
-
}];
|
|
165
|
-
readonly outputs: readonly [];
|
|
166
|
-
readonly stateMutability: "payable";
|
|
167
|
-
}, {
|
|
168
|
-
readonly type: "function";
|
|
169
|
-
readonly name: "nonfungiblePositionManager";
|
|
170
|
-
readonly inputs: readonly [];
|
|
171
|
-
readonly outputs: readonly [{
|
|
172
|
-
readonly name: "";
|
|
173
|
-
readonly type: "address";
|
|
174
|
-
readonly internalType: "contract INonfungiblePositionManager";
|
|
175
|
-
}];
|
|
176
|
-
readonly stateMutability: "view";
|
|
177
|
-
}, {
|
|
178
|
-
readonly type: "function";
|
|
179
|
-
readonly name: "owner";
|
|
180
|
-
readonly inputs: readonly [];
|
|
181
|
-
readonly outputs: readonly [{
|
|
182
|
-
readonly name: "";
|
|
183
|
-
readonly type: "address";
|
|
184
|
-
readonly internalType: "address";
|
|
185
|
-
}];
|
|
186
|
-
readonly stateMutability: "view";
|
|
187
|
-
}, {
|
|
188
|
-
readonly type: "function";
|
|
189
|
-
readonly name: "pause";
|
|
190
|
-
readonly inputs: readonly [];
|
|
191
|
-
readonly outputs: readonly [];
|
|
192
|
-
readonly stateMutability: "nonpayable";
|
|
193
|
-
}, {
|
|
194
|
-
readonly type: "function";
|
|
195
|
-
readonly name: "paused";
|
|
196
|
-
readonly inputs: readonly [];
|
|
197
|
-
readonly outputs: readonly [{
|
|
198
|
-
readonly name: "";
|
|
199
|
-
readonly type: "bool";
|
|
200
|
-
readonly internalType: "bool";
|
|
201
|
-
}];
|
|
202
|
-
readonly stateMutability: "view";
|
|
203
|
-
}, {
|
|
204
|
-
readonly type: "function";
|
|
205
|
-
readonly name: "renounceOwnership";
|
|
206
|
-
readonly inputs: readonly [];
|
|
207
|
-
readonly outputs: readonly [];
|
|
208
|
-
readonly stateMutability: "nonpayable";
|
|
209
|
-
}, {
|
|
210
|
-
readonly type: "function";
|
|
211
|
-
readonly name: "rescue";
|
|
212
|
-
readonly inputs: readonly [{
|
|
213
|
-
readonly name: "token_";
|
|
214
|
-
readonly type: "address";
|
|
215
|
-
readonly internalType: "address";
|
|
216
|
-
}, {
|
|
217
|
-
readonly name: "amount_";
|
|
218
|
-
readonly type: "uint256";
|
|
219
|
-
readonly internalType: "uint256";
|
|
220
|
-
}, {
|
|
221
|
-
readonly name: "recipient_";
|
|
222
|
-
readonly type: "address";
|
|
223
|
-
readonly internalType: "address";
|
|
224
|
-
}];
|
|
225
|
-
readonly outputs: readonly [];
|
|
226
|
-
readonly stateMutability: "nonpayable";
|
|
227
|
-
}, {
|
|
228
|
-
readonly type: "function";
|
|
229
|
-
readonly name: "transferOwnership";
|
|
230
|
-
readonly inputs: readonly [{
|
|
231
|
-
readonly name: "newOwner";
|
|
232
|
-
readonly type: "address";
|
|
233
|
-
readonly internalType: "address";
|
|
234
|
-
}];
|
|
235
|
-
readonly outputs: readonly [];
|
|
236
|
-
readonly stateMutability: "nonpayable";
|
|
237
|
-
}, {
|
|
238
|
-
readonly type: "function";
|
|
239
|
-
readonly name: "unpause";
|
|
240
|
-
readonly inputs: readonly [];
|
|
241
|
-
readonly outputs: readonly [];
|
|
242
|
-
readonly stateMutability: "nonpayable";
|
|
243
|
-
}, {
|
|
244
|
-
readonly type: "function";
|
|
245
|
-
readonly name: "updateSupportedRouters";
|
|
246
|
-
readonly inputs: readonly [{
|
|
247
|
-
readonly name: "routers_";
|
|
248
|
-
readonly type: "address[]";
|
|
249
|
-
readonly internalType: "address[]";
|
|
250
|
-
}, {
|
|
251
|
-
readonly name: "isSupported_";
|
|
252
|
-
readonly type: "bool[]";
|
|
253
|
-
readonly internalType: "bool[]";
|
|
254
|
-
}];
|
|
255
|
-
readonly outputs: readonly [];
|
|
256
|
-
readonly stateMutability: "nonpayable";
|
|
257
|
-
}, {
|
|
258
|
-
readonly type: "event";
|
|
259
|
-
readonly name: "LiquidityIncreased";
|
|
260
|
-
readonly inputs: readonly [{
|
|
261
|
-
readonly name: "tokenId";
|
|
262
|
-
readonly type: "uint256";
|
|
263
|
-
readonly indexed: false;
|
|
264
|
-
readonly internalType: "uint256";
|
|
265
|
-
}, {
|
|
266
|
-
readonly name: "token0";
|
|
267
|
-
readonly type: "address";
|
|
268
|
-
readonly indexed: false;
|
|
269
|
-
readonly internalType: "address";
|
|
270
|
-
}, {
|
|
271
|
-
readonly name: "token1";
|
|
272
|
-
readonly type: "address";
|
|
273
|
-
readonly indexed: false;
|
|
274
|
-
readonly internalType: "address";
|
|
275
|
-
}, {
|
|
276
|
-
readonly name: "amount0LiquidityIncreased";
|
|
277
|
-
readonly type: "uint256";
|
|
278
|
-
readonly indexed: false;
|
|
279
|
-
readonly internalType: "uint256";
|
|
280
|
-
}, {
|
|
281
|
-
readonly name: "amount1LiquidityIncreased";
|
|
282
|
-
readonly type: "uint256";
|
|
283
|
-
readonly indexed: false;
|
|
284
|
-
readonly internalType: "uint256";
|
|
285
|
-
}, {
|
|
286
|
-
readonly name: "amount0SwapRefunded";
|
|
287
|
-
readonly type: "uint256";
|
|
288
|
-
readonly indexed: false;
|
|
289
|
-
readonly internalType: "uint256";
|
|
290
|
-
}, {
|
|
291
|
-
readonly name: "amount1SwapRefunded";
|
|
292
|
-
readonly type: "uint256";
|
|
293
|
-
readonly indexed: false;
|
|
294
|
-
readonly internalType: "uint256";
|
|
295
|
-
}, {
|
|
296
|
-
readonly name: "amount0IncreaseLiquidityRefunded";
|
|
297
|
-
readonly type: "uint256";
|
|
298
|
-
readonly indexed: false;
|
|
299
|
-
readonly internalType: "uint256";
|
|
300
|
-
}, {
|
|
301
|
-
readonly name: "amount1IncreaseLiquidityRefunded";
|
|
302
|
-
readonly type: "uint256";
|
|
303
|
-
readonly indexed: false;
|
|
304
|
-
readonly internalType: "uint256";
|
|
305
|
-
}];
|
|
306
|
-
readonly anonymous: false;
|
|
307
|
-
}, {
|
|
308
|
-
readonly type: "event";
|
|
309
|
-
readonly name: "Minted";
|
|
310
|
-
readonly inputs: readonly [{
|
|
311
|
-
readonly name: "tokenId";
|
|
312
|
-
readonly type: "uint256";
|
|
313
|
-
readonly indexed: false;
|
|
314
|
-
readonly internalType: "uint256";
|
|
315
|
-
}, {
|
|
316
|
-
readonly name: "token0";
|
|
317
|
-
readonly type: "address";
|
|
318
|
-
readonly indexed: false;
|
|
319
|
-
readonly internalType: "address";
|
|
320
|
-
}, {
|
|
321
|
-
readonly name: "token1";
|
|
322
|
-
readonly type: "address";
|
|
323
|
-
readonly indexed: false;
|
|
324
|
-
readonly internalType: "address";
|
|
325
|
-
}, {
|
|
326
|
-
readonly name: "amount0Minted";
|
|
327
|
-
readonly type: "uint256";
|
|
328
|
-
readonly indexed: false;
|
|
329
|
-
readonly internalType: "uint256";
|
|
330
|
-
}, {
|
|
331
|
-
readonly name: "amount1Minted";
|
|
332
|
-
readonly type: "uint256";
|
|
333
|
-
readonly indexed: false;
|
|
334
|
-
readonly internalType: "uint256";
|
|
335
|
-
}, {
|
|
336
|
-
readonly name: "amount0SwapRefunded";
|
|
337
|
-
readonly type: "uint256";
|
|
338
|
-
readonly indexed: false;
|
|
339
|
-
readonly internalType: "uint256";
|
|
340
|
-
}, {
|
|
341
|
-
readonly name: "amount1SwapRefunded";
|
|
342
|
-
readonly type: "uint256";
|
|
343
|
-
readonly indexed: false;
|
|
344
|
-
readonly internalType: "uint256";
|
|
345
|
-
}, {
|
|
346
|
-
readonly name: "amount0MintRefunded";
|
|
347
|
-
readonly type: "uint256";
|
|
348
|
-
readonly indexed: false;
|
|
349
|
-
readonly internalType: "uint256";
|
|
350
|
-
}, {
|
|
351
|
-
readonly name: "amount1MintRefunded";
|
|
352
|
-
readonly type: "uint256";
|
|
353
|
-
readonly indexed: false;
|
|
354
|
-
readonly internalType: "uint256";
|
|
355
|
-
}];
|
|
356
|
-
readonly anonymous: false;
|
|
357
|
-
}, {
|
|
358
|
-
readonly type: "event";
|
|
359
|
-
readonly name: "OwnershipTransferred";
|
|
360
|
-
readonly inputs: readonly [{
|
|
361
|
-
readonly name: "previousOwner";
|
|
362
|
-
readonly type: "address";
|
|
363
|
-
readonly indexed: true;
|
|
364
|
-
readonly internalType: "address";
|
|
365
|
-
}, {
|
|
366
|
-
readonly name: "newOwner";
|
|
367
|
-
readonly type: "address";
|
|
368
|
-
readonly indexed: true;
|
|
369
|
-
readonly internalType: "address";
|
|
370
|
-
}];
|
|
371
|
-
readonly anonymous: false;
|
|
372
|
-
}, {
|
|
373
|
-
readonly type: "event";
|
|
374
|
-
readonly name: "Paused";
|
|
375
|
-
readonly inputs: readonly [{
|
|
376
|
-
readonly name: "account";
|
|
377
|
-
readonly type: "address";
|
|
378
|
-
readonly indexed: false;
|
|
379
|
-
readonly internalType: "address";
|
|
380
|
-
}];
|
|
381
|
-
readonly anonymous: false;
|
|
382
|
-
}, {
|
|
383
|
-
readonly type: "event";
|
|
384
|
-
readonly name: "SupportedRoutersUpdated";
|
|
385
|
-
readonly inputs: readonly [{
|
|
386
|
-
readonly name: "routers";
|
|
387
|
-
readonly type: "address[]";
|
|
388
|
-
readonly indexed: false;
|
|
389
|
-
readonly internalType: "address[]";
|
|
390
|
-
}, {
|
|
391
|
-
readonly name: "isSupported";
|
|
392
|
-
readonly type: "bool[]";
|
|
393
|
-
readonly indexed: false;
|
|
394
|
-
readonly internalType: "bool[]";
|
|
395
|
-
}];
|
|
396
|
-
readonly anonymous: false;
|
|
397
|
-
}, {
|
|
398
|
-
readonly type: "event";
|
|
399
|
-
readonly name: "Unpaused";
|
|
400
|
-
readonly inputs: readonly [{
|
|
401
|
-
readonly name: "account";
|
|
402
|
-
readonly type: "address";
|
|
403
|
-
readonly indexed: false;
|
|
404
|
-
readonly internalType: "address";
|
|
405
|
-
}];
|
|
406
|
-
readonly anonymous: false;
|
|
407
|
-
}, {
|
|
408
|
-
readonly type: "error";
|
|
409
|
-
readonly name: "AddressEmptyCode";
|
|
410
|
-
readonly inputs: readonly [{
|
|
411
|
-
readonly name: "target";
|
|
412
|
-
readonly type: "address";
|
|
413
|
-
readonly internalType: "address";
|
|
414
|
-
}];
|
|
415
|
-
}, {
|
|
416
|
-
readonly type: "error";
|
|
417
|
-
readonly name: "EnforcedPause";
|
|
418
|
-
readonly inputs: readonly [];
|
|
419
|
-
}, {
|
|
420
|
-
readonly type: "error";
|
|
421
|
-
readonly name: "ExpectedPause";
|
|
422
|
-
readonly inputs: readonly [];
|
|
423
|
-
}, {
|
|
424
|
-
readonly type: "error";
|
|
425
|
-
readonly name: "FailedCall";
|
|
426
|
-
readonly inputs: readonly [];
|
|
427
|
-
}, {
|
|
428
|
-
readonly type: "error";
|
|
429
|
-
readonly name: "InsufficientAmountOut";
|
|
430
|
-
readonly inputs: readonly [];
|
|
431
|
-
}, {
|
|
432
|
-
readonly type: "error";
|
|
433
|
-
readonly name: "InsufficientBalance";
|
|
434
|
-
readonly inputs: readonly [{
|
|
435
|
-
readonly name: "balance";
|
|
436
|
-
readonly type: "uint256";
|
|
437
|
-
readonly internalType: "uint256";
|
|
438
|
-
}, {
|
|
439
|
-
readonly name: "needed";
|
|
440
|
-
readonly type: "uint256";
|
|
441
|
-
readonly internalType: "uint256";
|
|
442
|
-
}];
|
|
443
|
-
}, {
|
|
444
|
-
readonly type: "error";
|
|
445
|
-
readonly name: "InvalidAmountIn";
|
|
446
|
-
readonly inputs: readonly [];
|
|
447
|
-
}, {
|
|
448
|
-
readonly type: "error";
|
|
449
|
-
readonly name: "InvalidLength";
|
|
450
|
-
readonly inputs: readonly [];
|
|
451
|
-
}, {
|
|
452
|
-
readonly type: "error";
|
|
453
|
-
readonly name: "InvalidRefundUnusedToken";
|
|
454
|
-
readonly inputs: readonly [];
|
|
455
|
-
}, {
|
|
456
|
-
readonly type: "error";
|
|
457
|
-
readonly name: "InvalidSwapAction";
|
|
458
|
-
readonly inputs: readonly [];
|
|
459
|
-
}, {
|
|
460
|
-
readonly type: "error";
|
|
461
|
-
readonly name: "InvalidTokenInInfo";
|
|
462
|
-
readonly inputs: readonly [];
|
|
463
|
-
}, {
|
|
464
|
-
readonly type: "error";
|
|
465
|
-
readonly name: "InvalidTokenOutInfo";
|
|
466
|
-
readonly inputs: readonly [];
|
|
467
|
-
}, {
|
|
468
|
-
readonly type: "error";
|
|
469
|
-
readonly name: "InvalidTotalAmountIn";
|
|
470
|
-
readonly inputs: readonly [];
|
|
471
|
-
}, {
|
|
472
|
-
readonly type: "error";
|
|
473
|
-
readonly name: "NotSupportedRouter";
|
|
474
|
-
readonly inputs: readonly [];
|
|
475
|
-
}, {
|
|
476
|
-
readonly type: "error";
|
|
477
|
-
readonly name: "OwnableInvalidOwner";
|
|
478
|
-
readonly inputs: readonly [{
|
|
479
|
-
readonly name: "owner";
|
|
480
|
-
readonly type: "address";
|
|
481
|
-
readonly internalType: "address";
|
|
482
|
-
}];
|
|
483
|
-
}, {
|
|
484
|
-
readonly type: "error";
|
|
485
|
-
readonly name: "OwnableUnauthorizedAccount";
|
|
486
|
-
readonly inputs: readonly [{
|
|
487
|
-
readonly name: "account";
|
|
488
|
-
readonly type: "address";
|
|
489
|
-
readonly internalType: "address";
|
|
490
|
-
}];
|
|
491
|
-
}, {
|
|
492
|
-
readonly type: "error";
|
|
493
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
494
|
-
readonly inputs: readonly [];
|
|
495
|
-
}, {
|
|
496
|
-
readonly type: "error";
|
|
497
|
-
readonly name: "SafeERC20FailedDecreaseAllowance";
|
|
498
|
-
readonly inputs: readonly [{
|
|
499
|
-
readonly name: "spender";
|
|
500
|
-
readonly type: "address";
|
|
501
|
-
readonly internalType: "address";
|
|
502
|
-
}, {
|
|
503
|
-
readonly name: "currentAllowance";
|
|
504
|
-
readonly type: "uint256";
|
|
505
|
-
readonly internalType: "uint256";
|
|
506
|
-
}, {
|
|
507
|
-
readonly name: "requestedDecrease";
|
|
508
|
-
readonly type: "uint256";
|
|
509
|
-
readonly internalType: "uint256";
|
|
510
|
-
}];
|
|
511
|
-
}, {
|
|
512
|
-
readonly type: "error";
|
|
513
|
-
readonly name: "SafeERC20FailedOperation";
|
|
514
|
-
readonly inputs: readonly [{
|
|
515
|
-
readonly name: "token";
|
|
516
|
-
readonly type: "address";
|
|
517
|
-
readonly internalType: "address";
|
|
518
|
-
}];
|
|
519
|
-
}];
|
|
520
|
-
export declare const erc20Abi: readonly [{
|
|
521
|
-
readonly type: "function";
|
|
522
|
-
readonly name: "approve";
|
|
523
|
-
readonly stateMutability: "nonpayable";
|
|
524
|
-
readonly inputs: readonly [{
|
|
525
|
-
readonly name: "spender";
|
|
526
|
-
readonly type: "address";
|
|
527
|
-
}, {
|
|
528
|
-
readonly name: "amount";
|
|
529
|
-
readonly type: "uint256";
|
|
530
|
-
}];
|
|
531
|
-
readonly outputs: readonly [{
|
|
532
|
-
readonly name: "";
|
|
533
|
-
readonly type: "bool";
|
|
534
|
-
}];
|
|
535
|
-
}, {
|
|
536
|
-
readonly type: "function";
|
|
537
|
-
readonly name: "allowance";
|
|
538
|
-
readonly stateMutability: "view";
|
|
539
|
-
readonly inputs: readonly [{
|
|
540
|
-
readonly name: "owner";
|
|
541
|
-
readonly type: "address";
|
|
542
|
-
}, {
|
|
543
|
-
readonly name: "spender";
|
|
544
|
-
readonly type: "address";
|
|
545
|
-
}];
|
|
546
|
-
readonly outputs: readonly [{
|
|
547
|
-
readonly name: "";
|
|
548
|
-
readonly type: "uint256";
|
|
549
|
-
}];
|
|
550
|
-
}];
|
|
551
|
-
//# sourceMappingURL=abi.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"abi.d.ts","sourceRoot":"","sources":["../../src/constants/abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAspBb,CAAC;AAEX,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBX,CAAC"}
|