my question is simple and I want to know if there is a possibility to achieve something like this. I have two contracts, one inherit from the other; I want to access to a method of the child contract from the parent contract, i have clear how to do it in the other way (from child to parent).
Here is more clear:
contract A {
function doSomethingA() {
// Here I want to execute doSomethingB();
}
}
contract B is A {
function doSomethingB() {
// Here is what I want to execute from A
}
}
function doSomethingA()
needs to executedoSomethingB()
, I would just putfunction doSomethingA()
insidecontract B