I would like to create a sort of tree type hierarchy of contracts. Think of it like a multi-level-marketing scheme -- the person at the top will receive X. For each of the k people he recruits he agrees to give them a payout alpha*X / k .... given the condition that they recruit at least k more people to the same type of contract.
I would like the nodes to be transferable -- so someone could sell any of the payouts associated with node contracts to someone else if they like (I'm assuming this is true of all smart contracts? I'm new ethereum)
Could you point me towards how one would implement such a structure?