These are chat archives for ethereum/tutorials

19th
Dec 2016
Himanshu Pandey
@Adonis2115
Dec 19 2016 08:51
@Adonis2115
anyone using truffle on windows ??
Error: Source "ConvertLib.sol" not found: File not supplied initially.
I am getting this error when compiling truffle sample project
I did not change anything.
git-droid
@git-droid
Dec 19 2016 11:12

Greeting all! Just working through the example Advanced Token creation code here: https://www.ethereum.org/token#full-coin-code

Can someone explain why although the MyAdvancedToken contract inherits from the token contract, we need to define some of the functions again in MyAdvancedToken? Specifically, the "transfer" and "transferFrom" functions are defined twice, once in token and once in MyAdvancedToken.

Edit: I think I answered my own question. It's probably because the MyAdvancedToken definitions extend the original definitions by including frozen account handling. But then are the originals still needed in "token" then if these extended versions are used?