eluv-io / contracts

Eluvio Content Management Smart Contracts
MIT License
10 stars 0 forks source link

Pm/sol lint #25

Closed elv-preethi closed 4 years ago

elv-preethi commented 5 years ago

fixed following solidity linter errors:

  1. line indentation
  2. Having external func before public and private func after public
  3. constants -> capital snake case
  4. functions -> Mixed case
  5. Mention visibility before modifier
  6. explicitly mark the visibility of the variables and functions (if not mentioned, changed to public)

warnings not changed yet :

  1. Avoid to use inline assembly. Allowed only in rare cases
  2. Avoid using now for time-based decisions for business logic