Skip to content

Commit

Permalink
Comments fix
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal committed Jul 5, 2023
1 parent bb8ee43 commit 438276d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions consensus/polybft/contractsapi/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ type StateTransactionInput interface {

// EventAbi is an interface representing an event generated in contractsapi
type EventAbi interface {
// Sig returns the event ABI signature or ID (which is unique for all event types)
Sig() ethgo.Hash
// Encode does abi encoding of given event
Encode(inputs interface{}) ([]byte, error)
// ParseLog parses the provided receipt log to given event type
ParseLog(log *ethgo.Log) (bool, error)
}

Expand Down

0 comments on commit 438276d

Please sign in to comment.