@meshsdk/react 1.1.4 → 1.1.6

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.
Files changed (83) hide show
  1. package/package.json +2 -2
  2. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/CardanoWallet/CardanoWallet.d.ts +0 -4
  3. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/CardanoWallet/CardanoWallet.jsx +0 -45
  4. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/CardanoWallet/CardanoWallet.jsx.map +0 -1
  5. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/CardanoWallet/WalletBalance.d.ts +0 -6
  6. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/CardanoWallet/WalletBalance.jsx +0 -23
  7. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/CardanoWallet/WalletBalance.jsx.map +0 -1
  8. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/CardanoWallet/index.d.ts +0 -1
  9. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/CardanoWallet/index.js +0 -2
  10. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/CardanoWallet/index.js.map +0 -1
  11. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/ChevronDown/ChevronDown.d.ts +0 -1
  12. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/ChevronDown/ChevronDown.jsx +0 -6
  13. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/ChevronDown/ChevronDown.jsx.map +0 -1
  14. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/ChevronDown/index.d.ts +0 -1
  15. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/ChevronDown/index.js +0 -2
  16. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/ChevronDown/index.js.map +0 -1
  17. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MenuItem/CheckMark.d.ts +0 -1
  18. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MenuItem/CheckMark.jsx +0 -6
  19. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MenuItem/CheckMark.jsx.map +0 -1
  20. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MenuItem/MenuItem.d.ts +0 -6
  21. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MenuItem/MenuItem.jsx +0 -33
  22. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MenuItem/MenuItem.jsx.map +0 -1
  23. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MenuItem/index.d.ts +0 -1
  24. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MenuItem/index.js +0 -2
  25. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MenuItem/index.js.map +0 -1
  26. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MeshBadge/MeshBadge.d.ts +0 -3
  27. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MeshBadge/MeshBadge.jsx +0 -15
  28. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MeshBadge/MeshBadge.jsx.map +0 -1
  29. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MeshBadge/MeshLogo.d.ts +0 -1
  30. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MeshBadge/MeshLogo.jsx +0 -6
  31. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MeshBadge/MeshLogo.jsx.map +0 -1
  32. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MeshBadge/index.d.ts +0 -1
  33. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MeshBadge/index.js +0 -2
  34. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/MeshBadge/index.js.map +0 -1
  35. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/StakeButton/StakeButton.d.ts +0 -4
  36. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/StakeButton/StakeButton.jsx +0 -119
  37. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/StakeButton/StakeButton.jsx.map +0 -1
  38. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/StakeButton/index.d.ts +0 -1
  39. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/StakeButton/index.js +0 -2
  40. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/StakeButton/index.js.map +0 -1
  41. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/index.d.ts +0 -3
  42. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/index.js +0 -4
  43. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/components/index.js.map +0 -1
  44. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/contexts/WalletContext.d.ts +0 -22
  45. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/contexts/WalletContext.jsx +0 -45
  46. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/contexts/WalletContext.jsx.map +0 -1
  47. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/contexts/index.d.ts +0 -4
  48. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/contexts/index.jsx +0 -9
  49. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/contexts/index.jsx.map +0 -1
  50. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/index.d.ts +0 -9
  51. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/index.js +0 -10
  52. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/index.js.map +0 -1
  53. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useAddress.d.ts +0 -1
  54. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useAddress.js +0 -17
  55. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useAddress.js.map +0 -1
  56. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useAssets.d.ts +0 -2
  57. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useAssets.js +0 -14
  58. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useAssets.js.map +0 -1
  59. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useLovelace.d.ts +0 -1
  60. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useLovelace.js +0 -14
  61. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useLovelace.js.map +0 -1
  62. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useNetwork.d.ts +0 -1
  63. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useNetwork.js +0 -14
  64. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useNetwork.js.map +0 -1
  65. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useRewardAddress.d.ts +0 -1
  66. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useRewardAddress.js +0 -17
  67. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useRewardAddress.js.map +0 -1
  68. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWallet.d.ts +0 -9
  69. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWallet.js +0 -18
  70. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWallet.js.map +0 -1
  71. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWalletList.d.ts +0 -2
  72. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWalletList.js +0 -10
  73. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWalletList.js.map +0 -1
  74. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWalletSubmit.d.ts +0 -6
  75. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWalletSubmit.js +0 -30
  76. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWalletSubmit.js.map +0 -1
  77. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWalletTx.d.ts +0 -6
  78. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWalletTx.js +0 -19
  79. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/hooks/useWalletTx.js.map +0 -1
  80. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/index.d.ts +0 -3
  81. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/index.js +0 -4
  82. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/dist/index.js.map +0 -1
  83. package/.rollup.cache/Users/Abdelkrim/Documents/Repositories/Work/mesh/packages/react/tsconfig.tsbuildinfo +0 -1
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "React Hooks & Components you need for building dApps on Cardano.",
4
4
  "homepage": "https://meshjs.dev",
5
5
  "author": "MeshJS",
6
- "version": "1.1.4",
6
+ "version": "1.1.6",
7
7
  "license": "Apache-2.0",
8
8
  "type": "module",
9
9
  "repository": {
@@ -61,7 +61,7 @@
61
61
  "vite": "3.1.4"
62
62
  },
63
63
  "peerDependencies": {
64
- "@meshsdk/core": "1.4.0",
64
+ "@meshsdk/core": "1.5.1",
65
65
  "react-dom": "17.x || 18.x",
66
66
  "react": "17.x || 18.x"
67
67
  },
