@multiversx/sdk-dapp-liquidity 1.1.0-alpha.2 → 1.1.0-alpha.21
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/README.md +6 -1
- package/api/getTransactions.d.ts +8 -2
- package/api/getTransactions.js +23 -3
- package/api/getTransactions.mjs +23 -3
- package/api/tests/getChains.spec.js +2 -1
- package/api/tests/getChains.spec.mjs +2 -1
- package/api/tests/getTokens.spec.js +2 -2
- package/api/tests/getTokens.spec.mjs +2 -2
- package/api/tests/getTransactions.spec.js +79 -69
- package/api/tests/getTransactions.spec.mjs +79 -69
- package/constants/index.d.ts +1 -1
- package/constants/index.js +1 -1
- package/constants/index.mjs +1 -1
- package/dto/Chain.dto.d.ts +3 -1
- package/dto/ConfirmRate.dto.d.ts +1 -0
- package/dto/Token.dto.d.ts +7 -2
- package/index.js +44 -16
- package/index.mjs +14 -16
- package/package.json +10 -6
- package/reactjs/components/BridgeForm/BridgeForm.d.ts +3 -1
- package/reactjs/components/BridgeForm/BridgeForm.js +182 -87
- package/reactjs/components/BridgeForm/BridgeForm.mjs +153 -58
- package/reactjs/components/BridgeHistory/BridgeHistory.js +73 -26
- package/reactjs/components/BridgeHistory/BridgeHistory.mjs +68 -21
- package/reactjs/components/Connect/BridgeAccountDisplay.js +2 -5
- package/reactjs/components/Connect/BridgeAccountDisplay.mjs +2 -5
- package/reactjs/components/Connect/CustomConnectButton.js +2 -5
- package/reactjs/components/Connect/CustomConnectButton.mjs +1 -4
- package/reactjs/components/Connect/MvxConnectButton.d.ts +2 -4
- package/reactjs/components/Connect/MvxConnectButton.js +2 -2
- package/reactjs/components/Connect/MvxConnectButton.mjs +2 -2
- package/reactjs/components/Connect/SwitchChainButton.js +2 -6
- package/reactjs/components/Connect/SwitchChainButton.mjs +1 -5
- package/reactjs/components/CopyButton/CopyButton.js +2 -2
- package/reactjs/components/CopyButton/CopyButton.mjs +2 -2
- package/reactjs/components/DisplayAmount/components/AnimateNumber/AnimateNumber.js +5 -5
- package/reactjs/components/Error/Error.d.ts +6 -0
- package/reactjs/components/Error/Error.js +67 -0
- package/reactjs/components/Error/Error.mjs +66 -0
- package/reactjs/components/Error/index.d.ts +1 -0
- package/reactjs/components/Error/index.js +5 -0
- package/reactjs/components/Error/index.mjs +4 -0
- package/reactjs/components/TokenSelector/TokenSelector.d.ts +2 -1
- package/reactjs/components/TokenSelector/TokenSelector.js +17 -9
- package/reactjs/components/TokenSelector/TokenSelector.mjs +13 -5
- package/reactjs/components/TokenSelector/components/ChainSelect/ChainSelect.d.ts +2 -1
- package/reactjs/components/TokenSelector/components/ChainSelect/ChainSelect.js +7 -3
- package/reactjs/components/TokenSelector/components/ChainSelect/ChainSelect.mjs +4 -0
- package/reactjs/components/TokenSelector/components/SelectContent.d.ts +2 -1
- package/reactjs/components/TokenSelector/components/SelectContent.js +12 -9
- package/reactjs/components/TokenSelector/components/SelectContent.mjs +4 -1
- package/reactjs/components/TokenSelector/components/TokenIcon.js +3 -3
- package/reactjs/components/TokenSelector/components/TokenItem.js +9 -9
- package/reactjs/components/TokenSelector/components/TokenItem.mjs +6 -6
- package/reactjs/components/base/MxCard/MxCard.js +2 -2
- package/reactjs/components/base/MxCircleLoader/MxCircleLoader.d.ts +4 -0
- package/reactjs/components/base/MxCircleLoader/MxCircleLoader.js +29 -0
- package/reactjs/components/base/MxCircleLoader/MxCircleLoader.mjs +28 -0
- package/reactjs/components/base/MxCircleLoader/index.d.ts +1 -0
- package/reactjs/components/base/MxCircleLoader/index.js +5 -0
- package/reactjs/components/base/MxCircleLoader/index.mjs +4 -0
- package/reactjs/components/base/MxLink/MxLink.js +2 -2
- package/reactjs/components/base/MxSearch/MxSearch.js +4 -4
- package/reactjs/components/base/MxSlideover/MxSlideover.js +4 -4
- package/reactjs/components/base/MxTooltip/MxTooltip.js +9 -9
- package/reactjs/components/base/MxTooltip/components/TooltipContainer/TooltipContainer.js +2 -2
- package/reactjs/components/index.d.ts +1 -0
- package/reactjs/components/index.js +2 -0
- package/reactjs/components/index.mjs +2 -0
- package/reactjs/context/Web3AppProvider.d.ts +3 -1
- package/reactjs/context/Web3AppProvider.js +7 -5
- package/reactjs/context/Web3AppProvider.mjs +4 -2
- package/reactjs/context/useWeb3App.js +2 -2
- package/reactjs/hooks/index.js +1 -1
- package/reactjs/hooks/index.mjs +1 -1
- package/reactjs/hooks/useAccount.js +1 -5
- package/reactjs/hooks/useAccount.mjs +1 -5
- package/reactjs/hooks/useBalances.d.ts +4 -4
- package/reactjs/hooks/useBalances.js +16 -1
- package/reactjs/hooks/useBalances.mjs +16 -1
- package/reactjs/hooks/useBridgeFormik.js +9 -16
- package/reactjs/hooks/useBridgeFormik.mjs +0 -7
- package/reactjs/hooks/useDebounce.js +3 -3
- package/reactjs/hooks/useFetchBridgeData.d.ts +14 -4
- package/reactjs/hooks/useFetchTokens.d.ts +14 -4
- package/reactjs/hooks/useFetchTokens.js +9 -9
- package/reactjs/hooks/useFetchTokens.mjs +2 -2
- package/reactjs/hooks/useFiatData.d.ts +7 -2
- package/reactjs/hooks/useFiatData.js +6 -6
- package/reactjs/hooks/useFiatData.mjs +1 -1
- package/reactjs/hooks/useGetChainId.js +3 -3
- package/reactjs/hooks/useGetChainId.mjs +1 -1
- package/reactjs/hooks/useResolveTokenChain.js +2 -2
- package/reactjs/hooks/useSendTransactions.js +2 -2
- package/reactjs/hooks/useSignTransaction.d.ts +93 -67
- package/reactjs/hooks/useSignTransaction.js +53 -4
- package/reactjs/hooks/useSignTransaction.mjs +53 -4
- package/reactjs/hooks/validation/useTestHasEnoughFunds.js +3 -3
- package/reactjs/hooks/validation/useTestIsConnected.js +2 -2
- package/reactjs/index.js +44 -16
- package/reactjs/index.mjs +14 -16
- package/reactjs/init/init.d.ts +220 -1
- package/reactjs/init/init.js +34 -10
- package/reactjs/init/init.mjs +31 -7
- package/reactjs/init/tests/init.spec.js +5 -6
- package/reactjs/init/tests/init.spec.mjs +5 -6
- package/reactjs/queries/index.d.ts +0 -1
- package/reactjs/queries/index.js +0 -2
- package/reactjs/queries/index.mjs +1 -3
- package/reactjs/queries/useGetEvmTokensBalances.query.d.ts +8 -3
- package/reactjs/queries/useGetEvmTokensBalances.query.js +15 -18
- package/reactjs/queries/useGetEvmTokensBalances.query.mjs +15 -18
- package/reactjs/queries/useGetHistory.query.d.ts +9 -1
- package/reactjs/queries/useGetHistory.query.js +23 -5
- package/reactjs/queries/useGetHistory.query.mjs +23 -5
- package/reactjs/queries/useGetMvxTokensBalances.query.d.ts +7 -2
- package/reactjs/queries/useGetMvxTokensBalances.query.js +2 -2
- package/reactjs/reexports.d.ts +2 -1
- package/reactjs/reexports.js +41 -13
- package/reactjs/reexports.mjs +11 -13
- package/reactjs/utils/getInitialTokens.d.ts +4 -1
- package/reactjs/utils/getInitialTokens.js +3 -3
- package/reactjs/utils/getInitialTokens.mjs +3 -3
- package/style.css +33 -1730
- package/types/chainType.d.ts +6 -0
- package/types/chainType.js +11 -0
- package/types/chainType.mjs +10 -0
- package/types/transaction.d.ts +28 -0
- package/types/utxo.d.ts +11 -0
- package/types/utxo.js +2 -0
- package/types/utxo.mjs +1 -0
- package/{useBalances-C_69CFoa.mjs → useBalances-Bom1mw1J.mjs} +101 -23
- package/{useBalances-C4YhEYxy.js → useBalances-gZTsFZHe.js} +102 -24
- package/index-BIVnypNe.mjs +0 -108
- package/index-Ben8n3bd.js +0 -58656
- package/index-CnKr4rL1.mjs +0 -91
- package/index-CnuruJNu.js +0 -329
- package/index-DsBh-EBw.js +0 -108
- package/index-iN9APQ6x.mjs +0 -58735
- package/modules/fiat/components/FiatForm/FiatForm.d.ts +0 -9
- package/modules/fiat/components/FiatForm/FiatForm.js +0 -314
- package/modules/fiat/components/FiatForm/FiatForm.mjs +0 -313
- package/modules/fiat/components/FiatForm/components/AmountInput/AmountInput.d.ts +0 -13
- package/modules/fiat/components/FiatForm/components/AmountInput/AmountInput.js +0 -117
- package/modules/fiat/components/FiatForm/components/AmountInput/AmountInput.mjs +0 -116
- package/modules/fiat/components/FiatForm/components/AmountInput/index.d.ts +0 -1
- package/modules/fiat/components/FiatForm/components/AmountInput/index.js +0 -5
- package/modules/fiat/components/FiatForm/components/AmountInput/index.mjs +0 -4
- package/modules/fiat/components/FiatForm/components/RateReloading/RateReloading.d.ts +0 -7
- package/modules/fiat/components/FiatForm/components/RateReloading/RateReloading.js +0 -74
- package/modules/fiat/components/FiatForm/components/RateReloading/RateReloading.mjs +0 -73
- package/modules/fiat/components/FiatForm/components/TokenSelector/TokenSelector.d.ts +0 -14
- package/modules/fiat/components/FiatForm/components/TokenSelector/TokenSelector.js +0 -94
- package/modules/fiat/components/FiatForm/components/TokenSelector/TokenSelector.mjs +0 -93
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/SelectContainer.d.ts +0 -7
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/SelectContainer.js +0 -82
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/SelectContainer.mjs +0 -81
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/SelectContent.d.ts +0 -7
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/SelectContent.js +0 -91
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/SelectContent.mjs +0 -90
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/SelectedOption.d.ts +0 -5
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/SelectedOption.js +0 -30
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/SelectedOption.mjs +0 -29
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenIcon.d.ts +0 -8
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenIcon.js +0 -103
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenIcon.mjs +0 -102
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenItem.d.ts +0 -7
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenItem.js +0 -33
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenItem.mjs +0 -32
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenList.d.ts +0 -7
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenList.js +0 -21
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenList.mjs +0 -20
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenSymbol.d.ts +0 -9
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenSymbol.js +0 -26
- package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenSymbol.mjs +0 -25
- package/modules/fiat/components/FiatForm/components/TokenSelector/index.d.ts +0 -1
- package/modules/fiat/components/FiatForm/components/TokenSelector/index.js +0 -5
- package/modules/fiat/components/FiatForm/components/TokenSelector/index.mjs +0 -4
- package/modules/fiat/components/FiatForm/index.d.ts +0 -1
- package/modules/fiat/components/FiatForm/index.js +0 -5
- package/modules/fiat/components/FiatForm/index.mjs +0 -4
- package/modules/fiat/components/index.d.ts +0 -1
- package/modules/fiat/components/index.js +0 -5
- package/modules/fiat/components/index.mjs +0 -4
- package/modules/fiat/context/FiatProvider.d.ts +0 -8
- package/modules/fiat/context/FiatProvider.js +0 -24
- package/modules/fiat/context/FiatProvider.mjs +0 -23
- package/modules/fiat/context/queryClient.d.ts +0 -3
- package/modules/fiat/context/queryClient.js +0 -12
- package/modules/fiat/context/queryClient.mjs +0 -11
- package/modules/fiat/context/useFiat.d.ts +0 -1
- package/modules/fiat/context/useFiat.js +0 -13
- package/modules/fiat/context/useFiat.mjs +0 -12
- package/modules/fiat/hooks/index.d.ts +0 -2
- package/modules/fiat/hooks/index.js +0 -7
- package/modules/fiat/hooks/index.mjs +0 -6
- package/modules/fiat/hooks/useFiatData.d.ts +0 -7
- package/modules/fiat/hooks/useFiatData.js +0 -75
- package/modules/fiat/hooks/useFiatData.mjs +0 -74
- package/modules/fiat/hooks/validation/index.d.ts +0 -1
- package/modules/fiat/hooks/validation/index.js +0 -5
- package/modules/fiat/hooks/validation/index.mjs +0 -4
- package/modules/fiat/hooks/validation/useAmountSchema.d.ts +0 -2
- package/modules/fiat/hooks/validation/useAmountSchema.js +0 -27
- package/modules/fiat/hooks/validation/useAmountSchema.mjs +0 -9
- package/modules/fiat/index.d.ts +0 -8
- package/modules/fiat/index.js +0 -22
- package/modules/fiat/index.mjs +0 -21
- package/modules/fiat/init/index.d.ts +0 -2
- package/modules/fiat/init/index.js +0 -5
- package/modules/fiat/init/index.mjs +0 -4
- package/modules/fiat/init/init.d.ts +0 -22
- package/modules/fiat/init/init.js +0 -15
- package/modules/fiat/init/init.mjs +0 -14
- package/modules/fiat/queries/index.d.ts +0 -2
- package/modules/fiat/queries/index.js +0 -7
- package/modules/fiat/queries/index.mjs +0 -6
- package/modules/fiat/queries/useGetRate.mutation.d.ts +0 -6
- package/modules/fiat/queries/useGetRate.mutation.js +0 -20
- package/modules/fiat/queries/useGetRate.mutation.mjs +0 -19
- package/modules/fiat/queries/useGetTokens.query.d.ts +0 -5
- package/modules/fiat/queries/useGetTokens.query.js +0 -33
- package/modules/fiat/queries/useGetTokens.query.mjs +0 -32
- package/react-47kZTyAT.mjs +0 -51
- package/react-B_iI3-1z.mjs +0 -3133
- package/react-BomcNL1v.js +0 -254
- package/react-CqKlu0W0.js +0 -51
- package/react-R_xxu7fN.js +0 -3133
- package/react-cXurUY4Z.mjs +0 -254
- package/reactjs/queries/useGetTokens.query.d.ts +0 -3
- package/reactjs/queries/useGetTokens.query.js +0 -34
- package/reactjs/queries/useGetTokens.query.mjs +0 -33
- package/w3m-modal-Bhg44d6I.js +0 -356
- package/w3m-modal-Br2Ec3MM.mjs +0 -356
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
5
|
-
const modules_fiat_components_FiatForm_components_TokenSelector_components_TokenIcon = require("./TokenIcon.js");
|
|
6
|
-
const TokenItem = ({
|
|
7
|
-
token,
|
|
8
|
-
onClick,
|
|
9
|
-
selected
|
|
10
|
-
}) => {
|
|
11
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12
|
-
"div",
|
|
13
|
-
{
|
|
14
|
-
className: `token-item ${selected ? "liq-selected" : ""} liq-flex liq-cursor-pointer liq-items-center liq-justify-between liq-rounded-lg liq-p-2 hover:liq-bg-neutral-700 liq-bg-neutral-850`,
|
|
15
|
-
onClick: () => onClick(token),
|
|
16
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "liq-flex liq-w-full liq-items-center liq-relative", children: [
|
|
17
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18
|
-
modules_fiat_components_FiatForm_components_TokenSelector_components_TokenIcon.TokenIcon,
|
|
19
|
-
{
|
|
20
|
-
size: "sm",
|
|
21
|
-
token,
|
|
22
|
-
className: "liq-flex liq-items-center liq-justify-center"
|
|
23
|
-
}
|
|
24
|
-
),
|
|
25
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "liq-ml-2", children: [
|
|
26
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "liq-text-sm liq-font-bold", children: token.symbol }),
|
|
27
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "liq-text-xs liq-text-gray-400", children: token.name })
|
|
28
|
-
] })
|
|
29
|
-
] })
|
|
30
|
-
}
|
|
31
|
-
);
|
|
32
|
-
};
|
|
33
|
-
exports.TokenItem = TokenItem;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { TokenIcon } from "./TokenIcon.mjs";
|
|
3
|
-
const TokenItem = ({
|
|
4
|
-
token,
|
|
5
|
-
onClick,
|
|
6
|
-
selected
|
|
7
|
-
}) => {
|
|
8
|
-
return /* @__PURE__ */ jsx(
|
|
9
|
-
"div",
|
|
10
|
-
{
|
|
11
|
-
className: `token-item ${selected ? "liq-selected" : ""} liq-flex liq-cursor-pointer liq-items-center liq-justify-between liq-rounded-lg liq-p-2 hover:liq-bg-neutral-700 liq-bg-neutral-850`,
|
|
12
|
-
onClick: () => onClick(token),
|
|
13
|
-
children: /* @__PURE__ */ jsxs("div", { className: "liq-flex liq-w-full liq-items-center liq-relative", children: [
|
|
14
|
-
/* @__PURE__ */ jsx(
|
|
15
|
-
TokenIcon,
|
|
16
|
-
{
|
|
17
|
-
size: "sm",
|
|
18
|
-
token,
|
|
19
|
-
className: "liq-flex liq-items-center liq-justify-center"
|
|
20
|
-
}
|
|
21
|
-
),
|
|
22
|
-
/* @__PURE__ */ jsxs("div", { className: "liq-ml-2", children: [
|
|
23
|
-
/* @__PURE__ */ jsx("div", { className: "liq-text-sm liq-font-bold", children: token.symbol }),
|
|
24
|
-
/* @__PURE__ */ jsx("div", { className: "liq-text-xs liq-text-gray-400", children: token.name })
|
|
25
|
-
] })
|
|
26
|
-
] })
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
TokenItem
|
|
32
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
5
|
-
const modules_fiat_components_FiatForm_components_TokenSelector_components_TokenItem = require("./TokenItem.js");
|
|
6
|
-
const TokenList = ({
|
|
7
|
-
tokens,
|
|
8
|
-
onSelect,
|
|
9
|
-
selectedToken
|
|
10
|
-
}) => {
|
|
11
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "token-list liq-flex liq-flex-col liq-gap-1", children: tokens.map((token) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
12
|
-
modules_fiat_components_FiatForm_components_TokenSelector_components_TokenItem.TokenItem,
|
|
13
|
-
{
|
|
14
|
-
token,
|
|
15
|
-
onClick: onSelect,
|
|
16
|
-
selected: (selectedToken == null ? void 0 : selectedToken.address) === token.address
|
|
17
|
-
},
|
|
18
|
-
token.address
|
|
19
|
-
)) });
|
|
20
|
-
};
|
|
21
|
-
exports.TokenList = TokenList;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { TokenItem } from "./TokenItem.mjs";
|
|
3
|
-
const TokenList = ({
|
|
4
|
-
tokens,
|
|
5
|
-
onSelect,
|
|
6
|
-
selectedToken
|
|
7
|
-
}) => {
|
|
8
|
-
return /* @__PURE__ */ jsx("div", { className: "token-list liq-flex liq-flex-col liq-gap-1", children: tokens.map((token) => /* @__PURE__ */ jsx(
|
|
9
|
-
TokenItem,
|
|
10
|
-
{
|
|
11
|
-
token,
|
|
12
|
-
onClick: onSelect,
|
|
13
|
-
selected: (selectedToken == null ? void 0 : selectedToken.address) === token.address
|
|
14
|
-
},
|
|
15
|
-
token.address
|
|
16
|
-
)) });
|
|
17
|
-
};
|
|
18
|
-
export {
|
|
19
|
-
TokenList
|
|
20
|
-
};
|
package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenSymbol.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { TokenType } from 'types/token';
|
|
2
|
-
|
|
3
|
-
interface TokenSymbolProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
token: TokenType;
|
|
6
|
-
wrapperClassName?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const TokenSymbol: ({ token, className, wrapperClassName }: TokenSymbolProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
5
|
-
const reactjs_utils_mxClsx = require("../../../../../../../reactjs/utils/mxClsx.js");
|
|
6
|
-
const TokenSymbol = ({
|
|
7
|
-
token,
|
|
8
|
-
className = "",
|
|
9
|
-
wrapperClassName = ""
|
|
10
|
-
}) => {
|
|
11
|
-
if (!token) {
|
|
12
|
-
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: "..." });
|
|
13
|
-
}
|
|
14
|
-
const { symbol } = token;
|
|
15
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16
|
-
"div",
|
|
17
|
-
{
|
|
18
|
-
className: reactjs_utils_mxClsx.mxClsx(
|
|
19
|
-
"liq-flex liq-items-center liq-gap-2",
|
|
20
|
-
wrapperClassName
|
|
21
|
-
),
|
|
22
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("span", { className, children: symbol })
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
};
|
|
26
|
-
exports.TokenSymbol = TokenSymbol;
|
package/modules/fiat/components/FiatForm/components/TokenSelector/components/TokenSymbol.mjs
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { mxClsx } from "../../../../../../../reactjs/utils/mxClsx.mjs";
|
|
3
|
-
const TokenSymbol = ({
|
|
4
|
-
token,
|
|
5
|
-
className = "",
|
|
6
|
-
wrapperClassName = ""
|
|
7
|
-
}) => {
|
|
8
|
-
if (!token) {
|
|
9
|
-
return /* @__PURE__ */ jsx(Fragment, { children: "..." });
|
|
10
|
-
}
|
|
11
|
-
const { symbol } = token;
|
|
12
|
-
return /* @__PURE__ */ jsx(
|
|
13
|
-
"div",
|
|
14
|
-
{
|
|
15
|
-
className: mxClsx(
|
|
16
|
-
"liq-flex liq-items-center liq-gap-2",
|
|
17
|
-
wrapperClassName
|
|
18
|
-
),
|
|
19
|
-
children: /* @__PURE__ */ jsx("span", { className, children: symbol })
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
TokenSymbol
|
|
25
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './TokenSelector';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const modules_fiat_components_FiatForm_components_TokenSelector_TokenSelector = require("./TokenSelector.js");
|
|
5
|
-
exports.TokenSelector = modules_fiat_components_FiatForm_components_TokenSelector_TokenSelector.TokenSelector;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FiatForm';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './FiatForm';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { InitFiatOptions } from '../init';
|
|
2
|
-
import { PropsWithChildren } from 'react';
|
|
3
|
-
|
|
4
|
-
export type FiatContextProps = {
|
|
5
|
-
options: InitFiatOptions;
|
|
6
|
-
};
|
|
7
|
-
export declare const FiatContext: import('react').Context<FiatContextProps | undefined>;
|
|
8
|
-
export declare function FiatProvider({ children, options }: PropsWithChildren<FiatContextProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
5
|
-
const reactQuery = require("@tanstack/react-query");
|
|
6
|
-
const require$$0 = require("react");
|
|
7
|
-
const modules_fiat_context_queryClient = require("./queryClient.js");
|
|
8
|
-
const queryClient = modules_fiat_context_queryClient.getQueryClient();
|
|
9
|
-
const FiatContext = require$$0.createContext(
|
|
10
|
-
void 0
|
|
11
|
-
);
|
|
12
|
-
function FiatProvider({
|
|
13
|
-
children,
|
|
14
|
-
options
|
|
15
|
-
}) {
|
|
16
|
-
const value = require$$0.useMemo(() => {
|
|
17
|
-
return {
|
|
18
|
-
options
|
|
19
|
-
};
|
|
20
|
-
}, [options]);
|
|
21
|
-
return /* @__PURE__ */ jsxRuntime.jsx(FiatContext.Provider, { value, children: /* @__PURE__ */ jsxRuntime.jsx(reactQuery.QueryClientProvider, { client: queryClient, children }) });
|
|
22
|
-
}
|
|
23
|
-
exports.FiatContext = FiatContext;
|
|
24
|
-
exports.FiatProvider = FiatProvider;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { QueryClientProvider } from "@tanstack/react-query";
|
|
3
|
-
import { createContext, useMemo } from "react";
|
|
4
|
-
import { getQueryClient } from "./queryClient.mjs";
|
|
5
|
-
const queryClient = getQueryClient();
|
|
6
|
-
const FiatContext = createContext(
|
|
7
|
-
void 0
|
|
8
|
-
);
|
|
9
|
-
function FiatProvider({
|
|
10
|
-
children,
|
|
11
|
-
options
|
|
12
|
-
}) {
|
|
13
|
-
const value = useMemo(() => {
|
|
14
|
-
return {
|
|
15
|
-
options
|
|
16
|
-
};
|
|
17
|
-
}, [options]);
|
|
18
|
-
return /* @__PURE__ */ jsx(FiatContext.Provider, { value, children: /* @__PURE__ */ jsx(QueryClientProvider, { client: queryClient, children }) });
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
FiatContext,
|
|
22
|
-
FiatProvider
|
|
23
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const reactQuery = require("@tanstack/react-query");
|
|
5
|
-
let queryClient;
|
|
6
|
-
function getQueryClient() {
|
|
7
|
-
if (!queryClient) {
|
|
8
|
-
queryClient = new reactQuery.QueryClient();
|
|
9
|
-
}
|
|
10
|
-
return queryClient;
|
|
11
|
-
}
|
|
12
|
-
exports.getQueryClient = getQueryClient;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useFiat(): import('./FiatProvider').FiatContextProps;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const require$$0 = require("react");
|
|
5
|
-
const modules_fiat_context_FiatProvider = require("./FiatProvider.js");
|
|
6
|
-
function useFiat() {
|
|
7
|
-
const context = require$$0.useContext(modules_fiat_context_FiatProvider.FiatContext);
|
|
8
|
-
if (context == null) {
|
|
9
|
-
throw new Error("FiatContext must be used within a FiatProvider");
|
|
10
|
-
}
|
|
11
|
-
return context;
|
|
12
|
-
}
|
|
13
|
-
exports.useFiat = useFiat;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { useContext } from "react";
|
|
2
|
-
import { FiatContext } from "./FiatProvider.mjs";
|
|
3
|
-
function useFiat() {
|
|
4
|
-
const context = useContext(FiatContext);
|
|
5
|
-
if (context == null) {
|
|
6
|
-
throw new Error("FiatContext must be used within a FiatProvider");
|
|
7
|
-
}
|
|
8
|
-
return context;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
useFiat
|
|
12
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const modules_fiat_hooks_validation_useAmountSchema = require("./validation/useAmountSchema.js");
|
|
5
|
-
const modules_fiat_hooks_useFiatData = require("./useFiatData.js");
|
|
6
|
-
exports.useAmountSchema = modules_fiat_hooks_validation_useAmountSchema.useAmountSchema;
|
|
7
|
-
exports.useFiatData = modules_fiat_hooks_useFiatData.useFiatData;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const useFiatData: () => {
|
|
2
|
-
isTokensLoading: boolean;
|
|
3
|
-
isTokensError: boolean;
|
|
4
|
-
mvxTokens: import('../../..').TokenType[] | undefined;
|
|
5
|
-
currencies: import('../../..').TokenType[] | undefined;
|
|
6
|
-
tokens: import('../../..').TokenType[] | undefined;
|
|
7
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const require$$0 = require("react");
|
|
5
|
-
;/* empty css */
|
|
6
|
-
require("react/jsx-runtime");
|
|
7
|
-
require("tailwind-merge");
|
|
8
|
-
require("../../../reactjs/components/base/MxCard/MxCard.js");
|
|
9
|
-
require("../../../reactjs/components/base/MxLink/MxLink.js");
|
|
10
|
-
require("../../../reactjs/components/base/MxSearch/MxSearch.js");
|
|
11
|
-
require("@fortawesome/free-solid-svg-icons/faClose");
|
|
12
|
-
require("@fortawesome/react-fontawesome");
|
|
13
|
-
require("@headlessui/react");
|
|
14
|
-
require("react-dom");
|
|
15
|
-
require("react-popper");
|
|
16
|
-
require("../../../reactjs/components/base/MxTooltip/components/TooltipContainer/TooltipContainer.js");
|
|
17
|
-
require("../../../reactjs/constants/index.js");
|
|
18
|
-
require("react-number-format");
|
|
19
|
-
require("@fortawesome/free-solid-svg-icons/faSpinner");
|
|
20
|
-
require("@multiversx/sdk-dapp-utils/out/helpers/formatAmount");
|
|
21
|
-
require("lodash/debounce");
|
|
22
|
-
require("react-toastify");
|
|
23
|
-
require("wagmi");
|
|
24
|
-
require("../../../reactjs/context/Web3AppProvider.js");
|
|
25
|
-
require("../../../index-Ben8n3bd.js");
|
|
26
|
-
require("viem");
|
|
27
|
-
require("viem/chains");
|
|
28
|
-
require("formik");
|
|
29
|
-
require("yup");
|
|
30
|
-
require("@multiversx/sdk-dapp-utils/out/helpers/parseAmount");
|
|
31
|
-
require("../../../bignumber-B8vjg9qn.js");
|
|
32
|
-
require("axios");
|
|
33
|
-
const constants_index = require("../../../constants/index.js");
|
|
34
|
-
const reactjs_queries_useGetAllTokens_query = require("../../../reactjs/queries/useGetAllTokens.query.js");
|
|
35
|
-
require("@tanstack/react-query");
|
|
36
|
-
require("@fortawesome/free-solid-svg-icons/faCircleCheck");
|
|
37
|
-
require("@fortawesome/free-solid-svg-icons/faCircleXmark");
|
|
38
|
-
require("@fortawesome/free-solid-svg-icons/faClock");
|
|
39
|
-
require("@multiversx/sdk-dapp-utils/out/helpers/stringIsInteger");
|
|
40
|
-
require("@fortawesome/free-solid-svg-icons/faPowerOff");
|
|
41
|
-
require("@fortawesome/free-solid-svg-icons/faCheck");
|
|
42
|
-
require("@fortawesome/free-solid-svg-icons/faCopy");
|
|
43
|
-
require("@fortawesome/free-solid-svg-icons/faChevronDown");
|
|
44
|
-
require("@fortawesome/free-solid-svg-icons/faWallet");
|
|
45
|
-
require("react-select");
|
|
46
|
-
require("@fortawesome/free-solid-svg-icons/faDiamond");
|
|
47
|
-
require("lodash/isString");
|
|
48
|
-
require("animated-number-react");
|
|
49
|
-
require("numeral");
|
|
50
|
-
require("@fortawesome/free-solid-svg-icons/faArrowUpRightFromSquare");
|
|
51
|
-
require("@reown/appkit-adapter-wagmi");
|
|
52
|
-
const useFiatData = () => {
|
|
53
|
-
const {
|
|
54
|
-
data: tokens,
|
|
55
|
-
isLoading: isTokensLoading,
|
|
56
|
-
isError: isTokensError
|
|
57
|
-
} = reactjs_queries_useGetAllTokens_query.useGetAllTokensQuery();
|
|
58
|
-
const mvxTokens = require$$0.useMemo(
|
|
59
|
-
() => tokens == null ? void 0 : tokens.filter(
|
|
60
|
-
(token) => constants_index.MVX_CHAIN_IDS.includes(Number(token.chainId.toString()))
|
|
61
|
-
),
|
|
62
|
-
[tokens]
|
|
63
|
-
);
|
|
64
|
-
const currencies = require$$0.useMemo(() => {
|
|
65
|
-
return tokens == null ? void 0 : tokens.filter((token) => !token.chainId);
|
|
66
|
-
}, [tokens]);
|
|
67
|
-
return {
|
|
68
|
-
isTokensLoading,
|
|
69
|
-
isTokensError,
|
|
70
|
-
mvxTokens,
|
|
71
|
-
currencies,
|
|
72
|
-
tokens
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
exports.useFiatData = useFiatData;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { useMemo } from "react";
|
|
2
|
-
/* empty css */
|
|
3
|
-
import "react/jsx-runtime";
|
|
4
|
-
import "tailwind-merge";
|
|
5
|
-
import "../../../reactjs/components/base/MxCard/MxCard.mjs";
|
|
6
|
-
import "../../../reactjs/components/base/MxLink/MxLink.mjs";
|
|
7
|
-
import "../../../reactjs/components/base/MxSearch/MxSearch.mjs";
|
|
8
|
-
import "@fortawesome/free-solid-svg-icons/faClose";
|
|
9
|
-
import "@fortawesome/react-fontawesome";
|
|
10
|
-
import "@headlessui/react";
|
|
11
|
-
import "react-dom";
|
|
12
|
-
import "react-popper";
|
|
13
|
-
import "../../../reactjs/components/base/MxTooltip/components/TooltipContainer/TooltipContainer.mjs";
|
|
14
|
-
import "../../../reactjs/constants/index.mjs";
|
|
15
|
-
import "react-number-format";
|
|
16
|
-
import "@fortawesome/free-solid-svg-icons/faSpinner";
|
|
17
|
-
import "@multiversx/sdk-dapp-utils/out/helpers/formatAmount";
|
|
18
|
-
import "lodash/debounce";
|
|
19
|
-
import "react-toastify";
|
|
20
|
-
import "wagmi";
|
|
21
|
-
import "../../../reactjs/context/Web3AppProvider.mjs";
|
|
22
|
-
import "../../../index-iN9APQ6x.mjs";
|
|
23
|
-
import "viem";
|
|
24
|
-
import "viem/chains";
|
|
25
|
-
import "formik";
|
|
26
|
-
import "yup";
|
|
27
|
-
import "@multiversx/sdk-dapp-utils/out/helpers/parseAmount";
|
|
28
|
-
import "../../../bignumber-CKZkoo0g.mjs";
|
|
29
|
-
import "axios";
|
|
30
|
-
import { MVX_CHAIN_IDS } from "../../../constants/index.mjs";
|
|
31
|
-
import { useGetAllTokensQuery } from "../../../reactjs/queries/useGetAllTokens.query.mjs";
|
|
32
|
-
import "@tanstack/react-query";
|
|
33
|
-
import "@fortawesome/free-solid-svg-icons/faCircleCheck";
|
|
34
|
-
import "@fortawesome/free-solid-svg-icons/faCircleXmark";
|
|
35
|
-
import "@fortawesome/free-solid-svg-icons/faClock";
|
|
36
|
-
import "@multiversx/sdk-dapp-utils/out/helpers/stringIsInteger";
|
|
37
|
-
import "@fortawesome/free-solid-svg-icons/faPowerOff";
|
|
38
|
-
import "@fortawesome/free-solid-svg-icons/faCheck";
|
|
39
|
-
import "@fortawesome/free-solid-svg-icons/faCopy";
|
|
40
|
-
import "@fortawesome/free-solid-svg-icons/faChevronDown";
|
|
41
|
-
import "@fortawesome/free-solid-svg-icons/faWallet";
|
|
42
|
-
import "react-select";
|
|
43
|
-
import "@fortawesome/free-solid-svg-icons/faDiamond";
|
|
44
|
-
import "lodash/isString";
|
|
45
|
-
import "animated-number-react";
|
|
46
|
-
import "numeral";
|
|
47
|
-
import "@fortawesome/free-solid-svg-icons/faArrowUpRightFromSquare";
|
|
48
|
-
import "@reown/appkit-adapter-wagmi";
|
|
49
|
-
const useFiatData = () => {
|
|
50
|
-
const {
|
|
51
|
-
data: tokens,
|
|
52
|
-
isLoading: isTokensLoading,
|
|
53
|
-
isError: isTokensError
|
|
54
|
-
} = useGetAllTokensQuery();
|
|
55
|
-
const mvxTokens = useMemo(
|
|
56
|
-
() => tokens == null ? void 0 : tokens.filter(
|
|
57
|
-
(token) => MVX_CHAIN_IDS.includes(Number(token.chainId.toString()))
|
|
58
|
-
),
|
|
59
|
-
[tokens]
|
|
60
|
-
);
|
|
61
|
-
const currencies = useMemo(() => {
|
|
62
|
-
return tokens == null ? void 0 : tokens.filter((token) => !token.chainId);
|
|
63
|
-
}, [tokens]);
|
|
64
|
-
return {
|
|
65
|
-
isTokensLoading,
|
|
66
|
-
isTokensError,
|
|
67
|
-
mvxTokens,
|
|
68
|
-
currencies,
|
|
69
|
-
tokens
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
export {
|
|
73
|
-
useFiatData
|
|
74
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useAmountSchema';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const modules_fiat_hooks_validation_useAmountSchema = require("./useAmountSchema.js");
|
|
5
|
-
exports.useAmountSchema = modules_fiat_hooks_validation_useAmountSchema.useAmountSchema;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const yup = require("yup");
|
|
5
|
-
function _interopNamespaceDefault(e) {
|
|
6
|
-
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
7
|
-
if (e) {
|
|
8
|
-
for (const k in e) {
|
|
9
|
-
if (k !== "default") {
|
|
10
|
-
const d = Object.getOwnPropertyDescriptor(e, k);
|
|
11
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: () => e[k]
|
|
14
|
-
});
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
n.default = e;
|
|
19
|
-
return Object.freeze(n);
|
|
20
|
-
}
|
|
21
|
-
const yup__namespace = /* @__PURE__ */ _interopNamespaceDefault(yup);
|
|
22
|
-
const useAmountSchema = () => {
|
|
23
|
-
const testStartDot = (value) => !(value == null ? void 0 : value.startsWith("."));
|
|
24
|
-
const testEndDot = (value) => !(value == null ? void 0 : value.endsWith("."));
|
|
25
|
-
return yup__namespace.string().required("Amount is a required field").test("startDot", "Amount must not start with dot", testStartDot).test("endDot", "Amount must not end with dot", testEndDot);
|
|
26
|
-
};
|
|
27
|
-
exports.useAmountSchema = useAmountSchema;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as yup from "yup";
|
|
2
|
-
const useAmountSchema = () => {
|
|
3
|
-
const testStartDot = (value) => !(value == null ? void 0 : value.startsWith("."));
|
|
4
|
-
const testEndDot = (value) => !(value == null ? void 0 : value.endsWith("."));
|
|
5
|
-
return yup.string().required("Amount is a required field").test("startDot", "Amount must not start with dot", testStartDot).test("endDot", "Amount must not end with dot", testEndDot);
|
|
6
|
-
};
|
|
7
|
-
export {
|
|
8
|
-
useAmountSchema
|
|
9
|
-
};
|
package/modules/fiat/index.d.ts
DELETED
package/modules/fiat/index.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
|
-
const modules_fiat_components_FiatForm_FiatForm = require("./components/FiatForm/FiatForm.js");
|
|
5
|
-
const modules_fiat_context_queryClient = require("./context/queryClient.js");
|
|
6
|
-
const modules_fiat_context_FiatProvider = require("./context/FiatProvider.js");
|
|
7
|
-
const modules_fiat_context_useFiat = require("./context/useFiat.js");
|
|
8
|
-
const modules_fiat_hooks_validation_useAmountSchema = require("./hooks/validation/useAmountSchema.js");
|
|
9
|
-
const modules_fiat_hooks_useFiatData = require("./hooks/useFiatData.js");
|
|
10
|
-
const modules_fiat_init_init = require("./init/init.js");
|
|
11
|
-
const modules_fiat_queries_useGetRate_mutation = require("./queries/useGetRate.mutation.js");
|
|
12
|
-
const modules_fiat_queries_useGetTokens_query = require("./queries/useGetTokens.query.js");
|
|
13
|
-
exports.FiatForm = modules_fiat_components_FiatForm_FiatForm.FiatForm;
|
|
14
|
-
exports.getQueryClient = modules_fiat_context_queryClient.getQueryClient;
|
|
15
|
-
exports.FiatContext = modules_fiat_context_FiatProvider.FiatContext;
|
|
16
|
-
exports.FiatProvider = modules_fiat_context_FiatProvider.FiatProvider;
|
|
17
|
-
exports.useFiat = modules_fiat_context_useFiat.useFiat;
|
|
18
|
-
exports.useAmountSchema = modules_fiat_hooks_validation_useAmountSchema.useAmountSchema;
|
|
19
|
-
exports.useFiatData = modules_fiat_hooks_useFiatData.useFiatData;
|
|
20
|
-
exports.init = modules_fiat_init_init.init;
|
|
21
|
-
exports.useGetRateMutation = modules_fiat_queries_useGetRate_mutation.useGetRateMutation;
|
|
22
|
-
exports.useGetTokensQuery = modules_fiat_queries_useGetTokens_query.useGetTokensQuery;
|