I am trying to build a contract that relies on a set of other smaller contracts to auto-forward it funds. So when someone sends funds to address Ax, Ax forwards that to H. H then checks some internal state and splits the funds between itself and another storage contract C.
How would I go about this?
0 ·
Comments
function() {
msg.value //contain the value sent to the contract
}