You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: To prevent attack vectors like the one described here and discussed here, clients SHOULD make sure to create user interfaces in such a way that they set the allowance first to 0 before setting it to another value for the same spender. THOUGH The contract itself shouldn't enforce it, to allow backwards compatilibilty with contracts deployed before
The text was updated successfully, but these errors were encountered:
See https://github.com/aragon/minime/blob/master/contracts/MiniMeToken.sol#L232-L236.
Some discussion on this was held in OpenZeppelin: github.com/OpenZeppelin/openzeppelin-contracts/issues/438, and is in the ERC20 spec:
The text was updated successfully, but these errors were encountered: