// SPDX-License-Identifier: UNDEFINED pragma solidity ^0.8.17; /* * 区块链微博程序 */ contract MicroBlog { address admin; bool is_running = true; string app_name; // 应用程序的名称 uint256 blog_id; // 微博ID,从1开始递增 uint256 blog_count; // 微博数量 uint256[] id_array; // 所有微博ID数组 mapping(uint256 => bool) has_id; // 是否包含当前ID mapping(uint256 => Blog) blogs; // 所有微博集合 event AddBlog(uint256 id, string log); // 发布微博事件 event DeleteBlog(uint256 id, string log); // 删除微博事件 // 微博结构体 struct Blog { uint256 time; address owner...