pragma solidity ^0.4.19;
contract Called{
pragma solidity ^0.4.19;
contract Called{
string public name;
function set(string _var) {
name = _var;
}
function get() view returns (string){
return name;
}
function A () payable {
}
}
}
pragma solidity ^0.4.19;
interface Called{
pragma solidity ^0.4.19;
interface Called{
function set(string);
function get() view returns (string);
}
contract Caller {
}
contract Caller {
string public new_name;
Called public called_address;
function set_address(address _addy) {
called_address = Called(_addy);
}
function caller_set(string _var) {
called_address.set(_var);
}
function caller_get() {
new_name= called_address.get();
}
function B () payable {
}
}
}
{ "config": { "chainId": 8888, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 }, "alloc" : {}, "coinbase" : "0x0000000000000000000000000000000000000000", "difficulty" : "0x20000", "extraData" : "", "gasLimit" : "0xffffffffffffffff", "nonce" : "0x0000000000000042", "mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000", "timestamp" : "0x00" }
{
"config": {
"chainId": 8888,
"homesteadBlock": 0,
"eip155Block": 0,
"eip158Block": 0
},
"alloc" : {},
"coinbase" : "0x0000000000000000000000000000000000000000",
"difficulty" : "0x20000",
"extraData" : "",
"gasLimit" : "0xffffffffffffffff",
"nonce" : "0x0000000000000042",
"mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
"timestamp" : "0x00"
}