(tokenAddress: string, isChecked: boolean)
| 81 | const pendingTxn = |
| 82 | checkedRecords[token.contract_address as `0x${string}`]?.pendingTxn; |
| 83 | const setTokenChecked = (tokenAddress: string, isChecked: boolean) => { |
| 84 | setCheckedRecords((old) => ({ |
| 85 | ...old, |
| 86 | [tokenAddress]: { isChecked: isChecked }, |
| 87 | })); |
| 88 | }; |
| 89 | const { contract_address, contract_ticker_symbol } = token; |
| 90 | const unroundedBalance = tinyBig(token.quote).div(token.quote_rate); |
| 91 | const roundedBalance = unroundedBalance.lt(0.001) |