edited tags
Link
eth
  • 75.8k
  • 46
  • 255
  • 371
Source Link
Oscar Chambers
  • 495
  • 1
  • 4
  • 17

totalSupply() Solidity signature causing conflict error

I'm writing a very basic ERC20 token using solidity in the Mist wallet. For some reason the compiler doesn't like the totalSupply() function name. If I change this name it compiles fine.

To be ERC20 compliant, this function has to be signed this way.

How do I get around this error?

Solidity Code

enter image description here