Skip to main content
4 events
when toggle format what by license comment
Feb 28, 2018 at 7:28 comment added gosdor xda this error : browser/ballot.sol:20:13: TypeError: Value transfer to a contract without a payable fallback function. token.transfer(msg.sender,100); ^------------^ browser/ballot.sol:20:13: TypeError: Wrong argument count for function call: 2 arguments given but expected 1. token.transfer(msg.sender,100); ^----------------------------^
Feb 28, 2018 at 1:22 comment added Andrey @gosdorxda - what exactly doesn't work? What error are you getting?
Feb 27, 2018 at 19:48 comment added gosdor xda this contract does not work on the part : function GiveMeTokens() public payable { if (msg.value > 0.00000001) { // Transfer 1000 tokens from smart contract address // to contract caller address token.transfer(msg.sender,1000); } }
Feb 27, 2018 at 19:31 history answered Andrey CC BY-SA 3.0