@dhedge/trading-widget 3.11.0 → 3.11.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.
@@ -1,10 +1,12 @@
1
1
  import type { TradingToken } from 'core-kit/types';
2
+ export type GmxMarketAsset = '0x09400d9db990d5ed3f35d7be61dfaeb900af03c9' | '0x47c031236e19d024b42f8ae6780e44a573170703' | '0x70d95587d40a2caf56bd97485ab3eec10bee6336' | '0x450bb6774dd8a756274e0ab4107953259d2ac541' | '0x6ecf2133e2c9751caadcb6958b9654bae198a797' | '0x6853ea96ff216fab11d2d930ce3c508556a4bdc4';
2
3
  export declare const GMX_MARKET_ASSETS_MAP: {
3
- readonly SOL_USDC_ARBITRUM: "0x09400d9db990d5ed3f35d7be61dfaeb900af03c9";
4
- readonly BTC_USDC_ARBITRUM: "0x47c031236e19d024b42f8ae6780e44a573170703";
4
+ readonly SOL_ARBITRUM: "0x09400d9db990d5ed3f35d7be61dfaeb900af03c9";
5
+ readonly BTC_ARBITRUM: "0x47c031236e19d024b42f8ae6780e44a573170703";
5
6
  readonly WETH_WETH_ARBITRUM: "0x70d95587d40a2caf56bd97485ab3eec10bee6336";
6
7
  readonly WETH_USDC_ARBITRUM: "0x450bb6774dd8a756274e0ab4107953259d2ac541";
7
- readonly SUI_USDC_ARBITRUM: "0x6ecf2133e2c9751caadcb6958b9654bae198a797";
8
+ readonly SUI_ARBITRUM: "0x6ecf2133e2c9751caadcb6958b9654bae198a797";
9
+ readonly DOGE_ARBITRUM: "0x6853ea96ff216fab11d2d930ce3c508556a4bdc4";
8
10
  };
9
- export declare const GMX_MARKET_ASSETS: ("0x09400d9db990d5ed3f35d7be61dfaeb900af03c9" | "0x47c031236e19d024b42f8ae6780e44a573170703" | "0x70d95587d40a2caf56bd97485ab3eec10bee6336" | "0x450bb6774dd8a756274e0ab4107953259d2ac541" | "0x6ecf2133e2c9751caadcb6958b9654bae198a797")[];
10
- export declare const GMX_COLLATERAL_MAP: Record<string, TradingToken>;
11
+ export declare const GMX_MARKET_ASSETS: ("0x09400d9db990d5ed3f35d7be61dfaeb900af03c9" | "0x47c031236e19d024b42f8ae6780e44a573170703" | "0x70d95587d40a2caf56bd97485ab3eec10bee6336" | "0x450bb6774dd8a756274e0ab4107953259d2ac541" | "0x6ecf2133e2c9751caadcb6958b9654bae198a797" | "0x6853ea96ff216fab11d2d930ce3c508556a4bdc4")[];
12
+ export declare const GMX_COLLATERAL_MAP: Record<GmxMarketAsset, TradingToken>;
@@ -7,7 +7,6 @@ export * from './contracts';
7
7
  export * from './config';
8
8
  export * from './error';
9
9
  export * from './tokens';
10
- export * from './synthetix';
11
10
  export * from './links';
12
11
  export * from './flat-money';
13
12
  export * from './trading';
@@ -8,7 +8,6 @@ export declare const usePoolFees: ({ address, chainId }: PoolFeesParams) => {
8
8
  streamingFee: string;
9
9
  entryFee: string;
10
10
  exitFee: string;
11
- withdrawalFeeNumber: number;
12
11
  exitFeeNumber: number;
13
12
  };
14
13
  export {};
@@ -1,7 +1,3 @@
1
1
  import type { Address } from 'viem';
2
2
  export declare const isGmxLeveragedAsset: (address: Address) => boolean;
3
- export declare const getGmxCollateralByLeverageAddress: (address: string) => import("../types").TradingToken | {
4
- symbol: string;
5
- decimals: number;
6
- address: `0x${string}`;
7
- };
3
+ export declare const getGmxCollateralByLeverageAddress: (address: string) => import("../types").TradingToken;