@MidnightLightning
Anyway, with contract keyword it works.
But for complete understanding the tutorial, i need to know this:
Should i deploy only the MyAdvancedToken contract (using truffle)?
Should i call the deployer link also or i don't to link?
This is my migration code:
var owned = artifacts.require("Owned");
var Token = artifacts.require("Token");
var TestCoin = artifacts.require("TestCoin");
module.exports = function(deployer) {
deployer.deploy(owned);
deployer.deploy(Token,1000000,'TestCoin',0,'TEC');
deployer.link(Token, TestCoin);
deployer.link(owned, TestCoin);
deployer.deploy(TestCoin);
};
Thank you very much for help me!
MyAdvancedToken
contract for basic functionality. If you want to test the approveAndCall
functionality, you'd need to deploy a second contract that implements that one receiveApproval
method.
pragma
command to be the version you have.
Hi guys! I've been having an issue with the Shareholders Association on the latest Ethereum Wallet version (0.9). Here's the error:
Variable is declared as a storage pointer. Use an explicit "storage" keyword to silence this warning.
Was putting storage after the datatype and made it to:
string storage description;
But it still isn't working. Any thoughts on this??