@dhedge/trading-widget 5.3.2 → 5.4.0-canary.1
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 +0 -1
- package/core-kit/const/network.d.ts +64 -2
- package/core-kit/types/trading.types.d.ts +1 -1
- package/index.cjs +1 -1
- package/index.d.ts +1 -1
- package/index.js +2780 -2781
- package/package.json +1 -1
- package/trading-widget/components/widget/widget-overlay/withdraw-stepper-overlay/withdraw-stepper-overlay.hooks.d.ts +0 -2
package/core-kit/const/gmx.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export declare const GMX_MARKET_ASSETS_MAP: {
|
|
|
13
13
|
readonly BNB_WBTC_USDC_ARBITRUM: "0x065577D05c3D4C11505ed7bc97BBF85d462A6A6f";
|
|
14
14
|
readonly LINK_ARBITRUM: "0x7f1fa204bb700853d36994da19f830b6ad18455c";
|
|
15
15
|
readonly PUMP_ARBITRUM: "0x4c0bb704529fa49a26bd854802d70206982c6f1b";
|
|
16
|
-
readonly GOLD_ARBITRUM: "0xeb28ad1a2e497f4acc5d9b87e7b496623c93061e";
|
|
17
16
|
};
|
|
18
17
|
export type GmxMarketAsset = (typeof GMX_MARKET_ASSETS_MAP)[keyof typeof GMX_MARKET_ASSETS_MAP];
|
|
19
18
|
export declare const GMX_MARKET_ASSETS: GmxMarketAsset[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { arbitrum, base, mainnet, optimism, polygon } from 'wagmi/chains';
|
|
1
|
+
import { arbitrum, base, hyperEvm, mainnet, optimism, polygon } from 'wagmi/chains';
|
|
2
2
|
import type { ChainId, ChainNativeTokenMap } from '../types';
|
|
3
3
|
export declare const CHAIN_MAP: {
|
|
4
4
|
readonly 1: {
|
|
@@ -847,8 +847,70 @@ export declare const CHAIN_MAP: {
|
|
|
847
847
|
uid?: undefined;
|
|
848
848
|
} | undefined>, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>) | undefined;
|
|
849
849
|
};
|
|
850
|
+
readonly 999: {
|
|
851
|
+
blockExplorers: {
|
|
852
|
+
readonly default: {
|
|
853
|
+
readonly name: "HyperEVMScan";
|
|
854
|
+
readonly url: "https://hyperevmscan.io";
|
|
855
|
+
};
|
|
856
|
+
};
|
|
857
|
+
blockTime?: number | undefined;
|
|
858
|
+
contracts?: {
|
|
859
|
+
[x: string]: import("viem").ChainContract | {
|
|
860
|
+
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
861
|
+
} | undefined;
|
|
862
|
+
ensRegistry?: import("viem").ChainContract | undefined;
|
|
863
|
+
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
864
|
+
multicall3?: import("viem").ChainContract | undefined;
|
|
865
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
866
|
+
} | undefined;
|
|
867
|
+
ensTlds?: readonly string[] | undefined;
|
|
868
|
+
id: 999;
|
|
869
|
+
name: "HyperEVM";
|
|
870
|
+
nativeCurrency: {
|
|
871
|
+
readonly name: "HYPE";
|
|
872
|
+
readonly symbol: "HYPE";
|
|
873
|
+
readonly decimals: 18;
|
|
874
|
+
};
|
|
875
|
+
experimental_preconfirmationTime?: number | undefined;
|
|
876
|
+
rpcUrls: {
|
|
877
|
+
readonly default: {
|
|
878
|
+
readonly http: readonly ["https://rpc.hyperliquid.xyz/evm"];
|
|
879
|
+
};
|
|
880
|
+
};
|
|
881
|
+
sourceId?: number | undefined;
|
|
882
|
+
testnet: false;
|
|
883
|
+
custom?: Record<string, unknown> | undefined;
|
|
884
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
885
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
886
|
+
formatters?: undefined;
|
|
887
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters<import("wagmi/chains").Chain | undefined, import("viem").Account | undefined, import("wagmi/chains").Chain | undefined, `0x${string}` | import("viem").Account | undefined, import("viem").PrepareTransactionRequestRequest<import("wagmi/chains").Chain | undefined, import("wagmi/chains").Chain | undefined, import("wagmi/chains").Chain | undefined>>, options: {
|
|
888
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
889
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters<import("wagmi/chains").Chain | undefined, import("viem").Account | undefined, import("wagmi/chains").Chain | undefined, `0x${string}` | import("viem").Account | undefined, import("viem").PrepareTransactionRequestRequest<import("wagmi/chains").Chain | undefined, import("wagmi/chains").Chain | undefined, import("wagmi/chains").Chain | undefined>>>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters<import("wagmi/chains").Chain | undefined, import("viem").Account | undefined, import("wagmi/chains").Chain | undefined, `0x${string}` | import("viem").Account | undefined, import("viem").PrepareTransactionRequestRequest<import("wagmi/chains").Chain | undefined, import("wagmi/chains").Chain | undefined, import("wagmi/chains").Chain | undefined>>, options: {
|
|
890
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
891
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters<import("wagmi/chains").Chain | undefined, import("viem").Account | undefined, import("wagmi/chains").Chain | undefined, `0x${string}` | import("viem").Account | undefined, import("viem").PrepareTransactionRequestRequest<import("wagmi/chains").Chain | undefined, import("wagmi/chains").Chain | undefined, import("wagmi/chains").Chain | undefined>>>) | undefined, options: {
|
|
892
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
893
|
+
}] | undefined;
|
|
894
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable<bigint, number>> | undefined;
|
|
895
|
+
verifyHash?: ((client: import('../types').Client<import("viem").Transport, import("wagmi/chains").Chain | undefined, import("viem").Account | undefined, undefined, {
|
|
896
|
+
[x: string]: unknown;
|
|
897
|
+
account?: undefined;
|
|
898
|
+
batch?: undefined;
|
|
899
|
+
cacheTime?: undefined;
|
|
900
|
+
ccipRead?: undefined;
|
|
901
|
+
chain?: undefined;
|
|
902
|
+
experimental_blockTag?: undefined;
|
|
903
|
+
key?: undefined;
|
|
904
|
+
name?: undefined;
|
|
905
|
+
pollingInterval?: undefined;
|
|
906
|
+
request?: undefined;
|
|
907
|
+
transport?: undefined;
|
|
908
|
+
type?: undefined;
|
|
909
|
+
uid?: undefined;
|
|
910
|
+
} | undefined>, parameters: import("viem").VerifyHashActionParameters) => Promise<boolean>) | undefined;
|
|
911
|
+
};
|
|
850
912
|
};
|
|
851
913
|
export declare const CHAIN_NATIVE_TOKENS: ChainNativeTokenMap;
|
|
852
914
|
export declare const MAX_GAS_LIMIT_MAP: Record<ChainId, number>;
|
|
853
915
|
export declare const ALCHEMY_RPC_URL_MAP: Record<number, string>;
|
|
854
|
-
export { polygon, optimism, arbitrum, base, mainnet };
|
|
916
|
+
export { polygon, optimism, arbitrum, base, mainnet, hyperEvm };
|