keyring-agent-core 0.2.30 → 0.2.31
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 +4 -28
- package/dist/index.js +74 -68
- package/dist/index.native.js +170 -164
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5012,14 +5012,8 @@ declare class TopPoolsTool extends BaseTool {
|
|
|
5012
5012
|
constructor(config?: TopPoolsToolConfig, subgraphConfig?: SubgraphServiceConfig);
|
|
5013
5013
|
protected run(args: Record<string, unknown>, userContext?: UserContext): Promise<{
|
|
5014
5014
|
error: string;
|
|
5015
|
-
_instructions?: undefined;
|
|
5016
|
-
chain?: undefined;
|
|
5017
|
-
protocolVersion?: undefined;
|
|
5018
|
-
sortBy?: undefined;
|
|
5019
|
-
source?: undefined;
|
|
5020
|
-
count?: undefined;
|
|
5021
|
-
pools?: undefined;
|
|
5022
5015
|
} | {
|
|
5016
|
+
actionButtons?: SuggestedAction[] | undefined;
|
|
5023
5017
|
_instructions: string;
|
|
5024
5018
|
chain: string;
|
|
5025
5019
|
protocolVersion: UniswapProtocolVersion;
|
|
@@ -5339,17 +5333,8 @@ declare class PoolSearchTool extends BaseTool {
|
|
|
5339
5333
|
constructor(config?: PoolSearchToolConfig);
|
|
5340
5334
|
protected run(args: Record<string, unknown>, userContext?: UserContext): Promise<{
|
|
5341
5335
|
error: string;
|
|
5342
|
-
_instructions?: undefined;
|
|
5343
|
-
query?: undefined;
|
|
5344
|
-
chain?: undefined;
|
|
5345
|
-
protocolVersion?: undefined;
|
|
5346
|
-
feeTierBps?: undefined;
|
|
5347
|
-
feeTierPercent?: undefined;
|
|
5348
|
-
page?: undefined;
|
|
5349
|
-
size?: undefined;
|
|
5350
|
-
count?: undefined;
|
|
5351
|
-
pools?: undefined;
|
|
5352
5336
|
} | {
|
|
5337
|
+
actionButtons?: SuggestedAction[] | undefined;
|
|
5353
5338
|
_instructions: string;
|
|
5354
5339
|
query: string;
|
|
5355
5340
|
chain: string;
|
|
@@ -5545,8 +5530,6 @@ declare class OpenAddLiquidityFormTool extends BaseTool {
|
|
|
5545
5530
|
requestedToken?: undefined;
|
|
5546
5531
|
nativeSymbol?: undefined;
|
|
5547
5532
|
chainName?: undefined;
|
|
5548
|
-
relatedPools?: undefined;
|
|
5549
|
-
count?: undefined;
|
|
5550
5533
|
ui?: undefined;
|
|
5551
5534
|
suggestedRanges?: undefined;
|
|
5552
5535
|
summary?: undefined;
|
|
@@ -5557,8 +5540,6 @@ declare class OpenAddLiquidityFormTool extends BaseTool {
|
|
|
5557
5540
|
requestedToken?: undefined;
|
|
5558
5541
|
nativeSymbol?: undefined;
|
|
5559
5542
|
chainName?: undefined;
|
|
5560
|
-
relatedPools?: undefined;
|
|
5561
|
-
count?: undefined;
|
|
5562
5543
|
ui?: undefined;
|
|
5563
5544
|
suggestedRanges?: undefined;
|
|
5564
5545
|
summary?: undefined;
|
|
@@ -5569,8 +5550,6 @@ declare class OpenAddLiquidityFormTool extends BaseTool {
|
|
|
5569
5550
|
chainName: string;
|
|
5570
5551
|
_instructions: string;
|
|
5571
5552
|
chain?: undefined;
|
|
5572
|
-
relatedPools?: undefined;
|
|
5573
|
-
count?: undefined;
|
|
5574
5553
|
ui?: undefined;
|
|
5575
5554
|
suggestedRanges?: undefined;
|
|
5576
5555
|
summary?: undefined;
|
|
@@ -5581,12 +5560,12 @@ declare class OpenAddLiquidityFormTool extends BaseTool {
|
|
|
5581
5560
|
requestedToken?: undefined;
|
|
5582
5561
|
nativeSymbol?: undefined;
|
|
5583
5562
|
chainName?: undefined;
|
|
5584
|
-
relatedPools?: undefined;
|
|
5585
|
-
count?: undefined;
|
|
5586
5563
|
ui?: undefined;
|
|
5587
5564
|
suggestedRanges?: undefined;
|
|
5588
5565
|
summary?: undefined;
|
|
5589
5566
|
} | {
|
|
5567
|
+
_instructions: string;
|
|
5568
|
+
actionButtons?: SuggestedAction[] | undefined;
|
|
5590
5569
|
relatedPools: {
|
|
5591
5570
|
apr?: number | undefined;
|
|
5592
5571
|
volumeToTvlRatio?: number | undefined;
|
|
@@ -5599,7 +5578,6 @@ declare class OpenAddLiquidityFormTool extends BaseTool {
|
|
|
5599
5578
|
tvlUsd: number | undefined;
|
|
5600
5579
|
}[];
|
|
5601
5580
|
count: number;
|
|
5602
|
-
_instructions: string;
|
|
5603
5581
|
error?: undefined;
|
|
5604
5582
|
chain?: undefined;
|
|
5605
5583
|
requestedToken?: undefined;
|
|
@@ -5626,8 +5604,6 @@ declare class OpenAddLiquidityFormTool extends BaseTool {
|
|
|
5626
5604
|
requestedToken?: undefined;
|
|
5627
5605
|
nativeSymbol?: undefined;
|
|
5628
5606
|
chainName?: undefined;
|
|
5629
|
-
relatedPools?: undefined;
|
|
5630
|
-
count?: undefined;
|
|
5631
5607
|
}>;
|
|
5632
5608
|
/**
|
|
5633
5609
|
* Best-effort CoinPool in-range price-range candidates for the resolved pool,
|