Lissanro

Multi-token-bridge errors after "yarn install" and "yarn start" with node v16.20.2

Feb 2nd, 2025 (edited)
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.78 KB | None | 0 0
  1. Attempted import error: 'TxGrpcClient' is not exported from '@injectivelabs/sdk-ts' (imported as 'TxGrpcClient').
  2. assets by path static/media/ 458 KiB
  3. assets by path static/media/*.svg 189 KiB 30 assets
  4. assets by info 269 KiB [immutable]
  5. assets by path static/media/*.png 79.3 KiB 4 assets
  6. assets by path static/media/*.cjs 190 KiB 3 assets
  7. assets by path static/js/*.js 91.7 MiB
  8. asset static/js/bundle.js 83.6 MiB [emitted] (name: main) 1 related asset
  9. 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
  10. 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
  11. asset static/js/vendors-node_modules_walletconnect_modal-ui_dist_index_js.chunk.js 464 KiB [emitted] (id hint: vendors) 1 related asset
  12. 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
  13. + 2 assets
  14. asset asset-manifest.json 5.48 KiB [emitted]
  15. asset index.html 1.2 KiB [emitted]
  16. orphan modules 13.1 MiB [orphan] 7838 modules
  17. runtime modules 32.9 KiB 20 modules
  18. javascript modules 67.1 MiB
  19. modules by path ./node_modules/ 65.9 MiB 8131 modules
  20. modules by path ./src/ 1.23 MiB 195 modules
  21. + 37 modules
  22. json modules 12.3 MiB
  23. modules by path ./node_modules/ 12.2 MiB 193 modules
  24. modules by path ./src/ 79.1 KiB
  25. ./src/utils/abi_eth.json 14.6 KiB [built] [code generated]
  26. + 4 modules
  27. asset modules 15.6 KiB (javascript) 269 KiB (asset)
  28. modules by path ./node_modules/@sei-js/react/dist/ 14.3 KiB (javascript) 79.3 KiB (asset) 6 modules
  29. + 4 modules
  30.  
  31. WARNING in [eslint]
  32. src/App.js
  33. Line 2:3: 'AppBar' is defined but never used no-unused-vars
  34. Line 3:3: 'Box' is defined but never used no-unused-vars
  35. Line 4:3: 'Button' is defined but never used no-unused-vars
  36. Line 7:3: 'MenuItem' is defined but never used no-unused-vars
  37. Line 8:3: 'Select' is defined but never used no-unused-vars
  38. Line 9:3: 'Toolbar' is defined but never used no-unused-vars
  39. Line 10:3: 'Typography' is defined but never used no-unused-vars
  40. Line 14:10: 'Link' is defined but never used no-unused-vars
  41. Line 16:8: 'Footer' is defined but never used no-unused-vars
  42. Line 27:10: 'CLUSTER' is defined but never used no-unused-vars
  43. Line 78:11: 'pathname' is assigned a value but never used no-unused-vars
  44. Line 79:9: 'handleClusterChange' is assigned a value but never used no-unused-vars
  45.  
  46. src/components/Attest/Source.tsx
  47. Line 19:8: 'LowBalanceWarning' is defined but never used @typescript-eslint/no-unused-vars
  48.  
  49. src/components/Attest/Target.tsx
  50. Line 18:8: 'LowBalanceWarning' is defined but never used @typescript-eslint/no-unused-vars
  51.  
  52. src/components/ButtonWithLoader.tsx
  53. Line 22:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
  54.  
  55. src/components/ChainSelect.tsx
  56. Line 3:3: 'ListItemText' is defined but never used @typescript-eslint/no-unused-vars
  57. Line 30:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
  58.  
  59. src/components/ChainSelectArrow.tsx
  60. Line 13:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
  61.  
  62. src/components/LowBalanceWarning.tsx
  63. Line 2:22: 'Typography' is defined but never used @typescript-eslint/no-unused-vars
  64. Line 27:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
  65. Line 34:20: 'connect' is assigned a value but never used @typescript-eslint/no-unused-vars
  66. Line 34:29: 'disconnect' is assigned a value but never used @typescript-eslint/no-unused-vars
  67. Line 42:14: Expected '===' and instead saw '==' eqeqeq
  68.  
  69. src/components/NFT/Source.tsx
  70. Line 24:8: 'LowBalanceWarning' is defined but never used @typescript-eslint/no-unused-vars
  71.  
  72. src/components/NFT/Target.tsx
  73. Line 37:8: 'LowBalanceWarning' is defined but never used @typescript-eslint/no-unused-vars
  74.  
  75. src/components/SolanaConnectWalletDialog.tsx
  76. Line 5:3: 'Divider' is defined but never used @typescript-eslint/no-unused-vars
  77. Line 82:20: 'undetected' is assigned a value but never used @typescript-eslint/no-unused-vars
  78.  
  79. src/components/ToggleConnectedButton.tsx
  80. Line 33:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
  81.  
  82. src/components/Transfer/Source.tsx
  83. Line 2:3: 'Button' is defined but never used @typescript-eslint/no-unused-vars
  84. Line 4:3: 'styled' is defined but never used @typescript-eslint/no-unused-vars
  85. Line 6:3: 'Typography' is defined but never used @typescript-eslint/no-unused-vars
  86. Line 9:3: 'BorderColor' is defined but never used @typescript-eslint/no-unused-vars
  87. Line 10:3: 'ContactSupportOutlined' is defined but never used @typescript-eslint/no-unused-vars
  88. Line 11:3: 'VerifiedUser' is defined but never used @typescript-eslint/no-unused-vars
  89. Line 22:10: 'Link' is defined but never used @typescript-eslint/no-unused-vars
  90. Line 35:3: 'incrementStep' is defined but never used @typescript-eslint/no-unused-vars
  91. Line 42:3: 'CLUSTER' is defined but never used @typescript-eslint/no-unused-vars
  92. Line 45:3: 'SOLANA_HOST' is defined but never used @typescript-eslint/no-unused-vars
  93. Line 46:3: 'SOLANA_TOKEN_METADATA_PROGRAM_URL' is defined but never used @typescript-eslint/no-unused-vars
  94. Line 55:10: 'TokenSelector' is defined but never used @typescript-eslint/no-unused-vars
  95. Line 63:3: 'ASSOCIATED_TOKEN_PROGRAM_ID' is defined but never used @typescript-eslint/no-unused-vars
  96. Line 64:3: 'TOKEN_PROGRAM_ID' is defined but never used @typescript-eslint/no-unused-vars
  97. Line 67:3: 'Keypair' is defined but never used @typescript-eslint/no-unused-vars
  98. Line 68:3: 'PublicKey' is defined but never used @typescript-eslint/no-unused-vars
  99. Line 69:3: 'SystemProgram' is defined but never used @typescript-eslint/no-unused-vars
  100. Line 70:3: 'Connection' is defined but never used @typescript-eslint/no-unused-vars
  101. Line 71:3: 'ComputeBudgetProgram' is defined but never used @typescript-eslint/no-unused-vars
  102. Line 72:3: 'sendAndConfirmTransaction' is defined but never used @typescript-eslint/no-unused-vars
  103. Line 75:10: 'OftTools' is defined but never used @typescript-eslint/no-unused-vars
  104. Line 77:10: 'Options' is defined but never used @typescript-eslint/no-unused-vars
  105. Line 78:10: 'bs58' is defined but never used @typescript-eslint/no-unused-vars
  106. Line 82:10: 'setBalance' is defined but never used @typescript-eslint/no-unused-vars
  107. Line 90:10: 'ethers_contracts' is defined but never used @typescript-eslint/no-unused-vars
  108. Line 98:10: 'approve' is defined but never used @typescript-eslint/no-unused-vars
  109. Line 114:7: 'OFT_SEED' is assigned a value but never used @typescript-eslint/no-unused-vars
  110. Line 116:11: 'TronLinkParams' is defined but never used @typescript-eslint/no-unused-vars
  111. Line 122:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
  112. Line 209:10: 'showSwap' is assigned a value but never used @typescript-eslint/no-unused-vars
  113. Line 209:20: 'setShowSwap' is assigned a value but never used @typescript-eslint/no-unused-vars
  114. Line 211:20: 'connect' is assigned a value but never used @typescript-eslint/no-unused-vars
  115. Line 211:29: 'disconnect' is assigned a value but never used @typescript-eslint/no-unused-vars
  116. Line 215:11: 'provider' is assigned a value but never used @typescript-eslint/no-unused-vars
  117. Line 216:19: 'signerAddress' is assigned a value but never used @typescript-eslint/no-unused-vars
  118. Line 241:9: 'error' is assigned a value but never used @typescript-eslint/no-unused-vars
  119. Line 242:9: 'isSourceComplete' is assigned a value but never used @typescript-eslint/no-unused-vars
  120. Line 244:20: 'statusMessage' is assigned a value but never used @typescript-eslint/no-unused-vars
  121. Line 247:11: 'wallet' is assigned a value but never used @typescript-eslint/no-unused-vars
  122. Line 247:19: 'sendTransaction' is assigned a value but never used @typescript-eslint/no-unused-vars
  123. Line 248:11: 'connection' is assigned a value but never used @typescript-eslint/no-unused-vars
  124. Line 278:9: 'handleMaxClick' is assigned a value but never used @typescript-eslint/no-unused-vars
  125. Line 292:13: 'web3Client' is assigned a value but never used @typescript-eslint/no-unused-vars
  126. Line 471:23: Expected '===' and instead saw '==' eqeqeq
  127. Line 481:15: 'allowance' is assigned a value but never used @typescript-eslint/no-unused-vars
  128. Line 485:15: 'parsedAmount' is assigned a value but never used @typescript-eslint/no-unused-vars
  129. Line 509:25: Expected '===' and instead saw '==' eqeqeq
  130. Line 511:32: Expected '===' and instead saw '==' eqeqeq
  131. Line 514:32: Expected '===' and instead saw '==' eqeqeq
  132. Line 519:25: Expected '===' and instead saw '==' eqeqeq
  133. Line 521:32: Expected '===' and instead saw '==' eqeqeq
  134. Line 523:32: Expected '===' and instead saw '==' eqeqeq
  135. Line 573:30: Expected '===' and instead saw '==' eqeqeq
  136. Line 587:25: Expected '===' and instead saw '==' eqeqeq
  137. Line 589:32: Expected '===' and instead saw '==' eqeqeq
  138. Line 591:32: Expected '===' and instead saw '==' eqeqeq
  139. Line 595:25: Expected '===' and instead saw '==' eqeqeq
  140. Line 597:32: Expected '===' and instead saw '==' eqeqeq
  141. Line 599:32: Expected '===' and instead saw '==' eqeqeq
  142. Line 642:30: Expected '===' and instead saw '==' eqeqeq
  143. Line 656:25: Expected '===' and instead saw '==' eqeqeq
  144. Line 658:32: Expected '===' and instead saw '==' eqeqeq
  145. Line 660:32: Expected '===' and instead saw '==' eqeqeq
  146. Line 664:25: Expected '===' and instead saw '==' eqeqeq
  147. Line 666:32: Expected '===' and instead saw '==' eqeqeq
  148. Line 668:32: Expected '===' and instead saw '==' eqeqeq
  149. Line 713:30: Expected '===' and instead saw '==' eqeqeq
  150. Line 736:25: Expected '===' and instead saw '==' eqeqeq
  151. Line 738:32: Expected '===' and instead saw '==' eqeqeq
  152. Line 740:32: Expected '===' and instead saw '==' eqeqeq
  153. Line 744:25: Expected '===' and instead saw '==' eqeqeq
  154. Line 746:32: Expected '===' and instead saw '==' eqeqeq
  155. Line 748:32: Expected '===' and instead saw '==' eqeqeq
  156. Line 876:21: Expected '===' and instead saw '==' eqeqeq
  157. Line 905:28: Expected '===' and instead saw '==' eqeqeq
  158. Line 926:28: Expected '===' and instead saw '==' eqeqeq
  159. Line 950:28: Expected '===' and instead saw '==' eqeqeq
  160. Line 992:6: React Hook useEffect has missing dependencies: 'targetTokenAddress' and 'walletAddress'. Either include them or remove the dependency array react-hooks/exhaustive-deps
  161. Line 1134:27: Expected '===' and instead saw '==' eqeqeq
  162. Line 1137:25: Expected '===' and instead saw '==' eqeqeq
  163. Line 1146:23: Expected '===' and instead saw '==' eqeqeq
  164. Line 1155:25: Expected '===' and instead saw '==' eqeqeq
  165.  
  166. src/components/Transfer/index.tsx
  167. Line 3:3: 'colors' is defined but never used @typescript-eslint/no-unused-vars
  168. Line 29:8: 'Redeem' is defined but never used @typescript-eslint/no-unused-vars
  169. Line 30:8: 'RedeemPreview' is defined but never used @typescript-eslint/no-unused-vars
  170. Line 31:8: 'Send' is defined but never used @typescript-eslint/no-unused-vars
  171. Line 32:8: 'SendPreview' is defined but never used @typescript-eslint/no-unused-vars
  172. Line 35:8: 'Target' is defined but never used @typescript-eslint/no-unused-vars
  173. Line 36:8: 'TargetPreview' is defined but never used @typescript-eslint/no-unused-vars
  174. Line 37:10: 'theme' is defined but never used @typescript-eslint/no-unused-vars
  175. Line 41:11: 'toggleTheme' is assigned a value but never used @typescript-eslint/no-unused-vars
  176.  
  177. src/components/XplaWalletKey.tsx
  178. Line 1:10: 'useConnectedWallet' is defined but never used @typescript-eslint/no-unused-vars
  179. Line 1:30: 'useWallet' is defined but never used @typescript-eslint/no-unused-vars
  180. Line 2:10: 'useCallback' is defined but never used @typescript-eslint/no-unused-vars
  181. Line 2:35: 'useState' is defined but never used @typescript-eslint/no-unused-vars
  182. Line 3:8: 'XplaConnectWalletDialog' is defined but never used @typescript-eslint/no-unused-vars
  183. Line 34:28: Expected '!==' and instead saw '!=' eqeqeq
  184.  
  185. src/contexts/SolanaWalletContext.tsx
  186. Line 1:19: 'WalletAdapterNetwork' is defined but never used @typescript-eslint/no-unused-vars
  187. Line 9:3: 'SolflareWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  188. Line 10:3: 'SolletWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  189. Line 11:3: 'CloverWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  190. Line 12:3: 'Coin98WalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  191. Line 13:3: 'SlopeWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  192. Line 14:3: 'SolongWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  193. Line 15:3: 'TorusWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  194. Line 16:3: 'SolletExtensionWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  195. Line 17:3: 'ExodusWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  196. Line 18:3: 'BackpackWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  197. Line 19:3: 'NightlyWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  198. Line 20:3: 'BloctoWalletAdapter' is defined but never used @typescript-eslint/no-unused-vars
  199. Line 23:10: 'CLUSTER' is defined but never used @typescript-eslint/no-unused-vars
  200.  
  201. src/hooks/useTransactionFees.tsx
  202. Line 59:18: Expected '===' and instead saw '==' eqeqeq
  203. Line 178:19: 'connect' is assigned a value but never used @typescript-eslint/no-unused-vars
  204. Line 178:28: 'disconnect' is assigned a value but never used @typescript-eslint/no-unused-vars
  205. Line 248:6: React Hook useEffect has missing dependencies: 'account' and 'walletProvider'. Either include them or remove the dependency array react-hooks/exhaustive-deps
  206.  
  207. src/store/transferSlice.ts
  208. Line 4:3: 'CHAIN_ID_SOLANA' is defined but never used @typescript-eslint/no-unused-vars
  209.  
  210. src/utils/consts.ts
  211. Line 14:3: 'CHAIN_ID_INJECTIVE' is defined but never used @typescript-eslint/no-unused-vars
  212. Line 34:3: 'CHAIN_ID_SEI' is defined but never used @typescript-eslint/no-unused-vars
  213. Line 37:10: 'clusterApiUrl' is defined but never used @typescript-eslint/no-unused-vars
  214. Line 40:8: 'acalaIcon' is defined but never used @typescript-eslint/no-unused-vars
  215. Line 44:8: 'auroraIcon' is defined but never used @typescript-eslint/no-unused-vars
  216. Line 45:8: 'avaxIcon' is defined but never used @typescript-eslint/no-unused-vars
  217. Line 48:8: 'celoIcon' is defined but never used @typescript-eslint/no-unused-vars
  218. Line 50:8: 'fantomIcon' is defined but never used @typescript-eslint/no-unused-vars
  219. Line 51:8: 'karuraIcon' is defined but never used @typescript-eslint/no-unused-vars
  220. Line 52:8: 'klaytnIcon' is defined but never used @typescript-eslint/no-unused-vars
  221. Line 53:8: 'moonbeamIcon' is defined but never used @typescript-eslint/no-unused-vars
  222. Line 54:8: 'neonIcon' is defined but never used @typescript-eslint/no-unused-vars
  223. Line 55:8: 'oasisIcon' is defined but never used @typescript-eslint/no-unused-vars
  224. Line 56:8: 'optimismIcon' is defined but never used @typescript-eslint/no-unused-vars
  225. Line 57:8: 'polygonIcon' is defined but never used @typescript-eslint/no-unused-vars
  226. Line 58:8: 'seiIcon' is defined but never used @typescript-eslint/no-unused-vars
  227. Line 63:8: 'xplaIcon' is defined but never used @typescript-eslint/no-unused-vars
  228. Line 64:8: 'injectiveIcon' is defined but never used @typescript-eslint/no-unused-vars
  229.  
  230. ERROR in ./src/utils/injective.ts 11:46-58
  231. 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)
  232. @ ./src/components/Recovery.tsx 33:0-82 198:19-39 434:23-45
  233. @ ./src/App.js 14:0-45 159:39-47
  234. @ ./src/index.js 11:0-24 52:65-68
  235.  
  236. ERROR in ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/DenomClient.js 35:21-40
  237. 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)
  238. @ ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/Denom/index.js 2:0-30 2:0-30
  239. @ ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/utils/index.js 1:0-24 1:0-24
  240. @ ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/core/index.js 3:0-24 3:0-24
  241. @ ./node_modules/@certusone/wormhole-sdk/node_modules/@injectivelabs/sdk-ts/dist/esm/index.js 1:0-23 1:0-23
  242. @ ./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
  243. @ ./node_modules/@certusone/wormhole-sdk/lib/esm/token_bridge/index.js 7:0-28 7:0-28
  244. @ ./node_modules/@certusone/wormhole-sdk/lib/esm/index.js 4:0-31 4:0-31 21:0-48 22:0-41
  245. @ ./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
  246. @ ./src/index.js 24:0-57 48:48-71
  247.  
  248. ERROR in ./node_modules/@mysten/sui.js/dist/index.mjs 2053:25-36
  249. Can't import the named export 'Client' (imported as 'WsRpcClient') from default-exporting module (only default export is available)
  250. @ ./src/utils/consts.ts 20:0-71 275:54-71 275:74-92
  251. @ ./src/index.js 24:0-57 48:48-71
  252.  
  253. ERROR in ./node_modules/@suiet/wallet-kit/dist/index.js 4276:7-14
  254. 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)
  255. @ ./src/contexts/SuiWalletContext.tsx 4:0-51 38:30-44
  256. @ ./src/index.js 19:0-60 49:59-76
  257.  
  258. webpack 5.97.1 compiled with 4 errors and 1 warning in 527300 ms
  259. ERROR in src/components/Attest/Source.tsx:35:6
  260. TS7006: Parameter 'event' implicitly has an 'any' type.
  261. 33 | const shouldLockFields = useSelector(selectAttestShouldLockFields);
  262. 34 | const handleSourceChange = useCallback(
  263. > 35 | (event) => {
  264. | ^^^^^
  265. 36 | dispatch(setSourceChain(event.target.value));
  266. 37 | },
  267. 38 | [dispatch]
  268.  
  269. ERROR in src/components/Attest/Source.tsx:41:6
  270. TS7006: Parameter 'event' implicitly has an 'any' type.
  271. 39 | );
  272. 40 | const handleAssetChange = useCallback(
  273. > 41 | (event) => {
  274. | ^^^^^
  275. 42 | dispatch(setSourceAsset(event.target.value));
  276. 43 | },
  277. 44 | [dispatch]
  278.  
  279. ERROR in src/components/Attest/Target.tsx:39:6
  280. TS7006: Parameter 'event' implicitly has an 'any' type.
  281. 37 | const shouldLockFields = useSelector(selectAttestShouldLockFields);
  282. 38 | const handleTargetChange = useCallback(
  283. > 39 | (event) => {
  284. | ^^^^^
  285. 40 | dispatch(setTargetChain(event.target.value));
  286. 41 | },
  287. 42 | [dispatch]
  288.  
  289. ERROR in src/components/ButtonWithLoader.tsx:7:10
  290. TS2305: Module '"react"' has no exported member 'ReactChild'.
  291. 5 | Typography,
  292. 6 | } from "@material-ui/core";
  293. > 7 | import { ReactChild } from "react";
  294. | ^^^^^^^^^^
  295. 8 | import { useThemeContext } from "../contexts/ThemeContext";
  296. 9 | export default function ButtonWithLoader({
  297. 10 | disabled,
  298.  
  299. ERROR in src/components/HeaderText.tsx:3:10
  300. TS2305: Module '"react"' has no exported member 'ReactChild'.
  301. 1 | import { makeStyles, Typography } from "@material-ui/core";
  302. 2 | import clsx from "clsx";
  303. > 3 | import { ReactChild } from "react";
  304. | ^^^^^^^^^^
  305. 4 |
  306. 5 | const useStyles = makeStyles((theme) => ({
  307. 6 | centeredContainer: {
  308.  
  309. ERROR in src/components/NFT/Source.tsx:45:6
  310. TS7006: Parameter 'event' implicitly has an 'any' type.
  311. 43 | const { isReady, statusMessage } = useIsWalletReady(sourceChain);
  312. 44 | const handleSourceChange = useCallback(
  313. > 45 | (event) => {
  314. | ^^^^^
  315. 46 | dispatch(setSourceChain(event.target.value));
  316. 47 | },
  317. 48 | [dispatch]
  318.  
  319. ERROR in src/components/NFT/Target.tsx:84:6
  320. TS7006: Parameter 'event' implicitly has an 'any' type.
  321. 82 | useSyncTargetAddress(!shouldLockFields, true);
  322. 83 | const handleTargetChange = useCallback(
  323. > 84 | (event) => {
  324. | ^^^^^
  325. 85 | dispatch(setTargetChain(event.target.value));
  326. 86 | },
  327. 87 | [dispatch]
  328.  
  329. ERROR in src/components/NFTOriginVerifier.tsx:89:42
  330. TS7006: Parameter 'event' implicitly has an 'any' type.
  331. 87 | >(undefined);
  332. 88 | const [isLoading, setIsLoading] = useState(false);
  333. > 89 | const handleChainChange = useCallback((event) => {
  334. | ^^^^^
  335. 90 | setLookupChain(event.target.value);
  336. 91 | }, []);
  337. 92 | const handleAssetChange = useCallback((event) => {
  338.  
  339. ERROR in src/components/NFTOriginVerifier.tsx:92:42
  340. TS7006: Parameter 'event' implicitly has an 'any' type.
  341. 90 | setLookupChain(event.target.value);
  342. 91 | }, []);
  343. > 92 | const handleAssetChange = useCallback((event) => {
  344. | ^^^^^
  345. 93 | setLookupAsset(event.target.value);
  346. 94 | }, []);
  347. 95 | const handleTokenIdChange = useCallback((event) => {
  348.  
  349. ERROR in src/components/NFTOriginVerifier.tsx:95:44
  350. TS7006: Parameter 'event' implicitly has an 'any' type.
  351. 93 | setLookupAsset(event.target.value);
  352. 94 | }, []);
  353. > 95 | const handleTokenIdChange = useCallback((event) => {
  354. | ^^^^^
  355. 96 | setLookupTokenId(event.target.value);
  356. 97 | }, []);
  357. 98 | useEffect(() => {
  358.  
  359. ERROR in src/components/Recovery.tsx:575:11
  360. 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'.
  361. 573 | getTokenBridgeAddressForChain(CHAIN_ID_INJECTIVE);
  362. 574 | const tokenId = await queryExternalIdInjective(
  363. > 575 | client,
  364. | ^^^^^^
  365. 576 | tokenBridgeAddress,
  366. 577 | parsedPayload.originAddress
  367. 578 | );
  368.  
  369. ERROR in src/components/Recovery.tsx:874:41
  370. TS7006: Parameter 'event' implicitly has an 'any' type.
  371. 872 | nearAccountId,
  372. 873 | ]);
  373. > 874 | const handleTypeChange = useCallback((event) => {
  374. | ^^^^^
  375. 875 | setRecoverySourceChain((prevChain) =>
  376. 876 | event.target.value === "NFT" &&
  377. 877 | !CHAINS_WITH_NFT_SUPPORT.find((chain) => chain.id === prevChain)
  378.  
  379. ERROR in src/components/Recovery.tsx:883:48
  380. TS7006: Parameter 'event' implicitly has an 'any' type.
  381. 881 | setType(event.target.value);
  382. 882 | }, []);
  383. > 883 | const handleSourceChainChange = useCallback((event) => {
  384. | ^^^^^
  385. 884 | setRecoverySourceTx("");
  386. 885 | setRecoverySourceChain(event.target.value);
  387. 886 | }, []);
  388.  
  389. ERROR in src/components/Recovery.tsx:887:45
  390. TS7006: Parameter 'event' implicitly has an 'any' type.
  391. 885 | setRecoverySourceChain(event.target.value);
  392. 886 | }, []);
  393. > 887 | const handleSourceTxChange = useCallback((event) => {
  394. | ^^^^^
  395. 888 | setRecoverySourceTx(event.target.value.trim());
  396. 889 | }, []);
  397. 890 | const handleSignedVAAChange = useCallback((event) => {
  398.  
  399. ERROR in src/components/Recovery.tsx:890:46
  400. TS7006: Parameter 'event' implicitly has an 'any' type.
  401. 888 | setRecoverySourceTx(event.target.value.trim());
  402. 889 | }, []);
  403. > 890 | const handleSignedVAAChange = useCallback((event) => {
  404. | ^^^^^
  405. 891 | setRecoverySignedVAA(event.target.value.trim());
  406. 892 | }, []);
  407. 893 | useEffect(() => {
  408.  
  409. ERROR in src/components/RelaySelector.tsx:35:6
  410. TS7006: Parameter 'event' implicitly has an 'any' type.
  411. 33 |
  412. 34 | const onChangeWrapper = useCallback(
  413. > 35 | (event) => {
  414. | ^^^^^
  415. 36 | console.log(event, "event in selector");
  416. 37 | event.target.value
  417. 38 | ? onChange(
  418.  
  419. ERROR in src/components/SmartAddress.tsx:36:10
  420. TS2305: Module '"react"' has no exported member 'ReactChild'.
  421. 34 | import { withStyles } from "@material-ui/styles";
  422. 35 | import clsx from "clsx";
  423. > 36 | import { ReactChild } from "react";
  424. | ^^^^^^^^^^
  425. 37 | import useCopyToClipboard from "../hooks/useCopyToClipboard";
  426. 38 | import { ParsedTokenAccount } from "../store/transferSlice";
  427. 39 | import { CLUSTER, getExplorerName } from "../utils/consts";
  428.  
  429. ERROR in src/components/StepDescription.tsx:2:10
  430. TS2305: Module '"react"' has no exported member 'ReactChild'.
  431. 1 | import { makeStyles, Typography } from "@material-ui/core";
  432. > 2 | import { ReactChild } from "react";
  433. | ^^^^^^^^^^
  434. 3 |
  435. 4 | const useStyles = makeStyles((theme) => ({
  436. 5 | description: {
  437.  
  438. ERROR in src/components/TokenOriginVerifier.tsx:210:6
  439. TS7006: Parameter 'e' implicitly has an 'any' type.
  440. 208 |
  441. 209 | const handlePrimaryLookupChainChange = useCallback(
  442. > 210 | (e) => {
  443. | ^
  444. 211 | setPrimaryLookupChain(e.target.value);
  445. 212 | if (secondaryLookupChain === e.target.value) {
  446. 213 | setSecondaryLookupChain(
  447.  
  448. ERROR in src/components/TokenOriginVerifier.tsx:221:57
  449. TS7006: Parameter 'e' implicitly has an 'any' type.
  450. 219 | [secondaryLookupChain]
  451. 220 | );
  452. > 221 | const handleSecondaryLookupChainChange = useCallback((e) => {
  453. | ^
  454. 222 | setSecondaryLookupChain(e.target.value);
  455. 223 | }, []);
  456. 224 | const handlePrimaryLookupAssetChange = useCallback((event) => {
  457.  
  458. ERROR in src/components/TokenOriginVerifier.tsx:224:55
  459. TS7006: Parameter 'event' implicitly has an 'any' type.
  460. 222 | setSecondaryLookupChain(e.target.value);
  461. 223 | }, []);
  462. > 224 | const handlePrimaryLookupAssetChange = useCallback((event) => {
  463. | ^^^^^
  464. 225 | setPrimaryLookupAsset(event.target.value);
  465. 226 | }, []);
  466. 227 |
  467.  
  468. ERROR in src/components/TokenSelectors/OffsetButton.tsx:2:10
  469. TS2305: Module '"react"' has no exported member 'ReactChild'.
  470. 1 | import { Button, makeStyles } from "@material-ui/core";
  471. > 2 | import { ReactChild } from "react";
  472. | ^^^^^^^^^^
  473. 3 |
  474. 4 | const useStyles = makeStyles((theme) => ({
  475. 5 | offsetButton: { display: "block", marginLeft: "auto", marginTop: 8 },
  476.  
  477. ERROR in src/components/TokenSelectors/RefreshButtonWrapper.tsx:29:13
  478. TS2503: Cannot find namespace 'JSX'.
  479. 27 | callback,
  480. 28 | }: {
  481. > 29 | children: JSX.Element;
  482. | ^^^
  483. 30 | callback: () => any;
  484. 31 | }) {
  485. 32 | const classes = useStyles();
  486.  
  487. ERROR in src/components/TokenSelectors/TokenPicker.tsx:200:9
  488. TS2503: Cannot find namespace 'JSX'.
  489. 198 | }: {
  490. 199 | account: NFTParsedTokenAccount;
  491. > 200 | }) => JSX.Element;
  492. | ^^^
  493. 201 | onChange: (newValue: NFTParsedTokenAccount | null) => Promise<void>;
  494. 202 | isValidAddress?: (address: string, chainId: ChainId) => boolean;
  495. 203 | getAddress?: (
  496.  
  497. ERROR in src/components/Transfer/Source.tsx:254:6
  498. TS7006: Parameter 'event' implicitly has an 'any' type.
  499. 252 |
  500. 253 | const handleSourceChange = useCallback(
  501. > 254 | (event) => {
  502. | ^^^^^
  503. 255 | dispatch(setSourceChain(event.target.value));
  504. 256 | },
  505. 257 | [dispatch]
  506.  
  507. ERROR in src/components/Transfer/Source.tsx:260:6
  508. TS7006: Parameter 'event' implicitly has an 'any' type.
  509. 258 | );
  510. 259 | const handleTargetChange = useCallback(
  511. > 260 | (event) => {
  512. | ^^^^^
  513. 261 | dispatch(setTargetChain(event.target.value));
  514. 262 | },
  515. 263 | [dispatch]
  516.  
  517. ERROR in src/components/Transfer/Source.tsx:325:12
  518. TS2746: This JSX tag's 'children' prop expects a single child of type 'ReactNode', but multiple children were provided.
  519. 323 | enqueueSnackbar(null, {
  520. 324 | content: (
  521. > 325 | <Alert severity="error">
  522. | ^^^^^
  523. 326 | Failed to approve transaction: {error || "Unknown error"}
  524. 327 | </Alert>
  525. 328 | ),
  526.  
  527. ERROR in src/components/Transfer/Target.tsx:127:6
  528. TS7006: Parameter 'event' implicitly has an 'any' type.
  529. 125 | useSyncTargetAddress(!shouldLockFields);
  530. 126 | const handleTargetChange = useCallback(
  531. > 127 | (event) => {
  532. | ^^^^^
  533. 128 | dispatch(setTargetChain(event.target.value));
  534. 129 | },
  535. 130 | [dispatch]
  536.  
  537. ERROR in src/components/UnwrapNative.tsx:167:37
  538. TS7006: Parameter 'event' implicitly has an 'any' type.
  539. 165 | const { signer } = useEthereumProvider();
  540. 166 | const { isReady, statusMessage } = useIsWalletReady(selectedChainId);
  541. > 167 | const handleSelect = useCallback((event) => {
  542. | ^^^^^
  543. 168 | setSelectedChainId(parseInt(event.target.value) as SupportedChain);
  544. 169 | }, []);
  545. 170 | useEffect(() => {
  546.  
  547. ERROR in src/components/USDC/index.tsx:361:6
  548. TS7006: Parameter 'event' implicitly has an 'any' type.
  549. 359 | }, [shouldRelay, dispatch]);
  550. 360 | const handleSliderChange = useCallback(
  551. > 361 | (event, value) => {
  552. | ^^^^^
  553. 362 | dispatch(
  554. 363 | setToNativeAmount(
  555. 364 | parseUnits(value.toString(), USDC_DECIMALS).toString()
  556.  
  557. ERROR in src/components/USDC/index.tsx:361:13
  558. TS7006: Parameter 'value' implicitly has an 'any' type.
  559. 359 | }, [shouldRelay, dispatch]);
  560. 360 | const handleSliderChange = useCallback(
  561. > 361 | (event, value) => {
  562. | ^^^^^
  563. 362 | dispatch(
  564. 363 | setToNativeAmount(
  565. 364 | parseUnits(value.toString(), USDC_DECIMALS).toString()
  566.  
  567. ERROR in src/components/USDC/index.tsx:561:6
  568. TS7006: Parameter 'event' implicitly has an 'any' type.
  569. 559 | ]);
  570. 560 | const handleAmountChange = useCallback(
  571. > 561 | (event) => {
  572. | ^^^^^
  573. 562 | dispatch(setAmount(event.target.value));
  574. 563 | },
  575. 564 | [dispatch]
  576.  
  577. ERROR in src/contexts/AlgorandWalletContext.tsx:4:3
  578. TS2305: Module '"react"' has no exported member 'ReactChildren'.
  579. 2 | import {
  580. 3 | createContext,
  581. > 4 | ReactChildren,
  582. | ^^^^^^^^^^^^^
  583. 5 | useCallback,
  584. 6 | useContext,
  585. 7 | useMemo,
  586.  
  587. ERROR in src/contexts/AptosWalletContext.tsx:17:10
  588. TS2305: Module '"react"' has no exported member 'ReactChildren'.
  589. 15 | WalletProvider,
  590. 16 | } from "@manahippo/aptos-wallet-adapter";
  591. > 17 | import { ReactChildren, useMemo } from "react";
  592. | ^^^^^^^^^^^^^
  593. 18 |
  594. 19 | export const useAptosContext = useWallet;
  595. 20 |
  596.  
  597. ERROR in src/contexts/AptosWalletContext.tsx:39:7
  598. TS2554: Expected 1 arguments, but got 0.
  599. 37 | new BitkeepWalletAdapter(),
  600. 38 | new TokenPocketWalletAdapter(),
  601. > 39 | new BloctoWalletAdapter(),
  602. | ^^^^^^^^^^^^^^^^^^^^^^^^^
  603. 40 | ],
  604. 41 | []
  605. 42 | );
  606.  
  607. ERROR in src/contexts/EthereumProviderContext.tsx:5:3
  608. TS2305: Module '"react"' has no exported member 'ReactChildren'.
  609. 3 | import { BigNumber, ethers } from "ethers";
  610. 4 | import React, {
  611. > 5 | ReactChildren,
  612. | ^^^^^^^^^^^^^
  613. 6 | useCallback,
  614. 7 | useContext,
  615. 8 | useEffect,
  616.  
  617. ERROR in src/contexts/InjectiveWalletContext.tsx:3:3
  618. TS2305: Module '"react"' has no exported member 'ReactChildren'.
  619. 1 | import {
  620. 2 | createContext,
  621. > 3 | ReactChildren,
  622. | ^^^^^^^^^^^^^
  623. 4 | useCallback,
  624. 5 | useContext,
  625. 6 | useMemo,
  626.  
  627. ERROR in src/contexts/InjectiveWalletContext.tsx:92:23
  628. TS2339: Property 'disconnectWallet' does not exist on type 'WalletStrategy'.
  629. 90 | (async () => {
  630. 91 | try {
  631. > 92 | await wallet?.disconnectWallet();
  632. | ^^^^^^^^^^^^^^^^
  633. 93 | } catch (e) {
  634. 94 | console.error(e);
  635. 95 | }
  636.  
  637. ERROR in src/contexts/NearWalletContext.tsx:23:3
  638. TS2305: Module '"react"' has no exported member 'ReactChildren'.
  639. 21 | import { KeyPair, WalletConnection } from "near-api-js";
  640. 22 | import React, {
  641. > 23 | ReactChildren,
  642. | ^^^^^^^^^^^^^
  643. 24 | useCallback,
  644. 25 | useContext,
  645. 26 | useEffect,
  646.  
  647. ERROR in src/contexts/SolanaWalletContext.tsx:10:3
  648. TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'SolletWalletAdapter'. Did you mean 'SolflareWalletAdapter'?
  649. 8 | PhantomWalletAdapter,
  650. 9 | SolflareWalletAdapter,
  651. > 10 | SolletWalletAdapter,
  652. | ^^^^^^^^^^^^^^^^^^^
  653. 11 | CloverWalletAdapter,
  654. 12 | Coin98WalletAdapter,
  655. 13 | SlopeWalletAdapter,
  656.  
  657. ERROR in src/contexts/SolanaWalletContext.tsx:13:3
  658. TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'SlopeWalletAdapter'. Did you mean 'CloverWalletAdapter'?
  659. 11 | CloverWalletAdapter,
  660. 12 | Coin98WalletAdapter,
  661. > 13 | SlopeWalletAdapter,
  662. | ^^^^^^^^^^^^^^^^^^
  663. 14 | SolongWalletAdapter,
  664. 15 | TorusWalletAdapter,
  665. 16 | SolletExtensionWalletAdapter,
  666.  
  667. ERROR in src/contexts/SolanaWalletContext.tsx:16:3
  668. TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'SolletExtensionWalletAdapter'. Did you mean 'SolongWalletAdapter'?
  669. 14 | SolongWalletAdapter,
  670. 15 | TorusWalletAdapter,
  671. > 16 | SolletExtensionWalletAdapter,
  672. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  673. 17 | ExodusWalletAdapter,
  674. 18 | BackpackWalletAdapter,
  675. 19 | NightlyWalletAdapter,
  676.  
  677. ERROR in src/contexts/SolanaWalletContext.tsx:17:3
  678. TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'ExodusWalletAdapter'. Did you mean 'TorusWalletAdapter'?
  679. 15 | TorusWalletAdapter,
  680. 16 | SolletExtensionWalletAdapter,
  681. > 17 | ExodusWalletAdapter,
  682. | ^^^^^^^^^^^^^^^^^^^
  683. 18 | BackpackWalletAdapter,
  684. 19 | NightlyWalletAdapter,
  685. 20 | BloctoWalletAdapter,
  686.  
  687. ERROR in src/contexts/SolanaWalletContext.tsx:18:3
  688. TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'BackpackWalletAdapter'. Did you mean 'AlphaWalletAdapter'?
  689. 16 | SolletExtensionWalletAdapter,
  690. 17 | ExodusWalletAdapter,
  691. > 18 | BackpackWalletAdapter,
  692. | ^^^^^^^^^^^^^^^^^^^^^
  693. 19 | NightlyWalletAdapter,
  694. 20 | BloctoWalletAdapter,
  695. 21 | } from "@solana/wallet-adapter-wallets";
  696.  
  697. ERROR in src/contexts/SolanaWalletContext.tsx:20:3
  698. TS2724: '"@solana/wallet-adapter-wallets"' has no exported member named 'BloctoWalletAdapter'. Did you mean 'OntoWalletAdapter'?
  699. 18 | BackpackWalletAdapter,
  700. 19 | NightlyWalletAdapter,
  701. > 20 | BloctoWalletAdapter,
  702. | ^^^^^^^^^^^^^^^^^^^
  703. 21 | } from "@solana/wallet-adapter-wallets";
  704. 22 | import { FC, useMemo } from "react";
  705. 23 | import { CLUSTER, SOLANA_HOST } from "../utils/consts";
  706.  
  707. ERROR in src/contexts/SolanaWalletContext.tsx:53:16
  708. TS2339: Property 'children' does not exist on type '{}'.
  709. 51 | <ConnectionProvider endpoint={SOLANA_HOST}>
  710. 52 | <WalletProvider wallets={wallets} autoConnect>
  711. > 53 | {props.children}
  712. | ^^^^^^^^
  713. 54 | </WalletProvider>
  714. 55 | </ConnectionProvider>
  715. 56 | );
  716.  
  717. ERROR in src/contexts/SuiWalletContext.tsx:2:10
  718. TS2305: Module '"react"' has no exported member 'ReactChildren'.
  719. 1 | import { WalletProvider } from "@suiet/wallet-kit";
  720. > 2 | import { ReactChildren } from "react";
  721. | ^^^^^^^^^^^^^
  722. 3 |
  723. 4 | // export const useSuiContext = () => {
  724. 5 | // const [accounts, setAccounts] = useState<string[]>([]);
  725.  
  726. ERROR in src/contexts/TerraWalletContext.tsx:2:10
  727. TS2305: Module '"react"' has no exported member 'ReactChildren'.
  728. 1 | import { NetworkInfo, WalletProvider } from "@terra-money/wallet-provider";
  729. > 2 | import { ReactChildren } from "react";
  730. | ^^^^^^^^^^^^^
  731. 3 |
  732. 4 | const testnet: NetworkInfo = {
  733. 5 | name: "testnet",
  734.  
  735. ERROR in src/contexts/XplaWalletContext.tsx:2:25
  736. TS2305: Module '"react"' has no exported member 'ReactChildren'.
  737. 1 | import { NetworkInfo, WalletProvider } from "@xpla/wallet-provider";
  738. > 2 | import { createContext, ReactChildren, useState } from "react";
  739. | ^^^^^^^^^^^^^
  740. 3 | // @ts-expect-error import tron
  741. 4 | import TronWeb from "tronweb";
  742. 5 |
  743.  
  744. ERROR in src/hooks/useCheckIfWormholeWrapped.ts:181:15
  745. 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'.
  746. 179 | const wrappedInfo = makeStateSafe(
  747. 180 | await getOriginalAssetAptos(
  748. > 181 | getAptosClient(),
  749. | ^^^^^^^^^^^^^^^^
  750. 182 | getTokenBridgeAddressForChain(CHAIN_ID_APTOS),
  751. 183 | sourceAsset
  752. 184 | )
  753.  
  754. ERROR in src/hooks/useCheckIfWormholeWrapped.ts:202:15
  755. 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'.
  756. 200 | const wrappedInfo = makeStateSafe(
  757. 201 | await getOriginalAssetAlgorand(
  758. > 202 | algodClient,
  759. | ^^^^^^^^^^^
  760. 203 | ALGORAND_TOKEN_BRIDGE_ID,
  761. 204 | BigInt(sourceAsset)
  762. 205 | )
  763.  
  764. ERROR in src/hooks/useCheckIfWormholeWrapped.ts:216:58
  765. 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'.
  766. 214 | const client = getInjectiveWasmClient();
  767. 215 | const wrappedInfo = makeStateSafe(
  768. > 216 | await getOriginalAssetInjective(sourceAsset, client)
  769. | ^^^^^^
  770. 217 | );
  771. 218 | if (!cancelled) {
  772. 219 | dispatch(setSourceWormholeWrappedInfo(wrappedInfo));
  773.  
  774. ERROR in src/hooks/useFetchForeignAsset.ts:175:15
  775. 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'.
  776. 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'.
  777. 173 | ? () => {
  778. 174 | return getForeignAssetAptos(
  779. > 175 | getAptosClient(),
  780. | ^^^^^^^^^^^^^^^^
  781. 176 | getTokenBridgeAddressForChain(foreignChain),
  782. 177 | originChain,
  783. 178 | originAssetHex
  784.  
  785. ERROR in src/hooks/useFetchForeignAsset.ts:199:15
  786. 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'.
  787. Type 'AlgodClient' is missing the following properties from type 'AlgodClient': getBlockTxids, disassemble, simulateRawTransactions, simulateTransactions, and 9 more.
  788. 197 | );
  789. 198 | return getForeignAssetAlgorand(
  790. > 199 | algodClient,
  791. | ^^^^^^^^^^^
  792. 200 | ALGORAND_TOKEN_BRIDGE_ID,
  793. 201 | originChain,
  794. 202 | originAssetHex
  795.  
  796. ERROR in src/hooks/useFetchForeignAsset.ts:210:15
  797. 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'.
  798. Property 'module' is protected but type 'ChainGrpcWasmApi' is not a class derived from 'ChainGrpcWasmApi'.
  799. 208 | return getForeignAssetInjective(
  800. 209 | getTokenBridgeAddressForChain(foreignChain),
  801. > 210 | client,
  802. | ^^^^^^
  803. 211 | originChain,
  804. 212 | hexToUint8Array(originAssetHex)
  805. 213 | );
  806.  
  807. ERROR in src/hooks/useFetchTargetAsset.ts:198:13
  808. 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'.
  809. 196 | getTokenBridgeAddressForChain(CHAIN_ID_INJECTIVE);
  810. 197 | const tokenId = await queryExternalIdInjective(
  811. > 198 | client,
  812. | ^^^^^^
  813. 199 | tokenBridgeAddress,
  814. 200 | originAsset || ""
  815. 201 | );
  816.  
  817. ERROR in src/hooks/useFetchTargetAsset.ts:233:13
  818. 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'.
  819. 231 | } else if (originChain === CHAIN_ID_APTOS) {
  820. 232 | const tokenId = await getTypeFromExternalAddress(
  821. > 233 | getAptosClient(),
  822. | ^^^^^^^^^^^^^^^^
  823. 234 | getTokenBridgeAddressForChain(CHAIN_ID_APTOS),
  824. 235 | originAsset || ""
  825. 236 | );
  826.  
  827. ERROR in src/hooks/useFetchTargetAsset.ts:458:13
  828. 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'.
  829. 456 | try {
  830. 457 | const asset = await getForeignAssetAptos(
  831. > 458 | getAptosClient(),
  832. | ^^^^^^^^^^^^^^^^
  833. 459 | getTokenBridgeAddressForChain(targetChain),
  834. 460 | originChain,
  835. 461 | originAsset
  836.  
  837. ERROR in src/hooks/useFetchTargetAsset.ts:496:13
  838. 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'.
  839. 494 | );
  840. 495 | const asset = await getForeignAssetAlgorand(
  841. > 496 | algodClient,
  842. | ^^^^^^^^^^^
  843. 497 | ALGORAND_TOKEN_BRIDGE_ID,
  844. 498 | originChain,
  845. 499 | originAsset
  846.  
  847. ERROR in src/hooks/useFetchTargetAsset.ts:531:13
  848. 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'.
  849. 529 | const asset = await getForeignAssetInjective(
  850. 530 | getTokenBridgeAddressForChain(targetChain),
  851. > 531 | client,
  852. | ^^^^^^
  853. 532 | originChain,
  854. 533 | hexToUint8Array(originAsset)
  855. 534 | );
  856.  
  857. ERROR in src/hooks/useGetIsTransferCompleted.ts:179:15
  858. 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'.
  859. 177 | try {
  860. 178 | transferCompleted = await getIsTransferCompletedAptos(
  861. > 179 | getAptosClient(),
  862. | ^^^^^^^^^^^^^^^^
  863. 180 | getTokenBridgeAddressForChain(targetChain),
  864. 181 | signedVAA
  865. 182 | );
  866.  
  867. ERROR in src/hooks/useGetIsTransferCompleted.ts:201:15
  868. 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'.
  869. 199 | );
  870. 200 | transferCompleted = await getIsTransferCompletedAlgorand(
  871. > 201 | algodClient,
  872. | ^^^^^^^^^^^
  873. 202 | ALGORAND_TOKEN_BRIDGE_ID,
  874. 203 | signedVAA
  875. 204 | );
  876.  
  877. ERROR in src/hooks/useGetIsTransferCompleted.ts:221:15
  878. 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'.
  879. 219 | getTokenBridgeAddressForChain(targetChain),
  880. 220 | signedVAA,
  881. > 221 | client
  882. | ^^^^^^
  883. 222 | );
  884. 223 | } catch (error) {
  885. 224 | console.error(error);
  886.  
  887. ERROR in src/hooks/useHandleAttest.tsx:139:7
  888. 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'.
  889. 137 | );
  890. 138 | const txs = await attestFromAlgorand(
  891. > 139 | algodClient,
  892. | ^^^^^^^^^^^
  893. 140 | ALGORAND_TOKEN_BRIDGE_ID,
  894. 141 | ALGORAND_BRIDGE_ID,
  895. 142 | senderAddr,
  896.  
  897. ERROR in src/hooks/useHandleAttest.tsx:620:7
  898. 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'.
  899. 618 | );
  900. 619 | const response = await wallet.signAndExecuteTransactionBlock({
  901. > 620 | transactionBlock: tx,
  902. | ^^^^^^^^^^^^^^^^
  903. 621 | options: {
  904. 622 | showEvents: true,
  905. 623 | },
  906.  
  907. ERROR in src/hooks/useHandleAttest.tsx:643:9
  908. 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; } | { ...; } | { ...; } | { ....'.
  909. 641 | getEmitterAddressAndSequenceFromResponseSui(
  910. 642 | coreBridgePackageId,
  911. > 643 | response
  912. | ^^^^^^^^
  913. 644 | );
  914. 645 | enqueueSnackbar(null, {
  915. 646 | content: <Alert severity="info">Fetching VAA</Alert>,
  916.  
  917. ERROR in src/hooks/useHandleCreateWrapped.tsx:189:7
  918. 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'.
  919. 187 | );
  920. 188 | const txs = await createWrappedOnAlgorand(
  921. > 189 | algodClient,
  922. | ^^^^^^^^^^^
  923. 190 | ALGORAND_TOKEN_BRIDGE_ID,
  924. 191 | ALGORAND_BRIDGE_ID,
  925. 192 | senderAddr,
  926.  
  927. ERROR in src/hooks/useHandleCreateWrapped.tsx:576:9
  928. 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'.
  929. Property '#private' in type 'TransactionBlock' refers to a different member that cannot be accessed from within type 'TransactionBlock'.
  930. 574 | );
  931. 575 | response = await wallet.signAndExecuteTransactionBlock({
  932. > 576 | transactionBlock: suiUpdateWrappedTxPayload,
  933. | ^^^^^^^^^^^^^^^^
  934. 577 | options: {
  935. 578 | showEvents: true,
  936. 579 | },
  937.  
  938. ERROR in src/hooks/useHandleCreateWrapped.tsx:591:11
  939. 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'.
  940. 589 | const suiPrepareRegistrationTxRes =
  941. 590 | await wallet.signAndExecuteTransactionBlock({
  942. > 591 | transactionBlock: suiPrepareRegistrationTxPayload,
  943. | ^^^^^^^^^^^^^^^^
  944. 592 | options: {
  945. 593 | showObjectChanges: true,
  946. 594 | },
  947.  
  948. ERROR in src/hooks/useHandleCreateWrapped.tsx:610:9
  949. 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; } | { ...; } | { ...; } | { ....'.
  950. Types of property 'timestampMs' are incompatible.
  951. Type 'string | null | undefined' is not assignable to type 'string | undefined'.
  952. Type 'null' is not assignable to type 'string | undefined'.
  953. 608 | }
  954. 609 | const publishEvents = getPublishedObjectChanges(
  955. > 610 | suiPrepareRegistrationTxRes
  956. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  957. 611 | );
  958. 612 | if (publishEvents.length < 1) {
  959. 613 | throw new Error("Error parsing publishEvents");
  960.  
  961. ERROR in src/hooks/useHandleCreateWrapped.tsx:641:9
  962. 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'.
  963. 639 |
  964. 640 | response = await wallet.signAndExecuteTransactionBlock({
  965. > 641 | transactionBlock: suiCompleteRegistrationTxPayload,
  966. | ^^^^^^^^^^^^^^^^
  967. 642 | options: {
  968. 643 | showEvents: true,
  969. 644 | },
  970.  
  971. ERROR in src/hooks/useHandleRedeem.tsx:121:7
  972. 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'.
  973. 119 | );
  974. 120 | const txs = await redeemOnAlgorand(
  975. > 121 | algodClient,
  976. | ^^^^^^^^^^^
  977. 122 | ALGORAND_TOKEN_BRIDGE_ID,
  978. 123 | ALGORAND_BRIDGE_ID,
  979. 124 | signedVAA,
  980.  
  981. ERROR in src/hooks/useHandleRedeem.tsx:161:7
  982. 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'.
  983. 159 | try {
  984. 160 | const msg = await completeTransferAndRegister(
  985. > 161 | getAptosClient(),
  986. | ^^^^^^^^^^^^^^^^
  987. 162 | tokenBridgeAddress,
  988. 163 | signedVAA
  989. 164 | );
  990.  
  991. ERROR in src/hooks/useHandleRedeem.tsx:481:7
  992. 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'.
  993. 479 | );
  994. 480 | const response = await wallet.signAndExecuteTransactionBlock({
  995. > 481 | transactionBlock: tx,
  996. | ^^^^^^^^^^^^^^^^
  997. 482 | });
  998. 483 | dispatch(
  999. 484 | setRedeemTx({
  1000.  
  1001. ERROR in src/hooks/useHandleTransfer.tsx:239:7
  1002. 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'.
  1003. 237 | );
  1004. 238 | const txs = await transferFromAlgorand(
  1005. > 239 | algodClient,
  1006. | ^^^^^^^^^^^
  1007. 240 | ALGORAND_TOKEN_BRIDGE_ID,
  1008. 241 | ALGORAND_BRIDGE_ID,
  1009. 242 | senderAddr,
  1010.  
  1011. ERROR in src/hooks/useHandleTransfer.tsx:916:7
  1012. 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'.
  1013. 914 | );
  1014. 915 | const response = await wallet.signAndExecuteTransactionBlock({
  1015. > 916 | transactionBlock: tx,
  1016. | ^^^^^^^^^^^^^^^^
  1017. 917 | options: {
  1018. 918 | showEvents: true,
  1019. 919 | },
  1020.  
  1021. ERROR in src/hooks/useHandleTransfer.tsx:939:9
  1022. 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; } | { ...; } | { ...; } | { ....'.
  1023. 937 | getEmitterAddressAndSequenceFromResponseSui(
  1024. 938 | coreBridgePackageId,
  1025. > 939 | response
  1026. | ^^^^^^^^
  1027. 940 | );
  1028. 941 | console.log(emitterAddress, sequence);
  1029. 942 | await fetchSignedVAA(
  1030.  
  1031. ERROR in src/hooks/useOriginalAsset.ts:110:9
  1032. 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'.
  1033. 108 | );
  1034. 109 | promise = await getOriginalAssetAlgorand(
  1035. > 110 | algodClient,
  1036. | ^^^^^^^^^^^
  1037. 111 | ALGORAND_TOKEN_BRIDGE_ID,
  1038. 112 | BigInt(foreignNativeStringAddress)
  1039. 113 | );
  1040.  
  1041. ERROR in src/hooks/useOriginalAsset.ts:116:9
  1042. 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'.
  1043. 114 | } else if (foreignChain === CHAIN_ID_APTOS) {
  1044. 115 | promise = await getOriginalAssetAptos(
  1045. > 116 | getAptosClient(),
  1046. | ^^^^^^^^^^^^^^^^
  1047. 117 | getTokenBridgeAddressForChain(CHAIN_ID_APTOS),
  1048. 118 | foreignNativeStringAddress
  1049. 119 | );
  1050.  
  1051. ERROR in src/hooks/useOriginalAsset.ts:123:9
  1052. 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'.
  1053. 121 | promise = await getOriginalAssetInjective(
  1054. 122 | foreignNativeStringAddress,
  1055. > 123 | getInjectiveWasmClient()
  1056. | ^^^^^^^^^^^^^^^^^^^^^^^^
  1057. 124 | );
  1058. 125 | } else if (foreignChain === CHAIN_ID_NEAR && nearAccountId) {
  1059. 126 | const provider = makeNearProvider();
  1060.  
  1061. ERROR in src/hooks/useOriginalAsset.ts:317:15
  1062. 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'.
  1063. 315 | } else if (result.chainId === CHAIN_ID_APTOS) {
  1064. 316 | getTypeFromExternalAddress(
  1065. > 317 | getAptosClient(),
  1066. | ^^^^^^^^^^^^^^^^
  1067. 318 | getTokenBridgeAddressForChain(CHAIN_ID_APTOS),
  1068. 319 | uint8ArrayToHex(result.assetAddress)
  1069. 320 | ).then((tokenId) => setOriginAddress(tokenId || null));
  1070.  
  1071. ERROR in src/hooks/useOriginalAsset.ts:327:15
  1072. 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'.
  1073. 325 | );
  1074. 326 | queryExternalIdInjective(
  1075. > 327 | client,
  1076. | ^^^^^^
  1077. 328 | tokenBridgeAddress,
  1078. 329 | uint8ArrayToHex(result.assetAddress)
  1079. 330 | ).then((tokenId) => setOriginAddress(tokenId));
  1080.  
  1081. ERROR in src/utils/algorand.ts:11:17
  1082. TS2345: Argument of type 'Transaction[]' is not assignable to parameter of type 'TransactionLike[]'.
  1083. Type 'Transaction' is not assignable to type 'TransactionLike'.
  1084. 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'.
  1085. Types of property 'type' are incompatible.
  1086. 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'.
  1087. Type 'TransactionType.pay' is not assignable to type 'TransactionType | undefined'.
  1088. 9 | ) {
  1089. 10 | const myAlgoConnect = new MyAlgoConnect();
  1090. > 11 | assignGroupID(txs.map((tx) => tx.tx));
  1091. | ^^^^^^^^^^^^^^^^^^^^^^
  1092. 12 | const signedTxns: Uint8Array[] = [];
  1093. 13 | const lsigSignedTxns: Uint8Array[] = [];
  1094. 14 | const walletUnsignedTxns: Uint8Array[] = [];
  1095.  
  1096. ERROR in src/utils/injective.ts:6:3
  1097. TS2724: '"@injectivelabs/sdk-ts"' has no exported member named 'TxGrpcClient'. Did you mean 'TxClient'?
  1098. 4 | ChainGrpcWasmApi,
  1099. 5 | Msgs,
  1100. > 6 | TxGrpcClient,
  1101. | ^^^^^^^^^^^^
  1102. 7 | } from "@injectivelabs/sdk-ts";
  1103. 8 | import { MsgBroadcaster, WalletStrategy } from "@injectivelabs/wallet-ts";
  1104. 9 | import { INJECTIVE_NETWORK, INJECTIVE_NETWORK_INFO } from "./consts";
  1105.  
  1106. ERROR in src/utils/xpla.ts:68:5
  1107. 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'.
  1108. Types of property 'amount' are incompatible.
  1109. 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'.
  1110. Types have separate declarations of a private property '_coins'.
  1111. 66 | feeDenoms,
  1112. 67 | gasPrices,
  1113. > 68 | fee: feeEstimate,
  1114. | ^^^
  1115. 69 | });
  1116. 70 |
  1117. 71 | return result;
Add Comment
Please, Sign In to add comment