iotexproject / iotexproject/iott-dapp-example

Add the Data event to the contracts readme

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
5
PR merge metrics
No merged PRs in 30d

Description

It seems GitHub forking is down today and I can't make the change myself:
can you add the following at line 100 to this [README](https://github.com/iotexproject/iott-dapp-example/blob/main/contracts/README.md)?

`* Data - emitted by addData``

BTW, regarding the `addData()` function:
```solidity
function addData(
string memory imei,
uint32 _type,
bytes memory data,
uint32 timestamp,
bytes memory signature,
uint256 gas
)
```

What is `_type` for (where is it defined)? And what exactly `timestamp` refers to (considering that we already have the timestamp in the data sent by the device)?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.