small question.
If i have
contract A{
struct MyStuct{
uint property;
}
MyStruct[] public array;
}
contract B{
A a;
function getPropertyAt(uint _index) external view returns(uint){
return a.array(_index).property;
}
This example does not work.
How can i get property from object from anothe contract?
Contract has already been deployed
Send address
Обсуждают сегодня