-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use string for name and symbol #28
Conversation
Is there some nice way to have these strings be |
@xwvvvvwx that gets into a philosophical discussion. In ds-token now, they symbol is set via the constructor and the name is set via a setter function. To be constant you'd have to hard-code them into the contract prior to deployment and you wouldn't be able to pass them as params. I don't want to change those patterns without the blessing of the maintainers. |
Unfortunately |
@brianmcmichael If you rebase this onto latest master I will merge |
99db334
to
370c3f1
Compare
Rebased. |
oops, looks like merging the decimals PR created a conflict here, can you rebase again. |
370c3f1
to
08412f9
Compare
Rebased again. |
Recent versions of
solc
do not treatbytes32
andstring
in the same way that it used to, they are no longer comparable or directly castable. Therefore, creating token integrations with more recent versions ofsolc
have difficulty processing the DS-Token'sbytes32
return fromname
andstring
. The ERC20 standard does call forstring
types to be used for these optional returns so I'm just putting this forth as a suggestion.