github.com/annchain/OG@v0.0.9/vm/vm_test/contracts/intercall.sol (about) 1 contract C1 { 2 function f1() pure public returns(uint) { 3 return(10); 4 } 5 } 6 7 contract C2 { 8 function f2(address addrC1) pure public returns(uint) { 9 C1 c1 = C1(addrC1); 10 return c1.f1(); 11 } 12 }