hop-protocol / contracts

🐰 Hop Protocol v1 smart contracts
https://hop.exchange
238 stars 98 forks source link

contracts: Change underscore policy #11

Closed cwhinfrey closed 3 years ago

cwhinfrey commented 3 years ago

No underscore

Underscore prefix

cwhinfrey commented 3 years ago

@shanefontaine I left the underscore on function params that conflict with non-private state variables. Open to alternatives too though. Uniswap does this in their contracts and I've seen other projects do the same but don't have more examples on hand. Let me know what you think.