2018-09-14 18:20:41 +00:00
|
|
|
pragma solidity ^0.4.24;
|
|
|
|
|
2018-03-05 01:07:39 +00:00
|
|
|
contract ContractArgs {
|
|
|
|
address public addr_1;
|
|
|
|
address public addr_2;
|
|
|
|
uint public value;
|
|
|
|
|
|
|
|
function() public payable { }
|
|
|
|
|
2018-09-14 18:20:41 +00:00
|
|
|
constructor(address[] _addresses, uint initialValue) public {
|
2018-03-05 01:07:39 +00:00
|
|
|
addr_1 = _addresses[0];
|
|
|
|
addr_2 = _addresses[1];
|
|
|
|
value = initialValue;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|