@dhedge/trading-widget 2.0.5 → 2.0.7
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/tokens/polygon.d.ts +1 -1
- package/core-kit/hooks/pool/use-pool-dynamic-contract-data.d.ts +1 -0
- package/core-kit/types/trading.types.d.ts +1 -1
- package/core-kit/types/web3.types.d.ts +1 -0
- package/{index-b369fca0.cjs → index-10e5f6b7.cjs} +28 -28
- package/{index-9af9c4f7.js → index-f50b0dfa.js} +763 -762
- package/index.cjs +1 -1
- package/index.d.ts +1 -1
- package/index.js +13 -13
- package/package.json +2 -1
- package/{pyth-adapter-71011929.cjs → pyth-adapter-5256483f.cjs} +1 -1
- package/{pyth-adapter-162029f2.js → pyth-adapter-b09c2a74.js} +1 -1
|
@@ -4,7 +4,7 @@ export declare const BRIDGED_USDC_POLYGON: TradingToken;
|
|
|
4
4
|
export declare const USDC_POLYGON: TradingToken;
|
|
5
5
|
export declare const PAXG_POLYGON: TradingToken;
|
|
6
6
|
export declare const WBTC_POLYGON: TradingToken;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const WPOL_POLYGON: TradingToken;
|
|
8
8
|
export declare const USDT_POLYGON: TradingToken;
|
|
9
9
|
export declare const DAI_POLYGON: TradingToken;
|
|
10
10
|
export declare const TBTC_POLYGON: TradingToken;
|
|
@@ -14,6 +14,7 @@ export declare const usePoolDynamicContractData: ({ address, chainId, }: PoolDyn
|
|
|
14
14
|
streamingFee?: string | undefined;
|
|
15
15
|
entryFee?: string | undefined;
|
|
16
16
|
exitFee?: string | undefined;
|
|
17
|
+
managerAddress?: string | undefined;
|
|
17
18
|
cooldownActive: boolean;
|
|
18
19
|
cooldownEndsInTime: string;
|
|
19
20
|
};
|
|
@@ -8,7 +8,7 @@ export interface TradingParams {
|
|
|
8
8
|
poolDepositAddress?: Address;
|
|
9
9
|
receiveAssetAddress: Address;
|
|
10
10
|
}
|
|
11
|
-
export type NativeTokenSymbol = 'ETH' | '
|
|
11
|
+
export type NativeTokenSymbol = 'ETH' | 'POL';
|
|
12
12
|
export type ChainNativeTokenMap = {
|
|
13
13
|
[key in ChainId]?: {
|
|
14
14
|
nativeTokenSymbol: NativeTokenSymbol;
|