1

How can modifiers be shown in a Solidity UML-Diagram, next to the access modifier -+#~. Do you know to visualize this kind of modifier?

modifier onlyProducer(){
        if(msg.sender != producer){
             throw;
        }
        _;
}
2
  • Like public/private method? Oct 12, 2017 at 13:29
  • more like extended version of public/private
    – TimRicta
    Oct 13, 2017 at 10:03

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.