Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Attempted import error: 'TxGrpcClient' is not exported from '@injectivelabs/sdk-ts' (imported as 'TxGrpcClient').
- assets by path static/media/ 458 KiB
- assets by path static/media/*.svg 189 KiB 30 assets
- assets by info 269 KiB [immutable]
- assets by path static/media/*.png 79.3 KiB 4 assets
- assets by path static/media/*.cjs 190 KiB 3 assets
- assets by path static/js/*.js 91.7 MiB
- asset static/js/bundle.js 83.6 MiB [emitted] (name: main) 1 related asset
- asset static/js/vendors-node_modules_ledgerhq_hw-app-eth_lib-es_services_ledger_index_js.chunk.js 6.8 MiB [emitted] (id hint: vendors) 1 related asset
- asset static/js/vendors-node_modules_ledgerhq_hw-app-eth_lib-es_Eth_js.chunk.js 760 KiB [emitted] (id hint: vendors) 1 related asset
- asset static/js/vendors-node_modules_walletconnect_modal-ui_dist_index_js.chunk.js 464 KiB [emitted] (id hint: vendors) 1 related asset
- asset static/js/vendors-node_modules_alchemy-sdk_dist_esm_alchemy-websocket-provider-948c1ea8_js.chunk.js 62.5 KiB [emitted] (id hint: vendors) 1 related asset
- + 2 assets
- asset asset-manifest.json 5.48 KiB [emitted]
- asset index.html 1.2 KiB [emitted]
- orphan modules 13.1 MiB [orphan] 7838 modules
- runtime modules 32.9 KiB 20 modules
- javascript modules 67.1 MiB
- modules by path ./node_modules/ 65.9 MiB 8131 modules
- modules by path ./src/ 1.23 MiB 195 modules
- + 37 modules
- json modules 12.3 MiB
- modules by path ./node_modules/ 12.2 MiB 193 modules
- modules by path ./src/ 79.1 KiB
- ./src/utils/abi_eth.json 14.6 KiB [built] [code generated]
- + 4 modules
- asset modules 15.6 KiB (javascript) 269 KiB (asset)
- modules by path ./node_modules/@sei-js/react/dist/ 14.3 KiB (javascript) 79.3 KiB (asset) 6 modules
- + 4 modules
- WARNING in [eslint]
- src/App.js
- Line 2:3: 'AppBar' is defined but never used no-unused-vars
- Line 3:3: 'Box' is defined but never used no-unused-vars
- Line 4:3: 'Button' is defined but never used no-unused-vars
- Line 7:3: 'MenuItem' is defined but never used no-unused-vars
- Line 8:3: 'Select' is defined but never used no-unused-vars
- Line 9:3: 'Toolbar' is defined but never used no-unused-vars
- Line 10:3: 'Typography' is defined but never used no-unused-vars
- Line 14:10: 'Link' is defined but never used no-unused-vars
- Line 16:8: 'Footer' is defined but never used no-unused-vars
- Line 27:10: 'CLUSTER' is defined but never used no-unused-vars
- Line 78:11: 'pathname' is assigned a value but never used no-unused-vars
- Line 79:9: 'handleClusterChange' is assigned a value but never used no-unused-vars
- src/components/Attest/Source.tsx
- Line 19:8: 'LowBalanceWarning' is defined but never used @typescript-eslint/no-unused-vars
- src/components/Attest/Target.tsx
- Line 18:8: 'LowBalanceWarning' is defined but never used @typescript-eslint/no-unused-vars
- src/components/ButtonWithLoader.tsx
- Line 22:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
- src/components/ChainSelect.tsx
- Line 3:3: 'ListItemText' is defined but never used @typescript-eslint/no-unused-vars
- Line 30:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
- src/components/ChainSelectArrow.tsx
- Line 13:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
- src/components/LowBalanceWarning.tsx
- Line 2:22: 'Typography' is defined but never used @typescript-eslint/no-unused-vars
- Line 27:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 34:20: 'connect' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 34:29: 'disconnect' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 42:14: Expected '===' and instead saw '==' eqeqeq
- src/components/NFT/Source.tsx
- Line 24:8: 'LowBalanceWarning' is defined but never used @typescript-eslint/no-unused-vars
- src/components/NFT/Target.tsx
- Line 37:8: 'LowBalanceWarning' is defined but never used @typescript-eslint/no-unused-vars
- src/components/SolanaConnectWalletDialog.tsx
- Line 5:3: 'Divider' is defined but never used @typescript-eslint/no-unused-vars
- Line 82:20: 'undetected' is assigned a value but never used @typescript-eslint/no-unused-vars
- src/components/ToggleConnectedButton.tsx
- Line 33:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
- src/components/Transfer/Source.tsx
- Line 2:3: 'Button' is defined but never used @typescript-eslint/no-unused-vars
- Line 4:3: 'styled' is defined but never used @typescript-eslint/no-unused-vars
- Line 6:3: 'Typography' is defined but never used @typescript-eslint/no-unused-vars
- Line 9:3: 'BorderColor' is defined but never used @typescript-eslint/no-unused-vars
- Line 10:3: 'ContactSupportOutlined' is defined but never used @typescript-eslint/no-unused-vars
- Line 11:3: 'VerifiedUser' is defined but never used @typescript-eslint/no-unused-vars
- Line 22:10: 'Link' is defined but never used @typescript-eslint/no-unused-vars
- Line 35:3: 'incrementStep' is defined but never used @typescript-eslint/no-unused-vars
- Line 42:3: 'CLUSTER' is defined but never used @typescript-eslint/no-unused-vars
- Line 45:3: 'SOLANA_HOST' is defined but never used @typescript-eslint/no-unused-vars
- Line 46:3: 'SOLANA_TOKEN_METADATA_PROGRAM_URL' is defined but never used @typescript-eslint/no-unused-vars
- Line 55:10: 'TokenSelector' is defined but never used @typescript-eslint/no-unused-vars
- Line 63:3: 'ASSOCIATED_TOKEN_PROGRAM_ID' is defined but never used @typescript-eslint/no-unused-vars
- Line 64:3: 'TOKEN_PROGRAM_ID' is defined but never used @typescript-eslint/no-unused-vars
- Line 67:3: 'Keypair' is defined but never used @typescript-eslint/no-unused-vars
- Line 68:3: 'PublicKey' is defined but never used @typescript-eslint/no-unused-vars
- Line 69:3: 'SystemProgram' is defined but never used @typescript-eslint/no-unused-vars
- Line 70:3: 'Connection' is defined but never used @typescript-eslint/no-unused-vars
- Line 71:3: 'ComputeBudgetProgram' is defined but never used @typescript-eslint/no-unused-vars
- Line 72:3: 'sendAndConfirmTransaction' is defined but never used @typescript-eslint/no-unused-vars
- Line 75:10: 'OftTools' is defined but never used @typescript-eslint/no-unused-vars
- Line 77:10: 'Options' is defined but never used @typescript-eslint/no-unused-vars
- Line 78:10: 'bs58' is defined but never used @typescript-eslint/no-unused-vars
- Line 82:10: 'setBalance' is defined but never used @typescript-eslint/no-unused-vars
- Line 90:10: 'ethers_contracts' is defined but never used @typescript-eslint/no-unused-vars
- Line 98:10: 'approve' is defined but never used @typescript-eslint/no-unused-vars
- Line 114:7: 'OFT_SEED' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 116:11: 'TronLinkParams' is defined but never used @typescript-eslint/no-unused-vars
- Line 122:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 209:10: 'showSwap' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 209:20: 'setShowSwap' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 211:20: 'connect' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 211:29: 'disconnect' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 215:11: 'provider' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 216:19: 'signerAddress' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 241:9: 'error' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 242:9: 'isSourceComplete' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 244:20: 'statusMessage' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 247:11: 'wallet' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 247:19: 'sendTransaction' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 248:11: 'connection' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 278:9: 'handleMaxClick' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 292:13: 'web3Client' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 471:23: Expected '===' and instead saw '==' eqeqeq
- Line 481:15: 'allowance' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 485:15: 'parsedAmount' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 509:25: Expected '===' and instead saw '==' eqeqeq
- Line 511:32: Expected '===' and instead saw '==' eqeqeq
- Line 514:32: Expected '===' and instead saw '==' eqeqeq
- Line 519:25: Expected '===' and instead saw '==' eqeqeq
- Line 521:32: Expected '===' and instead saw '==' eqeqeq
- Line 523:32: Expected '===' and instead saw '==' eqeqeq
- Line 573:30: Expected '===' and instead saw '==' eqeqeq
- Line 587:25: Expected '===' and instead saw '==' eqeqeq
- Line 589:32: Expected '===' and instead saw '==' eqeqeq
- Line 591:32: Expected '===' and instead saw '==' eqeqeq
- Line 595:25: Expected '===' and instead saw '==' eqeqeq
- Line 597:32: Expected '===' and instead saw '==' eqeqeq
- Line 599:32: Expected '===' and instead saw '==' eqeqeq
- Line 642:30: Expected '===' and instead saw '==' eqeqeq
- Line 656:25: Expected '===' and instead saw '==' eqeqeq
- Line 658:32: Expected '===' and instead saw '==' eqeqeq
- Line 660:32: Expected '===' and instead saw '==' eqeqeq
- Line 664:25: Expected '===' and instead saw '==' eqeqeq
- Line 666:32: Expected '===' and instead saw '==' eqeqeq
- Line 668:32: Expected '===' and instead saw '==' eqeqeq
- Line 713:30: Expected '===' and instead saw '==' eqeqeq
- Line 736:25: Expected '===' and instead saw '==' eqeqeq
- Line 738:32: Expected '===' and instead saw '==' eqeqeq
- Line 740:32: Expected '===' and instead saw '==' eqeqeq
- Line 744:25: Expected '===' and instead saw '==' eqeqeq
- Line 746:32: Expected '===' and instead saw '==' eqeqeq
- Line 748:32: Expected '===' and instead saw '==' eqeqeq
- Line 876:21: Expected '===' and instead saw '==' eqeqeq
- Line 905:28: Expected '===' and instead saw '==' eqeqeq
- Line 926:28: Expected '===' and instead saw '==' eqeqeq
- Line 950:28: Expected '===' and instead saw '==' eqeqeq
- Line 992:6: React Hook useEffect has missing dependencies: 'targetTokenAddress' and 'walletAddress'. Either include them or remove the dependency array react-hooks/exhaustive-deps
- Line 1134:27: Expected '===' and instead saw '==' eqeqeq
- Line 1137:25: Expected '===' and instead saw '==' eqeqeq
- Line 1146:23: Expected '===' and instead saw '==' eqeqeq
- Line 1155:25: Expected '===' and instead saw '==' eqeqeq
- src/components/Transfer/index.tsx
- Line 3:3: 'colors' is defined but never used @typescript-eslint/no-unused-vars
- Line 29:8: 'Redeem' is defined but never used @typescript-eslint/no-unused-vars
- Line 30:8: 'RedeemPreview' is defined but never used @typescript-eslint/no-unused-vars
- Line 31:8: 'Send' is defined but never used @typescript-eslint/no-unused-vars
- Line 32:8: 'SendPreview' is defined but never used @typescript-eslint/no-unused-vars
- Line 35:8: 'Target' is defined but never used @typescript-eslint/no-unused-vars
- Line 36:8: 'TargetPreview' is defined but never used @typescript-eslint/no-unused-vars
- Line 37:10: 'theme' is defined but never used @typescript-eslint/no-unused-vars
- Line 41:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
- src/components/XplaWalletKey.tsx
- Line 1:10: 'useConnectedWallet' is defined but never used @typescript-eslint/no-unused-vars
- Line 1:30: 'useWallet' is defined but never used @typescript-eslint/no-unused-vars
- Line 2:10: 'useCallback' is defined but never used @typescript-eslint/no-unused-vars
- Line 2:35: 'useState' is defined but never used @typescript-eslint/no-unused-vars
- Line 3:8: 'XplaConnectWalletDialog' is defined but never used @typescript-eslint/no-unused-vars
- Line 34:28: Expected '!==' and instead saw '!=' eqeqeq
- src/contexts/SolanaWalletContext.tsx
- Line 1:19: 'WalletAdapterNetwork' is defined but never used @typescript-eslint/no-unused-vars
- Line 9:3: 'SolflareWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 10:3: 'SolletWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 11:3: 'CloverWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 12:3: 'Coin98WalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 13:3: 'SlopeWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 14:3: 'SolongWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 15:3: 'TorusWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 16:3: 'SolletExtensionWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 17:3: 'ExodusWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 18:3: 'BackpackWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 19:3: 'NightlyWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 20:3: 'BloctoWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
- Line 23:10: 'CLUSTER' is defined but never used @typescript-eslint/no-unused-vars
- src/hooks/useTransactionFees.tsx
- Line 59:18: Expected '===' and instead saw '==' eqeqeq
- Line 178:19: 'connect' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 178:28: 'disconnect' is assigned a value but never used @typescript-eslint/no-unused-vars
- Line 248:6: React Hook useEffect has missing dependencies: 'account' and 'walletProvider'. Either include them or remove the dependency array react-hooks/exhaustive-deps
- src/store/transferSlice.ts
- Line 4:3: 'CHAIN_ID_SOLANA' is defined but never used @typescript-eslint/no-unused-vars
- src/utils/consts.ts
- Line 14:3: 'CHAIN_ID_INJECTIVE' is defined but never used @typescript-eslint/no-unused-vars
- Line 34:3: 'CHAIN_ID_SEI' is defined but never used @typescript-eslint/no-unused-vars
- Line 37:10: 'clusterApiUrl' is defined but never used @typescript-eslint/no-unused-vars
- Line 40:8: 'acalaIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 44:8: 'auroraIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 45:8: 'avaxIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 48:8: 'celoIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 50:8: 'fantomIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 51:8: 'karuraIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 52:8: 'klaytnIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 53:8: 'moonbeamIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 54:8: 'neonIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 55:8: 'oasisIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 56:8: 'optimismIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 57:8: 'polygonIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 58:8: 'seiIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 63:8: 'xplaIcon' is defined but never used @typescript-eslint/no-unused-vars
- Line 64:8: 'injectiveIcon' is defined but never used @typescript-eslint/no-unused-vars
- ERROR in ./src/utils/injective.ts 11:46-58
- export 'TxGrpcClient' (imported as 'TxGrpcClient') was not found in '@injectivelabs/sdk-ts' (possible exports: AbacusGrpcApi, AccessType, AccessTypeCode, Address, BECH32_ADDR_ACC_PREFIX, BECH32_ADDR_CONS_PREFIX, BECH32_ADDR_VAL_PREFIX, BECH32_PUBKEY_ACC_PREFIX, BECH32_PUBKEY_CONS_PREFIX, BECH32_PUBKEY_VAL_PREFIX, BaseAccount, BondStatus, BroadcastMode, BroadcastModeKeplr, ChainGrpcAuctionApi, ChainGrpcAuctionTransformer, ChainGrpcAuthApi, ChainGrpcAuthTransformer, ChainGrpcAuthZApi, ChainGrpcAuthZTransformer, ChainGrpcBankApi, ChainGrpcBankTransformer, ChainGrpcDistributionApi, ChainGrpcDistributionTransformer, ChainGrpcExchangeApi, ChainGrpcExchangeTransformer, ChainGrpcGovApi, ChainGrpcGovTransformer, ChainGrpcIbcApi, ChainGrpcInsuranceFundApi, ChainGrpcInsuranceFundTransformer, ChainGrpcMintApi, ChainGrpcMintTransformer, ChainGrpcOracleApi, ChainGrpcPeggyApi, ChainGrpcPeggyTransformer, ChainGrpcPermissionsApi, ChainGrpcPermissionsTransformer, ChainGrpcStakingApi, ChainGrpcStakingTransformer, ChainGrpcTendermintApi, ChainGrpcTokenFactoryApi, ChainGrpcTokenFactoryTransformer, ChainGrpcWasmApi, ChainGrpcWasmTransformer, ChainGrpcWasmXApi, ChainModule, ChainRestAuthApi, ChainRestBankApi, ChainRestTendermintApi, ChainRestWasmApi, ContractCodeHistoryOperationTypeMap, ContractExecutionAuthz, CosmosTxV1Beta1Tx, DEFAULT_DERIVATION_PATH, DEFAULT_STD_FEE, DEFAULT_STD_FEE_BY_DENOM, DmmGrpcApi, ExecArgCW20AdapterRedeemAndTransfer, ExecArgCW20Send, ExecArgCW20Transfer, ExecArgCreateCampaign, ExecArgCreatePerpGridStrategy, ExecArgCreateRound, ExecArgCreateSpotGridStrategy, ExecArgDepositTokens, ExecArgFundCampaign, ExecArgIncreaseAllowance, ExecArgInitiateTransfer, ExecArgNeptuneDeposit, ExecArgNeptuneWithdraw, ExecArgRemoveGridStrategy, ExecArgSubmitVaa, ExecArgSwapExactOutput, ExecArgSwapMinOutput, ExecArgUpdateGridConfig, ExecPrivilegedArgOffChainVaultRedeem, ExecPrivilegedArgOffChainVaultSubscribe, ExecPrivilegedArgVaultRedeem, ExecPrivilegedArgVaultSubscribe, ExitType, ExplorerStreamTransformer, GenericAuthz, GrantAuthorizationType, GridStrategyType, GrpcMarketStatusMap, GrpcOrderTypeMap, IncentivesQueryTransformer, IndexerAccountPortfolioStreamTransformer, IndexerAccountStreamTransformer, IndexerAuctionStreamTransformer, IndexerCampaignTransformer, IndexerDerivativeStreamTransformer, IndexerGrpcAccountApi, IndexerGrpcAccountPortfolioApi, IndexerGrpcAccountPortfolioStream, IndexerGrpcAccountPortfolioTransformer, IndexerGrpcAccountStream, IndexerGrpcAccountTransformer, IndexerGrpcArchiverApi, IndexerGrpcArchiverTransformer, IndexerGrpcAuctionApi, IndexerGrpcAuctionStream, IndexerGrpcAuctionTransformer, IndexerGrpcCampaignApi, IndexerGrpcDerivativeTransformer, IndexerGrpcDerivativesApi, IndexerGrpcDerivativesStream, IndexerGrpcExplorerApi, IndexerGrpcExplorerStream, IndexerGrpcExplorerTransformer, IndexerGrpcInsuranceFundApi, IndexerGrpcInsuranceFundTransformer, IndexerGrpcMetaApi, IndexerGrpcMitoApi, IndexerGrpcMitoStream, IndexerGrpcMitoStreamTransformer, IndexerGrpcMitoTransformer, IndexerGrpcOracleApi, IndexerGrpcOracleStream, IndexerGrpcOracleTransformer, IndexerGrpcSpotApi, IndexerGrpcSpotStream, IndexerGrpcSpotTransformer, IndexerGrpcTradingApi, IndexerGrpcTransactionApi, IndexerGrpcWeb3GwApi, IndexerModule, IndexerOracleStreamTransformer, IndexerRestDerivativesChronosApi, IndexerRestExplorerApi, IndexerRestExplorerTransformer, IndexerRestLeaderboardChronosApi, IndexerRestMarketChronosApi, IndexerRestSpotChronosApi, IndexerSpotStreamTransformer, InjNameServiceQueryTransformer, MarketType, MitoGaugeStatus, MsgAdminUpdateBinaryOptionsMarket, MsgAuthorizeStakeGrants, MsgAuthzExec, MsgBatchCancelBinaryOptionsOrders, MsgBatchCancelDerivativeOrders, MsgBatchCancelSpotOrders, MsgBatchUpdateOrders, MsgBeginRedelegate, MsgBid, MsgBroadcasterWithPk, MsgBurn, MsgCancelBinaryOptionsOrder, MsgCancelDerivativeOrder, MsgCancelSpotOrder, MsgCancelUnbondingDelegation, MsgChangeAdmin, MsgClaimVoucher, MsgCreateBinaryOptionsLimitOrder, MsgCreateBinaryOptionsMarketOrder, MsgCreateDenom, MsgCreateDerivativeLimitOrder, MsgCreateDerivativeMarketOrder, MsgCreateInsuranceFund, MsgCreateNamespace, MsgCreateSpotLimitOrder, MsgCreateSpotMarketOrder, MsgCreateValidator, MsgDecoder, MsgDelegate, MsgDeleteNamespace, MsgDeposit, MsgEditValidator, MsgExecuteContract, MsgExecuteContractCompat, MsgExternalTransfer, MsgGovDeposit, MsgGrant, MsgGrantAllowance, MsgGrantWithAuthorization, MsgIncreasePositionMargin, MsgInstantBinaryOptionsMarketLaunch, MsgInstantSpotMarketLaunch, MsgInstantiateContract, MsgLiquidatePosition, MsgMigrateContract, MsgMint, MsgMultiSend, MsgPrivilegedExecuteContract, MsgReclaimLockedFunds, MsgRequestRedemption, MsgRevoke, MsgRevokeAllowance, MsgRevokeNamespaceRoles, MsgRewardsOptOut, MsgSend, MsgSendToEth, MsgSetDenomMetadata, MsgSignData, MsgStoreCode, MsgSubmitGenericProposal, MsgSubmitProposalExpiryFuturesMarketLaunch, MsgSubmitProposalPerpetualMarketLaunch, MsgSubmitProposalSpotMarketLaunch, MsgSubmitProposalSpotMarketParamUpdate, MsgSubmitTextProposal, MsgTransfer, MsgUndelegate, MsgUnderwrite, MsgUpdateAdmin, MsgUpdateNamespace, MsgUpdateNamespaceRoles, MsgUpdateParams, MsgVote, MsgWithdraw, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, NEPTUNE_PRICE_CONTRACT, NEPTUNE_USDT_CW20_CONTRACT, NeptuneQueryTransformer, NeptuneService, OLPGrpcApi, OracleTypeMap, OrderHashManager, OrderMaskMap, OrderTypeMap, PrivateKey, ProposalDecomposer, ProposalStatusMap, PublicKey, QueryAllRounds, QueryAllRoutes, QueryGetAllLendingRates, QueryGetCampaigns, QueryGetPrices, QueryInjName, QueryInjectiveAddress, QueryInputQuantity, QueryOutputQuantity, QueryResolverAddress, QueryRoute, QueryTradingStrategyContractAllStrategies, QueryTradingStrategyContractConfig, QueryTradingStrategyContractTotalStrategies, QueryTradingStrategyContractUserStrategies, RedemptionStatus, SIGN_AMINO, SIGN_DIRECT, SIGN_EIP712, SIGN_EIP712_V2, StrategyType, StreamOperation, SwapQueryTransformer, TokenFactoryStatic, TokenPrice, TokenSource, TokenType, TokenVerification, TradeDirection, TradeExecutionSide, TradeExecutionType, TransferType, TxClient, TxClientMode, TxGrpcApi, TxRestApi, ValidatorUptimeStatus, VoteOptionMap, amountToCosmosSdkDecAmount, binaryToBase64, cosmosSdkDecToBigNumber, createAny, createAnyMessage, createAuthInfo, createBody, createFee, createSignDoc, createSignDocFromTransaction, createSignerInfo, createSigners, createTransaction, createTransactionAndCosmosSignDoc, createTransactionAndCosmosSignDocForAddressAndMsg, createTransactionForAddressAndMsg, createTransactionFromMsg, createTransactionWithSigners, createTxRawEIP712, createTxRawFromSigResponse, createWeb3Extension, decompressPubKey, denomAmountFromChainDenomAmount, denomAmountFromChainDenomAmountToFixed, denomAmountFromGrpcChainDenomAmount, denomAmountToChainDenomAmount, denomAmountToChainDenomAmountToFixed, denomAmountToGrpcChainDenomAmount, derivativeMarginFromChainMargin, derivativeMarginFromChainMarginToFixed, derivativeMarginToChainMargin, derivativeMarginToChainMarginToFixed, derivativePriceFromChainPrice, derivativePriceFromChainPriceToFixed, derivativePriceToChainPrice, derivativePriceToChainPriceToFixed, derivativeQuantityFromChainQuantity, derivativeQuantityFromChainQuantityToFixed, derivativeQuantityToChainQuantity, derivativeQuantityToChainQuantityToFixed, domainHash, errorToErrorMessage, fetchAllWithPagination, formatAmountToAllowableAmount, formatAmountToAllowableDecimals, formatNumberToAllowableDecimals, formatNumberToAllowableTensMultiplier, formatPriceToAllowableDecimals, formatPriceToAllowablePrice, fromBase64, fromUtf8, generateArbitrarySignDoc, generatePagination, getAddressFromInjectiveAddress, getAminoStdSignDoc, getChecksumAddress, getDefaultEip712Types, getDefaultEip712TypesV2, getDefaultSubaccountId, getDerivativeMarketDecimals, getDerivativeMarketTensMultiplier, getEip712Domain, getEip712DomainV2, getEip712Fee, getEip712FeeV2, getEip712TypedData, getEip712TypedDataV2, getEipTxContext, getEipTxDetails, getErrorMessage, getEthereumAddress, getEthereumSignerAddress, getExactDecimalsFromNumber, getGasPriceBasedOnMessage, getGenericAuthorizationFromMessageType, getGrpcTransport, getInjectiveAddress, getInjectiveAddressFromSubaccountId, getInjectiveSignerAddress, getObjectEip712PropertyType, getPublicKey, getSignificantDecimalsFromNumber, getSpotMarketDecimals, getSpotMarketTensMultiplier, getSubaccountId, getTensMultiplier, getTransactionPartsFromTxRaw, getTriggerPrice, getTxRawFromTxRawOrDirectSignResponse, getTypesIncludingFeePayer, grpc, grpcCoinToUiCoin, grpcPaginationToPagination, grpcPagingToPaging, grpcPkg, hashToHex, hexToBase64, hexToBuff, hexToNumber, hexToUnit8Array, isBrowser, isCw20ContractAddress, isNode, isNumber, isReactNative, isServerSide, isTxNotFoundError, makeTimeoutTimestamp, makeTimeoutTimestampInNs, mapValuesToProperValueType, messageHash, msgsOrMsgExecMsgs, numberToCosmosSdkDecString, numberTypeToReflectionNumberType, objectKeysToEip712Types, objectToJson, ofacWallets, pageResponseToPagination, paginationRequestFromPagination, paginationUint8ArrayToString, parseCoins, privateKeyHashToPublicKey, privateKeyHashToPublicKeyBase64, privateKeyToPublicKey, privateKeyToPublicKeyBase64, protoObjectToJson, protoTypeToAminoType, recoverTypedSignaturePubKey, ripemd160, sha256, sortObjectByKeys, sortObjectByKeysWithReduce, spotPriceFromChainPrice, spotPriceFromChainPriceToFixed, spotPriceToChainPrice, spotPriceToChainPriceToFixed, spotQuantityFromChainQuantity, spotQuantityFromChainQuantityToFixed, spotQuantityToChainQuantity, spotQuantityToChainQuantityToFixed, stringTypeToReflectionStringType, toBase64, toUtf8, uint8ArrayToHex, uint8ArrayToString, waitTxBroadcasted)
- @ ./src/components/Recovery.tsx 33:0-82 198:19-39 434:23-45
- @ ./src/App.js 14:0-45 159:39-47
- @ ./src/index.js 11:0-24 52:65-68
- ERROR in ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/DenomClient.js 35:21-40
- export 'TokenInfo' (imported as 'TokenInfo') was not found in '@injectivelabs/token-metadata' (possible exports: SYMBOLS_WITH_MULTIPLE_VARIATIONS, TokenFactory, TokenFactoryStatic, TokenMetaUtils, TokenMetaUtilsFactory, TokenSource, TokenType, TokenVerification, canonicalChannelIds, canonicalChannelsToChainList, canonicalChannelsToChainListFromInjective, canonicalChannelsToChainMap, canonicalChannelsToChainMapFromInjective, checkAndGetCanonical, formatNonCanonicalIbcTokenName, getChannelIdFromPath, getCw20FromSymbolOrName, getCw20Meta, getIbcDenomFromSymbolOrName, getIbcDestinationChain, getIbcMeta, getIbcTokenFromDenomTrace, getIbcTokenMetaFromDenomTrace, getNativeTokenFactoryMeta, getPeggyDenomFromSymbolOrName, getTokenAddress, getTokenDecimals, getTokenFactoryDenomByAdapter, getTokenFromMeta, getTokenFromMetaIncludingIbcBaseDenoms, getTokenInfo, getTokenLogo, getTokenName, getTokenSymbol, getTokenTypeFromDenom, getUnknownToken, getUnknownTokenWithSymbol, isCw20ContractAddress, isIbcTokenCanonical, tokenFactory, tokenMetaUtils)
- @ ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/index.js 2:0-30 2:0-30
- @ ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/index.js 1:0-24 1:0-24
- @ ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/index.js 3:0-24 3:0-24
- @ ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/index.js 1:0-23 1:0-23
- @ ./node_modules/@certusone/wormhole-sdk/lib/esm/token_bridge/injective.js 28:0-96 45:11-47 169:11-47 220:28-64 231:8-44 242:11-47 255:8-44
- @ ./node_modules/@certusone/wormhole-sdk/lib/esm/token_bridge/index.js 7:0-28 7:0-28
- @ ./node_modules/@certusone/wormhole-sdk/lib/esm/index.js 4:0-31 4:0-31 21:0-48 22:0-41
- @ ./src/utils/consts.ts 3:0-515 51:6-23 56:6-19 60:6-18 64:6-18 159:6-23 163:6-20 167:6-18 171:6-18 175:6-19 179:6-21 183:6-18 187:6-20 191:6-21 197:13-26 197:37-49 197:60-72 197:83-99 197:110-126 197:137-151 197:162-177 197:188-203 197:214-229 197:240-255 197:266-280 197:291-306 197:317-330 197:341-354 197:365-382 197:393-410 197:421-434 197:445-462 209:69-84 209:107-119 209:135-151 209:174-186 209:209-223 209:247-262 209:286-302 209:327-340 209:364-378 209:402-419 209:443-458 209:481-496 209:519-534 209:557-571 209:594-609 209:633-646 209:670-683 209:707-720 209:743-757 209:782-799 209:822-839 209:863-876 209:899-916 209:939-951 212:21-33 212:63-79 212:117-129 212:159-175 212:207-220 212:251-265 212:296-311 212:348-363 212:393-408 212:437-451 212:480-495 212:526-539 212:569-582 212:613-630 214:54-66 214:82-98 214:127-139 214:154-166 214:201-217 214:248-261 214:290-307 214:339-354 214:381-396 214:427-442 214:469-482 214:515-532 214:560-577 214:605-618 233:52-64 233:102-118 233:160-172 233:210-226 233:268-281 233:320-334 233:374-389 233:430-445 233:486-501 233:542-556 233:596-611 233:652-665 233:704-717 233:756-773 233:816-833 233:876-889 233:928-945 242:32-46 244:21-36 245:25-40 249:21-36 250:25-40 272:37-60 293:34-43 294:38-47 295:40-49 296:41-50 297:47-56 300:51-60 300:107-124 301:54-63 301:110-127 302:56-65 302:112-129 317:31-43 317:78-90 317:120-136 317:170-183 317:214-229 317:262-277 317:310-323 317:354-367 317:398-415 317:450-467 317:502-515 317:546-563 323:30-44 323:135-150 323:234-248 323:341-356 323:450-463 414:81-96 414:176-191 437:6-16 439:13-25 445:18-33 447:13-25 466:3-18 467:3-15 468:3-17 469:3-15 470:3-19 471:3-16 472:3-17 473:3-18 474:3-18 476:3-18 477:3-16 489:21-33 492:3-17 493:51-66 495:3-18
- @ ./src/index.js 24:0-57 48:48-71
- ERROR in ./node_modules/@mysten/sui.js/dist/index.mjs 2053:25-36
- Can't import the named export 'Client' (imported as 'WsRpcClient') from default-exporting module (only default export is available)
- @ ./src/utils/consts.ts 20:0-71 275:54-71 275:74-92
- @ ./src/index.js 24:0-57 48:48-71
- ERROR in ./node_modules/@suiet/wallet-kit/dist/index.js 4276:7-14
- export 'useId' (imported as 'W') was not found in 'react' (possible exports: Children, Component, Fragment, Profiler, PureComponent, StrictMode, Suspense, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, cloneElement, createContext, createElement, createFactory, createRef, forwardRef, isValidElement, lazy, memo, useCallback, useContext, useDebugValue, useEffect, useImperativeHandle, useLayoutEffect, useMemo, useReducer, useRef, useState, version)
- @ ./src/contexts/SuiWalletContext.tsx 4:0-51 38:30-44
- @ ./src/index.js 19:0-60 49:59-76
- webpack 5.97.1 compiled with 4 errors and 1 warning in 527300 ms
- ERROR in src/components/Attest/Source.tsx:35:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 33 | const shouldLockFields = useSelector(selectAttestShouldLockFields);
- 34 | const handleSourceChange = useCallback(
- > 35 | (event) => {
- | ^^^^^
- 36 | dispatch(setSourceChain(event.target.value));
- 37 | },
- 38 | [dispatch]
- ERROR in src/components/Attest/Source.tsx:41:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 39 | );
- 40 | const handleAssetChange = useCallback(
- > 41 | (event) => {
- | ^^^^^
- 42 | dispatch(setSourceAsset(event.target.value));
- 43 | },
- 44 | [dispatch]
- ERROR in src/components/Attest/Target.tsx:39:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 37 | const shouldLockFields = useSelector(selectAttestShouldLockFields);
- 38 | const handleTargetChange = useCallback(
- > 39 | (event) => {
- | ^^^^^
- 40 | dispatch(setTargetChain(event.target.value));
- 41 | },
- 42 | [dispatch]
- ERROR in src/components/ButtonWithLoader.tsx:7:10
- TS2305: Module '"react"' has no exported member 'ReactChild'.
- 5 | Typography,
- 6 | } from "@material-ui/core";
- > 7 | import { ReactChild } from "react";
- | ^^^^^^^^^^
- 8 | import { useThemeContext } from "../contexts/ThemeContext";
- 9 | export default function ButtonWithLoader({
- 10 | disabled,
- ERROR in src/components/HeaderText.tsx:3:10
- TS2305: Module '"react"' has no exported member 'ReactChild'.
- 1 | import { makeStyles, Typography } from "@material-ui/core";
- 2 | import clsx from "clsx";
- > 3 | import { ReactChild } from "react";
- | ^^^^^^^^^^
- 4 |
- 5 | const useStyles = makeStyles((theme) => ({
- 6 | centeredContainer: {
- ERROR in src/components/NFT/Source.tsx:45:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 43 | const { isReady, statusMessage } = useIsWalletReady(sourceChain);
- 44 | const handleSourceChange = useCallback(
- > 45 | (event) => {
- | ^^^^^
- 46 | dispatch(setSourceChain(event.target.value));
- 47 | },
- 48 | [dispatch]
- ERROR in src/components/NFT/Target.tsx:84:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 82 | useSyncTargetAddress(!shouldLockFields, true);
- 83 | const handleTargetChange = useCallback(
- > 84 | (event) => {
- | ^^^^^
- 85 | dispatch(setTargetChain(event.target.value));
- 86 | },
- 87 | [dispatch]
- ERROR in src/components/NFTOriginVerifier.tsx:89:42
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 87 | >(undefined);
- 88 | const [isLoading, setIsLoading] = useState(false);
- > 89 | const handleChainChange = useCallback((event) => {
- | ^^^^^
- 90 | setLookupChain(event.target.value);
- 91 | }, []);
- 92 | const handleAssetChange = useCallback((event) => {
- ERROR in src/components/NFTOriginVerifier.tsx:92:42
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 90 | setLookupChain(event.target.value);
- 91 | }, []);
- > 92 | const handleAssetChange = useCallback((event) => {
- | ^^^^^
- 93 | setLookupAsset(event.target.value);
- 94 | }, []);
- 95 | const handleTokenIdChange = useCallback((event) => {
- ERROR in src/components/NFTOriginVerifier.tsx:95:44
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 93 | setLookupAsset(event.target.value);
- 94 | }, []);
- > 95 | const handleTokenIdChange = useCallback((event) => {
- | ^^^^^
- 96 | setLookupTokenId(event.target.value);
- 97 | }, []);
- 98 | useEffect(() => {
- ERROR in src/components/Recovery.tsx:575:11
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi'.
- 573 | getTokenBridgeAddressForChain(CHAIN_ID_INJECTIVE);
- 574 | const tokenId = await queryExternalIdInjective(
- > 575 | client,
- | ^^^^^^
- 576 | tokenBridgeAddress,
- 577 | parsedPayload.originAddress
- 578 | );
- ERROR in src/components/Recovery.tsx:874:41
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 872 | nearAccountId,
- 873 | ]);
- > 874 | const handleTypeChange = useCallback((event) => {
- | ^^^^^
- 875 | setRecoverySourceChain((prevChain) =>
- 876 | event.target.value === "NFT" &&
- 877 | !CHAINS_WITH_NFT_SUPPORT.find((chain) => chain.id === prevChain)
- ERROR in src/components/Recovery.tsx:883:48
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 881 | setType(event.target.value);
- 882 | }, []);
- > 883 | const handleSourceChainChange = useCallback((event) => {
- | ^^^^^
- 884 | setRecoverySourceTx("");
- 885 | setRecoverySourceChain(event.target.value);
- 886 | }, []);
- ERROR in src/components/Recovery.tsx:887:45
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 885 | setRecoverySourceChain(event.target.value);
- 886 | }, []);
- > 887 | const handleSourceTxChange = useCallback((event) => {
- | ^^^^^
- 888 | setRecoverySourceTx(event.target.value.trim());
- 889 | }, []);
- 890 | const handleSignedVAAChange = useCallback((event) => {
- ERROR in src/components/Recovery.tsx:890:46
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 888 | setRecoverySourceTx(event.target.value.trim());
- 889 | }, []);
- > 890 | const handleSignedVAAChange = useCallback((event) => {
- | ^^^^^
- 891 | setRecoverySignedVAA(event.target.value.trim());
- 892 | }, []);
- 893 | useEffect(() => {
- ERROR in src/components/RelaySelector.tsx:35:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 33 |
- 34 | const onChangeWrapper = useCallback(
- > 35 | (event) => {
- | ^^^^^
- 36 | console.log(event, "event in selector");
- 37 | event.target.value
- 38 | ? onChange(
- ERROR in src/components/SmartAddress.tsx:36:10
- TS2305: Module '"react"' has no exported member 'ReactChild'.
- 34 | import { withStyles } from "@material-ui/styles";
- 35 | import clsx from "clsx";
- > 36 | import { ReactChild } from "react";
- | ^^^^^^^^^^
- 37 | import useCopyToClipboard from "../hooks/useCopyToClipboard";
- 38 | import { ParsedTokenAccount } from "../store/transferSlice";
- 39 | import { CLUSTER, getExplorerName } from "../utils/consts";
- ERROR in src/components/StepDescription.tsx:2:10
- TS2305: Module '"react"' has no exported member 'ReactChild'.
- 1 | import { makeStyles, Typography } from "@material-ui/core";
- > 2 | import { ReactChild } from "react";
- | ^^^^^^^^^^
- 3 |
- 4 | const useStyles = makeStyles((theme) => ({
- 5 | description: {
- ERROR in src/components/TokenOriginVerifier.tsx:210:6
- TS7006: Parameter 'e' implicitly has an 'any' type.
- 208 |
- 209 | const handlePrimaryLookupChainChange = useCallback(
- > 210 | (e) => {
- | ^
- 211 | setPrimaryLookupChain(e.target.value);
- 212 | if (secondaryLookupChain === e.target.value) {
- 213 | setSecondaryLookupChain(
- ERROR in src/components/TokenOriginVerifier.tsx:221:57
- TS7006: Parameter 'e' implicitly has an 'any' type.
- 219 | [secondaryLookupChain]
- 220 | );
- > 221 | const handleSecondaryLookupChainChange = useCallback((e) => {
- | ^
- 222 | setSecondaryLookupChain(e.target.value);
- 223 | }, []);
- 224 | const handlePrimaryLookupAssetChange = useCallback((event) => {
- ERROR in src/components/TokenOriginVerifier.tsx:224:55
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 222 | setSecondaryLookupChain(e.target.value);
- 223 | }, []);
- > 224 | const handlePrimaryLookupAssetChange = useCallback((event) => {
- | ^^^^^
- 225 | setPrimaryLookupAsset(event.target.value);
- 226 | }, []);
- 227 |
- ERROR in src/components/TokenSelectors/OffsetButton.tsx:2:10
- TS2305: Module '"react"' has no exported member 'ReactChild'.
- 1 | import { Button, makeStyles } from "@material-ui/core";
- > 2 | import { ReactChild } from "react";
- | ^^^^^^^^^^
- 3 |
- 4 | const useStyles = makeStyles((theme) => ({
- 5 | offsetButton: { display: "block", marginLeft: "auto", marginTop: 8 },
- ERROR in src/components/TokenSelectors/RefreshButtonWrapper.tsx:29:13
- TS2503: Cannot find namespace 'JSX'.
- 27 | callback,
- 28 | }: {
- > 29 | children: JSX.Element;
- | ^^^
- 30 | callback: () => any;
- 31 | }) {
- 32 | const classes = useStyles();
- ERROR in src/components/TokenSelectors/TokenPicker.tsx:200:9
- TS2503: Cannot find namespace 'JSX'.
- 198 | }: {
- 199 | account: NFTParsedTokenAccount;
- > 200 | }) => JSX.Element;
- | ^^^
- 201 | onChange: (newValue: NFTParsedTokenAccount | null) => Promise<void>;
- 202 | isValidAddress?: (address: string, chainId: ChainId) => boolean;
- 203 | getAddress?: (
- ERROR in src/components/Transfer/Source.tsx:254:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 252 |
- 253 | const handleSourceChange = useCallback(
- > 254 | (event) => {
- | ^^^^^
- 255 | dispatch(setSourceChain(event.target.value));
- 256 | },
- 257 | [dispatch]
- ERROR in src/components/Transfer/Source.tsx:260:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 258 | );
- 259 | const handleTargetChange = useCallback(
- > 260 | (event) => {
- | ^^^^^
- 261 | dispatch(setTargetChain(event.target.value));
- 262 | },
- 263 | [dispatch]
- ERROR in src/components/Transfer/Source.tsx:325:12
- TS2746: This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided.
- 323 | enqueueSnackbar(null, {
- 324 | content: (
- > 325 | <Alert severity="error">
- | ^^^^^
- 326 | Failed to approve transaction: {error || "Unknown error"}
- 327 | </Alert>
- 328 | ),
- ERROR in src/components/Transfer/Target.tsx:127:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 125 | useSyncTargetAddress(!shouldLockFields);
- 126 | const handleTargetChange = useCallback(
- > 127 | (event) => {
- | ^^^^^
- 128 | dispatch(setTargetChain(event.target.value));
- 129 | },
- 130 | [dispatch]
- ERROR in src/components/UnwrapNative.tsx:167:37
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 165 | const { signer } = useEthereumProvider();
- 166 | const { isReady, statusMessage } = useIsWalletReady(selectedChainId);
- > 167 | const handleSelect = useCallback((event) => {
- | ^^^^^
- 168 | setSelectedChainId(parseInt(event.target.value) as SupportedChain);
- 169 | }, []);
- 170 | useEffect(() => {
- ERROR in src/components/USDC/index.tsx:361:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 359 | }, [shouldRelay, dispatch]);
- 360 | const handleSliderChange = useCallback(
- > 361 | (event, value) => {
- | ^^^^^
- 362 | dispatch(
- 363 | setToNativeAmount(
- 364 | parseUnits(value.toString(), USDC_DECIMALS).toString()
- ERROR in src/components/USDC/index.tsx:361:13
- TS7006: Parameter 'value' implicitly has an 'any' type.
- 359 | }, [shouldRelay, dispatch]);
- 360 | const handleSliderChange = useCallback(
- > 361 | (event, value) => {
- | ^^^^^
- 362 | dispatch(
- 363 | setToNativeAmount(
- 364 | parseUnits(value.toString(), USDC_DECIMALS).toString()
- ERROR in src/components/USDC/index.tsx:561:6
- TS7006: Parameter 'event' implicitly has an 'any' type.
- 559 | ]);
- 560 | const handleAmountChange = useCallback(
- > 561 | (event) => {
- | ^^^^^
- 562 | dispatch(setAmount(event.target.value));
- 563 | },
- 564 | [dispatch]
- ERROR in src/contexts/AlgorandWalletContext.tsx:4:3
- TS2305: Module '"react"' has no exported member 'ReactChildren'.
- 2 | import {
- 3 | createContext,
- > 4 | ReactChildren,
- | ^^^^^^^^^^^^^
- 5 | useCallback,
- 6 | useContext,
- 7 | useMemo,
- ERROR in src/contexts/AptosWalletContext.tsx:17:10
- TS2305: Module '"react"' has no exported member 'ReactChildren'.
- 15 | WalletProvider,
- 16 | } from "@manahippo/aptos-wallet-adapter";
- > 17 | import { ReactChildren, useMemo } from "react";
- | ^^^^^^^^^^^^^
- 18 |
- 19 | export const useAptosContext = useWallet;
- 20 |
- ERROR in src/contexts/AptosWalletContext.tsx:39:7
- TS2554: Expected 1 arguments, but got 0.
- 37 | new BitkeepWalletAdapter(),
- 38 | new TokenPocketWalletAdapter(),
- > 39 | new BloctoWalletAdapter(),
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
- 40 | ],
- 41 | []
- 42 | );
- ERROR in src/contexts/EthereumProviderContext.tsx:5:3
- TS2305: Module '"react"' has no exported member 'ReactChildren'.
- 3 | import { BigNumber, ethers } from "ethers";
- 4 | import React, {
- > 5 | ReactChildren,
- | ^^^^^^^^^^^^^
- 6 | useCallback,
- 7 | useContext,
- 8 | useEffect,
- ERROR in src/contexts/InjectiveWalletContext.tsx:3:3
- TS2305: Module '"react"' has no exported member 'ReactChildren'.
- 1 | import {
- 2 | createContext,
- > 3 | ReactChildren,
- | ^^^^^^^^^^^^^
- 4 | useCallback,
- 5 | useContext,
- 6 | useMemo,
- ERROR in src/contexts/InjectiveWalletContext.tsx:92:23
- TS2339: Property 'disconnectWallet' does not exist on type 'WalletStrategy'.
- 90 | (async () => {
- 91 | try {
- > 92 | await wallet?.disconnectWallet();
- | ^^^^^^^^^^^^^^^^
- 93 | } catch (e) {
- 94 | console.error(e);
- 95 | }
- ERROR in src/contexts/NearWalletContext.tsx:23:3
- TS2305: Module '"react"' has no exported member 'ReactChildren'.
- 21 | import { KeyPair, WalletConnection } from "near-api-js";
- 22 | import React, {
- > 23 | ReactChildren,
- | ^^^^^^^^^^^^^
- 24 | useCallback,
- 25 | useContext,
- 26 | useEffect,
- ERROR in src/contexts/SolanaWalletContext.tsx:10:3
- TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'SolletWalletAdapter'. Did you mean 'SolflareWalletAdapter'?
- 8 | PhantomWalletAdapter,
- 9 | SolflareWalletAdapter,
- > 10 | SolletWalletAdapter,
- | ^^^^^^^^^^^^^^^^^^^
- 11 | CloverWalletAdapter,
- 12 | Coin98WalletAdapter,
- 13 | SlopeWalletAdapter,
- ERROR in src/contexts/SolanaWalletContext.tsx:13:3
- TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'SlopeWalletAdapter'. Did you mean 'CloverWalletAdapter'?
- 11 | CloverWalletAdapter,
- 12 | Coin98WalletAdapter,
- > 13 | SlopeWalletAdapter,
- | ^^^^^^^^^^^^^^^^^^
- 14 | SolongWalletAdapter,
- 15 | TorusWalletAdapter,
- 16 | SolletExtensionWalletAdapter,
- ERROR in src/contexts/SolanaWalletContext.tsx:16:3
- TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'SolletExtensionWalletAdapter'. Did you mean 'SolongWalletAdapter'?
- 14 | SolongWalletAdapter,
- 15 | TorusWalletAdapter,
- > 16 | SolletExtensionWalletAdapter,
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 17 | ExodusWalletAdapter,
- 18 | BackpackWalletAdapter,
- 19 | NightlyWalletAdapter,
- ERROR in src/contexts/SolanaWalletContext.tsx:17:3
- TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'ExodusWalletAdapter'. Did you mean 'TorusWalletAdapter'?
- 15 | TorusWalletAdapter,
- 16 | SolletExtensionWalletAdapter,
- > 17 | ExodusWalletAdapter,
- | ^^^^^^^^^^^^^^^^^^^
- 18 | BackpackWalletAdapter,
- 19 | NightlyWalletAdapter,
- 20 | BloctoWalletAdapter,
- ERROR in src/contexts/SolanaWalletContext.tsx:18:3
- TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'BackpackWalletAdapter'. Did you mean 'AlphaWalletAdapter'?
- 16 | SolletExtensionWalletAdapter,
- 17 | ExodusWalletAdapter,
- > 18 | BackpackWalletAdapter,
- | ^^^^^^^^^^^^^^^^^^^^^
- 19 | NightlyWalletAdapter,
- 20 | BloctoWalletAdapter,
- 21 | } from "@solana/wallet-adapter-wallets";
- ERROR in src/contexts/SolanaWalletContext.tsx:20:3
- TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'BloctoWalletAdapter'. Did you mean 'OntoWalletAdapter'?
- 18 | BackpackWalletAdapter,
- 19 | NightlyWalletAdapter,
- > 20 | BloctoWalletAdapter,
- | ^^^^^^^^^^^^^^^^^^^
- 21 | } from "@solana/wallet-adapter-wallets";
- 22 | import { FC, useMemo } from "react";
- 23 | import { CLUSTER, SOLANA_HOST } from "../utils/consts";
- ERROR in src/contexts/SolanaWalletContext.tsx:53:16
- TS2339: Property 'children' does not exist on type '{}'.
- 51 | <ConnectionProvider endpoint={SOLANA_HOST}>
- 52 | <WalletProvider wallets={wallets} autoConnect>
- > 53 | {props.children}
- | ^^^^^^^^
- 54 | </WalletProvider>
- 55 | </ConnectionProvider>
- 56 | );
- ERROR in src/contexts/SuiWalletContext.tsx:2:10
- TS2305: Module '"react"' has no exported member 'ReactChildren'.
- 1 | import { WalletProvider } from "@suiet/wallet-kit";
- > 2 | import { ReactChildren } from "react";
- | ^^^^^^^^^^^^^
- 3 |
- 4 | // export const useSuiContext = () => {
- 5 | // const [accounts, setAccounts] = useState<string[]>([]);
- ERROR in src/contexts/TerraWalletContext.tsx:2:10
- TS2305: Module '"react"' has no exported member 'ReactChildren'.
- 1 | import { NetworkInfo, WalletProvider } from "@terra-money/wallet-provider";
- > 2 | import { ReactChildren } from "react";
- | ^^^^^^^^^^^^^
- 3 |
- 4 | const testnet: NetworkInfo = {
- 5 | name: "testnet",
- ERROR in src/contexts/XplaWalletContext.tsx:2:25
- TS2305: Module '"react"' has no exported member 'ReactChildren'.
- 1 | import { NetworkInfo, WalletProvider } from "@xpla/wallet-provider";
- > 2 | import { createContext, ReactChildren, useState } from "react";
- | ^^^^^^^^^^^^^
- 3 | // @ts-expect-error import tron
- 4 | import TronWeb from "tronweb";
- 5 |
- ERROR in src/hooks/useCheckIfWormholeWrapped.ts:181:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/aptos/dist/index").AptosClient' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/aptos/dist/index").AptosClient'.
- 179 | const wrappedInfo = makeStateSafe(
- 180 | await getOriginalAssetAptos(
- > 181 | getAptosClient(),
- | ^^^^^^^^^^^^^^^^
- 182 | getTokenBridgeAddressForChain(CHAIN_ID_APTOS),
- 183 | sourceAsset
- 184 | )
- ERROR in src/hooks/useCheckIfWormholeWrapped.ts:202:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/client/v2/algod/algod").default' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/client/v2/algod/algod").default'.
- 200 | const wrappedInfo = makeStateSafe(
- 201 | await getOriginalAssetAlgorand(
- > 202 | algodClient,
- | ^^^^^^^^^^^
- 203 | ALGORAND_TOKEN_BRIDGE_ID,
- 204 | BigInt(sourceAsset)
- 205 | )
- ERROR in src/hooks/useCheckIfWormholeWrapped.ts:216:58
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi'.
- 214 | const client = getInjectiveWasmClient();
- 215 | const wrappedInfo = makeStateSafe(
- > 216 | await getOriginalAssetInjective(sourceAsset, client)
- | ^^^^^^
- 217 | );
- 218 | if (!cancelled) {
- 219 | dispatch(setSourceWormholeWrappedInfo(wrappedInfo));
- ERROR in src/hooks/useFetchForeignAsset.ts:175:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/aptos/dist/index").AptosClient' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/aptos/dist/index").AptosClient'.
- Property 'client' is missing in type 'import("./Multi-token-bridge/node_modules/aptos/dist/index").AptosClient' but required in type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/aptos/dist/index").AptosClient'.
- 173 | ? () => {
- 174 | return getForeignAssetAptos(
- > 175 | getAptosClient(),
- | ^^^^^^^^^^^^^^^^
- 176 | getTokenBridgeAddressForChain(foreignChain),
- 177 | originChain,
- 178 | originAssetHex
- ERROR in src/hooks/useFetchForeignAsset.ts:199:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/client/v2/algod/algod").default' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/client/v2/algod/algod").default'.
- Type 'AlgodClient' is missing the following properties from type 'AlgodClient': getBlockTxids, disassemble, simulateRawTransactions, simulateTransactions, and 9 more.
- 197 | );
- 198 | return getForeignAssetAlgorand(
- > 199 | algodClient,
- | ^^^^^^^^^^^
- 200 | ALGORAND_TOKEN_BRIDGE_ID,
- 201 | originChain,
- 202 | originAssetHex
- ERROR in src/hooks/useFetchForeignAsset.ts:210:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi'.
- Property 'module' is protected but type 'ChainGrpcWasmApi' is not a class derived from 'ChainGrpcWasmApi'.
- 208 | return getForeignAssetInjective(
- 209 | getTokenBridgeAddressForChain(foreignChain),
- > 210 | client,
- | ^^^^^^
- 211 | originChain,
- 212 | hexToUint8Array(originAssetHex)
- 213 | );
- ERROR in src/hooks/useFetchTargetAsset.ts:198:13
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi'.
- 196 | getTokenBridgeAddressForChain(CHAIN_ID_INJECTIVE);
- 197 | const tokenId = await queryExternalIdInjective(
- > 198 | client,
- | ^^^^^^
- 199 | tokenBridgeAddress,
- 200 | originAsset || ""
- 201 | );
- ERROR in src/hooks/useFetchTargetAsset.ts:233:13
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/aptos/dist/index").AptosClient' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/aptos/dist/index").AptosClient'.
- 231 | } else if (originChain === CHAIN_ID_APTOS) {
- 232 | const tokenId = await getTypeFromExternalAddress(
- > 233 | getAptosClient(),
- | ^^^^^^^^^^^^^^^^
- 234 | getTokenBridgeAddressForChain(CHAIN_ID_APTOS),
- 235 | originAsset || ""
- 236 | );
- ERROR in src/hooks/useFetchTargetAsset.ts:458:13
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/aptos/dist/index").AptosClient' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/aptos/dist/index").AptosClient'.
- 456 | try {
- 457 | const asset = await getForeignAssetAptos(
- > 458 | getAptosClient(),
- | ^^^^^^^^^^^^^^^^
- 459 | getTokenBridgeAddressForChain(targetChain),
- 460 | originChain,
- 461 | originAsset
- ERROR in src/hooks/useFetchTargetAsset.ts:496:13
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/client/v2/algod/algod").default' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/client/v2/algod/algod").default'.
- 494 | );
- 495 | const asset = await getForeignAssetAlgorand(
- > 496 | algodClient,
- | ^^^^^^^^^^^
- 497 | ALGORAND_TOKEN_BRIDGE_ID,
- 498 | originChain,
- 499 | originAsset
- ERROR in src/hooks/useFetchTargetAsset.ts:531:13
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi'.
- 529 | const asset = await getForeignAssetInjective(
- 530 | getTokenBridgeAddressForChain(targetChain),
- > 531 | client,
- | ^^^^^^
- 532 | originChain,
- 533 | hexToUint8Array(originAsset)
- 534 | );
- ERROR in src/hooks/useGetIsTransferCompleted.ts:179:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/aptos/dist/index").AptosClient' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/aptos/dist/index").AptosClient'.
- 177 | try {
- 178 | transferCompleted = await getIsTransferCompletedAptos(
- > 179 | getAptosClient(),
- | ^^^^^^^^^^^^^^^^
- 180 | getTokenBridgeAddressForChain(targetChain),
- 181 | signedVAA
- 182 | );
- ERROR in src/hooks/useGetIsTransferCompleted.ts:201:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/client/v2/algod/algod").default' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/client/v2/algod/algod").default'.
- 199 | );
- 200 | transferCompleted = await getIsTransferCompletedAlgorand(
- > 201 | algodClient,
- | ^^^^^^^^^^^
- 202 | ALGORAND_TOKEN_BRIDGE_ID,
- 203 | signedVAA
- 204 | );
- ERROR in src/hooks/useGetIsTransferCompleted.ts:221:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi'.
- 219 | getTokenBridgeAddressForChain(targetChain),
- 220 | signedVAA,
- > 221 | client
- | ^^^^^^
- 222 | );
- 223 | } catch (error) {
- 224 | console.error(error);
- ERROR in src/hooks/useHandleAttest.tsx:139:7
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/client/v2/algod/algod").default' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/client/v2/algod/algod").default'.
- 137 | );
- 138 | const txs = await attestFromAlgorand(
- > 139 | algodClient,
- | ^^^^^^^^^^^
- 140 | ALGORAND_TOKEN_BRIDGE_ID,
- 141 | ALGORAND_BRIDGE_ID,
- 142 | senderAddr,
- ERROR in src/hooks/useHandleAttest.tsx:620:7
- TS2322: Type 'import("./Multi-token-bridge/node_modules/@mysten/sui.js/dist/builder/TransactionBlock").TransactionBlock' is not assignable to type 'import("./Multi-token-bridge/node_modules/@suiet/wallet-kit/node_modules/@mysten/sui.js/dist/cjs/transactions/TransactionBlock").TransactionBlock'.
- 618 | );
- 619 | const response = await wallet.signAndExecuteTransactionBlock({
- > 620 | transactionBlock: tx,
- | ^^^^^^^^^^^^^^^^
- 621 | options: {
- 622 | showEvents: true,
- 623 | },
- ERROR in src/hooks/useHandleAttest.tsx:643:9
- TS2345: Argument of type 'SuiSignAndExecuteTransactionBlockOutput' is not assignable to parameter of type '{ digest: string; timestampMs?: string | undefined; transaction?: { data: { sender: string; messageVersion: "v1"; transaction: { epoch: string; storage_charge: string; computation_charge: string; storage_rebate: string; kind: "ChangeEpoch"; epoch_start_timestamp_ms?: string | undefined; } | { ...; } | { ...; } | { ....'.
- 641 | getEmitterAddressAndSequenceFromResponseSui(
- 642 | coreBridgePackageId,
- > 643 | response
- | ^^^^^^^^
- 644 | );
- 645 | enqueueSnackbar(null, {
- 646 | content: <Alert severity="info">Fetching VAA</Alert>,
- ERROR in src/hooks/useHandleCreateWrapped.tsx:189:7
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/client/v2/algod/algod").default' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/client/v2/algod/algod").default'.
- 187 | );
- 188 | const txs = await createWrappedOnAlgorand(
- > 189 | algodClient,
- | ^^^^^^^^^^^
- 190 | ALGORAND_TOKEN_BRIDGE_ID,
- 191 | ALGORAND_BRIDGE_ID,
- 192 | senderAddr,
- ERROR in src/hooks/useHandleCreateWrapped.tsx:576:9
- TS2322: Type 'import("./Multi-token-bridge/node_modules/@mysten/sui.js/dist/builder/TransactionBlock").TransactionBlock' is not assignable to type 'import("./Multi-token-bridge/node_modules/@suiet/wallet-kit/node_modules/@mysten/sui.js/dist/cjs/transactions/TransactionBlock").TransactionBlock'.
- Property '#private' in type 'TransactionBlock' refers to a different member that cannot be accessed from within type 'TransactionBlock'.
- 574 | );
- 575 | response = await wallet.signAndExecuteTransactionBlock({
- > 576 | transactionBlock: suiUpdateWrappedTxPayload,
- | ^^^^^^^^^^^^^^^^
- 577 | options: {
- 578 | showEvents: true,
- 579 | },
- ERROR in src/hooks/useHandleCreateWrapped.tsx:591:11
- TS2322: Type 'import("./Multi-token-bridge/node_modules/@mysten/sui.js/dist/builder/TransactionBlock").TransactionBlock' is not assignable to type 'import("./Multi-token-bridge/node_modules/@suiet/wallet-kit/node_modules/@mysten/sui.js/dist/cjs/transactions/TransactionBlock").TransactionBlock'.
- 589 | const suiPrepareRegistrationTxRes =
- 590 | await wallet.signAndExecuteTransactionBlock({
- > 591 | transactionBlock: suiPrepareRegistrationTxPayload,
- | ^^^^^^^^^^^^^^^^
- 592 | options: {
- 593 | showObjectChanges: true,
- 594 | },
- ERROR in src/hooks/useHandleCreateWrapped.tsx:610:9
- TS2345: Argument of type 'SuiSignAndExecuteTransactionBlockOutput' is not assignable to parameter of type '{ digest: string; timestampMs?: string | undefined; transaction?: { data: { sender: string; messageVersion: "v1"; transaction: { epoch: string; storage_charge: string; computation_charge: string; storage_rebate: string; kind: "ChangeEpoch"; epoch_start_timestamp_ms?: string | undefined; } | { ...; } | { ...; } | { ....'.
- Types of property 'timestampMs' are incompatible.
- Type 'string | null | undefined' is not assignable to type 'string | undefined'.
- Type 'null' is not assignable to type 'string | undefined'.
- 608 | }
- 609 | const publishEvents = getPublishedObjectChanges(
- > 610 | suiPrepareRegistrationTxRes
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 611 | );
- 612 | if (publishEvents.length < 1) {
- 613 | throw new Error("Error parsing publishEvents");
- ERROR in src/hooks/useHandleCreateWrapped.tsx:641:9
- TS2322: Type 'import("./Multi-token-bridge/node_modules/@mysten/sui.js/dist/builder/TransactionBlock").TransactionBlock' is not assignable to type 'import("./Multi-token-bridge/node_modules/@suiet/wallet-kit/node_modules/@mysten/sui.js/dist/cjs/transactions/TransactionBlock").TransactionBlock'.
- 639 |
- 640 | response = await wallet.signAndExecuteTransactionBlock({
- > 641 | transactionBlock: suiCompleteRegistrationTxPayload,
- | ^^^^^^^^^^^^^^^^
- 642 | options: {
- 643 | showEvents: true,
- 644 | },
- ERROR in src/hooks/useHandleRedeem.tsx:121:7
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/client/v2/algod/algod").default' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/client/v2/algod/algod").default'.
- 119 | );
- 120 | const txs = await redeemOnAlgorand(
- > 121 | algodClient,
- | ^^^^^^^^^^^
- 122 | ALGORAND_TOKEN_BRIDGE_ID,
- 123 | ALGORAND_BRIDGE_ID,
- 124 | signedVAA,
- ERROR in src/hooks/useHandleRedeem.tsx:161:7
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/aptos/dist/index").AptosClient' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/aptos/dist/index").AptosClient'.
- 159 | try {
- 160 | const msg = await completeTransferAndRegister(
- > 161 | getAptosClient(),
- | ^^^^^^^^^^^^^^^^
- 162 | tokenBridgeAddress,
- 163 | signedVAA
- 164 | );
- ERROR in src/hooks/useHandleRedeem.tsx:481:7
- TS2322: Type 'import("./Multi-token-bridge/node_modules/@mysten/sui.js/dist/builder/TransactionBlock").TransactionBlock' is not assignable to type 'import("./Multi-token-bridge/node_modules/@suiet/wallet-kit/node_modules/@mysten/sui.js/dist/cjs/transactions/TransactionBlock").TransactionBlock'.
- 479 | );
- 480 | const response = await wallet.signAndExecuteTransactionBlock({
- > 481 | transactionBlock: tx,
- | ^^^^^^^^^^^^^^^^
- 482 | });
- 483 | dispatch(
- 484 | setRedeemTx({
- ERROR in src/hooks/useHandleTransfer.tsx:239:7
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/client/v2/algod/algod").default' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/client/v2/algod/algod").default'.
- 237 | );
- 238 | const txs = await transferFromAlgorand(
- > 239 | algodClient,
- | ^^^^^^^^^^^
- 240 | ALGORAND_TOKEN_BRIDGE_ID,
- 241 | ALGORAND_BRIDGE_ID,
- 242 | senderAddr,
- ERROR in src/hooks/useHandleTransfer.tsx:916:7
- TS2322: Type 'import("./Multi-token-bridge/node_modules/@mysten/sui.js/dist/builder/TransactionBlock").TransactionBlock' is not assignable to type 'import("./Multi-token-bridge/node_modules/@suiet/wallet-kit/node_modules/@mysten/sui.js/dist/cjs/transactions/TransactionBlock").TransactionBlock'.
- 914 | );
- 915 | const response = await wallet.signAndExecuteTransactionBlock({
- > 916 | transactionBlock: tx,
- | ^^^^^^^^^^^^^^^^
- 917 | options: {
- 918 | showEvents: true,
- 919 | },
- ERROR in src/hooks/useHandleTransfer.tsx:939:9
- TS2345: Argument of type 'SuiSignAndExecuteTransactionBlockOutput' is not assignable to parameter of type '{ digest: string; timestampMs?: string | undefined; transaction?: { data: { sender: string; messageVersion: "v1"; transaction: { epoch: string; storage_charge: string; computation_charge: string; storage_rebate: string; kind: "ChangeEpoch"; epoch_start_timestamp_ms?: string | undefined; } | { ...; } | { ...; } | { ....'.
- 937 | getEmitterAddressAndSequenceFromResponseSui(
- 938 | coreBridgePackageId,
- > 939 | response
- | ^^^^^^^^
- 940 | );
- 941 | console.log(emitterAddress, sequence);
- 942 | await fetchSignedVAA(
- ERROR in src/hooks/useOriginalAsset.ts:110:9
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/client/v2/algod/algod").default' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/client/v2/algod/algod").default'.
- 108 | );
- 109 | promise = await getOriginalAssetAlgorand(
- > 110 | algodClient,
- | ^^^^^^^^^^^
- 111 | ALGORAND_TOKEN_BRIDGE_ID,
- 112 | BigInt(foreignNativeStringAddress)
- 113 | );
- ERROR in src/hooks/useOriginalAsset.ts:116:9
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/aptos/dist/index").AptosClient' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/aptos/dist/index").AptosClient'.
- 114 | } else if (foreignChain === CHAIN_ID_APTOS) {
- 115 | promise = await getOriginalAssetAptos(
- > 116 | getAptosClient(),
- | ^^^^^^^^^^^^^^^^
- 117 | getTokenBridgeAddressForChain(CHAIN_ID_APTOS),
- 118 | foreignNativeStringAddress
- 119 | );
- ERROR in src/hooks/useOriginalAsset.ts:123:9
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi'.
- 121 | promise = await getOriginalAssetInjective(
- 122 | foreignNativeStringAddress,
- > 123 | getInjectiveWasmClient()
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- 124 | );
- 125 | } else if (foreignChain === CHAIN_ID_NEAR && nearAccountId) {
- 126 | const provider = makeNearProvider();
- ERROR in src/hooks/useOriginalAsset.ts:317:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/aptos/dist/index").AptosClient' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/aptos/dist/index").AptosClient'.
- 315 | } else if (result.chainId === CHAIN_ID_APTOS) {
- 316 | getTypeFromExternalAddress(
- > 317 | getAptosClient(),
- | ^^^^^^^^^^^^^^^^
- 318 | getTokenBridgeAddressForChain(CHAIN_ID_APTOS),
- 319 | uint8ArrayToHex(result.assetAddress)
- 320 | ).then((tokenId) => setOriginAddress(tokenId || null));
- ERROR in src/hooks/useOriginalAsset.ts:327:15
- TS2345: Argument of type 'import("./Multi-token-bridge/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi' is not assignable to parameter of type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/cjs/client/chain/grpc/ChainGrpcWasmApi").ChainGrpcWasmApi'.
- 325 | );
- 326 | queryExternalIdInjective(
- > 327 | client,
- | ^^^^^^
- 328 | tokenBridgeAddress,
- 329 | uint8ArrayToHex(result.assetAddress)
- 330 | ).then((tokenId) => setOriginAddress(tokenId));
- ERROR in src/utils/algorand.ts:11:17
- TS2345: Argument of type 'Transaction[]' is not assignable to parameter of type 'TransactionLike[]'.
- Type 'Transaction' is not assignable to type 'TransactionLike'.
- Type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/transaction").Transaction' is not assignable to type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/transaction").Transaction'.
- Types of property 'type' are incompatible.
- Type 'import("./Multi-token-bridge/node_modules/@certusone/wormhole-sdk/node_modules/algosdk/dist/types/types/transactions/base").TransactionType | undefined' is not assignable to type 'import("./Multi-token-bridge/node_modules/algosdk/dist/types/types/transactions/base").TransactionType | undefined'.
- Type 'TransactionType.pay' is not assignable to type 'TransactionType | undefined'.
- 9 | ) {
- 10 | const myAlgoConnect = new MyAlgoConnect();
- > 11 | assignGroupID(txs.map((tx) => tx.tx));
- | ^^^^^^^^^^^^^^^^^^^^^^
- 12 | const signedTxns: Uint8Array[] = [];
- 13 | const lsigSignedTxns: Uint8Array[] = [];
- 14 | const walletUnsignedTxns: Uint8Array[] = [];
- ERROR in src/utils/injective.ts:6:3
- TS2724: '"@injectivelabs/sdk-ts"' has no exported member named 'TxGrpcClient'. Did you mean 'TxClient'?
- 4 | ChainGrpcWasmApi,
- 5 | Msgs,
- > 6 | TxGrpcClient,
- | ^^^^^^^^^^^^
- 7 | } from "@injectivelabs/sdk-ts";
- 8 | import { MsgBroadcaster, WalletStrategy } from "@injectivelabs/wallet-ts";
- 9 | import { INJECTIVE_NETWORK, INJECTIVE_NETWORK_INFO } from "./consts";
- ERROR in src/utils/xpla.ts:68:5
- TS2322: Type 'import("./Multi-token-bridge/node_modules/@xpla/xpla.js/dist/core/Fee").Fee' is not assignable to type 'import("./Multi-token-bridge/node_modules/@xpla/wallet-types/node_modules/@xpla/xpla.js/dist/core/Fee").Fee'.
- Types of property 'amount' are incompatible.
- Type 'import("./Multi-token-bridge/node_modules/@xpla/xpla.js/dist/core/Coins").Coins' is not assignable to type 'import("./Multi-token-bridge/node_modules/@xpla/wallet-types/node_modules/@xpla/xpla.js/dist/core/Coins").Coins'.
- Types have separate declarations of a private property '_coins'.
- 66 | feeDenoms,
- 67 | gasPrices,
- > 68 | fee: feeEstimate,
- | ^^^
- 69 | });
- 70 |
- 71 | return result;
Add Comment
Please, Sign In to add comment