Smart contracts may offer up to 6 levels of contracting to facilitate energy deals between consumers and prosumers of household.
The contract itself works in a decentralized way and the prosumers do not even need to reach themselves to conclude a specified amount to pay for a tot. consumption,as it is done in an efficient digital way instead. Info in the link below.