title: How to modelize smart contracts in UML?
body: <p>I am looking for a way to modelize ethereum smart contracts interaction using a modeling language like UML.</p>
  
  <p>I have the following serivce Contract:</p>
  
  <pre><code>contract ServiceContract {
  
  
      constructor (address _storeC, address _quizC, address _signC) {
  
          StorageContract storeC = StoreContract(_storeC);
          QuizContract quizC = QuizContract(_quizC);
          SignatureContract signC = SignatureContract(_signC);
      }
  
  
      function storeData (bytes32 data) public {
          storeC.save(data);
      }
  
      function getAnswer( bytes32 question) public constant returns (bytes32) {
         return quizC.get(question);
      }
  
      function sign (bytes32 data) public returns (bytes32) {
          return signC.sign(data);
      }
  
  }
  </code></pre>
  
  <p>I modelized it with this class diagram, is it correct? </p>
  
  <p><a href="https://i.stack.imgur.com/VRPif.png" rel="noreferrer"><img src="https://i.stack.imgur.com/VRPif.png" alt="enter image description here"></a></p>