-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 44.2 KB
/
.eslintcache
1
[{"/Users/caos/workspace/develop/flow/flow-tools/src/pages/fungibleTokenIssue/index.tsx":"1","/Users/caos/workspace/develop/flow/flow-tools/src/components/Container/index.tsx":"2","/Users/caos/workspace/develop/flow/flow-tools/src/components/Contracts/index.tsx":"3","/Users/caos/workspace/develop/flow/flow-tools/src/components/AccountInfo/index.tsx":"4","/Users/caos/workspace/develop/flow/flow-tools/src/utils/index.ts":"5","/Users/caos/workspace/develop/flow/flow-tools/src/constants/index.ts":"6","/Users/caos/workspace/develop/flow/flow-tools/src/pages/fungibleTokenDetail/index.tsx":"7","/Users/caos/workspace/develop/flow/flow-tools/src/hooks/useAccount.ts":"8","/Users/caos/workspace/develop/flow/flow-tools/src/hooks/useCurrentUser.ts":"9","/Users/caos/workspace/develop/flow/flow-tools/src/i18n.ts":"10","/Users/caos/workspace/develop/flow/flow-tools/src/themes/components/button.ts":"11","/Users/caos/workspace/develop/flow/flow-tools/src/pages/home/index.tsx":"12","/Users/caos/workspace/develop/flow/flow-tools/src/components/Footer/index.tsx":"13","/Users/caos/workspace/develop/flow/flow-tools/src/flow/fetchFlowInfo.ts":"14","/Users/caos/workspace/develop/flow/flow-tools/src/cadance/fungibleToken/scripts/index.ts":"15","/Users/caos/workspace/develop/flow/flow-tools/src/flow/fungibleToken.ts":"16","/Users/caos/workspace/develop/flow/flow-tools/src/cadance/fungibleToken/contracts/index.ts":"17","/Users/caos/workspace/develop/flow/flow-tools/src/cadance/fungibleToken/transactions/index.ts":"18","/Users/caos/workspace/develop/flow/flow-tools/src/config.tsx":"19","/Users/caos/workspace/develop/flow/flow-tools/src/components/FungibleTokenForm/index.tsx":"20","/Users/caos/workspace/develop/flow/flow-tools/src/pages/account/index.tsx":"21","/Users/caos/workspace/develop/flow/flow-tools/src/components/analytics/GoogleAnalyticsReporter.tsx":"22","/Users/caos/workspace/develop/flow/flow-tools/src/components/Modals/MintFTModal.tsx":"23","/Users/caos/workspace/develop/flow/flow-tools/src/components/Modals/TransferFTModal.tsx":"24","/Users/caos/workspace/develop/flow/flow-tools/src/serviceWorker.ts":"25","/Users/caos/workspace/develop/flow/flow-tools/src/pages/fungibleTokens/index.tsx":"26","/Users/caos/workspace/develop/flow/flow-tools/src/components/Header/index.tsx":"27","/Users/caos/workspace/develop/flow/flow-tools/src/components/ColorModeSwitcher/index.tsx":"28","/Users/caos/workspace/develop/flow/flow-tools/src/components/TokenQueryForm/index.tsx":"29","/Users/caos/workspace/develop/flow/flow-tools/src/pages/App.tsx":"30","/Users/caos/workspace/develop/flow/flow-tools/src/components/LoginTip/index.tsx":"31","/Users/caos/workspace/develop/flow/flow-tools/src/index.tsx":"32","/Users/caos/workspace/develop/flow/flow-tools/src/themes/foundations/borders.ts":"33","/Users/caos/workspace/develop/flow/flow-tools/src/components/Avatar/index.tsx":"34","/Users/caos/workspace/develop/flow/flow-tools/src/pages/nonFungibleTokenIssue/index.tsx":"35","/Users/caos/workspace/develop/flow/flow-tools/src/pages/nonFungibleTokens/index.tsx":"36","/Users/caos/workspace/develop/flow/flow-tools/src/pages/nonFungibleTokenDetail/index.tsx":"37","/Users/caos/workspace/develop/flow/flow-tools/src/pages/nonFungibleTokenQuery/index.tsx":"38","/Users/caos/workspace/develop/flow/flow-tools/src/cadance/nonFungibleToken/contracts/index.ts":"39","/Users/caos/workspace/develop/flow/flow-tools/src/reportWebVitals.ts":"40","/Users/caos/workspace/develop/flow/flow-tools/src/pages/fungibleTokenQuery/index.tsx":"41","/Users/caos/workspace/develop/flow/flow-tools/src/pages/createAccount/index.tsx":"42","/Users/caos/workspace/develop/flow/flow-tools/src/flow/accounts.ts":"43"},{"size":2201,"mtime":1612003046867,"results":"44","hashOfConfig":"45"},{"size":447,"mtime":1611474110483,"results":"46","hashOfConfig":"45"},{"size":2324,"mtime":1611477363387,"results":"47","hashOfConfig":"45"},{"size":1321,"mtime":1611477898848,"results":"48","hashOfConfig":"45"},{"size":2942,"mtime":1613879235483,"results":"49","hashOfConfig":"45"},{"size":1178,"mtime":1611472375404,"results":"50","hashOfConfig":"45"},{"size":5584,"mtime":1611998146512,"results":"51","hashOfConfig":"45"},{"size":1058,"mtime":1611230384423,"results":"52","hashOfConfig":"45"},{"size":795,"mtime":1611136820604,"results":"53","hashOfConfig":"45"},{"size":509,"mtime":1610870440593,"results":"54","hashOfConfig":"45"},{"size":17,"mtime":1610870440603,"results":"55","hashOfConfig":"45"},{"size":877,"mtime":1612002426278,"results":"56","hashOfConfig":"45"},{"size":262,"mtime":1611478373955,"results":"57","hashOfConfig":"45"},{"size":600,"mtime":1611223486965,"results":"58","hashOfConfig":"45"},{"size":1866,"mtime":1611152797150,"results":"59","hashOfConfig":"45"},{"size":3032,"mtime":1611308076025,"results":"60","hashOfConfig":"45"},{"size":6588,"mtime":1613879963148,"results":"61","hashOfConfig":"45"},{"size":4536,"mtime":1613880046653,"results":"62","hashOfConfig":"45"},{"size":216,"mtime":1611476307196,"results":"63","hashOfConfig":"45"},{"size":1322,"mtime":1611231618308,"results":"64","hashOfConfig":"45"},{"size":676,"mtime":1611231599908,"results":"65","hashOfConfig":"45"},{"size":392,"mtime":1610870440600,"results":"66","hashOfConfig":"45"},{"size":3692,"mtime":1611484006492,"results":"67","hashOfConfig":"45"},{"size":3781,"mtime":1611308531435,"results":"68","hashOfConfig":"45"},{"size":5258,"mtime":1610870440592,"results":"69","hashOfConfig":"45"},{"size":1003,"mtime":1611471883746,"results":"70","hashOfConfig":"45"},{"size":1662,"mtime":1613303291041,"results":"71","hashOfConfig":"45"},{"size":794,"mtime":1611477057162,"results":"72","hashOfConfig":"45"},{"size":3045,"mtime":1612002651079,"results":"73","hashOfConfig":"45"},{"size":2442,"mtime":1612002523958,"results":"74","hashOfConfig":"45"},{"size":487,"mtime":1611485981514,"results":"75","hashOfConfig":"45"},{"size":1720,"mtime":1611488536990,"results":"76","hashOfConfig":"45"},{"size":17,"mtime":1610870440603,"results":"77","hashOfConfig":"45"},{"size":328,"mtime":1611230904920,"results":"78","hashOfConfig":"45"},{"size":2207,"mtime":1612003068340,"results":"79","hashOfConfig":"45"},{"size":1005,"mtime":1612002223540,"results":"80","hashOfConfig":"45"},{"size":5584,"mtime":1612002266776,"results":"81","hashOfConfig":"45"},{"size":531,"mtime":1612002986666,"results":"82","hashOfConfig":"45"},{"size":7131,"mtime":1613880010274,"results":"83","hashOfConfig":"45"},{"size":416,"mtime":1610870440598,"results":"84","hashOfConfig":"45"},{"size":520,"mtime":1611471708203,"results":"85","hashOfConfig":"45"},{"size":838,"mtime":1613878924996,"results":"86","hashOfConfig":"45"},{"size":2808,"mtime":1613879162146,"results":"87","hashOfConfig":"45"},{"filePath":"88","messages":"89","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"1d0lz6q",{"filePath":"90","messages":"91","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"95"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"98","usedDeprecatedRules":"99"},{"filePath":"100","messages":"101","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"102","messages":"103","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"104","usedDeprecatedRules":"105"},{"filePath":"106","messages":"107","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"110"},{"filePath":"111","messages":"112","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"113","usedDeprecatedRules":"114"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"110"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"119","usedDeprecatedRules":"114"},{"filePath":"120","messages":"121","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"122","messages":"123","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"124","usedDeprecatedRules":"99"},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"127"},{"filePath":"128","messages":"129","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"99"},{"filePath":"132","messages":"133","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"95"},{"filePath":"138","messages":"139","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":"142","usedDeprecatedRules":"99"},{"filePath":"143","messages":"144","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"145","messages":"146","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"147","usedDeprecatedRules":"148"},{"filePath":"149","messages":"150","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"151","usedDeprecatedRules":"152"},{"filePath":"153","messages":"154","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"99"},{"filePath":"155","messages":"156","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"157","messages":"158","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"159","messages":"160","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"95"},{"filePath":"161","messages":"162","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"163","usedDeprecatedRules":"105"},{"filePath":"164","messages":"165","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"166","messages":"167","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"168","usedDeprecatedRules":"169"},{"filePath":"170","messages":"171","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"172","messages":"173","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"119","usedDeprecatedRules":"110"},{"filePath":"174","messages":"175","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"176"},{"filePath":"177","messages":"178","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"179","messages":"180","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"181","messages":"182","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"183","messages":"184","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"185","messages":"186","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"187","messages":"188","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"189","messages":"190","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"191","messages":"192","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"193","messages":"194","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"/Users/caos/workspace/develop/flow/flow-tools/src/pages/fungibleTokenIssue/index.tsx",["195","196"],"/Users/caos/workspace/develop/flow/flow-tools/src/components/Container/index.tsx",[],["197","198"],"/Users/caos/workspace/develop/flow/flow-tools/src/components/Contracts/index.tsx",[],["199","200"],"/Users/caos/workspace/develop/flow/flow-tools/src/components/AccountInfo/index.tsx",["201"],"import React, { useEffect } from \"react\";\n\nimport {\n Box, Flex, Stat,\n StatNumber,\n StatHelpText,\n Divider\n} from \"@chakra-ui/react\";\nimport { Account } from \"../../constants/types\";\n\nimport Contracts from \"../Contracts\";\nimport { useClipboard } from \"@chakra-ui/react\"\nimport { CopyIcon } from '@chakra-ui/icons'\n\nimport { toast } from '../../utils'\nimport Avatar from '../Avatar'\n\nimport { fmtFlow } from '../../utils'\n\ntype AccountInfoProps = {\n accountInfo: Account;\n};\n\nconst AccountInfo = (props: AccountInfoProps) => {\n const { accountInfo } = props;\n const { address, balance, contracts } = accountInfo;\n const { hasCopied, onCopy } = useClipboard(address)\n\n useEffect(() => {\n if (!hasCopied) return\n toast({\n title: 'copied',\n desc: `address: ${address} copied`,\n duration: 1000\n })\n }, [hasCopied])\n\n return (\n <Box p={4} >\n <Flex mb={4} >\n <Avatar address={address} />\n <Stat>\n <StatNumber>{fmtFlow(balance)} Flow</StatNumber>\n <StatHelpText style={{ cursor: 'pointer' }} onClick={onCopy}>{address} <CopyIcon w={5} h={5} /></StatHelpText>\n </Stat>\n </Flex>\n <Divider mt={4} mb={4} borderColor=\"gray\" />\n <Contracts contracts={contracts} userAddress={address} />\n </Box>\n );\n};\n\nexport default AccountInfo;\n",["202","203"],"/Users/caos/workspace/develop/flow/flow-tools/src/utils/index.ts",["204"],"/Users/caos/workspace/develop/flow/flow-tools/src/constants/index.ts",["205"],"import { string } from \"yup/lib/locale\"\n\nexport const CONFIG = \"temp\"\n\nexport const LOADING = \"LOADING\"\n\n// Exposed states of a Flow Transaction\nexport const IDLE = \"IDLE\"\nexport const PROCESSING = \"PROCESSING\"\nexport const SUCCESS = \"SUCCESS\"\nexport const ERROR = \"ERROR\"\n\n// How long to pause on a success or error message\n// before transitioning back to an IDLE state.\nexport const IDLE_DELAY = 1000\n\nexport const ADDR_REGEX = /^0x[a-fA-F0-9]{16}$/\n\nexport const NOOP = () => {}\n\nexport const MULTIAVATAR_URL = \"https://api.multiavatar.com/\"\n\n// export const DEFAULT_TX_OPTS = {\n// onStart: NOOP,\n// onSubmission: NOOP,\n// onUpdate: NOOP,\n// onSuccess: (status: any) => {},\n// onError: (error: string) => {},\n// onComplete: NOOP,\n// }\n\nexport const COLOR_TYPE: { [key: string]: string } = {\n FT: \"purple\",\n NFT: \"orange\",\n Other: \"gray\",\n}\n\n// FT contract resource paths\nexport const FT_PATHS :{ [key: string]: (str:string)=>string } = {\n 'vaultStoragePath': name =>`/storage/${name}Vault`,\n 'receiverPublicPath': name =>`/public/${name}Receiver`,\n 'balancePublicPath': name =>`/public/${name}Balance`,\n 'adminStoragePath': name =>`/storage/${name}Admin`\n}",["206","207"],"/Users/caos/workspace/develop/flow/flow-tools/src/pages/fungibleTokenDetail/index.tsx",["208","209","210"],"/Users/caos/workspace/develop/flow/flow-tools/src/hooks/useAccount.ts",[],["211","212"],"/Users/caos/workspace/develop/flow/flow-tools/src/hooks/useCurrentUser.ts",["213","214"],"import {useEffect} from \"react\"\nimport {atom, useRecoilState, SetterOrUpdater} from \"recoil\"\nimport * as fcl from \"@onflow/fcl\"\nimport {UserInfo, Account} from '../constants/types'\n\nexport const currentUser = atom({\n key: \"CURRENT_USER\",\n default: {addr: '', loggedIn: false, cid: ''},\n})\n\nconst tools = {\n logIn: fcl.logIn,\n logOut: fcl.unauthenticate,\n signUp: fcl.signUp,\n changeUser: fcl.reauthenticate,\n}\n\nexport const useCurrentUser = ():[UserInfo, boolean, any ] => {\n const [user, setUser] = useRecoilState(currentUser)\n useEffect(() => fcl.currentUser().subscribe(setUser), [setUser])\n return [user, user.addr != null, tools]\n}\n\n\nexport const useCurrentUserAddr = ():string => {\n const [user] = useRecoilState(currentUser)\n if(!user.loggedIn) return ''\n return user.addr\n}\n\n",["215","216"],"/Users/caos/workspace/develop/flow/flow-tools/src/i18n.ts",[],"/Users/caos/workspace/develop/flow/flow-tools/src/themes/components/button.ts",["217"],"export default {}","/Users/caos/workspace/develop/flow/flow-tools/src/pages/home/index.tsx",["218","219","220","221","222"],"/Users/caos/workspace/develop/flow/flow-tools/src/components/Footer/index.tsx",["223","224"],"import * as React from \"react\";\n\nimport { Box, Flex, Spacer } from \"@chakra-ui/react\";\n\ntype FooterProps = {};\n\nconst Footer = (props: FooterProps) => {\n return (\n <>\n <Flex pos=\"absolute\" bottom=\"0\">\n </Flex>\n </>\n );\n};\n\nexport default Footer","/Users/caos/workspace/develop/flow/flow-tools/src/flow/fetchFlowInfo.ts",[],["225","226"],"/Users/caos/workspace/develop/flow/flow-tools/src/cadance/fungibleToken/scripts/index.ts",[],"/Users/caos/workspace/develop/flow/flow-tools/src/flow/fungibleToken.ts",[],"/Users/caos/workspace/develop/flow/flow-tools/src/cadance/fungibleToken/contracts/index.ts",[],"/Users/caos/workspace/develop/flow/flow-tools/src/cadance/fungibleToken/transactions/index.ts",[],"/Users/caos/workspace/develop/flow/flow-tools/src/config.tsx",[],"/Users/caos/workspace/develop/flow/flow-tools/src/components/FungibleTokenForm/index.tsx",[],"/Users/caos/workspace/develop/flow/flow-tools/src/pages/account/index.tsx",["227","228","229","230","231"],"import React, { useCallback, useEffect, useState } from 'react'\nimport { useHistory, RouteComponentProps } from \"react-router-dom\";\n\nimport Cont from \"../../components/Container\";\nimport {useAccountInfo}from '../../hooks/useAccount'\nimport AccountInfo from '../../components/AccountInfo'\n\nexport default function Account(\n props: RouteComponentProps<{ address: string }>\n) {\n const history = useHistory();\n const {\n match: {\n params: { address },\n },\n } = props;\n if (!address) {\n history.push(`/`);\n }\n const {accountInfo, status, refresh} = useAccountInfo(address)\n\n return (\n <Cont>\n <AccountInfo accountInfo={accountInfo}/>\n </Cont>\n )\n}\n","/Users/caos/workspace/develop/flow/flow-tools/src/components/analytics/GoogleAnalyticsReporter.tsx",[],"/Users/caos/workspace/develop/flow/flow-tools/src/components/Modals/MintFTModal.tsx",["232","233","234"],"import React, { useState } from \"react\"\n\nimport {\n Box, Modal,\n ModalOverlay,\n ModalContent,\n ModalHeader,\n ButtonGroup,\n ModalBody,\n ModalCloseButton,\n Button,\n Text,\n Link\n} from \"@chakra-ui/react\"\n\n\nimport { ExternalLinkIcon } from '@chakra-ui/icons'\n\nimport { Formik } from \"formik\"\nimport {\n InputControl,\n NumberInputControl,\n SubmitButton\n} from \"formik-chakra-ui\"\nimport * as Yup from \"yup\";\n\nimport { SubmitFuncType } from '../../constants/types'\nimport { mintToken } from '../../flow/fungibleToken'\nimport { toast } from '../../utils'\n\ntype MintModalProps = {\n contractAddress: string\n contractName: string\n isOpen: boolean\n onOpen: () => void\n onClose: () => void\n cb?: () => void\n}\n\ninterface FormValues {\n amount: number\n recipient?: string\n}\n\nconst MintFTModal = (props: MintModalProps) => {\n\n const { isOpen, onClose, contractAddress, contractName, cb = () => { } } = props\n const initialValues: FormValues = { amount: 0, recipient: contractAddress }\n\n const validationSchema = Yup.object({\n amount: Yup.number().required().positive(),\n recipient: Yup.string().required().length(18)\n })\n const [txInfo, setTx] = useState()\n const [error, setError] = useState()\n\n\n\n\n const onSubmit: SubmitFuncType = async (values, actions) => {\n actions.setSubmitting(true)\n const { amount, recipient } = values\n\n const onSuccess = (status: any, txLink: string) => {\n toast({\n title: `Token mint success`,\n // desc: `${contractName} mint in Tx ${txId}`\n desc: (<Text>{contractName} mint in <Link href={txLink} isExternal>tx<ExternalLinkIcon mx=\"2px\" /></Link></Text>)\n })\n cb()\n onClose()\n\n }\n\n const onError = (error: any) => {\n setError(error)\n toast({\n title: 'Token mint error',\n desc: 'trx error',\n status: 'error'\n })\n onClose()\n }\n\n const res = await mintToken(contractAddress, contractName, Number(amount), recipient, { onSuccess, onError })\n\n console.log(res, '==== mint submit')\n actions.setSubmitting(false)\n actions.resetForm()\n }\n\n return (\n <Modal\n isOpen={isOpen}\n onClose={onClose}\n >\n <ModalOverlay />\n <ModalContent>\n <ModalHeader>Mint {contractAddress}.{contractName}</ModalHeader>\n <ModalCloseButton />\n <ModalBody pb={6}>\n {/* <FormControl>\n <FormLabel>Amount</FormLabel>\n <Input type='number' placeholder=\"Mint amount\" />\n </FormControl>\n\n <FormControl mt={4}>\n <FormLabel>Recipient</FormLabel>\n <Input placeholder=\"Could be null as your own address\" />\n </FormControl> */}\n\n <Formik\n initialValues={initialValues}\n onSubmit={(values, actions) => {\n onSubmit(values, actions)\n }}\n validationSchema={validationSchema}\n >\n {({ handleSubmit, values, errors }) => (\n <Box\n borderWidth=\"1px\"\n rounded=\"lg\"\n maxWidth={'sm'}\n p={6}\n m=\"10px auto\"\n as=\"form\"\n onSubmit={handleSubmit as any}\n >\n <NumberInputControl name=\"amount\" label=\"Mint amount\" />\n <InputControl name=\"recipient\" label=\"Recipient address\" />\n <ButtonGroup>\n <SubmitButton mt={0} colorScheme=\"blue\">Mint</SubmitButton>\n <Button onClick={onClose}>Cancel</Button>\n </ButtonGroup>\n </Box>\n )}\n </Formik>\n </ModalBody>\n </ModalContent>\n </Modal>\n )\n}\n\nexport default MintFTModal",["235","236"],"/Users/caos/workspace/develop/flow/flow-tools/src/components/Modals/TransferFTModal.tsx",["237"],"import React, { useState, useEffect } from \"react\"\n\nimport {\n\tBox, Modal,\n\tModalOverlay,\n\tModalContent,\n\tModalHeader,\n\tButtonGroup,\n\tModalBody,\n\tModalCloseButton,\n\tButton,\n\tText,\n\tLink\n} from \"@chakra-ui/react\"\nimport {ExternalLinkIcon} from '@chakra-ui/icons'\nimport { Formik } from \"formik\"\nimport {\n\tInputControl,\n\tNumberInputControl,\n\tSubmitButton\n} from \"formik-chakra-ui\"\nimport * as Yup from \"yup\";\n\nimport { SubmitFuncType } from '../../constants/types'\nimport { transferToken } from '../../flow/fungibleToken'\nimport { toast } from '../../utils'\n\n\ntype TransferModalProps = {\n\tcontractAddress: string\n\tcontractName: string\n\tisOpen: boolean\n\tonOpen: () => void\n\tonClose: () => void\n\tcb?: () => any\n}\n\ninterface FormValues {\n\tamount: number\n\trecipient?: string\n}\n\nconst TransferFTModal = (props: TransferModalProps) => {\n\n\tconst { isOpen, onClose, contractAddress, contractName, cb } = props\n\tconst initialValues: FormValues = { amount: 0, recipient: '' }\n\t// init account token balance\n\tconst [balance, setBalance] = useState(0)\n\n\n\tconst validationSchema = Yup.object({\n\t\tamount: Yup.number().required().positive().test('Self address check',\n\t\t\t'Balance not enough..',\n\t\t\tasync value => {\n\t\t\t\tconst balance = cb ? await cb() : 0\n\t\t\t\treturn Number(value) <= balance\n\t\t\t}),\n\t\trecipient: Yup.string().required().length(18).test('Self address check',\n\t\t\t'Dont send token to your self..',\n\t\t\tvalue => {\n\t\t\t\treturn value !== contractAddress\n\t\t\t})\n\t})\n\n\n\n\tuseEffect(() => {\n\t\tconst queryBalance = async () => {\n\t\t\tif (!cb) return\n\t\t\tconst res = await cb()\n\t\t\tsetBalance(res)\n\t\t}\n\n\t\tqueryBalance()\n\t}, [])\n\n\tconst onSubmit: SubmitFuncType = async (values, actions) => {\n\t\tconst { amount, recipient } = values\n\n\n\n\t\tactions.setSubmitting(true)\n\n\n\t\tconst onSuccess = (status: any, txLink: string) => {\n\t\t\ttoast({\n\t\t\t\ttitle: `Token transfer success`,\n\t\t\t\tdesc: (<Text>{contractName} mint in <Link href={txLink} isExternal>Tx<ExternalLinkIcon mx=\"2px\" /></Link></Text>)\n\t\t\t})\n\t\t\tcb && cb()\n\t\t\tonClose()\n\n\t\t}\n\n\t\tconst onError = (error: any) => {\n\t\t\ttoast({\n\t\t\t\ttitle: 'Token transfer error',\n\t\t\t\tdesc: 'trx error',\n\t\t\t\tstatus: 'error'\n\t\t\t})\n\t\t\tonClose()\n\t\t}\n\n\t\tconst res = await transferToken(contractAddress, contractName, Number(amount), recipient, { onSuccess, onError })\n\n\t\tconsole.log(res, '==== transfer submit')\n\t\tactions.setSubmitting(false)\n\t\tactions.resetForm()\n\t}\n\n\treturn (\n\t\t<Modal\n\t\t\tisOpen={isOpen}\n\t\t\tonClose={onClose}\n\t\t>\n\t\t\t<ModalOverlay />\n\t\t\t<ModalContent>\n\t\t\t\t<ModalHeader>Send {contractAddress}.{contractName}</ModalHeader>\n\t\t\t\t<ModalCloseButton />\n\t\t\t\t<ModalBody pb={6}>\n\t\t\t\t\t{/* <FormControl>\n <FormLabel>Amount</FormLabel>\n <Input type='number' placeholder=\"Mint amount\" />\n </FormControl>\n\n <FormControl mt={4}>\n <FormLabel>Recipient</FormLabel>\n <Input placeholder=\"Could be null as your own address\" />\n </FormControl> */}\n\n\t\t\t\t\t<Formik\n\t\t\t\t\t\tinitialValues={initialValues}\n\t\t\t\t\t\tonSubmit={(values, actions) => {\n\t\t\t\t\t\t\tonSubmit(values, actions)\n\t\t\t\t\t\t}}\n\t\t\t\t\t\tvalidationSchema={validationSchema}\n\t\t\t\t\t>\n\t\t\t\t\t\t{({ handleSubmit, values, errors }) => (\n\t\t\t\t\t\t\t<Box\n\t\t\t\t\t\t\t\tborderWidth=\"1px\"\n\t\t\t\t\t\t\t\trounded=\"lg\"\n\t\t\t\t\t\t\t\tmaxWidth={'sm'}\n\t\t\t\t\t\t\t\tp={6}\n\t\t\t\t\t\t\t\tm=\"10px auto\"\n\t\t\t\t\t\t\t\tas=\"form\"\n\t\t\t\t\t\t\t\tonSubmit={handleSubmit as any}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<NumberInputControl name=\"amount\" label={`Send amount(${balance} ${contractName})`} />\n\n\t\t\t\t\t\t\t\t<InputControl name=\"recipient\" label=\"Recipient address\" />\n\t\t\t\t\t\t\t\t<ButtonGroup>\n\t\t\t\t\t\t\t\t\t<SubmitButton mt={0} colorScheme=\"blue\">Send</SubmitButton>\n\t\t\t\t\t\t\t\t\t<Button onClick={onClose}>Cancel</Button>\n\t\t\t\t\t\t\t\t</ButtonGroup>\n\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</Formik>\n\t\t\t\t</ModalBody>\n\t\t\t</ModalContent>\n\t\t</Modal>\n\t)\n}\n\nexport default TransferFTModal",["238","239"],"/Users/caos/workspace/develop/flow/flow-tools/src/serviceWorker.ts",[],"/Users/caos/workspace/develop/flow/flow-tools/src/pages/fungibleTokens/index.tsx",["240","241","242","243"],"/Users/caos/workspace/develop/flow/flow-tools/src/components/Header/index.tsx",["244","245"],"/Users/caos/workspace/develop/flow/flow-tools/src/components/ColorModeSwitcher/index.tsx",[],"/Users/caos/workspace/develop/flow/flow-tools/src/components/TokenQueryForm/index.tsx",["246","247"],"import React, { useState } from \"react\";\nimport _ from 'lodash'\nimport {useHistory} from 'react-router-dom'\nimport {\n Box\n} from \"@chakra-ui/react\";\nimport * as Yup from \"yup\";\n\nimport { Formik } from \"formik\";\nimport {\n InputControl,\n SubmitButton,\n SelectControl\n} from \"formik-chakra-ui\";\nimport { fetchAccount } from '../../flow/fetchFlowInfo'\nimport { ADDR_REGEX } from '../../constants'\nimport {toast} from '../../utils'\n\ntype TokenQueryFormProps = {\n type?:string\n};\ntype FormValues = {\n contractAddress: string\n contractName: string\n}\n\nconst TokenQueryForm = (props: TokenQueryFormProps) => {\n const {type = 'ft'} = props\n const history = useHistory()\n const [contracts, setContracts] = useState([''])\n const [state, setstate] = useState()\n\n const initialValues: FormValues = { contractName: '', contractAddress: '' };\n\n const validationSchema = Yup.object({\n contractAddress: Yup.string().length(18).required().matches(ADDR_REGEX, 'Address is invalid'),\n contractName: Yup.string().required(),\n })\n\n const queryContract = async (addr: string) => {\n console.log(addr)\n addr = addr.trim()\n if (addr.length !== 18) return\n if (addr.indexOf('0x') !== 0) return\n try {\n const account = await fetchAccount(addr)\n const { contracts } = account\n const keys = Object.keys(contracts)\n setContracts(keys)\n } catch (e) {\n console.error(e) \n toast({\n title: 'error',\n desc:`Address ${addr} can not founded`,\n status: 'error'\n })\n setContracts([''])\n }\n }\n\n const onAddrInput = async (e: any) => {\n const query = _.debounce(() => queryContract(e.target.value), 2000)\n await query()\n }\n\n return (\n <Formik\n initialValues={initialValues}\n onSubmit={(values, actions) => {\n // onSubmit(values, actions)\n // console.log(values, '=====')\n const {contractAddress, contractName} = values\n\n history.push(`/${type}/${contractAddress}/${contractName}`)\n actions.setSubmitting(false)\n }}\n validationSchema={validationSchema}\n >\n {({ handleSubmit, values, errors }) => (\n <Box\n borderWidth=\"1px\"\n rounded=\"lg\"\n shadow=\"1px 1px 3px rgba(0,0,0,0.3)\"\n minW=\"200px\"\n p={6}\n m=\"10px auto\"\n as=\"form\"\n onSubmit={handleSubmit as any}\n >\n\n <InputControl name=\"contractAddress\" label=\"Contract Address\" onChange={e => onAddrInput(e)} />\n {/* <InputControl name=\"contractName\" label=\"Contract Name\" /> */}\n <SelectControl\n name=\"contractName\"\n selectProps={{ placeholder: \"Select contract\" }}\n >\n {\n contracts.map((contract, idx) => <option key={idx} value={contract}>{contract}</option>)\n }\n </SelectControl>\n <SubmitButton>Search</SubmitButton>\n </Box>\n )}\n </Formik>\n );\n};\n\nexport default TokenQueryForm","/Users/caos/workspace/develop/flow/flow-tools/src/pages/App.tsx",[],"/Users/caos/workspace/develop/flow/flow-tools/src/components/LoginTip/index.tsx",["248","249"],"import * as React from \"react\";\n\nimport { Center, Button, Box, Text } from \"@chakra-ui/react\";\nimport { useCurrentUser } from '../../hooks/useCurrentUser'\n\nconst LoginTip = () => {\n const [userInfo, isLogin, tools] = useCurrentUser()\n\n return (\n <Center p={24}>\n <Box>\n <Button w={120} onClick={() => tools.logIn()}> Login </Button>\n <Text textAlign=\"center\" fontWeight={300}>You need login first</Text>\n </Box>\n </Center>\n );\n};\n\nexport default LoginTip",["250","251"],"/Users/caos/workspace/develop/flow/flow-tools/src/index.tsx",[],"/Users/caos/workspace/develop/flow/flow-tools/src/themes/foundations/borders.ts",["252"],"/Users/caos/workspace/develop/flow/flow-tools/src/components/Avatar/index.tsx",[],["253","254"],"/Users/caos/workspace/develop/flow/flow-tools/src/pages/nonFungibleTokenIssue/index.tsx",["255","256"],"/Users/caos/workspace/develop/flow/flow-tools/src/pages/nonFungibleTokens/index.tsx",["257","258","259","260"],"/Users/caos/workspace/develop/flow/flow-tools/src/pages/nonFungibleTokenDetail/index.tsx",["261","262","263"],"/Users/caos/workspace/develop/flow/flow-tools/src/pages/nonFungibleTokenQuery/index.tsx",["264","265","266","267","268"],"/Users/caos/workspace/develop/flow/flow-tools/src/cadance/nonFungibleToken/contracts/index.ts",[],"/Users/caos/workspace/develop/flow/flow-tools/src/reportWebVitals.ts",[],"/Users/caos/workspace/develop/flow/flow-tools/src/pages/fungibleTokenQuery/index.tsx",["269","270","271","272","273"],"/Users/caos/workspace/develop/flow/flow-tools/src/pages/createAccount/index.tsx",["274","275","276","277"],"/Users/caos/workspace/develop/flow/flow-tools/src/flow/accounts.ts",["278","279","280","281","282"],{"ruleId":"283","severity":1,"message":"284","line":26,"column":24,"nodeType":"285","messageId":"286","endLine":26,"endColumn":30},{"ruleId":"283","severity":1,"message":"287","line":53,"column":11,"nodeType":"285","messageId":"286","endLine":53,"endColumn":13},{"ruleId":"288","replacedBy":"289"},{"ruleId":"290","replacedBy":"291"},{"ruleId":"288","replacedBy":"292"},{"ruleId":"290","replacedBy":"293"},{"ruleId":"294","severity":1,"message":"295","line":36,"column":6,"nodeType":"296","endLine":36,"endColumn":17,"suggestions":"297"},{"ruleId":"288","replacedBy":"298"},{"ruleId":"290","replacedBy":"299"},{"ruleId":"300","severity":1,"message":"301","line":23,"column":18,"nodeType":"302","messageId":"303","endLine":23,"endColumn":20},{"ruleId":"283","severity":1,"message":"304","line":1,"column":10,"nodeType":"285","messageId":"286","endLine":1,"endColumn":16},{"ruleId":"288","replacedBy":"305"},{"ruleId":"290","replacedBy":"306"},{"ruleId":"283","severity":1,"message":"307","line":3,"column":23,"nodeType":"285","messageId":"286","endLine":3,"endColumn":29},{"ruleId":"283","severity":1,"message":"308","line":34,"column":24,"nodeType":"285","messageId":"286","endLine":34,"endColumn":31},{"ruleId":"294","severity":1,"message":"309","line":103,"column":6,"nodeType":"296","endLine":103,"endColumn":73,"suggestions":"310"},{"ruleId":"288","replacedBy":"311"},{"ruleId":"290","replacedBy":"312"},{"ruleId":"283","severity":1,"message":"313","line":2,"column":31,"nodeType":"285","messageId":"286","endLine":2,"endColumn":46},{"ruleId":"283","severity":1,"message":"314","line":4,"column":19,"nodeType":"285","messageId":"286","endLine":4,"endColumn":26},{"ruleId":"288","replacedBy":"315"},{"ruleId":"290","replacedBy":"316"},{"ruleId":"317","severity":1,"message":"318","line":1,"column":1,"nodeType":"319","endLine":1,"endColumn":18},{"ruleId":"283","severity":1,"message":"320","line":1,"column":17,"nodeType":"285","messageId":"286","endLine":1,"endColumn":28},{"ruleId":"283","severity":1,"message":"321","line":1,"column":30,"nodeType":"285","messageId":"286","endLine":1,"endColumn":39},{"ruleId":"283","severity":1,"message":"322","line":1,"column":41,"nodeType":"285","messageId":"286","endLine":1,"endColumn":49},{"ruleId":"283","severity":1,"message":"323","line":3,"column":21,"nodeType":"285","messageId":"286","endLine":3,"endColumn":28},{"ruleId":"283","severity":1,"message":"324","line":5,"column":10,"nodeType":"285","messageId":"286","endLine":5,"endColumn":15},{"ruleId":"283","severity":1,"message":"325","line":3,"column":10,"nodeType":"285","messageId":"286","endLine":3,"endColumn":13},{"ruleId":"283","severity":1,"message":"326","line":3,"column":21,"nodeType":"285","messageId":"286","endLine":3,"endColumn":27},{"ruleId":"288","replacedBy":"327"},{"ruleId":"290","replacedBy":"328"},{"ruleId":"283","severity":1,"message":"320","line":1,"column":17,"nodeType":"285","messageId":"286","endLine":1,"endColumn":28},{"ruleId":"283","severity":1,"message":"321","line":1,"column":30,"nodeType":"285","messageId":"286","endLine":1,"endColumn":39},{"ruleId":"283","severity":1,"message":"322","line":1,"column":41,"nodeType":"285","messageId":"286","endLine":1,"endColumn":49},{"ruleId":"283","severity":1,"message":"284","line":20,"column":23,"nodeType":"285","messageId":"286","endLine":20,"endColumn":29},{"ruleId":"283","severity":1,"message":"308","line":20,"column":31,"nodeType":"285","messageId":"286","endLine":20,"endColumn":38},{"ruleId":"283","severity":1,"message":"329","line":54,"column":10,"nodeType":"285","messageId":"286","endLine":54,"endColumn":16},{"ruleId":"283","severity":1,"message":"330","line":54,"column":18,"nodeType":"285","messageId":"286","endLine":54,"endColumn":23},{"ruleId":"283","severity":1,"message":"331","line":55,"column":10,"nodeType":"285","messageId":"286","endLine":55,"endColumn":15},{"ruleId":"288","replacedBy":"332"},{"ruleId":"290","replacedBy":"333"},{"ruleId":"294","severity":1,"message":"334","line":75,"column":5,"nodeType":"296","endLine":75,"endColumn":7,"suggestions":"335"},{"ruleId":"288","replacedBy":"336"},{"ruleId":"290","replacedBy":"337"},{"ruleId":"283","severity":1,"message":"320","line":1,"column":17,"nodeType":"285","messageId":"286","endLine":1,"endColumn":28},{"ruleId":"283","severity":1,"message":"321","line":1,"column":30,"nodeType":"285","messageId":"286","endLine":1,"endColumn":39},{"ruleId":"283","severity":1,"message":"322","line":1,"column":41,"nodeType":"285","messageId":"286","endLine":1,"endColumn":49},{"ruleId":"283","severity":1,"message":"338","line":6,"column":8,"nodeType":"285","messageId":"286","endLine":6,"endColumn":22},{"ruleId":"283","severity":1,"message":"339","line":20,"column":20,"nodeType":"285","messageId":"286","endLine":20,"endColumn":27},{"ruleId":"283","severity":1,"message":"340","line":20,"column":29,"nodeType":"285","messageId":"286","endLine":20,"endColumn":34},{"ruleId":"283","severity":1,"message":"341","line":31,"column":10,"nodeType":"285","messageId":"286","endLine":31,"endColumn":15},{"ruleId":"283","severity":1,"message":"342","line":31,"column":17,"nodeType":"285","messageId":"286","endLine":31,"endColumn":25},{"ruleId":"283","severity":1,"message":"343","line":7,"column":10,"nodeType":"285","messageId":"286","endLine":7,"endColumn":18},{"ruleId":"283","severity":1,"message":"339","line":7,"column":20,"nodeType":"285","messageId":"286","endLine":7,"endColumn":27},{"ruleId":"288","replacedBy":"344"},{"ruleId":"290","replacedBy":"345"},{"ruleId":"317","severity":1,"message":"318","line":1,"column":1,"nodeType":"319","endLine":1,"endColumn":18},{"ruleId":"288","replacedBy":"346"},{"ruleId":"290","replacedBy":"347"},{"ruleId":"283","severity":1,"message":"284","line":26,"column":24,"nodeType":"285","messageId":"286","endLine":26,"endColumn":30},{"ruleId":"283","severity":1,"message":"287","line":53,"column":11,"nodeType":"285","messageId":"286","endLine":53,"endColumn":13},{"ruleId":"283","severity":1,"message":"320","line":1,"column":17,"nodeType":"285","messageId":"286","endLine":1,"endColumn":28},{"ruleId":"283","severity":1,"message":"321","line":1,"column":30,"nodeType":"285","messageId":"286","endLine":1,"endColumn":39},{"ruleId":"283","severity":1,"message":"322","line":1,"column":41,"nodeType":"285","messageId":"286","endLine":1,"endColumn":49},{"ruleId":"283","severity":1,"message":"338","line":6,"column":8,"nodeType":"285","messageId":"286","endLine":6,"endColumn":22},{"ruleId":"283","severity":1,"message":"307","line":3,"column":23,"nodeType":"285","messageId":"286","endLine":3,"endColumn":29},{"ruleId":"283","severity":1,"message":"308","line":34,"column":24,"nodeType":"285","messageId":"286","endLine":34,"endColumn":31},{"ruleId":"294","severity":1,"message":"309","line":103,"column":6,"nodeType":"296","endLine":103,"endColumn":73,"suggestions":"348"},{"ruleId":"283","severity":1,"message":"320","line":1,"column":17,"nodeType":"285","messageId":"286","endLine":1,"endColumn":28},{"ruleId":"283","severity":1,"message":"321","line":1,"column":30,"nodeType":"285","messageId":"286","endLine":1,"endColumn":39},{"ruleId":"283","severity":1,"message":"322","line":1,"column":41,"nodeType":"285","messageId":"286","endLine":1,"endColumn":49},{"ruleId":"283","severity":1,"message":"349","line":2,"column":26,"nodeType":"285","messageId":"286","endLine":2,"endColumn":32},{"ruleId":"283","severity":1,"message":"350","line":9,"column":9,"nodeType":"285","messageId":"286","endLine":9,"endColumn":16},{"ruleId":"283","severity":1,"message":"320","line":1,"column":17,"nodeType":"285","messageId":"286","endLine":1,"endColumn":28},{"ruleId":"283","severity":1,"message":"321","line":1,"column":30,"nodeType":"285","messageId":"286","endLine":1,"endColumn":39},{"ruleId":"283","severity":1,"message":"322","line":1,"column":41,"nodeType":"285","messageId":"286","endLine":1,"endColumn":49},{"ruleId":"283","severity":1,"message":"349","line":2,"column":26,"nodeType":"285","messageId":"286","endLine":2,"endColumn":32},{"ruleId":"283","severity":1,"message":"350","line":9,"column":9,"nodeType":"285","messageId":"286","endLine":9,"endColumn":16},{"ruleId":"283","severity":1,"message":"320","line":1,"column":17,"nodeType":"285","messageId":"286","endLine":1,"endColumn":28},{"ruleId":"283","severity":1,"message":"321","line":1,"column":30,"nodeType":"285","messageId":"286","endLine":1,"endColumn":39},{"ruleId":"283","severity":1,"message":"351","line":2,"column":10,"nodeType":"285","messageId":"286","endLine":2,"endColumn":19},{"ruleId":"283","severity":1,"message":"325","line":2,"column":21,"nodeType":"285","messageId":"286","endLine":2,"endColumn":24},{"ruleId":"283","severity":1,"message":"314","line":4,"column":10,"nodeType":"285","messageId":"286","endLine":4,"endColumn":17},{"ruleId":"283","severity":1,"message":"352","line":5,"column":10,"nodeType":"285","messageId":"286","endLine":5,"endColumn":27},{"ruleId":"283","severity":1,"message":"324","line":6,"column":10,"nodeType":"285","messageId":"286","endLine":6,"endColumn":15},{"ruleId":"283","severity":1,"message":"353","line":9,"column":10,"nodeType":"285","messageId":"286","endLine":9,"endColumn":12},{"ruleId":"283","severity":1,"message":"354","line":10,"column":22,"nodeType":"285","messageId":"286","endLine":10,"endColumn":35},"@typescript-eslint/no-unused-vars","'status' is assigned a value but never used.","Identifier","unusedVar","'tx' is assigned a value but never used.","no-native-reassign",["355"],"no-negated-in-lhs",["356"],["355"],["356"],"react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'address'. Either include it or remove the dependency array.","ArrayExpression",["357"],["355"],["356"],"array-callback-return","Array.prototype.map() expects a return value from arrow function.","ArrowFunctionExpression","expectedInside","'string' is defined but never used.",["355"],["356"],"'Center' is defined but never used.","'refresh' is assigned a value but never used.","React Hook useEffect has a missing dependency: 'queryBalance'. Either include it or remove the dependency array.",["358"],["355"],["356"],"'SetterOrUpdater' is defined but never used.","'Account' is defined but never used.",["355"],["356"],"import/no-anonymous-default-export","Assign object to a variable before exporting as module default","ExportDefaultDeclaration","'useCallback' is defined but never used.","'useEffect' is defined but never used.","'useState' is defined but never used.","'Divider' is defined but never used.","'toast' is defined but never used.","'Box' is defined but never used.","'Spacer' is defined but never used.",["355"],["356"],"'txInfo' is assigned a value but never used.","'setTx' is assigned a value but never used.","'error' is assigned a value but never used.",["355"],["356"],"React Hook useEffect has a missing dependency: 'cb'. Either include it or remove the dependency array.",["359"],["355"],["356"],"'TokenQueryForm' is defined but never used.","'isLogin' is assigned a value but never used.","'tools' is assigned a value but never used.","'state' is assigned a value but never used.","'setstate' is assigned a value but never used.","'userInfo' is assigned a value but never used.",["355"],["356"],["355"],["356"],["360"],"'Button' is defined but never used.","'history' is assigned a value but never used.","'Container' is defined but never used.","'SerializableParam' is defined but never used.","'tx' is defined but never used.","'createAccount' is defined but never used.","no-global-assign","no-unsafe-negation",{"desc":"361","fix":"362"},{"desc":"363","fix":"364"},{"desc":"365","fix":"366"},{"desc":"363","fix":"367"},"Update the dependencies array to be: [address, hasCopied]",{"range":"368","text":"369"},"Update the dependencies array to be: [contractAddress, contractName, currentUserAddr, hasSetup, loading, queryBalance]",{"range":"370","text":"371"},"Update the dependencies array to be: [cb]",{"range":"372","text":"373"},{"range":"374","text":"371"},[831,842],"[address, hasCopied]",[3466,3533],"[contractAddress, contractName, currentUserAddr, hasSetup, loading, queryBalance]",[1602,1604],"[cb]",[3466,3533]]