Standard for Blockchain-based Electronic Contracts