ChainSafe / ChainSafe/ethermint-scripts

Modifying contract to add in data fields and indexes

オープン
#4 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
1
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

Adding in data fields and indexes to contract.sol

The contract has been changed to:

pragma solidity ^0.6.1;

contract Logger {

event event1(uint256 count);
event event2(address indexed owner);

function emitTest(bool _name) public {
if (_name) {
emit event1(256);
} else {
emit event2(msg.sender);
}
}
}
```

This should provide additional event data to test different use cases with.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。