@@ -1,4 +0,0 @@
1
- export declare const CardanoWallet: ({ label, onConnected }: {
2
- label?: string | undefined;
3
- onConnected?: Function | undefined;
4
- }) => JSX.Element;
@@ -1,45 +0,0 @@
1
- import tw, { styled } from 'twin.macro';
2
- import { useEffect, useState } from 'react';
3
- import { useWallet, useWalletList } from '@mesh/hooks';
4
- import { MenuItem } from '../MenuItem';
5
- import { WalletBalance } from './WalletBalance';
6
- const StyledMenuButton = tw.button `
7
- flex items-center justify-center
8
- font-normal text-lg
9
- border rounded-t-md
10
- w-60 px-4 py-2
11
- shadow-sm
12
- `;
13
- const StyledMenuList = styled.div(({ hidden }) => [
14
- tw `
15
- shadow-sm backdrop-blur
16
- border rounded-b-md
17
- absolute w-60
18
- text-center
19
- `,
20
- hidden && tw `hidden`,
21
- ]);
22
- export const CardanoWallet = ({ label = 'Connect Wallet', onConnected = undefined }) => {
23
- const wallets = useWalletList();
24
- const [hideMenuList, setHideMenuList] = useState(true);
25
- const { connect, connecting, connected, disconnect, name } = useWallet();
26
- useEffect(() => {
27
- if (connected && onConnected) {
28
- onConnected();
29
- }
30
- }, [connected]);
31
- return (<div style={{ width: 'fit-content' }} onMouseEnter={() => setHideMenuList(false)} onMouseLeave={() => setHideMenuList(true)}>
32
- <StyledMenuButton type="button" className="mr-wallet-button" onClick={() => setHideMenuList(!hideMenuList)}>
33
- <WalletBalance name={name} connected={connected} connecting={connecting} label={label}/>
34
- </StyledMenuButton>
35
- <StyledMenuList hidden={hideMenuList} className="mr-menu-list">
36
- {!connected && wallets.length > 0 ? (wallets.map((wallet, index) => (<MenuItem key={index} icon={wallet.icon} label={wallet.name} action={() => {
37
- connect(wallet.name);
38
- setHideMenuList(!hideMenuList);
39
- }} active={name === wallet.name}/>))) : wallets.length === 0 ? (<span>No Wallet Found</span>) : (<>
40
- <MenuItem active={false} label="disconnect" action={disconnect} icon={undefined}/>
41
- </>)}
42
- </StyledMenuList>
43
- </div>);
44
- };
45
- //# sourceMappingURL=CardanoWallet.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CardanoWallet.jsx","sourceRoot":"","sources":["../../../src/components/CardanoWallet/CardanoWallet.tsx"],"names":[],"mappings":"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","sourcesContent":["import tw, { styled } from 'twin.macro';\nimport { useEffect, useState } from 'react';\nimport { useWallet, useWalletList } from '@mesh/hooks';\nimport { MenuItem } from '../MenuItem';\nimport { WalletBalance } from './WalletBalance';\n\nconst StyledMenuButton = tw.button`\n flex items-center justify-center\n font-normal text-lg\n border rounded-t-md\n w-60 px-4 py-2\n shadow-sm\n`;\n\nconst StyledMenuList = styled.div(({ hidden }: { hidden: boolean }) => [\n tw`\n shadow-sm backdrop-blur\n border rounded-b-md\n absolute w-60\n text-center\n `,\n hidden && tw`hidden`,\n]);\n\nexport const CardanoWallet = ({\n label = 'Connect Wallet',\n onConnected = undefined\n}: {\n label?: string,\n onConnected?: Function\n}) => {\n const wallets = useWalletList();\n\n const [hideMenuList, setHideMenuList] = useState(true);\n\n const { connect, connecting, connected, disconnect, name } = useWallet();\n\n useEffect(() => {\n if (connected && onConnected) {\n onConnected();\n }\n }, [connected]);\n\n return (\n <div\n style={{ width: 'fit-content' }}\n onMouseEnter={() => setHideMenuList(false)}\n onMouseLeave={() => setHideMenuList(true)}\n >\n <StyledMenuButton\n type=\"button\"\n className=\"mr-wallet-button\"\n onClick={() => setHideMenuList(!hideMenuList)}\n >\n <WalletBalance\n name={name}\n connected={connected}\n connecting={connecting}\n label={label}\n />\n </StyledMenuButton>\n <StyledMenuList\n hidden={hideMenuList}\n className=\"mr-menu-list\"\n >\n {!connected && wallets.length > 0 ? (\n wallets.map((wallet, index) => (\n <MenuItem\n key={index}\n icon={wallet.icon}\n label={wallet.name}\n action={() => {\n connect(wallet.name);\n setHideMenuList(!hideMenuList);\n }}\n active={name === wallet.name}\n />\n ))\n ) : wallets.length === 0 ? (\n <span>No Wallet Found</span>\n ) : (\n <>\n <MenuItem\n active={false}\n label=\"disconnect\"\n action={disconnect}\n icon={undefined}\n />\n </>\n )}\n </StyledMenuList>\n </div>\n );\n};\n"]}
@@ -1,6 +0,0 @@
1
- export declare const WalletBalance: ({ connected, name, connecting, label }: {
2
- connected: any;
3
- name: any;
4
- connecting: any;
5
- label: any;
6
- }) => JSX.Element;
@@ -1,23 +0,0 @@
1
- import tw from 'twin.macro';
2
- import { useLovelace, useWalletList } from '@mesh/hooks';
3
- import { ChevronDown } from '../ChevronDown';
4
- const StyledIcon = tw.img `
5
- h-6 m-2
6
- `;
7
- const StyledSmall = tw.span `
8
- text-xs
9
- `;
10
- export const WalletBalance = ({ connected, name, connecting, label }) => {
11
- const wallet = useWalletList().find((wallet) => wallet.name === name);
12
- const balance = useLovelace();
13
- return connected && balance && wallet?.icon ? (<>
14
- <StyledIcon src={wallet.icon}/>₳{' '}
15
- {parseInt((parseInt(balance, 10) / 1_000_000).toString(), 10)}.
16
- <StyledSmall>{balance.substr(balance.length - 6)}</StyledSmall>
17
- </>) : connected && wallet?.icon ? (<>
18
- <StyledIcon src={wallet.icon}/>
19
- </>) : connecting ? (<>Connecting...</>) : (<>
20
- {label} <ChevronDown />
21
- </>);
22
- };
23
- //# sourceMappingURL=WalletBalance.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WalletBalance.jsx","sourceRoot":"","sources":["../../../src/components/CardanoWallet/WalletBalance.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,MAAM,UAAU,GAAG,EAAE,CAAC,GAAG,CAAA;;CAExB,CAAC;AAEF,MAAM,WAAW,GAAG,EAAE,CAAC,IAAI,CAAA;;CAE1B,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,EAAE;IACtE,MAAM,MAAM,GAAG,aAAa,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC;IACtE,MAAM,OAAO,GAAG,WAAW,EAAE,CAAC;IAE9B,OAAO,SAAS,IAAI,OAAO,IAAI,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAC5C,EACE;MAAA,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,EAAG,CAAC,CAAC,GAAG,CACrC;MAAA,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAO,EAAE,EAAE,CAAC,GAAG,SAAS,CAAC,CAAC,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC;MAC9D,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,EAAE,WAAW,CAChE;IAAA,GAAG,CACJ,CAAC,CAAC,CAAC,SAAS,IAAI,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CAC9B,EACE;MAAA,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,EAC/B;IAAA,GAAG,CACJ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CACf,EAAE,aAAa,GAAG,CACnB,CAAC,CAAC,CAAC,CACF,EACE;MAAA,CAAC,KAAK,CAAE,CAAA,CAAC,WAAW,CAAC,AAAD,EACtB;IAAA,GAAG,CACJ,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import tw from 'twin.macro';\nimport { useLovelace, useWalletList } from '@mesh/hooks';\nimport { ChevronDown } from '../ChevronDown';\n\nconst StyledIcon = tw.img`\n h-6 m-2\n`;\n\nconst StyledSmall = tw.span`\n text-xs\n`;\n\nexport const WalletBalance = ({ connected, name, connecting, label }) => {\n const wallet = useWalletList().find((wallet) => wallet.name === name);\n const balance = useLovelace();\n\n return connected && balance && wallet?.icon ? (\n <>\n <StyledIcon src={wallet.icon} />₳{' '}\n {parseInt((parseInt(balance, 10) / 1_000_000).toString(), 10)}.\n <StyledSmall>{balance.substr(balance.length - 6)}</StyledSmall>\n </>\n ) : connected && wallet?.icon ? (\n <>\n <StyledIcon src={wallet.icon} />\n </>\n ) : connecting ? (\n <>Connecting...</>\n ) : (\n <>\n {label} <ChevronDown />\n </>\n );\n};\n"]}
@@ -1,2 +0,0 @@
1
- export * from './CardanoWallet';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CardanoWallet/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC","sourcesContent":["export * from './CardanoWallet';\n"]}
@@ -1,6 +0,0 @@
1
- import tw from 'twin.macro';
2
- const StyledChevronDown = tw.svg `h-6 m-2`;
3
- export const ChevronDown = () => (<StyledChevronDown fill="none" aria-hidden="true" viewBox="0 0 24 24" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
4
- <path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M19 9l-7 7-7-7"/>
5
- </StyledChevronDown>);
6
- //# sourceMappingURL=ChevronDown.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronDown.jsx","sourceRoot":"","sources":["../../../src/components/ChevronDown/ChevronDown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,MAAM,iBAAiB,GAAG,EAAE,CAAC,GAAG,CAAA,SAAS,CAAC;AAE1C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE,CAAC,CAC/B,CAAC,iBAAiB,CAChB,IAAI,CAAC,MAAM,CACX,WAAW,CAAC,MAAM,CAClB,OAAO,CAAC,WAAW,CACnB,MAAM,CAAC,cAAc,CACrB,KAAK,CAAC,4BAA4B,CAElC;IAAA,CAAC,IAAI,CACH,aAAa,CAAC,OAAO,CACrB,cAAc,CAAC,OAAO,CACtB,WAAW,CAAC,GAAG,CACf,CAAC,CAAC,gBAAgB,EAEtB;EAAA,EAAE,iBAAiB,CAAC,CACrB,CAAC","sourcesContent":["import tw from 'twin.macro';\n\nconst StyledChevronDown = tw.svg`h-6 m-2`;\n\nexport const ChevronDown = () => (\n <StyledChevronDown\n fill=\"none\"\n aria-hidden=\"true\"\n viewBox=\"0 0 24 24\"\n stroke=\"currentColor\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"2\"\n d=\"M19 9l-7 7-7-7\"\n />\n </StyledChevronDown>\n);\n"]}
@@ -1,2 +0,0 @@
1
- export * from './ChevronDown';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/ChevronDown/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from './ChevronDown';\n"]}
@@ -1,6 +0,0 @@
1
- import tw from 'twin.macro';
2
- const StyledCheckMark = tw.svg `h-6 m-2`;
3
- export const CheckMark = () => (<StyledCheckMark fill="currentColor" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
4
- <path d="M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/>
5
- </StyledCheckMark>);
6
- //# sourceMappingURL=CheckMark.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheckMark.jsx","sourceRoot":"","sources":["../../../src/components/MenuItem/CheckMark.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,MAAM,eAAe,GAAG,EAAE,CAAC,GAAG,CAAA,SAAS,CAAC;AAExC,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE,CAAC,CAC7B,CAAC,eAAe,CACd,IAAI,CAAC,cAAc,CACnB,OAAO,CAAC,aAAa,CACrB,KAAK,CAAC,4BAA4B,CAElC;IAAA,CAAC,IAAI,CAAC,CAAC,CAAC,sLAAsL,EAChM;EAAA,EAAE,eAAe,CAAC,CACnB,CAAC","sourcesContent":["import tw from 'twin.macro';\n\nconst StyledCheckMark = tw.svg`h-6 m-2`;\n\nexport const CheckMark = () => (\n <StyledCheckMark\n fill=\"currentColor\"\n viewBox=\"0 0 512 512\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z\" />\n </StyledCheckMark>\n);\n"]}
@@ -1,6 +0,0 @@
1
- export declare const MenuItem: ({ icon, label, action, active }: {
2
- icon: any;
3
- label: any;
4
- action: any;
5
- active: any;
6
- }) => JSX.Element;
@@ -1,33 +0,0 @@
1
- import tw from 'twin.macro';
2
- import { CheckMark } from './CheckMark';
3
- const StyledItem = tw.div `
4
- opacity-80 hover:opacity-100
5
- flex items-center
6
- cursor-pointer
7
- px-4 py-2
8
- `;
9
- const StyledIcon = tw.img `
10
- h-8 m-1 pr-2
11
- `;
12
- const StyledName = tw.span `
13
- font-normal
14
- text-xl
15
- `;
16
- const StyledActive = tw.span `
17
- ml-auto
18
- `;
19
- export const MenuItem = ({ icon, label, action, active }) => (<StyledItem onClick={action}>
20
- {icon && <StyledIcon src={icon}/>}
21
- <StyledName className='mr-menu-item'>
22
- {label
23
- .split(' ')
24
- .map((word) => {
25
- return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
26
- })
27
- .join(' ')}
28
- </StyledName>
29
- {active && (<StyledActive>
30
- <CheckMark />
31
- </StyledActive>)}
32
- </StyledItem>);
33
- //# sourceMappingURL=MenuItem.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MenuItem.jsx","sourceRoot":"","sources":["../../../src/components/MenuItem/MenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,MAAM,UAAU,GAAG,EAAE,CAAC,GAAG,CAAA;;;;;CAKxB,CAAC;AAEF,MAAM,UAAU,GAAG,EAAE,CAAC,GAAG,CAAA;;CAExB,CAAC;AAEF,MAAM,UAAU,GAAG,EAAE,CAAC,IAAI,CAAA;;;CAGzB,CAAC;AAEF,MAAM,YAAY,GAAG,EAAE,CAAC,IAAI,CAAA;;CAE3B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAC3D,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAC1B;IAAA,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAG,CAClC;IAAA,CAAC,UAAU,CAAC,SAAS,CAAC,cAAc,CAClC;MAAA,CAAC,KAAK;SACH,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,CAAC,IAAY,EAAE,EAAE;QACpB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IACpE,CAAC,CAAC;SACD,IAAI,CAAC,GAAG,CAAC,CACd;IAAA,EAAE,UAAU,CACZ;IAAA,CAAC,MAAM,IAAI,CACT,CAAC,YAAY,CACX;QAAA,CAAC,SAAS,CAAC,AAAD,EACZ;MAAA,EAAE,YAAY,CAAC,CAChB,CACH;EAAA,EAAE,UAAU,CAAC,CACd,CAAC","sourcesContent":["import tw from 'twin.macro';\nimport { CheckMark } from './CheckMark';\n\nconst StyledItem = tw.div`\n opacity-80 hover:opacity-100\n flex items-center\n cursor-pointer\n px-4 py-2\n`;\n\nconst StyledIcon = tw.img`\n h-8 m-1 pr-2\n`;\n\nconst StyledName = tw.span`\n font-normal\n text-xl\n`;\n\nconst StyledActive = tw.span`\n ml-auto\n`;\n\nexport const MenuItem = ({ icon, label, action, active }) => (\n <StyledItem onClick={action}>\n {icon && <StyledIcon src={icon} />}\n <StyledName className='mr-menu-item'>\n {label\n .split(' ')\n .map((word: string) => {\n return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();\n })\n .join(' ')}\n </StyledName>\n {active && (\n <StyledActive>\n <CheckMark />\n </StyledActive>\n )}\n </StyledItem>\n);\n"]}
@@ -1,2 +0,0 @@
1
- export * from './MenuItem';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/MenuItem/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC","sourcesContent":["export * from './MenuItem';\n"]}
@@ -1,3 +0,0 @@
1
- export declare const MeshBadge: ({ dark }: {
2
- dark?: boolean | undefined;
3
- }) => JSX.Element;
@@ -1,15 +0,0 @@
1
- import tw from 'twin.macro';
2
- import { MeshLogo } from './MeshLogo';
3
- const StyledLink = tw.a `
4
- flex flex-col items-center max-w-fit p-1
5
- border border-current border-solid rounded-md
6
- font-semibold text-xl text-stone-700 no-underline
7
- `;
8
- export const MeshBadge = ({ dark = false }) => (<StyledLink style={{
9
- color: dark ? '#EEEEEE' : '#111111',
10
- backgroundColor: dark ? '#111111' : '#EEEEEE',
11
- }} href="https://meshjs.dev/" rel="noopener noreferrer" target="_blank">
12
- <MeshLogo />
13
- Mesh
14
- </StyledLink>);
15
- //# sourceMappingURL=MeshBadge.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MeshBadge.jsx","sourceRoot":"","sources":["../../../src/components/MeshBadge/MeshBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,UAAU,GAAG,EAAE,CAAC,CAAC,CAAA;;;;CAItB,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE,EAAE,CAAC,CAC7C,CAAC,UAAU,CACT,KAAK,CAAC,CAAC;QACL,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;QACnC,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;KAC9C,CAAC,CACF,IAAI,CAAC,qBAAqB,CAC1B,GAAG,CAAC,qBAAqB,CACzB,MAAM,CAAC,QAAQ,CAEf;IAAA,CAAC,QAAQ,CAAC,AAAD,EACT;;EACF,EAAE,UAAU,CAAC,CACd,CAAC","sourcesContent":["import tw from 'twin.macro';\nimport { MeshLogo } from './MeshLogo';\n\nconst StyledLink = tw.a`\n flex flex-col items-center max-w-fit p-1\n border border-current border-solid rounded-md\n font-semibold text-xl text-stone-700 no-underline\n`;\n\nexport const MeshBadge = ({ dark = false }) => (\n <StyledLink\n style={{\n color: dark ? '#EEEEEE' : '#111111',\n backgroundColor: dark ? '#111111' : '#EEEEEE',\n }}\n href=\"https://meshjs.dev/\"\n rel=\"noopener noreferrer\"\n target=\"_blank\"\n >\n <MeshLogo />\n Mesh\n </StyledLink>\n);\n"]}
@@ -1,6 +0,0 @@
1
- import tw from 'twin.macro';
2
- const StyledLogo = tw.svg `h-16 p-2`;
3
- export const MeshLogo = () => (<StyledLogo fill="currentColor" viewBox="0 0 300 200" xmlns="http://www.w3.org/2000/svg">
4
- <path d="m289 127-45-60-45-60c-.9-1.3-2.4-2-4-2s-3.1.7-4 2l-37 49.3c-2 2.7-6 2.7-8 0l-37-49.3c-.9-1.3-2.4-2-4-2s-3.1.7-4 2l-45 60-45 60c-1.3 1.8-1.3 4.2 0 6l45 60c.9 1.3 2.4 2 4 2s3.1-.7 4-2l37-49.3c2-2.7 6-2.7 8 0l37 49.3c.9 1.3 2.4 2 4 2s3.1-.7 4-2l37-49.3c2-2.7 6-2.7 8 0l37 49.3c.9 1.3 2.4 2 4 2s3.1-.7 4-2l45-60c1.3-1.8 1.3-4.2 0-6zm-90-103.3 32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0l-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0zm-90 0 32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0l-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0zm-53 152.6-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0zm90 0-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0zm90 0-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0z"/>
5
- </StyledLogo>);
6
- //# sourceMappingURL=MeshLogo.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MeshLogo.jsx","sourceRoot":"","sources":["../../../src/components/MeshBadge/MeshLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAC;AAE5B,MAAM,UAAU,GAAG,EAAE,CAAC,GAAG,CAAA,UAAU,CAAC;AAEpC,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,CAC5B,CAAC,UAAU,CACT,IAAI,CAAC,cAAc,CACnB,OAAO,CAAC,aAAa,CACrB,KAAK,CAAC,4BAA4B,CAElC;IAAA,CAAC,IAAI,CAAC,CAAC,CAAC,o7BAAo7B,EAC97B;EAAA,EAAE,UAAU,CAAC,CACd,CAAC","sourcesContent":["import tw from 'twin.macro';\n\nconst StyledLogo = tw.svg`h-16 p-2`;\n\nexport const MeshLogo = () => (\n <StyledLogo\n fill=\"currentColor\"\n viewBox=\"0 0 300 200\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"m289 127-45-60-45-60c-.9-1.3-2.4-2-4-2s-3.1.7-4 2l-37 49.3c-2 2.7-6 2.7-8 0l-37-49.3c-.9-1.3-2.4-2-4-2s-3.1.7-4 2l-45 60-45 60c-1.3 1.8-1.3 4.2 0 6l45 60c.9 1.3 2.4 2 4 2s3.1-.7 4-2l37-49.3c2-2.7 6-2.7 8 0l37 49.3c.9 1.3 2.4 2 4 2s3.1-.7 4-2l37-49.3c2-2.7 6-2.7 8 0l37 49.3c.9 1.3 2.4 2 4 2s3.1-.7 4-2l45-60c1.3-1.8 1.3-4.2 0-6zm-90-103.3 32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0l-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0zm-90 0 32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0l-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0zm-53 152.6-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0zm90 0-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0zm90 0-32.5-43.3c-1.3-1.8-1.3-4.2 0-6l32.5-43.3c2-2.7 6-2.7 8 0l32.5 43.3c1.3 1.8 1.3 4.2 0 6l-32.5 43.3c-2 2.7-6 2.7-8 0z\" />\n </StyledLogo>\n);\n"]}
@@ -1,2 +0,0 @@
1
- export * from './MeshBadge';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/MeshBadge/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC","sourcesContent":["export * from './MeshBadge';\n"]}
@@ -1,4 +0,0 @@
1
- export declare const StakeButton: ({ poolId, onCheck }: {
2
- poolId: any;
3
- onCheck: any;
4
- }) => JSX.Element;
@@ -1,119 +0,0 @@
1
- import tw, { styled } from 'twin.macro';
2
- import { useEffect, useState } from 'react';
3
- import { useRewardAddress, useWallet, useWalletList, useWalletTx, } from '@mesh/hooks';
4
- import { ChevronDown } from '../ChevronDown';
5
- import { MenuItem } from '../MenuItem';
6
- const StyledMenuButton = tw.button `
7
- flex items-center justify-center
8
- font-normal text-lg
9
- border rounded-t-md
10
- w-60 px-4 py-2
11
- shadow-sm
12
- `;
13
- const StyledMenuList = styled.div(({ hidden }) => [
14
- tw `
15
- shadow-sm backdrop-blur
16
- border rounded-b-md
17
- absolute w-60
18
- text-center
19
- `,
20
- hidden && tw `hidden`,
21
- ]);
22
- export const StakeButton = ({ poolId, onCheck }) => {
23
- const wallets = useWalletList();
24
- const [hideMenuList, setHideMenuList] = useState(true);
25
- const { connect, connecting, connected, name } = useWallet();
26
- return (<div style={{ width: 'fit-content' }} onMouseEnter={() => setHideMenuList(false)} onMouseLeave={() => setHideMenuList(true)}>
27
- <StyledMenuButton type="button" onClick={() => setHideMenuList(!hideMenuList)}>
28
- {connected ? (<Delegate poolId={poolId} onCheck={onCheck}/>) : connecting ? (<>Connecting...</>) : (<>
29
- Connect Wallet <ChevronDown />
30
- </>)}
31
- </StyledMenuButton>
32
- <StyledMenuList hidden={hideMenuList || connected}>
33
- {wallets.length > 0 ? (wallets.map((wallet, index) => (<MenuItem key={index} icon={wallet.icon} label={wallet.name} action={() => {
34
- connect(wallet.name);
35
- setHideMenuList(!hideMenuList);
36
- }} active={name === wallet.name}/>))) : (<span>No Wallet Found</span>)}
37
- </StyledMenuList>
38
- </div>);
39
- };
40
- const Delegate = ({ poolId, onCheck }) => {
41
- const tx = useWalletTx();
42
- const { wallet } = useWallet();
43
- const rewardAddress = useRewardAddress();
44
- const [error, setError] = useState();
45
- const [checking, setChecking] = useState(false);
46
- const [accountInfo, setAccountInfo] = useState();
47
- const [processing, setProcessing] = useState(false);
48
- const [done, setDone] = useState(false);
49
- const checkAccountStatus = async () => {
50
- try {
51
- setChecking(true);
52
- if (rewardAddress) {
53
- const info = await onCheck(rewardAddress);
54
- setAccountInfo(info);
55
- }
56
- setChecking(false);
57
- }
58
- catch (error) {
59
- setError(error);
60
- }
61
- };
62
- const registerAddress = async () => {
63
- setProcessing(true);
64
- setDone(false);
65
- try {
66
- if (rewardAddress) {
67
- const unsignedTx = await tx
68
- .registerStake(rewardAddress)
69
- .delegateStake(rewardAddress, poolId)
70
- .build();
71
- const signedTx = await wallet.signTx(unsignedTx);
72
- const txHash = await wallet.submitTx(signedTx);
73
- console.log('txHash', txHash);
74
- setDone(true);
75
- }
76
- }
77
- catch (error) {
78
- console.error('error', error);
79
- setError(error);
80
- }
81
- setProcessing(false);
82
- };
83
- const delegateStake = async () => {
84
- setProcessing(true);
85
- setDone(false);
86
- try {
87
- if (rewardAddress) {
88
- const unsignedTx = await tx
89
- .delegateStake(rewardAddress, poolId)
90
- .build();
91
- const signedTx = await wallet.signTx(unsignedTx);
92
- const txHash = await wallet.submitTx(signedTx);
93
- setDone(true);
94
- }
95
- }
96
- catch (error) {
97
- console.error('error', error);
98
- setError(error);
99
- }
100
- setProcessing(false);
101
- };
102
- useEffect(() => {
103
- checkAccountStatus();
104
- }, [rewardAddress]);
105
- if (checking) {
106
- return <span>Checking...</span>;
107
- }
108
- if (processing) {
109
- return <span>Loading...</span>;
110
- }
111
- if (done) {
112
- return <span>Stake Delegated</span>;
113
- }
114
- if (accountInfo?.active) {
115
- return accountInfo.poolId === poolId ? (<span>Stake Delegated</span>) : (<span onClick={delegateStake}>Delegate Stake</span>);
116
- }
117
- return <span onClick={registerAddress}>Register Address</span>;
118
- };
119
- //# sourceMappingURL=StakeButton.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StakeButton.jsx","sourceRoot":"","sources":["../../../src/components/StakeButton/StakeButton.tsx"],"names":[],"mappings":"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","sourcesContent":["import tw, { styled } from 'twin.macro';\nimport { useEffect, useState } from 'react';\nimport {\n useRewardAddress,\n useWallet,\n useWalletList,\n useWalletTx,\n} from '@mesh/hooks';\nimport { ChevronDown } from '../ChevronDown';\nimport { MenuItem } from '../MenuItem';\nimport type { AccountInfo } from '@meshsdk/core';\n\nconst StyledMenuButton = tw.button`\n flex items-center justify-center\n font-normal text-lg\n border rounded-t-md\n w-60 px-4 py-2\n shadow-sm\n`;\n\nconst StyledMenuList = styled.div(({ hidden }: { hidden: boolean }) => [\n tw`\n shadow-sm backdrop-blur\n border rounded-b-md\n absolute w-60\n text-center\n `,\n hidden && tw`hidden`,\n]);\n\nexport const StakeButton = ({ poolId, onCheck }) => {\n const wallets = useWalletList();\n\n const [hideMenuList, setHideMenuList] = useState(true);\n\n const { connect, connecting, connected, name } = useWallet();\n\n return (\n <div\n style={{ width: 'fit-content' }}\n onMouseEnter={() => setHideMenuList(false)}\n onMouseLeave={() => setHideMenuList(true)}\n >\n <StyledMenuButton\n type=\"button\"\n onClick={() => setHideMenuList(!hideMenuList)}\n >\n {connected ? (\n <Delegate poolId={poolId} onCheck={onCheck} />\n ) : connecting ? (\n <>Connecting...</>\n ) : (\n <>\n Connect Wallet <ChevronDown />\n </>\n )}\n </StyledMenuButton>\n <StyledMenuList hidden={hideMenuList || connected}>\n {wallets.length > 0 ? (\n wallets.map((wallet, index) => (\n <MenuItem\n key={index}\n icon={wallet.icon}\n label={wallet.name}\n action={() => {\n connect(wallet.name);\n setHideMenuList(!hideMenuList);\n }}\n active={name === wallet.name}\n />\n ))\n ) : (\n <span>No Wallet Found</span>\n )}\n </StyledMenuList>\n </div>\n );\n};\n\nconst Delegate = ({ poolId, onCheck }) => {\n const tx = useWalletTx();\n const { wallet } = useWallet();\n const rewardAddress = useRewardAddress();\n const [error, setError] = useState<unknown>();\n const [checking, setChecking] = useState(false);\n const [accountInfo, setAccountInfo] = useState<AccountInfo>();\n const [processing, setProcessing] = useState(false);\n const [done, setDone] = useState(false);\n\n const checkAccountStatus = async () => {\n try {\n setChecking(true);\n\n if (rewardAddress) {\n const info = await onCheck(rewardAddress);\n setAccountInfo(info);\n }\n\n setChecking(false);\n } catch (error) {\n setError(error);\n }\n };\n\n const registerAddress = async () => {\n setProcessing(true);\n setDone(false);\n try {\n if (rewardAddress) {\n const unsignedTx = await tx\n .registerStake(rewardAddress)\n .delegateStake(rewardAddress, poolId)\n .build();\n\n const signedTx = await wallet.signTx(unsignedTx);\n const txHash = await wallet.submitTx(signedTx);\n console.log('txHash', txHash);\n setDone(true);\n }\n } catch (error) {\n console.error('error', error);\n setError(error);\n }\n setProcessing(false);\n };\n\n const delegateStake = async () => {\n setProcessing(true);\n setDone(false);\n try {\n if (rewardAddress) {\n const unsignedTx = await tx\n .delegateStake(rewardAddress, poolId)\n .build();\n\n const signedTx = await wallet.signTx(unsignedTx);\n const txHash = await wallet.submitTx(signedTx);\n setDone(true);\n }\n } catch (error) {\n console.error('error', error);\n setError(error);\n }\n setProcessing(false);\n };\n\n useEffect(() => {\n checkAccountStatus();\n }, [rewardAddress]);\n\n if (checking) {\n return <span>Checking...</span>;\n }\n if (processing) {\n return <span>Loading...</span>;\n }\n if (done) {\n return <span>Stake Delegated</span>;\n }\n\n if (accountInfo?.active) {\n return accountInfo.poolId === poolId ? (\n <span>Stake Delegated</span>\n ) : (\n <span onClick={delegateStake}>Delegate Stake</span>\n );\n }\n\n return <span onClick={registerAddress}>Register Address</span>;\n};\n"]}
@@ -1,2 +0,0 @@
1
- export * from './StakeButton';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/StakeButton/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC","sourcesContent":["export * from './StakeButton';\n"]}
@@ -1,3 +0,0 @@
1
- export * from './CardanoWallet';
2
- export * from './MeshBadge';
3
- export * from './StakeButton';
@@ -1,4 +0,0 @@
1
- export * from './CardanoWallet';
2
- export * from './MeshBadge';
3
- export * from './StakeButton';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC","sourcesContent":["export * from './CardanoWallet';\nexport * from './MeshBadge';\nexport * from './StakeButton';\n"]}
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import { BrowserWallet } from '@meshsdk/core';
3
- interface WalletContext {
4
- hasConnectedWallet: boolean;
5
- connectedWalletInstance: BrowserWallet;
6
- connectedWalletName: string;
7
- connectingWallet: boolean;
8
- connectWallet?: (walletName: string) => Promise<void>;
9
- disconnect?: () => void;
10
- error?: unknown;
11
- }
12
- export declare const useWalletStore: () => {
13
- hasConnectedWallet: boolean;
14
- connectedWalletInstance: BrowserWallet;
15
- connectedWalletName: string;
16
- connectingWallet: boolean;
17
- connectWallet: (walletName: string) => Promise<void>;
18
- disconnect: () => void;
19
- error: unknown;
20
- };
21
- export declare const WalletContext: import("react").Context<WalletContext>;
22
- export {};
@@ -1,45 +0,0 @@
1
- import { createContext, useCallback, useState } from 'react';
2
- import { BrowserWallet } from '@meshsdk/core';
3
- const INITIAL_STATE = {
4
- walletName: '', walletInstance: {},
5
- };
6
- export const useWalletStore = () => {
7
- const [error, setError] = useState(undefined);
8
- const [connectingWallet, setConnectingWallet] = useState(false);
9
- const [connectedWalletInstance, setConnectedWalletInstance] = useState(INITIAL_STATE.walletInstance);
10
- const [connectedWalletName, setConnectedWalletName] = useState(INITIAL_STATE.walletName);
11
- const connectWallet = useCallback(async (walletName) => {
12
- setConnectingWallet(true);
13
- try {
14
- const walletInstance = await BrowserWallet.enable(walletName);
15
- setConnectedWalletInstance(walletInstance);
16
- setConnectedWalletName(walletName);
17
- setError(undefined);
18
- }
19
- catch (error) {
20
- setError(error);
21
- console.error(error);
22
- }
23
- setConnectingWallet(false);
24
- }, []);
25
- const disconnect = useCallback(() => {
26
- setConnectedWalletName(INITIAL_STATE.walletName);
27
- setConnectedWalletInstance(INITIAL_STATE.walletInstance);
28
- }, []);
29
- return {
30
- hasConnectedWallet: INITIAL_STATE.walletName !== connectedWalletName,
31
- connectedWalletInstance,
32
- connectedWalletName,
33
- connectingWallet,
34
- connectWallet,
35
- disconnect,
36
- error,
37
- };
38
- };
39
- export const WalletContext = createContext({
40
- hasConnectedWallet: false,
41
- connectedWalletInstance: INITIAL_STATE.walletInstance,
42
- connectedWalletName: INITIAL_STATE.walletName,
43
- connectingWallet: false,
44
- });
45
- //# sourceMappingURL=WalletContext.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WalletContext.jsx","sourceRoot":"","sources":["../../src/contexts/WalletContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAY9C,MAAM,aAAa,GAAG;IACpB,UAAU,EAAE,EAAE,EAAE,cAAc,EAAE,EAAmB;CACpD,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,EAAE;IACjC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAU,SAAS,CAAC,CAAC;IAEvD,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAC3C,QAAQ,CAAU,KAAK,CAAC,CAAC;IAE3B,MAAM,CAAC,uBAAuB,EAAE,0BAA0B,CAAC,GACzD,QAAQ,CAAgB,aAAa,CAAC,cAAc,CAAC,CAAC;IAExD,MAAM,CAAC,mBAAmB,EAAE,sBAAsB,CAAC,GACjD,QAAQ,CAAS,aAAa,CAAC,UAAU,CAAC,CAAC;IAE7C,MAAM,aAAa,GAAG,WAAW,CAAC,KAAK,EAAE,UAAkB,EAAE,EAAE;QAC7D,mBAAmB,CAAC,IAAI,CAAC,CAAC;QAE1B,IAAI;YACF,MAAM,cAAc,GAAG,MAAM,aAAa,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;YAC9D,0BAA0B,CAAC,cAAc,CAAC,CAAC;YAC3C,sBAAsB,CAAC,UAAU,CAAC,CAAC;YACnC,QAAQ,CAAC,SAAS,CAAC,CAAC;SACrB;QAAC,OAAO,KAAK,EAAE;YACd,QAAQ,CAAC,KAAK,CAAC,CAAC;YAChB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SACtB;QAED,mBAAmB,CAAC,KAAK,CAAC,CAAC;IAC7B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,UAAU,GAAG,WAAW,CAAC,GAAG,EAAE;QAClC,sBAAsB,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QACjD,0BAA0B,CAAC,aAAa,CAAC,cAAc,CAAC,CAAC;IAC3D,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO;QACL,kBAAkB,EAAE,aAAa,CAAC,UAAU,KAAK,mBAAmB;QACpE,uBAAuB;QACvB,mBAAmB;QACnB,gBAAgB;QAChB,aAAa;QACb,UAAU;QACV,KAAK;KACN,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAgB;IACxD,kBAAkB,EAAE,KAAK;IACzB,uBAAuB,EAAE,aAAa,CAAC,cAAc;IACrD,mBAAmB,EAAE,aAAa,CAAC,UAAU;IAC7C,gBAAgB,EAAE,KAAK;CACxB,CAAC,CAAC","sourcesContent":["import { createContext, useCallback, useState } from 'react';\nimport { BrowserWallet } from '@meshsdk/core';\n\ninterface WalletContext {\n hasConnectedWallet: boolean,\n connectedWalletInstance: BrowserWallet,\n connectedWalletName: string,\n connectingWallet: boolean,\n connectWallet?: (walletName: string) => Promise<void>,\n disconnect?: () => void,\n error?: unknown,\n}\n\nconst INITIAL_STATE = {\n walletName: '', walletInstance: {} as BrowserWallet,\n};\n\nexport const useWalletStore = () => {\n const [error, setError] = useState<unknown>(undefined);\n\n const [connectingWallet, setConnectingWallet] =\n useState<boolean>(false);\n\n const [connectedWalletInstance, setConnectedWalletInstance] =\n useState<BrowserWallet>(INITIAL_STATE.walletInstance);\n\n const [connectedWalletName, setConnectedWalletName] =\n useState<string>(INITIAL_STATE.walletName);\n\n const connectWallet = useCallback(async (walletName: string) => {\n setConnectingWallet(true);\n\n try {\n const walletInstance = await BrowserWallet.enable(walletName);\n setConnectedWalletInstance(walletInstance);\n setConnectedWalletName(walletName);\n setError(undefined);\n } catch (error) {\n setError(error);\n console.error(error);\n }\n\n setConnectingWallet(false);\n }, []);\n\n const disconnect = useCallback(() => {\n setConnectedWalletName(INITIAL_STATE.walletName);\n setConnectedWalletInstance(INITIAL_STATE.walletInstance);\n }, []);\n\n return {\n hasConnectedWallet: INITIAL_STATE.walletName !== connectedWalletName,\n connectedWalletInstance,\n connectedWalletName,\n connectingWallet,\n connectWallet,\n disconnect,\n error,\n };\n};\n\nexport const WalletContext = createContext<WalletContext>({\n hasConnectedWallet: false,\n connectedWalletInstance: INITIAL_STATE.walletInstance,\n connectedWalletName: INITIAL_STATE.walletName,\n connectingWallet: false,\n});\n"]}
@@ -1,4 +0,0 @@
1
- export { WalletContext } from './WalletContext';
2
- export declare const MeshProvider: ({ children }: {
3
- children: any;
4
- }) => JSX.Element;
@@ -1,9 +0,0 @@
1
- export { WalletContext } from './WalletContext';
2
- import { useWalletStore, WalletContext } from './WalletContext';
3
- export const MeshProvider = ({ children }) => {
4
- const store = useWalletStore();
5
- return (<WalletContext.Provider value={store}>
6
- {children}
7
- </WalletContext.Provider>);
8
- };
9
- //# sourceMappingURL=index.jsx.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.jsx","sourceRoot":"","sources":["../../src/contexts/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhE,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3C,MAAM,KAAK,GAAG,cAAc,EAAE,CAAC;IAE/B,OAAO,CACL,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,CACnC;MAAA,CAAC,QAAQ,CACX;IAAA,EAAE,aAAa,CAAC,QAAQ,CAAC,CAC1B,CAAC;AACJ,CAAC,CAAC","sourcesContent":["export { WalletContext } from './WalletContext';\n\nimport { useWalletStore, WalletContext } from './WalletContext';\n\nexport const MeshProvider = ({ children }) => {\n const store = useWalletStore();\n\n return (\n <WalletContext.Provider value={store}>\n {children}\n </WalletContext.Provider>\n );\n};\n"]}
@@ -1,9 +0,0 @@
1
- export * from './useAddress';
2
- export * from './useAssets';
3
- export * from './useWalletList';
4
- export * from './useLovelace';
5
- export * from './useNetwork';
6
- export * from './useRewardAddress';
7
- export * from './useWallet';
8
- export * from './useWalletSubmit';
9
- export * from './useWalletTx';
@@ -1,10 +0,0 @@
1
- export * from './useAddress';
2
- export * from './useAssets';
3
- export * from './useWalletList';
4
- export * from './useLovelace';
5
- export * from './useNetwork';
6
- export * from './useRewardAddress';
7
- export * from './useWallet';
8
- export * from './useWalletSubmit';
9
- export * from './useWalletTx';
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC","sourcesContent":["export * from './useAddress';\nexport * from './useAssets';\nexport * from './useWalletList';\nexport * from './useLovelace';\nexport * from './useNetwork';\nexport * from './useRewardAddress';\nexport * from './useWallet';\nexport * from './useWalletSubmit';\nexport * from './useWalletTx';\n"]}
@@ -1 +0,0 @@
1
- export declare const useAddress: (accountId?: number) => string | undefined;
@@ -1,17 +0,0 @@
1
- import { useContext, useEffect, useState } from 'react';
2
- import { WalletContext } from '@mesh/contexts';
3
- export const useAddress = (accountId = 0) => {
4
- const [address, setAddress] = useState();
5
- const { hasConnectedWallet, connectedWalletName, connectedWalletInstance, } = useContext(WalletContext);
6
- useEffect(() => {
7
- if (hasConnectedWallet) {
8
- connectedWalletInstance.getUsedAddresses().then((addresses) => {
9
- if (addresses[accountId]) {
10
- setAddress(addresses[accountId]);
11
- }
12
- });
13
- }
14
- }, [accountId, connectedWalletName]);
15
- return address;
16
- };
17
- //# sourceMappingURL=useAddress.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAddress.js","sourceRoot":"","sources":["../../src/hooks/useAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,SAAS,GAAG,CAAC,EAAE,EAAE;IAC1C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,EAAU,CAAC;IACjD,MAAM,EACJ,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACxB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAE9B,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,kBAAkB,EAAE;YACtB,uBAAuB,CAAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE;gBAC5D,IAAI,SAAS,CAAC,SAAS,CAAC,EAAE;oBACxB,UAAU,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;iBAClC;YACH,CAAC,CAAC,CAAC;SACJ;IACH,CAAC,EAAE,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAErC,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC","sourcesContent":["import { useContext, useEffect, useState } from 'react';\nimport { WalletContext } from '@mesh/contexts';\n\nexport const useAddress = (accountId = 0) => {\n const [address, setAddress] = useState<string>();\n const {\n hasConnectedWallet,\n connectedWalletName,\n connectedWalletInstance,\n } = useContext(WalletContext);\n\n useEffect(() => {\n if (hasConnectedWallet) {\n connectedWalletInstance.getUsedAddresses().then((addresses) => {\n if (addresses[accountId]) {\n setAddress(addresses[accountId]);\n }\n });\n }\n }, [accountId, connectedWalletName]);\n\n return address;\n};\n"]}
@@ -1,2 +0,0 @@
1
- import type { Asset } from '@meshsdk/core';
2
- export declare const useAssets: () => Asset[] | undefined;
@@ -1,14 +0,0 @@
1
- import { useContext, useEffect, useState } from 'react';
2
- import { WalletContext } from '@mesh/contexts';
3
- export const useAssets = () => {
4
- const [asstes, setAsstes] = useState();
5
- const { hasConnectedWallet, connectedWalletName, connectedWalletInstance, } = useContext(WalletContext);
6
- useEffect(() => {
7
- if (hasConnectedWallet) {
8
- connectedWalletInstance.getAssets()
9
- .then(setAsstes);
10
- }
11
- }, [connectedWalletName]);
12
- return asstes;
13
- };
14
- //# sourceMappingURL=useAssets.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useAssets.js","sourceRoot":"","sources":["../../src/hooks/useAssets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE;IAC5B,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,EAAW,CAAC;IAChD,MAAM,EACJ,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACxB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAE9B,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,kBAAkB,EAAE;YACtB,uBAAuB,CAAC,SAAS,EAAE;iBAChC,IAAI,CAAC,SAAS,CAAC,CAAC;SACpB;IACH,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAE1B,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC","sourcesContent":["import { useContext, useEffect, useState } from 'react';\nimport { WalletContext } from '@mesh/contexts';\nimport type { Asset } from '@meshsdk/core';\n\nexport const useAssets = () => {\n const [asstes, setAsstes] = useState<Asset[]>();\n const {\n hasConnectedWallet,\n connectedWalletName,\n connectedWalletInstance,\n } = useContext(WalletContext);\n\n useEffect(() => {\n if (hasConnectedWallet) {\n connectedWalletInstance.getAssets()\n .then(setAsstes);\n }\n }, [connectedWalletName]);\n\n return asstes;\n};\n"]}
@@ -1 +0,0 @@
1
- export declare const useLovelace: () => string | undefined;
@@ -1,14 +0,0 @@
1
- import { useContext, useEffect, useState } from 'react';
2
- import { WalletContext } from '@mesh/contexts';
3
- export const useLovelace = () => {
4
- const [lovelace, setLovelace] = useState();
5
- const { hasConnectedWallet, connectedWalletName, connectedWalletInstance, } = useContext(WalletContext);
6
- useEffect(() => {
7
- if (hasConnectedWallet) {
8
- connectedWalletInstance.getLovelace()
9
- .then(setLovelace);
10
- }
11
- }, [connectedWalletName]);
12
- return lovelace;
13
- };
14
- //# sourceMappingURL=useLovelace.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useLovelace.js","sourceRoot":"","sources":["../../src/hooks/useLovelace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE;IAC9B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,EAAU,CAAC;IACnD,MAAM,EACJ,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACxB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAE9B,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,kBAAkB,EAAE;YACtB,uBAAuB,CAAC,WAAW,EAAE;iBAClC,IAAI,CAAC,WAAW,CAAC,CAAC;SACtB;IACH,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAE1B,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC","sourcesContent":["import { useContext, useEffect, useState } from 'react';\nimport { WalletContext } from '@mesh/contexts';\n\nexport const useLovelace = () => {\n const [lovelace, setLovelace] = useState<string>();\n const {\n hasConnectedWallet,\n connectedWalletName,\n connectedWalletInstance,\n } = useContext(WalletContext);\n\n useEffect(() => {\n if (hasConnectedWallet) {\n connectedWalletInstance.getLovelace()\n .then(setLovelace);\n }\n }, [connectedWalletName]);\n\n return lovelace;\n};\n"]}
@@ -1 +0,0 @@
1
- export declare const useNetwork: () => number | undefined;
@@ -1,14 +0,0 @@
1
- import { useContext, useEffect, useState } from 'react';
2
- import { WalletContext } from '@mesh/contexts';
3
- export const useNetwork = () => {
4
- const [networkId, setNetworkId] = useState();
5
- const { hasConnectedWallet, connectedWalletName, connectedWalletInstance, } = useContext(WalletContext);
6
- useEffect(() => {
7
- if (hasConnectedWallet) {
8
- connectedWalletInstance.getNetworkId()
9
- .then(setNetworkId);
10
- }
11
- }, [connectedWalletName]);
12
- return networkId;
13
- };
14
- //# sourceMappingURL=useNetwork.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useNetwork.js","sourceRoot":"","sources":["../../src/hooks/useNetwork.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,EAAE;IAC7B,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,EAAU,CAAC;IACrD,MAAM,EACJ,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACxB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAE9B,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,kBAAkB,EAAE;YACtB,uBAAuB,CAAC,YAAY,EAAE;iBACnC,IAAI,CAAC,YAAY,CAAC,CAAC;SACvB;IACH,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAE1B,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC","sourcesContent":["import { useContext, useEffect, useState } from 'react';\nimport { WalletContext } from '@mesh/contexts';\n\nexport const useNetwork = () => {\n const [networkId, setNetworkId] = useState<number>();\n const {\n hasConnectedWallet,\n connectedWalletName,\n connectedWalletInstance,\n } = useContext(WalletContext);\n\n useEffect(() => {\n if (hasConnectedWallet) {\n connectedWalletInstance.getNetworkId()\n .then(setNetworkId);\n }\n }, [connectedWalletName]);\n\n return networkId;\n};\n"]}
@@ -1 +0,0 @@
1
- export declare const useRewardAddress: (accountId?: number) => string | undefined;
@@ -1,17 +0,0 @@
1
- import { useContext, useEffect, useState } from 'react';
2
- import { WalletContext } from '@mesh/contexts';
3
- export const useRewardAddress = (accountId = 0) => {
4
- const [rewardAddress, setRewardAddress] = useState();
5
- const { hasConnectedWallet, connectedWalletName, connectedWalletInstance, } = useContext(WalletContext);
6
- useEffect(() => {
7
- if (hasConnectedWallet) {
8
- connectedWalletInstance.getRewardAddresses().then((addresses) => {
9
- if (addresses[accountId]) {
10
- setRewardAddress(addresses[accountId]);
11
- }
12
- });
13
- }
14
- }, [accountId, connectedWalletName]);
15
- return rewardAddress;
16
- };
17
- //# sourceMappingURL=useRewardAddress.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRewardAddress.js","sourceRoot":"","sources":["../../src/hooks/useRewardAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,SAAS,GAAG,CAAC,EAAE,EAAE;IAChD,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,EAAU,CAAC;IAC7D,MAAM,EACJ,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,GACxB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAE9B,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,kBAAkB,EAAE;YACtB,uBAAuB,CAAC,kBAAkB,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,EAAE;gBAC9D,IAAI,SAAS,CAAC,SAAS,CAAC,EAAE;oBACxB,gBAAgB,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC;iBACxC;YACH,CAAC,CAAC,CAAC;SACJ;IACH,CAAC,EAAE,CAAC,SAAS,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAErC,OAAO,aAAa,CAAC;AACvB,CAAC,CAAC","sourcesContent":["import { useContext, useEffect, useState } from 'react';\nimport { WalletContext } from '@mesh/contexts';\n\nexport const useRewardAddress = (accountId = 0) => {\n const [rewardAddress, setRewardAddress] = useState<string>();\n const {\n hasConnectedWallet,\n connectedWalletName,\n connectedWalletInstance,\n } = useContext(WalletContext);\n\n useEffect(() => {\n if (hasConnectedWallet) {\n connectedWalletInstance.getRewardAddresses().then((addresses) => {\n if (addresses[accountId]) {\n setRewardAddress(addresses[accountId]);\n }\n });\n }\n }, [accountId, connectedWalletName]);\n\n return rewardAddress;\n};\n"]}
@@ -1,9 +0,0 @@
1
- export declare const useWallet: () => {
2
- name: string;
3
- connecting: boolean;
4
- connected: boolean;
5
- wallet: import("@meshsdk/core").BrowserWallet;
6
- connect: (walletName: string) => Promise<void>;
7
- disconnect: () => void;
8
- error: unknown;
9
- };
@@ -1,18 +0,0 @@
1
- import { useContext } from 'react';
2
- import { WalletContext } from '@mesh/contexts';
3
- export const useWallet = () => {
4
- const { hasConnectedWallet, connectedWalletName, connectedWalletInstance, connectingWallet, connectWallet, disconnect, error, } = useContext(WalletContext);
5
- if (connectWallet === undefined || disconnect === undefined) {
6
- throw new Error('Can\'t call useWallet outside of the WalletProvider context');
7
- }
8
- return {
9
- name: connectedWalletName,
10
- connecting: connectingWallet,
11
- connected: hasConnectedWallet,
12
- wallet: connectedWalletInstance,
13
- connect: connectWallet,
14
- disconnect,
15
- error,
16
- };
17
- };
18
- //# sourceMappingURL=useWallet.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWallet.js","sourceRoot":"","sources":["../../src/hooks/useWallet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE;IAC5B,MAAM,EACJ,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,KAAK,GACN,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAE9B,IAAI,aAAa,KAAK,SAAS,IAAI,UAAU,KAAK,SAAS,EAAE;QAC3D,MAAM,IAAI,KAAK,CACb,6DAA6D,CAC9D,CAAC;KACH;IAED,OAAO;QACL,IAAI,EAAE,mBAAmB;QACzB,UAAU,EAAE,gBAAgB;QAC5B,SAAS,EAAE,kBAAkB;QAC7B,MAAM,EAAE,uBAAuB;QAC/B,OAAO,EAAE,aAAa;QACtB,UAAU;QACV,KAAK;KACN,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useContext } from 'react';\nimport { WalletContext } from '@mesh/contexts';\n\nexport const useWallet = () => {\n const {\n hasConnectedWallet,\n connectedWalletName,\n connectedWalletInstance,\n connectingWallet,\n connectWallet,\n disconnect,\n error,\n } = useContext(WalletContext);\n\n if (connectWallet === undefined || disconnect === undefined) {\n throw new Error(\n 'Can\\'t call useWallet outside of the WalletProvider context',\n );\n }\n\n return {\n name: connectedWalletName,\n connecting: connectingWallet,\n connected: hasConnectedWallet,\n wallet: connectedWalletInstance,\n connect: connectWallet,\n disconnect,\n error,\n };\n};\n"]}
@@ -1,2 +0,0 @@
1
- import type { Wallet } from '@meshsdk/core';
2
- export declare const useWalletList: () => Wallet[];
@@ -1,10 +0,0 @@
1
- import { useEffect, useState } from 'react';
2
- import { BrowserWallet } from '@meshsdk/core';
3
- export const useWalletList = () => {
4
- const [wallets, setWallets] = useState([]);
5
- useEffect(() => {
6
- setWallets(BrowserWallet.getInstalledWallets());
7
- }, []);
8
- return wallets;
9
- };
10
- //# sourceMappingURL=useWalletList.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWalletList.js","sourceRoot":"","sources":["../../src/hooks/useWalletList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAG9C,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,EAAE;IAChC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAW,EAAE,CAAC,CAAC;IAErD,SAAS,CAAC,GAAG,EAAE;QACb,UAAU,CAAC,aAAa,CAAC,mBAAmB,EAAE,CAAC,CAAC;IAClD,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,OAAO,CAAC;AACjB,CAAC,CAAC","sourcesContent":["import { useEffect, useState } from 'react';\nimport { BrowserWallet } from '@meshsdk/core';\nimport type { Wallet } from '@meshsdk/core';\n\nexport const useWalletList = () => {\n const [wallets, setWallets] = useState<Wallet[]>([]);\n\n useEffect(() => {\n setWallets(BrowserWallet.getInstalledWallets());\n }, []);\n\n return wallets;\n};\n"]}
@@ -1,6 +0,0 @@
1
- export declare const useWalletSubmit: () => {
2
- error: unknown;
3
- result: string | undefined;
4
- submitting: boolean;
5
- submitTx: (signedTx: string) => Promise<void>;
6
- };
@@ -1,30 +0,0 @@
1
- import { useCallback, useContext, useState } from 'react';
2
- import { WalletContext } from '@mesh/contexts';
3
- export const useWalletSubmit = () => {
4
- const [error, setError] = useState();
5
- const [result, setResult] = useState();
6
- const [submitting, setSubmitting] = useState(false);
7
- const { hasConnectedWallet, connectedWalletInstance } = useContext(WalletContext);
8
- const submitTx = useCallback(async (signedTx) => {
9
- setSubmitting(true);
10
- try {
11
- if (hasConnectedWallet) {
12
- const txHash = await connectedWalletInstance.submitTx(signedTx);
13
- setError(undefined);
14
- setResult(txHash);
15
- }
16
- throw new Error('Please make sure to connect a wallet before calling useWalletSubmit');
17
- }
18
- catch (error) {
19
- setError(error);
20
- console.error(error);
21
- }
22
- setSubmitting(false);
23
- }, []);
24
- return {
25
- error, result,
26
- submitting,
27
- submitTx,
28
- };
29
- };
30
- //# sourceMappingURL=useWalletSubmit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWalletSubmit.js","sourceRoot":"","sources":["../../src/hooks/useWalletSubmit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,EAAW,CAAC;IAC9C,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,EAAU,CAAC;IAC/C,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAE7D,MAAM,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,GACnD,UAAU,CAAC,aAAa,CAAC,CAAC;IAE5B,MAAM,QAAQ,GAAG,WAAW,CAAC,KAAK,EAAE,QAAgB,EAAE,EAAE;QACtD,aAAa,CAAC,IAAI,CAAC,CAAC;QAEpB,IAAI;YACF,IAAI,kBAAkB,EAAE;gBACtB,MAAM,MAAM,GAAG,MAAM,uBAAuB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;gBAChE,QAAQ,CAAC,SAAS,CAAC,CAAC;gBACpB,SAAS,CAAC,MAAM,CAAC,CAAC;aACnB;YAED,MAAM,IAAI,KAAK,CACb,qEAAqE,CACtE,CAAC;SACH;QAAC,OAAO,KAAK,EAAE;YACd,QAAQ,CAAC,KAAK,CAAC,CAAC;YAChB,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SACtB;QAED,aAAa,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO;QACL,KAAK,EAAE,MAAM;QACb,UAAU;QACV,QAAQ;KACT,CAAC;AACJ,CAAC,CAAC","sourcesContent":["import { useCallback, useContext, useState } from 'react';\nimport { WalletContext } from '@mesh/contexts';\n\nexport const useWalletSubmit = () => {\n const [error, setError] = useState<unknown>();\n const [result, setResult] = useState<string>();\n const [submitting, setSubmitting] = useState<boolean>(false);\n\n const { hasConnectedWallet, connectedWalletInstance } =\n useContext(WalletContext);\n\n const submitTx = useCallback(async (signedTx: string) => {\n setSubmitting(true);\n\n try {\n if (hasConnectedWallet) {\n const txHash = await connectedWalletInstance.submitTx(signedTx);\n setError(undefined);\n setResult(txHash);\n }\n\n throw new Error(\n 'Please make sure to connect a wallet before calling useWalletSubmit'\n );\n } catch (error) {\n setError(error);\n console.error(error);\n }\n\n setSubmitting(false);\n }, []);\n\n return {\n error, result,\n submitting,\n submitTx,\n };\n};\n"]}
@@ -1,6 +0,0 @@
1
- import { Transaction } from '@meshsdk/core';
2
- import type { Era, Protocol } from '@meshsdk/core';
3
- export declare const useWalletTx: (options?: {
4
- era?: Era;
5
- parameters?: Protocol;
6
- }) => Transaction;
@@ -1,19 +0,0 @@
1
- import { useContext, useState } from 'react';
2
- import { Transaction } from '@meshsdk/core';
3
- import { WalletContext } from '@mesh/contexts';
4
- export const useWalletTx = (options = {}) => {
5
- const { era, parameters } = options;
6
- const { hasConnectedWallet, connectedWalletInstance, } = useContext(WalletContext);
7
- const [tx] = useState(() => {
8
- if (hasConnectedWallet) {
9
- return new Transaction({
10
- initiator: connectedWalletInstance,
11
- parameters,
12
- era,
13
- });
14
- }
15
- throw new Error('Please make sure to connect a wallet before calling useWalletTx');
16
- });
17
- return tx;
18
- };
19
- //# sourceMappingURL=useWalletTx.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useWalletTx.js","sourceRoot":"","sources":["../../src/hooks/useWalletTx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAG/C,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,UAExB,EAAE,EAAE,EAAE;IACR,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC;IAEpC,MAAM,EACJ,kBAAkB,EAClB,uBAAuB,GACxB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;IAE9B,MAAM,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAc,GAAG,EAAE;QACtC,IAAI,kBAAkB,EAAE;YACtB,OAAO,IAAI,WAAW,CAAC;gBACrB,SAAS,EAAE,uBAAuB;gBAClC,UAAU;gBACV,GAAG;aACJ,CAAC,CAAC;SACJ;QAED,MAAM,IAAI,KAAK,CAAC,iEAAiE,CAAC,CAAC;IACrF,CAAC,CAAC,CAAC;IAEH,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC","sourcesContent":["import { useContext, useState } from 'react';\nimport { Transaction } from '@meshsdk/core';\nimport { WalletContext } from '@mesh/contexts';\nimport type { Era, Protocol } from '@meshsdk/core';\n\nexport const useWalletTx = (options: {\n era?: Era, parameters?: Protocol,\n} = {}) => {\n const { era, parameters } = options;\n\n const {\n hasConnectedWallet,\n connectedWalletInstance,\n } = useContext(WalletContext);\n\n const [tx] = useState<Transaction>(() => {\n if (hasConnectedWallet) {\n return new Transaction({\n initiator: connectedWalletInstance,\n parameters,\n era,\n });\n }\n\n throw new Error('Please make sure to connect a wallet before calling useWalletTx');\n });\n\n return tx;\n};\n"]}
@@ -1,3 +0,0 @@
1
- export * from './components';
2
- export * from './contexts';
3
- export * from './hooks';
@@ -1,4 +0,0 @@
1
- export * from './components';
2
- export * from './contexts';
3
- export * from './hooks';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC","sourcesContent":["export * from './components';\nexport * from './contexts';\nexport * from './hooks';\n"]}
@@ -1 +0,0 @@
1
- {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/typescript/lib/lib.esnext.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../node_modules/tslib/tslib.d.ts","../../node_modules/@types/react/global.d.ts","../../node_modules/csstype/index.d.ts","../../node_modules/@types/prop-types/index.d.ts","../../node_modules/@types/scheduler/tracing.d.ts","../../node_modules/@types/react/index.d.ts","./node_modules/twin.macro/types/index.d.ts","../module/dist/common/contracts/evaluator.d.ts","../module/dist/common/contracts/fetcher.d.ts","../module/dist/common/contracts/initiator.d.ts","../module/dist/common/contracts/listener.d.ts","../module/dist/common/contracts/signer.d.ts","../module/dist/common/contracts/submitter.d.ts","../module/dist/common/contracts/uploader.d.ts","../module/dist/common/contracts/index.d.ts","../module/dist/common/types/account.d.ts","../module/dist/common/types/accountinfo.d.ts","../module/dist/common/types/data.d.ts","../module/dist/common/types/action.d.ts","../module/dist/common/types/asset.d.ts","../module/dist/common/types/assetextended.d.ts","../module/dist/common/types/assetmetadata.d.ts","../module/dist/common/types/blockinfo.d.ts","../module/dist/common/types/datasignature.d.ts","../module/dist/common/types/era.d.ts","../module/dist/common/types/nativescript.d.ts","../module/dist/common/constants.d.ts","../module/dist/common/types/plutusscript.d.ts","../module/dist/common/types/recipient.d.ts","../module/dist/common/types/mint.d.ts","../module/dist/common/types/network.d.ts","../module/dist/common/types/relay.d.ts","../module/dist/common/types/poolparams.d.ts","../module/dist/common/types/protocol.d.ts","../module/dist/common/types/transactioninfo.d.ts","../module/dist/common/types/utxo.d.ts","../module/dist/common/types/wallet.d.ts","../module/dist/common/types/index.d.ts","../module/dist/common/helpers/generatenonce.d.ts","../module/dist/common/helpers/mergesignatures.d.ts","../module/dist/common/helpers/readplutusdata.d.ts","../module/dist/common/helpers/readtransaction.d.ts","../module/dist/common/helpers/index.d.ts","../module/dist/common/utils/resolver.d.ts","../module/dist/core/cip2.d.ts","../module/dist/core/cip8.d.ts","../module/dist/providers/blockfrost.provider.d.ts","../module/dist/providers/infura.provider.d.ts","../module/dist/providers/koios.provider.d.ts","../module/dist/providers/ogmios.provider.d.ts","../module/dist/providers/tango.provider.d.ts","../module/dist/providers/index.d.ts","../module/dist/scripts/forge.script.d.ts","../module/dist/scripts/index.d.ts","../module/dist/transaction/transaction.service.d.ts","../module/dist/transaction/index.d.ts","../module/dist/wallet/app.service.d.ts","../module/dist/wallet/browser.service.d.ts","../module/dist/wallet/embedded.service.d.ts","../../node_modules/axios/index.d.ts","../module/dist/wallet/mina.service.d.ts","../module/dist/wallet/index.d.ts","../module/dist/index.d.ts","./src/contexts/walletcontext.tsx","./src/contexts/index.tsx","./src/hooks/useaddress.ts","./src/hooks/useassets.ts","./src/hooks/usewalletlist.ts","./src/hooks/uselovelace.ts","./src/hooks/usenetwork.ts","./src/hooks/userewardaddress.ts","./src/hooks/usewallet.ts","./src/hooks/usewalletsubmit.ts","./src/hooks/usewallettx.ts","./src/hooks/index.ts","./src/components/menuitem/checkmark.tsx","./src/components/menuitem/menuitem.tsx","./src/components/menuitem/index.ts","./src/components/chevrondown/chevrondown.tsx","./src/components/chevrondown/index.ts","./src/components/cardanowallet/walletbalance.tsx","./src/components/cardanowallet/cardanowallet.tsx","./src/components/cardanowallet/index.ts","./src/components/meshbadge/meshlogo.tsx","./src/components/meshbadge/meshbadge.tsx","./src/components/meshbadge/index.ts","./src/components/stakebutton/stakebutton.tsx","./src/components/stakebutton/index.ts","./src/components/index.ts","./src/index.ts","../../node_modules/@types/styled-components/node_modules/@types/react/global.d.ts","../../node_modules/@types/styled-components/node_modules/@types/react/index.d.ts","../../node_modules/@types/hoist-non-react-statics/node_modules/@types/react/index.d.ts","../../node_modules/@types/hoist-non-react-statics/index.d.ts","../../node_modules/@types/styled-components/index.d.ts","./src/types/twin.d.ts","../../node_modules/@types/aria-query/index.d.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/test.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","../../node_modules/keyv/src/index.d.ts","../../node_modules/@types/http-cache-semantics/index.d.ts","../../node_modules/@types/responselike/index.d.ts","../../node_modules/@types/cacheable-request/index.d.ts","../../node_modules/@types/chai/index.d.ts","../../node_modules/@types/chai-subset/index.d.ts","../../node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/estree/index.d.ts","../../node_modules/@types/json-schema/index.d.ts","../../node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/node_modules/@types/eslint/helpers.d.ts","../../node_modules/@types/eslint-scope/node_modules/@types/eslint/index.d.ts","../../node_modules/@types/eslint-scope/index.d.ts","../../node_modules/@types/figlet/index.d.ts","../../node_modules/@types/minimatch/index.d.ts","../../node_modules/@types/glob/index.d.ts","../../node_modules/@types/graceful-fs/index.d.ts","../../node_modules/@types/unist/index.d.ts","../../node_modules/@types/hast/index.d.ts","../../node_modules/@types/html-minifier-terser/index.d.ts","../../node_modules/@types/is-function/index.d.ts","../../node_modules/@types/istanbul-lib-coverage/index.d.ts","../../node_modules/@types/istanbul-lib-report/index.d.ts","../../node_modules/@types/istanbul-reports/index.d.ts","../../node_modules/chalk/index.d.ts","../../node_modules/@sinclair/typebox/typebox.d.ts","../../node_modules/@jest/schemas/build/index.d.ts","../../node_modules/pretty-format/build/index.d.ts","../../node_modules/jest-diff/build/index.d.ts","../../node_modules/jest-matcher-utils/build/index.d.ts","../../node_modules/@types/jest/index.d.ts","../../node_modules/@types/json5/index.d.ts","../../node_modules/@types/keyv/index.d.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/mdast/index.d.ts","../../node_modules/@types/minimist/index.d.ts","../../node_modules/@types/node-fetch/node_modules/form-data/index.d.ts","../../node_modules/@types/node-fetch/externals.d.ts","../../node_modules/@types/node-fetch/index.d.ts","../../node_modules/@types/normalize-package-data/index.d.ts","../../node_modules/@types/npmlog/index.d.ts","../../node_modules/@types/parse-json/index.d.ts","../../node_modules/@types/parse5/index.d.ts","../../node_modules/@types/pretty-hrtime/index.d.ts","../../node_modules/@types/prompts/index.d.ts","../../node_modules/@types/qs/index.d.ts","../../node_modules/@types/react-dom/node_modules/@types/react/index.d.ts","../../node_modules/@types/react-dom/index.d.ts","../../node_modules/@types/resolve/index.d.ts","../../node_modules/@types/scheduler/index.d.ts","../../node_modules/@types/source-list-map/index.d.ts","../../node_modules/@types/tapable/index.d.ts","../../node_modules/@types/tar/node_modules/minipass/index.d.ts","../../node_modules/@types/tar/index.d.ts","../../node_modules/source-map/source-map.d.ts","../../node_modules/@types/uglify-js/index.d.ts","../../node_modules/anymatch/index.d.ts","../../node_modules/@types/webpack-sources/node_modules/source-map/source-map.d.ts","../../node_modules/@types/webpack-sources/lib/source.d.ts","../../node_modules/@types/webpack-sources/lib/compatsource.d.ts","../../node_modules/@types/webpack-sources/lib/concatsource.d.ts","../../node_modules/@types/webpack-sources/lib/originalsource.d.ts","../../node_modules/@types/webpack-sources/lib/prefixsource.d.ts","../../node_modules/@types/webpack-sources/lib/rawsource.d.ts","../../node_modules/@types/webpack-sources/lib/replacesource.d.ts","../../node_modules/@types/webpack-sources/lib/sizeonlysource.d.ts","../../node_modules/@types/webpack-sources/lib/sourcemapsource.d.ts","../../node_modules/@types/webpack-sources/lib/index.d.ts","../../node_modules/@types/webpack-sources/lib/cachedsource.d.ts","../../node_modules/@types/webpack-sources/index.d.ts","../../node_modules/@types/webpack/index.d.ts","../../node_modules/@types/webpack-env/index.d.ts","../../node_modules/@types/yargs-parser/index.d.ts","../../node_modules/@types/yargs/index.d.ts","../../node_modules/@types/hoist-non-react-statics/node_modules/@types/react/global.d.ts","../../node_modules/@types/react-dom/node_modules/@types/react/global.d.ts"],"fileInfos":[{"version":"f20c05dbfe50a208301d2a1da37b9931bce0466eb5a1f4fe240971b4ecc82b67","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","d11a03592451da2d1065e09e61f4e2a9bf68f780f4f6623c18b57816a9679d17","aea179452def8a6152f98f63b191b84e7cbd69b0e248c91e61fb2e52328abe8c",{"version":"9b087de7268e4efc5f215347a62656663933d63c0b1d7b624913240367b999ea","affectsGlobalScope":true},{"version":"3260e3386d9535b804205bdddb5618a9a27735bd22927f48ad54363abcd23d45","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"55f400eec64d17e888e278f4def2f254b41b89515d3b88ad75d5e05f019daddd","affectsGlobalScope":true},{"version":"181f1784c6c10b751631b24ce60c7f78b20665db4550b335be179217bacc0d5f","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"775d9c9fd150d5de79e0450f35bc8b8f94ae64e3eb5da12725ff2a649dccc777","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"34c839eaaa6d78c8674ae2c37af2236dee6831b13db7b4ef4df3ec889a04d4f2","affectsGlobalScope":true},{"version":"34478567f8a80171f88f2f30808beb7da15eac0538ae91282dd33dce928d98ed","affectsGlobalScope":true},{"version":"ab7d58e6161a550ff92e5aff755dc37fe896245348332cd5f1e1203479fe0ed1","affectsGlobalScope":true},{"version":"6bda95ea27a59a276e46043b7065b55bd4b316c25e70e29b572958fa77565d43","affectsGlobalScope":true},{"version":"aedb8de1abb2ff1095c153854a6df7deae4a5709c37297f9d6e9948b6806fa66","affectsGlobalScope":true},{"version":"a4da0551fd39b90ca7ce5f68fb55d4dc0c1396d589b612e1902f68ee090aaada","affectsGlobalScope":true},{"version":"11ffe3c281f375fff9ffdde8bbec7669b4dd671905509079f866f2354a788064","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"14a84fbe4ec531dcbaf5d2594fd95df107258e60ae6c6a076404f13c3f66f28e",{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},"ba7617784f6b9aeac5e20c5eea869bbc3ef31b905f59c796b0fd401dae17c111","6a386ff939f180ae8ef064699d8b7b6e62bc2731a62d7fbf5e02589383838dea","f5a8b384f182b3851cec3596ccc96cb7464f8d3469f48c74bf2befb782a19de5",{"version":"f5fb81489e36021600d61f9d94b93e1b09516beb30161c9ea7802d4f69139581","affectsGlobalScope":true},{"version":"0f8361dea76df2329a1ac33574906fc9807c8e4bf0397678654a4f7b4476700a","affectsGlobalScope":true},"6f0e75aeac047815bc0013788e84f47df4c964304ca86942c8aa235fb38cb346","084a94c92776b44ac5411a387b9fedf33caeebc715b3195ba5293d8ababc7ed7","f5578930b023085fed9b2d3c8cbba66228c5ce488f82dd9bb17dae951882e576","a45690db8d12abac079391cf27d18b9bdd7c7a9d7c07dcd91f13a736f277931b","120d65a26f19a7bd53e0abff46921cfefcb0387ec1af8a75c441514a2fdca9b8","86297807dd07ea43b9c158339131edf5f9b72d8e932413d4eef3f215d8186524","eedc4a09812eb13951012c7c76531ce6dc7a411c1d05eb053748dbaa83c2bf58","fe663b4fae26ffb91de599a98bbf74f005cf115bbacd435afb8279191c4f216e","c11d4e316ca6e6b95692988eb59120c877c9edc5353800f945ea95b052860f26","f7ff527053ad180db7b4c9b2a9f0b3cef22be652cf5369f8b477ff85e1e4e17e","16b927fe399a49fbb23c7c115af7027e4a1e24215991dc5f0111dc0b5cfd4884","b55dd37109c1ecf7dfbcf3bc11901989ff812751e63d73e8668bb0a7b2ddae3c","c6d40e37e6cff69b7dcd89d242936f5b689946e7ebe999c2da0b8b1839c32dc3","20dd8ebccf4757bd85e833c4abce5a1c1bb36a9997e0d4b2bdb2b6f8a3bf724c","9af4ac5f252194981a190e6e5232b3927d35ea637fa8bda8e938f419688ae800","3ec035c501eecbc9af80487da7836d1909ff9a311cfc50f1c9f8aa0fffac09de","e9de48950bf5dbdc4c9a85dce9e3272fbeb489561196880820ead42d381af9a3","7f8a894b97fe9b2b25d43abbda0f8475fa99ea67aa245b6e3c6c0de31eb72c23","4a855dc7a16813b01ab886a712ea4ae3b72569215511fd93cfceb717385394b8","237b4d8580e1001001d52186a362db98b3bd1c3f4f41d698e397e2e6ecb14b68","64409e45aaf0c2e37c6ac175095133aa48d6d2d3baa8de32daafea259d0db093","d22a49cddff880d16a7662c5d9911cbe75a87668b59eed880b9c36e4bf3d7032","9cc1d025f0b20728375a8322164f1b541745937b05e26af73a01a90d0c7fe9f9","0d36583f95692b1e13001940a31f068b07a4cae2edec7b1e7d468f6c46f821ef","86cd7eb2f076f094b365ce154232d8f82a0dbdebe465f5c9374a53995844482d","db5ee48e5f2d3abf816ab7c0c8f3552144c50a18f7462600159d9e389191ccd1","360cbf5f969617dd2ab1a2f37efd32d14ab859401dc4568d0e8b3156d2557318","aa875dd490598005c9f9adc74bcda1098a1236f5554a2ecb9c56410ce245a758","b7c2e08ffb3cfc6c3c6736176d1c755cbde35e891c9b7f01fb45503fd7e11a0f","e3089e1c8311d967381f324d6b14cad786aa298f8d869927a23e8c9553c4f3ca","580ad5a909c19c010e0026a441d76a8f11083da992fa08d192365d9b638097f8","6a88db19fb6985362ec0ea3cb0e13d8ad2ef9fb15cb85d8d0ebb94d5927bb0a6","960375019df9d673206f26ebbcdefce40cbab7c7960a183f18f49fc6f1e4dcf0","fb75733bc309ea664d1ec5895e7cd245b3af929fb53a8aa2dbcdf3823a65be33","2b25d4e2cb1671838e5a734daabdf5b79947c2475fbbd135df97d636c64601c4","b85cb2b738f9765999efcda6aaa7bcd2d95b33120601127d68a968e6cb91e53c","b6ea87e7b2bb47b5ec0031d0e21d9593cb33e017dc1e8ab6b746bcf9e08e586d","632c68681e555eb23f3a2595b43c97a21fd694c2236d24e6ae610516d2ebb501","03c86bce70519e34e82eb9f2f47a71c909387f406e259afce6c02df52c7d9b27","3a141f6fa77ce53b2ad71b2f7b9a35b0b5cc5efc243727e2a8d841b162bf066d","959fe40f7bedda41272ba713039b6017c012476b490eb764d9bdc7bd489db0fa","b815495942053d75b2a20b65b2d1a6655ce8e098788cc8fadc0db6740435ec76","2151f55a270b04f8ee00cb07a6224f15bc32c9ef36a5be515945279233ff0445","e19986de8a14b02545c53ee607d43183f6443738bd56e5d0cb73226bcd72c1f6","7ee3fbdb097920e277f32471866609ac237431071c0f0d46a815841ef8ce0b53","4de8b4c52ba6a29e137f82ba302f8a861f608786587443fefd343abca9f9c7b8","78f2f79fc5b413577266385bfbd2553b054d525fb84090b1fcaf77361f2760d8","947388a8a223bb293c2b153ac30f055d2f4696fcfe0574a983d0b58162449c12","f74cb36eecb8960d7fe2c9453c08fcd1f33560f5020a21577a4ca09cab195b5e","9fbb14db8ea846717ff451a3c412f9048806b07a1728da51eb5822907dd73514",{"version":"7a64966996caaab3bc3a928b6b70beffb5fab67efa42bbd05595a02f1246f2bf","affectsGlobalScope":true},"d2e6bca481c493b3aeff543bae5d6b04838caeaaede8c9f10c5dc76ccc91c5fa","d88dc05fd345b7a4e1816bbfd2dd087eefa9b9e36096818c2348f5b246971125","2e0b02e6063ba6c6a771ec044e37d770a28f341400cc26ca33c77a164f824a87","8fb34fb311f6c77628a0e346b47182673b9117b484731d1421b1787dbf662a34","806d79fd871782a2b14b39c6250c7c30189a7a099c14c2b3e33300e4edf46d7a","ec5939c0042978b335920024ad9660441ee99e5d6d4911409ab3ab08b74e72ca","511a8a408bf3938a676579f52e4541a13ca67e25aecf077011dccc4f8aa050c6","2ff8465e53853a82743578a952c22d93c80397d72a50c6491bd46a7f08348999","d435a62a3efb142da82c61756f8ac05726cedb4a1fd387b55c6626d31656fd55","795da662e82e983a2bf626828377cf2818dc45f89699f12f546e15f92d655729","3c4e421977871dc6457d88285b239e1f83a57aa76debd3160562d42026bff2e8","b2f4179e93695d17b85daf8b26fca98425d1f62d83001789c5c545af80f7bc7e","5254eb51b1a6daba6d1807907815ef74b9f8ea481207713b162f8aff43adb9fa","ce8349a9fe9d04e72144b282bc23a2ad81260c4af1a7b230db3d8c37f88e9bd6","6a14cf0f68b530231fad81c50b2e93d6be3c5d07e3a8d4a09350aebf84f67c2c","0239b831042d569148d00c8aa650c1748fdeb0af73091e33544f1499a31b8a3c","268bcedebe1c5236920593b7ccb8b5d9505ce1431ca7d8cc245c9676e9b40bc7","d1af05da25af261861abe9018fd4fce16dfe2e683e00a19b090b3b67c2205431","9e217c0f5564f66b8ab9ab622f3b76326281d13569d982f5c91742af9a830f27","da28edc1bdca2a5469ef9d192cb79e7389e8c85f95a25c9ecaec54cc905a6de9","38007c62b984c519325508d94286e9f7a26f9861b5cec2da962b9d95bcaad694","c8cbaec6a8ecd5587624431d98010dcadfe995a30524e24792d4fe55132fbf99","c27251efcbf77be264892229383874481f302670a2721257d698e72df41ed2a3","81593419416180d5a1a039e10ffee34e129d9388f7828d6f6533a841f23032b7","6725a86754055ce8aa5d24c1dba922b11d66df8675b7dc5faf96084d181e8df2","d8d77e6fc8d8d6dab094fb1cd13339fde76a985816f4978520351a33964f9a8f","130525fe4f3fc799d7c67613d49d8d2e55bb3b287aaa9c1bb7f5454923222599","67fe60daea424679364bfc5ff544bbe8232ded4667d4e30957ff6b45c3b43a21","ccc032a9f3f931ccb85b75e4c827394802a467d08b7e307962f564c9ff83e9a8","2f001ab0092b3e63c69d1d5839e896c90212a722d45aff1f1d343e7086bb7b13","78e4ffbcf013dfe56f3b8a8953407b54571c6b9db56836bbb33a94c1dbf811d7","a4cf5ec786eeca17f1bb82063ec078f046eff8722a8bb3bfb6dfb201c461f7c6",{"version":"bbdf156fea2fabed31a569445835aeedcc33643d404fcbaa54541f06c109df3f","affectsGlobalScope":true},{"version":"515ee54ff10b6503aeabf3419cad1ed1f6e5e3c444f3d4f24279f17cb61be012","affectsGlobalScope":true},{"version":"515ee54ff10b6503aeabf3419cad1ed1f6e5e3c444f3d4f24279f17cb61be012","affectsGlobalScope":true},"bfe1b52cf71aea9bf8815810cc5d9490fa9617313e3d3c2ee3809a28b80d0bb4",{"version":"356701ea5df9eea3bf62b0f29857cb950d95eec9b9063f85c17be705926cdd2a","affectsGlobalScope":true},{"version":"703e6e497acdb24149ac82e9021ddeb2484a674096a3324fb3920928d8841dde","affectsGlobalScope":true},"5024433f8da3a7968f6d12cffd32f2cefae4442a9ad1c965fa2d23342338b700","9122ed7070e054b73ebab37c2373a196def2d90e7d1a9a7fcd9d46b0e51fae78","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"21a167fec8f933752fb8157f06d28fab6817af3ad9b0bdb1908a10762391eab9",{"version":"3e4624c306340ad303cc536a07004e81336c3f088308a9e4a9f4c957a3cda2fd","affectsGlobalScope":true},"0c0cee62cb619aed81133b904f644515ba3064487002a7da83fd8aa07b1b4abd","5a94487653355b56018122d92392beb2e5f4a6c63ba5cef83bbe1c99775ef713",{"version":"d5135ad93b33adcce80b18f8065087934cdc1730d63db58562edcf017e1aad9b","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","34ec1daf3566f26c43dbab380af0de1aac29166e57e4f9ef379a2f154e0cb290","bb9c4ffa5e6290c6980b63c815cdd1625876dadb2efaf77edbe82984be93e55e","75ecef44f126e2ae018b4abbd85b6e8a2e2ba1638ebec56cc64274643ce3567b","f30bb836526d930a74593f7b0f5c1c46d10856415a8f69e5e2fc3db80371e362","14b5aa23c5d0ae1907bc696ac7b6915d88f7d85799cc0dc2dcf98fbce2c5a67c","5c439dafdc09abe4d6c260a96b822fa0ba5be7203c71a63ab1f1423cd9e838ea",{"version":"249a2b90439cdfd51709539fbfa4dfe0791cbae6efce1e9b327ba8f8cd703f49","affectsGlobalScope":true},"2f60ac046e587e917d739f1edc77540eb0ec34f83090dae4ebd5f96c1c9578d4","a9b6b0f7b1e30359283b131ba6d1c51ee2d3601a2f12e1623141e6a1a60c92a5","aeee0090b38de0dd47ca9a79ad5c2d156e3e09d92306719b0b45a3e96098e564","7bac475dcdd9f7e4e9da934d32c305bc889c4ce3c8ac0ef45a93a8d670fff607","09416dd69576b03a3f485adf329a02f043e4a481e060ef5b208194e488d31fd9","8acf99b1c8682276a63ea5bb68433782715892726b97e4604a415e4e56bce41c",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"3b145a2351f5cf16abf999c8d5f4481c74dffdc54ec1e9a89992e2622e1226c5","a907bf91df26df2400858ef75f749498fb5cf00062bf90a737ac3949cc07978d","d270fd4b565eda11a0a737c181892316b7a1ace06c7988d0246219c3df11db06","4275d5f964e7fc7afc18538e26b3748c207dd772998346d17f409749aa1f3a63",{"version":"59a638a504490fecaacf0020b9814b6abee37edb66047eb1ab9f7c2274bf1da0","affectsGlobalScope":true},"5153a2fd150e46ce57bb3f8db1318d33f6ad3261ed70ceeff92281c0608c74a3","d1a78a3c5708807e8de3e399f91df4797c62e44b02195eefc2209b2e713e54ee","8c4c1a64db28930732033c31418f817dcb9d09d706766707ae6d38f23faf0c53","25846d43937c672bab7e8195f3d881f93495df712ee901860effc109918938cc","556bf5c36deb62cffa1bf697c1789fe008ec82db0273025001db66732714e9d9","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","23b89798789dffbd437c0c423f5d02d11f9736aea73d6abf16db4f812ff36eda","653968fc1b35c5eb3d273d36fac1c1dc66f9537edf28f33485b8776bd956e23d",{"version":"970a90f76d4d219ad60819d61f5994514087ba94c985647a3474a5a3d12714ed","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","a381f079c4804442f179d742fdb2e495fe28d67a47cac673485f75ae2e77aeca","3c13ef48634e7b5012fcf7e8fce7496352c2d779a7201389ca96a2a81ee4314d","5d0a25ec910fa36595f85a67ac992d7a53dd4064a1ba6aea1c9f14ab73a023f2",{"version":"bfe39beb986d2a2e512c091cbe924f1c415bc65de54de0e2f6a0dc6f84c183d9","affectsGlobalScope":true},"2af17363f8a062e3a8cd1b26030af0058b3f86e783f4fc6aa9f57247f240ebaa","06d7c42d256f0ce6afe1b2b6cfbc97ab391f29dadb00dd0ae8e8f23f5bc916c3","dfe08140492cdc135fb7fd9c4a652c05207b61a436906079b87da1d3111314bf","e59a892d87e72733e2a9ca21611b9beb52977be2696c7ba4b216cbbb9a48f5aa","089e1f8603cbc35ab977c8dcc662eb754b82fca32ed1dfb16bd682726c2d5432","8a300fa9b698845a1f9c41ecbe2c5966634582a8e2020d51abcace9b55aa959e",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"64d5585e08ad1ab194b18bf4e851f22a626eae33ac7312ca4ba90bb7ea7daf64","92edb6e257fa64d3baae647490e041912684f5dc1f243d0aedd60b4b383ff50b","cab425b5559edac18327eb2c3c0f47e7e9f71b667290b7689faafd28aac69eae","3cfb0cb51cc2c2e1b313d7c4df04dbf7e5bda0a133c6b309bf6af77cf614b971","f992cd6cc0bcbaa4e6c810468c90f2d8595f8c6c3cf050c806397d3de8585562",{"version":"127bf414ca8ced28c9738b91a935121009d03bbc136668db980bd1ba18976b2b","affectsGlobalScope":true},{"version":"f4c0db3a49cea9babd5d224ba14243a6a6119bf65a65198994033aaea3a60a71","affectsGlobalScope":true},{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"946bd1737d9412395a8f24414c70f18660b84a75a12b0b448e6eb1a2161d06dd","f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","c84d0f714fe122193c21c0f0917e873beb3a03fa3422ceb2fbd1ebc0558790a0",{"version":"64d4b35c5456adf258d2cf56c341e203a073253f229ef3208fc0d5020253b241","affectsGlobalScope":true},"3adc8ac088388fd10b0e9cd3fa08abbebed9172577807394a241466ccb98f411","e050a0afcdbb269720a900c85076d18e0c1ab73e580202a2bf6964978181222a","c1f0189b8a3ffa0edc224ee2239767701219ecd950244ef5f40736bff77adea3","963d59066dd6742da1918a6213a209bcc205b8ee53b1876ee2b4e6d80f97c85e","fd326577c62145816fe1acc306c734c2396487f76719d3785d4e825b34540b33","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","cddf5c26907c0b8378bc05543161c11637b830da9fadf59e02a11e675d11e180","3d2cd8f3047fff04a71e7037a6a4cb9f4accb28dbd8c0d83164d414811025af0","70b34c8420d6226ed565d55f47fe04912d0ca0ad128825c5a06e018a3498db32","de1d6e224048139baf7494237a9231be6bab9e990fb239c7825bfd38b06d8c90","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d982cdd2610155b3cbcbfa62ccabcf2d2b739f821518ef113348d160ef0010d9","ffcc5500e77223169833fc6eb59b3a507944a1f89574e0a1276b0ea7fc22c4a4","22f13de9e2fe5f0f4724797abd3d34a1cdd6e47ef81fc4933fea3b8bf4ad524b","e3ba509d3dce019b3190ceb2f3fc88e2610ab717122dabd91a9efaa37804040d","cda0cb09b995489b7f4c57f168cd31b83dcbaa7aad49612734fb3c9c73f6e4f2",{"version":"1de1ad6a1929317171d8cfcd55bb2732257680c1bf89bcd53e1d46a4d8dbda22","affectsGlobalScope":true},"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","fec943fdb3275eb6e006b35e04a8e2e99e9adf3f4b969ddf15315ac7575a93e4","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","febf0b2de54781102b00f61653b21377390a048fbf5262718c91860d11ff34a6","98f9d826db9cd99d27a01a59ee5f22863df00ccf1aaf43e1d7db80ebf716f7c3","0aaef8cded245bf5036a7a40b65622dd6c4da71f7a35343112edbe112b348a1e","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","7a79ca84e4370ed2e1afaa99ff7d25194901916b7672e977d16f77af3b71342f","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3cf0d343c2276842a5b617f22ba82af6322c7cfe8bb52238ffc0c491a3c21019","df996e25faa505f85aeb294d15ebe61b399cf1d1e49959cdfaf2cc0815c203f9",{"version":"f2eff8704452659641164876c1ef0df4174659ce7311b0665798ea3f556fa9ad","affectsGlobalScope":true},"2a2e2c6463bcf3c59f31bc9ab4b6ef963bbf7dffb049cd017e2c1834e3adca63","209e814e8e71aec74f69686a9506dd7610b97ab59dcee9446266446f72a76d05","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","3898e3dbe94b6fe529fbe8f0faee1309c1923100516d7a014b301955e52ece77","3663d1b50f356656a314e5df169bb51cb9d5fd75905fa703f75db6bb32030568","6fa0008bf91a4cc9c8963bace4bba0bd6865cbfa29c3e3ccc461155660fb113a","df38da6685578ac3d0e4ce2d20f3d59462ee53959b8263d2532ec9cec48ae098","2b8264b2fefd7367e0f20e2c04eed5d3038831fe00f5efbc110ff0131aab899b","c555dd691dd05955e99cd93dd99c685a65e5287813ccb5e6bfde951183248e26","c0a3ea3aee13c4946a6aefce3a6ab9292a40a29f6622cde0fda0b1067a1a1f5f","2d17c0dd1d8b821c4e43c9b68ce0619c44f8aabd8fb050b2921048f0e6161b72","ba601641fac98c229ccd4a303f747de376d761babb33229bb7153bed9356c9cc",{"version":"515ee54ff10b6503aeabf3419cad1ed1f6e5e3c444f3d4f24279f17cb61be012","affectsGlobalScope":true},"e4dd91dd4789a109aab51d8a0569a282369fcda9ba6f2b2297bc61bacfb1a042","8a19491eba2108d5c333c249699f40aff05ad312c04a17504573b27d91f0aede","74b0245c42990ed8a849df955db3f4362c81b13f799ebc981b7bec2d5b414a57","67fc055eb86a0632e2e072838f889ffe1754083cb13c8c80a06a7d895d877aae","3833c70307dc3d2b46cb6f2a8b6a90e4d7e7367a21ab18c481d7de0909a43e67","49071e41d5c73f3f24ad872bc36ca5367531c4e3d5f2f784b3a092aa471938c7","0a817cac033085af2e801fae6fdfbc6a1bb92f7aa28c3aaf0fa4b400af15afb0","2887592574fcdfd087647c539dcb0fbe5af2521270dad4a37f9d17c16190d579","9dcd1a6ae84def6ce3e80b27a367912e5b8e9f15c039143820ab76f7ceb8f3ab","4fb0b7d532aa6fb850b6cd2f1ee4f00802d877b5c66a51903bc1fb0624126349","b90c59ac4682368a01c83881b814738eb151de8a58f52eb7edadea2bcffb11b9","8560a87b2e9f8e2c3808c8f6172c9b7eb6c9b08cb9f937db71c285ecf292c81d","ffe3931ff864f28d80ae2f33bd11123ad3d7bad9896b910a1e61504cc093e1f5","083c1bd82f8dc3a1ed6fc9e8eaddf141f7c05df418eca386598821e045253af9","274ebe605bd7f71ce161f9f5328febc7d547a2929f803f04b44ec4a7d8729517","6ca0207e70d985a24396583f55836b10dc181063ab6069733561bfde404d1bad","5908142efeaab38ffdf43927ee0af681ae77e0d7672b956dfb8b6c705dbfe106","f772b188b943549b5c5eb803133314b8aa7689eced80eed0b70e2f30ca07ab9c","0026b816ef05cfbf290e8585820eef0f13250438669107dfc44482bac007b14f","05d64cc1118031b29786632a9a0f6d7cf1dcacb303f27023a466cf3cdc860538","e0fff9119e1a5d2fdd46345734126cd6cb99c2d98a9debf0257047fe3937cc3f","d84398556ba4595ee6be554671da142cfe964cbdebb2f0c517a10f76f2b016c0","e275297155ec3251200abbb334c7f5641fecc68b2a9573e40eed50dff7584762","1fc49547f60101e7fac0d9113a52c29178be082d46d7525009aebafdbb170a69",{"version":"401845ce10d4d9848a8e39f5004446eef7c3db2de5e9341b8a17c9b00aefcc0a","affectsGlobalScope":true},"70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","09c4b2e2d3070239d563fc690f0cc5db04a2d9b66a23e61aef8b5274e3e9910c"],"options":{"declaration":true,"declarationDir":"./dist","emitDeclarationOnly":false,"esModuleInterop":true,"importHelpers":true,"inlineSources":true,"jsx":1,"module":99,"noEmitHelpers":true,"noFallthroughCasesInSwitch":true,"noImplicitAny":false,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99},"fileIdsList":[[197,230],[197],[168,171,196,197,204,205,206,207],[197,209],[197,212,216],[197,212,213,215],[197,211,212,213],[168,169,197,204,219],[169,197,204],[197,222],[147,197],[58,59,60,197,291],[197,226],[197,227],[197,232,234],[168,197,204],[197,238,240,241,242,243,244,245,246,247,248,249,250],[197,238,239,241,242,243,244,245,246,247,248,249,250],[197,239,240,241,242,243,244,245,246,247,248,249,250],[197,238,239,240,242,243,244,245,246,247,248,249,250],[197,238,239,240,241,243,244,245,246,247,248,249,250],[197,238,239,240,241,242,244,245,246,247,248,249,250],[197,238,239,240,241,242,243,245,246,247,248,249,250],[197,238,239,240,241,242,243,244,246,247,248,249,250],[197,238,239,240,241,242,243,244,245,247,248,249,250],[197,238,239,240,241,242,243,244,245,246,248,249,250],[197,238,239,240,241,242,243,244,245,246,247,249,250],[197,238,239,240,241,242,243,244,245,246,247,248,250],[197,238,239,240,241,242,243,244,245,246,247,248,249],[171,196,197,204,253,254],[171,185,197,204],[153,197],[156,197],[157,162,197],[158,168,169,176,185,196,197],[158,159,168,176,197],[160,197],[161,162,169,177,197],[162,185,193,197],[163,165,168,176,197],[164,197],[165,166,197],[167,168,197],[168,197],[168,169,170,185,196,197],[168,169,170,185,188,197],[197,201],[171,176,185,196,197],[168,169,171,172,176,185,193,196,197],[171,173,185,193,196,197],[153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203],[168,174,197],[175,196,197],[165,168,176,185,197],[177,197],[178,197],[156,179,197],[180,195,197,201],[181,197],[182,197],[168,183,197],[183,184,197,199],[168,185,186,187,188,197],[185,187,197],[185,186,197],[188,197],[189,197],[168,191,192,197],[191,192,197],[162,176,185,193,197],[194,197],[176,195,197],[157,171,182,196,197],[162,197],[185,197,198],[197,199],[197,200],[157,162,168,170,179,185,196,197,199,201],[185,197,202],[185,197,204],[58,59,60,197,292],[57,58,59,60,197],[197,204],[58,147,149,197],[58,59,60,146,197],[168,185,197,202,204,269],[168,185,197,204],[197,271],[197,204,275,276,277,278,279,280,281,282,283,284,285],[197,274,275,284],[197,275,284],[197,267,274,275,284],[197,274,275,276,277,278,279,280,281,282,283,285],[197,275],[162,197,274,284],[162,197,204,268,271,272,273,286],[197,289],[197,232],[197,229,233],[197,231],[93,197],[63,64,65,66,67,68,69,197],[94,95,96,97,197],[73,197],[75,197],[71,72,73,74,75,76,77,78,79,80,81,83,84,85,86,87,88,89,90,91,92,197],[75,77,84,197],[82,197],[87,197],[73,81,83,197],[70,93,98,99,100,101,107,109,111,117,197],[102,103,104,105,106,197],[108,197],[110,197],[112,113,114,116,197],[115,197],[61,151,197],[56,61,62,130,133,136,151,197],[56,137,197],[56,62,130,135,151,197],[56,62,151,197],[56,134,197],[56,138,141,143,197],[56,132,197],[56,62,131,151,197],[56,140,197],[56,62,139,151,197],[56,142,197],[56,61,62,118,130,133,135,151,197],[56,119,197],[56,61,118,197],[56,121,122,123,124,125,126,127,128,129,197],[56,61,120,197],[56,61,118,120,197],[56,120,130,144,197],[61,62,150,151,197]],"referencedMap":[[231,1],[230,2],[152,2],[208,3],[210,4],[209,2],[217,5],[215,2],[216,6],[211,2],[214,7],[212,2],[218,2],[220,8],[221,9],[223,10],[149,11],[148,12],[224,2],[206,2],[225,2],[226,2],[227,13],[228,14],[235,15],[213,2],[236,2],[237,16],[239,17],[240,18],[238,19],[241,20],[242,21],[243,22],[244,23],[245,24],[246,25],[247,26],[248,27],[249,28],[250,29],[251,10],[219,2],[252,2],[254,2],[255,30],[253,31],[153,32],[154,32],[156,33],[157,34],[158,35],[159,36],[160,37],[161,38],[162,39],[163,40],[164,41],[165,42],[166,42],[167,43],[168,44],[169,45],[170,46],[155,47],[203,2],[171,48],[172,49],[173,50],[204,51],[174,52],[175,53],[176,54],[177,55],[178,56],[179,57],[180,58],[181,59],[182,60],[183,61],[184,62],[185,63],[187,64],[186,65],[188,66],[189,67],[190,2],[191,68],[192,69],[193,70],[194,71],[195,72],[196,73],[197,74],[198,75],[199,76],[200,77],[201,78],[202,79],[256,2],[257,44],[258,2],[259,2],[260,2],[261,80],[59,2],[262,2],[264,11],[263,81],[57,2],[61,82],[265,83],[207,31],[266,2],[60,2],[267,2],[150,84],[146,2],[147,85],[268,2],[270,86],[269,87],[272,88],[222,2],[288,2],[286,89],[285,90],[276,91],[277,92],[284,93],[278,92],[279,91],[280,91],[281,91],[282,94],[275,95],[283,90],[274,2],[287,96],[289,2],[290,97],[273,2],[115,2],[229,2],[58,2],[233,98],[234,99],[205,44],[232,100],[271,2],[56,2],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[34,2],[35,2],[36,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[8,2],[48,2],[45,2],[46,2],[47,2],[49,2],[9,2],[50,2],[51,2],[52,2],[53,2],[54,2],[1,2],[10,2],[55,2],[82,101],[63,2],[64,2],[70,102],[65,2],[66,2],[67,2],[68,2],[69,2],[94,2],[98,103],[95,2],[96,2],[97,2],[71,2],[72,2],[74,104],[75,2],[76,105],[77,2],[78,2],[73,2],[79,2],[80,2],[93,106],[85,107],[81,2],[86,2],[83,108],[88,109],[89,2],[84,110],[87,2],[90,2],[91,105],[92,2],[99,2],[100,2],[101,2],[118,111],[102,2],[107,112],[103,2],[104,2],[105,2],[106,2],[108,2],[109,113],[111,114],[110,2],[112,2],[113,2],[114,2],[117,115],[116,116],[62,117],[137,118],[138,119],[136,120],[134,121],[135,122],[144,123],[131,121],[133,124],[132,125],[141,126],[140,127],[139,121],[143,128],[142,129],[120,130],[119,131],[130,132],[121,133],[122,134],[124,133],[125,133],[126,133],[127,133],[123,131],[128,133],[129,134],[145,135],[151,136]],"exportedModulesMap":[[231,1],[230,2],[152,2],[208,3],[210,4],[209,2],[217,5],[215,2],[216,6],[211,2],[214,7],[212,2],[218,2],[220,8],[221,9],[223,10],[149,11],[148,12],[224,2],[206,2],[225,2],[226,2],[227,13],[228,14],[235,15],[213,2],[236,2],[237,16],[239,17],[240,18],[238,19],[241,20],[242,21],[243,22],[244,23],[245,24],[246,25],[247,26],[248,27],[249,28],[250,29],[251,10],[219,2],[252,2],[254,2],[255,30],[253,31],[153,32],[154,32],[156,33],[157,34],[158,35],[159,36],[160,37],[161,38],[162,39],[163,40],[164,41],[165,42],[166,42],[167,43],[168,44],[169,45],[170,46],[155,47],[203,2],[171,48],[172,49],[173,50],[204,51],[174,52],[175,53],[176,54],[177,55],[178,56],[179,57],[180,58],[181,59],[182,60],[183,61],[184,62],[185,63],[187,64],[186,65],[188,66],[189,67],[190,2],[191,68],[192,69],[193,70],[194,71],[195,72],[196,73],[197,74],[198,75],[199,76],[200,77],[201,78],[202,79],[256,2],[257,44],[258,2],[259,2],[260,2],[261,80],[59,2],[262,2],[264,11],[263,81],[57,2],[61,82],[265,83],[207,31],[266,2],[60,2],[267,2],[150,84],[146,2],[147,85],[268,2],[270,86],[269,87],[272,88],[222,2],[288,2],[286,89],[285,90],[276,91],[277,92],[284,93],[278,92],[279,91],[280,91],[281,91],[282,94],[275,95],[283,90],[274,2],[287,96],[289,2],[290,97],[273,2],[115,2],[229,2],[58,2],[233,98],[234,99],[205,44],[232,100],[271,2],[56,2],[11,2],[12,2],[14,2],[13,2],[2,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[22,2],[3,2],[4,2],[26,2],[23,2],[24,2],[25,2],[27,2],[28,2],[29,2],[5,2],[30,2],[31,2],[32,2],[33,2],[6,2],[34,2],[35,2],[36,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[8,2],[48,2],[45,2],[46,2],[47,2],[49,2],[9,2],[50,2],[51,2],[52,2],[53,2],[54,2],[1,2],[10,2],[55,2],[82,101],[63,2],[64,2],[70,102],[65,2],[66,2],[67,2],[68,2],[69,2],[94,2],[98,103],[95,2],[96,2],[97,2],[71,2],[72,2],[74,104],[75,2],[76,105],[77,2],[78,2],[73,2],[79,2],[80,2],[93,106],[85,107],[81,2],[86,2],[83,108],[88,109],[89,2],[84,110],[87,2],[90,2],[91,105],[92,2],[99,2],[100,2],[101,2],[118,111],[102,2],[107,112],[103,2],[104,2],[105,2],[106,2],[108,2],[109,113],[111,114],[110,2],[112,2],[113,2],[114,2],[117,115],[116,116],[62,117],[137,118],[138,119],[136,120],[134,121],[135,122],[144,123],[131,121],[133,124],[132,125],[141,126],[140,127],[139,121],[143,128],[142,129],[120,130],[119,131],[130,132],[121,133],[122,134],[124,133],[125,133],[126,133],[127,133],[123,131],[128,133],[129,134],[145,135],[151,136]],"semanticDiagnosticsPerFile":[231,230,152,208,210,209,217,215,216,211,214,212,218,220,221,223,149,148,224,206,225,226,227,228,235,213,236,237,239,240,238,241,242,243,244,245,246,247,248,249,250,251,219,252,254,255,253,153,154,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,155,203,171,172,173,204,174,175,176,177,178,179,180,181,182,183,184,185,187,186,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,256,257,258,259,260,261,59,262,264,263,57,61,265,207,266,60,267,150,146,147,268,270,269,272,222,288,286,285,276,277,284,278,279,280,281,282,275,283,274,287,289,290,273,115,229,58,233,234,205,232,271,56,11,12,14,13,2,15,16,17,18,19,20,21,22,3,4,26,23,24,25,27,28,29,5,30,31,32,33,6,34,35,36,37,7,38,43,44,39,40,41,42,8,48,45,46,47,49,9,50,51,52,53,54,1,10,55,82,63,64,70,65,66,67,68,69,94,98,95,96,97,71,72,74,75,76,77,78,73,79,80,93,85,81,86,83,88,89,84,87,90,91,92,99,100,101,118,102,107,103,104,105,106,108,109,111,110,112,113,114,117,116,62,137,138,136,134,135,144,131,133,132,141,140,139,143,[142,[{"file":"./src/components/stakebutton/stakebutton.tsx","start":2130,"length":5,"messageText":"'error' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true},{"file":"./src/components/stakebutton/stakebutton.tsx","start":3532,"length":6,"messageText":"'txHash' is declared but its value is never read.","category":1,"code":6133,"reportsUnnecessary":true}]],120,119,130,121,122,124,125,126,127,123,128,129,145,151]},"version":"4.8.2"}