I am learning Solidity and I am using Remix to experiment and enhance my learning. I am currently trying to create a simple contract that uses an Interface.
pragma solidity ^0.4.19;
contract InterfaceWithMe {
function call() returns (string);
}
contract Interfacing {
address ckAddress = 0x9fe1c58215407d67719ba680360940056e5eceb7;
InterfaceWithMe daContract = InterfaceWithMe(ckAddress);
function call() returns (string) {
return daContract.call();
}
When I try an compile this on Remix, I get the following type error on line 14:
TypeError:Return argument type inaccessible dynamic type is not implicitely convertibel to expected type (type of first return variable) string memory.
Here is the other contract that I use to interface with this contract:
pragma solidity ^0.4.19;
contract InterfaceWithMe {
function call() returns (string) {
return "Hello";
}
}
Thanks for the help.