Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the Data event to the contracts readme #6

Open
simonerom opened this issue Aug 10, 2021 · 0 comments
Open

Add the Data event to the contracts readme #6

simonerom opened this issue Aug 10, 2021 · 0 comments

Comments

@simonerom
Copy link
Member

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?

`* Data - emitted by addData``

BTW, regarding the addData() function:

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant