@dhedge/trading-widget 3.10.3 → 3.10.5
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/core-kit/const/gmx.d.ts +4 -3
- package/core-kit/const/tokens/arbitrum.d.ts +1 -0
- package/core-kit/hooks/pool/multicall/use-pool.dynamic.d.ts +2 -1
- package/index.cjs +42 -42
- package/index.d.ts +1 -1
- package/index.js +3133 -3120
- package/package.json +1 -1
package/core-kit/const/gmx.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ import type { TradingToken } from 'core-kit/types';
|
|
|
2
2
|
export declare const GMX_MARKET_ASSETS_MAP: {
|
|
3
3
|
readonly SOL_USDC_ARBITRUM: "0x09400d9db990d5ed3f35d7be61dfaeb900af03c9";
|
|
4
4
|
readonly BTC_USDC_ARBITRUM: "0x47c031236e19d024b42f8ae6780e44a573170703";
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
5
|
+
readonly WETH_WETH_ARBITRUM: "0x70d95587d40a2caf56bd97485ab3eec10bee6336";
|
|
6
|
+
readonly WETH_USDC_ARBITRUM: "0x450bb6774dd8a756274e0ab4107953259d2ac541";
|
|
7
|
+
readonly SUI_USDC_ARBITRUM: "0x6ecf2133e2c9751caadcb6958b9654bae198a797";
|
|
7
8
|
};
|
|
8
|
-
export declare const GMX_MARKET_ASSETS: ("0x09400d9db990d5ed3f35d7be61dfaeb900af03c9" | "0x47c031236e19d024b42f8ae6780e44a573170703" | "0x70d95587d40a2caf56bd97485ab3eec10bee6336" | "0x450bb6774dd8a756274e0ab4107953259d2ac541")[];
|
|
9
|
+
export declare const GMX_MARKET_ASSETS: ("0x09400d9db990d5ed3f35d7be61dfaeb900af03c9" | "0x47c031236e19d024b42f8ae6780e44a573170703" | "0x70d95587d40a2caf56bd97485ab3eec10bee6336" | "0x450bb6774dd8a756274e0ab4107953259d2ac541" | "0x6ecf2133e2c9751caadcb6958b9654bae198a797")[];
|
|
9
10
|
export declare const GMX_COLLATERAL_MAP: Record<string, TradingToken>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { PoolContractCallParams } from 'core-kit/types';
|
|
2
2
|
type UsePoolDynamicParams = PoolContractCallParams & {
|
|
3
3
|
enabled?: boolean;
|
|
4
|
+
refetchInterval?: number;
|
|
4
5
|
};
|
|
5
|
-
export declare const usePoolDynamic: ({ address, chainId, enabled, }: UsePoolDynamicParams) => import("wagmi").UseReadContractsReturnType<readonly [{
|
|
6
|
+
export declare const usePoolDynamic: ({ address, chainId, refetchInterval, enabled, }: UsePoolDynamicParams) => import("wagmi").UseReadContractsReturnType<readonly [{
|
|
6
7
|
readonly address: `0x${string}`;
|
|
7
8
|
readonly abi: readonly [{
|
|
8
9
|
readonly inputs: readonly [{
|