Research Article
Resource Sharing of Smart City Based on Blockchain
Code 2
before manual optimization of specified structure.
Struct Dealing { | adress userAddress; | Uint256 date; | Uint64 dealingNo; | Uint64 publishingNo; | Address publisherAddress; | Uint64 price; | State state; | String newTime; | } | Enum State {Created, Pending, Completed, Stopped} |
|