embark/test_app/app/contracts/test2.sol

17 lines
258 B
Solidity
Raw Normal View History

2017-12-27 13:37:39 +00:00
pragma solidity ^0.4.17;
import "./zlib2.sol";
contract Test2 {
address public addr;
function testAdd() public pure returns (uint _result) {
return ZAMyLib2.add(1, 2);
}
function changeAddress(address _addr) public {
addr = _addr;
}
}