@cetusprotocol/terminal 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cetus-swap.cjs.js +57 -48
- package/dist/cetus-swap.cjs.js.gz +0 -0
- package/dist/cetus-swap.es.d.ts +2 -0
- package/dist/cetus-swap.es.js +25963 -19536
- package/dist/cetus-swap.es.js.gz +0 -0
- package/dist/cetus-swap.umd.js +57 -48
- package/dist/cetus-swap.umd.js.gz +0 -0
- package/dist/config/index.d.ts +2 -1
- package/dist/config/provider.d.ts +2 -1
- package/dist/hooks/swap/useSwap.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/style.css.gz +0 -0
- package/package.json +19 -8
|
Binary file
|
package/dist/config/index.d.ts
CHANGED
|
@@ -8,4 +8,5 @@ export declare const SlippageList: {
|
|
|
8
8
|
export declare const APP_ENV = "mainnet";
|
|
9
9
|
declare const _default: EnvConfig;
|
|
10
10
|
export default _default;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const DefaultClmmPartner = "0x45f3c0814d7be4aa5fbd32d7e3c40f3c062a2b63eaf5ec4f8c1539b5987b11af";
|
|
12
|
+
export declare const DefaultDlmmPartner = "0x5883e7069a038d025e077b8a3eac97b87288b43ec1e7c65ddbf24faf6c0827ac";
|
|
@@ -29,7 +29,8 @@ export declare enum AggregatorProvider {
|
|
|
29
29
|
FULLSAIL = "FULLSAIL",
|
|
30
30
|
CETUSDLMM = "CETUSDLMM",
|
|
31
31
|
FERRACLMM = "FERRACLMM",
|
|
32
|
-
FERRADLMM = "FERRADLMM"
|
|
32
|
+
FERRADLMM = "FERRADLMM",
|
|
33
|
+
BOLT = "BOLT"
|
|
33
34
|
}
|
|
34
35
|
export type MarketType = "pyth" | "coingecko" | "birdeye" | "Cetus";
|
|
35
36
|
export type AggregatorDex = {
|
|
@@ -6,7 +6,7 @@ export declare function useSwapHook(): {
|
|
|
6
6
|
toBalanceInfo: import('../../types').TokenBalance | undefined;
|
|
7
7
|
fromAmountValue: string;
|
|
8
8
|
toAmountValue: string;
|
|
9
|
-
doSwapAction: (data: SwapRouterData, partner?: string) => Promise<void>;
|
|
9
|
+
doSwapAction: (data: SwapRouterData, partner?: string, dlmmPartner?: string) => Promise<void>;
|
|
10
10
|
reCalculateRouteData: () => void;
|
|
11
11
|
refreshMarketPrice: () => void;
|
|
12
12
|
scamsText: string | undefined;
|