@compass-labs/api-sdk 1.0.7 → 1.0.9
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 -2
- package/bin/mcp-server.js +85 -136
- package/bin/mcp-server.js.map +21 -21
- package/dist/commonjs/funcs/tokenTokenTransfer.d.ts +1 -1
- package/dist/commonjs/funcs/tokenTokenTransfer.js +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.d.ts +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.d.ts.map +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.js +1 -1
- package/dist/commonjs/funcs/transactionBundlerTransactionBundlerExecute.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/tokenTokenTransfer.js +1 -1
- package/dist/commonjs/models/components/bundlertransactionresponse.d.ts +30 -0
- package/dist/commonjs/models/components/bundlertransactionresponse.d.ts.map +1 -0
- package/dist/commonjs/models/components/bundlertransactionresponse.js +70 -0
- package/dist/commonjs/models/components/bundlertransactionresponse.js.map +1 -0
- package/dist/commonjs/models/components/ethenarequesttowithdrawtransactionresponse.d.ts +4 -5
- package/dist/commonjs/models/components/ethenarequesttowithdrawtransactionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/ethenarequesttowithdrawtransactionresponse.js +0 -5
- package/dist/commonjs/models/components/ethenarequesttowithdrawtransactionresponse.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +1 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -1
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/pendletxresponse.d.ts +4 -5
- package/dist/commonjs/models/components/pendletxresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/pendletxresponse.js +0 -5
- package/dist/commonjs/models/components/pendletxresponse.js.map +1 -1
- package/dist/commonjs/models/components/tokentransferparams.d.ts +31 -31
- package/dist/commonjs/models/components/tokentransferparams.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokentransferparams.js +28 -28
- package/dist/commonjs/models/components/tokentransferparams.js.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.d.ts +31 -31
- package/dist/commonjs/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/tokentransferrequest.js +28 -28
- package/dist/commonjs/models/components/tokentransferrequest.js.map +1 -1
- package/dist/commonjs/models/components/transactionresponse.d.ts +4 -5
- package/dist/commonjs/models/components/transactionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/transactionresponse.js +0 -5
- package/dist/commonjs/models/components/transactionresponse.js.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlytransactionresponse.d.ts +4 -5
- package/dist/commonjs/models/components/uniswapbuyexactlytransactionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapbuyexactlytransactionresponse.js +0 -5
- package/dist/commonjs/models/components/uniswapbuyexactlytransactionresponse.js.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlytransactionresponse.d.ts +4 -5
- package/dist/commonjs/models/components/uniswapsellexactlytransactionresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/uniswapsellexactlytransactionresponse.js +0 -5
- package/dist/commonjs/models/components/uniswapsellexactlytransactionresponse.js.map +1 -1
- package/dist/commonjs/models/components/useroperation.d.ts +0 -9
- package/dist/commonjs/models/components/useroperation.d.ts.map +1 -1
- package/dist/commonjs/models/components/useroperation.js +0 -5
- package/dist/commonjs/models/components/useroperation.js.map +1 -1
- package/dist/commonjs/models/operations/v1transactionbundleraaveloop.d.ts +2 -2
- package/dist/commonjs/models/operations/v1transactionbundleraaveloop.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v1transactionbundleraaveloop.js +2 -2
- package/dist/commonjs/models/operations/v1transactionbundleraaveloop.js.map +1 -1
- package/dist/commonjs/sdk/token.d.ts +1 -1
- package/dist/commonjs/sdk/token.js +1 -1
- package/dist/commonjs/sdk/transactionbundler.d.ts +1 -1
- package/dist/commonjs/sdk/transactionbundler.d.ts.map +1 -1
- package/dist/esm/funcs/tokenTokenTransfer.d.ts +1 -1
- package/dist/esm/funcs/tokenTokenTransfer.js +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.d.ts +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.d.ts.map +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.js +1 -1
- package/dist/esm/funcs/transactionBundlerTransactionBundlerExecute.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/tools/tokenTokenTransfer.js +1 -1
- package/dist/esm/models/components/bundlertransactionresponse.d.ts +30 -0
- package/dist/esm/models/components/bundlertransactionresponse.d.ts.map +1 -0
- package/dist/esm/models/components/bundlertransactionresponse.js +32 -0
- package/dist/esm/models/components/bundlertransactionresponse.js.map +1 -0
- package/dist/esm/models/components/ethenarequesttowithdrawtransactionresponse.d.ts +4 -5
- package/dist/esm/models/components/ethenarequesttowithdrawtransactionresponse.d.ts.map +1 -1
- package/dist/esm/models/components/ethenarequesttowithdrawtransactionresponse.js +0 -5
- package/dist/esm/models/components/ethenarequesttowithdrawtransactionresponse.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +1 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -1
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/pendletxresponse.d.ts +4 -5
- package/dist/esm/models/components/pendletxresponse.d.ts.map +1 -1
- package/dist/esm/models/components/pendletxresponse.js +0 -5
- package/dist/esm/models/components/pendletxresponse.js.map +1 -1
- package/dist/esm/models/components/tokentransferparams.d.ts +31 -31
- package/dist/esm/models/components/tokentransferparams.d.ts.map +1 -1
- package/dist/esm/models/components/tokentransferparams.js +25 -25
- package/dist/esm/models/components/tokentransferparams.js.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.d.ts +31 -31
- package/dist/esm/models/components/tokentransferrequest.d.ts.map +1 -1
- package/dist/esm/models/components/tokentransferrequest.js +25 -25
- package/dist/esm/models/components/tokentransferrequest.js.map +1 -1
- package/dist/esm/models/components/transactionresponse.d.ts +4 -5
- package/dist/esm/models/components/transactionresponse.d.ts.map +1 -1
- package/dist/esm/models/components/transactionresponse.js +0 -5
- package/dist/esm/models/components/transactionresponse.js.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlytransactionresponse.d.ts +4 -5
- package/dist/esm/models/components/uniswapbuyexactlytransactionresponse.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapbuyexactlytransactionresponse.js +0 -5
- package/dist/esm/models/components/uniswapbuyexactlytransactionresponse.js.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlytransactionresponse.d.ts +4 -5
- package/dist/esm/models/components/uniswapsellexactlytransactionresponse.d.ts.map +1 -1
- package/dist/esm/models/components/uniswapsellexactlytransactionresponse.js +0 -5
- package/dist/esm/models/components/uniswapsellexactlytransactionresponse.js.map +1 -1
- package/dist/esm/models/components/useroperation.d.ts +0 -9
- package/dist/esm/models/components/useroperation.d.ts.map +1 -1
- package/dist/esm/models/components/useroperation.js +0 -5
- package/dist/esm/models/components/useroperation.js.map +1 -1
- package/dist/esm/models/operations/v1transactionbundleraaveloop.d.ts +2 -2
- package/dist/esm/models/operations/v1transactionbundleraaveloop.d.ts.map +1 -1
- package/dist/esm/models/operations/v1transactionbundleraaveloop.js +2 -2
- package/dist/esm/models/operations/v1transactionbundleraaveloop.js.map +1 -1
- package/dist/esm/sdk/token.d.ts +1 -1
- package/dist/esm/sdk/token.js +1 -1
- package/dist/esm/sdk/transactionbundler.d.ts +1 -1
- package/dist/esm/sdk/transactionbundler.d.ts.map +1 -1
- package/docs/sdks/token/README.md +5 -5
- package/docs/sdks/transactionbundler/README.md +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/tokenTokenTransfer.ts +1 -1
- package/src/funcs/transactionBundlerTransactionBundlerExecute.ts +4 -4
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/tokenTokenTransfer.ts +1 -1
- package/src/models/components/bundlertransactionresponse.ts +72 -0
- package/src/models/components/ethenarequesttowithdrawtransactionresponse.ts +2 -20
- package/src/models/components/index.ts +1 -1
- package/src/models/components/pendletxresponse.ts +2 -20
- package/src/models/components/tokentransferparams.ts +59 -59
- package/src/models/components/tokentransferrequest.ts +59 -59
- package/src/models/components/transactionresponse.ts +2 -20
- package/src/models/components/uniswapbuyexactlytransactionresponse.ts +2 -20
- package/src/models/components/uniswapsellexactlytransactionresponse.ts +2 -20
- package/src/models/components/useroperation.ts +0 -34
- package/src/models/operations/v1transactionbundleraaveloop.ts +4 -4
- package/src/sdk/token.ts +1 -1
- package/src/sdk/transactionbundler.ts +1 -1
- package/dist/commonjs/models/components/tokentransfererc20params.d.ts +0 -77
- package/dist/commonjs/models/components/tokentransfererc20params.d.ts.map +0 -1
- package/dist/commonjs/models/components/tokentransfererc20params.js +0 -108
- package/dist/commonjs/models/components/tokentransfererc20params.js.map +0 -1
- package/dist/esm/models/components/tokentransfererc20params.d.ts +0 -77
- package/dist/esm/models/components/tokentransfererc20params.d.ts.map +0 -1
- package/dist/esm/models/components/tokentransfererc20params.js +0 -68
- package/dist/esm/models/components/tokentransfererc20params.js.map +0 -1
- package/src/models/components/tokentransfererc20params.ts +0 -168
package/README.md
CHANGED
|
@@ -301,7 +301,7 @@ run();
|
|
|
301
301
|
* [tokenAddress](docs/sdks/token/README.md#tokenaddress) - Token Address
|
|
302
302
|
* [tokenPrice](docs/sdks/token/README.md#tokenprice) - Token Price
|
|
303
303
|
* [tokenBalance](docs/sdks/token/README.md#tokenbalance) - Token Balance
|
|
304
|
-
* [tokenTransfer](docs/sdks/token/README.md#tokentransfer) - Transfer
|
|
304
|
+
* [tokenTransfer](docs/sdks/token/README.md#tokentransfer) - Transfer Tokens
|
|
305
305
|
|
|
306
306
|
### [transactionBundler](docs/sdks/transactionbundler/README.md)
|
|
307
307
|
|
|
@@ -408,7 +408,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
|
|
|
408
408
|
- [`tokenTokenAddress`](docs/sdks/token/README.md#tokenaddress) - Token Address
|
|
409
409
|
- [`tokenTokenBalance`](docs/sdks/token/README.md#tokenbalance) - Token Balance
|
|
410
410
|
- [`tokenTokenPrice`](docs/sdks/token/README.md#tokenprice) - Token Price
|
|
411
|
-
- [`tokenTokenTransfer`](docs/sdks/token/README.md#tokentransfer) - Transfer
|
|
411
|
+
- [`tokenTokenTransfer`](docs/sdks/token/README.md#tokentransfer) - Transfer Tokens
|
|
412
412
|
- [`transactionBundlerTransactionBundlerAaveLoop`](docs/sdks/transactionbundler/README.md#transactionbundleraaveloop) - AAVE Leverage Long/Short
|
|
413
413
|
- [`transactionBundlerTransactionBundlerAuthorization`](docs/sdks/transactionbundler/README.md#transactionbundlerauthorization) - Enable Transaction Bundling
|
|
414
414
|
- [`transactionBundlerTransactionBundlerExecute`](docs/sdks/transactionbundler/README.md#transactionbundlerexecute) - Construct Bundled Transaction
|
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.
|
|
34268
|
-
genVersion: "2.
|
|
34269
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
34267
|
+
sdkVersion: "1.0.9",
|
|
34268
|
+
genVersion: "2.680.0",
|
|
34269
|
+
userAgent: "speakeasy-sdk/typescript 1.0.9 2.680.0 0.0.1 @compass-labs/api-sdk"
|
|
34270
34270
|
};
|
|
34271
34271
|
});
|
|
34272
34272
|
|
|
@@ -38755,67 +38755,29 @@ var init_skywithdrawparams = __esm(() => {
|
|
|
38755
38755
|
})(SkyWithdrawParams$ ||= {});
|
|
38756
38756
|
});
|
|
38757
38757
|
|
|
38758
|
-
// src/models/components/tokentransfererc20params.ts
|
|
38759
|
-
var TokenTransferErc20ParamsAmount$inboundSchema, TokenTransferErc20ParamsAmount$outboundSchema, TokenTransferErc20ParamsAmount$, TokenTransferErc20Params$inboundSchema, TokenTransferErc20Params$outboundSchema, TokenTransferErc20Params$;
|
|
38760
|
-
var init_tokentransfererc20params = __esm(() => {
|
|
38761
|
-
init_zod();
|
|
38762
|
-
init_primitives();
|
|
38763
|
-
init_tokenenum();
|
|
38764
|
-
TokenTransferErc20ParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38765
|
-
TokenTransferErc20ParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38766
|
-
((TokenTransferErc20ParamsAmount$) => {
|
|
38767
|
-
TokenTransferErc20ParamsAmount$.inboundSchema = TokenTransferErc20ParamsAmount$inboundSchema;
|
|
38768
|
-
TokenTransferErc20ParamsAmount$.outboundSchema = TokenTransferErc20ParamsAmount$outboundSchema;
|
|
38769
|
-
})(TokenTransferErc20ParamsAmount$ ||= {});
|
|
38770
|
-
TokenTransferErc20Params$inboundSchema = objectType({
|
|
38771
|
-
action_type: literalType("TOKEN_TRANSFER_ERC20").default("TOKEN_TRANSFER_ERC20"),
|
|
38772
|
-
amount: unionType([numberType(), stringType()]),
|
|
38773
|
-
token: TokenEnum$inboundSchema,
|
|
38774
|
-
to: stringType()
|
|
38775
|
-
}).transform((v2) => {
|
|
38776
|
-
return remap(v2, {
|
|
38777
|
-
action_type: "actionType"
|
|
38778
|
-
});
|
|
38779
|
-
});
|
|
38780
|
-
TokenTransferErc20Params$outboundSchema = objectType({
|
|
38781
|
-
actionType: literalType("TOKEN_TRANSFER_ERC20").default("TOKEN_TRANSFER_ERC20"),
|
|
38782
|
-
amount: unionType([numberType(), stringType()]),
|
|
38783
|
-
token: TokenEnum$outboundSchema,
|
|
38784
|
-
to: stringType()
|
|
38785
|
-
}).transform((v2) => {
|
|
38786
|
-
return remap(v2, {
|
|
38787
|
-
actionType: "action_type"
|
|
38788
|
-
});
|
|
38789
|
-
});
|
|
38790
|
-
((TokenTransferErc20Params$) => {
|
|
38791
|
-
TokenTransferErc20Params$.inboundSchema = TokenTransferErc20Params$inboundSchema;
|
|
38792
|
-
TokenTransferErc20Params$.outboundSchema = TokenTransferErc20Params$outboundSchema;
|
|
38793
|
-
})(TokenTransferErc20Params$ ||= {});
|
|
38794
|
-
});
|
|
38795
|
-
|
|
38796
38758
|
// src/models/components/tokentransferparams.ts
|
|
38797
|
-
var
|
|
38759
|
+
var TokenTransferParamsToken$inboundSchema, TokenTransferParamsToken$outboundSchema, TokenTransferParamsToken$, TokenTransferParamsAmount$inboundSchema, TokenTransferParamsAmount$outboundSchema, TokenTransferParamsAmount$, TokenTransferParams$inboundSchema, TokenTransferParams$outboundSchema, TokenTransferParams$;
|
|
38798
38760
|
var init_tokentransferparams = __esm(() => {
|
|
38799
38761
|
init_zod();
|
|
38800
38762
|
init_primitives();
|
|
38801
38763
|
init_tokenenum();
|
|
38802
|
-
TokenTransferParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38803
|
-
TokenTransferParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38804
|
-
((TokenTransferParamsAmount$) => {
|
|
38805
|
-
TokenTransferParamsAmount$.inboundSchema = TokenTransferParamsAmount$inboundSchema;
|
|
38806
|
-
TokenTransferParamsAmount$.outboundSchema = TokenTransferParamsAmount$outboundSchema;
|
|
38807
|
-
})(TokenTransferParamsAmount$ ||= {});
|
|
38808
38764
|
TokenTransferParamsToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
38809
38765
|
TokenTransferParamsToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
38810
38766
|
((TokenTransferParamsToken$) => {
|
|
38811
38767
|
TokenTransferParamsToken$.inboundSchema = TokenTransferParamsToken$inboundSchema;
|
|
38812
38768
|
TokenTransferParamsToken$.outboundSchema = TokenTransferParamsToken$outboundSchema;
|
|
38813
38769
|
})(TokenTransferParamsToken$ ||= {});
|
|
38770
|
+
TokenTransferParamsAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
38771
|
+
TokenTransferParamsAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
38772
|
+
((TokenTransferParamsAmount$) => {
|
|
38773
|
+
TokenTransferParamsAmount$.inboundSchema = TokenTransferParamsAmount$inboundSchema;
|
|
38774
|
+
TokenTransferParamsAmount$.outboundSchema = TokenTransferParamsAmount$outboundSchema;
|
|
38775
|
+
})(TokenTransferParamsAmount$ ||= {});
|
|
38814
38776
|
TokenTransferParams$inboundSchema = objectType({
|
|
38815
38777
|
action_type: literalType("TOKEN_TRANSFER").default("TOKEN_TRANSFER"),
|
|
38816
|
-
|
|
38778
|
+
to: stringType(),
|
|
38817
38779
|
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
38818
|
-
|
|
38780
|
+
amount: unionType([numberType(), stringType()])
|
|
38819
38781
|
}).transform((v2) => {
|
|
38820
38782
|
return remap(v2, {
|
|
38821
38783
|
action_type: "actionType"
|
|
@@ -38823,9 +38785,9 @@ var init_tokentransferparams = __esm(() => {
|
|
|
38823
38785
|
});
|
|
38824
38786
|
TokenTransferParams$outboundSchema = objectType({
|
|
38825
38787
|
actionType: literalType("TOKEN_TRANSFER").default("TOKEN_TRANSFER"),
|
|
38826
|
-
|
|
38788
|
+
to: stringType(),
|
|
38827
38789
|
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
38828
|
-
|
|
38790
|
+
amount: unionType([numberType(), stringType()])
|
|
38829
38791
|
}).transform((v2) => {
|
|
38830
38792
|
return remap(v2, {
|
|
38831
38793
|
actionType: "action_type"
|
|
@@ -39342,7 +39304,6 @@ var init_useroperation = __esm(() => {
|
|
|
39342
39304
|
init_skydepositparams();
|
|
39343
39305
|
init_skysellparams();
|
|
39344
39306
|
init_skywithdrawparams();
|
|
39345
|
-
init_tokentransfererc20params();
|
|
39346
39307
|
init_tokentransferparams();
|
|
39347
39308
|
init_uniswapbuyexactlyparams();
|
|
39348
39309
|
init_uniswapincreaseliquidityprovisionparams();
|
|
@@ -39387,7 +39348,6 @@ var init_useroperation = __esm(() => {
|
|
|
39387
39348
|
TokenTransferParams$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER") }).transform((v2) => ({
|
|
39388
39349
|
actionType: v2.action_type
|
|
39389
39350
|
}))),
|
|
39390
|
-
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39391
39351
|
AaveSupplyParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39392
39352
|
actionType: v2.action_type
|
|
39393
39353
|
}))),
|
|
@@ -39478,7 +39438,6 @@ var init_useroperation = __esm(() => {
|
|
|
39478
39438
|
TokenTransferParams$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER") }).transform((v2) => ({
|
|
39479
39439
|
action_type: v2.actionType
|
|
39480
39440
|
}))),
|
|
39481
|
-
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39482
39441
|
AaveSupplyParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39483
39442
|
action_type: v2.actionType
|
|
39484
39443
|
}))),
|
|
@@ -39574,7 +39533,6 @@ var init_useroperation = __esm(() => {
|
|
|
39574
39533
|
TokenTransferParams$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER") }).transform((v2) => ({
|
|
39575
39534
|
actionType: v2.action_type
|
|
39576
39535
|
}))),
|
|
39577
|
-
TokenTransferErc20Params$inboundSchema.and(objectType({ action_type: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ actionType: v2.action_type }))),
|
|
39578
39536
|
AaveSupplyParams$inboundSchema.and(objectType({ action_type: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39579
39537
|
actionType: v2.action_type
|
|
39580
39538
|
}))),
|
|
@@ -39667,7 +39625,6 @@ var init_useroperation = __esm(() => {
|
|
|
39667
39625
|
TokenTransferParams$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER") }).transform((v2) => ({
|
|
39668
39626
|
action_type: v2.actionType
|
|
39669
39627
|
}))),
|
|
39670
|
-
TokenTransferErc20Params$outboundSchema.and(objectType({ actionType: literalType("TOKEN_TRANSFER_ERC20") }).transform((v2) => ({ action_type: v2.actionType }))),
|
|
39671
39628
|
AaveSupplyParams$outboundSchema.and(objectType({ actionType: literalType("AAVE_SUPPLY") }).transform((v2) => ({
|
|
39672
39629
|
action_type: v2.actionType
|
|
39673
39630
|
}))),
|
|
@@ -39800,6 +39757,58 @@ var init_batcheduseroperationsresponse = __esm(() => {
|
|
|
39800
39757
|
})(BatchedUserOperationsResponse$ ||= {});
|
|
39801
39758
|
});
|
|
39802
39759
|
|
|
39760
|
+
// src/models/components/unsignedmulticalltransaction.ts
|
|
39761
|
+
var UnsignedMulticallTransaction$inboundSchema, UnsignedMulticallTransaction$outboundSchema, UnsignedMulticallTransaction$;
|
|
39762
|
+
var init_unsignedmulticalltransaction = __esm(() => {
|
|
39763
|
+
init_zod();
|
|
39764
|
+
init_signedauthorization();
|
|
39765
|
+
UnsignedMulticallTransaction$inboundSchema = objectType({
|
|
39766
|
+
chainId: numberType().int(),
|
|
39767
|
+
data: stringType(),
|
|
39768
|
+
from: stringType(),
|
|
39769
|
+
gas: numberType().int(),
|
|
39770
|
+
to: stringType(),
|
|
39771
|
+
value: numberType().int(),
|
|
39772
|
+
nonce: numberType().int(),
|
|
39773
|
+
maxFeePerGas: numberType().int(),
|
|
39774
|
+
maxPriorityFeePerGas: numberType().int(),
|
|
39775
|
+
authorizationList: arrayType(SignedAuthorization$inboundSchema).optional()
|
|
39776
|
+
});
|
|
39777
|
+
UnsignedMulticallTransaction$outboundSchema = objectType({
|
|
39778
|
+
chainId: numberType().int(),
|
|
39779
|
+
data: stringType(),
|
|
39780
|
+
from: stringType(),
|
|
39781
|
+
gas: numberType().int(),
|
|
39782
|
+
to: stringType(),
|
|
39783
|
+
value: numberType().int(),
|
|
39784
|
+
nonce: numberType().int(),
|
|
39785
|
+
maxFeePerGas: numberType().int(),
|
|
39786
|
+
maxPriorityFeePerGas: numberType().int(),
|
|
39787
|
+
authorizationList: arrayType(SignedAuthorization$outboundSchema).optional()
|
|
39788
|
+
});
|
|
39789
|
+
((UnsignedMulticallTransaction$) => {
|
|
39790
|
+
UnsignedMulticallTransaction$.inboundSchema = UnsignedMulticallTransaction$inboundSchema;
|
|
39791
|
+
UnsignedMulticallTransaction$.outboundSchema = UnsignedMulticallTransaction$outboundSchema;
|
|
39792
|
+
})(UnsignedMulticallTransaction$ ||= {});
|
|
39793
|
+
});
|
|
39794
|
+
|
|
39795
|
+
// src/models/components/bundlertransactionresponse.ts
|
|
39796
|
+
var BundlerTransactionResponse$inboundSchema, BundlerTransactionResponse$outboundSchema, BundlerTransactionResponse$;
|
|
39797
|
+
var init_bundlertransactionresponse = __esm(() => {
|
|
39798
|
+
init_zod();
|
|
39799
|
+
init_unsignedmulticalltransaction();
|
|
39800
|
+
BundlerTransactionResponse$inboundSchema = objectType({
|
|
39801
|
+
transaction: UnsignedMulticallTransaction$inboundSchema
|
|
39802
|
+
});
|
|
39803
|
+
BundlerTransactionResponse$outboundSchema = objectType({
|
|
39804
|
+
transaction: UnsignedMulticallTransaction$outboundSchema
|
|
39805
|
+
});
|
|
39806
|
+
((BundlerTransactionResponse$) => {
|
|
39807
|
+
BundlerTransactionResponse$.inboundSchema = BundlerTransactionResponse$inboundSchema;
|
|
39808
|
+
BundlerTransactionResponse$.outboundSchema = BundlerTransactionResponse$outboundSchema;
|
|
39809
|
+
})(BundlerTransactionResponse$ ||= {});
|
|
39810
|
+
});
|
|
39811
|
+
|
|
39803
39812
|
// src/models/components/chain.ts
|
|
39804
39813
|
var Chain, Chain$inboundSchema, Chain$outboundSchema, Chain$;
|
|
39805
39814
|
var init_chain = __esm(() => {
|
|
@@ -40589,41 +40598,6 @@ var init_ethenarequesttowithdrawrequest = __esm(() => {
|
|
|
40589
40598
|
})(EthenaRequestToWithdrawRequest$ ||= {});
|
|
40590
40599
|
});
|
|
40591
40600
|
|
|
40592
|
-
// src/models/components/unsignedmulticalltransaction.ts
|
|
40593
|
-
var UnsignedMulticallTransaction$inboundSchema, UnsignedMulticallTransaction$outboundSchema, UnsignedMulticallTransaction$;
|
|
40594
|
-
var init_unsignedmulticalltransaction = __esm(() => {
|
|
40595
|
-
init_zod();
|
|
40596
|
-
init_signedauthorization();
|
|
40597
|
-
UnsignedMulticallTransaction$inboundSchema = objectType({
|
|
40598
|
-
chainId: numberType().int(),
|
|
40599
|
-
data: stringType(),
|
|
40600
|
-
from: stringType(),
|
|
40601
|
-
gas: numberType().int(),
|
|
40602
|
-
to: stringType(),
|
|
40603
|
-
value: numberType().int(),
|
|
40604
|
-
nonce: numberType().int(),
|
|
40605
|
-
maxFeePerGas: numberType().int(),
|
|
40606
|
-
maxPriorityFeePerGas: numberType().int(),
|
|
40607
|
-
authorizationList: arrayType(SignedAuthorization$inboundSchema).optional()
|
|
40608
|
-
});
|
|
40609
|
-
UnsignedMulticallTransaction$outboundSchema = objectType({
|
|
40610
|
-
chainId: numberType().int(),
|
|
40611
|
-
data: stringType(),
|
|
40612
|
-
from: stringType(),
|
|
40613
|
-
gas: numberType().int(),
|
|
40614
|
-
to: stringType(),
|
|
40615
|
-
value: numberType().int(),
|
|
40616
|
-
nonce: numberType().int(),
|
|
40617
|
-
maxFeePerGas: numberType().int(),
|
|
40618
|
-
maxPriorityFeePerGas: numberType().int(),
|
|
40619
|
-
authorizationList: arrayType(SignedAuthorization$outboundSchema).optional()
|
|
40620
|
-
});
|
|
40621
|
-
((UnsignedMulticallTransaction$) => {
|
|
40622
|
-
UnsignedMulticallTransaction$.inboundSchema = UnsignedMulticallTransaction$inboundSchema;
|
|
40623
|
-
UnsignedMulticallTransaction$.outboundSchema = UnsignedMulticallTransaction$outboundSchema;
|
|
40624
|
-
})(UnsignedMulticallTransaction$ ||= {});
|
|
40625
|
-
});
|
|
40626
|
-
|
|
40627
40601
|
// src/models/components/unsignedtransaction.ts
|
|
40628
40602
|
var UnsignedTransaction$inboundSchema, UnsignedTransaction$outboundSchema, UnsignedTransaction$;
|
|
40629
40603
|
var init_unsignedtransaction = __esm(() => {
|
|
@@ -40661,17 +40635,14 @@ var EthenaRequestToWithdrawTransactionResponseTransaction$inboundSchema, EthenaR
|
|
|
40661
40635
|
var init_ethenarequesttowithdrawtransactionresponse = __esm(() => {
|
|
40662
40636
|
init_zod();
|
|
40663
40637
|
init_primitives();
|
|
40664
|
-
init_unsignedmulticalltransaction();
|
|
40665
40638
|
init_unsignedtransaction();
|
|
40666
40639
|
init_useroperationresponse();
|
|
40667
40640
|
EthenaRequestToWithdrawTransactionResponseTransaction$inboundSchema = unionType([
|
|
40668
40641
|
UnsignedTransaction$inboundSchema,
|
|
40669
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
40670
40642
|
UserOperationResponse$inboundSchema
|
|
40671
40643
|
]);
|
|
40672
40644
|
EthenaRequestToWithdrawTransactionResponseTransaction$outboundSchema = unionType([
|
|
40673
40645
|
UnsignedTransaction$outboundSchema,
|
|
40674
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
40675
40646
|
UserOperationResponse$outboundSchema
|
|
40676
40647
|
]);
|
|
40677
40648
|
((EthenaRequestToWithdrawTransactionResponseTransaction$) => {
|
|
@@ -40681,7 +40652,6 @@ var init_ethenarequesttowithdrawtransactionresponse = __esm(() => {
|
|
|
40681
40652
|
EthenaRequestToWithdrawTransactionResponse$inboundSchema = objectType({
|
|
40682
40653
|
transaction: unionType([
|
|
40683
40654
|
UnsignedTransaction$inboundSchema,
|
|
40684
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
40685
40655
|
UserOperationResponse$inboundSchema
|
|
40686
40656
|
]),
|
|
40687
40657
|
cooldown_duration_days: numberType().int()
|
|
@@ -40693,7 +40663,6 @@ var init_ethenarequesttowithdrawtransactionresponse = __esm(() => {
|
|
|
40693
40663
|
EthenaRequestToWithdrawTransactionResponse$outboundSchema = objectType({
|
|
40694
40664
|
transaction: unionType([
|
|
40695
40665
|
UnsignedTransaction$outboundSchema,
|
|
40696
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
40697
40666
|
UserOperationResponse$outboundSchema
|
|
40698
40667
|
]),
|
|
40699
40668
|
cooldownDurationDays: numberType().int()
|
|
@@ -42125,17 +42094,14 @@ var PendleTxResponseTransaction$inboundSchema, PendleTxResponseTransaction$outbo
|
|
|
42125
42094
|
var init_pendletxresponse = __esm(() => {
|
|
42126
42095
|
init_zod();
|
|
42127
42096
|
init_primitives();
|
|
42128
|
-
init_unsignedmulticalltransaction();
|
|
42129
42097
|
init_unsignedtransaction();
|
|
42130
42098
|
init_useroperationresponse();
|
|
42131
42099
|
PendleTxResponseTransaction$inboundSchema = unionType([
|
|
42132
42100
|
UnsignedTransaction$inboundSchema,
|
|
42133
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42134
42101
|
UserOperationResponse$inboundSchema
|
|
42135
42102
|
]);
|
|
42136
42103
|
PendleTxResponseTransaction$outboundSchema = unionType([
|
|
42137
42104
|
UnsignedTransaction$outboundSchema,
|
|
42138
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42139
42105
|
UserOperationResponse$outboundSchema
|
|
42140
42106
|
]);
|
|
42141
42107
|
((PendleTxResponseTransaction$) => {
|
|
@@ -42145,7 +42111,6 @@ var init_pendletxresponse = __esm(() => {
|
|
|
42145
42111
|
PendleTxResponse$inboundSchema = objectType({
|
|
42146
42112
|
transaction: unionType([
|
|
42147
42113
|
UnsignedTransaction$inboundSchema,
|
|
42148
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42149
42114
|
UserOperationResponse$inboundSchema
|
|
42150
42115
|
]),
|
|
42151
42116
|
amount_out_quote: stringType()
|
|
@@ -42157,7 +42122,6 @@ var init_pendletxresponse = __esm(() => {
|
|
|
42157
42122
|
PendleTxResponse$outboundSchema = objectType({
|
|
42158
42123
|
transaction: unionType([
|
|
42159
42124
|
UnsignedTransaction$outboundSchema,
|
|
42160
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42161
42125
|
UserOperationResponse$outboundSchema
|
|
42162
42126
|
]),
|
|
42163
42127
|
amountOutQuote: stringType()
|
|
@@ -42683,7 +42647,7 @@ var init_tokenpriceresponse = __esm(() => {
|
|
|
42683
42647
|
});
|
|
42684
42648
|
|
|
42685
42649
|
// src/models/components/tokentransferrequest.ts
|
|
42686
|
-
var TokenTransferRequestChain,
|
|
42650
|
+
var TokenTransferRequestChain, TokenTransferRequestToken$inboundSchema, TokenTransferRequestToken$outboundSchema, TokenTransferRequestToken$, TokenTransferRequestAmount$inboundSchema, TokenTransferRequestAmount$outboundSchema, TokenTransferRequestAmount$, TokenTransferRequestChain$inboundSchema, TokenTransferRequestChain$outboundSchema, TokenTransferRequestChain$, TokenTransferRequest$inboundSchema, TokenTransferRequest$outboundSchema, TokenTransferRequest$;
|
|
42687
42651
|
var init_tokentransferrequest = __esm(() => {
|
|
42688
42652
|
init_zod();
|
|
42689
42653
|
init_primitives();
|
|
@@ -42693,18 +42657,18 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
42693
42657
|
Base: "base",
|
|
42694
42658
|
Ethereum: "ethereum"
|
|
42695
42659
|
};
|
|
42696
|
-
TokenTransferRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42697
|
-
TokenTransferRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42698
|
-
((TokenTransferRequestAmount$) => {
|
|
42699
|
-
TokenTransferRequestAmount$.inboundSchema = TokenTransferRequestAmount$inboundSchema;
|
|
42700
|
-
TokenTransferRequestAmount$.outboundSchema = TokenTransferRequestAmount$outboundSchema;
|
|
42701
|
-
})(TokenTransferRequestAmount$ ||= {});
|
|
42702
42660
|
TokenTransferRequestToken$inboundSchema = unionType([TokenEnum$inboundSchema, stringType()]);
|
|
42703
42661
|
TokenTransferRequestToken$outboundSchema = unionType([TokenEnum$outboundSchema, stringType()]);
|
|
42704
42662
|
((TokenTransferRequestToken$) => {
|
|
42705
42663
|
TokenTransferRequestToken$.inboundSchema = TokenTransferRequestToken$inboundSchema;
|
|
42706
42664
|
TokenTransferRequestToken$.outboundSchema = TokenTransferRequestToken$outboundSchema;
|
|
42707
42665
|
})(TokenTransferRequestToken$ ||= {});
|
|
42666
|
+
TokenTransferRequestAmount$inboundSchema = unionType([numberType(), stringType()]);
|
|
42667
|
+
TokenTransferRequestAmount$outboundSchema = unionType([numberType(), stringType()]);
|
|
42668
|
+
((TokenTransferRequestAmount$) => {
|
|
42669
|
+
TokenTransferRequestAmount$.inboundSchema = TokenTransferRequestAmount$inboundSchema;
|
|
42670
|
+
TokenTransferRequestAmount$.outboundSchema = TokenTransferRequestAmount$outboundSchema;
|
|
42671
|
+
})(TokenTransferRequestAmount$ ||= {});
|
|
42708
42672
|
TokenTransferRequestChain$inboundSchema = nativeEnumType(TokenTransferRequestChain);
|
|
42709
42673
|
TokenTransferRequestChain$outboundSchema = TokenTransferRequestChain$inboundSchema;
|
|
42710
42674
|
((TokenTransferRequestChain$) => {
|
|
@@ -42713,9 +42677,9 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
42713
42677
|
})(TokenTransferRequestChain$ ||= {});
|
|
42714
42678
|
TokenTransferRequest$inboundSchema = objectType({
|
|
42715
42679
|
action_type: literalType("TOKEN_TRANSFER").default("TOKEN_TRANSFER"),
|
|
42716
|
-
amount: unionType([numberType(), stringType()]),
|
|
42717
|
-
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
42718
42680
|
to: stringType(),
|
|
42681
|
+
token: unionType([TokenEnum$inboundSchema, stringType()]),
|
|
42682
|
+
amount: unionType([numberType(), stringType()]),
|
|
42719
42683
|
chain: TokenTransferRequestChain$inboundSchema,
|
|
42720
42684
|
sender: stringType()
|
|
42721
42685
|
}).transform((v2) => {
|
|
@@ -42725,9 +42689,9 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
42725
42689
|
});
|
|
42726
42690
|
TokenTransferRequest$outboundSchema = objectType({
|
|
42727
42691
|
actionType: literalType("TOKEN_TRANSFER").default("TOKEN_TRANSFER"),
|
|
42728
|
-
amount: unionType([numberType(), stringType()]),
|
|
42729
|
-
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
42730
42692
|
to: stringType(),
|
|
42693
|
+
token: unionType([TokenEnum$outboundSchema, stringType()]),
|
|
42694
|
+
amount: unionType([numberType(), stringType()]),
|
|
42731
42695
|
chain: TokenTransferRequestChain$outboundSchema,
|
|
42732
42696
|
sender: stringType()
|
|
42733
42697
|
}).transform((v2) => {
|
|
@@ -42745,17 +42709,14 @@ var init_tokentransferrequest = __esm(() => {
|
|
|
42745
42709
|
var TransactionResponseTransaction$inboundSchema, TransactionResponseTransaction$outboundSchema, TransactionResponseTransaction$, TransactionResponse$inboundSchema, TransactionResponse$outboundSchema, TransactionResponse$;
|
|
42746
42710
|
var init_transactionresponse = __esm(() => {
|
|
42747
42711
|
init_zod();
|
|
42748
|
-
init_unsignedmulticalltransaction();
|
|
42749
42712
|
init_unsignedtransaction();
|
|
42750
42713
|
init_useroperationresponse();
|
|
42751
42714
|
TransactionResponseTransaction$inboundSchema = unionType([
|
|
42752
42715
|
UnsignedTransaction$inboundSchema,
|
|
42753
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42754
42716
|
UserOperationResponse$inboundSchema
|
|
42755
42717
|
]);
|
|
42756
42718
|
TransactionResponseTransaction$outboundSchema = unionType([
|
|
42757
42719
|
UnsignedTransaction$outboundSchema,
|
|
42758
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42759
42720
|
UserOperationResponse$outboundSchema
|
|
42760
42721
|
]);
|
|
42761
42722
|
((TransactionResponseTransaction$) => {
|
|
@@ -42765,14 +42726,12 @@ var init_transactionresponse = __esm(() => {
|
|
|
42765
42726
|
TransactionResponse$inboundSchema = objectType({
|
|
42766
42727
|
transaction: unionType([
|
|
42767
42728
|
UnsignedTransaction$inboundSchema,
|
|
42768
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42769
42729
|
UserOperationResponse$inboundSchema
|
|
42770
42730
|
])
|
|
42771
42731
|
});
|
|
42772
42732
|
TransactionResponse$outboundSchema = objectType({
|
|
42773
42733
|
transaction: unionType([
|
|
42774
42734
|
UnsignedTransaction$outboundSchema,
|
|
42775
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42776
42735
|
UserOperationResponse$outboundSchema
|
|
42777
42736
|
])
|
|
42778
42737
|
});
|
|
@@ -42865,17 +42824,14 @@ var UniswapBuyExactlyTransactionResponseTransaction$inboundSchema, UniswapBuyExa
|
|
|
42865
42824
|
var init_uniswapbuyexactlytransactionresponse = __esm(() => {
|
|
42866
42825
|
init_zod();
|
|
42867
42826
|
init_primitives();
|
|
42868
|
-
init_unsignedmulticalltransaction();
|
|
42869
42827
|
init_unsignedtransaction();
|
|
42870
42828
|
init_useroperationresponse();
|
|
42871
42829
|
UniswapBuyExactlyTransactionResponseTransaction$inboundSchema = unionType([
|
|
42872
42830
|
UnsignedTransaction$inboundSchema,
|
|
42873
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42874
42831
|
UserOperationResponse$inboundSchema
|
|
42875
42832
|
]);
|
|
42876
42833
|
UniswapBuyExactlyTransactionResponseTransaction$outboundSchema = unionType([
|
|
42877
42834
|
UnsignedTransaction$outboundSchema,
|
|
42878
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42879
42835
|
UserOperationResponse$outboundSchema
|
|
42880
42836
|
]);
|
|
42881
42837
|
((UniswapBuyExactlyTransactionResponseTransaction$) => {
|
|
@@ -42885,7 +42841,6 @@ var init_uniswapbuyexactlytransactionresponse = __esm(() => {
|
|
|
42885
42841
|
UniswapBuyExactlyTransactionResponse$inboundSchema = objectType({
|
|
42886
42842
|
transaction: unionType([
|
|
42887
42843
|
UnsignedTransaction$inboundSchema,
|
|
42888
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
42889
42844
|
UserOperationResponse$inboundSchema
|
|
42890
42845
|
]),
|
|
42891
42846
|
amount_in_quote: stringType()
|
|
@@ -42897,7 +42852,6 @@ var init_uniswapbuyexactlytransactionresponse = __esm(() => {
|
|
|
42897
42852
|
UniswapBuyExactlyTransactionResponse$outboundSchema = objectType({
|
|
42898
42853
|
transaction: unionType([
|
|
42899
42854
|
UnsignedTransaction$outboundSchema,
|
|
42900
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
42901
42855
|
UserOperationResponse$outboundSchema
|
|
42902
42856
|
]),
|
|
42903
42857
|
amountInQuote: stringType()
|
|
@@ -43343,17 +43297,14 @@ var UniswapSellExactlyTransactionResponseTransaction$inboundSchema, UniswapSellE
|
|
|
43343
43297
|
var init_uniswapsellexactlytransactionresponse = __esm(() => {
|
|
43344
43298
|
init_zod();
|
|
43345
43299
|
init_primitives();
|
|
43346
|
-
init_unsignedmulticalltransaction();
|
|
43347
43300
|
init_unsignedtransaction();
|
|
43348
43301
|
init_useroperationresponse();
|
|
43349
43302
|
UniswapSellExactlyTransactionResponseTransaction$inboundSchema = unionType([
|
|
43350
43303
|
UnsignedTransaction$inboundSchema,
|
|
43351
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
43352
43304
|
UserOperationResponse$inboundSchema
|
|
43353
43305
|
]);
|
|
43354
43306
|
UniswapSellExactlyTransactionResponseTransaction$outboundSchema = unionType([
|
|
43355
43307
|
UnsignedTransaction$outboundSchema,
|
|
43356
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
43357
43308
|
UserOperationResponse$outboundSchema
|
|
43358
43309
|
]);
|
|
43359
43310
|
((UniswapSellExactlyTransactionResponseTransaction$) => {
|
|
@@ -43363,7 +43314,6 @@ var init_uniswapsellexactlytransactionresponse = __esm(() => {
|
|
|
43363
43314
|
UniswapSellExactlyTransactionResponse$inboundSchema = objectType({
|
|
43364
43315
|
transaction: unionType([
|
|
43365
43316
|
UnsignedTransaction$inboundSchema,
|
|
43366
|
-
UnsignedMulticallTransaction$inboundSchema,
|
|
43367
43317
|
UserOperationResponse$inboundSchema
|
|
43368
43318
|
]),
|
|
43369
43319
|
amount_out_quote: stringType()
|
|
@@ -43375,7 +43325,6 @@ var init_uniswapsellexactlytransactionresponse = __esm(() => {
|
|
|
43375
43325
|
UniswapSellExactlyTransactionResponse$outboundSchema = objectType({
|
|
43376
43326
|
transaction: unionType([
|
|
43377
43327
|
UnsignedTransaction$outboundSchema,
|
|
43378
|
-
UnsignedMulticallTransaction$outboundSchema,
|
|
43379
43328
|
UserOperationResponse$outboundSchema
|
|
43380
43329
|
]),
|
|
43381
43330
|
amountOutQuote: stringType()
|
|
@@ -43789,6 +43738,7 @@ var init_components = __esm(() => {
|
|
|
43789
43738
|
init_batcheduseroperationsrequest();
|
|
43790
43739
|
init_batcheduseroperationsresponse();
|
|
43791
43740
|
init_borrow();
|
|
43741
|
+
init_bundlertransactionresponse();
|
|
43792
43742
|
init_chain();
|
|
43793
43743
|
init_chaininfo();
|
|
43794
43744
|
init_compassapibackendmodelsgenericreadresponseportfoliotokenbalance();
|
|
@@ -43892,7 +43842,6 @@ var init_components = __esm(() => {
|
|
|
43892
43842
|
init_tokenenum();
|
|
43893
43843
|
init_tokeninfo();
|
|
43894
43844
|
init_tokenpriceresponse();
|
|
43895
|
-
init_tokentransfererc20params();
|
|
43896
43845
|
init_tokentransferparams();
|
|
43897
43846
|
init_tokentransferrequest();
|
|
43898
43847
|
init_transactionresponse();
|
|
@@ -45836,11 +45785,11 @@ var init_v1transactionbundleraaveloop = __esm(() => {
|
|
|
45836
45785
|
init_zod();
|
|
45837
45786
|
init_components();
|
|
45838
45787
|
ResponseV1TransactionBundlerAaveLoop$inboundSchema = unionType([
|
|
45839
|
-
|
|
45788
|
+
BundlerTransactionResponse$inboundSchema,
|
|
45840
45789
|
BatchedUserOperationsResponse$inboundSchema
|
|
45841
45790
|
]);
|
|
45842
45791
|
ResponseV1TransactionBundlerAaveLoop$outboundSchema = unionType([
|
|
45843
|
-
|
|
45792
|
+
BundlerTransactionResponse$outboundSchema,
|
|
45844
45793
|
BatchedUserOperationsResponse$outboundSchema
|
|
45845
45794
|
]);
|
|
45846
45795
|
((ResponseV1TransactionBundlerAaveLoop$) => {
|
|
@@ -53278,7 +53227,7 @@ var init_tokenTokenTransfer2 = __esm(() => {
|
|
|
53278
53227
|
};
|
|
53279
53228
|
tool$tokenTokenTransfer = {
|
|
53280
53229
|
name: "token-token-transfer",
|
|
53281
|
-
description: `Transfer
|
|
53230
|
+
description: `Transfer Tokens
|
|
53282
53231
|
|
|
53283
53232
|
Sends native ETH or ERC20 tokens from the sender's address to another address.`,
|
|
53284
53233
|
args: args58,
|
|
@@ -53574,7 +53523,7 @@ async function $do61(client, request, options) {
|
|
|
53574
53523
|
const responseFields = {
|
|
53575
53524
|
HttpMeta: { Response: response, Request: req }
|
|
53576
53525
|
};
|
|
53577
|
-
const [result] = await match(json(200,
|
|
53526
|
+
const [result] = await match(json(200, BundlerTransactionResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
53578
53527
|
if (!result.ok) {
|
|
53579
53528
|
return [result, { status: "complete", request: req, response }];
|
|
53580
53529
|
}
|
|
@@ -55664,7 +55613,7 @@ it to be traded on DeFi protocols.`,
|
|
|
55664
55613
|
function createMCPServer(deps) {
|
|
55665
55614
|
const server = new McpServer({
|
|
55666
55615
|
name: "CompassApiSDK",
|
|
55667
|
-
version: "1.0.
|
|
55616
|
+
version: "1.0.9"
|
|
55668
55617
|
});
|
|
55669
55618
|
const client = new CompassApiSDKCore({
|
|
55670
55619
|
apiKeyAuth: deps.apiKeyAuth,
|
|
@@ -57038,7 +56987,7 @@ var routes = ln({
|
|
|
57038
56987
|
var app = _e(routes, {
|
|
57039
56988
|
name: "mcp",
|
|
57040
56989
|
versionInfo: {
|
|
57041
|
-
currentVersion: "1.0.
|
|
56990
|
+
currentVersion: "1.0.9"
|
|
57042
56991
|
}
|
|
57043
56992
|
});
|
|
57044
56993
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -57046,5 +56995,5 @@ export {
|
|
|
57046
56995
|
app
|
|
57047
56996
|
};
|
|
57048
56997
|
|
|
57049
|
-
//# debugId=
|
|
56998
|
+
//# debugId=0A46F564E76045DA64756E2164756E21
|
|
57050
56999
|
//# sourceMappingURL=mcp-server.js.map
|