Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Contract 1
  2.  
  3. function one(uint a, unit b) public returns(uint){
  4. uint c = a+b
  5. return c
  6. }
  7.  
  8. function two(uint c, uint d)public returns(uint){
  9. uint d = c+d
  10. return d
  11. }
  12.  
  13. Contract 2
  14.  
  15. function combine(){
  16. one(a + b)
  17. two(c + d)
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement