embark/test_dapps/test_app/app/contracts/some_contract.sol

17 lines
308 B
Solidity
Raw Normal View History

pragma solidity ^0.4.24;
2018-03-02 22:48:30 +00:00
contract SomeContract {
address public addr_1;
address public addr_2;
uint public value;
function() public payable { }
constructor(address[] _addresses, uint initialValue) public {
addr_1 = _addresses[0];
addr_2 = _addresses[1];
2018-03-02 22:48:30 +00:00
value = initialValue;
}
}