# IGitConsensusEvents

Matt Stam (@mattstam)

IGitConsensusEvents

The interface for the events that may be emitted from Git Consensus.

# Events

# CommitAdded

event CommitAdded(address indexed ownerAddr, bytes20 commitHash)

Emitted when a commit is added via addCommit().

# Parameters

Name Type Description
ownerAddr indexed address The address that was contained in the commit message. This may represent the committer themselves, which will be the case if the commiter wants to recieve future rewards for this commit.
commitHash bytes20 The SHA-1 hash generated from the commit data.

# ReleaseAdded

event ReleaseAdded(address indexed tokenAddr, bytes20 tagHash)

Emitted when a release is added via addRelease().

# Parameters

Name Type Description
tokenAddr indexed address The address that was contained in the tag message, and the caller of the addRelease() function. This will be the address of the project's governor.
tagHash bytes20 The SHA-1 hash generated from the tag data.