@dhedge/trading-widget 3.5.6 → 3.5.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/flat-money.d.ts +10 -6
- package/core-kit/const/links.d.ts +1 -0
- package/core-kit/utils/flat-money.d.ts +6 -1
- package/{index-c5d3fafa.js → index-878dec16.js} +5695 -5681
- package/{index-118055c7.cjs → index-95c649a0.cjs} +46 -46
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{pyth-adapter-3d9438f0.js → pyth-adapter-60b7dac5.js} +1 -1
- package/{pyth-adapter-afedc47b.cjs → pyth-adapter-cfe0b9e2.cjs} +1 -1
- package/style.css +1 -1
- package/trading-widget/components/widget/widget-input/all-assets-composition-table/all-assets-composition-table.hooks.d.ts +2 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
export declare const FLAT_MONEY_LEVERAGED_ASSET_ADDRESSES: string[];
|
|
2
|
+
export declare const FLAT_MONEY_COLLATERAL_MAP: {
|
|
3
|
+
[x: string]: {
|
|
4
|
+
symbol: string;
|
|
5
|
+
decimals: number;
|
|
6
|
+
address: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export declare const FLAT_MONEY_V1_UNIT_ADDRESS = "0xb95fb324b8a2faf8ec4f76e3df46c718402736e2";
|
|
10
|
+
export declare const FLAT_MONEY_UNIT_ADDRESSES: string[];
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import type { Address } from 'viem';
|
|
2
2
|
export declare const isFmpAirdropVaultAddress: (address: Address) => boolean;
|
|
3
3
|
export declare const isFlatMoneyLeveragedAsset: (address: Address) => boolean;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const getFlatMoneyCollateralByLeverageAddress: (address: string) => {
|
|
5
|
+
symbol: string;
|
|
6
|
+
decimals: number;
|
|
7
|
+
address: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const getFlatMoneyLinkByUnitAddress: (address: string) => "https://flat.money/flatcoin" | "https://v1.flat.money/flatcoin";
|