Closed nanexcool closed 6 years ago
@nmushegian he suggested uint(-1)
instead of 2 ** 256 - 1
ah I was looking at the diff before the use of a CONSTANT was restored
I'm not sure about the use of a magic constant for this... seems like the caller could also have that as some magic value also, or try to maintain a double entry, or something like that.
making it explicit would require an extra storage per entry and lookup per lookup
what do you think of this https://github.com/dapphub/ds-token/pull/15
@nmushegian looks good! I like how you handle allowance... how will you set it? something like:
function meme(address dst, bool yay) {
deps[msg.sender][dst] = yay;
}
Also what about name, symbol and decimals? Or are you burning the whole house down??
@nanexcool
Also what about name, symbol and decimals? Or are you burning the whole house down??
no survivors =]]]
closing this in favor of https://github.com/dapphub/ds-token/pull/15
?? @dbrock simplification ?