@compass-labs/api-sdk 1.0.10 → 1.0.12
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/README.md +2 -0
- package/bin/mcp-server.js +331 -132
- package/bin/mcp-server.js.map +12 -8
- package/dist/commonjs/funcs/swapSwapOdos.d.ts +1 -1
- package/dist/commonjs/funcs/swapSwapOdos.d.ts.map +1 -1
- package/dist/commonjs/funcs/swapSwapOdos.js +1 -1
- package/dist/commonjs/funcs/swapSwapOdos.js.map +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerMetamaskExecute.d.ts +19 -0
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerMetamaskExecute.d.ts.map +1 -0
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerMetamaskExecute.js +119 -0
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerMetamaskExecute.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +3 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.js +65 -0
- package/dist/commonjs/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.js.map +1 -0
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/metamaskdelegatorrequest.d.ts +78 -0
- package/dist/commonjs/models/components/metamaskdelegatorrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/metamaskdelegatorrequest.js +108 -0
- package/dist/commonjs/models/components/metamaskdelegatorrequest.js.map +1 -0
- package/dist/commonjs/models/components/odostransactionresponse.d.ts +63 -0
- package/dist/commonjs/models/components/odostransactionresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/odostransactionresponse.js +117 -0
- package/dist/commonjs/models/components/odostransactionresponse.js.map +1 -0
- package/dist/commonjs/sdk/swap.d.ts +1 -1
- package/dist/commonjs/sdk/swap.d.ts.map +1 -1
- package/dist/commonjs/sdk/transactionbundler.d.ts +8 -0
- package/dist/commonjs/sdk/transactionbundler.d.ts.map +1 -1
- package/dist/commonjs/sdk/transactionbundler.js +11 -0
- package/dist/commonjs/sdk/transactionbundler.js.map +1 -1
- package/dist/esm/funcs/swapSwapOdos.d.ts +1 -1
- package/dist/esm/funcs/swapSwapOdos.d.ts.map +1 -1
- package/dist/esm/funcs/swapSwapOdos.js +1 -1
- package/dist/esm/funcs/swapSwapOdos.js.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerMetamaskExecute.d.ts +19 -0
- package/dist/esm/funcs/transactionBundlerTransactionBundlerMetamaskExecute.d.ts.map +1 -0
- package/dist/esm/funcs/transactionBundlerTransactionBundlerMetamaskExecute.js +83 -0
- package/dist/esm/funcs/transactionBundlerTransactionBundlerMetamaskExecute.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +3 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.d.ts +8 -0
- package/dist/esm/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.js +29 -0
- package/dist/esm/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.js.map +1 -0
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/metamaskdelegatorrequest.d.ts +78 -0
- package/dist/esm/models/components/metamaskdelegatorrequest.d.ts.map +1 -0
- package/dist/esm/models/components/metamaskdelegatorrequest.js +70 -0
- package/dist/esm/models/components/metamaskdelegatorrequest.js.map +1 -0
- package/dist/esm/models/components/odostransactionresponse.d.ts +63 -0
- package/dist/esm/models/components/odostransactionresponse.d.ts.map +1 -0
- package/dist/esm/models/components/odostransactionresponse.js +77 -0
- package/dist/esm/models/components/odostransactionresponse.js.map +1 -0
- package/dist/esm/sdk/swap.d.ts +1 -1
- package/dist/esm/sdk/swap.d.ts.map +1 -1
- package/dist/esm/sdk/transactionbundler.d.ts +8 -0
- package/dist/esm/sdk/transactionbundler.d.ts.map +1 -1
- package/dist/esm/sdk/transactionbundler.js +11 -0
- package/dist/esm/sdk/transactionbundler.js.map +1 -1
- package/docs/sdks/swap/README.md +1 -1
- package/docs/sdks/transactionbundler/README.md +114 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/swapSwapOdos.ts +4 -4
- package/src/funcs/transactionBundlerTransactionBundlerMetamaskExecute.ts +170 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.ts +40 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/metamaskdelegatorrequest.ts +144 -0
- package/src/models/components/odostransactionresponse.ts +170 -0
- package/src/sdk/swap.ts +1 -1
- package/src/sdk/transactionbundler.ts +19 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34264,9 +34264,9 @@ var init_config = __esm(() => {
|
|
|
34264
34264
|
SDK_METADATA = {
|
|
34265
34265
|
language: "typescript",
|
|
34266
34266
|
openapiDocVersion: "0.0.1",
|
|
34267
|
-
sdkVersion: "1.0.
|
|
34267
|
+
sdkVersion: "1.0.12",
|
|
34268
34268
|
genVersion: "2.681.1",
|
|
34269
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
34269
|
+
userAgent: "speakeasy-sdk/typescript 1.0.12 2.681.1 0.0.1 @compass-labs/api-sdk"
|
|
34270
34270
|
};
|
|
34271
34271
|
});
|
|
34272
34272
|
|
|
@@ -40815,6 +40815,50 @@ var init_markettokens = __esm(() => {
|
|
|
40815
40815
|
})(MarketTokens$ ||= {});
|
|
40816
40816
|
});
|
|
40817
40817
|
|
|
40818
|
+
// src/models/components/metamaskdelegatorrequest.ts
|
|
40819
|
+
var MetamaskDelegatorRequestChain, MetamaskDelegatorRequestChain$inboundSchema, MetamaskDelegatorRequestChain$outboundSchema, MetamaskDelegatorRequestChain$, MetamaskDelegatorRequest$inboundSchema, MetamaskDelegatorRequest$outboundSchema, MetamaskDelegatorRequest$;
|
|
40820
|
+
var init_metamaskdelegatorrequest = __esm(() => {
|
|
40821
|
+
init_zod();
|
|
40822
|
+
init_primitives();
|
|
40823
|
+
init_signedauthorization();
|
|
40824
|
+
init_useroperation();
|
|
40825
|
+
MetamaskDelegatorRequestChain = {
|
|
40826
|
+
Arbitrum: "arbitrum",
|
|
40827
|
+
Base: "base",
|
|
40828
|
+
Ethereum: "ethereum"
|
|
40829
|
+
};
|
|
40830
|
+
MetamaskDelegatorRequestChain$inboundSchema = nativeEnumType(MetamaskDelegatorRequestChain);
|
|
40831
|
+
MetamaskDelegatorRequestChain$outboundSchema = MetamaskDelegatorRequestChain$inboundSchema;
|
|
40832
|
+
((MetamaskDelegatorRequestChain$) => {
|
|
40833
|
+
MetamaskDelegatorRequestChain$.inboundSchema = MetamaskDelegatorRequestChain$inboundSchema;
|
|
40834
|
+
MetamaskDelegatorRequestChain$.outboundSchema = MetamaskDelegatorRequestChain$outboundSchema;
|
|
40835
|
+
})(MetamaskDelegatorRequestChain$ ||= {});
|
|
40836
|
+
MetamaskDelegatorRequest$inboundSchema = objectType({
|
|
40837
|
+
chain: MetamaskDelegatorRequestChain$inboundSchema,
|
|
40838
|
+
sender: stringType(),
|
|
40839
|
+
signed_authorization: nullableType(SignedAuthorization$inboundSchema).optional(),
|
|
40840
|
+
actions: arrayType(UserOperation$inboundSchema)
|
|
40841
|
+
}).transform((v2) => {
|
|
40842
|
+
return remap(v2, {
|
|
40843
|
+
signed_authorization: "signedAuthorization"
|
|
40844
|
+
});
|
|
40845
|
+
});
|
|
40846
|
+
MetamaskDelegatorRequest$outboundSchema = objectType({
|
|
40847
|
+
chain: MetamaskDelegatorRequestChain$outboundSchema,
|
|
40848
|
+
sender: stringType(),
|
|
40849
|
+
signedAuthorization: nullableType(SignedAuthorization$outboundSchema).optional(),
|
|
40850
|
+
actions: arrayType(UserOperation$outboundSchema)
|
|
40851
|
+
}).transform((v2) => {
|
|
40852
|
+
return remap(v2, {
|
|
40853
|
+
signedAuthorization: "signed_authorization"
|
|
40854
|
+
});
|
|
40855
|
+
});
|
|
40856
|
+
((MetamaskDelegatorRequest$) => {
|
|
40857
|
+
MetamaskDelegatorRequest$.inboundSchema = MetamaskDelegatorRequest$inboundSchema;
|
|
40858
|
+
MetamaskDelegatorRequest$.outboundSchema = MetamaskDelegatorRequest$outboundSchema;
|
|
40859
|
+
})(MetamaskDelegatorRequest$ ||= {});
|
|
40860
|
+
});
|
|
40861
|
+
|
|
40818
40862
|
// src/models/components/morphoborrowrequest.ts
|
|
40819
40863
|
var MorphoBorrowRequestChain, MorphoBorrowRequestAmount$inboundSchema, MorphoBorrowRequestAmount$outboundSchema, MorphoBorrowRequestAmount$, MorphoBorrowRequestChain$inboundSchema, MorphoBorrowRequestChain$outboundSchema, MorphoBorrowRequestChain$, MorphoBorrowRequest$inboundSchema, MorphoBorrowRequest$outboundSchema, MorphoBorrowRequest$;
|
|
40820
40864
|
var init_morphoborrowrequest = __esm(() => {
|
|
@@ -41622,6 +41666,53 @@ var init_odosswaprequest = __esm(() => {
|
|
|
41622
41666
|
})(OdosSwapRequest$ ||= {});
|
|
41623
41667
|
});
|
|
41624
41668
|
|
|
41669
|
+
// src/models/components/odostransactionresponse.ts
|
|
41670
|
+
var OdosTransactionResponseTransaction$inboundSchema, OdosTransactionResponseTransaction$outboundSchema, OdosTransactionResponseTransaction$, OdosTransactionResponse$inboundSchema, OdosTransactionResponse$outboundSchema, OdosTransactionResponse$;
|
|
41671
|
+
var init_odostransactionresponse = __esm(() => {
|
|
41672
|
+
init_zod();
|
|
41673
|
+
init_primitives();
|
|
41674
|
+
init_unsignedtransaction();
|
|
41675
|
+
init_useroperationresponse();
|
|
41676
|
+
OdosTransactionResponseTransaction$inboundSchema = unionType([
|
|
41677
|
+
UnsignedTransaction$inboundSchema,
|
|
41678
|
+
UserOperationResponse$inboundSchema
|
|
41679
|
+
]);
|
|
41680
|
+
OdosTransactionResponseTransaction$outboundSchema = unionType([
|
|
41681
|
+
UnsignedTransaction$outboundSchema,
|
|
41682
|
+
UserOperationResponse$outboundSchema
|
|
41683
|
+
]);
|
|
41684
|
+
((OdosTransactionResponseTransaction$) => {
|
|
41685
|
+
OdosTransactionResponseTransaction$.inboundSchema = OdosTransactionResponseTransaction$inboundSchema;
|
|
41686
|
+
OdosTransactionResponseTransaction$.outboundSchema = OdosTransactionResponseTransaction$outboundSchema;
|
|
41687
|
+
})(OdosTransactionResponseTransaction$ ||= {});
|
|
41688
|
+
OdosTransactionResponse$inboundSchema = objectType({
|
|
41689
|
+
transaction: unionType([
|
|
41690
|
+
UnsignedTransaction$inboundSchema,
|
|
41691
|
+
UserOperationResponse$inboundSchema
|
|
41692
|
+
]),
|
|
41693
|
+
amount_out_quote: stringType()
|
|
41694
|
+
}).transform((v2) => {
|
|
41695
|
+
return remap(v2, {
|
|
41696
|
+
amount_out_quote: "amountOutQuote"
|
|
41697
|
+
});
|
|
41698
|
+
});
|
|
41699
|
+
OdosTransactionResponse$outboundSchema = objectType({
|
|
41700
|
+
transaction: unionType([
|
|
41701
|
+
UnsignedTransaction$outboundSchema,
|
|
41702
|
+
UserOperationResponse$outboundSchema
|
|
41703
|
+
]),
|
|
41704
|
+
amountOutQuote: stringType()
|
|
41705
|
+
}).transform((v2) => {
|
|
41706
|
+
return remap(v2, {
|
|
41707
|
+
amountOutQuote: "amount_out_quote"
|
|
41708
|
+
});
|
|
41709
|
+
});
|
|
41710
|
+
((OdosTransactionResponse$) => {
|
|
41711
|
+
OdosTransactionResponse$.inboundSchema = OdosTransactionResponse$inboundSchema;
|
|
41712
|
+
OdosTransactionResponse$.outboundSchema = OdosTransactionResponse$outboundSchema;
|
|
41713
|
+
})(OdosTransactionResponse$ ||= {});
|
|
41714
|
+
});
|
|
41715
|
+
|
|
41625
41716
|
// src/models/components/openposition.ts
|
|
41626
41717
|
var OpenPosition$inboundSchema, OpenPosition$outboundSchema, OpenPosition$;
|
|
41627
41718
|
var init_openposition = __esm(() => {
|
|
@@ -43775,6 +43866,7 @@ var init_components = __esm(() => {
|
|
|
43775
43866
|
init_market();
|
|
43776
43867
|
init_marketposition();
|
|
43777
43868
|
init_markettokens();
|
|
43869
|
+
init_metamaskdelegatorrequest();
|
|
43778
43870
|
init_morphoborrowparams();
|
|
43779
43871
|
init_morphoborrowrequest();
|
|
43780
43872
|
init_morphocheckmarketpositionresponse();
|
|
@@ -43800,6 +43892,7 @@ var init_components = __esm(() => {
|
|
|
43800
43892
|
init_multicallexecuterequest();
|
|
43801
43893
|
init_odosswapparams();
|
|
43802
43894
|
init_odosswaprequest();
|
|
43895
|
+
init_odostransactionresponse();
|
|
43803
43896
|
init_openposition();
|
|
43804
43897
|
init_pendlegetmarketresponse();
|
|
43805
43898
|
init_pendlelistmarketsresponse();
|
|
@@ -52750,7 +52843,7 @@ async function $do54(client, request, options) {
|
|
|
52750
52843
|
const responseFields = {
|
|
52751
52844
|
HttpMeta: { Response: response, Request: req }
|
|
52752
52845
|
};
|
|
52753
|
-
const [result] = await match(json(200,
|
|
52846
|
+
const [result] = await match(json(200, OdosTransactionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
52754
52847
|
if (!result.ok) {
|
|
52755
52848
|
return [result, { status: "complete", request: req, response }];
|
|
52756
52849
|
}
|
|
@@ -53569,11 +53662,115 @@ prevent replay attacks.`,
|
|
|
53569
53662
|
};
|
|
53570
53663
|
});
|
|
53571
53664
|
|
|
53572
|
-
// src/funcs/
|
|
53573
|
-
function
|
|
53665
|
+
// src/funcs/transactionBundlerTransactionBundlerMetamaskExecute.ts
|
|
53666
|
+
function transactionBundlerTransactionBundlerMetamaskExecute(client, request, options) {
|
|
53574
53667
|
return new APIPromise($do62(client, request, options));
|
|
53575
53668
|
}
|
|
53576
53669
|
async function $do62(client, request, options) {
|
|
53670
|
+
const parsed = safeParse(request, (value) => MetamaskDelegatorRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53671
|
+
if (!parsed.ok) {
|
|
53672
|
+
return [parsed, { status: "invalid" }];
|
|
53673
|
+
}
|
|
53674
|
+
const payload = parsed.value;
|
|
53675
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
53676
|
+
const path = pathToFunc("/v1/transaction_bundler/metamask/execute")();
|
|
53677
|
+
const headers = new Headers(compactMap({
|
|
53678
|
+
"Content-Type": "application/json",
|
|
53679
|
+
Accept: "application/json"
|
|
53680
|
+
}));
|
|
53681
|
+
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
53682
|
+
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
53683
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
53684
|
+
const context = {
|
|
53685
|
+
options: client._options,
|
|
53686
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
53687
|
+
operationID: "v1_transaction_bundler_metamask_execute",
|
|
53688
|
+
oAuth2Scopes: [],
|
|
53689
|
+
resolvedSecurity: requestSecurity,
|
|
53690
|
+
securitySource: client._options.apiKeyAuth,
|
|
53691
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
53692
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
53693
|
+
};
|
|
53694
|
+
const requestRes = client._createRequest(context, {
|
|
53695
|
+
security: requestSecurity,
|
|
53696
|
+
method: "POST",
|
|
53697
|
+
baseURL: options?.serverURL,
|
|
53698
|
+
path,
|
|
53699
|
+
headers,
|
|
53700
|
+
body,
|
|
53701
|
+
userAgent: client._options.userAgent,
|
|
53702
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
53703
|
+
}, options);
|
|
53704
|
+
if (!requestRes.ok) {
|
|
53705
|
+
return [requestRes, { status: "invalid" }];
|
|
53706
|
+
}
|
|
53707
|
+
const req = requestRes.value;
|
|
53708
|
+
const doResult = await client._do(req, {
|
|
53709
|
+
context,
|
|
53710
|
+
errorCodes: ["422", "4XX", "5XX"],
|
|
53711
|
+
retryConfig: context.retryConfig,
|
|
53712
|
+
retryCodes: context.retryCodes
|
|
53713
|
+
});
|
|
53714
|
+
if (!doResult.ok) {
|
|
53715
|
+
return [doResult, { status: "request-error", request: req }];
|
|
53716
|
+
}
|
|
53717
|
+
const response = doResult.value;
|
|
53718
|
+
const responseFields = {
|
|
53719
|
+
HttpMeta: { Response: response, Request: req }
|
|
53720
|
+
};
|
|
53721
|
+
const [result] = await match(json(200, BundlerTransactionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
53722
|
+
if (!result.ok) {
|
|
53723
|
+
return [result, { status: "complete", request: req, response }];
|
|
53724
|
+
}
|
|
53725
|
+
return [result, { status: "complete", request: req, response }];
|
|
53726
|
+
}
|
|
53727
|
+
var init_transactionBundlerTransactionBundlerMetamaskExecute = __esm(() => {
|
|
53728
|
+
init_encodings();
|
|
53729
|
+
init_matchers();
|
|
53730
|
+
init_primitives();
|
|
53731
|
+
init_schemas();
|
|
53732
|
+
init_security();
|
|
53733
|
+
init_url();
|
|
53734
|
+
init_components();
|
|
53735
|
+
init_errors2();
|
|
53736
|
+
init_async();
|
|
53737
|
+
});
|
|
53738
|
+
|
|
53739
|
+
// src/mcp-server/tools/transactionBundlerTransactionBundlerMetamaskExecute.ts
|
|
53740
|
+
var args62, tool$transactionBundlerTransactionBundlerMetamaskExecute;
|
|
53741
|
+
var init_transactionBundlerTransactionBundlerMetamaskExecute2 = __esm(() => {
|
|
53742
|
+
init_transactionBundlerTransactionBundlerMetamaskExecute();
|
|
53743
|
+
init_components();
|
|
53744
|
+
init_tools();
|
|
53745
|
+
args62 = {
|
|
53746
|
+
request: MetamaskDelegatorRequest$inboundSchema
|
|
53747
|
+
};
|
|
53748
|
+
tool$transactionBundlerTransactionBundlerMetamaskExecute = {
|
|
53749
|
+
name: "transaction-bundler-transaction-bundler-metamask-execute",
|
|
53750
|
+
description: `Construct Bundled Transaction
|
|
53751
|
+
|
|
53752
|
+
Bundle arbitrary transactions together into a single metamask delegator
|
|
53753
|
+
transaction.`,
|
|
53754
|
+
args: args62,
|
|
53755
|
+
tool: async (client, args63, ctx) => {
|
|
53756
|
+
const [result, apiCall] = await transactionBundlerTransactionBundlerMetamaskExecute(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53757
|
+
if (!result.ok) {
|
|
53758
|
+
return {
|
|
53759
|
+
content: [{ type: "text", text: result.error.message }],
|
|
53760
|
+
isError: true
|
|
53761
|
+
};
|
|
53762
|
+
}
|
|
53763
|
+
const value = result.value;
|
|
53764
|
+
return formatResult(value, apiCall);
|
|
53765
|
+
}
|
|
53766
|
+
};
|
|
53767
|
+
});
|
|
53768
|
+
|
|
53769
|
+
// src/funcs/uniswapV3UniswapLiquidityProvisionIncrease.ts
|
|
53770
|
+
function uniswapV3UniswapLiquidityProvisionIncrease(client, request, options) {
|
|
53771
|
+
return new APIPromise($do63(client, request, options));
|
|
53772
|
+
}
|
|
53773
|
+
async function $do63(client, request, options) {
|
|
53577
53774
|
const parsed = safeParse(request, (value) => UniswapIncreaseLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53578
53775
|
if (!parsed.ok) {
|
|
53579
53776
|
return [parsed, { status: "invalid" }];
|
|
@@ -53644,12 +53841,12 @@ var init_uniswapV3UniswapLiquidityProvisionIncrease = __esm(() => {
|
|
|
53644
53841
|
});
|
|
53645
53842
|
|
|
53646
53843
|
// src/mcp-server/tools/uniswapV3UniswapLiquidityProvisionIncrease.ts
|
|
53647
|
-
var
|
|
53844
|
+
var args63, tool$uniswapV3UniswapLiquidityProvisionIncrease;
|
|
53648
53845
|
var init_uniswapV3UniswapLiquidityProvisionIncrease2 = __esm(() => {
|
|
53649
53846
|
init_uniswapV3UniswapLiquidityProvisionIncrease();
|
|
53650
53847
|
init_components();
|
|
53651
53848
|
init_tools();
|
|
53652
|
-
|
|
53849
|
+
args63 = {
|
|
53653
53850
|
request: UniswapIncreaseLiquidityProvisionRequest$inboundSchema
|
|
53654
53851
|
};
|
|
53655
53852
|
tool$uniswapV3UniswapLiquidityProvisionIncrease = {
|
|
@@ -53673,9 +53870,9 @@ process.
|
|
|
53673
53870
|
- \`AerodromeSlipstreamRouter\`
|
|
53674
53871
|
</Info>
|
|
53675
53872
|
`,
|
|
53676
|
-
args:
|
|
53677
|
-
tool: async (client,
|
|
53678
|
-
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionIncrease(client,
|
|
53873
|
+
args: args63,
|
|
53874
|
+
tool: async (client, args64, ctx) => {
|
|
53875
|
+
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionIncrease(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53679
53876
|
if (!result.ok) {
|
|
53680
53877
|
return {
|
|
53681
53878
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53690,9 +53887,9 @@ process.
|
|
|
53690
53887
|
|
|
53691
53888
|
// src/funcs/uniswapV3UniswapLiquidityProvisionInRange.ts
|
|
53692
53889
|
function uniswapV3UniswapLiquidityProvisionInRange(client, request, options) {
|
|
53693
|
-
return new APIPromise($
|
|
53890
|
+
return new APIPromise($do64(client, request, options));
|
|
53694
53891
|
}
|
|
53695
|
-
async function $
|
|
53892
|
+
async function $do64(client, request, options) {
|
|
53696
53893
|
const parsed = safeParse(request, (value) => V1UniswapLiquidityProvisionInRangeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53697
53894
|
if (!parsed.ok) {
|
|
53698
53895
|
return [parsed, { status: "invalid" }];
|
|
@@ -53768,12 +53965,12 @@ var init_uniswapV3UniswapLiquidityProvisionInRange = __esm(() => {
|
|
|
53768
53965
|
});
|
|
53769
53966
|
|
|
53770
53967
|
// src/mcp-server/tools/uniswapV3UniswapLiquidityProvisionInRange.ts
|
|
53771
|
-
var
|
|
53968
|
+
var args64, tool$uniswapV3UniswapLiquidityProvisionInRange;
|
|
53772
53969
|
var init_uniswapV3UniswapLiquidityProvisionInRange2 = __esm(() => {
|
|
53773
53970
|
init_uniswapV3UniswapLiquidityProvisionInRange();
|
|
53774
53971
|
init_operations();
|
|
53775
53972
|
init_tools();
|
|
53776
|
-
|
|
53973
|
+
args64 = {
|
|
53777
53974
|
request: V1UniswapLiquidityProvisionInRangeRequest$inboundSchema
|
|
53778
53975
|
};
|
|
53779
53976
|
tool$uniswapV3UniswapLiquidityProvisionInRange = {
|
|
@@ -53788,9 +53985,9 @@ position is currently within the tick range where trading occurs. this informati
|
|
|
53788
53985
|
is essential for users to monitor the status of their lp positions and ensure that
|
|
53789
53986
|
they are actively participating in the trading activities within the liquidity pool
|
|
53790
53987
|
and earning trading fees.`,
|
|
53791
|
-
args:
|
|
53792
|
-
tool: async (client,
|
|
53793
|
-
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionInRange(client,
|
|
53988
|
+
args: args64,
|
|
53989
|
+
tool: async (client, args65, ctx) => {
|
|
53990
|
+
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionInRange(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53794
53991
|
if (!result.ok) {
|
|
53795
53992
|
return {
|
|
53796
53993
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53805,9 +54002,9 @@ and earning trading fees.`,
|
|
|
53805
54002
|
|
|
53806
54003
|
// src/funcs/uniswapV3UniswapLiquidityProvisionMint.ts
|
|
53807
54004
|
function uniswapV3UniswapLiquidityProvisionMint(client, request, options) {
|
|
53808
|
-
return new APIPromise($
|
|
54005
|
+
return new APIPromise($do65(client, request, options));
|
|
53809
54006
|
}
|
|
53810
|
-
async function $
|
|
54007
|
+
async function $do65(client, request, options) {
|
|
53811
54008
|
const parsed = safeParse(request, (value) => UniswapMintLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53812
54009
|
if (!parsed.ok) {
|
|
53813
54010
|
return [parsed, { status: "invalid" }];
|
|
@@ -53878,12 +54075,12 @@ var init_uniswapV3UniswapLiquidityProvisionMint = __esm(() => {
|
|
|
53878
54075
|
});
|
|
53879
54076
|
|
|
53880
54077
|
// src/mcp-server/tools/uniswapV3UniswapLiquidityProvisionMint.ts
|
|
53881
|
-
var
|
|
54078
|
+
var args65, tool$uniswapV3UniswapLiquidityProvisionMint;
|
|
53882
54079
|
var init_uniswapV3UniswapLiquidityProvisionMint2 = __esm(() => {
|
|
53883
54080
|
init_uniswapV3UniswapLiquidityProvisionMint();
|
|
53884
54081
|
init_components();
|
|
53885
54082
|
init_tools();
|
|
53886
|
-
|
|
54083
|
+
args65 = {
|
|
53887
54084
|
request: UniswapMintLiquidityProvisionRequest$inboundSchema
|
|
53888
54085
|
};
|
|
53889
54086
|
tool$uniswapV3UniswapLiquidityProvisionMint = {
|
|
@@ -53907,9 +54104,9 @@ needed for the minting process.
|
|
|
53907
54104
|
- \`UniswapV3NFTPositionManager\`
|
|
53908
54105
|
</Info>
|
|
53909
54106
|
`,
|
|
53910
|
-
args:
|
|
53911
|
-
tool: async (client,
|
|
53912
|
-
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionMint(client,
|
|
54107
|
+
args: args65,
|
|
54108
|
+
tool: async (client, args66, ctx) => {
|
|
54109
|
+
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionMint(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53913
54110
|
if (!result.ok) {
|
|
53914
54111
|
return {
|
|
53915
54112
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53924,9 +54121,9 @@ needed for the minting process.
|
|
|
53924
54121
|
|
|
53925
54122
|
// src/funcs/uniswapV3UniswapLiquidityProvisionPositions.ts
|
|
53926
54123
|
function uniswapV3UniswapLiquidityProvisionPositions(client, request, options) {
|
|
53927
|
-
return new APIPromise($
|
|
54124
|
+
return new APIPromise($do66(client, request, options));
|
|
53928
54125
|
}
|
|
53929
|
-
async function $
|
|
54126
|
+
async function $do66(client, request, options) {
|
|
53930
54127
|
const parsed = safeParse(request, (value) => V1UniswapLiquidityProvisionPositionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53931
54128
|
if (!parsed.ok) {
|
|
53932
54129
|
return [parsed, { status: "invalid" }];
|
|
@@ -54002,12 +54199,12 @@ var init_uniswapV3UniswapLiquidityProvisionPositions = __esm(() => {
|
|
|
54002
54199
|
});
|
|
54003
54200
|
|
|
54004
54201
|
// src/mcp-server/tools/uniswapV3UniswapLiquidityProvisionPositions.ts
|
|
54005
|
-
var
|
|
54202
|
+
var args66, tool$uniswapV3UniswapLiquidityProvisionPositions;
|
|
54006
54203
|
var init_uniswapV3UniswapLiquidityProvisionPositions2 = __esm(() => {
|
|
54007
54204
|
init_uniswapV3UniswapLiquidityProvisionPositions();
|
|
54008
54205
|
init_operations();
|
|
54009
54206
|
init_tools();
|
|
54010
|
-
|
|
54207
|
+
args66 = {
|
|
54011
54208
|
request: V1UniswapLiquidityProvisionPositionsRequest$inboundSchema
|
|
54012
54209
|
};
|
|
54013
54210
|
tool$uniswapV3UniswapLiquidityProvisionPositions = {
|
|
@@ -54021,9 +54218,9 @@ Users can query this endpoint to obtain detailed information about their LP
|
|
|
54021
54218
|
positions, including the total number of positions and relevant metadata. This
|
|
54022
54219
|
information is crucial for users to manage and analyze their liquidity provision
|
|
54023
54220
|
activities effectively.`,
|
|
54024
|
-
args:
|
|
54025
|
-
tool: async (client,
|
|
54026
|
-
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionPositions(client,
|
|
54221
|
+
args: args66,
|
|
54222
|
+
tool: async (client, args67, ctx) => {
|
|
54223
|
+
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionPositions(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54027
54224
|
if (!result.ok) {
|
|
54028
54225
|
return {
|
|
54029
54226
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54038,9 +54235,9 @@ activities effectively.`,
|
|
|
54038
54235
|
|
|
54039
54236
|
// src/funcs/uniswapV3UniswapLiquidityProvisionWithdraw.ts
|
|
54040
54237
|
function uniswapV3UniswapLiquidityProvisionWithdraw(client, request, options) {
|
|
54041
|
-
return new APIPromise($
|
|
54238
|
+
return new APIPromise($do67(client, request, options));
|
|
54042
54239
|
}
|
|
54043
|
-
async function $
|
|
54240
|
+
async function $do67(client, request, options) {
|
|
54044
54241
|
const parsed = safeParse(request, (value) => UniswapWithdrawLiquidityProvisionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54045
54242
|
if (!parsed.ok) {
|
|
54046
54243
|
return [parsed, { status: "invalid" }];
|
|
@@ -54111,12 +54308,12 @@ var init_uniswapV3UniswapLiquidityProvisionWithdraw = __esm(() => {
|
|
|
54111
54308
|
});
|
|
54112
54309
|
|
|
54113
54310
|
// src/mcp-server/tools/uniswapV3UniswapLiquidityProvisionWithdraw.ts
|
|
54114
|
-
var
|
|
54311
|
+
var args67, tool$uniswapV3UniswapLiquidityProvisionWithdraw;
|
|
54115
54312
|
var init_uniswapV3UniswapLiquidityProvisionWithdraw2 = __esm(() => {
|
|
54116
54313
|
init_uniswapV3UniswapLiquidityProvisionWithdraw();
|
|
54117
54314
|
init_components();
|
|
54118
54315
|
init_tools();
|
|
54119
|
-
|
|
54316
|
+
args67 = {
|
|
54120
54317
|
request: UniswapWithdrawLiquidityProvisionRequest$inboundSchema
|
|
54121
54318
|
};
|
|
54122
54319
|
tool$uniswapV3UniswapLiquidityProvisionWithdraw = {
|
|
@@ -54141,9 +54338,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
54141
54338
|
- \`UniswapV3NFTPositionManager\`
|
|
54142
54339
|
</Info>
|
|
54143
54340
|
`,
|
|
54144
|
-
args:
|
|
54145
|
-
tool: async (client,
|
|
54146
|
-
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionWithdraw(client,
|
|
54341
|
+
args: args67,
|
|
54342
|
+
tool: async (client, args68, ctx) => {
|
|
54343
|
+
const [result, apiCall] = await uniswapV3UniswapLiquidityProvisionWithdraw(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54147
54344
|
if (!result.ok) {
|
|
54148
54345
|
return {
|
|
54149
54346
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54158,9 +54355,9 @@ before initiating a withdrawal to avoid potential issues or penalties.
|
|
|
54158
54355
|
|
|
54159
54356
|
// src/funcs/uniswapV3UniswapPoolPrice.ts
|
|
54160
54357
|
function uniswapV3UniswapPoolPrice(client, request, options) {
|
|
54161
|
-
return new APIPromise($
|
|
54358
|
+
return new APIPromise($do68(client, request, options));
|
|
54162
54359
|
}
|
|
54163
|
-
async function $
|
|
54360
|
+
async function $do68(client, request, options) {
|
|
54164
54361
|
const parsed = safeParse(request, (value) => V1UniswapPoolPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54165
54362
|
if (!parsed.ok) {
|
|
54166
54363
|
return [parsed, { status: "invalid" }];
|
|
@@ -54238,12 +54435,12 @@ var init_uniswapV3UniswapPoolPrice = __esm(() => {
|
|
|
54238
54435
|
});
|
|
54239
54436
|
|
|
54240
54437
|
// src/mcp-server/tools/uniswapV3UniswapPoolPrice.ts
|
|
54241
|
-
var
|
|
54438
|
+
var args68, tool$uniswapV3UniswapPoolPrice;
|
|
54242
54439
|
var init_uniswapV3UniswapPoolPrice2 = __esm(() => {
|
|
54243
54440
|
init_uniswapV3UniswapPoolPrice();
|
|
54244
54441
|
init_operations();
|
|
54245
54442
|
init_tools();
|
|
54246
|
-
|
|
54443
|
+
args68 = {
|
|
54247
54444
|
request: V1UniswapPoolPriceRequest$inboundSchema
|
|
54248
54445
|
};
|
|
54249
54446
|
tool$uniswapV3UniswapPoolPrice = {
|
|
@@ -54253,9 +54450,9 @@ var init_uniswapV3UniswapPoolPrice2 = __esm(() => {
|
|
|
54253
54450
|
This endpoint calculates the price of a token in a Uniswap pool.
|
|
54254
54451
|
|
|
54255
54452
|
The price is calculated based on the current pool state and the specified fee tier.`,
|
|
54256
|
-
args:
|
|
54257
|
-
tool: async (client,
|
|
54258
|
-
const [result, apiCall] = await uniswapV3UniswapPoolPrice(client,
|
|
54453
|
+
args: args68,
|
|
54454
|
+
tool: async (client, args69, ctx) => {
|
|
54455
|
+
const [result, apiCall] = await uniswapV3UniswapPoolPrice(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54259
54456
|
if (!result.ok) {
|
|
54260
54457
|
return {
|
|
54261
54458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54270,9 +54467,9 @@ The price is calculated based on the current pool state and the specified fee ti
|
|
|
54270
54467
|
|
|
54271
54468
|
// src/funcs/uniswapV3UniswapQuoteBuyExactly.ts
|
|
54272
54469
|
function uniswapV3UniswapQuoteBuyExactly(client, request, options) {
|
|
54273
|
-
return new APIPromise($
|
|
54470
|
+
return new APIPromise($do69(client, request, options));
|
|
54274
54471
|
}
|
|
54275
|
-
async function $
|
|
54472
|
+
async function $do69(client, request, options) {
|
|
54276
54473
|
const parsed = safeParse(request, (value) => V1UniswapQuoteBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54277
54474
|
if (!parsed.ok) {
|
|
54278
54475
|
return [parsed, { status: "invalid" }];
|
|
@@ -54351,12 +54548,12 @@ var init_uniswapV3UniswapQuoteBuyExactly = __esm(() => {
|
|
|
54351
54548
|
});
|
|
54352
54549
|
|
|
54353
54550
|
// src/mcp-server/tools/uniswapV3UniswapQuoteBuyExactly.ts
|
|
54354
|
-
var
|
|
54551
|
+
var args69, tool$uniswapV3UniswapQuoteBuyExactly;
|
|
54355
54552
|
var init_uniswapV3UniswapQuoteBuyExactly2 = __esm(() => {
|
|
54356
54553
|
init_uniswapV3UniswapQuoteBuyExactly();
|
|
54357
54554
|
init_operations();
|
|
54358
54555
|
init_tools();
|
|
54359
|
-
|
|
54556
|
+
args69 = {
|
|
54360
54557
|
request: V1UniswapQuoteBuyExactlyRequest$inboundSchema
|
|
54361
54558
|
};
|
|
54362
54559
|
tool$uniswapV3UniswapQuoteBuyExactly = {
|
|
@@ -54368,9 +54565,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
54368
54565
|
|
|
54369
54566
|
It also provides the resulting price after the transaction. The calculation takes
|
|
54370
54567
|
into account the current pool state and the specified fee tier.`,
|
|
54371
|
-
args:
|
|
54372
|
-
tool: async (client,
|
|
54373
|
-
const [result, apiCall] = await uniswapV3UniswapQuoteBuyExactly(client,
|
|
54568
|
+
args: args69,
|
|
54569
|
+
tool: async (client, args70, ctx) => {
|
|
54570
|
+
const [result, apiCall] = await uniswapV3UniswapQuoteBuyExactly(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54374
54571
|
if (!result.ok) {
|
|
54375
54572
|
return {
|
|
54376
54573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54385,9 +54582,9 @@ into account the current pool state and the specified fee tier.`,
|
|
|
54385
54582
|
|
|
54386
54583
|
// src/funcs/uniswapV3UniswapQuoteSellExactly.ts
|
|
54387
54584
|
function uniswapV3UniswapQuoteSellExactly(client, request, options) {
|
|
54388
|
-
return new APIPromise($
|
|
54585
|
+
return new APIPromise($do70(client, request, options));
|
|
54389
54586
|
}
|
|
54390
|
-
async function $
|
|
54587
|
+
async function $do70(client, request, options) {
|
|
54391
54588
|
const parsed = safeParse(request, (value) => V1UniswapQuoteSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54392
54589
|
if (!parsed.ok) {
|
|
54393
54590
|
return [parsed, { status: "invalid" }];
|
|
@@ -54466,12 +54663,12 @@ var init_uniswapV3UniswapQuoteSellExactly = __esm(() => {
|
|
|
54466
54663
|
});
|
|
54467
54664
|
|
|
54468
54665
|
// src/mcp-server/tools/uniswapV3UniswapQuoteSellExactly.ts
|
|
54469
|
-
var
|
|
54666
|
+
var args70, tool$uniswapV3UniswapQuoteSellExactly;
|
|
54470
54667
|
var init_uniswapV3UniswapQuoteSellExactly2 = __esm(() => {
|
|
54471
54668
|
init_uniswapV3UniswapQuoteSellExactly();
|
|
54472
54669
|
init_operations();
|
|
54473
54670
|
init_tools();
|
|
54474
|
-
|
|
54671
|
+
args70 = {
|
|
54475
54672
|
request: V1UniswapQuoteSellExactlyRequest$inboundSchema
|
|
54476
54673
|
};
|
|
54477
54674
|
tool$uniswapV3UniswapQuoteSellExactly = {
|
|
@@ -54483,9 +54680,9 @@ specified amount of output tokens from a Uniswap pool.
|
|
|
54483
54680
|
|
|
54484
54681
|
It also provides the resulting price after the transaction. The calculation takes
|
|
54485
54682
|
into account the current pool state and the specified fee tier.`,
|
|
54486
|
-
args:
|
|
54487
|
-
tool: async (client,
|
|
54488
|
-
const [result, apiCall] = await uniswapV3UniswapQuoteSellExactly(client,
|
|
54683
|
+
args: args70,
|
|
54684
|
+
tool: async (client, args71, ctx) => {
|
|
54685
|
+
const [result, apiCall] = await uniswapV3UniswapQuoteSellExactly(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54489
54686
|
if (!result.ok) {
|
|
54490
54687
|
return {
|
|
54491
54688
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54500,9 +54697,9 @@ into account the current pool state and the specified fee tier.`,
|
|
|
54500
54697
|
|
|
54501
54698
|
// src/funcs/uniswapV3UniswapSwapBuyExactly.ts
|
|
54502
54699
|
function uniswapV3UniswapSwapBuyExactly(client, request, options) {
|
|
54503
|
-
return new APIPromise($
|
|
54700
|
+
return new APIPromise($do71(client, request, options));
|
|
54504
54701
|
}
|
|
54505
|
-
async function $
|
|
54702
|
+
async function $do71(client, request, options) {
|
|
54506
54703
|
const parsed = safeParse(request, (value) => UniswapBuyExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54507
54704
|
if (!parsed.ok) {
|
|
54508
54705
|
return [parsed, { status: "invalid" }];
|
|
@@ -54573,12 +54770,12 @@ var init_uniswapV3UniswapSwapBuyExactly = __esm(() => {
|
|
|
54573
54770
|
});
|
|
54574
54771
|
|
|
54575
54772
|
// src/mcp-server/tools/uniswapV3UniswapSwapBuyExactly.ts
|
|
54576
|
-
var
|
|
54773
|
+
var args71, tool$uniswapV3UniswapSwapBuyExactly;
|
|
54577
54774
|
var init_uniswapV3UniswapSwapBuyExactly2 = __esm(() => {
|
|
54578
54775
|
init_uniswapV3UniswapSwapBuyExactly();
|
|
54579
54776
|
init_components();
|
|
54580
54777
|
init_tools();
|
|
54581
|
-
|
|
54778
|
+
args71 = {
|
|
54582
54779
|
request: UniswapBuyExactlyRequest$inboundSchema
|
|
54583
54780
|
};
|
|
54584
54781
|
tool$uniswapV3UniswapSwapBuyExactly = {
|
|
@@ -54600,9 +54797,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54600
54797
|
- \`UniswapV3Router\`
|
|
54601
54798
|
</Info>
|
|
54602
54799
|
`,
|
|
54603
|
-
args:
|
|
54604
|
-
tool: async (client,
|
|
54605
|
-
const [result, apiCall] = await uniswapV3UniswapSwapBuyExactly(client,
|
|
54800
|
+
args: args71,
|
|
54801
|
+
tool: async (client, args72, ctx) => {
|
|
54802
|
+
const [result, apiCall] = await uniswapV3UniswapSwapBuyExactly(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54606
54803
|
if (!result.ok) {
|
|
54607
54804
|
return {
|
|
54608
54805
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54617,9 +54814,9 @@ needs to be wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54617
54814
|
|
|
54618
54815
|
// src/funcs/uniswapV3UniswapSwapSellExactly.ts
|
|
54619
54816
|
function uniswapV3UniswapSwapSellExactly(client, request, options) {
|
|
54620
|
-
return new APIPromise($
|
|
54817
|
+
return new APIPromise($do72(client, request, options));
|
|
54621
54818
|
}
|
|
54622
|
-
async function $
|
|
54819
|
+
async function $do72(client, request, options) {
|
|
54623
54820
|
const parsed = safeParse(request, (value) => UniswapSellExactlyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54624
54821
|
if (!parsed.ok) {
|
|
54625
54822
|
return [parsed, { status: "invalid" }];
|
|
@@ -54690,12 +54887,12 @@ var init_uniswapV3UniswapSwapSellExactly = __esm(() => {
|
|
|
54690
54887
|
});
|
|
54691
54888
|
|
|
54692
54889
|
// src/mcp-server/tools/uniswapV3UniswapSwapSellExactly.ts
|
|
54693
|
-
var
|
|
54890
|
+
var args72, tool$uniswapV3UniswapSwapSellExactly;
|
|
54694
54891
|
var init_uniswapV3UniswapSwapSellExactly2 = __esm(() => {
|
|
54695
54892
|
init_uniswapV3UniswapSwapSellExactly();
|
|
54696
54893
|
init_components();
|
|
54697
54894
|
init_tools();
|
|
54698
|
-
|
|
54895
|
+
args72 = {
|
|
54699
54896
|
request: UniswapSellExactlyRequest$inboundSchema
|
|
54700
54897
|
};
|
|
54701
54898
|
tool$uniswapV3UniswapSwapSellExactly = {
|
|
@@ -54717,9 +54914,9 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54717
54914
|
- \`UniswapV3Router\`
|
|
54718
54915
|
</Info>
|
|
54719
54916
|
`,
|
|
54720
|
-
args:
|
|
54721
|
-
tool: async (client,
|
|
54722
|
-
const [result, apiCall] = await uniswapV3UniswapSwapSellExactly(client,
|
|
54917
|
+
args: args72,
|
|
54918
|
+
tool: async (client, args73, ctx) => {
|
|
54919
|
+
const [result, apiCall] = await uniswapV3UniswapSwapSellExactly(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54723
54920
|
if (!result.ok) {
|
|
54724
54921
|
return {
|
|
54725
54922
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54734,9 +54931,9 @@ wrapped, the appropriate amount will be wrapped automatically.
|
|
|
54734
54931
|
|
|
54735
54932
|
// src/funcs/universalGenericAllowance.ts
|
|
54736
54933
|
function universalGenericAllowance(client, request, options) {
|
|
54737
|
-
return new APIPromise($
|
|
54934
|
+
return new APIPromise($do73(client, request, options));
|
|
54738
54935
|
}
|
|
54739
|
-
async function $
|
|
54936
|
+
async function $do73(client, request, options) {
|
|
54740
54937
|
const parsed = safeParse(request, (value) => V1GenericAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54741
54938
|
if (!parsed.ok) {
|
|
54742
54939
|
return [parsed, { status: "invalid" }];
|
|
@@ -54814,12 +55011,12 @@ var init_universalGenericAllowance = __esm(() => {
|
|
|
54814
55011
|
});
|
|
54815
55012
|
|
|
54816
55013
|
// src/mcp-server/tools/universalGenericAllowance.ts
|
|
54817
|
-
var
|
|
55014
|
+
var args73, tool$universalGenericAllowance;
|
|
54818
55015
|
var init_universalGenericAllowance2 = __esm(() => {
|
|
54819
55016
|
init_universalGenericAllowance();
|
|
54820
55017
|
init_operations();
|
|
54821
55018
|
init_tools();
|
|
54822
|
-
|
|
55019
|
+
args73 = {
|
|
54823
55020
|
request: V1GenericAllowanceRequest$inboundSchema
|
|
54824
55021
|
};
|
|
54825
55022
|
tool$universalGenericAllowance = {
|
|
@@ -54833,9 +55030,9 @@ tokens on their behalf.
|
|
|
54833
55030
|
This is a crucial step before engaging in any transactions or operations within
|
|
54834
55031
|
these protocols, ensuring that the protocol has the necessary permissions to manage
|
|
54835
55032
|
the user's tokens securely and efficiently.`,
|
|
54836
|
-
args:
|
|
54837
|
-
tool: async (client,
|
|
54838
|
-
const [result, apiCall] = await universalGenericAllowance(client,
|
|
55033
|
+
args: args73,
|
|
55034
|
+
tool: async (client, args74, ctx) => {
|
|
55035
|
+
const [result, apiCall] = await universalGenericAllowance(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54839
55036
|
if (!result.ok) {
|
|
54840
55037
|
return {
|
|
54841
55038
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54850,9 +55047,9 @@ the user's tokens securely and efficiently.`,
|
|
|
54850
55047
|
|
|
54851
55048
|
// src/funcs/universalGenericAllowanceSet.ts
|
|
54852
55049
|
function universalGenericAllowanceSet(client, request, options) {
|
|
54853
|
-
return new APIPromise($
|
|
55050
|
+
return new APIPromise($do74(client, request, options));
|
|
54854
55051
|
}
|
|
54855
|
-
async function $
|
|
55052
|
+
async function $do74(client, request, options) {
|
|
54856
55053
|
const parsed = safeParse(request, (value) => SetAllowanceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54857
55054
|
if (!parsed.ok) {
|
|
54858
55055
|
return [parsed, { status: "invalid" }];
|
|
@@ -54923,12 +55120,12 @@ var init_universalGenericAllowanceSet = __esm(() => {
|
|
|
54923
55120
|
});
|
|
54924
55121
|
|
|
54925
55122
|
// src/mcp-server/tools/universalGenericAllowanceSet.ts
|
|
54926
|
-
var
|
|
55123
|
+
var args74, tool$universalGenericAllowanceSet;
|
|
54927
55124
|
var init_universalGenericAllowanceSet2 = __esm(() => {
|
|
54928
55125
|
init_universalGenericAllowanceSet();
|
|
54929
55126
|
init_components();
|
|
54930
55127
|
init_tools();
|
|
54931
|
-
|
|
55128
|
+
args74 = {
|
|
54932
55129
|
request: SetAllowanceRequest$inboundSchema
|
|
54933
55130
|
};
|
|
54934
55131
|
tool$universalGenericAllowanceSet = {
|
|
@@ -54943,9 +55140,9 @@ authorize a protocol to spend a specified amount of tokens on behalf of the user
|
|
|
54943
55140
|
This operation is crucial for ensuring that the protocol can manage the user's
|
|
54944
55141
|
tokens securely and efficiently, enabling seamless transactions and operations
|
|
54945
55142
|
within the DeFi ecosystem.`,
|
|
54946
|
-
args:
|
|
54947
|
-
tool: async (client,
|
|
54948
|
-
const [result, apiCall] = await universalGenericAllowanceSet(client,
|
|
55143
|
+
args: args74,
|
|
55144
|
+
tool: async (client, args75, ctx) => {
|
|
55145
|
+
const [result, apiCall] = await universalGenericAllowanceSet(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
54949
55146
|
if (!result.ok) {
|
|
54950
55147
|
return {
|
|
54951
55148
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -54960,9 +55157,9 @@ within the DeFi ecosystem.`,
|
|
|
54960
55157
|
|
|
54961
55158
|
// src/funcs/universalGenericEns.ts
|
|
54962
55159
|
function universalGenericEns(client, request, options) {
|
|
54963
|
-
return new APIPromise($
|
|
55160
|
+
return new APIPromise($do75(client, request, options));
|
|
54964
55161
|
}
|
|
54965
|
-
async function $
|
|
55162
|
+
async function $do75(client, request, options) {
|
|
54966
55163
|
const parsed = safeParse(request, (value) => V1GenericEnsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
54967
55164
|
if (!parsed.ok) {
|
|
54968
55165
|
return [parsed, { status: "invalid" }];
|
|
@@ -55038,12 +55235,12 @@ var init_universalGenericEns = __esm(() => {
|
|
|
55038
55235
|
});
|
|
55039
55236
|
|
|
55040
55237
|
// src/mcp-server/tools/universalGenericEns.ts
|
|
55041
|
-
var
|
|
55238
|
+
var args75, tool$universalGenericEns;
|
|
55042
55239
|
var init_universalGenericEns2 = __esm(() => {
|
|
55043
55240
|
init_universalGenericEns();
|
|
55044
55241
|
init_operations();
|
|
55045
55242
|
init_tools();
|
|
55046
|
-
|
|
55243
|
+
args75 = {
|
|
55047
55244
|
request: V1GenericEnsRequest$inboundSchema
|
|
55048
55245
|
};
|
|
55049
55246
|
tool$universalGenericEns = {
|
|
@@ -55054,9 +55251,9 @@ An ENS name is a string ending in \`.eth\`.
|
|
|
55054
55251
|
|
|
55055
55252
|
E.g. \`vitalik.eth\`. This endpoint can be used to
|
|
55056
55253
|
query the actual ethereum wallet address behind the ENS name.`,
|
|
55057
|
-
args:
|
|
55058
|
-
tool: async (client,
|
|
55059
|
-
const [result, apiCall] = await universalGenericEns(client,
|
|
55254
|
+
args: args75,
|
|
55255
|
+
tool: async (client, args76, ctx) => {
|
|
55256
|
+
const [result, apiCall] = await universalGenericEns(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55060
55257
|
if (!result.ok) {
|
|
55061
55258
|
return {
|
|
55062
55259
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55071,9 +55268,9 @@ query the actual ethereum wallet address behind the ENS name.`,
|
|
|
55071
55268
|
|
|
55072
55269
|
// src/funcs/universalGenericPortfolio.ts
|
|
55073
55270
|
function universalGenericPortfolio(client, request, options) {
|
|
55074
|
-
return new APIPromise($
|
|
55271
|
+
return new APIPromise($do76(client, request, options));
|
|
55075
55272
|
}
|
|
55076
|
-
async function $
|
|
55273
|
+
async function $do76(client, request, options) {
|
|
55077
55274
|
const parsed = safeParse(request, (value) => V1GenericPortfolioRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55078
55275
|
if (!parsed.ok) {
|
|
55079
55276
|
return [parsed, { status: "invalid" }];
|
|
@@ -55149,12 +55346,12 @@ var init_universalGenericPortfolio = __esm(() => {
|
|
|
55149
55346
|
});
|
|
55150
55347
|
|
|
55151
55348
|
// src/mcp-server/tools/universalGenericPortfolio.ts
|
|
55152
|
-
var
|
|
55349
|
+
var args76, tool$universalGenericPortfolio;
|
|
55153
55350
|
var init_universalGenericPortfolio2 = __esm(() => {
|
|
55154
55351
|
init_universalGenericPortfolio();
|
|
55155
55352
|
init_operations();
|
|
55156
55353
|
init_tools();
|
|
55157
|
-
|
|
55354
|
+
args76 = {
|
|
55158
55355
|
request: V1GenericPortfolioRequest$inboundSchema
|
|
55159
55356
|
};
|
|
55160
55357
|
tool$universalGenericPortfolio = {
|
|
@@ -55165,9 +55362,9 @@ Fetch the detailed portfolio of a specific wallet address on a given blockchain.
|
|
|
55165
55362
|
|
|
55166
55363
|
This includes the total value of the portfolio in USD and a breakdown of token
|
|
55167
55364
|
balances, including their respective values and quantities.`,
|
|
55168
|
-
args:
|
|
55169
|
-
tool: async (client,
|
|
55170
|
-
const [result, apiCall] = await universalGenericPortfolio(client,
|
|
55365
|
+
args: args76,
|
|
55366
|
+
tool: async (client, args77, ctx) => {
|
|
55367
|
+
const [result, apiCall] = await universalGenericPortfolio(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55171
55368
|
if (!result.ok) {
|
|
55172
55369
|
return {
|
|
55173
55370
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55182,9 +55379,9 @@ balances, including their respective values and quantities.`,
|
|
|
55182
55379
|
|
|
55183
55380
|
// src/funcs/universalGenericSupportedChains.ts
|
|
55184
55381
|
function universalGenericSupportedChains(client, request, options) {
|
|
55185
|
-
return new APIPromise($
|
|
55382
|
+
return new APIPromise($do77(client, request, options));
|
|
55186
55383
|
}
|
|
55187
|
-
async function $
|
|
55384
|
+
async function $do77(client, request, options) {
|
|
55188
55385
|
const parsed = safeParse(request, (value) => V1GenericSupportedChainsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55189
55386
|
if (!parsed.ok) {
|
|
55190
55387
|
return [parsed, { status: "invalid" }];
|
|
@@ -55259,12 +55456,12 @@ var init_universalGenericSupportedChains = __esm(() => {
|
|
|
55259
55456
|
});
|
|
55260
55457
|
|
|
55261
55458
|
// src/mcp-server/tools/universalGenericSupportedChains.ts
|
|
55262
|
-
var
|
|
55459
|
+
var args77, tool$universalGenericSupportedChains;
|
|
55263
55460
|
var init_universalGenericSupportedChains2 = __esm(() => {
|
|
55264
55461
|
init_universalGenericSupportedChains();
|
|
55265
55462
|
init_operations();
|
|
55266
55463
|
init_tools();
|
|
55267
|
-
|
|
55464
|
+
args77 = {
|
|
55268
55465
|
request: V1GenericSupportedChainsRequest$inboundSchema
|
|
55269
55466
|
};
|
|
55270
55467
|
tool$universalGenericSupportedChains = {
|
|
@@ -55272,9 +55469,9 @@ var init_universalGenericSupportedChains2 = __esm(() => {
|
|
|
55272
55469
|
description: `List Supported Chains
|
|
55273
55470
|
|
|
55274
55471
|
Get the list of supported chains by the Compass API.`,
|
|
55275
|
-
args:
|
|
55276
|
-
tool: async (client,
|
|
55277
|
-
const [result, apiCall] = await universalGenericSupportedChains(client,
|
|
55472
|
+
args: args77,
|
|
55473
|
+
tool: async (client, args78, ctx) => {
|
|
55474
|
+
const [result, apiCall] = await universalGenericSupportedChains(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55278
55475
|
if (!result.ok) {
|
|
55279
55476
|
return {
|
|
55280
55477
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55289,9 +55486,9 @@ Get the list of supported chains by the Compass API.`,
|
|
|
55289
55486
|
|
|
55290
55487
|
// src/funcs/universalGenericSupportedTokens.ts
|
|
55291
55488
|
function universalGenericSupportedTokens(client, request, options) {
|
|
55292
|
-
return new APIPromise($
|
|
55489
|
+
return new APIPromise($do78(client, request, options));
|
|
55293
55490
|
}
|
|
55294
|
-
async function $
|
|
55491
|
+
async function $do78(client, request, options) {
|
|
55295
55492
|
const parsed = safeParse(request, (value) => V1GenericSupportedTokensRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55296
55493
|
if (!parsed.ok) {
|
|
55297
55494
|
return [parsed, { status: "invalid" }];
|
|
@@ -55366,12 +55563,12 @@ var init_universalGenericSupportedTokens = __esm(() => {
|
|
|
55366
55563
|
});
|
|
55367
55564
|
|
|
55368
55565
|
// src/mcp-server/tools/universalGenericSupportedTokens.ts
|
|
55369
|
-
var
|
|
55566
|
+
var args78, tool$universalGenericSupportedTokens;
|
|
55370
55567
|
var init_universalGenericSupportedTokens2 = __esm(() => {
|
|
55371
55568
|
init_universalGenericSupportedTokens();
|
|
55372
55569
|
init_operations();
|
|
55373
55570
|
init_tools();
|
|
55374
|
-
|
|
55571
|
+
args78 = {
|
|
55375
55572
|
request: V1GenericSupportedTokensRequest$inboundSchema
|
|
55376
55573
|
};
|
|
55377
55574
|
tool$universalGenericSupportedTokens = {
|
|
@@ -55379,9 +55576,9 @@ var init_universalGenericSupportedTokens2 = __esm(() => {
|
|
|
55379
55576
|
description: `List Supported Tokens
|
|
55380
55577
|
|
|
55381
55578
|
Get the list of supported tokens on a chain by the Compass API.`,
|
|
55382
|
-
args:
|
|
55383
|
-
tool: async (client,
|
|
55384
|
-
const [result, apiCall] = await universalGenericSupportedTokens(client,
|
|
55579
|
+
args: args78,
|
|
55580
|
+
tool: async (client, args79, ctx) => {
|
|
55581
|
+
const [result, apiCall] = await universalGenericSupportedTokens(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55385
55582
|
if (!result.ok) {
|
|
55386
55583
|
return {
|
|
55387
55584
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55396,9 +55593,9 @@ Get the list of supported tokens on a chain by the Compass API.`,
|
|
|
55396
55593
|
|
|
55397
55594
|
// src/funcs/universalGenericUnwrapWeth.ts
|
|
55398
55595
|
function universalGenericUnwrapWeth(client, request, options) {
|
|
55399
|
-
return new APIPromise($
|
|
55596
|
+
return new APIPromise($do79(client, request, options));
|
|
55400
55597
|
}
|
|
55401
|
-
async function $
|
|
55598
|
+
async function $do79(client, request, options) {
|
|
55402
55599
|
const parsed = safeParse(request, (value) => UnwrapWethRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55403
55600
|
if (!parsed.ok) {
|
|
55404
55601
|
return [parsed, { status: "invalid" }];
|
|
@@ -55469,12 +55666,12 @@ var init_universalGenericUnwrapWeth = __esm(() => {
|
|
|
55469
55666
|
});
|
|
55470
55667
|
|
|
55471
55668
|
// src/mcp-server/tools/universalGenericUnwrapWeth.ts
|
|
55472
|
-
var
|
|
55669
|
+
var args79, tool$universalGenericUnwrapWeth;
|
|
55473
55670
|
var init_universalGenericUnwrapWeth2 = __esm(() => {
|
|
55474
55671
|
init_universalGenericUnwrapWeth();
|
|
55475
55672
|
init_components();
|
|
55476
55673
|
init_tools();
|
|
55477
|
-
|
|
55674
|
+
args79 = {
|
|
55478
55675
|
request: UnwrapWethRequest$inboundSchema
|
|
55479
55676
|
};
|
|
55480
55677
|
tool$universalGenericUnwrapWeth = {
|
|
@@ -55483,9 +55680,9 @@ var init_universalGenericUnwrapWeth2 = __esm(() => {
|
|
|
55483
55680
|
|
|
55484
55681
|
Unwrapping WETH converts the ERC-20 compliant form of ETH back to native ETH that
|
|
55485
55682
|
can be used for gas and other native purposes.`,
|
|
55486
|
-
args:
|
|
55487
|
-
tool: async (client,
|
|
55488
|
-
const [result, apiCall] = await universalGenericUnwrapWeth(client,
|
|
55683
|
+
args: args79,
|
|
55684
|
+
tool: async (client, args80, ctx) => {
|
|
55685
|
+
const [result, apiCall] = await universalGenericUnwrapWeth(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55489
55686
|
if (!result.ok) {
|
|
55490
55687
|
return {
|
|
55491
55688
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55500,9 +55697,9 @@ can be used for gas and other native purposes.`,
|
|
|
55500
55697
|
|
|
55501
55698
|
// src/funcs/universalGenericWrapEth.ts
|
|
55502
55699
|
function universalGenericWrapEth(client, request, options) {
|
|
55503
|
-
return new APIPromise($
|
|
55700
|
+
return new APIPromise($do80(client, request, options));
|
|
55504
55701
|
}
|
|
55505
|
-
async function $
|
|
55702
|
+
async function $do80(client, request, options) {
|
|
55506
55703
|
const parsed = safeParse(request, (value) => WrapEthRequest$outboundSchema.parse(value), "Input validation failed");
|
|
55507
55704
|
if (!parsed.ok) {
|
|
55508
55705
|
return [parsed, { status: "invalid" }];
|
|
@@ -55573,12 +55770,12 @@ var init_universalGenericWrapEth = __esm(() => {
|
|
|
55573
55770
|
});
|
|
55574
55771
|
|
|
55575
55772
|
// src/mcp-server/tools/universalGenericWrapEth.ts
|
|
55576
|
-
var
|
|
55773
|
+
var args80, tool$universalGenericWrapEth;
|
|
55577
55774
|
var init_universalGenericWrapEth2 = __esm(() => {
|
|
55578
55775
|
init_universalGenericWrapEth();
|
|
55579
55776
|
init_components();
|
|
55580
55777
|
init_tools();
|
|
55581
|
-
|
|
55778
|
+
args80 = {
|
|
55582
55779
|
request: WrapEthRequest$inboundSchema
|
|
55583
55780
|
};
|
|
55584
55781
|
tool$universalGenericWrapEth = {
|
|
@@ -55587,9 +55784,9 @@ var init_universalGenericWrapEth2 = __esm(() => {
|
|
|
55587
55784
|
|
|
55588
55785
|
Wrapping ETH creates an ERC20 compliant form of ETH that is typically needed for
|
|
55589
55786
|
it to be traded on DeFi protocols.`,
|
|
55590
|
-
args:
|
|
55591
|
-
tool: async (client,
|
|
55592
|
-
const [result, apiCall] = await universalGenericWrapEth(client,
|
|
55787
|
+
args: args80,
|
|
55788
|
+
tool: async (client, args81, ctx) => {
|
|
55789
|
+
const [result, apiCall] = await universalGenericWrapEth(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
55593
55790
|
if (!result.ok) {
|
|
55594
55791
|
return {
|
|
55595
55792
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -55606,7 +55803,7 @@ it to be traded on DeFi protocols.`,
|
|
|
55606
55803
|
function createMCPServer(deps) {
|
|
55607
55804
|
const server = new McpServer({
|
|
55608
55805
|
name: "CompassApiSDK",
|
|
55609
|
-
version: "1.0.
|
|
55806
|
+
version: "1.0.12"
|
|
55610
55807
|
});
|
|
55611
55808
|
const client = new CompassApiSDKCore({
|
|
55612
55809
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -55691,6 +55888,7 @@ function createMCPServer(deps) {
|
|
|
55691
55888
|
tool(tool$transactionBundlerTransactionBundlerAuthorization);
|
|
55692
55889
|
tool(tool$transactionBundlerTransactionBundlerExecute);
|
|
55693
55890
|
tool(tool$transactionBundlerTransactionBundlerAaveLoop);
|
|
55891
|
+
tool(tool$transactionBundlerTransactionBundlerMetamaskExecute);
|
|
55694
55892
|
tool(tool$smartAccountSmartAccountBatchedUserOperations);
|
|
55695
55893
|
tool(tool$erc4626VaultsVaultsVault);
|
|
55696
55894
|
tool(tool$erc4626VaultsVaultsDeposit);
|
|
@@ -55767,6 +55965,7 @@ var init_server2 = __esm(() => {
|
|
|
55767
55965
|
init_transactionBundlerTransactionBundlerAaveLoop2();
|
|
55768
55966
|
init_transactionBundlerTransactionBundlerAuthorization2();
|
|
55769
55967
|
init_transactionBundlerTransactionBundlerExecute2();
|
|
55968
|
+
init_transactionBundlerTransactionBundlerMetamaskExecute2();
|
|
55770
55969
|
init_uniswapV3UniswapLiquidityProvisionIncrease2();
|
|
55771
55970
|
init_uniswapV3UniswapLiquidityProvisionInRange2();
|
|
55772
55971
|
init_uniswapV3UniswapLiquidityProvisionMint2();
|
|
@@ -56980,7 +57179,7 @@ var routes = ln({
|
|
|
56980
57179
|
var app = _e(routes, {
|
|
56981
57180
|
name: "mcp",
|
|
56982
57181
|
versionInfo: {
|
|
56983
|
-
currentVersion: "1.0.
|
|
57182
|
+
currentVersion: "1.0.12"
|
|
56984
57183
|
}
|
|
56985
57184
|
});
|
|
56986
57185
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -56988,5 +57187,5 @@ export {
|
|
|
56988
57187
|
app
|
|
56989
57188
|
};
|
|
56990
57189
|
|
|
56991
|
-
//# debugId=
|
|
57190
|
+
//# debugId=C494BDF8B11B717C64756E2164756E21
|
|
56992
57191
|
//# sourceMappingURL=mcp-server.js.map
|