shyheim103
Forum Replies Created
-
I got it. The key element was the line that gives the allowance to someone to execute that function. Yes, it would be detrimental without that line but with it no one can use that function without permission first. Thanks for your response!
OK, I changed everything. The problem is your plugin requires that my TransferFrom function be open to the public as we discussed earlier that poses a problem. Leaving it an ownerOnly function causes the transaction to fail. If I remove the onlyOwner modifier it works fine.
The only thing I can come up with at the moment is to give your contract temporary ownership and then it gives it right back to me.
How else can I fix this?
- This reply was modified 8 years, 2 months ago by shyheim103.
- This reply was modified 8 years, 2 months ago by shyheim103.
Exactly. I didn’t plan on removing onlyOwner permenantly, just to see if that was the issue. But got it! I’m going to modify the token code now and see if it works. Thanks for your help! I figured it was probably my code!
It has to be something with the way my token is coded. Here is the repository: https://github.com/IntraCoin/IntraCoin/blob/master/Contracts/IntraCoinToken.sol
The token’s features shouldn’t stop your contract from interacting with it. I thought it might be because I had the TransferFrom function as an owner only function but after changing that it still failed to pay.
What do you think the problem could be?
OK, the test coin works. I’m wondering if it could be something in the code of my token? Is that possible?
The website is http://www.egoods.co/shop/
But I’m going to try the test token. I just read the readme file. Will let you know what happens, thanks!
I actually just have a question, when we’re specifying the accepted ERC20 tokens, what address do we put in there? I was under the assumptions that it should be the token’s smart contract, but looking up your examples it appears to just be wallets. Do we put in the smart contract’s owner’s address? Or just any random address?
For more specifics, please visit http://egoods.co/shop/ and try to buy something. It’s all set for the ropsten network. The ETH works fine, but using TTME tokens does not work at all (I guess you’d need TTME tokens to try?)