@compass-labs/api-sdk 0.0.25 → 0.0.26
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/bin/mcp-server.js +6 -6
- package/bin/mcp-server.js.map +31 -31
- 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/models/operations/aavehistoricaltransactions.d.ts +9 -0
- package/dist/commonjs/models/operations/aavehistoricaltransactions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavehistoricaltransactions.js.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts +7 -6
- package/dist/commonjs/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/commonjs/models/operations/aaverate.d.ts +1 -6
- package/dist/commonjs/models/operations/aaverate.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaverate.js.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts +1 -6
- package/dist/commonjs/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.d.ts +1 -6
- package/dist/commonjs/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aavetokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts +4 -6
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts +3 -0
- package/dist/commonjs/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +3 -0
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts +5 -12
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.d.ts +13 -6
- package/dist/commonjs/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericallowance.js +3 -0
- package/dist/commonjs/models/operations/genericallowance.js.map +1 -1
- package/dist/commonjs/models/operations/genericens.d.ts +3 -0
- package/dist/commonjs/models/operations/genericens.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericens.js.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.d.ts +3 -0
- package/dist/commonjs/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts +3 -0
- package/dist/commonjs/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/commonjs/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.d.ts +6 -0
- package/dist/commonjs/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarketposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.d.ts +6 -0
- package/dist/commonjs/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphomarkets.js.map +1 -1
- package/dist/commonjs/models/operations/morphovaultposition.d.ts +6 -0
- package/dist/commonjs/models/operations/morphovaultposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovaultposition.js.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.d.ts +3 -0
- package/dist/commonjs/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/commonjs/models/operations/morphovaults.js.map +1 -1
- package/dist/commonjs/models/operations/skyposition.d.ts +3 -0
- package/dist/commonjs/models/operations/skyposition.d.ts.map +1 -1
- package/dist/commonjs/models/operations/skyposition.js.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.d.ts +1 -6
- package/dist/commonjs/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenaddress.js.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.d.ts +9 -0
- package/dist/commonjs/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenbalance.js.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.d.ts +1 -6
- package/dist/commonjs/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/tokenprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts +3 -0
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts +3 -0
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts +3 -17
- package/dist/commonjs/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts +9 -17
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts +9 -17
- package/dist/commonjs/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/commonjs/models/operations/uniswapquotesellexactly.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/models/operations/aavehistoricaltransactions.d.ts +9 -0
- package/dist/esm/models/operations/aavehistoricaltransactions.d.ts.map +1 -1
- package/dist/esm/models/operations/aavehistoricaltransactions.js.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.d.ts +7 -6
- package/dist/esm/models/operations/aaveliquiditychange.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveliquiditychange.js.map +1 -1
- package/dist/esm/models/operations/aaverate.d.ts +1 -6
- package/dist/esm/models/operations/aaverate.d.ts.map +1 -1
- package/dist/esm/models/operations/aaverate.js.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.d.ts +1 -6
- package/dist/esm/models/operations/aavereserveoverview.d.ts.map +1 -1
- package/dist/esm/models/operations/aavereserveoverview.js.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.d.ts +1 -6
- package/dist/esm/models/operations/aavetokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aavetokenprice.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts +4 -6
- package/dist/esm/models/operations/aaveuserpositionpertoken.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionpertoken.js.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts +3 -0
- package/dist/esm/models/operations/aaveuserpositionsummary.d.ts.map +1 -1
- package/dist/esm/models/operations/aaveuserpositionsummary.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts +3 -0
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreamliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts +5 -12
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/aerodromeslipstreampoolprice.js.map +1 -1
- package/dist/esm/models/operations/genericallowance.d.ts +13 -6
- package/dist/esm/models/operations/genericallowance.d.ts.map +1 -1
- package/dist/esm/models/operations/genericallowance.js +3 -0
- package/dist/esm/models/operations/genericallowance.js.map +1 -1
- package/dist/esm/models/operations/genericens.d.ts +3 -0
- package/dist/esm/models/operations/genericens.d.ts.map +1 -1
- package/dist/esm/models/operations/genericens.js.map +1 -1
- package/dist/esm/models/operations/genericportfolio.d.ts +3 -0
- package/dist/esm/models/operations/genericportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericportfolio.js.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts +3 -0
- package/dist/esm/models/operations/genericvisualizeportfolio.d.ts.map +1 -1
- package/dist/esm/models/operations/genericvisualizeportfolio.js.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.d.ts +6 -0
- package/dist/esm/models/operations/morphomarketposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarketposition.js.map +1 -1
- package/dist/esm/models/operations/morphomarkets.d.ts +6 -0
- package/dist/esm/models/operations/morphomarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/morphomarkets.js.map +1 -1
- package/dist/esm/models/operations/morphovaultposition.d.ts +6 -0
- package/dist/esm/models/operations/morphovaultposition.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovaultposition.js.map +1 -1
- package/dist/esm/models/operations/morphovaults.d.ts +3 -0
- package/dist/esm/models/operations/morphovaults.d.ts.map +1 -1
- package/dist/esm/models/operations/morphovaults.js.map +1 -1
- package/dist/esm/models/operations/skyposition.d.ts +3 -0
- package/dist/esm/models/operations/skyposition.d.ts.map +1 -1
- package/dist/esm/models/operations/skyposition.js.map +1 -1
- package/dist/esm/models/operations/tokenaddress.d.ts +1 -6
- package/dist/esm/models/operations/tokenaddress.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenaddress.js.map +1 -1
- package/dist/esm/models/operations/tokenbalance.d.ts +9 -0
- package/dist/esm/models/operations/tokenbalance.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenbalance.js.map +1 -1
- package/dist/esm/models/operations/tokenprice.d.ts +1 -6
- package/dist/esm/models/operations/tokenprice.d.ts.map +1 -1
- package/dist/esm/models/operations/tokenprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts +3 -0
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisioninrange.js.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts +3 -0
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapliquidityprovisionpositions.js.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.d.ts +3 -17
- package/dist/esm/models/operations/uniswappoolprice.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswappoolprice.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts +9 -17
- package/dist/esm/models/operations/uniswapquotebuyexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotebuyexactly.js.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts +9 -17
- package/dist/esm/models/operations/uniswapquotesellexactly.d.ts.map +1 -1
- package/dist/esm/models/operations/uniswapquotesellexactly.js.map +1 -1
- package/docs/sdks/aavev3/README.md +14 -14
- package/docs/sdks/aerodromeslipstream/README.md +30 -30
- package/docs/sdks/morpho/README.md +10 -14
- package/docs/sdks/sky/README.md +2 -2
- package/docs/sdks/token/README.md +2 -2
- package/docs/sdks/transactionbatching/README.md +20 -26
- package/docs/sdks/uniswapv3/README.md +26 -26
- package/docs/sdks/universal/README.md +4 -4
- package/jsr.json +1 -1
- package/package.json +1 -1
- 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/models/operations/aavehistoricaltransactions.ts +9 -0
- package/src/models/operations/aaveliquiditychange.ts +7 -6
- package/src/models/operations/aaverate.ts +1 -6
- package/src/models/operations/aavereserveoverview.ts +1 -6
- package/src/models/operations/aavetokenprice.ts +1 -6
- package/src/models/operations/aaveuserpositionpertoken.ts +4 -6
- package/src/models/operations/aaveuserpositionsummary.ts +3 -0
- package/src/models/operations/aerodromeslipstreamliquidityprovisionpositions.ts +3 -0
- package/src/models/operations/aerodromeslipstreampoolprice.ts +5 -12
- package/src/models/operations/genericallowance.ts +13 -6
- package/src/models/operations/genericens.ts +3 -0
- package/src/models/operations/genericportfolio.ts +3 -0
- package/src/models/operations/genericvisualizeportfolio.ts +3 -0
- package/src/models/operations/morphomarketposition.ts +6 -0
- package/src/models/operations/morphomarkets.ts +6 -0
- package/src/models/operations/morphovaultposition.ts +6 -0
- package/src/models/operations/morphovaults.ts +3 -0
- package/src/models/operations/skyposition.ts +3 -0
- package/src/models/operations/tokenaddress.ts +1 -6
- package/src/models/operations/tokenbalance.ts +9 -0
- package/src/models/operations/tokenprice.ts +1 -6
- package/src/models/operations/uniswapliquidityprovisioninrange.ts +3 -0
- package/src/models/operations/uniswapliquidityprovisionpositions.ts +3 -0
- package/src/models/operations/uniswappoolprice.ts +3 -17
- package/src/models/operations/uniswapquotebuyexactly.ts +9 -17
- package/src/models/operations/uniswapquotesellexactly.ts +9 -17
|
@@ -19,7 +19,13 @@ export type MorphoMarketPositionChain = ClosedEnum<
|
|
|
19
19
|
|
|
20
20
|
export type MorphoMarketPositionRequest = {
|
|
21
21
|
chain?: MorphoMarketPositionChain | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* The user address of the desired market position.
|
|
24
|
+
*/
|
|
22
25
|
userAddress?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* The key that uniquely identifies the market. This can be found using the 'Get Markets' endpoint.
|
|
28
|
+
*/
|
|
23
29
|
uniqueMarketKey?: string | undefined;
|
|
24
30
|
};
|
|
25
31
|
|
|
@@ -17,7 +17,13 @@ export type MorphoMarketsChain = ClosedEnum<typeof MorphoMarketsChain>;
|
|
|
17
17
|
|
|
18
18
|
export type MorphoMarketsRequest = {
|
|
19
19
|
chain?: MorphoMarketsChain | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Collateral token to identify the market.
|
|
22
|
+
*/
|
|
20
23
|
collateralToken?: string | null | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Loan token to identify the market.
|
|
26
|
+
*/
|
|
21
27
|
loanToken?: string | null | undefined;
|
|
22
28
|
};
|
|
23
29
|
|
|
@@ -19,7 +19,13 @@ export type MorphoVaultPositionChain = ClosedEnum<
|
|
|
19
19
|
|
|
20
20
|
export type MorphoVaultPositionRequest = {
|
|
21
21
|
chain?: MorphoVaultPositionChain | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* The user address of the desired vault position.
|
|
24
|
+
*/
|
|
22
25
|
userAddress?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* The vault address of the desired vault position.
|
|
28
|
+
*/
|
|
23
29
|
vaultAddress?: string | undefined;
|
|
24
30
|
};
|
|
25
31
|
|
|
@@ -17,6 +17,9 @@ export type MorphoVaultsChain = ClosedEnum<typeof MorphoVaultsChain>;
|
|
|
17
17
|
|
|
18
18
|
export type MorphoVaultsRequest = {
|
|
19
19
|
chain?: MorphoVaultsChain | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Token address that will filter vaults by this deposit token.
|
|
22
|
+
*/
|
|
20
23
|
depositToken?: string | null | undefined;
|
|
21
24
|
};
|
|
22
25
|
|
|
@@ -10,6 +10,9 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
10
10
|
|
|
11
11
|
export type SkyPositionRequest = {
|
|
12
12
|
chain?: "ethereum:mainnet" | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The user address of the desired position.
|
|
15
|
+
*/
|
|
13
16
|
userAddress?: string | undefined;
|
|
14
17
|
};
|
|
15
18
|
|
|
@@ -91,12 +91,7 @@ export type TokenAddressRequest = {
|
|
|
91
91
|
*/
|
|
92
92
|
chain?: TokenAddressChain | undefined;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* @remarks
|
|
97
|
-
*
|
|
98
|
-
* This class is used to represent the token in the system. Notice individual
|
|
99
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
94
|
+
* The token symbol to get the address for..
|
|
100
95
|
*/
|
|
101
96
|
token?: TokenAddressToken | undefined;
|
|
102
97
|
};
|
|
@@ -22,6 +22,9 @@ export const TokenBalanceChain = {
|
|
|
22
22
|
*/
|
|
23
23
|
export type TokenBalanceChain = ClosedEnum<typeof TokenBalanceChain>;
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* The symbol of the token for which the balance is checked..
|
|
27
|
+
*/
|
|
25
28
|
export type TokenBalanceToken = components.TokenEnum | string;
|
|
26
29
|
|
|
27
30
|
export type TokenBalanceRequest = {
|
|
@@ -29,7 +32,13 @@ export type TokenBalanceRequest = {
|
|
|
29
32
|
* The chain to use.
|
|
30
33
|
*/
|
|
31
34
|
chain?: TokenBalanceChain | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* The user to get the ERC20 balance of.
|
|
37
|
+
*/
|
|
32
38
|
user?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* The symbol of the token for which the balance is checked..
|
|
41
|
+
*/
|
|
33
42
|
token: components.TokenEnum | string;
|
|
34
43
|
};
|
|
35
44
|
|
|
@@ -91,12 +91,7 @@ export type TokenPriceRequest = {
|
|
|
91
91
|
*/
|
|
92
92
|
chain?: TokenPriceChain | undefined;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
* @remarks
|
|
97
|
-
*
|
|
98
|
-
* This class is used to represent the token in the system. Notice individual
|
|
99
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
94
|
+
* The symbol of the token for which to get the price.
|
|
100
95
|
*/
|
|
101
96
|
token?: TokenPriceToken | undefined;
|
|
102
97
|
};
|
|
@@ -29,6 +29,9 @@ export type UniswapLiquidityProvisionInRangeRequest = {
|
|
|
29
29
|
* The chain to use.
|
|
30
30
|
*/
|
|
31
31
|
chain?: UniswapLiquidityProvisionInRangeChain | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* Token ID of the NFT representing the liquidity provisioned position.
|
|
34
|
+
*/
|
|
32
35
|
tokenId?: number | undefined;
|
|
33
36
|
};
|
|
34
37
|
|
|
@@ -184,29 +184,15 @@ export type UniswapPoolPriceRequest = {
|
|
|
184
184
|
*/
|
|
185
185
|
chain?: UniswapPoolPriceChain | undefined;
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* @remarks
|
|
190
|
-
*
|
|
191
|
-
* This class is used to represent the token in the system. Notice individual
|
|
192
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
187
|
+
* The symbol of a token in the pool
|
|
193
188
|
*/
|
|
194
189
|
tokenIn?: UniswapPoolPriceTokenInToken | undefined;
|
|
195
190
|
/**
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* @remarks
|
|
199
|
-
*
|
|
200
|
-
* This class is used to represent the token in the system. Notice individual
|
|
201
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
191
|
+
* The symbol of a token in the pool
|
|
202
192
|
*/
|
|
203
193
|
tokenOut?: UniswapPoolPriceTokenOutToken | undefined;
|
|
204
194
|
/**
|
|
205
|
-
* The
|
|
206
|
-
*
|
|
207
|
-
* @remarks
|
|
208
|
-
*
|
|
209
|
-
* Uniswap supports 4 different fee levels.
|
|
195
|
+
* The fee of the pool
|
|
210
196
|
*/
|
|
211
197
|
fee?: UniswapPoolPriceFeeEnum | undefined;
|
|
212
198
|
};
|
|
@@ -180,6 +180,9 @@ export type UniswapQuoteBuyExactlyFeeEnum = ClosedEnum<
|
|
|
180
180
|
typeof UniswapQuoteBuyExactlyFeeEnum
|
|
181
181
|
>;
|
|
182
182
|
|
|
183
|
+
/**
|
|
184
|
+
* The amount of the token to swap to
|
|
185
|
+
*/
|
|
183
186
|
export type AmountOut = number | string;
|
|
184
187
|
|
|
185
188
|
export type UniswapQuoteBuyExactlyRequest = {
|
|
@@ -188,31 +191,20 @@ export type UniswapQuoteBuyExactlyRequest = {
|
|
|
188
191
|
*/
|
|
189
192
|
chain?: UniswapQuoteBuyExactlyChain | undefined;
|
|
190
193
|
/**
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
* @remarks
|
|
194
|
-
*
|
|
195
|
-
* This class is used to represent the token in the system. Notice individual
|
|
196
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
194
|
+
* The symbol of the token to swap from.
|
|
197
195
|
*/
|
|
198
196
|
tokenIn?: UniswapQuoteBuyExactlyTokenInToken | undefined;
|
|
199
197
|
/**
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* @remarks
|
|
203
|
-
*
|
|
204
|
-
* This class is used to represent the token in the system. Notice individual
|
|
205
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
198
|
+
* The symbol of the token to swap to.
|
|
206
199
|
*/
|
|
207
200
|
tokenOut?: UniswapQuoteBuyExactlyTokenOutToken | undefined;
|
|
208
201
|
/**
|
|
209
|
-
* The
|
|
210
|
-
*
|
|
211
|
-
* @remarks
|
|
212
|
-
*
|
|
213
|
-
* Uniswap supports 4 different fee levels.
|
|
202
|
+
* The fee to pay for the swap
|
|
214
203
|
*/
|
|
215
204
|
fee?: UniswapQuoteBuyExactlyFeeEnum | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* The amount of the token to swap to
|
|
207
|
+
*/
|
|
216
208
|
amountOut: number | string;
|
|
217
209
|
};
|
|
218
210
|
|
|
@@ -180,6 +180,9 @@ export type UniswapQuoteSellExactlyFeeEnum = ClosedEnum<
|
|
|
180
180
|
typeof UniswapQuoteSellExactlyFeeEnum
|
|
181
181
|
>;
|
|
182
182
|
|
|
183
|
+
/**
|
|
184
|
+
* The amount of the token to swap from
|
|
185
|
+
*/
|
|
183
186
|
export type AmountIn = number | string;
|
|
184
187
|
|
|
185
188
|
export type UniswapQuoteSellExactlyRequest = {
|
|
@@ -188,31 +191,20 @@ export type UniswapQuoteSellExactlyRequest = {
|
|
|
188
191
|
*/
|
|
189
192
|
chain?: UniswapQuoteSellExactlyChain | undefined;
|
|
190
193
|
/**
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
* @remarks
|
|
194
|
-
*
|
|
195
|
-
* This class is used to represent the token in the system. Notice individual
|
|
196
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
194
|
+
* The symbol of the token to swap from.
|
|
197
195
|
*/
|
|
198
196
|
tokenIn?: UniswapQuoteSellExactlyTokenInToken | undefined;
|
|
199
197
|
/**
|
|
200
|
-
*
|
|
201
|
-
*
|
|
202
|
-
* @remarks
|
|
203
|
-
*
|
|
204
|
-
* This class is used to represent the token in the system. Notice individual
|
|
205
|
-
* endpoints' documentation where per chain tokens are presented.
|
|
198
|
+
* The symbol of the token to swap to.
|
|
206
199
|
*/
|
|
207
200
|
tokenOut?: UniswapQuoteSellExactlyTokenOutToken | undefined;
|
|
208
201
|
/**
|
|
209
|
-
* The
|
|
210
|
-
*
|
|
211
|
-
* @remarks
|
|
212
|
-
*
|
|
213
|
-
* Uniswap supports 4 different fee levels.
|
|
202
|
+
* The fee to pay for the swap
|
|
214
203
|
*/
|
|
215
204
|
fee?: UniswapQuoteSellExactlyFeeEnum | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* The amount of the token to swap from
|
|
207
|
+
*/
|
|
216
208
|
amountIn: number | string;
|
|
217
209
|
};
|
|
218
210
|
|