@dodoex/widgets 3.19.0-mint.1 → 3.19.0-rise.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/dist/cjs/locales/en-US.js +1 -1
- package/dist/cjs/locales/zh-CN.js +1 -1
- package/dist/{helper-B4oHjI87.js → helper-BceQYAUX.js} +1 -1
- package/dist/{helper-BGmFFX2X.cjs → helper-DRvnFVbl.cjs} +1 -1
- package/dist/index-BDeMH7EJ.js +14 -0
- package/dist/{index-CA-NT4Zg.cjs → index-BleJojR8.cjs} +1 -1
- package/dist/{index-Zy4q0Vxq.cjs → index-BoAZU9FR.cjs} +1 -1
- package/dist/{index-DzjzHoQX.js → index-Bq3v7WHE.js} +1 -1
- package/dist/index-CoToNT1y.cjs +14 -0
- package/dist/index-IOIH8P4B.js +12 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/zh-CN.js +1 -1
- package/dist/types/hooks/ConnectWallet/Connectors/EIP1193.d.ts +21 -0
- package/dist/types/hooks/Submission/types.d.ts +1 -2
- package/package.json +3 -3
- package/dist/index-C1USugKY.js +0 -12
- package/dist/index-G7TaeCdO.cjs +0 -14
- package/dist/index-HUJxiyAU.js +0 -14
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/BifrostMintDialog.d.ts +0 -9
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/BifrostMintPanel.d.ts +0 -7
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/config.d.ts +0 -7
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/index.d.ts +0 -3
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/types.d.ts +0 -9
- package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/useBifrostApy.d.ts +0 -11
package/dist/types/widgets/PoolWidget/PoolDetail/components/BifrostMint/BifrostMintDialog.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BifrostMintToken } from './types';
|
|
3
|
-
interface Props {
|
|
4
|
-
config: BifrostMintToken;
|
|
5
|
-
open: boolean;
|
|
6
|
-
onClose: () => void;
|
|
7
|
-
}
|
|
8
|
-
export declare function BifrostMintDialog({ config, open, onClose }: Props): React.JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BifrostMintToken } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Internal list of Bifrost LST mint tokens.
|
|
4
|
-
* Matching is done by comparing wrapToken.address against pool base/quote tokens on the same chainId.
|
|
5
|
-
* Contract address is resolved at runtime via getTransparentUpgradeableProxyWithProsContractAddressByChainId.
|
|
6
|
-
*/
|
|
7
|
-
export declare const BIFROST_MINT_TOKENS: BifrostMintToken[];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TokenInfo } from '../../../../../hooks/Token/type';
|
|
2
|
-
export interface BifrostMintToken {
|
|
3
|
-
/** The source token to send (e.g. native PHRS/ASTR) */
|
|
4
|
-
token: TokenInfo;
|
|
5
|
-
/** The wrapped liquid staking token received after minting (e.g. vASTR).
|
|
6
|
-
* Used to match against pool tokens to decide whether to show this module. */
|
|
7
|
-
wrapToken: TokenInfo;
|
|
8
|
-
chainId: number;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Fetch APY data from the Bifrost API.
|
|
3
|
-
* The API returns a map of token symbol → data including apy.
|
|
4
|
-
* @param wrapTokenSymbol - e.g. "vASTR", "vDOT"
|
|
5
|
-
*/
|
|
6
|
-
export declare function useBifrostApy(wrapTokenSymbol: string | undefined): {
|
|
7
|
-
apy: string | number | undefined;
|
|
8
|
-
apyDisplay: string | undefined;
|
|
9
|
-
isLoading: boolean;
|
|
10
|
-
error: Error | null;
|
|
11
|
-
};
|