You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, newbie here with some basic programming knowledge here.
I created my own token, now I want to add crowdfunding contract to it. I get this error when copying code from official tutorial.
Using the latest ethereum mist and solidity 0.4.2
Unused local variable
contract token { function transfer(address receiver, uint amount){ } }
This is the code:
pragma solidity ^0.4.2;
contract token { function transfer(address receiver, uint amount){ } }
contract Crowdsale {
address public beneficiary;
uint public fundingGoal; uint public amountRaised; uint public deadline; uint public price;
token public tokenReward;
mapping(address => uint256) public balanceOf;
...
Thank you for your help! :)
The text was updated successfully, but these errors were encountered:
hello, newbie here with some basic programming knowledge here.
I created my own token, now I want to add crowdfunding contract to it. I get this error when copying code from official tutorial.
Using the latest ethereum mist and solidity 0.4.2
This is the code:
Thank you for your help! :)
The text was updated successfully, but these errors were encountered: