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
Rather than modifying an integer directly, use an enum to represent the different states of the contract. This will improve readability of the code and the ability to validate its expected behavior.
The text was updated successfully, but these errors were encountered:
#2 Added missing events
#3 bump up compiler version to 0.5.12(same with DAI)
#6 use enum to represent contract state
#7 Added methods to prevent "approve" race condition
Use an enum to represent contract state
Type: Code Quality
Target: DaiProxy.sol
Description
Rather than modifying an integer directly, use an enum to represent the different states of the contract. This will improve readability of the code and the ability to validate its expected behavior.
The text was updated successfully, but these errors were encountered: