LayerXcom / verified-vyper-contracts

FVyper: A collection of useful Vyper contracts developed with formal methods
Apache License 2.0
55 stars 15 forks source link

Fix NatSpec style comments of functions #59

Closed nrryuya closed 5 years ago

nrryuya commented 5 years ago
@public
@payable
def doesEat(food: string):
  """
  @author Bob Clampett
  @notice Determine if Bugs will accept `food` to eat
  @dev Compares the entire string and does not rely on a hash
  @param food The name of a food to evaluate (in English)
  @return true if Bugs will eat it, false otherwise
  """

  // ...

https://github.com/ethereum/vyper/blob/4da7adf69e880902a5d702754a39d2100cb9bde5/docs/structure-of-a-contract.rst#natspec-metadata

Note: other refactors