I could get the information about access another contract's variable from here
But I couldn't find how to modify another contract's variable.
Here is the example of contract A,
contract A {
uint public target;
}
And this is the example of contract B
contract B {
function edit_A_a() public {
A.target = 1; // some kind of this
}
}
I want to modify the value of target
variable from contract B.
Also, assuming that all operations are executed in a solidity contract level.
Thanks