Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

send Erc20 Token Failed #296

Open
haizhiwen opened this issue May 21, 2019 · 5 comments
Open

send Erc20 Token Failed #296

haizhiwen opened this issue May 21, 2019 · 5 comments

Comments

@haizhiwen
Copy link

When I use
let contractAddress: Address = "0x45245bc59219eeaaf6cd3f382e078a461ff9de7b"
let balance = try! ERC20(contractAddress).balance(of: "0x6a6a0b4aaa60E97386F94c5414522159b45DEdE8")

Fatal error: 'try!' expression unexpectedly raised an error: web3swift.SolidityDataReaderError.notFound

@skywinder
Copy link
Contributor

We moved our development to the new repo
➡️https://github.com/matterinc/web3swift ⬅️
Feel free continue discussion in the new repository. 👍

@haizhiwen
Copy link
Author

haizhiwen commented May 28, 2019 via email

@Yuan91
Copy link

Yuan91 commented Jun 19, 2019

你这边的问题解决了吗,我现在也遇到这个问题了,之前erc20还能转账,现在突然发现不正常了。然后调试报错 web3swift.SolidityDataReaderError Code=0。

@dev-ryan-ren
Copy link

虽然我很想使用你们的最新版,但是我的项目中使用你们的旧版,改成新的版本以后需要改动的地方太多,相当于重写一遍,我希望能先把我目前的问题解决,然后我再逐渐迁移到新版上面,麻烦帮我解决一下我现在的问题可以吗? 我在使用erc20 转账的时候,报错:未能完成操作。(“web3swift.Web3Error”错误 2。) processingError("Failed to fetch gas estimate")。 请你们帮我解决一下这个问题。谢谢!

------------------ 原始邮件 ------------------ 发件人: "Petr Korolev"[email protected]; 发送时间: 2019年5月26日(星期天) 上午9:27 收件人: "BANKEX/web3swift"[email protected]; 抄送: "聆听"[email protected];"Author"[email protected]; 主题: Re: [BANKEX/web3swift] send Erc20 Token Failed (#296) We moved our development to the new repo ️https://github.com/matterinc/web3swift ️ Feel free continue discussion in the new repository. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

解决了么,我这边调用合约,call,也报错了,web3swift.SolidityDataReaderError Code=0

@dev-ryan-ren
Copy link

你这边的问题解决了吗,我现在也遇到这个问题了,之前erc20还能转账,现在突然发现不正常了。然后调试报错 web3swift.SolidityDataReaderError Code=0。

解决了么,我这边调用合约,call,也报错了,web3swift.SolidityDataReaderError Code=0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@skywinder @Yuan91 @haizhiwen @dev-ryan-ren and others