two-layer decentralized licensed smart contract platform