this is my first time buying Ethereum tokens on mainnet. Probably I am doing something wrong, so I am willing to hear any comments or hints about this process. My ethereum address on mainnet is https://etherscan.io/address/0x919ae3010329decba980259d1e624be6028d16c7
Through https://www.myetherwallet.com/#contracts I tried to call TokenSeller contract https://github.com/bokkypoobah/TokenTrader/wiki/TokenSeller-And-TokenSellerFactory as described at https://cryptoderivatives.market/token/GNT
I am just interested in buying a few Golem Network Tokens (GNT), basically spending 0.1 ethers just to test around. So I executed the method createSaleContract() on contractAddress 0xb1eb96f752c624dc784d80961a1accfaf348c923 and ABI:
[{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"tokens","type":"uint256"}],"name":"ownerWithdrawERC20Token","outputs":[{"name":"ok","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"tradeContract","type":"address"}],"name":"verify","outputs":[{"name":"valid","type":"bool"},{"name":"owner","type":"address"},{"name":"asset","type":"address"},{"name":"sellPrice","type":"uint256"},{"name":"units","type":"uint256"},{"name":"sellsTokens","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"asset","type":"address"},{"name":"sellPrice","type":"uint256"},{"name":"units","type":"uint256"},{"name":"sellsTokens","type":"bool"}],"name":"createSaleContract","outputs":[{"name":"seller","type":"address"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"type":"function"},{"payable":false,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"ownerAddress","type":"address"},{"indexed":true,"name":"tokenSellerAddress","type":"address"},{"indexed":true,"name":"asset","type":"address"},{"indexed":false,"name":"sellPrice","type":"uint256"},{"indexed":false,"name":"units","type":"uint256"},{"indexed":false,"name":"sellsTokens","type":"bool"}],"name":"TradeListing","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"tokenAddress","type":"address"},{"indexed":false,"name":"tokens","type":"uint256"}],"name":"OwnerWithdrewERC20Token","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
the call parameters are:
asset Golem => 0xa74476443119a942de498590fe1f2454d7d4ac0d
sellPrice .1
units 40 => rate .0025
sellsTokens true
the resulting transaction is:
tx:
amount 0
gas limit 29091
raw tx:
{"nonce":"0x00","gasPrice":"0x098bca5a00","gasLimit":"0x71a3","to":"0xb1eb96f752c624dc784d80961a1accfaf348c923","value":"0x00","data":"0xc5e412e5000000000000000000000000a74476443119a942de498590fe1f2454d7d4ac0d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280000000000000000000000000000000000000000000000000000000000000001","chainId":1}
Transaction submitted: https://etherscan.io/tx/0x6f739b16584e8e9d24ee34c79efbd60463da8cb6c3f05fdca74c6e400d5b0867
But got this error:
Warning! Error encountered during contract execution [Bad jump destination]
Any ideas? Thx!