Closed uncleGena closed 6 months ago
Describe the bug When executing transfer on token contract, wallet opens popup with error on bottom and with disabled 'Confirm' button. Error:
transfer
Cannot read properties of undefined (reading 'type')
To Reproduce
const data = contractERC20Token.interface.encodeFunctionData('transfer', [ someAddressSendTokensTo, balanceOfCustomToken ]) const tx = await signer.sendTransaction({ to: contractERC20TokenAddress, data, })
Expected behavior Shows popup without JS error on bottom with correct data and balance of native and transfer tokens.
Screenshots
Additional context Add any other context about the problem here.
Hi @stylianos-panagakos, could you please check this issue?
Describe the bug When executing
transfer
on token contract, wallet opens popup with error on bottom and with disabled 'Confirm' button. Error:To Reproduce
Expected behavior Shows popup without JS error on bottom with correct data and balance of native and transfer tokens.
Screenshots
Additional context Add any other context about the problem here.