Double-layer decentralized framework for local energy trading in the smart energy distribution network | Synapse